Andrei Alexandrescu
36112efd02
Added size property to File
2011-01-09 06:58:12 +00:00
Andrei Alexandrescu
86a080f056
Fixed unlisted bug in readf
2010-12-24 03:05:42 +00:00
Masahiro Nakagawa
36dd6b3007
Add ByChunk to std.stdio.File
2010-10-11 21:59:08 +00:00
Shin Fujishiro
df582acd89
Fix (build failure): no pclose() on Windows
2010-09-27 04:02:55 +00:00
Andrei Alexandrescu
a50363c605
Fix for bugzilla 3157
2010-09-27 01:11:25 +00:00
Walter Bright
3b0c94b1c9
giving source link a try
2010-09-11 20:08:39 +00:00
Steven Schveighoffer
9eb8c37d5a
Fixed issue with readln not returning data when EOF is encountered.
2010-08-27 17:26:38 +00:00
Steven Schveighoffer
7e89201cda
Rewrote Appender to be safer and to not corrupt memory.
...
Fixed all places that use appender to use the safer interface.
bugzilla 4681: Appender access violation
2010-08-26 11:49:50 +00:00
Shin Fujishiro
190c622030
Fixed std.stdio build problem on FreeBSD.
...
Moved `import core.sys.posix.stdio;` from version(OSX) to version(Posix) since now fseeko() is used on all Posix systems.
2010-08-26 06:05:56 +00:00
Walter Bright
b8ce58ccd1
detab sources
2010-08-23 02:14:45 +00:00
Andrei Alexandrescu
b2a36396f1
Reverted to 32-bit file routines for Windows; we need to distribute libcmt.lib for 64-bit support.
2010-08-17 16:41:23 +00:00
Andrei Alexandrescu
cad40e5902
Now large files work with both osx and linux
2010-08-17 15:26:04 +00:00
Andrei Alexandrescu
5f354415b7
seek and tell for large files on OSX using seeko and tello
2010-08-17 15:06:34 +00:00
Andrei Alexandrescu
72d9fa0764
seek and tell for large files on OSX
2010-08-17 07:08:56 +00:00
Andrei Alexandrescu
3eb9454c78
Fixed seek and tell for large files
2010-08-16 20:07:12 +00:00
Adam D. Ruppe
b9ea97d6e7
Changed code style of new openNetwork function to be more Phobos like
2010-08-14 17:54:02 +00:00
Adam D. Ruppe
3dedd2253e
commiting my first attempt at network support in the File interface.
2010-08-14 17:12:35 +00:00
Andrei Alexandrescu
f8d81d171e
Removed obsolete comments and tabs that suck
2010-08-08 17:34:25 +00:00
Walter Bright
73a1aec0bd
fix deadlock
2010-08-08 07:37:51 +00:00
Don Clugston
f4cf1fe01a
Prevent tuple indexing error message when you call writefln() with no parameters
2010-07-27 07:31:00 +00:00
Andrei Alexandrescu
67bae48bec
Eliminated unittests for built-in complex.
2010-07-12 00:51:02 +00:00
Andrei Alexandrescu
432e3fdfc8
Replaced std.contracts with std.exception throughout
2010-07-04 22:09:03 +00:00
Andrei Alexandrescu
9f1ec363bb
Implemented readf (yay)
2010-07-04 21:49:23 +00:00
Andrei Alexandrescu
fffb5555e6
Fixed writeln() regression
2010-06-10 18:50:29 +00:00
Andrei Alexandrescu
4beb6c3d0e
Fixed writeln() regression
2010-06-10 18:49:11 +00:00
Andrei Alexandrescu
2a81e69d86
Changed writeln to handle strings as a special case and just forward them to printf. Also writeln is special-cased for no arguments to use fputc.
2010-06-09 19:35:26 +00:00
Andrei Alexandrescu
38a75a6e41
Added an error message to enforce() in rawRead().
2010-06-08 17:41:13 +00:00
Masahiro Nakagawa
adf941f657
Replace static opCall with Constructor. static opCall for struct construction is old style.
2010-06-01 19:44:00 +00:00
Shin Fujishiro
4be7abb7f2
Made rawRead/rawWrite always operate in binary mode on Windows.
2010-05-29 06:00:53 +00:00
Masahiro Nakagawa
cab2b77249
opApply's delegate needs to be 'scope' for avoiding heap allocation
2010-05-18 10:58:01 +00:00
Shin Fujishiro
4e2d8f30fd
Added FreeBSD code.
2010-05-17 03:02:16 +00:00
Walter Bright
53a3eec534
invariant => immutable
2010-05-05 22:19:49 +00:00
Walter Bright
e790058bf4
invariant => immutable
2010-05-05 18:25:44 +00:00
Andrei Alexandrescu
2a9a6e336c
string, wstring are now bidirectional (not random) ranges
...
std.algorithm: defined move with one argument; levenshtein distance generalized to with all forward ranges; take now has swapped arguments
std.array: empty for arrays is now a @property; front and back for a string and wstring automatically decodes the first/last character; popFront, popBack for string and wstring obey the UTF stride
std.conv: changed the default array formatting from "[a, b, c]" to "a b c"
std.range: swapped order of arguments in take
std.stdio: added readln template
std.variant: now works with statically-sized arrays and const data
std.traits: added isNarrowString
2010-02-22 15:52:31 +00:00
David Simcha
35e5e25943
Bug 3763: readlnImpl() horribly inefficient and overflows stack.
2010-02-19 03:20:08 +00:00
Walter Bright
c3347e001a
cannot have { } initializer with constructors
2009-12-20 20:34:47 +00:00
Walter Bright
d340dab9f3
inout to ref
2009-12-19 07:46:41 +00:00
Walter Bright
38796ee285
added auto ref functions
2009-12-16 08:55:42 +00:00
Andrei Alexandrescu
e7df1a56b7
Removed spurious assert(false) from StdioException
2009-11-30 01:08:21 +00:00
Andrei Alexandrescu
4ce6a1ed19
Fix for #3424 : Ref counting still doesn't work for std.stdio.File
2009-10-20 20:01:51 +00:00
Andrei Alexandrescu
0b4d65aa62
fixed doc example
2009-10-03 21:27:52 +00:00
Sean Kelly
747f3cf1e4
Changed Phobos to use the Boost license. Currently, all public domain modules and all licensed modules by Walter, Andrei, Bartosz, and Don have been changed to use this license (excepting std.c, for the moment). Ideally, all Phobos modules will eventually be distributed under this license, which means obtaining permission from a few more authors, deleting, or rewriting some modules.
...
Removed std.openrj.
2009-09-16 18:19:51 +00:00
Andrei Alexandrescu
0c142994d9
See changelog - bunch of bug fixes and a couple additions for release 2.032
2009-08-31 19:46:33 +00:00
Sean Kelly
add34f9f17
Changed a few version blocks from "linux" to "Posix" to enable OSX support.
2009-07-21 18:25:21 +00:00
Walter Bright
3a3130afa9
last minute fixes for 2.031
2009-07-06 17:32:48 +00:00
Andrei Alexandrescu
9e4e3cbe88
minor
2009-07-04 07:06:26 +00:00
Sean Kelly
446691a18a
Fixed compile error.
2009-06-08 22:18:08 +00:00
Walter Bright
7ef9d6f2b8
fix implicit casting
2009-06-04 23:36:03 +00:00
Walter Bright
eceae92256
2.030
2009-05-12 21:31:39 +00:00
Walter Bright
cf644a325a
add shared
2009-05-08 05:00:12 +00:00