Jonathan Frederic
336a49eb18
Merge pull request #5995 from Carreau/clean-backward-compat
...
remove backward compat `container` in output area as planed.
2014-06-29 16:27:05 -07:00
Matthias BUSSONNIER
db5b58360e
remove backward compat container
in output area as planed.
2014-06-28 12:41:18 +02:00
MinRK
2460879e81
Remove a sleep no longer needed with the current base zmq version
2014-06-27 17:53:14 -07:00
MinRK
acf0da01d9
make CORS configurable
...
allows setting CORS headers.
- cors_origin sets Access-Control-Allow-Origin directly
- cors_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support complex access[1]
- cors_credentials sets Access-Control-Allow-Credentials: true
To allow CORS from everywhere:
ipython notebook —NotebookApp.cors_origin='*'
2014-06-27 17:47:56 -07:00
MinRK
78a8cb877f
remove KernelApp.parent_appname
...
This allowed the Kernel to load config from ipython_qtconsole_config.py
or ipython_notebook_config.py, depending on the parent that started the kernel.
This is of limited usefulness, and can add weird, unexpected side effects.
2014-06-26 16:28:32 -07:00
Min RK
9f1dc1b99f
Merge pull request #5803 from Carreau/ulh
...
unify visual line handling
2014-06-26 15:33:32 -07:00
Min RK
3fd6d371d7
Merge pull request #6015 from jcjaskula/dashboardExtensions
...
Creating an entry point for notebook manager extensions
2014-06-26 11:59:06 -07:00
Thomas Kluyver
85733cafa1
Merge pull request #6046 from minrk/raw-input-invalid
...
fix stream output created by raw_input
2014-06-25 18:13:05 -07:00
MinRK
ad4cb2c35a
fix stream output created by raw_input
...
was using incorrect 'name', when it should have been 'stream',
creating invalid content in notebook documents.
2014-06-25 15:20:13 -07:00
MinRK
de0a7d7850
use utils.log.get_logger where appropriate
2014-06-24 20:16:46 -07:00
MinRK
e64f689374
don’t import IPython.parallel until it’s used
...
in IPython.html.notebookapp
2014-06-24 15:53:27 -07:00
Jean-Christophe Jaskula
9c2c680e8f
Creating an entry point for notebook manager extensions
...
- Firing app_initialized.DashboardApp event when loaded the notebook manager
- Updating tree.html template to load nbextensions through custom.js
2014-06-24 15:03:29 -04:00
Min RK
c9961b44b6
Merge pull request #6000 from AlbertHilb/FloatWidgetValueFix
...
Validate initial value of "_BoundedFloatWidget".
2014-06-21 13:20:57 -05:00
Thomas Kluyver
3b92c7c24f
Merge pull request #6011 from minrk/no-jsonapi
...
only use zmq.jsonapi when talking to zmq sockets
2014-06-18 14:45:31 -07:00
Min RK
99f52dee68
Merge pull request #5827 from takluyver/kernelspec-rest-api
...
Kernel specs REST API
2014-06-18 13:53:41 -07:00
MinRK
44d2a5b62a
only use zmq.jsonapi when talking to zmq sockets
...
use stdlib json otherwise
2014-06-18 13:41:40 -07:00
Thomas Kluyver
ebf0ea32ef
Use stdlib json, not zmq jsonapi
2014-06-18 12:51:41 -07:00
Steven Anton
f937045395
Set kernel_id before checking websocket
...
If websocket attempt fails and cross origin attempt is detected, a HTTPError(404) error is raised. However, in the process of closing connections because of this 404 error, an unhandled Attribute exception (kernel_id not an attribute) is raised. Setting the kernel_id first avoids this.
2014-06-17 12:29:55 -07:00
Raffaele De Feo
694f33e2ba
Validate initial value of "_BoundedFloatWidget".
2014-06-17 15:02:28 +02:00
Thomas Kluyver
85ce34bc66
Kernel resource handlers now require authenticated user
2014-06-16 15:24:30 -07:00
Matthias BUSSONNIER
7128ff5148
add instruction to pin lessc
2014-06-13 21:56:39 +02:00
Matthias BUSSONNIER
fd4dd9246e
inherit style instead of duplicating it
2014-06-13 21:56:39 +02:00
Thomas Kluyver
19f0362bb5
Add Xunit support for JS tests
...
Casper supports producing xunit output. WIth this, our --xunit flag gets
passed down to the JS test process. This should give nicer output for
JS test failures on Jenkins.
2014-06-11 09:30:27 -07:00
Jonathan Frederic
63f136af2b
Fixed test to reflect new Bootstrap3 toggle button behavior.
2014-06-10 17:32:17 -07:00
Jonathan Frederic
22812d36b3
Use waits instead of sleeps.
2014-06-10 17:23:21 -07:00
Jonathan Frederic
5acb525c43
Wait for keyboard help fadein and fadeout.
2014-06-10 16:36:02 -07:00
Thomas Kluyver
d39cf0e927
Add jsonschema & jsonpointer requirements for JS tests
2014-06-10 12:38:46 -07:00
Thomas Kluyver
38d1f3dbc5
nbformat also requires jsonpointer
2014-06-10 12:37:45 -07:00
Thomas Kluyver
e0e91460c8
Require jsonschema for nbformat, html and nbconvert tests
2014-06-10 12:11:16 -07:00
Thomas Kluyver
37e4ef83b1
Move strip_ansi function to utils
2014-06-10 12:05:46 -07:00
Brian E. Granger
eab07229ef
Merge pull request #5617 from jdfreder/bootstrap3
...
Migrate from Bootstrap 2 to Bootstrap 3
2014-06-10 10:51:50 -07:00
Jonathan Frederic
dba9a04f27
Removed block commented tour step (never worked anyways)
2014-06-10 10:50:34 -07:00
Jonathan Frederic
e31fa6cf2c
Fix bootstrap tour
2014-06-10 10:14:14 -07:00
Jonathan Frederic
99b1747c60
Bootstrap Tour related fixes
2014-06-09 17:46:20 -07:00
Jonathan Frederic
bccb7ddaea
Fab CSS
2014-06-09 16:14:07 -07:00
Jonathan Frederic
ea29056e7c
Review #2
2014-06-09 16:13:59 -07:00
Thomas Kluyver
82e2ea7e47
Merge pull request #5323 from jdfreder/slimerjs
...
Add support for Firefox JS testing
2014-06-09 15:02:14 -07:00
Jonathan Frederic
63350a4d54
Fab CSS
2014-06-09 12:13:31 -07:00
Jonathan Frederic
1224af6028
Fixed cell toolbar select font size
2014-06-09 12:13:21 -07:00
Jonathan Frederic
cd289b6bdf
Fab CSS
2014-06-09 12:06:29 -07:00
Jonathan Frederic
83eee97e95
Review comments
2014-06-09 12:05:40 -07:00
Jonathan Frederic
3bb8c472cd
Modal fixes for BS3
2014-06-09 12:05:40 -07:00
Jonathan Frederic
4917aba5e4
Fab CSS
2014-06-09 12:05:40 -07:00
Jonathan Frederic
2d8afab3d4
Fix widget widths for Bootstrap3
2014-06-09 12:05:40 -07:00
Jonathan Frederic
33f7f4457f
Widget bootstrap3 fixes
2014-06-09 12:05:39 -07:00
Jonathan Frederic
29de556b94
Fab CSS
2014-06-09 12:05:39 -07:00
Jonathan Frederic
8fd3515794
Post discussion with @ellisonbg
2014-06-09 12:05:39 -07:00
Jonathan Frederic
ceff3db0a2
Fab CSS
2014-06-09 12:05:39 -07:00
Jonathan Frederic
616bdcee81
Make maintoolbar select dropdowns look nice
2014-06-09 12:05:39 -07:00
Jonathan Frederic
32c7aea922
Fab CSS
2014-06-09 12:05:39 -07:00
Jonathan Frederic
73f68f9b93
Revert 2em notebook header space
2014-06-09 12:05:39 -07:00
Jonathan Frederic
5584eb06a9
Fab CSS
2014-06-09 12:05:39 -07:00
Jonathan Frederic
45ebf12371
Left align "File" instead of menu edge.
2014-06-09 12:05:39 -07:00
Jonathan Frederic
6834cb95bc
Rebase cleanup, comments and nesting
2014-06-09 12:05:39 -07:00
Jonathan Frederic
dec962194f
Update components to point to right branch
2014-06-09 12:05:39 -07:00
Jonathan Frederic
ec3cd18387
Rebase fixes
2014-06-09 12:05:39 -07:00
Jonathan Frederic
ff2e317fff
Fab CSS
2014-06-09 12:05:38 -07:00
Jonathan Frederic
181b0e9cfc
Address less of the conversion warnings
2014-06-09 12:05:38 -07:00
Jonathan Frederic
22c94ab404
Lots of small alignment tweaks to get Bootstrap3 looking better
2014-06-09 12:05:38 -07:00
jon
0b5a42fca6
Fab CSS
2014-06-09 12:05:38 -07:00
jon
ef19b962b5
Fix cell toolbar
2014-06-09 12:05:38 -07:00
jon
8dbf3afa7d
Fixed cell toolbar dropdown
2014-06-09 12:05:38 -07:00
jon
0cc924e5e3
Fixed IPython dialog
2014-06-09 12:05:38 -07:00
jon
68cfaeb7c9
Fixed status indicator region
2014-06-09 12:05:38 -07:00
jon
9bce946f2e
Added function to create Bootstrap specific drop down.
2014-06-09 12:05:38 -07:00
Jonathan Frederic
142e884943
Updated notebook template so menubar is rendered correctly
2014-06-09 12:05:38 -07:00
Jonathan Frederic
ade308803e
Added dropdown submenu CSS
2014-06-09 12:05:38 -07:00
Jonathan Frederic
e30ff19ca8
Move header padding removal to base page style
2014-06-09 12:05:38 -07:00
Jonathan Frederic
778db574ed
Removed static height from selects in toolbar
2014-06-09 12:05:37 -07:00
Jonathan Frederic
96b19ae598
Removed low margin from header.
2014-06-09 12:05:37 -07:00
Jonathan Frederic
80673856a8
Fixed float
2014-06-09 12:05:37 -07:00
Jonathan Frederic
697cc58655
Change the nav bar to nav-pills
2014-06-09 12:05:37 -07:00
Jonathan Frederic
0689830c4b
Fixes to make spinners in cluster list display correctly.
2014-06-09 12:05:37 -07:00
Jonathan Frederic
0483bb2ed8
Fixed cluster list.
2014-06-09 12:05:37 -07:00
Jonathan Frederic
3635272119
Removed margin from row element
2014-06-09 12:05:37 -07:00
Jonathan Frederic
88a129eab3
Fab CSS
2014-06-09 12:05:37 -07:00
Jonathan Frederic
204130d292
Re-enabled nav bar height
2014-06-09 12:05:37 -07:00
Jonathan Frederic
242318be9b
Fab CSS
2014-06-09 12:05:37 -07:00
Jonathan Frederic
365aafdaa2
Automated pass on LESS variables
2014-06-09 12:05:37 -07:00
Jonathan Frederic
329a387f4f
Fix automation errors.
2014-06-09 12:05:37 -07:00
Jonathan Frederic
d88daf1bb7
Ran jdfreder/bootstrap2to3
2014-06-09 12:05:37 -07:00
Jonathan Frederic
5c47651786
Get notebook running with Bootstrap3
2014-06-09 12:05:36 -07:00
Thomas Kluyver
76babb623a
Better integrate output from slimerjs tests
2014-06-06 13:20:22 -07:00
Jonathan Frederic
cebebb35d5
Re-add print
2014-06-06 11:43:29 -07:00
jon
19cf386a20
Address comments
2014-06-06 11:12:46 -07:00
Min RK
2c8a53aca1
Merge pull request #5944 from jdfreder/i5943
...
Markdown rendering bug fix.
2014-06-04 15:54:06 -07:00
Brian E. Granger
c9f9f5bbd2
Merge pull request #5937 from jdfreder/i5709
...
Add latex support in widget labels,
2014-06-04 14:21:34 -07:00
Brian E. Granger
648bb51758
Merge pull request #5479 from jdfreder/i5135
...
Mixed gfm/latex parsing in codemirror
2014-06-04 13:37:54 -07:00
Jonathan Frederic
1c228ca0ab
Rebase fix(es)
2014-06-04 13:19:52 -07:00
Jonathan Frederic
55cf33605f
Fixed typo in util.js,
...
resulted from moving is_cell_rendered into util.js
2014-06-04 13:15:55 -07:00
Jonathan Frederic
0d78fde131
Fixed spaces in ipcontroller
2014-06-04 13:15:55 -07:00
Jonathan Frederic
f6e7312b5b
Add slimerjs flag to test engine.
2014-06-04 13:12:20 -07:00
Jonathan Frederic
edbaff8400
Moved is_cell_rendered into base
2014-06-04 13:12:20 -07:00
Jonathan Frederic
359d7342d2
Make a nice assert function for properly testing locale specific colors.
2014-06-04 13:12:20 -07:00
Jonathan Frederic
7dfa8fbe79
Some cleanup
2014-06-04 13:12:20 -07:00
Jonathan Frederic
04c66666e9
Fix for xvfb SlimerJS environment.
2014-06-04 13:12:20 -07:00
Jonathan Frederic
a5a795a884
Added slimer support for py3.x
2014-06-04 13:12:20 -07:00
Min RK
724109454b
Merge pull request #5941 from jdfreder/i5688
...
Remember cursor position on cell type change
2014-06-04 12:22:16 -07:00
Min RK
3badefd651
Merge pull request #5936 from jdfreder/i5821
...
Change widget css dict to a list,
2014-06-04 12:21:43 -07:00
Min RK
4a84a809a0
Merge pull request #5896 from ellisonbg/widget-fixes
...
Widget fixes
2014-06-04 12:12:10 -07:00
Jonathan Frederic
f23f970e4c
Make int widget tests play nicely with slimer
2014-06-04 12:10:29 -07:00
Jonathan Frederic
fb6bb02b26
Make notebook tests play nicely with SlimerJS
...
- notebook/dualmode_markdown.js
- notebook/safe_append_output.js
2014-06-04 12:10:29 -07:00
Jonathan Frederic
85e1dafe6c
Fix isolated svg color tests so 'rgb()' colors are accepted
2014-06-04 12:10:29 -07:00
Jonathan Frederic
578e3c562a
Fixed image test for slimerjs
2014-06-04 12:10:29 -07:00
Jonathan Frederic
99a0013525
Adde slimerjs support to JS tests
...
This commit contains 16 more, squashed commits:
Added slimerjs flag
Fixed some bugs with flag code
Figured out how to add arg correctly
Cleanup
Improvements to the test framework for FF
Log to see if slimmer is actually running
Added print in controller to debug
Added full logging to casperjs
Remove the special logging logic since it was caussing a failure
remove notebook.dirty = false line in favor of
overwritting onbeforeunload.
Capture output for slimerjs
Fixed iptestcontroller rebase issues
Fixed rebase issues.
Wait for notebook to load completely before testing
Fixed stdout capture for slimerjs tests.
Clean-up comments in util.js
Added slimerjs to Travis
Fixed indent .travis.yml
Comment out slimerjslauncher env var.
Removed zmq flag which doesn't work there anyways,
it was added by me in a recent commit
Fixed travis yaml,
broken because of rebase
2014-06-04 12:10:29 -07:00
Jonathan Frederic
f6da79e1e1
Update JS markdown tests.
2014-06-04 10:35:58 -07:00
Jonathan Frederic
d84c8fa863
Fixed mardown rendering bug.
...
The wrong signature of `$()` was being used
wrong: http://api.jquery.com/jQuery/#jQuery1
right: http://api.jquery.com/jQuery/#jQuery2
Instead of implictly calling parseHTML, call it explicitly.
closes #5943
2014-06-03 14:04:56 -07:00
Jonathan Frederic
19d12e3025
Remember cursor position on cell type change
2014-06-03 10:34:43 -07:00
Jonathan Frederic
33a0a3cc87
Add latex support in widget labels,
...
This PR even adds support to use latex in PopupWidget titles.
2014-06-02 16:06:01 -07:00
Jonathan Frederic
74483d77da
Change css dict to a list,
...
even though this introduces O(N) complexity, it fixes a bug
where path dependent css traits could be executed out of order,
making it impossible to actually set the traits from the back-end.
2014-06-02 15:00:33 -07:00
Ramiro Gómez
2215ddefca
Change z-index of ipython_tooltip
...
I experienced the problem stated in #5755 . Giving the ipython_tooltip class a higher z-index indeed solves the problem. I intentionally set it to a high value so it likelier remains on top when styles are changed in the future.
2014-05-28 23:45:44 +02:00
MinRK
88be381b00
forcefully hide CodeMirror scrollbars
...
workaround for CodeMirror issue 2562
less drastic but more gross alternative to #5889
2014-05-22 12:32:51 -07:00
Jonathan Frederic
961254292e
Remove hard reference to GFM since IPythonGFM uses CM require to load it.
2014-05-21 11:06:10 -07:00
Jonathan Frederic
802f74e190
Create ipythongfm mode
2014-05-21 11:00:47 -07:00
Min RK
9794017dee
Merge pull request #5882 from ivanov/preserve-cell-type
...
inserting new cells preserves cell type
2014-05-20 21:04:55 -07:00
Paul Ivanov
9631028c1e
add tests for cell_type preserving insertion
2014-05-20 18:53:32 -07:00
Paul Ivanov
7778aed8a8
inserting new cells preserves type closes #4917
2014-05-20 15:40:32 -07:00
Paul Ivanov
f2f1726cad
use current cell's type when inserting
...
this preserve all previous behavior, but simply adds the ability to
insert cells without specifying a cell type, in which case the cell type
is inferred from the currently selected cell
2014-05-20 15:40:26 -07:00
MinRK
5c23ad48d7
remove redundant js_enabled variable
...
it’s only False if the js_testgroups list is empty
2014-05-16 15:40:22 -07:00
MinRK
70c927e97b
fix undefined js_enabled on iptest —all
2014-05-16 15:29:43 -07:00
Min RK
a540078d8d
Merge pull request #5605 from AlbertHilb/CellToolbar
...
Two cell toolbar fixes.
2014-05-16 09:56:46 -07:00
Thomas Kluyver
269a0bc680
Skip qtconsole help test if no X11
2014-05-15 14:34:05 -07:00
watercrossing
fe37c14bdf
add page-up and page-down functionality to the autocomplete dropdown
2014-05-15 14:35:59 +01:00
MinRK
970863331b
remove Firefox-specific CSS workaround
...
The bug being worked around appears to be fixed either in CodeMirror or Firefox (tested with FF 29).
Importantly, the workaround appears to *introduce* incorrect behavior
closes #5192
closes #5364
2014-05-12 14:17:01 -07:00
Thomas Kluyver
76fdfe9eb7
Put full kernel info in REST API response for all kernels
2014-05-12 12:14:37 -07:00
Thomas Kluyver
f6628b7006
Refactor kernelspec resource handler to separate URL prefix
2014-05-10 12:22:20 -07:00
MinRK
336f47c126
update message spec adapter per review
...
- docs and comments
- adapt complete_reply with `end=null`, `start=-len(matched_text)`
- remove some incorrect `status` fields
- add `handle_reply_status_error` for handling `status=error` replies (no-op, currently)
2014-05-09 12:04:08 -07:00
MinRK
b06f382e9b
interrogate kernel_info to get protocol version for adaptation
2014-05-09 12:04:08 -07:00
Thomas Kluyver
2cc7b1ca30
Merge pull request #4536 from minrk/msgspec5
...
Updating the message spec (finish IPEP 13, 24)
2014-05-09 12:00:58 -07:00
Min RK
073ad8b320
Merge pull request #5826 from minrk/tour-error
...
allow notebook tour instantiation to fail
2014-05-08 20:27:01 -07:00
Thomas Kluyver
1dabf3c547
Test kernel specs REST API
...
And fix kernel not found producing a 404 code.
2014-05-08 17:32:47 -07:00
Thomas Kluyver
02fa348c69
Create REST API for kernel specs
2014-05-08 16:18:23 -07:00
MinRK
b7c1f1d8f6
allow notebook tour instantiation to fail
...
can fail with SecurityError,
depending on browser privacy settings
disable UI Tour menu entry if tour instantiation fails
ref: sorich87/bootstrap-tour#262
2014-05-08 15:14:23 -07:00
Thomas Kluyver
e26140c435
Handle failure to read JSON waiting for server start
...
If the test controller tries to read the file while the server it has
started is in the middle of writing it, it gets invalid JSON and fails.
This just loops again until we have valid JSON to read.
2014-05-08 14:41:21 -07:00
Thomas Kluyver
79b8ecd9c9
Merge pull request #5823 from ivanov/verbose-skip-js
...
be explicit about skipping js tests
2014-05-08 14:36:53 -07:00
MinRK
42ae83da16
add shim for double-serialized JSON
...
msgspec gives unserialized JSON,
nbformat v3 wants JSON strings.
2014-05-08 14:05:03 -07:00
MinRK
58aca05486
add version key to js message headers
2014-05-08 14:05:03 -07:00
MinRK
97fdfea52a
updates per review
...
- two-part protocol version (5.0)
- default value for cursor_pos is end of code
- docs, comment, and docstring touchups
2014-05-08 14:05:02 -07:00
Paul Ivanov
79217e7e63
be explicit about skipping js tests
...
this way those running the test suite can discover that there are a
bunch of js test groups. New output of `iptest -j` looks like this
```
Test group: kernel.inprocess -------------------------------------- OK
Test group: config ------------------------------------------------ OK
Test group: extensions -------------------------------------------- OK
Test group: lib --------------------------------------------------- OK
Test group: testing ----------------------------------------------- OK
Test group: core -------------------------------------------------- OK
Test group: terminal ---------------------------------------------- OK
Test group: utils ------------------------------------------------- OK
Test group: kernel ------------------------------------------------ OK
Test group: nbformat ---------------------------------------------- OK
Test group: qt ---------------------------------------------------- OK
Test group: autoreload -------------------------------------------- OK
Test group: html -------------------------------------------------- OK
Test group: nbconvert --------------------------------------------- OK
Test group: parallel ----------------------------------------- NOT RUN
Test group: js/base ------------------------------------------ NOT RUN
Test group: js/notebook -------------------------------------- NOT RUN
Test group: js/widgets --------------------------------------- NOT RUN
Test group: js/tree ------------------------------------------ NOT RUN
Test group: js/casperjs -------------------------------------- NOT RUN
Test group: js/services -------------------------------------- NOT RUN
```
2014-05-08 12:44:13 -07:00
Jonathan Frederic
a65b6f3c1e
Removed log statement
2014-05-08 13:50:00 -05:00
Jonathan Frederic
c83a1cbb63
Fixed bugs in displayed event triggering for containers
2014-05-08 13:46:48 -05:00
Jessica B. Hamrick
287e9a5cbd
Add tests for default/custom description
2014-05-08 11:18:55 -07:00
Jessica B. Hamrick
31812159af
Only set widget description in interact if it does not already exist
2014-05-08 11:12:02 -07:00
Brian E. Granger
a0c1d37224
Remove model from WidgetManager._model on comm:close.
2014-05-08 12:06:20 -05:00
Brian E. Granger
6c03b508a5
Pop child view from child_model.view in delete_child_view
2014-05-08 11:59:20 -05:00
Brian E. Granger
2ffd153e5d
Removing double call to model.views.push(view) in WidgetManager.
2014-05-08 11:44:49 -05:00
MinRK
fb72c3d863
remove an inappropriate !
...
the logic was backwards.
2014-05-07 10:32:26 -07:00
Matthias BUSSONNIER
c9f0d14c09
unify visual line handling
2014-05-07 17:59:37 +02:00
MinRK
378223e791
fix safe_append_output test
2014-05-06 22:41:24 -07:00
MinRK
de0b7f140c
move pyout/execute_result and pyerr/error transforms to to/fromJSON
...
like the mime-type maps
2014-05-06 22:41:24 -07:00
MinRK
33d2176bc5
complete_reply has cursor_start and cursor_end, not matched_text
2014-05-06 22:41:24 -07:00
MinRK
b78c5b1554
s/object_info_request/inspect_request
2014-05-06 22:41:23 -07:00
MinRK
4f6565bd2a
pager payload is a mime-bundle
2014-05-06 22:41:23 -07:00
MinRK
a74c79ceab
update completion_ and objection_info_request
...
both requests take:
- code (up to full cell)
- cursor_pos (cursor offset in unicode characters)
and object_info_replies return a mime-bundle, instead of structured data
2014-05-06 22:41:19 -07:00
MinRK
98c408cbd1
support password in input_request
2014-05-06 22:39:44 -07:00
MinRK
5e8ce3b7e1
remove user_variables
...
leave only user_expressions
2014-05-06 22:39:43 -07:00
MinRK
5fb9837f5a
pyerr -> error
2014-05-06 22:39:41 -07:00
MinRK
38c76aa913
pyout -> execute_result
...
nbformat and nbconvert are not affected
2014-05-06 22:39:01 -07:00
Min RK
6b7d3fddec
Merge pull request #5668 from minrk/async-output
...
allow async output on the most recent request
2014-05-06 10:42:02 -07:00
Min RK
d87045744c
Merge pull request #5768 from ivanov/cm-uuddlrlrba
...
fix cursor keys in long lines wrapped in markdown
2014-05-05 17:02:14 -07:00
Thomas Kluyver
c4e0ef142b
Merge pull request #5759 from minrk/travis-3.4
...
test with Python 3.4 on Travis
2014-05-05 10:20:56 -07:00
Thomas Kluyver
a44de827e7
Merge pull request #5775 from minrk/race-cleanup
...
wait until dead before cleaning up the temp dir
2014-05-05 10:16:27 -07:00
MinRK
f530562929
wait until dead *before* cleaning up the temp dir
2014-05-02 11:00:39 -07:00
Raffaele De Feo
ba7a3ec6bc
Make sure that celltoolbars are hidden
...
when a notebook without "celltoolbar" entry in metadata is loaded.
2014-05-02 18:39:05 +02:00
Raffaele De Feo
61bdcb477b
When a preset is activated fire "preset_activated" event.
...
On "preset_activated" event, update the value of the maintoolbar select element that lists celltoolbar presets.
When a preset is registered after notebook is loaded, active it if needed.
2014-05-02 18:33:29 +02:00
Thomas Kluyver
b357c55fef
Merge pull request #5715 from minrk/log-all-ajax-failures
...
log all failed ajax API requests
2014-05-01 17:21:29 -07:00
Min RK
22133997bd
Merge pull request #5769 from spenczar/no_urlescaping_title_tag
...
Don't urlescape the text that goes into a title tag
2014-05-01 16:58:36 -07:00
MinRK
191cd44c4d
cleanup socket cleanup
...
- set linger on sockets (avoid hang on exit)
- actually close sockets, not just zmq streams (blame pyzmq, aka me)
seems to be necessary for js/notebook/shutdown test to avoid hanging on Python 3.4.
2014-05-01 16:06:59 -07:00
Spencer Nelson
925a58c0b4
Remove unused imports
2014-05-01 15:42:46 -07:00
Spencer Nelson
e34b7aa9a7
Don't urlescape the text that goes into a title tag
2014-05-01 15:12:32 -07:00
Paul Ivanov
fe7193e5af
fix cursor keys in long lines wrapped in markdown
2014-05-01 10:31:34 -07:00
MinRK
af2d60a393
Popen.wait(timeout) is new in Python 3.3
2014-04-30 17:05:03 -07:00
MinRK
b3c46ab2b4
Don't hang tests if notebook server fails to terminate.
2014-04-30 15:54:29 -07:00
Thomas Kluyver
395c983377
Merge pull request #5739 from minrk/ipython-dir-race
...
add utils.path.ensure_dir_exists
2014-04-29 10:48:18 -07:00
MinRK
934e731237
add utils.path.ensure_dir_exists
...
Ensures that a directory exists,
and protects against a common race condition when multiple
processes try to create the same directory.
2014-04-29 10:18:36 -07:00
MinRK
da525f1541
fix delete_checkpoint errback name
2014-04-28 11:30:50 -07:00
MinRK
e934687fed
don't test js test groups by default
...
since they are huge and slow, treat the like parallel (also huge and slow)
2014-04-27 16:46:43 -07:00
Thomas Kluyver
b55903b2eb
Merge pull request #5700 from minrk/configurable-managers
...
make the various manager classes in the notebook app configurable
2014-04-25 12:48:31 -07:00
Thomas Kluyver
79c72686e8
Merge pull request #5708 from minrk/checkpoints-path
...
create checkpoints dir in notebook subdirectories
2014-04-25 12:38:23 -07:00
Thomas Kluyver
c4e2468c48
Merge pull request #5714 from minrk/warn-api-errors
...
log error message when API requests fail
2014-04-25 12:18:40 -07:00
MinRK
df335decff
create checkpoints dir in notebook subdirectories
2014-04-23 13:30:23 -07:00
MinRK
0a143e716e
dialog on New Notebook failure
2014-04-23 13:22:36 -07:00
MinRK
82964a09c2
log all failed ajax API requests
2014-04-23 13:17:50 -07:00
MinRK
f824aee955
log error message when API requests fail
2014-04-23 12:41:27 -07:00
MinRK
bf871b020d
test notebook checkpoints in subdirectories
2014-04-23 11:43:51 -07:00
Raffaele De Feo
4adb8b5ffc
Adjusted "rawcell" toolbar preset to make us of the new "register_callback"
...
optional parameter.
2014-04-23 15:57:17 +02:00
Min RK
748b2c64d5
Merge pull request #5627 from AlbertHilb/ConditionalCallbacks
...
Some improvements to cell toolbars
2014-04-22 16:36:58 -07:00
Min RK
673c644a4f
Merge pull request #5534 from minrk/pre-css
...
cleanup some `pre` css inheritance
2014-04-22 15:19:20 -07:00
Min RK
dec6fb7260
Merge pull request #5469 from dalejung/nbm_kernel_path
...
API: Allow NotebookManagers to specify kernel startup dir.
closes #5468
2014-04-22 15:02:42 -07:00
MinRK
f75d9be34f
make the various manager classes in the notebook app configurable
...
like NotebookManager already was
2014-04-22 14:50:51 -07:00
Thomas Kluyver
0dc02c176a
Merge pull request #5586 from minrk/pdf-exporter
...
add PDFExporter
2014-04-22 13:15:22 -07:00
Min RK
86cd81014f
Merge pull request #5648 from andrewjesaitis/ticket4756
...
Adds markdown formatting to output cells
2014-04-22 11:37:47 -07:00
Jonathan Frederic
035562d95b
Merge pull request #5602 from jasongrout/kernel-js-post
...
Change $.post to this.post in the kernel js file
2014-04-21 19:46:23 -07:00
Min RK
048a36e4fd
Merge pull request #5523 from jdfreder/i5521
...
Make SVGs resizable in the NB
2014-04-21 15:57:40 -07:00
Thomas Kluyver
b80466ca8b
Merge pull request #5667 from minrk/no-log-date
...
use tornado logging in NotebookApp
2014-04-21 15:56:23 -07:00
Thomas Kluyver
5cf4be4180
Merge pull request #5593 from minrk/no-kernel-argv
...
disable specifying kernel args on the notebook command-line
2014-04-20 11:08:44 -07:00
MinRK
50aa2b3c23
refuse to start if --pylab
is given
2014-04-20 10:48:26 -07:00
Maximilian Albert
fb11e70f53
Fix copy & paste error in docstring.
2014-04-20 01:06:44 +01:00
MinRK
9484864828
informative warning on ipython notebook --pylab
...
and remove the unused kernel flags
2014-04-19 12:59:13 -07:00
MinRK
c90df1d694
disable specifying kernel args on the notebook command-line
...
this is deprecated in 2.0, and will be removed in 3.0
2014-04-19 12:58:32 -07:00
Andrew Jesaitis
889b711fd7
Adds markdown formatting to output cells
2014-04-18 19:16:41 -06:00
MinRK
66ee7dcea4
allow async output on the most recent request
...
Keeps track of the most recent request, so async output is still allowed
2014-04-18 13:26:14 -07:00
MinRK
914de94fe7
use tornado logging in NotebookApp
...
- remove date, only log time
- shorter prefix
- colored output
- just seems nicer
2014-04-18 12:52:47 -07:00
Jonathan Frederic
561f670423
Merge pull request #5652 from jhamrick/placeholder
...
Add placeholder attribute to text widgets
2014-04-17 17:09:08 -07:00
Thomas Kluyver
606124180c
Merge pull request #5657 from minrk/default-localhost
...
use 'localhost' as default for the notebook server
2014-04-17 16:26:27 -07:00
Jessica B. Hamrick
2ce77e945f
Add javascript tests for placeholder feature
2014-04-17 16:51:02 -04:00
Paul Ivanov
ae8c7c8c6e
Merge pull request #5584 from ivanov/more-semantic-icons
...
more semantic icons
2014-04-17 13:44:02 -07:00
Paul Ivanov
0c3e4acb75
use folder-close-alt without highlighting
...
discussion of this happened in #5584
2014-04-17 12:15:10 -07:00
MinRK
5078049a08
use 'localhost' as default for the notebook server
...
instead of loopback IP
seems to workaround weird issues with Sophos on Windows,
and should behave the same everywhere else.
2014-04-17 12:01:55 -07:00
Jessica B. Hamrick
95fc7167dd
Add placeholder to textarea as well as text
2014-04-17 11:06:11 -04:00
Jessica B. Hamrick
1f8253898c
Make sure to update the placeholder on render as well
2014-04-17 11:06:00 -04:00
Jessica B. Hamrick
e436850582
Add placeholder attribute to text widgets
2014-04-17 10:56:30 -04:00
Raffaele De Feo
59dbab6121
Removed "cell_types" parameter from "select_ui_generator".
...
If you don't want to show the UI element in a cell use the
"register_callback" optional parameter.
2014-04-17 00:26:29 +02:00
Matthias Bussonnier
9f9f9abca8
Merge pull request #5630 from onceuponatimeforever/4012
...
Fixed Issue #4012 Added Help menubar link to Github markdown doc
2014-04-16 17:09:06 +02:00
Matthias Bussonnier
f24e802bac
Merge pull request #5613 from nilenoether/fix-5607
...
Fixing bug #5607 - Some shortcut missing from help reference.
2014-04-16 15:45:54 +02:00
Aron Ahmadia
d073f614ed
Better lessc detection/handling.
...
* lessc@1.5.0 now invalid
* more help if lessc not found
2014-04-15 23:56:46 -04:00
Susan Tan
abaec7694b
Fixed Issue #4012 Added Help menubar link to Github Flavored Markdown doc
2014-04-15 20:47:07 -04:00
Raffaele De Feo
5b6b8e2bbf
Why overriding a method if the new one is exactly the same of the one
...
in the base class?
2014-04-15 19:34:26 +02:00
Raffaele De Feo
dcf77aa2a0
Hide toolbar of rendered text cells.
2014-04-15 19:34:26 +02:00
Raffaele De Feo
5a53a034f4
Hide the cell toolbar if there are no ui controls in it.
2014-04-15 19:34:26 +02:00
Raffaele De Feo
9f959342fa
Added an optional parameter to "CellToolbar.register_callback".
...
It lists the cell types the UI element must inserted in.
2014-04-15 19:34:26 +02:00
Nile Geisinger
0a702ff718
Fixing bug #5607
...
Changed the method from extends to merge which merges the two arrays as
desired - With Freyert
2014-04-14 12:01:55 -04:00
Jason Grout
ea66ebe316
Change $.post to this.post in the kernel js file
...
This makes it easy to override the post function for custom communication requirements. Any replacement function, of course, needs to have the same semantics as $.post.
2014-04-12 06:31:32 -05:00
MinRK
551f534d92
add missing browser
to notebook_aliases list
2014-04-11 11:25:31 -07:00
MinRK
f7c1a15896
support pdf export in the notebook UI
2014-04-10 21:13:41 -07:00
Paul Ivanov
0a4473a2fa
book icon for notebooks, color folders differently
...
This allows us to use the generic file icon for text files, etc, down
the line.
2014-04-10 15:04:55 -07:00
Paul Ivanov
3e6492dafd
use fixed-width icons, closes #5555
2014-04-10 14:19:36 -07:00
Paul Ivanov
9ccf8e39fe
remove auth and tree from ipython.less
...
@minrk said it's the right thing to do
2014-04-10 14:02:12 -07:00
Paul Ivanov
39c1346805
more semantic icons
2014-04-10 13:00:48 -07:00
Min RK
c9438bdfcd
Merge pull request #5546 from renaud/master
...
do not shutdown notebook if 'n' is part of answer
2014-04-09 16:02:17 -07:00
Min RK
ae61228994
Merge pull request #5527 from jdfreder/i5518
...
Don't remove upload items from nav tree unless explicitly requested.
2014-04-09 16:01:40 -07:00
MinRK
78ee21e533
master is 3.0.0-dev
2014-04-09 13:42:45 -07:00
Min RK
2f0448351a
Merge pull request #5497 from takluyver/rm-octavemagic
...
Remove the octavemagic extension.
2014-04-09 13:38:15 -07:00
Min RK
6ee70be691
Merge pull request #5548 from pankajp/notebook-rename-cross-device-link
...
FileNotebookManager: Use shutil.move() instead of os.rename()
2014-04-09 13:36:29 -07:00
Paul Ivanov
9bb9652348
one more place
2014-04-08 20:38:18 -07:00
MinRK
4bc14c1154
never use for (var i in array)
...
because javascript is terrible
2014-04-08 20:38:16 -07:00
Thomas Kluyver
9a037d02e9
Merge pull request #5459 from jdfreder/ff_animhop
...
Fix interact animation page jump FF
2014-04-08 14:23:28 -07:00
MinRK
857c243434
output_type should not be optional in new_output
...
and fix bug that this would have revealed
2014-04-07 11:19:00 -07:00
Jonathan Frederic
6ed0bf975b
Don't remove upload items unless explicitly requested.
2014-04-07 10:53:41 -07:00
Pankaj Pandey
195ca091c5
FileNotebookManager: Use shutil.move() instead of os.rename()
...
`os.rename()` fails in case the new path is on a different
filesystem. For example if a file in `/tmp` is tried to save
to home, it causes following error:
[Errno 18] Invalid cross-device link using os.rename
2014-04-07 21:07:55 +05:30
Renaud Richardet
13c6303010
do not shutdown notebook if 'n' is part of answer
...
this prevents commands like 'yesn' to shut down the notebook server
2014-04-07 11:17:11 +02:00
MinRK
6d2774f0af
cleanup some pre
css inheritance
...
We had various overrides of the bootstrap defaults for font-size and line-height every time we made a pre tag,
and then some overrides of our overrides when we wanted something slightly different.
This moves the most basic overrides to apply to all pre tags,
reducing the number of downstream changes we need.
2014-04-05 13:27:29 -07:00
Jonathan Frederic
1cac0e3fca
Make SVGs resizable in the NB
2014-04-04 12:00:55 -07:00
Jonathan Frederic
46602a00a0
Merge pull request #5493 from jdavidheiser/master
...
made a minor fix to one of the widget examples
2014-04-04 09:11:23 -07:00
jdavidheiser
e0a40d54cb
Update widget_selection.py
2014-04-03 18:45:25 -07:00
jdavidheiser
52e58dce6d
Update widget_selection.py
2014-04-03 18:31:30 -07:00
jon
2c1f9790db
Don't send \r characters in zmqshell clear_ourput
2014-04-03 16:38:00 -07:00
jdavidheiser
9810033988
widget_selection update
...
Fix for the fact that dictionary randomization sometimes switches the order of the arguments passed to the class on initialization. This means that, potentially, 'value' can be updated BEFORE 'values', and since the method to update 'value' checks to see whether it exists in 'values', this breaks things.
2014-04-03 16:26:43 -07:00
Jonathan Frederic
d4d4b2ac73
Cleanup
2014-04-03 12:19:17 -07:00
Jonathan Frederic
ccdb1b2d25
Make sure to not call old load events
2014-04-03 12:19:16 -07:00