José Valim
c4dcaf540d
Slight clean up on erlang tests
2013-06-20 22:44:22 +02:00
José Valim
0c17fa0ab2
Use .bat executables on Windows
2013-06-20 09:08:51 +02:00
Alexei Sholik
3d73d1a359
Fix formatting issues in Typespec's docs
2013-06-19 20:29:58 +03:00
José Valim
18bcef3ef4
Fix a bug when inspecting records nested in tuples
2013-06-19 19:17:15 +02:00
José Valim
115fd99bfb
Move .gitattributes files to repo root
2013-06-19 18:42:44 +02:00
José Valim
879499b409
Deprecate (fun(...) -> ...) spec style
...
We are deprecating this style because it reads ambiguous
as a function that receives another function as argument.
2013-06-19 18:25:48 +02:00
Tom Janssens
f9f728cb66
Added .gitattribute for fixtures in tests, so CRLF is not autoconverted
2013-06-19 18:02:50 +02:00
Tom Janssens
5dd3a23752
Fixed path tests when running on Windows: removed drive prefixes from check
2013-06-19 16:48:26 +02:00
José Valim
c572cb80fc
Support binding/2 that goes across all contexts
2013-06-19 14:17:45 +02:00
José Valim
b761f1a605
Wording on File's @moduledoc
2013-06-19 12:53:28 +02:00
José Valim
c1f907b412
Clean up docs for File
2013-06-19 12:31:33 +02:00
José Valim
406f0dcffe
qoute -> quote
2013-06-19 10:38:09 +02:00
Andrzej Sliwa
22b455fad4
cleanup after refactorization of Code.string_to_quoted
2013-06-19 09:03:42 +02:00
José Valim
9807b506eb
Update CHANGELOG and minor fixes
2013-06-19 08:00:19 +02:00
José Valim
624423686d
Merge pull request #1282 from andrzejsliwa/master
...
rename of Macro.to_binary and Code.string_to_ast regards to #1143
2013-06-18 22:57:38 -07:00
meh
1f15bf72e7
Add Process.self
2013-06-19 00:23:02 +02:00
Andrzej Sliwa
e6bc5a273c
refactored/renamed from Code.string_to_ast to Code.string_to_quoted
2013-06-19 00:18:32 +02:00
Andrzej Sliwa
8fa6c4f96f
refactor/rename Macro.to_binary to Macro.to_string with deprecation warning
2013-06-18 23:35:13 +02:00
José Valim
b7e8f97de1
Merge pull request #1279 from ToJans/WindowsBugfixing
...
Windows bugfixing
2013-06-18 11:18:04 -07:00
José Valim
5fc68fe71b
File.rm_rf! should not complain on invalid entries
2013-06-18 20:15:53 +02:00
Tom Janssens
808260cd1b
Fixed unit test for File.Touch with failure on Windows
2013-06-18 20:13:55 +02:00
Tom Janssens
d9152c08d8
Fixed a bug within File.rm_rf on windows
2013-06-18 20:09:23 +02:00
José Valim
4048e542d9
cp_r should pinpoint place of failure on errors
2013-06-18 19:52:06 +02:00
José Valim
b08273700f
Use regex on matching on some of File exceptions
2013-06-18 18:18:51 +02:00
Tom Janssens
7fc37de058
Some IO tests return alternate error codes on windows
...
Now these tests allow different kinds of error codes. However, I currently
duplicate the is_io_error? method; I would assume there would be an easier
way to do this; maybe just put it in a namespace and reference the
namespace?
2013-06-18 17:49:19 +02:00
José Valim
c4dac6fd7a
Catch invalid arguments for binding/1
2013-06-18 16:29:12 +02:00
José Valim
d3122ddcc5
Add binding/0 and binding/1 for retrieving bindings
2013-06-18 16:14:03 +02:00
José Valim
74cfcda902
Validate eval options, closes #1238
2013-06-18 15:38:13 +02:00
José Valim
9904bdce9d
Warn on undefined module attributes, closes #963
2013-06-18 12:19:15 +02:00
José Valim
754418493f
Merge pull request #1275 from ericmj/elixir-in-warning
...
Emit warning for 'x in []' in guards
2013-06-18 03:04:05 -07:00
Eric Meadows-Jonsson
27000ea1b4
Emit warning for 'x in []' in guards
2013-06-18 11:57:27 +02:00
José Valim
620ee4298c
Raise proper warnings when default clauses from different definitions collide, closes #1244
2013-06-18 11:36:57 +02:00
rnowling
441547d8e4
Fixed grammar and wrong word (exit, not exist) in Process.exit/2 documentation.
2013-06-17 23:25:23 -03:00
Yurii Rashkovskii
5e123e6519
Make sure we don't receive an EXIT message from the dependency tracker
...
It pollutes IEx and scripts execution
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2013-06-17 20:37:44 +02:00
José Valim
91c0fa71fa
Avoid clash in between modules
2013-06-17 13:19:07 +02:00
José Valim
87da4e91bb
Clean up error messages, move defaults warning to an error
2013-06-17 13:05:57 +02:00
José Valim
f88ee1c23a
Do not check in utf8 directories into source control
2013-06-17 08:57:53 +02:00
Rafael Mendonça França
cca430522d
Follow the bullet point standard on this file
2013-06-16 13:11:51 -03:00
Rafael Mendonça França
db417110e7
Use the proper code highlight for functions
2013-06-16 13:11:28 -03:00
José Valim
67896b56c5
Ensure errors point to the proper -> clauses
...
This commit changes the -> clauses representation from:
{ :->, meta, list({ list(expr), expr }) }
To:
{ :->, meta, list({ list(expr), meta, expr }) }
Now clauses can store metadata, which allows us to provide
accurate reporting information.
Closes #1215
2013-06-16 17:27:14 +02:00
José Valim
d21d603617
Avoid race condition on CLI tests
2013-06-16 13:57:52 +02:00
José Valim
19ff7a03f9
Ensure imports inside quotes are properly registered, closes #1225
2013-06-16 13:18:47 +02:00
José Valim
7f5744bde7
Ensure defmodule :atom does not define an alias
2013-06-16 13:10:59 +02:00
José Valim
b87797f788
Return Foo for __MODULE__.Foo outside of a module
2013-06-16 13:10:59 +02:00
Alexei Sholik
a541f53dd1
Don't assume terminal availability in ANSI doctests
2013-06-16 12:15:00 +03:00
José Valim
5222c7737f
Update docs for Macro.expand
2013-06-16 10:07:35 +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
Rafael Mendonça França
7b4e0915b1
Remove documentation of .split, .drop and .take on HashDict and ListDict
...
They are already documented on Dict
2013-06-15 12:55:07 -03:00
Rafael Mendonça França
2ea7de7361
Fix Dict.drop documentation
2013-06-15 12:54:34 -03:00
Yuki Ito
c97dc3bd15
Fix typo in doc
2013-06-15 20:35:15 +09:00