Commit Graph

430 Commits

Author SHA1 Message Date
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
218fdc667d Fix duplicate procedure naming.
https://groups.google.com/forum/#!topic/blockly/2q0pleoMIco
2015-08-25 14:11:07 +01:00
Neil Fraser
535b4202d9 Convert 5 blocks to JSON.
No functional change.
2015-08-24 01:28:43 -07:00
Neil Fraser
20820b5861 Fix drag events. 2015-08-21 19:37:57 -07:00
Neil Fraser
d4a8012b72 Routine recompile. 2015-08-21 14:54:11 -07:00
Neil Fraser
739918b870 Merge pull request #162 from skcamp/fix-issue-161-pinch-gesture-error
fix: https://github.com/google/blockly/issues/161
2015-08-21 14:39:15 -07:00
Neil Fraser
2b18078cb6 Merge pull request #165 from carlosperate/zoom_ie
Revert DOM injection order of the zoom control images.
2015-08-21 14:35:12 -07:00
Neil Fraser
f601bdc3c7 Fix FF editor location by a pixel. 2015-08-21 14:13:07 -07:00
carlosperate
466115d52b Revert DOM injection order of the zoom control images. 2015-08-21 20:51:35 +01:00
Neil Fraser
fe12aeee93 Merge pull request #164 from carlosperate/getScaledBBox_
Update getScaledBBox_ to return new object to fix issue in IE.
2015-08-21 12:39:02 -07:00
carlosperate
17be3219ee Update FieldTextInput to not edit possible read-only attributes.
The SVGRect returned from getBBox can be have its attributes as read-only.
2015-08-21 19:20:00 +01:00
carlosperate
055c11155d Update getScaledBBox_ to return new object to fix issue in IE. 2015-08-21 18:51:25 +01:00
Neil Fraser
73ad694be4 Merge pull request #163 from carlosperate/FieldImage
Remove additional height to the FieldImage size.
2015-08-21 10:50:50 -07:00
carlosperate
a43c426986 Remove additional height to the FieldImage size. 2015-08-21 17:25:05 +01:00
Neil Fraser
53f5424801 Skc memory leaks (PR #159) 2015-08-20 15:46:44 -07:00
Winston
575b712462 fix: https://github.com/google/blockly/issues/161
On iOS, if I use a pinch gesture in the workspace, these errors appear in the console:

Error: Invalid value for <rect> attribute x="NaN"
2015-08-20 15:26:56 -07:00
Neil Fraser
e8f1de3bdf Fix bottom-right workspace metrics when not at 100% zoom. 2015-08-20 14:09:14 -07:00
Neil Fraser
84838a67f3 Don't delete connected child blocks. 2015-08-20 12:07:48 -07:00
Neil Fraser
96d5987db1 Fix Audio test in IE (issue 272) and fix error when deleting block with warning. 2015-08-19 18:42:35 -07:00
Neil Fraser
f3ea66a796 Dragging on an icon should not pop open a bubble.
Issue #145.
2015-08-19 18:25:26 -07:00
Neil Fraser
5085ebfb24 Revert "Adding தமிழ்."
This reverts commit 02d75ca60b.
2015-08-19 18:03:47 -07:00
Neil Fraser
02d75ca60b Adding தமிழ். 2015-08-19 17:51:15 -07:00
Neil Fraser
058760e30d Merge pull request #158 from carlosperate/ie_comment_fix
Rename Warning getAllText function for Comment object compatibility.
2015-08-19 17:36:03 -07:00
Neil Fraser
5b7fec7092 Add zooming feature.
By carloslfu.
2015-08-19 17:21:05 -07:00
Neil Fraser
0478d308a6 Trivial cleanup. 2015-08-18 11:34:22 -07:00
Neil Fraser
6d8bae4836 Fix 'this' in field change handler calls.
Caught by toebes.
2015-08-17 23:20:29 -07:00
carlosperate
d773adb7b3 Rename Warning getAllText function for Comment object compatibility. 2015-08-17 15:23:08 +01:00
Neil Fraser
0274763beb Clean up temporary generator data. 2015-08-14 18:26:05 -07:00
Neil Fraser
93c371bc33 Merge pull request #152 from AllisonLamm/master
more type annotation updates
2015-08-10 13:57:00 -07:00
Allison Lamm
02fa8cb605 more type annotation updates 2015-08-10 14:34:42 -05:00
Neil Fraser
be4805e31f Merge pull request #151 from AllisonLamm/master
adding type annotations
2015-08-10 12:27:12 -07:00
Allison Lamm
6070b9473d Update type annotation for Blockly cursor 2015-08-10 14:17:11 -05:00
Allison Lamm
cca88beb30 adding type annotation to field text input 2015-08-10 13:46:16 -05:00
Neil Fraser
7a5580b3d3 Minor lints from PR 150. 2015-08-08 15:15:58 -07:00
Neil Fraser
05bdd5903c Merge pull request #143 from Kaworru/master
Add basic lint options for npm
2015-08-07 18:01:08 -07:00
Neil Fraser
3ed9e09355 Refresh XML in generator unit tests. 2015-08-07 10:04:07 -07:00
Neil Fraser
bd144f14ea Fix tooltip location when page is scrolled.
Also of note, Closure Compiler is no longer preserving licences.
2015-08-06 11:12:41 -07:00
Markus Bordihn
d1ff77824b Add basic lint options for npm
To use this linter, make sure npm is installed and execute the following
commands inside the main folder.

1.) Only once to update the package "npm install"
2.) To run the linter "npm run lint"

This would make it easier to clean up some of the code.
2015-08-03 20:34:07 +02:00
Neil Fraser
877b5d3fa0 Fix generating null blocks (issue 142). 2015-07-30 08:31:13 -07:00
Neil Fraser
8d87f73f45 Fix types in lists_split block. 2015-07-28 13:00:03 -07:00
Neil Fraser
be70863b07 Clean plane coordinates. Fix RTL alignment. 2015-07-28 12:09:52 -07:00
Neil Fraser
bcd0422e9b Merge pull request #139 from carlosperate/soy_quotes
Change plane demo readme cli quotation marks for better compatibility.
2015-07-28 11:56:38 -07:00
Neil Fraser
96eb72187a Merge pull request #140 from trodi/master
add another type annotation
2015-07-28 10:34:13 -07:00
Troy McKinnon
37a3c74aea add another type annotation 2015-07-27 14:18:43 -05:00
carlosperate
7612964a51 Change plane demo readme cli quotation marks for better compatibility. 2015-07-27 02:24:25 +01:00
Neil Fraser
d5e1abd7c2 Merge pull request #138 from carlosperate/plane_demo_text
Increase the plane svg height and move the text to a second row.
2015-07-26 17:18:00 -07:00
carlosperate
195389a6e0 Increase the plane svg height and move the text to a second row. 2015-07-27 00:08:23 +01:00
Neil Fraser
ac2344a052 Merge pull request #136 from Kaworru/master
Add basic package.json for npm support.
2015-07-24 14:10:48 -07:00
Markus Bordihn
b182482a4d Update package.json 2015-07-24 21:14:40 +02:00
Markus Bordihn
30f280ba37 Update package.json 2015-07-24 20:31:37 +02:00