José Valim
5297befe1f
Add check for OTP 20
2017-05-07 11:21:10 +02:00
José Valim
ed58508dfe
Add Regex.recompile/1 and Regex.recompile\!/1
2017-05-07 11:17:35 +02:00
José Valim
14e6910969
Avoid race conditions on capture_err reuse
2017-05-07 10:48:21 +02:00
José Valim
5ab8c6e93a
Remove warnings on OTP 20
2017-05-07 10:28:08 +02:00
José Valim
b6a81df6ef
Use overridable checks in defoverridable test
2017-05-01 09:36:38 +02:00
Andrea Leopardi
dfd0ab5106
Support :on_timeout in Task.async_stream and friends ( #6009 )
2017-04-28 21:15:43 +02:00
Andrea Leopardi
0841f5e5ab
Validate the value of the @on_load attribute ( #6038 )
2017-04-27 11:55:52 +02:00
Sam Davies
3bc8bb28ae
Better namespacing for overridable test ( #6034 )
2017-04-24 10:29:17 +02:00
Aleksei Magusev
5e8d7d3110
Use proper case for ASCII acronym
2017-04-23 16:49:40 +02:00
Sam Davies
1fa95f079e
Make defoverridable/1 accept a module name as an argument ( #6022 )
...
See #5734
2017-04-22 13:34:55 +02:00
Andrea Leopardi
24fb49305c
Add Process.cancel_timer/2 ( #6014 )
2017-04-21 10:45:23 +02:00
James Fish
bcf27c6c46
Fix race condition in format_exit test
...
Wait for message to arrive to guarantee that monitor is setup.
2017-04-21 10:36:05 +02:00
Aleksei Magusev
27032a3652
Remove duplicate test in MacroTest
2017-04-20 16:38:15 +02:00
Aleksei Magusev
d675f59c5c
Tidy up Macro test suite
2017-04-20 16:35:49 +02:00
Aleksei Magusev
5904879412
Fix quoting of bitstring literals
2017-04-20 16:35:49 +02:00
Sam Davies
83f85f2d83
Change @impl to @protocol_metadata for protocol info ( #6012 )
2017-04-19 13:09:35 +02:00
Eksperimental
658f63f9e1
Avoid warnings in hd/1 and tl/1 tests ( #6006 )
2017-04-18 11:47:21 +02:00
Eksperimental
d6f61634fa
Improve guards and naming in Kernel.pop_in/2 ( #5998 )
2017-04-17 00:58:26 +02:00
Eksperimental
980a73cc7f
Test tl/2 and document use with improper lists ( #5997 )
2017-04-16 23:13:44 +02:00
Eksperimental
f523b485d0
Document usage of hd/2 with improper lists + hd/2 tests ( #5996 )
2017-04-16 23:08:47 +02:00
José Valim
64efa0ac69
Do not raise when expanding dynamic size
2017-04-16 17:30:46 +02:00
Keith Salisbury
4179976ad9
Fix use of Prepositions
...
Prepositions can be tricky as there is no definite rule or formula for
choosing. In general we use `in` when talking about something inside the
file or module, such as a function.
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2017-04-16 17:02:02 +02:00
Andrea Leopardi
bbc2eae418
Clean up and reorder tests for the Regex module
2017-04-11 19:46:12 +02:00
Eksperimental
eb85ba4a64
Integer.gcd/2 improvements ( #5946 )
2017-04-10 02:41:38 +09:00
Aleksei Magusev
d5dadf43e0
Tidy up MapSet tests
2017-04-03 01:16:28 +02:00
Xavier Noria
8f78ed51f8
Add a test suite for Integer.gcd/2 ( #5945 )
2017-03-30 11:38:04 +02:00
José Valim
ddd92110a5
Simplify conversions by working on gregorian seconds
2017-03-29 11:37:56 +02:00
Aleksei Magusev
7a435951d3
Fixes and improvements to Calendar modules
2017-03-27 21:28:36 +02:00
Aleksei Magusev
c60ebb90bb
Use "option" instead of "keyword" in error message for alias
2017-03-26 15:14:14 +02:00
Aleksei Magusev
cc33b340b0
Improve test of discouraged types in TypespecTest
2017-03-26 15:14:14 +02:00
Jeff Kreeftmeijer
efa05882d0
Restore (deprecated) Integer.to_char_list/2 ( #5928 )
2017-03-25 14:05:54 +01:00
Andrea Leopardi
6311c0313e
Properly document passing strings to Module.split/1 ( #5927 )
2017-03-24 14:17:02 -07:00
Eksperimental
eb0f3ea6eb
Add typespecs and guards for the Module module ( #5869 )
2017-03-24 11:00:40 -07:00
José Valim
2d6e0fa476
Improvements to calendar
2017-03-23 18:37:30 +01:00
Qqwy / Wiebe-Marten
d017c5ab12
Adds internal Calendar Rata Die format for conversions between Calendars ( #5841 )
2017-03-23 17:55:38 +01:00
Eksperimental
d3f1fff8a9
Document and test function/0 built-in type ( #5908 )
2017-03-21 20:32:01 +01:00
Gal Tsubery
9d8ae7d287
Validate options for comprehension ( #5907 )
...
This change raises error when invalid keys are give to "for" loops and
prevents silent errors.
2017-03-21 19:41:08 +01:00
Gal Tsubery
0cedfc70d0
Optimize Map.merge/3 by choosing merge direction ( #5899 )
2017-03-18 21:22:16 +01:00
Gal Tsubery
c6766f4b2b
Add float overflow error message to Tokenizer ( #5893 )
2017-03-16 17:20:56 +00:00
Eksperimental
7357f56526
Add nonempty_charlist/0 built-in type ( #5879 )
2017-03-16 09:46:19 +01:00
Aleksei Magusev
526b1ce76b
Correct spelling in Calendar
2017-03-12 21:40:46 +01:00
Qqwy / Wiebe-Marten
9b056af70d
Ensure NaiveDateTime.to_iso8601/1 raises for non-Calendar.ISO structs ( #5865 )
2017-03-12 21:20:45 +01:00
José Valim
c4663ec885
Optimize checking of unused and unreachable locals
2017-03-10 12:20:21 +01:00
Aleksei Magusev
c6f83b59de
Correct tense in test messages
2017-03-05 22:55:09 +01:00
José Valim
ba24a2fef8
Inline binaries inside interpolation
2017-03-05 18:10:11 +01:00
José Valim
8a63cd03ac
Revert "Add MapSet.map_set?/1 function ( #5835 )"
...
Matching on the struct is the preferred and documented approach.
2017-03-05 16:21:24 +01:00
Aleksei Magusev
f9b6b08854
Remove unnecessary Enum.sort/1 calls
2017-03-05 15:45:06 +01:00
Eksperimental
2ef963acd0
Add test for OptionParser.parse/2 when it raises ( #5838 )
2017-03-05 11:08:16 +01:00
Michael Pope
3b1cefe5ae
Add MapSet.map_set?/1 function ( #5835 )
2017-03-04 22:41:20 +01:00
Eksperimental
8cee6fc20c
Implement own version of List.starts_with?/2 ( #5802 )
2017-03-03 21:33:55 +01:00