1
0
Форкнуть 0
Граф коммитов

1090 Коммитов

Автор SHA1 Сообщение Дата
Christellah 4d457bbfc0
Adding hex value for colors and brightness to the light support (#9)
PR #9 [PBI #28283]

* Methods to allow colors input in hexadecimal value

* Adding brightness support

* Adding getitem() method to the mock CPX API

* Minor formatting changes

* Adressing PR's comments about naming and convention

* Correcting Python naming convention and re-writing function adapted from an online source
2019-06-11 13:40:25 -07:00
Luke Slevinsky bcd5b6dbb1
Merge pull request #8 from microsoft/users/t-luslev/move-python-build
Move python lib into the out directory
2019-06-11 09:12:24 -07:00
Luke Slevinsky f32b38cbdc make it some that python files are present in the out dir 2019-06-10 15:37:43 -07:00
Christellah ccb86684ed
Basic Light support displaying on the SVG (#6)
Backlog: 26779

* Adding MakeCode's SVG as a component with the style and utils functions

* Flushing the stdout after the print(state) in the API to allow state changes in python code
Changing the default state pixels value to -1 to keep grey unlit neopixels

* Removing unused files and comments

* Preventing negative values when setting LEDs colors

* Adding pixels color value verification
And using 0 as default value to turn off the lights

* Adding fill method

* Correction from PR#6 comments

* Changing the API import statement in the code.py to match the one used in dev's code

* Moving the for loop body on another line
2019-06-07 10:19:20 -07:00
markAtMicrosoft 4b230852ae
Create CODEOWNERS 2019-06-06 17:34:39 -07:00
Jonathan Wang 2a0bccbcf2
Merge pull request #7 from microsoft/users/t-jowang/pass-active-file
[27914] Execute the user's code through the setup script
2019-06-06 16:45:07 -07:00
Jonathan Wang e5c8a09a39 executing user's code 2019-06-06 15:03:32 -07:00
Jonathan Wang 4287574ed4
Change script that is executed and add abs path of library to sys.path (#5)
Change child process script execution and add abspath of library to sys.path
2019-06-06 09:11:43 -07:00
Luke Slevinsky 2da27803d4
Merge pull request #4 from microsoft/users/t-luslev/updatePackageJson
Update Package.json file to make CD work
2019-06-04 16:57:44 -07:00
Luke Slevinsky aa6ab40e52 Update package.json - linting libs and fix cd 2019-06-04 16:22:00 -07:00
Christellah 935f105234
Merge pull request #3 from microsoft/users/t-chcido/ext_communication
Communication from the extension to the Webview
2019-06-04 15:47:01 -07:00
Christella Cidolit ee22490946 Removing white spaces in the extension welcome console.log 2019-06-04 15:37:28 -07:00
Christella Cidolit 1ec1c3cc2c Merge branch 'dev' of https://github.com/microsoft/vscode-python-embedded into users/t-chcido/ext_communication 2019-06-04 13:46:17 -07:00
Christella Cidolit e6afc0c003 Merge branch 'dev' of https://github.com/microsoft/vscode-python-embedded into users/t-chcido/ext_communication 2019-06-04 13:25:22 -07:00
Luke Slevinsky 4c052fdc30
Add azure dev ops pipeline badge to the ReadMe 2019-06-03 16:23:16 -07:00
Luke Slevinsky 9a80d422d6
Merge pull request #2 from microsoft/users/t-luslev/reactWebView
Using a React App in VS Code Extension
2019-06-03 12:08:31 -07:00
Luke Slevinsky 525f3a81d1 Remove uneeded package 2019-06-03 11:41:03 -07:00
Luke Slevinsky 93b5bf6ad9 Merge branch 'users/t-luslev/reactWebView' of github.com:microsoft/vscode-python-embedded into users/t-luslev/reactWebView 2019-06-03 11:29:34 -07:00
Luke Slevinsky f5a52b3760 Address style comments from PR 2019-06-03 11:28:07 -07:00
Luke Slevinsky c2fb6c9892
Remove unneeded prop
Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>
2019-05-31 14:58:52 -07:00
Luke Slevinsky dbc58dd9ab
Rename svg class
Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>
2019-05-31 14:36:52 -07:00
Luke Slevinsky 6aea6583be
Remove unneeded localResourceRoot
Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>
2019-05-31 14:09:27 -07:00
Christella Cidolit f8431c31fe Correcting the Emulator to Simulator on the command palette 2019-05-30 18:24:37 -07:00
Christella Cidolit 40f5a3b20f Intergrating package.json changes (emulator to simulator) 2019-05-30 17:56:54 -07:00
Christella Cidolit bc4ecbe303 Communication between the Python process and the Webview from a user's code
+ Bug fix in the API : dumping state to Json
2019-05-30 17:54:43 -07:00
Christella Cidolit 91041efe1a Moving Python files into script folder
And deleting empty file
2019-05-30 17:06:24 -07:00
Christella Cidolit a6e43bfb5d Merge branch 'dev' of https://github.com/microsoft/vscode-python-embedded into users/t-chcido/ext_communication 2019-05-30 16:49:35 -07:00
Jonathan Wang 39851e2e33
Merge pull request #1 from microsoft/users/t-jowang/cpx-api
Create basic functionality of CPX API
2019-05-30 16:40:34 -07:00
Jonathan Wang c310a42e76 Refactor Pixel class use of state 2019-05-30 16:38:15 -07:00
Luke Slevinsky 00f859c4bb name change of vscode command 2019-05-30 12:18:41 -07:00
Christella Cidolit b5a1f1a0dc Merge branch 'users/t-luslev/reactWebView' of https://github.com/microsoft/vscode-python-embedded into users/t-chcido/ext_communication 2019-05-30 12:08:37 -07:00
Luke Slevinsky 9822ffdd08 React app change from the python scripts stdout 2019-05-30 11:39:50 -07:00
Luke Slevinsky 7d33dba4a4 Attempt to integrate python process communication 2019-05-30 10:53:27 -07:00
Jonathan Wang 093eca8a57 Remove print messages from API and make the Pixel class its own file 2019-05-30 10:45:55 -07:00
Luke Slevinsky ebeeb49908 Make webview display mock light 2019-05-29 18:07:14 -07:00
Jonathan Wang d5434b6b7e Begin development of API starting with a single pixel 2019-05-29 17:28:51 -07:00
Luke Slevinsky 5835c14e01 inital commit 2019-05-27 20:06:36 -07:00
Microsoft Open Source 9694bba857 Initial commit 2019-05-15 16:44:37 -07:00
Microsoft Open Source 51ea006a3c Initial commit 2019-05-15 16:44:36 -07:00
Microsoft GitHub User 96dc61c9d4
Initial commit 2019-05-15 16:44:33 -07:00