Compare commits

..

1609 Commits

Author SHA1 Message Date
Peli e41d90a66e updatd 2020-01-14 13:38:41 -08:00
Peli df1dc64b72 updated name 2020-01-14 13:36:15 -08:00
Peli 6774193c54 add pr workflows 2020-01-14 13:35:13 -08:00
Peli cdecc711d4 enable github actions 2020-01-14 13:32:42 -08:00
Peli 37a531880b 2.1.34 2020-01-08 08:04:46 -08:00
Peli f60daf0e68 bump pxt 2020-01-08 08:04:37 -08:00
Peli 224a028a61 2.1.33 2020-01-07 13:51:01 -08:00
Amerlander f6388ae7ab Update Pins (#62)
* add windows and mac icons for offline app (#2141)

* Don't overwrite electron deploy (#2142)

* remove baud rate as it is not support on HW (#2124)

* add blocks for serial set tx/rx buffer size (#2144)

* support flag argument (#2126)

* support flag argument

* enable drop semantics

* add reentrant

* updated shims

* Bumping pxt-core to 5.15.3

* 1.4.13

* Bumping pxt-core to 5.15.4

* 1.4.14

* bump setgroup on top of radio (#2157)

* bump setgroup on top of radio

* move group up

* Update name-tag.md (#2156)

* add API to disable serial padding. (#2145)

* add API to desiable serial padding.

* renamed api

* Set serial help paths for blocks (#2159)

* Shrink the link in firmware version hint (#2163)

* Shrink the link in firmware version hint

* fix a translation quibble

* Fix Black and White Typo (#2138)

* Fixed typo: Back->Black

* Added Upgrade Rules to fix spelling

* Removed extra isEmpty

* Added previous BackAndWhite to allow for compilation of old scripts

* always shake when button is pressed (#2161)

* add PLENbit (#2140)

* Bumping pxt-core to 5.15.5

* 1.4.15

* stop background before foreground (#2174)

* Bumping pxt-core to 5.15.6

* 1.4.16

* Bumping pxt-core to 5.15.7

* 1.4.17

* Bumping pxt-core to 5.15.8

* 1.4.18

* add backgrounds for use with .dmg (#2200)

* add normal size and 2x size backgrounds for dmg

* update arrow color to dark gray

* Bumping pxt-core  to 5.15.9

* 1.4.19

* Adding v1-ref.json pointing to 1.2.13

* Bumping microbit to 2.0.0

* 2.0.1

* Pointing beta-ref to v2

* Bumping pxt-core to 5.15.10

* 2.0.2

* this repo is empty (#2201)

* Update radio event parm usage descriptions (#2165)

* add browser db prefix for v2 (#2208)

* 2.0.3

* Releasing 2.0.3 to live (#2209)

* dynamically sniff offline app version (#2059)

* Revert "dynamically sniff offline app version (#2059)" (#2211)

This reverts commit b480b34f7e.

* Updating electron to 2.0.3 (#2210)

* Updating offline reference to 2.0.3 (#2212)

* Bumping version to 2.1.0

* 2.1.1

* Spelling (#2214)

* Update write-received-packet-to-serial.md (#2217)

A support ticket pointed out issues that they'd encountered when trying to follow this document:

- `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here
- Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled

* Use gcPreAllocateBlock() to fix #2177, #2215 (#2216)

* Use gcPreAllocateBlock() to fix #2177, #2215
* bump pcp 6.9.4

* 2.1.2

* Correct dice example (#2262)

Changed random(6) to random(5) so the number reflect real dice.

* add 4tronix minibit (#2249)

* Update targetconfig.json (#2258)

remove mock-iot-extension as it is just an experimental development by The Foundation

* Update calibrate-compass.md (#2265)

Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD

* add wukong (#2239)

* Decrease size of GC heap to allow more DAL allocs (#2246)

* 2.1.3

* add Kitronik view text (#2125)

* Release 2.0.6 to live (#2308)

* Update nexus:bit entry  (#2315)

* update nexus:bit entry

* update nexus:bit entry

* Logic Lab mini-course (#2307)

* Logic Lab mini-course

* example syntax

* Updating Readme with branch information.

* bump pxt for ios <=9 fix (#2311)

* Update pxt/common-packages and fix build (#2323)

* fix build off of pxt/ and pxt-common-packages master

* check in generated files

* add-pxt-bmp280 (#2325)

* Bumping pxt-core to 5.19.8 & common-packages to 6.14.9

* 2.1.4

* Error codes page update (#2327)

* Start adding new codes

* few tiny edits

* Add more errors and rearrange

* Update docs/device/error-codes.md

Co-Authored-By: Michał Moskal <michal@moskal.me>

* juggle category

* set error range in hint

Co-Authored-By: Michał Moskal <michal@moskal.me>

* Update docs/device/error-codes.md

Co-Authored-By: Mark <mark@microbit.org>

* fix build (#2360)

* fix broken build

* just try the more 'official' fix if possible

* back to the way that actually works..

* bump pxt to include accessibility changes (#2404)

* 2.1.5

* make hc mode sim color have higher contrast (#2409)

* Show project settings (#2401)

* markdown link fix (#2400)

* add HTS221 (#2384)

* Editor controllers fixes (#2412)

* updated strings

* bump pxt

* anotehr attempt

* 2.1.6

* turn on samples when reading accelerometer (#2413)

* 2.1.7

* hide pin p19/p20 (#2268)

* Fix remove life animation causing microbit stuck (#2314)

On the real microbit board, if the program execute other game blocks while
the remove life animation is playing, it would cause strange behavior or
even make the game stuck.

* Port of Programmable Logic lesson for Logic Lab course (#2359)

* port of programmable logic lesson

* trigger rebuild

* express as logical equation in snippet

* go logical for snippet inputs

* emit enum as bitmask (#2414)

* 2.1.8

* add alt attributes to download screens (#2415)

* add alt attributes to download screens, fixes microsoft/pxt-microbit#2291

* better descriptions

* fixing links in translate page

* Modify the LED coordinates to be between 0 and 4. (#2416)

Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`.

* Set LED plot row/column ranges for 'Reaction Time' (#2420)

* add LIS2MDL (#2385)

* add LIS2DW12 (#2386)

* add LPS22 (#2387)

* add LSM6DSO (#2388)

* add gator environment (#2326)

* add STTS751 (#2389)

* add inventura extension (#2421)

* add new sparkfun extensions (#2238)

* add new sparkfun extensions

* remove gator environment pending fixes

* add dfplayer mini extension (#2417)

* Update 'servo calibrator' link (#2424)

* I2C Addressing Note (#2428)

* I2C on-board sensor address note

* note for 7bit to 8bit shift

* Add nested summaries for newer courses (#2425)

* bump pxt (#2432)

* bump pxt

* bump

* bump

* fix version

* 2.1.9

* bump package.json (#2433)

* 2.1.10

* bump pxt (#2434)

* 2.1.11

* bump for diff3 (#2435)

* enable experiment

* bump pxt

* 2.1.12

* Add the Stu Lowe coding cards (#2438)

* Add the Stu Lowe coding cards

* Move 'Coding Cards' below 'Hardware'

* Add isDeleted (#2445)

* add xinabox OD01 and breakout display section (#2397)

* add xinabox OD01 and breakout display section

* Update targetconfig.json

* Update extensions.md

* Link to power supply limitations (#2443)

Fixes: #2442

* Pxt v5.23.17 (#2446)

* bump pxt

* regen docs

* fix version syntax

* restore extension

* removed dup

* 2.1.13

* add-sw01 (#2393)

* Locking old issues

* add Keyestudio robot car (#2452)

* Allow globals in reclaimed bluetooth memory (#2455)

* isTouchingEdge() should not return true for deleted sprite (#2449)

* add query variant to hide toolbar (#2458)

* Adding link to stable refs (#2460)

* Update extensions.md (#2456)

Move the :VIEW Text32 from other to Display now there is a display sections

* 2.1.14

* fixing radio stack (#2461)

* fixing radio stack

* updated shims

* 2.1.15

* Stable points to latest 2.0.9 (#2469)

* Releasing 2.0.9 to live (#2470)

* Fixing signal strength (#2474)

* Pointing to 2.0.10

* Releasing 2.0.10 (#2476)

With radio strength signal fix for hot or cold

* Removing old bitbot as we have a new bitbot package (#2479)

* updated pxt (#2465)

* updated pxt

* bump pxt

* updated react

* updated ptx

* Remove empty variable element from XML

* Bump pxt-core to 5.25.15

* bump pxt

* Bump pxt to 5.25.17

* Add precision to music slider

* 2.1.16

* add drive:bit (#2484)

* micro:bit RSSI fix (#2480)

* read rssi from packet

* updated shims

* fix build

* fix help

* move deprecated function to ts

* some formatting

* restore rssi block

* restory notations

* actually copy bytes

* removing logging code

* simpler wake up code

* comment

* fix build

* bump pxt

* go back to safety

* bump microbit

* restor package.json

* revert jquery v

* use macro

* check length

* bump pxt (#2490)

* 2.1.17

* Use default resize function for microbit gesture dropdown (#2491)

* Name Badge project page (#2477)

* Name Bagde project page

* gotta please the summary check

* link typo, ugh

* Revert "Name Badge project page (#2477)"

This reverts commit 2e2860632b.

* add freenove starter kit (#2493)

* radio.setFrequencyBand support (#2495)

* setfrequencyband support

* revert line change

* add bounds check

* Name Badge project page (#2496)

* Name Bagde project page

* gotta please the summary check

* link typo, ugh

* get rid of the pptx

* Simplify the Fahrenheit from Celsius computation. (#2497)

As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former.

* Enable Polish localization (#2499)

* bump package

* 2.1.18

* shrink maintenance gif

* 2.1.19

* Rotary phone dial (#2502)

* some write up

* adding images

* text

* more text

* adding vids

* adding escape room

* remove newer lesson

* remove .mp4

* Card page edits

* adding image

* adding to toys

* rotary edits

* fix typo

* bump pxt 5.28.7 (#2503)

* bump pxt

* bump to pxt 5.28.8

* 2.1.20

* bump pxt 5.28.9 (#2504)

* 2.1.21

* bump pxt 5.28.10

* 2.1.22

* bump pxt 5.28.11

* 2.1.23

* bump pxt 5.28.12

* 2.1.24

* Update README.md

* robot unicorn (#2512)

* robot unicorn

* Edits to the unicorn

* fix missing radio and boardname

* bump pxt 5.28.18 (#2517)

* bump pxt 5.28.18

* updated summary

* 2.1.25

* bump pxt 5.28.21

* 2.1.26

* bump to pxt5.28.23

* 2.1.27

* Add redirect to pins info to serial heading (#2520)

* Add redirect to pins info to serial heading

* adding links

* vump to pxt 5.28.24

* 2.1.28

* bump to pxt 5.28.26

* 2.1.29

* add build instructions

* updated build notes

* bump pxt 5.28.27

* 2.1.30

* missing svg

* remove crowdin project to disable upload from master branch

* reeanble crowdin, no upload

* 2.1.31

* bump pxt common to 6.16.25

* missing radio package

* Fix GC heap reclamation (#2528)

* bump to pxt 5.28.31

* bump pxt 5.28.32

* 2.1.32

* 2.1.33

* fix typo

* pxt-microbit-next? (#2543)

Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here.

* Extensions: Add Inksmith Climate Action Kit (#2535)

* Fixes for typos found in Crowdin - 11252019 (#2538)

* Extension: add Kitronik Halo HD (#2541)

* Extension: Add EBOTICS MIBO (#2542)

* add Bright Wearables Brightboard (#2537)

* Docs: Change default value in Javascript. (#2540)

* Change default value in Javascript.

Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript.

* edits to new example

* bump pxt 5.30.6

* 2.1.34

* update git and vscode settings

* revert changes to 2.1.28

* package-lock

* v2.1.34

* Change Hero Image

* add RVR (#2516)

* Extension: add minicruise (#2545)

* Fix minutes display for 'Digital Watch' project (#2547)

* Fix minutes display for 'Digital Watch' project

* minutes less than 10

* bump pxt

* 2.1.35

* updated pxt

* 2.1.36

* package lock

* Tutorial Typo Fix

* bumppxt

* 2.1.37

* update error guide link (#2554)

* adding radio firefly (#2549)

* Update 'Metal Detector' example (#2559)

* bump pxt

* 2.1.38

* typoFix

* Update Pins

* Add C7, C8 and C9 Serial Pins

* Add C7, C8 and C9 Serial Pins

* Pins update

* Add maqueen (#2560)

* Extensions: Add DFRobot Maqueen

* fix

* revert pin C7, C8 and C9

* add extension doc file

* revert pxt bump

* Docs: Extensions remove headliner

* Remove outdated #ifdef (#2564)

* Extensions: add servobit (#2557)

Co-authored-by: Abhijith Chatra <abchatra@microsoft.com>

* bump to pxt 5.31.8, common 6.18.2

* 2.1.39

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
Co-authored-by: Abhijith Chatra <abchatra@microsoft.com>
Co-authored-by: kimprice <kimberlymprice@ufl.edu>
Co-authored-by: Galen Nickel <v-gani@microsoft.com>
Co-authored-by: Chase Mortensen <C_Mortensen@live.com>
Co-authored-by: Mark <mark@microbit.org>
Co-authored-by: shakao <34112083+shakao@users.noreply.github.com>
Co-authored-by: Danny Yates <danny@codeaholics.org>
Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com>
Co-authored-by: Michał Moskal <michal@moskal.me>
Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com>
Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com>
Co-authored-by: Peter Brodersen <peter@ter.dk>
Co-authored-by: Leo <leo881003@gmail.com>
Co-authored-by: Asher Kach <asher.kach@gmail.com>
Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com>
Co-authored-by: Neal McBurnett <nealmcb@gmail.com>
Co-authored-by: Kitronik Ltd  <design@kitronik.co.uk>
Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com>
Co-authored-by: Gerard Braad <me@gbraad.nl>
Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-07 13:31:47 -08:00
Peli 08ce23df9f updated to latest pxt 2020-01-06 14:19:55 -08:00
Peli c306db5478 2.1.32 2019-12-19 07:42:58 -08:00
Peli a8d2466da6 bump pxt 2019-12-19 07:42:51 -08:00
Peli 7bc2352d38 2.1.31 2019-12-18 08:06:33 -08:00
Amerlander c92bd90bd0 Add changes from calliope-edu/pxt-calliope (#60)
* add Keigan Motor extennsion (#2067)

* add Keigan Motor extennsion

* missing coma

* Update radio event parm usage descriptions (#2075)

* Bumping pxt to 5.14.3 and common-packages to 5.14.3

* 1.4.11

* Revert "Update radio event parm usage descriptions (#2075)" (#2077)

This reverts commit 7950f1b4d7.

* Fix Turtle Spiral example decompilation (#2094)

* use local variables for indices

* s/an/the/

* bump to core 5.15.1 (#2121)

* 1.4.12

* refresh shims (#2134)

* import extension files (#2127)

* import extension files

* updated shims

* Fix some titles, sigs in ref docs (#2128)

* Fix some title and sigs in ref docs

* better buffer source

* Sets JustWorks to the actual config values (#2137)

* add windows and mac icons for offline app (#2141)

* Don't overwrite electron deploy (#2142)

* remove baud rate as it is not support on HW (#2124)

* add blocks for serial set tx/rx buffer size (#2144)

* support flag argument (#2126)

* support flag argument

* enable drop semantics

* add reentrant

* updated shims

* Bumping pxt-core to 5.15.3

* 1.4.13

* Bumping pxt-core to 5.15.4

* 1.4.14

* bump setgroup on top of radio (#2157)

* bump setgroup on top of radio

* move group up

* Update name-tag.md (#2156)

* add API to disable serial padding. (#2145)

* add API to desiable serial padding.

* renamed api

* Set serial help paths for blocks (#2159)

* Shrink the link in firmware version hint (#2163)

* Shrink the link in firmware version hint

* fix a translation quibble

* Fix Black and White Typo (#2138)

* Fixed typo: Back->Black

* Added Upgrade Rules to fix spelling

* Removed extra isEmpty

* Added previous BackAndWhite to allow for compilation of old scripts

* always shake when button is pressed (#2161)

* add PLENbit (#2140)

* Bumping pxt-core to 5.15.5

* 1.4.15

* stop background before foreground (#2174)

* Bumping pxt-core to 5.15.6

* 1.4.16

* Bumping pxt-core to 5.15.7

* 1.4.17

* Bumping pxt-core to 5.15.8

* 1.4.18

* add backgrounds for use with .dmg (#2200)

* add normal size and 2x size backgrounds for dmg

* update arrow color to dark gray

* Bumping pxt-core  to 5.15.9

* 1.4.19

* Adding v1-ref.json pointing to 1.2.13

* Bumping microbit to 2.0.0

* 2.0.1

* Pointing beta-ref to v2

* Bumping pxt-core to 5.15.10

* 2.0.2

* this repo is empty (#2201)

* Update radio event parm usage descriptions (#2165)

* add browser db prefix for v2 (#2208)

* 2.0.3

* Releasing 2.0.3 to live (#2209)

* dynamically sniff offline app version (#2059)

* Revert "dynamically sniff offline app version (#2059)" (#2211)

This reverts commit b480b34f7e.

* Updating electron to 2.0.3 (#2210)

* Updating offline reference to 2.0.3 (#2212)

* Bumping version to 2.1.0

* 2.1.1

* Spelling (#2214)

* Update write-received-packet-to-serial.md (#2217)

A support ticket pointed out issues that they'd encountered when trying to follow this document:

- `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here
- Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled

* Use gcPreAllocateBlock() to fix #2177, #2215 (#2216)

* Use gcPreAllocateBlock() to fix #2177, #2215
* bump pcp 6.9.4

* 2.1.2

* Correct dice example (#2262)

Changed random(6) to random(5) so the number reflect real dice.

* add 4tronix minibit (#2249)

* Update targetconfig.json (#2258)

remove mock-iot-extension as it is just an experimental development by The Foundation

* Update calibrate-compass.md (#2265)

Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD

* add wukong (#2239)

* Decrease size of GC heap to allow more DAL allocs (#2246)

* 2.1.3

* add Kitronik view text (#2125)

* Release 2.0.6 to live (#2308)

* Update nexus:bit entry  (#2315)

* update nexus:bit entry

* update nexus:bit entry

* Logic Lab mini-course (#2307)

* Logic Lab mini-course

* example syntax

* Updating Readme with branch information.

* bump pxt for ios <=9 fix (#2311)

* Update pxt/common-packages and fix build (#2323)

* fix build off of pxt/ and pxt-common-packages master

* check in generated files

* add-pxt-bmp280 (#2325)

* Bumping pxt-core to 5.19.8 & common-packages to 6.14.9

* 2.1.4

* Error codes page update (#2327)

* Start adding new codes

* few tiny edits

* Add more errors and rearrange

* Update docs/device/error-codes.md

Co-Authored-By: Michał Moskal <michal@moskal.me>

* juggle category

* set error range in hint

Co-Authored-By: Michał Moskal <michal@moskal.me>

* Update docs/device/error-codes.md

Co-Authored-By: Mark <mark@microbit.org>

* fix build (#2360)

* fix broken build

* just try the more 'official' fix if possible

* back to the way that actually works..

* bump pxt to include accessibility changes (#2404)

* 2.1.5

* make hc mode sim color have higher contrast (#2409)

* Show project settings (#2401)

* markdown link fix (#2400)

* add HTS221 (#2384)

* Editor controllers fixes (#2412)

* updated strings

* bump pxt

* anotehr attempt

* 2.1.6

* turn on samples when reading accelerometer (#2413)

* 2.1.7

* hide pin p19/p20 (#2268)

* Fix remove life animation causing microbit stuck (#2314)

On the real microbit board, if the program execute other game blocks while
the remove life animation is playing, it would cause strange behavior or
even make the game stuck.

* Port of Programmable Logic lesson for Logic Lab course (#2359)

* port of programmable logic lesson

* trigger rebuild

* express as logical equation in snippet

* go logical for snippet inputs

* emit enum as bitmask (#2414)

* 2.1.8

* add alt attributes to download screens (#2415)

* add alt attributes to download screens, fixes microsoft/pxt-microbit#2291

* better descriptions

* fixing links in translate page

* Modify the LED coordinates to be between 0 and 4. (#2416)

Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`.

* Set LED plot row/column ranges for 'Reaction Time' (#2420)

* add LIS2MDL (#2385)

* add LIS2DW12 (#2386)

* add LPS22 (#2387)

* add LSM6DSO (#2388)

* add gator environment (#2326)

* add STTS751 (#2389)

* add inventura extension (#2421)

* add new sparkfun extensions (#2238)

* add new sparkfun extensions

* remove gator environment pending fixes

* add dfplayer mini extension (#2417)

* Update 'servo calibrator' link (#2424)

* I2C Addressing Note (#2428)

* I2C on-board sensor address note

* note for 7bit to 8bit shift

* Add nested summaries for newer courses (#2425)

* bump pxt (#2432)

* bump pxt

* bump

* bump

* fix version

* 2.1.9

* bump package.json (#2433)

* 2.1.10

* bump pxt (#2434)

* 2.1.11

* bump for diff3 (#2435)

* enable experiment

* bump pxt

* 2.1.12

* Add the Stu Lowe coding cards (#2438)

* Add the Stu Lowe coding cards

* Move 'Coding Cards' below 'Hardware'

* Add isDeleted (#2445)

* add xinabox OD01 and breakout display section (#2397)

* add xinabox OD01 and breakout display section

* Update targetconfig.json

* Update extensions.md

* Link to power supply limitations (#2443)

Fixes: #2442

* Pxt v5.23.17 (#2446)

* bump pxt

* regen docs

* fix version syntax

* restore extension

* removed dup

* 2.1.13

* add-sw01 (#2393)

* Locking old issues

* add Keyestudio robot car (#2452)

* Allow globals in reclaimed bluetooth memory (#2455)

* isTouchingEdge() should not return true for deleted sprite (#2449)

* add query variant to hide toolbar (#2458)

* Adding link to stable refs (#2460)

* Update extensions.md (#2456)

Move the :VIEW Text32 from other to Display now there is a display sections

* 2.1.14

* fixing radio stack (#2461)

* fixing radio stack

* updated shims

* 2.1.15

* Stable points to latest 2.0.9 (#2469)

* Releasing 2.0.9 to live (#2470)

* Fixing signal strength (#2474)

* Pointing to 2.0.10

* Releasing 2.0.10 (#2476)

With radio strength signal fix for hot or cold

* Removing old bitbot as we have a new bitbot package (#2479)

* updated pxt (#2465)

* updated pxt

* bump pxt

* updated react

* updated ptx

* Remove empty variable element from XML

* Bump pxt-core to 5.25.15

* bump pxt

* Bump pxt to 5.25.17

* Add precision to music slider

* 2.1.16

* add drive:bit (#2484)

* micro:bit RSSI fix (#2480)

* read rssi from packet

* updated shims

* fix build

* fix help

* move deprecated function to ts

* some formatting

* restore rssi block

* restory notations

* actually copy bytes

* removing logging code

* simpler wake up code

* comment

* fix build

* bump pxt

* go back to safety

* bump microbit

* restor package.json

* revert jquery v

* use macro

* check length

* bump pxt (#2490)

* 2.1.17

* Use default resize function for microbit gesture dropdown (#2491)

* Name Badge project page (#2477)

* Name Bagde project page

* gotta please the summary check

* link typo, ugh

* Revert "Name Badge project page (#2477)"

This reverts commit 2e2860632b.

* add freenove starter kit (#2493)

* radio.setFrequencyBand support (#2495)

* setfrequencyband support

* revert line change

* add bounds check

* Name Badge project page (#2496)

* Name Bagde project page

* gotta please the summary check

* link typo, ugh

* get rid of the pptx

* Simplify the Fahrenheit from Celsius computation. (#2497)

As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former.

* Enable Polish localization (#2499)

* bump package

* 2.1.18

* shrink maintenance gif

* 2.1.19

* Rotary phone dial (#2502)

* some write up

* adding images

* text

* more text

* adding vids

* adding escape room

* remove newer lesson

* remove .mp4

* Card page edits

* adding image

* adding to toys

* rotary edits

* fix typo

* bump pxt 5.28.7 (#2503)

* bump pxt

* bump to pxt 5.28.8

* 2.1.20

* bump pxt 5.28.9 (#2504)

* 2.1.21

* bump pxt 5.28.10

* 2.1.22

* bump pxt 5.28.11

* 2.1.23

* bump pxt 5.28.12

* 2.1.24

* Update README.md

* robot unicorn (#2512)

* robot unicorn

* Edits to the unicorn

* fix missing radio and boardname

* bump pxt 5.28.18 (#2517)

* bump pxt 5.28.18

* updated summary

* 2.1.25

* bump pxt 5.28.21

* 2.1.26

* bump to pxt5.28.23

* 2.1.27

* Add redirect to pins info to serial heading (#2520)

* Add redirect to pins info to serial heading

* adding links

* vump to pxt 5.28.24

* 2.1.28

* bump to pxt 5.28.26

* 2.1.29

* add build instructions

* updated build notes

* bump pxt 5.28.27

* 2.1.30

* missing svg

* remove crowdin project to disable upload from master branch

* reeanble crowdin, no upload

* 2.1.31

* bump pxt common to 6.16.25

* missing radio package

* Fix GC heap reclamation (#2528)

* bump to pxt 5.28.31

* bump pxt 5.28.32

* 2.1.32

* 2.1.33

* fix typo

* pxt-microbit-next? (#2543)

Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here.

* Extensions: Add Inksmith Climate Action Kit (#2535)

* Fixes for typos found in Crowdin - 11252019 (#2538)

* Extension: add Kitronik Halo HD (#2541)

* Extension: Add EBOTICS MIBO (#2542)

* add Bright Wearables Brightboard (#2537)

* Docs: Change default value in Javascript. (#2540)

* Change default value in Javascript.

Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript.

* edits to new example

* bump pxt 5.30.6

* 2.1.34

* update git and vscode settings

* revert changes to 2.1.28

* package-lock

* v2.1.34

* Change Hero Image

* add RVR (#2516)

* Extension: add minicruise (#2545)

* Fix minutes display for 'Digital Watch' project (#2547)

* Fix minutes display for 'Digital Watch' project

* minutes less than 10

* bump pxt

* 2.1.35

* updated pxt

* 2.1.36

* package lock

* Tutorial Typo Fix

* staging Servo library support

* bumppxt

* 2.1.37

* update error guide link (#2554)

* adding radio firefly (#2549)

* Update 'Metal Detector' example (#2559)

* bump pxt

* 2.1.38

* typoFix

* package lock
2019-12-18 07:18:45 -08:00
Peli 039537b84c 2.1.30 2019-12-17 09:23:17 -08:00
Peli 457b0e1c5b ignore docs errors 2019-12-17 09:23:11 -08:00
Peli a5aaa62649 2.1.29 2019-12-17 08:13:47 -08:00
Peli 0ed0551c71 bump pxt, enable github support 2019-12-17 08:13:39 -08:00
Peli d9370624e4 revert changes to .ref files 2019-12-01 21:05:41 -08:00
Amerlander 5c114a0c57 2.1.28, initiation update to PXT v5.28.24 (#54) 2019-12-01 20:58:26 -08:00
Peli de Halleux 38a964516e clean up targetjson 2019-11-15 06:21:31 -08:00
Peli de Halleux f611c784fd deleting jenkins files 2019-11-15 06:17:39 -08:00
Peli de Halleux 669e6cb1da updated readme 2019-11-15 06:17:15 -08:00
Peli de Halleux 252cd68892 2.0.2 2019-11-15 06:14:59 -08:00
Peli de Halleux 2647c5fca9 2.0.1 2019-11-15 06:14:15 -08:00
Peli de Halleux 4f6e195012 bump to 2.0 2019-11-15 06:14:05 -08:00
Sam El-Husseini fb639299e7 Revert "Release beta bits to fix neopixel issue (#35)"
This reverts commit 656d99ea98.
2018-11-02 11:36:28 -07:00
Sam El-Husseini 656d99ea98 Release beta bits to fix neopixel issue (#35) 2018-11-02 11:29:33 -07:00
Sam El-Husseini 8e54c1cf9c 1.0.27 2018-11-02 08:09:02 -07:00
Sam El-Husseini afdfc0ddec bump pxt-core to 0.19.20 2018-11-02 08:08:56 -07:00
Peli de Halleux c56d8891bb 1.0.26 2018-05-16 06:31:23 -07:00
Peli de Halleux dfcf16cde7 updated to latest pxt 2018-05-16 06:31:10 -07:00
Peli de Halleux 407ef73669 updated target 2018-04-20 07:12:22 -07:00
Peli de Halleux b627ee2e4a updated config 2018-04-20 07:09:53 -07:00
Peli de Halleux 513afd4a21 bump version with languages 2018-04-17 20:38:14 -07:00
Peli de Halleux bde84176e6 1.0.25 2018-04-17 15:02:35 -07:00
Peli de Halleux db6e12275f enabling languages 2018-04-17 15:02:13 -07:00
Peli de Halleux d9412f2f5e bumped pxt 2018-04-17 14:57:36 -07:00
Peli de Halleux 0a80046ea2 lock app version 2018-04-16 07:23:00 -07:00
Peli de Halleux fd73efa8a7 1.0.24 2018-04-16 07:13:02 -07:00
Peli de Halleux 374d9e9595 bumping pxt 2018-04-16 06:59:27 -07:00
Peli de Halleux 196ca79aa3 1.0.23 2018-04-04 08:59:37 -07:00
Peli de Halleux d17dd09c59 updated pxt ref 2018-04-04 08:54:49 -07:00
Peli de Halleux 75dc59978e 1.0.22 2018-03-29 15:43:54 -07:00
Peli de Halleux abe06d1594 adding locales 2018-03-29 15:43:44 -07:00
Peli de Halleux 72c6e7086e 1.0.21 2018-03-29 15:11:50 -07:00
Peli de Halleux 46951d44c8 updated package lock 2018-03-29 15:11:37 -07:00
Peli de Halleux 1339d3f579 updating pxt 2018-03-29 15:07:15 -07:00
Peli de Halleux 34af44d299 badge does not work 2017-12-15 14:54:29 -08:00
Peli de Halleux 1199845c52 added build status 2017-12-15 14:53:51 -08:00
Peli de Halleux 003150643d run latest bump build until live 2017-12-15 14:49:36 -08:00
Peli de Halleux 500de7fb13 1.0.20 2017-12-15 14:47:23 -08:00
Peli de Halleux 88934881f9 upgrading various simulator parts 2017-12-15 14:45:38 -08:00
Peli de Halleux 433e8c8805 adding neopixel/microturtle 2017-12-15 14:42:11 -08:00
Sam El-Husseini b8b7d3d1b8 1.0.19 2017-12-14 13:31:15 -08:00
Sam El-Husseini 052cca94a2 UI changes to be inline with latest v0 (#16) 2017-12-14 13:30:47 -08:00
Peli de Halleux 93dd793fb7 Merge branch 'master' of https://github.com/Microsoft/pxt-calliope 2017-12-14 11:50:29 -08:00
Peli de Halleux 41c2012d42 windows app squeleton 2017-12-14 11:50:24 -08:00
Peli de Halleux d4934b19d1 Update README.md 2017-12-14 11:24:44 -08:00
Peli de Halleux 4f741981e3 1.0.18 2017-12-14 11:22:23 -08:00
Peli de Halleux e93ae5e01b adjusting old styles 2017-12-14 11:21:55 -08:00
Peli de Halleux baee733aad 1.0.17 2017-12-14 11:06:09 -08:00
Peli de Halleux 13f252c6f4 support for icons (#15) 2017-12-14 11:04:59 -08:00
Peli de Halleux 694c24406f 1.0.16 2017-12-14 11:01:07 -08:00
Peli de Halleux 2250aa9d4b Upgrades (#14)
* enable tracing

* more config adjustments

* upgrading images

* upgrading input

* upgrading led

* upgraded pins api

* upgrade runtime

* upgrading pxt.h

* upgrading basic.cpp

* upgraded control

* upgraded control.ts

* upgrading core.cpp

* updating shims

* fixing merge issues

* upgrading BLE config
2017-12-14 11:00:47 -08:00
Peli de Halleux a1f1911eb0 Merge branch 'master' of https://github.com/Microsoft/pxt-calliope 2017-12-14 10:40:07 -08:00
Peli de Halleux a5f8e9a643 upgrading game apis (#13) 2017-12-14 10:34:32 -08:00
Peli de Halleux 5a6cbf2639 upgrading music APIs (#12) 2017-12-14 10:34:04 -08:00
Peli de Halleux ff11e70c84 more config adjustments 2017-12-14 09:57:49 -08:00
Peli de Halleux a6487f62c0 enable tracing 2017-12-14 09:53:08 -08:00
Peli de Halleux 63047454cb 1.0.15 2017-12-14 08:59:49 -08:00
Peli de Halleux 1373c2616c enabling functions and arrays 2017-12-14 08:59:39 -08:00
Peli de Halleux 739584e465 bump master to 1.0.13 2017-12-14 05:30:11 -08:00
Peli de Halleux 73e5263a0a 1.0.14 2017-12-14 05:28:20 -08:00
Peli de Halleux 9c24e5f87f bump pxt-core to 0.14.32, 2017-12-14 05:28:11 -08:00
Guillaume Jenkins 34d27f5d58 1.0.13 2017-12-12 12:28:55 -08:00
Guillaume Jenkins df0acab002 Fix Jenkins build settings 2017-12-12 12:03:43 -08:00
Guillaume Jenkins b48dcd9afa Add details on new website / jenkins build 2017-12-12 11:01:43 -08:00
Peli de Halleux 40666cf457 1.0.12 2017-12-12 11:00:37 -08:00
Peli de Halleux 44dd7465d4 bump pxt-core to 0.14.31, 2017-12-12 11:00:29 -08:00
Peli de Halleux 90fe68943e Moving back to pxtcore v0 (#10)
* migrating to v0

* moving external repos to targetconfig

* reenabling sharing

* updating target

* missing dependencies

* updated pxt version

* fixing missing file

* ignore docs errors

* udpated readme

* bumping pxt

* moving setting to correct location

* missing blockly less
2017-12-12 10:55:00 -08:00
Matthias L. Jugel aa6b6daf45 hotfix for motor/servo problem (https://calliope-mini.myjetbrains.com/youtrack/agiles/82-2/83-5) 2017-10-08 17:26:52 +02:00
Matthias L. Jugel 3fc7888aab update bluetooth for eddystone 2017-09-19 23:54:46 +02:00
Matthias L. Jugel 25c3a60166 add ssd1306 module 2017-09-19 17:37:35 +02:00
Matthias L. Jugel 0e125f75bc add isl29125 to sensor drivers 2017-09-14 15:40:09 +02:00
Matthias L. Jugel 8e7e405e8d disable sharing 2017-09-13 12:23:06 +02:00
Matthias L. Jugel 67ea86b33e add ubirch module, include ubirch/calliope-mini to trusted repos 2017-09-13 11:56:58 +02:00
thinkberg 14d7c0920b fix typo 2017-09-03 12:57:48 +02:00
thinkberg 4718f1b4ae add modem dependency and ESP8266 2017-08-31 21:14:30 +02:00
Matthias L. Jugel 4107b920f3 add ESP8266 module 2017-08-29 15:26:33 +02:00
Matthias L. Jugel 76cf451ebc fix typo 2017-08-23 16:48:06 +02:00
Matthias L. Jugel 79d810c7da fix translations 2017-08-19 00:31:29 +02:00
Matthias L. Jugel a7c81358aa revert code, may be included if decided to be helpful, but for now it would complicate merging 2017-08-18 12:55:52 +02:00
Matthias L. Jugel 879615dcc1 add function to reset the UART back to USB 2017-08-17 18:25:55 +02:00
Matthias L. Jugel 5c02964085 fix shake gesture 2017-08-02 19:19:53 +02:00
Matthias L. Jugel 832f340feb 1.0.11 2017-08-01 21:48:16 +02:00
Matthias L. Jugel 08c89d0743 updated compass calibration 2017-08-01 21:46:43 +02:00
guillaumejenkins 21addf843c Jenkins credentials migration 2017-05-26 17:59:17 -07:00
guillaumejenkins 499bd198cd Test Jenkins credentials 2017-05-26 16:13:12 -07:00
Matthias L. Jugel 213c52dd00 surface repeated start functionality in i2c 2017-04-03 18:44:25 +02:00
Matthias L. Jugel 8e6917d677 Merge remote-tracking branch 'origin/master' 2017-04-03 15:40:29 +02:00
Guillaume Jenkins 712782dfd3 Update README.md 2017-03-30 13:54:36 -07:00
Matthias L. Jugel 436e376de9 add midi example and i2c test 2017-03-25 13:42:52 +01:00
Guillaume Jenkins c84a90c4a5 Update Jenkins scripts 2017-03-10 15:01:46 -08:00
Peli de Halleux 7f1a7dfa1e 1.0.10 2017-03-08 04:14:30 -08:00
Peli de Halleux 56961552bc updated makecode references 2017-03-08 04:14:16 -08:00
Peli de Halleux 99fe19953f 1.0.9 2017-02-28 12:29:57 -08:00
Peli de Halleux adc27cc80e better 3d effect 2017-02-28 12:29:25 -08:00
Peli de Halleux 404563fba4 1.0.8 2017-02-28 09:54:11 -08:00
Peli de Halleux 94bb4a1339 added showIcon api 2017-02-28 09:50:29 -08:00
Peli de Halleux c6b16279b8 1.0.7 2017-02-28 09:36:51 -08:00
chmora d858bd0fe8 support for piano 2017-02-28 08:55:26 -08:00
Peli de Halleux 4c62df1112 pointing to 0.8.30 2017-02-28 07:25:26 -08:00
Peli de Halleux ad2acb244a docs cleanup 2017-02-28 06:45:08 -08:00
Peli de Halleux 24c240c7de 1.0.6 2017-02-28 06:36:03 -08:00
Peli de Halleux c9dde9d99f 1.0.5 2017-02-28 06:11:29 -08:00
Peli de Halleux df5ec40bd7 Bump pxt-core to 0.11.55 2017-02-28 06:11:27 -08:00
Peli de Halleux ada5a5898b 1.0.4 2017-02-28 06:10:34 -08:00
Peli de Halleux 72d3cb64eb 1.0.3 2017-02-28 05:53:29 -08:00
Peli de Halleux 735cdc743c 1.0.2 2017-02-28 05:24:25 -08:00
Peli de Halleux f8a5244146 enabled sharing 2017-02-28 05:23:11 -08:00
Peli de Halleux b5c1acd363 1.0.1 2017-02-28 04:58:56 -08:00
Matthias L. Jugel 29fc2c6681 bump to version 1.0.0 2017-02-28 13:44:30 +01:00
Peli de Halleux a7534b0680 removed r03 route 2017-02-27 14:07:46 -08:00
Peli de Halleux 2a2f31d71c adding r03 path 2017-02-27 13:52:10 -08:00
thinkberg 1ec778276d add new svg 2017-02-24 22:35:41 +01:00
thinkberg 186ecb6493 update simulator to match board v1.0 2017-02-24 22:22:46 +01:00
Matthias L. Jugel 623269e239 add actual svg 2017-02-24 17:52:16 +01:00
Matthias L. Jugel 6264e32223 started adding new board svg 2017-02-24 17:51:42 +01:00
Matthias L. Jugel bc8b97faba add new calliope image, add analog pins on RX/TX grove 2017-02-20 11:13:00 +01:00
thinkberg df64034519 updated for brightness fix 2017-02-19 19:06:29 +01:00
Matthias L. Jugel 3ef7fe6a5a fixes max brightness 2017-02-19 16:31:34 +01:00
Matthias L. Jugel 2b4d71ac8b merged fixes from calliope-mini-2016 branch 2017-02-19 16:17:58 +01:00
Matthias L. Jugel aec1cf2ca6 fix 115200 string
(cherry picked from commit 2a3f2d4)
2017-02-19 16:16:34 +01:00
Matthias L. Jugel d1d6abebb4 add 57600 as baud selection
(cherry picked from commit d9b3f2f)
2017-02-19 16:16:30 +01:00
Matthias L. Jugel df04e9f0d1 master dependency now on rev 1.0 board 2017-02-19 15:35:25 +01:00
thinkberg a1b0b5153c fix play ringtone (#MINI-32)
(cherry picked from commit d69bd0e)
2017-02-19 11:21:04 +01:00
Sam El-Husseini 00b4e8dc01 Updating small organization logo 2017-02-16 20:45:03 -08:00
Peli de Halleux 7a8f540b27 0.8.22 2017-02-13 15:44:32 -08:00
Peli de Halleux f04222fecb Bump pxt-core to 0.11.32 2017-02-13 15:44:29 -08:00
thinkberg ede7c8b29b update to latest version 2017-02-13 19:35:28 +01:00
thinkberg 3dffd14abb revert index ref version 2017-02-13 18:57:35 +01:00
Peli de Halleux fbf653834e 0.8.21 2017-02-13 09:20:05 -08:00
Peli de Halleux 166014bd92 Bump pxt-core to 0.11.31 2017-02-13 09:20:03 -08:00
Matthias L. Jugel 3811461274 bump index version 2017-02-13 11:45:14 +01:00
Matthias L. Jugel dbd3837dba 0.8.20 2017-02-13 11:44:15 +01:00
Matthias L. Jugel db79634446 add comments from pxt-microbit 2017-02-13 11:44:00 +01:00
thinkberg 7f710c7d78 bump and fix serial redirect 2017-02-12 10:31:26 +01:00
thinkberg ce8bd38cb7 0.8.19 2017-02-12 10:30:41 +01:00
thinkberg 56dc85e6ff picked serial redirection fix from pxt-microbit (issue #961) 2017-02-12 10:26:32 +01:00
thinkberg 60f921c173 Merge remote-tracking branch 'origin/master' 2017-02-11 09:19:58 +01:00
Peli de Halleux 28fc309a64 0.8.18 2017-02-08 21:10:09 -08:00
Peli de Halleux e28cd3c3c6 Bump pxt-core to 0.11.26 2017-02-08 21:10:07 -08:00
Peli de Halleux 4d2981489d 0.8.17 2017-02-06 22:29:02 -08:00
Peli de Halleux f7f9a29e55 Bump pxt-core to 0.11.16 2017-02-06 22:29:00 -08:00
Peli de Halleux be88603d57 enabling text blocks 2017-02-06 22:28:44 -08:00
Peli de Halleux 0dc9f53e30 bumped to 0.8.16 2017-02-06 15:19:32 -08:00
Peli de Halleux 9cb426e060 0.8.16 2017-02-06 14:50:14 -08:00
Peli de Halleux 38c60710d1 disable sharing 2017-02-06 14:49:49 -08:00
Peli de Halleux 5c62e5d697 0.8.15 2017-02-06 14:41:47 -08:00
Peli de Halleux 63268c61a8 Merge branch 'master' of https://github.com/Microsoft/pxt-calliope 2017-02-06 14:41:34 -08:00
Peli de Halleux 0c0c1cdd73 fix simulator y value 2017-02-06 14:41:24 -08:00
guillaumejenkins 3d70526d05 Fix Jenkins build permissions 2017-02-06 14:06:41 -08:00
Matthias L. Jugel cf1b85f85b 0.8.14 2017-02-06 22:48:37 +01:00
Matthias L. Jugel 1f7ad1f114 add correct serial pins 2017-02-06 22:48:27 +01:00
Matthias L. Jugel b1d8ab0206 0.8.13 2017-02-06 22:07:56 +01:00
Matthias L. Jugel 8bfa79fd15 update dependency on dal 2017-02-06 22:07:40 +01:00
Peli de Halleux 991aa40f19 0.8.12 2017-02-06 12:10:43 -08:00
Peli de Halleux 279f72c800 Bump pxt-core to 0.11.14 2017-02-06 12:10:41 -08:00
Peli de Halleux 2420a7c781 0.8.11 2017-02-06 11:53:35 -08:00
Peli de Halleux 7f134f330d updated translations 2017-02-06 11:52:50 -08:00
Peli de Halleux a91c28bd56 0.8.10 2017-02-06 10:17:39 -08:00
Richard Knoll a5aca0dfcf merged master 2017-02-06 10:17:02 -08:00
Peli de Halleux b1fd48882c merged from microbit 2017-02-06 10:12:34 -08:00
Peli de Halleux a34004c14a using calliope compile service 2017-02-06 10:10:42 -08:00
Matthias L. Jugel 9db0335844 0.8.9 2017-02-05 20:49:54 +01:00
Matthias L. Jugel ae8cb2dc53 update dependency for new calliope target 2017-02-05 20:49:09 +01:00
Matthias L. Jugel 3fb21e590c 0.8.8 2017-02-04 14:26:41 +01:00
Matthias L. Jugel 4376d3cefe fix typos, fix accelerometer 2017-02-04 14:26:21 +01:00
Peli de Halleux b31d6188f9 added jenkins 2017-02-03 16:19:22 -08:00
Peli de Halleux 7a741622a9 0.8.7 2017-02-03 16:04:35 -08:00
Peli de Halleux a1104010e4 Bump pxt-core to 0.11.13 2017-02-03 16:04:32 -08:00
Peli de Halleux a39067a0f4 enable sharing 2017-02-03 16:03:17 -08:00
Matthias L. Jugel f2ccad6c26 0.8.6 2017-02-03 17:26:29 +01:00
Matthias L. Jugel 8fe328b2e8 add some safety test codes to the production test 2017-02-03 17:26:04 +01:00
Peli de Halleux b984af2130 0.8.5 2017-02-02 23:23:55 -08:00
Peli de Halleux fcfcf901aa Bump pxt-core to 0.11.11 2017-02-02 23:23:52 -08:00
Peli de Halleux 969ecee5b5 0.8.4 2017-02-02 23:16:33 -08:00
Peli de Halleux cd5e5d55bc Bump pxt-core to 0.11.10 2017-02-02 23:16:28 -08:00
thinkberg 7730b7c18f Merge remote-tracking branch 'origin/master' 2017-02-02 19:31:36 +01:00
Matthias L. Jugel 254a979086 0.8.3 2017-02-02 17:33:12 +01:00
Matthias L. Jugel a846685d26 update sim to match updates in dal
(cherry picked from commit 62848ed)
2017-02-02 17:29:58 +01:00
Matthias L. Jugel 1a7667724d update fixed dal reference 2017-02-02 15:57:02 +01:00
Peli de Halleux 1d49ba4cf0 refreshed dal definitions 2017-02-02 03:18:18 -08:00
Matthias L. Jugel 70dd486320 fixed typo in json 2017-02-01 09:58:49 +01:00
Matthias L. Jugel 9e60666b66 fix naming in image 2017-01-31 22:40:52 +01:00
Matthias L. Jugel 0de9102f96 pin updates 2017-01-31 22:36:32 +01:00
Sam El-Husseini 53dd4206a0 Cleaning up styles 2017-01-26 14:45:39 -08:00
thinkberg 9b2fdabdcc fix sharing URL 2017-01-23 09:21:54 +01:00
Peli de Halleux 3af4d8cf18 updated to 0.8.2 2017-01-22 18:01:14 -08:00
Peli de Halleux 9f2368b59e 0.8.2 2017-01-22 17:49:06 -08:00
Peli de Halleux 08f79ee743 updated web manifest 2017-01-22 17:48:50 -08:00
Peli de Halleux 5ec4a3118a 0.8.1 2017-01-22 17:16:05 -08:00
Peli de Halleux 352e59bfad updated version number 2017-01-22 17:15:54 -08:00
Peli de Halleux 143c703bf2 0.7.18 2017-01-22 17:14:45 -08:00
Peli de Halleux 37eb855df6 0.7.17 2017-01-22 17:13:27 -08:00
Peli de Halleux 47dac2a175 Bump pxt-core to 0.10.15 2017-01-22 17:13:22 -08:00
Peli de Halleux 211ec7a65d added audio flag 2017-01-22 17:13:12 -08:00
Peli de Halleux d4220593b0 Serial events (#337)
* added "serial->on data received"

* updated info

* updated docs

* added readline to read entire buffer

* lazy initialize of serial buffers

* init async on event

* updated docs
2017-01-22 17:08:59 -08:00
Peli de Halleux 5d861e1e6d negative scroll fix
fix for Microsoft/pxt#813
2017-01-22 17:07:45 -08:00
chmora 64aa0fd6f5 One letter showString shouldn't disappear (#338)
* Fix for "One letter showString shouldn't disappear", fixes #798

* miss semicolon
2017-01-22 17:06:35 -08:00
Peli de Halleux 5be188d6e7 0.7.16 2017-01-19 21:08:24 -08:00
Peli de Halleux 502cca6cc0 Bump pxt-core to 0.10.11 2017-01-19 21:08:21 -08:00
Peli de Halleux 703a876a84 updates style 2017-01-19 21:08:14 -08:00
Peli de Halleux ca1e3e7231 applying icons to namespaces 2017-01-19 20:55:31 -08:00
Abhijith a0e971d49f 0.7.15 2017-01-19 11:31:22 -08:00
Abhijith 750faf42e4 Bump pxt-core to 0.10.10 2017-01-19 11:31:14 -08:00
Brahma Giri Abhijith Chatra b359411058 Merging array changes from pxt-microbit 2017-01-19 11:30:06 -08:00
Peli de Halleux 9c140a5e6f 0.7.14 2017-01-17 14:12:28 -08:00
Peli de Halleux fad68499e5 0.7.13 2017-01-17 11:45:59 -08:00
Peli de Halleux c861fd6c65 Bump pxt-core to 0.10.8 2017-01-17 11:45:56 -08:00
Peli de Halleux db961f78a5 added avatar /loader 2017-01-12 23:06:19 -08:00
Peli de Halleux 975b995f09 fixing dal board 2017-01-12 23:05:29 -08:00
Peli de Halleux 167ba57d2b Bump pxt-core to 0.10.1 2017-01-12 22:58:52 -08:00
Sam El-Husseini d40c0763f1 fixing indentation 2017-01-12 16:15:15 -08:00
Sam El-Husseini 8c2ecdd42e fix"string compare works differently in simulator/on target" 2017-01-12 16:14:15 -08:00
Peli de Halleux 9d58ea8b1c 0.7.12 2017-01-12 15:31:31 -08:00
Peli de Halleux 22864af73d Bump pxt-core to 0.9.4 2017-01-12 15:31:28 -08:00
Matthias L. Jugel 53bb4ec7e9 USB serial receive fix 2017-01-06 08:15:53 +01:00
Matthias L. Jugel 8e3694661a 0.7.11 2017-01-06 08:12:05 +01:00
Matthias L. Jugel 2ba1b0c262 Merge branch 'master' of github.com:microsoft/pxt-calliope 2017-01-06 08:10:06 +01:00
Matthias L. Jugel a61e6f539e updated DAL (rev 0.3 resistor fix) 2017-01-06 08:10:01 +01:00
Peli de Halleux cc3c966427 fixing typings 2017-01-02 19:02:05 -08:00
Peli de Halleux ef5bee5a21 Bump pxt-core to 0.8.1 2017-01-02 18:59:39 -08:00
Peli de Halleux 800682e8cc 0.7.10 2016-12-31 06:50:07 -08:00
Peli de Halleux 291ea7169f Bump pxt-core to 0.7.13 2016-12-31 06:50:05 -08:00
Sam El-Husseini ef6c3a6617 ui changes accompanying changes in pxt, converging where possible 2016-12-31 02:15:21 -08:00
Peli de Halleux 734e81f4be 0.7.9 2016-12-30 15:07:06 -08:00
Peli de Halleux 8e1acfc7df Bump pxt-core to 0.7.12 2016-12-30 15:07:04 -08:00
Peli de Halleux 01c56e1111 0.7.8 2016-12-30 13:50:40 -08:00
Peli de Halleux dfbf06fc0e Bump pxt-core to 0.7.10 2016-12-30 13:50:38 -08:00
Peli de Halleux d1902a83ca bumped to v0.7.7 2016-12-23 00:22:32 -08:00
Peli de Halleux aeff3d9f45 0.7.7 2016-12-22 23:25:06 -08:00
Peli de Halleux 6530bc26ae fixing menu active css 2016-12-22 23:24:53 -08:00
Peli de Halleux 8ea9f1fb26 0.7.6 2016-12-22 23:18:00 -08:00
Peli de Halleux 1e94e04104 setting up "on start" 2016-12-22 23:17:39 -08:00
Peli de Halleux e95d29286a 0.7.5 2016-12-22 23:12:46 -08:00
Peli de Halleux 14d50810cb Bump pxt-core to 0.7.9 2016-12-22 23:12:43 -08:00
Peli de Halleux 250e21b5c9 fixed toolbox color 2016-12-22 22:41:13 -08:00
Peli de Halleux 98eab3672f updated css breakpoints 2016-12-22 22:36:06 -08:00
Peli de Halleux 360e2b7ba6 0.7.4 2016-12-22 21:14:29 -08:00
Peli de Halleux f255e1a903 Bump pxt-core to 0.7.8 2016-12-22 21:14:27 -08:00
Matthias L. Jugel d4762cc5b5 deploy 0.7.3 to web 2016-12-22 10:05:52 +01:00
Peli de Halleux 749b5266cb 0.7.3 2016-12-20 16:30:40 -08:00
Peli de Halleux bbd23f6d26 Bump pxt-core to 0.7.5 2016-12-20 16:30:38 -08:00
Peli de Halleux 4bef7d50bd 0.7.2 2016-12-16 15:01:13 -08:00
Peli de Halleux bf423ca037 Bump pxt-core to 0.6.4 2016-12-16 15:01:05 -08:00
Richard Knoll 7556796eb6 merging more memory fixes 2016-12-16 14:57:16 -08:00
Peli de Halleux 0a380a70d1 0.7.1 2016-12-16 07:26:11 -08:00
Peli de Halleux 5c57e0faa4 fixing ver issues 2016-12-16 07:26:01 -08:00
Peli de Halleux 41abeb62c3 0.6.2 2016-12-16 07:25:07 -08:00
Peli de Halleux b6eeeef4d5 0.6.1 2016-12-16 07:24:44 -08:00
Peli de Halleux b5b7edb978 moved to 0.6 2016-12-16 07:24:36 -08:00
Peli de Halleux a65fe1343c 0.5.98 2016-12-16 07:23:54 -08:00
Peli de Halleux 3165fb3749 Bump pxt-core to 0.6.2 2016-12-16 07:23:48 -08:00
Peli de Halleux 2789887f3b 0.5.97 2016-12-09 15:02:44 -08:00
Peli de Halleux d230fdd2fb Bump pxt-core to 0.5.99 2016-12-09 15:02:40 -08:00
Peli de Halleux 88c9ef5b22 deploy feature now implemented in PXT 2016-12-08 21:11:50 -08:00
Peli de Halleux 154115cc66 0.5.96 2016-12-08 16:38:10 -08:00
Peli de Halleux 145dbaeb8f Merge pull request #8 from Microsoft/coreupdate
merging runtime memory leaks
2016-12-08 16:37:48 -08:00
Abhijith 1c8ceaef17 merging runtime memory leaks 2016-12-08 16:29:53 -08:00
Peli de Halleux e30c6f7149 0.5.95 2016-12-08 14:24:14 -08:00
Peli de Halleux e69174ed0f Bump pxt-core to 0.5.96 2016-12-08 14:24:09 -08:00
Sam El-Husseini 303d37ac9b toolbox buttons for tablet mode 2016-12-06 16:16:50 -08:00
Sam El-Husseini 69e2b41c40 Supporting new blockly toolbox buttons 2016-12-06 15:29:53 -08:00
Peli de Halleux 8f04c8c20a 0.5.94 2016-12-02 12:59:04 -08:00
Peli de Halleux 7661df09c8 Bump pxt-core to 0.5.87 2016-12-02 12:59:02 -08:00
Sam El-Husseini 62cbacc8ba theming the add package button 2016-12-01 23:53:38 -08:00
Sam El-Husseini a9fd336093 Using white organisation logo for wide logo 2016-12-01 23:46:53 -08:00
Peli de Halleux d800f5fcb9 0.5.93 2016-11-30 15:21:10 -08:00
Peli de Halleux 29e6f51798 Bump pxt-core to 0.5.85 2016-11-30 15:21:08 -08:00
Peli de Halleux ffb671d6b1 0.5.92 2016-11-30 03:33:14 -08:00
Peli de Halleux 8eb4200b46 Bump pxt-core to 0.5.84 2016-11-30 03:33:08 -08:00
Peli de Halleux dfc7a1ddb9 nicer simulator animation 2016-11-30 03:32:53 -08:00
Peli de Halleux 5e2ea5056b Merge pull request #7 from Microsoft/coregone
pxt-calliope-core gone
2016-11-30 03:16:44 -08:00
Peli de Halleux c417f0ed93 using microbit service 2016-11-29 22:17:51 -08:00
Peli de Halleux ce85907019 removing ksbit.h file 2016-11-29 21:55:37 -08:00
Peli de Halleux 8cf0984a3f removing dependency on pxt-calliope-core 2016-11-29 21:51:14 -08:00
Peli de Halleux 8eb1b98cd4 0.5.91 2016-11-29 00:19:49 -08:00
Peli de Halleux 53f55c031c restoring microsoft 2016-11-29 00:12:00 -08:00
Peli de Halleux 61b1150b8f 0.5.90 2016-11-29 00:06:17 -08:00
Peli de Halleux f574b91098 Bump pxt-core to 0.5.81 2016-11-29 00:06:16 -08:00
Peli de Halleux 4a52f93367 updated cmds build options 2016-11-29 00:06:09 -08:00
Brahma Giri Abhijith Chatra fd0193e983 Updating with the MIT license text and contributing guideline 2016-11-28 17:14:09 -08:00
Abhijith 566326ea17 Fixing scrollimage for calliope 2016-11-17 10:14:12 -08:00
Sam El-Husseini d7e1ec41b8 Setting blockly toolbox top / bottom radius in css after recent change. Setting loading to pulsar. 2016-11-16 21:17:00 -08:00
Matthias L. Jugel 620297b95e update master, fixes sound bug 2016-11-16 07:53:56 +01:00
Peli de Halleux e9862751ba 0.5.89 2016-11-15 22:35:12 -08:00
Peli de Halleux 5df83bb079 quick style fix 2016-11-15 22:35:02 -08:00
Peli de Halleux 903c0ec6bd fixing music simulator 2016-11-15 22:28:05 -08:00
Peli de Halleux 4be57eee9a 0.5.88 2016-11-15 20:10:37 -08:00
Peli de Halleux 89a2178ff5 Bump pxt-core to 0.5.75 2016-11-15 20:10:35 -08:00
Peli de Halleux b3ffabba41 updated translations 2016-11-14 11:25:27 -08:00
Peli de Halleux c98e65a68c bumped to 0.5.87 2016-11-14 10:36:18 -08:00
Peli de Halleux 2c70784251 0.5.87 2016-11-14 10:26:42 -08:00
Peli de Halleux 00333b0257 Bump pxt-core to 0.5.74 2016-11-14 10:26:40 -08:00
Peli de Halleux d01c801f63 updated mutable block 2016-11-14 10:25:26 -08:00
Peli de Halleux 05828ddcd9 0.5.86 2016-11-14 10:21:59 -08:00
Peli de Halleux f473835604 updated serial tranlsations 2016-11-14 10:06:39 -08:00
Peli de Halleux d82da1f877 updated localizations 2016-11-14 09:44:46 -08:00
Peli de Halleux 94706adc40 0.5.85 2016-11-14 06:10:19 -08:00
Peli de Halleux 79fb4e4ff7 fix missing radio strings 2016-11-14 06:07:19 -08:00
Matthias L. Jugel dae84afded add SPI pins 2016-11-14 10:12:35 +01:00
Matthias L. Jugel 82d93a2b91 0.5.84 2016-11-13 22:10:34 +01:00
Matthias L. Jugel 45cbbd342b fix naming 2016-11-13 22:09:57 +01:00
Peli de Halleux 5c7779927c bumped to v0.5.83 2016-11-12 05:42:44 -08:00
Peli de Halleux df3d3b41ab 0.5.83 2016-11-12 05:21:03 -08:00
Peli de Halleux d691ebfd52 updated strings 2016-11-12 05:20:39 -08:00
Peli de Halleux a7bd9f6708 0.5.82 2016-11-11 15:25:33 -08:00
Peli de Halleux c3d3747cd8 Bump pxt-core to 0.5.72 2016-11-11 15:25:31 -08:00
Peli de Halleux 7bc5488f25 updated translations 2016-11-11 15:25:18 -08:00
Peli de Halleux f27aa28f8e updated translations 2016-11-11 13:27:53 -08:00
Peli de Halleux 12ccf21e28 adding missing strings 2016-11-11 10:56:45 -08:00
Matthias L. Jugel c557929fb2 0.5.81 2016-11-11 17:08:39 +01:00
Matthias L. Jugel 2e58a31b07 update dependencies for motor fix in DAL 2016-11-11 17:01:53 +01:00
Peli de Halleux 081a56550d 0.5.80 2016-11-11 06:49:28 -08:00
Peli de Halleux 3d665d5505 Bump pxt-core to 0.5.68 2016-11-11 06:49:26 -08:00
Peli de Halleux f991733e04 0.5.79 2016-11-10 15:07:53 -08:00
Peli de Halleux 020b7e9bbe Bump pxt-core to 0.5.67 2016-11-10 15:07:51 -08:00
Peli de Halleux f3bf46f691 0.5.78 2016-11-10 14:25:36 -08:00
Peli de Halleux c3bb56da0c 0.5.77 2016-11-10 14:22:00 -08:00
Peli de Halleux 1f98257984 added missing files for pxtrequire 2016-11-10 14:15:55 -08:00
Peli de Halleux 1cec654342 0.5.76 2016-11-10 14:01:30 -08:00
Peli de Halleux bb027ec75a Bump pxt-core to 0.5.66 2016-11-10 14:01:27 -08:00
Peli de Halleux ceeb366be5 removing outdated tests 2016-11-10 13:14:19 -08:00
Peli de Halleux d6cc95112c AnalogPin.P0 not supported 2016-11-10 13:08:45 -08:00
Matthias L. Jugel ce24e9d923 0.5.75 2016-11-10 21:22:25 +01:00
Matthias L. Jugel 7ee5b4112b remove undefined pins 2016-11-10 21:20:48 +01:00
Matthias L. Jugel d903901de2 Merge branch 'pin-update' 2016-11-10 21:05:31 +01:00
Matthias L. Jugel c1025b8658 fix naming and pin selection 2016-11-10 21:00:03 +01:00
Matthias L. Jugel cdb9682a8b intermediate fix for accelerometer used in pxt 2016-11-10 20:45:40 +01:00
Peli de Halleux 9d589971f5 0.5.74 2016-11-10 11:33:48 -08:00
Peli de Halleux c6807d67d8 0.5.73 2016-11-10 11:31:21 -08:00
Peli de Halleux 05ff9282ac Bump pxt-core to 0.5.65 2016-11-10 11:31:19 -08:00
Peli de Halleux 2825d09eae 0.5.72 2016-11-10 10:11:16 -08:00
Peli de Halleux 15d4a594ae adding hover style on categories 2016-11-10 10:10:03 -08:00
Peli de Halleux a0b426bdf0 disable simulator crash, disable parts 2016-11-10 10:06:38 -08:00
Peli de Halleux 580f1bf24e 0.5.71 2016-11-10 09:35:40 -08:00
Peli de Halleux 29cc6eaded Bump pxt-core to 0.5.64 2016-11-10 09:35:36 -08:00
Peli de Halleux 6671d1864c updated dal.d.ts 2016-11-10 09:13:25 -08:00
Matthias L. Jugel 42d21dea28 fix pin name for SDA 2016-11-10 15:30:49 +01:00
Matthias L. Jugel c4e427c090 fix pins to be in sync with the naming in the simulator and on the board 2016-11-10 15:11:12 +01:00
Matthias L. Jugel d01ca8d565 0.5.70 2016-11-10 13:50:14 +01:00
Matthias L. Jugel 9c3236de80 update motor support and add demo 2016-11-10 13:48:20 +01:00
Matthias L. Jugel 51e64bd82d Merge remote-tracking branch 'origin/master' 2016-11-10 12:22:32 +01:00
Peli de Halleux 572b4a74e4 Merge pull request #6 from Microsoft/mergemicrobit
Merge microbit
2016-11-09 15:16:23 -08:00
Peli de Halleux 9774c9306a workaround missing PAGE_SIZE 2016-11-09 13:30:37 -08:00
Peli de Halleux 1e2066726a merging microbit 2016-11-09 13:29:34 -08:00
Peli de Halleux 0b144539f3 merging master 2016-11-09 13:20:18 -08:00
Peli de Halleux 3a8bbfbd91 0.6.8 2016-11-09 05:32:09 -08:00
Peli de Halleux 0b457d6a50 Bump pxt-core to 0.5.62 2016-11-09 05:32:08 -08:00
Peli de Halleux b6b18b7ceb 0.5.69 2016-11-09 05:14:51 -08:00
Peli de Halleux 6de8e604f7 Bump pxt-core to 0.5.61 2016-11-09 05:14:49 -08:00
Peli de Halleux 4f960f5585 0.6.7 2016-11-09 05:11:13 -08:00
Peli de Halleux 5e62d5c30d Bump pxt-core to 0.5.61 2016-11-09 05:11:11 -08:00
Matthias L. Jugel e701d83dc5 Merge branch 'rev03-changes'
# Conflicts:
#	libs/core/motors.cpp
#	libs/core/music.cpp
#	package.json
2016-11-09 11:56:14 +01:00
Matthias L. Jugel f666d3375e remove parts that we don't need anymore 2016-11-09 11:53:34 +01:00
Peli de Halleux 4aa2d129e9 Adding list of domains that need to be allowed for editor 2016-11-08 15:44:51 -08:00
Peli de Halleux 09f4001c7a exposing programSize function 2016-11-08 10:17:25 -08:00
Peli de Halleux eae2f0436d 0.6.6 2016-11-08 08:57:34 -08:00
Peli de Halleux 287c9da3bd Bump pxt-core to 0.5.59 2016-11-08 08:57:31 -08:00
Peli de Halleux 056ec1bc96 0.6.5 2016-11-07 22:25:49 -08:00
Peli de Halleux 16439bfca3 Bump pxt-core to 0.5.58 2016-11-07 22:25:45 -08:00
Peli de Halleux 7117ba771e support for multiple simulated servos 2016-11-07 22:25:19 -08:00
Peli de Halleux 633522c800 removing dangling file 2016-11-07 13:31:24 -08:00
Peli de Halleux 3f94033c7d Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-11-07 13:30:53 -08:00
Owen Brotherwood 1bc00f476c Requirement for node version used is not correct (#304)
Consider referring to requirements for pxt to reduce time on updating all pxt dependants.
2016-11-07 13:26:19 -08:00
Peli de Halleux 0269ffa5ae support for filesystem in simulator 2016-11-07 11:11:38 -08:00
Peli de Halleux 981910fb0a 0.5.68 2016-11-07 10:59:05 -08:00
Peli de Halleux baa9a262fb removing uploaddoc step 2016-11-07 10:58:52 -08:00
Peli de Halleux fe1de4a423 0.5.67 2016-11-07 10:43:55 -08:00
Peli de Halleux 8537061e79 Bump pxt-core to 0.5.54 2016-11-07 10:43:52 -08:00
Sam El-Husseini c64225982e Merge pull request #302 from Microsoft/pr/firefoxtiltfix
Fix for accelerometer simulator not working in firefox.
2016-11-07 10:43:49 -08:00
Sam El-Husseini f6b7467324 Fix for accelerometer simulator not working in firefox 2016-11-07 10:43:43 -08:00
Sam El-Husseini 36755400fd Fix for incorrect nav menu height, fixes #701 2016-11-07 10:40:45 -08:00
Sam El-Husseini 29eef560b0 whitespace 2016-11-07 10:33:22 -08:00
Peli de Halleux 90e191c4ca 0.6.4 2016-11-07 10:17:20 -08:00
Peli de Halleux efd310f0b4 added afterProgramPage to C++ declarations 2016-11-07 10:17:03 -08:00
Peli de Halleux 0a5c2e4df9 0.6.3 2016-11-07 09:52:34 -08:00
Peli de Halleux 1d6eaf0370 Bump pxt-core to 0.5.54 2016-11-07 09:52:30 -08:00
Michal Moskal b4b789422e Add afterProgramPage() for filesystem support 2016-11-07 16:04:15 +00:00
Peli de Halleux cf982d7c52 removing upload step 2016-11-06 20:38:53 -08:00
Peli de Halleux 2dafe5d253 0.6.2 2016-11-06 20:30:31 -08:00
Peli de Halleux 63422bf696 Bump pxt-core to 0.5.53 2016-11-06 20:30:27 -08:00
Peli de Halleux 56dc8571b7 0.6.1 2016-11-06 19:54:26 -08:00
Peli de Halleux d9190369b7 bumped to 0.6 to reflect move to DAL rc5. 2016-11-06 19:53:44 -08:00
Peli de Halleux 4cf7ec2da1 0.5.66 2016-11-05 06:44:03 -07:00
Peli de Halleux 4b8e9f5715 Bump pxt-core to 0.5.51 2016-11-05 06:44:01 -07:00
Peli de Halleux ea4bc7f4e8 0.5.35 2016-11-05 06:18:11 -07:00
Peli de Halleux 7aa136d01c Bump pxt-core to 0.5.51 2016-11-05 06:18:08 -07:00
Peli de Halleux 4eeae7e239 0.5.34 2016-11-04 21:51:14 -07:00
Peli de Halleux 11b6ba0862 Bump pxt-core to 0.5.50 2016-11-04 21:51:12 -07:00
Guillaume Jenkins 349a385f97 Move templates to directly under libs/ (#303) 2016-11-04 18:32:13 -07:00
Sam El-Husseini 48afb52ef1 Fix for accelerometer simulator not working in firefox. Fixes Microsoft/pxt/#679 2016-11-04 15:39:57 -07:00
Peli de Halleux e5dc046fcc moving live to 0.5.33 2016-11-04 13:38:01 -07:00
Peli de Halleux 7f7aa1c60b updated fr translations 2016-11-04 12:59:11 -07:00
Peli de Halleux 584aaf8c6d updated translations 2016-11-04 12:54:39 -07:00
Peli de Halleux 029b5cda2b 0.5.33 2016-11-04 11:42:16 -07:00
Peli de Halleux ed2f6d05ad Bump pxt-core to 0.5.49 2016-11-04 11:42:14 -07:00
Peli de Halleux 26e20d75a4 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-11-04 11:41:43 -07:00
Guillaume Jenkins 31f5db32d1 Move hex cache (#291)
* hexcache is no longer generated at repo root, so remove it from package.json

* Modified templates to depend on local packages

* Adding bluetooth template for offline HEX cache

* Fix wrong package name in dependencies of bluetooth template

* Change package versions to * in templates
2016-11-04 11:38:00 -07:00
Peli de Halleux 107fe2aefa enable package search 2016-11-04 11:25:05 -07:00
Peli de Halleux 171f578b0b added coderdojo package 2016-11-04 11:07:07 -07:00
Peli de Halleux 90756557f2 updated config 2016-11-04 10:32:29 -07:00
Peli de Halleux 1e89d142ec updated packages config. 2016-11-04 10:14:28 -07:00
Peli de Halleux 002f08ca37 adding empty target config 2016-11-04 10:12:21 -07:00
Peli de Halleux 054501ace0 added reference 2016-11-04 08:18:43 -07:00
Peli de Halleux 0e99bf0d9e 0.5.65 2016-11-03 16:51:35 -07:00
Peli de Halleux 69bf34f773 Bump pxt-core to 0.5.48 2016-11-03 16:51:32 -07:00
Peli de Halleux 980fbc9c1e 0.5.32 2016-11-03 15:56:38 -07:00
Peli de Halleux dab48cf42d Bump pxt-core to 0.5.48 2016-11-03 15:56:36 -07:00
Peli de Halleux 652abe0892 Wallet (#301)
* adding images

* fixed image path

* half way through instructions

* updating maker instructions

* adding protection section

* renaming making -> make

* fixed link

* added coding section

* updated lessons

* fix broken links
2016-11-03 15:49:29 -07:00
Peli de Halleux 781472e7ce 0.5.31 2016-11-03 09:51:14 -07:00
Peli de Halleux 1e4197b4fa Bump pxt-core to 0.5.47 2016-11-03 09:51:12 -07:00
Peli de Halleux 6ba50b6c17 0.5.64 2016-11-03 09:50:51 -07:00
Peli de Halleux ab5b6baf46 Bump pxt-core to 0.5.47 2016-11-03 09:50:49 -07:00
Peli de Halleux 8ec20b87d7 exposing locs for all apis with jsdoc 2016-11-03 09:43:20 -07:00
Peli de Halleux dc3f6cf885 updated locs 2016-11-03 09:41:58 -07:00
Peli de Halleux 3a6e132c7f updatd DAL file 2016-11-03 09:20:30 -07:00
Peli de Halleux 3533e57cc3 updated locs files 2016-11-03 09:10:50 -07:00
Peli de Halleux c03fac2162 fixing typos 2016-11-03 08:50:02 -07:00
Peli de Halleux 2138725a44 updated docs logo 2016-11-03 08:43:25 -07:00
Peli de Halleux e10bb1ce1d bumped live to v0.5.63 2016-11-03 06:56:20 -07:00
Peli de Halleux 3bb03dcc1d 0.5.63 2016-11-03 06:45:59 -07:00
Peli de Halleux a45bf54cff Bump pxt-core to 0.5.45 2016-11-03 06:45:54 -07:00
Peli de Halleux 75e53ddd61 updated translations 2016-11-03 06:45:45 -07:00
Peli de Halleux 0590e74cc0 0.5.62 2016-11-02 22:49:26 -07:00
Peli de Halleux 76edc1290c fixing card app logo 2016-11-02 22:48:34 -07:00
Peli de Halleux 3b66827d8a 0.5.61 2016-11-02 22:35:21 -07:00
Peli de Halleux 83bd1ed3e1 support for motor commands 2016-11-02 22:35:00 -07:00
Peli de Halleux 41c7e88928 adding reference to files package 2016-11-02 16:48:59 -07:00
Peli de Halleux 19f757e159 Upgrading to DAL 2.0rc5 (#300)
* basic skeleton for filesystem project

* updated to DAL rc5

* basic file operations

* support for basic file operations (append, remove)

* removing files project
2016-11-02 16:11:08 -07:00
Peli de Halleux fb222fd732 removing target specific meta (#299)
* updating favicon manifests

* use meta generated from target
2016-11-02 15:14:06 -07:00
Peli de Halleux 07b07a5a3f 0.5.60 2016-11-02 15:13:35 -07:00
Peli de Halleux f46c23fb92 Bump pxt-core to 0.5.44 2016-11-02 15:13:30 -07:00
Peli de Halleux 937bcc61ad 0.5.30 2016-11-02 15:07:50 -07:00
Peli de Halleux 7d61e5fe7c Bump pxt-core to 0.5.44 2016-11-02 15:07:47 -07:00
Peli de Halleux 773dae8fc8 0.5.29 2016-11-02 14:53:56 -07:00
Peli de Halleux 511f399d90 Bump pxt-core to 0.5.43 2016-11-02 14:53:53 -07:00
Peli de Halleux 633ce491af 0.5.28 2016-11-02 14:41:45 -07:00
Peli de Halleux 8193c4790f Bump pxt-core to 0.5.42 2016-11-02 14:41:41 -07:00
Peli de Halleux 21e64d01e3 updated addon for pxt.microbit.org 2016-11-02 14:23:08 -07:00
Peli de Halleux 641d8fcb9b 0.5.27 2016-11-02 13:09:14 -07:00
Peli de Halleux 84736554b9 0.5.26 2016-11-02 12:54:10 -07:00
Peli de Halleux e2c7579dd4 Bump pxt-core to 0.5.41 2016-11-02 12:53:53 -07:00
Peli de Halleux 2e9ad0ad92 0.5.59 2016-11-02 11:35:21 -07:00
Peli de Halleux 68cbb963fc Bump pxt-core to 0.5.41 2016-11-02 11:35:16 -07:00
Peli de Halleux 1c1e960252 0.5.58 2016-11-02 08:20:02 -07:00
Peli de Halleux 077ecaab87 Bump pxt-core to 0.5.38 2016-11-02 08:19:58 -07:00
Peli de Halleux 3111960ecf don't override meta 2016-11-02 08:19:51 -07:00
Peli de Halleux 2f203d68d1 0.5.57 2016-11-01 21:51:37 -07:00
Peli de Halleux aeb3b6f864 Bump pxt-core to 0.5.37 2016-11-01 21:51:34 -07:00
Peli de Halleux e0cf776591 0.5.25 2016-11-01 21:48:42 -07:00
Peli de Halleux da38ca2234 Bump pxt-core to 0.5.37 2016-11-01 21:48:40 -07:00
Peli de Halleux 682ae92a08 updated docs with @homeurl@ 2016-11-01 21:48:11 -07:00
Sam El-Husseini ed8aaf8bda Updating to use pxt.less 2016-11-01 17:49:39 -07:00
Sam El-Husseini f5f36d9cca Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-11-01 17:48:34 -07:00
Sam El-Husseini 19775e307a Updating to use pxt.less 2016-11-01 17:48:29 -07:00
Peli de Halleux 89406330cf rename micro:bit to @boardname@ 2016-11-01 17:44:37 -07:00
Peli de Halleux 9bc1e38345 0.5.24 2016-11-01 10:42:57 -07:00
Peli de Halleux 85d5073fbb Bump pxt-core to 0.5.35 2016-11-01 10:42:53 -07:00
Peli de Halleux d76d92e041 inserting macros instead of hard coded board names 2016-11-01 10:42:42 -07:00
Peli de Halleux 6799721c9b 0.5.23 2016-11-01 09:27:43 -07:00
Peli de Halleux c191cdf7ec updated locs 2016-11-01 09:26:03 -07:00
Peli de Halleux 16cf45aa7c updated localization files 2016-11-01 09:23:04 -07:00
Peli de Halleux 94e72784b9 merging microbit changes 2016-11-01 08:35:45 -07:00
Peli de Halleux 4963bf776a basic servo simulation (#297) 2016-11-01 08:16:03 -07:00
Peli de Halleux 237c5c019b 0.5.22 2016-11-01 07:41:40 -07:00
Peli de Halleux cf37baa337 Bump pxt-core to 0.5.34 2016-11-01 07:41:36 -07:00
Peli de Halleux 67eb1d3b19 0.5.56 2016-10-31 22:34:52 -07:00
Peli de Halleux 6a13b9737e Bump pxt-core to 0.5.33 2016-10-31 22:34:50 -07:00
Peli de Halleux 1ec7e67fb0 0.5.55 2016-10-31 11:36:57 -07:00
Peli de Halleux c3253e24fc Bump pxt-core to 0.5.31 2016-10-31 11:36:55 -07:00
Peli de Halleux 326cd7d0c3 bumped to v0.5.54 2016-10-30 23:48:01 -07:00
Peli de Halleux 804cc8c091 0.5.54 2016-10-30 23:41:55 -07:00
Peli de Halleux 64ff568597 enable translated blocks 2016-10-30 23:41:18 -07:00
Peli de Halleux 4196ba6632 bumped to v0.5.53 2016-10-30 22:58:48 -07:00
Peli de Halleux 26626d2a2a 0.5.53 2016-10-30 22:52:35 -07:00
Peli de Halleux b70a2fc096 Bump pxt-core to 0.5.30 2016-10-30 22:52:32 -07:00
Peli de Halleux 9791a02c7e hide docs 2016-10-30 22:52:16 -07:00
Peli de Halleux 89ceeefc32 0.5.52 2016-10-30 22:23:02 -07:00
Peli de Halleux 91235d2377 Bump pxt-core to 0.5.29 2016-10-30 22:23:00 -07:00
Sam El-Husseini a805d7b8a8 updated ref version 2016-10-28 16:44:22 -07:00
Sam El-Husseini 89fdbcdc4f 0.5.51 2016-10-28 16:14:51 -07:00
Peli de Halleux 7303a1235f bumped to v0.5.21 2016-10-28 15:51:26 -07:00
Peli de Halleux 38ee5efdd4 0.5.21 2016-10-28 15:44:02 -07:00
Peli de Halleux 474d5bb762 turning off streams 2016-10-28 15:43:43 -07:00
Guillaume Jenkins f045942297 Project templates (#295)
Moved default projects from pxtarget.json to libs/templates/
2016-10-28 14:12:25 -07:00
Peli de Halleux 92d1d2ffc3 Merge branch 'master' of https://github.com/Microsoft/pxt-calliope 2016-10-28 14:08:22 -07:00
Peli de Halleux 82c9af836f bumped to 0.5.50 2016-10-28 14:08:14 -07:00
Sam El-Husseini da90401fe6 0.5.50 2016-10-28 14:05:33 -07:00
Sam El-Husseini 315a12dd8b Bump pxt-core to 0.5.28 2016-10-28 14:05:32 -07:00
Sam El-Husseini 7936517a03 0.5.20 2016-10-28 14:05:18 -07:00
Sam El-Husseini ee60396e35 Bump pxt-core to 0.5.28 2016-10-28 14:05:17 -07:00
Peli de Halleux 72ec2d617e 0.5.49 2016-10-28 13:53:46 -07:00
Peli de Halleux 4d9ae63831 Bump pxt-core to 0.5.27 2016-10-28 13:53:41 -07:00
Peli de Halleux 3eab21cff1 udpated icons 2016-10-28 13:52:17 -07:00
Peli de Halleux 5a37385d14 0.5.48 2016-10-28 13:31:48 -07:00
Peli de Halleux 9fa412ff6f Bump pxt-core to 0.5.26 2016-10-28 13:31:43 -07:00
Peli de Halleux 307d25ce7d 0.5.19 2016-10-28 13:21:39 -07:00
Peli de Halleux ec48474231 Bump pxt-core to 0.5.26 2016-10-28 13:21:38 -07:00
Sam El-Husseini 3f7fbb70ba Removing blockly trash icon 2016-10-28 11:27:26 -07:00
Peli de Halleux 524bcee5ed cleanup bundled locals in core package 2016-10-28 11:20:41 -07:00
Sam El-Husseini 20189a709b Using Google font: Roboto 2016-10-28 11:15:19 -07:00
Peli de Halleux 111b321722 0.5.47 2016-10-28 10:41:47 -07:00
Peli de Halleux b8fe8f9294 Bump pxt-core to 0.5.24 2016-10-28 10:41:45 -07:00
Peli de Halleux 83cfd5738f 0.5.18 2016-10-28 10:41:21 -07:00
Peli de Halleux 83b8ba1102 Bump pxt-core to 0.5.24 2016-10-28 10:41:19 -07:00
Peli de Halleux 2169cb044c 0.5.17 2016-10-28 08:53:05 -07:00
Matthias L. Jugel 7b478c4c38 update ref version 2016-10-28 17:47:48 +02:00
Matthias L. Jugel a68e1a611d 0.5.46 2016-10-28 17:47:33 +02:00
Matthias L. Jugel b3b2944b46 add dnd picture 2016-10-28 17:39:57 +02:00
Peli de Halleux 76adc3c00a added led.enable (#294)
* added led.enable

* fixed simulator support for led.enable
2016-10-28 08:34:04 -07:00
Peli de Halleux c809ee4fdf 0.5.45 2016-10-28 00:36:26 -07:00
Peli de Halleux 8e67e69602 Bump pxt-core to 0.5.23 2016-10-28 00:36:23 -07:00
Peli de Halleux c6e38bd7a9 0.5.16 2016-10-28 00:19:09 -07:00
Peli de Halleux c60a4cb359 Bump pxt-core to 0.5.23 2016-10-28 00:19:07 -07:00
Sam El-Husseini 0b508e37b1 0.5.44 2016-10-27 23:21:21 -07:00
Sam El-Husseini e1a3aca9f8 Removing blockly custom media folder 2016-10-27 23:21:05 -07:00
Sam El-Husseini bbe93ae9a2 UI changes: fixing mobile view. 2016-10-27 18:43:09 -07:00
Peli de Halleux 6fd18b4f4c 0.5.43 2016-10-27 16:20:39 -07:00
Peli de Halleux b511537348 Bump pxt-core to 0.5.21 2016-10-27 16:20:37 -07:00
Sam El-Husseini 749ba6b984 UI changes to match the calliope design. 2016-10-27 16:15:44 -07:00
Sam El-Husseini 298382c19f UI theming changes. 2016-10-27 16:12:53 -07:00
Peli de Halleux ef849b645b 0.5.15 2016-10-27 16:06:07 -07:00
Peli de Halleux 78e8c9f176 Bump pxt-core to 0.5.20 2016-10-27 16:06:05 -07:00
Peli de Halleux 57aadd0b27 0.5.14 2016-10-27 15:54:16 -07:00
Peli de Halleux e60c163b08 Bump pxt-core to 0.5.19 2016-10-27 15:54:11 -07:00
Richard Knoll 95e4c609a4 Rename the parameters for the sendValue block (#293) 2016-10-27 14:48:22 -07:00
Peli de Halleux e571bec213 0.5.42 2016-10-27 14:30:07 -07:00
Peli de Halleux 1ad90eda81 Bump pxt-core to 0.5.18 2016-10-27 14:30:05 -07:00
Peli de Halleux 0c604498d3 0.5.41 2016-10-27 13:48:27 -07:00
Peli de Halleux a8ec408f96 Merge branch 'master' of https://github.com/Microsoft/pxt-calliope 2016-10-27 13:47:58 -07:00
Peli de Halleux 40fe1b4616 fix simulator support for music 2016-10-27 13:47:39 -07:00
Matthias L. Jugel 30fd978064 fixed interface function names, add sound functionality 2016-10-27 21:19:03 +02:00
Matthias L. Jugel 0c26d74c05 try to use uBit.soundmotor sound functions 2016-10-27 21:19:03 +02:00
Matthias L. Jugel 0e4d555eb2 0.5.40 2016-10-27 21:18:57 +02:00
Matthias L. Jugel 34c608ba75 add first pictures of calliope 2016-10-27 21:18:57 +02:00
Peli de Halleux 007cf55d7f 0.5.39 2016-10-27 21:18:57 +02:00
Peli de Halleux d3b10aa89e Bump pxt-core to 0.5.17 2016-10-27 21:18:57 +02:00
Matthias L. Jugel 5dc99388b3 0.5.38 2016-10-27 21:18:57 +02:00
Matthias L. Jugel cbe25da154 rev. 0.2 sound patches 2016-10-27 21:18:56 +02:00
Matthias L. Jugel e52da19925 0.5.40 2016-10-27 20:50:10 +02:00
Matthias L. Jugel d558f70118 add first pictures of calliope 2016-10-27 20:47:09 +02:00
Peli de Halleux 8fca50e907 0.5.39 2016-10-27 11:31:10 -07:00
Peli de Halleux 8c4abe979b Bump pxt-core to 0.5.17 2016-10-27 11:31:08 -07:00
Peli de Halleux f2e1bc0168 0.5.13 2016-10-27 11:20:53 -07:00
Peli de Halleux 5c818980ed Bump pxt-core to 0.5.17 2016-10-27 11:20:51 -07:00
Peli de Halleux 172aa6a4d7 updated translated docs 2016-10-27 11:15:35 -07:00
Matthias L. Jugel d4fa9dab1b 0.5.38 2016-10-27 19:49:35 +02:00
Matthias L. Jugel 955b67b6b8 rev. 0.2 sound patches 2016-10-27 19:48:42 +02:00
Matthias L. Jugel abf7d48bfd added music function 2016-10-27 17:58:36 +02:00
Matthias L. Jugel 96d5dc2064 fixed interface function names, add sound functionality 2016-10-27 17:44:38 +02:00
Matthias L. Jugel e0735188fa try to use uBit.soundmotor sound functions 2016-10-27 15:51:42 +02:00
Peli de Halleux c5b9d0876a 0.5.12 2016-10-26 21:48:17 -07:00
Peli de Halleux 4716d06fe6 Bump pxt-core to 0.5.16 2016-10-26 21:48:14 -07:00
Peli de Halleux a2aaed2923 0.5.11 2016-10-26 18:18:20 -07:00
Peli de Halleux 38aa6439a2 Bump pxt-core to 0.5.15 2016-10-26 18:18:18 -07:00
Matthias L. Jugel a4ba24d6ef add sound support using the on-board speaker 2016-10-26 20:52:40 +02:00
Matthias L. Jugel d6d64f3edb fix touch pin for rev 0.3 board 2016-10-26 12:54:21 +02:00
Michal Moskal f078d59bb5 Remove testing file 2016-10-26 11:45:15 +01:00
Michal Moskal dffbe5dcb4 Testing cdn fixes 2016-10-26 10:15:05 +01:00
Peli de Halleux d0821710f6 0.5.10 2016-10-25 16:46:14 -07:00
Peli de Halleux 2291f8b899 Bump pxt-core to 0.5.12 2016-10-25 16:46:12 -07:00
Richard Knoll 2bc5db517e Renaming the string in onDataPacketReceived and updating docs (#292) 2016-10-25 16:39:13 -07:00
Richard Knoll f191d9033d Updating radio JSON writing API (#290) 2016-10-25 16:38:01 -07:00
Michal Moskal 739be09ac9 Bumping main version to 0.5.37 with fixed icons 2016-10-25 19:53:38 +01:00
Michal Moskal 7d912110f4 Bumping main version to 0.5.9 with fixed icons 2016-10-25 19:53:11 +01:00
Michal Moskal 5877adc595 0.5.37 2016-10-25 18:55:41 +01:00
Michal Moskal 0380f4f0d0 Bump pxt-core to 0.5.11 2016-10-25 18:55:40 +01:00
Michal Moskal ae882a0107 0.5.9 2016-10-25 18:55:10 +01:00
Michal Moskal 367e80cb77 Bump pxt-core to 0.5.11 2016-10-25 18:55:09 +01:00
Peli de Halleux c3865afe8c removing references to older gesture events 2016-10-25 09:46:20 -07:00
Peli de Halleux 6b9b636ae6 moving master to v.0.5.8 2016-10-25 08:19:19 -07:00
Peli de Halleux 9a20841c6e 0.5.8 2016-10-25 06:42:40 -07:00
Peli de Halleux 9e95f1a442 Bump pxt-core to 0.5.10 2016-10-25 06:42:39 -07:00
Peli de Halleux c6ce36065e added blocks / TouchDevelop .hex files 2016-10-25 06:42:20 -07:00
Peli de Halleux 13a4b03e9a 0.5.36 2016-10-24 23:18:56 -07:00
Peli de Halleux 4b21d51769 Bump pxt-core to 0.5.9 2016-10-24 23:18:52 -07:00
Peli de Halleux e7aed1d162 fixed sounds in simulator 2016-10-24 23:17:16 -07:00
Peli de Halleux 27f28032fb 0.5.7 2016-10-24 23:12:26 -07:00
Peli de Halleux 2dc9cffa99 Bump pxt-core to 0.5.9 2016-10-24 23:12:24 -07:00
Peli de Halleux 376512f704 0.5.6 2016-10-24 22:47:12 -07:00
Peli de Halleux 3813fba899 Bump pxt-core to 0.5.8 2016-10-24 22:47:10 -07:00
Peli de Halleux 60e71e3e35 0.5.35 2016-10-24 16:39:57 -07:00
Peli de Halleux b003d89061 Bump pxt-core to 0.5.7 2016-10-24 16:39:55 -07:00
Peli de Halleux 84816f4f39 0.5.5 2016-10-24 16:39:21 -07:00
Peli de Halleux 2b095dfe21 Bump pxt-core to 0.5.7 2016-10-24 16:39:18 -07:00
Peli de Halleux 2e3cdee2a2 added deprecated radio api test 2016-10-24 16:34:33 -07:00
Richard Knoll ec404e5887 Deprecating old radio APIs and fixing docs (#289) 2016-10-24 16:30:21 -07:00
Sam El-Husseini ba69563bf4 Adding theming support to pxt-microbit. (#288) 2016-10-24 14:55:21 -07:00
Sam El-Husseini a5eb93d3e1 Updating theme.config to use the pxt theme. 2016-10-24 14:07:20 -07:00
Peli de Halleux 224cb446e4 0.5.34 2016-10-24 13:51:08 -07:00
Peli de Halleux 62b3d7504f Bump pxt-core to 0.5.4 2016-10-24 13:51:06 -07:00
Peli de Halleux cc6594921f 0.5.4 2016-10-24 13:50:41 -07:00
Peli de Halleux bf1269b82e Bump pxt-core to 0.5.4 2016-10-24 13:50:39 -07:00
Peli de Halleux c937cba17e merging pxt-microbit updates 2016-10-24 13:00:39 -07:00
Richard Knoll 79c89b832a New Radio API (#287)
* Adding radio API for receiving a packet

* More new radio API changes

* renaming some properties

* Redoing radio packet parsing and updating new callback api
2016-10-24 12:55:44 -07:00
Michal Moskal 0765159633 0.5.33 2016-10-24 20:53:32 +01:00
Michal Moskal b14a025b14 Bump pxt-core to 0.5.3 2016-10-24 20:53:32 +01:00
Peli de Halleux 3ccc8b7db3 0.5.3 2016-10-24 12:52:33 -07:00
Michal Moskal 7c8bae3cf0 0.5.2 2016-10-24 20:51:33 +01:00
Michal Moskal 000f784011 Bump pxt-core to 0.5.3 2016-10-24 20:51:33 +01:00
Guillaume Jenkins d85446d34d Support for offline hex cache (#282) 2016-10-24 12:32:05 -07:00
Peli de Halleux 74f8cc7b2e 0.5.32 2016-10-24 10:28:24 -07:00
Peli de Halleux cf778686c3 Merging microbit/master 2016-10-24 10:27:48 -07:00
Peli de Halleux 99bee9e796 Merge branch 'master' of https://github.com/Microsoft/pxt-calliope 2016-10-24 10:14:43 -07:00
Michal Moskal cb61c1a712 Bump main version to 0.5.31 with fixed icons 2016-10-24 18:01:45 +01:00
Michal Moskal fdf3d1b66c 0.5.31 2016-10-24 17:39:33 +01:00
Michal Moskal 25ddbf9ffd Bump pxt-core to 0.5.2 2016-10-24 17:39:32 +01:00
Michal Moskal 578f971d26 Add tagged release names 2016-10-24 16:59:46 +01:00
Michal Moskal 06641d4e5c Beta is latest tagged releases 2016-10-24 16:58:12 +01:00
Michal Moskal a705c4882b Add initial release pointers 2016-10-24 16:48:03 +01:00
Michal Moskal b36ffaf29c 0.5.30 2016-10-24 16:32:56 +01:00
Michal Moskal bff088fced Bump pxt-core to 0.5.1 2016-10-24 16:32:56 +01:00
Michal Moskal 784565b24e 0.5.1 2016-10-24 16:31:48 +01:00
Michal Moskal b59e4effff Bump pxt-core to 0.5.1 2016-10-24 16:31:48 +01:00
Michal Moskal 2db2741b08 Bumping to 0.5 (to ~sync with pxt) 2016-10-24 16:30:56 +01:00
Peli de Halleux 66a46e4046 fixing links in docs 2016-10-22 23:04:08 -07:00
David Whale 2f11d603e7 Added a range of original TouchDevelop scripts converted to .ts for tests (#283) 2016-10-22 21:32:57 -07:00
Peli de Halleux 8089fe262e 0.4.64 2016-10-22 21:29:43 -07:00
Peli de Halleux 7d7d13f3ab Bump pxt-core to 0.4.74 2016-10-22 21:29:41 -07:00
Peli de Halleux bd1536132d fixing references / snippets
cleanup "snippets" compilation state
2016-10-22 21:29:31 -07:00
Peli de Halleux fcefe1ed36 Fixing a few typos 2016-10-22 20:34:18 -07:00
Peli de Halleux 748581d76d 0.4.63 2016-10-22 20:31:17 -07:00
Peli de Halleux f21f9e6e88 Bump pxt-core to 0.4.73 2016-10-22 20:31:15 -07:00
gingemonster 3f1817037e Added a new project, the magic button trick (#284)
* adding the 'magic button trick' project

* tweaking text and fixing spelling mistakes

* adding vscode temp files to gitignore

* updated after feedback

* removing vscode temp files

* missed two vars

* deleting vscode temp file
2016-10-22 19:53:48 -07:00
Peli de Halleux 4bcba9b9e5 0.4.62 2016-10-21 14:51:39 -07:00
Peli de Halleux b3b836d77c Bump pxt-core to 0.4.72 2016-10-21 14:50:55 -07:00
Peli de Halleux a2cb2c2ed0 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-10-21 14:46:23 -07:00
Abhijith Chatra 44e2ffc874 Merge pull request #281 from Microsoft/musicfix
Fixing music doc issues
2016-10-21 14:21:19 -07:00
Peli de Halleux 64b68c7439 updated faq to point to support 2016-10-21 11:45:29 -07:00
Peli de Halleux 198b24c6a4 use secure support link 2016-10-21 11:42:29 -07:00
Peli de Halleux a90a43d719 updated logo 2016-10-21 11:12:03 -07:00
Peli de Halleux f9d138cb42 migrating to pxt.microbit.org settings 2016-10-21 10:49:04 -07:00
Peli de Halleux f2c87db3ed using default analytics settings 2016-10-21 10:23:23 -07:00
Peli de Halleux 13089f92a8 using default tracking settings 2016-10-21 09:56:28 -07:00
Abhijith 0b1b312e76 Fixing music doc issues 2016-10-21 08:48:43 -07:00
Peli de Halleux 958ff2ef40 0.4.61 2016-10-20 22:45:57 -07:00
Peli de Halleux eaf982903f Bump pxt-core to 0.4.71 2016-10-20 22:45:50 -07:00
Peli de Halleux 8c15af11db 0.5.29 2016-10-20 20:16:52 -07:00
Peli de Halleux 35e414764f missing tools 2016-10-20 20:14:25 -07:00
Peli de Halleux 333659c320 0.5.28 2016-10-20 20:12:03 -07:00
Peli de Halleux 8c161583eb Bump pxt-core to 0.4.71 2016-10-20 20:12:02 -07:00
Peli de Halleux b20e185bf2 parameterize download button color 2016-10-20 19:36:00 -07:00
Peli de Halleux 299b595581 added custom theme style 2016-10-20 19:29:10 -07:00
Peli de Halleux 65433216e6 adding semantic ui files 2016-10-20 16:40:39 -07:00
Peli de Halleux cbfbcd080a 0.4.60 2016-10-20 15:09:13 -07:00
Peli de Halleux 9c389e290e Bump pxt-core to 0.4.70 2016-10-20 15:09:11 -07:00
Peli de Halleux 4dd26f854c 0.4.59 2016-10-20 12:18:39 -07:00
Peli de Halleux 66444b886c Bump pxt-core to 0.4.69 2016-10-20 12:18:37 -07:00
Peli de Halleux 9ea2081e89 0.5.27 2016-10-20 11:48:48 -07:00
Peli de Halleux 808e5fa17b Bump pxt-core to 0.4.68 2016-10-20 11:48:46 -07:00
Peli de Halleux 20d967a230 removing .ico file 2016-10-20 11:30:04 -07:00
Peli de Halleux c1e5419e45 updated icons 2016-10-20 11:26:44 -07:00
Peli de Halleux 0c01fdb30b adding favicon configuration file 2016-10-20 11:09:34 -07:00
Peli de Halleux 75c2ccdea9 0.4.58 2016-10-20 10:12:33 -07:00
Peli de Halleux 2dff5c1140 Bump pxt-core to 0.4.68 2016-10-20 10:12:31 -07:00
Peli de Halleux 0ab28076f3 removing windows 10 client, updated urls in chrome/macos/uploaders 2016-10-20 10:01:02 -07:00
Peli de Halleux 27f5411404 0.5.26 2016-10-20 08:29:16 -07:00
Peli de Halleux f53eab0539 Bump pxt-core to 0.4.67 2016-10-20 08:29:11 -07:00
Peli de Halleux 8030f27fb7 0.4.57 2016-10-19 22:47:10 -07:00
Peli de Halleux 33c4b2b9b7 Bump pxt-core to 0.4.67 2016-10-19 22:47:07 -07:00
Peli de Halleux 2463faf8d6 updated tracking info 2016-10-19 22:46:44 -07:00
Peli de Halleux 6db78761c4 0.4.56 2016-10-19 16:53:30 -07:00
Peli de Halleux a0893cdaff Bump pxt-core to 0.4.66 2016-10-19 16:53:25 -07:00
Peli de Halleux c6fa997f02 updated docs from codethemicrobit to pxt.microbit.org 2016-10-19 16:49:05 -07:00
Peli de Halleux 76d236e4d9 updated loc files 2016-10-19 10:45:39 -07:00
Matthias L. Jugel 445fe12629 0.5.25 2016-10-19 19:11:13 +02:00
Matthias L. Jugel ddd6e90c6d Merge remote-tracking branch 'origin/master' 2016-10-19 19:08:52 +02:00
Matthias L. Jugel fd14ba6ff1 fix touch pins, add test for buttons and pins, update dependency 2016-10-19 19:08:41 +02:00
Peli de Halleux 28a8f21d40 merging ble changes 2016-10-18 21:55:02 -07:00
Peli de Halleux 0f7323f2da 0.4.55 2016-10-18 21:52:38 -07:00
Peli de Halleux 23d30484d4 updated docs page 2016-10-18 21:52:10 -07:00
Peli de Halleux 6ad59e04a6 fixed uart issues 2016-10-18 21:47:54 -07:00
Peli de Halleux ae5d5c74a7 better support for BLE UART and alignment with serial blocks. (#276)
* aligning uart apis with serial

* reorganizing serial/bluetooth blocks

* Autoupdate configuration for UART. (#279)

* Autoupdate configuration for UART.

* removing serial autoupdates.
2016-10-18 21:36:42 -07:00
Peli de Halleux 3f626105cd 0.5.24 2016-10-18 21:07:02 -07:00
Peli de Halleux d9ff9c4800 Bump pxt-core to 0.4.65 2016-10-18 21:07:00 -07:00
Peli de Halleux 75baca4a97 0.4.54 2016-10-18 21:03:36 -07:00
Peli de Halleux 58ae4945cb Bump pxt-core to 0.4.65 2016-10-18 21:03:34 -07:00
Peli de Halleux fba37d96b2 updated localization help 2016-10-18 13:19:46 -07:00
Peli de Halleux 31998fec05 0.5.23 2016-10-18 13:18:45 -07:00
Peli de Halleux 342aa3ca32 Bump pxt-core to 0.4.63 2016-10-18 13:18:43 -07:00
Peli de Halleux 5eb8704382 0.4.53 2016-10-18 13:18:20 -07:00
Peli de Halleux 81b66664ef Bump pxt-core to 0.4.63 2016-10-18 13:18:19 -07:00
Peli de Halleux 135aaf4855 0.4.52 2016-10-18 09:08:25 -07:00
Matthias L. Jugel 9b599b6242 0.5.22 2016-10-18 16:56:58 +02:00
Matthias L. Jugel e5e63c548f update dal defines 2016-10-18 16:56:42 +02:00
Matthias L. Jugel f3eb9a988f update dependencies 2016-10-18 16:56:15 +02:00
Matthias L. Jugel e7e2ff7752 gesture updates 2016-10-18 16:40:53 +02:00
Matthias L. Jugel f10ac93268 add handling of gestures (we only have 2g, 6g ... no 3g), add mac/idea ignored files 2016-10-18 15:44:49 +02:00
Matthias L. Jugel 47f46553e0 fix name of board 2016-10-18 15:43:52 +02:00
Peli de Halleux 3158e95cde 0.5.21 2016-10-17 21:39:08 -07:00
Peli de Halleux 854029fe33 updated board name 2016-10-17 21:38:58 -07:00
Peli de Halleux 1b379bddd0 0.5.20 2016-10-17 21:35:07 -07:00
Peli de Halleux 9495da9a53 0.5.19 2016-10-17 21:25:11 -07:00
Peli de Halleux 128b3f2f51 Bump pxt-core to 0.4.62 2016-10-17 21:25:08 -07:00
Peli de Halleux 1fbf257619 0.4.51 2016-10-17 21:12:33 -07:00
Peli de Halleux 932c01f394 Bump pxt-core to 0.4.62 2016-10-17 21:12:30 -07:00
Peli de Halleux c3b2b99d7c 0.4.50 2016-10-17 16:45:20 -07:00
Peli de Halleux ec910cb10f Bump pxt-core to 0.4.60 2016-10-17 16:45:17 -07:00
Peli de Halleux a19d1c848b renaming board name 2016-10-17 16:18:04 -07:00
Peli de Halleux a331a017b8 merged microbit changes 2016-10-17 13:36:54 -07:00
Peli de Halleux 790b9f557a renaming translation files 2016-10-17 13:33:27 -07:00
Shigeru KANEMOTO 0b469f69b6 Fix i18n not working after 277d5a7 (#277)
* Fix i18n not working after 277d5a7

The translation strings file in "core" package should have file names
"core-strings.json" or "core-jsdoc-strings.json".

* Enable ja translation

Rename "core-strings.json" to "core-jsdoc-strings.json".
Add new "core-strings.json" as a copy of the template.
Add two lines for the files in "pxt.json".
2016-10-17 11:13:38 -07:00
Peli de Halleux 5cce86ec7e 0.5.18 2016-10-17 10:54:19 -07:00
Peli de Halleux 65e01dc0df Bump pxt-core to 0.4.59 2016-10-17 10:54:17 -07:00
Guillaume Jenkins 1a3c31c9f3 Deploy no longer throws when no drives found (#269)
pxt deploy no longer throws when no drives found
2016-10-17 07:39:29 -07:00
Peli de Halleux 7aeb216462 0.5.17 2016-10-16 20:26:19 -07:00
Peli de Halleux 543659b0e8 specifying pin positions 2016-10-16 20:25:55 -07:00
Peli de Halleux a2b5ff68af 0.5.16 2016-10-16 20:09:30 -07:00
Peli de Halleux b968d3b1de fixing simulator in IE11 2016-10-16 20:09:13 -07:00
Peli de Halleux 4dbebe3e15 fixing logo in IE11 2016-10-16 09:28:30 -07:00
Peli de Halleux 3b95fede48 optimizing logo 2016-10-16 09:19:40 -07:00
Peli de Halleux 5d4bd77bf4 0.4.49 2016-10-14 22:57:42 -07:00
Peli de Halleux c83d7e9f07 Bump pxt-core to 0.4.58 2016-10-14 22:57:35 -07:00
Peli de Halleux 971faed80a 0.5.15 2016-10-14 21:56:38 -07:00
Peli de Halleux 02a58caf7a Bump pxt-core to 0.4.58 2016-10-14 21:56:37 -07:00
Peli de Halleux 912e2e6159 enabling inverted menu 2016-10-14 11:32:00 -07:00
Peli de Halleux efee05c7f5 0.4.48 2016-10-14 11:30:47 -07:00
Peli de Halleux cc9ab86181 Bump pxt-core to 0.4.57 2016-10-14 11:30:41 -07:00
Peli de Halleux e834ae0656 0.5.14 2016-10-14 08:04:04 -07:00
Peli de Halleux 175923fcb9 updated logos 2016-10-14 08:00:34 -07:00
Peli de Halleux 42ebdde3df 0.5.13 2016-10-14 07:48:36 -07:00
Peli de Halleux 20c63359af hiding microsoft logo 2016-10-14 07:48:23 -07:00
Peli de Halleux 841f3dc7d6 0.5.12 2016-10-14 07:35:12 -07:00
Peli de Halleux f7377f6a21 Bump pxt-core to 0.4.57 2016-10-14 07:35:09 -07:00
Peli de Halleux 1104ab5b33 updated logos 2016-10-14 07:21:50 -07:00
Peli de Halleux e2fe660012 towards pin placement 2016-10-14 06:46:56 -07:00
Peli de Halleux 7d4b800637 identifying and naming pins 2016-10-13 23:53:24 -07:00
Peli de Halleux ef8d7185ee adding lessons to create circuit using aluminium foil 2016-10-13 12:52:47 -07:00
Sam El-Husseini b0392da8b1 Fix indentation of showLeds in a couple of projects. 2016-10-13 11:32:25 -07:00
Sam El-Husseini c817f9e3ff re-enabling sharing after bug in share-editor has been fixed. 2016-10-13 10:55:52 -07:00
Peli de Halleux 746728759d setting default locale to German 2016-10-13 10:21:56 -07:00
Peli de Halleux 3d3b9e2718 Bump pxt-core to 0.4.56 2016-10-13 10:06:10 -07:00
Matthias L. Jugel 0459cd693d 0.5.11 2016-10-13 16:58:33 +02:00
Matthias L. Jugel 9c43714126 fix dependency 2016-10-13 16:58:14 +02:00
Matthias L. Jugel 9bf7459628 0.5.10 2016-10-13 16:30:38 +02:00
Matthias L. Jugel b52432e103 update dependency 2016-10-13 16:26:30 +02:00
Matthias L. Jugel 3ac0a060dd added pin mapping 2016-10-13 11:16:10 +02:00
Peli de Halleux 85ebbb28e3 0.5.9 2016-10-12 23:52:47 -07:00
Peli de Halleux f69db3faf7 Bump pxt-core to 0.4.55 2016-10-12 23:52:45 -07:00
Peli de Halleux 5f78f98f94 0.4.47 2016-10-12 23:52:11 -07:00
Peli de Halleux 395b6184b9 Bump pxt-core to 0.4.55 2016-10-12 23:52:09 -07:00
Peli de Halleux 4fc514e643 updated screen rendering 2016-10-12 23:40:33 -07:00
Peli de Halleux 7c2512e56b fixing thermometer 2016-10-12 23:30:19 -07:00
Peli de Halleux d9eebf4a9f support for light level / thermometer simulation 2016-10-12 23:14:38 -07:00
Peli de Halleux 8af383ec56 updated svg layout 2016-10-12 22:44:05 -07:00
Matthias L. Jugel 573d7aff40 add svg with pins and connectors id-ed 2016-10-12 23:07:55 +02:00
Matthias L. Jugel f73274803c 0.5.8 2016-10-12 18:57:05 +02:00
Matthias L. Jugel 63556ef14a update dependency 2016-10-12 18:56:51 +02:00
Matthias L. Jugel 9607183587 0.5.7 2016-10-12 18:02:23 +02:00
Matthias L. Jugel 4cca961e52 latest version with RGB led support 2016-10-12 18:02:16 +02:00
Matthias L. Jugel c2a1668d55 Merge remote-tracking branch 'origin/master' 2016-10-12 17:54:39 +02:00
Matthias L. Jugel 7102eddc0b add color handling for LED 2016-10-12 17:54:25 +02:00
Peli de Halleux b34884fe00 updated readme 2016-10-12 08:13:15 -07:00
Peli de Halleux e768a4dc97 updated links 2016-10-12 08:11:05 -07:00
Peli de Halleux 8b1b1bb869 0.5.6 2016-10-12 04:50:08 -07:00
Peli de Halleux 57deb1749f Bump pxt-core to 0.4.54 2016-10-12 04:50:06 -07:00
Peli de Halleux 3274964a11 0.4.46 2016-10-12 04:49:42 -07:00
Peli de Halleux f5e8b35df4 Bump pxt-core to 0.4.54 2016-10-12 04:49:40 -07:00
Peli de Halleux fb82b94f69 0.5.5 2016-10-12 04:03:19 -07:00
Peli de Halleux d321170da9 Bump pxt-core to 0.4.53 2016-10-12 04:03:17 -07:00
Peli de Halleux 996073728c 0.4.45 2016-10-12 04:02:55 -07:00
Peli de Halleux 1e964ba1ea Bump pxt-core to 0.4.53 2016-10-12 04:02:53 -07:00
Peli de Halleux dff4f3adb3 basic motor block support 2016-10-11 22:58:53 -07:00
Peli de Halleux 5d8a1b69f6 0.5.4 2016-10-11 19:42:10 -07:00
Peli de Halleux 0b0c2c9466 merged latest pxt 2016-10-11 19:41:59 -07:00
Peli de Halleux 895a099ebf 0.4.44 2016-10-11 19:36:36 -07:00
Peli de Halleux f7ed06108d Inputorg (#275)
* use typescript from workspace

* fixed tracking in localhost

* updated ordering of input/radio
2016-10-11 19:36:00 -07:00
Peli de Halleux 0ffccdca85 Bump pxt-core to 0.4.52 2016-10-11 17:51:09 -07:00
Richard Knoll 9f5ebdfb78 Adding advanced attribute to blocks and categories (#273) 2016-10-11 13:48:25 -07:00
Peli de Halleux 9319f10430 0.5.3 2016-10-11 11:43:38 -07:00
Peli de Halleux c4787e1028 support for rgb led in simulator 2016-10-11 11:41:51 -07:00
Peli de Halleux cb280af783 fix json in libs/hello 2016-10-11 10:13:30 -07:00
Sam El-Husseini 6e64e80c05 Revert "re-enabling sharing after bug has been fixed"
This reverts commit dde16fec14.
2016-10-11 09:37:53 -07:00
Peli de Halleux 4201cb3070 0.5.2 2016-10-11 09:34:26 -07:00
Sam El-Husseini dde16fec14 re-enabling sharing after bug has been fixed 2016-10-11 09:29:44 -07:00
Peli de Halleux ec7bade8f4 missed file in previous move 2016-10-11 09:21:24 -07:00
Peli de Halleux d738d8bbf5 0.5.1 2016-10-11 09:14:47 -07:00
Peli de Halleux a8b1e0bc04 bumping version number 2016-10-11 09:14:32 -07:00
Peli de Halleux 114b7958bc 0.4.32 2016-10-11 09:13:05 -07:00
Peli de Halleux f45ae5950c 0.4.31 2016-10-11 09:09:25 -07:00
Peli de Halleux 4cdfaf06c0 0.4.30 2016-10-11 09:08:41 -07:00
Peli de Halleux d48404eb37 integrated pxt-microbit 2016-10-11 09:08:31 -07:00
Peli de Halleux f4ac599ec2 Bump pxt-core to 0.4.51 2016-10-11 09:05:10 -07:00
thinkberg a783cdda92 0.4.29 2016-10-11 13:33:35 +02:00
thinkberg 5900c8c9f5 update dependency 2016-10-11 13:32:42 +02:00
Peli de Halleux e1e8eab93f 0.4.43 2016-10-10 22:10:45 -07:00
Peli de Halleux dface9083f Bump pxt-core to 0.4.51 2016-10-10 22:10:43 -07:00
Sam El-Husseini 31d4afc897 0.4.42 2016-10-10 17:45:43 -07:00
Sam El-Husseini 8427e89eb6 updating to pxt 0.4.50 2016-10-10 16:31:47 -07:00
Sam El-Husseini 277d5a721c rename "microbit" package to "core" #414 (#270)
* rename "microbit" package to "core" #414

* shouldn't edit the package id.

* updating package.json

* updated the wrong version

* missed updating pxt.json of tests
2016-10-10 16:21:50 -07:00
Peli de Halleux 3911c6522d integrate pxt-microbit changes 2016-10-10 14:43:33 -07:00
Peli de Halleux 00cdb6f9f5 0.4.28 2016-10-10 13:35:54 -07:00
Peli de Halleux df14445320 updated travis file 2016-10-10 13:34:24 -07:00
Peli de Halleux 553b692a9a 0.4.27 2016-10-10 13:19:17 -07:00
Peli de Halleux 7f2fd0dd09 positioning systemled 2016-10-10 13:16:39 -07:00
Peli de Halleux ae6917c7b3 0.4.26 2016-10-10 13:03:20 -07:00
Peli de Halleux 5c1d9a342b updated to core v0.5.4 2016-10-10 13:03:08 -07:00
Peli de Halleux d41724d239 0.4.25 2016-10-10 12:58:42 -07:00
Peli de Halleux d6a006d18f Bump pxt-core to 0.4.48 2016-10-10 11:25:24 -07:00
Peli de Halleux cace68acf4 updated hello sample 2016-10-10 11:20:25 -07:00
Peli de Halleux 80131f2928 updated tilt tempo video 2016-10-10 11:04:00 -07:00
Peli de Halleux 51bd8d57aa updated raspbian docs 2016-10-09 21:50:13 -07:00
Matthias L. Jugel 68ef7c2fc2 fix initialization of Accelerometer (delayed in uBit.init()), enable DAL debugging 2016-10-08 15:15:01 +02:00
Matthias L. Jugel 4c502f0825 bump pxt-calliope-core dependency 2016-10-08 12:23:29 +02:00
Peli de Halleux acd974b964 0.4.41 2016-10-07 18:20:56 -07:00
Peli de Halleux 04e0529610 disabling embed 2016-10-07 18:20:42 -07:00
Peli de Halleux ee3f2e6470 0.4.40 2016-10-07 14:46:24 -07:00
Peli de Halleux 29a4f3cf69 Bump pxt-core to 0.4.48 2016-10-07 14:46:22 -07:00
Michal Moskal a2f1cef9ae Merge branch 'master' of github.com:Microsoft/pxt-calliope 2016-10-07 11:39:31 -07:00
Matthias L. Jugel e857a94e04 0.4.24 2016-10-07 18:48:34 +02:00
Peli de Halleux 5649495a28 0.4.39 2016-10-07 09:22:29 -07:00
Peli de Halleux a8a9d7dcf0 Bump pxt-core to 0.4.47 2016-10-07 09:22:27 -07:00
Peli de Halleux 09d7ebaf78 storing target id, version if available 2016-10-07 09:19:14 -07:00
Peli de Halleux 5c6b4c454b 0.4.38 2016-10-07 02:53:34 -07:00
Peli de Halleux 7e1408fc12 Bump pxt-core to 0.4.46 2016-10-07 02:53:32 -07:00
Peli de Halleux 09dc67717c added nickname / github search flag 2016-10-07 02:53:18 -07:00
Peli de Halleux 20dcd5ce34 0.4.37 2016-10-05 17:17:12 -07:00
Peli de Halleux e092961b5b Bump pxt-core to 0.4.45 2016-10-05 17:17:11 -07:00
Peli de Halleux 28044af979 merge 2016-10-05 17:16:58 -07:00
Peli de Halleux a9ba0a8f90 adding sharing flags 2016-10-05 17:14:49 -07:00
Sam El-Husseini 871694f99f 0.4.36 2016-10-05 15:17:45 -07:00
Sam El-Husseini 8f6c81cd53 Bump pxt-core to 0.4.44 2016-10-05 15:17:44 -07:00
Sam El-Husseini c819b815c4 adding sharing flag to pxtarget.json 2016-10-05 15:17:16 -07:00
Michal Moskal a714970344 0.4.35 2016-10-04 08:42:57 -07:00
Michal Moskal 77df714a08 Bump pxt-core to 0.4.42 2016-10-04 08:42:57 -07:00
Michal Moskal 693a6ba8a9 Remove 3 converter tests with overflowing numbers 2016-10-04 08:20:30 -07:00
Peli de Halleux 5a8122bc8a 0.4.34 2016-10-03 22:35:53 -07:00
Peli de Halleux c382fc5050 Bump pxt-core to 0.4.41 2016-10-03 22:35:51 -07:00
Peli de Halleux d69a82d167 updated telegraph project 2016-10-03 22:32:27 -07:00
Peli de Halleux a30ca46fef merging changes 2016-10-03 22:23:01 -07:00
Peli de Halleux a56226c08d updated hack-your-headphone lesson 2016-10-03 22:21:36 -07:00
Peli de Halleux 87d34ba030 restructed banana lesson 2016-10-03 19:07:54 -07:00
Peli de Halleux 091917b765 removed linking between projects 2016-10-03 18:55:09 -07:00
Peli de Halleux 42a93a1682 updated accent color 2016-10-03 18:54:07 -07:00
Richard Knoll aea09c1830 Minor fixes to guitar demo 2016-10-03 16:37:46 -07:00
Guillaume Jenkins 5e9eec61c5 Reject promise when deploy to board fails (#267)
* Reject promise when deploy to board fails

* Change var to let
2016-10-03 15:26:41 -07:00
Peli de Halleux a34f765681 adding guitar to project list 2016-10-03 15:18:20 -07:00
Peli de Halleux 2ae78fe6b8 Updated guitar lessons (#268)
* initial notes

* updated code samples

* splitting the page and preparing layout

* missing gamepad api

* added basic guitar activty md files

added initial draft of guitar lesson - in progress

* word smithing and adding detail for concepts listed

* word smithing and adding detail for concepts listed

* typo in file name

* missing macro

* replaced guitar.png with image from Julia Carlson

* adding a few pictures

* adding cards macros

* few tweaks

* image for accellerometer lesson xyz axis

* fixed the numbering buttons page
-fixed the numbering to restart for each section and asdded spaces after so they don't wrap

* adding a few video links

* pin-press - added circuit info

* more vids

* fixing latest commit

* edits to light sensor and pin-press

* updated descriptions, linking lesson

* pin-press and display-buttons updates
-added dode samples to pin press

* updated making video

* light-sensor updated numbering

* Clean up
Clean up of headings to template style, other fixes

* putting display in template
use h2 with "Step 1:" and image before text

* removed numbered lists for display & light
these topics are code complete

* more consistent formating
Acceleromenter, buttons, light sensosr

* Acceleration Lesson, added art
Lesson steps for Acceleration, art for degree F to C for Map anology+clean up of light sensor topic

* Pin Press code complete
some other basic fomats and edits

* Removed dashes in lesson names
renamed and fixed references to files with "-" in names

* rest of fles w/ dash in name changes

* fixed links to guitar activities

* updated acceleraomter section

* transparency 4 art, image text
added transarency and renamed art, added descriptive text for video and still images

* renamed art

* fixing the merge

* fixing hint

* moved step 2 outside ~hint block

* fixing snippets

* remove guitar from project list

* Duration/Materials consistent  format
moved out of ~avatar block
2016-10-03 14:59:58 -07:00
Michal Moskal e983c76e2f Remove unneeded tests 2016-10-03 11:15:49 -07:00
Peli de Halleux ced4565d5c 0.4.23 2016-10-01 15:52:41 -07:00
Peli de Halleux 2475058b94 0.4.22 2016-10-01 15:45:43 -07:00
Peli de Halleux c6ee0db81c Bump pxt-core to 0.4.39 2016-10-01 15:45:41 -07:00
Matthias L. Jugel 1b96e6332a 0.4.21 2016-10-01 21:02:36 +02:00
Matthias L. Jugel 1ceec1d3b4 0.4.20 2016-10-01 20:59:44 +02:00
Matthias L. Jugel 2e9ddb48df 0.4.19 2016-10-01 20:58:45 +02:00
Peli de Halleux 33207f33e5 0.4.33 2016-09-30 22:08:18 -07:00
Peli de Halleux a487e102ef Bump pxt-core to 0.4.39 2016-09-30 22:08:16 -07:00
Peli de Halleux a6ffa99ceb 0.4.32 2016-09-30 21:51:56 -07:00
Peli de Halleux d2aa02c259 Bump pxt-core to 0.4.37 2016-09-30 21:51:54 -07:00
Peli de Halleux 563d76b90a 0.4.31 2016-09-30 10:56:30 -07:00
Peli de Halleux b433585403 disable persistence of cookies 2016-09-30 10:56:11 -07:00
Peli de Halleux 576f37171a 0.4.30 2016-09-30 08:29:54 -07:00
Peli de Halleux 0bd92a433d Bump pxt-core to 0.4.36 2016-09-30 08:29:52 -07:00
Peli de Halleux 2d5f3421ba updated docs page tracking 2016-09-30 08:29:44 -07:00
Peli de Halleux 7956c6e6a1 disable persistence when initializig mix panel 2016-09-30 08:14:13 -07:00
Peli de Halleux 1f7a56a451 0.4.29 2016-09-29 22:46:54 -07:00
Peli de Halleux 0ea4583b20 fix typo in tracking 2016-09-29 22:45:55 -07:00
Peli de Halleux 4bccb435f7 0.4.28 2016-09-29 22:35:06 -07:00
Peli de Halleux 749c2111d2 disaable user-voice, disable cookies in mixpanel 2016-09-29 22:31:10 -07:00
Peli de Halleux 96991447f8 0.4.27 2016-09-29 22:15:19 -07:00
Peli de Halleux 22f36a623b Bump pxt-core to 0.4.35 2016-09-29 22:15:17 -07:00
Peli de Halleux 8a47793f48 reorg lesson 2016-09-29 22:15:04 -07:00
Peli de Halleux 2296220ad7 updated logos 2016-09-29 16:23:37 -07:00
Peli de Halleux 22864bd26a pointing to cloud compile service 2016-09-29 16:13:33 -07:00
Peli de Halleux 574a9e01d5 updating pinmap 2016-09-29 15:25:57 -07:00
Peli de Halleux 00278036a4 fixing pin mapping 2016-09-29 15:20:45 -07:00
Peli de Halleux 5cfedf7343 0.4.26 2016-09-29 08:32:27 -07:00
Peli de Halleux 13383e6232 adding sketeches 2016-09-29 08:32:15 -07:00
Peli de Halleux 165cd0c67e Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-29 08:16:14 -07:00
Peli de Halleux 9c8886116e fix for microsoft/pxt#396 2016-09-29 08:15:58 -07:00
Michal Moskal fc495b928e Implement getPinAddress in simulator 2016-09-29 10:47:50 +01:00
Peli de Halleux 17644d4947 0.4.25 2016-09-28 22:36:26 -07:00
Peli de Halleux 068ea80a45 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-28 22:36:04 -07:00
Peli de Halleux 7a86bbd6b9 Timingate (#265)
* draft lesson

* basic timing gates lesson
2016-09-28 22:35:53 -07:00
Peli de Halleux 78fffe0e01 typos 2016-09-28 19:24:43 -07:00
Peli de Halleux 7bf1a29c83 0.4.24 2016-09-28 18:08:18 -07:00
Peli de Halleux 446ef4d7b7 Bump pxt-core to 0.4.33 2016-09-28 18:08:14 -07:00
Sam El-Husseini ca3e3a43a5 0.4.23 2016-09-28 17:05:17 -07:00
Peli de Halleux 2225be7af1 added org info 2016-09-28 15:25:58 -07:00
Peli de Halleux 1ce863df96 0.4.22 2016-09-28 11:55:00 -07:00
Peli de Halleux 68ae9864a9 Bump pxt-core to 0.4.32 2016-09-28 11:54:57 -07:00
Peli de Halleux 8cd670b22a 0.4.21 2016-09-28 00:29:43 -07:00
Peli de Halleux a36038a048 Bump pxt-core to 0.4.30 2016-09-28 00:29:39 -07:00
Peli de Halleux 9d4b31fe4d updated share docs 2016-09-28 00:29:27 -07:00
Sam El-Husseini 3ea6d1e6bb 0.4.20 2016-09-27 18:11:07 -07:00
Sam El-Husseini 1698c4a012 Bump pxt-core to 0.4.27 2016-09-27 18:11:06 -07:00
Peli de Halleux 4b583e221b limited support for RGB led 2016-09-27 13:35:48 -07:00
Peli de Halleux c88645d0cd support for AB / Shake buttons 2016-09-27 11:00:21 -07:00
Peli de Halleux 14e8eabd25 updated simulator ratio, domain names 2016-09-27 09:35:52 -07:00
Peli de Halleux 5fab789763 merging microbit 2016-09-26 22:00:04 -07:00
Peli de Halleux 2c39e249f9 New guitar project (#264) 2016-09-26 21:55:39 -07:00
Peli de Halleux c486a9db94 0.4.19 2016-09-26 16:31:02 -07:00
Peli de Halleux 816438fa79 Bump pxt-core to 0.4.26 2016-09-26 16:30:58 -07:00
Peli de Halleux 33eca3c507 tweaked colors 2016-09-26 15:10:37 -07:00
Peli de Halleux 9ccfcf19d9 initial round of visual updates 2016-09-26 15:05:06 -07:00
Peli de Halleux 5edd06c9b9 migrating instruction generation logic to pxt 2016-09-26 13:26:43 -07:00
Brahma Giri Abhijith Chatra a114dc32e7 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-26 10:00:13 -07:00
Abhijith 019bc34d90 Fixing hover text /help window for blocks are not correct 2016-09-26 09:59:52 -07:00
Richard Knoll 0676d780ab Fixing beat fraction typo (#263) 2016-09-23 22:27:57 -07:00
Richard Knoll 96e23d99b2 Merge pull request #261 from Microsoft/note_fix
Add annotation to Note.C in music enum
2016-09-23 12:56:41 -07:00
Richard Knoll 15b1f95394 Add annotation to Note.C in music enum 2016-09-22 14:36:37 -07:00
Peli de Halleux 552b0d8165 0.4.18 2016-09-22 03:56:03 -07:00
Thomas Denney faed492a87 Embed docs (#259)
* Generic instructions for embedding

* Wordpress instructions, update Markdown instructions

* Blogger instructions

* Squarespace instructions

* Google sites info

* Sway restrictions

* Correct order
2016-09-22 03:50:59 -07:00
Thomas Denney 0ce1738653 Remove comment re Safari in private mode 2016-09-22 09:27:46 +01:00
Peli de Halleux f5cabe6e94 0.4.17 2016-09-21 22:30:10 -07:00
Peli de Halleux f2e7a640f1 Bump pxt-core to 0.4.25 2016-09-21 22:30:08 -07:00
Peli de Halleux 7fb057af66 0.4.16 2016-09-21 22:14:40 -07:00
Peli de Halleux c0b9329401 Bump pxt-core to 0.4.24 2016-09-21 22:14:33 -07:00
Brahma Giri Abhijith Chatra c04ddbb459 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-21 16:34:06 -07:00
Abhijith 4aac4ef92d Fixing hero lesson 2016-09-21 16:31:03 -07:00
Peli de Halleux 979b2b892a avoid name collision (embed.md => share.md) 2016-09-21 15:01:43 -07:00
Peli de Halleux 4c3f9910f7 0.4.15 2016-09-21 10:55:54 -07:00
Peli de Halleux 9aef584966 Bump pxt-core to 0.4.21 2016-09-21 10:55:52 -07:00
Peli de Halleux e62d15ba85 Embed docs (#257)
* embed docs

* adding embed docs
2016-09-21 10:15:59 -07:00
Thomas Denney adf97d9b5c Add information about Safari being unsupported in private browsing mode 2016-09-21 11:23:43 +01:00
Peli de Halleux 2bb6c6ae27 0.4.14 2016-09-20 22:56:14 -07:00
Peli de Halleux 0919eff0c5 Bump pxt-core to 0.4.18 2016-09-20 22:56:12 -07:00
Peli de Halleux e31279938b 0.4.13 2016-09-20 22:13:15 -07:00
Peli de Halleux 2655843b74 Bump pxt-core to 0.4.17 2016-09-20 22:13:08 -07:00
Thomas Denney 527d323ea7 New electron client (#256) 2016-09-20 22:02:18 -07:00
Thomas Denney 5d40a48477 Merge pull request #255 from Microsoft/browser-versions
More detailed information about which browser versions are supported
2016-09-20 11:54:59 +01:00
Peli de Halleux 850fb54f52 missing shims for devices namespace 2016-09-19 09:49:58 -07:00
Thomas Denney 6bb35c1a72 More detailed information about which browser versions are supported 2016-09-19 09:31:03 +01:00
Peli de Halleux 6569231ba6 0.4.12 2016-09-16 00:05:53 -07:00
Peli de Halleux a3a1c8a480 Bump pxt-core to 0.4.15 2016-09-16 00:05:51 -07:00
Peli de Halleux c90dfaa6e7 added headphone part 2016-09-15 23:50:52 -07:00
Peli de Halleux 02cd0e1da3 remove "receivednumberat" from blocks 2016-09-15 23:49:50 -07:00
Peli de Halleux 0f9dde0c4e convert event source/value into TD_ID shims 2016-09-15 23:49:14 -07:00
Peli de Halleux 1e0cd48316 updated docs 2016-09-15 11:04:45 -07:00
Peli de Halleux d959282c68 0.4.11 2016-09-15 10:50:25 -07:00
Peli de Halleux d513ad7713 Bump pxt-core to 0.4.13 2016-09-15 10:50:23 -07:00
Peli de Halleux b7da28285e adding stubs for bluetooth functions 2016-09-15 09:40:58 -07:00
Peli de Halleux dbaf406703 splitted usb transfer instructions 2016-09-15 08:35:01 -07:00
Peli de Halleux 2cb467f22b 0.4.10 2016-09-15 07:26:32 -07:00
Peli de Halleux 9585e2276d Bump pxt-core to 0.4.12 2016-09-15 07:26:29 -07:00
Thomas Denney a591d9f072 Release build of Mac client 2016-09-15 09:25:33 +01:00
Thomas Denney 471a30ca3d Minimise memory usage in Mac app directory watcher 2016-09-15 09:24:09 +01:00
Thomas Denney 205b94afe8 Launch editor menu item in Mac app 2016-09-15 09:23:48 +01:00
Thomas Denney 18caf554e9 Use micro:bit image for Mac app icon
I’m continuing to use the same menu bar image, as usually these are black and white on OS X, compared to coloured images being common on the Windows task bar.
2016-09-15 09:17:54 +01:00
Thomas Denney 67cdf16fe4 Remove redundant values from MainMenu.xib
A small section of this file is still required to build and run the app (it contains metadata that declares that AppDelegate.m is the main implementation, for example).
2016-09-15 08:51:49 +01:00
Peli de Halleux bdbe8371dd 0.4.9 2016-09-14 22:50:29 -07:00
Peli de Halleux 21a36eb9ee fixing broken image paths 2016-09-14 22:43:59 -07:00
Peli de Halleux 376b20b035 0.4.8 2016-09-14 22:28:23 -07:00
Peli de Halleux 7ce41b52aa fixing path in docs 2016-09-14 22:28:05 -07:00
Peli de Halleux 46f7831e7c 0.4.7 2016-09-14 22:21:00 -07:00
Peli de Halleux dda29a5cb6 Bump pxt-core to 0.4.11 2016-09-14 22:20:58 -07:00
Peli de Halleux 6e4f4595a2 updated usb images 2016-09-14 22:18:01 -07:00
Peli de Halleux cdbe1e513b 0.4.6 2016-09-14 20:38:49 -07:00
Peli de Halleux ae15c9a656 Bump pxt-core to 0.4.9 2016-09-14 20:38:47 -07:00
Peli de Halleux d993ff3a9d 0.4.5 2016-09-14 11:33:54 -07:00
Thomas Denney 13785a2438 OS X uploader (#252)
* Source for OS X uploader

* Readme for OS X uploader

* Export image

* .gitignore for Xcode project

* Remove redundant data

* Update readme instructions

* List formatting

* Remove personal copyright notice added by Xcode

* Added release build and updated readme

* point to doc cdn
2016-09-14 11:33:11 -07:00
Peli de Halleux 4dfb77fcd7 0.4.4 2016-09-14 08:16:32 -07:00
Peli de Halleux 70deffb665 Bump pxt-core to 0.4.8 2016-09-14 08:16:29 -07:00
Peli de Halleux 41a148de28 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-14 08:14:41 -07:00
Peli de Halleux 886e071d7f updated about to link to docs 2016-09-14 08:14:04 -07:00
Peli de Halleux 8a58d664c3 adding clear image in stopanimation 2016-09-14 07:54:35 -07:00
Michal Moskal 71d1155f21 Add file forgotten in 50473255a8 2016-09-14 12:31:52 +03:00
Peli de Halleux 167c1d8fce loading board definition from pxtarget.json 2016-09-13 15:32:12 -07:00
Peli de Halleux e59ae37954 moving neopixel state to pxt 2016-09-13 13:09:02 -07:00
Peli de Halleux 72a621ec8b mvoing edge connector to pxt 2016-09-13 12:48:07 -07:00
Peli de Halleux d6ff930333 fix capitalized file names 2016-09-13 10:36:25 -07:00
Thomas Denney 54a7ac81ea Recommended browser documentation (#251)
* Documentation page for unsupported browsers

* Update unsupported documentation with mac info

* Blur irrelevant information in version screenshots

* Rename to Peli's suggested path

* Browser recommendation for each platform
2016-09-13 10:33:06 -07:00
Peli de Halleux e5d985dbf1 moving boardhost to pxt 2016-09-13 09:59:34 -07:00
Peli de Halleux 9db91d89d6 refactor part global lists 2016-09-13 09:44:58 -07:00
Peli de Halleux 1fa9bf12d5 refactoring dalboard 2016-09-12 21:29:55 -07:00
Peli de Halleux 61bab257eb 0.4.3 2016-09-12 11:45:22 -07:00
Peli de Halleux 2e90b351da updated other download picture 2016-09-12 11:33:16 -07:00
Peli de Halleux 801bd6c7a0 udpated download pictures 2016-09-12 11:30:12 -07:00
Peli de Halleux 777ba40899 0.4.2 2016-09-12 11:19:41 -07:00
Peli de Halleux 0d11c16ecf Bump pxt-core to 0.4.3 2016-09-12 11:19:39 -07:00
Peli de Halleux 9c1628b977 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-12 11:11:12 -07:00
Thomas Denney 953b362b34 Download instructions (#250)
* Images of micro:bit attached t ostuff

* Cropped and enhanced USB images

* Define paths for USB images

* Added new matching criteria for images

* Help URL

* Add paths for all images

* Cropped images so they look better on dialog

* Add link to uploader
2016-09-12 11:10:30 -07:00
Peli de Halleux 8b40850a94 tweaks to neopixel rendering 2016-09-11 21:55:54 -07:00
Michal Moskal fc3a02cc41 0.4.1 2016-09-11 18:07:11 +01:00
Michal Moskal 80f2ff6757 Bump to 0.4 to match pxt-core 2016-09-11 18:07:05 +01:00
Michal Moskal 6f790d167c 0.3.89 2016-09-11 18:06:20 +01:00
Michal Moskal ac7502074a Bump pxt-core to 0.4.2 2016-09-11 18:06:20 +01:00
Michal Moskal 50473255a8 Utylize the new target.css file 2016-09-11 17:51:41 +01:00
Peli de Halleux 910772d54e refacotring various simulator features into pxt 2016-09-09 22:56:26 -07:00
Peli de Halleux 33f12f9ecc 0.3.88 2016-09-09 16:41:31 -07:00
Peli de Halleux 01fa4ef53a Bump pxt-core to 0.3.102 2016-09-09 16:41:14 -07:00
Peli de Halleux 3858b0a0a0 moving wiring to pxt 2016-09-09 15:01:29 -07:00
Peli de Halleux da30afb121 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-09 13:43:45 -07:00
Peli de Halleux 086bcf372f remove dependencies on dal.d.ts 2016-09-09 13:43:41 -07:00
Michal Moskal 236e7337e2 0.3.87 2016-09-09 20:49:21 +01:00
Michal Moskal 4cf223271f Bump pxt-core to 0.3.100 2016-09-09 20:49:21 +01:00
Michal Moskal 10180f4729 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-09-09 20:49:19 +01:00
Michal Moskal 618dd33221 No longer used 2016-09-09 20:33:11 +01:00
Michal Moskal 7356e5e52e New index.html expansion 2016-09-09 20:26:18 +01:00
Peli de Halleux a59d148eb5 0.3.86 2016-09-09 12:23:25 -07:00
Peli de Halleux 34ce687bbd Bump pxt-core to 0.3.98 2016-09-09 12:23:24 -07:00
Michal Moskal 5e241ed566 Use new doc templates 2016-09-09 20:19:52 +01:00
Peli de Halleux dcb2b21e66 removing dal dependency 2016-09-09 11:36:36 -07:00
Peli de Halleux 95669e174a Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-09 09:59:21 -07:00
Peli de Halleux aca7d6113d enable streams in pxtarget 2016-09-09 09:59:07 -07:00
Thomas Denney ef4b06a087 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-09 15:19:58 +01:00
Michal Moskal afa69c23c4 0.3.85 2016-09-09 11:35:45 +01:00
Michal Moskal 8229e71d0a Bump pxt-core to 0.3.97 2016-09-09 11:35:45 +01:00
Michal Moskal 93770e5821 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-09-09 10:17:35 +01:00
Michal Moskal cb8e28beb0 Bump pxt-microbit-core to 0.5.0 2016-09-09 10:17:28 +01:00
Peli de Halleux 8c7e6055ff enabling parts in target 2016-09-09 01:39:52 -07:00
Peli de Halleux 8450db55ac 0.3.84 2016-09-09 01:25:28 -07:00
Daryl Zuniga c63e2c85f1 new part definitions (#247)
* working on new part definitions

* draft of new part definitions

* updates comments

* starting new allocator

* starting from the old allocator

* alloc internals renaming

* alloc minor renaming

* alloc internal renaming

* progress on new parts definition

* progress on new part defs allocator

* refactors BBLoc; progress on new allocator

* more progress on new allocator

* finishing new allocator

* deleting old allocator

* moves new allocator and part definitions

* porting to new part definitions

* refactors instructions for new definitions

* debugging new allocator

* fixes ground and power wire colros

* fixing new part definition bugs

* fixes wire end offsets; fixes NeoPixel placement

* fixes colorGroup issue

* fixes led matrix wiring

* naming tweaks

* fixes instructions regressions

* typo
2016-09-09 01:23:39 -07:00
Peli de Halleux d8fc11a688 0.3.83 2016-09-09 01:20:45 -07:00
Peli de Halleux 847a29848d Bump pxt-core to 0.3.96 2016-09-09 01:20:43 -07:00
Peli de Halleux 39f4372ee5 0.3.82 2016-09-08 23:39:26 -07:00
Peli de Halleux a8bbbea8ed Bump pxt-core to 0.3.95 2016-09-08 23:39:24 -07:00
Peli de Halleux 91a8d05e45 updated loc strings 2016-09-08 23:11:58 -07:00
Peli de Halleux 3ecedd3a32 0.3.81 2016-09-08 01:02:46 -07:00
Peli de Halleux b6390d77dd Bump pxt-core to 0.3.94 2016-09-08 01:02:40 -07:00
Peli de Halleux e8f9e0f023 lighter rendering of breadboard in grayed 2016-09-08 00:54:19 -07:00
Peli de Halleux 2bacb58fdd simpler instructions 2016-09-08 00:46:43 -07:00
Peli de Halleux af8babfea2 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-08 00:03:33 -07:00
Peli de Halleux 1ee6274100 added raspberry-pi instructions 2016-09-08 00:00:07 -07:00
darzu 7448db5b98 makes instruction panels inline-block 2016-09-07 15:00:42 -07:00
Peli de Halleux 983645403b 0.3.80 2016-09-07 11:49:41 -07:00
Peli de Halleux 7a9f382bee Merge pull request #240 from Microsoft/neopixel-improvement
improves neopixel simulator
2016-09-07 11:22:40 -07:00
darzu e59fd8469b improves neopixel simulator 2016-09-07 10:58:44 -07:00
Michal Moskal 008c886de9 0.3.79 2016-09-07 16:51:08 +01:00
Michal Moskal c87fa30738 Bump pxt-core to 0.3.93 2016-09-07 16:51:08 +01:00
Michal Moskal dd9d1299fa Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-09-07 16:27:42 +01:00
Michal Moskal 6a7d1bd95c Support for object literals
bump pxt-microbit-core to 0.4.4
see https://github.com/Microsoft/pxt/issues/287
2016-09-07 16:27:28 +01:00
Thomas Denney dfe270d259 Correct filename of data.csv in radio challenge 2016-09-07 11:32:41 +01:00
Thomas Denney 6deb0683b6 Add GitHub URL property 2016-09-07 10:33:36 +01:00
Sam El-Husseini 0a746f5bbe 0.3.78 2016-09-06 20:41:04 -07:00
Sam El-Husseini 066408c317 Bump pxt-core to 0.3.92 2016-09-06 20:41:02 -07:00
Peli de Halleux 90f7b229d1 0.3.77 2016-09-06 13:41:41 -07:00
Peli de Halleux c54e0b0e9d Bump pxt-core to 0.3.90 2016-09-06 13:41:35 -07:00
Peli de Halleux ea088ac828 renaming docs image files 2016-09-06 13:31:47 -07:00
darzu 29cf4d3e53 uses croc clips in instructions only for micro:bit 2016-09-06 10:52:22 -07:00
Peli de Halleux 6d637eefd7 scaling, cropping,blurring 2016-09-06 10:06:09 -07:00
Peli de Halleux 6310e96ac2 Merge pull request #239 from Microsoft/usb-docs-update
.hex file download and USB transfer docs update
2016-09-06 09:10:06 -07:00
Thomas Denney dbb1e31822 Remove DS_STORE 2016-09-06 10:01:12 +01:00
Thomas Denney 5376bc2dce Rename images, remove redundant images 2016-09-06 09:57:45 +01:00
Thomas Denney 57bd293df8 Move arrow position on doc image 2016-09-06 09:52:17 +01:00
Thomas Denney e570d46755 Rewrite instructions on downloading files to make them more clear 2016-09-06 09:49:08 +01:00
Thomas Denney d37f284fce Added arrows to images and updated instructions 2016-09-06 09:28:20 +01:00
Thomas Denney b716226889 Images for Windows 2016-09-06 09:05:33 +01:00
Peli de Halleux 1bd19cc1a0 support list micro:bit on linux 2016-09-06 00:12:57 -07:00
Sam El-Husseini ac8c9c5e85 Updating editor screenshots in js/cal, fixes #230 2016-09-05 09:04:03 -07:00
Thomas Denney 057260c483 Update OS X Firefox screenshots and instructions 2016-09-05 16:46:56 +01:00
Thomas Denney 568ae32f81 Update screenshot and instructions for OS X Chrome 2016-09-05 16:32:41 +01:00
Thomas Denney ae605ff829 Update OS X file transfer screenshot 2016-09-05 16:22:06 +01:00
Thomas Denney f25ddb1085 OS X screenshot 2016-09-05 15:50:27 +01:00
Michal Moskal f175f973f0 0.3.76 2016-09-05 14:26:24 +01:00
Michal Moskal c7e5fa490e Bump pxt-core to 0.3.87 2016-09-05 14:26:24 +01:00
Michal Moskal 61a29f7c67 Always diplay sad face on errors; use nullCheck() function; see https://github.com/Microsoft/pxt/issues/302 2016-09-05 14:26:07 +01:00
Peli de Halleux 50293fc654 don't repace spaces 2016-09-02 21:38:22 -07:00
Peli de Halleux a9ecadaf09 Merge pull request #238 from Microsoft/power-usage
Direct power wires for single usages
2016-09-02 21:13:15 -07:00
darzu 6e56107eb5 Merge branch 'master' into power-usage 2016-09-02 16:12:48 -07:00
darzu 1f077beb65 directly wires power if there is single usage 2016-09-02 16:11:58 -07:00
Peli de Halleux 8fff762156 removed uwp info 2016-09-02 16:08:49 -07:00
Peli de Halleux cebded2526 Merge pull request #237 from Microsoft/power-usage
finer grain power wires based on usage
2016-09-02 16:07:02 -07:00
darzu 13f53d730a fixes instruction steps for finer power usage 2016-09-02 15:43:26 -07:00
darzu 8adcab1cab finer grain power wires based on usage 2016-09-02 15:24:16 -07:00
Peli de Halleux 8cb5f442f9 0.3.75 2016-09-02 12:07:49 -07:00
Peli de Halleux 96448d5237 Bump pxt-core to 0.3.86 2016-09-02 12:07:34 -07:00
Michal Moskal 30f01bb0ac 0.3.74 2016-09-02 17:32:54 +01:00
Michal Moskal 3d0b397de2 Bump pxt-core to 0.3.85 2016-09-02 17:32:54 +01:00
Michal Moskal e0de55d689 Add pxtrt::runtimeWarning() support; see https://github.com/Microsoft/pxt/issues/31 2016-09-02 17:29:40 +01:00
Michal Moskal 7637a98f07 0.3.73 2016-09-02 16:54:27 +01:00
Michal Moskal 95f94e0886 Bump pxt-core to 0.3.84 2016-09-02 16:54:26 +01:00
Michal Moskal 9a2367cf8e Add dummy implementations for some bluetooth functions to avoid crashes 2016-09-02 16:03:55 +01:00
Peli de Halleux 15fecb77c4 0.3.72 2016-09-01 23:23:16 -07:00
Peli de Halleux 4f69bbabfb Bump pxt-core to 0.3.82 2016-09-01 23:23:13 -07:00
Peli de Halleux 8351ed0513 Merge pull request #227 from Microsoft/max6675
adds MAX6675; adds general SPI & I2C support to sim
2016-09-01 22:48:33 -07:00
Peli de Halleux c34b0a1aeb Merge branch 'master' into max6675 2016-09-01 22:48:02 -07:00
Peli de Halleux 9bcd44d7e4 0.3.71 2016-09-01 22:39:31 -07:00
Peli de Halleux 3403da8ce8 Bump pxt-core to 0.3.81 2016-09-01 22:39:27 -07:00
Peli de Halleux 39c146329f perf optimization 2016-09-01 22:18:36 -07:00
Peli de Halleux 8d0d0a7e9a 0.3.70 2016-09-01 22:00:15 -07:00
Peli de Halleux 61b3783dd4 Bump pxt-core to 0.3.80 2016-09-01 22:00:13 -07:00
Peli de Halleux da16428842 merging master 2016-09-01 21:12:03 -07:00
darzu 359c456577 adds full-page instruction printing 2016-09-01 19:07:01 -07:00
Peli de Halleux b3d9c167e1 0.3.69 2016-09-01 17:13:25 -07:00
Peli de Halleux 78398b220f Bump pxt-core to 0.3.79 2016-09-01 17:13:24 -07:00
Peli de Halleux a656fbbd7b embedding parts svg files in pxt.json 2016-09-01 16:24:12 -07:00
Peli de Halleux e681cc8c97 added parts to microbit 2016-09-01 15:37:39 -07:00
Peli de Halleux 03beec9c49 0.3.68 2016-09-01 12:13:07 -07:00
Peli de Halleux 1600644be5 Bump pxt-core to 0.3.77 2016-09-01 12:13:06 -07:00
Peli de Halleux a3dd64eb4c Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-01 12:12:48 -07:00
Peli de Halleux b865cce44e embedding neopixel / speaker svgs 2016-09-01 10:56:06 -07:00
darzu dc42900c7f merges with master 2016-09-01 10:08:32 -07:00
darzu dcc3bd95fe ignores max6675 2016-09-01 10:07:11 -07:00
Peli de Halleux 61e63831aa 0.3.67 2016-09-01 09:10:49 -07:00
Peli de Halleux 5651c3b9ba Bump pxt-core to 0.3.76 2016-09-01 09:10:44 -07:00
Peli de Halleux a562557bca Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-01 08:59:31 -07:00
Peli de Halleux d890c05229 moving parts .svg under simulator 2016-09-01 08:57:20 -07:00
Michal Moskal 4340e1f7ed Rename instructions.html to siminstructions.html; fixes #234 2016-09-01 16:47:32 +01:00
Peli de Halleux e2e4c68f85 0.3.66 2016-09-01 08:05:39 -07:00
Peli de Halleux 3f6a3089f1 Bump pxt-core to 0.3.75 2016-09-01 08:05:35 -07:00
Peli de Halleux 84a0c0fe56 0.3.65 2016-09-01 06:59:50 -07:00
Peli de Halleux 5237b86cf5 docs cleanup 2016-09-01 06:49:39 -07:00
Peli de Halleux 473950e491 0.3.64 2016-09-01 05:50:27 -07:00
Peli de Halleux fd33610511 Bump pxt-core to 0.3.74 2016-09-01 05:50:25 -07:00
Peli de Halleux 47ea4e01d2 more docs cleanup 2016-09-01 05:28:27 -07:00
Peli de Halleux 16199cfcea Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-01 05:11:58 -07:00
Peli de Halleux 8a4556e70c Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-01 05:08:35 -07:00
Peli de Halleux bfc2641637 various docs cleanup 2016-09-01 05:08:27 -07:00
Michal Moskal ef7fdc2ef7 Rename pxsim.pxt to pxsim.pxtcore 2016-09-01 13:06:03 +01:00
Michal Moskal a8b427fd89 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-09-01 12:13:54 +01:00
Michal Moskal 79c23e2e2a Bump pxt-microbit-core to 0.4.2 with class support 2016-09-01 12:13:40 +01:00
darzu 4070d4e691 Merge branch 'master' into max6675 2016-08-31 22:41:59 -07:00
darzu 7048156b46 draws small wires for small micro:bit pins 2016-08-31 22:41:30 -07:00
Peli de Halleux c11acce579 0.3.63 2016-08-31 22:30:24 -07:00
Peli de Halleux f79551073e Bump pxt-core to 0.3.72 2016-08-31 22:30:23 -07:00
darzu 232758805b removes "debugger" statement 2016-08-31 21:56:46 -07:00
darzu 211d4e5538 adds max6675 2016-08-31 21:55:55 -07:00
darzu 374d8c590d adds spi and i2c pins 2016-08-31 21:53:48 -07:00
Peli de Halleux c6c133ef9e Merge pull request #225 from Microsoft/generic-part
Adds support for generic parts; fixes generic boards to utilize BoardHost
2016-08-31 20:49:03 -07:00
Peli de Halleux 817e86f5aa Merge branch 'master' into generic-part 2016-08-31 20:44:03 -07:00
darzu 19e33d029d removes dead code 2016-08-31 20:15:59 -07:00
darzu e3671ca809 Merge branch 'arduino' into generic-part 2016-08-31 19:37:57 -07:00
darzu 1f3a2ab6fe adds generic parts to instructions parts list and requirements panels 2016-08-31 19:37:20 -07:00
darzu dad3e89577 adds "extraColumnOffset" for generic parts 2016-08-31 19:28:28 -07:00
Peli de Halleux df9d3c4444 0.3.62 2016-08-31 19:22:39 -07:00
Peli de Halleux edc489c83d Merge pull request #223 from Microsoft/breadboarding
wires, breadboarding, hardware components and Arduino support
2016-08-31 19:17:23 -07:00
Peli de Halleux fb29af8011 Merge branch 'master' into breadboarding 2016-08-31 19:11:03 -07:00
Peli de Halleux 516def7a3f 0.3.61 2016-08-31 19:10:31 -07:00
Peli de Halleux b5cb8deb93 Bump pxt-core to 0.3.71 2016-08-31 19:10:29 -07:00
darzu 658083b4eb removes all experimental boards 2016-08-31 19:03:11 -07:00
darzu 1441129355 adds support for generic components 2016-08-31 19:01:59 -07:00
darzu 2b87b26f00 adds support for arduino zero 2016-08-31 18:03:34 -07:00
Peli de Halleux 741facc769 Merge branch 'master' into breadboarding 2016-08-31 16:47:40 -07:00
Peli de Halleux 41a5bc72a1 0.3.60 2016-08-31 16:47:19 -07:00
Peli de Halleux 9d5e93b879 Bump pxt-core to 0.3.69 2016-08-31 16:47:17 -07:00
Peli de Halleux 32e0cb0fe8 Merge branch 'master' into breadboarding 2016-08-31 16:37:14 -07:00
Peli de Halleux a224259e74 0.3.59 2016-08-31 16:36:35 -07:00
Peli de Halleux c144f3a15d Bump pxt-core to 0.3.68 2016-08-31 16:36:34 -07:00
Peli de Halleux a3fa07463f Merge branch 'master' into breadboarding 2016-08-31 16:24:31 -07:00
Peli de Halleux aa20f2fa4d 0.3.58 2016-08-31 16:24:07 -07:00
Peli de Halleux 4a1399de59 Bump pxt-core to 0.3.67 2016-08-31 16:24:06 -07:00
Peli de Halleux 0b8e5c12c3 merging vnumber 2016-08-31 15:44:11 -07:00
Peli de Halleux 445066776b 0.3.57 2016-08-31 15:42:18 -07:00
Peli de Halleux 6cb204c548 Bump pxt-core to 0.3.66 2016-08-31 15:42:16 -07:00
Peli de Halleux 6ed6a525fd 0.3.56 2016-08-31 15:41:46 -07:00
Peli de Halleux ba6dc9f136 Bump pxt-core to 0.3.66 2016-08-31 15:41:44 -07:00
Peli de Halleux 98bc8d2a27 0.3.56 2016-08-31 15:20:34 -07:00
Peli de Halleux 58d0e238e3 Bump pxt-core to 0.3.65 2016-08-31 15:20:33 -07:00
darzu ae17d4380e re-adds arduino board definitino 2016-08-31 14:55:58 -07:00
darzu f79b726f87 tiny progress on generic part support 2016-08-31 14:48:44 -07:00
Peli de Halleux 0f3c7b8c0f Merge branch 'breadboarding' of https://github.com/Microsoft/pxt-microbit into breadboarding 2016-08-31 14:07:16 -07:00
Peli de Halleux dac6f5af73 specifying packages needed to render blocks 2016-08-31 14:07:10 -07:00
darzu 99fb074952 adds more padding under breadboard 2016-08-31 14:03:25 -07:00
darzu 66ba26586f fixes wire highlighting in instructions 2016-08-31 13:59:20 -07:00
darzu e27c4de108 micro:bit wireframe 2016-08-31 13:39:47 -07:00
darzu f19a110953 Merge branch 'breadboarding' of github.com:Microsoft/pxt-microbit into breadboarding 2016-08-31 11:34:58 -07:00
darzu 626055d3eb fixes microbit board height issue 2016-08-31 11:34:49 -07:00
Peli de Halleux 9085c98c7f merging TD_ID 2016-08-31 11:23:30 -07:00
Peli de Halleux 85e3148f23 Merge branch 'breadboarding' of https://github.com/Microsoft/pxt-microbit into breadboarding 2016-08-31 11:22:38 -07:00
Peli de Halleux 60f8dd8228 annotating note with TD_ID 2016-08-31 11:22:07 -07:00
darzu c2e37a2c6e refactoring instructions to work with boardHost 2016-08-31 11:14:16 -07:00
Peli de Halleux b4ad4819a5 adding additional built-in parts 2016-08-31 08:46:44 -07:00
Peli de Halleux d9f2c7cc42 don't show text cursor on labels 2016-08-31 05:31:09 -07:00
Peli de Halleux 15638d2767 don't use 'let' in .html files 2016-08-31 04:55:26 -07:00
Peli de Halleux 5ecd20583b Merge branch 'master' into breadboarding 2016-08-30 21:41:17 -07:00
Peli de Halleux 4c27d62796 removing external boards 2016-08-30 21:15:27 -07:00
Peli de Halleux 90da72a8de support for resizing simulator based on usage of parts 2016-08-30 17:18:03 -07:00
darzu 8f50beb938 adds new custom NeoPixel svg 2016-08-30 15:59:02 -07:00
darzu 52527dd584 fixes micro:bit + breadboard sim size issue 2016-08-30 15:33:57 -07:00
darzu fc0faf5181 removes unused m:b params 2016-08-30 14:17:17 -07:00
darzu cd9589e562 adds "boardhost" to handle composition of ...
... breadboard, board, wires, and definition allocation.
2016-08-30 14:13:44 -07:00
Peli de Halleux a34bcee7a2 added simulator 2016-08-30 13:39:31 -07:00
Peli de Halleux d011cdb37e updated cli / vscode docs 2016-08-30 13:34:05 -07:00
darzu af7c51b954 renames state -> board 2016-08-30 12:42:30 -07:00
darzu a65e71f3b1 moves all of pxt-arduino breadboarding here...
... see pxt-arduino history starting here: https://github.com/Microsoft/pxt-arduino/commit/acd49bb79512b95e8c65182ae94f3548494238ab
2016-08-30 11:55:00 -07:00
darzu 89e899cc79 splits m:b simulator state 2016-08-30 11:51:32 -07:00
Peli de Halleux b37e823b57 0.3.55 2016-08-30 11:35:31 -07:00
Peli de Halleux 8cb31daa48 Adding CLI pointer 2016-08-30 11:35:16 -07:00
darzu a984778dfd renames simsvg and libmbit 2016-08-30 11:27:29 -07:00
darzu 008cbf543f adds "speaker" parts annotation 2016-08-30 11:17:15 -07:00
darzu 61ee841431 adds arduino & speaker svgs 2016-08-30 11:15:24 -07:00
Michal Moskal e856d59235 0.3.54 2016-08-30 12:50:18 +02:00
Michal Moskal 32753d3395 Bump pxt-core to 0.3.61 2016-08-30 12:50:18 +02:00
Michal Moskal 7b11a04727 Upgrade pxt-microbit-core to 0.4.1 2016-08-30 12:48:58 +02:00
Peli de Halleux 6d6c053e4f 0.3.53 2016-08-29 23:25:12 -07:00
Peli de Halleux 1008fdd371 Bump pxt-core to 0.3.60 2016-08-29 23:25:11 -07:00
Peli de Halleux ddc2b7437b re-ordering of blocks in docs 2016-08-29 14:49:51 -07:00
Peli de Halleux b9c95ebb1e 0.3.52 2016-08-29 13:26:01 -07:00
Peli de Halleux b16d02ec66 Bump pxt-core to 0.3.59 2016-08-29 13:25:58 -07:00
Peli de Halleux 38fb36087a fixing local deployment (pxtc import issue) 2016-08-26 17:51:15 -07:00
Peli de Halleux 5dbbc2266f 0.3.51 2016-08-26 12:17:42 -07:00
Peli de Halleux 2a22001e02 0.3.50 2016-08-26 12:12:32 -07:00
Peli de Halleux 214ff25995 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-08-26 12:01:14 -07:00
Peli de Halleux f4768d99ff Merge pull request #220 from Microsoft/parts
adds "parts" annotations
2016-08-26 12:00:59 -07:00
Peli de Halleux 8792f9fe36 0.3.49 2016-08-26 11:56:22 -07:00
Peli de Halleux 3d45bef910 Bump pxt-core to 0.3.56 2016-08-26 11:56:20 -07:00
Peli de Halleux 3de6b33163 added README.md in default blocks target 2016-08-26 09:58:13 -07:00
Peli de Halleux 3f1c03ea51 added search / watch excludes 2016-08-26 09:31:06 -07:00
Peli de Halleux a4063d636d merging changes 2016-08-26 08:36:49 -07:00
Michal Moskal 92b5b76171 Add target-specific favicon; see https://github.com/Microsoft/pxt/issues/54 2016-08-26 16:35:13 +02:00
Michal Moskal 51d285b0b0 Set target-specific avatar; fixes https://github.com/Microsoft/pxt/issues/97 2016-08-26 16:15:58 +02:00
Michal Moskal 4d8afdd3ae Format 2016-08-26 16:12:22 +02:00
Michal Moskal 13b21ad275 0.3.48 2016-08-26 15:24:48 +02:00
Michal Moskal d90a43a6d8 Bump pxt-core to 0.3.55 2016-08-26 15:24:48 +02:00
Michal Moskal 6fd14e718d Use the new pxtc namespace 2016-08-26 15:19:04 +02:00
Michal Moskal c79f043529 0.3.47 2016-08-26 13:18:35 +02:00
Michal Moskal 3a676c7151 Bump pxt-core to 0.3.53 2016-08-26 13:18:34 +02:00
Michal Moskal 0023710209 String/ptr -> boolean helpers added 2016-08-26 13:14:48 +02:00
Michal Moskal 0756091e8c Remove st/ldglb (no longer used) 2016-08-26 11:09:18 +02:00
Peli de Halleux 8144df0023 0.3.47 2016-08-25 22:19:12 -07:00
Peli de Halleux b2137e2622 Bump pxt-core to 0.3.52 2016-08-25 22:19:11 -07:00
Peli de Halleux 39b30c8ae1 0.3.46 2016-08-25 16:02:54 -07:00
Peli de Halleux 1c5d6316cc Bump pxt-core to 0.3.51 2016-08-25 16:02:53 -07:00
Michal Moskal 6d4d681898 Link to pxt package docs 2016-08-25 17:44:53 +02:00
Michal Moskal 7053fd1490 Ref-counting fix 2016-08-25 15:45:43 +02:00
Michal Moskal e7a49acac0 0.3.45 2016-08-24 15:03:29 +03:00
Michal Moskal d76cfb6e2e Bump pxt-core to 0.3.49 2016-08-24 15:03:28 +03:00
Michal Moskal 538f08052d Make Image ref-counted; fixes #171 2016-08-24 15:02:55 +03:00
Michal Moskal b6fed71c58 0.3.44 2016-08-24 14:38:50 +03:00
Michal Moskal 6c86f98b66 Bump pxt-core to 0.3.48 2016-08-24 14:38:50 +03:00
Michal Moskal 26797545c6 0.3.43 2016-08-24 14:28:20 +03:00
Michal Moskal 3ce8aa1f47 Bump pxt-core to 0.3.47 2016-08-24 14:28:20 +03:00
darzu 8b46698f50 adds "parts" annotations...
...to libs/microbit and libs/microbit-bluetooth
2016-08-22 08:48:48 -07:00
Sam El-Husseini 47401e947c Missing a reference to the "Compile" button, changed to Download. 2016-08-19 11:09:12 -07:00
Michal Moskal 718cc9d530 Add script for running tests as in travis 2016-08-19 13:46:30 +03:00
Peli de Halleux b83d777144 0.3.42 2016-08-18 16:11:54 -07:00
Peli de Halleux cfb9acea34 Bump pxt-core to 0.3.46 2016-08-18 16:11:52 -07:00
Peli de Halleux 53189830a1 Merge pull request #207 from Microsoft/microsoftsam/compiletodownload
Converting the term "Compile" to "Download" in the docs
2016-08-18 14:39:29 -07:00
Sam El-Husseini 67da22c135 Converting the term "Compile" to "Download" in the docs microsoft/pxt#236 2016-08-18 13:17:05 -07:00
Sam El-Husseini 7c7014a25f 0.3.41 2016-08-18 11:57:52 -07:00
Sam El-Husseini 851f395ec9 Bump pxt-core to 0.3.45 2016-08-18 11:57:51 -07:00
Sam El-Husseini a343cbd065 0.3.40 2016-08-18 11:24:39 -07:00
Sam El-Husseini a2c042f715 Bump pxt-core to 0.3.43 2016-08-18 11:24:33 -07:00
Michal Moskal a4a97f31cb 0.3.39 2016-08-18 18:33:59 +03:00
Michal Moskal 5bd6a384ae Bump pxt-core to 0.3.42 2016-08-18 18:33:58 +03:00
Peli de Halleux 943393dfa3 updated solution of uploader app 2016-08-18 08:32:36 -07:00
Peli de Halleux 7089aa9c54 Merge pull request #206 from sgk/music-changeTempo-fix
Fix changeTempo() calculation
2016-08-18 07:45:49 -07:00
Peli de Halleux bd9e456bc5 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-08-18 07:43:39 -07:00
Peli de Halleux ea82d066c9 cleaning out old images 2016-08-18 07:23:26 -07:00
Peli de Halleux bb8338a0f0 launch editor with #uploader tag to notify client that uploader is available 2016-08-18 07:02:19 -07:00
Shigeru KANEMOTO b24b65abcd Call init() before using beatsPerMinute. 2016-08-18 22:19:03 +09:00
Shigeru KANEMOTO 2cc0523f9a Fix changeTempo() calculation 2016-08-18 22:13:12 +09:00
Michal Moskal a78f7f9601 0.3.38 2016-08-18 15:55:34 +03:00
Michal Moskal b1cf3246ae Revert "Use embedded version of microbit to avoid yotta build"
This reverts commit 8eb3376cf5.
2016-08-18 15:55:23 +03:00
Michal Moskal 24eb6f64db 0.3.37 2016-08-18 15:31:31 +03:00
Michal Moskal 0c99eaf7bf Bump pxt-core to 0.3.40 2016-08-18 15:31:31 +03:00
Michal Moskal 8eb3376cf5 Use embedded version of microbit to avoid yotta build 2016-08-18 14:26:56 +03:00
Michal Moskal b863d5663d Add buffer shift rotate tests (moved from pxt) 2016-08-18 10:52:19 +03:00
Peli de Halleux aeb4cb6a17 0.3.36 2016-08-17 23:27:03 -07:00
Peli de Halleux fd88e0b7f0 Bump pxt-core to 0.3.39 2016-08-17 23:27:00 -07:00
Peli de Halleux ea0d2d4d02 add i2c fram to package list 2016-08-17 18:23:08 -07:00
Peli de Halleux adff537013 0.3.35 2016-08-17 17:06:44 -07:00
Peli de Halleux 19fc284884 Bump pxt-core to 0.3.38 2016-08-17 17:06:42 -07:00
Peli de Halleux 5d9f85828d updated blocks template 2016-08-17 17:05:10 -07:00
Peli de Halleux 9f31637000 support for max-duration in pulse-in 2016-08-17 11:35:54 -07:00
Peli de Halleux 8e811b913e adding pins.pulseIn API 2016-08-17 11:18:15 -07:00
Peli de Halleux 269254796d add descriptions 2016-08-17 09:44:15 -07:00
Peli de Halleux 46995cbd54 Adding max6675 package in built-in list 2016-08-17 09:44:08 -07:00
Peli de Halleux 380488528f Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-08-17 08:40:45 -07:00
Peli de Halleux aca863f436 adding translation docs 2016-08-17 08:39:50 -07:00
Michal Moskal a1ec25fd79 0.3.34 2016-08-17 18:09:20 +03:00
Michal Moskal 3e9d6d5895 Bump pxt-core to 0.3.37 2016-08-17 18:09:19 +03:00
Michal Moskal 719370f6b0 Use the new lambdas 2016-08-17 18:08:46 +03:00
Michal Moskal 2780497d4f 0.3.33 2016-08-17 17:15:09 +03:00
Michal Moskal 3eeaf2eddc Bump pxt-core to 0.3.36 2016-08-17 17:15:09 +03:00
Michal Moskal eb3e91420c 0.3.32 2016-08-17 15:09:56 +03:00
Michal Moskal 38cd913020 Bump pxt-core to 0.3.35 2016-08-17 15:08:24 +03:00
Peli de Halleux 9159c297a5 added wait-micros function 2016-08-16 17:04:21 -07:00
Peli de Halleux 851687dba8 0.3.31 2016-08-16 13:44:38 -07:00
Peli de Halleux 28b8006ec5 removing spurious logging 2016-08-16 10:11:55 -07:00
Peli de Halleux 271128c075 answering questions about saving 2016-08-16 09:21:41 -07:00
Peli de Halleux a04ca0d715 0.3.30 2016-08-16 07:46:43 -07:00
Peli de Halleux 8b89fe721d Bump pxt-core to 0.3.34 2016-08-16 07:46:39 -07:00
Peli de Halleux 1baf04b1fd added links to packages 2016-08-15 23:16:10 -07:00
Peli de Halleux 6c7f0f911c 0.3.29 2016-08-15 15:44:05 -07:00
Peli de Halleux f2008f9263 Bump pxt-core to 0.3.33 2016-08-15 15:44:03 -07:00
Peli de Halleux 62127f7269 Updated VS code instructions 2016-08-15 11:03:03 -07:00
Peli de Halleux 740cedd978 added docs 2016-08-12 16:15:41 -07:00
Peli de Halleux 4278ff2b37 0.3.28 2016-08-12 08:36:34 -07:00
Peli de Halleux e7bea34d95 Bump pxt-core to 0.3.32 2016-08-12 08:36:33 -07:00
Peli de Halleux 825409b697 0.3.27 2016-08-12 04:03:06 -07:00
Peli de Halleux 8f72ac0094 Bump pxt-core to 0.3.31 2016-08-12 04:03:03 -07:00
Peli de Halleux 8a6bb610e3 updated description 2016-08-12 03:37:27 -07:00
Peli de Halleux 94dc141062 0.3.26 2016-08-11 16:33:03 -07:00
Peli de Halleux 286dd1e50b Bump pxt-core to 0.3.29 2016-08-11 16:33:00 -07:00
Peli de Halleux 6451d9add9 0.3.25 2016-08-11 16:24:34 -07:00
Peli de Halleux fd1dcde86b Bump pxt-core to 0.3.28 2016-08-11 16:24:30 -07:00
Peli de Halleux 99947a9e21 0.3.24 2016-08-11 16:07:31 -07:00
Peli de Halleux a69239abed Bump pxt-core to 0.3.27 2016-08-11 16:07:29 -07:00
Peli de Halleux fd06fae050 0.3.23 2016-08-11 15:05:30 -07:00
Peli de Halleux 7fbb056edf Bump pxt-core to 0.3.26 2016-08-11 15:05:29 -07:00
Peli de Halleux 06758863fb 0.3.22 2016-08-11 14:38:08 -07:00
Peli de Halleux ad8af16a5a 0.3.21 2016-08-11 14:15:02 -07:00
Peli de Halleux 70dd6bcac5 Bump pxt-core to 0.3.25 2016-08-11 14:14:59 -07:00
Peli de Halleux b103423a53 0.3.20 2016-08-11 12:11:04 -07:00
Peli de Halleux a82a44e587 Bump pxt-core to 0.3.23 2016-08-11 12:11:02 -07:00
Peli de Halleux e6f612283f remove dead page 2016-08-11 11:41:59 -07:00
Peli de Halleux fcd60876ab Removing streaming menu dialog 2016-08-11 11:41:07 -07:00
Peli de Halleux 5daa9a0bb6 broken links 2016-08-11 10:44:17 -07:00
Peli de Halleux 4fb3926073 fix snippets 2016-08-11 10:40:48 -07:00
Peli de Halleux 73932f4619 0.3.19 2016-08-10 23:27:46 -07:00
Peli de Halleux c99138b02e adding SPI support 2016-08-10 23:26:58 -07:00
Peli de Halleux 64d584681a docs tweaks 2016-08-10 16:09:57 -07:00
Peli de Halleux 9788dd49cc fix testsnippet crash 2016-08-10 14:06:26 -07:00
Peli de Halleux 9d15c4e270 fixing docs issues 2016-08-10 13:46:11 -07:00
Peli de Halleux fe7b06d763 0.3.18 2016-08-10 13:12:26 -07:00
Peli de Halleux 0e0275e496 doc fixes 2016-08-10 13:10:40 -07:00
Peli de Halleux ffd4d96539 properly escape values in json payload 2016-08-10 09:28:22 -07:00
Peli de Halleux a6b4c9645a Merge pull request #199 from Microsoft/ignore-snippets
-ignore snippet notation
2016-08-10 08:29:05 -07:00
Thomas Denney a9141d027f Add package info for server side check 2016-08-10 13:44:10 +01:00
Thomas Denney 807e581c3d Addition of ignore notation
Some snippets are designed to show syntax errors or refer to earlier variables. In this case the automated checker needs to avoid compiling them
2016-08-10 13:43:48 +01:00
Thomas Denney 41a4dfeb68 Documentation snippet fixes 2016-08-10 10:51:55 +01:00
Peli de Halleux 4430391e87 0.3.17 2016-08-09 22:16:31 -07:00
Peli de Halleux 81667f4df5 Bump pxt-core to 0.3.22 2016-08-09 22:16:28 -07:00
Peli de Halleux 835048132c adjustments to electron app 2016-08-09 22:08:46 -07:00
Peli de Halleux 00217305c2 0.3.16 2016-08-09 12:38:30 -07:00
Peli de Halleux 85e8a70f76 Bump pxt-core to 0.3.21 2016-08-09 12:38:28 -07:00
Peli de Halleux bbdf27de5a adding pxt-neopixel to pre-populated package list 2016-08-09 11:02:23 -07:00
Peli de Halleux 3e63d4083e update title 2016-08-09 10:27:39 -07:00
Peli de Halleux d1b8e3c752 added electron host 2016-08-09 09:55:37 -07:00
Thomas Denney 1164feb754 More snippet types 2016-08-09 16:55:43 +01:00
Thomas Denney 9ebd9d4f04 Add more snippet types for better detection 2016-08-09 16:52:24 +01:00
Thomas Denney 9fd2a3a3e6 Remove trailing whitespace 2016-08-09 16:39:50 +01:00
Thomas Denney 7f40889103 Add package info to mic docs (for testing) 2016-08-09 16:35:45 +01:00
Thomas Denney ee37b4a959 Add package info to radio docs (for testing) 2016-08-09 16:28:08 +01:00
Thomas Denney 99d05ec91b Merge branch 'master' of https://github.com/thomasdenney/pxt-microbit 2016-08-09 16:11:27 +01:00
Thomas Denney 412e5bd034 Fix doc comment 2016-08-09 16:10:53 +01:00
Thomas Denney 141420d337 Correct Bluetooth doc comment 2016-08-09 16:05:25 +01:00
Thomas Denney 084f83ba1b Merge branch 'master' of https://github.com/thomasdenney/pxt-microbit 2016-08-09 15:13:35 +01:00
Peli de Halleux 8601eff170 fixed snippets 2016-08-08 20:44:43 -07:00
Peli de Halleux 5da4d74a2a adding messenger project 2016-08-08 18:12:34 -07:00
Peli de Halleux 4215574a7c 0.3.15 2016-08-08 16:58:02 -07:00
Peli de Halleux da9d986a3e Bump pxt-core to 0.3.19 2016-08-08 16:58:00 -07:00
Peli de Halleux 7481b9c24c call receiveNumber in onDataReceived to flush queue if needed (startup race)
fixed simulator issue when event onDataReceived gets raised
2016-08-08 16:54:43 -07:00
Peli de Halleux de5def8dde adding led.toggle as a block 2016-08-08 16:53:55 -07:00
Peli de Halleux dd011b977a wired up onPinReleased to simulator 2016-08-08 15:27:13 -07:00
Peli de Halleux 20d0dd91ad added input.onPinRelease. Fix for #294 2016-08-08 15:23:18 -07:00
Peli de Halleux 825c6d57e7 testing fr jsdoc transtions 2016-08-08 13:47:45 -07:00
Peli de Halleux b3edb81d3c adding URL for SEO 2016-08-08 13:08:15 -07:00
Peli de Halleux 78089da134 0.3.14 2016-08-05 08:37:58 -07:00
Peli de Halleux 3aef765d35 Bump pxt-core to 0.3.18 2016-08-05 08:37:56 -07:00
Peli de Halleux f4727f12c9 0.3.13 2016-08-04 10:10:03 -07:00
Peli de Halleux a36cb65aa5 Bump pxt-core to 0.3.17 2016-08-04 10:09:56 -07:00
Peli de Halleux 3b16e59ee1 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-08-04 10:09:42 -07:00
Peli de Halleux f2c43c74ac support for start/length in buffer methods 2016-08-04 08:42:47 -07:00
Sam El-Husseini 1c4c93dc60 0.3.12 2016-08-03 17:19:26 -07:00
Sam El-Husseini d73847bfba Bump pxt-core to 0.3.15 2016-08-03 17:19:19 -07:00
Peli de Halleux 4e46682489 keep older value longer 2016-08-02 15:35:33 -07:00
Peli de Halleux ab7aa00747 0.3.11 2016-08-02 13:25:13 -07:00
Peli de Halleux 2bebb6056d Bump pxt-core to 0.3.14 2016-08-02 13:25:11 -07:00
Peli de Halleux 22046c417c adding uservoice info 2016-08-02 13:18:07 -07:00
Peli de Halleux dc8afa6d45 0.3.10 2016-08-02 11:06:34 -07:00
Peli de Halleux 22e2ab5ad9 Bump pxt-core to 0.3.13 2016-08-02 11:06:31 -07:00
Peli de Halleux f365726a8e fixed regfression in showleds
see https://github.com/Microsoft/pxt-microbit/commit/65594842fc5109c325ca3093cbb3fcd736fb388e
2016-08-02 11:04:49 -07:00
Peli de Halleux e329b3bd2e prepend all radio blocks with "radio" 2016-08-01 16:02:06 -07:00
Peli de Halleux d7b709e97b added screenshots 2016-08-01 16:01:45 -07:00
Peli de Halleux 9714ec46e9 support page 2016-08-01 14:24:25 -07:00
Peli de Halleux 20ef54f565 fixed win10 app 2016-08-01 14:23:40 -07:00
Peli de Halleux 554df0bce9 0.3.9 2016-07-29 14:22:51 -07:00
Peli de Halleux 6c89dddef6 Bump pxt-core to 0.3.12 2016-07-29 14:22:48 -07:00
Peli de Halleux 23f91895f7 restore advanced section in reference 2016-07-29 14:19:21 -07:00
Peli de Halleux 3f83cda087 mark serial messages as simulated 2016-07-29 13:42:21 -07:00
Peli de Halleux 7e79635413 0.3.8 2016-07-29 10:49:38 -07:00
Peli de Halleux 56e1cf91ac Bump pxt-core to 0.3.11 2016-07-29 10:49:36 -07:00
Michal Moskal f9f96f33f0 0.3.7 2016-07-29 11:37:58 +01:00
Michal Moskal 0b33073be1 Bump pxt-core to 0.3.10 2016-07-29 11:37:57 +01:00
Sam El-Husseini 65594842fc Fix issue with multi digit numbers not scrolling all the way off screen as is the case on the physical pxt. 2016-07-28 15:54:10 -07:00
Sam El-Husseini c6ed665f84 Fix for issue 176: basic.showNumber timing in the simulator
- updated basic.cpp::showNumber to use printChar instead of print.
2016-07-28 15:04:56 -07:00
Peli de Halleux 79462deb24 Merge pull request #190 from Microsoft/microsoftsam/issue179
Fix for issue 179: Watch Challenges goes to Rock Paper Scissors instead of the challenges code
2016-07-28 14:21:18 -07:00
Sam El-Husseini 5c05f3e241 Fix for issue 179: Watch Challenges goes to Rock Paper Scissors instead of the challenges code 2016-07-28 13:13:33 -07:00
Ron Hale-Evans 4f7dd75fbe Finished animation API 2016-07-28 12:16:18 -07:00
Peli de Halleux 338e507b51 temporary fix for reference 2016-07-28 12:03:03 -07:00
Peli de Halleux 601231a5dc 0.3.6 2016-07-28 11:54:23 -07:00
Peli de Halleux f0850336e5 Bump pxt-core to 0.3.9 2016-07-28 11:54:18 -07:00
Ron Hale-Evans a6b2187ec5 Edited advanced page 2016-07-28 10:56:37 -07:00
Peli de Halleux 28ae4f4230 better board name detection 2016-07-28 10:22:05 -07:00
Peli de Halleux 09933b6a8d advanced section 2016-07-28 09:15:31 -07:00
Michal Moskal 45bb6e7cb3 0.3.5 2016-07-28 12:47:58 +01:00
Michal Moskal 33c234a87e Bump pxt-core to 0.3.8 2016-07-28 12:47:57 +01:00
Michal Moskal e9aa343d67 0.3.4 2016-07-28 11:51:44 +01:00
Michal Moskal d83039430c Bump pxt-core to 0.3.7 2016-07-28 11:51:43 +01:00
Michal Moskal 5b2e877aef Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-07-28 11:49:04 +01:00
Michal Moskal c5b28f5b8e Document testing 2016-07-28 11:47:45 +01:00
Michal Moskal e765021bf9 Compile lang-tests to binary 2016-07-28 11:38:35 +01:00
Michal Moskal dbcd9e535c Get generic part of lang-test from pxt-core package 2016-07-28 11:35:17 +01:00
Peli de Halleux cff88d67ad Update README.md 2016-07-27 13:48:57 -07:00
Peli de Halleux 3f241e8bc9 Merge pull request #180 from Microsoft/snippetfixes
Fixes to documentation snippets
2016-07-27 13:30:39 -07:00
Peli de Halleux 69c3d2d249 Update README.md 2016-07-27 13:28:57 -07:00
Peli de Halleux bc04d30595 some updates to setup instructions 2016-07-27 13:15:30 -07:00
Michal Moskal 63a26835b1 Format code 2016-07-27 19:32:58 +01:00
Peli de Halleux 79113115e0 docs update 2016-07-27 10:57:18 -07:00
Peli de Halleux 573ed7f6f2 updated localization strings in bundled packages 2016-07-27 08:42:58 -07:00
Peli de Halleux 61da1032d6 0.3.3 2016-07-27 07:26:24 -07:00
Peli de Halleux 36d455c693 Bump pxt-core to 0.3.5 2016-07-27 07:26:20 -07:00
Peli de Halleux 42c766b6d7 updated shim definition 2016-07-26 16:17:54 -07:00
Peli de Halleux 6f00384891 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-07-26 13:52:01 -07:00
Peli de Halleux 8440f7c763 adding "pin is pressed" block 2016-07-26 13:51:41 -07:00
Tom Ball 8a8e864f99 fix reference section 2016-07-26 14:18:44 -04:00
Tom Ball 7a3402b782 add FAQ for language 2016-07-26 14:10:41 -04:00
Tom Ball 5e9a5b29f4 fix formatting problem 2016-07-26 14:10:41 -04:00
Peli de Halleux aff9d1ee60 clean up docs 2016-07-26 09:03:42 -07:00
Peli de Halleux 8add7e8efb updated radio strings / docs page 2016-07-26 08:47:45 -07:00
Michal Moskal e7dfd0531b 0.3.2 2016-07-26 13:12:48 +01:00
Michal Moskal d2b1f70ce2 Bump pxt-core to 0.3.2 2016-07-26 13:12:48 +01:00
Michal Moskal fbf7513c44 0.3.1 2016-07-26 13:03:23 +01:00
Michal Moskal e9bdc26d15 Bump to 0.3 2016-07-26 13:03:15 +01:00
Michal Moskal 52fafe9359 0.2.188 2016-07-26 12:59:11 +01:00
Michal Moskal 971dca6c96 0.2.187 2016-07-26 12:58:47 +01:00
Michal Moskal a761c27b19 Bump pxt-core to 0.3.1 2016-07-26 12:58:47 +01:00
Michal Moskal a062a85c7f Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-07-26 12:46:24 +01:00
Michal Moskal a9865a731a Moved to separate repos 2016-07-26 12:41:30 +01:00
Tom Ball ba4095ac9c fix problem with semis 2016-07-26 00:45:39 -04:00
Tom Ball 8606a00701 remove link to pxt 2016-07-26 00:37:14 -04:00
Tom Ball bf57ba2902 link to PXT 2016-07-25 20:05:27 -04:00
Tom Ball 4cd61cd96a delete lang.md 2016-07-25 17:01:37 -04:00
Tom Ball c4139a862f some doc fixes 2016-07-25 17:00:51 -04:00
Tom Ball ca3cd1de22 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit
# Conflicts:
#	package.json
2016-07-25 16:53:33 -04:00
Peli de Halleux d7f22bc8e6 fix broken link 2016-07-25 11:33:14 -07:00
Thomas Denney 28b28d0b52 Change array declaration for first snippet in headbands 2016-07-25 11:11:51 +01:00
Thomas Denney 0ee2b285c0 Deleted list of bad snippets 2016-07-25 11:10:01 +01:00
Thomas Denney d5cb085264 Rename function call in number documentation 2016-07-25 11:01:10 +01:00
Thomas Denney c055a5d329 Syntax fixes to LED plotting docs 2016-07-25 11:00:34 +01:00
Thomas Denney 8fe8b78f4c Syntax fixes for hero lesson 2016-07-25 10:39:02 +01:00
Thomas Denney f627f125c0 Syntax fixes for headbands lesson 2016-07-25 10:35:15 +01:00
Thomas Denney 7d3254477a Fix case of math in documentation snippet 2016-07-25 10:22:15 +01:00
Thomas Denney 3149ed4c1d Line numbers 2016-07-25 10:15:35 +01:00
Thomas Denney baeafcdebe List of all snippets with errors 2016-07-25 09:39:34 +01:00
Peli de Halleux 12754acc54 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-07-22 15:14:50 -07:00
Michal Moskal 329baaf9a4 0.2.192 2016-07-22 17:07:29 +01:00
Michal Moskal 47efcfb41f Bump pxt-core to 0.2.202 2016-07-22 17:07:29 +01:00
Michal Moskal e2d1b8a55c Run tests 2016-07-22 17:06:56 +01:00
Michal Moskal 579eb29ce3 0.2.191 2016-07-22 15:22:50 +01:00
Michal Moskal ada9560642 Bump pxt-core to 0.2.201 2016-07-22 15:22:49 +01:00
Michal Moskal 7b352b3a58 Use pre-cached TD scripts for testing 2016-07-22 15:21:16 +01:00
Michal Moskal a5d5836ea2 Add some tests converted from TD 2016-07-22 15:18:38 +01:00
Peli de Halleux 57dc26a127 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-07-22 07:15:57 -07:00
Michal Moskal 3e37b03808 0.2.190 2016-07-22 12:26:13 +01:00
Michal Moskal d035713786 Bump pxt-core to 0.2.200 2016-07-22 12:26:13 +01:00
Michal Moskal 6e4a71b2f4 0.2.189 2016-07-22 12:12:21 +01:00
Michal Moskal 0b4dd534ab Bump pxt-core to 0.2.199 2016-07-22 12:12:20 +01:00
Michal Moskal ed07f0baad 0.2.188 2016-07-22 11:57:15 +01:00
Michal Moskal 004d34b5df Bump pxt-core to 0.2.197 2016-07-22 11:57:15 +01:00
Michal Moskal aa380baf1c 0.2.187 2016-07-22 11:39:39 +01:00
Michal Moskal 5123a962d9 Bump pxt-core to 0.2.196 2016-07-22 11:39:39 +01:00
Michal Moskal 7dcd770508 Cache sources for testconv in travis 2016-07-22 11:32:57 +01:00
Jonathan Protzenko ead4d32446 Update analog-read-pin.md 2016-07-21 16:36:33 -07:00
Jonathan Protzenko a51a14022a Update analog-pitch.md 2016-07-21 16:25:20 -07:00
Peli de Halleux 05098252ed slightly more impressive about example 2016-07-21 15:32:59 -07:00
Peli de Halleux 8e74965964 remove experiemental translations 2016-07-21 14:22:30 -07:00
Peli de Halleux 63913c2182 updated getting-started intro 2016-07-21 13:46:22 -07:00
Ron Hale-Evans c55716e148 Control pages now link to Lancaster 2016-07-21 13:29:59 -07:00
Peli de Halleux dd94442555 Merge pull request #173 from gingemonster/master
fixing more help broken links
2016-07-21 11:10:55 -07:00
Peli de Halleux 56f6a2fa56 Merge pull request #172 from gingemonster/patch-1
updated setPull help annotation
2016-07-21 11:10:15 -07:00
Peli de Halleux 4ca9df141c Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-07-21 11:06:13 -07:00
Peli de Halleux a29e06abce removing dangling file 2016-07-21 11:06:02 -07:00
Michal Moskal 43e4d06fd9 Add tests (for pxt testdir) 2016-07-21 16:08:22 +01:00
Michal Moskal 3c8027425a Fix order of arguments for memset() 2016-07-21 09:54:53 +01:00
Ron Hale-Evans 3f66870688 Getting started with Control 2016-07-20 16:25:09 -07:00
Tom Ball 1f32a4851e Bump pxt-core to 0.2.195 2016-07-20 15:37:26 -07:00
Ron Hale-Evans 478b1c84de Adding templates to Control directory 2016-07-20 11:31:14 -07:00
gingemonster 20ac14fdf6 fixing more help documentation links
set-accelerometer-range was wrong so fixing reference to help doc
2016-07-20 10:44:32 +01:00
gingemonster c805d67cf6 fixing help for pins.pulseDuration
Help document at https://codethemicrobit.com/reference/pins/pulse-duration doesnt match the help annotation in the code so this fixes it
2016-07-20 06:29:44 +01:00
gingemonster 943c2e7716 Fixing help annotation on serial.redirect
Code currently points to help at https://codethemicrobit.com/reference/serial/redirect but the working url is https://codethemicrobit.com/reference/serial/redirect-to so fixed the help annotation
2016-07-20 06:21:15 +01:00
gingemonster 298a37e576 updated setPull help annotation
At some point Im guessing the help file has been renamed and its current url is https://codethemicrobit.com/reference/pins/set-pull. This change to the annotation of setPull removes the word "digital" so that the link should work again
2016-07-20 06:14:18 +01:00
Ron Hale-Evans 327d52014c Misnamed, redundant file 2016-07-19 16:02:31 -07:00
Thomas Denney 6a5cfae5ff snake_case -> camelCase in docs 2016-07-19 11:42:42 +01:00
Thomas Denney 64ebb5c8c3 Correct assignment blocks in docs
Previously these blocks were not rendering.
2016-07-19 11:26:41 +01:00
Thomas Denney bb97b57b01 Correct typo in string documentation
Note that currently you can't follow through with these instructions because string literals aren't supported, and there isn't support for converting the JS in this doc.
2016-07-19 09:25:48 +01:00
Ron Hale-Evans 534e3723d2 Finishing fixing parameters 2016-07-18 15:51:28 -07:00
Ron Hale-Evans ad6ef04b1f Fixing parameters 2016-07-18 15:18:40 -07:00
Ron Hale-Evans 2c09b7794f Fixing parameters 2016-07-18 14:23:05 -07:00
Ron Hale-Evans 4941ce1694 Fixing parameters 2016-07-18 14:04:15 -07:00
Ron Hale-Evans aa6a965f59 Fixing parameters 2016-07-18 11:14:51 -07:00
Ron Hale-Evans 1831c30050 Fixing parameters 2016-07-18 10:39:41 -07:00
Thomas Denney df5989760c Make serial docs clearer, resolve issue #158 2016-07-18 17:17:16 +01:00
Thomas Denney e942fb5733 Minor linting changes 2016-07-18 10:12:00 +01:00
Ron Hale-Evans 6a7f65894c Added missing parameters sections 2016-07-15 16:43:26 -07:00
Ron Hale-Evans f56e9369dd Fixed some parameter names 2016-07-15 14:53:52 -07:00
Ron Hale-Evans e23c5e019f Fix param names 2016-07-15 14:12:10 -07:00
Ron Hale-Evans 1aa08f63fe Another new Game topic and more fixes 2016-07-15 11:54:22 -07:00
Tom Ball 8ef94d2854 update docs 2016-07-15 11:47:37 -07:00
Ron Hale-Evans 797474063d New Game topic, some fixes 2016-07-15 10:24:16 -07:00
Thomas Denney b76622542b Ensure title shows correctly for doc pages 2016-07-15 15:50:26 +01:00
Thomas Denney 6a1415b3e1 Default indentation for default project.
The editor lints the TS file every time it launches, might as well commit the change.
2016-07-15 15:39:16 +01:00
Thomas Denney 2d09aef287 Merge pull request #164 from thomasdenney/master
Fixed '@params' in Neopixel blocks' docs and 'about about'
2016-07-15 08:47:59 +01:00
Ron Hale-Evans 3ce1fa9b6e New Game topic 2016-07-14 16:58:08 -07:00
Ron Hale-Evans 155bbb25f7 New Game topic 2016-07-14 12:49:19 -07:00
Ron Hale-Evans 5fb3da5a77 New Game topic 2016-07-14 12:47:33 -07:00
Tom Ball 5b682cd8d9 some mods to the docs 2016-07-14 12:09:40 -07:00
Tom Ball 4755f0953c update ignore file 2016-07-14 12:04:06 -07:00
Ron Hale-Evans bdcd299805 New Serial topic 2016-07-13 16:24:56 -07:00
Ron Hale-Evans 3e23fe4814 New Game topic, some fixes 2016-07-13 15:04:10 -07:00
Ron Hale-Evans 3782d26e64 New Game topic 2016-07-13 13:10:06 -07:00
Thomas Denney 84a29eec65 Merge remote-tracking branch 'upstream/master' 2016-07-13 09:17:32 +01:00
Michal Moskal 299efaf0f2 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-07-12 18:34:32 +02:00
Michal Moskal 33c60b467b Add ignore file for ptrcheck 2016-07-12 18:34:21 +02:00
Thomas Denney 81f74f07b2 Fix typo, resolve issue #165 2016-07-12 09:46:46 +01:00
Ron Hale-Evans 583b08df28 Wrote new Serial topic 2016-07-11 12:54:28 -07:00
Ron Hale-Evans 01f80b67bc Fix parameters 2016-07-11 11:13:13 -07:00
Ron Hale-Evans a890d2a357 Wrote new Serial topic 2016-07-11 10:58:16 -07:00
Michal Moskal 0d1b91afc3 0.2.186 2016-07-11 17:10:00 +02:00
Michal Moskal 5c0d37d718 Bump pxt-core to 0.2.194 2016-07-11 17:10:00 +02:00
Michal Moskal c81e56613e Mark microbit DAL config as just defaults 2016-07-11 14:29:49 +02:00
Ron Hale-Evans 4cc7215d35 Updated Linux (and Windows) instructions 2016-07-08 16:34:56 -07:00
Ron Hale-Evans 8751d2aaa1 Rewrote one Serial topic; shifted some material 2016-07-08 15:29:14 -07:00
Ron Hale-Evans af91622dda Wrote new Serial topic 2016-07-08 12:45:31 -07:00
Ron Hale-Evans 45d4caf595 Rewrote/expanded serial topic 2016-07-08 11:46:51 -07:00
Thomas Denney a8e1d2a86c Fixed '@params' in Neopixel blocks' docs 2016-07-08 14:30:45 +01:00
Tom Ball 5099b11823 remove hint 2016-07-06 20:37:43 -07:00
Ron Hale-Evans 37e0307698 Wrote two new Game topics 2016-07-06 15:19:43 -07:00
Ron Hale-Evans 1b15eefa5a Wrote new Game topic 2016-07-06 13:31:42 -07:00
Ron Hale-Evans a4eccaf4f9 Wrote new advanced topic 2016-07-06 11:54:42 -07:00
Tom Ball 5981863e3f more intellisense 2016-07-05 17:35:37 -07:00
Ron Hale-Evans 9ac7a4c522 Wrote new advanced topic 2016-07-05 16:36:09 -07:00
Ron Hale-Evans 9f1c3ee13c Created advanced topic 2016-07-05 14:04:12 -07:00
Ron Hale-Evans 8b9c3d71d5 Wrote new I2C topic. 2016-07-05 12:40:04 -07:00
Ron Hale-Evans 6d726b7499 Wrote new I2C topic. 2016-07-05 12:30:28 -07:00
Tom Ball b5da5afd1d 0.2.185 2016-07-03 15:57:20 -07:00
Tom Ball 420898e98c fix links in cards 2016-07-03 15:56:13 -07:00
Tom Ball f6b392356c 0.2.184 2016-07-02 19:05:57 -04:00
Tom Ball f4896f8d7c update doc 2016-07-02 18:55:00 -04:00
Tom Ball 4dbd691146 update docs 2016-07-02 18:27:58 -04:00
Tom Ball 2742dba0c4 update 2016-07-02 18:27:49 -04:00
Tom Ball 5bea47a094 more on js 2016-07-02 10:18:45 -04:00
Ron Hale-Evans 835a4b5cf0 Edited advanced topic. 2016-07-01 13:03:53 -07:00
Michal Moskal 055704b3ef 0.2.183 2016-07-01 15:16:43 +01:00
Michal Moskal 60107aa7ce Bump pxt-core to 0.2.193 2016-07-01 15:16:43 +01:00
Michal Moskal 787ab021a7 0.2.182 2016-07-01 15:03:49 +01:00
Michal Moskal f56a70f502 Bump pxt-core to 0.2.192 2016-07-01 15:03:48 +01:00
Michal Moskal 4ec6749ee6 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-07-01 14:46:14 +01:00
Michal Moskal 8413b61397 Format code 2016-07-01 14:46:05 +01:00
Michal Moskal ecbb970983 Add target-specific meta headers for social media 2016-07-01 09:26:54 +01:00
Ron Hale-Evans 36e6570296 Edited advanced topic 2016-06-30 12:43:42 -07:00
Ron Hale-Evans 92c63b615a Edited advanced topic. 2016-06-30 11:53:13 -07:00
Ron Hale-Evans f71267c988 Edited and expanded advanced topic. 2016-06-30 11:02:28 -07:00
Michal Moskal 38fc0f8099 Fix typo preventing docs upload 2016-06-30 18:10:15 +01:00
Michal Moskal 8c7238eab3 0.2.181 2016-06-30 16:36:17 +01:00
Michal Moskal 2baca30184 Bump pxt-core to 0.2.191 2016-06-30 16:36:17 +01:00
Michal Moskal ac56979142 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-06-30 16:36:13 +01:00
Michal Moskal ff72858c42 Use new index.html includes/overrides 2016-06-30 16:36:07 +01:00
Ron Hale-Evans deac587164 Rewrote in simple language. Added hint about average values. 2016-06-29 13:10:45 -07:00
Ron Hale-Evans 7a0a2fbd0a Rewrote in simple language. Added hint about averaging read values. 2016-06-29 12:41:35 -07:00
Michal Moskal 79c32097b5 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-06-29 17:49:02 +01:00
Michal Moskal 26c20d9fc3 Set twitter card logo 2016-06-29 17:48:40 +01:00
Tom Ball fe826a508a start on doc for javascript 2016-06-28 13:35:40 -04:00
Tom Ball 62d2140d24 Merge pull request #152 from bluetooth-mdw/master
Reordered links in See Also sections
2016-06-28 13:34:48 -04:00
Martin Woolley 499d619faf Reordered links in 'See also' sections 2016-06-27 13:54:44 +01:00
Martin Woolley c178e58260 Added About Bluetooth page and links to profile reference and overview 2016-06-27 13:46:29 +01:00
Tom Ball d242501fe6 better aspect ratio 2016-06-25 20:21:33 -04:00
Tom Ball 37a438735d add Next buttons to projects 2016-06-25 17:23:00 -04:00
Michal Moskal b862cfc4ec Format code 2016-06-25 19:40:21 +01:00
Michal Moskal 31002ae1a8 Fix typo in onPulse; hook up createBuffer 2016-06-25 19:17:43 +01:00
Michal Moskal e8a3a2f676 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-06-25 15:22:12 +01:00
Tom Ball e6baf8c35e bring streaming into menu 2016-06-24 19:37:05 -04:00
Ron Hale-Evans b72ff9fe4f New page for accelerometer range. 2016-06-24 15:42:21 -07:00
Peli de Halleux 58f79ea617 0.2.180 2016-06-24 13:54:47 -07:00
Peli de Halleux ed6d343992 Bump pxt-core to 0.2.190 2016-06-24 13:54:45 -07:00
Peli de Halleux 92b46d5c7b using button instead of large links 2016-06-24 13:27:34 -07:00
Peli de Halleux 9cf7f08ae2 0.2.179 2016-06-24 11:31:22 -07:00
Peli de Halleux 3b05b8f2f6 Bump pxt-core to 0.2.189 2016-06-24 11:31:20 -07:00
Peli de Halleux 774d614d79 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-06-24 11:26:51 -07:00
Peli de Halleux 545f715eeb fixing uarl docs 2016-06-24 11:03:39 -07:00
Ron Hale-Evans 45b480c6dd Rewrote in simple language. Deleted an irrelevant example. 2016-06-24 10:25:47 -07:00
Peli de Halleux 7cc93507d9 0.2.178 2016-06-24 09:48:44 -07:00
Peli de Halleux 80d3f67e6c Bump pxt-core to 0.2.188 2016-06-24 09:48:42 -07:00
Peli de Halleux dfbea2719b updated project landing page 2016-06-24 09:41:51 -07:00
Peli de Halleux ce5da6bf80 updated projects link 2016-06-24 09:14:07 -07:00
Peli de Halleux d8d2129685 removed strings page 2016-06-24 09:02:31 -07:00
Peli de Halleux 5dd37a1494 updated bluetooth docs page 2016-06-24 09:02:14 -07:00
Peli de Halleux 6cfe39dac3 patching up bluetooth uart 2016-06-24 08:12:52 -07:00
Peli de Halleux 660b22b398 Merge pull request #146 from bluetooth-mdw/master
UART blocks plus pairing documentation and updated hints section
2016-06-24 07:57:33 -07:00
Martin Woolley b9a24a4542 Documentation for pairing. Hint section updated to reference this. 2016-06-24 11:09:56 +01:00
Martin Woolley af5bf6e04e Documentation for the uartRead block 2016-06-24 09:35:31 +01:00
Martin Woolley ecc71a3295 UART read block with string param unlimited length added 2016-06-24 08:46:05 +01:00
Martin Woolley 0834402b18 Pairing documentation worj in progress. UART write block added 2016-06-24 07:59:08 +01:00
Michal Moskal 8edd8ac73a Support macOS in automatic deployment 2016-06-23 23:55:36 -07:00
Peli de Halleux 1207a91a7f 0.2.177 2016-06-23 23:53:58 -07:00
Peli de Halleux 727490668c splitting the getting started page 2016-06-23 23:52:24 -07:00
Martin Woolley f068b3d204 Merge remote-tracking branch 'upstream/master' 2016-06-24 07:37:21 +01:00
Martin Woolley 205a486e58 Bump pxt-core to 0.2.179 2016-06-24 07:28:23 +01:00
Peli de Halleux f3bfd41a75 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-06-23 23:23:16 -07:00
Peli de Halleux 8d5c5daaaf added streaming page 2016-06-23 23:22:46 -07:00
Martin Woolley 83cfe8f534 Merge remote-tracking branch 'upstream/master' 2016-06-24 05:50:03 +01:00
Peli de Halleux 9378e5e90c updated manifest 2016-06-23 16:29:26 -07:00
Ron Hale-Evans 8617f0f3b4 Expanded stub. Rewrote in simple language. 2016-06-23 15:25:56 -07:00
Ron Hale-Evans 0ecf3dc2b4 Rewrote in simple language. Updated example (needs work). 2016-06-23 14:29:32 -07:00
Martin Woolley 76005841fa Increased default power to 6, added UART write block 2016-06-23 11:38:23 +01:00
Martin Woolley 7bf00ff139 Merge remote-tracking branch 'upstream/master' 2016-06-23 08:06:34 +01:00
Martin Woolley 82e34d852c checking in 2016-06-23 08:05:49 +01:00
Peli de Halleux 7cd8ee1e23 0.2.176 2016-06-22 20:25:02 -07:00
Peli de Halleux a91a87b628 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-06-22 20:24:53 -07:00
Peli de Halleux 9d71f46e78 removed old test 2016-06-22 20:24:41 -07:00
Ron Hale-Evans ccf405e64c Rewrote in simple language 2016-06-22 16:24:14 -07:00
Ron Hale-Evans c0a75d1845 Rewrote in simpler language. Added another example. 2016-06-22 15:35:20 -07:00
Ron Hale-Evans e65a521bd4 Rewrote in simple language. Added second example. 2016-06-22 15:19:10 -07:00
Peli de Halleux 1f203269ff updated chrome manifest 2016-06-22 14:48:51 -07:00
Peli de Halleux 18feea45bb 0.2.175 2016-06-22 12:17:43 -07:00
Peli de Halleux 597f0c895b Bump pxt-core to 0.2.187 2016-06-22 12:17:40 -07:00
Peli de Halleux 5f21789d90 migration to codethemicrobit.com 2016-06-22 09:43:41 -07:00
Peli de Halleux 64826db4aa importing chrome extension 2016-06-22 09:43:03 -07:00
Peli de Halleux b150ee873f updated bluetooth docs 2016-06-22 09:25:01 -07:00
Peli de Halleux 34effcefc6 jsdoc on bluetooth 2016-06-21 14:30:05 -07:00
Peli de Halleux 68be2384d9 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-06-21 13:19:40 -07:00
Peli de Halleux 2629192bdb code of conduct 2016-06-21 13:17:42 -07:00
Peli de Halleux 67b5afd73a integrating docs about "devices" namespace 2016-06-21 11:17:34 -07:00
Peli de Halleux 5d8193301c adding reference pages for bluetooth 2016-06-21 09:46:13 -07:00
1669 changed files with 92610 additions and 36208 deletions
+6
View File
@@ -0,0 +1,6 @@
BasedOnStyle: LLVM
IndentWidth: 4
UseTab: Never
ColumnLimit: 100
AllowShortFunctionsOnASingleLine: Inline
SortIncludes: false
+35
View File
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
Add screenshots to help explain your problem. You can copy paste the screenshot in the github report. The .gif screen recording is very useful as well.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
+17
View File
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+75
View File
@@ -0,0 +1,75 @@
# Configuration for Lock Threads - https://github.com/dessant/lock-threads
# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 365
# Skip issues and pull requests created before a given timestamp. Timestamp must
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
skipCreatedBefore: false
# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels: []
# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel: false
# Comment to post before locking. Set to `false` to disable
lockComment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.
# Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason: true
# Limit to only `issues` or `pulls`
# only: issues
# Optionally, specify configuration settings just for `issues` or `pulls`
# issues:
# exemptLabels:
# - help-wanted
# lockLabel: outdated
# pulls:
# daysUntilLock: 30
# Repository to extend settings from
# _extends: repo
+31
View File
@@ -0,0 +1,31 @@
name: pxt-buildpr
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: |
sudo apt-get install xvfb
sudo npm install -g pxt
npm install
- name: pxt ci
run: |
pxt ci
env:
CHROME_BIN: chromium-browser
DISPLAY: :99.0
CI: true
+37
View File
@@ -0,0 +1,37 @@
name: pxt-buildtarget
on:
push:
branches: master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: |
sudo apt-get install xvfb
sudo npm install -g pxt
npm install
- name: pxt ci
run: |
pxt ci
env:
CROWDIN_KEY: ${{ secrets.CROWDIN_KEY }}
PXT_ACCESS_TOKEN: ${{ secrets.PXT_ACCESS_TOKEN }}
PXT_RELEASE_REPO: ${{ secrets.PXT_RELEASE_REPO }}
NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
CHROME_BIN: chromium-browser
DISPLAY: :99.0
CI: true
+16 -1
View File
@@ -1,16 +1,24 @@
node_modules
yotta_modules
yotta_targets
pxt_modules
built
typings
tmp
temp
projects/**
clients/win10/app/AppPackages
clients/win10/app/BundlePackages
clients/win10/app/BundleArtifacts
clients/win10/app/bin
clients/win10/app/bld
clients/win10/*.opendb
clients/**/bin/**
clients/**/obj/**
electron-out
hexcache
build
crowdinstats.csv
*.user
*.sw?
@@ -18,4 +26,11 @@ clients/**/obj/**
*.tgz
*.db
*.suo
*.log
*.log
.DS_Store
.idea
*.iml
.vscode/.BROWSE.VC.DB-shm
.vscode/.BROWSE.VC.DB-wal
package-lock.json
+15 -5
View File
@@ -1,11 +1,20 @@
language: node_js
os: linux
dist: trusty
node_js:
- "5.7.0"
- "8.9.4"
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- "node node_modules/pxt-core/built/pxt.js travis"
- "(cd libs/lang-test0; node ../../node_modules/pxt-core/built/pxt.js run)"
- "node node_modules/pxt-core/built/pxt.js uploaddoc"
- "(cd libs/hello; node ../../node_modules/pxt-core/built/pxt.js testconv ../../testconv.json)"
- "node node_modules/pxt-core/built/pxt.js travis"
# - "(cd libs/lang-test0; node ../../node_modules/pxt-core/built/pxt.js run)"
# - "(cd libs/lang-test1; node ../../node_modules/pxt-core/built/pxt.js run)"
# - "(cd libs/lang-test0; node ../../node_modules/pxt-core/built/pxt.js test)"
# - "(cd libs/lang-test1; node ../../node_modules/pxt-core/built/pxt.js test)"
# - "node node_modules/pxt-core/built/pxt.js testdir tests"
# - "(cd libs/hello; node ../../node_modules/pxt-core/built/pxt.js testconv http://az851932.vo.msecnd.net/files/td-converter-tests-v1.json)"
sudo: false
notifications:
email:
@@ -14,4 +23,5 @@ cache:
directories:
- node_modules
- built/cache
- libs/hello/built/cache
+46
View File
@@ -0,0 +1,46 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/../pxt/built/pxt.js",
"stopOnEntry": false,
"args": ["serve"],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"console": "internalConsole",
"sourceMaps": false,
"outDir": null
},
{
"name": "Attach",
"type": "node",
"request": "attach",
"port": 5858,
"address": "localhost",
"restart": false,
"sourceMaps": false,
"outDir": null,
"localRoot": "${workspaceRoot}",
"remoteRoot": null
},
{
"name": "Attach to Process",
"type": "node",
"request": "attach",
"processId": "${command.PickProcess}",
"port": 5858,
"sourceMaps": false,
"outDir": null
}
]
}
+17 -1
View File
@@ -1,5 +1,21 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.autoSave": "afterDelay",
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/built/**": true,
"**/node_modules/**": true,
"**/yotta_modules/**": true,
"**/yotta_targets": true,
"**/pxt_modules/**": true
},
"search.exclude": {
"**/node_modules": true,
"**/yotta_modules/**": true,
"**/yotta_targets": true,
"**/pxt_modules/**": true
},
"tslint.enable": true,
"tslint.rulesDirectory": "node_modules/tslint-microsoft-contrib"
"tslint.rulesDirectory": "node_modules/tslint-microsoft-contrib",
"typescript.tsdk": "./node_modules/typescript/lib"
}
+26
View File
@@ -0,0 +1,26 @@
# Contributing Code
PXT accepts bug fix pull requests. For a bug fix PR to be accepted, it must first have a tracking issue that has been marked approved. Your PR should link to the bug you are fixing. If you've submitted a PR for a bug, please post a comment in the bug to avoid duplication of effort.
PXT also accepts new feature pull requests. For a feature-level PR to be accepted, it first needs to have design discussion. Design discussion can take one of two forms a) a feature request in the issue tracker that has been marked as approved or b) the PR must be accompanied by a full design spec and this spec is later approved in the open design discussion. Features are evaluated against their complexity, impact on other features, roadmap alignment, and maintainability.
These two blogs posts on contributing code to open source projects are a good reference: [Open Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza and [Don't "Push" Your Pull Requests](https://www.igvita.com/2011/12/19/dont-push-your-pull-requests/) by Ilya Grigorik.
## Security
If you believe you have found a security issue in PXT, please share it with us privately following the guidance at the Microsoft [Security TechCenter](https://technet.microsoft.com/en-us/security/ff852094). Reporting it via this channel helps minimize risk to projects built with PXT.
## Legal
You will need to complete a Contributor License Agreement (CLA) before your pull request can be accepted. This agreement testifies that you are granting us permission to use the source code you are submitting, and that this work is being submitted under appropriate license that we can use it.
You can complete the CLA by going through the steps at https://cla.microsoft.com. Once we have received the signed CLA, we'll review the request. You will only need to do this once.
## Housekeeping
Your pull request should:
* Include a description of what your change intends to do
* Be a child commit of a reasonably recent commit in the master branch
* Pass all unit tests
* Have a clear commit message
* Include adequate tests
+25
View File
@@ -0,0 +1,25 @@
PXT - Programming Experience Toolkit
The MIT License (MIT)
Copyright (c) Microsoft Corporation
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+39 -16
View File
@@ -1,20 +1,30 @@
# micro:bit target for PXT
# Calliope target for Microsoft MakeCode
This target allow to program a [BBC micro:bit](https://www.microbit.co.uk/) using
PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt)).
This editor is hosted at https://makecode.calliope.cc.
* [Try it live](https://m.pxt.io)
[![Build Status](https://travis-ci.org/Microsoft/pxt-microbit.svg?branch=master)](https://travis-ci.org/Microsoft/pxt-microbit)
### BUILD COMMENTS
- build libs/core/dal.d.ts new requires some meddling, as the `#define` parser does not parse `#ifdef` and thus
has some conflicts with double defines constants
![](http://calliope.cc/content/1-ueber-mini/mini_board.png)
## Local server
The local server allows to run the editor and the documentation from your computer.
### Setup
The following commands are a 1-time setup after synching the repo on your machine.
* clone this repo to your computer
* install the PXT command line
* See requirements for [pxt](https://github.com/Microsoft/pxt)
* [clone this repo](https://help.github.com/articles/cloning-a-repository/) to your computer and go in the project folder
```
git clone https://github.com/microsoft/pxt-calliope
cd pxt-calliope
```
* install the PXT command line (add ``sudo`` for Mac/Linux shells).
```
npm install -g pxt
```
@@ -25,31 +35,44 @@ npm install
### Running
Run this command to open a local web server (add ``sudo`` for Mac/Linux shells)
Run this command to open a local web server (add ``sudo`` for Mac/Linux shells).
```
pxt serve
```
If the local server opens in the wrong browser, make sure to copy the URL containing the local token.
Otherwise, the editor will not be able to load the projects.
If you need modify the `.cpp` files, turn on yotta compilation with the ``-yt`` flag (add ``sudo`` for Mac/Linux shells):
If you need modify the `.cpp` files, turn on yotta compilation with the ``-yt`` flag (add ``sudo`` for Mac/Linux shells). On Windows, you must be running
from the ``Run Yotta`` command prompt.
```
pxt serve -yt
```
To make sure you're running the latest tools, run (add ``sudo`` for Mac/Linux shells)
## Updates
To update your PXT version and make sure you're running the latest tools, run (add ``sudo`` for Mac/Linux shells)
```
pxt update
```
More instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost
## Universal Windows App
## Testing
The Windows 10 app is a [Universal Windows Hosted Web App](https://microsoftedge.github.io/WebAppsDocs/en-US/win10/CreateHWA.htm)
that wraps ``m.pxt.io`` and provides additional features.
The build automatically runs the following:
### Building
* make sure the built-in packages compile
* `pxt run` in `libs/lang-test*` - this will run the test in command line runner;
there is a number of asserts in both of these
* `pxt testdir` in `tests` - this makes sure all the files compile and generates .hex files
* Install Visual Studio 2015 Update 2 or higher. Make sure the Windows 10 templates are installed.
* open the ``win10/app.sln`` solution and launch the ``m.pxt.io`` project.
To test something on the device:
* do a `pxt deploy` in `libs/lang-test*` - they should show `1` or `2` on the screen (and not unhappy face)
* run `pxt testdir` in `tests` and deploy some of the hex files from `tests/built`
The `lang-test0` source comes from the `pxt-core` package. It's also tested with `pxt run` there.
## Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
+229
View File
@@ -0,0 +1,229 @@
/*!----------------- PXT ThirdPartyNotices -------------------------------------------------------
PXT uses third party material from the projects listed below.
The original copyright notice and the license under which Microsoft
received such third party material are set forth below. Microsoft
reserves all other rights not expressly granted, whether by
implication, estoppel or otherwise.
In the event that we accidentally failed to list a required notice, please
bring it to our attention. Post an issue or email us:
abchatra@microsoft.com
---------------------------------------------
Third Party Code Components
---------------------------------------------
Some code derived (as noted) from
https://github.com/bbcmicrobit/micropython
The MIT License (MIT)
Copyright (c) 2013-2016 The MicroPython-on-micro:bit Developers, as listed
in the accompanying AUTHORS file
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
----------------- google/blockly -------------------
Sounds under sim/public/blockly/media from Google Blockly.
Copyright 2013 Google Inc
Apache License
Version 2.0, January 2011
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
---------------------------------------------
+13
View File
@@ -0,0 +1,13 @@
{
"folders": [
{
"path": "../pxt"
},
{
"path": "../pxt-common-packages"
},
{
"path": "."
}
]
}
+137
View File
@@ -0,0 +1,137 @@
# Created by https://www.gitignore.io/api/osx,xcode,objective-c,vim
### OSX ###
*.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Xcode ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## Build generated
build/
DerivedData/
## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
### Objective-C ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## Build generated
build/
DerivedData/
## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
## Other
*.moved-aside
*.xcuserstate
## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts
Carthage/Build
# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode
iOSInjectionProject/
### Objective-C Patch ###
*.xcscmblueprint
### Vim ###
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# temporary
.netrwhist
*~
# auto-generated tag files
tags
Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

@@ -0,0 +1,307 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
E93040071D895D1F00D931CA /* DirectoryWatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = E93040061D895D1F00D931CA /* DirectoryWatcher.m */; };
E930400A1D89620900D931CA /* Uploader.m in Sources */ = {isa = PBXBuildFile; fileRef = E93040091D89620900D931CA /* Uploader.m */; };
E9F4FEE21D8709980071D783 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E9F4FEE11D8709980071D783 /* AppDelegate.m */; };
E9F4FEE51D8709980071D783 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E9F4FEE41D8709980071D783 /* main.m */; };
E9F4FEE71D8709980071D783 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E9F4FEE61D8709980071D783 /* Assets.xcassets */; };
E9F4FEEA1D8709980071D783 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = E9F4FEE81D8709980071D783 /* MainMenu.xib */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
E93040051D895D1F00D931CA /* DirectoryWatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DirectoryWatcher.h; sourceTree = "<group>"; };
E93040061D895D1F00D931CA /* DirectoryWatcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DirectoryWatcher.m; sourceTree = "<group>"; };
E93040081D89620900D931CA /* Uploader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uploader.h; sourceTree = "<group>"; };
E93040091D89620900D931CA /* Uploader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Uploader.m; sourceTree = "<group>"; };
E9F4FEDD1D8709980071D783 /* Microbit Uploader.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Microbit Uploader.app"; sourceTree = BUILT_PRODUCTS_DIR; };
E9F4FEE01D8709980071D783 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
E9F4FEE11D8709980071D783 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
E9F4FEE41D8709980071D783 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E9F4FEE61D8709980071D783 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
E9F4FEE91D8709980071D783 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
E9F4FEEB1D8709980071D783 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
E9F4FEDA1D8709980071D783 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
E9F4FED41D8709980071D783 = {
isa = PBXGroup;
children = (
E9F4FEDF1D8709980071D783 /* Microbit Uploader */,
E9F4FEDE1D8709980071D783 /* Products */,
);
sourceTree = "<group>";
};
E9F4FEDE1D8709980071D783 /* Products */ = {
isa = PBXGroup;
children = (
E9F4FEDD1D8709980071D783 /* Microbit Uploader.app */,
);
name = Products;
sourceTree = "<group>";
};
E9F4FEDF1D8709980071D783 /* Microbit Uploader */ = {
isa = PBXGroup;
children = (
E9F4FEE01D8709980071D783 /* AppDelegate.h */,
E9F4FEE11D8709980071D783 /* AppDelegate.m */,
E9F4FEE61D8709980071D783 /* Assets.xcassets */,
E9F4FEE81D8709980071D783 /* MainMenu.xib */,
E9F4FEEB1D8709980071D783 /* Info.plist */,
E9F4FEE31D8709980071D783 /* Supporting Files */,
E93040051D895D1F00D931CA /* DirectoryWatcher.h */,
E93040061D895D1F00D931CA /* DirectoryWatcher.m */,
E93040081D89620900D931CA /* Uploader.h */,
E93040091D89620900D931CA /* Uploader.m */,
);
path = "Microbit Uploader";
sourceTree = "<group>";
};
E9F4FEE31D8709980071D783 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E9F4FEE41D8709980071D783 /* main.m */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
E9F4FEDC1D8709980071D783 /* Microbit Uploader */ = {
isa = PBXNativeTarget;
buildConfigurationList = E9F4FEEE1D8709980071D783 /* Build configuration list for PBXNativeTarget "Microbit Uploader" */;
buildPhases = (
E9F4FED91D8709980071D783 /* Sources */,
E9F4FEDA1D8709980071D783 /* Frameworks */,
E9F4FEDB1D8709980071D783 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "Microbit Uploader";
productName = "Microbit Uploader";
productReference = E9F4FEDD1D8709980071D783 /* Microbit Uploader.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
E9F4FED51D8709980071D783 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0800;
ORGANIZATIONNAME = thomasdenney;
TargetAttributes = {
E9F4FEDC1D8709980071D783 = {
CreatedOnToolsVersion = 7.3.1;
};
};
};
buildConfigurationList = E9F4FED81D8709980071D783 /* Build configuration list for PBXProject "Microbit Uploader" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = E9F4FED41D8709980071D783;
productRefGroup = E9F4FEDE1D8709980071D783 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
E9F4FEDC1D8709980071D783 /* Microbit Uploader */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
E9F4FEDB1D8709980071D783 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E9F4FEE71D8709980071D783 /* Assets.xcassets in Resources */,
E9F4FEEA1D8709980071D783 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
E9F4FED91D8709980071D783 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E9F4FEE51D8709980071D783 /* main.m in Sources */,
E930400A1D89620900D931CA /* Uploader.m in Sources */,
E9F4FEE21D8709980071D783 /* AppDelegate.m in Sources */,
E93040071D895D1F00D931CA /* DirectoryWatcher.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
E9F4FEE81D8709980071D783 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E9F4FEE91D8709980071D783 /* Base */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
E9F4FEEC1D8709980071D783 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
E9F4FEED1D8709980071D783 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
name = Release;
};
E9F4FEEF1D8709980071D783 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "Microbit Uploader/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.thomasdenney.Microbit-Uploader";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
E9F4FEF01D8709980071D783 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "Microbit Uploader/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.thomasdenney.Microbit-Uploader";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
E9F4FED81D8709980071D783 /* Build configuration list for PBXProject "Microbit Uploader" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E9F4FEEC1D8709980071D783 /* Debug */,
E9F4FEED1D8709980071D783 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E9F4FEEE1D8709980071D783 /* Build configuration list for PBXNativeTarget "Microbit Uploader" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E9F4FEEF1D8709980071D783 /* Debug */,
E9F4FEF01D8709980071D783 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = E9F4FED51D8709980071D783 /* Project object */;
}
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:Microbit Uploader.xcodeproj">
</FileRef>
</Workspace>
@@ -0,0 +1,6 @@
#import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject <NSApplicationDelegate>
@end
@@ -0,0 +1,130 @@
#import "AppDelegate.h"
#import "DirectoryWatcher.h"
#import "Uploader.h"
@interface AppDelegate ()<DirectoryWatcherDelegate, UploaderDelegate, NSUserNotificationCenterDelegate>
@property DirectoryWatcher * watcher;
@property Uploader * uploader;
@property NSStatusItem * menubarItem;
@end
@implementation AppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
// Insert code here to initialize your application
self.watcher = [[DirectoryWatcher alloc] initWithPath:[self downloadsDirectory]];
self.watcher.delegate = self;
[self.watcher startWatching];
self.uploader = [[Uploader alloc] init];
self.uploader.delegate = self;
[NSUserNotificationCenter defaultUserNotificationCenter].delegate = self;
[self createMenuBarIcon];
[self configureVolumeMountNotifications];
[self showActiveMicroBits];
}
- (void)applicationWillTerminate:(NSNotification *)aNotification {
// Insert code here to tear down your application
[self.watcher stopWatching];
}
- (void)dealloc {
[[NSWorkspace sharedWorkspace].notificationCenter removeObserver:self];
}
#pragma mark - Directory
- (void)watcher:(DirectoryWatcher *)watcher observedNewFileAtPath:(NSString *)path {
NSString * fullPath = [watcher.path stringByAppendingPathComponent:path];
if ([self.uploader shouldUploadFileAtPath:fullPath]) {
[self.uploader uploadFile:fullPath];
}
}
- (NSString*)downloadsDirectory {
NSArray * paths = NSSearchPathForDirectoriesInDomains(NSDownloadsDirectory, NSUserDomainMask, YES);
return paths.firstObject;
}
#pragma mark - Uploader delegate
- (void)uploader:(Uploader *)uploader transferredFile:(NSString *)file toMicroBit:(NSString *)microbit {
[self showNotification:@"micro:bit upload" withDescription:[NSString stringWithFormat:@"%@ uploaded to %@", file.lastPathComponent, microbit]];
}
- (void)uploader:(Uploader *)uploader failedToTransferFile:(NSString *)file toMicroBit:(NSString *)microbit {
[self showNotification:@"micro:bit upload failed" withDescription:[NSString stringWithFormat:@"Couldn't transfer %@ to %@", file.lastPathComponent, microbit]];
}
- (void)showNotification:(NSString*)title withDescription:(NSString*)description {
NSUserNotification * notification = [NSUserNotification new];
notification.title = title;
notification.informativeText = description;
notification.soundName = NSUserNotificationDefaultSoundName;
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification];
}
#pragma mark - NSUserNotificationCenterDelegate
- (BOOL)userNotificationCenter:(NSUserNotificationCenter *)center shouldPresentNotification:(NSUserNotification *)notification {
return YES;
}
#pragma mark - Volume mount/unmount notification
- (void)configureVolumeMountNotifications {
[[NSWorkspace sharedWorkspace].notificationCenter addObserver:self selector:@selector(volumeMountNotification:) name:NSWorkspaceDidRenameVolumeNotification object:nil];
[[NSWorkspace sharedWorkspace].notificationCenter addObserver:self selector:@selector(volumeMountNotification:) name:NSWorkspaceDidMountNotification object:nil];
[[NSWorkspace sharedWorkspace].notificationCenter addObserver:self selector:@selector(volumeMountNotification:) name:NSWorkspaceDidUnmountNotification object:nil];
}
- (void)volumeMountNotification:(NSNotification*)sender {
//Delay upadting the menu to give the chance for the disk to fully mount or unmount
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self showActiveMicroBits];
});
}
#pragma mark - Menu bar app
- (void)createMenuBarIcon {
self.menubarItem = [[NSStatusBar systemStatusBar] statusItemWithLength:NSSquareStatusItemLength];
self.menubarItem.button.image = [NSImage imageNamed:@"menubar"];
}
- (void)showActiveMicroBits {
NSMenu * menu = [NSMenu new];
NSString * countString;
NSUInteger count = self.uploader.microBitPaths.count;
if (count == 0) {
countString = @"No connect micro:bits";
}
else if (count == 1) {
countString = @"1 connected micro:bit";
}
else {
countString = [NSString stringWithFormat:@"%lu connected micro:bits", count];
}
NSMenuItem * microBitCount = [[NSMenuItem alloc] initWithTitle:countString action:nil keyEquivalent:@""];
microBitCount.enabled = NO;
[menu addItem:microBitCount];
NSMenuItem * websiteItem = [[NSMenuItem alloc] initWithTitle:@"Editor" action:@selector(launchEditor:) keyEquivalent:@"e"];
[menu addItem:websiteItem];
NSMenuItem * quitItem = [[NSMenuItem alloc] initWithTitle:@"Quit" action:@selector(terminate:) keyEquivalent:@"q"];
[menu addItem:quitItem];
self.menubarItem.menu = menu;
}
- (void)launchEditor:(id)sender {
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://makecode.microbit.org/"]];
}
@end
@@ -0,0 +1,68 @@
{
"images" : [
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16.png",
"scale" : "1x"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16@2x.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32@2x.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128@2x.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256@2x.png",
"scale" : "2x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512.png",
"scale" : "1x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512@2x.png",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
@@ -0,0 +1,15 @@
{
"images" : [
{
"idiom" : "mac",
"filename" : "menubar.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11201" systemVersion="15G1004" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11201"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
<connections>
<outlet property="delegate" destination="Voe-Tx-rLC" id="GzC-gU-4Uq"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate"/>
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
</objects>
</document>
@@ -0,0 +1,24 @@
#import <Foundation/Foundation.h>
@class DirectoryWatcher;
@protocol DirectoryWatcherDelegate <NSObject>
- (void)watcher:(DirectoryWatcher*)watcher observedNewFileAtPath:(NSString*)path;
@end
@interface DirectoryWatcher : NSObject
- (instancetype)initWithPath:(NSString*)path;
@property (readonly) NSString * path;
@property id<DirectoryWatcherDelegate> delegate;
- (void)startWatching;
//Automatically called when deallocated
- (void)stopWatching;
@end
@@ -0,0 +1,75 @@
#import "DirectoryWatcher.h"
#import <CoreServices/CoreServices.h>
void callback(ConstFSEventStreamRef streamRef, void * info, size_t numEvents, void * eventPaths, const FSEventStreamEventFlags eventFlags[], const FSEventStreamEventId eventIds[]);
@interface DirectoryWatcher ()
@property NSString * path;
@property NSMutableSet<NSString*>* knownFiles;
@property FSEventStreamRef stream;
- (void)rescanPathWithEvents:(BOOL)sendEvents;
@end
@implementation DirectoryWatcher
- (instancetype)initWithPath:(NSString *)path {
if (!path) {
return nil;
}
self = [super init];
if (self) {
self.path = path;
}
return self;
}
- (void)dealloc {
[self stopWatching];
}
- (void)startWatching {
self.knownFiles = [NSMutableSet new];
[self rescanPathWithEvents:NO];
CFStringRef path = (__bridge CFStringRef)(self.path);
CFArrayRef pathsToWatch = CFArrayCreate(NULL, (const void**)&path, 1, NULL);
CFAbsoluteTime latency = 1;
FSEventStreamContext context = { 0, (__bridge void * _Nullable)(self), NULL, NULL, NULL };
self.stream = FSEventStreamCreate(NULL, &callback, &context, pathsToWatch, kFSEventStreamEventIdSinceNow, latency, kFSEventStreamCreateFlagNone);
FSEventStreamScheduleWithRunLoop(self.stream, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode);
FSEventStreamStart(self.stream);
}
- (void)stopWatching {
if (self.stream) {
FSEventStreamStop(self.stream);
FSEventStreamInvalidate(self.stream);
FSEventStreamRelease(self.stream);
self.stream = nil;
}
}
- (void)rescanPathWithEvents:(BOOL)sendEvents {
NSArray<NSString*>* downloadFiles = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:self.path error:nil];
NSMutableSet<NSString*>* fullSet = [NSMutableSet new];
for (NSString * file in downloadFiles) {
[fullSet addObject:file];
if (![self.knownFiles containsObject:file]) {
if (sendEvents) {
[self.delegate watcher:self observedNewFileAtPath:file];
}
}
}
self.knownFiles = fullSet;
}
@end
void callback(ConstFSEventStreamRef streamRef, void * info, size_t numEvents, void * eventPaths, const FSEventStreamEventFlags eventFlags[], const FSEventStreamEventId eventIds[]) {
DirectoryWatcher * watcher = (__bridge DirectoryWatcher*)info;
[watcher rescanPathWithEvents:YES];
}
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.01</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSUIElement</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Thomas Denney. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
@@ -0,0 +1,21 @@
#import <Foundation/Foundation.h>
@class Uploader;
@protocol UploaderDelegate <NSObject>
- (void)uploader:(Uploader*)uploader transferredFile:(NSString*)file toMicroBit:(NSString*)microbit;
- (void)uploader:(Uploader*)uploader failedToTransferFile:(NSString*)file toMicroBit:(NSString*)microbit;
@end
@interface Uploader : NSObject
@property id<UploaderDelegate> delegate;
- (BOOL)shouldUploadFileAtPath:(NSString*)path;
- (NSArray<NSString*>*)microBitPaths;
- (void)uploadFile:(NSString*)file;
- (void)uploadFile:(NSString*)file toMicroBit:(NSString*)path;
@end
@@ -0,0 +1,74 @@
#import "Uploader.h"
@interface Uploader ()
@property NSOperationQueue * backgroundCopyQueue;
@end
@implementation Uploader
- (instancetype)init {
self = [super init];
if (self) {
self.backgroundCopyQueue = [NSOperationQueue new];
}
return self;
}
- (BOOL)shouldUploadFileAtPath:(NSString *)path {
//Whilst Safari is downloading the file it appends .download to the name
NSRegularExpression * ignoreDownload = [NSRegularExpression regularExpressionWithPattern:@".download$" options:NSRegularExpressionCaseInsensitive error:nil];
if ([ignoreDownload numberOfMatchesInString:path.lastPathComponent options:0 range:NSMakeRange(0, path.lastPathComponent.length)] > 0) {
return NO;
}
//Chrome and Firefox create .hex files
NSRegularExpression * hexFiles = [NSRegularExpression regularExpressionWithPattern:@".hex$" options:NSRegularExpressionCaseInsensitive error:nil];
if ([hexFiles numberOfMatchesInString:path.lastPathComponent options:0 range:NSMakeRange(0, path.lastPathComponent.length)] > 0) {
return YES;
}
//Safari tends to just name files 'Unknown X'
NSRegularExpression * unknownFiles = [NSRegularExpression regularExpressionWithPattern:@"^Unknown(( |-)[0-9]+)?" options:NSRegularExpressionCaseInsensitive error:nil];
if ([unknownFiles numberOfMatchesInString:path.lastPathComponent options:0 range:NSMakeRange(0, path.lastPathComponent.length)]) {
return YES;
}
return NO;
}
- (NSArray<NSString*>*)microBitPaths {
NSArray<NSURL*>* allVolumes = [[NSFileManager defaultManager] mountedVolumeURLsIncludingResourceValuesForKeys:nil options:NSVolumeEnumerationSkipHiddenVolumes];
NSMutableArray<NSString*>* microbitPaths = [NSMutableArray new];
NSRegularExpression * microbitRegex = [NSRegularExpression regularExpressionWithPattern:@"^MICROBIT" options:NSRegularExpressionCaseInsensitive error:nil];
for (NSURL * volume in allVolumes) {
NSString * lastPathComponent = volume.lastPathComponent;
if ([microbitRegex numberOfMatchesInString:lastPathComponent options:0 range:NSMakeRange(0, lastPathComponent.length)] > 0) {
[microbitPaths addObject:volume.path];
}
}
return microbitPaths;
}
- (void)uploadFile:(NSString *)file {
for (NSString * microbit in [self microBitPaths]) {
[self uploadFile:file toMicroBit:microbit];
}
}
- (void)uploadFile:(NSString *)file toMicroBit:(NSString *)path {
[self.backgroundCopyQueue addOperationWithBlock:^{
NSError * copyError;
NSString * destination = [path stringByAppendingPathComponent:file.lastPathComponent];
if (![[NSFileManager defaultManager] copyItemAtPath:file toPath:destination error:&copyError]) {
[self.delegate uploader:self failedToTransferFile:file toMicroBit:path.lastPathComponent];
}
else {
[self.delegate uploader:self transferredFile:file toMicroBit:path.lastPathComponent];
}
}];
}
@end
@@ -0,0 +1,5 @@
#import <Cocoa/Cocoa.h>
int main(int argc, const char * argv[]) {
return NSApplicationMain(argc, argv);
}
+40
View File
@@ -0,0 +1,40 @@
# @boardname@ uploader for OS X
![](Microbit Uploader/Assets.xcassets/AppIcon.appiconset/icon_256x256.png)
This project is a clone of the [Windows
uploader](https://makecode.microbit.org/uploader), but for OS X. Once launched,
the app runs in your menu bar and will automatically deploy any HEX files to
your `@boardname@`. Like the Windows version, it is compatible with any browser
that can run @homeurl@.
## Install the built version
1. Download the latest `.zip` release from the `Release` directory
2. Unzip it
3. Drag `Microbit Uploader` to your Applications folder and launch it
## Building
To build the project you'll need a copy of OS X 10.11 or higher and Xcode 8 or
higher (you may be able to build on earlier OSes or versions of Xcode, but this
remains untested). Once you have a development environment set up, just build
and run `Microbit Uploader.xcodeproj`.
## Distributing
1. Open the Xcode project
2. Product > Archive
3. Export:
![Export](Graphics/export.png)
4. You will then have the option of either signing or not-signing the
application:
a) If you have an Apple developer account, select 'Export a Developer
ID-signed Application'
b) If you don't have a developer ID, select 'Export as a macOS App'
5. Zip the produced app and upload to CDN or equivalent
-48
View File
@@ -1,48 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "m.pxt.io", "app\m.pxt.io.jsproj", "{39122940-AB16-4CD4-A0CE-79A3EB863ECF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.ActiveCfg = Debug|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Build.0 = Debug|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Deploy.0 = Debug|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.ActiveCfg = Debug|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Build.0 = Debug|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Deploy.0 = Debug|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.ActiveCfg = Debug|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Build.0 = Debug|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Deploy.0 = Debug|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Build.0 = Release|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Deploy.0 = Release|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.ActiveCfg = Release|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Build.0 = Release|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Deploy.0 = Release|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.ActiveCfg = Release|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Build.0 = Release|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Deploy.0 = Release|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.ActiveCfg = Release|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Build.0 = Release|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -1 +0,0 @@
MainPackage=C:\gh\pxt-microbit\win10\app\bin\Debug\m.pxt.io_0.1.4.0_AnyCPU_Debug.appx
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

-17
View File
@@ -1,17 +0,0 @@
body {
margin: 10px;
}
.tip {
font-size: 90%;
padding-left: 20px;
}
.paramName {
font-size: 100%;
color: black;
}
.paramValue {
color: black;
}
-26
View File
@@ -1,26 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>Navigation Error</title>
<link href="msapp-error.css" rel="stylesheet" type="text/css"/>
<script src="msapp-error.js" type="text/javascript"></script>
</head>
<body>
<h1>Navigation Error</h1>
<div id="failureUrl" class="param">
<span>-</span><span class="paramName">failureUrl</span><span>=</span>
<span id="failureUrlValue" class="paramValue"></span>
<span class="tip">(indicates the url where the error occurred)</span><br/>
</div><br/>
<div id="httpStatus" class="param">
<span>-</span><span class="paramName">httpStatus</span><span>=</span>
<span id="httpStatusValue" class="paramValue"></span>
<span class="tip">(available when the error has an http status code)</span><br/>
</div><br/>
<div id="failureName">
<span>-</span><span class="paramName">failureName</span><span>=</span>
<span id="failureNameValue" class="paramValue"></span>
<span class="tip">(available only when the error does not have a http status code)</span><br/>
</div>
</body>
</html>
-22
View File
@@ -1,22 +0,0 @@
(function () {
var validParameterNames = [ "httpStatus", "failureName", "failureUrl" ];
function parseQueryParameters() {
var query = location.search.slice(1);
return query.split("&").reduce(function (queryParameters, rawPair) {
var pair = rawPair.split("=").map(decodeURIComponent);
queryParameters[pair[0]] = pair[1];
return queryParameters;
}, {});
}
function initialize() {
var queryParameters = parseQueryParameters();
validParameterNames.forEach(function (parameterName) {
var parameterValue = queryParameters[parameterName] || "N/A";
document.getElementById(parameterName + "Value").textContent = parameterValue;
});
}
document.addEventListener("DOMContentLoaded", initialize);
}());
-50
View File
@@ -1,50 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="39122940-ab16-4cd4-a0ce-79a3eb863ecf" Version="0.1.5.0" Publisher="CN=jhalleux" />
<mp:PhoneIdentity PhoneProductId="39122940-ab16-4cd4-a0ce-79a3eb863ecf" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>codethemicrobit</DisplayName>
<PublisherDisplayName>Microsoft</PublisherDisplayName>
<Logo>images\storelogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate" />
</Resources>
<Applications>
<Application Id="App" StartPage="https://m.pxt.io/">
<uap:ApplicationContentUriRules>
<uap:Rule Match="https://m.pxt.io/" Type="include" WindowsRuntimeAccess="all" />
<uap:Rule Match="https://codemicrobit.com/" Type="include" WindowsRuntimeAccess="all" />
<uap:Rule Match="https://codethemicrobit.com/" Type="include" WindowsRuntimeAccess="all" />
</uap:ApplicationContentUriRules>
<uap:VisualElements DisplayName="codethemicrobit" Description="Code editors for the BBC micro:bit" BackgroundColor="white" Square150x150Logo="images\Square150x150Logo.png" Square44x44Logo="images\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="images\Wide310x150Logo.png" ShortName="code the micro:bit">
</uap:DefaultTile>
<uap:SplashScreen Image="images\splashscreen.png" />
</uap:VisualElements>
<Extensions>
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="microbithex">
<uap:DisplayName>BBC micro:bit binary file</uap:DisplayName>
<uap:SupportedFileTypes>
<uap:FileType ContentType="application/x-microbit-hex">.hex</uap:FileType>
</uap:SupportedFileTypes>
</uap:FileTypeAssociation>
</uap:Extension>
</Extensions>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<uap:Capability Name="removableStorage" />
<DeviceCapability Name="bluetooth" />
<DeviceCapability Name="serialcommunication">
<Device Id="any">
<Function Type="name:serialPort" />
</Device>
</DeviceCapability>
</Capabilities>
</Package>
Binary file not shown.
@@ -1,22 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeTheMicrobit.Uploader", "Microbit.Uploader\CodeTheMicrobit.Uploader.csproj", "{7DC6CA45-FD75-44BC-805E-708C812CD4BF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
+40
View File
@@ -0,0 +1,40 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeTheMicrobit", "Microbit.Uploader\CodeTheMicrobit.csproj", "{7DC6CA45-FD75-44BC-805E-708C812CD4BF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|ARM.ActiveCfg = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|ARM.Build.0 = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|x64.ActiveCfg = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|x64.Build.0 = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|x86.ActiveCfg = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Debug|x86.Build.0 = Debug|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|Any CPU.Build.0 = Release|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|ARM.ActiveCfg = Release|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|ARM.Build.0 = Release|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|x64.ActiveCfg = Release|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|x64.Build.0 = Release|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|x86.ActiveCfg = Release|Any CPU
{7DC6CA45-FD75-44BC-805E-708C812CD4BF}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -8,7 +8,7 @@
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Microsoft.MicroBit</RootNamespace>
<AssemblyName>Microbit.Uploader</AssemblyName>
<AssemblyName>CodeTheMicrobit</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
@@ -79,7 +79,7 @@
this.MinimizeBox = false;
this.Name = "LicenseDialog";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "code the micro:bit uploader Terms Of Use";
this.Text = "code the micro:bit terms of use";
this.ResumeLayout(false);
}
@@ -14,7 +14,7 @@ namespace Microsoft.MicroBit
public LicenseDialog()
{
InitializeComponent();
this.textBox.Rtf = Resources.MSR_LA___2576;
this.textBox.Text = Resources.MSR_LA___2576;
}
private void acceptButton_Click(object sender, EventArgs e)
+2 -1
View File
@@ -116,6 +116,7 @@
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 5;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// linkLabel1
//
@@ -148,7 +149,7 @@
this.ShowInTaskbar = false;
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "code the micro:bit uploader";
this.Text = "code the micro:bit";
this.Load += new System.EventHandler(this.MainForm_Load);
((System.ComponentModel.ISupportInitialize)(this.backgroundPictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
@@ -32,7 +32,7 @@ namespace Microsoft.MicroBit
private void openEditor()
{
// lanch editor
try { Process.Start("https://codethemicrobit.com"); } catch (Exception) { }
try { Process.Start("https://makecode.microbit.org#uploader"); } catch (Exception) { }
}
private void initializeFileWatch()
@@ -236,18 +236,14 @@ namespace Microsoft.MicroBit
{
try
{
Process.Start("https://codethemicrobit.com/uploader");
Process.Start("https://makecode.microbit.org/uploader");
}
catch (IOException) { }
}
private void backgroundPictureBox_Click(object sender, EventArgs e)
{
try
{
Process.Start("https://codethemicrobit.com");
}
catch (IOException) { }
this.openEditor();
}
private void SettingsLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
@@ -262,5 +258,10 @@ namespace Microsoft.MicroBit
{
this.openEditor();
}
private void pictureBox1_Click(object sender, EventArgs e)
{
this.openEditor();
}
}
}
@@ -34,7 +34,7 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.9.0.0")]
[assembly: AssemblyFileVersion("0.9.0.0")]
[assembly: AssemblyVersion("0.10.0.0")]
[assembly: AssemblyFileVersion("0.10.0.0")]
[assembly: CLSCompliant(true)]
[assembly: NeutralResourcesLanguage("en-US")]
@@ -81,8 +81,7 @@ namespace Microsoft.MicroBit.Properties {
}
/// <summary>
/// Looks up a localized string similar to {\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fbidi \fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}
///{\f2\fbidi \fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f3\fbidi \froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;}{\f10\fbidi \fnil\fcharset2\fp [rest of string was truncated]&quot;;.
/// Looks up a localized string similar to TBD.
/// </summary>
internal static string MSR_LA___2576 {
get {
@@ -118,13 +118,13 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="MSR_LA___2576" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\MSR-LA - 2576.rtf;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="microbit_red" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\microbit.red.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="MSFT_logo_png" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\MSFT_logo_png.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="microbit_red" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\microbit.red.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="MSR_LA___2576" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\MSR-LA - 2576.rtf;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
</root>
-43
View File
@@ -1,43 +0,0 @@
/// <reference path="../node_modules/pxt-core/built/pxt.d.ts"/>
import * as fs from "fs";
import * as path from "path";
import * as child_process from "child_process";
let writeFileAsync: any = Promise.promisify(fs.writeFile)
let execAsync: (cmd: string, options?: { cwd?: string }) => Promise<Buffer> = Promise.promisify(child_process.exec)
export function deployCoreAsync(res: ts.pxt.CompileResult) {
return getBitDrivesAsync()
.then(drives => {
if (drives.length == 0) {
console.log("cannot find any drives to deploy to")
} else {
console.log(`copy ${ts.pxt.BINARY_HEX} to ` + drives.join(", "))
}
return Promise.map(drives, d =>
writeFileAsync(d + ts.pxt.BINARY_HEX, res.outfiles[ts.pxt.BINARY_HEX])
.then(() => {
console.log("wrote hex file to " + d)
}))
})
.then(() => { })
}
function getBitDrivesAsync(): Promise<string[]> {
if (process.platform == "win32") {
return execAsync("wmic PATH Win32_LogicalDisk get DeviceID, VolumeName, FileSystem")
.then(buf => {
let res: string[] = []
buf.toString("utf8").split(/\n/).forEach(ln => {
let m = /^([A-Z]:).* MICROBIT/.exec(ln)
if (m) {
res.push(m[1] + "/")
}
})
return res
})
} else {
return Promise.resolve([])
}
}
+29
View File
@@ -0,0 +1,29 @@
<meta name="msvalidate.01" content="C458ADC671C51F222A0F655F66596649" />
<meta property="og:title" content="Microsoft MakeCode" />
<meta property="og:site_name" content="Microsoft MakeCode" />
<meta property="og:url" content="https://www.makecode.com">
<meta property="og:type" content="website" />
<meta property="og:description" content="Microsoft MakeCode is a free, open-source Block and JavaScript learn-to-code editor that promotes a more inclusive approach to computing education." />
<meta property="og:image" content="/static/logo/logo-card.png">
<meta property="fb:app_id" content=""/>
<meta name="msapplication-config" content="/static/logo/favicons/browserconfig.xml">
<meta name="msapplication-TileImage" content="/static/logo/favicons/mstile-310x310.png">
<meta name="msapplication-TileColor" content="#b4009e">
<meta name="application-name" content="MakeCode">
<link rel="shortcut icon" sizes="16x16 24x24 32x32 48x48" href="/static/logo/favicons/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="/static/logo/favicons/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/static/logo/favicons/apple-touch-icon.png">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Microsoft MakeCode">
<meta name="twitter:description" content="Microsoft MakeCode is a free, open-source Block and JavaScript learn-to-code editor that promotes a more inclusive approach to computing education.">
<meta name="twitter:site" content="@MSMakeCode">
<meta name="twitter:creator" content="@MSMakeCode">
<meta name="twitter:image" content="/static/logo/logo-card.png"/>
<link rel="stylesheet" href="/doccdn/semantic.css" />
<link rel="stylesheet" href="/docfiles/index.css" />
<script src="/doccdn/jquery.js"></script>
<script src="/static/semantic/semantic.min.js"></script>
<script src="/docfiles/index.js"></script>
-22
View File
@@ -1,22 +0,0 @@
{
"name": "koduj z micro:bit",
"title": "koduj z micro:bit",
"docMenu": [
{
"name": "O nas",
"path": "/about"
},
{
"name": "Lekcje",
"path": "/lessons"
},
{
"name": "Instrukcja obsługi",
"path": "/reference"
},
{
"name": "Urządzenie",
"path": "/device"
}
]
}
-7
View File
@@ -1,7 +0,0 @@
# Dokumentacja
Witamy na stronach dokumentacji!
* Przeglądnij [instrukcje obsługi](/reference)
* Dowiedz się więcej o [urządzeniu](/device)
* Wystartuj z [lekcjami](/lessons)
-68
View File
@@ -1,68 +0,0 @@
```sim
basic.forever(() => {
basic.showString("Hi!");
})
input.onButtonPressed(Button.A, () => {
led.stopAnimation();
basic.showLeds(`
. . . . .
. # . # .
. . . . .
# . . . #
. # # # .`);
});
input.onButtonPressed(Button.B, () => {
led.stopAnimation();
basic.showLeds(`
. # . # .
# . # . #
# . . . #
. # . # .
. . # . .`);
});
```
# About
The [BBC micro:bit](https://www.microbit.co.uk) is a [pocket-size computer](/device) with a 5x5 display of 25 LEDs, Bluetooth and sensors that can be programmed by anyone.
The BBC micro:bit was made possible by many [partners](https://www.microbit.co.uk/partners).
The micro:bit provides an easy and fun introduction to programming and making switch on, program it to do something fun wear it, customize it.
Just like Arduino, the micro:bit can be connected to and interact with sensors, displays, and other devices.
## Hardware: The Device
Learn about about the [hardware components](/device) of the micro:bit to make the most of it!
## Programming: Blocks or JavaScript
The student can program the BBC micro:bit using [Blocks](/blocks) or [JavaScript](/javascript), via the [micro:bit APIs](/reference):
```blocks
basic.showString("Hi!");
```
## Compile and Flash: Your Program!
When a user has her code ready, she can connect her BBC micro:bit to a computer via a USB cable, so it appears as a mounted drive (named MICROBIT).
Compilation to ARM thumb machine code from [Blocks](/blocks) or [JavaScript](/javascript) happens in the browser.
The student is prompted to save the ARM binary program to a file, which she then simply drags to the micro:bit mounted drive,
which flashes the micro:bit device with the new program.
## Simulator: Test Your Code
Before a student compiles her code for the micro:bit, she can run it using the micro:bit simulator, all within the confines of a web browser.
The simulator has support for the LED screen, buttons, as well as compass, accelerometer, and digital I/O pins.
## C++ Runtime
The [C++ BBC micro:bit runtime](http://lancaster-university.github.io/microbit-docs/), created at [Lancaster University](http://www.lancaster.ac.uk/), provides access to the hardware functions of the micro:bit,
as well as a set of helper functions (such as displaying a number/image/string on the LED screen).
The [micro:bit library](/reference) mirrors the functions of the C++ library.
When code is compiled to ARM machine code, the calls to JavaScript micro:bit functions are replaced with calls to the corresponding C++ functions.
## Open Source
The editor for the BBC micro:bit is [open source](/open-source) on GitHub. Contributors are welcome!
+3
View File
@@ -0,0 +1,3 @@
{
"appref": "v"
}
-8
View File
@@ -1,8 +0,0 @@
# Blocks language
```namespaces
for (let i = 0;i<5;++i) {}
if (true){}
let x = 0;
Math.random(5);
```
-9
View File
@@ -1,9 +0,0 @@
# Logic
```cards
if(true) {}
true;
true && false;
!true;
1 != 0;
```
-102
View File
@@ -1,102 +0,0 @@
# Boolean
true or false.
A Boolean has one of two possible values: `true`; `false`. Boolean (logical) operators (*and*, *or*, *not*) take Boolean inputs and yields a Boolean value. Comparison operators on other types ([numbers](/reference/types/number), [strings](/reference/types/string) yields a Boolean value.
The following blocks represent the true and false Boolean values, which can be plugged in anywhere a Boolean value is expected:
```blocks
true;
false;
```
The next three blocks represent the three Boolean (logic) operators:
```blocks
true && false;
true || false;
!true;
```
The next six blocks represent comparison operators that yield a Boolean value. Most comparisons you will do involve [numbers](/reference/types/number):
```blocks
42 == 0;
42 != 0;
42 < 0;
42 > 0;
42 <= 0;
42 >= 0;
```
Boolean values and operators are often used with an [if](/blocks/logic/if) or [while](/blocks/loops/while) statement to determine which code will execute next. For example:
### Functions that return a Boolean
Some functions return a Boolean value, which you can store in a Boolean variable. For example, the following code gets the on/off state of `point (1, 2)` and stores this in the Boolean variable named `on`. Then the code clears the screen if `on` is `true`:
### Boolean operators
Boolean operators take Boolean inputs and evaluate to a Boolean output:
### Conjunction: `A and B`
`A and B` evaluates to `true` if-and-only-if both A and B are true:
```blocks
false && false == false;
false && true == false;
true && false == false;
true && true == true;
```
### Disjunction: `A or B`
`A or B` evaluates to `true` if-and-only-if either A is true or B is true:
```blocks
false || false == false;
false || true == true;
true || false == true;
true || true == true;
```
### Negation: `not A`
`not A` evaluates to the opposite (negation) of A:
```blocks
!false == true;
!true == false;
```
### Example
This example turns on LED `3 , 3`, if LEDs `1 , 1` and `2 , 2` are both on:
```blocks
if (led.point(1,1) && led.point(2,2)) {
led.plot(3,3)
}
```
### Comparisons of numbers and strings
When you compare two Numbers, you get a Boolean value, such as the comparison `x < 5` in the code below:
```blocks
let x = math.random(5)
if(x < 5) {
basic.showString("low");
} else {
basic.showString("high");
}
```
See the documentation on [Numbers](/reference/types/number) for more information on comparing two Numbers. You can also [compare strings](/reference/types/string-functions) using the `equals` function.
### See also
[if](/blocks/logic/if), [while](/blocks/loops/while), [number](/reference/types/number)
-28
View File
@@ -1,28 +0,0 @@
# If
### @parent blocks/language
Conditionally run code depending on whether a [Boolean](/blocks/logic/boolean) condition is true or false.
```blocks
if(true) {
}
```
Click on the dark blue gear icon (see above) to add an *else* or *if* to the current block.
### Example: adjusting screen brightness
```blocks
if(input.lightLevel()<100){
led.setBrightness(255);
}
```
If the [light level](/reference/input/light-level) is `< 100`, this code sets the brightness to `255`:
### See also
[while loop](/blocks/loops/while), [for](/blocks/loops/for), [boolean](/blocks/logic/boolean)
-7
View File
@@ -1,7 +0,0 @@
# Loops
```cards
for(let i = 0;i<5;i++) {}
while(true) {}
basic.forever(() => {});
```
-20
View File
@@ -1,20 +0,0 @@
# For
### @parent blocks/language
Run part of the program the number of times you say.
### Example: Count to 4
This program will show the numbers 0, 1, 2, 3, and 4 one after another on the LED screen.
```blocks
for(let i = 0; i < 5; ++i) {
basic.showNumber(i)
}
```
### See also
[repeat](/blocks/loops/repeat), [while](/blocks/loops/while), [if](/blocks/logic/if), [show number](/reference/basic/show-number)
-12
View File
@@ -1,12 +0,0 @@
# Repeat
Run part of the program the number of times you say.
### Block Editor
![](/static/mb/blocks/contents-0.png)
### See also
[for](/blocks/loops/for), [while](/blocks/loops/while), [if](/blocks/logic/if), [show number](/reference/basic/show-number)

Some files were not shown because too many files have changed in this diff Show More