MinRK
33d2176bc5
complete_reply has cursor_start and cursor_end, not matched_text
2014-05-06 22:41:24 -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
82964a09c2
log all failed ajax API requests
2014-04-23 13:17:50 -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
MinRK
78ee21e533
master is 3.0.0-dev
2014-04-09 13:42:45 -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
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
Min RK
e37bf2257d
Merge pull request #5449 from minrk/quickhelp-stretch
...
Stretch keyboard shortcut dialog
2014-03-31 14:34:18 -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
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
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
Jonathan Frederic
e1daedf95b
Fixed keyboard.js indent break
2014-03-24 15:43:10 -07:00
Jonathan Frederic
607b96b19a
Actually remove the trigger keydown method
2014-03-20 18:45:06 -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
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
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
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
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
Jonathan Frederic
a08fbff5d9
Fix Gecko (Netscape) keyboard handling
2014-03-19 16:36:11 -07:00
Paul Ivanov
21ebaf2e32
handle keyboard shortcuts ending with '-'
2014-03-19 16:24:53 -07:00
Paul Ivanov
4cf1717980
use - for shortcut separators
2014-03-19 15:58:59 -07:00
Paul Ivanov
597a5cb741
don't color code in crimson
...
do alliterate, aforementioned color alternative alias is amaranth
2014-03-18 11:03:09 -07:00
Paul Ivanov
b9ef37ac26
semicolon fixes buttress half of my js commits
2014-03-18 10:31:51 -07:00
Min RK
e64c2cb5d8
Merge pull request #5296 from ivanov/more-shortcuts
...
unify keyboard shortcut and codemirror interaction
2014-03-18 09:46:07 -07:00
Jonathan Frederic
77904a044c
Re-added already existing base for less backwards compatability.
2014-03-17 10:43:53 -07:00
Jonathan Frederic
0020b9f896
Fix specifity of flex modifier classes
2014-03-17 10:40:28 -07:00
Paul Ivanov
61b47695e4
renamed 'use_shortcut' method to 'handles'
2014-03-13 16:44:19 -07:00
MinRK
abe2dce926
back to dev
2014-03-09 21:58:09 -07:00
Paul Ivanov
1c23dee141
remove recreation of QuickHelp
2014-03-09 14:21:14 -07:00
Paul Ivanov
8bf4ffa2ca
rebuild.QuickHelp event sets the dirty bit
...
QuickHelp is rebuilt on show if the dirty bit was set.
2014-03-09 14:15:47 -07:00
Paul Ivanov
cdb7967cc2
removing keyboard shortcuts should also update help
2014-03-09 12:26:34 -07:00
Paul Ivanov
4a287569fc
update notebook quickhelp on new shortcuts
2014-03-09 12:24:32 -07:00
Paul Ivanov
2c9ff376a2
added new use_shortcut method to shortcuts
...
this way, you can ask if a particular event will be handled by the
shortcuts system. This takes away the need to special-case many
different possible keys which should be ignored by codemirror by
ignoring them en masse.
2014-03-07 17:48:34 -08:00
MinRK
3face719e8
setup jsversion
2014-03-07 15:54:55 -08:00
Brian E. Granger
f62ce75a62
Lots of CSS tweaks to get nbconvert output looking right.
2014-03-06 16:36:39 -08:00
MinRK
9396619f9d
security.js docstrings
2014-03-04 15:38:11 -08:00
MinRK
e7f3c05d28
remove unused get_attr_names
2014-03-03 16:10:21 -08:00
MinRK
46665483ed
remove struct-returning sanitize
...
only keep str-str sanitization
2014-03-03 16:10:20 -08:00
MinRK
d4780c2cfc
remove security.is_safe
2014-03-03 16:10:20 -08:00
MinRK
d59e44a190
default to allow_css = false
2014-03-03 16:10:20 -08:00
MinRK
4d35660f3c
sanitize CSS
...
rather than removing it entirely
2014-03-03 16:10:19 -08:00
MinRK
c49f04545a
don't use result.safe
to communicate incomplete information
2014-03-03 16:10:19 -08:00