Commit Graph

2990 Commits

Author SHA1 Message Date
translatewiki.net
233b1561a4 Localisation updates from https://translatewiki.net. 2018-11-19 08:35:48 +01:00
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
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
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
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
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
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
Rachel Fenichel
200afba1d0 Update version number 2018-10-30 10:47:17 -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
Rachel Fenichel
adb1921e21 Add suite name to generator tests 2018-10-18 17:47:58 -07:00
Rachel Fenichel
5fcadc0a05 Use checkboxes instead of a dropdown for generator test selection 2018-10-18 17:11:20 -07:00
Rachel Fenichel
f506a8baee Merge pull request #2084 from rachel-fenichel/bugfix/2030_remainder
Fix setting tooltips in field init for fields
2018-10-17 14:00:35 -07:00
Rachel Fenichel
3aa0cac22b Fix setting tooltips in init 2018-10-17 13:27:32 -07:00
Neil Fraser
db0dbc69ee Update todos and requires. 2018-10-16 11:34:10 -07:00
Neil Fraser
c7e391c71a Fix lint error. 2018-10-16 11:34:10 -07:00
Neil Fraser
aa09ad9175 Line wrap at 80. 2018-10-16 11:34:10 -07:00
Neil Fraser
f196816f62 Move DOMParser and XMLSerializer to Xml.utils 2018-10-16 11:34:10 -07:00
Neil Fraser
8d70598b6b Recompile due to changed dependencies. 2018-10-16 11:34:10 -07:00
Neil Fraser
c74830231c Minor corrections 2018-10-16 11:34:10 -07:00
Neil Fraser
dddb94aedd Fix circular dependency. 2018-10-16 11:34:10 -07:00
Neil Fraser
e62bb1af73 Remove all calls to goog.dom.createDom
All XML node cereations are now centralized.
2018-10-16 11:34:10 -07:00
Andrew n marshall
9252c947bc Add new atan2 block (PR #2079)
Merge pull request from nadyafebi/add-atan2-support-1835
2018-10-16 11:27:00 -07:00
Andrew n marshall
58bfab7c6c Math.PI => Math.pi
The Dart test was failing prior to this.
2018-10-16 11:25:10 -07:00