Wykres commitów

779 Commity (82197c7a8c1835048fb6a787c41845049c89ca0c)

Autor SHA1 Wiadomość Data
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
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
Jens Mönig 03c4acd367 fixed #820 2015-06-08 15:40:59 +02:00
Brian Harvey 1cb1281335 Finally creating the missing help screens. 2015-05-26 22:48:00 -07:00
Jens Mönig b5f30002a5 fix block library export encoding glitch 2015-05-23 00:36:21 +02:00
Jens Mönig e005d71601 Fix encoding for exported libraries of global blocks 2015-05-21 20:09:21 +02:00
Jens Mönig be938b5da7 updated localization timestamp and history 2015-05-18 12:54:26 +02:00
Jens Mönig 8d5a744eac Merge pull request #793 from MMSequeira/master
Update to Portuguese localization
2015-05-18 12:37:35 +02:00
Jens Mönig 6b19caf75d Fix encoding for exported sprites (esp. comments) 2015-05-18 12:23:57 +02:00
Manuel Menezes de Sequeira 1bc6fc0b61 Update last_changed field for Portuguese localization 2015-05-04 12:32:09 +01:00
Manuel Menezes de Sequeira 9d6eb9dd19 Update portuguese translation to align with latest german version. 2015-05-04 12:27:16 +01:00
Jens Mönig 8e92c65cae Release! 2015-05-01 12:24:52 -04:00
Jens Mönig 4cd3488e60 formatting tweaks for JSLint’s benefit 2015-05-01 12:11:07 -04:00
Jens Mönig 848773073a Merge pull request #768 from bromagosa/contrib
new parameters to allow embedding projects
2015-05-01 12:05:42 -04:00
Jens Mönig 052a3e07b3 hide “save to disk” option behind shift-click again (has issues in Chrome) 2015-05-01 12:00:56 -04:00
Jens Mönig b6efcaf17c return empty string when querying first letter of a list 2015-05-01 11:59:17 -04:00
Jens Mönig c46d8093ef indicate numeric inputs in the block prototype with the # sign 2015-05-01 11:56:42 -04:00
Jens Mönig 585d1541b8 select all text when first clicking an input slot 2015-05-01 11:53:42 -04:00
Jens Mönig 30e43a359e Morphic: Dynamic enhancements
new event hooks for “reactToTemplateCopy”, first mouse click on
editable text, and allow trigger hint to also be a function returning a
dynamic help string rather than only a static string
2015-05-01 11:49:35 -04:00
Jens Mönig 9385e4b57c fixed #784 2015-04-26 22:47:37 -04:00
Jens Mönig 834b3918ad fixed #770 2015-04-15 17:30:43 +02:00
Jens Mönig db01489a49 flush Stage>>keysPressed when prompting the user 2015-04-15 17:03:36 +02:00
Bernat Romagosa 30caffbf02 new parameters to allow embedding projects 2015-04-10 13:18:03 +02:00
Jens Mönig 5bf3820ce1 fixed #752 and #745 2015-03-25 14:03:06 +01:00
Jens Mönig fdd2ecf7d9 switch from beta to release candidate 2015-03-15 15:01:25 +01:00
Jens Mönig 7f9fe78c56 fixed #743 2015-03-15 14:55:37 +01:00
Jens Mönig 31ea6f6030 Only enable input caching for blocks 2015-03-09 07:39:51 +01:00
Jens Mönig 802ace18d1 fixed #738 2015-03-09 07:09:43 +01:00
Jens Mönig e906290f47 fixed #736
caching really *is* evil :-)
(if it weren’t for performance…)
2015-03-06 14:12:48 +01:00
Jens Mönig 168c328836 fixed #730
caching is evil, haha!
2015-03-02 00:39:13 -08:00
Jens Mönig b1d7853255 fixed #716 2015-02-28 06:09:01 -08:00
Jens Mönig e1a558a673 fixed #715 2015-02-28 05:58:34 -08:00