Commit graph

450 commits

Author SHA1 Message Date
e-y-e
befa0bfb6e Updated Flag uses to Yes/No structs 2016-09-29 14:45:20 +01:00
Jacob Jensen
a702432a94 Removed unused import symbol.
Removed an imported symbol that isn't used.
2016-09-24 23:44:51 +02:00
Jack Stouffer
8ef278dca7 stdio: either make private or document undocumented public symbols 2016-09-15 19:02:43 +01:00
anonymous
246459ad90 fix issue 16372 - Broken links in documentation
Also fixing another mistakenly highlighted "format".
2016-08-12 22:50:28 +02:00
Jack Stouffer
e936f33ebb Improved some docs in std.stdio 2016-08-08 10:17:45 -04:00
Andrew Benton
65fe9934b4 Fix issue 16351
When using nonstandard output libraries such as
https://github.com/sickill/stderred argumentless writeln() will fail on
the enforce because it check specifically for a newline to be returned.
Checking instead that the output is not EOF follows the documentation
and allows overridden write() functions from the standard library.
2016-08-03 19:32:43 -04:00
Walter Bright
629b5ee00f std.stdio: fix unsafe use of .ptr 2016-07-25 01:52:01 -07:00
Martin Nowak
7f61127d00 Merge remote-tracking branch 'upstream/stable' into merge_stable 2016-07-20 11:40:15 +02:00
Atila Neves
d4eddd72c9 Add @system and @safe to std.stdio unit tests 2016-07-09 11:05:19 +02:00
Jack Stouffer
dc8ed10db7 Fixed local imports in std.stdio 2016-07-01 15:35:43 -04:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Steven Schveighoffer
d0291d7031 Merge pull request #4424 from KevinBrogan/msvc_fix_missing_alias
Add two missing alias definitions setmode and fileno for version (MICROSOFT_STDIO)
2016-06-15 11:48:21 -04:00
Jack Stouffer
54bf7cf39e Removed commeted out code and outdated comments 2016-06-11 12:06:42 -04:00
Kevin Brogan
af2cf2849e Add two missing alias definitions setmode and fileno for version (MICROSOFT_STDIO) 2016-06-10 19:07:24 -07:00
Sebastian Wilzbach
a37a5a9896 Fix more 404s links 2016-06-06 04:29:23 +02:00
Joakim
a839be6dcc Fix five modules where imports were made more local and selective. 2016-06-04 00:09:48 +05:30
Jack Stouffer
92eed4f45e Warn about Issue 15768 2016-06-03 11:12:11 -04:00
Sebastian Wilzbach
ca098c57d2 manual allman brace fixup 2016-05-31 13:07:53 +02:00
Sebastian Wilzbach
1d34a121e9 apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
anonymous
641d6ff8d7 clean up remaining XREFs (manual)
Found by: grep -r '$(XREF'

std.experimental.allocator has a custom XREF2. Leaving that as is for now.
2016-05-27 21:40:46 +02:00
anonymous
d648f9320e XREF_PACK -> REF (sed)
Done by:

from='\$\(XREF_PACK\s+([^(),]*),\s*([^(),]*),\s*([^(),]*)\)'
to='$(REF \3, std,\1,\2)'
(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
2016-05-27 21:32:46 +02:00
anonymous
764caefa36 XREF -> REF (sed)
Done by:

(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
    's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00
Dmitry Olshansky
b173b32969 Merge pull request #4361 from joakim-noah/imports
std.math and std.stdio: use more selective imports
2016-05-27 13:26:46 +04:00
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Joakim
11d3bf6b57 For std.math and std.stdio, use more selective imports and document the current symbols imported at the module level, done by checking with ddmd. 2016-05-26 01:11:11 +05:30
Joakim
d965b1aa64 Fix Android regressions: make sure all tests don't use the local directory and no unzip 2016-05-16 21:57:17 +05:30
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