Min RK
c05138a219
Merge pull request #1956 from jasongrout/fontsize
...
Make the font size more robust against fickle browser values.
9 years ago
Jason Grout
c3de744fe9
Return after error condition.
9 years ago
Jason Grout
66146cc265
Write the get_output_callback_id function that we use.
9 years ago
Jason Grout
5d84a55e4a
Add an output callback override stack
...
This allows us to override output callbacks to redirect output messages, and is used to implement the Output widget, for example. It does not redirect status messages or messages on other channels.
9 years ago
Jason Grout
e2c0b6b5b7
Fix a subtle async bug in processing comm messages.
...
Basically, message processing did not wait for any promises a comm message handler may return to resolve, because comms were not set up to resolve return values of message handlers.
9 years ago
Jason Grout
d376b35636
Make the font size more robust against fickle browser values.
...
Also change the line-height multiplier to 1.3, which is closer to what the CSS is (I think it is 1.21 something.)
Thanks to @williamstein and @haraldschilly for bringing this to our attention: https://github.com/sagemathinc/smc/issues/1262
We also re-enable auto scrolling for Firefox, since this might have been the issue.
9 years ago
Grant Nestor
19c9a791cc
Pass `options.index` to `OutputArea.register_mime_type` to set `display_order` index
10 years ago
Grant Nestor
a4744c696f
Expose `OutputArea.mime_types` to allow extensions to calculate `display_order` index
10 years ago
Min RK
316bfdbd1e
Catch and log handler exceptions in events.trigger
...
rather than throwing handler errors in the call to `.trigger()`
Extensions can register buggy event handlers.
These should not be able to cause failures in the event-triggering code paths.
This should fix several avenues where extensions (or other bugs) could prevent a notebook from loading.
10 years ago
Grant Nestor
8d66114992
Change max-width for tables to 150px
10 years ago
alexandercbooth
fd9cddd82a
chore(baseUrl): remove forward slash from path
10 years ago
alexandercbooth
cf37b9f145
[WIP] chore(baseUrl): add base_url to download_selected
10 years ago
Grant Nestor
bbec3d7cc1
Do not overwrite `OutputArea.trusted` on `Notebook.render_cell_output`
10 years ago
Grant Nestor
dca820e845
Improve `Notebook.render_cell_output`
10 years ago
Grant Nestor
6f929697f3
Add `Notebook.render_cell_output` method
10 years ago
Kyle Kelley
6df840e19d
Merge pull request #1879 from minrk/display_data_update
...
support routing updating outputs with display_id
10 years ago
Min RK
c0a6e41038
support display_id in execute_result
...
make update_display handling clearer and separate from regular display_data
10 years ago
Kyle Kelley
bdee765dd3
Merge pull request #1896 from gnestor/mime-json-suffix
...
Accept JSON output data with mime type "application/*+json"
10 years ago
Grant Nestor
8e0de400ae
Accept JSON output data with mime type "application/*+json"
10 years ago
Thomas Kluyver
78dc8a8c7a
Fix extending range selection down to markdown cell
...
The 'moveanchor' argument was not getting passed down to the parent
class' select() method.
Closes gh-1589
10 years ago
Thomas Kluyver
89c6f9e631
Merge pull request #1838 from yuvipanda/xterm-2.0.1
...
terminal: Bump xterm.js to 2.0.1
10 years ago
YuviPanda
ae5f345d35
Remove deprecated xterm.js constructor params
10 years ago
Min RK
bff750397c
clarify some variable names
10 years ago
Min RK
0c90391f8a
handle display-updates as updates
10 years ago
Min RK
a7a30c3bde
fix handling of display_id repeats in a single output area
10 years ago
Min RK
5b2279c192
support repeat displays with id
10 years ago
Min RK
f82f2568f5
Support update_display
10 years ago
Matthias Bussonnier
606b7377ae
Merge pull request #1866 from gnestor/register-mime-type
...
Add a `register_mime_type` method to OutputArea
10 years ago
Matthias Bussonnier
8d666c603f
Merge pull request #1863 from Carreau/rtl-action-toggle
...
Add a quick action to have the possibility to toggle rtl-layout.
10 years ago
Grant Nestor
4cf93c8c57
Add a `register_mime_type` method to OutputArea
10 years ago
Min RK
b058209984
strip default metadata in Cell.toJSON
...
avoids saving redundant default info in files
10 years ago
Min RK
61afdb7432
don't set default editable/deletable metadata
...
it fills notebooks with redundant flags
these should only be set if defined and not-default
10 years ago
Matthias Bussonnier
04a431a77e
Add a quick action to have the possibility to toggle rtl-layout.
10 years ago
Grant Nestor
795e267aab
Add hover styles to HTML table row
10 years ago
Min RK
0f05b2bf26
display_id comes from transient dict, not top-level
10 years ago
Min RK
30d3406f54
allow updating display_data messages in-place using display_id
10 years ago
Kyle Kelley
2456687a12
Merge pull request #1826 from minrk/cell-clears-callbacks
...
don’t clear callbacks for cell output until next execute
10 years ago
Thomas Kluyver
cb88603ff1
Merge pull request #1837 from gnestor/busy-favicon
...
Change favicon when busy
10 years ago
Grant Nestor
b5cff95619
Don't change title when busy
10 years ago
Grant Nestor
e832689923
Change favicon when busy
10 years ago
Grant Nestor
d2a6221c23
Fix: Carriage symbol should behave like in console
10 years ago
Min RK
1c930b1b9c
don’t clear callbacks for cell output until next execute
...
adds callbacks.clear_on_done bool flag for kernel callbacks.
Default: true (current behavior)
Setting to false means that the caller is taking responsibility for clearing callbacks.
Use this in cells to only clear callbacks on the next execution, for better handling of async output.
10 years ago
Thomas Kluyver
f8f53ee805
Merge pull request #1807 from minrk/set-dirty-output
...
set dirty flag when output arrives
10 years ago
Min RK
22b3efb39d
set dirty flag when output arrives
...
and when the prompt changes
we were previously only setting dirty when execution finishes, leaving dirty=false during many changes until the output is complete
10 years ago
Min RK
92d3f4235d
Merge pull request #1359 from blink1073/generic-session
...
Update the session api in preparation for file and console sessions
10 years ago
Matthias Bussonnier
558ed9a6db
Merge pull request #1769 from gnestor/persist-header-toggle
...
Persist header and toolbar toggle status in nbconfig
10 years ago
Ashish Dahiya
c38c476df8
Create ws_url from wsUrl attribute. If wsUrl is not found, fallback to location.host
10 years ago
Matthias Bussonnier
111e41f521
Merge pull request #1776 from gnestor/html-table-styles
...
Update table styles to be consistent with JupyterLab
10 years ago
spoorthyv
6a3260b435
Updated Jupyter Logos
10 years ago
Matthias Bussonnier
dd4b052403
Merge pull request #1482 from yuvipanda/readonly-cells
...
Respect 'editable' cell metadata
10 years ago