Commit Graph

3818 Commits

Author SHA1 Message Date
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
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
Thomas Kluyver
c6de836564 Remove the octavemagic extension.
It is part of oct2py, so we can stop testing and documenting it now.
2014-04-02 10:42:43 -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
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
Aaron Meurer
75d4947e81 Point to the stable SymPy docs, not the dev docs 2014-03-26 18:07:17 -05: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
MinRK
2daf2fe293 update links in notebook help menu 2014-03-25 17:03:37 -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
db2e16f2e1 Added a test 2014-03-24 17:00:43 -07:00
Min RK
25b111d7cb Merge pull request #5339 from minrk/iptest-qt-js-wtf
Don't use fork to start the notebook in js tests
2014-03-24 15:52:49 -07:00
Jonathan Frederic
e1daedf95b Fixed keyboard.js indent break 2014-03-24 15:43:10 -07:00
Jonathan Frederic
e235b47472 Make test name match actually file name 2014-03-24 15:32:38 -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
191cc65631 halt stream capturer after server terminates 2014-03-24 12:49:55 -07:00
Thomas Kluyver
1b9bd741b4 Move configuration of Python test controllers into setup() 2014-03-24 12:21:35 -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
ca422672d6 Re-added new lines at eof 2014-03-21 13:22:46 -07:00
Jonathan Frederic
5c8c8f218c Revert accidental checkin of files from SlimerJS branch 2014-03-21 13:21:07 -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
744f057cab get_text() before returning results 2014-03-20 16:22:54 -07:00
Jonathan Frederic
af03114ef6 s/set_cell_text/set_cells_text 2014-03-20 16:15:24 -07:00
Jonathan Frederic
42fa583172 Fix split shortcut 2014-03-20 16:12:42 -07:00
Jonathan Frederic
b80e11d3ce Plus to minus shortcuts rebase fixes 2014-03-20 16:11:02 -07:00
Jonathan Frederic
9c6d904f71 Set cursor pos in edit mode before attempting to jump cells. 2014-03-20 16:11:02 -07:00
Jonathan Frederic
ca71afc5ea Note to self 2014-03-20 16:11:02 -07:00
Jonathan Frederic
1754e3291a Call trigger_keydown in merge_cells_api test 2014-03-20 16:11:01 -07:00
Jonathan Frederic
7c6c0b22b8 Pythonize me captin'
Made the method comments more pythonic by moving them
within the method definitions.
2014-03-20 16:11:01 -07:00
Jonathan Frederic
baa28a0b81 Final fixes? 2014-03-20 16:11:01 -07:00
Jonathan Frederic
ae2b0800cf Partial fix of problems b/c keydown move 2014-03-20 16:11:01 -07:00
Jonathan Frederic
147f35d899 demsemicolons 2014-03-20 16:11:01 -07:00
Jonathan Frederic
a8783c45cb Add comments 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
1f4db77aec Cleaned up test names and locations. 2014-03-20 16:11:01 -07:00
Jonathan Frederic
0262b724fc Move validate notebook state into utils 2014-03-20 16:11:01 -07:00
Jonathan Frederic
b9872db82b HUGE speed improvements to dual mode tests 2014-03-20 16:11:01 -07:00
Jonathan Frederic
a7dcdddd54 Fixed problem with split tests,
added new function that sets the codemirror instance cursor coords
2014-03-20 16:11:01 -07:00
Jonathan Frederic
daf40e9ec5 Moved util functions into util.js 2014-03-20 16:11:01 -07:00
Jonathan Frederic
c73bef017d Added split merge tests 2014-03-20 16:11:00 -07:00
Jonathan Frederic
23ca387dd7 cutcopyandpaste 2014-03-20 16:11:00 -07:00
Jonathan Frederic
6efa0a4dae Added get_cell_text 2014-03-20 16:11:00 -07:00
Jonathan Frederic
ddc2161817 Added ctrl+(j&k), a, and b tests 2014-03-20 16:11:00 -07:00
Jonathan Frederic
26e3d14f81 Fixed state type for new markdown cell 2014-03-20 16:11:00 -07:00
Jonathan Frederic
1094299934 Added up/down and markdown tests 2014-03-20 16:11:00 -07:00
Jonathan Frederic
13908b60a4 Fixed typo in dd test 2014-03-20 16:11:00 -07:00
Jonathan Frederic
e647e13162 Add dd tests 2014-03-20 16:11:00 -07:00
Jonathan Frederic
4f6884f985 Add test for cell type modifier keyboard shortcuts 2014-03-20 16:11:00 -07:00
Jonathan Frederic
55773dd95a Made *+enter tests more complicated. 2014-03-20 16:11:00 -07:00
Jonathan Frederic
9bd0ac19bf sep. fucntions to move to util.js 2014-03-20 16:11:00 -07:00