Commit Graph

1535 Commits

Author SHA1 Message Date
Dmitriy Antipov 6d222c50cb
Enable some features to improve the programming experience (#1022)
* Update pxtarget.json

Enable addNewTypeScriptFile so that you can split your code into multiple files. Enable blocksCollapsing to collapse blocks for convenience. Turn off highContrast it doesn't work now. We'll see later...

* enable-errorlist-option

* Update pxtarget.json

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>

---------

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
2023-05-18 10:24:11 -07:00
Dmitriy Antipov af263c8183
change-gray-ti-brown (#1021)
A typo that hadn't been noticed before. Does not affect the operation of the simulator.
2023-05-06 09:47:27 -07:00
Joey Wunderlich dd18007035 1.4.32 2023-05-05 16:18:41 -07:00
Dmitriy Antipov fba924d125
Add a none option to the simulator for the color sensor and colorEnumPicker extension (#1018)
* Update colorGrid.ts

* Update ns.ts

Added option to select emptiness (nothing) for the colorEnumPicker block.

* set-new-names-for-color-cells

Set new names for colored cells that pops up when hovering over an element. So the user will understand the color.

* Update sim/visuals/controls/colorGrid.ts

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>

---------

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
2023-05-05 16:04:13 -07:00
Dmitriy Antipov 76257775c3
Extended show screen blocks options (#1019)
* Update targetoverrides.ts

Convert old blocks to obsolete ones, new blocks differ in that you can specify the place to start printing along the horizontal axis of the screen (column). And also added a print style. These are the standard black text on a white background and the new white text on a black background. These two parameters are optionally expanded and optional, by default column = 1 and the print style is the same as before, black text on white.

* Update targetoverrides.ts

* Update libs/screen/targetoverrides.ts

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>

* Update libs/screen/targetoverrides.ts

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>

* Update libs/screen/targetoverrides.ts

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>

* Update libs/screen/targetoverrides.ts

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>

* Update libs/screen/targetoverrides.ts

---------

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
2023-05-05 15:58:52 -07:00
Dmitriy Antipov 9be35a1034
Added support for Reflection Raw mode for the color sensor to the simulator (#1017)
* redesigned-code-to-support-ref-raw

Code that adds reflection raw support for the color sensor. The range of values for this is from 0 to 1023, because analog to digital converter is 10 bits. In fact, the color sensor gives values ​​of about 400 - 700, but I decided to leave the range, which could theoretically be. For other cases (reflections and ambient lighting), the range remains from 0 to 100. The average value when setting the mode in the simulator is displayed as 512, for other modes 50%.

* block-description-update

Block description update, as it did not take into account the mode of raw reflection values.
2023-05-05 15:54:56 -07:00
Dmitriy Antipov 2ca706df70
Fix music images items in other languages (#1014)
* correction-of-displaying-pictures-in-different languages

Correction of displaying pictures in different languages. The category options values were translated into different languages and the translated values could not be checked against the values from icon.jres.

* element-layout-fixes

Уlement layout fixes, for more readable blocks

* Update fieldeditors/field_music.ts

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>

* Update fieldeditors/field_music.ts

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>

* tag-lang-tag-for-languages-other-than-en

The tag is not needed for English, because in the html tag it is already always set.

---------

Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
2023-05-05 15:50:04 -07:00
Dmitriy Antipov dd415019c4
renderPorts-extra-checks-before-print (#1020)
When the program starts, when the showBoot() function is launched, the screenMode is checked and the showPorts function is launched, which in turn executes the renderPorts() function in a loop. While renderPorts is running, the screenMode may change, for example to ShowLines (when showString() was run). It may turn out that the mode has changed, and the renderPorts method has not been fully executed ... in the future, it will draw its own graphics on the screen, although we do not expect to see them already, because. a regime change has occurred. I added checks inside the function before displaying.
2023-05-05 15:46:43 -07:00
Joey Wunderlich 20581513b1 1.4.31 2023-04-29 17:22:20 -07:00
Dmitriy Antipov 1652fc5ffa
fix-bg-color (#1016) 2023-04-29 17:21:48 -07:00
Joey Wunderlich 8a1b6452bd
unpin beta (#1015) 2023-04-28 14:26:34 -07:00
Joey Wunderlich a6712960db 1.4.30 2023-04-26 09:30:55 -07:00
Joey Wunderlich bac70eb177 bump to pick up in ctx translations fix 2023-04-26 09:30:05 -07:00
Joey Wunderlich 830f5ffd77 1.4.29 2023-04-25 16:35:05 -07:00
Joey Wunderlich aac5edd64b bump pxt to latest 7.2.* to pick up crowdin / build fixes 2023-04-25 16:25:21 -07:00
Joey Wunderlich a54007d9ae 1.4.28 2023-04-25 14:56:21 -07:00
Joey Wunderlich 3952cb4858 1.4.27 2023-04-25 12:21:03 -07:00
Joey Wunderlich 0226888441
Change crowdin project to new name (kindscript->makecode) (#1013) 2023-04-25 12:20:42 -07:00
Joey Wunderlich 1373e9c0bc 1.4.26 2023-04-25 12:08:04 -07:00
Dmitriy Antipov cabcb048e3
Troubleshooting updates v1.4.25 (#1012)
* sim_fix

ES version update

* fieldeditors-es-upgrade-to-es2017

Update es to fix issue with fieldeditors.

* editor-es-upgrade-to-es2017

Update es that fixes an issue with the editor.

* editor-download-dialog-fix

Solving a download error that arose due to problems with the buttons in the dialog box.

* return_field_motors

We return the fieldmotors field, because it is necessary about the choice of types of motors: medium, large, one or two.

* update-fields-for-motor-blocks

Set the blocks to the fieldmotors field. Change the name of the blocks for the motors.

* enable-debugger

Instead of the slowmo mode, which was before, a debugger was added, in which slowmo is present.

* fix-field-music

It turned out to update the fieldmusic menu. The menu is now displayed in the correct position.

* Update field_music.ts

* fix-field-brickbutton

Fixed issue with button select menu position from ev3 brick.

* Update dialogs.tsx

* Update field_motors.ts

Repartition of Label for fieldmotos, now it's more readable, it's better.

* motors-new-icon

Created new icons for motors for dropdown image.

* remove-ai-files-for-motors-icon

Remove ai image files for motors
2023-04-25 12:06:54 -07:00
microsoft-github-policy-service[bot] 512a441bca
Microsoft mandatory file (#1007)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-08-30 10:35:02 -07:00
pelikhan b4a18f260d lock beta to 1.4.24 2022-01-29 13:29:33 -08:00
pelikhan 6b3f2da72c 1.4.25 2022-01-29 12:05:31 -08:00
Dmitriy Antipov b9b21328b1
return_blocks (#1003)
These blocks are present in the stable version, but not in the beta.
2021-11-29 09:57:33 -08:00
Richard Knoll bef4ebac43
Updating npm dependencies and getting the build to work (#1001)
* Updating npm dependencies and getting the build to work

* update node in github actions to 14.x
2021-09-22 15:51:32 -07:00
pelikhan 617fdeb747 1.4.24 2021-09-10 11:21:42 -07:00
Dmitriy Antipov c1aead1aa9
fix invert motor angle metod (#999) 2021-09-09 14:11:06 -07:00
Richard Knoll bd0cf05693
Adding gh-actions workflows (#995)
* Adding gh-actions workflows

* Removing travis

* Handle tags also
2021-01-27 14:57:14 -08:00
Galen Nickel faae7133f5
Word changes to reduce policheck hits (#992) 2020-11-06 13:09:53 -08:00
Peli de Halleux 5289850351 bump to v1.2.31 2020-10-02 23:42:38 +02:00
Peli de Halleux ba6e2f7174 enable french 2020-10-02 23:13:04 +02:00
peli 7c5dfc474f update version to v1.2.30 2020-09-20 23:47:53 -07:00
peli 5ab3a6ae96 1.4.23 2020-09-10 23:40:51 -07:00
Maciej Mroziński ed2e1f23e9
Change timeout 1s -> 5s to reduce Timeout errors (#988) 2020-09-11 08:25:12 +02:00
Maciej Mroziński a157943bf7
Read default volume from device settings at start (#987) 2020-09-09 12:06:33 -07:00
peli 40aaf0fb18 1.4.22 2020-09-08 23:54:42 -07:00
Maciej Mroziński b26cf289c3
Change sound volume to level (#986) 2020-09-08 23:53:33 -07:00
Peli de Halleux f0821f8d6c cherry-pick Cooperate (#985)
* cooperate pause

* fix math

* update lastPause before pausing

* faster cooperation

Co-authored-by: Peli de Halleux <peli@DESKTOP-5B7QRAM.corp.microsoft.com>
2020-08-21 06:09:01 +02:00
Richard Knoll 1db61720fc
Adding config file for service worker (#982) 2020-03-27 15:16:56 -07:00
shakao ec2e561427
Updates for policheck (#975) 2020-02-24 09:39:25 -08:00
Peli 36d99c8a55 updated js logo 2020-02-09 21:50:52 -08:00
Peli d003ef3f92 bump to 1.2.27 2020-01-19 22:00:36 -08:00
Peli 0723d4d7aa 1.4.21 2020-01-19 21:38:08 -08:00
Peli e65b16474e shims 2020-01-19 21:38:01 -08:00
Peli e8468ab62c don't close bt connection 2020-01-19 21:37:52 -08:00
Peli 8280937d92 missing icons 2020-01-19 20:50:41 -08:00
Peli 180eb0f74e fix typo 2020-01-19 20:23:59 -08:00
Peli c16c4923af 1.4.20 2020-01-17 20:56:32 -08:00
Peli a792da8058 bump pxt 2020-01-17 20:56:27 -08:00
Peli de Halleux 36b5d85dae
Prtest (#968)
* test pr

* test
2020-01-06 20:01:00 -08:00