Commit Graph
1603 Commits
Author SHA1 Message Date
José Valim 20ec00e2fb Load records before inspecting them, closes #469 2012-09-13 11:30:55 +02:00
José Valim b8b7d5764e :trim has no effect here 2012-09-13 11:30:55 +02:00
José Valim 27ba6c644b Update inspect on bitstring to use new notation 2012-09-13 11:30:55 +02:00
José Valim e32380ea6c Keep Binary.Inspect (no need to rename it) 2012-09-13 11:30:55 +02:00
José Valim 85755a12e5 Update lib/elixir/lib/behaviour.ex
default_port() does not receive arguments
2012-09-12 20:22:28 +03:00
José Valim e4ad1c14e4 Docs for functions without implementation are automatically marked as defcallback 2012-09-12 12:59:22 +02:00
José Valim 718eae73f8 Improve docs 2012-09-12 11:50:43 +02:00
José Valim 2431aa5183 Module.split also accepts binaries 2012-09-12 11:26:22 +02:00
José Valim c7a7022bf3 Properly expand other unquote expressions 2012-09-11 22:19:31 +02:00
José Valim 4855daf011 Improve Behaviour docs 2012-09-11 20:30:27 +02:00
José Valim 49ea60ca8f Calculate the stacktrace before calling inspect, closes #457 2012-09-11 19:54:09 +02:00
José Valim 1638cf49d8 Merge pull request #466 from bellthoven/improve_string_module
Implementing String.replace/3, String.replace/4 and String.duplicate/2
2012-09-11 09:52:55 -07:00
Gustavo Dutra f82d45fc02 Fixed typos 2012-09-11 13:47:28 -03:00
Gustavo Dutra 46bfc3f4dc Changed argument var name to better reflect erlang's documentation terminology 2012-09-11 13:15:31 -03:00
Gustavo Dutra 5bb8cca386 Added more tests 2012-09-11 13:13:19 -03:00
Gustavo Dutra a5cebfbd3a Added support for String.duplicate/2 2012-09-11 12:05:59 -03:00
Gustavo Dutra 41e550aadb Added support for String.replace/3 and String.replace/4 2012-09-11 12:05:59 -03:00
josh rotenberg 03c12b2ede s/keywords list/keyword list/ in docs 2012-09-11 07:45:08 -07:00
José Valim 284093e3a6 Use new bitstring syntax, make rstrip tail recursive 2012-09-11 11:00:25 +02:00
José Valim ede6e604c0 Merge remote-tracking branch 'guedes/string_upcase_downcase_implementation'
Conflicts:
	lib/elixir/lib/string.ex
2012-09-11 10:49:37 +02:00
Dickson S. Guedes e7c1473d7a String improvements
This implements rstrip, lstrip and strip. refs #456
2012-09-10 20:19:12 -03:00
José Valim f5560da26d Docs now use the new on_definition hook 2012-09-10 22:00:25 +02:00
José Valim 6c96c3473a Add support to on_definition hooks, closes #448 2012-09-10 21:50:23 +02:00
José Valim 6ffcd51f1a Make overridable internal function more readable 2012-09-10 20:47:41 +02:00
José Valim 26204441bb Implement new bitstring syntax, closes #421 2012-09-10 13:45:45 +02:00
José Valim c63a07f928 Now we employ consistently zero-based indexes, closes #459 2012-09-10 10:39:21 +02:00
José Valim 76cc6599a9 Improvements to escriptize task 2012-09-10 09:44:12 +02:00
José Valim 51ab06f115 Small improvements to Mix.Utils 2012-09-10 08:44:45 +02:00
José Valim 5ba2f24400 Merge pull request #429 from thomasc/features/mix-escriptize
Add initial escript support to mix
2012-09-09 23:44:23 -07:00
José Valim 1fa253086d Merge pull request #460 from guedes/string_upcase_downcase_implementation
Improvements on String module
2012-09-09 23:12:39 -07:00
José Valim 064d449a0a Merge pull request #449 from bellthoven/support_negative_numbers
Adding support for Enum.split to accept negative numbers
2012-09-09 23:09:44 -07:00
José Valim 0ad79506fe Merge pull request #461 from khia/features/443_exclude_hidden_files_on_mix_compilation
Features/443 exclude hidden files on mix compilation
2012-09-09 23:08:56 -07:00
José Valim 3f162d7b95 Update lib/elixir/lib/string.ex
Fixed wrong example
2012-09-10 09:08:05 +03:00
ILYA Khlopotov a4bf18d024 Ignore hidden files in mix 'test'. 2012-09-09 20:46:08 -07:00
ILYA Khlopotov 06d991df71 Ignore hidden files on mix compilation. 2012-09-09 20:45:06 -07:00
Dickson S. Guedes 2ea812f7da implemented String.(r|l)strip 2012-09-09 23:55:45 -03:00
Dickson S. Guedes 2a14b6e44e hard coding calculation 2012-09-09 22:29:32 -03:00
Dickson S. Guedes 35a6e24020 implementation of upcase and downcase 2012-09-09 19:27:20 -03:00
José Valim aebbf68d73 Binary module is gone, long live String 2012-09-09 23:14:55 +02:00
José Valim 8f962fd739 Ensure we don't try to print <<193>> 2012-09-09 22:48:30 +02:00
José Valim dcae67ee1b Add a String module responsible for handling UTf-8 binaries 2012-09-09 22:24:41 +02:00
José Valim bac9ceae4f Extract Mix.Utils.extract_files 2012-09-09 16:05:00 +02:00
José Valim ce37416cc6 defmodule returns the module binary 2012-09-07 19:19:05 +02:00
José Valim 52d406dac2 Simplify some assertion tests 2012-09-07 12:19:30 +02:00
José Valim d14687b3bc Raw function definition now evaluates all arguments
This applies to def/4, defp/4, defmacro/4, defmacrop/4.
The previous behaviour was accidental and did not properly
evaluate all arguments.
2012-09-07 12:19:03 +02:00
José Valim 32febf9b49 Also add after_spawn support to IEx 2012-09-06 14:04:26 +02:00
José Valim fe381f970e Break IEx into its own application 2012-09-06 13:50:51 +02:00
José Valim 5df46d54ef ExUnit now supports after_spawn callbacks
Such callbacks are invoked after each process is spawned.

This commit also refactors ExUnit.Runner slightly to consume
information from ExUnit.Server gradually instead of retrieving
it all up-front. This small step allows us to have ExUnit
running in the background in the future or to run many suites
at once.
2012-09-06 12:52:46 +02:00
José Valim 6f8bfbaed8 Remove unecessary new line 2012-09-06 12:52:46 +02:00
Gustavo Dutra 6887ac7309 Enum.split/2 with negative numbers iterates just once through the collection 2012-09-05 11:41:08 -03:00