H. S. Teoh
cbf54b109b
Update std.stdio.writef docs.
...
The docs are outdated; the `writef(stderr, fmt, ...)` syntax is no longer
supported. Also, remove a bunch of really old notes about changes in version
2.006, which are already ancient history. Refer instead to the docs of
std.format.formattedWrite, which are the most up-to-date and accurate docs on
this subject.
2014-09-19 16:20:12 -07:00
Brad Roberts
8d1c89d2a6
Merge pull request #2432 from rainers/coff32
...
COFF support for Win32
2014-09-11 13:55:13 -07:00
David Nadlinger
8b53ef91d6
Merge pull request #2501 from CyberShadow/pull-20140909-112214
...
std.process: @safe/nothrow cleanup
2014-09-09 15:22:19 +02:00
Vladimir Panteleev
d7096b1947
std.process: @safe/nothrow cleanup
2014-09-09 11:32:32 +00:00
uran
14fe960d91
Documentation corrected.
2014-09-08 10:17:45 +03:00
Denis Shelomovskij
d63035003a
Fix some property enforcements.
2014-09-01 18:01:16 +04:00
Rainer Schuetze
3ed25d61ae
use CRuntime_DigitalMars/CRuntime_Microsoft instead of Win32/Win64 where appropriate
2014-08-23 16:14:18 +02:00
Denis Shelomovskij
ff144b0ae0
Replace most toStringz
/toUTF16z
/toUTFz
usages with tempCString*
ones.
...
Only non-trivial cases left when a refactoring is required to use a temporary buffer.
Also add `nothrow`/`@nogc` attributes.
2014-08-23 17:23:13 +04:00
Vladimir Panteleev
bc353da47c
fix Issue 13241 - [REG2.067a] writeln no longer flushes stdout
2014-08-19 00:12:23 +00:00
H. S. Teoh
16822243a1
Remove unused private writefx() function.
...
This eliminates the 3rd last usage of doFormat in Phobos, thus inching
us closer to fully fixing bug #4532 .
2014-08-07 15:22:35 -07:00
Andrej Mitrovic
f13c9b82d3
Merge pull request #2393 from joakim-noah/android
...
Make it possible to use a central directory for all tests that create a temporary file
2014-08-05 14:07:06 +02:00
Joakim
a5f2d0f684
Tweaks to get the tests running inside an Android apk
2014-08-04 23:33:31 -05:00
Dmitry Olshansky
96ca355429
Merge pull request #2364 from ntrel/stdio-newline
...
[docs] Recommend std.ascii.newline for portable line terminator in std.stdio
2014-08-04 02:15:40 +04:00
Михаил Страшун
f7011bdb18
Merge pull request #2395 from MartinNowak/localizeImports
...
localize some imports
2014-08-02 04:49:30 +02:00
Martin Nowak
e7bcad9406
localize some imports
2014-08-02 01:05:56 +02:00
Михаил Страшун
97979b6639
Merge pull request #2389 from 9rnsr/fix12359
...
Add missing imports
2014-08-01 15:24:07 +02:00
Nick Treleaven
38531a6a0e
Don't use std.ascii.newline with text mode
2014-07-31 11:37:52 +01:00
Robert Blake Anderton
1bb1f61142
Made File.writeln infer @safe/@trusted/etc. Also wrapped stdout in @trusted private function so writeln (and family) free functions don't always infer @system.
2014-07-30 10:00:14 -05:00
k-hara
900cbeba99
Add missing imports
2014-07-29 14:05:17 +09:00
Михаил Страшун
9b2dea2805
Merge pull request #2321 from tom-tan/try-trusted-stdio-File-LockingTextWriter-put
...
Make std.stdio.File.LockingTextWriter.put safe
2014-07-28 07:34:19 +02:00
Tomoya Tanjo
a6a16cdf96
Fix deprecation for fps, handle and orientation
2014-07-28 13:41:37 +09:00
Tomoya Tanjo
cae07a04b2
Make public fps, handle, and orientation deprecated
2014-07-28 11:34:33 +09:00
Nick Treleaven
66c8a77956
Note that readln() cannot support string terminators
2014-07-25 12:41:25 +01:00
Nick Treleaven
ddad09bbea
Recommend using portable std.ascii.newline for line terminator
...
Also document 'lines' constructor.
2014-07-23 15:21:31 +01:00
Михаил Страшун
4f81791438
Merge pull request #2334 from quickfur/issue8730
...
std.stdio.writeln should write strings with embedded nulls correctly
2014-07-17 18:51:34 +02:00
Tomoya Tanjo
45fc2a6cf9
Make std.stdio.File.LockingTextWriter.put safe
2014-07-16 11:35:30 +09:00
Steven Schveighoffer
3cd7afcb1b
Merge pull request #2330 from joakim-noah/strerror_move
...
Deprecate std.c.string and move its contents to druntime
2014-07-15 16:10:14 -04:00
H. S. Teoh
94942605d2
Update unittest to check for correct writing of embedded nulls.
2014-07-15 07:53:00 -07:00
H. S. Teoh
e162b2a0d5
Don't use fprintf to output D strings since they might contain embedded nulls.
...
Instead, use fwrite to output the string in its entirety. It's probably
more efficient this way anyway, since we bypass format string parsing in
fprintf.
2014-07-15 07:52:59 -07:00
Михаил Страшун
9c41595977
Merge pull request #2077 from ntrel/byLineCopy
...
Fix Issue 12556 - Add persistent stdio.File.byLine
2014-07-14 15:45:58 +03:00
Nick Treleaven
73da5d20b0
Indent parameters
2014-07-14 12:04:53 +01:00
Joakim
dc67efc3c4
Deprecate std.c.string and move its contents to druntime
2014-07-13 12:47:26 -05:00
Михаил Страшун
3ee34072a6
Merge pull request #2150 from joakim-noah/android
...
Get tests passing on Android/x86
2014-07-12 04:05:07 +03:00
Михаил Страшун
b1bfdb6e01
Merge pull request #2319 from tom-tan/safe-unittest-for-stdio-File-error-File-detach-File-flush
...
Mark unittests for std.stdio.File.error, detach and flush as safe
2014-07-11 15:15:17 +03:00
Tomoya Tanjo
abc3d14e7a
Mark std.stdio.lockingTextWriter.this as safe
2014-07-11 12:57:08 +09:00
Tomoya Tanjo
c7fb2f291b
Mark unittests for std.stdio.File.error, detach and flush as safe
2014-07-11 11:55:35 +09:00
Joakim
11de397dd7
Start getting tests passing on Android/x86
2014-07-09 17:52:15 -05:00
k-hara
6e9e153075
Fix issue 12859 again
...
The direct pushing by Andrew Edwards had accidentally reverted regression fix.
2014-06-30 11:03:15 +09:00
AndrewEdwards
49a170fdc1
Revert "Update stdio.d"
...
This reverts commit dbdcb2b996
.
2014-06-30 01:49:05 +09:00
AndrewEdwards
571056369b
Merge branch 'master' of https://github.com/AndrewEdwards/phobos
2014-06-30 01:36:56 +09:00
AndrewEdwards
dbdcb2b996
Update stdio.d
...
Eliminate use of deprecated read-modify-write operation on shared variable.
2014-06-29 16:06:15 +09:00
k-hara
8ab7ceebd9
fix Issue 12859 - Read-modify-write operation for shared variable in Phobos
2014-06-29 15:47:45 +09:00
jmdavis
c800058aca
Move along some overdue deprecations.
2014-06-20 04:37:13 -07:00
k-hara
814d47382b
Revert "Merge pull request #2225 from tom-tan/trusted-stdio-LockingTextWriter-put"
...
It broke win32 build.
This reverts commit dc0b441bb1
, reversing
changes made to 285d027677
.
2014-06-17 18:37:59 +09:00
Tomoya Tanjo
b977ea3539
Add static keyword to trustedFPUTC/trustedFPUTWC
2014-06-17 17:43:59 +09:00
Tomoya Tanjo
018c3b060f
Make trustedFPUTC and trustedFPUTWC static
2014-06-11 18:36:58 +09:00
Tomoya Tanjo
80737ad97d
Make trustedFwrite static
2014-06-10 03:34:19 +09:00
Tomoya Tanjo
f4caebce1a
Make std.stdio.LockingTextWriter.put and lockingTextWriter @safe
2014-06-03 12:02:48 +09:00
Tomoya Tanjo
ae1a24ecfb
Mark std.stdio.LockingTextWriter.this, ~this and this(this) as @trusted
2014-05-31 22:31:12 +09:00
Tomoya Tanjo
e7ada48604
Mark std.stdio.File.tmpfile, wrapFile and size as @safe
2014-05-31 03:35:34 +09:00