summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to compatibility and deprecation docsJosé Valim2018-05-071-10/+10
|
* Document Process.monitor/1 behavior for already dead processes (#7652)David Sulc2018-05-071-0/+3
| | | | This information is provided in the Registry documentation (see https://hexdocs.pm/elixir/Registry.html#module-registrations), but was missing here.
* Simplify ExUnit.Diff and remove unused clausesJosé Valim2018-05-061-29/+28
|
* Optimize Keyword.merge/2 for empty listsJosé Valim2018-05-061-0/+5
|
* Optimize Enum.to_list/1 for mapsJosé Valim2018-05-061-7/+4
|
* Avoid capture operator warningsJosé Valim2018-05-042-11/+15
|
* Add a test for rescuing one of multiple exceptionsAndrea Leopardi2018-05-041-0/+13
| | | | | | | | | We were not testing "var in [Alias1, Alias2]" but only "var in [Alias1]". I noticed because changing the compiler to compile that to var.__struct__ == Alias1 and var.__struct__ == Alias2 would still pass tests for Kernel.RaiseTest.
* Provide better warnings when grouping multi clause functions (#7630)Zacck Osiemo2018-05-032-7/+30
|
* Move stdlib deprecations to `@deprecated` attribute (#7637)José Valim2018-05-0327-183/+269
|
* Normalize trace config docs for Mix.Tasks.Test (#7642)Mike Martinson2018-05-031-1/+4
|
* Improving wording on String.splitter docs (#7636)Bas Dirks2018-05-021-2/+2
|
* Pass tracker destination forward to dynamicly defined modulesJosé Valim2018-05-0210-78/+58
|
* keys and values of decoded query are always binary (#7635)Peter Saxton2018-05-021-1/+1
|
* Update CHANGELOGJosé Valim2018-05-021-0/+6
|
* Support infinity timeout on yield_many, closes #7633José Valim2018-05-022-2/+19
|
* Improve test names and regroup assertions in Inspect.BitStringTestAleksei Magusev2018-05-012-21/+15
|
* Update page list in Kernel (#7632)Eksperimental2018-05-011-1/+5
|
* Deprecate Exception.normalize/2 and Exception.format/2 (#7628)Henning L2018-05-012-4/+5
|
* Remove duplicate assertion in Inspect.BitStringTestAleksei Magusev2018-04-301-3/+0
|
* Remove throw/catch pattern for Keyword.delete/2 and friends (#7622)Andrew Bennett2018-04-301-23/+41
| | | | | | | | | This prevents stacktrace corruption. Additionally short-circuit with `lists:keymember` for cases where the key to delete is not in the list. It seems to be a relatively common case and adds comparatively little overhead. Benchmarks: https://gist.github.com/potatosalad/f4fea8490bea09eb000a3a346a52cb6e
* Optimise String.ends_with?/2 (#7593)Michał Muskała2018-04-301-12/+13
| | | | | The new implementation is 10-70 times faster on the benchmark data. Full benchmark: https://gist.github.com/michalmuskala/74ebb0456c8cfbfe8e012ce4aae2b6e5
* Avoid false positive warningsJosé Valim2018-04-301-6/+6
|
* Optimise String.starts_with?/2 (#7592)Michał Muskała2018-04-301-5/+17
| | | | | The new implementation is 10x to 150x faster on the benchmark data. The full benchmark: https://gist.github.com/michalmuskala/b8dea400a9902356f5bc53c201161a05
* Use binary_part/3 instead of :binary.part/3Michał Muskała2018-04-306-9/+9
| | | | | binary_part is a guard BIF and is slightly more efficient to use then :binary.part which does a fully qualified external call.
* Provide more examples on how to improve the formatter outputJosé Valim2018-04-291-41/+95
|
* Improve coverage and error messages when mixing clauses with defaultsJosé Valim2018-04-293-21/+66
| | | | | | | | In case a bodiless clause with defaults was defined twice, Elixir would raise an error. This commit fixes this and also provide two distinct messages: an error in any situation a default is declared more than once. And a warning in case defaults are defined once but not as the first clause.
* Improve processes feedback in library guidelinesJosé Valim2018-04-281-1/+1
|
* Standardize use of Erlang, OTP and Erlang/OTP names (#7618)Eksperimental2018-04-2822-47/+47
| | | | | | | | | | | | | | | | | | | This touches only messages directed to the end user, so comments are ignored. This is important, specially for newcomers, who may be confused by the interchangeable use of Erlang and OTP. The expressions used consistenly across the documentation are: - Erlang/OTP version - Erlang/OTP 20+ - Erlang/OTP release, - Erlang/OTP documentation - Erlang process - Erlang project - Erlang's error logger - Erlang log message - OTP application - OTP behaviour
* Add .formatter.exs to the list of inputs to format (#7620)Fernando Tapia Rico2018-04-281-1/+1
|
* Add missing paren in config.exs template (#7621)Fernando Tapia Rico2018-04-281-1/+1
|
* Remove unused convenience vars in elixir_rewrite (#7612)Eksperimental2018-04-281-2/+0
|
* Leave blank line before closing comment if idented (#7609)Eksperimental2018-04-2821-0/+30
| | | | | | | | | If last line in the docs is idented, leave an emptyline before closing the comment. Mentioned by @whatyouhide in https://github.com/elixir-lang/elixir/pull/7606#discussion_r184348514 The command/regexp used to find these offending lines is: ag "\ {4,}[^\n]+\n\s{2}[\"']{3}"
* Deprecation table: mention in table heading "Hard-deprecated in" (#7611)Eksperimental2018-04-282-5/+5
|
* Add missing deprecations in v1.4 (#7615)Eksperimental2018-04-281-0/+2
|
* Standardize on SECURITY PATCHESJosé Valim2018-04-281-2/+2
|
* Warn when a variable/atom that ends in / or ? is followed by = with no space ↵Andrea Leopardi2018-04-272-0/+35
| | | | (#7608)
* Allow multiple DynamicSupervisors to be started easily (#7594)Lee Marlow2018-04-262-1/+32
|
* Erase elixir_parser_columns from the process dictionary after use (#7601)Glauber Campinho2018-04-271-0/+1
|
* Consider the owner process may be deadJosé Valim2018-04-263-5/+6
|
* Include endianness in the regex version (#7600)José Valim2018-04-261-5/+5
| | | | This addresses issues with precompiled archives on different endianness, such as: https://github.com/hexpm/hex/issues/469
* Mention in the docs every function inlined by the compilereksperimental2018-04-266-22/+36
| | | | | | | elixir_rewrite.erl has been audited, function by function: - All missing "Inlined by the compiler." lines have been added. - Standardize sentence avoid mentioning the function its inline to (System module). - "Inline by the compiler." goes always before ##Options or ##Examples
* Sort alphabetically elixir_rewrite.erleksperimental2018-04-261-50/+53
|
* Fix an "unused variable" warning in the String module (#7603)Fernando Tapia Rico2018-04-251-1/+1
|
* Fix typespec for DynamicSupervisor.init/1 (#7596)Bryan Paxton2018-04-251-1/+1
|
* Mention that Map.merge/2 is "Inlined by the compiler" (#7598)Eksperimental2018-04-251-0/+2
|
* Improve String.printable?/2 (#7580)Eksperimental2018-04-251-19/+29
| | | | | | | | | * Improve specs to reflect that when limit is 0, it will return true, and mention this in the docs. * Remove unecessary spec for arity 1 * Add guards so it will fail when wrong types are given * Rename arg "limit" and "counter" to "character_limit" * Mention "character_limit" in function summary
* Do not release missing structs in the compilerJosé Valim2018-04-242-5/+19
|
* Do not depend on Supervisor.start_childJosé Valim2018-04-241-1/+5
|
* Fix typespec for DynamicSupervisor.on_start_child (#7590)Lasse Skindstad Ebert2018-04-241-1/+4
|
* Clarify behavior of strategies regarding the restart option (#7589)David Sulc2018-04-241-1/+5
|