Граф коммитов

76 Коммитов

Автор SHA1 Сообщение Дата
Don Jayamanne 928520c719
esbuild for main bundle (#14599)
* esbuild for all bundles

* Remove console.error and define jQuery on top in
data-explorer.

* Update build and webview directories

* Remove compile-viewers-watch task and update
compile and compile-dev tasks

* Update compile-release task to use esbuild instead
of webpack

* Update package.json and launchWebUtils.js for
better logging and testing

* oops

* Add npm tasks for updating package.json entry
points and fix package.json entry points for
production build

* Add preprePublishBundle and preprePublishNonBundle
scripts

* oops

* Fix build task command in CONTRIBUTING.md and
update package.json paths.

* Updates

* wip

* Update user authentication logic to use bcrypt
hashing algorithm.

* Fix issue with ZeroMQ context blocking process
exit

* No updates to package.json

* Update tasks.json and package.json, remove
updatePackageJsonEntry.js and modify
extension.node.proxy.ts and standardTest.node.ts
2023-10-31 14:31:34 -07:00
Don Jayamanne 3a1b357610
Add requirements.txt to .vscodeignore (#14603) 2023-10-30 09:06:04 +01:00
Don Jayamanne ad3b8dba33
Exclude the API folder (#14602) 2023-10-30 09:05:46 +01:00
Don Jayamanne ed15def5d2
Use esbuild for all webviews (#14458)
* Use esbuild for bundling widget scripts

* Rename file

* Use esbuild for everything but DF viewer

* Fix typo

* oops

* Fix data explorer to use esbuild as well

* add comments

* fix formatting

* Fix linters

* oops

* Reduce noise in logs

* Always compile

* Disable caching

* Reduce logging

* Remove unwanated items

* oops

* Fix post install

* Add comments

* Caching of output

* oops

* oops

* Skip caching

* Faster npm installs

* Faster tests

* Faster yet again

* Revert
2023-10-06 08:40:30 -07:00
Don Jayamanne f4a628d984
Ignore temp folder from VSIX (#13663) 2023-06-06 18:00:40 -07:00
Don Jayamanne 3d13947efa
Ignore files from VSIX (#12440) 2022-12-23 16:19:12 +11:00
Rob Lourens d8b45d7b5b
Update release_plan (#11843)
* Update release_plan

* Remove notes about the changelog

* Delete news, final update to changelog
2022-11-29 14:56:41 -08:00
Peng Lyu 07ccf99904
Update vscodeignore (#12100) 2022-11-18 10:40:17 -08:00
Don Jayamanne a701709006
Upload test results nb in logs folder (#11346)
* Upload test results nb

* Misc

* oops

* Misc

* Misc

* Fixes

* Fixes

* Fixes

* Misc

* Misc

* Misc

* better grouping

* Include console output

* Mis

* Better notifications

* Fix formatting issues
2022-09-13 08:40:10 +10:00
Don Jayamanne f6c93df638
Remove more dead telemetry and changes to existing (#11233)
* Removed more dead telemetry

* Remove some redundant telemetry

* Remove yet another telemtry property

* Remove redundant items

* Document globally shared telemetry properties

* oops

* Misc

* Ensure telemetry files are generated correctly

* Misc

* oops

* Misc

* Misc

* More items to be removed

* More fixes

* misc
2022-09-01 02:50:18 +10:00
Don Jayamanne 6f6d235641
Ignore husky from builds (#10685) 2022-07-06 04:50:16 +10:00
Daniel Rodríguez 039cf29e3d
Localize using vscode-nls (#10361)
* wip

* all the API changes in localize.ts, I believe

* some of the file changes

* wip

* reinstating the .nls.*.json files

* kernel entries and other stuff

* typos

* Notebook Renderers

* wip

* webpack fixes

* changing the signature of localize, to match how webpack will replace it

* package.nls.json

* I do not think vscode-nls-dev actually works with localize( as a string, but only with the message string. Also, vscode-nls config

* restoring jupyter.runallcells.title

* fixed mistake in CLI command

* restoring jupyter.runallcellsabove.title

* restoring jupyter.runcellandallbelow.title

* restoring jupyter.selectjupyteruri.title

* fixing mistakes made by bad automation

* more improvements

* this change was unnecessary

* [Buildable PR copy] Localize using vscode-nls (#10382)

* wip

* all the API changes in localize.ts, I believe

* some of the file changes

* wip

* reinstating the .nls.*.json files

* kernel entries and other stuff

* typos

* Notebook Renderers

* wip

* webpack fixes

* changing the signature of localize, to match how webpack will replace it

* package.nls.json

* I do not think vscode-nls-dev actually works with localize( as a string, but only with the message string. Also, vscode-nls config

* restoring jupyter.runallcells.title

* fixed mistake in CLI command

* restoring jupyter.runallcellsabove.title

* restoring jupyter.runcellandallbelow.title

* restoring jupyter.selectjupyteruri.title

* fixing mistakes made by bad automation

* more improvements

* this change was unnecessary

* using the standard localize function directly

* Using the standard localize function directly (#10383)

* using the standard localize function directly

* conditional easier to the eyes

* an idea

* an idea (#10395)

* Fixing bundle destination paths (#10403)

* fixed webpack (#10406)

* moving the webpack config around (#10407)

* restoring the webpack step to be the first, this time with __dirname (#10408)

* returning to the old base file approach, but adding an exception on the .vscodeignore (#10411)

* Also allowing nls.metadata.header.json (#10412)

* adding the whole src to see if that makes a difference (#10414)

* Exception in .vscodeignore for nls.bundle.*.json (#10415)

* test without clean (#10421)

* Localization-tolerant gulp clean (#10423)

* Localization-tolerant gulp clean

* a bit more general

* much cleaner

* Better nls.*.json regexes (#10425)

* better comment

* package.nls.json now has object values -- this fixes localization in the browser

* test fix

* small changes for consistency

* consistent quotes

* undoing some unnecessary change

* This could be the fix

* some polishes that seemed reasonable to me

Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
2022-06-13 12:27:18 -04:00
Rich Chiodo e810082778
Preliminary web extension (with a simple command) (#9580)
* Building

* More rules and manipulating configs

* Full building without warnings web with test modules

* Everything building again without referencing process

* Get extension loading in host

* Disable all commands

* Add support for a single command

* Dont use fsPath in non node

* Fix failing unit test

* Fix unit tests

* Fix vscode.tests running

* Fix linter and removed command

* Fix smoke running from debugger

* Fix normal smoke test to run

* Fix unit tests on linux

* Create framework for web smoke test

* More for web smoke test

* Smoke test partially working

* Add new linter rule and fixup any instances

* Add web smoke test

* Fix clearing the console on building

* Fix settings to not destroy itself

* Missed change

* Some review feedback

* Get rid of 'web' OS type and create function instead
2022-04-05 15:18:48 -07:00
Rich Chiodo 1455d0b25b
Finish refactoring folder changes (#9516)
* Remove platform/datascience folder
Consolidate webview stuff into webviews folder

* Get everything compiling

* Put back unintended replace

* Fix linter

* Add news entry

* Fix missing spot for file move

* Fixup after merge

* Fix telemetry generator

* Fix build after merge
2022-03-29 09:35:34 -07:00
Rich Chiodo 46f103d0f8
Create platform directory structure (#9439)
* Rename client to platform

* Move telemetry and fix registration issues

* Move telemetry too

* Fix root dir and missing registrations

* Add news entry

* Finish updating client from paths

* Put launch.json back

* Update telemetry file

* Update linter

* Package lock needs an update?

* More linting

* More linting

* Put package-lock.json back

* More linter fixes

* Insiders? change to add extra line to document text

* Review feedback

* Fix problem with python extension upgrade. Fix pipInstaller ctor

* Fix typo
2022-03-22 15:01:30 -07:00
Don Jayamanne 26acc0bdaa
Test for Slider IPyWidget (#8611)
Part of #5250

Architecture: (borrow from how @IanMatthewHuff enabled UI tests for the other webviews all inside VS Code)

Include a new controller script (js script loaded when ipynb is opened)
When rendering a widget, we will setup hooks exposed in the above script
The tests will set comms with the renderer (via the new custom script)
After we run a cell, we use the comms to send a message to renderer and check if an HTML element has been rendered by quering the DOM
Return value is sent from renderer using the comms (Notebook Messaging API).
This is still a first attempt, not sure I'll get this working, had a few issues.
Contains just one test to first get the framework setup.

Blocked by this issue #8617
Lot of the code was added for debugging (figure out why things weren't working) then came across #8617
2022-01-18 10:13:05 -08:00
Don Jayamanne 5f8c5c05a7
Upgrade notebook trust to VS Codes workspace trust feature (#6023) 2021-06-01 15:55:39 -07:00
Don Jayamanne e4446297ed
Ignore so files from vsix (#4884) 2021-02-19 17:44:21 -08:00
Rich Chiodo 08b8a44dde
Update main after release (#4860)
* PORT Variable view icon to release branch (#4748)

* update changelog (#4752)

* Cherry pick change for icon overflow (#4753)

* Change number of icons in notebook toolbar (#4747)

* Fix icons

* Have trust command show up and nothing else if untrusted

* Add trust check to all commands

* Update based on discussion

* Update change log

* PORT - variable context (#4770)

* Add new editor context for just if native notebook is active (#4762)

* update news

Co-authored-by: Ian Huff <ianhuff@LICHYOGAIOT.northamerica.corp.microsoft.com>

* Port control enter fix to release (#4774)

* Fix ctrl+enter and alt+enter by removing the redundant command. (#4769)

* Fix ctrl+enter and alt+enter by removing the redundant command.

* Code review feedback

* Update changelog

* port .NET fix to release (#4776)

* Fix .NET interactive to always use native (#4772)

* Fix .NET interactive

* Fix tests and linter

* Update changelog

* Port kernel finder change to release (#4799)

* Fix duplicate kernel generation (#4790)

* Fix duplicate kernel generation

* Fix functional tests

* Update changelog

* Actually use stable

* PORT - Port document dispose fix to release. (#4798)

* Only clean up editors on close not on Panel dispose (#4787)

* update changelog

Co-authored-by: Ian Huff <ianhuff@LICHYOGAIOT.northamerica.corp.microsoft.com>

* Port surveys (#4804)

* Refactor surveys and add a new one (#4794)

* Refactor surveys and add a new one

* add news and lint

* lint

* lint

* PR comments

* update changelog

* Fix IJupyterExtensionBanner service identifier (#4825)

Co-authored-by: Joyce Er <joyceerhuiling@gmail.com>

* PORT - Fix for top level save and undo commands (#4851)

* Update cache ignore

* Actually ignore .so files

* Update release plan

* Put back package.json changes

* Delete news entries

Co-authored-by: Ian Huff <ianhu@microsoft.com>
Co-authored-by: David Kutugata <dakutuga@microsoft.com>
Co-authored-by: Ian Huff <ianhuff@LICHYOGAIOT.northamerica.corp.microsoft.com>
Co-authored-by: Joyce Er <joyceerhuiling@gmail.com>
2021-02-18 09:27:07 -08:00
Rich Chiodo d2064c6cb6
Eliminate unnecessary dupe files and map files in VSIX (#4665)
* Fix vsix being too large

* Add news entry
2021-02-05 09:04:23 -08:00
Rich Chiodo b368ea9326
Migrate to ESLint (#4397)
* Migrate to ESLint

* Update contributing

* Maybe tslint is still required

* Fix merge problem

* Fix prettier errors

* Fix tsx files

* Add promise watching

* Remove bogus code
2021-01-14 16:51:36 -08:00
Joyce Er 266538d4ca
Replace ffi-napi and ref-napi with BCryptGenRandom executable (#4000) 2020-12-07 11:07:32 -08:00
Joyce Er 7401afb076
Run smoke tests with 64-bit VSCode (#3953)
* Bump vscode-test so we can run tests with 64bit vscode

* Don't ship /docs or /images
2020-11-19 11:22:41 -08:00
Don Jayamanne 3b52e6721c
Fixes to debugging with the use of Python Extension API (#70) 2020-09-17 11:17:49 -07:00
Rich Chiodo ed3f29f261
Make it possible to use the LSP to talk to Jedi (#13855)
* Ship language server too

* Remove all jedi code and make copy of LS activation

* Compiling but not working

* Working with intellisense

* Enable the experiment in order to switch

* Fix up registration so LSP works

* Fix version reading

* Write test wrapper to try out lsp

* Let experiments be in a workspace

* Support installing jedi-language-server from custom fork

* Fix sonar problems

* More sonar fixes - dupe code

* Put back the package json changes

* Skip dupe checking for language server proxy classes
2020-09-10 17:26:42 -07:00
Brett Cannon f3151ffbb5
Add a sprint planning issues dashboard (#13028)
Courtesy of https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-github-issue-notebooks
2020-07-20 12:23:18 -07:00
Jake Bailey e42fc1e7bc
Allow LS to be bundled, versioned (#12034)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2020-06-01 13:19:53 -07:00
Brett Cannon 49e23525f9
Remove tpn (#11765)
We now use NOTICED
2020-05-12 16:36:55 -07:00
Rich Chiodo 7d0f2a1197
Add font awesome font and css to our html (#10888)
* Add font-awesome fonts to running UI

* Make font-awesome show up in actual vsix
2020-04-01 12:05:23 -07:00
Don Jayamanne 164727a4e9
Add support for ipywidgets (#10606)
* Widgets
* Fixes
* Misc
* Crap
* Include requirejs
2020-03-16 18:14:23 -07:00
Don Jayamanne d66b6da3a8
Remove ui tests (#10215)
For #10192
* Remove UI tests
* Not required
2020-02-20 08:34:20 -08:00
Don Jayamanne 6e8add6e92
Split bundles for webview using webpack (#9804)
* Split bundles for webview using webpack
* Add comments
* Build index html files
* Fixes to detection of modules used in bundles
* Ignore more files from extension
* Include some map files
* Fixes
2020-01-28 19:32:53 -08:00
Rich Chiodo e2dbe9368f
Skip having sources in our index_bundle (#9616) 2020-01-16 08:55:31 -08:00
Don Jayamanne c30eeae9b6
Smoke tests in nodejs (#7456)
* Smoke tests in nodejs

* Fixes

* oops

* Use a local repo instead of git repo

* Updated readme

* Update readme

* Linter fixes

* News entry

* Refactor

* Fixes

* Refactor

* UI tests

* CI pipeline changes

* ui tests

* No experiment and no insider build

* oops

* Rename

* Fixes

* Verbose logging

* Hack

* Verbose logging of ui tests

* Hacky test

* Disable experiments

* Oops

* Include progress message

* Capture screenshots

* Testing

* More smokes

* More screenshots

* Oops

* Use commands to max and min panels

* Fixes

* Fixes

* Fixes

* Add timeout

* More control over test environment

* Fixes to selector

* Fixes

* No need of comments

* Smoke in insider as well for testing purposes

* Fixes

* Fixes

* Comments

* Fixes
2019-09-28 01:11:44 +04:00
Don Jayamanne 91a97e1325
Exclude .env file from extension (#6872) 2019-08-06 13:13:13 -07:00
Don Jayamanne 20ef954802
UI Tests for the extension using selenium and behave (#5912) 2019-07-01 14:28:16 -07:00
Don Jayamanne 98945c7223
Exclude unnecessary files from extension (#6316) 2019-06-24 14:26:38 -07:00
Rich Chiodo 0b01e95206
Add a data grid control and the infrastructure to support it (#4847)
* Initial layout

* tabulator and react-data-grid

* Implement sorting/filtering/row rendering

* Switch to just AdazzleReactDataGrid

* Merge data explorer config into original

* Fix compilation of webview

* Data Explorer coming up

* Semi working grid

* Use bootstrap to handle correct themeing

* Fix styles and layout

* Fixup themes for hover and fix title

* Fix check datascience dependencies

* Fix webpack for packaging

* Fix hygiene

* Add news entry

* Fix webview compile error caused by hygiene changes

* Put contributing back to what it was before.

* Fix functional tests

* Fix dispose to set disposed flag.
2019-03-20 12:23:01 -07:00
Don Jayamanne 3fc7d5cfdd
Ignore files from extension (#4555)
* Exclude files from extension
* News entry
2019-02-26 18:19:15 -08:00
Don Jayamanne 422dc2d772
Add coverage for unit tests and functional tests (#3651)
* Add coverage for unit tests and functional tests
* Fix anonymous methods
* Fixed tests and linter issues
* News entries
* Remove redundant code
2018-12-12 09:29:03 -08:00
Don Jayamanne 14286f988d
Remove old code related to bundling of extension without webpack (#3619)
* Always package extension using webpack
* Restore pre-publish scripts
* Modify pre-publish script
* Remove pre-publish scripts
2018-12-10 23:06:05 -08:00
Don Jayamanne 20a7bd5ab0
Pin python packages used in extension and remove them repo (#3513)
* Move python dependencies into libs
* Delete parso, isort and jedi
* Deleted experimental folder from pythonFiles
* deleted old ptvsd folder
* rename requirements file
* Updated travis
* Install deps using gulp
* Use CI python
* Fix path to ptvsd
* install distro
* upgrade in place
2018-11-30 14:29:25 -08:00
Don Jayamanne 3d5ae38f75
Exclude files from extension (#3495) 2018-11-28 12:43:20 -08:00
Don Jayamanne 20689d53eb
Add smoke tests for webpack bundled extension (#3417)
For #3021
2018-11-21 14:04:54 -08:00
Don Jayamanne d987489c17
Initial batch of changes to enable bundling of the extension (#3384)
For #3021
* Tests will be tracked here https://github.com/Microsoft/vscode-python/issues/3383
* Will need to update package.json seprately (for CD)
2018-11-20 15:01:01 -08:00
Brett Cannon c36b51fce3
Update .vscodeignore based on 2018.10.0 2018-11-08 14:45:28 -08:00
Don Jayamanne e370a3b949
Remove pre commit hook and disabled mandating copyright headers (#3243)
For #2963
2018-11-08 08:34:53 -08:00
Don Jayamanne cae8a13854
Remove pre-commit hooks and move linters to CI (#2964)
* Linter rules
* add list of old files
* Check new files and message fixes
* Run linters on travis
* Fail travis fast
* Remove pre-commit hooks
* Remove pre-commit hooks from docs and gulp
* Log git cmd used to look for updated files in PR
* News file
2018-10-24 15:06:09 -07:00
Brett Cannon 0eba0a67e3
Ignore virtual environments 2018-10-04 11:35:40 -07:00
Don Jayamanne e77e14cca3
Out of band updates to the language server (#2615)
Fixes #2580
2018-09-19 16:24:34 -07:00