Commit Graph

70 Commits

Author SHA1 Message Date
Joey Wunderlich
34fd7e0600
Update pxt/common-packages and fix build (#2323)
* fix build off of pxt/ and pxt-common-packages master

* check in generated files
2019-07-30 09:45:32 -07:00
Joey Wunderlich
180bd07783
Fix NaN acceleration on mobile (#1984) 2019-04-08 15:11:55 -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
6489163518
Remove logo glow to optimize gif generation (#1894)
* remove glow effect

* adding more config

* added workspace

* pass width to screenshot info

* set max number of frames

* bum pxt
2019-03-20 14:07:32 -07:00
Richard Knoll
847545ec5f
Bringing text back in the sim (#1918) 2019-03-13 16:36:04 -07:00
Peli de Halleux
835e1b2e1c
Sim gif generation (#1877)
* enable simulator screenshot

* use viewhost screenshotAsync facility

* setup giftransparency

* tweak css for gif generation

* patch colors

* update theme

* specify custom gif color

* moving as experiement

* bump pxt
2019-02-27 15:04:03 -08:00
Peli de Halleux
71e2ffb700
don't display acc data when AB added (#1483)
* don't display acc data when AB added

* hide acc
2018-10-22 13:21:12 -07:00
Peli de Halleux
37404acbcc
Tilt support in breadboard + display of accelerometer values (#1379)
* remove disable tilt option

* allow tilting when breadboard is up (music speakers)

* display acceleration

* only showing acc values if read
2018-10-11 13:25:52 -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
47634d52e8
Button event down (#1189)
* support for button_down events

* support for AB button
2018-09-07 08:03:15 -07:00
Guillaume Jenkins
36eafa419d Add white stroke to sim border (#1184)
* Sim now has white stroke in high contrast

* Increase stroke width to 3
2018-09-06 14:14:06 -07:00
Guillaume Jenkins
19ed85336b
Add border around sim in high contrast (#1161)
* Add border around sim in high contrast

* Specify border width
2018-08-31 16:16:38 -04:00
Sam El-Husseini
014125cf19 Update more docs 2018-04-21 11:58:57 -07:00
Sam El-Husseini
6ea0c50472 Initial target repo setup to move to master (v3.10) 2018-04-21 10:25:43 -07:00
Sam El-Husseini
760940b37d
Fix led brightness visuals where it's offset on latest Chrome, Firefox and Edge (#651) 2018-02-15 13:15:24 -08: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
9a9b116ee6 don't allow selection on sim-text/sim-text-pin (#531) 2017-09-07 14:20:39 -07:00
Sam El-Husseini
e3975e65e5 pxt-microbit Accessibility PR (#529)
* Accessibility changes
2017-09-07 13:42:08 -07:00
Sam El-Husseini
b622393828 Respect brightness for bw images, add new glow on images. Brightness affects size and opacity of led. (#492) 2017-08-02 22:02:48 -07:00
Caitlin Hennessy
0b0f6f0eaa Add .no-drag class to eliminate duplication 2017-08-02 11:43:58 -07:00
Caitlin Hennessy
25d17231ac Add 'user-select: none' to sim elements that shouldn't be draggable 2017-08-02 10:30:14 -07:00
Sam El-Husseini
a846d121cb Fix A+B selection issue on click. Fixes Microsoft/pxt#2373 2017-06-30 01:41:48 -07:00
Michal Moskal
00bf5e52d7 shims.d.ts should never be included in simulator 2017-05-12 12:49:41 +01:00
Peli de Halleux
1cf38d92ef support for high contrast in simulator (#386)
* support for high contrast in simulator

* updated logic to find afterProgramPage.
2017-04-19 23:44:47 -07:00
Peli de Halleux
c26a81dee9 scale down simulator to avoid side cutout 2017-02-28 12:15:32 -08:00
Richard Knoll
649e8f7c0f Fix neopixel transform in firefox (#345) 2017-01-26 02:51:26 +00:00
Sam El-Husseini
a54504f31c Updating bluebird typings path 2017-01-03 11:38:21 -08:00
Peli de Halleux
d791738d84 fixing y values in accelerometer simulator
fix for https://github.com/Microsoft/pxt/issues/893
2016-12-08 11:57:17 -08:00
Sam El-Husseini
29eef560b0 whitespace 2016-11-07 10:33:22 -08: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
76adc3c00a added led.enable (#294)
* added led.enable

* fixed simulator support for led.enable
2016-10-28 08:34:04 -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
5edd06c9b9 migrating instruction generation logic to pxt 2016-09-26 13:26:43 -07: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
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
8b40850a94 tweaks to neopixel rendering 2016-09-11 21:55:54 -07:00
Peli de Halleux
910772d54e refacotring various simulator features into pxt 2016-09-09 22:56:26 -07:00
Peli de Halleux
3858b0a0a0 moving wiring to pxt 2016-09-09 15:01:29 -07:00
Peli de Halleux
086bcf372f remove dependencies on dal.d.ts 2016-09-09 13:43:41 -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
e8f9e0f023 lighter rendering of breadboard in grayed 2016-09-08 00:54:19 -07:00
darzu
e59fd8469b improves neopixel simulator 2016-09-07 10:58:44 -07:00
Peli de Halleux
c34b0a1aeb Merge branch 'master' into max6675 2016-09-01 22:48:02 -07:00
Peli de Halleux
39c146329f perf optimization 2016-09-01 22:18:36 -07:00
Peli de Halleux
da16428842 merging master 2016-09-01 21:12:03 -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