Min RK
ae61228994
Merge pull request #5527 from jdfreder/i5518
...
Don't remove upload items from nav tree unless explicitly requested.
12 years ago
MinRK
78ee21e533
master is 3.0.0-dev
12 years ago
Min RK
6ee70be691
Merge pull request #5548 from pankajp/notebook-rename-cross-device-link
...
FileNotebookManager: Use shutil.move() instead of os.rename()
12 years ago
Paul Ivanov
9bb9652348
one more place
12 years ago
MinRK
4bc14c1154
never use `for (var i in array)`
...
because javascript is terrible
12 years ago
Thomas Kluyver
9a037d02e9
Merge pull request #5459 from jdfreder/ff_animhop
...
Fix interact animation page jump FF
12 years ago
MinRK
857c243434
output_type should not be optional in new_output
...
and fix bug that this would have revealed
12 years ago
Jonathan Frederic
6ed0bf975b
Don't remove upload items unless explicitly requested.
12 years ago
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
12 years ago
Renaud Richardet
13c6303010
do not shutdown notebook if 'n' is part of answer
...
this prevents commands like 'yesn' to shut down the notebook server
12 years ago
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.
12 years ago
Jonathan Frederic
1cac0e3fca
Make SVGs resizable in the NB
12 years ago
Jonathan Frederic
46602a00a0
Merge pull request #5493 from jdavidheiser/master
...
made a minor fix to one of the widget examples
12 years ago
jdavidheiser
e0a40d54cb
Update widget_selection.py
12 years ago
jdavidheiser
52e58dce6d
Update widget_selection.py
12 years ago
jon
2c1f9790db
Don't send \r characters in zmqshell clear_ourput
12 years ago
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.
12 years ago
Jonathan Frederic
d4d4b2ac73
Cleanup
12 years ago
Jonathan Frederic
ccdb1b2d25
Make sure to not call old load events
12 years ago
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
12 years ago
jon
955c419f24
Try removing the callbacks
12 years ago
jon
eebae30bd1
Use .load() to resize
12 years ago
jon
45d69b5f25
Move append_output animation height lock release into timeout.
12 years ago
Thomas Kluyver
a90ee73a80
Update tooltips to refer to shift-tab
...
Closes gh-5510
12 years ago
MinRK
17bbc2b360
back to dev
12 years ago
MinRK
d482fb15b6
release 2.0.0
12 years ago
MinRK
c02562e40f
remove weird unicode space in the new copyright header
...
The bytes were actually:
#\xe2\x80\x82Copyright...
12 years ago
Brian E. Granger
655098b3c2
Pointing to the 2.x branch in the Help menu.
12 years ago
Brian E. Granger
d5c913c4c2
Removing Editor Shortcuts - these are now in the Shortcut Modal.
12 years ago
Brian E. Granger
b91394cb7d
Fixing Help menu links.
12 years ago
Min RK
3f3f3c136e
Merge pull request #5436 from ivanov/cm-shorcuts-quickhelp
...
CodeMirror shortcuts in QuickHelp
12 years ago
Min RK
19ff0c03e1
Merge pull request #5444 from jdfreder/numparse
...
Fix numeric verification for Int and Float text widgets.
12 years ago
Min RK
e37bf2257d
Merge pull request #5449 from minrk/quickhelp-stretch
...
Stretch keyboard shortcut dialog
12 years ago
Dale Jung
27a77dedbd
API: Allow NotebookManagers to control kernel startup dir. #5468
12 years ago
Paul Ivanov
7880ad88b1
ok, removed last few unnecessary shortcuts
12 years ago
Paul Ivanov
7d4aed19e8
remove cm_keyboard.rst and OS-level shortcuts
12 years ago
MinRK
78bc36ec38
update link
...
The page is in the sphinx docs, not on the main website.
12 years ago
Paul Ivanov
c37e10feb2
move hyphen to cmd_ctrl
12 years ago
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
12 years ago
Paul Ivanov
c24ca22955
lower-cased single letter keys in shortcuts
12 years ago
Paul Ivanov
354ff54aa5
remove no-op placeholder edit mode "shortcuts"
12 years ago
Paul Ivanov
40ca1218c7
completed both sets of platform-specific shortcuts
12 years ago
Paul Ivanov
1102095830
Hi, I'm a Mac. And I'm a PC.
12 years ago
Thomas Kluyver
982aab67ba
Merge pull request #5290 from jdfreder/dual_tests
...
Add dual mode JS tests
12 years ago
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.
12 years ago
MinRK
8a44e91c0c
use modal_stretch on keyboard shortcut dialog
12 years ago
MinRK
b3b200abcb
add modal_stretch class
...
for stretching a dialog to fill the screen
12 years ago
MinRK
4d955e9641
remove unneeded `width: 100%` firefox workaround
...
this is no longer needed with `display: flex`
12 years ago
jon
79f6ea9b1f
Allow '.', '+.', '+', '-.', and '-' even though without numbers, they cannot be parsed.
12 years ago
Aaron Meurer
75d4947e81
Point to the stable SymPy docs, not the dev docs
12 years ago
MinRK
9552688a71
back to dev
12 years ago
MinRK
2adfb5254c
2.0.0-rc1
12 years ago
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.
12 years ago
MinRK
2daf2fe293
update links in notebook help menu
12 years ago
Paul Ivanov
0240b20127
Merge pull request #5419 from minrk/responsive-prompts
...
move prompts from margin to main column on small screens
12 years ago
Min RK
a594a691c6
Merge pull request #5430 from jdfreder/elementappend
...
Make sure `element` is correct in the context of displayed JS
12 years ago
Min RK
34571232bb
Merge pull request #5396 from ivanov/fix-5363
...
prevent saving of partially loaded notebooks
12 years ago
Paul Ivanov
f41750ca6b
address PR feedback
12 years ago
Jonathan Frederic
1235c2f638
Make sure `element` is correct in the context of displayed JS
...
closes #5293
12 years ago
Jonathan Frederic
b4099518f8
Fix tooltip pager feature
...
Updates to tooltip.js for msg spec changes.
12 years ago
Min RK
b294bf7059
Merge pull request #5404 from jdfreder/accordion
...
Fix broken accordion widget
12 years ago
Jonathan Frederic
db2e16f2e1
Added a test
12 years ago
Jonathan Frederic
e1daedf95b
Fixed keyboard.js indent break
12 years ago
Jonathan Frederic
e235b47472
Make test name match actually file name
12 years ago
Paul Ivanov
997a9735f0
Merge pull request #5320 from jdfreder/focusbug_tt
...
Fix for Tooltip & completer click focus bug.
12 years ago
Paul Ivanov
c5054883e9
small fixes for #5320
12 years ago
MinRK
f5ad1cc398
move prompts from margin to main column on small screens
...
This is mainly for nbviewer, but the relevant CSS lives in IPython.
12 years ago
Jonathan Frederic
aed8b7ba3c
Remove commented out lines (for tab evt)
12 years ago
Jonathan Frederic
cbab393e44
Shrink cleanup lines
12 years ago
Jonathan Frederic
b90358888b
Fab CSS
12 years ago
Jonathan Frederic
ee7f5b8235
Move width auto into less
12 years ago
Jonathan Frederic
ca422672d6
Re-added new lines at eof
12 years ago
Jonathan Frederic
5c8c8f218c
Revert accidental checkin of files from SlimerJS branch
12 years ago
Jonathan Frederic
bca3fdc4b0
Remove commented line
12 years ago
Jonathan Frederic
bf65d5837f
Finish implementing codemirror events
12 years ago
Jonathan Frederic
1f002cd456
Add displayed property.
...
and remove logs, commments, etc...
12 years ago
Jonathan Frederic
607b96b19a
Actually remove the trigger keydown method
12 years ago
Jonathan Frederic
a2071db309
More progress...
12 years ago
Jonathan Frederic
b2ec594c76
Getting a lot closer...
12 years ago
Jonathan Frederic
23494f4ddd
Set tabindex -1, use codemirror's events
12 years ago
Jonathan Frederic
f2c8de99ae
Fix broken accordion widget,
...
Also clean-up the code some while visiting this file.
12 years ago
Jonathan Frederic
744f057cab
get_text() before returning results
12 years ago
Jonathan Frederic
af03114ef6
s/set_cell_text/set_cells_text
12 years ago
Jonathan Frederic
42fa583172
Fix split shortcut
12 years ago
Jonathan Frederic
b80e11d3ce
Plus to minus shortcuts rebase fixes
12 years ago
Jonathan Frederic
9c6d904f71
Set cursor pos in edit mode before attempting to jump cells.
12 years ago
Jonathan Frederic
ca71afc5ea
Note to self
12 years ago
Jonathan Frederic
1754e3291a
Call trigger_keydown in merge_cells_api test
12 years ago
Jonathan Frederic
7c6c0b22b8
Pythonize me captin'
...
Made the method comments more pythonic by moving them
within the method definitions.
12 years ago
Jonathan Frederic
baa28a0b81
Final fixes?
12 years ago
Jonathan Frederic
ae2b0800cf
Partial fix of problems b/c keydown move
12 years ago
Jonathan Frederic
147f35d899
demsemicolons
12 years ago
Jonathan Frederic
a8783c45cb
Add comments
12 years ago
Jonathan Frederic
1b46a777fb
Removed trigger keydown from keyboard.js,
...
also added a bunch of missing semicolons (jshint)
12 years ago
Jonathan Frederic
1f4db77aec
Cleaned up test names and locations.
12 years ago
Jonathan Frederic
0262b724fc
Move validate notebook state into utils
12 years ago
Jonathan Frederic
b9872db82b
HUGE speed improvements to dual mode tests
12 years ago
Jonathan Frederic
a7dcdddd54
Fixed problem with split tests,
...
added new function that sets the codemirror instance cursor coords
12 years ago
Jonathan Frederic
daf40e9ec5
Moved util functions into util.js
12 years ago
Jonathan Frederic
c73bef017d
Added split merge tests
12 years ago
Jonathan Frederic
23ca387dd7
cutcopyandpaste
12 years ago
Jonathan Frederic
6efa0a4dae
Added get_cell_text
12 years ago
Jonathan Frederic
ddc2161817
Added ctrl+(j&k), a, and b tests
12 years ago
Jonathan Frederic
26e3d14f81
Fixed state type for new markdown cell
12 years ago
Jonathan Frederic
1094299934
Added up/down and markdown tests
12 years ago
Jonathan Frederic
13908b60a4
Fixed typo in dd test
12 years ago
Jonathan Frederic
e647e13162
Add dd tests
12 years ago
Jonathan Frederic
4f6884f985
Add test for cell type modifier keyboard shortcuts
12 years ago
Jonathan Frederic
55773dd95a
Made *+enter tests more complicated.
12 years ago
Jonathan Frederic
9bd0ac19bf
sep. fucntions to move to util.js
12 years ago
Jonathan Frederic
2b800d3360
Add '_only' to only cell methods
12 years ago
Jonathan Frederic
241b62a37a
Move code into is_cell_editor_focused
12 years ago
Jonathan Frederic
86fef90a8c
Make a few more methods public,
...
in preparation to move them into the base utils.js
12 years ago
Jonathan Frederic
c43044d514
s/_is_cell_on/is_cell_on
12 years ago
Jonathan Frederic
6a834223da
s/_is_cell_editor_focused/is_cell_editor_focused
12 years ago
Jonathan Frederic
45bbcc949e
s/key_press/trigger_keydown
12 years ago
Jonathan Frederic
0f5f3a27f5
Add dual mode JS tests
12 years ago
Jonathan Frederic
dc6355ffb7
Prevent tab key from bubbling when the completer is open
12 years ago
Min RK
0493027d7e
Merge pull request #5403 from minrk/alt-shortcut-bad
...
remove alt-- shortcut
12 years ago
Brian E. Granger
202966ba58
Merge pull request #5389 from minrk/log-files-redirect
...
better log message in deprecated files/ redirect
12 years ago
Brian E. Granger
c857f9f6fa
Merge pull request #5390 from minrk/finish-5333
...
finish PR #5333
12 years ago
MinRK
3e67d961c9
only check listdir on dirs
...
is_hidden is called with files, not just dirs
12 years ago
MinRK
c051e870e1
better log message in deprecated files/ redirect
12 years ago
Brian E. Granger
e51030ea5f
Merge pull request #5368 from jdfreder/specifity
...
Flexbox classes specificity fixes
12 years ago
MinRK
2041dc6563
widen modal dialogs on wide displays
...
needed for quick help layout with multiple meta keys
12 years ago
MinRK
840364ff71
use box-flex to layout quickhelp
12 years ago
MinRK
19c64f4b59
remove alt-- shortcut
...
replace with ctrl-shift--
alt is not safe for defaults
12 years ago
Brian E. Granger
9f1b26d860
Merge pull request #5331 from minrk/raw-input-css
...
fix raw_input CSS
12 years ago
Min RK
0ae0216b12
Merge pull request #5049 from ivanov/quickhelp-update
...
update quickhelp on adding and removing shortcuts
12 years ago
Paul Ivanov
35c861f583
fix MacOS specific shortcuts, thanks @minrk
12 years ago
Brian E. Granger
bfdbdd456c
Merge pull request #5391 from jdfreder/netscape-keyboard
...
Fix Gecko (Netscape) keyboard handling
12 years ago
Paul Ivanov
c28096f0c5
prevent saving of partially loaded notebooks
...
closes #5363
12 years ago
Paul Ivanov
54d9eb4358
really fix the '-' key shortcuts now
12 years ago
Paul Ivanov
77bf4a72dd
better handling of minus
12 years ago
Jonathan Frederic
a08fbff5d9
Fix Gecko (Netscape) keyboard handling
12 years ago
Paul Ivanov
21ebaf2e32
handle keyboard shortcuts ending with '-'
12 years ago
Paul Ivanov
4cf1717980
use - for shortcut separators
12 years ago
Thomas Kluyver
8e1146c6d1
Merge pull request #5357 from minrk/smb-fails
...
catch exception in copystat
12 years ago
Paul Ivanov
083f631cde
wider style for keyboard shortcuts
12 years ago
MinRK
62061f0294
only catch errors in copystat
12 years ago
Min RK
d88b2ccc4a
Merge pull request #5310 from ivanov/fix-5238
...
remove raw cell placeholder on focus, closes #5238
12 years ago
Min RK
5c5139b65d
Merge pull request #5332 from ivanov/semantic-icons
...
semantic names for indicator icons
12 years ago
Paul Ivanov
c54ced12e5
Merge pull request #5360 from minrk/monospace
...
remove some redundant font-family: monospace
12 years ago
Paul Ivanov
2e4036fd4f
raw cell placeholder text as one line
12 years ago
Paul Ivanov
37852baa6d
render on focus out, always pad raw cells
12 years ago
Paul Ivanov
8a623dbcc4
fab css
12 years ago
Paul Ivanov
955d239d07
rename css class names to be consistent with current style
12 years ago
Paul Ivanov
a0a17fa04a
capitalize keyboard shortcuts in the tour
12 years ago
Paul Ivanov
00603a11f6
remove stale modal dialog from the DOM
12 years ago
Fernando Perez
5f086fded2
Merge pull request #5372 from minrk/no-close-strings
...
Don't autoclose strings, because CodeMirror's behavior makes it confusing and awkward to type triple-quoted strings (and these are very common in Python).
An issue about this was filed in CodeMirror itself: https://github.com/marijnh/CodeMirror/issues/2385
12 years ago