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
Tomoya Tanjo
f6eb0ad97f
Mark std.stdio.File.seek as @trusted
2014-05-30 12:07:16 +09:00
monarch dodra
9744c9198b
Merge pull request #2184 from WalterBright/annotate-stdio
...
std.stdio: annotate C functions
2014-05-22 10:47:36 +02:00
Daniel Murphy
76878d8c43
Don't assume va_list is void*
2014-05-21 12:19:23 -07:00
Walter Bright
0732a612be
std.stdio: annotate C functions
2014-05-19 10:35:56 -07:00
Walter Bright
834ed6e0a8
Merge pull request #2083 from tom-tan/master
...
Mark std.stdio.File.fdopen as safe and trusted
2014-05-15 21:32:05 -07:00
Andrej Mitrovic
3f4fde2002
Merge pull request #2139 from monarchdodra/sortedrange
...
Fix Issue 9616 - SortedRange should support all range kinds
2014-05-01 20:03:20 +02:00
Tomoya Tanjo
ecaf000342
Mark std.stdio.File.fdopen as safe and trusted
2014-04-17 06:13:27 +08:00
Nick Treleaven
fb088fa08a
Don't wrap testTerm() with default arguments
...
The code is clearer without the extra function and with explicit
arguments.
2014-04-11 11:54:57 +01:00
Andrei Alexandrescu
8366c67d9e
Fix Issue 9616 - SortedRange should support all range kinds
2014-03-23 00:49:41 -07:00
Tomoya Tanjo
afbe687850
Mark std.stdio.File.this, opAssign, open and popen as safe
2014-03-19 22:39:20 +07:00
Tomoya Tanjo
d7f5c1f287
Mark std.stdio.fopen and popen as trusted
2014-03-19 20:23:50 +07:00
Andrej Mitrovic
b99ed6cc3d
Merge pull request #1984 from Poita/bug11698
...
Fix Issue 11698 - readf doesn't work with bool
2014-03-13 20:07:43 +01:00
k-hara
e49f6a096c
Add more local imports
2014-03-13 17:29:38 +09:00
Hara Kenji
0bc524f431
Merge pull request #2006 from 9rnsr/fix_imports
...
Add more local imports
2014-03-13 16:27:45 +09:00
k-hara
c5e8571009
Add more local imports
2014-03-13 15:27:55 +09:00
Tomoya Tanjo
b1b2fa9b39
Mark std.stdio.File.~this and detach as @safe
2014-03-13 14:32:04 +09:00
Andrei Alexandrescu
6a95f08826
Merge pull request #2003 from tom-tan/trusted-std-stdio-File-close
...
Mark std.stdio.File.close as @trusted
2014-03-12 22:19:45 -07:00
Tomoya Tanjo
2efab5a5d5
Mark std.stdio.File.close as @trusted
2014-03-13 14:12:58 +09:00
k-hara
6f80f6aa03
Add more local imports
2014-03-13 13:13:04 +09:00
Tomoya Tanjo
7bbef15d03
Add test-cases for Issue 12349
2014-03-12 21:05:05 +09:00
Tomoya Tanjo
74957f5ccd
Remove unnecessary enforce
2014-03-12 20:45:26 +09:00
Tomoya Tanjo
046cfdec90
Make std.stdio.File.error and flush @trusted
2014-03-12 13:47:46 +09:00
Tomoya Tanjo
7974b12113
Mark std.stdio.File.this, eof and other methods as @safe or @trusted
2014-03-11 12:28:09 +09:00
Peter Alexander
2ae91087e7
Fix Issue 11698 - readf doesn't work with bool
2014-03-08 20:01:24 +00:00
Rainer Schuetze
40c14681f3
std.digest.sha: disable SSSE3 for SHA because it has unsupported calling convention
...
std.format, std.math: workarounds for different behaviour of sprintf
std.conv: workarounds for different behaviour of strtold
std.math: disable unittests for exp2f and exp2l
std.math: fix lrint(real), disable tmpfile test
std.process: seek to end of file before trying to append to it from another process
std.process: do not try to terminate an invalid process handle
win64.mak: disable COMDAT folding for release build
2014-02-27 22:16:29 +01:00
Tomoya Tanjo
9418b300a9
Mark std.stdio.File.this(this), isOpen, name and getFP as @safe
2014-02-24 15:44:07 +09:00
Tomoya Tanjo
ae0b31c60a
Make std.stdio.testFilename @safe and pure
2014-02-23 19:23:33 +09:00
Andrej Mitrovic
8f84fdef16
Fix broken master due to dangling else block.
2014-02-17 09:28:14 +01:00
Vladimir Panteleev
f27c0f9679
std.stdio: Fix generating documentation on POSIX
...
Declare a dummy HANDLE alias to allow the compilation of the
Windows-only File methods.
2014-02-05 18:53:54 +00:00
Andrej Mitrovic
fe532ece6f
Merge pull request #1888 from CyberShadow/std-stdio-handle
...
std.stdio: Add File.windowsHandle, fdopen and windowsHandleOpen
2014-02-16 21:59:34 +01:00
Peter Alexander
5dbb6539e3
Fix Issue 11945 - LockingTextWriter.put
...
The function just had sloppy constraints while assuming it was a string. This fixes it up and adds some basic unit tests.
https://d.puremagic.com/issues/show_bug.cgi?id=11945
2014-02-13 21:35:09 +00:00
Vladimir Panteleev
b593b30ce1
std.stdio: Add File.windowsHandle, fdopen and windowsHandleOpen
...
This moves existing code from std.process to std.stdio for public use.
2014-02-12 02:39:36 +00:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
Peter Alexander
695d1e3311
Remove first line laziness from ByLineImpl.
2014-01-26 11:04:50 +00:00
Peter Alexander
516d4e95ab
Fix Issue 11830 - ByLine range length incorrect.
...
If you don't call `front` on a `ByLine` range then an extra line is reported. This change ensures the extra line is consumed when only calling `empty` without `front`.
https://d.puremagic.com/issues/show_bug.cgi?id=11830
2014-01-25 19:56:31 +00:00
k-hara
b00f09b8e8
fix more import insufficiency
2013-12-30 17:30:26 +09:00
Andrei Alexandrescu
4bc307f573
Merge pull request #1821 from CyberShadow/ddoc-syntax-fixes-7
...
std.stdio: Fix DDoc syntax in thrown exception documentation
2013-12-28 20:24:02 -08:00
Vladimir Panteleev
35a344863e
std.stdio: Fix DDoc syntax in thrown exception documentation
...
Introduced in 402af9d0c4
2013-12-29 03:08:12 +00:00
Vladimir Panteleev
c53b1c77a0
DDoc fixes
...
This fixes some warnings as identified by the compiler,
as well as some broken cross-reference links caused by
DDoc auto-formatting of the current symbol.
2013-12-28 21:28:41 +00:00
Vladimir Panteleev
f0ff870acd
std.stdio: Add file locking function
2013-12-28 00:59:01 +00:00
Andrei Alexandrescu
6644ec54f6
Merge pull request #1813 from 9rnsr/fix_imports
...
More local import fixes
2013-12-25 20:05:54 -08:00
k-hara
6628a306cf
Add more necessary local imports
2013-12-26 11:55:18 +09:00