Brian E. Granger
dcf874e93f
Fixing styling issues with CellToolbar.
...
* Width of CellToolbar was off on Linux Chrome+Firefox.
* Minor styling cleanups.
13 years ago
Brian E. Granger
0fb34356a3
Fixing last few things with the test suite for kernel managers.
13 years ago
Brian E. Granger
deb05ec4a2
Make KernelManager.kill_kernel private.
...
* kill_kernel -> _kill_kernel.
* Removed it from the ABC and implementations where approp.
13 years ago
Min RK
def9d4c51e
Merge pull request #2796 from kmike/cookie-fix
...
py3k: fix unicode/bytes cookie parsing under Python 3.x
13 years ago
Brian Granger
b7dd63d720
Creating an ABC for kernel managers and channels.
13 years ago
Brian E. Granger
2900b67ff3
Adding calls to shell_channel.stop() to shutdown.
...
But this hangs the test suite for IPython.frontend.html.notebook.
13 years ago
Brian E. Granger
afaad23a57
Adding tested ipc support to MultiKernelManager.
13 years ago
Brian E. Granger
64bec56589
Refactoring kernel_died method to make subclass friendly.
13 years ago
Brian E. Granger
f37d707c08
Creating application.config attribute.
...
This creates less coupling between the handlers and the outer
IPython application.
13 years ago
Brian E. Granger
ac1a8b0458
Removing return value of restart_kernel.
...
The kernel_id is *always* the same under a restart and there
is no need to return it. The restart handler does pass
the original kernel_id back to the browser as it currently uses it.
13 years ago
Brian E. Granger
82f4cf5574
General cleanup of kernelmanger.MultiKernelManager.
13 years ago
Brian E. Granger
ea2dc2ecd5
Allow caller of MultiKernelManager.start_kernel to pass kernel_id.
13 years ago
Mikhail Korobov
57cecc70c2
P3K: fix cookie parsing under Python 3.x (+ duplicate import is removed)
13 years ago
Brian E. Granger
4fadfecbb7
Merge pull request #2724 from pberkes/embedded-ipython-v2
...
In-process kernel support (take 3)
13 years ago
Brian E. Granger
eff5fa878d
Merge pull request #2687 from Carreau/metaui-slideshow
...
[WIP] Metaui slideshow
13 years ago
Matthias BUSSONNIER
3e60977364
load slideshow by default
13 years ago
debjan
47466fb8ea
Chrome frame awareness
13 years ago
Matthias BUSSONNIER
7163dc717f
Uppercase and update path
13 years ago
Matthias BUSSONNIER
94279745b9
Change Slide denomination
...
> Slide
> Subslide
> Fragment
> Skip
> Notes
13 years ago
Matthias BUSSONNIER
705081cc04
add slideshow extension/preset for celltoolbar
13 years ago
Matthias BUSSONNIER
3e52d29b61
fix example.js
13 years ago
Matthias BUSSONNIER
7401054c94
Capitalize
13 years ago
Matthias BUSSONNIER
33b810fe53
fix celltoolbar select css
13 years ago
Matthias BUSSONNIER
4e20188968
Load default.js (for celltoolbar) by default
...
And change text.
13 years ago
Matthias BUSSONNIER
4e3f8edb88
add default celltoolbar UI
13 years ago
Matthias BUSSONNIER
69859c1057
change set_preset to activate_preset
...
update docs
13 years ago
Matthias BUSSONNIER
f76279d858
remove commented css
13 years ago
Matthias BUSSONNIER
28e90b40d2
fix lock cell button
...
'flase' is true while false is false
13 years ago
Matthias BUSSONNIER
c236253e80
change - to Hidden
13 years ago
Matthias BUSSONNIER
eb5911a3c1
create celltoolbar in cell.js and inherit
13 years ago
Matthias BUSSONNIER
08225b2ed4
slightly generalize utils generator
13 years ago
Matthias BUSSONNIER
8b7db8d6da
remove useless jquery selector
13 years ago
Matthias BUSSONNIER
f88001f481
fix css size
13 years ago
Matthias BUSSONNIER
1e4eb5c527
do not use alert on invalid json
13 years ago
Matthias BUSSONNIER
ffa1cf20a3
remove relative position
13 years ago
Matthias BUSSONNIER
4b957111ed
remove most of the duplicate example
13 years ago
Matthias BUSSONNIER
a16c361a4b
rename _button_list to _ui_controls_list
13 years ago
Matthias BUSSONNIER
c313127651
rename file metaui->celltoolbar
13 years ago
Matthias BUSSONNIER
f55a0a05b8
rename metaui -> celltoolbar
13 years ago
Matthias BUSSONNIER
3cc81dbb8f
convention, jQuery variable start with $
...
all this.xxxx = $(...) change to
this.$xxxx
I'm thinking of potentially doing it also in parameters that are
expected to be jQuery enabled.
13 years ago
Matthias BUSSONNIER
1c97a7232f
enable dropdown preset change
13 years ago
Matthias BUSSONNIER
040a27cacc
add a small default metaui-toolbar
...
just a question mark which pop-up a small text
13 years ago
Matthias BUSSONNIER
d18d975a50
create metadata-dropdowm-menu generator
13 years ago
Matthias BUSSONNIER
70f8001b14
Split metadataui into multiple file
...
Add example metadata UI into multiple categorized files.
And document how to load it using custom.js.
13 years ago
Matthias BUSSONNIER
1ae472cf1c
add utils and docs for metadata UI
...
add aconvenient utils to generate UI for checkboxes
and use it to generate 3 checkboxes for
new_section
new_subsection
new_fragment
13 years ago
Matthias BUSSONNIER
8022cff041
Add a per cell toolbar.
...
This add a per-cell globally toggleable toolbar
the main purpouse is to easily edit metadata.
this come with a few example like adding checkbox,
dropdown list, simple button, button with icon...
please see the js-doc of
IPython/frontend/html/notebook/static/js/MetaUI.js
for more info
13 years ago
Brian E. Granger
60d158af2a
Removing unused code in the notebook MappingKernelManager.
...
This cleans up the API for restarts in the notebook's kernel
manager classes.
13 years ago
Bussonnier Matthias
730eff0a1e
Merge pull request #2728 from Carreau/shifttab
...
also bind shift tab for tooltip + config
This does not change the curent behavior, only add the shift+tab shortcut.
Note that the shift tab shortcut has a slightly different behavior. You can select part of a line and pressing shift-tab will show you the tooltip only for the selection.
This is disabled for multiline selection to still allow to unindent block of code, Keep in mind that the real real shortcut for indent unindent is Ctrl+] or [ . Select/tab is not really supported by codemirror.
Finally the "tooltip_on_tab" behavior is globally configurable via IPython.config so that it could be easily switched to false.
It can be overridden via js console for test purpose.
IPython.config.tooltip_on_tab = true | false
Take effect immediately, only on current notebook.
or globally via custom.js
var user_conf = {tooltip_on_tab:false | true};
$.extend(IPython.config, user_conf)
14 years ago
Bussonnier Matthias
6c148e175a
Merge pull request #2723 from Carreau/fixes-2720
...
diverse fixes for project url
- Force leading and trailing slashes in base_project/kernel_url
- Add support for the prefix in template for static files
- Fix some forgotten quotes
- remove old make_static_url which is now a jinja2 macro
14 years ago
mr.Shu
5df5cc8035
added blockquote CSS
14 years ago
Bussonnier Matthias
5eb3850ae1
shift tqb for tooltip
14 years ago
Bussonnier Matthias
4e5b1eb41a
diverse fixes for project url
...
* Force leading and trailing slashes in base_project/kernel_url
* Add support for the prefix in template for static files
* Fix some forgotten quotes
* remove old make_static_url which is now a jinja2 macro
fixes-2720
14 years ago
Bussonnier Matthias
248eae08d6
remove unexisting headings level
14 years ago
Bussonnier Matthias
0904ff21fb
Merge pull request #2699 from crbates/jinja2
...
fix jinja2 rendering for password protected notebooks
14 years ago
Bradley M. Froehle
3493814467
Skip notebookapp testing if jinja2 is not available.
14 years ago
Cameron Bates
8d1d5fb37c
Use the correct tornado import as suggested by @ivanov
14 years ago
Cameron Bates
cbe76aaf9b
fix jinja2 rendering for password protected notebooks
14 years ago
Yoav Ram
2518649d6c
for downloads, replaced window.open with window.location.assign
...
This doesn't actually open a new windows, so it's a bit nicer.
Not very important, though.
Source: [StackOverflow](http://stackoverflow.com/questions/1066452/easiest-way-to-open-a-download-window-without-navigating-away-from-the-page )
14 years ago
Bussonnier Matthias
51fb9a38ef
Merge pull request #2659 from kmike/master
...
Fix small typos and errors in JS.
14 years ago
Bussonnier Matthias
f9f46750fe
Merge pull request #2363 from crbates/jinja2
...
Refactor notebook templates to use Jinja2
14 years ago
Cameron Bates
6de923fb95
Rename "nb" variable to "template" for clarity
14 years ago
Cameron Bates
7493794594
Move environment setting from handler to the notebook application
14 years ago
Mikhail Korobov
4bca5a19ea
Some bugs in js (mostly scoping bugs) are fixed
14 years ago
Brian E. Granger
edd27cf292
Merge pull request #2312 from adamgd/master
...
Add bracket matching to code cells in notebook
14 years ago
Bussonnier Matthias
459f816d54
Merge pull request #2571 from Carreau/jsdoc
...
Start to document Javascript
see IPython/frontend/html/notebook/static/js/readme on how to compile/see it.
14 years ago
Bradley M. Froehle
1549def846
Merge pull request #2641 from Carreau/thisthat
...
undefinied that -> this
14 years ago
Matthias BUSSONNIER
31b18e69ad
undefinied that -> this
14 years ago
Thomas Kluyver
e344f37ebd
Merge pull request #2301 from takluyver/ast-transfomers
...
Ast transfomers
14 years ago
Cameron Bates
3d08384741
Make template environment a property and fix notebook location
14 years ago
Cameron Bates
7b3c01c667
Merge upstream changes
14 years ago
Bussonnier Matthias
01a54bee69
Merge pull request #2572 from dwf/paste_above_as_default
...
Make 'Paste Below' the default paste behavior in notebook.
14 years ago
Matthias BUSSONNIER
a56ee187ff
past below by default
14 years ago
Matthias BUSSONNIER
43fb0ef6af
document base of toolbar
14 years ago
Matthias BUSSONNIER
f91c4f447d
start docummenting kernel
14 years ago
Matthias BUSSONNIER
a2306cff89
Fix layout and add note about custom.css
14 years ago
Matthias BUSSONNIER
9c33de9102
document custom.js
14 years ago
Matthias BUSSONNIER
c83cd14d28
more docs, organize in namespace
14 years ago
dkua
5993c3bf9f
Made changes as per discussion in PR thread.
14 years ago
dkua
da8c05414e
Made some changes to message and logic as advised by Fernando.
14 years ago
dkua
c8d3dbcc98
Refactored warning printout as per Issue #2244
14 years ago
David Warde-Farley
a9910aa408
"Paste Cell Replace" -> "Paste Cell & Replace"
14 years ago
David Warde-Farley
01f0332add
Make 'Paste Above' the default paste behavior.
...
Destructive paste mapped to Ctrl-M V is a surprising choice given that
there was no drag-to-select on the area being replaced (there is a
weaker notion of "selected cell" but this does not map to will-be-replaced-
by-paste in the minds of participants in an unscientific poll at
PyConCA).
Destructive paste is still available as the last paste option in the
Edit menu, qualified as "Paste Cell Replace".
14 years ago
Matthias BUSSONNIER
22c477eecf
add doc to base Cell
14 years ago
Matthias BUSSONNIER
42737b6e4b
more docs in cell
14 years ago
Matthias BUSSONNIER
98738e8bc4
Document more function.
...
Change construcs to constructor to be recognized
14 years ago
Matthias BUSSONNIER
9c5516b356
start to document js
14 years ago
Bussonnier Matthias
a0544ec066
Merge pull request #2561 from takluyver/notebook-carriage-return
...
Fix display of plain text containing multiple carriage returns before line feed
14 years ago
Bussonnier Matthias
1f79f5b89e
Merge pull request #2549 from dwf/delete_undo
...
Add a simple 'undo' for cell deletion.
14 years ago
Bussonnier Matthias
56f1f39fbe
Merge pull request #2525 from Carreau/execute_hooks
...
Add event to kernel execution/shell reply.
14 years ago
Thomas Kluyver
015e8e73f4
Fix display of plain text containing multiple carriage returns before line feed.
...
Closes gh-2560
14 years ago
David Warde-Farley
8ecb8cd8fe
Make undelete respect order after insertions/deletions.
14 years ago
David Warde-Farley
bb8249864d
Add comment re: quickhelp key.
14 years ago
David Warde-Farley
f4d471c70e
Move undo quickhelp to more appropriate spot.
14 years ago
David Warde-Farley
33c1f78d33
Add a simple 'undo' for cell deletion.
...
I've accidentally deleted the wrong cell quite a few times and
it has been quite frustrating. This enables a very hacky backup of
the last cell deletion.
I'm sure the core devs will have some opinions on both the feature
and its implementation, I consider this very much a first pass.
14 years ago
Matthias BUSSONNIER
4aea2b495a
add status_started event to Kernel
14 years ago
Matthias BUSSONNIER
68fd917bfb
change all trigger parameter to (event,data)
14 years ago
Matthias BUSSONNIER
afa18913b9
invert event name
14 years ago
Aron Ahmadia
cf0254bc31
Finalizing fixes to MathJax enhancements
...
* Cell.prototype.typeset functionality restored
* MathJax configuration files back in .js, delayedStartup
* Renamed HUB to hub
* Removed vestigial comment
* Restored Markdown Cell placeholder render functionality
14 years ago
Aron Ahmadia
5863b6fd7f
undid unique ids, used jQuery
14 years ago
Aron Ahmadia
4620ce8348
Remove Equation References/Numbering, Fix Bugs
...
Equation References and Numbering are not going to be trivial to add,
so the code has been removed for now. Important fixes include
no-MathJax support (previously, the code was failing), and the
generation of unique ids for the rendering content in each cell,
tremendously speeding up MathJax rendering.
I am still not rendering placeholder text.
14 years ago
Aron Ahmadia
12c661f761
Improved MathJax, missing callback workaround
...
MathJax.InputJax.TeX.resetEquationNumbers is supposed to be available,
but isn't consistently loaded before the notebook fires off its first
re-render request. The code edits in mathjaxutils.js fix this issue.
Additionally, there was some init code in mathjaxutils.js that has been
properly excised to the html templates.
Removed some orphan rendering code so that all typesetting now goes
through mathjaxutils.js
Finally, removed an extra cell in the demo notebook.
14 years ago
Bussonnier Matthias
eba9044f2e
Merge pull request #2464 from iguananaut/nb-out-links
...
Locate URLs in notebook text output and convert them to hyperlinks.
14 years ago
Bussonnier Matthias
fcad4a3f2c
Merge pull request #2498 from Carreau/fixes2487
...
Don't catch tab press when something selected
allow to indent with 'tab' in some cases.
14 years ago
Paul Ivanov
b96b4689ed
added on-hover descriptions of the new menu items
14 years ago
Paul Ivanov
2949cd5787
fine-grained notebook 'run' controls, closes #2521
...
This adds "Run All Above" and "Run All Below" menu items to Cell thanks
to @Carreau for the implementation suggestion
14 years ago
Matthias BUSSONNIER
eeea623161
Add event to kernel execution/shell reply.
...
This should allow to hook more easily phantomjs for testing.
14 years ago
Paul Ivanov
0b3cb7764d
clear In[ ] prompt numbers again
14 years ago
Matthias BUSSONNIER
c1a11bbb3b
Don't catch tab press when something selected
...
fixes #2487
14 years ago
Aron Ahmadia
8d3fbe5901
Refactored to JS standards. Fixed Attribution.
...
thisStyle --> this_style.
function foo() --> var foo = function()
StackExchange improperly attributed for Davide Cervone's
Markdown+MathJax handling. This has been fixed.
Ref:
http://stackoverflow.com/a/11231030/122022
http://www.math.union.edu/~dpvc/transfer/mathjax/mathjax-editing.js
14 years ago
Aron Ahmadia
346173bcad
correct environment rendering
14 years ago
Aron Ahmadia
0caac8cd28
partial refactor, can't quite get environments working
14 years ago
Matthias BUSSONNIER
aa9a5db301
fix bootstrap name conflicts
...
change .tooltip to .ipython_tooltip
class name in css to avoid conflic with bootstrap
don't put header logo in h1 to also avoid conflict
14 years ago
Erik M. Bray
ae27cc7c3e
Locate URLs in text output and convert them to hyperlinks.
14 years ago
Brian E. Granger
2be72dae5d
Merge pull request #2421 from Carreau/nbconsole
...
Some notebook tweaks.
14 years ago
Matthias BUSSONNIER
20fec7b2d0
remove rogue codemirror onUpdate
14 years ago
Brian E. Granger
7ae77c8372
Merge pull request #2127 from Carreau/jsToolbar
...
Ability to build toolbar in JS
14 years ago
Bussonnier Matthias
362eab83aa
Merge pull request #2216 from Carreau/autohighlight
...
Autochange highlight with cell magics
Highlight change is made on cell load and Enter keypress.
For now, it recognizes %%javascript, %%python[3], %%ruby, %%bash , %%R, %%perl.
new modes can easily be added by adding regular expression on config.js
14 years ago
Bussonnier Matthias
b1662530a0
Merge pull request #2442 from minrk/signithalt
...
allow iptest to be interrupted
14 years ago
Min RK
9eb2b0b161
Merge pull request #2240 from minrk/stranded_metadata
...
fix message built for engine dying during task
would result in KeyError on missing 'metadata'
14 years ago
MinRK
d6db92b7e6
allow iptest to be interrupted
...
Previously `^C` would register as a regular test failure, and the test suite would continue, in which case halting `iptest` meant hitting `^C` nine times.
This change makes iptest take notice of sigint in a test runner, and aborts the run.
14 years ago
Fernando Perez
630e178616
Ensure that in-process test group doesn't create global IPython singleton.
...
Since the in-process group makes its own shells, it should avoid
creating the global singleton.
14 years ago
Bussonnier Matthias
01cdf460cc
align output with input
14 years ago
Bussonnier Matthias
a03764ed67
add ability to create continuation prompt
14 years ago
Bussonnier Matthias
045973b6bb
add insert_cell_at_bottom prototype
14 years ago
Bradley M. Froehle
4982a24bd7
Merge pull request #2326 from Carreau/detachable-pager
...
Detachable pager in notebook.
14 years ago
Ohad Ravid
c58e152f57
Answer Issue #2366
...
If a file notebook is used, and a relative directory is given, make it
absolute.
14 years ago
Bussonnier Matthias
3119f11ba6
change detach icon and tab title
14 years ago
Matthias BUSSONNIER
e0e519afcb
Add scroll_to_cell(cell_number) to the notebook
14 years ago
Matthias BUSSONNIER
f4d9dabc31
remove notification widget leftover
...
fixes #2367
14 years ago
Bussonnier Matthias
771d67ada7
Merge pull request #2352 from bfroehle/notebook_unique_cookie_name
...
Notebook: Store the username in a cookie whose name is unique.
Cookies cannot be saved on a per-port basis, so a cookie "username" is shared
across all running IPython notebooks with the same hostname. Using a unique
cookie name prevents this collision.
This allows a user to start multiple IPython notebooks and be logged into
each.
14 years ago
MinRK
a9db0585d6
fix names of notebooks for download/save
...
was using notebook.get('name') instead of notebook.metadata.get('name'),
where the name is actually stored. The result was that all downloaded notebooks were called 'notebook'.
closes #2227
14 years ago
Cameron Bates
6178a4838a
Move notebook.html back to original location
14 years ago
Cameron Bates
eef42aa032
fix paths for jinja2 so they work in installed ipython instances
14 years ago
Cameron Bates
240eb562f0
Refactor notebook to use Jinja2 instead of tornado templates
14 years ago
Bradley M. Froehle
727379ec4f
Notebook: Store the username in a cookie whose name is unique.
...
Cookies cannot be saved on a per-port basis, so a cookie "username" is
shared across all running IPython notebooks with the same hostname.
Using a unique cookie name prevents this collision.
This allows a user to start multiple IPython notebooks and be logged into
each.
14 years ago
Bussonnier Matthias
45f79e0509
Merge pull request #2192 from Carreau/notification
...
Introduce Notification Area
This allow several notification widget to be next one to the other in the notification area.
The Api allow also to register a callback if the user click on the notification. and allows sticky and non sticky notification.
14 years ago
Matthias BUSSONNIER
6526b6ea68
fix some whitespace
14 years ago
Matthias BUSSONNIER
645ac8df8e
add tooltip to pager button
14 years ago
Matthias BUSSONNIER
5134212a4c
This create the ability to detach the pager
...
When detached, the pager is collapsed and it's content is send into it's
own window/tab depending of the browser configuration.
14 years ago
Adam Davis
6d18d60921
Added bracket matching for code cells
14 years ago
Thomas Kluyver
b6776682dc
Fix IPython.utils.warn API so messages are automatically displayed followed by a newline.
14 years ago
Matthias BUSSONNIER
5e1ba95f6d
check for selector only in parent classes
14 years ago
Matthias BUSSONNIER
00fcd46323
reorder methods and fix typo
14 years ago
Matthias BUSSONNIER
feabba941f
space around : , bis
14 years ago
Matthias BUSSONNIER
299106fe38
space around :
14 years ago
Matthias BUSSONNIER
c2cf3a07dd
jslint 1
14 years ago
Matthias BUSSONNIER
2b26c6a7d4
optionally 1n, 2l
14 years ago
Matthias BUSSONNIER
8a121f93ac
#toolbar -> #maintoolbar
14 years ago
Matthias BUSSONNIER
8374d14d06
use strict in notificationwidget.js
14 years ago
Matthias BUSSONNIER
56a57de8e1
jslint 2
14 years ago
Matthias BUSSONNIER
7d9c78c081
jslint 1
14 years ago
Matthias BUSSONNIER
adcb0a8f56
fix click unbind
...
unbind click to dismissed when click, otherwise it stays for next
button shown
14 years ago
Matthias BUSSONNIER
d88f7d4c72
autochange highlight with cell magics
...
also detect diff in raw cells
mode is détected on enter keypress, notebook load, cell and focus out
14 years ago
MinRK
27abd01589
skip crash tests by default
14 years ago
Brian Granger
d95f4bc810
Renaming BaseNotebookManager->NotebookManager to preserve config.
14 years ago
Brian Granger
050b61c90a
Renaming basenbmanager.
14 years ago
MinRK
c05433e780
s/assertEquals/assertEqual (again)
...
fix a few deprecated assertEquals that have snuck back in
14 years ago
Brian E. Granger
bb4009b178
Merge pull request #2218 from Carreau/new_redirect
...
Use redirect for new notebooks
14 years ago
Brian E. Granger
638478fa23
Merge pull request #2277 from bfroehle/notebook_arrow_keys
...
nb: up/down arrow keys move to begin/end of line at top/bottom of cell
14 years ago
Brian Granger
421ada2837
Adding exclusion for the azure module in iptest.
14 years ago
Brian Granger
f819997f6e
Fixing minor bugs in notebookapp related to base class name.
14 years ago
Brian Granger
f40f6448c2
Fixing minor bug.
14 years ago
Brian Granger
8df2d331a7
Fixing minor things for the Azure backed nb storage.
14 years ago
Brian Granger
9784a2ac52
Refactoring notebook managers and adding Azure backed storage.
...
I have created a base class for all notebook managers. Our
existing, file-based store, is now in filenbmanager.py. I have
also created a new Azure Blob based backed notebook manager.
14 years ago
Matthias BUSSONNIER
bcc9081444
remove update_url occurences
14 years ago
Bradley M. Froehle
2b079345cb
notebook: up/down arrow keys move to begin/end of line at top/bottom of cell
...
The behavior is the following:
* If you press UP while on the first row, you go to the beginning of the line.
* If you press UP again (or were already at the beginning of the line), you
go to the previous cell.
* If you press DOWN while on the last row, you go to the end of the line.
* If you press DOWN again (or were already at the end of the line), you go
to the next cell.
This applies to `CodeCell`s and `RawCell`s.
14 years ago
Puneeth Chaganti
a8556b5d9e
CLN: Use name to id mapping of notebooks instead of searching.
...
Minor clean-up.
14 years ago
Thomas Kluyver
31b326ca02
Exclude slow tests (IPython.parallel by default in iptest
14 years ago
Matthias BUSSONNIER
b0cf1f43ed
use redirect for new/copy notebooks
...
fixes #2217
14 years ago
Matthias BUSSONNIER
3160d67763
css typo
14 years ago
Matthias BUSSONNIER
71a1675c8f
tweek notebook notification behavior
14 years ago
Matthias BUSSONNIER
33edba2c9a
warn on error when user display javascript
14 years ago
Bussonnier Matthias
5c394dab71
Merge pull request #2212 from minrk/protectjs
...
catch errors in markdown javascript
14 years ago
MinRK
4a3e1f3185
make markdown error handling js-specific
14 years ago
Matthias BUSSONNIER
a5bc24d8b2
select correct behavior for backspace in codecell
14 years ago
Matthias BUSSONNIER
2f6117bd46
Force tabs to space in CM
14 years ago
Matthias BUSSONNIER
308c4994d3
patch SingleOperator in CodeMirror2
14 years ago
Matthias BUSSONNIER
370943fff0
update CodeMirror2 to 2.32
14 years ago
MinRK
7e7c2fe9e5
catch js errors when rendering markdown cells
14 years ago
Matthias BUSSONNIER
9564a899ed
DeCamelCasify method names
14 years ago
Matthias BUSSONNIER
b75c101a97
rename and fix template
14 years ago
Matthias BUSSONNIER
a0bc644153
call init method
14 years ago
Bussonnier Matthias
9a52bdc18b
Merge pull request #2175 from minrk/staticfile
...
add FileFindHandler for Notebook static files
* The static file handler now uses a search path, instead of a single dir.
This allows easier customization of available js/css,
and provides a place for extra files to go for extending the notebook.
* An empty custom.js / custom.css are added to the templates for trivial
custom user styling/scripting.
The search only happens once, and the result is cached after the first.
* A few methods are pulled from tornado 2.2-dev verbatim to have tornado 2.1 compatibility.
* mathjax is now installed by default in profile.
14 years ago
Bradley M. Froehle
35493dabd2
Create a unique & temporary IPYTHONDIR for each testing group.
14 years ago
Bradley M. Froehle
f2b9bc6016
Print warning message if process could not be killed.
14 years ago
Bradley M. Froehle
4bf8f834ca
Work around lack of os.kill in win32.
...
Fixes iptest brokenness caused by #2148 .
14 years ago
Matthias BUSSONNIER
8d6a9e0a67
separate kernel notification from save/load notification
14 years ago
Fernando Perez
b3fcc75530
Merge pull request #2148 from bfroehle/no_more_os_system
...
win32 iptest: Use subprocess.Popen() instead of os.system().
The call to `os.system` in `iptest` prevents us from easily setting `$IPYTHONDIR` to a temporary directory. In theory we should be able to use `subprocess.Popen` instead of `os.system` in Windows. This would unify the code structure and make it easy to pass in a different environment.
Note that Python < 2.7 does not have `os.kill`. I've attempted to work around this by using `ctypes` to kill any living processes.
14 years ago
Matthias BUSSONNIER
a40b2d6b61
prototype sticky notification
14 years ago
Matthias BUSSONNIER
aedb1a809b
use jquery-ui classes
14 years ago
MinRK
4ee5129dad
log local mathjax path
14 years ago
MinRK
aa9f5d9e80
add missing methods in FindFileHandler for tornado < 2.2.0 compat
14 years ago
Matthias BUSSONNIER
e5ede75fdb
trap undefined timout
14 years ago
Matthias BUSSONNIER
d6ebf4d2b1
beginning notification area
14 years ago
Min RK
8373a99eb8
Merge pull request #2183 from jasongrout/trigger-kernel
...
Include the kernel object in the event object passed to kernel events
14 years ago
Jason Grout
e9324378e8
Include the kernel object in the event object passed to kernel events
14 years ago
MinRK
d77e9a4eba
handle undefined param in notebooklist
...
PR #2159 introduced a bug preventing the notebook list from drawing
14 years ago
Min RK
8b34dfc405
Merge pull request #2051 from jasongrout/stream-metadata
...
Add a metadata attribute to messages
subheader is removed in favor of the new metadata dict,
reducing degeneracy.
14 years ago
MinRK
25aa3003ac
add metadata to javascript msg spec implementation
14 years ago
Jason Grout
7095b9eb87
Make top-level metadata dictionary not optional.
14 years ago
Jason Grout
4ad79b41f6
Set default metadata for javascript callback
14 years ago
Jason Grout
9436f33035
Add an optional metadata attribute to all messages and add a session-level default metadata attribute.
14 years ago
Jason Grout
009e5583cf
Pass the header of output and clear_output messages to javascript callbacks
14 years ago
Bussonnier Matthias
260a107d80
Merge pull request #2159 from Carreau/dashbord_refresh_on_error
...
show message on notebook list if server is unreachable
14 years ago
Matthias BUSSONNIER
cf2cfa45e1
pep8
14 years ago
MinRK
3c6c38289a
handle single static path in FileFindHandler
14 years ago
Bussonnier Matthias
70ffbd609b
Merge pull request #2090 from v923z/master
...
Notebook, Alt-enter : execute cell, append codecell below.
14 years ago
MinRK
2891a0a8ca
add empty custom.js/css
...
With FileFindHandler, these will be useful for small user overrides of css/js.
14 years ago
MinRK
8aa6fb3fc3
fix missing quotation mark in notebook.html
14 years ago
MinRK
96158cff3f
use FileFindHandler in NotebookApp
...
adds NotebookApp.extra_static_paths configurable for extending the search path.
The default is to include profile/static.
14 years ago
MinRK
a627f3d955
add FileFindHandler for serving static files from a search path
14 years ago
v923z
eaf53eeb9a
Replaced .toJSON().input by .get_text()
14 years ago
v923z
0e4dbb2880
Added checking for emptiness of cell below.
14 years ago
v923z
eb47f0eb8d
Added some comments to the Alt-Enter code part, and also added checking whether a new code cell is really needed.
14 years ago
Matthias BUSSONNIER
23cf94023d
show message on notebook list if server is unreachable
...
usefull when :
server goes down, you don't notice it on dashboard
restart on https, cookies is unvalid, autoreload don't work
14 years ago
Bradley M. Froehle
cfc86faefb
s/nt.assert_equals/nt.assert_equal/
14 years ago
Bradley M. Froehle
05a30fa6d4
s/assertEquals/assertEqual/
14 years ago
Bradley M. Froehle
71b4bf797c
win32 iptest: Use subprocess.Popen() instead of os.system().
14 years ago
Bussonnier Matthias
0b44186d76
Merge pull request #2100 from Carreau/2to3fixes
...
python 2 and 3 compatibility without 2to3
apply some fixes :
- apply (deactivated in setup.py now)
- repr (deactivated in setup.py now)
- print (only in modules with print >>)
- raise (partially)
don't touch deathrow and quarantine.
14 years ago
Bussonnier Matthias
f38cf983c5
Merge pull request #2128 from Carreau/fixes-2120
...
open notebook copy in different tabs
14 years ago
Bussonnier Matthias
22e757f91d
Merge pull request #2073 from Carreau/fixes-1997
...
Allows both password and prefix for notebook at the same time.
14 years ago
Matthias BUSSONNIER
ca65de9fa2
open notebook copy in different tabs
...
returning false to allow modifier+click,
otherwise open 2 tabs at once.
14 years ago
Matthias BUSSONNIER
cc663005e4
dont use string as dict key, better redability
14 years ago
Bussonnier Matthias
4ec828c3db
Merge pull request #1993 from Carreau/printview
...
Update print-view css, and link the print css when trying to print a notebook without going through the print view.
14 years ago
Matthias BUSSONNIER
53d2a34336
correcty inherign the main toolbar
14 years ago
Matthias BUSSONNIER
ac04f1f437
load maintoolbar.js
14 years ago
Matthias BUSSONNIER
04d7e96aa8
add maintoolbar file
14 years ago
Matthias BUSSONNIER
2f28e4c4a1
Allow toolbar construction in js
...
Base of allowing a full toolbar construction in js without altering the
html template, and use it to construct our toolbar as example.
still need some work to be totally decoupled.
14 years ago
Matthias BUSSONNIER
011403a14f
use print function in module with `print >>`
14 years ago
Thomas Kluyver
b43f24da5f
Merge pull request #2064 from Carreau/pep-3110
...
Use new style "except Exception as e" syntax.
14 years ago
Zoltán Vörös
a2665ef341
Added new short key for cell execution
14 years ago
Fernando Perez
22071dfede
Skip notebook 'static' dir in test suite.
...
There's nothing there we should be running python tests on, and
occasionally python files may appear there that cause problems to nose
(e.g. mathjax ships a non-py3 valid conf.py that breaks py3 testing).
14 years ago
Matthias BUSSONNIER
3c743846a7
use full base_url in html and js
14 years ago
Matthias BUSSONNIER
51d715d00a
allows password and prefix for notebook
...
fixes #1997
14 years ago
Matthias BUSSONNIER
d85f075ad7
conform to pep 3110
...
brutally replace all `exeption <type>, <name>:` by
`exception <type> as <name> :`
`exception <type>, <type> :` should not be present anywhere in the code
anymore, or should be present with explicit tuple as
`exception (<type>, <type>)`
14 years ago
Matthias BUSSONNIER
df4192ae2a
Allow direct print of the notebook.
...
this improve the current css of the print page and add css to the
classical notebook with print as target to get a better print view ant
the ability to directly print a notebook without going through the print
view
14 years ago
MinRK
ae177a38cb
remove empty IPython.scripts test group
14 years ago
MinRK
722e90d50a
only add quotes around xunit-file on Windows
14 years ago
Min RK
360e40feca
Merge pull request #2047 from minrk/badFirefox
...
disable auto-scroll on mozilla
14 years ago
MinRK
422965cb3d
disable auto-scroll on mozilla
...
see #2041 for details
14 years ago
Jörgen Stenarson
9919f31095
14 years ago
Jörgen Stenarson
13b30ed3c4
14 years ago
MinRK
fae43d51d4
double auto-scroll threshold to 100 lines
...
it is more important that we not be surprising or annoying than we hide moderately long output.
14 years ago
MinRK
da17f26fbe
ignore shift keydown
...
prevented case-sensitive shortcuts if shift was pressed after control key
14 years ago
MinRK
ab2de249ed
disable ^C^C confirmation on Windows
14 years ago
Jonathan March
3edd709ab6
BUG: test runner fails in Windows if filenames contain spaces.
14 years ago
MinRK
603b7d9598
relax profile regex in notebook
...
Almost any text is a valid profile name, and the previous code
only included ascii alphanumeric strings.
closes #2011
14 years ago
Fernando Perez
6226f830a0
Merge pull request #2012 from mcelrath/mono_cursor_offset
...
Fix spurious appearance of the #fontarea when fonts don't have any problem; also remove loud dialog when problematic font is detected and simply adjust baseline. Users will have a slightly offset baseline for bold/italic highlights, but without any functional problems.
Fixes #2005 .
14 years ago
mcelrath
591a8eac23
Fix spurious appearance of #fontarea at end of document.
14 years ago
mcelrath
5a070dcd1a
Merge remote-tracking branch 'upstream/master' into mono_cursor_offset
14 years ago