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
José Valim
b5ad462f27
Simplify binding implementation
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
011ad07d7d
Convert internal records to structs
2014-05-07 23:00:51 +02:00
José Valim
e9d13d5858
Ensure proper @type is generated for dynamic struct
2014-05-07 20:03:55 +02:00
José Valim
25a5dbc08b
Only check for erlang release when copying .app file
...
This way we avoid the cost of checking it on every command.
When copying the .app file must be enough as we'd change
the Erlang requirement only on new versions.
2014-05-07 19:49:05 +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
José Valim
1e5633c4a1
Merge pull request #2242 from fishcakez/format_otp_exit
...
[WIP] Improve OTP behaviour error formatting
2014-05-07 14:16:21 +02:00
José Valim
6d44180ec2
Merge pull request #2243 from meh/dict
...
Implement default pop/2, pop/3, update/4, update!/3 for Dict.Behaviour
2014-05-07 14:09:43 +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
b0a5197f42
Convert ExUnit.Test and ExUnit.TestCase to structs
2014-05-06 22:24:03 +02:00
meh
235c4d61b9
Implement default pop/2, pop/3, update/4, update!/3 for Dict.Behaviour
2014-05-06 21:52:57 +02: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
José Valim
615a54e8bf
Hide module's location attribute
2014-05-06 10:46:30 +02:00
José Valim
ad00d0ad6d
Merge pull request #2240 from gmcabrita/fix-duplicated-module
...
Improve compiler message when duplicated modules are detected
2014-05-06 10:40:21 +02:00
Rasmus
82238a8d20
Removed superfluous 'be'
2014-05-06 02:20:31 +02:00
Gonçalo Cabrita
66e70ac72f
Fix compile error during boostraping
2014-05-06 01:01:30 +01:00
Gonçalo Cabrita
2d48d2ed5b
Fix two test cases
2014-05-05 21:24:51 +00:00
Gonçalo Cabrita
8b54e28086
Compiler now mentions which file has a duplicated module. Fixes #2131
2014-05-05 21:24:51 +00:00
José Valim
b2004b8e86
Do not throw/catch, instead use Process.info/2
2014-05-05 23:05:02 +02: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
aed52e44d1
Use Application.format_reason when formatting application exits
2014-05-05 18:46:27 +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
abc293bff8
Mention how generators in comprehensions can be used for filtering
2014-05-05 13:13:45 +02: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
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