Commit Graph

492 Commits

Author SHA1 Message Date
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
Peli de Halleux
a4b93f7199 support for deletable on start 2017-01-17 11:18:22 -08: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
42773a1a0a updatd weights of radio 2017-01-06 05:43:50 -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
Peli de Halleux
8bf755c15c fixing eddystone uid encoding 2016-12-31 07:25:27 -08:00
Peli de Halleux
07c1f08d18 fix for Microsoft/pxt#1014 2016-12-31 06:36:05 -08:00
Abhijith Chatra
9aca0c19fc Merge branch 'master' into array 2016-12-23 19:53:06 -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
2da0cf1178 support for buffer signature (#325) 2016-12-23 08:58:38 -08:00
Peli de Halleux
03c2df3277 fixed default projects 2016-12-22 11:31:50 -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
c85b6f9507 using calibrated powers for Eddystone 2016-12-07 11:37:33 -08:00
Peli de Halleux
019b00209e moving blocks to advanced 2016-12-07 09:49:19 -08:00
Peli de Halleux
6c11dbcdf4 added setTransmitPower in BLE 2016-12-07 09:05:03 -08:00
Peli de Halleux
91197c5cec updated BLE settings 2016-12-07 08:07:08 -08:00
Peli de Halleux
d457c3e8d0 exposing delete in blocks 2016-12-06 16:19:35 -08:00
Peli de Halleux
06e4f7fb5c Updated BLE project settings 2016-12-05 15:33:40 -08:00
Peli de Halleux
52857c9541 added beacon configuration 2016-12-05 15:02:39 -08:00
Peli de Halleux
34e23934b0 better bluetooth settings 2016-12-05 13:02:11 -08:00
Peli de Halleux
354196e01e missing block annotation on led.enable 2016-12-05 09:17:42 -08:00
Peli de Halleux
bb2e8d0aef 'devices' depends on 'bluetooth' 2016-12-05 09:05:54 -08:00
Peli de Halleux
475821564e fixing justworks support 2016-12-02 09:45:59 -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
4a34f2b932 support for specifying different pairings 2016-11-30 10:35:42 -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
97066e1ba4 enabling justworks pairing mode for bluetooth 2016-11-30 04:30:53 -08:00
Peli de Halleux
d873cbb6c3 updated api definitions 2016-11-30 04:24:52 -08:00
Peli de Halleux
adef3a6487 updated docs 2016-11-30 04:19:17 -08:00
Peli de Halleux
be0984cc4a integrating eddystone into bluetooth package 2016-11-30 04:06:15 -08:00
Peli de Halleux
f0947cddaa updated signatures 2016-11-29 23:39:52 -08:00
Peli de Halleux
c5c5362b5d Merge branch 'master' into eddystone 2016-11-29 23:27:49 -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
b1fcc51bc8 preparing support for eddystone 2016-11-29 09:21:23 -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
59b11ec2a9 Updating the mutate attribute of radio block (#306) 2016-11-14 07:12:24 -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
Richard Knoll
22433317b9 Updating the mutate attribute of radio block 2016-11-11 08:16:27 -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
Guillaume Jenkins
349a385f97 Move templates to directly under libs/ (#303) 2016-11-04 18:32:13 -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
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
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
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
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
Richard Knoll
95e4c609a4 Rename the parameters for the sendValue block (#293) 2016-10-27 14:48:22 -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
Richard Knoll
ec404e5887 Deprecating old radio APIs and fixing docs (#289) 2016-10-24 16:30:21 -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
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
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
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
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
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
15b1f95394 Add annotation to Note.C in music enum 2016-09-22 14:36:37 -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
086bcf372f remove dependencies on dal.d.ts 2016-09-09 13:43:41 -07: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
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
91a8d05e45 updated loc strings 2016-09-08 23:11:58 -07: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
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
9a2367cf8e Add dummy implementations for some bluetooth functions to avoid crashes 2016-09-02 16:03:55 +01: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
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
Peli de Halleux
9085c98c7f merging TD_ID 2016-08-31 11:23:30 -07:00
Peli de Halleux
60f8dd8228 annotating note with TD_ID 2016-08-31 11:22:07 -07:00
darzu
008cbf543f adds "speaker" parts annotation 2016-08-30 11:17:15 -07:00
Michal Moskal
7b11a04727 Upgrade pxt-microbit-core to 0.4.1 2016-08-30 12:48:58 +02:00
Peli de Halleux
f4768d99ff Merge pull request #220 from Microsoft/parts
adds "parts" annotations
2016-08-26 12:00:59 -07: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
darzu
8b46698f50 adds "parts" annotations...
...to libs/microbit and libs/microbit-bluetooth
2016-08-22 08:48:48 -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
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
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
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
Michal Moskal
719370f6b0 Use the new lambdas 2016-08-17 18:08:46 +03:00