Commit Graph

275 Commits

Author SHA1 Message Date
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
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
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
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
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
Richard Knoll
72d5e83e5b Exposing pin eventOn method (#349) 2017-01-30 19:19:54 +00:00
Michal Moskal
31de8892fa Use standard type names
otherwise compilation fails on some yotta installs
2017-01-19 17:23:51 +00:00
chmora
86f6b58d38 fix"string compare works differently in simulator/on target" (#340)
* fix for "string compare works differently in simulator/on target", fixes #901
2017-01-12 15:50:39 -08:00
Peli de Halleux
05028c4527 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-10 10:26:44 -08:00
Abhijith Chatra
365af8d672 Merge pull request #335 from Microsoft/default
Default values for array
2017-01-09 20:35:56 -08:00
Michal Moskal
487da05eca Fix for https://github.com/Microsoft/pxt/issues/1057 2017-01-09 10:58:24 +00:00
Brahma Giri Abhijith Chatra
c938618d29 adding default values for beyond the array.length access 2017-01-08 19:08:09 -08:00
Abhijith
91321dab83 Support for default values in array. 2017-01-08 18:43:14 -08:00
Peli de Halleux
05174f094a updated translations 2017-01-06 06:03:33 -08:00
Peli de Halleux
5d8ccd1d6d adding namespace to api categories (#330)
* adding namespace to api categories

* add icon for led

* adding icons for control, game, images, pins and serial.
2017-01-05 07:01:50 -08:00
Abhijith Chatra
f682e5e694 insertAt support for array (#328)
* Adding insertAt and setLength to array

* implemented review comments

* Bump pxt-core to 0.8.2
2017-01-04 13:07:58 -08:00
Abhijith Chatra
3fcbdbdd82 Array reimplementation as single segment with support for missing values 2016-12-23 19:49:15 -08:00
Peli de Halleux
3141e12f4c support for 8G gestures 2016-12-20 13:05:06 -08:00
Peli de Halleux
4ebe9f595a fix for Microsoft/pxt#961 2016-12-20 12:38:00 -08:00
Peli de Halleux
92b60a251d On start support (#324)
* annotating APIs to support onstart

* missed file

* updated templates

* adding new lines in main.ts

* fixing docs

* removing onstart

* updated docs

* updated various docs

* more docs

* adding upgrade policies for blocks

* updated pxt reference

* placing on start under "basic"
2016-12-19 14:09:35 -08:00
Peli de Halleux
a2755dc4d2 annotate apis to support multiple forever blocks 2016-12-16 16:47:36 -08:00
Peli de Halleux
bbd21a84d6 annotating apis to support toolbox 2016-12-13 12:14:32 -08:00
Peli de Halleux
1649811015 expose "delete" in blocks.
fix for https://github.com/Microsoft/pxt/issues/870
2016-12-08 08:54:05 -08:00
Peli de Halleux
14f16f9b2c expose game.setScore in blocks
fix for https://github.com/Microsoft/pxt/issues/881
2016-12-08 08:51:18 -08:00
Abhijith
6398a42dad Placement new occurances need explicit delete 2016-12-07 18:00:03 -08:00
Richard Knoll
21473f5b9b Fixing array deallocation leak (#317)
* Fixing array deallocation leak

* Moving delete down to the individual destroy methods
2016-12-07 15:44:35 -08:00
Peli de Halleux
d457c3e8d0 exposing delete in blocks 2016-12-06 16:19:35 -08:00
Peli de Halleux
354196e01e missing block annotation on led.enable 2016-12-05 09:17:42 -08:00
Peli de Halleux
aeaa3d7bc1 updated localization files 2016-11-30 16:07:04 -08:00
Peli de Halleux
af8ce3fccf allow for double, breve note durations 2016-11-30 16:06:17 -08:00
Peli de Halleux
8d37be7cbe use optional config to allow override flags in referenced project 2016-11-30 04:35:24 -08:00
Peli de Halleux
be0984cc4a integrating eddystone into bluetooth package 2016-11-30 04:06:15 -08:00
Peli de Halleux
19fb5ecf01 merging ksbit.h into pxt.h 2016-11-29 21:35:26 -08:00
Peli de Halleux
e0c016fbf4 moving definition out of ksbit.h 2016-11-29 15:15:22 -08:00
Peli de Halleux
f046f0e50c merging pxt-microbit-core into the target 2016-11-29 15:06:34 -08:00
Peli de Halleux
63e24ce90a support for setting music pin using analogSetPitchPin 2016-11-29 08:59:54 -08:00
Peli de Halleux
77003b30f2 fixed scroll-image reference 2016-11-28 11:38:37 -08:00
Peli de Halleux
c75e77593a adding loc annotations 2016-11-17 05:30:10 -08:00
Abhijith
411fe52813 Fixing scrollimage to actually scroll. 2016-11-16 18:16:49 -08:00
Peli de Halleux
7e19fbb3ca updated translations 2016-11-11 13:37:29 -08:00
Peli de Halleux
5d6bc2f5df updated loc files 2016-11-11 10:44:21 -08:00
Peli de Halleux
09f4001c7a exposing programSize function 2016-11-08 10:17:25 -08:00
Peli de Halleux
633522c800 removing dangling file 2016-11-07 13:31:24 -08:00
Peli de Halleux
efd310f0b4 added afterProgramPage to C++ declarations 2016-11-07 10:17:03 -08:00
Michal Moskal
b4b789422e Add afterProgramPage() for filesystem support 2016-11-07 16:04:15 +00: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
8ec20b87d7 exposing locs for all apis with jsdoc 2016-11-03 09:43:20 -07:00
Peli de Halleux
3a6e132c7f updatd DAL file 2016-11-03 09:20:30 -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
16cf45aa7c updated localization files 2016-11-01 09:23:04 -07:00
Peli de Halleux
4963bf776a basic servo simulation (#297) 2016-11-01 08:16:03 -07:00
Peli de Halleux
524bcee5ed cleanup bundled locals in core package 2016-10-28 11:20:41 -07: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
Abhijith Chatra
44e2ffc874 Merge pull request #281 from Microsoft/musicfix
Fixing music doc issues
2016-10-21 14:21:19 -07:00
Abhijith
0b1b312e76 Fixing music doc issues 2016-10-21 08:48:43 -07:00
Peli de Halleux
76d236e4d9 updated loc files 2016-10-19 10:45:39 -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
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
f7ed06108d Inputorg (#275)
* use typescript from workspace

* fixed tracking in localhost

* updated ordering of input/radio
2016-10-11 19:36:00 -07:00
Richard Knoll
9f5ebdfb78 Adding advanced attribute to blocks and categories (#273) 2016-10-11 13:48:25 -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