José Valim
83fa2fbbbf
Update CHANGELOG
2014-05-24 13:58:51 +02:00
José Valim
2c630ff33c
Enable previously set deprecations
2014-05-24 13:13:30 +02:00
José Valim
007571e979
Remove deprecated records
2014-05-24 12:59:01 +02:00
José Valim
fb49aa1e99
Deprecate Dict.Behaviour in favor of Dict
2014-05-23 00:09:36 +02:00
José Valim
f92d8393da
(Soft) deprecate set_elem/3 in favor of put_elem/3, closes #2259
2014-05-21 12:04:22 +02:00
José Valim
540c763c85
Move binary and list conversions to String and List
2014-05-17 17:02:46 +02:00
José Valim
3d4877ffda
Get rid of BitString module and bitstring conversions
2014-05-17 16:34:26 +02:00
José Valim
84262257ef
Move Integer/Float conversions to their respective modules
2014-05-17 16:29:49 +02:00
José Valim
68dd952b45
More deprecations around tuples and records
2014-05-17 16:13:02 +02:00
José Valim
a068b5a4b0
Move List and String deprecations to new mechanism
2014-05-17 16:02:56 +02:00
Eric Meadows-Jönsson
dbe918c911
Merge pull request #2288 from ericmj/compile-deprecations
...
Make deprecations compiler warnings
2014-05-17 15:53:53 +02:00
Eric Meadows-Jönsson
4977ec8c05
Make deprecations compiler warnings
2014-05-17 15:52:00 +02:00
José Valim
3bb8e17e9e
Add iodata_to_binary and chardata_to_string to IO
2014-05-17 13:06:40 +02:00
José Valim
9650344c76
Do faster expansion on rewrites
2014-05-16 23:49:12 +02:00
José Valim
deb0191a21
Add Atom.to_string, Atom.to_char_list and BitString.to_list
2014-05-16 14:38:43 +02:00
José Valim
eb7c5415db
Inline functions in the Tuple module, closes #2261
2014-05-10 16:40:08 +02:00
José Valim
c86ecfdf7e
Add Kernel.spawn_monitor and deprecate duplicated functions from Process
2014-05-03 21:57:55 +02:00
José Valim
fdf53787cf
Remove unecessary .hrl macros
2014-04-30 19:24:04 +02:00
José Valim
c435dbe38d
Convert #elixir_env to a struct too
2014-04-30 16:32:13 +02:00
José Valim
97d4c02a8f
iodata_size -> iodata_length
2014-04-29 20:55:59 +02:00
José Valim
6a5348b780
Improves macro expansion stacktraces, closes #2211
...
We make sure the paths in stacktraces are relatives
and properly point which macros are being expanded.
2014-04-29 16:18:04 +02:00
José Valim
ca2ea6c0bd
Inline some map calls
2014-04-22 15:43:13 +02:00
José Valim
56f15d9f4e
Do not add spaces after { and before }
...
This makes the source code consistent with the result
returned by inspect/2.
2014-04-21 19:06:35 +02:00
José Valim
6624f31472
Merge branch 'jv-char-data'
...
Conflicts:
lib/eex/lib/eex/tokenizer.ex
lib/elixir/lib/file.ex
lib/elixir/lib/kernel.ex
lib/elixir/lib/record/extractor.ex
lib/elixir/lib/string.ex
lib/ex_unit/lib/ex_unit/doc_test.ex
lib/mix/lib/mix/archive.ex
lib/mix/lib/mix/dep/fetcher.ex
lib/mix/lib/mix/dep/umbrella.ex
2014-04-21 08:38:48 +02:00
José Valim
3d6dd50866
Remove native checks and improve typespecs
2014-03-08 12:46:16 -08:00
José Valim
6268dc3d22
Inline System.stacktrace/0
2014-03-05 03:05:18 -08:00
José Valim
024edf3d40
Rename iolist_* to iodata_*
2014-02-23 11:32:03 +01:00
José Valim
1ce2433212
Implement Enum for maps and add map_size to Kernel
2014-02-05 15:41:31 +01:00
José Valim
e612592e21
Inline is_map, ensure proper traversal
2014-02-05 11:56:52 +01:00
José Valim
c07b0d0912
Remove deprecate code
2014-02-02 20:22:28 +01:00
José Valim
24da600a72
Document inlined functions are BIFs
2014-01-24 11:37:43 +01:00
José Valim
fe8fc1be25
Inline some process and node calls, closes #1808
2014-01-22 15:06:35 +01:00
José Valim
8023c29c3f
Consistently inline functions in the Kernel module by the compiler
2014-01-22 14:11:48 +01:00
Ryan Coppolo
ce61c60af5
Deprecates binary_to_term and term_to_binary in Kernel.
2014-01-17 16:08:15 -08:00
José Valim
5a2e838def
Deprecate <-/2 in favor of send/2
2014-01-14 18:27:41 +01:00
José Valim
9c4271891a
Deprecate is_alive in favor of Node.alive?
2014-01-07 10:12:31 +01:00
José Valim
7c240199f3
Improve stacktraces and error messages during expansion
2014-01-06 19:34:38 +01:00
José Valim
83c93beaa6
Get rid of environment macro counter in favor of a global one
2013-12-30 11:45:23 +01:00
José Valim
254065d3c4
Clean up synax_error, asstions and merge mechanisms
2013-12-29 14:22:45 +01:00
José Valim
29b38ab9e0
Discard old dispatch
2013-12-29 12:23:38 +01:00
José Valim
2d36a76b26
Move capture to elixir_exp
2013-12-23 14:59:31 +01:00
José Valim
219ded1b91
Rename DispatchTracker to LocalsTracker
2013-12-22 09:20:41 +01:00
José Valim
a0eef07958
No need to require for requires for all expansions
2013-12-21 22:00:42 +01:00
José Valim
bb05011dca
Expand quote
2013-12-19 20:42:33 +01:00
José Valim
8847f8ed68
Start locals expansion
2013-12-19 15:33:13 +01:00
José Valim
a33cbbe6b1
Simplify import dispatching
2013-12-18 17:24:32 +01:00
José Valim
f62c26b9b6
Ensure record aliases in the same quote can be accessed, closes #1915
...
This commit also simplifies macro expansion for both imports and aliases
to always give higher preference to the macro environment rather than
the caller one, if such is available. The deal is to simplify both the
code and understanding of how macros work.
2013-12-07 20:01:11 +01:00
José Valim
e424f02812
Ensure aliases defined in macros do not leak
2013-11-30 18:02:46 +01:00
José Valim
043edd4990
location: :keep only affect function definitions
...
This commit changes how metadata is stored once location: :keep
is used and also removes the __scope__ special form.
Closes #1877
2013-11-25 11:35:00 +01:00
José Valim
da34ccd54e
Simplify lookups in elixir_dispatch
2013-11-25 09:06:01 +01:00