Commit Graph
88 Commits
Author SHA1 Message Date
Eric Meadows-Jönsson c7081fd2aa Fix struct/0 typespec
Closes #4915.
2016-06-30 19:33:22 +02:00
José Valim 25ca5c825a Disable relative paths when loading mix.exs, closes #4465 2016-06-12 18:55:00 +02:00
eksperimental 3bd976737e Use proper case for proper nouns and acronyms
Use proper case for proper nouns (e.g., Elixir, Rebar, Git, and others)
as well as acronyms (e.g., URL, HTTP, and others).
2016-06-06 15:17:59 +02:00
eksperimental 9d4ec8b5f3 Fall-back functions: Kernel.to_char_list/1 and List.Chars.to_char_list/1 protocol 2016-05-09 00:35:44 +07:00
eksperimental 0aece49e2d Replace 'char_list' and 'char list' with 'charlist' 2016-05-07 03:20:57 +07:00
eksperimental 4ceb41e71b Formmating: Add white space around vertical bar (#4507) 2016-04-25 00:55:49 +02:00
José Valim 0c13b59654 Merge pull request #4403 from sunny-mittal/refactor
Minor URIConfig refactor
2016-03-18 23:42:01 +01:00
Sunny Mittal 59f7d2b8ea Minor URIConfig refactor 2016-03-18 12:46:45 -07:00
Andrea Leopardi c6e972eb21 Add the keyword/0 and keyword/1 built-in types 2016-03-17 23:57:30 +01:00
Renato Moya 75a0177d7a Fix typo in elixir.erl 2016-02-26 18:10:46 -08:00
José Valim 3487d00ddb Warn when piping into functions without parens, closes #3642 2015-11-16 13:26:05 +01:00
José Valim 1587efc787 Warn if compiled endianness is different than current one, closes #2785 2015-11-13 19:50:59 +01:00
José Valim 35fbf0716a Move code server and compiler away from ord* 2015-10-19 12:19:15 +02:00
José Valim 5b88ef22d2 Move internal vars and backup vars from orddict to maps 2015-10-18 23:32:28 +02:00
José Valim f524f25c58 Require Erlang 18.0 forward 2015-09-25 12:01:10 +02:00
José Valim ebff46615c Add @type struct and error when overriding builtins
Closes #2990
2015-08-11 11:44:24 +02:00
James Fish 55297326a6 Use reliable home directory source 2015-06-02 20:35:47 +01:00
José Valim e95e7ae00b Update TODOs 2015-04-05 17:38:14 +02:00
eksperimental 61675c3ea8 Add space after comma: Format consistently 2015-03-17 22:55:27 +07:00
José Valim fd28bb1ecc Fallback to undocumented API only if necessary 2015-02-16 21:39:33 +01:00
José Valim b54c2d6089 Support R18 standard error 2015-02-16 20:43:51 +01:00
José Valim c80b211445 Merge pull request #2801 from fishcakez/app_env
Move application state out of application env
Conflicts:
	lib/elixir/lib/uri.ex
	lib/iex/lib/iex/server.ex
2015-01-24 14:07:46 +01:00
José Valim f7db84cc50 Merge pull request #3003 from xavier/invert-order-of-non-matching-token-messages
Invert the order of non matching token messages (closes #2993)
2015-01-10 14:26:22 +01:00
Xavier Defrang 7381cbee02 Invert the order of non matching token messages (closes #2993) 2015-01-10 09:40:44 +01:00
José Valim a7dbfd1e82 Remove broken and unfixable delegate_locals_to implementation 2015-01-06 23:34:08 +01:00
Alexander Ivanov c76a186687 Change location info format in tokenizer
Start column counting in tokenizer from 1, store location info in a tuple `{Line, BeginColumn, EndColumn}` instead of a list
2015-01-05 13:35:23 +02:00
Alexander Ivanov a288ddd326 Add column info in tokenizer, #2987
Add column info for each token in elixir_tokenizer.
Change the format of location info from `Line` to `[Line, BeginColumn,
EndColumn]`. Pass the current column after the current line in
`elixir_tokenizer:tokenize`. Reflect the change in related modules.
2015-01-05 03:34:53 +02:00
José Valim 6a6ba9f50d Remove deprecated code 2014-08-02 22:35:57 +02:00
José Valim aeefd59b15 Add Logger 2014-07-30 19:46:26 +02:00
José Valim 6272b60d36 Ensure all elixir dependencies are started before hand, closes #2542 2014-07-16 12:48:46 +02:00
José Valim 999a535603 Manually call check_command before eval, closes #2449 2014-07-10 11:44:03 +02:00
José Valim 7fabf32d9e Do not crash if applications are already started 2014-07-04 12:13:53 +02:00
James Fish 39cd4a6594 Fix unmatched returns dialyzer warnings 2014-07-04 02:45:16 +01:00
José Valim aa01dd1fc1 Ensure derived protocols are defined with a file 2014-06-24 11:28:27 +02:00
José Valim 3ec0d20621 Only set encoding when there is noshell, closes #2432 2014-06-22 14:16:40 +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 c435dbe38d Convert #elixir_env to a struct too 2014-04-30 16:32:13 +02:00
James Fish 68d1bd9308 Fix stacktraces for :elixir.eval_forms/4
:erl_eval and :eval_bits can call :erlang.raise/3 with an incomplete
stacktrace, so extend the stacktrace when this occurs.

Mailing list thread:
https://groups.google.com/forum/#!topic/elixir-lang-core/cpSlgBjrRBQ
2014-04-29 17:57:39 +01: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 ea9b686b28 Emit a warning if running on latin1 2014-04-21 12:15:27 +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 03189d05b3 Properly set standard_error to unicode 2014-04-10 19:54:34 +02:00
José Valim c37a244d66 Add Code.eval_file/2 2014-03-27 12:31:00 +01:00
José Valim 233a3ed4ec Change the Path module to work only with char_data and always return binaries 2014-02-22 19:33:37 +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 d4da5be4ee Remove more duplication in between expansion and translation 2013-12-29 16:40:11 +01:00
José Valim b03e2173a5 Rename translate_each to translate and temp_vars to match_vars 2013-12-29 16:08:58 +01:00
José Valim 0e627c9b09 Use expansion on function bodies 2013-12-29 10:54:10 +01:00
José Valim f8b019c7c8 Move to the new expansion on the front-end 2013-12-28 23:14:55 +01:00
José Valim c4419268b8 Move module compilation to rely on elixir_exp 2013-12-28 15:01:31 +01:00