Sebastian Wilzbach
5a8988c149
style fix: add space after for operator
2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
Dmitry Olshansky
8ff1f0ef52
Merge pull request #4079 from greenify/stdio_byrecord
...
document std.stdio.byRecord
2016-03-28 15:24:13 +04:00
Sebastian Wilzbach
fc2099dc11
document std.stdio.byRecord
2016-03-27 22:31:05 +03:00
JakobOvrum
99651dc92e
Merge pull request #2011 from CyberShadow/fix12368
...
fix Issue 12368 - std.file.write conflicts with std.stdio.write
2016-03-28 03:10:23 +09:00
Vladimir Panteleev
c697f64640
std.stdio: Fix style nits
2016-03-27 08:52:27 +00:00
JakobOvrum
f12b78ec40
Merge pull request #4053 from greenify/stdio_doc
...
std.stdio: add unittest examples to doc output
2016-03-18 05:44:26 +09:00
Sebastian Wilzbach
afe493d3bd
std.stdio: add unittest examples to doc output
2016-03-13 19:50:05 +02:00
Jonathan M Davis
c08032edd4
Merge pull request #4068 from nrTQgc/netbsd_patch
...
netbsd patch
2016-03-10 22:04:53 -08:00
Nikolay Tolstokulakov
eff74ed2a2
netbsd patch
2016-03-11 10:10:47 +06:00
H. S. Teoh
4f7d8a2243
Merge pull request #4071 from CyberShadow/pull-20160310-234514
...
std.stdio: Fix documentation of File.error
2016-03-10 17:21:51 -08:00
Vladimir Panteleev
cd91d15559
std.stdio: Fix documentation of File.error
2016-03-10 23:45:29 +00:00
Dmitry Olshansky
202565df3d
Merge pull request #3828 from CyberShadow/pull-20151124-143559
...
fix Issue 15377 - std.stdio: Use MSVCRT's _fseeki64 / _ftelli64 on Windows COFF
2016-03-07 17:21:50 +03:00
Steven Schveighoffer
fac1bc22b5
Fix import issues for std.format and std.stdio
2016-02-21 18:58:12 -05:00
Martin Nowak
ce2ac192c9
fix incorrect imports/fqn usages
...
- mostly of the form `import a.b : sym; a.b.sym();`, which is wrong b/c
selective imports do not add the module to the current scope
2016-02-20 14:41:44 +01:00
Jonathan M Davis
c3cd933131
Moving deprecations along.
...
This is mostly just putting dates on existing deprecations that were
missing dates, but it does remove a few things that have been deprecated
long enough to be removed.
2016-02-10 16:43:25 -08:00
AndrewEdwards
096480ecc3
Remove deprecated modules and symbols scheduled for removal in 2015
2016-01-27 18:34:07 +09:00
Vladimir Panteleev
458c1ceb35
fix Issue 12379 - Add toFile function which writes its first argument to a file
2016-01-13 12:29:18 +00:00
Vladimir Panteleev
60448be39a
std.stdio: Add lockingBinaryWriter
2016-01-13 12:29:08 +00:00
Vladimir Panteleev
34fbe76659
std.stdio: Refactor LockingTextWriter.handle_ field into property
2016-01-13 12:28:49 +00:00
Martin Nowak
e286199645
Merge remote-tracking branch 'upstream/stable'
...
# Conflicts:
# win32.mak
# win64.mak
2016-01-03 15:09:57 +01:00
anonymous
e90edec9b6
fix issue 15429 - [std.stdio] Broken link in documentation
2015-12-09 18:25:28 +01:00
Vladimir Panteleev
7af97f8ccc
fix Issue 15377 - std.stdio: Use MSVCRT's _fseeki64 / _ftelli64 on Windows COFF
2015-11-24 14:38:00 +00:00
Lionello Lunesu
be227ef595
Fixed some doc warnings
2015-11-17 09:21:52 +08:00
Dmitry Olshansky
99741241a1
Merge pull request #3698 from WalterBright/fix14861
...
[REG] fix Issue 14861 - Error in stdio.d in LockingTextReader.readFront()
2015-11-13 10:22:37 +03:00
anonymous
15b550da72
avoid .capacity
2015-11-13 00:36:05 +01:00
anonymous
994d6b8181
fix issue 15293
...
ReadlnAppender tried to claim the capacity of the passed buffer, calling
assumeSafeAppend on the result so that on the next call it has a capacity
again that can be claimed.
The obvious problem with that: readln would stomp over memory that it has
not been given.
There was also a subtler problem with it (which caused issue 15293):
When readln wasn't called with the previous line, but with the original
buffer (byLine does that), then the passed buffer had no capacity, so
ReadlnAppender would not assumeSafeAppend when slicing the new line from
it. But without a new assumeSafeAppend, the last one would still be in
effect, possibly on a sub slice of the new line.
2015-11-12 20:06:55 +01:00
Jack Stouffer
d085228a43
fix issue 3764
2015-11-03 12:41:39 -05:00
k-hara
59989ed68a
fix imports
2015-11-01 23:01:04 +09:00
Walter Bright
cf22992cbb
Merge pull request #3768 from CyberShadow/pull-20151024-051829
...
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007
HTML fixes
2015-10-24 06:19:23 +00:00
Walter Bright
196f251ff4
fix Issue 14861 - Error in stdio.d in LockingTextReader.readFront()
2015-10-22 16:21:54 -07:00
Brian Schott
67c95e6de2
Merge pull request #3715 from dcarp/AliasSeq
...
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
AndrejMitrovic
2d67fd111f
Merge pull request #3724 from CyberShadow/pull-20151015-233512
...
fix Issue 15208 - Eradicate all uses of "Enforcement failed" in Phobos
2015-10-16 10:24:52 +02:00
Vladimir Panteleev
82590904f7
fix Issue 15208 - Eradicate all uses of "Enforcement failed" in Phobos
2015-10-15 23:44:44 +00:00
Dragos Carp
d698887729
Remove obsolete TypeTuple references
...
Replace following names:
std.typetuple -> std.meta
TypeTuple -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple -> Fields
std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
anonymous
0bff377c06
fix issue 15095
...
Add underscores to prevent auto formatting of parameter name "format".
2015-09-21 20:57:41 +02:00
Jamie Mansfield
5e48dbc3fd
Follow D conventions in stdio example
2015-09-01 13:41:19 +01:00
Vladimir Panteleev
78a0fb92e9
fix Issue 14949 - Non-descriptive "Enforcement failed" when attempting to write to closed file
2015-08-22 16:28:51 +00:00
Denis.Hlyakin
3a025da7c6
Cleanup for Issue 7648. Add Non-ASCII characters in filename for unittests.
2015-08-18 15:58:12 +03:00
Joakim
10f2081c5e
Modify remaining tests that create a temporary file in the local directory to use std.file.deleteme, which writes to /tmp or some other absolute path instead
2015-08-13 07:23:39 -05:00
Rainer Schuetze
6dbae4ad2a
add reference to byLine
2015-07-13 23:24:30 +02:00
Rainer Schuetze
e900b2b85b
add example to readln with better performance than the basic usage
2015-07-13 22:49:26 +02:00
Dmitry Olshansky
497c463e10
Merge pull request #2794 from rainers/issue13856
...
Fix Issue 13856 - std.stdio.readln stomps arrays
2015-07-13 18:05:08 +03:00
Rainer Schuetze
cb7bb65a08
remove CR
2015-07-12 10:03:33 +02:00
Walter Bright
3a8539bd5f
std.stdio - accept some ranges
2015-06-21 11:58:41 -07:00
anonymous
b28962635f
fix package XREFs
...
Also add escaping underscores in some places, and rewrap to 80 columns
where touching anyway.
2015-06-15 22:30:41 +02:00
Dmitry Olshansky
4567cf6c75
Merge pull request #3258 from CyberShadow/pull-20150505-180120-std-stdio-sync
...
fix Issue 14548 - std.stdio.File should have sync() method (fsync/FlushF...
2015-06-08 01:18:52 +03:00
Joakim
3352c90c2e
Separate linux kernel, glibc, and bionic APIs where appropriate
2015-05-27 21:54:52 -05:00
Walter Bright
8087f35441
Revert "Implement issue# 13996. Add File.tempFile."
2015-05-10 16:22:28 -07:00