Matthias BUSSONNIER
17afb5a71f
remove pagemain.js
...
It does not seem to be usefull anymore.
The different main.js of /tree /notebook /etc do create an instance of
`page` themselves, error pages do have hardcoded styles that show header
and sites.
12 years ago
Jonathan Frederic
ee76005bc2
More review changes
12 years ago
Jonathan Frederic
669db572f2
Fix some dialog keyboard_manager problems
12 years ago
Jonathan Frederic
2d7a4a7879
Some JS test fixes
12 years ago
Jonathan Frederic
188072d190
@carreau review changes
12 years ago
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
12 years ago
Jonathan Frederic
0edfdbc703
Return dicts instead of classes,
...
this makes require.js more Python import like.
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Jonathan Frederic
152e23dc76
Progress...
12 years ago
Jonathan Frederic
e6b7cc9ff9
Fixed events
12 years ago
Jonathan Frederic
9bfe5fc06c
Use ipython namepsace for instances.
12 years ago
Jonathan Frederic
629204a2bb
Fixed global IPython namespace.
12 years ago
Jonathan Frederic
b1c8d2662c
Finished making tree.html requirejs friendly
12 years ago
Jonathan Frederic
9f4a03ce79
Started work to make tree requirejs friendly.
12 years ago
Jonathan Frederic
855815d207
Make page.html require.js friendly.
12 years ago
Jonathan Frederic
99b1747c60
Bootstrap Tour related fixes
12 years ago
Jonathan Frederic
ea29056e7c
Review #2
12 years ago
Jonathan Frederic
83eee97e95
Review comments
12 years ago
Jonathan Frederic
3bb8c472cd
Modal fixes for BS3
12 years ago
Jonathan Frederic
8fd3515794
Post discussion with @ellisonbg
12 years ago
Jonathan Frederic
6834cb95bc
Rebase cleanup, comments and nesting
12 years ago
Jonathan Frederic
22c94ab404
Lots of small alignment tweaks to get Bootstrap3 looking better
12 years ago
jon
0cc924e5e3
Fixed IPython dialog
12 years ago
Jonathan Frederic
e30ff19ca8
Move header padding removal to base page style
12 years ago
Jonathan Frederic
204130d292
Re-enabled nav bar height
12 years ago
Jonathan Frederic
365aafdaa2
Automated pass on LESS variables
12 years ago
Jonathan Frederic
d88daf1bb7
Ran jdfreder/bootstrap2to3
12 years ago
Jonathan Frederic
5c47651786
Get notebook running with Bootstrap3
12 years ago
MinRK
33d2176bc5
complete_reply has cursor_start and cursor_end, not matched_text
12 years ago
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
12 years ago
MinRK
82964a09c2
log all failed ajax API requests
12 years ago
Min RK
673c644a4f
Merge pull request #5534 from minrk/pre-css
...
cleanup some `pre` css inheritance
12 years ago
MinRK
78ee21e533
master is 3.0.0-dev
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
MinRK
17bbc2b360
back to dev
12 years ago
MinRK
d482fb15b6
release 2.0.0
12 years ago
Min RK
e37bf2257d
Merge pull request #5449 from minrk/quickhelp-stretch
...
Stretch keyboard shortcut dialog
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
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
MinRK
9552688a71
back to dev
12 years ago
MinRK
2adfb5254c
2.0.0-rc1
12 years ago
Jonathan Frederic
e1daedf95b
Fixed keyboard.js indent break
12 years ago
Jonathan Frederic
607b96b19a
Actually remove the trigger keydown method
12 years ago
Jonathan Frederic
ae2b0800cf
Partial fix of problems b/c keydown move
12 years ago
Jonathan Frederic
1b46a777fb
Removed trigger keydown from keyboard.js,
...
also added a bunch of missing semicolons (jshint)
12 years ago
Min RK
0493027d7e
Merge pull request #5403 from minrk/alt-shortcut-bad
...
remove alt-- shortcut
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
Min RK
0ae0216b12
Merge pull request #5049 from ivanov/quickhelp-update
...
update quickhelp on adding and removing shortcuts
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
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
Paul Ivanov
597a5cb741
don't color code in crimson
...
do alliterate, aforementioned color alternative alias is amaranth
12 years ago
Paul Ivanov
b9ef37ac26
semicolon fixes buttress half of my js commits
12 years ago
Min RK
e64c2cb5d8
Merge pull request #5296 from ivanov/more-shortcuts
...
unify keyboard shortcut and codemirror interaction
12 years ago
Jonathan Frederic
77904a044c
Re-added already existing base for less backwards compatability.
12 years ago
Jonathan Frederic
0020b9f896
Fix specifity of flex modifier classes
12 years ago
Paul Ivanov
61b47695e4
renamed 'use_shortcut' method to 'handles'
12 years ago
MinRK
abe2dce926
back to dev
12 years ago
Paul Ivanov
1c23dee141
remove recreation of QuickHelp
12 years ago
Paul Ivanov
8bf4ffa2ca
rebuild.QuickHelp event sets the dirty bit
...
QuickHelp is rebuilt on show if the dirty bit was set.
12 years ago
Paul Ivanov
cdb7967cc2
removing keyboard shortcuts should also update help
12 years ago
Paul Ivanov
4a287569fc
update notebook quickhelp on new shortcuts
12 years ago
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.
12 years ago
MinRK
3face719e8
setup jsversion
12 years ago
Brian E. Granger
f62ce75a62
Lots of CSS tweaks to get nbconvert output looking right.
12 years ago
MinRK
9396619f9d
security.js docstrings
12 years ago
MinRK
e7f3c05d28
remove unused get_attr_names
12 years ago
MinRK
46665483ed
remove struct-returning sanitize
...
only keep str-str sanitization
12 years ago
MinRK
d4780c2cfc
remove security.is_safe
12 years ago
MinRK
d59e44a190
default to allow_css = false
12 years ago
MinRK
4d35660f3c
sanitize CSS
...
rather than removing it entirely
12 years ago
MinRK
c49f04545a
don't use `result.safe` to communicate incomplete information
12 years ago
MinRK
028ce17c62
fix tagName comparison
12 years ago
MinRK
3897b1c39f
don't populate sanitized.safe by default
...
since it's potentially expensive.
walk nodes in is_safe
12 years ago
MinRK
367b4f85c2
wrap caja.sanitizeAttribs to trust data-* attributes
12 years ago
MinRK
eec5d427a4
add cmp_tree, in case caja log can't be trusted
...
(spoiler: it can't)
12 years ago
MinRK
2a0451fdde
use google-caja for sanitization
12 years ago
Brian E. Granger
07cdb1e195
Adding first round of security tests of is_safe.
12 years ago
Brian E. Granger
fa3f998295
Adding security.js with 1st attempt at is_safe.
12 years ago
Brian E. Granger
af7dd15181
Removing old keyboard handling from IPython.utils.
12 years ago
Brian E. Granger
ec6ea72873
Adding utility functions.
12 years ago
Brian E. Granger
ff1492f8c9
Creating new base/js/keyboard.js
12 years ago
Jonathan Frederic
a7fb5e1e55
Merge pull request #5114 from minrk/empty-button
...
use non-breaking space for button with no description
12 years ago
Thomas Kluyver
d6986cf4ec
Merge pull request #4778 from minrk/install-nbextensions
...
add APIs for installing notebook extensions
12 years ago
MinRK
9c452998ea
add utils.escape_html
12 years ago
Jonathan Frederic
af5b5cea7d
Revert "Change stretch to flex-start"
...
This reverts commit 774073116dd4195037c452d48f05b432bba38801.
12 years ago
Jonathan Frederic
ff14cabf7f
Change stretch to flex-start
12 years ago
Jonathan Frederic
aba9f7e9f8
Automatic width adjustment for flex0
12 years ago
Jonathan Frederic
7ae028e01f
Corrected a lot of small misuses of the new flex model.
12 years ago
MinRK
8264362179
document utils.parse_url
12 years ago
MinRK
24e59106c0
add utils.parse_url
...
strip repeated '//' in url_path_join
12 years ago
MinRK
a93040e810
s/get_data/get_body_data/
12 years ago
MinRK
beaa75b416
add utils.get_data
...
for extracting *decoded* items from $('body').data
12 years ago
MinRK
f3f1695b06
add IPython.load_extensions in js
12 years ago
MinRK
95d3d6de8b
fix flex: auto
...
flex: 0 doesn't seem to mean what box-flex meant (auto)
closes #5069
12 years ago
Jonathan Frederic
33586b7ac8
Convert tabs to spaces
12 years ago
Jonathan Frederic
66c14d34ce
New 'flex' support
...
http://dev.w3.org/csswg/css-flexbox/
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes
12 years ago
Brian E. Granger
bc7b51d1b0
Merge pull request #4374 from jdfreder/widget-msg
...
IPEP 23: Backbone.js Widgets
12 years ago
Jonathan Frederic
13694d04c3
Removed blame comment
12 years ago
Brian E. Granger
5137961bf2
Protect against navigator undefined in platform.
12 years ago
Brian E. Granger
0af185787a
Added platform dep. logic.
12 years ago
Jonathan Frederic
3390f64dc2
Added flex properties to container.
...
Also replaced underscores in flex align properties with dashes.
12 years ago
Jonathan Frederic
2ba2d42e84
Added flexible box model align properties.
12 years ago
MinRK
c7a3676804
allow utils.js to be loaded in node
...
where navigator is undefined
12 years ago
Brian E. Granger
d8db72564a
Merge pull request #3605 from ellisonbg/newux
...
Modal UI - a whole new world of fun....its like vim, but not!
12 years ago
Brian E. Granger
06aa0d540d
Using a more specific approach for managing CM focus.
...
I used to try and enter command mode when a cell looses focus. The
problem with that is that focusing an output area would remain in
edit mode.
Now, I bind this logic to the code mirror blur event, so that
focusing the output area enters command mode.
12 years ago
Brian E. Granger
b865c98567
Removing KBN null mode and replacing with enable/disable.
12 years ago
Brian E. Granger
caffba142e
Adding keyboard manager logic.
...
This is currently very broken.
12 years ago
MinRK
21632ac564
add error css
12 years ago
Min RK
8be6c4b617
Merge pull request #4575 from minrk/encode_paths
...
make sure to encode URL components for API requests
12 years ago
Brian E. Granger
2734f4cc5b
Cleaning up indentation and spacing of less files touched.
12 years ago
Brian E. Granger
57a9457f78
More tabs to spaces on less files.
12 years ago
MinRK
1869e1a1a3
add utils.url_join_encode
...
like url_path_join, but escapes url components
12 years ago
Min RK
6368dbb6f3
Merge pull request #4444 from Carreau/css-cleaning
...
CSS cleaning
- vbox / hbox via classes
- adds notebook/style_noapp.less, which excludes body/toolbar/menubar stuff not necessary in embedded contexts
12 years ago
Matthias BUSSONNIER
74683da8ad
use baseBorderRadius instead of corner_radius
...
as it already exist in Bootstrap
12 years ago
MinRK
71d6a80629
add `setup.py jsversion`
...
for writing the IPython version to `IPython.version` in javascript.
supersedes #4357
12 years ago
Min RK
0aaafce4af
Merge pull request #4195 from minrk/widget-msg
...
IPEP 21: widget messages
12 years ago
Paul Ivanov
19a20a3c70
add Ctrl-M keyboard shortcut
12 years ago
Paul Ivanov
65810a49e4
utility functions + tests for shift- & ctrl-enter
12 years ago
Paul Ivanov
c68eaca621
added a shorthand way to trigger keyboard events
...
as suggested by @ellisonbg in #4285
12 years ago
MinRK
5c83cd3e52
move comm.js to kernel service
12 years ago
MinRK
04adce96af
add message metadata to comm and kernel.send_shell_message
12 years ago
MinRK
99680e21bd
move comm.js to base
12 years ago
MinRK
9206d1e87f
add utils.always_new
...
wrapper allows passing constructors as callbacks, where `new` is required.
12 years ago
MinRK
11013e648d
add utils.splitext to js
...
mimic Python os.path.splitext
12 years ago
MinRK
5593526108
don't let empty strings introduce extra slashes in url_path_join
12 years ago
MinRK
40f577b538
add utils.url_path_join
...
javascript equivalent of Python-side function.
12 years ago
Brian E. Granger
7ccb1bbc8a
Merge pull request #4154 from ellisonbg/mathstyle
...
Center LaTeX and figures in markdown
12 years ago
MinRK
8577550756
move edit_metadata to IPython.dialog
12 years ago
Brian E. Granger
33ceac3a99
Removing page.less from base style.less.
13 years ago
Brian E. Granger
b78b79c7cc
Fixing less @import paths in auth/base/tree.
...
These paths were problematic for --NotebookApp.use_less=True mode.
13 years ago
Min RK
90d3e90afe
Merge pull request #4065 from Carreau/ecss
...
do not include page css in ipython.min.css
13 years ago
Zachary Sailer
a16211ceff
minor bug fix, define 'var' in dialog.js.
...
The 'cell' variable isn't defined and causes and error in the
console
13 years ago
Matthias BUSSONNIER
a363216d89
do not include specific css in embedable one
13 years ago
Matthias BUSSONNIER
13ff842be5
"use strict" in most (if not all) our javascript
...
+ fix one variable leaking in global nameespace
13 years ago
Andrea Bedini
0fd65c4de3
Fix ansi color code for background yellow
13 years ago
Min RK
a7cf16ce98
Merge pull request #3660 from minrk/focusclick
...
refocus active cell on dialog close
if there is one.
Otherwise the cursor is lost on kernel restart, etc. and the mouse must be used to get back to work.
13 years ago
MinRK
79d9f0f039
refocus active cell on dialog close
...
if there is one
Otherwise, the cursor is lost on kernel restart, etc.
13 years ago
MinRK
7ff586a134
move font-awesome to style.less from notebook-specific less
...
allows it to be excluded from ipython.min.css,
where it doesn't make much sense.
13 years ago
MinRK
c800ed9671
be pedantic about VT100 vs ANSI in comments
13 years ago
MinRK
13a89a74e3
add indexed-color in 256-color support
13 years ago
MinRK
49e6a36f7c
add ansi background colors
13 years ago
MinRK
1186d575a9
expand ANSI color support
...
adds support for 256 colors
does not yet add support for themed 16-color mapping ([01;38;5;[0-15])
closes #3617
13 years ago
MinRK
55192ef881
fix regular expression for ANSI escapes
...
wouldn't catch `\x1b[01;`, only `\x1b[0;` or `\x1b[1;`.
closes #3614
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago