Commit graph

83 commits

Author SHA1 Message Date
Geod24
04f3979317 Replace 'Issue XXX' with Bugzilla links
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Mark
c5e2b453ef
Explicitly show how to read from a file into AA records (#7428)
Explicitly show how to read from a file into AA records
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-03-23 13:19:07 +01:00
Robert Schadek
001bfe78dc std.csv assert messages 2019-05-28 08:47:53 +01:00
Sebastian Wilzbach
9092826b27 Use selective top-level module imports in std.{base64,csv,datetime} 2019-05-23 09:57:13 +02:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Jack Stouffer
e14f89e170 Make references to input ranges a link to isInputRange 2018-04-08 16:19:57 -04:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
60e42691c5 Add public examples to std.csv + enable DScanner check 2018-03-31 20:07:07 +02:00
The Dlang Bot
ab78bce055 Merge pull request #5606 from andralex/upcase-ddoc-labels
Convert section labels to title case
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-07-12 22:19:10 +02:00
Andrei Alexandrescu
1a08d2a8d6 Convert section labels to title case 2017-07-12 15:19:57 -04:00
Sebastian Wilzbach
5b456a10a9 Undocument failing unittests 2017-07-05 19:32:19 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02: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
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Walter Bright
d3335d7b2d Merge pull request #5105 from JackStouffer/csv-const
[trivial] Added const to CSVException.toString
2017-02-10 15:52:37 -08:00
Walter Bright
06e758a25f std.csv: use proper block comments 2017-02-09 13:20:55 -08:00
Jack Stouffer
0ae67b8672 Added const to CSVException 2017-02-09 14:57:10 -05:00
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
Sebastian Wilzbach
b82ae35fd7 Use void for auto function without return statement 2016-12-08 12:32:14 +01:00
Jack Stouffer
67d44e4cdc Remove package wide std.algorithm imports from Phobos 2016-09-22 08:36:14 +01:00
Robert burner Schadek
2bf7601825 csv catch warning fix 2016-09-20 11:32:50 +02:00
Atila Neves
54645f05fd Add @safe and @system to std.csv unit tests 2016-06-29 19:12:38 +02: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
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
Sebastian Wilzbach
484f7bfbe0 enforce: whitespace after catch 2016-05-14 15:28:43 +03:00
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
Miha Marolt
b581a3cfba Minor improvements to std.csv docs
I fixed two grammatical errors and added parentheses in one place to make text easier to understand.
2016-04-19 09:22:36 +02:00
Shriramana Sharma
5978ca7831 migrate other Phobos modules to use std.exception.basicExceptionCtors 2016-01-17 10:39:37 +05:30
Basile Burg
82d6dbf817 fix issue 15545, csv Reader line feed '\r' failure 2016-01-10 18:42:30 +01: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
k-hara
5cdf726149 Supplemental fix for issue 14846
`new Input!(Range, ErrorLevel)` should take the `input` parameter to initialize its field by that, because: if `Range` is a nested struct, its context pointer is not accessible from inside CsvReader.
2015-07-29 19:50:09 +09: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
Robert burner Schadek
d4650e1c99 std.csv std.stdio.File.byLine example
fix

comment fix

another fix

walter

tuple spaces
2015-05-07 11:16:57 +02:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Dicebot
a76d90c927 Phobos should only mention tuple as std.typecons.Tuple 2015-05-05 22:22:11 +03:00
Kevin Brogan
608ff995af Fix failing unittest due to double imprecision.
Modified double comparison from

    a == b

to

    abs(a-b) < epsilon
2015-02-17 05:57:37 -08:00
Robert burner Schadek
330f34d582 documentation update for csv
* moved examples from comments to unittests
* documented public but not documented function
2015-01-20 15:23:48 +01:00
anonymous
41f75dec37 accept const/immutable dchars, like dstring 2014-12-28 23:57:10 +01:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Ilya Yaroshenko
c8d9afedea clean scope imports
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
Ilya Yaroshenko
6cc74d98c4 if( => if ( 2014-11-14 18:33:02 +03:00
Ilya Yaroshenko
bdc125c834 std.csv: clean imports 2014-11-14 15:34:34 +03:00
Robert BuRnEr Schadek
2896cec3e9 attributes and two small bug fixes for csv
some more

some reverts

nitpick

csv love update

forgot some

added one nogc

some more
2014-08-13 17:29:27 +02:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00