Commit Graph
270 Commits
Author SHA1 Message Date
José Valim bb0362f3f6 Start v1.21 2026-05-21 13:37:31 +02:00
José Valim 6050b8400a Release v1.20.0-rc.5 2026-05-13 16:15:18 +02:00
José Valim 9e4eb3dc49 Release v1.20.0-rc.4 2026-03-31 09:55:32 +02:00
José Valim 2db87ebc70 Release v1.20.0-rc.3 2026-03-09 19:49:28 +01:00
José Valim 0df45fdba1 Release v1.20.0-rc.2 2026-03-04 16:16:54 +01:00
José Valim 3bb5f92fa9 Release v1.20.0-rc.1 2026-01-13 11:46:20 +01:00
José Valim 0f9d919074 Release v1.20.0-rc.0 2026-01-09 19:38:19 +01:00
José Valim c001cbdd62 Start v1.20 2025-06-07 20:21:32 +02:00
Jonatan Männchen 980500551c Inline Licence Info & Copyright for non-test files (#14256) 2025-02-07 21:11:09 +01:00
José Valim f557991310 Make --color/--no-color consistent with mix test 2025-01-22 17:38:51 +01:00
José Valim aea54fc202 Remove powershell scripts
It current leaves the shell broken after quitting Erlang.

Issues have been reported upstream, so we may be able
to bring it back in future Erlang/OTP versions.

Closes #14174.
2025-01-13 11:29:21 +01:00
José Valim 2f8311b7a3 Add --color for easy enabling and disabling of coloring (#14183) 2025-01-13 08:54:07 +01:00
José Valim e2f0196848 Simplify bat and ps1 files (#14180) 2025-01-13 07:33:06 +01:00
José Valim ef7c11814f Require Erlang/OTP 26+ (#14045) 2024-12-10 15:38:02 +01:00
José Valim 80c51cce96 Start v1.19 2024-12-10 15:05:41 +01:00
Philip Sampaio ac933f71f6 Add PowerShell scripts (#13592)
The idea is to provide them as alternative to bat scripts and potentially
replace all bat scripts in the future. One benefit of using PowerShell is
that we can also run it on Linux systems, facilitating dev and testing.
2024-06-11 12:17:36 +02:00
José Valim 54b3736eac Remove --werl support 2024-05-24 12:46:21 +02:00
José Valim 5a4356fd56 Start Elixir v1.18 2024-05-24 12:43:13 +02:00
José Valim 18db5220ce Check for exclamation marks on Windows (#13166)
Closes #13165.
2024-05-24 09:13:22 +02:00
José Valim 26d18e5af4 Respect quoting for Elixir args on Windows (#13566)
Closes #13565
2024-05-17 11:26:06 +02:00
José Valim cbb8f139a3 Fix --dbg handling in bin/elixir, closes #13482 2024-04-08 09:31:13 +02:00
José Valim 56768edb56 Always pass -noshell when starting iex, fix Erlang/OTP 25 2024-02-29 15:42:09 +01:00
José Valim b3710dea97 Always start IEx shell via -user
There is some uncertainty as to wether it will be possible
to start an IEx shell dynamically from a -noshell environment.

Therefore, this PR simplifies the shell booting to still
rely on -user, as it did earlier than Erlang/OTP 26.
2024-02-29 14:48:54 +01:00
Wojtek Mach 496706ee7b elixir.bat: Quote file paths (#13172) 2023-12-12 14:31:12 +01:00
José Valim 5949460d63 Start v1.17-dev 2023-10-29 12:33:01 +01:00
José Valim 2a0b83af2f Check for variable definition instead of expansion 2023-07-01 19:29:17 +02:00
cjschneider2 73b65eca5a Use printf instead of echo to output user flags (#12704)
Fixes #12677.

Using printf here prevents an error when outputting the filtered flag
`-e` as doing with with `echo "-e"` doesn't output anything
(deleting the option we wanted to filter). 

More info: https://unix.stackexchange.com/a/65819
2023-06-23 16:04:29 +02:00
José Valim 6620b48fd1 Fix dbg on Erlang/OTP 25- (#12697) 2023-06-22 20:53:17 +02:00
José Valim befe07559a Fix path on Windows 2023-06-19 16:10:07 +02:00
José Valim edc2326130 Start v1.16-dev 2023-06-03 20:27:23 +02:00
José Valim d7bdf22708 Release v1.15.0-rc.1 2023-05-29 21:08:24 +02:00
José Valim c28b5969ef Fix prompt handling in Erlang/OTP 26, closes #12584 2023-05-23 13:44:13 +02:00
José Valim 3cdb3883e4 Release v1.15.0-rc.0 2023-05-22 13:49:22 +02:00
José Valim e1eecb8ca6 Move path loading and IEx booting to Elixir (#12375)
This gives us more control to cache paths
and over boot compared to relying on scripts.

This also makes it easier for someone to provide
alternatives to IEx.
2023-02-02 21:45:24 +01:00
José Valim 61a7af6ed1 Trim down work required on boot time 2023-01-18 23:38:02 +01:00
Michal J cbfbb0b1b3 Fix escaping of positional args (#12345) (#12346)
This fixes #1234 where previous escaping pattern accidentally
used invalid character range in the regexp.

By using `@` as delimiter and pushing the `-` to the end of the
bracket we avoid both problems.
2023-01-17 20:36:37 +01:00
José Valim 7590e08106 Make pry opt-in on dbg with --dbg pry 2023-01-13 11:23:27 +01:00
Kiru 6dacd83233 Add tilde to %1 to remove the extra quotations (#12335)
Closes #12330
2023-01-12 16:21:06 +01:00
José Valim e73933a39e Update CHANGELOG and docs 2022-09-19 13:53:57 +02:00
José Valim e2d810d18f Fix argument count for --no-pry 2022-09-03 00:31:36 +02:00
José Valim fbf4b1f3c9 Start v1.15.0-dev 2022-07-27 12:54:37 +02:00
Wojtek Mach f4a0840120 Return exit code in elixir.bat (#12005) 2022-07-22 21:13:47 +02:00
Andrea Leopardi 92ad061015 Add basic IEx dbg callback (#11984) 2022-07-17 10:50:09 +02:00
Sam Aaron ff349faa10 Teach elixir.bat ELIXIR_CLI_DRY_RUN (#11916)
The *nix equivalent shell script echoes the full erl.exe path and args to stdout when the environment variable ELIXIR_CLI_DRY_RUN is set instead of executing it.

This patch adds this behaviour to the Windows bat file for consistency.
2022-06-11 00:42:12 +02:00
José Valim f9400f2b75 Evaluate --dot-iex line by line 2022-04-25 12:10:35 +02:00
José Valim cdc2a4cf1c Fix CLI when Erlang flags are given after --rpc-eval 2022-02-23 23:15:50 +01:00
Wojtek Mach f651d16cf5 Show errors for incorrect --rpc-eval usage (#11659)
Before this patch we had this:

    iex> :os.cmd('elixir --sname foo --rpc-eval bar')
    ''

    iex> :os.cmd('elixir --sname foo --rpc-eval')
    'No file named \n'
2022-02-23 15:05:23 +01:00
José Valim 6d5744ff8c Remove unecessary @ in bat file 2021-12-08 23:50:38 +01:00
José Valim cfd768d70d Make sure --version flag halts elixir and iex, closes #11453 2021-12-07 08:18:19 +01:00
José Valim 447591ff31 Start v1.14.0-dev 2021-11-01 20:57:18 +01:00