Commit Graph

3157 Commits

Author SHA1 Message Date
Jonathan Frederic
82a9adb3c8 fab css 2014-02-09 13:51:19 -08:00
Jonathan Frederic
ff14cabf7f Change stretch to flex-start 2014-02-09 13:51:19 -08:00
Jonathan Frederic
184a0933df fab css 2014-02-09 13:51:18 -08:00
Jonathan Frederic
aba9f7e9f8 Automatic width adjustment for flex0 2014-02-09 13:51:18 -08:00
Jonathan Frederic
2d367aa7ab fab css 2014-02-09 13:51:17 -08:00
Jonathan Frederic
7ae028e01f Corrected a lot of small misuses of the new flex model. 2014-02-09 13:51:17 -08:00
MinRK
f80e4dc72e don't create js test directories unless they are being used
just moves a setup block from `__init__` to `launch`
2014-02-09 13:35:29 -08:00
Brian E. Granger
89c1aa2010 Merge pull request #5062 from minrk/js-test-races
adjust some events in nb_roundtrip
2014-02-08 23:20:09 -08:00
MinRK
e14172d851 adjust some events in nb_roundtrip
hopefully should address some intermittent failures due to race conditions
2014-02-08 23:12:05 -08:00
MinRK
8264362179 document utils.parse_url 2014-02-08 23:09:25 -08:00
MinRK
9629bce503 fix url encoding in services
At this point, zero attributes should be encoded URLs
2014-02-08 23:09:25 -08:00
MinRK
24e59106c0 add utils.parse_url
strip repeated '//' in url_path_join
2014-02-08 23:09:25 -08:00
MinRK
a93040e810 s/get_data/get_body_data/ 2014-02-08 23:09:24 -08:00
MinRK
e7db8cfd4e fix notebook_path in menu bar 2014-02-08 23:09:24 -08:00
MinRK
e1e0b19a6a s/base_project_url/base_url/
deprecate NotebookApp.base_project_url
2014-02-08 23:09:24 -08:00
MinRK
24703985e9 only add .ipynb if extension is not included
prevents .ipynb.ipynb double extension
2014-02-08 23:09:24 -08:00
MinRK
61b06a39e2 holy crap, semicolons 2014-02-08 23:09:23 -08:00
MinRK
7cb4321bfe test unicode path in dashboard_nav 2014-02-08 23:09:23 -08:00
MinRK
13fc9022d9 various unicode fixes
- remove notebookPath, notebookName, and baseProjectUrl methods everywhere
- use base_project_url *attributes* instead
- we should never use escaped URLs except when making an actual request

Should fix issues with double-escaping
2014-02-08 23:09:23 -08:00
MinRK
beaa75b416 add utils.get_data
for extracting *decoded* items from $('body').data
2014-02-08 23:09:23 -08:00
Brian E. Granger
674ce7d9f8 Merge pull request #5053 from jdfreder/js-test-refact
Move&rename JS tests
2014-02-08 22:37:04 -08:00
MinRK
f3f1695b06 add IPython.load_extensions in js 2014-02-08 21:32:31 -08:00
MinRK
b413efd397 add check_nbextension 2014-02-08 21:32:30 -08:00
MinRK
68c91ffc88 allow installing nbextensions with symlinks 2014-02-08 21:32:30 -08:00
MinRK
f3664e1beb support URLs and zip/tarballs in install_extension 2014-02-08 20:08:15 -08:00
MinRK
9429fe9b29 add install_nbextension at top-level IPython.html 2014-02-08 20:03:36 -08:00
MinRK
a8b7b853a2 add ipython install-nbextension entrypoint 2014-02-08 20:03:33 -08:00
MinRK
704b349302 add IPython.html.nbextensions.install_nbextension
for installing files into IPYTHONDIR/nbextensions
2014-02-08 20:02:56 -08:00
Jonathan Frederic
60c035f874 Hardcode exception for __pycache___ 2014-02-08 11:19:27 -08:00
Brian E. Granger
47abe842b2 Merge pull request #5067 from minrk/widget-error
show traceback in widget handlers
2014-02-08 11:16:02 -08:00
Brian E. Granger
d3567f4cb0 Merge pull request #4920 from ellisonbg/pdf-formatter
Adding PDFFormatter and kernel side handling of PDF display data
2014-02-08 10:11:34 -08:00
Brian E. Granger
fc6b68a8aa Merge pull request #5048 from ellisonbg/modal-indicator
Add edit/command mode indicator
2014-02-08 10:04:27 -08:00
Brian E. Granger
9b21f618e6 Merge pull request #5061 from minrk/execute-button
make execute button in menu bar match shift-enter
2014-02-08 10:03:24 -08:00
Brian E. Granger
22136b5e38 Merge pull request #5052 from ellisonbg/pager-q
Add q to toggle the pager.
2014-02-08 10:02:56 -08:00
Jonathan Frederic
94a7a7fd3a Whoops, put kernel.js in the wrong folder 2014-02-07 21:18:54 -08:00
Jonathan Frederic
b5d465e3c7 removed casperjs dir 2014-02-07 21:17:05 -08:00
Jonathan Frederic
23f2bdf734 Made the folders map 1-to-1 with those in static 2014-02-07 21:13:33 -08:00
Jonathan Frederic
2da92d4d13 Moved files out of casperjs folder 2014-02-07 21:06:58 -08:00
MinRK
95d3d6de8b fix flex: auto
flex: 0 doesn't seem to mean what box-flex meant (auto)

closes #5069
2014-02-07 20:20:24 -08:00
Brian E. Granger
5a087f2a66 To the most conservative choice. 2014-02-07 20:00:25 -08:00
Brian E. Granger
31301c4194 Just close the pager with q, not toggle. 2014-02-07 19:43:20 -08:00
Brian E. Granger
4e37e901d8 Add q to toggle the pager. 2014-02-07 19:37:27 -08:00
MinRK
d772b4c3da catch errors at a lower level in interact
for cleaner tracebacks in the interact callback than the fallback case
2014-02-07 16:51:10 -08:00
MinRK
ddc22152ea show traceback in widget handlers
rather than logging

closes #5064
2014-02-07 16:43:49 -08:00
Paul Ivanov
55684d7c1e don't change name of section 2014-02-07 16:24:18 -08:00
Paul Ivanov
2c55a81efa use js/subfolder/test.js syntax now 2014-02-07 16:21:54 -08:00
Paul Ivanov
4ad7e35809 shorten the js section names 2014-02-07 16:21:22 -08:00
MinRK
24ef1be736 make execute button in menu bar match shift-enter
Noticed this when testing the UI on the IPad.
I expected the button to perform the default execute behavior,
but it doesn't.
2014-02-07 15:26:20 -08:00
Paul Ivanov
04e0725ba9 fat fingers
don't laugh. it's a serious problem.
2014-02-07 15:24:51 -08:00
Paul Ivanov
4f49ed4008 allow testing individual js files
all casperjs/ subdirectories now treated as test categories
2014-02-07 15:22:20 -08:00
Thomas Kluyver
2d973d2b14 Merge pull request #5051 from jdfreder/ff-hscroll2
FF Fix: code cell missing hscroll (2)
2014-02-07 15:19:52 -08:00
Jonathan Frederic
b5d772eb65 fab css 2014-02-07 15:08:57 -08:00
MinRK
7032e9ef69 set overflow-x: hidden on Firefox only
workaround crazy Firefox-only behavior when selecting newlines

closes #3549
Conflicts:
	IPython/html/static/style/style.min.css
2014-02-07 15:08:35 -08:00
Brian E. Granger
5904212460 Merge pull request #4960 from ellisonbg/newinteract
Interact/Interactive for widget
2014-02-07 14:58:46 -08:00
Paul Ivanov
ea242a7c23 make tests actually run 2014-02-07 14:43:37 -08:00
MinRK
813e32dfea set readout=True as default on SliderWidgets 2014-02-07 11:16:46 -08:00
Jonathan Frederic
4984e0f2c9 Added notebook and widget test groups. 2014-02-07 10:09:47 -08:00
Jonathan Frederic
a07d24adb9 Move tests out into parent directories 2014-02-07 10:09:04 -08:00
MinRK
7861bee65f test widget interaction (Python) 2014-02-06 17:06:08 -08:00
MinRK
6d555b7aee return f with @interact, not just @interact(**kwargs) 2014-02-06 17:06:08 -08:00
MinRK
031b69895c fix ValueError format message 2014-02-06 17:06:07 -08:00
MinRK
48a56d3156 simplify float/int slider abbreviation logic
fixes unhanded case where only one entry is a float
2014-02-06 17:06:07 -08:00
MinRK
7911c6c237 finish removing *args support 2014-02-06 17:06:07 -08:00
MinRK
ad6109692d ensure range widgets get value that is on a step 2014-02-06 17:06:07 -08:00
MinRK
a58ca8a0a0 s/const/fixed/ 2014-02-06 17:06:07 -08:00
MinRK
2d2c5beb0e move @annotate to py3compat 2014-02-06 17:06:07 -08:00
MinRK
3053a855a9 remove positional arg support from interact 2014-02-06 17:06:06 -08:00
MinRK
feab63754d update interact now that SelectionWidget.values is a dict 2014-02-06 17:06:06 -08:00
Brian E. Granger
88fb17b182 Adding const pseudo-widget for fixing arguments to interact. 2014-02-06 17:06:06 -08:00
Brian E. Granger
6e8c63ea19 Adding decorator forms of interact. Yeah! 2014-02-06 17:06:05 -08:00
Brian E. Granger
dd9a6efaed Utter interact insanity.
This involves a bunch of really complicated logic to handle the
different ways that function parameters can be processed in Python.
Most importantly, this includes support for *args in interact.
2014-02-06 17:06:05 -08:00
Brian E. Granger
55cddce784 Fixing interact imports. 2014-02-06 17:06:05 -08:00
Brian E. Granger
2ef393aaa3 Renaming interact.py->interaction.py to improve imports. 2014-02-06 17:06:05 -08:00
Thomas Kluyver
a96c228554 Get widgets from function annotations and default arguments.
Also, preserve the order of function parameters from the signature where
possible.

This uses a backport of the Python 3.3 signature machinery that @minrk
found and improved.
2014-02-06 17:06:05 -08:00
Brian E. Granger
5853bb8ff7 Adding .widget to function. 2014-02-06 17:06:04 -08:00
Brian E. Granger
93047f1d3c Updating interact to work with latest state of widgets. 2014-02-06 17:06:04 -08:00
Brian E. Granger
faebb43e01 Updating interact to new APIs. 2014-02-06 17:06:04 -08:00
Brian E. Granger
1d6cde4877 Adding interact.py. 2014-02-06 17:06:04 -08:00
Jonathan Frederic
063656343b Moved notebook tests around. 2014-02-06 16:45:54 -08:00
Jonathan Frederic
33586b7ac8 Convert tabs to spaces 2014-02-06 16:27:45 -08:00
Brian E. Granger
445f6225e8 Spinning sun + nothing for command mode. 2014-02-06 14:54:40 -08:00
Brian E. Granger
2b4559513d Adding basic append_pdf in OutputArea. 2014-02-06 14:22:50 -08:00
Jonathan Frederic
cbffa6433f fab css 2014-02-06 14:04:25 -08:00
Jonathan Frederic
66c14d34ce New 'flex' support
http://dev.w3.org/csswg/css-flexbox/
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes
2014-02-06 14:02:18 -08:00
Jonathan Frederic
5e5aecb4c2 Revert #3552 2014-02-06 10:24:54 -08:00
Jonathan Frederic
0ec796cfc7 Removed #4986 2014-02-06 10:21:16 -08:00
Brian E. Granger
2d1f3c86d1 Delete old timeout. 2014-02-05 23:05:40 -08:00
Brian E. Granger
af884b797f Add edit/command mode indicator. 2014-02-05 22:58:33 -08:00
Brian E. Granger
62d118afc7 Clear timeout in multi-press keyboard shortcuts. 2014-02-05 19:15:01 -08:00
Brian E. Granger
2b248d65b0 Merge pull request #5035 from jdfreder/ff-hscroll
FF Fix: code cell missing hscroll
2014-02-05 18:46:11 -08:00
Min RK
cd7c1e6fae Merge pull request #5001 from ellisonbg/dashboard-dirs
Add directory navigation to dashboard
2014-02-05 17:21:43 -08:00
Brian E. Granger
f59e7099ad Fix spelling mistake in is_hidden docstring. 2014-02-05 17:06:18 -08:00
Brian E. Granger
eb9e0be218 Small refactoring of is_hidden to take root as default kwarg. 2014-02-05 16:43:11 -08:00
Brian E. Granger
009367666a Fixing test_files tests. 2014-02-05 15:41:28 -08:00
Brian E. Granger
0c794b5d2c 404 for hidden files to not revleal their existence. 2014-02-05 15:38:34 -08:00
Brian E. Granger
7ab69652ea Breadcrumb home icon. 2014-02-05 15:35:46 -08:00
Brian E. Granger
000d8abc56 Merge pull request #12 from minrk/ipynb
don't strip '.ipynb' from notebook names in nblist
2014-02-05 13:10:50 -08:00
Brian E. Granger
243392d810 Creating and testing IPython.html.utils.is_hidden. 2014-02-05 13:09:55 -08:00
Jonathan Frederic
a11596f7e7 fab css 2014-02-05 12:46:20 -08:00
Jonathan Frederic
65fba24d92 FF Fix: make ext icon same line as txt 2014-02-05 12:45:52 -08:00