Jeff Hemmelgarn
7043aa1b9e
switch notebook.delete to use contentmanager
...
Make notebook.delete call contentmanager.delete_notebook
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
993833d018
Replace other methods with ContentManager.new_notebook
...
Replaces Notebook.new_notebook and NotebookList.new_notebook with ContentManager.new_notebook
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
a16a3d0270
Merge pull request #6045 from minrk/nbformat4
...
nbformat v4
11 years ago
Min RK
96183a60a0
create new terminals with POST /api/terminals
...
instead of GET terminals/new
to be consistent with creating new notebooks.
We had to stop using GET notebooks/new
because browsers would create new notebooks when making preview thumbnails for commonly visited pages, etc.
I assume the same issue would apply to terminals
11 years ago
Min RK
196b91e73b
Merge pull request #6828 from takluyver/terminal-list
...
Add terminals tab to the dashboard
11 years ago
MinRK
53ef8e1e1e
remove unused OuptutArea.rename_keys
11 years ago
MinRK
d979f4bedd
better regex replacement for MarkdownCell.set_heading_level
...
(c/o Matthias)
11 years ago
MinRK
dd95b1ef5f
remove heading cells in v4
11 years ago
MinRK
458dcd12e3
make markdown heading input match output size
11 years ago
MinRK
6ca260e611
output[mime/type] -> output.data[mime/type] in javascript
11 years ago
MinRK
a50042745f
semicolons, you guys!
11 years ago
MinRK
09acc6c854
msgspec: stream.data -> stream.text
11 years ago
MinRK
14cfb2efc1
s/prompt_number/execution_count in nbformat 4
11 years ago
MinRK
07079095a8
update html/js to nbformat 4
11 years ago
Thomas Kluyver
d32322e332
Show terminals as terminals/name
...
Bigger click target
11 years ago
Thomas Kluyver
4025b57ed8
Only display terminals in dashboard if terminals are available
11 years ago
Min RK
1d7f8803e0
use ?download=1 to trigger download in /files/
...
sets `Content-Disposition: attachment...`
- master sets this unconditionally
- 2.x sets this iff file is a notebook
11 years ago
Thomas Kluyver
65e664b143
Add list of available terminals in the dashboard
11 years ago
Thomas Kluyver
db6cd028ea
Merge pull request #6793 from takluyver/langinfo
...
Move language info from kernelspec to kernel_info_reply
11 years ago
Min RK
965102ba60
Merge pull request #6554 from Carreau/itsallaboutme
...
Add About IPython
11 years ago
Min RK
5ff9ded54a
Merge pull request #6614 from takluyver/nb-terminal-ui
...
Terminal emulator in the notebook
11 years ago
Mateusz Paprocki
3d825cfbcc
Allow to specify CodeMirror's syntax mode as MIME
...
This is required for e.g. Scala, where the mode is given as
text/x-scala, but the actual implementation is in clike mode.
This wouldn't be an issue, but IPython loads modes lazily, so
you need both mode name and MIME to resolve correct file and
configure CodeMirror.
11 years ago
Jonathan Frederic
ba77877c18
Rebase fixes
11 years ago
Jonathan Frederic
db10ae8f2d
s/target_name/widget_class
11 years ago
Jonathan Frederic
3cb5ac6fbb
Clarified API for the create_model function,
...
Also added a test!
11 years ago
Jonathan Frederic
a68df8a8b1
Address @minrk 's review comments.
11 years ago
Jonathan Frederic
fbca0bfa3f
Rebase fixes.
11 years ago
Jonathan Frederic
5a655b24da
Fixed typo.
11 years ago
Jonathan Frederic
2b5ebb9e8f
Make Python push initial state.
...
Also added initial state push callback.
11 years ago
Jonathan Frederic
e7ee9c12b3
Enable widget instanciation from front-end.
11 years ago
Min RK
b26706ba69
Merge pull request #6800 from takluyver/mdcell-render-event
...
Add event for Markdown cell rendered
11 years ago
Thomas Kluyver
659accf69e
Add event for Markdown cell rendered
11 years ago
Thomas Kluyver
8917e9951e
Move terminal CSS into LESS file
11 years ago
Thomas Kluyver
d352d52bd8
Add comment explaining 1.02 factor
11 years ago
Bussonnier Matthias
1b200e5504
recompute dummy size dynamically + styling in css
11 years ago
Thomas Kluyver
9c0084e615
Multiple terminals and conditional initialisation
11 years ago
Thomas Kluyver
d4676bf2ad
Terminal basically working
...
Still need to deal with things like authentication
11 years ago
Thomas Kluyver
d211ebf067
Basic infrastructure for terminal page
11 years ago
Thomas Kluyver
9c7d73a05e
Move language info from kernelspec to kernel_info_reply
11 years ago
Thomas Kluyver
a77b5e8e31
Support specifying requirejs modules for comm targets
11 years ago
Thomas Kluyver
031530da42
Support specifying requirejs modules for widget models
11 years ago
Thomas Kluyver
eacd05505c
Open download in a new window instead of changing the URL
...
Closes gh-6764
11 years ago
Jonathan Frederic
79670e8afb
Merge pull request #6494 from takluyver/widget-comm-require
...
Allow widget views to be loaded from require modules
11 years ago
Thomas Kluyver
f0f6c0d29b
Merge pull request #6677 from minrk/services
...
remove unnecessary 'js' subdir from services
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
Mateusz Paprocki
61c17c8ef6
Update static/style/{ipython,style}.min.css
11 years ago
MinRK
a67abc297d
remove unnecessary 'js' subdir from services
...
part of the point of services is that they are just code, so they won't have js/less/etc. files.
11 years ago
Matthias Bussonnier
103d5dc9b7
Merge pull request #6720 from takluyver/kernelspec-pygments-lexer
...
Respect kernelspec metadata for syntax highlighting in nbconvert
11 years ago
Matthias Bussonnier
d269912958
Merge pull request #6110 from minrk/binarycomm
...
support binary buffers in comm messages
11 years ago
MinRK
7fd161599b
cleanup serialize per review
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
e36df49c5f
tweak collapsed navbar style
...
- notification and indicators appear above menu on small screen
- collapsed menu button floats left
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
197c66d0d5
Use native map when possible
...
Implemented on all modern browser.
There is a small behavior difference between $.map and Array.prototype.map
but we don't rely on it.
(jQuery flatten arrays and filters null-like)
11 years ago
Matthias Bussonnier
f8fe41dd67
add test warning shadow
11 years ago
Matthias Bussonnier
f116510592
remove debug
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
Matthias Bussonnier
7ae250bbeb
Merge pull request #6693 from minrk/please-no-jsonp
...
set contentType='application/json'
11 years ago
Matthias Bussonnier
3b31574971
Merge pull request #6697 from minrk/less-1.7.5
...
require less >= 1.7.5
11 years ago
Thomas Kluyver
ddbe427dfa
Add pygments_lexer key to kernelspec
11 years ago
Matthias Bussonnier
bd8413dfc7
Use low overhead object heritence in Js (Object.create vs new)
...
the use of
XX.prototype = new YY();
Does trigger the constructor of YY without the nead for it. `Object.create`
does go around this limitation and target browser that are relatively Old.
Cf https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create
for more info
It might help to get rid of some logic in constructors that check wether some
options are passed in, that were causing errors on noteboko load. Typically
`if(element){ }` on Abstract `Cell` constructor.
11 years ago
MinRK
492b80d05f
require less >= 1.7.5
...
fixes bug where `vbox > *` style was applied to `vbox()` classes
11 years ago
Matthias Bussonnier
6766daa397
Merge pull request #6705 from jhamrick/celltoolbar-justify
...
Right-justify celltoolbar instead of reversing
11 years ago
Matthias Bussonnier
e7c2c369e0
Add about dialog in Notebook Help Menu.
...
This allow to get info on version of IPython when running remotely.
The about dialog also send a kernel info request and display the banner
which is useful for non-python kernel that don't match IPython version
11 years ago
MinRK
2624f82787
set contentType='application/json'
...
instead of skipping straight to headers
avoids jQuery's crazy JSONP detection on `=.*??`,
which was triggered because it assumed the contentType was unspecified,
and thus should be guessed based on content.
12 years ago
MinRK
8c743d304f
unsigned ints for offsets
...
because signed ints for sizes is icky
12 years ago
MinRK
11f5775103
test binary websocket messages
...
only runs on slimerjs for now
12 years ago
MinRK
b548e51550
use TextEncoding for string<->ArrayBuffer
...
requires text-encoding js polyfill, for now
12 years ago
MinRK
3693ac83ae
support binary message from javascript
12 years ago
MinRK
6cef7fcb86
use utf8.js
...
move message serialization to kernel.serialize module
12 years ago
MinRK
c9c131ebf9
s/unserialize/deserialize
12 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
12 years ago
Jessica B. Hamrick
b68507ae91
Display prompt in the notebook correctly
12 years ago
Jessica B. Hamrick
8294a5938b
Right-justify celltoolbar instead of reversing
12 years ago
Jonathan Frederic
c0108e1089
Merge pull request #6681 from SylvainCorlay/widget_hbox_align
...
Minor change in widgets.less to fix alignment issue
12 years ago
Min RK
8107e8a41b
Merge pull request #6669 from SylvainCorlay/font_awesome_update
...
Font awesome update
12 years ago
MinRK
3946dedbda
remove redundant 'responsive-utilities' from style.less
...
it's already included in bootstrap.less
12 years ago
Sylvain Corlay
e9ceb94db1
genereate css
12 years ago
Jonathan Frederic
98cef15a7c
Merge pull request #6221 from Carreau/cm4
...
Switch to CodeMirror 4.6.0
12 years ago
Min RK
1b5874ac65
Merge pull request #6629 from minrk/wscookie
...
remove on_first_message authentication
12 years ago
Sylvain Corlay
43d08b0795
fix alignment
12 years ago
Matthias Bussonnier
87dc17ccbc
cleanup style fixed in separate PR and few other things
12 years ago
Matthias Bussonnier
b24e69b058
cleanup whitespace
12 years ago
Matthias Bussonnier
3de3ef9add
add comment about codemirror.modeURL
12 years ago
Matthias Bussonnier
c183aa5fe6
remove unused cm_loadmode
12 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.
12 years ago
MinRK
7aed2fbb55
fix this.editor reference
12 years ago
Matthias Bussonnier
dc912dbdbd
handle somehting selected and multiple cursors and 4 tabs show content in pager
12 years ago
Matthias Bussonnier
e0f19a386e
protect agains undefined
12 years ago
Matthias Bussonnier
804d89351b
rework keyboard management to avoit completer and up/down bugs
12 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.
12 years ago
Jonathan Frederic
262bf7d2c9
Merge pull request #6673 from jhamrick/fix-tooltip
...
Fix broken show in pager button
12 years ago
Jessica B. Hamrick
685040427a
Fix broken show in pager button
12 years ago
MinRK
624f0071a2
remove on_first_message authentication
...
in ZMQStreams. No need for weird, special first message.
- use regular cookie auth
- use url param for session id
12 years ago
Min RK
63a7969123
Merge pull request #6416 from Carreau/foobarcode
...
Unify Text/CodeCell code.
12 years ago
Min RK
60bfcf8c74
Merge pull request #6665 from jdfreder/travis_please_run_on_this
...
Separate widget model name from com target name.
12 years ago
Jonathan Frederic
4b968ece0b
s/target_name/model_name
12 years ago
Matthias BUSSONNIER
9657a3f7cd
Generalise render/unrender to all cells type
...
Allow change of behavior in pure (custom) css.
12 years ago
Matthias Bussonnier
b2a0798fdf
Merge pull request #6598 from minrk/nbformat-backport
...
nbformat validation
12 years ago
Matthias Bussonnier
a8949405da
Merge pull request #6644 from minrk/trust-changed
...
trigger trust_changed properly on load
12 years ago
Matthias Bussonnier
65f41327c9
Merge pull request #6106 from chronitis/interact-slider-textedit
...
Allow text input on slider widgets
12 years ago
Jonathan Frederic
24096b0f45
Separate widget model name from com target name.
12 years ago
MinRK
4ae05c729c
trust is stored in code_cell.metadata
...
not top-level code_cell
12 years ago
MinRK
ddd3aa2a5a
add dialogs for failed save/load
...
- failed validation doesn't prevent save/load,
but the user is now warned about it.
- there is now a warning dialog if fromJSON fails,
rather than the usual silent failure.
12 years ago
Jessica B. Hamrick
b650c56a66
One more this/that change
12 years ago
Jessica B. Hamrick
bbb9edf374
Fix bugs with this and that
12 years ago
Jessica B. Hamrick
37c2419c5e
Rename all status_event to kernel_event
12 years ago
Jessica B. Hamrick
40ebe5d816
Make kernel dialogs be a special type of dialog
12 years ago
Jessica B. Hamrick
8f28134a89
Keep trying to reconnect
12 years ago
Jessica B. Hamrick
205a35ceec
Fix equals sign and clarify where the number of restart attempts comes from
12 years ago
Jessica B. Hamrick
e5a5bdcdd3
Handle and test for failed restart in session.js
12 years ago
Jessica B. Hamrick
29e6885b60
Test for autorestart and failed autorestart
12 years ago
Jessica B. Hamrick
7f8b95a661
Add status_ready.Kernel event and rename status_started to status_created
12 years ago
Jessica B. Hamrick
dea6b85f3c
Fix bug when clicking notification for kernel_dead.Session
12 years ago
Jessica B. Hamrick
504f0b4d9d
Add docstring to Session.restart
12 years ago
Jessica B. Hamrick
c43e06bbc4
Add test for kernel_dead.Session
12 years ago
Jessica B. Hamrick
42e863db8c
Remove debugging statements
12 years ago
Jessica B. Hamrick
01ba501b88
Fix event tests
12 years ago
Jessica B. Hamrick
9180004fd1
Better way of logging events
12 years ago
Jessica B. Hamrick
fa718fc8d2
Use Session.restart in Notebook.start_session
12 years ago
Jessica B. Hamrick
d5a4dec6c3
Add restart function to session
12 years ago
Jessica B. Hamrick
42a9a1f46d
Make kernel js events clearer and more consistent
12 years ago
Jessica B. Hamrick
f77e60764e
Use session.delete rather than kernel.kill
12 years ago
Jessica B. Hamrick
951d9a7249
Don't actually change kernel constructor signature
12 years ago
Jessica B. Hamrick
05611569ec
Add docstrings to kernel.js
12 years ago
Jessica B. Hamrick
4aa66d09dd
Add docstrings to session.js
12 years ago
Jessica B. Hamrick
2dbfc30934
Add no_kernel.Kernel event
12 years ago
Jessica B. Hamrick
d606d53b4e
More informative error messages
12 years ago
Jessica B. Hamrick
999daf041c
Handle query string in Kernel.start
12 years ago
Jessica B. Hamrick
befe8eb720
Update session tests
12 years ago
Jessica B. Hamrick
741b2e97b1
Only set channels to null when they are fully closed
12 years ago
Jessica B. Hamrick
a601531e1c
Move channels into their own object
12 years ago
Jessica B. Hamrick
cf98a0a5a0
Better respect for abstraction barriers
12 years ago
Jessica B. Hamrick
2f3d8617b4
Fix shutdown test
12 years ago
Jessica B. Hamrick
ade7692ccd
Fix bugs in kernel.js
12 years ago
Jessica B. Hamrick
3dfe601a8f
Fix session references in toolbar and menubar
12 years ago
Jessica B. Hamrick
bd3c553d44
Fix messages received by notification area
12 years ago
Jessica B. Hamrick
bd16964276
Clean up kernel.js
12 years ago
Jessica B. Hamrick
c0eb372612
Fix bugs introduced into session.js
12 years ago
Jessica B. Hamrick
3f00b88baa
Fix reference to session in notebook.js
12 years ago
Jessica B. Hamrick
8d76a40677
Clean up session class
12 years ago
MinRK
1da7562d55
trigger trust_changed properly on load
...
event signature was not consistent
12 years ago
Mateusz Paprocki
ba54e020a3
Use more yellowish color for ansiyellow
12 years ago
Mateusz Paprocki
904216d546
Fix ansispan() to ignore stray [0m
12 years ago
Jonathan Frederic
032300ea49
Merge pull request #6645 from jdfreder/css_order
...
Make sure DOMWidget _css is set after basic style traits
12 years ago
Thomas Kluyver
6163656f28
Merge pull request #6634 from minrk/select-contains
...
don't use contains in SelectWidget item_query
12 years ago
Jonathan Frederic
176529cce2
Make sure DOMWidget _css is set after basic style traits
12 years ago
Matthias Bussonnier
cfbd65d808
Merge pull request #6640 from jhamrick/ui-tour
...
Fix icons and typos in ui tour
12 years ago
Jessica B. Hamrick
27562308b1
Fix button alignment/size
12 years ago
Jonathan Frederic
60531c917f
Merge pull request #6481 from jdfreder/intvalidatefix
...
Fix bug in bounded int/float logic.
12 years ago
Jessica B. Hamrick
9ee37de1db
Fix icons and typos in ui tour
12 years ago
MinRK
6740d0492e
don't use contains in SelectWidget item_query
...
gives false positive matches when some values are substrings of others
12 years ago
Thomas Kluyver
825284bc6d
Remove superfluous error checking
12 years ago
Thomas Kluyver
590ba19ac3
Clean up some JS code
12 years ago
Thomas Kluyver
1ff846520b
Put callbacks for create_view and create_child_view in options
...
And add errback support
12 years ago
Thomas Kluyver
c4a9cf9020
Fix logic
12 years ago
Thomas Kluyver
09b10dcb86
Make changes suggested by @jdfreder
12 years ago
Thomas Kluyver
5953a3f874
Allow widget views to be loaded from require modules
...
This required refactoring things that create widget views to use
callbacks instead of return values.
12 years ago
Matthias Bussonnier
ffc574d4dd
Merge pull request #6596 from minrk/stream-text
...
msgspec 5: stream.data -> stream.text
12 years ago
Jason Grout
7700848737
Add semantic classes to top-level containers for single widgets
...
This makes it much easier to customize all widgets of a certain type using
CSS. For example, to change just the IPython widget selects, a CSS
rule like .widget-select select {...} should work well.
12 years ago
Sylvain Corlay
8a384cd489
adding a tooltip in IPython buttons
12 years ago
Matthias Bussonnier
0d9db64180
Merge pull request #6582 from jdfreder/symmetric_state
...
Symmetric widget get/set_state
12 years ago
Matthias Bussonnier
eeb9cb0209
Merge pull request #6558 from jhamrick/kernel-start-failure
...
Handle kernel start failures more gracefully
12 years ago
Jessica B. Hamrick
1d6359f970
Use codemirror for error messages
12 years ago
Min RK
28edb94897
Merge pull request #6488 from jhamrick/lock-cells
...
Proof of concept for preventing cell deletion via metadata
12 years ago
MinRK
f69b1b15a3
msgspec 5: stream.data -> stream.text
12 years ago
Gordon Ball
48b6f53f51
Require base/js/keyboard and use keycode.enter
12 years ago
Jonathan Frederic
60bf0f5b2f
s/apply_update/set_state
12 years ago
Jessica B. Hamrick
6a8cae2913
Don't pop up modal dialog
12 years ago
Jessica B. Hamrick
d0e942213d
Always show the modal dialog, and have a fallback generic message
12 years ago
Jessica B. Hamrick
c4a89cd54d
Better user experience when kernel isn't found
12 years ago
Jessica B. Hamrick
5ba858fc7c
Remove 'we' from message
12 years ago
Jessica B. Hamrick
263181c416
Report the exact error that occurred
12 years ago
Jessica B. Hamrick
58fcb3abb9
Show the user a different notification
12 years ago
Min RK
780ceee03a
Merge pull request #6415 from Carreau/move-md-show-logic
...
Move md-cell display logic to css
12 years ago
Matthias Bussonnier
a940971866
Merge pull request #6568 from minrk/remember-kernel
...
Make default kernel configurable
12 years ago
Jonathan Frederic
b5195e1b17
Merge pull request #6548 from SylvainCorlay/widget_views_by_id
...
Make WidgetModel.views be an object indexed by view id
12 years ago
Matthias Bussonnier
2d490858e5
Merge pull request #6544 from jhamrick/notification-widget
...
Clean up notification widget
12 years ago
sylvain.corlay
60925f0a1a
hasOwnProperty
12 years ago
MinRK
072bcdc484
allow kernel_name to be undefined in js
...
Falls back to KM.default_kernel_name,
as configured server-side.
12 years ago
Doug Blank
6c3d40bbcd
Update documentation for functions that can return null
12 years ago
Doug Blank
3997769def
Fixed off by one error in get_prev_cell
...
Not sure why this was a TODO. Maybe `find_cell_index()` returned zero at one time, but in the browsers I tested, it always returns null if not found.
12 years ago
Jessica B. Hamrick
9c1e7fa2eb
Clarify stickiness of warning/danger notifications
12 years ago
Sylvain Corlay
d8635fc1cc
on_atomic_change -> on_some_change
12 years ago
Sylvain Corlay
b6a0f60d3f
Make Widget.views be an object indexed by view id
12 years ago
Jessica B. Hamrick
e68f6e585a
Small changes to notification widget
12 years ago
Jessica B. Hamrick
2c5a10a6e0
Add documentation to notification area
12 years ago
Jessica B. Hamrick
5769a5bd97
Add documentation to NotificationWidget methods
12 years ago
Jessica B. Hamrick
180dd71e81
Allow timeout and click callback
12 years ago
Jessica B. Hamrick
10d500525a
Make cell be undeletable ONLY when metadata is explicitly false
12 years ago
Jessica B. Hamrick
990425f034
Handle 'deletable' cell metadata
12 years ago
Thomas Kluyver
3cb8c5a0a1
Merge pull request #6532 from SylvainCorlay/barewidgetmodels
...
Fix Issue #6530
12 years ago
Matthias Bussonnier
4609465161
Merge pull request #6472 from parleur/master
...
Keep metadata through celltype changes
12 years ago
Sylvain Corlay
a9fca81e95
Set default view to None and never display widget with no view
12 years ago
Jonathan Frederic
aec576a5f2
Fix infinite loop typo
12 years ago
Gordon Ball
3ec873b084
Change _parse_text_input to _parse_value and update float range regex
12 years ago
Gordon Ball
3011820cd3
Add support for parsing pairs of numbers for range sliders
12 years ago
Gordon Ball
67630b0886
Ignore the event object for handleTextChange
12 years ago
Gordon Ball
0f7fbc0781
Add keydown listener to commit changes on <enter>
12 years ago
Gordon Ball
0b45bacd0d
Add support to the float slider
12 years ago
Gordon Ball
6a976cf2b6
Use contentEditable to allow modification via the the slider readout
12 years ago
Sylvain Corlay
fb336de4ed
register bare views
12 years ago
Brian E. Granger
4ec1a3b41e
Merge pull request #6235 from jdfreder/addclass
...
Remove add/remove_class and set/get_css.
12 years ago
Jonathan Frederic
9f3dfbc56c
Fix slidercolor on widget construction
12 years ago
Jonathan Frederic
d4d554052e
Address problems found in in-person review
12 years ago
Matthias Bussonnier
56d48e2892
codemirror rempo moved, update links in comments
12 years ago
Matthias Bussonnier
633dbc8131
Merge pull request #5844 from jdfreder/scrollmanager
...
'Paul' scroll feature
12 years ago
Jonathan Frederic
f81d88aebf
fab css
12 years ago
Jonathan Frederic
a7e7f95ef1
Remove forgotten hreadout
12 years ago
Jonathan Frederic
b1c1e3533a
fab css
12 years ago
Jonathan Frederic
02d7039a00
Cleaned up hbox and vbox widget div styles,
...
removed 5px margin
12 years ago
Jonathan Frederic
6637b768cc
Merge pull request #6463 from SylvainCorlay/bulk_update
...
Bulk update of widget attributes
12 years ago
Sylvain Corlay
cd782c916d
state_lock loop
12 years ago
Sylvain Corlay
c4006f1439
status_started.Kernel was never triggered
12 years ago
Matthias Bussonnier
2c65ea0416
Merge pull request #6431 from jhamrick/input_ui_focus
...
Register input with keyboard manager
12 years ago
Jonathan Frederic
0bd868888e
Make HeadingScrollManager scroll to heading elements, not cells.
12 years ago
Sylvain Corlay
769e7fa108
rename to on_atomic_change
12 years ago
Jonathan Frederic
9831e6ea1b
Make the default the single page scroller.
12 years ago
Jonathan Frederic
c957cbc9c2
Set heading scroll manager as default scroll manager.
12 years ago
Jonathan Frederic
46eb5288bc
Scroll to all heading levels <= target level.
12 years ago
Jonathan Frederic
f6adf3e064
Fixed dumb typo,
...
forgot to update scrollmanager ref to scroll_manager.
12 years ago
Jonathan Frederic
3f9fea0328
Added comments clarifying scroll units
12 years ago
Jonathan Frederic
8c0c04910b
options bug fix
12 years ago
Jonathan Frederic
3ff4d4c16e
Address review comments
12 years ago
Jonathan Frederic
27058f4804
Removed ScrollManager selector combo.
12 years ago
Jonathan Frederic
e843a3d0e4
Fixed rebase indents
12 years ago
Jonathan Frederic
8617696c5b
Added heading and slideshow scroll managers
12 years ago
Jonathan Frederic
7e7683a587
Added scroll mode selector,
...
fixed rebase conflicts.
12 years ago
Jonathan Frederic
62a21b0e6f
Add ScrollManager to global ipy namespace in main.js instead of,
...
in the bottom of the scroll manager js file.
12 years ago
Jonathan Frederic
5c5025f3b6
Added smooth scroll to replace std browser behavior.
12 years ago
Jonathan Frederic
c2d72353a2
Fixed bug
12 years ago
Jonathan Frederic
617f078165
Make slideshow toolbar add classes to modified cells.
12 years ago
Jonathan Frederic
06ad682d68
Add scrollmanager
12 years ago
Min RK
a712e079b4
Merge pull request #6483 from jhamrick/fix-heading-anchors
...
Trim anchor link in heading cells, fixes #6324
12 years ago
Jonathan Frederic
591b2b3ad7
Tabs->Spaces
12 years ago
Jonathan Frederic
02e3a58030
s/fore_color/color
...
s/back_color/background_color
12 years ago
Jonathan Frederic
0acd8daf71
Merge pull request #6438 from SylvainCorlay/model_destroy_message
...
Destroy backbone model on comm:close
12 years ago
Sylvain Corlay
e809fcb545
stop listening
12 years ago
Jessica B. Hamrick
d46606a48b
Trim anchor link in heading cells, fixes #6324
12 years ago
Sylvain Corlay
75cb63fba2
Adding a comment and renaming on_bulk_change to on_change
12 years ago
Sylvain Corlay
06747c1ada
simplification of trigger destroy
12 years ago
Jonathan Frederic
4495fa5246
Merge pull request #6437 from weichm/patch-1
...
"event" is not defined error in Firefox
12 years ago
Pierre Gerold
406860fd35
Typo and presentation
12 years ago
Pierre Gerold
98f2d989b6
Modify cells converter funcs to keep metadata through
12 years ago
Sylvain Corlay
222dc5fb3e
Destroy backbone model on comm:close
12 years ago
sylvain.corlay
e77b21cb22
optimization of WidgetModel.apply_update
12 years ago
sylvain.corlay
6eea0c37aa
Added on_bulk_change method in WidgetModel
12 years ago
Jason Grout
78ae8b36c5
Fix several small bugs in the notebook trust framework
...
1. The trust dialog is not called with the notebook context, so we have to use the closure to bind to a notebook event.
2. Replace != with !==
3. The trust_changed.Notebook event default handler expects the trust value to be value key inside an object. In fact, the event handler is redundant with the code--both seem to set the trust value of the current notebook.
12 years ago
Thomas Kluyver
fdb375e0ef
Merge pull request #6380 from ellisonbg/latex-complete
...
Adds Julia-style latex->unicode tab completion
12 years ago
Thomas Kluyver
bdb5481a1e
Remove leftover debugging
12 years ago
weichm
06b2926a0a
"event" is not defined error in Firefox
...
see http://stackoverflow.com/questions/20522887/referenceerror-event-is-not-defined-error-in-firefox
"WebKit follows IE's old behavior of using a global symbol for "event", but Firefox doesn't..."
12 years ago
Jessica B. Hamrick
b8d3d2c6af
Register input with keyboard manager, fixes #6426
12 years ago
Jessica B. Hamrick
3aada4008c
Rename chkb to text
12 years ago
Jessica B. Hamrick
c3c11e5820
Initial version of textbox celltoolbar ui element
12 years ago
Fernando Perez
a5fd908b28
Merge pull request #6408 from minrk/new-cell-code
...
make default cell type configurable
12 years ago
MinRK
6cee444630
make default cell type configurable
...
- adds IPython.notebook.default_cell_type
- default is 'code' (matching IPython 2.0)
- special heuristic values include:
- 'selected': default to selected cell (current master behavior)
- 'above': default to cell above
- 'below': default to cell below
12 years ago
Matthias BUSSONNIER
186c8ae41d
remove useless comment
12 years ago
Matthias BUSSONNIER
a9b4bdc03f
Move md-cell display logic to css
12 years ago
Matthias Bussonnier
df67bd1720
Merge pull request #6406 from minrk/celltoolbar-rendered
...
don't hide cell toolbar on rendered text cells
12 years ago
MinRK
78fdc1ebb4
move mergeopt to utils
...
from Cell
12 years ago
MinRK
6038612732
don't hide cell toolbar on rendered text cells
...
because it annoys @Carreau
12 years ago
Matthias Bussonnier
9e8cf39956
Merge pull request #6258 from patricktokeeffe/patch-1
...
Update custom.js
12 years ago
Matthias BUSSONNIER
7752320295
get rid of some jq-ui- style
12 years ago
Brian E. Granger
a67c7e83a6
Adding tests and limiting CM mode to python 3.
12 years ago
Brian E. Granger
2dfd4079ec
Cleaning up and only doing latex completion for python 3.
12 years ago
Brian E. Granger
27f2f6baaa
Adding regexp for unicode identifers to CM mode.
12 years ago
Jonathan Frederic
2f9dcb852c
Fab CSS
12 years ago
Jonathan Frederic
cb9014e42c
Fixed rebase bugs and other bugs.
12 years ago
Jonathan Frederic
fa1c6f93f1
Added bootstrap3 progress bar classes
12 years ago
Jonathan Frederic
9b4d19bad7
Added Bootstrap specific classes,
...
and fixed a few bugs here and there...
12 years ago
Jonathan Frederic
a0e70e350f
Fix some bugs found by the widget examples,
...
add margin and padding base traits,
add overflow traits to box base.
12 years ago
Jonathan Frederic
834fe2d044
Fab CSS
12 years ago
Jonathan Frederic
42cc27e1f5
Finished style attributes.
12 years ago
Jonathan Frederic
fdcf263965
Partial implementation of styles
12 years ago
Jonathan Frederic
9af77a6374
Initial crack at using specific traits for styling.
12 years ago
Jonathan Frederic
f85a01041c
Remove add/remove class methods,
...
Remove helper set/get css methods
12 years ago
Paul Ivanov
78918ba827
Merge pull request #6359 from minrk/build-css
...
build css
12 years ago
MinRK
6345b6c874
fix handling of no-checkpoint-defined
...
a few typos and missing handling of undefined checkpoint
regression introduced in #6205
12 years ago
Min RK
89f5ec3677
Merge pull request #6306 from coderforlife/master
...
Minor improvements to file upload.
12 years ago
MinRK
318d46d647
build css
...
looks like a recent PR didn't have a final render of the LESS
12 years ago
Jonathan Frederic
cf0ca9d4a5
Merge pull request #6050 from chronitis/interact-range-widgets
...
Range widgets
12 years ago
Gordon Ball
a12b1a50a9
Change `range` trait to `_range`
12 years ago
Gordon Ball
1a8b77231e
Remove errant tabs from js
12 years ago
Matthias Bussonnier
77ec6fdfa2
Merge pull request #6205 from Carreau/momentjs
...
use momentjs for nicer dates
12 years ago
Brian E. Granger
9e16415907
Initial messing around.
...
Latex tab completion will have to be done outside the normal
completer logic as the completer line splitting logic uses
\\ as a special character to split lines on. I probably want
to put the latex completions first and it if finds any matches,
don't do any other completion logic. The only issue is that might
short circuit dir/path matching on windows. Hmmm.
12 years ago
Gordon Ball
b8c0afbb55
Merge master
12 years ago
Brian E. Granger
4b22230896
Merge pull request #6305 from minrk/switch-kernel-close-ws
...
JS: close WebSockets when killing kernels
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
Jonathan Frederic
62bd36bcc9
s/that/this bug
12 years ago
Gordon Ball
08895738f2
Merge master
12 years ago
Jonathan Frederic
ed593f02f1
Merge pull request #6171 from tarzzz/slider-value-validate
...
Validate slider value, when limits change
12 years ago
MinRK
d5a4553b8e
improve indicators and handling of dead kernels and broken websocket connections
...
I think it's still possible to get to a state with no kernel and insufficient indication.
Imperfect, but an improvement.
12 years ago
Jonathan Frederic
2790684a17
Fixed typo
12 years ago