Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Format more files with little formatting requirement | José Valim | 2017-10-10 | 1 | -19/+20 |
| | |||||
* | Properly spell UTF-8 (#5373) | Eksperimental | 2016-10-28 | 1 | -5/+5 |
| | |||||
* | Add the :label option to IO.inspect/2 (#5010) | Michał Muskała | 2016-07-16 | 1 | -0/+6 |
| | | | | | | | | | | | This option decorates the output with an additional string, so it's easy to distinguish between different IO.inspect/2 calls. IO.inspect("foo", label: "bar") Will print: bar: "foo" | ||||
* | Improve warning output (#4631) | Aleksei Magusev | 2016-05-16 | 1 | -5/+5 |
| | |||||
* | Unify warning calls | José Valim | 2016-05-15 | 1 | -7/+7 |
| | |||||
* | Make IOTest sync since we're capturing stderr now | Aleksei Magusev | 2016-05-14 | 1 | -1/+1 |
| | |||||
* | Tidy up IO.warn/1,2 | Aleksei Magusev | 2016-05-14 | 1 | -2/+2 |
| | |||||
* | IO.warn to unify warnings (#4615) | Louis Pilfold | 2016-05-13 | 1 | -0/+13 |
| | | | | | | | | | | | | * IO.warn/1 function * Use IO.warn/1 instead of IO.write :stderr * Add stack trace printing to IO.warn * Remove manual stacktrace concatting from IO.warn calls * Remove double trailing newline from IO.warn | ||||
* | Replace 'char_list' and 'char list' with 'charlist' | eksperimental | 2016-05-07 | 1 | -3/+3 |
| | |||||
* | Improve guards definition for IO stream functions | Aleksei Magusev | 2016-05-04 | 1 | -7/+7 |
| | |||||
* | IO: Several improvements (#4560) | eksperimental | 2016-04-28 | 1 | -1/+30 |
| | | | | | | | | | | | | | | | | | IO Module: * Impoves wording in documentation, particularly in the use of :all, :line, count * Standardizes arg names to be `line_*`. * Adds function guards to check for integers. * Unicode is a proper noun, so it should be always capitalized. * Adds backticks to args suchs as `device`, `item`, `count`. * When functions are "Unicode unsafe", they are indicated in the first paragraph of docs. * IO.puts: code simplified removing unnecessary variable. * Adds \n to example in IO.gets/2 * Adds example in IO.chardata_to_string/1 when dealing with strings * Renames args in IO.each_stream/2 and IO.each_binstream/2 * Adds tests for IO.getn/2-3 calling functions with different arities IO.Steam Module: * Adds a note about side effects when dealing with IO streams. | ||||
* | Move doctests from central place to the modules they describe | Aleksei Magusev | 2015-11-25 | 1 | -0/+3 |
| | |||||
* | Convert test :atom into test string | José Valim | 2015-08-15 | 1 | -19/+19 |
| | |||||
* | Add unit test for IO.binread with :all option | Michael Sokolnicki | 2015-05-27 | 1 | -0/+6 |
| | | | | | Unit test checks correct handling of 0x0D0A (CR+LF) when reading entire binary file | ||||
* | implement IO.(bin)read which accept `:all` | Joe-noh | 2014-07-08 | 1 | -0/+21 |
| | | | | | | IO.(bin)read(dev, `:all`) reads all contents from device Signed-off-by: José Valim <jose.valim@plataformatec.com.br> | ||||
* | Do not add spaces after { and before } | José Valim | 2014-04-21 | 1 | -11/+11 |
| | | | | | This makes the source code consistent with the result returned by inspect/2. | ||||
* | Update char list samples in IO tests | José Valim | 2014-03-06 | 1 | -3/+3 |
| | |||||
* | Deprecate __FILE__ in favor of __DIR__ or __ENV__.file | José Valim | 2014-01-02 | 1 | -11/+11 |
| | |||||
* | Add typespecs and to_string conversion to some IO APIs | José Valim | 2013-11-01 | 1 | -0/+29 |
| | |||||
* | Decide on IO.stream and unify read/readline API | José Valim | 2013-06-30 | 1 | -6/+6 |
| | |||||
* | Deprecate IO.getb in favor of IO.getn | Yuki Ito | 2013-05-20 | 1 | -10/+10 |
| | |||||
* | Add __DIR__, closes #1019 | José Valim | 2013-05-06 | 1 | -1/+1 |
| | |||||
* | Move path related functions from File to Path | José Valim | 2013-01-19 | 1 | -11/+11 |
| | |||||
* | Allow file iterators to be closed, Enum.take should not take items it is not ↵ | José Valim | 2013-01-05 | 1 | -5/+5 |
| | | | | going to use | ||||
* | Add IO.binread, IO.binwrite and friends, closes #645 | José Valim | 2012-11-16 | 1 | -4/+17 |
| | |||||
* | Code.require_file and Code.load_file now expect the full name as argument | José Valim | 2012-08-21 | 1 | -1/+1 |
| | |||||
* | Make the default for ExUnit case to be sync | José Valim | 2012-07-16 | 1 | -1/+1 |
| | |||||
* | Move all code to erlang style apps | José Valim | 2012-07-05 | 1 | -0/+67 |