Commit Graph
15336 Commits
Author SHA1 Message Date
José Valim c6b0db6a4a Wait until all log is flushed, closes #8738 2019-01-29 23:02:25 +01:00
José Valim ef624e5613 Update CHANGELOG 2019-01-29 20:28:43 +01:00
José Valim 9de51f88ca Revert "Include optional dependencies in extra_applications (#8263)"
Unfortunately adding optional dependencies doesn't work for umbrella
apps where each app has a different optional dependency. For example,
Ecto 3.0 has both jason and poison as optional deps. Imagine the two
umbrella children below:

    foo
      * ecto
      * jason

    bar
      * ecto
      * poison
      * jason

Because ecto is shared with both, Ecto will include both poison and
jason, which makes`foo` fail to boot when running in isolation.

Closes #7930.
2019-01-29 19:54:11 +01:00
José Valim 0eff63b349 Fix OS assertion on Elixir script 2019-01-29 18:33:04 +01:00
José Valim 04c431c699 Organize iex test for l helper 2019-01-29 18:08:41 +01:00
José Valim 47ef3d0abc Add missing parens to elixir.bat 2019-01-29 17:21:22 +01:00
José Valim acf2c4e9f2 Add Windows build badge 2019-01-29 17:15:13 +01:00
José Valim e08a2b2642 More fixes on Windows with werl 2019-01-29 15:40:17 +01:00
José Valim 50cab0b962 Add RELEASE_NODE, RELEASE_COOKIE and fixes 2019-01-29 15:30:51 +01:00
Andrea Leopardi cccc35de4d Add missing "`" to Mix.Release docs (#8732)
[ci skip]
2019-01-29 14:50:44 +01:00
Nico 42e686ee03 add missing "`" to Mix.Release docs 2019-01-29 08:24:51 -05:00
Gustavo Saiani 653bf090a1 Fix typos in Kernel.SpecialForms doc (#8731) 2019-01-29 14:03:31 +01:00
José Valim ca7d95f005 Clarify include_erts option 2019-01-29 09:04:16 +01:00
José Valim 3078f1a87b Wait until connected 2019-01-29 08:26:28 +01:00
Tobiasz Małecki a266f78de4 Fix IEx.pry crash when IEx (IEx.Broker) isn't running (#8730) 2019-01-29 08:12:12 +01:00
José Valim 5af83fa1b9 Add docs to Kernel.CLI entry 2019-01-28 22:30:26 +01:00
José Valim dc030376d6 Basic mix release support (#8677)
See #8612.
2019-01-28 21:42:07 +01:00
Eksperimental c9991ecb5c IEx h: sort results by arity (#8727)
The results were not sorted, when calling:
h Module.function_name

Example:

```
iex)> h :erlang.float_to_binary
                           :erlang.float_to_binary/2

  @spec float_to_binary(float, options) :: binary()
        when float: float(),
             options: [option],
             option:
               {:decimals, decimals :: 0..253}
               | {:scientific, decimals :: 0..249}
               | :compact

Module was compiled without docs. Showing only specs.

                           :erlang.float_to_binary/1

  @spec float_to_binary(float) :: binary() when float: float()

Module was compiled without docs. Showing only specs.
```

Now the results are sorted by arity.
2019-01-28 15:22:50 +01:00
Eksperimental 4e138aeed4 Make .travis.yml valid (#8726) 2019-01-28 11:01:00 +01:00
Eksperimental 3d5b3417a2 CI feature: Reproducible build (#8701)
See https://github.com/elixir-lang/elixir/issues/8689 for more information
2019-01-28 10:24:14 +01:00
Tobiasz Małecki 774ead32fb IEx docs examples improvement (#8725) 2019-01-27 19:34:13 +01:00
Tobiasz Małecki 89ae8631d4 IEx.Helpers docs examples improvement (#8724) 2019-01-27 18:07:43 +01:00
Tobiasz Małecki e883e32f41 Mix.Tasks.Compile.App moduledoc examples improvement (#8722) 2019-01-27 18:02:05 +01:00
Tobiasz Małecki ea9b343219 Add typespec for Registry.unregister_match/4 (#8721) 2019-01-26 17:23:26 +01:00
Tobiasz Małecki bcbdc87e2d Added typespec for Port.info/1 (#8720) 2019-01-26 17:23:01 +01:00
Tobiasz Małecki 17918dd5c5 Added missing specs to new functions in System module (#8718) 2019-01-26 17:22:36 +01:00
Tobiasz Małecki dd1e96ea68 Added missing specs for Node get_cookie/0 and set_cookie/2 (#8719) 2019-01-26 17:22:04 +01:00
Fernando Tapia Rico 25c61e39b4 Use default args in Calendar.ISO.*_to_string/* (#8707) 2019-01-26 09:21:34 +01:00
Cody Fuller 2b3227f131 Add note about generating epub docs (#8711) 2019-01-26 09:18:15 +01:00
Tobiasz Małecki 4247f8e2f1 Mix.Compilers.Erlang.compile/6 example improvement (#8712) 2019-01-26 09:14:29 +01:00
Tobiasz Małecki c6a821791d Mix.Shell.Process docs examples formatting (#8715) 2019-01-26 00:17:08 +01:00
Wojtek Mach 77a8f397a0 Do not compile Elixir with --warnings-as-errors (#8716)
When working on Elixir, it's useful to sometimes let warnings slip. On CI we run with the flags.
2019-01-26 00:16:36 +01:00
Tobiasz Małecki 69ed1d4213 Mix.Task moduledoc eample formatting (#8713) 2019-01-26 00:09:56 +01:00
Tobiasz Małecki 533a2bd091 Mix.Tasks.Test moduledoc example formatting (#8714) 2019-01-26 00:09:34 +01:00
Tobiasz Małecki 678cceb963 Add spec for Mix.Project.consolidation_path/1 (#8710) 2019-01-26 00:05:39 +01:00
Tobiasz Małecki 38e369766d Improve the docs for ExUnit.Case (#8709) 2019-01-25 18:27:47 +01:00
Tobiasz Małecki 3bd3f88d57 ExUnit.Callbacks moduledoc example improvement (#8708) 2019-01-25 14:55:02 +01:00
Fernando Tapia Rico 0c89a94c65 Add missing @doc :since to Calendar.ISO functions (#8703) 2019-01-25 10:20:26 +01:00
José Valim dee400cc0f Do not rely on timezone database for DateTime.now
The FakeTimeZoneDatabase doesn't have all timezone entries,
which means it would be just a matter of time for this test
to start failing.

Closes #8702.
2019-01-25 10:11:30 +01:00
Tobiasz Małecki eca0389878 Add missing doc and spec to Calendar.ISO.time_to_string/5 (#8676) 2019-01-25 08:40:51 +01:00
Devon Estes 2859ec9027 Raise error when attempting to run single line tests on multiple files (#8682)
Right now the behavior when trying to use the shorthand for running a
single test for multiple files is confusing. We're now explicitly
disallowing this by raising an error when this happens.
2019-01-25 08:40:24 +01:00
José Valim 0ccf798fc2 Fix rounding for subnormal floats (#8687)
Closes #8685
2019-01-25 08:39:41 +01:00
José Valim 5b3f27c929 Support SOURCE_DATE_EPOCH for reproducible builds (#8694) 2019-01-25 08:31:37 +01:00
Tobiasz Małecki 54d2b58f3e ExUnit.Assertions docs examples improvement (#8698) 2019-01-25 08:23:16 +01:00
Tobiasz Małecki a4e41d059c ExUnit.DocTest moduledoc examples improvement (#8697) 2019-01-25 08:22:25 +01:00
Tobiasz Małecki 22b8238c50 ExUnit.CaseTemplate moduledoc example improvement (#8696) 2019-01-24 22:40:06 +01:00
Tobiasz Małecki d9f0488fc1 ExUnit.CaptureIO documentation examples improvement (#8695) 2019-01-24 22:39:38 +01:00
Tobiasz Małecki a128b0ac07 ExUnit.CaptureLog moduledoc improvement (#8693) 2019-01-24 22:19:54 +01:00
Joe Yates 346f7240fe Explicity test EEx options in error messages (#8692) 2019-01-24 22:19:34 +01:00
José Valim 3fd6cf5e91 Do not rely on map ordering when sorting specs, see #8689 2019-01-24 21:54:05 +01:00