Skip to content

Commit 4738d9d

Browse files
authored
Perf fixes for the interactive window (#6566)
* Fix perf problems and escape issue with editor * Speed up ansi conversions Switch to jupyter algorithm for concating text Skip scrolling if coming too fast * Limit not just lines but also text chars * Fix functional test * Add news entries * Another news entry * Fix dataviewing and build error * Fix variable refresh * Go back to old /r code. Works better * Use throttle instead of debounce for scrolling. Want a minimum scroll * Get rid of unnecessary check * Remove requires * Use requre for lodash. Failing during normal build.
1 parent d262ea9 commit 4738d9d

18 files changed

Lines changed: 369 additions & 234 deletions

File tree

ThirdPartyNotices-Repository.txt

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Microsoft Python extension for Visual Studio Code incorporates third party mater
1515
12. Sphinx (http://sphinx-doc.org/)
1616
13. nteract (https://github.com/nteract/nteract)
1717
14. less-plugin-inline-urls (https://github.com/less/less-plugin-inline-urls/)
18+
15. jupyter-notebook (https://github.com/jupyter/notebook)
1819

1920

2021
%%
@@ -961,3 +962,69 @@ Apache License
961962

962963
=========================================
963964
END OF less-plugin-inline-urls NOTICES, INFORMATION, AND LICENSE
965+
966+
%% jupyter notebook NOTICES, INFORMATION, AND LICENSE BEGIN HERE
967+
=========================================
968+
# Licensing terms
969+
970+
This project is licensed under the terms of the Modified BSD License
971+
(also known as New or Revised or 3-Clause BSD), as follows:
972+
973+
- Copyright (c) 2001-2015, IPython Development Team
974+
- Copyright (c) 2015-, Jupyter Development Team
975+
976+
All rights reserved.
977+
978+
Redistribution and use in source and binary forms, with or without
979+
modification, are permitted provided that the following conditions are met:
980+
981+
Redistributions of source code must retain the above copyright notice, this
982+
list of conditions and the following disclaimer.
983+
984+
Redistributions in binary form must reproduce the above copyright notice, this
985+
list of conditions and the following disclaimer in the documentation and/or
986+
other materials provided with the distribution.
987+
988+
Neither the name of the Jupyter Development Team nor the names of its
989+
contributors may be used to endorse or promote products derived from this
990+
software without specific prior written permission.
991+
992+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
993+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
994+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
995+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
996+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
997+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
998+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
999+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1000+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1001+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1002+
1003+
## About the Jupyter Development Team
1004+
1005+
The Jupyter Development Team is the set of all contributors to the Jupyter project.
1006+
This includes all of the Jupyter subprojects.
1007+
1008+
The core team that coordinates development on GitHub can be found here:
1009+
https://github.com/jupyter/.
1010+
1011+
## Our Copyright Policy
1012+
1013+
Jupyter uses a shared copyright model. Each contributor maintains copyright
1014+
over their contributions to Jupyter. But, it is important to note that these
1015+
contributions are typically only changes to the repositories. Thus, the Jupyter
1016+
source code, in its entirety is not the copyright of any single person or
1017+
institution. Instead, it is the collective copyright of the entire Jupyter
1018+
Development Team. If individual contributors want to maintain a record of what
1019+
changes/contributions they have specific copyright on, they should indicate
1020+
their copyright in the commit message of the change, when they commit the
1021+
change to one of the Jupyter repositories.
1022+
1023+
With this in mind, the following banner should be used in any source code file
1024+
to indicate the copyright and license terms:
1025+
1026+
# Copyright (c) Jupyter Development Team.
1027+
# Distributed under the terms of the Modified BSD License.
1028+
1029+
=========================================
1030+
END OF jupyter notebook NOTICES, INFORMATION, AND LICENSE

news/2 Fixes/5879.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix shift+enter to work when code lens are turned off.

news/2 Fixes/6222.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make long running output not crash the extension host. Also improve perf of streaming.

news/2 Fixes/6507.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Escape key in the interactive window moves to the delete button when auto complete is open. Escape should only move when no autocomplete is open.

0 commit comments

Comments
 (0)