Sebastian Wilzbach
a36cec8686
DScanner: automatially set all unattributed unittests to @safe or @system
2017-02-22 05:42:04 +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
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