Commit Graph

6005 Commits

Author SHA1 Message Date
Min RK
fcd28674f7 remove testing.tools.monkeypatch
use mock.patch.object instead

part 1 of reducing dependence on testing.tools
2015-04-03 10:56:52 -07:00
Min RK
6bd9c8e4d3 Merge pull request #8224 from tmtabor/glyphicon-fix
Path to glyphicon fonts (used by Bootstrap) was incorrect.
2015-04-02 18:30:39 -07:00
Matthias Bussonnier
96a6f1e5b4 Merge pull request #8227 from minrk/serialization-utils
move serialization utils out of IPython.utils
2015-04-02 15:25:40 -07:00
Matthias Bussonnier
e8c8575921 Merge pull request #8232 from minrk/deprecatedclass
move DeprecatedClass to widgets, where it's used
2015-04-02 15:24:42 -07:00
Min RK
d41d074c1e move DeprecatedClass to widgets, where it's used
avoids need to add warn to genutils
2015-04-02 13:05:55 -07:00
Min RK
a03a4e71c7 remove utils.zmqrelated
and other checks for zmq versions

after the big split, zmq will be a true dependency of the packages
2015-04-02 12:51:03 -07:00
tmtabor
5dc6b5d13e Added glyphicon update to LESS. 2015-04-02 14:47:34 -04:00
Min RK
569857bede import jsonutil from jupyter_client 2015-04-02 11:39:54 -07:00
tmtabor
d591b31d88 Path to glyphicon fonts (used by Bootstrap) was incorrect. Fixed paths to coincide with where the appropriate Bootstrap resources are when IPython-components is attached. Useful for those using Bootstrap classes in custom themes. 2015-04-02 12:29:44 -04:00
Matthias Bussonnier
855799dc19 Merge pull request #8215 from minrk/button-right-of-logo
add header_buttons block to page template
2015-04-01 11:53:33 -07:00
Min RK
6d786be40b Merge pull request #8203 from minrk/kernel.js-switch
autosave & reload on kernelspec switch
2015-04-01 10:03:38 -07:00
Min RK
c88c9dafd2 add header_buttons block to page template
allows easier access to adding buttons next to
the logout button.
2015-03-31 14:19:03 -07:00
Jonathan Frederic
0c278a050d Merge pull request #7757 from jasongrout/custom-serialization
Custom serialization
2015-03-31 11:37:34 -07:00
Jason Grout
4d86d06940 Export the widget unpack_models function for other custom classes to use
Thanks to @jdfreder for this suggestion.
2015-03-30 20:37:55 -04:00
Jason Grout
58098aebc1 Register widget models and views that have the right inheritance, rather than the right name.
Thanks to @jdfreder for this suggestion.
2015-03-30 20:37:05 -04:00
Min RK
8c3b6d79d0 autosave & reload on kernelspec switch
when a custom kernel.js was defined,
in which case reload is needed to ensure clean js state.
2015-03-30 14:29:56 -07:00
Thomas Kluyver
ad3dd60b3f Merge pull request #8191 from minrk/focus-3.1
small focus/keyboard-related fixes for 3.1
2015-03-30 14:09:49 -07:00
Min RK
effbd91b77 directly blur codemirror to trigger command-mode
rather than focusing the cell, which implies codemirror blur
2015-03-30 12:03:03 -07:00
Min RK
581d6ca158 don't focus cell on save 2015-03-30 11:47:48 -07:00
Min RK
28268d9d0f don't disable keyboard shortcuts on main toolbar
disable them on specific select elements
2015-03-30 11:47:39 -07:00
Min RK
1af60e08b6 fix binary websocket test
buffers are memoryviews now
2015-03-30 11:07:14 -07:00
Min RK
1f0f8c4d57 remove extraneous focus_cell from actions.js 2015-03-29 16:52:06 -07:00
Matthias Bussonnier
bceab630e7 Merge pull request #8062 from minrk/max-width-again
another stab at confining images to page width
2015-03-29 16:32:47 -07:00
Matthias Bussonnier
5002c9a584 Merge pull request #8190 from minrk/sticky-tooltip-description
update description of sticky tooltip
2015-03-29 16:31:11 -07:00
Min RK
1f8cccbecc update description of sticky tooltip
> Tooltip will linger for 10 seconds while you type
2015-03-29 16:08:29 -07:00
Min RK
0e42f2dad0 update traitlets test import in widgets
don't need to shim out private things like test modules
2015-03-29 15:33:49 -07:00
Min RK
1d48f8fbe6 iptest config runs traitlets tests 2015-03-29 15:33:48 -07:00
Min RK
b1d70df578 Merge pull request #8142 from SylvainCorlay/slider_validation
Using the early validation hook for IntSlider and FloatSlider
2015-03-29 14:07:51 -07:00
Min RK
0e6aa1b2fb scroll overflow-x on rendered markdown
treat markdown the same as output
2015-03-29 14:06:13 -07:00
Min RK
c52b70561c dblclick to unconfine on images in html output 2015-03-29 14:01:34 -07:00
Min RK
dd41d9fd5c calc max-width for Firefox
account for prompt width
2015-03-29 14:01:33 -07:00
Min RK
597208a50a set max-width on output_subarea
for Firefox
2015-03-29 14:01:33 -07:00
Min RK
4efc68542d another stab at confining images to page width
- double-click toggles 'raw' size for large image output
- uses max-width on both markdown and output images
- `height: auto` fixes aspect ratio problems caused by using max-width alone
- img.unconfined disables max-width confinement
2015-03-29 14:01:32 -07:00
Matthias Bussonnier
38585a1257 Merge pull request #8174 from minrk/notification-pad
add 4px between notification areas
2015-03-28 17:49:38 -07:00
Brian Drawert
7b856fb21d Fix for CVE-2014-3566 'POODLE' SSL attack, original commit '22c4922f4796078c5613de9e07e66b8764549cad' 2015-03-28 13:22:08 -07:00
Min RK
db08a5e8e5 remove ipython_kernel.zmq sub-pkg 2015-03-27 17:46:25 -07:00
Min RK
20a3f1c07b finish kernel shims 2015-03-27 17:46:25 -07:00
Sylvain Corlay
5ee07346dd Hold validation with context manager and validate slider 2015-03-27 20:40:55 -04:00
Min RK
35465ebcfe Merge pull request #8107 from SylvainCorlay/instance_type_allow_none
allow_none=False by default for Instance and Type
2015-03-27 17:38:49 -07:00
Min RK
2f2a0fcbcb Merge pull request #8176 from gilbertw/master
Fixes bug that would show "null" as the reason in the don't leave dialog
2015-03-27 17:36:28 -07:00
Sylvain Corlay
fa1fce83db remove unnecessary allow_none=True 2015-03-27 20:03:45 -04:00
Sylvain Corlay
1dbd95c4bc allow_none=False by default for Type and Instance 2015-03-27 19:34:59 -04:00
Min RK
7673c151a3 Merge pull request #8159 from Carreau/no-action-icon
Fix action do not provide icon.
2015-03-27 15:50:19 -07:00
RickWinter
81a912fbb9 Fixes bug that would show "null" as a message in the don't leave dialog 2015-03-27 15:49:56 -07:00
Min RK
b424166841 add 4px between notification areas 2015-03-27 15:25:59 -07:00
Jason Grout
cdf1d39ff7 Update widget test for new custom serialization changes 2015-03-27 22:24:03 +00:00
Jason Grout
15c29f685c Change custom serialization to use custom models, rather than transmitting the serializer name across the wire
This separates the kernel and the js much more cleanly, and doesn't use as much space on the wire as well!
2015-03-27 21:03:12 +00:00
Min RK
4ab4ee120e Merge pull request #8164 from Carreau/open-window
replace undefined by empty string to get aroung bug in ie
2015-03-27 12:53:16 -07:00
Min RK
2810bcd17a Merge pull request #8124 from jdfreder/dynamic
Dynamic traits.
2015-03-27 12:40:31 -07:00
Matthias Bussonnier
65d50451da missing one undefined 2015-03-27 12:35:15 -07:00