1271 Commits

Author SHA1 Message Date
Paul Ivanov
fd467e75b6 make SIGUSR1 and SIGINFO trigger printing of info
Directory and url/port information for the notebook server is now
printed when it receives one of these signals. SIGINFO is available only
on BSD-based systems, and is triggered via Ctrl-T.
2013-03-18 18:09:28 -07:00
Paul Ivanov
218087104d log the notebook server directory
suggestion provided by @Carreau
2013-03-18 15:39:45 -07:00
Paul Ivanov
786396cbb0 on resume, print server info again
This commit makes it possible to differentiate between many different
long-running notebook servers, where the original ip address and port
information printed at the beginning has scrolled out of the screen.

We save the server location string that gets printed on startup, and
re-print it when the user attempts to interrupt the server with Ctrl-C

Thanks to @minrk for discussion on how this should work.

Also added a docstring to the start() method
2013-03-18 13:53:40 -07:00
Harry Moreno
21fc8cd23b changed instances of 'outout' to 'output' in alt text's 2013-03-15 15:56:58 -07:00
Matthias BUSSONNIER
3b37cd80e4 fix css in .output_area pre
font: inherit conflict with monospace, wich in some cases
leads to non-monospace font (nbviewer for example)
2013-03-05 21:03:27 +01:00
Matthias BUSSONNIER
f84acbbaff fix run-all (that-> this) 2013-02-25 23:19:42 +01:00
Brian E. Granger
4843a7acd2 Merge pull request #2942 from Carreau/cm-ipython-css
Move CM IPython theme out of codemirror folder
2013-02-22 09:32:41 -08:00
Brian E. Granger
66049a99f0 Merge pull request #2929 from Carreau/cleanup-cell-insertion
Cleanup cell insertion
2013-02-22 09:24:08 -08:00
Matthias BUSSONNIER
914dfb9f61 fix one more == to === 2013-02-22 13:08:56 +01:00
Matthias BUSSONNIER
10e92b3034 fix i/index in move up/down and == -> === 2013-02-22 13:07:16 +01:00
Matthias BUSSONNIER
0033b3e6c5 fix notebook deletion.
do not thrust what "that" is in a 3 level deep
callback
2013-02-22 09:56:33 +01:00
MinRK
acf3b2bf21 fix logic for append_javascript
PR #2911 results in appending javascript even if dynamic is false,
so in current master all javascript outputs are actually run at load.
2013-02-19 13:59:37 -08:00
Matthias BUSSONNIER
e4cbf5e717 move CM IPython theme out of codemirror folder 2013-02-16 19:21:27 +01:00
Matthias BUSSONNIER
6ed926be7b fix baseUrl 2013-02-16 17:43:14 +01:00
Bussonnier Matthias
9cd9e5db73 Merge pull request #2903 from Carreau/toggle-line-number
Specify toggle value on cell line number
2013-02-16 07:20:55 -08:00
Bussonnier Matthias
a1a32e82ff Merge pull request #2911 from Carreau/output-order-conf
display order in output area configurable
2013-02-16 07:11:32 -08:00
Bussonnier Matthias
f99f0571d7 Merge pull request #2897 from Carreau/baseurl-meth
Dont rely on BaseProjectUrl data in body tag
2013-02-16 07:10:10 -08:00
Bussonnier Matthias
0a25fb8749 Merge pull request #2894 from Carreau/cm-configurable
Cm configurable
2013-02-16 07:09:31 -08:00
Matthias BUSSONNIER
f6298c6c7f use show method in toggle method 2013-02-16 11:59:26 +01:00
Matthias BUSSONNIER
1f402a1dac remove unused/not working function 2013-02-16 11:47:31 +01:00
Matthias BUSSONNIER
e965757a33 simplify logic 2013-02-16 11:44:13 +01:00
Bussonnier Matthias
b8fe73ba3c Merge pull request #2932 from takluyver/get-static-files
Simplify using notebook static files from external code
2013-02-14 23:54:24 -08:00
Thomas Kluyver
9e2894caa2 Simplify using notebook static files from external code. 2013-02-14 16:52:54 +00:00
Bussonnier Matthias
1467f5b59f abstract, cleanup and document
Separate the methods that actually insert dom element for easier
testing.

Cleanup, and order methods more logically

add "docstring"
2013-02-13 22:35:42 +01:00
Bussonnier Matthias
0c5c5b9c83 Merge pull request #2906 from Carreau/mkypatch-cm
Unpatch/Monkey patch CM
2013-02-13 13:00:45 -08:00
Matthias BUSSONNIER
44385d9c7f jslint 2013-02-12 23:13:09 +01:00
Matthias BUSSONNIER
bd59389626 fix bad logic 2013-02-12 21:32:17 +01:00
MinRK
b7fe08c91c add disabled state to undo-delete-cell when unavailable. 2013-02-12 10:53:10 -08:00
MinRK
7566379d14 add menu item for undo delete cell
closes #2920
2013-02-12 10:47:06 -08:00
Matthias BUSSONNIER
d9480a5643 refactor cellc 2013-02-12 18:06:02 +01:00
Matthias BUSSONNIER
2d07627cb1 factor valid cell index logic 2013-02-12 17:28:13 +01:00
Matthias BUSSONNIER
763e7a31ce doc fixes 2013-02-12 16:56:34 +01:00
Matthias BUSSONNIER
70713da4d4 Method to show hide linenumber of cell
mostly convenience methods to wrap codemirror one,
plus doc and 1 doc fix (missing curly bracket)
2013-02-10 19:49:33 +01:00
Bussonnier Matthias
1445b189d4 Merge pull request #2885 from Carreau/monospace-pager
get monospace pager back
2013-02-10 10:43:24 -08:00
Matthias BUSSONNIER
fc2ee6289b display order in output area configurable 2013-02-10 18:55:48 +01:00
Matthias BUSSONNIER
a05bb1cfe3 fix default empty option 2013-02-10 17:23:10 +01:00
Matthias BUSSONNIER
f74bb684f6 Make CodeMirror configurable
Both on a per class and per instance basis, using an option dict
in constructor and per class dict
2013-02-10 14:56:07 +01:00
Bussonnier Matthias
0e3b818ff9 Merge pull request #2876 from Carreau/fixctff
fix celltoolbar layout on FF

Ok, bug was due to an extra empty div... This seem to lok ok on both FF and Chrome OS X.

Think of adding 
$.getScript('/static/js/celltoolbarpresets/example.js')

to your custom.js to fully test.
2013-02-10 04:35:29 -08:00
MinRK
e1748fe10a fix last remaining KernelApp reference 2013-02-09 15:48:05 -08:00
Matthias BUSSONNIER
f54216e4f6 monkey patch codemirror with new functionality
use marijnh recommended way:
https://github.com/marijnh/CodeMirror/pull/661
2013-02-09 22:39:05 +01:00
Matthias BUSSONNIER
5f135d66ea pass baseUrl as option 2013-02-08 14:12:42 +01:00
Bussonnier Matthias
6561a98368 change more baseurl 2013-02-08 00:38:12 +01:00
Bussonnier Matthias
a0b9736397 make base project url a method on notebook list 2013-02-08 00:10:14 +01:00
Bussonnier Matthias
09e221af6b add option in menubar to set baseproject url 2013-02-07 23:56:20 +01:00
Bussonnier Matthias
7a300d7ff3 make baseProjectUrl a method in Menubar 2013-02-07 23:32:48 +01:00
MinRK
cb56d2378b exclude fabfile from tests
closes #2890
2013-02-07 09:03:42 -08:00
Matthias BUSSONNIER
2fbb909bb3 get monospace pager back 2013-02-05 18:09:22 +01:00
Matthias BUSSONNIER
93b5ea9d86 remove one useless element 2013-02-05 09:49:54 +01:00
Matthias BUSSONNIER
9ba887ed95 fix button css 2013-02-05 09:40:32 +01:00
Matthias BUSSONNIER
a9e06112ef minor css fixes 2013-02-03 12:47:37 +01:00