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
Matthias BUSSONNIER
31b18e69ad
undefinied that -> this
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
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
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
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
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