Commit Graph
3658 Commits
Author SHA1 Message Date
jw2013 3dd9df184e fix wrong CRLF grapheme 2014-11-08 12:45:41 -08:00
Samuel Williams d872e15577 correcting broken url in GenEvent docs 2014-11-08 17:39:38 +00:00
Martin Frost 2b9d526166 Make IO.ANSI.Docs readable on white background
The `default_options` for `IO.ANSI.Docs` uses bright yellow for
documentation headers and titles.

This is very nice and readable when using a terminal with a dark
background. However, when using a terminal with a bright (e.g. white)
background, those parts are unfortunately illegible.

This patch removes the `:bright` part from the `default_options`, to
make the defaults better suited to more people.
2014-11-07 12:58:16 +01:00
jw2013 9ba7421104 rename two identical variables to same name and remove guard 2014-11-06 21:16:29 -08:00
Aleksei Magusev f1d57754af Move same pos match to the function head in Regex.apply_list/5 2014-11-06 13:00:39 +01:00
Aleksei Magusev c91aa88ce4 Move 0 index match to the function head in String.split_at/2 2014-11-06 12:58:52 +01:00
Alex Kira 233163ebda Fix SupervisorTest :push handle_cast method
* handle_cast/2 does not take 'from' param
2014-11-05 19:23:27 -08:00
eksperimental aa0061b702 fix doc line's length and test one more time 2014-11-05 00:04:09 +11:00
eksperimental 87b892794d fix mistake on test 2014-11-04 23:23:29 +11:00
eksperimental 9e5643ea95 bypass warning 2014-11-04 19:42:27 +11:00
eksperimental f6044c0f13 explains when to use Float.parse/1 and that String.to_float will not deal with integer fmt strings 2014-11-04 19:42:27 +11:00
jw2013 9fab0a0ddd fix wrong String.at/2 output when second arg is not an integer 2014-11-03 00:44:56 -08:00
jw2013 919506ad1f fix wrong String.split_at/2 output when second arg is not an integer 2014-11-01 19:29:37 -07:00
jw2013 90328ca3ae fix typo 2014-10-30 15:48:48 -07:00
jw2013 1350e86a6c Improve documentation of Dict module 2014-10-30 01:44:39 -07:00
jw2013 6487c96c33 fix spec and add more test for String.duplicate/2 2014-10-29 12:06:50 -07:00
jw2013 6640d3d478 fix documentation of String module 2014-10-29 12:03:54 -07:00
José Valim 89b665ef87 Merge pull request #2858 from mururu/fix-limit-type
Fix type of Inspect.Opts limit
2014-10-29 10:47:37 -02:00
José Valim 0f34f034e5 Merge pull request #2859 from eksperimental/take
Correct Enum.take, Enum.take_every, Stream.take, Stream.take_every
2014-10-29 10:47:19 -02:00
eksperimental 7da5414adc Correct Enum.take, Enum.take_every, Stream.take, Stream.take_every to accept proper nth/count values 2014-10-29 23:31:26 +11:00
Yuki Ito bf3c7a1156 Fix type of Inspect.Opts limit 2014-10-29 21:10:35 +09:00
Aleksei Magusev 2a3a9b63be No need for do_ prefix in String.do_justify/4 2014-10-28 23:28:48 +01:00
Aleksei Magusev e930b4e7bd Move string justification defaults to the function heads 2014-10-28 23:28:11 +01:00
Aleksei Magusev 6a6cb942af Fix String.ljust/2,3 and String.rjust/2,3 functions 2014-10-28 23:25:30 +01:00
jw2013 16b74c767d complete test coverage for Stream.take_every/2 2014-10-28 10:40:29 -07:00
jw2013 47de377d63 should throw an exception when the second argument is negative 2014-10-28 09:43:33 -07:00
José Valim 5886a1c8b0 Create directory before copying file 2014-10-28 10:11:30 -02:00
José Valim 42579d0bc4 Use elixir tmp directory instead of /tmp, closes #2849 2014-10-27 11:58:38 -02:00
José Valim d9172ee1ad Merge pull request #2841 from jw2013/master
fix escaped terminators in sigil
2014-10-26 16:37:02 -02:00
José Valim ec765d2e75 Merge pull request #2844 from yui-knk/fix/list_doc
Fix @doc of List.keyfind,keymember? and keydelete
2014-10-26 16:22:14 -02:00
yui-knk a3588e6973 Replace defstruct/2 with defstruct/1 2014-10-26 15:16:45 +09:00
yui-knk e3190ea82f Fix @doc of List.keyfind,keymember? and keydelete
Given params is `key`, so replace `item` with `key`.
2014-10-26 11:19:35 +09:00
jw2013 76b43b329d fix escaped terminatiors in sigil 2014-10-24 08:30:36 -07:00
José Valim 33659b9022 Fail to compile try without else/catch/after/rescue, closes #2797 2014-10-21 14:56:26 -02:00
José Valim 408b9c2132 Improve token errors for aliases, closes #2818 2014-10-21 11:41:36 -02:00
José Valim 28b1d9a50d Properly handle eval_failure warnings, closes #2835 2014-10-21 11:08:21 -02:00
Gary Fleshman e6e8aac7b7 List foldl, foldr @doc 2014-10-18 17:10:08 -04:00
eksperimental b99cd6c970 Use a not confusing example for String.grapheme 2014-10-18 13:37:21 +08:00
eksperimental f567b7d1f8 correct is_nil @doc to have the same format as the other is_* functions. So it is consistent in the Kernel > Summary docs 2014-10-18 13:33:38 +08:00
José Valim 6e24e2714e Use unamed tables for module compilation
* We have created a main named table that keeps all module information

* We have reduced the amount of tables by storing internal, docs and
  attributes altogether and using table looks for retriving the relevant
  information

* At this moment, creating a module in Elixir defines three tables,
  one for data, another for functions and another for clauses
2014-10-17 13:51:19 +02:00
Benjamin Tan Wei Hao e431d31594 Fix typo 2014-10-17 14:23:55 +08:00
Shayan Pooya 3ab6443790 fix typos 2014-10-16 12:50:12 -05:00
José Valim ea97c7eeaf Merge pull request #2793 from lexmag/master
Introduce `StringIO.flush/1` function
2014-10-15 21:02:54 +02:00
jw2013 84f4480846 fix typo 2014-10-12 12:49:57 -07:00
sparker 89c46ee986 Fix a couple of minor typos in docstrings 2014-10-10 08:02:39 -05:00
José Valim a6cd38173b Make the parameter more explicit 2014-10-10 11:01:23 +02:00
Eric Meadows-Jönsson 06bd9810b9 Fix String.replace/4 typespec 2014-10-07 19:41:32 +02:00
jw2013 60817a3bf8 downcase path comparison in application directory test 2014-10-07 00:34:48 -07:00
José Valim aac57f512e Refactor and add new rewrite rules 2014-10-06 14:55:38 +02:00
Dzianis Dashkevich 0adb8979ab Fix documentation of IO module 2014-10-05 16:11:38 +03:00