Commit Graph
2539 Commits
Author SHA1 Message Date
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
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
Alexei Sholik 44ec3705f3 Clarify on the return value of Enum.sort 2013-05-03 15:30:42 +03:00
Yuki Ito 83c257937d Implement Enum.min/1 and Enum.min/2
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2013-05-02 12:03:56 -07:00
Yuki Ito 43f8448623 Implement Enum.max/1 and Enum.max/2
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2013-05-02 12:03:56 -07:00
Yuki Ito 3ddf8edc93 Add test for SyntaxError in Kernel.CLI 2013-05-02 16:27:44 +09:00
Yuki Ito 644dd0f4fb Print Exception in Kernel.CLI.run on standard_out. 2013-05-02 16:27:44 +09:00
Yuki Ito 475bdea0bb Encode Kernel.CLI.main argv in unicode. 2013-05-02 16:27:25 +09:00
José Valim 6bf1d2b84d Merge pull request #998 from ericmj/inspect
Remove custom dispatch to records in Binary.Inspect.Tuple
2013-05-01 12:42:58 -07:00
Eric Meadows-Jonsson ee0643c17c Remove custom dispatch to records in Binary.Inspect.Tuple 2013-05-01 05:17:55 -07:00
José Valim 16e18240c6 Remove special case for implicit splicing inside quote 2013-05-01 00:29:40 -07:00