Commit Graph
2866 Commits
Author SHA1 Message Date
Eric Meadows-Jonsson 065b7f3f8f Document super and add more docs to defoverridable 2013-06-05 16:05:11 +02:00
José Valim 6004a3614f Update CHANGELOG 2013-06-05 20:11:12 +08:00
José Valim 22627c44df Merge pull request #1188 from josephwilk/string-contains
Adding String.contains?
2013-06-05 05:04:44 -07:00
José Valim 6e959733dd Merge pull request #1186 from ericmj/mix-umbrella-deps
Add support for direct dependencies of umbrella project
2013-06-05 05:03:04 -07:00
Eric Meadows-Jonsson 7d2d352236 Add deps to 'mix new --umbrella' 2013-06-05 13:24:16 +02:00
Eric Meadows-Jonsson 9d61e5886c Add support for direct dependencies of umbrella 2013-06-05 13:20:54 +02:00
José Valim c78d3b3717 Clean up DocTestTest 2013-06-05 18:00:26 +08:00
José Valim cafbd2c2d4 Ensure --cookie is set before remsh starts, closes #1190 2013-06-05 17:55:48 +08:00
josephwilk ae8def380a :binary.match supports a list of matches 2013-06-05 11:27:08 +02:00
Jonathan J Hunt dd43e799c8 Added -v --version option to all elixir commands.
Fixes #1178
2013-06-04 23:01:29 -07:00
José Valim e93d4197ef Merge pull request #1183 from alco/system-bootstrap
Bring system.ex back to bootstrap
2013-06-04 17:02:15 -07:00
Alexei Sholik d55a1703bd Bring system.ex back to bootstrap. Closes #1155 2013-06-05 02:50:50 +03:00
Joseph Wilk f0ecfbfac9 Adding String.contains?
Detect whether a string contains another string.
2013-06-04 19:20:11 +02:00
meh 854cab51bc Implement Binary.Chars for URI.Info 2013-06-04 16:12:55 +02:00
Eric Meadows-Jonsson 6d74511e92 Make rebar skip deps since mix compiles them 2013-06-04 11:45:58 +02:00
Alexei Sholik 75a1373bbb Merge pull request #1137 from alco/919-iex-test-fmwk
Test framework for IEx
2013-06-03 05:13:13 -07:00
Alexei Sholik d26e4b3dbc Minor comment cleanup 2013-06-03 15:07:47 +03:00
Alexei Sholik d636dc0ff0 Proof-read the doc for capture_io 2013-06-03 15:07:47 +03:00
Alexei Sholik ed0b161992 Add prompt test 2013-06-03 15:07:47 +03:00
Alexei Sholik 5e640336e0 Update the docs for Code.load_file and Code.require_file 2013-06-03 15:07:47 +03:00
Alexei Sholik 99c7d84f9c Update the r helper 2013-06-03 15:07:47 +03:00
Alexei Sholik 893a52a95a Clean up test code for module helpers 2013-06-03 15:07:47 +03:00
Alexei Sholik a8d2e45d2f Add docs for IEx test framework 2013-06-03 15:07:47 +03:00
Alexei Sholik ecd3c19c64 Add more tests for shell coloring 2013-06-03 15:07:47 +03:00
Alexei Sholik 7f9a2ed17b Don't process ANSI escapes in ExUnit output 2013-06-03 15:07:47 +03:00
Alexei Sholik 7951f73925 Update the tests for l and r helpers 2013-06-03 15:07:47 +03:00
Alexei Sholik a79d965248 Rewrite tests for helpers to use capture_iex and capture_io sparingly 2013-06-03 15:07:47 +03:00
Alexei Sholik 958550c5cd Write tests for IEx helpers 2013-06-03 15:07:47 +03:00
Alexei Sholik 997a798994 Implementation of a basic test framework for IEx. Closes #919 2013-06-03 15:07:47 +03:00
José Valim c0547a15ce Ensure Enum.to_list and Dict.to_list return exactly the same result 2013-06-03 20:35:18 +09:00
James Fish d1fd5a3c2a Fix HashDict so that key comparison uses exact match
This change means that HashDict buckets are nolonger strictly ordered.
Previously keys which compared equal (==) but not exactly equal (===)
would be considered different for large sizes but equivalent for small
sizes. This ambiguity occured because hashes are only equal when terms
are exactly equal (===), so both now use exact (===) key comparisons.
Small HashDicts are still a single ordered list and large HashDicts
contain ordered buckets. Both of these may contain keys that compare
equal (==) but are not exactly equal (===), should these keys be present
in the same list or bucket the ordering of these keys (relative to each
other) is undefined.

See github issue #1171 for examples.

Note: If assumptions were made about the form of a HashDict they may
nolonger be valid. Particularly that HashDicts can nolonger be reliably
pattern matched on for equality.
2013-06-03 02:13:33 +01:00
José Valim a3aa1e8de5 Ensure noname scope does not leak after assignment 2013-06-03 00:24:14 +09:00
Yuki Ito 1fa29be448 Option that enable to decide whether capture_io captures a prompt or not 2013-06-02 19:15:06 +09:00
José Valim b9a60b2668 Merge pull request #1170 from carlosmn/load-path-make
Set load paths for dependencies with Makefile
2013-06-01 20:02:34 -07:00
Carlos Martín Nieto 6b2b928867 Fix IEx's module source lookup
Module.module_info(:compile)[:source] returns the value, not a tuple
as the code was expecting, making r/1 think that no module has a
source. Fix this expectation.
2013-06-02 00:33:31 +02:00
Carlos Martín Nieto 4b1ea18625 Set load paths for dependencies with Makefile
A recent update (036d016 2013-06-02; Rebar dep with no config is given
rebar as manager) introduced :make as a value for a dependency's
manager, but Mix.Deps.load_path has no function clause to handle this.

Add :make to the nil manager clause, as it seems the closest
equivalent.
2013-06-01 22:35:24 +02:00
José Valim 7cd98e149c Speed up escriptize tests 2013-06-02 00:36:02 +09:00
José Valim 036d016053 Rebar dep with no config is given rebar as manager 2013-06-02 00:35:30 +09:00
José Valim be2aedff98 Fix typo on |> docs, closes #1168 2013-06-01 23:57:58 +09:00
Yuki Ito 9840ac266b capture_io captures a prompt when capturing of stdio 2013-06-01 17:07:28 +09:00
José Valim bcfc927455 Improve docs for IEx helper l/1 2013-06-01 10:45:34 +09:00
José Valim 014a2ec7a8 By default, start the application on escript 2013-06-01 08:12:47 +09:00
José Valim 4846d42101 Merge pull request #1160 from jjh42/alias-nil-correctly
Don't ignore nil during aliasing. Attempt to fix #1159
2013-05-31 16:10:48 -07:00
Jonathan J Hunt 636da42f2a Don't ignore nil during aliasing. Attempt to fix #1159 2013-05-31 15:58:15 -07:00
José Valim 7c4516f1ec Do not access another task directly, use Mix.Rebar module instead 2013-06-01 07:46:54 +09:00
Eric Meadows-Jonsson 65cc78034d Correctly add load_paths for rebar dependencies
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2013-06-01 07:41:06 +09:00
José Valim f97a384b82 Move dependencies callbacks back into Mix.Deps.Converger
The converger is the one that knows if a dependency exists or
not and, as such, is the best one to know if a dependency callback
should be invoked or not.

This commit also normalizes some of the Retriever internal
functions, for example, now we have mix_children and rebar_children.
The goal is to extract those functions (and the ones in Mix.Deps)
one by one into a Mix.DepsManager behaviour which will be implemented
by Mix.DepsManager.Mix and Mix.DepsManager.Rebar, removing all
the conditional calls existing in the code.
2013-06-01 07:19:23 +09:00
Alexei Sholik 7e856e1af0 Don't process ANSI escapes in strings in IEx 2013-05-31 21:48:31 +03:00
José Valim 5e94a69693 Merge pull request #1163 from meh/regex-escape
Support extended syntax in Regex.escape
2013-05-31 11:13:16 -07:00
José Valim 5775d49c08 Merge pull request #1164 from sasa1977/document_record_features
documentation for record generated functions
2013-05-31 11:12:33 -07:00