Commit graph

34 commits

Author SHA1 Message Date
Walter Bright
45dbd56ccb cstring: add scope 2018-06-09 01:13:48 -07:00
Steven Schveighoffer
d4a35f09da More removal of version(unittest) 2018-04-13 12:20:02 -04:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
Martin
4b56139f70 Slightly simplify std.internal.cstring realloc logic 2018-01-11 20:39:56 +01:00
Sebastian Wilzbach
ee08d522cd Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-12-29 18:02:00 +01:00
Sebastian Wilzbach
1d8e1397e3 Use StdUnittest for #5932 2017-12-21 09:36:18 +01:00
Steven Schveighoffer
4873e2f6b3 Fix issue 18084 - tempCString type should not change layout when used in
unittests.
2017-12-19 11:55:08 -05:00
Sebastian Wilzbach
df6365092a Replace body keyword with its replacement: do
Automatic replacement with

    sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Martin Nowak
df04af7b78 factor out code that does not depend on input range
- avoids code duplication and makes better use of the
  template cache for the limited number of char types
2017-10-29 00:54:27 +02:00
Martin Nowak
9b0c3ea6d9 pure tempCString 2017-10-26 22:51:11 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
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
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Walter Bright
60d6169d70 csting: add opIndex to result 2016-09-14 12:49:07 -07:00
Walter Bright
9c5401ce92 fix tempCString() to follow strict scope rules 2016-08-24 01:34:57 -07:00
Walter Bright
821283c592 cstring.d: fix unsafe use of .ptr 2016-07-25 12:57:46 -07: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
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Sebastian Wilzbach
d81030ab8a convert docstring examples to unittests 2016-03-03 15:24:26 +02:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
Martin Nowak
12119cf360 fix tempCString to support null cstring results again 2015-09-07 16:47:35 +02:00
Martin Nowak
18c5b270e0 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	std/internal/cstring.d
	win64.mak
2015-09-07 00:44:29 +02:00
k-hara
156bf68ef7 fix Issue 14980 - getAddressInfo(null) broken 2015-08-31 21:57:01 +09:00
Walter Bright
4f338368ea std.internal.cstring - @nogc must be inferred 2015-06-18 21:43:57 -07:00
Walter Bright
681964cfbf get tempCString to infer @trusted 2015-06-17 10:16:33 -07:00
Walter Bright
ed1a063e68 Range-ify std.internal.cstring 2nd try 2015-06-16 18:02:00 -07:00
Hara Kenji
46794c7695 Revert "Range-ify std.internal.cstring" 2015-06-13 16:52:55 +09:00
Walter Bright
4d9a304d8c Range-ify std.internal.cstring 2015-06-12 00:39:34 -07:00
Ilya Yaroshenko
bd8f9fb98a std.internal.cstring: clean imports 2014-11-13 02:58:01 +03:00
Denis Shelomovskij
46d0e0108b Fix Issue 13367 - Buffer overflow when setting PATH
Fixup for pull #2332.
2014-08-25 11:39:41 +04:00
Denis Shelomovskij
065ce05591 Add std.internal.cstring module. 2014-08-23 16:23:36 +04:00