Commit Graph
245 Commits
Author SHA1 Message Date
José + Yehuda e03bf4d7d8 Initial work on Calendar.format (based on ICU) 2012-10-21 19:43:11 +02:00
José + Yehuda 85a9d70544 Improvements to Calendar module 2012-10-21 19:00:16 +02:00
José Valim 43b8a26b36 Revert "Remove Calendar from the upcoming release"
This reverts commit 411f1ce55d.
2012-10-20 20:10:59 +02:00
José Valim 411f1ce55d Remove Calendar from the upcoming release 2012-10-20 18:59:08 +02:00
José Valim ab25aa72b1 Normalize __ENV__ as the last argument, closes #552 2012-10-20 14:58:38 +02:00
José Valim ca0dbe8f46 Merge pull request #555 from elixir-lang/jv-unordered-keywords
Unordered keywords
2012-10-19 02:54:14 -07:00
José Valim 03f30b985b Use Keyword.equal? instead of sorting 2012-10-19 11:36:48 +02:00
José Valim 152911a03d Add Keyword.equal? 2012-10-18 20:51:40 +02:00
José Valim 923eb5d63d Fix Keyword.merge, speed up Keyword.delete 2012-10-18 20:12:48 +02:00
José Valim 673f27d1a8 unquote_splicing should work with pipes 2012-10-18 16:38:42 +02:00
José Valim 43d3e3eba6 Remove convertion to atom from parser 2012-10-18 15:12:52 +02:00
José Valim 4f3e66cdfd Refactor elixir_tokenizer scope options 2012-10-18 14:46:54 +02:00
Yurii Rashkovskii 435c4615d1 Make tokenizer be able to limit atoms to existing atoms only 2012-10-18 13:10:35 +02:00
José Valim 5e886ffd97 Merge pull request #547 from devinus/binary-to-number
Add binary_to_(integer|float) to (integer|float)_to_binary
2012-10-18 02:18:28 -07:00
Devin Torres 17b5ede88f Add binary_to_(integer|float) to (integer|float)_to_binary 2012-10-17 16:35:42 -05:00
Yurii Rashkovskii baa28932f9 Keywords are no longer sorted 2012-10-17 00:06:41 -07:00
José Valim 347a9dee7b Merge pull request #543 from devinus/better-float-inspect
Better inspect for floats
2012-10-16 03:13:18 -07:00
Devin Torres ab4c9322cf Better inspect for floats 2012-10-15 16:18:43 -05:00
José Valim 044380871e Deprecate List.zip/2 in favor of Enum.zip/2 2012-10-15 14:51:48 +02:00
Yurii Rashkovskii 6ca846fb4d Prevent List.zip([]) and List.unzip([]) from hanging forever 2012-10-14 15:18:39 -07:00
José Valim 8477357c33 Merge pull request #538 from yrashk/file-cp-permission
File.cp family should preserve file's mode
2012-10-14 09:56:06 -07:00
Yurii Rashkovskii 9fc710abf6 File.cp family should preserve file's mode 2012-10-14 07:19:27 -07:00
Yurii Rashkovskii 64bdb7a086 Add support for defining multiple protocol implementations in one go
defimpl SomeProtocol, for: [Atom, Number, List] do
    ...
   end
2012-10-12 14:19:17 -07: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
Yurii Rashkovskii 4a349927be Add support for record.update/2 2012-10-11 12:07:59 -07:00
José Valim c977170331 Fix failing erlang test 2012-10-11 13:48:46 +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 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 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 09f9f1faa3 Fix partial application on lists with many elements and tail 2012-10-10 13:45:48 +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 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
Yurii Rashkovskii c8aab86122 Add Macro.term?/1 2012-10-08 21:01:20 -07:00
José Valim ee69cb4f74 Avoid false negatives in protocol dispatch, closes #503 2012-10-08 16:00:27 +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 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