Commit graph

965 commits

Author SHA1 Message Date
Roberto Estrada 5110f85e73
macOS App includes elixir, erlang for standalone mode (#929) 2022-01-24 23:41:49 +01:00
gpopides 1b7b3080e1
disconnect node from remote machine (#915)
* disconnect node from remote machine

* return ok if disconnect is successful

* formatting

* Update lib/livebook/runtime/attached.ex

* move disconnection of node to NodeManager

* add doc about parent node option

* Update lib/livebook/runtime/erl_dist/node_manager.ex

Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-01-24 23:23:31 +01:00
Wojtek Mach 5579258722
Bump Elixir to 1.13.2 for Mac builds 2022-01-24 22:45:55 +01:00
jonatanklosko e861564d22 Update assets 2022-01-24 10:31:44 +00:00
Joe Martinez 961581bfc7
bump phoenix_live_view to 0.17.6 (#919)
* bump phoenix_live_view to 0.17.6

* revert change to static dir

* fix deprecation warning
2022-01-24 11:30:07 +01:00
jonatanklosko 284a78278e Update assets 2022-01-24 10:23:00 +00:00
Joe Martinez cd958f1492
warn if clipboard support is missing (#922)
* warn if clipboard support is missing

* make the message a bit more helpful

* Update assets/js/app.js

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-01-24 11:21:13 +01:00
José Valim e94950e70c Move CHANGELOG introduction to new release page 2022-01-24 10:23:15 +01:00
Wojtek Mach 97c64cedb8
Open Livebook homepage on :reopen_app event (#928) 2022-01-23 20:46:30 +01:00
Wojtek Mach 88a92f8b2d Fix CFBundleShortVersionString and CFBundleVersion values 2022-01-23 20:23:52 +01:00
Mario Uher 4bc264e154
Make icon on macOS look more native (#924) 2022-01-23 13:03:24 +01:00
Cristine Guadelupe 930b3293f0
Doctests for format bytes (#921)
* Doctests for format bytes

* Update lib/livebook/utils.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-01-22 20:04:20 -03:00
Cristine Guadelupe 4f197698ae
Favicon as png to work on Safari (#920) 2022-01-22 18:15:06 -03:00
cristineguadelupe a648a4768e Update assets 2022-01-22 20:48:52 +00:00
Cristine Guadelupe c2feceba37
Redesign the memory info chart on home (#918) 2022-01-22 17:46:53 -03:00
jonatanklosko a5845c65b7 Update assets 2022-01-22 18:37:54 +00:00
Roberto Estrada cdb17e8573
Adds font-awesome when is required (mermaid). (#913)
* Adds font-awesome when is required (mermaid).

* applied suggestions

* format with prettier vscode plugin
2022-01-22 19:36:00 +01:00
josevalim b42d28f7a8 Update assets 2022-01-22 17:32:21 +00:00
José Valim c58ab447e5 Compute memory information on every session list render 2022-01-22 18:30:37 +01:00
Jonatan Kłosko e9ea88e180
Fix race conditions in message scheduling (#916)
* Fix race conditions in message scheduling

* Flush already fired timer message

* Move unscheduling to a separate function
2022-01-22 18:23:16 +01:00
josevalim d51abc3706 Update assets 2022-01-22 16:18:58 +00:00
José Valim 70a9a95d4e
Improvements to memory tracking (#917)
* Address race condition on cancel timer
* Include memory measurement as part of evaluation metadata
* Move periodic resource computation to a single process
* Have a explicit call out for total memory
2022-01-22 17:17:20 +01:00
cristineguadelupe 69ccad2fbd Update assets 2022-01-21 22:26:42 +00:00
Cristine Guadelupe 6180bb1ff2
Track memory usage - visualization (#898)
* Utils to fetch and format system and node memory usage

* Order by memory

* Track memory on session

* Show memory usage on runtime sidebar

* Shows memory usage percentage on home

* Layout adjustments

* Sidebar design adjustments to match Figma

* Home design adjustments to show the memory information

* Move memory calculations to utils

* Shows disconnected notebooks as consuming 0mb on home

* Simplifies the data structure of memory usage

* Node memory tracker on runtime

* Clean up

* Renames node memory to runtime memory

* Standardizes the data structure of memory usage

* Sends evaluation_finished to the runtime to update the memory usage after an evaluation

* Fix: The evalutor does not notify when there is no notify_to option

* Adds a test with the notify_to option to the evaluator

* Documents the notify_to option

* Minor fixes on runtime and runtime_server

* Minor fixes on sessions

* Minor adjustments

* Updates docs and specs on Utils

* Minor adjustments on session_live

* Fix total memory used by sessions on home

* Put duplicated functions on helpers

* Better filter by memory

* Fix the tooltip text for memory information on sidebar

* Minor alignment adjustment on home
2022-01-21 19:24:47 -03:00
Kevin 0405690177
Fix macOS build (#911) 2022-01-21 10:48:21 +01:00
José Valim bd3363acde
Allow LIVEBOOK_PORT to be set to 0 for a random port (#906) 2022-01-21 09:18:02 +01:00
Wojtek Mach 526499dfa5 Update Mac error alert style 2022-01-20 21:33:07 +01:00
Wojtek Mach f4397d36b9
Add Swift launcher (#905) 2022-01-20 21:27:37 +01:00
José Valim 716af1bae2 Add a default release 2022-01-20 15:36:27 +01:00
Jonatan Kłosko 72e1c001e2 Fix heading in changelog 2022-01-20 12:03:15 +01:00
Jonatan Kłosko 2ee3efcbd4
Release 0.5.1 (#904) 2022-01-20 11:44:58 +01:00
Jonatan Kłosko 5411035937
Remove unnecessary scrollbar in Mix runtime modal (#903) 2022-01-20 11:35:54 +01:00
jonatanklosko a525fdb1d5 Update assets 2022-01-20 10:31:33 +00:00
Jonatan Kłosko a9f9c68cfa
Compute iframe base URL based on page origin (#902)
* Compute iframe base URL based on page origin

* Format
2022-01-20 11:29:45 +01:00
José Valim 8bbabcbdb4 Clarify some env vars in the README 2022-01-20 10:43:02 +01:00
Krishnamohan Chivukula 14eb8beaad
Update README.md (#897)
Added description for mermaid support added in 0.5.
2022-01-20 10:07:27 +01:00
Wojtek Mach 909b00bfbc
Clean up building Info.plist (#900) 2022-01-20 09:58:26 +01:00
Kevin cd757f8811
Add version to Mac app (#899) 2022-01-20 09:01:08 +01:00
Wojtek Mach 048446a16b Remove duplicate entry for app_builder 2022-01-20 08:49:19 +01:00
José Valim 112b47908d
Small fixes (#896)
* Hide app builder unless target matches
* Fix compile-time warnings on Elixir v1.14+
2022-01-19 22:20:05 +01:00
Kevin 8fb937340a
Set root path to $HOME (#887) 2022-01-19 21:38:15 +01:00
Jonatan Kłosko 0039dcd0b7 Fix link in changelog 2022-01-19 21:00:35 +01:00
Jonatan Kłosko c380e1663f Make local app_builder a :dev dependency 2022-01-19 20:03:06 +01:00
Jonatan Kłosko 81c9871802
Release 0.5.0 (#895)
* Update Kino version

* Bump version
2022-01-19 19:58:54 +01:00
Jonatan Kłosko 5c1c61d0f2
Update broadcast_event in Kino.JS.Live guide (#894) 2022-01-19 19:39:57 +01:00
José Valim b9b901648c
Further improvements to pong and custom kino notebooks (#886) 2022-01-19 19:01:27 +01:00
jonatanklosko 000ac88b06 Update assets 2022-01-19 17:35:11 +00:00
Jonatan Kłosko 54a2e3f55b
Update changelog (#891) 2022-01-19 18:33:38 +01:00
Jonatan Kłosko 0b58ba9331
Adjust JS iframe default styles (#893) 2022-01-19 18:32:58 +01:00
Jonatan Kłosko 6aaf1d5b58
Fix output ambiguity in livemd import/export (#892)
* Fix output ambiguity in livemd import/export

* Update test/livebook/live_markdown/import_test.exs

Co-authored-by: José Valim <jose.valim@dashbit.co>

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-01-19 18:27:56 +01:00