Commit Graph
9108 Commits
Author SHA1 Message Date
José Valim c8a2a9f4e2 Increase performance of Inspect.BitString.escape/2 2016-10-24 14:07:10 +02:00
Wojtek Mach bbd8622218 Use sigils in Date/DateTime/NaiveDateTime.compare/2 doctests (#5352) 2016-10-24 10:49:55 +02:00
José Valim f5f32b6693 No need to check for equality given the first two clauses 2016-10-24 08:58:54 +02:00
Otto Lin 989553d7bf Add Date/Time/NaiveDateTime.compare/2 (#5349) 2016-10-24 08:55:44 +02:00
José Valim 53949d030f Always include last message on reports 2016-10-23 23:04:05 +02:00
Jake Becker 8898223d30 Add --formatter option to mix test command (#5347) 2016-10-22 23:34:24 +02:00
José Valim f0b84922d9 Ensure we consistently wrap variables in quotes 2016-10-22 22:25:18 +02:00
José Valim 3b71d85179 Emphasis on must await 2016-10-22 22:25:18 +02:00
Aleksei Magusev ecf9713070 Refactor loading logic for macros in import/2 2016-10-22 21:56:18 +02:00
Aleksei Magusev 582e8be0c1 Restructure doc samples in DocsTest 2016-10-22 21:12:09 +02:00
Aleksei Magusev 50a4831a82 Test all available doc kinds in the test for Code.get_docs/2 2016-10-22 20:53:37 +02:00
Aleksei Magusev c3ae2a4efa Fully validate the shape of the options for import/2 2016-10-22 20:53:34 +02:00
Aleksei Magusev 1e0d26d139 Favor ==/2 operator over match in assertions 2016-10-22 20:50:19 +02:00
Aleksei Magusev 35a4ecbb69 Make actual testing of doc attributes instead of occasional matching 2016-10-22 20:50:19 +02:00
Aleksei Magusev e8b1f5a87f Remove unnecessary apply/3 calls 2016-10-22 20:50:18 +02:00
Aleksei Magusev 2b2afceeb4 Add comment why we do not check :except exports in import/2 2016-10-22 20:50:14 +02:00
Aleksei Magusev 4227fe05b7 Improve URI.encode/2 doc 2016-10-21 01:18:52 +02:00
Aleksei Magusev 290447cabe There is no :erlang.is_record/1 function 2016-10-21 00:58:39 +02:00
Marcus Osterberg 16f3a8d57b Add missing space in Kernel.defstruct/1 docs (#5345) 2016-10-20 22:45:38 +02:00
Eksperimental 9c478e09d2 Fix ExUnit case when dealing with timeout 0 (#5336)
Agent is returning `nil` when it should be `[]`.
2016-10-20 16:50:18 +03:00
Eksperimental d4e807e447 Fix ExUnit "test invalidated" message typo (#5338) 2016-10-19 13:03:37 +02:00
Eric Thomas 3c84c60e1a Polish some docs for the File module (#5335) 2016-10-18 09:38:39 +02:00
Eksperimental c2fd08e20d Improve specs and guards in Code module (#5332) 2016-10-17 21:17:17 -04:00
Eksperimental 4ce220d21f Improve specs and guards in GenEvent (#5331) 2016-10-17 21:12:22 -04:00
Eksperimental 41ea576d38 Page Typespecs: Sort alphabetically literals, basic and built-in types (#5333) 2016-10-17 16:30:35 +02:00
Eksperimental e769afbed9 Add/correct arities (part 3) (#5326)
Add missing arities to functions, callbacks and types.
For posterity, the command used to find out these errors:

    $ ag "\`[^ /]+\`\s+(fun|function|callback|type|typespec|helper)"
2016-10-17 06:32:14 -04:00
Eksperimental ae256c5f6f ExUnit.Callbacks: improve guards, specs and small docs correction (#5329) 2016-10-17 11:12:51 +02:00
Tony Han a031f26188 Fix commends around module_nesting/2 in Kernel (#5330) 2016-10-17 10:59:14 +02:00
José Valim 3aef07aac7 Remove argument error example to avoid warnings 2016-10-16 09:42:27 -04:00
José Valim 82d36a0c3a Cache umbrella lookup 2016-10-16 08:03:02 -04:00
José Valim 95ba398dc3 Add Mix.Project.apps_paths/1 2016-10-16 12:55:33 +02:00
Eksperimental 16b3e889bc Kernel.++/2: comment on improper lists being returned (#5323) 2016-10-14 19:59:13 +02:00
Eksperimental f8f4731f5e Link to callbacks in the docs (#5316) 2016-10-14 11:46:46 +02:00
Eksperimental 2be5ffb60b Add/correct arity and link to callbacks and types throughout the docs (#5317) 2016-10-14 11:42:21 +02:00
Eksperimental 20e835020a File.rmdir!/1: give a less confusing error message when directory is not empty (#5299) 2016-10-14 11:39:55 +02:00
Eksperimental 90b8592125 Reword ISO 8601 and add link to standard (#5321)
Corrected the spelling of "ISO 8601" (a space must be used),
added a link to the Wikipedia article about the standard, and
changed "ISO 8601" to "ISO 8601:2004" where the year was
omitted.
2016-10-14 11:35:10 +02:00
Eksperimental 5a849cbb56 Reword and polish a few docs (#5322) 2016-10-14 10:47:45 +02:00
YuMatsuzawa c67e06495f Fix typo: :sasl_logger_tty_h -> :sasl_report_tty_h (#5320) 2016-10-13 17:24:19 +02:00
James Edward Gray II ef5a1c86fd Support add() and diff() for NaiveDateTime (#5298) 2016-10-13 12:40:45 +02:00
José Valim dcb1b4418b Remove incorrect NaiveDateTime.from_unix/to_unix 2016-10-13 12:40:18 +02:00
José Valim 344750c85e Remove incorrect NaiveDatetime.from_unix/to_unix 2016-10-13 12:38:46 +02:00
Eksperimental 029e92b5c7 Enforce rule of only guards should start with "is_" (#5300) 2016-10-13 10:05:38 +02:00
Eksperimental 8665932d56 Add backticks to Kernel module (#5315) 2016-10-13 09:51:09 +02:00
Paweł Obrok 7eb98194c9 Add any to Access.t (#5311) 2016-10-12 22:40:11 +02:00
Eksperimental 66b647a0c4 Correct arity of functions and types in docs (#5301)
Also change remote call example to Kernel."FUNCTION_NAME"
2016-10-12 22:23:06 +02:00
Eksperimental 1c67b9e421 Reword "latest moment possible" to "latest possible moment" (#5314) 2016-10-12 18:56:12 +02:00
Eksperimental ac2fcf31ca Add backticks to Stack server (#5313) 2016-10-12 18:41:55 +02:00
Lew Parker c07c345c3c ExUnit includes tests when configured with [include: :skip] (#5305) 2016-10-12 10:04:01 +02:00
Eksperimental 470b2eebfb Use singular time units (#5303) 2016-10-12 00:55:16 +02:00
Eksperimental aa030d22cd Reword "pseudo-variables" with "compilation environment macros" (#5308)
As discussed in https://github.com/elixir-lang/elixir/pull/5301#pullrequestreview-3711427.
2016-10-12 00:49:47 +02:00