Commit Graph

600 Commits

Author SHA1 Message Date
Galen Nickel
aff219c6ef Fill in some parameter TODO's (#1962) 2019-04-04 20:32:48 -07:00
Joey Wunderlich
aa51b7e014 add initial toString block (#1958) 2019-04-04 13:41:51 -07:00
Peli de Halleux
8183b6a4fd
bum pxt 5.9.1 (#1951) 2019-04-03 16:01:04 -07:00
Michał Moskal
98bff887f5 Allocate RefMImage in the GC heap; fixes #1865 (#1934) 2019-03-27 15:10:10 -07:00
Galen Nickel
0f1b923cc9 translator found bug fixes (#1937) 2019-03-22 13:27:25 -07:00
Peli de Halleux
3477d40ce0
uart write sim support (#1933)
* pass data to uart without prefix

* added NEW_LINE support
2019-03-21 10:22:24 -07:00
Peli de Halleux
ea2361792f
Adding serial.set(Rx|Tx)BufferSize (#1931)
* Fix for https://github.com/Microsoft/pxt-microbit/issues/1929

* bump pxt

* updated docs

* fix default values

* moving dialogs to react

* moving to react

* typo

* typo
2019-03-21 08:04:48 -07:00
Peli de Halleux
d640dc5eed
support for is-gesture (#1873)
* support for is-gesture

* updated shims

* activate shake button

* refactor

* refactor shake button
2019-03-21 07:40:23 -07:00
Peli de Halleux
4e77e6259c
vscode Workspace (#1930)
* add vscode workspace

* removed const notation

* updated strings
2019-03-21 04:17:11 -07:00
Peli de Halleux
cd750f51a3
support for hex template (#1913) 2019-03-12 08:25:48 -07:00
Galen Nickel
08b0be35cc Remove servo ref docs (#1890) 2019-02-28 19:05:45 -08:00
Peli de Halleux
c03d03257a
Bump latest common packages (#1885)
* bump pxt

* add fixed

* bump common packages
2019-02-27 22:01:38 -08:00
Peli de Halleux
5389392b4e
reduce GC heap size when BLE is used (#1884) 2019-02-27 15:24:25 -08:00
Michał Moskal
71d98822ae
Support latest PXT with GC (#1798)
* Enable gc and basic compilation fixes

* Add missing GC stuff

* Set microbit-dal version

* Disable jacdac in servo

* UTF fixes

* TS build fixes

* Auto-generated files update

* We only seem to have that much

* Fix for new new compiler

* Account for uninitialized scheduler

* Intialize memory allocator

* bump references

* updated package

* Set image tag, requires https://github.com/Microsoft/pxt/pull/5262

* updated project summaries

* Fixing block tests
2019-02-21 15:41:32 -08:00
Galen Nickel
079cd67c38 Update 'pins' ref pages (#1733)
* Update 'pins' ref pages

* Some jsdoc touchups
2019-01-03 16:02:19 -08:00
chee
025cbc98b3 Fix typo in showIcon jsdoc (#1738)
changes "predifined" to "predefined"
2018-12-13 07:02:48 -08:00
Xuefeng education
30b6ae3acd Remove punctuation for isTouching, isTouchingEdge (#1695)
* Remove punctuation for isTouching, isTouchingEdge

* Update isTouching,isTouchingEdge in core-strings.json
2018-12-02 21:41:52 -08:00
Galen Nickel
55e5125449
Add game state boolean ref docs (#1694)
* Add game state boolean doc refs

* Add check for _img validity

* JS guru tricks
2018-12-02 20:11:17 -08:00
Peli de Halleux
61c06ad969
stop melody block (#1633)
* docs

* updated strings
2018-12-02 07:56:47 -08:00
Galen Nickel
48fcdc8013 Servo lib docs (#1686)
* Servos extension ref docs

* fix param name
2018-11-30 16:17:54 -08:00
Abhijith Chatra
550f39e5b8 Little description for radio broadcast (#1682) 2018-11-29 09:16:51 -08:00
Xuefeng education
b867e909d2 Show block for isGameOver(),isRunning(),isPaused() (#1677) 2018-11-28 21:12:53 -08:00
Peli de Halleux
a936a3a3a3 updated pxt 2018-11-28 12:11:28 -08:00
Peli de Halleux
7b2b502a57
adding missing writeline function (#1667)
* adding missing writeline function

* 1.2.12
2018-11-25 21:57:18 -08:00
Richard Knoll
18a4868cbd
Adding blocks tests (#1620)
* Adding blocks tests

* Moving block tests

* Adding chromium to travis yml
2018-11-14 12:54:26 -08:00
Peli de Halleux
bbc049e05e
updated to pxt444 (#1607) 2018-11-08 16:47:41 -08:00
Galen Nickel
08e9c9c416 Add game 'life' api reference (#1569) 2018-11-01 22:22:54 -07:00
Peli de Halleux
7bc7d2f2ff
only notify needed (#1562)
* only notify needed

* added docs
2018-10-30 19:57:01 -07:00
Peli de Halleux
7783efc9bd
pipe led.plotbargraph through console.log (#1557) 2018-10-29 22:09:28 -07:00
Peli de Halleux
0a708ef815
BLE HF2 log service (#1549)
* basic hf2 service

* service to send hf2 log messages

* use common console.log

* updated shims

* adding config

* adding simulator

* fix hf2 logging

* hide console blocks
2018-10-29 21:12:09 -07:00
Peli de Halleux
93a22ae17f
radio double support (#1540)
* support for doubles in radio

* fix typos

* more docs

* more support

* fix build

* handle serial

* fix length

* fixing buffer allocation

* use same notation

* using decrRC
2018-10-29 10:42:12 -07:00
Peli de Halleux
11dbaabe3a
Buffer from commonpackages (#1520)
* use buffer.ts from common packages

* updated common packages

* fix descr

* fix double description

* restore pin descr
2018-10-25 09:19:49 -07:00
Peli de Halleux
3d52ed44e6 fix i2cwritebuffer signature 2018-10-22 13:32:46 -07:00
Abhijith Chatra
be7858cbed
Cherry picked fixes from v0 to v1 (#1476)
* Fix example and do a few edits (#850)

* Small fixes to the Karel project text (#862)

* fix missing shadow type

* add calibration info (#897)

microbit-support:6348 User reported bug, but didn't realie micro:bit compass had to be calibrated on first run of the program.

* Cherry pick adding various cross-editor compat APIs (#863)

* fix nudge

* Fix a typo ("screent") in the documentation (#1012)

* Fix a typo
"screent" -> "the LED screen"

* Update showArrow doc string for consistency with other methods

* Doc bugs found by xlators (#899)

* Update rotation.md (#998)

reflects actual behaviour of the board

* fixed layout corruption (#1073)

* Updating the new bug filer with the right link

* Update challenges.md (#1325)

For what I'm taught in school, 2 follows 1 😉😉.

* Update simulator.md (#1209)

* Update plant watering.md (#1264)

the connection to servo are male not female

* support for MIDI simulator in v0 (#1331)

* Doc improvements (#1337)

* update grammar in radio-dashboard sample code

* Chanllenge 2 follows 1

I open all challenges.md without "Challenge 2" and review the file
`grep -r "Challenge 2" -L | grep challenge | xargs -I@ code @`

Changes to be committed:
	modified:   docs/lessons/counter/challenges.md
	modified:   docs/lessons/game-counter/challenges.md
	modified:   docs/lessons/night-light/challenges.md
	modified:   docs/lessons/snowflake-fall/challenges.md

* Revert "support for MIDI simulator in v0 (#1331)"

This reverts commit 30a9c411fb80762656e7a636feff8e77b7fd9e67.

* Revert "Cherry pick adding various cross-editor compat APIs (#863)"

This reverts commit 7308dbef23e9ee402bebb7e721d7014d8252c9e5.

* Fixed pin needed to replace button A (#1385)

* Cherry pick part of the signature update in in2cWriteBuffer (#863): 7308dbe
2018-10-22 10:00:57 -07:00
Peli de Halleux
5b28d5080a
support for usb in redirect (#1452)
* support for usb in redirect

* regenerated dal.d.ts
2018-10-17 09:50:34 -07:00
Peli de Halleux
62427152eb revert BLE defaults 2018-10-16 08:54:43 -07:00
Peli de Halleux
2b504d863d
Radiodocsupdate (#1430)
* a few updates

* more updates

* reorder radio blocks

* more shuffling of new radio apis

* fixing hot or ocold

* more doc fixes

* more updates

* fixing docs issues

* more doc fixes

* restore docs errors

* missing packate

* renamed argument of callback

* mssing radio

* more odcs fixes

* lock turtle

* ignore docs for now
2018-10-15 15:32:09 -07:00
Peli de Halleux
192588d8cb
BLE mode by default (#1429)
* set open mode as default + pairing mode supported too

* remove comment
2018-10-15 13:11:35 -07:00
Abhijith Chatra
670a19a9b4 Chaning the order in input advanced category (#1424) 2018-10-15 08:55:38 -07:00
Peli de Halleux
292fa57fbc updated shims 2018-10-13 22:31:43 -07:00
Sam El-Husseini
1b7c51e5b5
don't allow decimals in led x y fields (#1389) 2018-10-12 20:56:44 -07:00
Peli de Halleux
82bf0e7107
WebBLE partial flashing experiment. (#1388)
* support for webble

* more refactoring

* updated check

* flags

* moving flashing to experiments

* always have pairing mode

* fix settings

* added experiment image

* bump pxt

* add missing types

* bump pxt
2018-10-12 16:12:27 -07:00
Peli de Halleux
4b2ed73382
fix brightness (#1386) 2018-10-11 14:08:46 -07:00
Sam El-Husseini
bbf531fde0 Update pin authoring to set size of grid picker width (#1377) 2018-10-10 20:19:32 -07:00
Sam El-Husseini
a069e6f46e
Update icons to have a transparnet OFF colour (#1360) 2018-10-08 10:34:22 -07:00
Peli de Halleux
6209f0cc63
scratch like broadcast api (#1358)
* scratch like broadcast api

* always register handler

* adding docs

* added icon

* updated block name

* adding DAL support "radio.raiseEvent"

* typo

* implemented using radiobus

* adding docs

* adding raise event block

* updated shims

* updated pxt
2018-10-08 09:46:23 -07:00
Peli de Halleux
ae3d3a37f9 hide midi_Send 2018-10-07 21:27:46 -07:00
Peli de Halleux
f2435df722
BLE UART Buffer methods (#1353)
* adding simulator

* attempt at handling size

* correct ref counting

* defense is on

* handle read < 0
2018-10-05 15:25:18 -07:00
Sam El-Husseini
c14108de99
Update icons making the white boxes bigger so it's more readable. (#1354) 2018-10-05 15:09:44 -07:00
Peli de Halleux
9002edbb22
Servo library support (#1343)
* ateempt at bringin servos

* basic plumbing

* avoid math map duplicate

* missing parts annontation

* pretify parts

* extend appcompat layer

* updated strings

* more compat layer

* annotations

* don't rely on webmidi

* updated pxt ref

* bump pxt

* adding whenUsed

* updated v1 readme

* more pins

* more pins

* compress the parts definition

* update common packages
2018-10-05 11:09:08 -07:00