Commit Graph

1504 Commits

Author SHA1 Message Date
Thomas Kluyver
c37acf2ae7 Fix JS syntax 2014-07-11 11:07:42 -05:00
Thomas Kluyver
6efbe46b73 Update JS for kernels and sessions APIs 2014-07-10 23:54:31 -05:00
Jonathan Frederic
904ed66bc2 Updated custom.js template to reflect IPython namespace changes 2014-07-10 15:47:23 -05:00
Jonathan Frederic
a226bd2d6e Fixed cell toolbars 2014-07-10 15:47:23 -05:00
Jonathan Frederic
b15633a89e Fix all the tests 2014-07-10 15:47:23 -05:00
Jonathan Frederic
2478fac032 More requirejs fixes 2014-07-10 15:47:23 -05:00
Jonathan Frederic
ee76005bc2 More review changes 2014-07-10 15:47:23 -05:00
Jonathan Frederic
669db572f2 Fix some dialog keyboard_manager problems 2014-07-10 15:47:23 -05:00
Jonathan Frederic
2d7a4a7879 Some JS test fixes 2014-07-10 15:47:23 -05:00
jon
70ffd96eb9 Added some nice comments,
so devs can easily figure out what options to pass
into the objects they want to construct.
2014-07-10 15:47:23 -05:00
jon
d9ab2d203a In person review with @ellisonbg 2014-07-10 15:47:23 -05:00
jon
1e098560b8 Revert "Google hangout review comments."
This reverts commit 4e120e76014b2630f957c01d17ba3926d4848872.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
eb2b1ab4a4 Google hangout review comments. 2014-07-10 15:47:22 -05:00
Jonathan Frederic
c2c87e1a76 nbconvert api tests fixes 2014-07-10 15:47:22 -05:00
Jonathan Frederic
188072d190 @carreau review changes 2014-07-10 15:47:22 -05:00
Jonathan Frederic
2ba8945cab Fix all the bugs! 2014-07-10 15:47:22 -05:00
Jonathan Frederic
c7961ae2db Fix imports of "modules",
required after converting everything into dictionary returns.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
0edfdbc703 Return dicts instead of classes,
this makes require.js more Python import like.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
0e9e1dd5a3 MWE,
Fixed LOTS of bugs
2014-07-10 15:47:22 -05:00
Jonathan Frederic
0da779d101 Done with major changes,
fixed widget IPython. references
2014-07-10 15:47:22 -05:00
Jonathan Frederic
516958ac07 Almost done!
Still need to check IPython uses in the widgets.
2014-07-10 15:26:25 -05:00
Jonathan Frederic
ca2014ad06 Pager 2014-07-10 15:25:09 -05:00
Jonathan Frederic
152e23dc76 Progress... 2014-07-10 15:25:09 -05:00
Jonathan Frederic
e6b7cc9ff9 Fixed events 2014-07-10 15:25:09 -05:00
Jonathan Frederic
8d511b2ff5 Finished moving code into final(?) resting modules 2014-07-10 15:25:09 -05:00
Jonathan Frederic
9bfe5fc06c Use ipython namepsace for instances. 2014-07-10 15:25:09 -05:00
Jonathan Frederic
fb32b6561f Start of work to make notebook.html requirejs friendly. 2014-07-10 15:25:08 -05:00
Jonathan Frederic
629204a2bb Fixed global IPython namespace. 2014-07-10 15:25:08 -05:00
Jonathan Frederic
b1c8d2662c Finished making tree.html requirejs friendly 2014-07-10 15:25:08 -05:00
Jonathan Frederic
9f4a03ce79 Started work to make tree requirejs friendly. 2014-07-10 15:25:08 -05:00
Jonathan Frederic
855815d207 Make page.html require.js friendly. 2014-07-10 15:25:08 -05:00
Jonathan Frederic
1a30a12302 Ahhh bug fix! 2014-07-08 13:43:18 -05:00
Jonathan Frederic
df47869fb0 Move displayed event to view. 2014-07-08 11:58:14 -05:00
Jonathan Frederic
fa39d91446 Review comments 2014-07-08 11:24:24 -05:00
Jonathan Frederic
988fd1b5f9 Reverted strange change that I don't remember making to update method. 2014-07-08 10:57:57 -05:00
Jonathan Frederic
3a9d888f02 Removed respect_order and finally removed the children dict of the containerview 2014-07-08 10:57:57 -05:00
Jonathan Frederic
f51903ca03 Bug fixes 2014-07-08 10:57:56 -05:00
Jonathan Frederic
f1269d3de3 Add order respecting method 2014-07-08 10:57:56 -05:00
Jonathan Frederic
636362787b Fixed buggy behavior 2014-07-08 10:57:56 -05:00
Jonathan Frederic
14ff754cdf Allow a widget to be displayed more than once within a parent widget. 2014-07-08 10:57:56 -05:00
Gordon Ball
390d2b3e92 Compiled changes to minified CSS 2014-06-30 15:03:34 +02:00
Gordon Ball
412605917c Adjust range style so that the vertical range marker is visible 2014-06-30 15:02:41 +02:00
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
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
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
Gordon Ball
3178a184c0 Add initial implementation of 2-handle range sliders for integers. 2014-06-25 17:51:55 +02: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
Matthias BUSSONNIER
fd4dd9246e inherit style instead of duplicating it 2014-06-13 21:56:39 +02: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
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
ff2e317fff Fab CSS 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Paul Ivanov
fe7193e5af fix cursor keys in long lines wrapped in markdown 2014-05-01 10:31:34 -07:00
MinRK
da525f1541 fix delete_checkpoint errback name 2014-04-28 11:30:50 -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
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
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
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
Jonathan Frederic
561f670423 Merge pull request #5652 from jhamrick/placeholder
Add placeholder attribute to text widgets
2014-04-17 17:09:08 -07: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
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
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
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
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
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
Jonathan Frederic
6ed0bf975b Don't remove upload items unless explicitly requested. 2014-04-07 10:53:41 -07: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
jon
2c1f9790db Don't send \r characters in zmqshell clear_ourput 2014-04-03 16:38:00 -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
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
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
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
MinRK
8a44e91c0c use modal_stretch on keyboard shortcut dialog 2014-03-27 13:32:42 -07:00
MinRK
b3b200abcb add modal_stretch class
for stretching a dialog to fill the screen
2014-03-27 13:32:18 -07:00
MinRK
4d955e9641 remove unneeded width: 100% firefox workaround
this is no longer needed with `display: flex`
2014-03-27 13:31:02 -07:00
jon
79f6ea9b1f Allow '.', '+.', '+', '-.', and '-' even though without numbers, they cannot be parsed. 2014-03-27 10:29:02 -07:00
MinRK
9552688a71 back to dev 2014-03-25 22:46:06 -07:00
MinRK
2adfb5254c 2.0.0-rc1 2014-03-25 20:16:54 -07:00
Paul Ivanov
f1573bd266 CodeMirror shortcuts in QuickHelp
Our users shouldn't need an internet connection to look at the code
mirror shortcuts. This PR places the CM keyboard shortcuts that are
currently documented on our website's rendered docs, and places them
inside the keyboard shortcuts quickhelp.
2014-03-25 18:19:06 -07:00
Paul Ivanov
0240b20127 Merge pull request #5419 from minrk/responsive-prompts
move prompts from margin to main column on small screens
2014-03-25 16:47:26 -07:00
Min RK
a594a691c6 Merge pull request #5430 from jdfreder/elementappend
Make sure `element` is correct in the context of displayed JS
2014-03-25 16:44:34 -07:00
Min RK
34571232bb Merge pull request #5396 from ivanov/fix-5363
prevent saving of partially loaded notebooks
2014-03-25 16:40:24 -07:00
Paul Ivanov
f41750ca6b address PR feedback 2014-03-25 16:31:29 -07:00
Jonathan Frederic
1235c2f638 Make sure element is correct in the context of displayed JS
closes #5293
2014-03-25 15:54:20 -07:00
Jonathan Frederic
b4099518f8 Fix tooltip pager feature
Updates to tooltip.js for msg spec changes.
2014-03-25 15:12:38 -07:00
Min RK
b294bf7059 Merge pull request #5404 from jdfreder/accordion
Fix broken accordion widget
2014-03-24 18:08:17 -07:00
Jonathan Frederic
e1daedf95b Fixed keyboard.js indent break 2014-03-24 15:43:10 -07:00
Paul Ivanov
997a9735f0 Merge pull request #5320 from jdfreder/focusbug_tt
Fix for Tooltip & completer click focus bug.
2014-03-24 15:18:45 -07:00
Paul Ivanov
c5054883e9 small fixes for #5320 2014-03-24 15:02:04 -07:00
MinRK
f5ad1cc398 move prompts from margin to main column on small screens
This is mainly for nbviewer, but the relevant CSS lives in IPython.
2014-03-24 11:30:12 -07:00
Jonathan Frederic
aed8b7ba3c Remove commented out lines (for tab evt) 2014-03-21 14:39:43 -07:00
Jonathan Frederic
cbab393e44 Shrink cleanup lines 2014-03-21 13:20:46 -07:00
Jonathan Frederic
b90358888b Fab CSS 2014-03-21 13:20:10 -07:00
Jonathan Frederic
ee7f5b8235 Move width auto into less 2014-03-21 13:19:45 -07:00
Jonathan Frederic
bca3fdc4b0 Remove commented line 2014-03-21 13:17:00 -07:00
Jonathan Frederic
bf65d5837f Finish implementing codemirror events 2014-03-21 13:15:30 -07:00
Jonathan Frederic
1f002cd456 Add displayed property.
and remove logs, commments, etc...
2014-03-21 12:05:02 -07:00
Jonathan Frederic
607b96b19a Actually remove the trigger keydown method 2014-03-20 18:45:06 -07:00
Jonathan Frederic
a2071db309 More progress... 2014-03-20 18:41:15 -07:00
Jonathan Frederic
b2ec594c76 Getting a lot closer... 2014-03-20 18:01:58 -07:00
Jonathan Frederic
23494f4ddd Set tabindex -1, use codemirror's events 2014-03-20 17:37:53 -07:00
Jonathan Frederic
f2c8de99ae Fix broken accordion widget,
Also clean-up the code some while visiting this file.
2014-03-20 16:52:56 -07:00
Jonathan Frederic
ae2b0800cf Partial fix of problems b/c keydown move 2014-03-20 16:11:01 -07:00
Jonathan Frederic
1b46a777fb Removed trigger keydown from keyboard.js,
also added a bunch of missing semicolons (jshint)
2014-03-20 16:11:01 -07:00
Jonathan Frederic
dc6355ffb7 Prevent tab key from bubbling when the completer is open 2014-03-20 15:57:26 -07:00
Min RK
0493027d7e Merge pull request #5403 from minrk/alt-shortcut-bad
remove alt-- shortcut
2014-03-20 15:00:41 -07:00
Brian E. Granger
e51030ea5f Merge pull request #5368 from jdfreder/specifity
Flexbox classes specificity fixes
2014-03-20 14:34:17 -07:00
MinRK
2041dc6563 widen modal dialogs on wide displays
needed for quick help layout with multiple meta keys
2014-03-20 14:12:09 -07:00
MinRK
840364ff71 use box-flex to layout quickhelp 2014-03-20 14:11:05 -07:00
MinRK
19c64f4b59 remove alt-- shortcut
replace with ctrl-shift--

alt is not safe for defaults
2014-03-20 14:10:44 -07:00
Brian E. Granger
9f1b26d860 Merge pull request #5331 from minrk/raw-input-css
fix raw_input CSS
2014-03-20 13:47:14 -07:00
Min RK
0ae0216b12 Merge pull request #5049 from ivanov/quickhelp-update
update quickhelp on adding and removing shortcuts
2014-03-20 12:39:42 -07:00
Paul Ivanov
35c861f583 fix MacOS specific shortcuts, thanks @minrk 2014-03-20 12:38:25 -07:00
Brian E. Granger
bfdbdd456c Merge pull request #5391 from jdfreder/netscape-keyboard
Fix Gecko (Netscape) keyboard handling
2014-03-20 12:35:52 -07:00
Paul Ivanov
c28096f0c5 prevent saving of partially loaded notebooks
closes #5363
2014-03-20 02:21:38 -07:00
Paul Ivanov
54d9eb4358 really fix the '-' key shortcuts now 2014-03-19 22:29:31 -07:00
Paul Ivanov
77bf4a72dd better handling of minus 2014-03-19 19:24:05 -07:00