Commit Graph

9198 Commits

Author SHA1 Message Date
Min RK
1c47a3dbb5 channel.closed is a method
since we weren't calling it, the restart channel was never closed,
causing process teardown to hang *sometimes*, depending on garbage collection.
2016-02-24 13:43:33 +01:00
Min RK
cadcb75602 don't concatenate stream outputs larger than 8k
Limit is configurable via OutputArea.stream_chunk_size.

This limits the cost of one of the most expensive operations in output: many consecutive outputs on the same stream,
which requires reprocessing and re-appending the whole output to the DOM on each message.
2016-02-24 11:19:31 +01:00
Min RK
d62bdf4774 Merge pull request #1121 from brandles/update-dockerfile
Updated Dockerfile for widgetsnbextension
2016-02-24 09:59:05 +01:00
Min RK
a1458ce8fc Merge pull request #1047 from jdfreder/webpack
use webpack
2016-02-24 08:52:35 +01:00
Safia Abdalla
91397a75b4 Update link to developer documentation 2016-02-23 19:56:01 -06:00
Jonathan Frederic
4b8f19e5e7 Merge pull request #1127 from minrk/read-only-download
Don't force save before download if notebook isn't writable
2016-02-23 16:50:24 -08:00
Min RK
95bd8c3c76 Merge pull request #940 from Carreau/enable-warnings
show warnings during tests
2016-02-23 10:19:58 +01:00
Min RK
7472fc0458 Don't force save before download if notebook isn't writable 2016-02-23 09:10:32 +01:00
Matthias Bussonnier
6ab2cd0dd6 Show warnings during tests 2016-02-22 21:52:14 -08:00
Matthias Bussonnier
cc8b3be283 Merge pull request #1055 from minrk/mathjax-mathml
Allow all MathJax output formats
2016-02-22 17:15:42 -08:00
Jonathan Frederic
a236926743 Upgrade to node 5.6 2016-02-22 14:15:38 -08:00
Thomas Kluyver
ce3dd80391 Mark thread as daemon in a way that Python 2 supports 2016-02-22 18:00:18 +00:00
Thomas Kluyver
c1a2a26551 Mark thread for test server as daemonic
I don't understand how, but I suspect that the threaded server is
somehow involved in the hangs we see after the tests complete. This
marks it as daemonic so that if it somehow escapes it won't keep the
test process alive.
2016-02-22 17:51:57 +00:00
Jonathan Frederic
252b0fcefb Update setupbase to match build output 2016-02-22 07:41:02 -08:00
Thomas Kluyver
6c87dd9246 Merge pull request #1128 from minrk/check-for-geteuid
only check for AttributeError on os.geteuid
2016-02-22 15:39:44 +00:00
Jonathan Frederic
68cd52bd22 Enable deprecated import of auth/main 2016-02-22 07:30:57 -08:00
Jonathan Frederic
b7f6f39b29 Add missing underscore reference 2016-02-22 07:30:57 -08:00
Jonathan Frederic
08e968d7e9 Make events a global singleton 2016-02-22 07:30:57 -08:00
Jonathan Frederic
5b337bbfee Add missing import 2016-02-22 07:30:56 -08:00
Jonathan Frederic
dd57cded75 Fix the new deprecated names test 2016-02-22 07:30:56 -08:00
Jonathan Frederic
4b0aa51ce7 Don't load main files - they should never be referenced anyways,
they break things by resetting global page state.
Also put URL in string
2016-02-22 07:30:56 -08:00
Jonathan Frederic
e64f1f9dc2 Dynamically set base url 2016-02-22 07:30:56 -08:00
Jonathan Frederic
ac7f19821f @williningc's suggestions 2016-02-22 07:30:56 -08:00
Jonathan Frederic
fe5ffc106b Make sure IPython is set on window 2016-02-22 07:30:56 -08:00
Jonathan Frederic
b0fb5df3ad Add source maps, chunks, and remove previous build tool 2016-02-22 07:30:56 -08:00
Jonathan Frederic
638c9d2a4b Update ancient node and npm 2016-02-22 07:30:56 -08:00
Jonathan Frederic
c3e4def82c Add JS building step to setupbase 2016-02-22 07:30:56 -08:00
Jonathan Frederic
8dba4eccdd Add unit tests for deprecated requirejs API 2016-02-22 07:30:56 -08:00
Jonathan Frederic
41246fcc9d Add an info blurb that prints if the notebook is a dev install
Checks to see if the notebook is part of a git repo, if so
suggest to the user `npm run build:watch`
2016-02-22 07:30:56 -08:00
Jonathan Frederic
18edcd3fb4 Allow old style imports, but deprecate them 2016-02-22 07:30:56 -08:00
Jonathan Frederic
03ceccf7a1 Re-add ignore_minified_js 2016-02-22 07:30:56 -08:00
Jonathan Frederic
acb2b51051 Allow jquery-ish imports, but log a deprecation warning to the user console. 2016-02-22 07:30:56 -08:00
Jonathan Frederic
964ba151dc Don't redefine global namespace again and again... 2016-02-22 07:30:55 -08:00
Jonathan Frederic
f75f648f5e Remove require logging statements 2016-02-22 07:30:55 -08:00
Jonathan Frederic
c4c16a76b8 Disallow dynamic loading of jquery and friends
Because it is a very bad idea.  Don't  do it.  Seriously!
2016-02-22 07:30:55 -08:00
Jonathan Frederic
79489de7c8 Fix content variable conflict - rename to contentModule 2016-02-22 07:30:55 -08:00
Jonathan Frederic
378732e9f3 Get the terminal working 2016-02-22 07:30:55 -08:00
Jonathan Frederic
20b95f9297 Re-add moment 2016-02-22 07:30:55 -08:00
Jonathan Frederic
3750a6a803 Log requirejs usage 2016-02-22 07:30:55 -08:00
Jonathan Frederic
c6ccdb31d5 Fix namespace so it is webpacked 2016-02-22 07:30:55 -08:00
Jonathan Frederic
d340a794fc Compile services/contents 2016-02-22 07:30:55 -08:00
Jonathan Frederic
3fb25c5915 Explicitly use requirejs where requirejs should be used 2016-02-22 07:30:55 -08:00
Jonathan Frederic
e5e8db3670 Load contents dynamically and load jquery-typeahead globally 2016-02-22 07:30:55 -08:00
Jonathan Frederic
a83f18255b Use npm to install moment 2016-02-22 07:30:55 -08:00
Jonathan Frederic
1ae63ce185 Load jquery and friends globally 2016-02-22 07:30:55 -08:00
Jonathan Frederic
e409dd1a2c Install webpack and configure scripts for execution of webpack 2016-02-22 07:30:55 -08:00
Jonathan Frederic
afc90de3d1 Ignore built folders 2016-02-22 07:30:55 -08:00
Jonathan Frederic
e32adbe912 Add base webpack config 2016-02-22 07:30:55 -08:00
Jonathan Frederic
508804153a Remove ignore minified 2016-02-22 07:30:55 -08:00
Min RK
88a0b832a6 only check for AttributeError on os.geteuid
and respect NotebookApp.allow_root flag
2016-02-22 15:17:56 +01:00