Nick Treleaven
3aa8011a04
Issue 13568: Add CT-checked format string overloads to std.stdio
...
* Add overloads for readf, writef, writefln.
* Separate fmt argument from args for writef[ln] to improve docs.
2017-03-20 15:24:18 +00:00
The Dlang Bot
3568cb38e7
Merge pull request #5229 from schveiguy/fixtextwriter
...
Fix issue 17229 - File.byChunk (ubyte) w/ stdout.lockingTextWriter corrupts utf-8 data (and is very slow)
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-03-17 23:41:41 +01:00
H. S. Teoh
bef4e22477
Fix typo.
2017-03-13 12:33:21 -07:00
Steven Schveighoffer
ca20f0b667
Add unittest for Bug 17229
2017-03-06 10:19:18 -05:00
Steven Schveighoffer
9af2d0267f
Fix issue 17229 - do not use integer promotion to translate ubyte ranges
...
to dchar ranges.
2017-03-02 11:44:54 -05:00
Sebastian Wilzbach
023f525b83
Fix 16281 - std.stdio.readf should use ref instead of requiring pointers ( #5207 )
...
Fix 16281 - std.stdio.readf should use ref instead of requiring pointers
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-03-02 05:37:02 +01:00
Sebastian Wilzbach
d548e8830a
Replace LUCKY links with actual links
2017-02-28 23:46:54 +01:00
Sebastian Wilzbach
a2c6398332
Automatically add spaces to binary operators (==)
...
command:
sed -E "s/([[:alnum:]]) == ([[:alnum:]])/\1 == \2/g" -i **/*.d
sed -E "s/([[:alnum:]])== ([[:alnum:]])/\1 == \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) ==([[:alnum:]])/\1 == \2/g" -i **/*.d
2017-02-23 00:57:47 +01:00
Andrei Alexandrescu
30724e67d9
Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
...
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686
DScanner: automatially set all unattributed unittests to @safe or @system
2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3
Automatically set the range style from a..b -> a .. b
...
Commands:
sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595
Unify Phobos by ensuring there's always a space after cast(...)
...
Command:
sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Sebastian Wilzbach
5521541032
Unify assert style to have no spaces between the first brace
...
Application of:
sed -E "s/assert +\(/assert(/" -i **/*.d
2017-02-21 15:27:15 +01:00
Andrei Alexandrescu
7f45d3c814
Merge pull request #5144 from wilzbach/if_constraint_same_indent
...
DStyle: Constraints on declarations should have the same indentation level
2017-02-17 11:55:16 -05:00
Sebastian Wilzbach
31c4226042
Fix deprecation: std.utf.toUTF8 -> encode
2017-02-17 11:02:46 +01:00
Sebastian Wilzbach
87dec58a41
DStyle: Constraints on declarations should have the same indentation level
2017-02-17 07:36:23 +01:00
The Dlang Bot
93222f0be4
Merge pull request #5134 from JackStouffer/stdio-docs
...
Fix Issue 16991 - Make writeln documentation palatable
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-02-16 20:02:40 +01:00
Martin Nowak
a3ba8a69a7
Merge remote-tracking branch 'upstream/stable' into merge_stable
...
# Conflicts:
# std/regex/internal/bitnfa.d
# std/regex/internal/tests3.d
2017-02-16 16:55:11 +01:00
Jack Stouffer
d7f6cc337e
Fix Issue 16991 - Make writeln documentation palatable
2017-02-16 10:52:17 -05:00
Jack Stouffer
3ca07de056
Added example to std.stdio.writeln
2017-02-15 10:26:12 -05:00
Jack Stouffer
0a6c31bbee
Deprecate obsolete encoding functions in std.utf
2017-02-12 13:22:54 -05:00
anonymous
565ab34cb0
fix issue 17176 - https://dlang.org/phobos/std_stdio.html#.File.tmpfile broken link
2017-02-12 12:35:05 +01:00
Walter Bright
62b208f28d
std.stdio: use proper block comments
2017-02-09 13:34:10 -08:00
byebye
882a1fb8f6
Fix issue #8471 - allow only pointers as readf parameters
2017-01-30 20:50:52 +01:00
Sebastian Wilzbach
18ecb6b72c
Make more modules publicly runnable on dlang.org
2017-01-06 23:29:55 +01:00
Eduard Staniloiu
3d98191ce9
Fix issue 16970 - Fix deprecations and warnings when compiling Phobos
2016-12-27 15:57:20 +02:00
Ilya Yaroshenko
9046849d36
Merge pull request #4932 from dlang/stable
...
merge stable into master
2016-12-07 18:08:59 +02:00
anonymous
c8a123f4d0
fix issue 16948 - broken links in std.stdio due to inccorrect use of WEB macro
2016-12-04 22:14:15 +01:00
Dicebot
73b699de12
Revert "Merge pull request #4789 from JackStouffer/package2"
...
This reverts commit c940f5a418
, reversing
changes made to aaf31b531c
.
Fixes issue 16682
2016-11-15 12:44:16 +02:00
Walter Bright
9d73ff2353
GetLastError should be imported from core.sys.windows.windows
2016-10-12 20:42:22 -07:00
Andrei Alexandrescu
2f8e693e5d
Merge pull request #4814 from e-y-e/fixflags
...
[trivial] [large diff] Update uses of Flag to use the Yes/No structs.
2016-09-30 18:25:44 -04:00
e-y-e
befa0bfb6e
Updated Flag uses to Yes/No structs
2016-09-29 14:45:20 +01:00
Vladimir Panteleev
d63572fd77
Fix Issue 16544 - Add File.reopen
2016-09-27 15:37:03 +00: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