Aleksei Magusev
84b67b5b95
Rename elixir_exp module to elixir_expand
2017-02-19 21:57:50 +01:00
Aleksei Magusev
a729847db6
Rename m/2 helper macro to key/2 in the main header file
2017-02-19 21:56:05 +01:00
José Valim
8e2ebf739b
Split erl and ex passes in elixir_def
2017-02-19 13:01:13 +01:00
José Valim
ff3fc7ef43
Unify local handling in elixir_def
2017-02-18 23:36:30 +01:00
José Valim
152cf2616b
Move case inlining out of Elixir pass
2017-02-16 18:24:25 +01:00
Andrea Leopardi
b6e1beb9b3
Hard deprecate GenEvent and provide alternatives in its docs ( #5705 )
2017-01-26 23:56:41 +01:00
Andrea Leopardi
dc995c2a95
Fix a deprecation in elixir_dispatch
2016-12-03 17:51:19 +01:00
Andrea Leopardi
0f462ab211
Move a bunch of hard deprecations to elixir_dispatch ( #5524 )
2016-12-03 17:23:58 +01:00
Andrea Leopardi
b25033bb4b
Hard-deprecate the "char_list" spelling ( #5517 )
2016-12-01 21:51:47 +01:00
Andrea Leopardi
69683d1674
Deprecate String.rjust/2,3 and String.ljust/2,3 ( #5516 )
2016-12-01 12:59:43 +01:00
Andrea Leopardi
78eb77148f
Hard-deprecate the Set module ( #5513 )
...
It will be removed in Elixir 2.0.
2016-12-01 10:28:09 +01:00
Andrea Leopardi
5633571372
Hard-deprecate String.*strip/1,2 functions ( #5508 )
2016-12-01 10:16:49 +01:00
José Valim
34052cfca0
Emit compilation warnings for HashDict, HashSet and Dict
2016-07-23 12:31:12 +02:00
José Valim
584f49f88c
Do not attempt to load modules that have not been required, closes #4900
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2016-06-29 01:21:53 +01:00
José Valim
5f34ad6dc7
Remove elixir_counter in favor of unique_integer
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2016-06-15 15:25:28 +02:00
José Valim
c87a7dbf26
Add @enforce_keys to defstruct, defexception and friends
2016-05-26 13:26:58 +02:00
Eric Entin
b15d641e42
Add mix xref --callers M.f/a ( #4683 )
2016-05-25 21:53:42 +02:00
Eric Entin
0395bac1c1
Warn for remote calls that cannot be resolved at compile time ( #4639 )
2016-05-22 11:20:45 +02:00
eksperimental
4ceb41e71b
Formmating: Add white space around vertical bar ( #4507 )
2016-04-25 00:55:49 +02:00
Wojtek Mach
743e8c7ed1
Track {module, function, arity} imports and warn on unused ones
...
Example:
Say, there's following file:
# example.exs
import String, only: [upcase: 1, downcase: 1]
import Enum
IO.puts upcase("Hello")
Before this patch:
# $ elixir example.exs
# HELLO
# warning.exs:2: warning: unused import Enum
After this patch:
# $ elixir example.exs
# HELLO
# example.exs:1: warning: unused import String.downcase/1
# example.exs:2: warning: unused import Enum
2016-02-28 19:53:02 +01:00
José Valim
4bce6d063a
Keep metadata when rewriting assertions
2015-08-24 00:19:00 +02:00
José Valim
80fd98f01a
Streamline aliases and imports in lexical tracker
...
Aliases should not mark nodes as compile or runtime
since it receives the alias to be expanded. The
expanded alias is always called later though as a
remote dispatch.
Imports should always mark nodes as compile time,
since they are compile time dependencies.
Finally, ensure compile nodes have higher priority
over runtime ones.
2015-07-22 09:59:31 +02:00
José Valim
d25d7046e5
Split compile and runtime in lexical tracker
2015-07-21 23:28:07 +02:00
José Valim
7642f97691
Ensure we quote proper file on exceptions
2015-04-02 18:37:56 +02:00
eksperimental
61675c3ea8
Add space after comma: Format consistently
2015-03-17 22:55:27 +07:00
José Valim
d31c12100a
Refactor and add new rewrite rules
2014-10-06 14:55:38 +02:00
José Valim
7313d26720
Remove deprecated branches
2014-09-04 13:58:58 +02:00
José Valim
1ca451f779
Normalize is_guard checks
2014-08-27 15:28:31 -04:00
José Valim
1565ec7658
Update CHANGELOG
2014-08-18 16:43:17 -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
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
6a6ba9f50d
Remove deprecated code
2014-08-02 22:35:57 +02:00
José Valim
58ca3401e4
Deprecate IO.ANSI.terminal? and tidy up colors
2014-07-31 13:54:08 +02:00
José Valim
4e7ba9d598
Deprecate IO.ANSI.escape/2 and IO.ANSI.escape_fragment/2
2014-07-30 13:14:53 +02:00
José Valim
c42fe88dcc
Provide Inspect.Algebra.format/2 that returns iodata
2014-07-19 13:32:45 +02:00
José Valim
058b157b36
Remove deprecated features and deprecate soft ones
2014-07-12 16:23:17 +02:00
Eric Meadows-Jönsson
c295ee50de
Allow expansion of local macros via Macro.expand/2
2014-07-11 20:35:35 +02:00
José Valim
8e1f7fddca
Always return ok from tracking functions
2014-07-05 13:21:59 +02:00
James Fish
39cd4a6594
Fix unmatched returns dialyzer warnings
2014-07-04 02:45:16 +01:00
José Valim
54240e1b4f
Inline functions in Port module
2014-07-01 14:54:56 +02:00
José Valim
9f2fa0f7af
Add System.cmd/3, closes #2251
2014-06-30 20:50:44 +02:00
José Valim
18f5063814
Update (soft) deprecations
2014-06-29 15:13:02 +02:00
José Valim
a6b1cca91f
Soft deprecate Mix.Generator.from_file/1
2014-06-26 13:35:54 +02:00
José Valim
5c7fdcc244
Soft deprecate EEx.TransformerEngine and EEx.AssignsEngine
2014-06-24 13:51:17 +02:00
José Valim
feb9cb645e
Remove previously deprecated behaviour
2014-06-18 16:56:59 +02:00
José Valim
924350868a
Deprecate previously soft deprecated conversion functions
2014-06-17 13:21:34 +02:00
José Valim
7de880495b
Remove previously deprecated code, enable new deprecations
2014-06-10 12:35:07 +02:00
José Valim
dff93a44c2
Soft deprecate size/1
...
Closes #2356
2014-06-05 21:02:10 +02:00
José Valim
83fa2fbbbf
Update CHANGELOG
2014-05-24 13:58:51 +02:00