Commit Graph
401 Commits
Author SHA1 Message Date
José Valim 42c1915ad3 Improve error message when calling local inside guards 2012-07-20 16:09:43 +02:00
José Valim 49501ef59e Improve error messages with terminators 2012-07-20 13:04:33 +02:00
José Valim f6d869cb96 Support terminators in tokenizer 2012-07-20 12:07:45 +02:00
José Valim 90650b334e Improve error messages for unterminated strings, sigils and heredocs 2012-07-20 11:38:49 +02:00
José Valim d984f4b545 Typespecs now support macros, closes #385 2012-07-20 10:29:55 +02:00
José Valim 7d98ae18f9 Simply use private macros for defining dicts 2012-07-20 09:42:46 +02:00
José Valim 390f194b24 Use more explicit naming in module functions 2012-07-20 09:31:25 +02:00
José Valim 504dd24934 No need to make location part of the behavior, we can get it from compile info 2012-07-19 21:25:48 +02:00
José Valim ea1b07e81e Do not automatically forward tasks, move some logic to Mix.SCM 2012-07-19 18:18:12 +02:00
José Valim 9c4c9e8bb0 Ensure there is no ambiguity in tuples 2012-07-18 20:57:07 +02:00
José Valim 742486d112 Do not convert underscores to defined arg 2012-07-18 12:58:23 +02:00
José Valim a421a73abf Clean up exunit server and exception docs 2012-07-18 11:54:27 +02:00
José Valim bfddbd726a Add mix shell to avoid noise in tests 2012-07-18 10:59:28 +02:00
José Valim 4b960a2114 Add compile meta task, move logic to compile.elixir 2012-07-18 10:20:28 +02:00
José Valim c3d5611cc2 Improve docs for functions that return both binaries and char lists 2012-07-17 14:02:59 +02:00
José Valim fea9455eb7 Add self() back since it is allowed in guard clauses 2012-07-17 13:49:34 +02:00
José Valim fc3aa85d81 Add mix help 2012-07-16 15:29:29 +02:00
José Valim 6c5b3134af Add function_exported?, improve warnings for behaviors 2012-07-16 15:29:29 +02:00
José Valim 29fe257442 Improve docs for d, make it easy to query builtin functions 2012-07-16 15:29:29 +02:00
José Valim b15394ce22 More improvements to printed docs 2012-07-16 15:29:29 +02:00
José Valim dca16fe966 Allow macros to be used in rescue clauses 2012-07-16 15:29:29 +02:00
José Valim c186bb19df Add d to print docs in IEx console, compile by default with docs 2012-07-16 15:29:29 +02:00
José Valim cfe9b52485 Provide a parallel require that runs require in parallel 2012-07-16 15:29:28 +02:00
José Valim 2c396b9cc1 Make the default for ExUnit case to be sync 2012-07-16 15:29:28 +02:00
José Valim 98631ada7d Make sure cp_rf also handles symlinks too 2012-07-16 15:29:28 +02:00
José Valim b8c2705ea1 Ensure rm_rf does not follow symlinks 2012-07-16 15:29:28 +02:00
José Valim 35c8a17e8d Avoid unix specific calls in tests 2012-07-16 15:29:28 +02:00
José Valim 23cd4ce28c Add File.rm_rf 2012-07-16 15:29:28 +02:00
José Valim bbd7960d78 Add rmdir, use path consistently in File 2012-07-16 15:29:28 +02:00
José Valim 7d5be8d093 Do not depend on the filesystem order 2012-07-16 15:29:27 +02:00
José Valim d2f2d4ba20 Introduce File.CopyError, File.cp! and File.cp_r! 2012-07-16 15:29:27 +02:00
José Valim 7be9ba8585 Add File.cp and reorganize test cases a bit 2012-07-16 15:29:27 +02:00
José Valim 28ecab3dde Support File.cp_r 2012-07-16 15:29:27 +02:00
José Valim f756ce6077 Fix tests that were not using absolute paths 2012-07-16 15:29:27 +02:00
José Valim f491ebb976 Support File.copy 2012-07-16 15:29:27 +02:00
José Valim 92fa624892 Support File.touch(!) and File.write_stat(!) 2012-07-16 15:29:27 +02:00
José Valim e4176725ab Add File.cwd/0, File.chdir/1 and File.chdir/2 2012-07-16 15:29:27 +02:00
José Valim cea5a61ea2 Use a main fixture_path helper 2012-07-16 15:29:27 +02:00
José Valim a458e0e43c Allow File.open with a function 2012-07-16 15:29:27 +02:00
José Valim 4c099d6fc7 Document File.open 2012-07-16 15:29:27 +02:00
José Valim 59c38454c7 Refactor code now that we have local macros 2012-07-16 15:29:26 +02:00
José Valim af6c593898 Refactor previous commit by moving the fix to cons_to_list 2012-07-13 08:50:55 +02:00
Yurii Rashkovskii bb6562391e Fixes a bug that broke the correct behavior of the in guard
The correct behavior is:

> [] in [1,2,3] == false

However, recently introduced bug made this work like this:

> [] in [1,2,3] == true
2012-07-12 17:29:13 -07:00
José Valim 139b203da2 Ops, fix types on function definitions 2012-07-12 16:28:37 +02:00
José Valim 770ac3249e Document __block__, __scope__ and __aliases__ special forms 2012-07-12 16:25:43 +02:00
José Valim e80286ce57 Remove remaining __MAIN__ from erlang code 2012-07-12 12:29:52 +02:00
José Valim 1b4603160c Add elixir's parse transform to be used with erlang code 2012-07-12 11:29:46 +02:00
José Valim a75b572134 Update master 2012-07-11 21:27:09 +03:00
José Valim adcb8855d0 Provide Enum.nth! for now since we want to ensure we are on the proper bound 2012-07-11 19:51:22 +02:00
José Valim d216dbbc1d Ensure we are on master for docs generation 2012-07-11 13:02:50 +02:00