Wykres commitów

813 Commity (53068ea25954431c174dca1e76ca924b00243c2f)

Autor SHA1 Wiadomość Data
jmoenig 53068ea259 update version history 2015-06-26 14:16:20 +02:00
jmoenig 7d1db3dfe9 update Morphic
to the latest version
2015-06-26 13:04:27 +02:00
jmoenig de82d373be add indentation
again to please old.jslint.com :-)
2015-06-25 16:35:00 +02:00
Jens Mönig 253d800b42 Merge pull request #624 from cycomachead/shared-url
Set location.hash to cloud URLs on project shares
2015-06-25 16:32:45 +02:00
jmoenig 8b9e7ea4ea update French translation, thanks, Frédéric Bonnaud! 2015-06-25 16:00:17 +02:00
Jens Mönig c701598df1 Merge pull request #606 from Gubolin/issue_190
show an error message if project cannot be loaded (fix #190)
2015-06-25 15:50:26 +02:00
jmoenig 87c9655335 add some spaces
to satisfy old.jslint.com :-)
2015-06-25 15:48:26 +02:00
Jens Mönig 4755fe22ac Merge pull request #821 from show0k/master
Remove harcoded url in gui.js (fix #814)
2015-06-25 15:43:52 +02:00
Jens Mönig c8ef53f9a9 Merge pull request #805 from brollb/master
Fixed typo in Process definition
2015-06-25 15:37:55 +02:00
jmoenig 7c8dd2b4e8 remove some spaces 2015-06-25 15:36:21 +02:00
Jens Mönig a86e4efe59 Merge pull request #826 from bromagosa/contrib
fixes #815
2015-06-25 15:34:41 +02:00
Jens Mönig 4707169519 Merge pull request #834 from cycomachead/number-functions
Implement log10 and 10^x math functions
2015-06-25 15:32:22 +02:00
jmoenig f4ff1056ea update threads.js version 2015-06-25 15:30:58 +02:00
Jens Mönig c95347a6b0 Merge pull request #836 from cycomachead/date-error-fix
Fix Error Handing in the DATE block
2015-06-25 15:24:25 +02:00
jmoenig 8a7bc380a8 wrap credits tab in "about" Dialog
to accommodate for @nathan ’s abundant contributions :-)
2015-06-25 15:20:05 +02:00
jmoenig 4c21c9f187 Revert to "new" for object creation
and prepare for new release
2015-06-25 15:11:51 +02:00
jmoenig 58cae438bb Simplify Morphic
* revert to “new” for object creation (for now)
* take out fallback for missing Map
2015-06-25 14:43:09 +02:00
Jens Mönig 2a28dca753 Merge pull request #837 from nathan/optim
Optimizations
2015-06-25 13:07:57 +02:00
Nathan Dinsmore aef56afebf Use associative arrays if Map doesn't exist 2015-06-25 02:34:13 -04:00
Nathan Dinsmore 6fbd2f2789 Speed up parser
About an order of magnitude faster (268.5 ms => 31.3 ms).
2015-06-18 18:35:20 -04:00
Nathan Dinsmore e1b104948b Fix InputSlotMorph::fixLayout() 2015-06-18 16:05:27 -04:00
Nathan Dinsmore bc79cd8df2 Call isTransparentAt 2015-06-18 15:33:44 -04:00
Nathan Dinsmore bae22f0804 Add braces 2015-06-18 15:33:36 -04:00
Nathan Dinsmore 82197c7a8c Declare some variables earlier 2015-06-18 15:33:25 -04:00
Nathan Dinsmore 995e782147 Fix ListWatcherMorph initialization 2015-06-18 04:29:26 -04:00
Nathan Dinsmore 0245a81fc0 Optimize loading projects a bit more 2015-06-17 23:05:34 -04:00
Nathan Dinsmore 95a815b6d6 Don't redraw label parts unnecessarily 2015-06-17 22:21:23 -04:00
Nathan Dinsmore 836b5d3fd0 Add missing init() super calls in paint.js 2015-06-17 21:56:09 -04:00
Nathan Dinsmore aaa3c407bc Add a missing super call in overridden updateReferences() 2015-06-17 21:11:04 -04:00
Nathan Dinsmore f20ea67926 Provide a fallback for browsers that don't support Map 2015-06-17 21:08:12 -04:00
Nathan Dinsmore 6a82960cf7 Optimize moveBy and friends
This results in realtime speed for dragging where I used to get 10-15 fps before this change.
2015-06-17 20:46:54 -04:00
Nathan Dinsmore d5761b074d Remove clone function (unused) 2015-06-17 20:09:43 -04:00
Nathan Dinsmore f54da26e8e Don't step SyntaxElementMorphs or their children
~1500 ms before => ~150 ms after (stepping world with large scripts)
2015-06-17 20:05:35 -04:00
Nathan Dinsmore 3e613a4409 Fix and greatly simplify copying mechanism
Due to an error in the original implementation of updateReferences(), Morph subclasses which stored references to other morphs needed to manually override copyRecordingReferences() to update these references (which should have been done automatically by updateReferences). This change fixes updateReferences() and changes the copying mechanism to use Maps, which are much faster.
2015-06-17 19:47:27 -04:00
Nathan Dinsmore 81b9245d25 Optimize copy()
1356.2 ms before => 73.3 ms after (on a large block stack)
2015-06-17 19:10:30 -04:00
Nathan Dinsmore 1f52f4f152 Optimize StringMorph::clearSelection()
This was taking a very large chunk of CPU time when copying large scripts.
2015-06-17 18:52:20 -04:00
Nathan Dinsmore 94687f8e63 Optimize Block::thumbnail()
Remove noShadow, because copying is really expensive--you could probably add this in-place with some more complicated logic, but it doesn't seem worth it. Also fix clipping logic so that fades look good on all background colors.
2015-06-17 18:39:23 -04:00
Nathan Dinsmore 7bb046856c Remove extra space 2015-06-17 18:28:18 -04:00
Nathan Dinsmore c8cbbeb2ad Optimize HandMorph::morphAtPointer a lot
On large morph hierarchies this goes from ~85% CPU usage when moving the mouse around to ~5%.
2015-06-17 18:25:09 -04:00
Nathan Dinsmore 013e2740d8 Fix missing initialization call in SnapSerializer() 2015-06-17 17:26:56 -04:00
Nathan Dinsmore 87c2503571 Use Object.create(…) instead of new …() for inheritance (faster) 2015-06-17 17:11:40 -04:00
Michael Ball 93d67ed386 Fix Error Handing in the DATE block
For some reason the function wasnt properly catching errors and was instead rasing native
JS errors. This fixes that bug, so the function will now report nothing when it doesnt know
what to do.

In addition, moving the variable `dateMap` inside the function reduces a global variable, which
shouldnt affect anything other than keeping the code clean. :)
2015-06-15 18:49:24 -07:00
Michael Ball e21a872b0d Implement log10 and 10^x math functions 2015-06-15 17:19:25 -07:00
Brian Harvey 3885ced35a Fix errors in two help screens. 2015-06-10 18:02:55 -07:00
Brian Harvey e1704587aa Speed up join words and list->sentence in tools.xml 2015-06-10 17:41:01 -07:00
Bernat Romagosa 26108539f5 fixes #815 2015-06-09 12:40:55 +02:00
Jens Mönig 03c4acd367 fixed #820 2015-06-08 15:40:59 +02:00
Théo Segonds 14a5f87402 add a index.html file to redirect automaticly to snap.html 2015-06-07 17:05:49 +02:00
Théo Segonds 1b2e0aded4 Remove hardcoded URLs in gui.js. This fix #814 2015-06-07 16:57:02 +02:00
Brian Harvey 1cb1281335 Finally creating the missing help screens. 2015-05-26 22:48:00 -07:00