Commit Graph

1716 Commits

Author SHA1 Message Date
Juergen Hasch
dd68727ff0 Add COMMAND keycode 2013-04-17 21:31:09 +02:00
Juergen Hasch
99af7b8a58 set <select> width to auto 2013-04-16 19:58:26 +02:00
Juergen Hasch
eb646bbf72 Improve special key handling in completer 2013-04-16 19:55:50 +02:00
Juergen Hasch
18aa1bd914 Add new keycodes 2013-04-16 19:34:20 +02:00
Min RK
b1acb5254e Merge pull request #2635 from cgohlke/windows-startmenu
Improve Windows start menu shortcuts

* Create Windows start menu shortcuts with better names.
* Add shortcuts for IPython Notebook and online documentation.
* Add icons for IPython console and notebook.
* Apply PEP8 to ipython_win_post_install.py.
* Tested on win32-py2.7, win-amd64-py2.7, win-amd64-py3.3, Windows 8.
2013-04-13 12:06:30 -07:00
Brian E. Granger
29b2d7ff95 Merge pull request #3105 from minrk/static_path
move DEFAULT_STATIC_FILES_PATH to frontend.html.notebook
2013-04-12 21:41:04 -07:00
MinRK
cd0d29206f move check_for_zmq to utils.zmqrelated 2013-04-12 21:33:49 -07:00
MinRK
7ad15715a0 remove workarounds for no-longer-supported pyzmq versions 2013-04-12 21:25:18 -07:00
MinRK
5139e190d8 move DEFAULT_STATIC_FILES_PATH to frontend.html.notebook
and move the friendly version checks to notebookapp.py

DEFAULT_STATIC_FILES_PATH is now accessible without pyzmq/tornado/jinja being importable.
If someone tries to use old pyzmq or tornado directly with handlers,
the version check won't happen, but that's probably the right thing to do anyway.
2013-04-12 21:25:16 -07:00
Brian E. Granger
d53839666f Merge pull request #3144 from minrk/bower
minor bower tweaks
2013-04-12 21:20:55 -07:00
Min RK
98c672ad51 Merge pull request #3147 from meteogrid/rproxy_support
Notebook support for a reverse proxy which handles SSL

Added a "trust_xheaders" config option to NotebookApp to enable the passing of the xheaders flag to tornado.HTTPServer. This is necessary so tornado can generate the correct wss:// scheme
2013-04-12 16:15:53 -07:00
Brian E. Granger
0490978989 Merge pull request #3058 from minrk/redirect
add redirect handler for notebooks by name
2013-04-12 15:09:31 -07:00
MinRK
296587664d don't test for .ipynb in redirect handler
regex already guarantees it
2013-04-12 15:07:54 -07:00
Min RK
073f894e82 Merge pull request #3148 from ivanov/tornado-AI_ADDRCONFIG-patch
fix `gaierror: [Errno -9] Address family for hostname not supported`

error from unassociated interfaces.

related to facebook/tornado#593 - but the fix was only applied to 3.0

I've verified that this fix works for tornado 2.1, 2.4, 2.4.1, and the behavior it fixes does not trigger on tornado 3.0

closes #3045
2013-04-10 10:25:40 -07:00
Paul Ivanov
113ba6157f addressing @minrk's PR feedback
* check tornado version
* log.warn about the monkeypatching
2013-04-09 17:58:56 -07:00
Paul Ivanov
836d20e5e1 closes #3045, #3123 for tornado < version 3.0
related to facebook/tornado#593

I've verified that this fix works for tornado 2.1, 2.4, 2.4.1, and the
behavior it fixes does not trigger on tornado 3.0
2013-04-08 17:16:09 -07:00
Alberto Valverde
9e38b20e8f Added trust_xheaders config option to delegate it to HTTPServer.
This is neccesary if the notebook app is proxied behind a reverse
proxy that handles SSL.
2013-04-08 17:08:29 +02:00
Matthias Bussonnier
6a39864c54 Merge pull request #3143 from minrk/heading-fixup
minor heading-link tweaks
2013-04-07 23:27:52 -07:00
MinRK
0323bea194 add fab components
installs components with bower
2013-04-07 12:50:55 -07:00
MinRK
1f2341ba57 ignore bower components 2013-04-07 12:50:55 -07:00
MinRK
2fc4821c2f tweak heading-anchor css
avoids blue links after visiting
2013-04-07 12:43:58 -07:00
MinRK
4976c6fb16 minor heading-link tweaks
- use id instead of name
- replace spaces with `_`

for html compliance
2013-04-07 12:15:57 -07:00
Min RK
a4b1bea069 Merge pull request #3136 from jfeser/8b94eddb4d15ce6f0c98675116d4609bdaaf99d9
Strip useless ANSI escape codes in notebook

ANSI color escape codes get handled specially by the notebook, but other kinds of codes just get printed out. Strip these codes out of the notebook output.

closes #2385
2013-04-06 12:14:51 -07:00
Min RK
88b45a76e4 Merge pull request #3126 from dwyde/arrow-keys-empty-notebook
Prevent errors when pressing arrow keys in an empty notebook

Notebook.get_selected_cell() returns null in an empty notebook.
2013-04-06 12:10:48 -07:00
Jack Feser
5f5ac70660 Strip non color related ANSI escape sequences from notebook output.
This fixes issue #2385.
2013-04-04 21:32:34 -05:00
David Wyde
72c94c4f1c Fix an incorrect comment. 2013-04-02 17:46:50 -05:00
David Wyde
904be21a9f Prevent errors when up/down arrows are pressed in an empty notebook.
Notebook.get_selected_cell() returns `null` in an empty notebook.
2013-04-02 17:44:27 -05:00
Matthias Bussonnier
a8873230bf Merge pull request #3102 from minrk/spellcheck
set `spellcheck=false` in CodeCell inputarea
2013-04-01 07:09:12 -07:00
Matthias Bussonnier
061d27e877 Merge pull request #3064 from minrk/header-anchors
add anchors to heading cells
2013-04-01 07:08:28 -07:00
Thomas Kluyver
bfed30a60c Merge pull request #3118 from minrk/osname
don't give up on weird os names
2013-03-31 01:36:48 -07:00
Min RK
5daefdcabc Merge pull request #3115 from Carreau/fix-example
avoid references to files outside of examples directory
    
request for packaging, it would be nice for example not to reference
files outside of example directory
copy ../../_static/logo.png in logo/logo.png
use subfolder for demo purpose of targeting subfolder in demo notebook
2013-03-30 11:56:24 -07:00
MinRK
f677571f61 don't give up on weird os names
like java

closes #3113
2013-03-30 11:51:32 -07:00
Matthias BUSSONNIER
6e64125a24 copy IPython logo in example directory
request from pakagers to make the example directory more "standalone"
2013-03-30 11:48:28 +01:00
MinRK
7a648670af set spellcheck=false in CodeCell inputarea
prevents autocorrect from firing in Safari (weirdly, autocorrect does not have this effect).

Note: must be `false`, not `off`

closes #3087
2013-03-27 22:16:41 -07:00
Matthias Bussonnier
7bc51fd945 Merge pull request #3078 from minrk/link_re
fix regular expression for detecting links in stdout
2013-03-27 12:20:38 -07:00
Matthias Bussonnier
98aba52c58 Merge pull request #3054 from minrk/auto-cluster-size
restore default behavior for automatic cluster size
2013-03-27 12:03:10 -07:00
MinRK
4cd0d6e7bb fix regular expression for detecting links in stdout
The previous expression was matching both the beginning and the end of the line,
which would end up swallowing the next match,
ultimately matching every other URL in the string.

This removes the end-of-line check, so it will match every URL.

The wrapURLs function to make URLs easier to identify does not seem to have been necessary,
and has thus been removed.

closes #2834
2013-03-25 16:56:05 -07:00
Matthias Bussonnier
8389e79fac Merge pull request #3076 from dwyde/improve-notebook-js-yuidoc
Improve notebook.js documentation
2013-03-25 12:59:50 -07:00
David Wyde
7a10342d6f Add YUIDoc in notebook.js. 2013-03-25 12:42:41 -05:00
Paul Ivanov
0e7aeb29f2 Merge pull request #3075 from ivanov/sigusr1-windows
check for SIGUSR1 before using it, closes #3074
2013-03-25 08:45:49 -07:00
Paul Ivanov
9ca886dc11 check for SIGUSR1 before using it, closes #3074
thanks @takluyver for spotting this
2013-03-25 08:30:31 -07:00
Min RK
b218a55a5d Merge pull request #3051 from minrk/vbox-ff-fail
add width:100% to vbox for webkit / FF consistency

closes #3049
2013-03-24 19:37:29 -07:00
MinRK
b110a02e7a s/heading-link/heading-anchor/ 2013-03-24 12:59:41 -07:00
MinRK
ede5a66198 put the anchor inside the header tag
instead of the other way around.

This way, only clicking the text loads the hash link,
rather than the whole area.
2013-03-24 12:47:12 -07:00
Min RK
d4c6bef1f5 Merge pull request #3033 from ivanov/print-server-info
on resume, print server info again
2013-03-24 11:19:53 -07:00
Paul Ivanov
6334a481b2 print info string on interrupt, log it on startup 2013-03-24 10:53:59 -07:00
MinRK
10b209f93e add redirect handler for notebooks by name
Now you can visit `localhost:8888/My Notebook.ipynb`,
and it will redirect you to the UUID url.
This allows cross-notebook links, etc. with `[other notebook](Notebook Name.ipynb)`
2013-03-23 13:30:45 -07:00
MinRK
7e6b5d98c7 trigger hash on notebook load
enables direct links to anchors within notebooks
2013-03-23 12:46:03 -07:00
MinRK
ba4b1d6e1c add anchor and link to heading cells 2013-03-23 12:44:35 -07:00
MinRK
276d8b68bb restore default behavior for automatic cluster size
the up/down buttons still work, but it doesn't populate everything with 2,
which was wrong.
2013-03-22 10:54:36 -07:00