Commit Graph
1623 Commits
Author SHA1 Message Date
José Valim a8a2f86a23 Record type should be private by default, closes #1288 2013-06-23 20:20:47 +02:00
José Valim fc219e7dca IO.ANSI now uses binding 2013-06-23 19:32:58 +02:00
José Valim 96a103d222 Allow :binding as an option in quote
This commit also adds Macro.expand_once/2 and Macro.expand_all/2.
2013-06-23 19:23:32 +02:00
José Valim f525f5b8cb Add unquote: true support to Macro.escape 2013-06-23 16:32:07 +02:00
José Valim 5c30a687fa Inspect module before printing, closes #1309 2013-06-23 15:27:04 +02:00
José Valim 9ffe8b0e97 Clean up defdelegate docs 2013-06-23 13:36:01 +02:00
José Valim 903aa60fec Finish operator table clean up 2013-06-23 13:18:25 +02:00
José Valim 969bc968ee Move ++, --, ** and // to new table 2013-06-23 13:18:25 +02:00
José Valim e941d78daf Move operator table clean up 2013-06-23 13:18:25 +02:00
José Valim 8d3475825b Group arrow-like ops together 2013-06-23 13:18:25 +02:00
José Valim 68c890e179 Move and and or operators to the new table 2013-06-23 13:18:25 +02:00
José Valim 6f73d7dbb9 Move comp_op to the new table 2013-06-23 13:18:25 +02:00
José Valim c2ac967123 Move all unary operators to new schema 2013-06-23 13:18:25 +02:00
José Valim dd573c9806 Initial work cleaning up op table 2013-06-23 13:18:25 +02:00
José Valim 151695b43c Add tests for nested whens 2013-06-22 18:53:18 +02:00
José Valim 2d8259b432 Support (x, y) when z, closes #1313 2013-06-22 18:53:18 +02:00
José Valim ae03e10db5 Merge pull request #1300 from jdrexler/issue-1285
Added chgrp!, chown!, and chmod! to module File
2013-06-22 05:10:43 -07:00
José Valim 208fbaf5ef Fix typo (tks @ericmj) 2013-06-22 14:02:10 +02:00
José Valim 820ca0a57e Do not use Enum on bootstrap 2013-06-22 13:55:33 +02:00
José Valim da0a95695d Allow types to be given to defrecordp
Part of #1288
2013-06-22 13:15:00 +02:00
José Valim b2541a1b93 Inline list funcs so we don't pay an extra dispatch cost 2013-06-22 13:15:00 +02:00
Johannes Drexler 5df40f7c42 Added functions for changing mode, owner and group to module File 2013-06-21 21:07:05 +02:00
Justin Weiss 3f8e3d4d38 Fixed some incorrect markdown in binary_to_list/3's documentation.
The docs for binary_to_list/3 weren't monospacing their reference to binary_to_list/1, which resulted in some bad italicization.
2013-06-21 10:38:04 -06:00
José Valim 391fee3ea2 ^x variables should always refer to the value before the expression
Closes #1307
2013-06-21 18:27:16 +02:00
José Valim 5247961185 Optimize temp_vars lookup 2013-06-21 11:43:41 +02:00
John Warwick 08e7da305c Fixed typos in file.ex docs 2013-06-20 21:35:47 -04:00
José Valim c4dcaf540d Slight clean up on erlang tests 2013-06-20 22:44:22 +02:00
José Valim 0c17fa0ab2 Use .bat executables on Windows 2013-06-20 09:08:51 +02:00
Alexei Sholik 3d73d1a359 Fix formatting issues in Typespec's docs 2013-06-19 20:29:58 +03:00
José Valim 18bcef3ef4 Fix a bug when inspecting records nested in tuples 2013-06-19 19:17:15 +02:00
José Valim 115fd99bfb Move .gitattributes files to repo root 2013-06-19 18:42:44 +02:00
José Valim 879499b409 Deprecate (fun(...) -> ...) spec style
We are deprecating this style because it reads ambiguous
as a function that receives another function as argument.
2013-06-19 18:25:48 +02:00
Tom Janssens f9f728cb66 Added .gitattribute for fixtures in tests, so CRLF is not autoconverted 2013-06-19 18:02:50 +02:00
Tom Janssens 5dd3a23752 Fixed path tests when running on Windows: removed drive prefixes from check 2013-06-19 16:48:26 +02:00
José Valim c572cb80fc Support binding/2 that goes across all contexts 2013-06-19 14:17:45 +02:00
José Valim b761f1a605 Wording on File's @moduledoc 2013-06-19 12:53:28 +02:00
José Valim c1f907b412 Clean up docs for File 2013-06-19 12:31:33 +02:00
José Valim 406f0dcffe qoute -> quote 2013-06-19 10:38:09 +02:00
Andrzej Sliwa 22b455fad4 cleanup after refactorization of Code.string_to_quoted 2013-06-19 09:03:42 +02:00
José Valim 9807b506eb Update CHANGELOG and minor fixes 2013-06-19 08:00:19 +02:00
José Valim 624423686d Merge pull request #1282 from andrzejsliwa/master
rename of Macro.to_binary and Code.string_to_ast regards to #1143
2013-06-18 22:57:38 -07:00
meh 1f15bf72e7 Add Process.self 2013-06-19 00:23:02 +02:00
Andrzej Sliwa e6bc5a273c refactored/renamed from Code.string_to_ast to Code.string_to_quoted 2013-06-19 00:18:32 +02:00
Andrzej Sliwa 8fa6c4f96f refactor/rename Macro.to_binary to Macro.to_string with deprecation warning 2013-06-18 23:35:13 +02:00
José Valim b7e8f97de1 Merge pull request #1279 from ToJans/WindowsBugfixing
Windows bugfixing
2013-06-18 11:18:04 -07:00
José Valim 5fc68fe71b File.rm_rf! should not complain on invalid entries 2013-06-18 20:15:53 +02:00
Tom Janssens 808260cd1b Fixed unit test for File.Touch with failure on Windows 2013-06-18 20:13:55 +02:00
Tom Janssens d9152c08d8 Fixed a bug within File.rm_rf on windows 2013-06-18 20:09:23 +02:00
José Valim 4048e542d9 cp_r should pinpoint place of failure on errors 2013-06-18 19:52:06 +02:00
José Valim b08273700f Use regex on matching on some of File exceptions 2013-06-18 18:18:51 +02:00