Commit Graph
2548 Commits
Author SHA1 Message Date
José Valim a514bfa97c Improve specs and docs for String module 2013-05-08 11:10:55 -06:00
José Valim 5e2557a3a9 Merge pull request #1024 from ericmj/umbrellacompile2
Run tasks for umbrella projects in correct order
2013-05-07 07:13:04 -07:00
Eric Meadows-Jonsson 3b8b127753 Run tasks for umbrella projects in correct order
Fixes #1018
2013-05-07 16:05:25 +02:00
Yurii Rashkovskii 7bbb6806e3 Fix regression introduced by 18c4e2b810
It is important to avoid rendering ANSI codes in the documentation as

1) IO.ANSI's own documentation becomes effectively unreadable as one
   can't see the syntax format
2) Markdown is not expected to have ANSI codes rendered
2013-05-07 04:11:17 -07:00
José Valim 315d5b5608 Merge pull request #1022 from ericmj/listat
Add List.insert_at/3 and List.delete_at/2
2013-05-06 18:52:23 -07:00
José Valim c6222a05da Refactor elixir_import to mention special forms list 2013-05-06 19:18:43 -06:00
José Valim 1bd8484146 Improve docs for String.split 2013-05-06 19:17:37 -06:00
José Valim 18c4e2b810 Don't output if there is no doc, closes #1025 2013-05-06 19:17:19 -06:00
José Valim 6d2569ff9b Merge pull request #1023 from alco/eex-unicode
Add support for unicode to EEx.Tokenizer
2013-05-06 16:21:56 -07:00
Alexei Sholik ce39f23388 Add support for unicode to EEx.Tokenizer 2013-05-07 02:14:48 +03:00
José Valim f09453440a Fix typo 2013-05-06 16:04:04 -06:00
José Valim 5a9cb7970b Another attempt at fixing the build on R15 2013-05-06 15:52:14 -06:00
José Valim 78ce20742d Use the macro to automatically transform into R15 call 2013-05-06 15:25:57 -06:00
José Valim 45ad425793 Improve representation of floats and integers, closes #1021 2013-05-06 15:18:48 -06:00
Eric Meadows-Jonsson 3f73a73da1 Add List.insert_at/3 2013-05-06 22:41:05 +02:00
José Valim 1d2b4de7dd Add Dict.fetch 2013-05-06 13:31:58 -06:00
José Valim a3a136bb81 Ensure directories have the same name as their applications 2013-05-06 12:57:44 -06:00
José Valim a93264be81 Private on_load functions should not trigger unused warning 2013-05-06 11:31:05 -06:00
José Valim cbe82e0912 Add __DIR__, closes #1019 2013-05-06 11:03:37 -06:00
José Valim ddb87a96ca Private functions used by private macros no longer emit an unused warning, closes #885 2013-05-05 21:59:40 -06:00
José Valim c53314dfc4 Ensure lexical scopes are not password forward by accident 2013-05-05 20:28:59 -06:00
José Valim fa3a7031f0 Merge pull request #1016 from ericmj/mixumbrella
Add support for umbrella projects in mix
2013-05-05 13:46:35 -07:00
Eric Meadows-Jonsson f9fe24f524 Optimize Mix.Shell.output_app? 2013-05-05 22:39:47 +02:00
Eric Meadows-Jonsson 3b7cd15fbc Don't use the full stack for umbrella test 2013-05-05 22:08:52 +02:00
José Valim 90093bd4e2 Support --cookie, --hidden, Node.get_cookie and Node.set_cookie, closes #910 2013-05-05 12:34:15 -06:00
Eric Meadows-Jonsson ace80048f7 Fix tasks may run multiple times
Store each task as a {task, application} pair once run. This fixes
that a task run for a sub project in umbrella projects wasn't
properly registered as run.
2013-05-05 20:25:17 +02:00
Eric Meadows-Jonsson 2b866abb6c Add support for umbrella projects in mix
Fixes #667
2013-05-05 20:05:48 +02:00
José Valim 74e244a129 escriptize should yield arguments as binaries, closes #995 2013-05-05 11:13:30 -06:00
José Valim a8ab6b5a2a Deprecate List.member?/2 in favor of Enum.member?/2 2013-05-05 10:10:03 -06:00
José Valim 5841f6849b Deprecate assert inlist in favor of assert in 2013-05-05 09:52:00 -06:00
José Valim 7d1a439e29 Keyword.keyword? should work with any atom as key
Closes #1011
2013-05-05 09:34:03 -06:00
José Valim 4b65fa1601 Merge pull request #1013 from ericmj/enumuniq
Add Enum.uniq/2
2013-05-05 08:21:09 -07:00
Eric Meadows-Jonsson 38539faaf4 Add Enum.uniq/2 2013-05-05 17:16:57 +02:00
José Valim 1019879bd0 Improve previous clause does not match warning
We have redefined the warning to say:

  "trying to override previously defined function NAME/ARITY"

We have also relaxed the rules that causes the warning to
emitted. For example, if any kind of meta-programming or
unquoting is detected in the function definition, we skip
the warning altogether.

Closes #934.
2013-05-04 14:59:15 -06:00
José Valim c14ee51d15 Refactor elixir_quote to work on Elixir expressions
This allows us to re-use the code from Macro.escape,
reducing the duplication, and gives us more visibility
into the transformation process.
2013-05-04 14:31:58 -06:00
José Valim a0787fb4bf Merge pull request #1009 from devinus/liberate-in
Liberate `in`, fixes #817
2013-05-03 14:26:40 -07:00
Devin Torres 901fedf266 Liberate in, fixes #817 2013-05-03 16:12:30 -05:00
José Valim c1c4d7571f Merge pull request #1008 from devinus/expanded-enum-protocol
Add Enum.empty? and Enum.member? to the Enum.Iterator protocol, fixes #804
2013-05-03 13:25:43 -07:00
Devin Torres 2f981b914d Add Enum.empty? and Enum.member? to the Enum.Iterator protocol, fixes #804 2013-05-03 14:29:57 -05:00
José Valim 4c6dbcf719 Ensure s and t helpers work with code compiled via c 2013-05-03 12:46:36 -06:00
José Valim 33367e4224 Merge pull request #1006 from alco/kernel-doc-clarifications
Kernel doc clarifications
2013-05-03 09:55:35 -07:00
Alexei Sholik 82e597e31e unless argument clarification 2013-05-03 19:50:02 +03:00
Alexei Sholik e4fd9fd4c1 Fix doctests for unless 2013-05-03 19:50:02 +03:00
Alexei Sholik 66756e2686 Replace "execute" with "evaluate" for consistency 2013-05-03 19:50:02 +03:00
Alexei Sholik b59888a6b7 x in "x in [1,2,3]" is evaluated only once 2013-05-03 19:49:41 +03:00
José Valim 0af35cd011 Merge pull request #1007 from ericmj/is_record
Evaluate first argument in is_record once
2013-05-03 09:39:05 -07:00
Eric Meadows-Jonsson 5c96708ce5 Evaluate first argument in is_record once 2013-05-03 16:43:06 +02:00
Alexei Sholik e33c31e4ee Fix "evalute" typos 2013-05-03 15:34:05 +03:00
Alexei Sholik 5c58956812 "executes" -> "evaluates and returns" 2013-05-03 15:34:05 +03:00
Alexei Sholik 88d674b0b3 Better explanation for XOR 2013-05-03 15:34:05 +03:00