Richard Knoll
6884b2bedf
Fixing parseInt() ( #1022 )
2018-08-01 12:45:56 -07:00
Michał Moskal
57f9cbed9d
Initialize our random generator with codal's ( #1021 )
2018-08-01 13:18:34 -04:00
Michał Moskal
b0eee4afe5
Convert int-to-string directly, without double, see #999 ( #1009 )
2018-07-31 14:41:31 -07:00
Guillaume Jenkins
8c1b9b72b2
Fix randomBool and game of life ( #1008 )
2018-07-31 16:36:52 -04:00
Galen Nickel
f5c44a3d4b
Update 'radio' docs for v1 ( #937 )
2018-07-09 11:17:32 -07:00
Peli de Halleux
8cb951f924
incorrect logic ( #876 )
2018-06-18 14:28:26 -07:00
Peli de Halleux
e6c38b85b0
Display rounded number in basic.showNumber ( #856 )
...
* use roundWithPrecision in show num er
* fixng typing error
* upgraded pxt version
2018-06-04 22:31:04 -07:00
Peli de Halleux
4619dbdd89
plot bar graph handling floating point values ( #855 )
...
* handling floating point values
* removelogging
2018-06-04 16:47:26 -07:00
Peli de Halleux
3b27c74084
added PXT_CREATE_BUFFER macro
2018-06-04 15:12:59 -07:00
Peli de Halleux
56252de874
buffer data vs payload app compat fix ( #854 )
...
* buffer data vs payload app compat fix
* added PXT_MICROBIT_TAGGED_INT
2018-06-04 14:37:26 -07:00
Peli de Halleux
c9b269e2ce
tweak to helpers
2018-06-04 11:47:12 -07:00
Sam El-Husseini
6f148c14e0
Fix randomInt
2018-06-01 11:42:38 -07:00
Sam El-Husseini
cabda63108
Move showNumber to TS and call showString ( #829 )
2018-05-31 10:04:51 -07:00
Michał Moskal
cad13785e2
Implement tagged integers in C++ ( #813 )
...
* Start on the C++ conversion for tagged ints
2018-05-29 15:55:58 -07:00
Sam El-Husseini
c20efd5942
Add field gesture and field images for the different gestures ( #803 )
2018-05-24 17:09:08 -07:00
Sam El-Husseini
af766cedbc
Add builtin package images ( #804 )
2018-05-24 17:08:54 -07:00
Sam El-Husseini
2e33d9abd0
Fix icons and radio
2018-05-24 11:15:45 -07:00
Sam El-Husseini
e7e6992524
Add generator for icon images. Generate icons and use them for the icon field editor.
2018-05-21 10:07:05 -07:00
Sam El-Husseini
3112e442ec
Use jres for icon images (better for offline) ( #776 )
2018-05-15 18:36:36 -07:00
Sam El-Husseini
03f9830ca9
Custom handler key
2018-05-14 13:50:39 -07:00
Sam El-Husseini
d2858f122f
Add radio methods to replace the radio mutator ( #773 )
...
* Add radio methods to replace the object destructing behaviour
2018-05-14 13:18:19 -07:00
Sam El-Husseini
66b320d633
Fix Actions
2018-05-14 11:05:47 -07:00
Sam El-Husseini
442722f12e
Merge branch 'master' into vnext
2018-05-09 10:58:01 -07:00
Sam El-Husseini
8957bf0647
Remove td, remove field matrix, update radio blocks. Revert image literal changes.
2018-05-09 10:56:48 -07:00
Galen Nickel
12eee456df
Change the 'deviceName' description ( #761 )
2018-05-02 13:31:06 -07:00
Peli de Halleux
6081679ec7
adding fp math operators ( #753 )
...
* adding fp math operators
* updated locs files
2018-04-25 08:17:34 -04:00
Sam El-Husseini
e7c75cd88a
Hack to fix random temporarily
2018-04-21 12:09:43 -07:00
Sam El-Husseini
3884f8cac6
Better random Boolean
2018-04-21 10:57:49 -07:00
Sam El-Husseini
6ac64f0e3d
Update tests. remove converted test for the time being
2018-04-21 10:45:02 -07:00
Sam El-Husseini
6ea0c50472
Initial target repo setup to move to master (v3.10)
2018-04-21 10:25:43 -07:00
Peli de Halleux
1fe74c6e01
bumped pxt
2018-03-27 20:47:02 -07:00
Philipp Henkel
8be29202aa
Fix pointer check in serial redirect ( #707 )
2018-03-13 19:24:10 -07:00
Galen Nickel
ddc9aeae35
Add some descriptive info to serial docs ( #704 )
...
* Local commit
* Add some descriptive info to serial docs
* Example typo
* Tiny edit
2018-03-09 13:14:24 -08:00
Peli de Halleux
26a394ae71
fixing plotled to use writeLine
2018-03-08 13:11:13 -08:00
Peli de Halleux
29de28a738
Added serial->write numbers
to support CSV data generation ( #699 )
...
* support for serial write numbers
* moving down the list
* formatting
* fixing example typo
2018-03-08 08:33:02 -08:00
bosnivan
f9354977f7
Fixed comment for onEvent() ( #688 )
2018-03-05 16:31:43 -07:00
Peli de Halleux
cc2d8b0b6a
pad serial.writeLine to the 32byte boundary ( #676 )
...
* pad writeline with zeros
* added padded for serial writline
2018-02-25 09:15:15 -08:00
Peli de Halleux
c282b5d636
remove outdated locales files ( #670 )
2018-02-20 22:17:35 -08:00
Peli de Halleux
3dd45c6f64
Clearer message for devices blocks ( #669 )
2018-02-20 22:00:28 -08:00
Peli de Halleux
d13115e3b5
updated shims
2018-01-30 10:28:02 -08:00
Peli de Halleux
07a578831c
support for buffer packet type ( #608 )
...
* support for buffer packet type
* updated description
* updated signature
* added note on json encoding
* adding sendNumbers
* cleanup
* removing 'sendnumbers'
2018-01-30 10:11:12 -08:00
Galen Nickel
79018d4f00
Enable help for serial readString() ( #609 )
2018-01-30 08:54:42 -08:00
Galen Nickel
aee9b84b31
Do some edits for serial redirect ( #605 )
...
* Do some edits for serial redirect
* Broken links
2017-12-15 16:46:16 -08:00
Peli de Halleux
b45f456736
Redirecttousb ( #604 )
...
* add block to redirect back to USB
* added docs
* bump minor version
2017-12-14 06:44:48 -08:00
Michal Moskal
b673108852
Add functions needed for switch ref-counting fix
2017-12-11 14:48:34 +00:00
Peli de Halleux
26680823ff
Fixing serial buffer docs ( #600 )
...
* Fixing serial buffer docs
* updated shims
2017-12-11 00:37:57 -08:00
Peli de Halleux
d29cc49669
updated strings
2017-10-30 08:44:20 -07:00
Richard Knoll
b67ff733ab
Move forever and runinbackground after onstart ( #555 )
2017-10-24 13:10:54 -07:00
Peli de Halleux
09471f84de
updated strings
2017-10-16 10:01:41 -07:00
Shigeru KANEMOTO
51a42f7380
Apply gridpicker to "spi set pins" block. ( #552 )
...
Just forgot to include in the pull request https://github.com/Microsoft/pxt-microbit/pull/550
2017-10-16 09:50:53 -07:00
Shigeru KANEMOTO
50e72c76db
Apply gridpicker ( #550 )
...
Apply grid picker to "icon image" and "serial redirect" blocks.
2017-10-15 22:28:51 -07:00
Peli de Halleux
cdbc34550a
Various fixes ( #548 )
...
* adding running time micros
* support for system micro seconds
* restore display mode after plotting sprites
* bump pxt
2017-10-11 11:31:07 -07:00
Michał Moskal
9382535d29
Add check in RefObject::decr(); Fix decr() in removeAt see https://github.com/Microsoft/pxt/issues/3093 ( #544 )
2017-10-01 14:39:25 -07:00
Peli de Halleux
fa8dfd1dc3
Game score fix ( #543 )
...
* guard against spurious 'add score' animations
* don't render sprites while background animation
* switch to bw while doing score animation
* clean up display mode
* updated enum declarations
2017-09-25 10:54:40 -07:00
Sam El-Husseini
4459445b8c
Fix accessibility sim regression when setting pin ARIA text. Fixes pxt#2894 ( #533 )
2017-09-10 22:38:01 -07:00
Peli de Halleux
7a8a1ec7ab
updated array strings
2017-09-07 14:10:54 -07:00
Sam El-Husseini
c040de6134
Fixed begin melody API so it doesn't complain about a compiler error, and uses the default value. ( #515 )
2017-08-23 11:38:47 -07:00
Peli de Halleux
3180229bce
updated docs on plotBrightness ( #509 )
2017-08-18 08:15:43 -07:00
ganicke
6110abc17f
Enable more help topics for game API.
2017-08-10 12:01:20 -07:00
Peli de Halleux
42a4401f8f
updated ledBrightness block template
2017-08-07 11:54:24 -07:00
Peli de Halleux
e7c1915076
support for led.plotBrightness ( #494 )
...
* support for led.plotBrightness
* fixing c++ build
* fixed blockid
2017-08-07 11:47:43 -07:00
Peli de Halleux
5e7cba3882
ensure game library runs in greyscale
2017-08-02 15:00:25 -07:00
Peli de Halleux
54eb14abdb
fix for https://github.com/Microsoft/pxt/issues/2613
2017-08-01 08:21:22 -07:00
Peli de Halleux
df2d0ab03d
fix for https://github.com/Microsoft/pxt/issues/2612
2017-08-01 08:19:13 -07:00
Peli de Halleux
74799c65ac
Support for pause/resume of game rendering loop ( #476 )
...
* added pause/resume
* don't override displaymode in game engine
* avoid setting light sensing display mode
2017-08-01 08:17:53 -07:00
HelenFoster
39071b5626
Explain what pressed events do ( #469 )
2017-07-28 10:05:53 -07:00
HelenFoster
1ac227fb7f
Add button down/up to EventBusValue ( #468 )
2017-07-28 07:44:07 -07:00
Peli de Halleux
2ff50b9c0f
adding block notation on ArrowNames ( #462 )
2017-07-25 10:46:00 -07:00
Peli de Halleux
5c4dbcf06e
updated shims
2017-07-24 13:51:17 -07:00
Galen Nickel
fa37f1fac0
Batch of fixes from the Lancaster doc review ( #451 )
...
* Local commit.
* local commit
* Doc fixes from Lancaster review.
* I don't want to change these yet.
* Trailing newlines, arrr.
* Get the 'Game' cards setup.
* Take block support off of 'show animation'.
* Add 'see also' for showArrow().
2017-07-24 13:40:36 -07:00
Richard Knoll
204ec41823
Fixing array pop ( #458 )
2017-07-21 13:42:48 -05:00
HelenFoster
07f86be501
Make Game blocks summary comments more helpful ( #456 )
2017-07-21 05:35:50 -07:00
Galen Nickel
e68e526528
Add help path to jsdoc for pins methods. ( #457 )
...
* Incorrect help link. Fixes pxt#2482.
* Add help path for setPulse. Fixes pxt#1698.
2017-07-21 05:27:28 -07:00
HelenFoster
ab4e1c3dd7
Stop deleted sprites touching others ( #459 )
...
* Stop deleted sprites touching others (#2466 )
* Update description of Delete Sprite block (#2466 )
2017-07-21 05:15:56 -07:00
Galen Nickel
a61f1ec25c
Add cards to 'Control' page to match editor. ( #454 )
2017-07-18 08:48:13 +02:00
Galen Nickel
8e730f619c
More fixes from the Lancaster doc review. ( #453 )
2017-07-18 08:47:27 +02:00
Tom Ball
07380d7c07
fix null dereference
2017-06-11 15:49:16 -07:00
Darius
50ae24f046
Fix missing space in IconNames ( #411 )
2017-06-07 16:43:29 -07:00
Peli de Halleux
f4aa1bf8af
moving ble options into bluetooth project, use Just Works by default
2017-05-30 15:37:24 -07:00
Tom Ball
698001db31
fix showAnimation and scrollImage ( #408 )
2017-05-29 23:01:31 -07:00
Peli de Halleux
fc71a5aecd
moving MesDpadButtonInfo to core
2017-05-25 17:40:22 -07:00
Peli de Halleux
d1c00ae3ab
support for advanced SPI functions
2017-05-25 17:19:25 -07:00
Peli de Halleux
fb5a8cf64d
support for interval in "show icon", "show arrow"
2017-05-25 16:52:52 -07:00
Guillaume Jenkins
56dbd6b0fe
Pins gestures grid ( #400 )
...
* Change pins and gestures to use grids
* Use grid picker for pins and gestures
2017-05-24 15:56:26 -07:00
Peli de Halleux
739fa427d4
updated up/down values
2017-05-22 10:22:56 -07:00
Peli de Halleux
32128cb957
swap 1 down / 1 up ( #404 )
...
* moving devices implementations to js to get simulator support
* swap 1down/up
2017-05-21 07:34:18 -07:00
Peli de Halleux
06217d18c8
moving devices implementations to js to get simulator support ( #403 )
2017-05-19 19:24:21 -07:00
Peli de Halleux
7af5b009cc
moving pairing options to core, do not disable ble in core ( #402 )
...
* moving pairing options to core, do not disable ble in core
* moving default pairing settings into core
2017-05-19 06:35:23 -07:00
Guillaume Jenkins
cbb4541ae9
Undo wrong shims changes
2017-05-15 12:15:26 -07:00
Guillaume Jenkins
e5b40fb50c
Bump pxt-core to 0.12.69
2017-05-15 11:11:34 -07:00
Tom Ball
d5596d8a0a
fix bug
2017-05-12 14:01:19 -07:00
Sam El-Husseini
8ba9679e48
Fix bug in melody parsing logic with A and B being an octave lower.
2017-05-12 00:05:03 -07:00
Sam El-Husseini
83f9b0b458
Merge branch 'decompilefieldeditors'
2017-04-28 14:36:37 -07:00
Peli de Halleux
9af989c13c
Uartevent ( #393 )
...
* support for uart data event
* updated shims
2017-04-28 01:05:04 -07:00
Peli de Halleux
fda4df99b1
updated translations
2017-04-27 07:13:43 -07:00
Sam El-Husseini
a76e8d5ef1
Decompile field editors. Changes in authoring of field editors.
2017-04-26 17:13:17 -07:00
Sam El-Husseini
d54378d802
Revert "Decompile field editor changes"
...
This reverts commit ceb281933f
.
2017-04-26 17:12:39 -07:00
Sam El-Husseini
ceb281933f
Decompile field editor changes
2017-04-26 17:12:26 -07:00
Peli de Halleux
bd895f43ba
Calibrate compass ( #392 )
...
* adding 'calibrate-compass' function
* fixing simulator.
* updated docs
* fixing compat test suite with 'calibrate()' function
2017-04-25 10:46:25 -07:00
Peli de Halleux
54ae7a4fda
Melody events ( #391 )
...
* support for custom playTone
* added music.onEvent, music.setPlayTone
* updated docs
* updated sample
2017-04-25 10:14:34 -07:00
Peli de Halleux
1e4014dc03
Gamefixes ( #389 )
...
* call plot after deleting sprite
* fix double registration
2017-04-21 10:40:31 -07:00
Peli de Halleux
4ec8a62344
Updating to DAL rc9 ( #388 )
...
* moving to DAL rc9
* updaytd dal.d.ts
2017-04-21 09:04:11 -07:00
Peli de Halleux
17c1abe86a
support for serial read/write buffer ( #384 )
2017-04-21 09:02:29 -07:00
Peli de Halleux
17bab9f64f
updated afterProgramPage computation
2017-04-19 22:53:05 -07:00
Peli de Halleux
c1dadd9568
updated core-strings.json
2017-04-18 07:49:43 -07:00
Abhijith Chatra
c4a9c67be6
Adding baud rate 31250 ( #383 )
2017-04-17 10:49:40 -07:00
Peli de Halleux
37efefdcee
surfacing missing repeat parameter ( #380 )
...
* surfacing missing repeat parameter
* updated docs
2017-04-03 10:30:25 -07:00
Peli de Halleux
bd82fb1f17
changed default url of eddystone url
2017-03-27 15:51:40 -07:00
Peli de Halleux
24ecb14321
undusted BT docs
2017-03-27 15:43:37 -07:00
Peli de Halleux
f3025c65c9
use BT logo for devices
2017-03-27 15:26:42 -07:00
Owen Brotherwood
3f25c2a170
add enum baudrates ( #376 )
...
* add enum baudrates
fixes perceived limitation of available baud rates https://github.com/Microsoft/pxt/issues/1752
* correct block comment
* comma correction and remove trailing space
That will teach me just to do cut and paste via github web interface :(
* without running pxt buildtarget
2017-03-26 21:21:51 -07:00
Sam El-Husseini
560c7b37d7
Show note frequency block in toolbox. Fixes Microsoft/pxt#1605
2017-03-18 22:34:06 +13:00
Richard Knoll
6fb9fefc2f
Fix decompilation of control enums ( #371 )
2017-03-13 14:59:53 -07:00
Sam El-Husseini
1b321dee2c
Add getting started and feedback buttons in menu
2017-03-06 16:27:57 -08:00
Abhijith Chatra
13d83a0de3
Creating images directly from createImage API ( #366 )
...
* Creating images direclty from image.
* fxing review comment
2017-03-06 10:37:22 -08:00
Sam El-Husseini
8ceadae0ba
Adding analogWritePin min max
2017-03-03 23:42:36 -08:00
Sam El-Husseini
87f1580061
Enable the slider for a number of apis. ( #367 )
2017-03-03 23:39:42 -08:00
Sam El-Husseini
d0ecafcf7a
Using gridpicker for icons ( #365 )
...
* Use the grid picker custom field for show icons
2017-03-03 16:43:33 -08:00
Peli de Halleux
4252829a9e
moving setgroup to main category ( #362 )
2017-03-01 14:57:47 -08:00
Peli de Halleux
d4475645f4
updated to lancaster rc8 ( #363 )
2017-03-01 14:57:40 -08:00
Sam El-Husseini
7c1b761964
Swapping play builtin melody with begin melody in reference docs
2017-03-01 00:38:12 -08:00
Peli de Halleux
4922a4a833
images for icons
2017-02-28 22:37:48 -08:00
Sam El-Husseini
75331e4297
Remove random boolean color
2017-02-28 18:12:46 -08:00
Sam El-Husseini
e947f4859b
Adding support for music melody arrays ( #358 )
...
* Adding support for music melody arrays in Typescript
2017-02-28 15:23:32 -08:00
Abhijith Chatra
999a40bb0d
Merge pull request #359 from Microsoft/colors
...
Fixing colors
2017-02-27 15:52:14 -08:00
Richard Knoll
0d4af4ea12
Fixing colors
2017-02-27 15:26:45 -08:00
Peli de Halleux
2d5a96d215
enabling icon image
2017-02-27 11:21:21 -08:00
Tom Ball
30fe647f51
more docs for show-arrow. correct errors
2017-02-27 10:51:52 -08:00
Peli de Halleux
794909f09f
updated translations
2017-02-27 09:41:34 -08:00
Peli de Halleux
ab73d77322
updated string locs ( #357 )
2017-02-25 05:39:08 -08:00
chmora
56904acb99
Blockly integrate pxt microbit ( #355 )
...
* added new values for Integration with field_note
2017-02-23 09:44:18 -08:00
Sam El-Husseini
23e835b108
Update core strings
2017-02-22 13:25:47 -08:00
Richard Knoll
be1ea9a742
Pin number typo ( #356 )
2017-02-21 17:43:13 -08:00
Peli de Halleux
e4e6a5effd
updated translations
2017-02-14 07:39:09 -08:00
Peli de Halleux
59322fb06b
updated strings
2017-02-11 14:05:02 -08:00
Abhijith Chatra
19e609c245
Delay initializing the global icons ( #354 )
...
* delay initializing the global icons, so we don't generate them for each hex file
* Moving the strings to flash
2017-02-10 16:33:52 -08:00
Peli de Halleux
6f8060a8c7
allow analog operations on digital pins ( #353 )
2017-02-08 15:42:39 -08:00
Peli de Halleux
49ecac6332
Showimage ( #351 )
...
* support for interval in showImage, showFrame
* added default arg to showFrame
2017-02-03 20:39:18 -08:00
Peli de Halleux
8437f0cf3c
enable sharing
2017-02-03 15:23:46 -08:00
Tom Ball
c13bef01a4
remove image and move enum
2017-02-01 14:08:23 -08:00
Tom Ball
51781be90b
Merge pull request #350 from Microsoft/icons
...
add icons/arrows/clock
2017-02-01 09:28:09 -08:00
Peli de Halleux
4bf659c9ac
updated translations
2017-02-01 07:57:10 -08:00
Tom Ball
db4711fd26
remove hour, add advanced section
2017-01-31 15:54:23 -08:00
Tom Ball
8275fefd08
change name
2017-01-31 14:56:56 -08:00
Peli de Halleux
1d47b4de0d
Lightmonster ( #346 )
...
* fixed boardname issues
* refactored servo info
* coffee cup monster lesson skeleton
* display event source id / value in advanced section
* normalized project structure
* updated project name
* Update projects.md
2017-01-31 08:29:25 -08:00
Tom Ball
2d3ca71ffb
add meta data
2017-01-30 17:05:06 -08:00
Tom Ball
3ba9d2867b
add attribution
2017-01-30 16:51:40 -08:00
Tom Ball
ff7b229a3a
add one image to make it spiffy
2017-01-30 16:42:48 -08:00
Tom Ball
f944af8122
get rid of images
2017-01-30 15:33:33 -08:00
Tom Ball
35225468e4
add some images
2017-01-30 15:03:50 -08:00