149 Commits

Author SHA1 Message Date
Rachel Fenichel b77c080678 Fix bugs with missing mouseUp events on mutators. Also stop filtering out key presses. 2016-08-25 15:18:53 -07:00
Rachel Fenichel 7a7932acc7 No longer drops mouseUps; fixed lint per neil's comments 2016-08-18 14:46:28 -07:00
Rachel Fenichel e8ebc5441f Handle each changed touch as a separate touch event 2016-07-21 14:07:03 -07:00
Rachel Fenichel 6b7965a727 Ignore everything but the first touch stream 2016-07-20 17:03:24 -07:00
Neil Fraser 98617d8ddc Move tokenizeIntepolation into Blockly.utils namespace. 2016-06-22 13:01:37 -07:00
Rachel Fenichel 42f620daa2 Check if matrix is null in mouseToSvg 2016-06-21 15:56:00 -07:00
Rachel Fenichel c4cad3c6e4 Cache screen CTM for performance improvement. 2016-06-17 14:26:04 -07:00
Neil Fraser 3012d52808 Line wrap comments in generated code. 2016-06-08 00:12:58 -07:00
Rachel Fenichel 32eed0d2f8 Merge branch 'develop' into cleanup/lint 2016-05-10 14:43:09 -07:00
Rachel Fenichel 3605dfb9c0 Undo decimation of variable redeclarations 2016-05-10 14:40:48 -07:00
Rachel Fenichel 640b38f38e lint 2016-05-05 13:13:48 -07:00
Katelyn Mann ca16d1fefe An alternate (and less expensive) way to keep stuff outside of the blockly div
from getting selected. Use e.preventDefault instead of adding and removing
classes on mousedown and mouseup.  This keeps the browser from having to
potentially recacluate style on mousedown and mouseup events.
2016-05-04 19:12:38 -07:00
Neil Fraser 217c681b86 Use direct call to svg resize rather than event. Also fix issue #296. 2016-05-04 15:00:57 -07:00
Katelyn Mann b11bd4fb71 Remove Blockly.removeAllRanges and replace it with calls to add/remove
css to mark text as unselectable instead.  I can't prove this is
significantly faster with numbers since the call to setup the time out
costs ~.1ms and the call when the timer fires is ~.05.  This happens on almost
every mouse event though.  Plus, it seems to remove a flicker of highlighting when
frames are skipped and keeps scrolling via the scrollbar from highlighting.
2016-03-28 10:06:43 -07:00
Neil Fraser 39fbd24659 Remove setProcedureParameters from API (use domToMutation instead). 2016-03-22 10:48:13 -07:00
Neil Fraser aeabf0ec6f Fix issue 251, $ in ID. 2016-02-16 22:16:36 -08:00
Neil Fraser 5297344a8b Fix RTL XML. 2016-02-16 13:04:47 -08:00
Neil Fraser 4b0ed0d372 Add custom event file. 2016-01-12 16:47:18 -08:00
Neil Fraser 3bce368115 Simplify workspace options by removing svg property. 2016-01-07 17:01:01 -08:00
Neil Fraser e5dfdf4658 Improve randomness of UUIDs. 2015-11-24 19:16:01 -08:00
Neil Fraser d702808f71 Add UUID generator. 2015-11-19 01:46:53 -08:00
Neil Fraser 7568015c8c Scale the flyout as the workspace zooms. 2015-09-01 20:00:13 +01:00
Neil Fraser 8f73c6b042 Clean getSvgXY_.
No functional change.
2015-09-01 12:22:50 +01:00
Neil Fraser f81a5bd11a Expand regex to handle IE's scientific notation. 2015-08-26 14:08:03 +01:00
Markus Bordihn d555121a1c Update utils.js
There is no global "getSelection()" function, see:
https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection
2015-08-25 15:39:09 +02:00
Neil Fraser 5b7fec7092 Add zooming feature.
By carloslfu.
2015-08-19 17:21:05 -07:00
Neil Fraser e0f90e6e33 Adding more type documentation. 2015-07-13 15:03:22 -07:00
Neil Fraser 916a5f56b0 Fix %% escaping in interpolation. 2015-07-10 16:08:27 -07:00
Neil Fraser 345b0cb668 Remove selection in Block Factory when switching modes. 2015-06-29 17:06:36 -07:00
Neil Fraser 1be9437544 Support content editable (issue 113). 2015-06-22 15:45:18 -07:00
Neil Fraser 4fb40b95f6 Fix fractional-pixel connection drift. 2015-05-27 18:54:37 -07:00
Neil Fraser 6fdab711b2 Fix several RTL bugs. 2015-05-19 12:02:49 -07:00
Neil Fraser 17961f7f58 Support multiple Blockly instances. 2015-04-28 13:51:25 -07:00
Neil Fraser 0b1efa2eab Don't treat ctrl-click as a right-click except on Mac. 2015-02-23 16:04:18 -08:00
Neil Fraser c9addf7e31 Improve accuracy of goog.require calls. 2015-02-06 15:27:25 -08:00
Neil Fraser 906b62f7ef Speed up Firefox on mobile (same as previous commit). 2015-01-27 20:28:33 -08:00
Neil Fraser f79b42ab70 Speedup Firefox with black magic. Seriously, WTF? 2015-01-27 17:14:44 -08:00
Neil Fraser e7444120ca Merge duplicate event calls. 2015-01-27 15:57:45 -08:00
Neil Fraser 6436cc1569 Merge pull request #41 from carlosperate/master
Fixes google/blockly#40
2015-01-15 13:58:29 -08:00
Neil Fraser c5ba39ef72 Speed up rendering on deep trees. 2015-01-08 13:38:40 -08:00
carlosperate 23388d51dd Fixes google/blockly#40
ontouchstart was not defined within goog.global, using the closure browser capability checks instead
2015-01-04 03:42:01 +00:00
Neil Fraser 1fac311224 Convert cumbersome conditionals into calls to goog.getObjectByName. 2014-12-23 17:02:53 -08:00
Neil Fraser 0f8d01209c Headless workspaces and blocks. 2014-12-23 11:22:02 -08:00
Neil Fraser 6539211104 Change official project URL. 2014-10-07 13:09:55 -07:00
Neil Fraser 7122410373 Changing project location from Google Code to GitHub. 2014-09-08 15:18:02 -07:00
Neil Fraser d998a1c8ec Update to latest version. 2014-09-08 14:26:52 -07:00
ellen.spertus 1f5f0abd94 Automatic commit Sat Feb 1 03:00:04 PST 2014 2014-02-01 03:00:04 -08:00
ellen.spertus 6ee38cdec3 Automatic commit Tue Jan 28 03:00:09 PST 2014 2014-01-28 03:00:09 -08:00
ellen.spertus a8acffd81c New initial commit with .svn directories and their contents ignored. 2013-10-30 14:46:03 -07:00