Commit Graph
5291 Commits
Author SHA1 Message Date
José Valim cbb1f45ede Update CHANGELOG 2013-08-25 22:10:37 -03:00
José Valim 4723bca17e Merge pull request #1650 from ericmj/enum-slice
Add Enum.slice/3
2013-08-25 18:08:48 -07:00
Eric Meadows-Jonsson 263f4bf543 Add Enum.slice/3 2013-08-25 23:14:31 +02:00
José Valim fad339957d Remove empty Tuple module 2013-08-25 10:30:15 -03:00
José Valim 488344839a Allow any function identifier as a variable, closes #1649 2013-08-25 10:28:55 -03:00
José Valim f02f90fce0 Merge pull request #1648 from pminten/quote-improper-lists
Allow Macro.escape([1|2])
2013-08-25 03:45:37 -07:00
Peter Minten c73919993d Allow Macro.escape([1|2])
This fixes #1646
2013-08-25 09:35:08 +02:00
Alexei Sholik 3768087b47 Fix failing doctest 2013-08-25 00:29:54 +03:00
José Valim 4a0db2e974 Handle more types on bitsyntax. 2013-08-24 16:07:55 -03:00
José Valim 55aad68512 Splice nested binaries with default types and size 2013-08-24 15:55:24 -03:00
José Valim 3b4954b652 Merge pull request #1643 from pminten/elixirc-silent
Add --verbose to elixirc
2013-08-24 11:15:21 -07:00
José Valim fb30101632 Merge pull request #1645 from vanstee/string-split-repeats
Keep empty strings when splitting
2013-08-24 05:21:14 -07:00
José Valim c348eb7cc5 Merge pull request #1644 from jwarwick/string_typos
Fixed doc typos in String and Node
2013-08-24 05:02:29 -07:00
José Valim 98c47e94a1 String.to_float/1 docs updated 2013-08-24 13:56:35 +02:00
Peter Minten 4c28f325e3 Supress 'Compiled' msg by default in elixirc
Adds a --verbose option to elixirc

This fixes #1618
2013-08-24 13:30:34 +02:00
José Valim da50584060 Deprecate def/4 and friends in favor of def/2 with unquote and friends 2013-08-23 19:42:20 +02:00
vanstee 891564f114 Keep empty strings when splitting
To stay consistent with both `String.split/2` and `:binary.split` we
need to keep around empty strings that are accumulated while splitting.
In the future we could support the `:trim` option to consistently remove
these in call calls to `String.split`.

Fixes #1636
2013-08-23 12:37:02 -04:00
John Warwick 22336a94d0 Fixed doc typos in String and Node 2013-08-23 10:58:38 -04:00
José Valim cae9b05d6a Merge pull request #1638 from jwarwick/enum_typo
Fixed typo in Enum docs
2013-08-23 02:31:27 -07:00
José Valim a6cdc835a1 No need to wrap quote do: nil in a block 2013-08-23 11:22:11 +02:00
John Warwick 7ae1795c62 Fixed typo in Enum docs 2013-08-22 11:36:35 -04:00
José Valim 7b3bbe3a36 Another attempt at cwd handling 2013-08-22 16:07:19 +02:00
José Valim ade2c25e08 Handle when :file.get_cwd returns a binary 2013-08-22 15:59:14 +02:00
José Valim e2ba0bd649 Properly order CHANGELOG 2013-08-22 14:27:57 +02:00
José Valim 3de4cbbdb9 Update CHANGELOG 2013-08-22 12:20:37 +02:00
José Valim 0510512375 Deprecate to_binary in favor of to_string
We also rename Binary.Chars to String.Chars.

As Binary.Chars was the protocol used for interpolation,
it is semantically correct to have a protocol that works
on strings, instead of raw binaries.
2013-08-22 12:19:30 +02:00
José Valim a3827527a8 Update CHANGELOG 2013-08-22 11:13:18 +02:00
José Valim 820d0cb9a0 Print failures for ExUnit as soon as they come 2013-08-22 11:12:18 +02:00
José Valim 0e1aac32f5 import accept :functions and :macros as values in :only
This commit removes the previous ambiguous syntax:

    import :functions, Foo

In favor of:

    import Foo, only: :functions
2013-08-22 10:34:45 +02:00
José Valim 308d5a35eb Merge pull request #1629 from Raynes/is_it_even_odd
Add a pair of even and odd checking functions
2013-08-21 23:48:59 -07:00
José Valim 6244bdd140 Merge pull request #1634 from jwarwick/path_typo
Fixed doc typos in Code and Path
2013-08-21 13:24:23 -07:00
John Warwick 384921a905 Fixed doc typos in Code and Path 2013-08-21 15:51:57 -04:00
Anthony Grimes fcc37030e2 Add a pair of even and odd checking functions. 2013-08-21 11:08:20 -07:00
José Valim 473f3c560e Update CHANGELOG 2013-08-21 10:42:06 +02:00
José Valim fb8ad142e9 Deprecate :umbrella path opt in favor of :in_umbrella
The previous :umbrella option was ambiguous, as it was not clear
if it was a dependency inside an umbrella or an umbrella dependency.
2013-08-21 10:31:17 +02:00
José Valim 7a50baa37b Make a distinction in between overriden and converged, closes #1631 2013-08-21 10:31:17 +02:00
José Valim 2f63c745a3 Merge pull request #1630 from Raynes/chunks_by
Add chunks_by
2013-08-21 01:30:26 -07:00
José Valim fcef2d57fc Rename manifest -> manifests to support compilers with multiple manifests 2013-08-21 09:12:25 +02:00
José Valim fcabb677d5 Merge pull request #1632 from jwarwick/change_typo
Fixed typos in CHANGELOG.md
2013-08-21 00:01:22 -07:00
John Warwick de3d5cdc40 Fixed typos in CHANGELOG.md 2013-08-20 21:33:59 -04:00
José Valim 29f030bb28 Update CHANGELOG 2013-08-20 23:57:59 +02:00
José Valim 8b02a2a7a0 Convert external functions into quoted expressions 2013-08-20 23:52:00 +02:00
Anthony Grimes f7e6b29e86 Add chunks_by. 2013-08-20 14:30:45 -07:00
José Valim c6a12f5039 Improve checks of functions inside records 2013-08-20 19:31:10 +02:00
José Valim 20418a14f7 Refactor Enum.chunks to use Enumerable.reduce/3, avoiding starting lazy collections twice 2013-08-20 14:08:27 +02:00
José Valim 3e1099830a Properly handle @file that comes from warnings 2013-08-20 11:39:29 +02:00
José Valim 82aed93466 Merge pull request #1626 from ToJans/master
Refactored Mix.Tasks.Local.Install to make it more explicit
2013-08-20 02:38:44 -07:00
Tom Janssens df9098ea36 Refactored Mix.Tasks.Local.Install to make it more explicit 2013-08-20 10:15:11 +02:00
José Valim 6831c09913 Merge pull request #1624 from Raynes/chunked
Add Enum.chunks
2013-08-20 00:49:47 -07:00
Anthony Grimes 7f00aded18 Add Enum.chunks. 2013-08-20 00:48:42 -07:00