Andrea Leopardi
4ea3d6499f
Add --logger-otp and --logger-sasl to the command-line args
...
I added the following command-line arguments to the ./bin/elixir binary:
* `--logger-otp true|false` - to configure the `:handle_otp_reports`
of the `:logger` application
* `--logger-sasl true|false` - to configure the `:handle_sasl_reports`
of the `:logger` application
2016-03-17 11:04:33 +01:00
José Valim
e1a1065ee9
Update Unicode to 8.0.0 (equivalent pending)
2016-03-15 15:58:01 +01:00
José Valim
646ae4d63f
Avoid regular expressions
2016-03-15 15:43:32 +01:00
Abel Muiño
98a4ee5da6
New definition of whitespace & breakable whitespace
...
All whitespace can be removed by `strip` but only breakable whitespace
can be used as a delimiter by `split`, with updated docs for String.split/1
2016-03-15 14:54:11 +01:00
José Valim
0497024ad0
Merge pull request #4383 from elixir-lang/jv-calendar
...
Introduce calendar types
2016-03-15 13:29:38 +01:00
José Valim
258ffd4eea
Introduce calendar types
2016-03-15 13:22:01 +01:00
Paul Hieromnimon
d76d71ba81
Added a few backticks around the names of errors that didn't have them
2016-03-13 12:09:24 -07:00
Aleksei Magusev
d1aa45678f
Improve ~w,W split_words and add tests for whitespace escaping
2016-03-13 14:12:06 +01:00
Aleksei Magusev
8ef2ce5bfe
Validate modifies in ~w,W even for empty input
2016-03-13 14:12:06 +01:00
Kazuaki MATSUO
d16e8264ff
need colon to make gen_event atom
...
Should gen_event be atom ?
2016-03-13 00:56:59 +09:00
José Valim
032c2fc6d9
Merge pull request #4375 from eksperimental/key_value_pairs
...
Use "key-value pairs" instead of "key-values"
2016-03-10 16:47:30 +01:00
José Valim
6a496111b1
Implement functions in Kernel.SpecialForms so we don't special case them in IEx
2016-03-10 09:59:19 +01:00
José Valim
552f5d6687
Improve sections on writing documentation
2016-03-10 09:46:37 +01:00
Danny George
c4986f0eb6
String.split/1 docs - clarify treat multiple whitespace as single
2016-03-09 20:45:19 -07:00
eksperimental
494343f574
Use "key-value pairs" instead of "key-values"
...
As suggested in changes recently introduced in https://github.com/elixir-lang/elixir/pull/4362
2016-03-10 02:07:37 +07:00
eksperimental
1bb61e1b64
Replace quote do: one-liners with quote do...end
2016-03-10 00:23:11 +07:00
eksperimental
df77d7f4b5
Correct n-element terminology in tuples
...
- "n-item" terminology was replaced by "n-element"
- replaced "two-elements" with "two-element" when used as an adjetive
- replaced numbers with words (as in 1-element)
2016-03-09 23:37:17 +07:00
eksperimental
035410a5e8
replace "of the form" with "in the form of"
...
based on discussion: https://github.com/elixir-lang/elixir/pull/4371#discussion-diff-55514919
2016-03-09 23:07:05 +07:00
eksperimental
e3ff75701f
Macro.validate/1: improve docs for return values, and add examples
2016-03-09 20:26:36 +07:00
José Valim
6e073c1d4f
Merge pull request #4370 from eksperimental/location_keep_return
...
return example for location: :keep option in quote/2
2016-03-08 21:42:50 +01:00
José Valim
7174ed9f45
Merge pull request #4369 from eksperimental/correct_tense
...
Correct tense in verbs
2016-03-08 21:42:33 +01:00
Erik Nilsen
aad758534c
Add integer support for Macro.underscore/1
2016-03-08 03:33:52 -08:00
Erik Nilsen
e68e8d47a7
Add integer support for Macro.camelize/1
2016-03-07 16:14:06 -08:00
José Valim
774e7276c5
Merge pull request #4364 from pavlos/process_register
...
Clarify docs for Process.register/2 and Process.unregister/1
2016-03-07 13:08:21 +01:00
Paul Hieromnimon
145b3f8b59
Clarify docs for Process.register/2 and Process.unregister/1
2016-03-06 15:13:15 -08:00
eksperimental
1e061b4bd4
return example for location: :keep option in quote/2
2016-03-07 05:50:33 +07:00
eksperimental
3a0aa22974
Correct tense in verbs
2016-03-07 03:25:27 +07:00
Aleksei Magusev
ec0976ad6a
Improve tests for unused import with module
2016-03-06 15:26:42 +01:00
José Valim
6b9c15c5cb
Merge pull request #4363 from jisaacstone/master
...
Added a note about dialyzer not using map pair type information
2016-03-06 10:32:08 +01:00
José Valim
ad0f0a9a01
Merge pull request #4362 from pavlos/process-docs
...
Many small improvements to Process docs
2016-03-06 10:27:49 +01:00
Paul Hieromnimon
8e183bc43b
Many small improvements to Process docs
2016-03-05 14:55:01 -08:00
jisaacstone
51e28b82dc
Added a note about dialyzer not using map pair type information
...
See a similar note in the [Erlang reference
manual](http://erlang.org/doc/reference_manual/typespec.html#id77939 )
and [Björn-Egil's answer on the erlang-questions mailing
list](http://erlang.org/pipermail/erlang-questions/2016-March/088139.html )
2016-03-05 14:51:44 -08:00
Zach Garwood
bdc300db29
Minor correction to URI.encode_query/1's doc block
...
Currently, the doc block states that "keys and values are URL encoded as
per `encode/2`" when they are actually encoded using
`encode_www_form/1`.
2016-03-05 15:05:07 -06:00
Paul Hieromnimon
7ed8d30751
Improved docs for Process
...
-Added backticks appropriately in docs for Process.exit
-Mentioned default behaviour for Process.get
2016-03-04 10:26:57 -08:00
José Valim
ea8056e23b
Merge pull request #4358 from pavlos/patch-2
...
clarify Process.cancel_timer docs
2016-03-04 11:39:24 +01:00
Paul Hieromnimon
72c4238bf1
explain that timeout in receive/after block can be :infinity because variable values are allowed
...
Update special_forms.ex
2016-03-04 01:56:54 -08:00
Paul Hieromnimon
3316297311
clarify Process.cancel_timer docs
2016-03-04 00:53:07 -08:00
Andrea Leopardi
45d5d32e30
Fix a possible binary leak in Integer.parse/1
...
Integer.parse/1 followed this pattern:
defp do_parse(<<char, rest :: binary>>, ...) do
...
# instead of re-using the original binary, we do this
{..., <<char, rest :: binary>>}
end
This causes a new binary to be created instead of `rest` just being a
sub-binary.
2016-03-02 09:35:25 +01:00
Paul Hieromnimon
cfbdeebd34
clean up duplicated code in Task.Supervisor.async and Task.Supervisor.async_nolink
2016-03-01 23:48:38 -08:00
Paul Hieromnimon
16926fef0e
mention that Task.start/1 can isolate a Task without needing Supervisor
2016-03-01 15:49:19 -08:00
José Valim
74447e0209
Add TODOs to supevisor typespecs
2016-02-29 16:40:34 +01:00
Daniel Perez
a949418258
Do not expect every year to be bissextile.
2016-02-29 16:02:31 +09:00
Wojtek Mach
743e8c7ed1
Track {module, function, arity} imports and warn on unused ones
...
Example:
Say, there's following file:
# example.exs
import String, only: [upcase: 1, downcase: 1]
import Enum
IO.puts upcase("Hello")
Before this patch:
# $ elixir example.exs
# HELLO
# warning.exs:2: warning: unused import Enum
After this patch:
# $ elixir example.exs
# HELLO
# example.exs:1: warning: unused import String.downcase/1
# example.exs:2: warning: unused import Enum
2016-02-28 19:53:02 +01:00
José Valim
2559df88a6
Merge pull request #4341 from tuvistavie/fix-sigil-inconsistency
...
Do not escape new line when interpolation is disabled. Fix #4209 .
2016-02-28 17:53:11 +01:00
Daniel Perez
3bd1952de6
Do not escape new line when interpolation is disabled. Fix #4209 .
2016-02-29 01:36:16 +09:00
José Valim
11e8716c4d
Merge pull request #4336 from jwaterfaucett/regex-escape
...
add escape for closing brackets
2016-02-28 12:10:49 +01:00
John Faucett
b66a9f0290
Add escape for closing brackets
2016-02-27 12:36:09 +01:00
José Valim
5f276918ac
Merge pull request #4339 from frojasg/chore/update_doc_reference
...
Update reference to Kernel.Typespec
2016-02-27 09:50:00 +01:00
José Valim
c7f97ae38e
Optimize into: %{}
2016-02-27 09:45:41 +01:00
Francisco Rojas
9cd3fa1ff8
Update reference to Kernel.Typespec
...
Looks like the moduledoc flag was disabled in Kernel.Typespec Module [1]
and a page was created instead
[1] f1d4d5b034
2016-02-27 00:15:12 -08:00