Commit Graph
1529 Commits
Author SHA1 Message Date
Nicd 0b6b7ea0e4 Fix compiler_options docblock formatting errors 2013-06-15 01:39:21 +03:00
José Valim e62ef92a4b Ensure Enum.take/2 doesn't peek ahead 2013-06-14 18:43:05 +02:00
josephwilk 7c639f9252 document equal? 2013-06-14 11:49:16 +02:00
josephwilk f03e707e8e Bug: equal? on HashDict was not comparing the two dicts 2013-06-14 11:49:10 +02:00
James Fish 582e814422 Improve efficiency of HashDict contract
When contracting in size the HashDict does not need to relocate
(re-hash) key-value pairs. It is not required because each of the
deepest nodes in a trie become a bucket on contraction. This bucket
contains all the key-value pairs in that node.
2013-06-13 18:11:51 +01:00
José Valim bff8a6ae75 Remove deprecated code branches 2013-06-13 16:48:31 +02:00
José Valim a03639fe1a Deprecate Regex.index/2 2013-06-13 15:23:03 +02:00
José Valim e7b1242e98 Fix a bug on Path.split/1 2013-06-13 15:13:56 +02:00
José Valim d3d83b17f4 Merge pull request #1199 from alco/1148-match-tilde-op
Reimplement =~ to use Regex.match? or String.contains?
2013-06-13 06:13:32 -07:00
José Valim 78eb14edae Merge pull request #1187 from alco/pipeline-op
Pipeline op fix + additional assertion
2013-06-13 06:12:25 -07:00
Eduardo Gurgel b1cd1ee7e9 Fix typo on List documentation 2013-06-12 22:30:12 -03:00
Yuki Ito 016480bdcc Update docs for defoverridable and super 2013-06-13 02:35:13 +09:00
Yuki Ito 961099746e Implicit super arguments is deprecated 2013-06-13 00:42:34 +09:00
Alexei Sholik b19c389cee Replace @export_type with @typep in the docs
Elixir automatically generates corresponding @export_type attributes for
public types
2013-06-12 12:58:40 +03:00
Alexei Sholik 3f3e86d7f4 Document __info__/1 2013-06-11 20:14:14 +03:00
Alexei Sholik 15bf0fb16e Provide reference documentation for module attributes 2013-06-11 16:46:55 +03:00
José Valim fed406a2e6 Rename test/doctest.exs file to test/doc_test.exs to follow file name convention 2013-06-10 14:27:38 +08:00
Alexei Sholik 4a1dfccbec Use =~ with strings where it makes sense 2013-06-08 15:58:34 +03:00
Alexei Sholik c62a7e1001 Reimplement =~ to use Regex.match? or String.contains? 2013-06-08 15:00:09 +03:00
Alexei Sholik 2b8854c63e Add a few sanity check tests for upcase & downcase 2013-06-08 14:33:04 +03:00
José Valim b535f0746e No need for accumulator on downcase/upcase 2013-06-08 16:22:44 +08:00
José Valim 4b795a042b Optimize downcase, upcase and rstrip in Unicode 2013-06-08 15:24:51 +08:00
José Valim 27682320d4 Merge pull request #1211 from mururu/to-binary-uri-path
to_binary for URI.Info do not ignore the path
2013-06-07 05:50:32 -07:00
Yuki Ito bd984a545d to_binary for URI.Info do not ignore the path 2013-06-07 20:28:56 +09:00
Yuki Ito 115e022025 Remove unneeded case
`:os.type/0` always returns a tuple in R16B
2013-06-07 18:45:34 +09:00
Yuki Ito 155b937327 Fix Enum.uniq/2 spec 2013-06-07 17:59:09 +09:00
José Valim 6ef10d4b0d Add tests for compile_string and compile_quoted, closes #1206 2013-06-07 14:48:19 +08:00
José Valim 078522d014 Fix iex -S mix on Windows 2013-06-07 13:50:04 +08:00
José Valim c765a95b91 Ensure default calls are connected in dispatch tracker 2013-06-07 13:34:41 +08:00
Alexei Sholik a6f04a2224 Fix Record's moduledoc 2013-06-06 13:03:14 +03:00
Alexei Sholik 7291abb26f Move the description of records to Record's moduledoc. Closes #1166 2013-06-06 12:52:22 +03:00
Alexei Sholik 55cb8ab436 Merge pull request #1195 from alco/string-fixes
String fixes
2013-06-05 09:20:54 -07:00
Alexei Sholik 32cddf2738 Reorganize tests for starts_with? and co. 2013-06-05 18:58:29 +03:00
Alexei Sholik 7893852f2f Fix edge case for String.contains? 2013-06-05 18:58:16 +03:00
Alexei Sholik f1b625ccd2 Don't support nested lists in starts_with? and co. 2013-06-05 18:44:22 +03:00
Alexei Sholik caa7d41e96 Refactor String.ends_with?
Using :binary.match should save us an allocation. Plus, the function
now looks more similar to starts_with?
2013-06-05 18:22:48 +03:00
Alexei Sholik b96a714240 Fix edge cases for starts_with?, ends_with? and contains? 2013-06-05 18:14:38 +03:00
Yurii Rashkovskii d39a52ae79 Fix minor compile-time warnings 2013-06-05 07:55:10 -07:00
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
Alexei Sholik 37c8867d9f Implement assert_compile_fail
The format_rescue function has been found useful in multiple instances,
so it made sense to generalize it into its own assertion.
2013-06-05 13:14:29 +03:00
Alexei Sholik da7e830bf7 Disallow &-partial calls on the right side of |> 2013-06-05 13:08:16 +03: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