Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
47ad71f
Add WebUSB (Squashed)
microbit-sam Aug 7, 2018
fe8143f
WebUSB: Update the firmware error message link and remove DAPLINK hex
microbit-sam Feb 26, 2019
eec4a57
WebUSB: Lazy load DAPJS, hterm. Remove ES6 features for IE
microbit-sam Feb 27, 2019
7f0a924
WebUSB: Updated tab index, added product id, changed alert message
microbit-sam Feb 27, 2019
92d6079
WebUSB: Update serial button.
microbit-carlos Mar 1, 2019
a99ce7e
WebUSB: Added initial connect/disconnect flow for webUSB flashing
dnlbaines Apr 8, 2019
c887bbe
WebUSB: Improved webUSB errors and linked serial to new implementation
dnlbaines Apr 23, 2019
ce86d68
WebUSB: Flash button now replaces download
dnlbaines May 29, 2019
9a8fe07
WebUSB: Add action class to webUSB buttons for metrics
dnlbaines May 16, 2019
8a1e5b0
fs: WebUSB - Zoom buttons now change REPL size (#105)
dnlbaines Jun 6, 2019
49fe9ab
Use Storage.Memory() instead of Local Storage for hterm prefs (#159)
microbit-sam Jun 7, 2019
0c595be
WebUSB: Fix some regressions from rebase.
microbit-carlos Jun 27, 2019
305a149
Updated DAPJS (#190)
microbit-sam Jul 12, 2019
a5a17ba
Merge pull request #99 from bbcmicrobit/bbcmicrobit-webusb
microbit-carlos Jul 12, 2019
7f47700
Refactor hex code into individual module
microbit-carlos Oct 26, 2017
6a44388
fs: First version with its own button and modal.
microbit-sam Jan 18, 2019
1b416c0
fs: Second version inside the Load modal.
microbit-carlos Feb 8, 2019
92111bc
fs: Add module shebang recognition.
microbit-carlos Feb 27, 2019
7123543
fs: Update the microbitFs v0.5.0 and use getFsSize() method.
microbit-carlos Mar 1, 2019
cc481a0
fs: Ask for comfirmation when adding an existing module to the fs.
microbit-carlos Mar 5, 2019
e460a8e
fs: Enable overwrite of files already in the filesystem.
microbit-carlos Mar 6, 2019
dd0482d
fs: Script name change to original filename on file load (#124)
microbit-rosslowe Mar 12, 2019
a7c8889
fs: Return firmware with files and no main.py if script is empty (#116)
microbit-sam Mar 14, 2019
f1f44ec
fs: Update microbit-fs to v0.6.0.
microbit-carlos Mar 19, 2019
ba7d3c8
fs: Show error dialog when loading large module (#123)
microbit-rosslowe Mar 19, 2019
51d3a09
Open file picker on "pick a file" link (#130)
microbit-mark Mar 20, 2019
e827cd2
fs: Update microbit-fs to v0.6.1.
microbit-carlos Mar 21, 2019
9f0a604
fs: Fix issue loading Python files with less than 3 lines.
microbit-carlos Mar 21, 2019
90fa4ef
fs: Load modal "pick a file" link no longer hides the "drop area" (#136)
dnlbaines Apr 15, 2019
855102f
fs: Fix filesystem layout (#121) (#147)
dnlbaines May 7, 2019
2bf124b
Add action class to file upload/filesystem upload (#152)
dnlbaines May 17, 2019
efc5a65
Merged save/load button and added individual file download to filesys…
dnlbaines Jun 5, 2019
93852d8
fs: Make micropythonFs global to enable metric access (#167)
dnlbaines Jun 20, 2019
1857363
Add action class to filesystem save/remove buttons (#169)
dnlbaines Jun 21, 2019
1e8bd98
fs: Add Puppeteer filesystem tests (#177)
microbit-rosslowe Jul 4, 2019
432e738
Merge pull request #88 from bbcmicrobit/filesystem
microbit-carlos Jul 12, 2019
b28409a
Add basic autocomplete
microbit-rosslowe Mar 14, 2019
2a06e06
Update Ace to 21.02.19
microbit-rosslowe Mar 19, 2019
ccba80d
Autocomplete: Restore originigal theme, highlighting and rules.
microbit-rosslowe Mar 19, 2019
48d3911
Add autocomplete to help (#5)
microbit-rosslowe Apr 2, 2019
999704a
Autocompletion: Update jest/jasmine tests.
microbit-rosslowe Jun 11, 2019
7252b5b
Autocomplete: Move MicroPython API into its own file.
microbit-carlos Jul 8, 2019
c09bc72
Autocomplete: Add enable switch to the Options menu. (#189)
microbit-carlos Jul 11, 2019
f3bdc02
Autocomplete: Add Options toggle for complete word on Enter key press.
microbit-carlos Jul 12, 2019
e8347f7
Merge pull request #185 from bbcmicrobit/autocomplete
microbit-carlos Jul 12, 2019
0d6ed03
add help for filesystem
microbit-mark Feb 28, 2019
2e87b3a
fs: Update help file.
microbit-mark Mar 11, 2019
e934e67
Some general cleanup after all the rebases and merges.
microbit-carlos Jul 15, 2019
905240a
Set v2.0.0-beta.1 version, beta flag and changelog.
microbit-carlos Jul 15, 2019
f3669de
Add URL parameter parsing (#184)
JakubLenski Jul 19, 2019
40308ac
Add action class to Options menu items. (#192)
microbit-carlos Jul 22, 2019
7b9df0a
Set correct Script Name when a Python file is loaded (#193)
JakubLenski Jul 23, 2019
6913c8e
Update the Release Checklist. (#195)
microbit-carlos Jul 24, 2019
b30486f
Tests: Update manual tests with filesystem, WebUSB, and autocomplete …
microbit-mark Jul 24, 2019
e272fc4
Add language selection in Options menu with dummy translations (#151)
JakubLenski Jul 25, 2019
58a8606
Save filesystem main.py file with Script Name as filename (#191)
JakubLenski Jul 25, 2019
a4fe1a5
Only add puppeteer to the needed files. (#194)
microbit-carlos Jul 26, 2019
4427132
Translation: Convert hard-coded strings into translatable ones (#198)
JakubLenski Jul 26, 2019
1fa14bc
Help: Add feedback link (#200)
microbit-mark Jul 26, 2019
2d82a2d
Move Options and Autocomplete to the experimental feature flag. (#201)
microbit-carlos Jul 26, 2019
0a590c6
Translations: Fix en.js formatting.
microbit-carlos Jul 26, 2019
d703ccf
UI: Move snippets and Language to be small buttons. (#202)
microbit-carlos Jul 30, 2019
5c26e98
UI: Separate Load/Save modal into 3 sections. (#203)
microbit-carlos Jul 30, 2019
eac929e
UI: Update wording on download hex and py buttons. (#204)
microbit-carlos Jul 30, 2019
6b7b102
Lang: Add partial Spanish translation. (#205)
microbit-carlos Jul 30, 2019
f6225ae
Bump beta version to 2.0.0-beta.2 and update changelog.
microbit-carlos Jul 30, 2019
6a02574
Lang: Add Polish translation (#206)
JakubLenski Aug 2, 2019
310a199
Improve event management and node dependencies. (#207)
microbit-carlos Aug 2, 2019
0b33d13
Lang: Update more spanish strings and consolidate WebUSB errors. (#210)
microbit-carlos Aug 7, 2019
12101ea
Add partial flashing.
GeorgeWort Jul 26, 2019
2fe66e0
A11y: Fixes from tools audit (#215)
microbit-mark Aug 22, 2019
295c580
Lang: Translating with URL (#212)
microbit-henry Aug 23, 2019
bc5809a
UI: Update small button CSS to use space better. (#213)
microbit-carlos Aug 23, 2019
b9b8dc2
A11y: Tab between menu items, scape in editor back to first button. (…
microbit-carlos Aug 23, 2019
05b9079
WebUSB: Update error handling (#211)
microbit-sam Aug 23, 2019
bff54c0
Update help.html with the v2 and beta features (#199)
microbit-mark Aug 23, 2019
c4e102b
WebUSB: Improve WebUSB measurements (#221)
microbit-sam Aug 27, 2019
7e1c8a6
Updated serial button styling
microbit-sam Aug 27, 2019
fd96ee0
startSerialRead 1ms
microbit-sam Aug 27, 2019
d23e9aa
WebUSB: Fix partial flashing progress, add indeterminate spinner (#224)
microbit-sam Aug 28, 2019
5b4c6a8
WebUSB: Catch promise rejections for daplink disconnect (#222)
microbit-sam Aug 29, 2019
e7014c0
WebUSB: Partial flashing with microbitfs v0.7.0 (#225)
microbit-sam Aug 29, 2019
987e40a
WebUSB: Remove ES6 => for IE (#227)
microbit-sam Aug 30, 2019
989e902
WebUSB: Add tick once flashing completes (#228)
microbit-sam Aug 30, 2019
b837e2b
WebUSB: fixup! Move hide to before flash call (#229)
microbit-sam Aug 30, 2019
4898719
Merge pull request #217 from bbcmicrobit/partial-flashing
microbit-carlos Sep 3, 2019
191d07e
Lang: Finish Spanish translations. (#230)
microbit-carlos Sep 3, 2019
75f4cf4
WebUSB: Buttons visible in all browsers (#226)
microbit-henry Sep 4, 2019
9cea75c
WebUSB: Keep flashing messages centered. (#231)
microbit-carlos Sep 4, 2019
5164e48
Bump beta version to 2.0.0-beta.3 and update changelog.
microbit-carlos Sep 4, 2019
99ac412
UI: Top buttons scrollable on small screens (#232)
microbit-carlos Sep 5, 2019
bf52c2c
WebUSB: Update term "partial flashing" -> "Quick Flash" (#233)
microbit-mark Sep 10, 2019
dc74e79
UI: Fix Webusb modal in IE10 (#238)
microbit-henry Sep 16, 2019
0a5fbcd
Lang: Edit Snippets modal wording and add table header translations (…
microbit-josephine Sep 17, 2019
929e936
Disable autocomplete on enter by default (#235)
microbit-josephine Sep 17, 2019
6929c3b
Help: Update files and modules user docs (#243)
microbit-mark Sep 24, 2019
97dc123
UI: Highlight current language in lang menu (#242)
microbit-josephine Sep 27, 2019
a7d102e
Add iframe messaging (#246)
microbit-rolands Sep 27, 2019
cf80219
WebUSB: Additional errors are appended to an existing error modal (#237)
microbit-sam Sep 27, 2019
a954974
WebUSB: Remove chip info magic numbers (#248)
microbit-sam Sep 27, 2019
8413b56
Load/Save Modal: Add more info and link to Help Page (#241)
microbit-henry Sep 27, 2019
0c7f4fb
Bump beta version to 2.0.0-beta.4 and update changelog.
microbit-carlos Sep 27, 2019
ff62d18
Add translation strategy and documentation (#234)
microbit-mark Sep 27, 2019
3fadf94
Load/Save Modal: Add warning when unknown file extension or .mpy file…
microbit-henry Oct 2, 2019
d2a4105
WebUSB: Enable logging to console (#250)
microbit-sam Oct 7, 2019
3603f38
Lang: Add crowdin.yml (#247)
microbit-mark Oct 8, 2019
2c04309
WebUSB: Keep device details between connections, allow USB flashing w…
microbit-sam Oct 9, 2019
de4cd7c
WebUSB: Moved overlay.hide() from .finally() to successful end of fla…
microbit-sam Oct 9, 2019
2e6ae1b
Lang: Add translation process info (#256)
microbit-mark Oct 9, 2019
3b2f37a
Lang: Set language buttons to native language (#249)
microbit-josephine Oct 10, 2019
70a1e18
Tests: Update manual test procedure with new filename and WebUSB test…
microbit-carlos Oct 10, 2019
b5226b6
Tests: Minor fix in manual test procedure for RST formatting.
microbit-carlos Oct 10, 2019
9ce8c7c
Merge pull request #258 from bbcmicrobit/manual-test
microbit-carlos Oct 10, 2019
a946716
WebUSB: Add troubleshooting links to docs and error modal. (#251)
microbit-mark Oct 10, 2019
9883146
UI: Style <hr> inside WebUSB modals. (#259)
microbit-carlos Oct 10, 2019
9a006be
WebUSB: Change Download/Flash and Connect/Disconnect buttons and impr…
microbit-sam Oct 10, 2019
6023824
UI: Add new save/load and connect/disconnect icons (#262)
microbit-josephine Oct 11, 2019
6331216
add branch info (#260)
microbit-mark Oct 11, 2019
8a519a5
Lang: Update crowdin.yml (#257)
microbit-mark Oct 11, 2019
cd48bae
UI: Update styling of new buttons to be editable with CSS. (#264)
microbit-carlos Oct 11, 2019
5593156
WebUSB: Dispatch event on WebUSB connection.
microbit-carlos Oct 11, 2019
5607501
Bump beta version to 2.0.0-beta.5 and update changelog.
microbit-carlos Oct 11, 2019
56407fb
WebUSB: Open troubleshooting link from error modal in a new window (#…
microbit-josephine Oct 16, 2019
83ac3e4
WebUSB: Remove duplicate catch/finally (#269)
microbit-sam Oct 16, 2019
bc346da
WebUSB: Update reset timeout logic so it only triggers on a real time…
microbit-sam Oct 16, 2019
82429f5
Lang: Add link to translate a new language (#266)
microbit-mark Oct 17, 2019
d05abf9
UI: Create new CSS classes for IE10 (#272)
microbit-josephine Oct 17, 2019
9c13516
Lang: Update translations (#274)
microbit-mark Oct 18, 2019
415e152
UI: Correctly align button icons in IE10 (#271)
microbit-josephine Oct 22, 2019
08df72f
UI: Correctly align button icons in Firefox (#275)
microbit-josephine Oct 22, 2019
d4072dd
A11y: Add tabindex to Quickflash toggle (#277)
microbit-mark Oct 22, 2019
9e267fc
UI: Add "connecting" icon in-between state for WebUSB connection (#281)
microbit-josephine Oct 24, 2019
650f753
WebUSB: Refactor webusbErrorHandler() (#268)
microbit-sam Oct 24, 2019
6384cef
WebUSB: Fix flashing after using serial (#278)
microbit-sam Oct 24, 2019
344873e
UI: Fixed button positions in all browsers (#282)
microbit-henry Oct 24, 2019
9d2db7e
Disable experimental flag to turn off beta features.
microbit-carlos Oct 24, 2019
c88a04b
Minify JS files (#283)
microbit-henry Oct 24, 2019
bb90844
Update action procession.
microbit-carlos Oct 24, 2019
2ccd5bb
Merge branch 'master' of https://github.com/bbcmicrobit/PythonEditor
microbit-carlos Oct 24, 2019
f770e29
Lang: Update link to KB for translators (#285)
microbit-mark Oct 25, 2019
0d456e1
Fix double HTML element in editor.html.
microbit-carlos Oct 25, 2019
58b8829
WebUSB: Disconnect, connect, reset REPL (#284)
microbit-sam Oct 25, 2019
344d599
Update micorbit-fs lib to v0.8.0.
microbit-carlos Oct 25, 2019
c892e92
Fs: Limit space available to users.
microbit-carlos Oct 25, 2019
fb34839
Tests: Added a test case for the webusb error modal (#286)
microbit-henry Oct 25, 2019
3512daa
Bump beta version to 2.0.0-rc.1 and update changelog.
microbit-carlos Oct 25, 2019
593d61e
Lang: Isolate translatable code comment from start code. (#287)
microbit-carlos Oct 30, 2019
e80f0a7
WebUSB: Filesystem error is not presented as a WebUSB error (#291)
microbit-sam Oct 31, 2019
a5c4ba4
Help: Update screenshots and video for v2 release (#292)
microbit-mark Oct 31, 2019
0530716
WebUSB: Add time out for connection error (#289)
microbit-sam Oct 31, 2019
e67b2b5
Tests: Update manual test procedure to add language case (#293)
microbit-josephine Nov 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Thumbs.db
Desktop.ini
$RECYCLE.BIN/
*.swp
tests/spec/test-files/temp-test-files/

# Node
node_modules/

# vscode
.history
.vscode/settings.json
69 changes: 69 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@

2.0.0-rc.1
----------
* RC.1 ships with the experimental features turned off and the same configuration as it would be deployed as with v2.0.0 release
* Reduce the amount of filesystem available to 20KBs
* Add new animation button for WebUSB state change between disconnected and connected (#281)
* Add link to in language menu to add translations (#266) (#285)
* Fixes several WebUSB issues (#268) (#267) (#269) (#278) (#284) (#285)
* Fixes issues with button icons rendering differently depending on browser (#271) (#272) (#275) (#282)
* Accessibility fixes (#277)
* Update microbit-fs to v0.8.0

2.0.0-beta.5
------------
* Added new icons for the Download, Flash, Connect and Disconnect buttons (#262) (#264)
* Added a warning if the user tries to load incompatible files (#245)
* Enable WebUSB logging into the console for better error reports (#250)
* WebUSB now keeps device details between connections (#255)
* Added troubleshooting links to WebUSB docs and WebUSB error modal. (#251)
* Added translation documentation, including translation strategy (#234) (#255) (#260)
* Added initial steps to integrate with Crowdin translations (#247) (#257)
* Set language links wording to their native language (#249)
* Updated the manual test procedure to sync with the latest editor updates (#258)
* Fix USB drag and drop flashing while WebUSB is connected (#255)
* Improve the style of separators in the WebUSB error modal (#259)

2.0.0-beta.4
------------
* Term "Partial Flashing" renamed to "Quick Flashing" (#233)
* Add support for an iframe messaging protocol (#246)
* Edit Snippets modal wording and translate table header (#236)
* Disable autocomplete on enter by default (#235) (current default is tab key)
* Update files and modules user docs (#243)
* Highlight the current language in the language menu (#242)
* Add more info about the filesystem in the Load/Save modal (#241)
* WebUSB flashing fixes (#239) (#237) (#248)
* Top buttons are now scrollable on small (mobile) resolutions (#232)
* Fix rendering of the WebUSB modal in IE10 (#238)

2.0.0-beta.3
------------
* Added WebUSB 'Quick Flash' using partial flashing (#217) (#222) (#224) (#225) (#227) (#228) (#229)
* Improved WebUSB error handling (#211)
* WebUSB buttons are always displayed (#226)
* Help page updated with the new features (#199)
* Added Polish translation and updated Spanish translation (#206) (#210) (#230)
* Language can now be set via URL (#212)
* Accessibility improvements (#215) (#219)
* General UI improvements (#213)

2.0.0-beta.2
------------
* Updated the Load/Save modal UI (#203) (#204)
* Added language selection functionality (#151) (#198) (#205)
* Added feedback link to the Help menu (#200)
* Moved snippets and Language to be small buttons. (#202)
* Moved Options and Autocomplete to always be part of the experimental flag (#201) (#192)
* Added a global way to process URL parameters (#184)
* Release checklist updated (#195)
* Automated and manual tests updated (#196) (#194)
* Fix: Set the correct Script Name when a Python file is loaded (#193)
* Fix: Save main.py with the Script Name as the file name (#191)

2.0.0-beta.1
------------
* Added WebUSB functionality (#99)
* Added MicroPython file system functionality (#88)
* Added autocompletion to the code editor (#185)

1.1.5
-----
* Add floating help panel (#115)
Expand Down
6 changes: 6 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ Checklist
therein.
* Try to include tests!
* Have fun!

Translations
++++++++++++

If you're talented enough to speak another language, we'd love you to contribute a
translation to the editor. Learn more about how this works in the translation strategy within the docs folder.
13 changes: 9 additions & 4 deletions RELEASE_TODO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ Checklist for Releases
======================

* Update the version number in the editor.html file.
* Update the CHANGES.rst file with English description of changes made.
* If required, update the firmware.hex file to the correct version of the "vanilla" MicroPython runtime used in this release.
* If the release is for a beta version of the editor, set the "experimental" flag to `true`.
* If the MicroPython runtime is to be updated:
* Update the firmware.hex file to the correct version.
* Updated the MicroPython firmware hex string in the editor.html file.
* Update the MicroPython version string in the editor.html file.
* Update micropythonapi.js to be up-to-date with the API of the modules included with MicroPython.
* Ensure all CI tests pass
* Run the Manual Test Procedure
* Update the CHANGES.rst file with an English description of all changes made.
* Create a tagged release using GitHub.
* Inform those who maintain the versioning manifest. Currently this is @jaustin at the micro:bit foundation.

14 changes: 10 additions & 4 deletions ace/ace.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions ace/ext-beautify.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions ace/ext-chromevox.js

This file was deleted.

Loading