Commit Graph
7246 Commits
Author SHA1 Message Date
José Valim 94de6615d7 Consolidation is now on by default 2015-10-10 16:00:13 -05:00
José Valim c859e49199 Update CHANGELOG and remove deprecated code 2015-10-07 22:27:31 -05:00
José Valim fd72cb37cc Remove unecessary System.put_env 2015-10-07 17:37:12 -05:00
José Valim accf687a0d Do not recur on non recursive tasks 2015-10-07 15:36:10 -05:00
José Valim c983b3db69 Merge pull request #3844 from Maikon/show-type-docs-with-t1
Display docs for types with t/1
2015-10-07 14:36:22 -05:00
Makis Otman f29e29b3a4 Display type docs with t(Module.type) and t(Module.type/arity) 2015-10-07 19:52:49 +01:00
José Valim 8298041cbc Make tests that assert consolidation more robust 2015-10-06 22:59:19 -05:00
José Valim 2c1a39eebb Merge pull request #3845 from mgwidmann/docs_for_callbacks2
IEx callback documentation
2015-10-06 19:25:20 -05:00
José Valim 245094f665 Use fixtures only when necessary 2015-10-06 19:24:32 -05:00
José Valim 3f9602bf82 Add tests for always on consolidation 2015-10-06 18:33:35 -05:00
Aleksei Magusev 17b3df271d Fix bitstring splicing for bytes type modifier 2015-10-07 00:30:41 +02:00
Matt Widmann 49e41ec098 Make IEx.Helpers.h handle automatically looking up callbacks when the implementation is requested. 2015-10-06 15:45:50 -04:00
José Valim 9c86f5b167 Solve bootstrap issues on defdelegate 2015-10-06 11:57:00 -05:00
Daniel Marin fb8ac4d85c Add default docs for delegate methods 2015-10-06 15:45:41 +01:00
José Valim 578800734f Cache and always consolidate protocols 2015-10-05 23:03:08 -05:00
José Valim 3f1bc7c9bb Split ElixirSCM and Lock manifests apart 2015-10-05 23:03:08 -05:00
José Valim 2e1ce93210 Add protocol information to manifests 2015-10-05 23:03:08 -05:00
Ryan Scheel (Havvy) 14ac3c5e97 Transplant Behaviour module docs to @behaviour
Most of these docs are from the 1.0 Behaviour module docs, but
those were seemingly lost at some point during the switch to
@callback. I'm not sure whether it is better to put them on
@behaviour or @callback, but I placed them on @behaviour. I'd
rather see a "Behaviour" page that has this information, not
just something randomly stuck in Module or Kernel.Typespec.
2015-10-06 02:20:52 +00:00
Eric Meadows-Jönsson 4bbd3b0bbb inspect invalid ANSI sequences 2015-10-05 17:34:15 -05:00
Baris Balic 70e0b24536 List as_boolean() under Kernel.Typespec built-ins. 2015-10-05 14:35:27 -05:00
José Valim 9bcd8439e7 Tidy up GenServer docs 2015-10-04 15:58:34 -05:00
José Valim 40fff43ea0 Merge pull request #3832 from ma2gedev/macro-traverse
Add `Macro.traverse/4` pre/post-order traversal at the same time
2015-10-04 15:28:26 -05:00
Takayuki Matsubara 7e1073ec49 Add Macro.traverse/4 pre/post-order traversal at the same time
Almost is like the `Macro.prewalk/3` and `Macro.postwalk/3` but
pre/post-order traversal at the same time.
2015-10-05 00:06:21 +09:00
José Valim f6b2ddd81b Merge pull request #3805 from endersstocker/add-string-normalize-nfc
Add NFC support to String.normalize/2
2015-10-04 08:55:34 -05:00
José Valim c37a90ea4a Merge pull request #3823 from mgwidmann/configurable_iex_width
Add IEx width option for larger terminal screens.
2015-10-04 08:47:30 -05:00
José Valim 19a8e766a7 Merge pull request #3827 from lexmag/omit-else
Omit `else` option in `if` and `unless` clauses if it returns `nil`
2015-10-04 08:40:41 -05:00
javimolla 3eeb903534 fix3761: Add more info about :via registry to GenServer 2015-10-04 11:25:24 +02:00
Aleksei Magusev d682c47bf9 Omit else option in if and unless clauses if it returns nil 2015-10-03 21:07:19 +02:00
Matt Widmann 340717b979 Add IEx width option for larger terminal screens. 2015-10-03 12:14:45 -04:00
Bryan Endersstocker 07fedf66d0 Add NFC support to String.normalize/2 2015-10-03 11:08:55 -04:00
Chris Maddox ddfcc60505 Update special_forms.ex
I a word
2015-10-03 00:13:47 -05:00
José Valim b933d84b05 Merge pull request #3817 from uDude/master
Fixed typo/grammar in Supervisor @doc
2015-10-02 16:53:18 -05:00
uDude 6239bf32db Fixed a typo in @doc. 2015-10-02 15:19:22 -06:00
René Föhring 02b2bd2fc0 Fix small typo in docs for File.rename/2 2015-10-02 21:49:20 +02:00
CrowdHailer f2cd34f1a8 use macro to show code sample in error message 2015-10-01 16:04:35 +01:00
José Valim ca5a9060ef Merge pull request #3810 from lexmag/optimize-keyword-new
Optimize `Keyword.new/2` function
2015-10-01 16:38:39 +02:00
José Valim f8e2332db9 Merge pull request #3811 from michalmuskala/optimize_map
Optimize Enum.map/2 for lists
2015-10-01 16:28:32 +02:00
Ryan Bigg 0cc63df80d Add demonstration for Enum.shuffle's randomness 2015-10-01 19:16:59 +10:00
Michal Muskala ed66646187 Optimize Enum.map/2 for lists
Out of 3 options:
* using for comprehensions
* using explicit recursion with accumulator
* using simple consing

The third option seems to be the fastest. That's also the one that
is used by :lists.map/2
2015-10-01 00:56:07 +02:00
Aleksei Magusev 3f7f074494 Optimize Keyword.new/2 function 2015-10-01 00:17:24 +02:00
Luper Rouch dabcb4c71f Fix default value of :time option in File.Stat docs 2015-09-30 08:30:12 +02:00
eksperimental 0d3d410beb Enum: rename variable in priv. func.
rename variable according to changes introduced in commit ced1095e17
2015-09-30 02:21:22 +07:00
José Valim c8172c8341 Do not delete only information from deps
If we delete this information, we lose the environments the
dependency has been originally restricted to, raising improper
error messages.
2015-09-29 17:25:17 +02:00
José Valim c0c6983363 Print byte information on base decoding errors 2015-09-29 15:21:50 +02:00
José Valim f7654bf66a Ensure we print unicode codepoints on errors, closes #3804 2015-09-29 15:03:55 +02:00
José Valim 5f36e0b33e Merge pull request #3796 from radar/master
Add an example for IO.gets
2015-09-29 13:58:59 +02:00
Ryan Bigg 4d5a6bed63 Add an example for IO.gets 2015-09-29 07:58:17 -04:00
José Valim efa505b38a Ensure we keep ordering and last properties in keyword 2015-09-29 13:27:55 +02:00
Ryan Scheel (Havvy) b268291c8c Add comments to the first GenEvent example. 2015-09-29 11:42:42 +02:00
José Valim d5fe8eb068 Add a test for umbrellas with build embedded 2015-09-28 23:52:55 +02:00