Thomas Kluyver
c661c85abd
Add missing semicolon
11 years ago
Jeff Hemmelgarn
47a88f0e1d
Remove version
11 years ago
Jeff Hemmelgarn
53463898eb
Move contentmanager to contents
11 years ago
jhemmelg
5109be2d28
ContentManager function signatures updated
11 years ago
jhemmelg
496fa1901f
Initial interface for javascript contentmanagers
...
contentmanager.js is going to be a js proxy for the current
filenbmanager.py. This will allow a contentmanager for Google Drive to
be created.
11 years ago
Jeff Hemmelgarn
09e0ff93d8
Fix a few problems with cherry-picked commits
...
api/notebooks => api/contents
add type to JSON model
fix a few things in notebooklist.js
11 years ago
KesterTong
952ac7d0d8
Moves load_notebook to ContentManager and adds new_notebook to Google Drive version
11 years ago
KesterTong
e3ef5d3b70
Moves list_notebooks to ContentManager
11 years ago
KesterTong
dfcf14f26c
Uses events for ContentManager.save_notebook
...
Modifies ContentManager.save_notebook() to use events, so that the Notebook instance can listen for success or failure events. Also moves some logic out of save_notebook()
11 years ago
KesterTong
04fc61285f
Use events for rename_notebook
...
Triggers events on ContentManager.rename_notebook success and failure. Also moves some logic out of this method.
11 years ago
KesterTong
75d7e69fc8
Use $.proxy instead of that
11 years ago
KesterTong
9881d17bb1
Remove unused event
...
This event never seems to get used.
11 years ago
KesterTong
0aada3ac5d
Remove deleted notebook from notebook list
...
Uses events to notify the NotebookList when the content manager deletes a notebook, and remove the deleted notebook in response to such an event.
11 years ago
KesterTong
077ba397c1
Removes unnecessary parameter from ContentManager.delete_notebook
11 years ago
Jeff Hemmelgarn
99323b1173
Move saving to contentmanager
...
Make notebook.save_notebook call contentmanager.save_notebook.
11 years ago
Jeff Hemmelgarn
5b5e194082
Move notebook.rename to contentmanager
...
Make notebook.rename call contentmanager.rename
11 years ago
Jeff Hemmelgarn
728c6f005f
Move deleting a notebook to contentmanager.js
...
Move code to handle deleting a notebook from notebooklist to
contentmanager.
11 years ago
KesterTong
d17ca85f5b
Adds dialog on new_notebook failure
...
This logic doesn't really belong in ContentManager. It would be better to trigger an event, which is handled somewhere else. But there's no obvious place to put this event, so creating the error dialog inside the new_notebook method is ok for now.
11 years ago
KesterTong
5717a3eb10
Make ContentManager stateless
...
Don't store notebook_path in ContentManager, because this sort of state (in addition to notebook_name) can change, and keeping track of this logic doesn't seem to be a part of the file management system. Instead, this logic can be left to the Notebook instance (and possible other places that manage it). This makes refactoring easier, and avoids having to replicate this logic in every implementation of ContentManager.
11 years ago
KesterTong
99f2647edd
Use IPython style constructor
11 years ago
KesterTong
21a5b5a965
Style and bug fixes
11 years ago
jhemmelg
112a74c566
ContentManager function signatures updated
11 years ago
jhemmelg
d5a84bb8a4
Initial interface for javascript contentmanagers
...
contentmanager.js is going to be a js proxy for the current
filenbmanager.py. This will allow a contentmanager for Google Drive to
be created.
11 years ago
Thomas Kluyver
c39939869f
Merge pull request #6653 from mattpap/fix_ansispan
...
Fix IPython.utils.ansispan() to ignore stray [0m
11 years ago
Matthias Bussonnier
d269912958
Merge pull request #6110 from minrk/binarycomm
...
support binary buffers in comm messages
11 years ago
MinRK
ab9e2b496d
move grid-float-breakpoint to 540px
...
collapses navbar before running over to two lines
due to help/indicator collision.
11 years ago
MinRK
36cd457b11
move the navbar-collapse transition to xs
...
avoids stacked navbar on narrow (but not too narrow) windows
11 years ago
Matthias Bussonnier
8aa3815130
Add notion of action that differs from shortcuts.
...
This decouple the notion of shortcut from the notion of executed "action"
This allow the shortcuts manager to be purely describe as data, and the
same action to be later refered to either from the shortcut, from a toolbar
button or a menu.
This also implement a more complete keyboard shortcut handler which is
able ton interpete sequences like `Cmd-X,Meta-v` By storing the
shortcuts in a tree.
11 years ago
MinRK
6cef7fcb86
use utf8.js
...
move message serialization to kernel.serialize module
11 years ago
MinRK
3a1c845f96
support buffers in comm messages
...
- add buffers arg to comm Python api
- support binary websocket messages when buffers are present
- reimplement utf8 in javascript, because javascript is the best
11 years ago
Matthias Bussonnier
3de3ef9add
add comment about codemirror.modeURL
11 years ago
MinRK
8e863d951c
use require to load CodeMirror modes
...
CM's loadmode addon only works if you *don't* load CodeMirror itself with require.
11 years ago
Matthias BUSSONNIER
5b355936df
Update to codemirror 4
...
Update to codemirror 4.6 and update most notebook to work wiht it
this include keyevent that where triggerd twice and the re-writing of
ipython-gfm anf ipython mode to work with require.
11 years ago
Jessica B. Hamrick
40ebe5d816
Make kernel dialogs be a special type of dialog
11 years ago
Jessica B. Hamrick
d606d53b4e
More informative error messages
11 years ago
Mateusz Paprocki
904216d546
Fix ansispan() to ignore stray [0m
11 years ago
MinRK
78fdc1ebb4
move mergeopt to utils
...
from Cell
12 years ago
Brian E. Granger
94f717781d
Merge pull request #6125 from jdfreder/flex
...
Embrace the flexible box model in the widgets
12 years ago
MinRK
6d542013a4
add utils.ajax_error_msg for extracting the JSON error message.
12 years ago
Jonathan Frederic
37f00f73d7
Added baseline and stretch
12 years ago
Matthias BUSSONNIER
d1dc31c9de
fix loginwidget css
12 years ago
Matthias BUSSONNIER
21222fe302
remove empty style function in page.js
12 years ago
Matthias BUSSONNIER
3b5b32f27b
move login widget style to css
12 years ago
Matthias BUSSONNIER
c261f45ea3
movestyling from js to css + deprecation warnign
12 years ago
Matthias BUSSONNIER
36e3f20d5e
fix some font-awesoem 4 icons
12 years ago
MinRK
c72cd05cf3
fix docstring in events.js
...
example shows registering a handler, not triggering an event.
12 years ago
MinRK
4097da724b
preserve backward-compatible $([IPython.events])
12 years ago
MinRK
b1291df14a
return global events from require(['base/js/events']).
...
In master, it is impossible to load code on IPython events without setting timeouts.
12 years ago
Min RK
2fe0687097
Merge pull request #6149 from jasongrout/less-upgrade
...
Less upgrade
12 years ago
MinRK
112c4083e9
add comments for style blocks in less
...
separates each component into individual line in compiled css,
reducing some churn in minified css files.
12 years ago
MinRK
98ac874131
cell toolbar and modal dialog fixes
...
- name conflict in modal
- cell.cell_type in cell toolbar
prevented edit metadata from working properly.
12 years ago
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