Commit Graph
1489 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 22627c44df Merge pull request #1188 from josephwilk/string-contains
Adding String.contains?
2013-06-05 05:04:44 -07: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
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 5e640336e0 Update the docs for Code.load_file and Code.require_file 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
José Valim be2aedff98 Fix typo on |> docs, closes #1168 2013-06-01 23:57:58 +09: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 5e94a69693 Merge pull request #1163 from meh/regex-escape
Support extended syntax in Regex.escape
2013-05-31 11:13:16 -07:00
meh 3dd445bcce Add documentation to Regex.escape 2013-05-31 19:04:26 +02:00
meh 5e803487ef Improve Regex.escape tests 2013-05-31 19:04:26 +02:00
meh caeea8973c Support extended syntax in Regex.escape 2013-05-31 19:04:26 +02:00
sasa1977 ea797815a0 document update and to_keywords 2013-05-31 15:46:05 +02:00
José Valim 453d8835bd Merge pull request #1150 from alco/to_binary-error
Better error message for Binary.Chars.List.to_binary. Closes #1144
2013-05-31 02:21:16 -07:00
Alexei Sholik 2272dd1c46 Better error message for Binary.Chars.List.to_binary. Closes #1144 2013-05-31 12:14:51 +03:00
meh 5ff3b760d9 Implement Regex.escape 2013-05-31 04:26:43 +02:00
José Valim 5ffec637b0 Ensure we can define a nested record named Record, closes #1133 2013-05-30 11:44:19 +09:00
José Valim bd1633c778 Remove get! from Dict behaviour spec 2013-05-30 11:42:23 +09:00
José Valim bcf9d814dd Remove deprecated code 2013-05-30 11:24:51 +09:00
José Valim 69a4138e8c Remove remaining function implementation from access protocol old versions 2013-05-30 11:20:08 +09:00
José Valim 0fa06a2183 Precompile groups regex 2013-05-30 11:20:08 +09:00
José Valim e208237669 Merge pull request #1136 from alco/1131-tests
Add tests for %w(BigAtom)a mentioned in #1131
2013-05-29 01:57:33 -07:00
Alexei Sholik 3ec014ff77 Merge pull request #1128 from alco/1020-extended-doctest
Implement extended doctests
2013-05-29 01:53:51 -07:00
Alexei Sholik c19e3d0446 Add tests for %w(BigAtom)a mentioned in #1131 2013-05-29 11:49:21 +03:00
José Valim 99cdb412e3 Give higher precedence to |> than =~ 2013-05-29 03:19:45 +02:00
Alexei Sholik 6137d55d10 Test doctests for ExUnit.CaptureIO 2013-05-28 18:48:18 +03:00
Alexei Sholik 2fbc8682ca Review doctests in stdlib to use extended doctests 2013-05-28 18:47:47 +03:00
Alexei Sholik 99913d7018 Remove unintended connections between some doctests 2013-05-28 13:53:18 +03:00
José Valim fce97507de Do not include remotes on reachable results 2013-05-28 07:46:39 +02:00
Alexei Sholik 3c9f486567 Add tests for body-less functions 2013-05-27 20:42:20 +03:00
José Valim 846048855f Error if guards are given but no implementation, closes #1125 2013-05-27 19:24:24 +02:00
José Valim 9a6259d333 Remove unused variable warning 2013-05-27 19:06:24 +02:00
José Valim dad7f7bfb7 Allow keywords in typespecs 2013-05-27 17:54:04 +02:00
José Valim a6b81bffd1 Inline nillify in Process 2013-05-27 14:01:15 +02:00
José Valim 9e56691274 Ensure aliases from macros are properly expanded, closes #1123 2013-05-27 11:08:23 +02:00
José Valim d19f6beca0 Provide source information to all dispatches and complement the API 2013-05-26 20:20:23 +02:00
José Valim da84a797b0 Module.DispatchTracker also records remotes 2013-05-26 20:20:23 +02:00
José Valim fefad03595 Ensure warnings are proper with yanked and reattached overridables 2013-05-26 17:51:42 +02:00
José Valim f76aeba141 Check for imports conflicts in batches 2013-05-26 14:49:58 +02:00
José Valim fbb06f2086 Record each definition on tracker as soon as defined 2013-05-26 14:39:02 +02:00
José Valim ffc91e3004 Rename Kernel.LocalsTracker to Module.DispatchTracker 2013-05-26 14:39:02 +02:00
José Valim 32cc99767b Use precalculated binary size 2013-05-26 14:39:02 +02:00