Aleksei Magusev
f557d7b7cb
Tidy up code around syntax highlighting in IEx
2016-11-20 17:20:38 +01:00
Aleksei Magusev
5c6cbf2f90
Remove unnecessary newline
2016-11-20 17:20:38 +01:00
Aleksei Magusev
52a172d17d
Use ranges instead of :lists.seq/2 in Registry
2016-11-20 17:20:37 +01:00
Aleksei Magusev
6630806b50
Remove spaces around * in bitstring definitions
2016-11-20 17:20:37 +01:00
Aleksei Magusev
f2b1ae4f32
Use literal velues for size modifier in bitstring definitions
2016-11-20 17:20:37 +01:00
Aleksei Magusev
e90cf5af03
Rename shift_{left,right} helper functions in Float
2016-11-20 17:20:37 +01:00
Eksperimental
22ca0ea2dd
Raise when given non-keyword lists in Keyword.merge/2 ( #5466 )
...
Closes #5395 .
2016-11-20 15:33:10 +01:00
José Valim
995836cffc
Improve error message on default handle_call/handle_cast clauses, closes #5356
2016-11-20 14:46:34 +01:00
José Valim
495fadab70
Raise BadBooleanError on and/or, closes #5297
2016-11-20 13:30:50 +01:00
José Valim
97fd4318d1
Refactor KernelTest to use describe/2
2016-11-20 13:29:27 +01:00
José Valim
6bb8f59b42
Improve compiler message on unexpected end of line, closes #5137
2016-11-20 11:01:30 +01:00
José Valim
1b3efa9625
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
2eb6a5c67f
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
41f7cd7a0e
Move module attributes to a new structure to support warnings
2016-11-20 00:08:20 +01:00
Gustavo Saiani
380cbb44f5
Remove double space from Path ( #5467 )
2016-11-19 15:19:43 +01:00
José Valim
0cbd608612
Expect tuples in Keyword
2016-11-19 12:56:45 +01:00
José Valim
1522ee7006
Update TODOs
2016-11-18 02:39:25 +01:00
José Valim
b9ca777d2c
Ensure compile.app properly writes utf-8 applications
2016-11-18 01:37:29 +01:00
fieldinrain
3fa10db705
Fix the doc of arithmetic division (/) ( #5460 )
2016-11-17 15:43:44 +01:00
fieldinrain
040d4206c8
Fix the example of div/2 ( #5459 )
2016-11-17 14:47:58 +01:00
Cory Schmitt
d99149e69b
Mention {} syntax in the alias docs ( #5456 )
2016-11-17 10:07:42 +01:00
Guilherme 'nirev' Nogueira
532984d012
Add doc example for Module.eval_quoted with __ENV__ as first argument ( #5455 )
2016-11-16 18:21:56 +01:00
Gustavo Saiani
2a58c2040e
Remove duplicated assertion and improve formatting in KernelTest ( #5454 )
2016-11-16 16:57:14 +01:00
Gustavo Saiani
9ad8441da2
Remove double space from KernelTest ( #5451 )
2016-11-16 00:32:18 +01:00
Andrea Leopardi
c08bf1ae5a
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
3ce204e38f
Generally improve code readability in Inspect.Algebra ( #5446 )
2016-11-15 16:11:21 +01:00
José Valim
a7e4ca7028
Document and refactor syntax colors
2016-11-15 15:00:46 +01:00
Louis Pilfold
0508a8eef0
Syntax highlighting of IEx results ( #5355 )
2016-11-15 12:11:13 +01:00
João Britto
d8cd0a72b7
Fix typo on String.replace doc ( #5449 )
...
From `insert_replace` to `insert_replaced`.
2016-11-15 10:18:28 +01:00
José Valim
43ca23a0d0
Fixes to the Port docs
2016-11-14 23:29:14 +01:00
José Valim
6782f4fd75
Inline do in def sequence for KernelTest ( #5448 )
2016-11-14 22:55:22 +01:00
José Valim
a9ee16295b
Document the Port module
2016-11-14 22:20:56 +01:00
Gustavo Saiani
d71a1d21e7
Inline do in def sequence for KernelTest
2016-11-14 17:41:02 -02:00
Louis Pilfold
70271dfca2
Document implicit function try ( #5442 )
2016-11-14 11:32:09 +01:00
Andrea Leopardi
9b9e976485
Polish docs and examples in Inspect.Algebra ( #5445 )
2016-11-14 11:18:24 +01:00
José Valim
b7dccb1b38
Support match lookups in the registry
2016-11-11 18:22:34 +01:00
José Valim
5845d67b89
Remove liveness guarantees as races exist anyway
2016-11-11 17:10:19 +01:00
José Valim
51153e15b6
Use bitshifting instead of * power_of_2_to_52
2016-11-11 01:26:07 +01:00
José Valim
0e7001e862
Use bitshifting instead of log when scaling
2016-11-11 00:13:55 +01:00
José Valim
35b2e2ca5e
Fix ratio for floats > 2
2016-11-10 23:48:45 +01:00
Eric Meadows-Jönsson
1648d055c2
Optimize exponent building in Float.round/3
...
Use a flooring function optimized for flooring to integers instead of
using the Float.floor/2 function that calls Float.round/3 again.
2016-11-10 22:19:35 +01:00
Gustavo Saiani
76dc93ee5b
Fix typo in Kernel ( #5434 )
2016-11-09 22:57:21 +01:00
Aleksei Magusev
f358ab3eb3
Suppress few warnings
2016-11-09 20:52:46 +01:00
Aleksei Magusev
01fa419f01
Minor improvements around OptionParser.to_argv/2
2016-11-09 20:43:02 +01:00
Aleksei Magusev
c65e37533b
Favor datetime over date_time
2016-11-09 20:42:56 +01:00
Aleksei Magusev
a823f5f863
Correct doc for DateTime.to_iso8601/1
2016-11-09 20:34:58 +01:00
Aleksei Magusev
983130f11f
Fix description of struct literal
2016-11-09 20:32:12 +01:00
Aleksei Magusev
7c39353649
Tidy up Kernel.TypespecTest
2016-11-09 20:27:05 +01:00
Gustavo Saiani
1827efbbdb
Rename vars in Kernel ( #5433 )
2016-11-09 19:34:54 +01:00
José Valim
ed90c0f24d
s/expression/value
2016-11-09 19:33:22 +01:00