José Valim
8f4442f2df
Test :sys functions with GenEvent
2014-09-05 16:15:28 +02:00
José Valim
598e42e00b
Tidy up GenEvent docs and test suite
2014-09-05 13:34:26 +02:00
José Valim
b93912b9dc
Deprecate monitor option in GenEvent
2014-09-05 13:20:40 +02:00
José Valim
71eca8a5d6
Move from already_added to already_present
2014-09-05 12:50:42 +02:00
José Valim
2cb0639208
Move from module_not_found to the more generic handler_not_found
2014-09-05 11:59:53 +02:00
José Valim
7313d26720
Remove deprecated branches
2014-09-04 13:58:58 +02:00
José Valim
577a07d47f
Do not consider handler swap to be failures
2014-09-04 13:24:17 +02:00
José Valim
1ae24c5c5d
Update CHANGELOG
2014-09-03 14:38:28 +02:00
Mikhail S. Pobolovets
5b2eb54794
#2744 : Ensure Path.relative_to is case insensitive on the drive letter
...
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com >
2014-09-03 14:40:03 +03:00
Gabriel Jaldon
66b211987d
Friendlier unquote_splicing error with hints
2014-08-31 02:01:17 +08:00
José Valim
1ca451f779
Normalize is_guard checks
2014-08-27 15:28:31 -04:00
José Valim
de9feb26d5
Deprecate x.Alias syntax
2014-08-27 12:17:15 -04:00
José Valim
3e54b95bf2
Fix the build
2014-08-20 11:30:30 -04:00
José Valim
44b85be014
Add Task.start/1 and Task.start/3
2014-08-20 10:27:23 -04:00
José Valim
e344b1f9d8
Add a small note to UndefinedFunctionError when the module is not available
2014-08-20 10:22:36 -04:00
Eric Meadows-Jönsson
7940d223ec
Move elixir.hrl to src/
2014-08-19 17:00:58 +02:00
Eric Meadows-Jönsson
c6fa951520
Better error message on nbsp
2014-08-19 17:00:58 +02:00
José Valim
638fccb79d
Remove duration from GenEvent.Stream
2014-08-19 07:34:49 -04:00
Eric Meadows-Jönsson
1496c04592
Improve error message for invalid typespec
2014-08-18 23:08:26 +02:00
José Valim
3e9725a5a8
Make tests that remove the logging backend sync
2014-08-18 16:51:38 -04:00
José Valim
f536507b9d
Make the mode a property of the sender
2014-08-18 15:38:55 -04:00
José Valim
ee8331023e
Do not add duplicated handlers
2014-08-17 16:55:11 -04:00
José Valim
a2ee71f5ab
Implement some of fishcakez feedback
2014-08-17 13:18:55 -04:00
José Valim
60163194e2
Improve coverage for GenEvent
2014-08-17 09:20:02 -04:00
José Valim
c04e13169f
Deprecate Collectable.empty and Enum.traverse
...
The current implementation has three issues:
1. It is slow as we can't reuse the data structure but rather
build a new one from scratch
2. Due to 1., trees can't be traversed
3. empty/1 is unable to deal with resources
2014-08-16 15:46:58 +02:00
José Valim
46de5ea462
Make Stream.resource/3 more like Stream.transform/2
...
With this change, we allow the accumulator to be passed
to after_fun once iteration is done.
This, however, introduces a deprecation on the old
format used by Stream.resource/3.
2014-08-16 15:35:56 +02:00
José Valim
1fd5a2a38e
Use monitored handlers instead of linked ones
2014-08-15 18:02:47 +02:00
José Valim
a85938d092
Fix the build
2014-08-15 13:54:08 +02:00
José Valim
0d4af57abe
Port GenEvent to Elixir for upcoming extensions
2014-08-15 13:16:14 +02:00
José Valim
b941618a10
Port the :gen_event client API to Elixir
...
The only difference is that notify is made similar to
GenServer's cast where an unknown atom name does not
trigger an error.
2014-08-13 18:20:10 +02:00
José Valim
1ed99d4ac7
Improve error message for undefined struct
2014-08-13 09:19:26 +02:00
José Valim
e6e71675ac
Make a distinction between eol and ;
2014-08-12 16:27:45 +02: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
9e8a41b2d3
Add Stream.interval/1 and Stream.timer/1
2014-08-10 11:25:53 -07: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
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
José Valim
52be06c314
Do not expand args for unknown functions, closes #2387
2014-08-04 13:46:49 +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
José Valim
57898bee03
Do not normalize paths on join, closes #2500
2014-08-03 14:59:38 +02:00