* Reads the output after a cell has been evaluated
* Creates SR landmarks when errors happen
* fixes formatting
* Reads a clearer message when a runtime restart is required
* Update lib/livebook_web/live/session_live/cell_component.ex
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
* Write to file out-of-band
It won't block the immediate write but it may block
a subsequent write. A sync function was added for
testing purposes.
* Update lib/livebook/storage/ets.ex
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
* Create home and data_path directories if missing
* Update lib/livebook/config.ex
* Configure project-local data path for dev and test env
* Expand dev/test paths in compile config
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
* Group all runtime messages under a common prefix
* Move output specification ot the Runtime protocol
* Update doc comments
* Livebook.Evaluator -> Livebook.Runtime.Evaluator
* Livebook.ContentLoader -> Livebook.Notebook.ContentLoader
* Livebook.UniqueTask -> Livebook.Utils.UniqueTask
* Add import/export delegates to Livebook.LiveMarkdown
* Increase timeout for connecting via Mix standalone
I have hit this timeout when connecting via mix to a fairly large
application. Increasing this fixes it for my use case.
* Update lib/livebook/runtime/standalone_init.ex
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
* Serve iframes from another local port when running on http
* Use relative hostname in local iframe URL
* Simplify server start check
* Use random iframe port when Livebook runs on a random port
* Rename space/ to iframe/
* LivebookWeb.IframePlug -> LivebookWeb.IframeEndpoint
* add function to open notebook urls
* Update lib/livebook/utils.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
* Update lib/livebook/utils.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
* open notebook with notebook_open_url/2
* Update server.ex
* format Livebook.Utils
* Update lib/livebook_cli/server.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
* correct function doc
Co-authored-by: José Valim <jose.valim@gmail.com>