Aleksei Magusev
b86b8ca335
Emit warning when variable is being expanded to function call ( #3517 )
2016-06-11 22:31:03 +02:00
eksperimental
e59a9f82fd
Use proper case for proper nouns and acronyms
...
Use proper case for proper nouns (e.g., Elixir, Rebar, Git, and others)
as well as acronyms (e.g., URL, HTTP, and others).
2016-06-06 15:17:59 +02:00
José Valim
d050b41452
Fix warning errors in IEx and EEx
2016-05-15 21:00:20 +02:00
eksperimental
c3d28f76f2
Replace 'char_list' and 'char list' with 'charlist'
2016-05-07 03:20:57 +07:00
eksperimental
bc8c2a55e9
Standardize unicode and friends ( #4569 )
...
* Unicode is a proper noun, so it should be capitalized
* Replace 'char data' with 'chardata'
* Correct use of a/an articles
2016-05-05 09:21:05 +02:00
eksperimental
ba111fb9b3
Formatting: add white space after comma ( #4491 )
...
Standardizes the use of comma leaving a white space after it whenever applicable.
Note: It does not enforce this in quantifiers in regular expressions such as in: `x{1,3}`
2016-04-19 01:23:50 +02:00
Brandon Fish
eea608c209
Add test coverage to EEx
2016-04-03 08:43:22 -05:00
Andrea Leopardi
9d6ac4d2af
Add final newlines to a bunch of files
...
A bunch of files didn't end with a final newline (according to the POSIX
standard -
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 ).
2016-03-29 23:02:22 +02:00
Aleksei Magusev
b2372d2436
Inspect path in File.Error exception message
2016-01-24 23:18:00 +01:00
José Valim
b3c7bc0a1f
Include init/1 in EEx engines
2016-01-21 22:33:58 +01:00
José Valim
51180f5630
Properly change __ENV__.file when @file is set
...
Note that @file may be set from the :file meta as well.
2015-11-21 05:02:38 +08:00
José Valim
ef1aff41e6
Move eex error to warning
2015-10-23 13:28:42 +02:00
Tony Han
83ec278f7e
eex engine raises on missing assigns
2015-06-11 10:30:36 +08:00
José Valim
da9029a04f
Ensure blocks do not clobber eex buffer
2015-05-11 23:07:26 +02:00
Or Neeman
67795d41e9
EEx: allow ) after end in end tokens
...
Closes #3017
2015-04-10 20:49:06 -06:00
Or Neeman
b2b48d5489
Refactor trim mode
2015-03-25 19:31:01 -06:00
Or Neeman
29f1375f1f
EEx: Add trim option
...
If the `trim` option is used, trims around EEx tags:
- On left, up to the line break if all whitespace
- On right, up to and including the line break if all whitespace
Does not trim around quotations (`<%% %>`), but does trim around
any tags inside a quotation.
Closes #3154
2015-03-23 19:26:18 -06:00
Or Neeman
9d3ebd9f84
EEx: convert tag type markers to char lists
2015-03-22 13:36:54 -06:00
Or Neeman
18c271eb4b
EEx: fix interpolation inside quotations
...
Closes #3159
2015-03-22 09:00:34 -06:00
José Valim
d4bc57e984
Unify error reporting from EEx, closes #2833
2014-10-21 11:25:20 -02:00
Shayan Pooya
3ab6443790
fix typos
2014-10-16 12:50:12 -05:00
José Valim
ecdcfaeda1
Remove deprecated features and deprecate soft ones
2014-07-12 16:23:17 +02:00
José Valim
d015ad5f2d
Ensure line numbers are properly preserved in EEx, closes #2485
2014-07-04 11:54:07 +02:00
José Valim
c8a0158791
Add @external_resource attribute, closes #2455
2014-06-27 22:16:34 +02:00
José Valim
7ba3c3cfb7
Revert "EEx tests aware of CR+LF newline on Windows"
...
This reverts commit f60d3668ed .
2014-05-31 09:58:29 +02:00
chyndman
f60d3668ed
EEx tests aware of CR+LF newline on Windows
2014-05-28 10:25:16 -07:00
José Valim
68dd952b45
More deprecations around tuples and records
2014-05-17 16:13:02 +02:00
José Valim
4df91f14ee
Fix bug in for comprehensions
2014-04-24 11:27:49 +02:00
José Valim
56f15d9f4e
Do not add spaces after { and before }
...
This makes the source code consistent with the result
returned by inspect/2.
2014-04-21 19:06:35 +02:00
Igor Kapkov
97e70e6de1
change some doc examples to iex style
2014-04-12 08:41:22 +02:00
Eric Meadows-Jönsson
f7d0c8c58e
Add handle_body/1 callback to EEx.Engine
2014-04-08 19:17:59 +02:00
José Valim
4847214766
Do not fill in stacktraces on protocol dispatch
2014-04-07 19:05:02 +02:00
José Valim
325c98ccbd
Remove line and convert text tokens to char lists
2014-04-06 14:14:47 +02:00
José Valim
26f5f640c9
Initial work on traversable
2014-03-05 08:08:43 -08:00
José Valim
3512c1a860
Start migrating lc to for comprehensions
2014-02-17 14:45:04 +01:00
José Valim
fe2e4a1010
Move from // to \\
2014-01-28 10:50:00 +01:00
Devin Torres
f42055be57
Allow EEx.AssignsEngine to accept any Dict.t
2014-01-13 15:21:26 -06:00
José Valim
0aff2a3139
Compile with relative paths and include apps in stacktraces
...
Closes #1964 , closes #1861
2014-01-07 11:30:44 +01:00
José Valim
5e2ea082d1
Deprecate __FILE__ in favor of __DIR__ or __ENV__.file
2014-01-02 18:10:59 +01:00
José Valim
0267f312b1
Fix handling of nested do expressions in EEx, closes #1710
2013-09-12 10:59:48 -03:00
José Valim
3e1099830a
Properly handle @file that comes from warnings
2013-08-20 11:39:29 +02:00
José Valim
cea31f69dc
Review and deprecate list <-> binary conversion
2013-08-14 11:16:37 +02:00
José Valim
7ed1f2cbef
EEx exprs should receive binaries and use Behaviour
2013-07-20 16:35:32 +02:00
José Valim
cdd8e5862d
Rename the ExUnit option from debug to trace
2013-07-01 16:41:34 +02:00
José Valim
3bac4ddec6
Support --debug on internal tests which are not run through mix
2013-07-01 14:20:33 +02:00
Rafael Mendonça França
7cdc25538e
Uniform use of whitespace after commas on codebase
...
This make easier to read and also follow some standard in the code
2013-06-15 16:52:48 -03: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
cbe82e0912
Add __DIR__, closes #1019
2013-05-06 11:03:37 -06:00
José Valim
fda6f0ce09
Move path related functions from File to Path
2013-01-19 09:36:03 -07:00