summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* All deprecations have a reasonemj/gp-deprecationsEric Meadows-Jönsson2019-07-021-10/+2
|
* FormatEric Meadows-Jönsson2019-07-021-0/+1
|
* Store warnings in stateEric Meadows-Jönsson2019-07-021-19/+31
|
* Check deprecations at compile timeEric Meadows-Jönsson2019-07-022-38/+64
|
* Revert "Fetch deprecation warnings from chunk"Eric Meadows-Jönsson2019-07-021-6/+6
| | | | This reverts commit 1b52a91cd27ea9388853e9aaddbbe9351f2864ba.
* Apply suggestions from code reviewEric Meadows-Jönsson2019-07-021-2/+5
| | | Co-Authored-By: José Valim <jose.valim@gmail.com>
* Update lib/mix/lib/mix/tasks/compile.all.exEric Meadows-Jönsson2019-07-021-1/+2
| | | Co-Authored-By: José Valim <jose.valim@gmail.com>
* Remove xref compilerEric Meadows-Jönsson2019-07-025-16/+8
|
* Fetch deprecation warnings from chunkEric Meadows-Jönsson2019-07-021-6/+6
|
* Add test for context_moduleEric Meadows-Jönsson2019-07-021-1/+19
|
* Add struct deprecation checkEric Meadows-Jönsson2019-07-016-86/+45
|
* Fix deprecation warningEric Meadows-Jönsson2019-06-281-3/+3
|
* Move deprecation check to group passEric Meadows-Jönsson2019-06-285-315/+438
|
* Remove mix xref deprecatedEric Meadows-Jönsson2019-06-282-382/+4
|
* Remove xref compiler taskEric Meadows-Jönsson2019-06-282-218/+4
|
* Do not add :no_autoload optionEric Meadows-Jönsson2019-06-282-29/+0
|
* Fix typo in Port docs (#9174)Fernando Tapia Rico2019-06-281-1/+1
|
* Move unreachable function check from xref to group pass (#9168)Eric Meadows-Jönsson2019-06-2832-665/+893
|
* Improve zombie termination scriptJosé Valim2019-06-281-13/+34
| | | | | | | | | | The previous version would not terminate if the program being invoked terminated. The new version addresses this at the cost of starting a background process for stdin reading. Closes #9171.
* Example added for Agent.update/4 (#9172)Hassan Shaikley2019-06-271-0/+9
|
* Make sure locals tracker can be stoppedJosé Valim2019-06-271-5/+15
|
* Remove trailing whitespaceJosé Valim2019-06-271-1/+1
|
* Example added for Agent.cast/4 (#9169)Hassan Shaikley2019-06-271-0/+9
|
* Add catch all for bad supervisor namesJosé Valim2019-06-261-0/+1
| | | | | | | | Otherwise if a different supervisor implementation, such as a `ConsumerSupervisor` in GenStage, pass a different name by accident, logging would fail. Closes #8126.
* Unify code path in String.split (#9165)Jan Hruban2019-06-261-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove extraneous guard from String.split This clause makes sense for `pattern` satisfying any of the types defined in the spec, that is `binary`, `[binary]` and `:binary.cp()`. Furthermore the guard for `pattern` is not specified in any of the other clauses. Additionally, the `or` in the guard seemed a bit out of place, as this clause (and all others) needs the `string` to be binary to work. So let's keep just the guard to check the type of the `string` and let the `:binary.split/3' handle the types of the `pattern`. * Unify code path in String.split When calling `String.split` with options `parts` and/or `trim` explicitly set to default values, different code path was taken in comparison to when no options were given. The alternate code path has some performance penalties as shown below, so it's better that the "simple" case is handled always the same way. iex(1)> lines = for _ <- 1..1_000_000, do: "a,b" iex(2)> :timer.tc(fn -> Enum.each(lines, &String.split(&1, ",")) end) {2254104, :ok} iex(3)> :timer.tc(fn -> Enum.each(lines, &String.split(&1, ",", trim: false)) end) {61426180, :ok}
* More details about the :native time unit, from the Erlang docs (#9157)Nathan Long2019-06-241-4/+8
| | | [ci skip]
* Use default_release option when name is not given (#9158)Chris de Graaf2019-06-242-5/+11
|
* Fix typo in Config docs (#9156)Chris Wögi2019-06-241-1/+1
|
* Fix typespec of Macro.Env.t (#9155)Julius Putra Tanu Setiaji2019-06-241-1/+1
|
* Clarify the relationship with config/releases.exs, closes #9153José Valim2019-06-211-16/+30
|
* Do not pass Meta to Erlang AST, closes #9152José Valim2019-06-211-1/+2
|
* Ensure old manifests can be upgradedJosé Valim2019-06-191-4/+5
|
* Add literal encoder option to Code.string_to_quotedJosé Valim2019-06-199-128/+176
|
* Move module writing from mix to compiler (#9149)Eric Meadows-Jönsson2019-06-185-88/+89
|
* Add end of expression token informationJosé Valim2019-06-187-215/+265
| | | | | | This also renames pairing_metadata to token_metadata, as it mostly contains information about related tokens and not necessarily pairs.
* Exposing pairing metadata (#9146)José Valim2019-06-1710-124/+172
| | | | | | | | | | | | | | | | This introduces five new metadata nodes: * `do` - contains metadata about do location in a function call with `do/end` blocks * `end` - contains metadata about end location in a function call with `do/end` blocks * `closing` - contains metadata about the closing pair, such as a `}` in a tuple or in a map, or such as the closing `)` in a function call with parens * `eol` - is set to true when the opening pair, such as `{` or `(`, are followed by the end of the line * `delimiter` - contains the opening for sigils (such as `"{"`, `"/"`, etc)
* Rename :end metadata to less ambiguous :closingJosé Valim2019-06-163-20/+22
|
* Tweaks to the docs of protocols (#9145)Xavier Noria2019-06-151-8/+9
|
* Use heredocs for top-level executables' usage docs (#9143)Xavier Noria2019-06-153-21/+27
|
* Add example for Agent.cast/2 (#9142)Hassan Shaikley2019-06-151-0/+9
|
* Exit IEx session if the group leader exits, closes #9138José Valim2019-06-141-4/+22
|
* Fix typos in Macro docs (#9141)Tobiasz Małecki2019-06-141-4/+4
|
* Document AST metadata (#9140)Jonatan Männchen2019-06-142-2/+43
|
* Postpone deprecation start_child/terminate_child for simple_one_for_oneJosé Valim2019-06-143-9/+9
| | | | | | Otherwise there are just too many warnings. However, since we still emit a warning for :simple_one_for_one, we give users enough feedback for them to migrate.
* Add missing @doc since annotationJosé Valim2019-06-141-0/+1
|
* Place Version.Requirement module under Basic Types in docs.exs (#9139)Eksperimental2019-06-141-1/+2
|
* Add TODOJosé Valim2019-06-131-0/+1
|
* Remove unused import_fa metadataJosé Valim2019-06-132-16/+10
|
* Add a metadata typeJosé Valim2019-06-131-2/+5
|
* Add an introduction to the Macro moduleJosé Valim2019-06-131-16/+82
|