Commit Graph
1715 Commits
Author SHA1 Message Date
Devin Torres a95b1737ad Fix some spelling mistakes in Kernel 2012-10-12 10:38:55 -05:00
Dickson S. Guedes c5876b25da fixing docs indentation 2012-10-11 22:46:54 -03:00
José Valim be3c2f5cde Update System.build_info docs 2012-10-11 21:47:39 +02:00
José Valim 4063af6ed9 Merge pull request #527 from yrashk/git-describe
Include the most recent tag into System.build_info
2012-10-11 12:46:37 -07:00
Yurii Rashkovskii 9b4a086f15 Include the most recent tag into the System.build_info tuple 2012-10-11 12:43:02 -07:00
José Valim 601cbdfb3a Allow line in quote to be an expression, closes #525 2012-10-11 21:22:49 +02:00
José Valim 89d31e9306 Get first element from module name 2012-10-11 21:11:36 +02:00
Yurii Rashkovskii 4a349927be Add support for record.update/2 2012-10-11 12:07:59 -07:00
José Valim 444cec2d24 Support bytes, bits, utf8, utf16 and utf32 2012-10-11 13:58:42 +02:00
José Valim d888fbe340 Optimize Binary.Inspect.Utils.escape 2012-10-11 13:48:55 +02:00
José Valim c977170331 Fix failing erlang test 2012-10-11 13:48:46 +02:00
José Valim cfbdd835fe Optimize protocols when there are no fallbacks 2012-10-11 12:46:12 +02:00
José Valim 2a98788ca3 Solve a::b ambiguity 2012-10-11 12:24:51 +02:00
José Valim 83ca39b6aa If :B is allowed, B: should be too 2012-10-11 06:46:19 +02:00
José Valim 6a45bcfc37 Pass context in setup/teardown callbacks 2012-10-11 06:39:53 +02:00
José Valim 76197dfec6 Quote keywords on inspect 2012-10-11 06:21:16 +02:00
José Valim c13f5a4a7e Fix failing tests 2012-10-11 06:13:54 +02:00
José Valim a04ed73cba Solve inconsistencies in the Dict API 2012-10-11 06:00:21 +02:00
José Valim 48112e349f Rename Macro.term? to Macro.safe_term
The main goal is to return which term is not unsafe.
2012-10-11 05:44:22 +02:00
José Valim 26f9a60256 Use cond instead of nested ifs 2012-10-11 05:36:13 +02:00
José Valim c9ac4176a0 Merge pull request #523 from yrashk/inspect-keyword
Add support for inspecting keywords
2012-10-10 20:32:16 -07:00
Yurii Rashkovskii 9d1fdae915 Add support for inspecting keywords 2012-10-10 17:52:18 -07:00
José Valim 0aa0a404f9 Support unquote_splicing on root 2012-10-10 19:21:37 +02:00
José Valim b4ccac21f4 By default embed elixir in escripts 2012-10-10 18:06:40 +02:00
José Valim 09f9f1faa3 Fix partial application on lists with many elements and tail 2012-10-10 13:45:48 +02:00
José Valim 69e4f6c24c Make function naming consistent across modules 2012-10-10 08:54:38 +02:00
José Valim 4cd14e1334 Allow partial application on literals 2012-10-10 08:44:32 +02:00
José Valim 01678161c4 Merge pull request #521 from yrashk/decreasing-range
Support for decreasing ranges
2012-10-09 13:31:01 -07:00
Yurii Rashkovskii ed89fdb732 Support for decreasing ranges
Closes #518
2012-10-09 13:29:12 -07:00
José Valim 2053aba138 Remove unused calendar functions and warnings 2012-10-09 21:59:55 +02:00
José Valim 98efb89125 Make +:foo behaviour consistent with foo:bar (both still raise a warning though) 2012-10-09 21:56:36 +02:00
José Valim 563ca3fb58 Remove extra parens 2012-10-09 21:34:30 +02:00
Yehuda Katz b2e96d3901 More Calendar implementation:
* from_tuple
* to_tuple
* add
* subtract
2012-10-09 16:21:37 +02:00
José Valim 54224c0a61 Support unary plus and minus in Macro.term? 2012-10-09 07:56:34 +02:00
José Valim 901d00b398 Merge pull request #517 from yrashk/macro-is-term
Add Macro.term?/1
2012-10-08 21:56:42 -07:00
Yurii Rashkovskii c8aab86122 Add Macro.term?/1 2012-10-08 21:01:20 -07:00
José Valim dc8c2059e6 Print environment when dep cannot be found 2012-10-08 21:28:09 +02:00
José Valim 11f934b74a Protocols are powered by behaviours behind the scenes 2012-10-08 20:13:45 +02:00
José Valim ee69cb4f74 Avoid false negatives in protocol dispatch, closes #503 2012-10-08 16:00:27 +02:00
José Valim 1256388109 Improve env related error messages 2012-10-08 14:43:40 +02:00
Yurii Rashkovskii 37b4073435 cp_r/c test file should be managed in tests' setup/teardown
The reason for this is because if it is stored in the repository, reltool can't build elixir's release.
2012-10-07 02:02:24 -07:00
José Valim 95286df0c4 Fix a bug where a partial alias could not be expanded on iex 2012-10-05 18:30:42 -07:00
José Valim 69e36c731c Simplify __scope__ API 2012-10-05 18:26:52 -07:00
José Valim 626ed9532b Erlang. syntax is deprecated in favor of simply using atoms 2012-10-05 17:08:22 -07:00
José Valim 441bf29f16 Remove special case for specs in elixir_module.erl
Previously, since the functions were not concrete
but stubs replaced at compilation time, we had to
special the module definition to not actually include
the specs, which would become compilation errors.

Now we provide a concrete implementation of the
functions and therefore the spec will be available
in the final source. Those implementations are not
actually invoked in practice, since they are still
transformed into erlang ones for performance reasons.
2012-10-05 15:45:29 -07:00
José Valim fac57e78b2 Ensure Kernel.__info__(:functions|:macros) returns the complete set 2012-10-05 15:45:28 -07:00
Yurii Rashkovskii ecf4ed56f2 Typo fix 2012-10-05 13:14:43 -07:00
José Valim 4dcff67b47 Unify Regex and String APIs, closes #505 2012-10-04 16:25:04 -07:00
José Valim e6dba433eb Add Module.create 2012-10-03 23:27:34 -07:00
José Valim adbe6fc3b6 Support <%% and <%# in EEx, closes #287 2012-10-03 21:42:10 -07:00