Commit Graph

8355 Commits

Author SHA1 Message Date
Rachel Fenichel
246580b76f Merge pull request #2123 from gomercin/python3_upgrade
Make build.py compatible with Python 2 and 3
2018-11-16 17:03:37 -08:00
Omer Karaduman
cf050069c1 Make build.py compatible with Python 2 and 3
Following changes are made with minimal touches;
- version dependent module imports
- codecs.open instead of open (for encoding errors)
- string_is_ascii modified for better compatibility
- In create_messages.py, synonym_defs are sorted as well to increase
  testability, as Python 3 does not guarantee key order.
  Note that this will cause previously generated files to have different
  orders from the files generated without this patch.
- small changes; paranthesis around "print"s, has_key -> in,
  "except x, y" -> "except x as y", sorted -> sort

Other files need similar small changes but are not touched as they are not
referenced from build.py

Fixes https://github.com/google/blockly/issues/2112
2018-11-16 22:58:05 +01:00
Andrew n marshall
ca15234bdc Add support for handling window.prompt(..) etc in iOS mobile demo (PR #2121)
Merge from AnmAtAnm/ios-js-prompt
2018-11-15 11:36:55 -08:00
translatewiki.net
5d8b4cd505 Localisation updates from https://translatewiki.net. 2018-11-15 08:10:25 +01:00
Andrew n marshall
182ba961de Doc comments and style corrections. 2018-11-14 13:34:33 -08:00
Andrew n marshall
4ce4544cc6 Temp save of work 2018-11-14 12:57:14 -08:00
Andrew n marshall
31a723bf32 Add handlers for console.alert and console.confirm. 2018-11-14 12:57:14 -08:00
Andrew n marshall
57bffc0ecd Removing comment around <meta> in demos/mobile (PR #2120)
Merge from AnmAtAnm/mobile-meta-bug
2018-11-14 12:27:08 -08:00
Rachel Fenichel
17823db4df Fix problem with connecting a statement into a stack, but not a c-shape block 2018-11-14 11:22:57 -08:00
Rachel Fenichel
e794b6883f Make insertion markers match the size of the source block 2018-11-14 11:19:17 -08:00
Rachel Fenichel
9aa54ac487 Make replaceable child blocks opaque 2018-11-14 11:19:17 -08:00
Rachel Fenichel
4c133e9ecd Highlight and unhilight the closest connection 2018-11-14 11:19:17 -08:00
Rachel Fenichel
565569fa61 Fix horizontal insertion markers for blockly 2018-11-14 11:19:17 -08:00
Rachel Fenichel
dfc1f0094b Mark the dragged connection manager deprecated 2018-11-14 11:18:32 -08:00
Rachel Fenichel
df888eb32d Remove setOpacity and getOpacity 2018-11-14 11:18:32 -08:00
Rachel Fenichel
7d775908b9 Add insertion markers. 2018-11-14 11:18:32 -08:00
Andrew n marshall
97caca6cc1 Removing comment around <meta>
Bad commit during debugging.
2018-11-14 11:08:17 -08:00
Rachel Fenichel
d677023d86 Merge pull request #2111 from rachel-fenichel/feature/run_gen_tests_in_browser
Run generator tests on Travis
2018-11-14 11:04:47 -08:00
Rachel Fenichel
898810d709 Use firefox for generator tests 2018-11-14 10:56:33 -08:00
Rachel Fenichel
d3ba3eb144 Disable osx build 2018-11-14 10:50:52 -08:00
Rachel Fenichel
b33d832373 Check whether generator tests work under chrome + osx 2018-11-12 11:48:09 -08:00
translatewiki.net
b0dfbb1671 Localisation updates from https://translatewiki.net. 2018-11-12 08:35:21 +01:00
Rachel Fenichel
6e300cc27c Add firefox to travis; quit early if files are not found in generator tests 2018-11-09 16:50:57 -08:00
Rachel Fenichel
abd22e867c Remove vestigial button 2018-11-09 13:25:29 -08:00
Rachel Fenichel
6202919272 Make generator tests compare results against golden files; add golden files. 2018-11-09 13:22:34 -08:00
translatewiki.net
9423970755 Localisation updates from https://translatewiki.net. 2018-11-08 09:53:24 +01:00
Tianwei Du
f3bb0d827e fix #2090 (#2109) 2018-11-07 12:42:42 -08:00
Rachel Fenichel
a248c012f4 Run generator tests and save a file with the generated js! 2018-11-06 11:13:28 -08:00
Rachel Fenichel
9e9e566d89 add test skeleton 2018-11-06 11:13:28 -08:00
Rachel Fenichel
d3a73241ae Merge pull request #2106 from rachel-fenichel/november_rebuild
Rebuild to include blockToDom fix; bump version number
1.20181105.0
2018-11-05 14:11:43 -08:00
Rachel Fenichel
b9d6de1aeb Merge pull request #2101 from rachel-fenichel/feature/generator_tests_checkbox
Select generator test suites by checkbox
2018-11-05 14:11:24 -08:00
Rachel Fenichel
c49f9c42ab Merge pull request #2094 from google/rachel-fenichel-patch-1
Update version number
2018-11-05 14:11:08 -08:00
Rachel Fenichel
4aa5a2c6c6 Update version number 2018-11-05 10:42:17 -08:00
Rachel Fenichel
d9fd6b7e81 Rebuild to incorporate blockToDom fix in compressed files 2018-11-05 10:40:46 -08:00
Neil Fraser
280fa51597 Don’t move immovable blocks in workspace cleanup. (#2104) 2018-11-05 09:38:24 -08:00
translatewiki.net
d582c37974 Localisation updates from https://translatewiki.net. 2018-11-05 08:39:49 +01:00
Rachel Fenichel
09853c3725 Merge pull request #2095 from google/rc/Oct_18
October 2018 release
1.20181030.0
2018-11-01 16:47:44 -07:00
translatewiki.net
275659607d Localisation updates from https://translatewiki.net. 2018-11-01 08:04:45 +01:00
Rachel Fenichel
29e836770d Remove bad classes 2018-10-31 15:05:28 -07:00
Rachel Fenichel
5654864d2a Merge pull request #2100 from RoboErikG/roboerikg-next-block
Fix bad xml element when generating next node
2018-10-31 10:09:49 -07:00
RoboErikG
ecc555b7f3 Fix bad xml element when generating next node (#2098)
Fixes #2096

We were creating a text node to wrap any block connected to
next when we should have just been attaching the generated dom.
2018-10-31 09:52:59 -07:00
Erik Pasternak
f17c147290 Fix bad xml element when generating next node
Fixes #2096

We were creating a text node to wrap any block connected to
next when we should have just been attaching the generated dom.
2018-10-30 15:09:08 -07:00
Rachel Fenichel
200afba1d0 Update version number 2018-10-30 10:47:17 -07:00
Rachel Fenichel
ca035d4dc8 Update version number for release 2018-10-30 10:39:38 -07:00
Rachel Fenichel
8f0f1fa9a5 Merge pull request #2092 from rachel-fenichel/update_dependencies
Update some dev dependencies
2018-10-30 13:12:44 -04:00
Rachel Fenichel
b7c473af53 Merge pull request #2093 from rachel-fenichel/rebuild_10_29_18
Rebuild for October/November release
2018-10-30 13:12:23 -04:00
Rachel Fenichel
3fa13e0ad8 Rebuild 2018-10-29 17:02:27 -07:00
Rachel Fenichel
9a12e97b86 Update some dev dependencies 2018-10-29 16:58:29 -07:00
Rachel Fenichel
e3bf012c20 Use checkboxes instead of dropdowns for generator tests 2018-10-29 15:41:43 -07:00
Rachel Fenichel
0b886f188b Merge pull request #2085 from rachel-fenichel/feature/generator_tests_checkbox
Generator test improvements
2018-10-19 10:14:00 -07:00