summaryrefslogtreecommitdiff
path: root/morphic.js
Commit message (Collapse)AuthorAgeFilesLines
* merge upstreamdevelopmentGubolin2015-07-231-248/+124
|\
| * update Morphicjmoenig2015-06-261-7/+31
| | | | | | | | to the latest version
| * Simplify Morphicjmoenig2015-06-251-192/+142
| | | | | | | | | | * revert to “new” for object creation (for now) * take out fallback for missing Map
| * Use associative arrays if Map doesn't existNathan Dinsmore2015-06-251-72/+69
| |
| * Call isTransparentAtNathan Dinsmore2015-06-181-3/+4
| |
| * Add bracesNathan Dinsmore2015-06-181-1/+1
| |
| * Declare some variables earlierNathan Dinsmore2015-06-181-3/+3
| |
| * Optimize loading projects a bit moreNathan Dinsmore2015-06-171-3/+3
| |
| * Add a missing super call in overridden updateReferences()Nathan Dinsmore2015-06-171-1/+2
| |
| * Provide a fallback for browsers that don't support MapNathan Dinsmore2015-06-171-0/+34
| |
| * Optimize moveBy and friendsNathan Dinsmore2015-06-171-34/+9
| | | | | | | | This results in realtime speed for dragging where I used to get 10-15 fps before this change.
| * Remove clone function (unused)Nathan Dinsmore2015-06-171-10/+0
| |
| * Fix and greatly simplify copying mechanismNathan Dinsmore2015-06-171-128/+34
| | | | | | | | 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.
| * Optimize copy()Nathan Dinsmore2015-06-171-8/+6
| | | | | | | | 1356.2 ms before => 73.3 ms after (on a large block stack)
| * Optimize StringMorph::clearSelection()Nathan Dinsmore2015-06-171-0/+1
| | | | | | | | This was taking a very large chunk of CPU time when copying large scripts.
| * Remove extra spaceNathan Dinsmore2015-06-171-1/+1
| |
| * Optimize HandMorph::morphAtPointer a lotNathan Dinsmore2015-06-171-21/+20
| | | | | | | | On large morph hierarchies this goes from ~85% CPU usage when moving the mouse around to ~5%.
| * Use Object.create(…) instead of new …() for inheritance (faster)Nathan Dinsmore2015-06-171-29/+29
| |
| * Morphic: Dynamic enhancementsJens Mönig2015-05-011-14/+28
| | | | | | | | | | | | 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
* | merge upstreamGubolin2015-05-061-1/+4
|\ \
| * | Morphic: event hook for first mouse click on editable textJens Mönig2015-05-011-1/+4
| | |
* | | merge branch OOPGubolin2015-03-241-14/+25
|\| |
| * | tweak inherited variable watcher slider deserializationJens Mönig2015-03-241-7/+7
| | |
| * | Prototypal inheritance of sprite-local variablesJens Mönig2015-03-211-8/+19
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (experimental) slotwise inheritance à la Henry Lieberman for sprite-local variables. see http://web.media.mit.edu/~lieber/Lieberary/OOP/Delegation/Delegation.htm l Let a sprite inherit another sprite’s local variables by making it the “parent” in the sprite-icon’s context menu (the button icon in the sprite corral underneath the stage). The child not only inherits the variable slot but also - dynamically - the parent variable’s value. Changing the parent’s variable value also changes it for every child. If a child uses SET or CHANGE on an inherited variable it automatically “shadows” it with its own value, thereby stopping dynamic participation in the parent slot’s value (in effect dis-inheriting that slot). Deleting a shadowed variable slot once again reinstates its inheritance status. inherited variables are shown as “ghosted” both in the child’s variables palette and in such stage watchers. “Shadowing” them un-ghosts both the variable blob template in the palette and the watcher onstage (if any). Deleting a shadowed variable once again ghosts the watcher and the palette block template. Delete a (shadowed) variable either via the “Delete a variable” button in the IDE or using the new “Delete” block in the variables category
* | merge upstreamGubolin2015-01-031-25/+37
|\|
| * Avoid auto-scaling artefacts in Safari on retina displaysjmoenig2014-12-051-2/+4
| | | | | | | | (resulting in “traces” when dragging items)
| * Cache actual bounding box of the Pen arrow shapejmoenig2014-12-031-6/+13
| | | | | | | | for improved collision detection
| * push morphic.js version datejmoenig2014-11-201-1/+1
| |
| * Merge pull request #615 from tonychenr/slider_range_oneJens Mönig2014-11-201-1/+1
| |\ | | | | | | Slider range one
| | * Fixed range 1 slider bug issue # 301tonychenr2014-10-071-1/+1
| | |
| * | enable mouseMove events with right button pressedjmoenig2014-11-061-16/+19
| |/ | | | | | | | | to support user interactions in 3D environments, such as CAD systems or Beetleblocks
| * updated historyjmoenig2014-09-301-1/+1
| |
| * Merge pull request #549 from Gubolin/issue_285Jens Mönig2014-09-301-2/+2
| |\ | | | | | | allow negative min/max values for sliders (fix #285)
| | * allow negative min/max values for sliders (fix #285)Gubolin2014-08-021-2/+2
| | |
* | | show virtual keyboard in Android (offline app only) (fix #81)Gubolin2014-09-071-0/+5
|/ /
* / Fix #563 (Paste into Chrome), thanks, @Muon, for the hint!jmoenig2014-08-131-2/+3
|/
* fixed #497 (prevent bubble shadows from getting cut-off)jmoenig2014-07-291-2/+2
| | | | thanks @Hardmath123 for this bug report
* fixed #508 (don’t popup empty menus)jmoenig2014-07-111-0/+3
| | | | thanks, @cycomached!
* Morphic: directly edit properties in inspectorsjmoenig2014-07-111-3/+14
|
* tweak glitch in event.keyCode/charCodejmoenig2014-07-111-1/+1
| | | | Thanks, Michael!
* keyboard shortcut ctrl/cmd-shift-a for '@'jmoenig2014-07-111-13/+15
|
* Morphic tweaksjmoenig2014-06-231-2/+7
|
* Morphic: Inspector enhancementsjmoenig2014-06-231-19/+51
| | | | dynamic property update, keyboard shortcuts
* prepare releasejmoenig2014-05-201-1/+1
| | | | correct last-changed-date
* Morphic: Prevent default action for ctrl-/cmd-key eventsjmoenig2014-05-201-1/+4
| | | | | … and allow using these for Snap! without having Chrome trigger its own actions for them
* Morphic: Replaced deprecated DOM “body” references with ↵jmoenig2014-02-031-4/+5
| | | | “documentElement”
* Fixed Morphic updateReferences()jmoenig2014-01-091-3/+3
| | | | how could this go undetected so long? :-)
* null-canvas blitting bug follow-upjmoenig2013-12-121-1/+1
|
* fixed #277, #279 (blitting null-canvasses fails)jmoenig2013-12-121-6/+9
| | | | Thanks, Nathan, for the pointer to this!
* fixed #238 - don’t trigger events for eclipsed morphsjmoenig2013-11-221-2/+5
| | | | (whose parent-chain contains a hidden morph)