Commit Graph
2957 Commits
Author SHA1 Message Date
José Valim 8797280b9e Define an Application module 2014-05-04 12:43:49 +02:00
José Valim 8a8b641271 Update CHANGELOG 2014-05-04 11:36:33 +02:00
Matheus Lima 07d7d538dc Adds "Elixir" to check module availability naming list 2014-05-04 11:27:25 +02:00
José Valim 939af3b459 Merge pull request #2233 from bitwalker/string-split-changes
Make String.split behave more like Regex.split
2014-05-04 11:09:14 +02:00
Paul Schoenfelder da784ebc1a Update use of deprecated :global option to use :parts 2014-05-03 23:47:37 -05:00
Paul Schoenfelder b670450b4c Use parts: :infinity instead of parts: 0 to split globally. 2014-05-03 23:38:08 -05:00
Paul Schoenfelder 03b1c70433 Add deprecation warning for :global in String.split/3 2014-05-03 23:37:27 -05:00
Paul Schoenfelder e04bab1d5e Deprecate :global in Regex.split/3 2014-05-03 23:36:12 -05:00
José Valim c86ecfdf7e Add Kernel.spawn_monitor and deprecate duplicated functions from Process 2014-05-03 21:57:55 +02:00
José Valim a90580b0d1 Fix how Elixir.Elixir is inspected 2014-05-03 21:52:58 +02:00
José Valim 60e663f26c Fix typo on Kernel.CLI 2014-05-03 12:40:40 +02:00
Paul Schoenfelder bf81156dbc Make String.split behave more like Regex.split 2014-05-02 20:52:19 -05:00
José Valim a67fe46ca5 Do not recompile the whole project when an .eex file changes
Right now, we simply trust the user that any external
dependency will be listed as a @file and use those
to track any external dependency.
2014-05-02 14:01:06 +02:00
José Valim ba40cb8a3e Deprecate Process.delete/0 2014-05-01 21:10:14 +02:00
Eric Meadows-Jönsson 5539ad4536 Fix iex startup 2014-05-01 20:10:48 +02:00
José Valim c74a7781a8 Fix formatting and move Version.Schema to Version 2014-05-01 19:14:04 +02:00
Martin Schürrer 0966aea8a5 Convert Version.Schema and Version.Requirement into structs. 2014-05-01 18:47:14 +02:00
Martin Schürrer ea6272f59e Convert Kernel.CLI.Config into a map. 2014-05-01 18:40:17 +02:00
Martin Schürrer 9d3b7bb4d2 Convert StringIO's state record into a map. 2014-05-01 18:40:17 +02:00
Martin Schürrer 39e5581105 Convert Stream.Lazy into a struct. 2014-05-01 18:40:16 +02:00
José Valim 92ccf4bf1d Convert Inspect.Opts into a struct 2014-05-01 13:15:08 +02:00
José Valim fe042c5463 Add Exception.message 2014-05-01 12:41:03 +02:00
José Valim 3c6e63a962 Ensure filters can compare aliases and regexes 2014-05-01 11:43:13 +02:00
José Valim 27a787e531 Simplify exunit test name generation and update code samples 2014-04-30 23:36:44 +02:00
José Valim fdf53787cf Remove unecessary .hrl macros 2014-04-30 19:24:04 +02:00
José Valim c435dbe38d Convert #elixir_env to a struct too 2014-04-30 16:32:13 +02:00
José Valim e5c13e6dd2 Convert Macro.Env to a struct 2014-04-30 15:07:50 +02:00
José Valim d53a6a3491 Ensure string switches are not treated as booleans, closes #2218 2014-04-30 12:48:39 +02:00
José Valim 37d05da0ac Add a test to ensure Code.eval_quoted keeps stacktrace 2014-04-30 11:52:57 +02:00
José Valim dc0fd7675b Merge pull request #2216 from fishcakez/eval_stack
Fix stacktraces for :elixir.eval_forms/4
2014-04-30 18:27:10 +09:00
James Fish be0564b536 Fix some dialyzer warnings 2014-04-30 00:44:40 +01:00
José Valim 97d4c02a8f iodata_size -> iodata_length 2014-04-29 20:55:59 +02:00
José Valim 4049a79b28 Revert "Convert StringIO to a struct."
This reverts commit a49c539a9d.
2014-04-29 20:50:16 +02:00
José Valim 9caab33613 Move URI and Inspect.Algebra out of Elixir records 2014-04-29 19:40:27 +02:00
Martin Schürrer a49c539a9d Convert StringIO to a struct. 2014-04-29 19:12:46 +02:00
James Fish 68d1bd9308 Fix stacktraces for :elixir.eval_forms/4
:erl_eval and :eval_bits can call :erlang.raise/3 with an incomplete
stacktrace, so extend the stacktrace when this occurs.

Mailing list thread:
https://groups.google.com/forum/#!topic/elixir-lang-core/cpSlgBjrRBQ
2014-04-29 17:57:39 +01:00
José Valim dc768eb501 Convert File.Stat to a struct 2014-04-29 17:59:36 +02:00
José Valim ee78e10089 Disable ANSI on Windows 2014-04-29 16:52:35 +02:00
José Valim 6a5348b780 Improves macro expansion stacktraces, closes #2211
We make sure the paths in stacktraces are relatives
and properly point which macros are being expanded.
2014-04-29 16:18:04 +02:00
José Valim 0814d0b442 Properly format binary tokens on errors, closes #2144 2014-04-29 15:05:24 +02:00
Eric Meadows-Jönsson c57978ba30 Improve default args with multiple clauses error message 2014-04-29 14:04:46 +02:00
José Valim 8e4a8e9ed6 Do not call :io.columns on every inspect, closes #2036 2014-04-29 13:50:29 +02:00
José Valim 7415382c72 Merge pull request #2208 from fishcakez/dialyzer_fixes
[WIP] Fix some dialyzer warnings
2014-04-29 11:31:36 +02:00
José Valim caaef2fb8f Fix set related warnings 2014-04-28 22:46:00 +02:00
James Fish 5cadeeea67 Fix some dialyzer warnings 2014-04-28 21:33:03 +01:00
José Valim 3a1857c5ba Add comments to dialyzer work around 2014-04-28 20:47:11 +02:00
José Valim eec0211521 Merge pull request #2207 from fishcakez/dialyzer_abstract
Fix remote calls to work with dialyzer in 17.0
2014-04-28 20:44:31 +02:00
James Fish 93182b53cf Fix remote calls to work with dialyzer in 17.0
In 17.0 dialyzer will crash on an empty map case pattern when its is
known that pattern will not match. The is_map guard is used instead of
the empty map pattern.
2014-04-28 17:46:15 +01:00
José Valim 0a9b58eb8f Fix IO docs 2014-04-28 18:41:41 +02:00
José Valim 5e7b57669e Ensure ranges are supported on right hand side of in 2014-04-28 18:12:47 +02:00