José Valim
8b203a8379
Use IO.ANSI.Docs to format mix help
2014-05-08 20:13:29 +02:00
José Valim
de26484bda
Normalize IEx and ExUnit configurations
2014-05-08 19:07:25 +02:00
José Valim
a184b4061e
Rename :application to Application and remove unused fixtures
2014-05-08 16:55:14 +02:00
Eric Meadows-Jönsson
a9b2a95011
Allow records without field default values
2014-05-08 13:30:46 +02:00
José Valim
e9d13d5858
Ensure proper @type is generated for dynamic struct
2014-05-07 20:03:55 +02:00
José Valim
64c5acb923
Fix syntax error on .%, closes #2245
2014-05-07 19:36:31 +02:00
José Valim
9bc8925018
Ensure defrecord and defstruct executes its args
2014-05-07 14:39:19 +02:00
James Fish
c2ceeb9ea4
Improve application error formatting
...
* Format (nested) supervision tree init failures
* Format :gen_server exit reasons
* Fixes :invalid_options text
* Fixes text when when application start returns {:error, reason}
2014-05-07 00:22:51 +01:00
José Valim
c5ffa76663
Soft deprecate is_exception/1 in favor of Exception.exception?/1
2014-05-06 19:01:36 +02:00
José Valim
f1effcb485
Use Exception.message/1 instead of exception.message
2014-05-06 18:33:02 +02:00
José Valim
78ba84612c
Ensure aliases are respected on root, closes #2227
2014-05-06 14:39:12 +02:00
José Valim
7665a50a2d
Rename symlink to ln_s according to File's convention
2014-05-06 13:29:00 +02:00
José Valim
dfb8f38ce3
Merge pull request #2123 from duksis/symlink_on_file
...
Adds symlink to File
2014-05-06 20:24:59 +09:00
José Valim
cd99add62d
Create remote funs even in &mod.fun/arity, closes #2133
2014-05-06 12:44:02 +02:00
Gonçalo Cabrita
2d48d2ed5b
Fix two test cases
2014-05-05 21:24:51 +00:00
José Valim
52ad74cdfc
Only print char lists if in the ascii range
2014-05-05 20:02:36 +02:00
José Valim
b2608e4fe7
Print all errors in case of missing files, closes #2239
2014-05-05 19:15:00 +02:00
José Valim
91497b9f15
Rename format_message to format_banner
2014-05-05 17:57:24 +02:00
José Valim
a3d85c0bad
Rename format_reason to format_exit, make some defs private
2014-05-05 17:35:44 +02:00
José Valim
839afc4f3e
Merge pull request #2235 from fishcakez/exception_format
...
Format exceptions consistently
2014-05-06 00:11:47 +09:00
José Valim
cbdfe4a14a
Also support tuples in struct/2
2014-05-05 13:02:03 +02:00
James Fish
46b0f7b29e
Format exceptions consistently
...
* Add utility functions to Exception to format exceptions
* Format mfa exits, such as :gen_server.call/3
* Format EXIT reasons
* Fixes IEx to send formatted exception in one IO request
* Fixes IEx to format stacktraces consistently with Exception
* Fixes Mix application start error messages
2014-05-05 02:16:07 +01:00
José Valim
8797280b9e
Define an Application module
2014-05-04 12:43:49 +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
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
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
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
39e5581105
Convert Stream.Lazy into a struct.
2014-05-01 18:40:16 +02:00
José Valim
3c6e63a962
Ensure filters can compare aliases and regexes
2014-05-01 11:43:13 +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
9caab33613
Move URI and Inspect.Algebra out of Elixir records
2014-04-29 19:40:27 +02:00
José Valim
dc768eb501
Convert File.Stat to a struct
2014-04-29 17:59:36 +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
caaef2fb8f
Fix set related warnings
2014-04-28 22:46:00 +02:00
José Valim
5e7b57669e
Ensure ranges are supported on right hand side of in
2014-04-28 18:12:47 +02:00
José Valim
39d1ab741a
Convert Range to struct
2014-04-28 11:41:01 +02:00
José Valim
c91723b444
Remove deprecated code, enable previous soft deprecations
2014-04-27 13:39:32 +02:00
Lucas Weiblen
e8d7b267b5
Fix typo on MacroTest
2014-04-27 00:44:07 -03:00
José Valim
31c34dc04e
Ensure we only allow horizontal space in heredocs
2014-04-24 20:57:06 +02:00