José Valim
a8a2f86a23
Record type should be private by default, closes #1288
2013-06-23 20:20:47 +02:00
José Valim
fc219e7dca
IO.ANSI now uses binding
2013-06-23 19:32:58 +02:00
José Valim
96a103d222
Allow :binding as an option in quote
...
This commit also adds Macro.expand_once/2 and Macro.expand_all/2.
2013-06-23 19:23:32 +02:00
José Valim
f525f5b8cb
Add unquote: true support to Macro.escape
2013-06-23 16:32:07 +02:00
José Valim
5c30a687fa
Inspect module before printing, closes #1309
2013-06-23 15:27:04 +02:00
José Valim
9ffe8b0e97
Clean up defdelegate docs
2013-06-23 13:36:01 +02:00
José Valim
12c8564a26
Update CHANGELOG after clean up on the operators table
...
by making it sane and clean in case we want to add
custom operators in the future.
The operator table with suggestions of extension points
(not yet implemented) can be found in the elixir_parser.yrl
file.
The only backwards incompatible change is the precedence
of the operators used by the Bitwise module.
2013-06-23 13:20:02 +02:00
José Valim
903aa60fec
Finish operator table clean up
2013-06-23 13:18:25 +02:00
José Valim
969bc968ee
Move ++, --, ** and // to new table
2013-06-23 13:18:25 +02:00
José Valim
e941d78daf
Move operator table clean up
2013-06-23 13:18:25 +02:00
José Valim
8d3475825b
Group arrow-like ops together
2013-06-23 13:18:25 +02:00
José Valim
68c890e179
Move and and or operators to the new table
2013-06-23 13:18:25 +02:00
José Valim
6f73d7dbb9
Move comp_op to the new table
2013-06-23 13:18:25 +02:00
José Valim
c2ac967123
Move all unary operators to new schema
2013-06-23 13:18:25 +02:00
José Valim
dd573c9806
Initial work cleaning up op table
2013-06-23 13:18:25 +02:00
Yurii Rashkovskii
58ee415e63
Improve mix escript_app's documentation
2013-06-22 18:25:09 +01:00
José Valim
561397da7a
Ensure escript_app doesn't break the app
2013-06-22 19:23:03 +02:00
José Valim
3d2438c625
Ensure esriptize does not try to read directories
2013-06-22 19:14:02 +02:00
José Valim
a08710bfda
Update CHANGELOG
2013-06-22 19:00:40 +02:00
José Valim
151695b43c
Add tests for nested whens
2013-06-22 18:53:18 +02:00
José Valim
2d8259b432
Support (x, y) when z, closes #1313
2013-06-22 18:53:18 +02:00
José Valim
ae03e10db5
Merge pull request #1300 from jdrexler/issue-1285
...
Added chgrp!, chown!, and chmod! to module File
2013-06-22 05:10:43 -07:00
José Valim
208fbaf5ef
Fix typo (tks @ericmj)
2013-06-22 14:02:10 +02:00
José Valim
820ca0a57e
Do not use Enum on bootstrap
2013-06-22 13:55:33 +02:00
José Valim
cf309ede14
Add docs to Mix.Version and make version always the first arg
2013-06-22 13:43:41 +02:00
José Valim
da0a95695d
Allow types to be given to defrecordp
...
Part of #1288
2013-06-22 13:15:00 +02:00
José Valim
b2541a1b93
Inline list funcs so we don't pay an extra dispatch cost
2013-06-22 13:15:00 +02:00
Johannes Drexler
5df40f7c42
Added functions for changing mode, owner and group to module File
2013-06-21 21:07:05 +02:00
José Valim
5e24dbaddb
Merge pull request #1308 from justinweiss/patch-1
...
Fixed some incorrect markdown in binary_to_list/3's documentation.
2013-06-21 10:09:08 -07:00
Justin Weiss
3f8e3d4d38
Fixed some incorrect markdown in binary_to_list/3's documentation.
...
The docs for binary_to_list/3 weren't monospacing their reference to binary_to_list/1, which resulted in some bad italicization.
2013-06-21 10:38:04 -06:00
José Valim
391fee3ea2
^x variables should always refer to the value before the expression
...
Closes #1307
2013-06-21 18:27:16 +02:00
José Valim
6cee8572e0
Clean up ExUnit tests
2013-06-21 15:16:02 +02:00
vanstee
f2d9e802cd
Include description and improve formatting
...
Switching from `AssertionError` to `ExpectationError` gives us a nicer
error message and allows us to easily include the incorrect result as a
description.
Fixes #1276
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2013-06-21 15:08:48 +02:00
José Valim
5247961185
Optimize temp_vars lookup
2013-06-21 11:43:41 +02:00
José Valim
53a2618cba
Merge pull request #1302 from jwarwick/typos
...
Fixed doc typos
2013-06-20 23:36:04 -07:00
John Warwick
d360addc65
Fixed ex_doc path in README
2013-06-20 21:37:47 -04:00
John Warwick
08e7da305c
Fixed typos in file.ex docs
2013-06-20 21:35:47 -04:00
José Valim
afab1f8d73
Fix typo on assertion message
2013-06-20 23:15:53 +02:00
José Valim
749266b649
Merge pull request #1299 from vanstee/assert-statement-if-boolean
...
Show original statement if assert or refute fails
2013-06-20 13:46:32 -07:00
José Valim
c4dcaf540d
Slight clean up on erlang tests
2013-06-20 22:44:22 +02:00
vanstee
561d6ea0d1
Show original statement if assert or refute fails
...
If the asserted statement evaluates to false, show the unevaluated
statement in the assertion error output message for more context about
the failure. Refute also now follows similar semantics.
Fixes #1276
2013-06-20 16:17:55 -04:00
José Valim
1574f61a8b
Output next steps information after creating repos, closes #1297
2013-06-20 14:04:35 +02:00
José Valim
7dc941227f
Ensure escriptize is performed recursively, closes #1296
2013-06-20 13:49:30 +02:00
José Valim
ca026039a3
Stop parsing on -S, closes #1294
2013-06-20 12:25:00 +02:00
José Valim
4b06a2d316
Merge pull request #1293 from ToJans/WindowsBugfixing
...
Updated elixir.bat so one can also pass in non ".ex" files
2013-06-20 03:22:07 -07:00
Tom Janssens
00299fe7cb
Removed "*.ex/file" parameter checking from elixir.bat
...
If it now finds an unknown parameter, it assumes all paremeters are parsed
and just passes all the rest to the elixir script.
2013-06-20 12:17:24 +02:00
José Valim
9e6b650efd
Merge pull request #1295 from ToJans/WindowsRebarFix
...
Fix the rebar wrapper on windows
2013-06-20 03:00:49 -07:00
José Valim
c56d0760f6
Update CHANGELOG
2013-06-20 12:00:02 +02:00
Tom Janssens
aedc78536f
Fix the rebar wrapper on windows
...
System.find_executable for rebar returns a rebar.cmd file, which should not
be wrapped by escript. We now have an extra check that verifies whether the
invoked file is indeed a cmd file.
2013-06-20 11:56:20 +02:00
José Valim
0c17fa0ab2
Use .bat executables on Windows
2013-06-20 09:08:51 +02:00