sabiwara
29bf449f3f
Evaluate formating charlists as ~c sigils ( #12064 )
2022-08-10 06:47:00 +02:00
Jonatan Männchen
706f33d0b0
Return no_translation error in StringIO put_chars as in Erlang ( #11756 )
2022-04-25 12:05:01 +02:00
Wojtek Mach
deccaf0db1
Add :encoding option to StringIO ( #9250 )
2019-07-31 20:34:07 +02:00
Fernando Tapia Rico
2a98543053
Handle non-printable args in StringIO gracefully ( #8600 )
...
Non-printable arguments were killing the StringIO process, which
was killing the Logger handler associated to it. That was
causing some errors when users were running their test suites
with `capture_log: true`, because the proxy (Logger handler) was
not there when ExUnit.CaptureLog was trying to remove it.
2019-01-06 21:02:49 +01:00
Aleksei Magusev
4d8ea29d59
Ditch two helper functions in StringIOTest
...
Those functions were also public without any need for this.
2018-04-18 00:04:26 +02:00
Aleksei Magusev
99f224d414
Remove unnecessary argument in a helper function in StringIOTest
2018-03-11 12:25:17 +01:00
José Valim
c6233421e5
Format more files with little formatting requirement
2017-10-11 00:28:10 +02:00
Brian Alexander
61ccf8e5fa
StringIO.get_until bug fix, performance, and tests ( #6268 )
...
* StringIO.get_until bug fix, performance, and tests
* Fix bug in StringIO.get_until result handling
2017-07-04 10:28:34 +02:00
Brian Alexander
6a665b466b
StringIO read_line performance and binread bug fix ( #6056 )
...
* improve performance of StringIO.get_line
* fix IO.binread character handling with StringIO
* encoding always :unicode or :latin1, never :uf8
see http://erlang.org/doc/apps/stdlib/io_protocol.html
2017-05-16 15:42:09 +01:00
Eksperimental
4a5b49fe6b
Properly spell UTF-8 ( #5373 )
2016-10-28 21:09:23 +02:00
James Fish
79aa7038af
Fix default encoding for put_chars in StringIO ( #4730 )
2016-05-31 00:47:17 +01:00
Aleksei Magusev
612fcc4760
Eliminate spaces in bitstring definitions
2015-11-28 23:48:48 +01:00
Aleksei Magusev
a92b6ee4a5
Move doctests from central place to the modules they describe
2015-11-25 00:26:07 +01:00
Aleksei Magusev
330ffac61a
Remove duplicate test in StringIOTest and correct test names
2015-06-06 14:05:23 +02:00
Aleksei Magusev
5653d6d20e
Introduce StringIO.flush/1 function
2014-09-28 12:54:37 +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
bdab8045b9
Rename StringIO API to be more IO like (start -> open, stop -> close)
2014-03-27 09:17:04 +01:00
Devin Torres
9fc7a1c43f
WIP StringIO improvements
2014-03-06 10:34:41 -06:00
Eric Meadows-Jönsson
9e068fb0a2
Support :io.get_password in StringIO
2014-03-01 17:58:51 +01:00
Yuki Ito
8058afe9c6
No need macro for string_io_test
2014-02-09 16:19:43 +01:00
Yuki Ito
920e056465
Implement StringIO
2014-02-09 16:19:28 +01:00