Commit Graph

2146 Commits

Author SHA1 Message Date
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
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
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
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
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
Min RK
a540078d8d Merge pull request #5605 from AlbertHilb/CellToolbar
Two cell toolbar fixes.
2014-05-16 09:56:46 -07: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
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
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
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
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
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
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
Jonathan Frederic
7cc8211c6d A couple of fixes,
- Fix missing `type` from png/jpeg check
- Don't resize on weird chr(13) stand alone stream msgs
2014-04-03 12:19:16 -07:00
jon
955c419f24 Try removing the callbacks 2014-04-03 12:19:15 -07:00
jon
eebae30bd1 Use .load() to resize 2014-04-03 12:19:15 -07:00
jon
45d69b5f25 Move append_output animation height lock release into timeout. 2014-04-03 12:19:15 -07:00
Thomas Kluyver
a90ee73a80 Update tooltips to refer to shift-tab
Closes gh-5510
2014-04-03 09:39:20 -07:00
MinRK
17bbc2b360 back to dev 2014-04-01 23:03:38 -07:00
MinRK
d482fb15b6 release 2.0.0 2014-04-01 22:19:46 -07:00
MinRK
c02562e40f remove weird unicode space in the new copyright header
The bytes were actually:

    #\xe2\x80\x82Copyright...
2014-04-01 21:26:27 -07:00
Brian E. Granger
655098b3c2 Pointing to the 2.x branch in the Help menu. 2014-04-01 15:42:09 -07:00
Brian E. Granger
d5c913c4c2 Removing Editor Shortcuts - these are now in the Shortcut Modal. 2014-03-31 17:06:08 -07:00
Brian E. Granger
b91394cb7d Fixing Help menu links. 2014-03-31 17:06:08 -07:00
Min RK
3f3f3c136e Merge pull request #5436 from ivanov/cm-shorcuts-quickhelp
CodeMirror shortcuts in QuickHelp
2014-03-31 14:36:50 -07:00
Min RK
19ff0c03e1 Merge pull request #5444 from jdfreder/numparse
Fix numeric verification for Int and Float text widgets.
2014-03-31 14:35:00 -07:00
Min RK
e37bf2257d Merge pull request #5449 from minrk/quickhelp-stretch
Stretch keyboard shortcut dialog
2014-03-31 14:34:18 -07:00
Dale Jung
27a77dedbd API: Allow NotebookManagers to control kernel startup dir. #5468 2014-03-29 17:39:15 -04:00
Paul Ivanov
7880ad88b1 ok, removed last few unnecessary shortcuts 2014-03-28 17:20:22 -07:00
Paul Ivanov
7d4aed19e8 remove cm_keyboard.rst and OS-level shortcuts 2014-03-28 17:01:32 -07:00
MinRK
78bc36ec38 update link
The page is in the sphinx docs, not on the main website.
2014-03-28 14:41:10 -07:00
Paul Ivanov
c37e10feb2 move hyphen to cmd_ctrl 2014-03-28 12:58:25 -07:00
Thomas Kluyver
b878696a95 Fix starting notebook server with file/directory at command line.
The base class implementation of parse_command_line uses update_config,
which ensures that the change event fires for the config traitlet. This
copies that.

Closes gh-5460
2014-03-28 11:51:21 -07:00
Paul Ivanov
c24ca22955 lower-cased single letter keys in shortcuts 2014-03-27 17:20:06 -07:00
Paul Ivanov
354ff54aa5 remove no-op placeholder edit mode "shortcuts" 2014-03-27 17:05:09 -07:00
Paul Ivanov
40ca1218c7 completed both sets of platform-specific shortcuts 2014-03-27 16:48:01 -07:00
Paul Ivanov
1102095830 Hi, I'm a Mac. And I'm a PC. 2014-03-27 15:24:43 -07:00
Thomas Kluyver
982aab67ba Merge pull request #5290 from jdfreder/dual_tests
Add dual mode JS tests
2014-03-27 15:03:14 -07:00
MinRK
bfb3d8ec30 check that a handler is actually registered in ShortcutManager.handles
there are a few shortcuts that do not specify handlers
(just for quick help contents),
and this was preventing the actual events from ever firing.
2014-03-27 14:31:07 -07:00