José Valim
e00db53112
Talk about correctness first, performance later
2014-08-14 22:09:00 +02:00
José Valim
1ed99d4ac7
Improve error message for undefined struct
2014-08-13 09:19:26 +02:00
José Valim
ceb17fac7d
Use GenServer when possible
2014-08-12 23:22:51 +02:00
Michael Shapiro
c09905d537
Minor unquote/1 doc fix.
2014-08-12 12:23:08 -07:00
José Valim
cd162bf3d6
Do not inherit bugs on GenServer calls and casts
...
Prior to this change, we were inheriting OTP bug where
bad arguments in call were treated as exits.
We also fixed the bug in cast where messages could be
delivered out of order. It is preferrable to wait on
connection.
2014-08-12 17:30:25 +02:00
José Valim
e6e71675ac
Make a distinction between eol and ;
2014-08-12 16:27:45 +02:00
José Valim
b64552780e
Merge pull request #2671 from lexmag/no-purge
...
No need in some purges in `Kernel.WarningTest`
2014-08-12 09:34:25 +02:00
Alex Rønne Petersen
aecbd2c16a
Clarify match?/2 docs.
2014-08-12 01:54:08 +02:00
Aleksei Magusev
32a649c1cd
No need for Stream. prefix
2014-08-12 03:31:03 +04:00
Aleksei Magusev
a1e657cb75
No need in some purges in Kernel.WarningTest
2014-08-12 03:06:48 +04:00
José Valim
4d763846c3
Ensure code escape \ works in IEx
2014-08-11 10:05:24 +02:00
Peter Hamilton
260d6d16ab
Add special case for lists in Stream.cycle
2014-08-11 00:38:53 -07:00
Peter Hamilton
3cf3eee2ea
Clean up interval/1 and timer/1 docs
2014-08-10 16:03:43 -07:00
Peter Hamilton
9e8a41b2d3
Add Stream.interval/1 and Stream.timer/1
2014-08-10 11:25:53 -07:00
Aleksei Magusev
c6f27541c1
Bind value to proper name in elixir_tokenizer
2014-08-10 19:41:13 +04:00
José Valim
1d29262949
Check for terminal on both stdout and stderr
2014-08-10 14:40:46 +02:00
José Valim
1d655fa8f2
Check for terminal support from Elixir command line
2014-08-10 13:57:41 +02:00
José Valim
4bec785f4c
Also support :sync mode in GenEvent, make :ack one the default
2014-08-10 12:00:13 +02:00
José Valim
e3273f731f
Fix build
2014-08-09 21:50:24 +02:00
José Valim
a8564a7045
Deprecate functions as collectable
2014-08-09 21:32:32 +02:00
José Valim
e2bac56556
Reply to GenEvent manager from stream right away
...
This way the GenEvent can start processing the other
handlers, reducing the processing time for each event
from sum(handlers) to max(handlers).
2014-08-09 21:12:51 +02:00
John Warwick
334c732691
Fixed doc typos in Task and URI
2014-08-08 10:23:36 -04:00
José Valim
ee82679908
Merge pull request #2645 from tomkadwill/doc_false_handle_info
...
Added @doc false to handle_info function
2014-08-08 11:25:56 +02:00
Tom Kadwill
aedd5a938f
Added @doc false to handle_info function
2014-08-08 10:21:26 +01:00
José Valim
2d9c3fb6f0
Print warnings when used ? with characters with escape codes
...
Closes #2640
2014-08-08 11:13:13 +02:00
José Valim
dbf205b311
Deprecate Module.function/3
2014-08-07 20:00:57 +02:00
José Valim
0e0bb1c2a7
Do not raise conflicts on imports used from quotes, closes #2589
2014-08-07 18:09:19 +02:00
José Valim
736406a9b3
Do not allow invalid quoted expression to leak
...
Closes #2499
2014-08-07 17:42:05 +02:00
José Valim
886917753e
Ensure we can escape bitstrings, add Macro.validate/1
2014-08-07 17:42:05 +02:00
José Valim
3fc07eff8e
Merge pull request #2636 from voltone/uri-recomposition
...
Improved RFC compliance for URI to_string
2014-08-06 21:20:48 +02:00
Bram Verburg
aa244c30fc
Improved RFC compliance for URI to_string
2014-08-06 21:55:48 +03:00
José Valim
39fa2878ce
Fix list rendering on ANSI docs
2014-08-06 19:42:26 +02:00
José Valim
79fb40ab6a
Correctly follow code specs when loading binaries
...
If we are compiling the module, we will load it with the
output of its beam file. If the module exists only in
memory, :code.which/1 will return `:in_memory`.
Closes #2533
2014-08-06 12:05:55 +02:00
Aleksei Magusev
171e9b3659
Use not instead of ! in IO.ANSI.enabled?/0
2014-08-05 19:29:39 +04:00
Sonny Scroggin
50f5dc76fb
Doc correction for GenEvent
2014-08-04 11:45:22 -05:00
José Valim
52be06c314
Do not expand args for unknown functions, closes #2387
2014-08-04 13:46:49 +02:00
José Valim
25f64051ba
Remove documentation from defimpls
2014-08-04 10:45:00 +02:00
Stephen M. Pallen
3ba93b1186
Add integer base support to inspect
...
Option :base for inspect/2 supports :binary, :octal, :decimal, :hex.
Includes tests and documentation.
2014-08-03 20:17:58 -04:00
Aleksei Magusev
6cccf3ac22
Reuse pathtype detection in Path module
2014-08-03 21:20:11 +04:00
José Valim
57898bee03
Do not normalize paths on join, closes #2500
2014-08-03 14:59:38 +02:00
José Valim
6a6ba9f50d
Remove deprecated code
2014-08-02 22:35:57 +02:00
José Valim
3b34a57bd2
Avoid race conditions in the struct detection
2014-08-01 23:58:02 +02:00
José Valim
89561c321d
Ensure defoverridable is not order dependant, closes #2615
2014-08-01 16:49:57 +02:00
José Valim
89d9cc89ca
Ensure IO.ANSI.Docs can correctly fill missing columns
2014-08-01 14:10:42 +02:00
José Valim
7b0cbb1632
Speed up and calculate effective length after rendering
2014-08-01 13:34:11 +02:00
pragdave
3dc0e87c33
Add basic support for markdown tables to built-in formatter
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2014-08-01 13:14:12 +02:00
José Valim
a8e4fcdb6c
Reduce limit as we traverse collections on inspect
2014-08-01 12:50:36 +02:00
José Valim
c8c1757fdd
Merge pull request #2611 from lexmag/tilde-in-path
...
Handle tilde in `Path.expand/1,2` properly
2014-07-31 19:05:34 +02:00
José Valim
9a162b5076
Inspect.Algebra.surround_many/6 now expects Inspect.Opts
2014-07-31 18:33:34 +02:00
Aleksei Magusev
92d2f25048
Handle tilde in Path.expand/1,2 properly
2014-07-31 20:09:58 +04:00