Commit Graph
5747 Commits
Author SHA1 Message Date
José Valim fbfb41dfee Release v1.4.0-rc.0 2016-11-28 11:10:31 +01:00
José Valim 02c48a80e1 Simplify port wrapper script 2016-11-25 14:14:21 +01:00
Eksperimental 27fefd8716 Raise when given non-keyword-lists in Keyword.merge/3 (#5479)
This commit makes sure a valid keyword is given as both arguments.

Additionally, it adds tests to make sure Keyword.merge/2,3 work
exactly the same way if the function passed to merge/3 returns
the value from the second keyword list.

Similar to Similar to https://github.com/elixir-lang/elixir/pull/5466.
2016-11-25 10:33:40 +01:00
Venkat Dinavahi 956af980a8 added clarification to Enum.uniq_by (#5483) 2016-11-23 23:26:34 +01:00
Gustavo Saiani 2fb41ebef4 Remove double line-break in List (#5482) 2016-11-23 16:04:27 +01:00
Aleksei Magusev 389d6325e4 Remove unnecessary spaces in KernelTest 2016-11-22 22:10:44 +01:00
Eksperimental 9277413a93 Add underscore in file names, and atoms (#5478) 2016-11-22 22:09:52 +01:00
José Valim 1b664dd4f2 Replace :timer.sleep/1 by Process.sleep/1 2016-11-22 20:31:05 +01:00
João Britto 0809ef5bd0 Improve Stream.interval/1 documentation (#5480)
By warning about its blocking behavior and suggesting the use
of `Stream.iterate/2` for generating number sequences.
2016-11-22 20:28:59 +01:00
Gustaf Andersson e9a8c63f50 Optimize Enum.reduce/3 for ranges (#5477) 2016-11-21 21:15:53 +01:00
José Valim bd7b4847bd Speed up String.split/1 2016-11-21 19:03:16 +01:00
LJZN f1cf53e9b5 Fix typo (#5475) 2016-11-21 12:51:23 +01:00
José Valim c69fa111c6 Improve error messages for bodyless and skip warning on quoted headers
Closes #5435
2016-11-21 11:54:10 +01:00
José Valim 70e00b1530 Also rewrite local calls made in local call arguments, closes #5149 2016-11-20 23:24:40 +01:00
José Valim 621210af5e Remove unecessary module in quote tests 2016-11-20 23:24:00 +01:00
Andrea Leopardi b33439fc47 Validate options in Code.compiler_options/1 (#5472) 2016-11-20 22:00:12 +01:00
José Valim a4682f383d Optimize Enum.reduce/3 for ranges 2016-11-20 20:07:46 +01:00
Aleksei Magusev 44d26b493a Tidy up code around syntax highlighting in IEx 2016-11-20 17:20:38 +01:00
Aleksei Magusev de1587df86 Remove unnecessary newline 2016-11-20 17:20:38 +01:00
Aleksei Magusev 00662c963a Use ranges instead of :lists.seq/2 in Registry 2016-11-20 17:20:37 +01:00
Aleksei Magusev 76545e4c6c Remove spaces around * in bitstring definitions 2016-11-20 17:20:37 +01:00
Aleksei Magusev 2809c2ca6e Use literal velues for size modifier in bitstring definitions 2016-11-20 17:20:37 +01:00
Aleksei Magusev 1e72af744c Rename shift_{left,right} helper functions in Float 2016-11-20 17:20:37 +01:00
Eksperimental b31a7d3027 Raise when given non-keyword lists in Keyword.merge/2 (#5466)
Closes #5395.
2016-11-20 15:33:10 +01:00
José Valim c907598cb1 Improve error message on default handle_call/handle_cast clauses, closes #5356 2016-11-20 14:46:34 +01:00
José Valim 6b8db410b3 Raise BadBooleanError on and/or, closes #5297 2016-11-20 13:30:50 +01:00
José Valim ac8bedb921 Refactor KernelTest to use describe/2 2016-11-20 13:29:27 +01:00
José Valim c1e4274162 Improve compiler message on unexpected end of line, closes #5137 2016-11-20 11:01:30 +01:00
José Valim 1606c40453 Update to Unicode 9.0.0
The update instructions have also been outlined
on top of the unicode.ex file.

Closes #4864.
2016-11-20 00:13:12 +01:00
José Valim 1ded100fb5 Warn for unused module attributes
Module attributes that are imported from other
contexts are not warned. This keeps the same
semantics regarding variables and function definition
ordering which are not warned when they come from
other contexts.
2016-11-20 00:08:20 +01:00
José Valim ebd4f27ef0 Move module attributes to a new structure to support warnings 2016-11-20 00:08:20 +01:00
Gustavo Saiani 11831dcbcb Remove double space from Path (#5467) 2016-11-19 15:19:43 +01:00
José Valim fd5b4b4f4b Expect tuples in Keyword 2016-11-19 12:56:45 +01:00
José Valim 862796d316 Update TODOs 2016-11-18 02:39:25 +01:00
José Valim 32c5b88591 Ensure compile.app properly writes utf-8 applications 2016-11-18 01:37:29 +01:00
fieldinrain 2ac9952c6b Fix the doc of arithmetic division (/) (#5460) 2016-11-17 15:43:44 +01:00
fieldinrain 3dcc053a82 Fix the example of div/2 (#5459) 2016-11-17 14:47:58 +01:00
Cory Schmitt 63cf4b1783 Mention {} syntax in the alias docs (#5456) 2016-11-17 10:07:42 +01:00
Guilherme 'nirev' Nogueira 91a144b14b Add doc example for Module.eval_quoted with __ENV__ as first argument (#5455) 2016-11-16 18:21:56 +01:00
Gustavo Saiani f3c4179bf3 Remove duplicated assertion and improve formatting in KernelTest (#5454) 2016-11-16 16:57:14 +01:00
Gustavo Saiani 1eee641024 Remove double space from KernelTest (#5451) 2016-11-16 00:32:18 +01:00
Andrea Leopardi a0e695b180 Fix the spec and guards for Inspect.Algebra.surround_many/6 (#5450)
The old spec said that the "left", "right", and "separator" arguments
had to be binaries but they can instead be documents.
2016-11-15 17:48:34 +01:00
Andrea Leopardi 2d6d5fdf8f Generally improve code readability in Inspect.Algebra (#5446) 2016-11-15 16:11:21 +01:00
José Valim b6e9ff9cf0 Document and refactor syntax colors 2016-11-15 15:00:46 +01:00
Louis Pilfold 16a7758955 Syntax highlighting of IEx results (#5355) 2016-11-15 12:11:13 +01:00
João Britto a4004489ee Fix typo on String.replace doc (#5449)
From `insert_replace` to `insert_replaced`.
2016-11-15 10:18:28 +01:00
José Valim 5a56f46b5d Fixes to the Port docs 2016-11-14 23:29:14 +01:00
José Valim 5a4698ff38 Inline do in def sequence for KernelTest (#5448) 2016-11-14 22:55:22 +01:00
José Valim 3c6b4c5278 Document the Port module 2016-11-14 22:20:56 +01:00
Gustavo Saiani abbeae134c Inline do in def sequence for KernelTest 2016-11-14 17:41:02 -02:00