Commit graph

95 commits

Author SHA1 Message Date
Jonatan Kłosko
31c119a633
Persist modules bytecode to disk (#1521) 2022-11-10 16:37:57 +01:00
Alexandre de Souza
7b1addb7eb
Use WebSocket and Protobuf instead of GraphQL with Livebook Enterprise (#1504) 2022-11-03 13:49:07 -03:00
Wojtek Mach
dd68f4fe2c Add vendor/otp/erts-VSN/bin to additional paths on macOS
Just for consistency.
2022-11-02 19:06:42 +01:00
Wojtek Mach
7475e29232
Fix launching Windows desktop app (#1511)
On Windows we have erl.exe in two directories: OTP/bin/erl.exe and
OTP/erts-VSN/bin/erl.exe. The executable is identical but what is
different is the latter, the erts one, contains erlexec.dll which needs
to be present for the VM to start.

Interestingly, regardless of OS, the erl[.exe] executable always
prepends the OTP/erts-VSN/bin and OTP/bin directories to the PATH:

    iex> System.get_env("PATH") |> String.split(":") |> Enum.take(2)
    ["/Users/wojtek/.asdf/installs/erlang/25.1.2/erts-13.1.2/bin",
     "/Users/wojtek/.asdf/installs/erlang/25.1.2/bin"]

Manually prepending the erts bin directory to the PATH, which makes the
erl.exe that is to be launched to be the erts one, fixed the issue.
2022-11-02 18:19:53 +01:00
Jonatan Kłosko
b911bd71ed Release 0.7.2 2022-10-26 22:19:37 +02:00
Wojtek Mach
7bf1904d8b Add /usr/local/bin after vendored paths 2022-10-24 15:47:18 +02:00
Wojtek Mach
e152c9d1a7
Fix vendoring OTP (#1495)
Summary of changes:

- Vendor OTP at: rel/vendor/otp
- Remove rel/vendor/otp/lib/*/src
- Include /usr/local/bin in $PATH. This is not there by default and that's where homebrew (on x86_64) installs things so it should make it easier to build some packages with NIFs.
2022-10-24 10:56:16 +02:00
Jonatan Kłosko
fc78929cd1 Release 0.7.1 2022-10-09 21:42:49 +02:00
Jonatan Kłosko
33620284b7 Release 0.7.0 2022-10-07 12:20:37 +02:00
José Valim
6da00daffd
Update to LV 0.18 (#1426) 2022-10-04 08:46:55 +02:00
Jonatan Kłosko
9ff3131546
Update dependencies (#1452) 2022-09-30 21:35:56 +02:00
Wojtek Mach
52cf7c8a5b
Minor bootstrap improvements (#1380) 2022-09-02 12:03:32 +02:00
Alexandre de Souza
bea5d0bb76
Fix file system change from S3 to local (#1377) 2022-09-01 13:25:42 -03:00
Cristine Guadelupe
443ff8bf9f
Unavailable secret error (#1371)
* Show an Add Secret button for System.EnvError

* Extracts render_formatted

* Rewrite the env error message

* Renames the env error type

* Applying suggestions

* Applying suggestions (live patch)

* Test for unavailable secrets

* Bump to rc.1

* Applying suggestions (error message)

* New error message

* Prefill the secret value

* Applying suggestions (error message output)

* Update test/livebook_web/live/session_live_test.exs

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

* Update lib/livebook/runtime.ex

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

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-31 20:45:55 -03:00
Alexandre de Souza
77c8804d62
User and Hub forms with Changeset validations and input errors (#1347) 2022-08-22 18:12:54 -03:00
José Valim
b9b2f7514e
Support more recent Elixir versions too (#1344) 2022-08-12 19:04:15 +02:00
Jonatan Kłosko
3d5c7c3fad
Require Elixir 1.14 (#1342) 2022-08-11 20:13:57 +02:00
Wojtek Mach
093a466161
Bump Elixir to v1.14.0-rc.0 for the desktop (#1339) 2022-08-10 15:07:54 +02:00
Jonatan Kłosko
2b2ecccaec
Update dependencies (#1321) 2022-08-02 15:26:45 +02:00
Wojtek Mach
8da05a5c5a
Rename AppBuilder to AppBundler (#1283) 2022-07-19 14:48:07 +02:00
Wojtek Mach
4ec919f60b
App bundling improvements (#1279) 2022-07-18 11:51:17 +02:00
Jonatan Kłosko
5a3f5ff4b6
Release 0.6.3 (#1272) 2022-07-13 13:02:43 +02:00
Wojtek Mach
789a44a7da
Convert Mac launcher to a Cocoa app (#1263)
1. Add `:event_handler` app option. It is a process that will receive
   the app events, the `:open_app`, `{:open_url, url}`, and
   `{:open_file, path}` messages.

2. Add `AppBuilder.init/0`. This reads the `APP_BUILDER_INPUT` env
   variable which contains the app event the release was started with.

3. Use <https://github.com/wojtekmach/otp/tree/wm-WX_MACOS_NON_GUI_APP>
   branch which contains wx fix that hasn't been merged yet.
2022-07-06 19:27:06 +02:00
Jonatan Kłosko
1144d581fc
Release 0.6.2 (#1258) 2022-06-30 21:01:23 +02:00
Wojtek Mach
55be1ff7cd Add missing app_type: :agent 2022-06-03 13:56:16 +02:00
Wojtek Mach
c9f022d637
Allow overwriting any bundler option per OS (#1213) 2022-06-02 21:33:23 +02:00
Wojtek Mach
fc7328703a
App bundling improvements (#1211)
1. Replace `mix release mac_app|mac_app_dmg|windows_installer` with a single `mix release app`
2. Extract templates (Launcher.swift, Launcher.vbs, etc) into separate
   files in app_builder/lib/templates
3. Don't verify vc_redist.x64.exe checksum as the Microsoft publishes
   new releases on the same URL
2022-06-01 22:29:54 +02:00
Wojtek Mach
fc82b55dab
Desktop icon improvements (#1201) 2022-05-27 14:45:20 +02:00
Wojtek Mach
5af5c75108
Run Mac app in the background (#1199) 2022-05-20 14:27:04 +02:00
Wojtek Mach
f5afac9497 Remove otp version check when building desktop app
Since we're building our own OTP for Mac, the idea was not to
accidentally building agains something we happen to be testing at the
moment, like the latest RC. This check turned out to be a little bit
too annoying in practice though. We plan to automate builds on CI
in the near future so we wouldn't need it the anyway.

Closes #1177
2022-05-06 23:53:10 +02:00
Jonatan Kłosko
c1a4c8c045
Release 0.6.1 (#1175) 2022-05-06 17:22:35 +02:00
Jonatan Kłosko
40c945502f
Include iframe in the hex archive (#1174) 2022-05-06 10:28:01 +02:00
Jonatan Kłosko
3ad817ac69
Release 0.6.0 (#1165) 2022-05-03 16:24:49 +02:00
Wojtek Mach
e5092e4c99
Add taskbar icon to desktop app (#1119) 2022-04-21 09:51:48 +02:00
Wojtek Mach
29f0f54bbd
Desktop app packaging for Windows (#1032) 2022-03-02 12:06:30 +01:00
Wojtek Mach
2c34f62c11
standalone.exs: Ensure OTP version (#987) 2022-02-07 12:33:28 +01:00
Jonatan Kłosko
b728d9deba
Release 0.5.2 (#946) 2022-01-27 16:35:17 +01:00
José Valim
c0601798f3
Improvements to release (#944)
* Run in interactive mode: it uses less memory and improves
    boot time, which is the most desired properties for a dev tool

  * Do not use releases/cookie, instead generate one on boot
2022-01-27 14:52:59 +01:00
Roberto Estrada
5110f85e73
macOS App includes elixir, erlang for standalone mode (#929) 2022-01-24 23:41:49 +01:00
Mario Uher
4bc264e154
Make icon on macOS look more native (#924) 2022-01-23 13:03:24 +01:00
José Valim
716af1bae2 Add a default release 2022-01-20 15:36:27 +01:00
Jonatan Kłosko
2ee3efcbd4
Release 0.5.1 (#904) 2022-01-20 11:44:58 +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
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
Wojtek Mach
e8c80bf6a7
Add Mac app release (#865) 2022-01-17 17:34:38 +01:00
Alex Kwiatkowski
2688a685b9
Support telemetry poller 1.0 (#799) 2021-12-12 09:40:38 +01:00
Jonatan Kłosko
e0c68f30f3
Release 0.4.1 (#783) 2021-12-09 22:36:22 +01:00