Commit Graph
423 Commits
Author SHA1 Message Date
José Valim 152c784a07 Add binary_part to the list of guard functions 2012-07-24 13:04:33 +02:00
José Valim 5c6bf0856c Clean up a couple more assertions 2012-07-24 11:16:57 +02:00
José Valim fa449e842a Revert "Do not expand prepend and append paths"
This reverts commit 20d96a0d77.
2012-07-23 21:56:48 +02:00
José Valim 20d96a0d77 Do not expand prepend and append paths 2012-07-23 21:02:04 +02:00
José Valim 4775d60d00 Add deps.update 2012-07-23 20:59:04 +02:00
José Valim 15defaab04 Show a warning instead of exception on module redefinition, closes #396 2012-07-23 18:21:12 +02:00
José Valim bcee404edb Expect aliases as part of many options 2012-07-23 13:31:25 +02:00
José Valim 576492ae48 Add Code.ensure_compiled 2012-07-23 09:51:15 +02:00
José Valim 4e83a15dee Cosmetic changes 2012-07-22 13:20:09 +02:00
José Valim 117d09509c Rename __MAIN__ to Elixir, closes #390 2012-07-22 12:49:36 +02:00
José Valim 7d1ef13f17 Rename Elixir.Builtin to Kernel, according to #390 2012-07-22 11:23:35 +02:00
José Valim 6a7602d974 Avoid nil conversion if expression is known to return a boolean 2012-07-22 10:30:16 +02:00
José Valim 1077e64126 Deprecate Module.function_defined? in favor of Module.defines? 2012-07-21 23:32:16 +02:00
José Valim 61a27d1be6 Remove the need for special <& &> tags, closes #393 2012-07-21 18:40:57 +02:00
José Valim d35d0f41c8 Clean up fn implementation 2012-07-21 13:40:02 +02:00
José Valim 661ef4377b Properly wrap fn/do end in tokenizer 2012-07-21 13:30:18 +02:00
José Valim 4d715a3a41 Improve coverage and implementaiton of function 2012-07-21 12:41:29 +02:00
José Valim 175e90d6af Initial work on removing fn ambiguity 2012-07-21 12:31:03 +02:00
José Valim af167fbd11 Revert "Use more explicit naming in module functions"
This reverts commit 390f194b24.
2012-07-21 10:27:19 +02:00
José Valim 94d5c92d34 Support backreferences in regex 2012-07-20 21:05:35 +02:00
José Valim efd161d145 Add File.iterator 2012-07-20 20:23:28 +02:00
José Valim 9a6d15af53 Warn when unsupported macro is invoked inside guards 2012-07-20 17:53:34 +02:00
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