José Valim
031f4e942f
Get rid of unused variable warning
2013-06-18 12:20:37 +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
1297fa5953
Refactoring of some mix tasks
2013-06-17 12:11:43 +02:00
José Valim
f88ee1c23a
Do not check in utf8 directories into source control
2013-06-17 08:57:53 +02:00
Eduardo Gurgel
07cd772962
Fix rebar config scripts evaluation
...
Scripts are evaluated using the dependency directory as current directory
Closes #1262
2013-06-16 15:54:54 -03: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
fdd108fc43
Improve error message matching on local.uninstall with archives
2013-06-16 13:23:13 +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
José Valim
48b19ec580
Improve mix test to rely on possible multiple messages
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
José Valim
b82cd8cbd0
Update CHANGELOG
2013-06-15 19:35:59 +02:00
José Valim
9365556ea4
Rename packages to archives
2013-06-15 19:33:43 +02:00
José Valim
de376663f0
Merge pull request #1223 from jeremyjh/1124-mix-local-arch
...
add mix package and related tasks
2013-06-15 09:34:55 -07:00
José Valim
f24ec671c2
Merge pull request #1258 from elixir-lang/fix-typo
...
Review documentation of `.split`, `.drop` and `.take` on `Dict`
2013-06-15 09:10:24 -07:00
José Valim
c0f7a268c7
Avoid usage of defrecordp and move all parsing to Mix.Version.Parser
2013-06-15 18:09:48 +02: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
José Valim
82cc435fd7
Merge pull request #1130 from meh/mix-version
...
Implement Mix.Version
2013-06-15 08:25:53 -07:00
José Valim
5a37594853
Handle --warnings-as-errors and other elixirc options in mix compile
2013-06-15 17:00:06 +02:00
Yuki Ito
c97dc3bd15
Fix typo in doc
2013-06-15 20:35:15 +09:00
Samuel Tonini
46b6f82473
fix typo in doc
2013-06-15 12:37:52 +02:00
José Valim
c80e43ca42
Go to :binary.match(left, right) directly instead of hoping through String.contains?
2013-06-15 10:51:10 +02:00
José Valim
80e41f8b4b
Allow +, -, and friends to be called dynamically
...
Our compiler still inline those calls. This commit simply
allows one to write:
mod = Kernel
mod.+(1, 2)
2013-06-15 10:45:12 +02:00
José Valim
9e16cf36ed
There is no need for =~ to be a macro
2013-06-15 09:46:19 +02:00
José Valim
1d8e39a2df
Only change compilation status if warnings_as_errors
2013-06-15 09:46:10 +02:00
José Valim
21db352039
Always print warnings to stderr
2013-06-15 09:32:53 +02:00
José Valim
45f033d15a
Add a test for warnings_as_errors option
2013-06-15 08:41:27 +02:00
José Valim
8eba2fcba0
Merge pull request #1214 from baldmountain/feature/898-warnings-as-errors
...
Feature/898 warnings as errors
2013-06-14 23:20:25 -07:00
Nicd
0b6b7ea0e4
Fix compiler_options docblock formatting errors
2013-06-15 01:39:21 +03:00
José Valim
e62ef92a4b
Ensure Enum.take/2 doesn't peek ahead
2013-06-14 18:43:05 +02:00
josephwilk
7c639f9252
document equal?
2013-06-14 11:49:16 +02:00
josephwilk
f03e707e8e
Bug: equal? on HashDict was not comparing the two dicts
2013-06-14 11:49:10 +02:00
Jeremy Huffman
38e63451d6
local.uninstall warn on uninstall package task
2013-06-13 21:37:34 -04:00
Jeremy Huffman
5e1366c946
changes from PR discussion
...
1: ensure_loaded?
3: ebin
2: assume path/ebin to be packaged
6: accept project path & assume ebin
8: include priv in archive
5: local.uninstall handles packages too
7: local.install [] will install a package
7: mix new .gitignore *.ez files
2013-06-13 21:37:34 -04:00
Jeremy Huffman
0470ebf5af
implement mix package and related tasks re #1124
2013-06-13 21:37:34 -04:00
James Fish
582e814422
Improve efficiency of HashDict contract
...
When contracting in size the HashDict does not need to relocate
(re-hash) key-value pairs. It is not required because each of the
deepest nodes in a trie become a bucket on contraction. This bucket
contains all the key-value pairs in that node.
2013-06-13 18:11:51 +01:00