Commit Graph

2572 Commits

Author SHA1 Message Date
marisaleung
bae3493980 Merge pull request #1044 from marisaleung/develop
field_angle renders degree symbol consistently.
2017-04-17 09:59:21 -07:00
Niklas Laxström
98e30c8c57 Localisation updates from https://translatewiki.net. 2017-04-17 09:25:45 +02:00
marisaleung
bc1ca547a4 field_angle renders degree symbol consistently.
Fixes #973
2017-04-14 12:17:09 -07:00
shirletan
23e5728ff4 use pretest instead of preinstall in package.json (#1043)
* cherry pick for pretest fix

* put pretest target to test_setup.sh

* fix conflict

* cherry pick for get_chromedriver.sh

* add some sleep to wait download to finish

* use node.js stable

* use npm test target
2017-04-13 15:23:48 -07:00
marisaleung
606adccf38 Merge pull request #1039 from marisaleung/develop
Ensure useDragSurface is a boolean.
2017-04-11 15:42:53 -07:00
marisaleung
e4edc3899a Ensure useDragSurface is a boolean.
Fixed #988
2017-04-11 15:33:51 -07:00
marisaleung
50831a953a Merge pull request #1038 from marisaleung/develop
Renames Blockly.workspaceDragSurface to Blockly.WorkspaceDragSurface.
2017-04-11 15:30:43 -07:00
marisaleung
f19b2c87aa Renames Blockly.workspaceDragSurface to Blockly.WorkspaceDragSurface.
Fixes #880.
2017-04-11 14:01:25 -07:00
RoboErikG
a8da16036e Enable google/blockly with continuous build on travis ci (#1023) (#1035)
* create .travis for ci job

* initial checkin for blocky-web travis ci job

* rename file to .travis.yaml for typo

* remove after_script

* added cache

* rename .travis.yaml to .travis.yml

* Update .travis.yml

* include build script

* fix yaml file format issue

* debug install part

* debug build issue

* Update .travis.yml

* remove cache for now

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* more debug info

* Update .travis.yml

* Update .travis.yml

* fix typo

* installing chrome browser

* remove chrome setting config

* run build.py as part of npm install

* Update .travis.yml

* update karma dependency

* use karma as test runner

* fix typo

* remove karma test for now

* Update .travis.yml

* Update package.json

* add npm test target

* add browserstack-runner depdendency

* update browser support

* fix typo for test target

* fix chrome typo

* added closure dependency

* add google-closure-library

* include blockly_uncompressed.js and core.js dependency

* uncomment out core/*.js files

* add kama job as part of install

* remove browserstack add on for now

* fix karma config typo

* add karma-closure

* add os support

* remove typo config

* include more closure files

* change os back to linux

* use closure-library from node_modules

* change log level back to INFO

* change npm test target to use open browser command instead of karma

* change travis test target to use open command instead of karma

* list current directory

* find what's in current dir

* typo command

* Update .travis.yml

* typo again

* open right index.html

* use right path for index.html

* xdg-open to open default browser on travis

* exit browser after 5s wait

* change timeout to 1 min

* exit after opening up browser

* use browser only

* use karma

* remove un-needed dependency

* clean up script section

* fix typo

* update build status on readme

* initial commit for selenium integration tests

* update selenium jar path

* fix test_runner.js typo

* add more debug info

* check java version

* add && instead of 9288

* fix java path

* add logic to check if selenium is running or not

* add some deugging info

* initial commit to get chromedriver

* add chromedriver flag

* add get_chromedriver.sh to package.json and .travel

* change browser to chrome for now

* fix path issue

* update chromdriver path

* fix path issue again

* more debugging

* add debug msg

* fix typo

* minor fix for getting chromedriver

* install latest chrome browser

* clean up pakcage.json

* use npm target for test run

* remove removing trailing comma

* fix another trailing comma

* updated travis test target

* clean up scripts

* not sure nmp run preinstall

* redirect selenium log to tmp file

* revert writing console log to file

* update test summary

* more clean up

* minor clean up before pull request

* resolved closure-library conflict

1. add closure-library to dependencies instead of devDependencies.
2. add lint back in scripts block

* fix typo (adding comma) in script section
2017-04-11 13:38:11 -07:00
shirletan
f7a206abcb Enable google/blockly with continuous build on travis ci (#1023)
* create .travis for ci job

* initial checkin for blocky-web travis ci job

* rename file to .travis.yaml for typo

* remove after_script

* added cache

* rename .travis.yaml to .travis.yml

* Update .travis.yml

* include build script

* fix yaml file format issue

* debug install part

* debug build issue

* Update .travis.yml

* remove cache for now

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* more debug info

* Update .travis.yml

* Update .travis.yml

* fix typo

* installing chrome browser

* remove chrome setting config

* run build.py as part of npm install

* Update .travis.yml

* update karma dependency

* use karma as test runner

* fix typo

* remove karma test for now

* Update .travis.yml

* Update package.json

* add npm test target

* add browserstack-runner depdendency

* update browser support

* fix typo for test target

* fix chrome typo

* added closure dependency

* add google-closure-library

* include blockly_uncompressed.js and core.js dependency

* uncomment out core/*.js files

* add kama job as part of install

* remove browserstack add on for now

* fix karma config typo

* add karma-closure

* add os support

* remove typo config

* include more closure files

* change os back to linux

* use closure-library from node_modules

* change log level back to INFO

* change npm test target to use open browser command instead of karma

* change travis test target to use open command instead of karma

* list current directory

* find what's in current dir

* typo command

* Update .travis.yml

* typo again

* open right index.html

* use right path for index.html

* xdg-open to open default browser on travis

* exit browser after 5s wait

* change timeout to 1 min

* exit after opening up browser

* use browser only

* use karma

* remove un-needed dependency

* clean up script section

* fix typo

* update build status on readme

* initial commit for selenium integration tests

* update selenium jar path

* fix test_runner.js typo

* add more debug info

* check java version

* add && instead of 9288

* fix java path

* add logic to check if selenium is running or not

* add some deugging info

* initial commit to get chromedriver

* add chromedriver flag

* add get_chromedriver.sh to package.json and .travel

* change browser to chrome for now

* fix path issue

* update chromdriver path

* fix path issue again

* more debugging

* add debug msg

* fix typo

* minor fix for getting chromedriver

* install latest chrome browser

* clean up pakcage.json

* use npm target for test run

* remove removing trailing comma

* fix another trailing comma

* updated travis test target

* clean up scripts

* not sure nmp run preinstall

* redirect selenium log to tmp file

* revert writing console log to file

* update test summary

* more clean up

* minor clean up before pull request

* resolved closure-library conflict

1. add closure-library to dependencies instead of devDependencies.
2. add lint back in scripts block

* fix typo (adding comma) in script section
2017-04-11 11:18:15 -07:00
Andrew n marshall
a21d04b804 Making text_count use a text color (like text_length, which also returns a number). (#1027) 2017-04-10 16:26:30 -07:00
Niklas Laxström
7acbb28638 Localisation updates from https://translatewiki.net. 2017-04-10 07:12:30 +02:00
vicng
ae2aaa2159 - Allows use of Blockly's messaging format for category name, colour,… (#1028)
...in toolbox XML.
- Updated code editor demo to use this message format
- Re-built blockly_compressed.js
2017-04-07 15:32:50 -07:00
vicng
dfc50ba843 - Changed error message referencing 'procedure' instead of 'function' (#1019)
- Added iOS specific UI messages
- Fixed bug with js_to_json.py script where it didn't recognize ' character
2017-04-06 12:41:09 -07:00
Niklas Laxström
89d9765caa Localisation updates from https://translatewiki.net. 2017-04-06 07:11:35 +02:00
CoryDCode
33355415df Adding the common modal class. (#1017)
Centralizes accessible modal behavior.
2017-04-05 16:06:45 -07:00
Rachel Fenichel
4b44635867 Merge pull request #1025 from rachel-fenichel/cleanup/misc
Miscellaneous comment cleanup
2017-04-05 16:06:25 -07:00
Rachel Fenichel
f2f522d77a Miscellaneous comment cleanup 2017-04-05 15:52:49 -07:00
Rachel Fenichel
352719235d Merge pull request #1018 from rachel-fenichel/bugfix/block_context_menu
Block browser context menu in the toolbox and flyout
2017-04-05 10:42:27 -07:00
RoboErikG
ba37894b51 Merge pull request #1021 from google/RoboErikG-readme-dev
Add links to the dev registration form and contributor guidelines
2017-04-04 16:47:39 -07:00
RoboErikG
eea01e3e06 Add links to the dev registration form and contributor guidelines 2017-04-04 16:40:40 -07:00
Rachel Fenichel
077547ec90 Block browser context menu in the toolbox and flyout 2017-04-04 14:36:01 -07:00
CoryDCode
8e199ec04b Adding an add variable modal to accessible Blockly. (#1015)
* Adding the remove variable modal and functionality to accessible Blockly.

* Adding the add variable modal for accessible Blockly.
2017-04-03 16:16:50 -07:00
Rachel Fenichel
1ad3359730 Merge pull request #965 from K-ran/feature/minimap
Adding new minimap demo.
2017-04-03 11:30:49 -07:00
Niklas Laxström
eb22322f49 Localisation updates from https://translatewiki.net. 2017-04-03 07:21:41 +02:00
Karan Purohit
619237c05d Minimap position bug fix for browsers other than chrome. Added touch support. 2017-04-02 13:31:46 +05:30
CoryDCode
537bf17b7d Adding the remove variable modal and functionality to accessible Blockly. (#1011) 2017-03-30 11:31:31 -07:00
Niklas Laxström
1a75dd99ea Localisation updates from https://translatewiki.net. 2017-03-30 07:36:02 +02:00
Rachel Fenichel
89859f9fd0 Merge pull request #1008 from rachel-fenichel/update_master_3_28_17
Update master to include a major IE10 fix
2017-03-28 16:02:27 -07:00
Rachel Fenichel
61f920b590 Rebuild for master push 2017-03-28 13:50:17 -07:00
Katelyn Mann
3ed3f5ba84 Merge branch 'master' into develop 2017-03-28 12:42:57 -07:00
Rachel Fenichel
b25ab029e4 Merge pull request #1005 from rachel-fenichel/bugfix/IE10_offsets
RemoveAttribute doesn't work on SVG elements in IE 10.  Use setAttrib…
2017-03-28 09:06:23 -07:00
Rachel Fenichel
92f3880008 RemoveAttribute doesn't work on SVG elements in IE 10. Use setAttribute to null instead. 2017-03-27 17:25:41 -07:00
Niklas Laxström
65371a69cf Localisation updates from https://translatewiki.net. 2017-03-27 08:11:50 +02:00
CoryDCode
b0856b879d Fixing commenting from the last commit. (#1000) 2017-03-23 14:49:05 -07:00
CoryDCode
6cc6848961 Added the variable modal and component and implemented basic renaming functionality. (#991) 2017-03-23 13:47:26 -07:00
Katelyn Mann
06ebf52dd1 Merge branch 'develop' 2017-03-23 11:35:11 -07:00
picklesrus
bfe23ea1b3 rebuild develop (#996) 2017-03-23 11:33:25 -07:00
picklesrus
36fa5f6016 Fix #986. Looks like the original PR just forgot this block. (#992) 2017-03-23 10:20:42 -07:00
Katelyn Mann
23f645dfc7 Merge remote-tracking branch 'origin/develop' into develop 2017-03-22 14:24:28 -07:00
Rachel Fenichel
815fd6fd79 Merge pull request #982 from rachel-fenichel/bugfix/IE_text_rendering
Bugfix/ie text rendering
2017-03-22 10:14:21 -07:00
Katelyn Mann
9e4ed972b0 update from master + build 2017-03-22 10:05:20 -07:00
Niklas Laxström
aba79e2735 Localisation updates from https://translatewiki.net. 2017-03-20 07:21:00 +01:00
Rachel Fenichel
85b4f5f1a8 Fix #969 2017-03-17 16:25:45 -07:00
picklesrus
fd7d8b1ac8 Fix #967 by overriding the updateWidth method in FieldImage blocks to be a no-op. FieldImage fields should not change size after the width is set in init. The updateWidth and, therefore, getCachedWidth is now being called by BlockSvg renderFields_ (see commit d55d9cbd9f). IIUC, updateWidth/getCachedWidth was only called from render before which is overridden in FieldImage to be a no-op already. (#979) 2017-03-17 16:15:40 -07:00
Niklas Laxström
33fce3f62f Localisation updates from https://translatewiki.net. 2017-03-16 07:59:13 +01:00
Karan Purohit
ac18e207a2 Registering mousemove and mouseup listener in mousedown event. Mousemove and Mouseup events are now listening over document. 2017-03-14 08:58:03 +05:30
Rachel Fenichel
036f364e57 Merge pull request #978 from rachel-fenichel/feature/developer_background
Set background color to lilac if opening the playground from file:
2017-03-13 14:55:43 -07:00
Rachel Fenichel
a6a70a647c set background color to lilac if opening the playground from file: 2017-03-13 14:37:27 -07:00
Karan Purohit
4e9055a343 Adding horizontal scrolling. Changed scroll change callbacks from onScroll_ to setHandlePosition. onScroll_ is not challed when workspace is dragged. 2017-03-12 15:29:05 +05:30