Commit Graph
3586 Commits
Author SHA1 Message Date
vanstee d9cb9c99f0 Separate atomization from tokenization 2013-08-10 16:53:03 -04:00
José Valim 978850ec9e Do not stack rm_rf errors together 2013-08-10 20:06:46 +02:00
José Valim 1b5d81c4d4 Clean up app.start tests 2013-08-10 19:28:25 +02:00
José Valim 12d6666b54 Get rid of unused variable warning 2013-08-10 19:28:15 +02:00
José Valim e83dc3495e Pass Line and File as arguments to we don't read the table twice 2013-08-10 19:09:38 +02:00
José Valim 4ade2cbd48 Merge pull request #1577 from ericmj/mix-recompile
Force recompile of project when elixir version changes
2013-08-10 10:08:42 -07:00
Eric Meadows-Jonsson bf96705d5f Recompile project if elixir version changes 2013-08-10 17:14:41 +02:00
José Valim de72fa2012 Merge pull request #1579 from pminten/add-location-of-overridden-def
Add location of overridden def in warning message
2013-08-10 06:42:38 -07:00
José Valim 55de57ced6 Ensure proper line on interpolations inside heredocs, closes #1581 2013-08-10 15:40:02 +02:00
José Valim 70421e79b1 Fix bug on sorting algorithm on certain branches, closes #1580 2013-08-10 13:28:29 +02:00
Peter Minten a538e86c0c Put overridden def test in warning_test.exs
This removes the need for a separate fixture.
2013-08-10 13:18:34 +02:00
Peter Minten 95bffca5f0 Use relative filename in redefined def warning
The absolute filename can be a bit long, which makes the warning
slightly harder to parse for humans.
2013-08-10 13:08:26 +02:00
Peter Minten e18ae5e335 Add test for overridden def warning 2013-08-10 11:59:50 +02:00
Peter Minten 00d2ad0649 Add location of overridden def in error message
When a def is overridden, for example because there are multiple
clauses with the clauses of a different def are between them, it
is nice to know where the def that was overridden starts.

This should fix #1559.
2013-08-10 11:59:24 +02:00
Guillermo Iguaran ed7965e257 Add Enum.flat_map
Returns a new collection appending the result of invoking `fun`
on each corresponding item of `collection`.
2013-08-10 02:36:16 -05:00
José Valim 730c0992b5 Add Dict.Behaviour to CHANGELOG 2013-08-09 08:42:09 +02:00
José Valim 8d6d4c37a4 Merge pull request #1574 from jwarwick/dict_typos
Fixed doc typos in Dict
2013-08-08 23:37:11 -07:00
José Valim bae0a46bab Merge pull request #1571 from sasa1977/dict_behaviour
added Dict.Behaviour
2013-08-08 23:37:02 -07:00
John Warwick 80caf331ec Fixed doc typos in Dict 2013-08-08 17:59:58 -04:00
sasa1977 47316bcae7 modifications according to comments from the pull request 2013-08-08 18:16:08 +02:00
José Valim b83eb85a25 Slight clean up on dict_test.exs 2013-08-08 17:28:01 +02:00
sasa1977 596f62c57e added Dict.Behaviour 2013-08-08 14:58:12 +02:00
José Valim 9d9bec0af2 Support --detached and --hidden options 2013-08-08 11:19:35 +02:00
José Valim db26fb2d18 Allow iex to --remsh into an Erlang node that has IEx 2013-08-08 10:46:17 +02:00
John Warwick 0c7995d119 Fixed doc typos in Enum 2013-08-07 17:24:25 -04:00
John Warwick 7aa28e042e Fixed doc typos in List 2013-08-07 17:09:37 -04:00
José Valim c0ad8c5539 Clean up Dict interface 2013-08-07 19:42:55 +02:00
José Valim 03d2260776 Fix warnings and update CHANGELOG 2013-08-07 12:51:31 +02:00
alexrp 8acdb26842 Make System.get_env/0 behave sanely. 2013-08-07 12:44:05 +02:00
José Valim 156905d684 Deprecate Enum.min/2 and Enum.max/2 in favor of Enum.min_by/2 and Enum.max_by/2 2013-08-07 08:26:06 +02:00
José Valim b212b036f9 Refactor Enum.min/1 and Enum.max/1 2013-08-07 08:14:23 +02:00
Guillermo Iguaran 4906f22479 Add Enum.reduce/2 that sets initial value of acc to the first element of collection
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>

Conflicts:
	lib/elixir/lib/enum.ex
2013-08-07 08:04:06 +02:00
José Valim 35282e1d35 Fix a bug in insert_at adding items to the wrong location with negative indexes 2013-08-07 07:56:03 +02:00
sasa1977 7c8b183513 List.replace_at 2013-08-06 23:34:39 +02:00
José Valim d5cfe56c67 Improve Enum.shuffle and String.replace docs 2013-08-06 21:35:04 +02:00
meh 09f5a84a13 Add regex pattern support to String.replace 2013-08-06 20:27:02 +02:00
José Valim 93eea5dd6d Reduce the ammount of module binaries being passing around 2013-08-06 17:21:40 +02:00
José Valim d8393f97ca Remove deprecated code 2013-08-06 17:21:40 +02:00
José Valim a8cee02558 Fix regression on do/end blocks, closes #1551 2013-08-06 15:44:52 +02:00
José Valim e591a0f8e8 Merge pull request #1552 from ericmj/iex-erlang-helpers
IEx helpers r and c can handle erlang sources
2013-08-06 05:34:44 -07:00
Tristan O'Neil 74c3ed0cfb Test mix clean with the --all flag. 2013-08-05 17:04:19 -04:00
Tristan O'Neil 5d1a6c2fc0 Original clean arguments need to be passed to deps.clean. 2013-08-05 16:15:45 -04:00
Eric Meadows-Jonsson fe65f5f1f4 IEx helpers r and c can handle erlang sources 2013-08-05 20:11:39 +02:00
José Valim b948f3b3dd Make it explicit Regex.run returns all captures in a match 2013-08-06 01:15:01 +08:00
José Valim aad42261cc Document dash to underscore in OptionParser 2013-08-04 23:17:35 +02:00
José Valim bd21251659 Merge pull request #1546 from fishcakez/supervisor-shutdown
Fix default shutdown of child supervisors to infinity
2013-08-04 11:53:06 -07:00
James Fish 5bbaeee149 Fix default shutdown of child supervisors to infinity
A supervisor should wait for a child supervisor to shutdown its
children, and not kill it. By killing a supervisor you may prevent the
correct termination of processes further down the supervision tree.
2013-08-04 19:15:34 +01:00
José Valim 6470a36e68 Ensure watched extensions trigger full recompilation on change 2013-08-04 19:22:15 +02:00
José Valim 69754fa6b5 Raise on &0 inside capture 2013-08-04 19:04:22 +02:00
Yurii Rashkovskii 591c576307 Minor mix compile.elixir task documentation fix 2013-08-04 09:48:34 -07:00