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
Daniel Murphy
1818d190b5
More implicit array to bool
2013-12-15 19:55:34 +11:00
Hackerpilot
ae1dcaa3e1
Removed empty declarations. Converted more C-style array declarations to D-style. Removed trailing whitespace
2013-07-13 19:34:37 +00:00
k-hara
b66012ef4e
fix Issue 8908 - Collapse of std.csv by the specifications change of std.conv.parse
2012-12-18 09:11:57 +09:00
k-hara
01df2f60be
Remove redundant parenthesis for getters, and use assignment syntax for setters
2012-11-23 15:07:17 +09:00
k-hara
119f7f7424
Revert all const qualifier of class member functions that inherited from Object.
...
This change is necessary to avoid breaking existing codes which inherit them in user code.
2012-07-31 10:05:59 +09:00
k-hara
d6ffbd1328
Add const attribute more strictly
2012-07-11 01:02:59 +09:00
Jesse Phillips
53fb29b7f7
Provide both of Exceptions constructors.
2012-01-29 21:50:25 -08:00
Jesse Phillips
3891c392bb
Updated documentation for throwing on csv length mismatch
2012-01-22 10:52:06 -08:00
Jesse Phillips
ffac776388
Update with Johnathon's suggestions
2012-01-22 10:47:27 -08:00
Jesse Phillips
eb7a453cb1
Update unittest for consistant row length.
2012-01-15 18:26:05 -08:00
Jesse Phillips
8109ff353b
Throw exceptions on row length mismatches.
2012-01-15 18:08:58 -08:00
Jesse Phillips
27d0ff8653
Modified internal handling of input for csv.
...
Using a struct to hold the input and row/col info.
Added unittest for mismatch row length when ignoring.
2012-01-15 14:28:22 -08:00
Jesse Phillips
889c25df38
Exceptions constructed with file and line std.csv
2012-01-12 19:20:33 -08:00
Jesse Phillips
449076d7c2
Place brackets on own line std.csv
2012-01-12 19:12:57 -08:00
Jesse Phillips
dfb28f81d6
Activate unittest in std.csv
2012-01-12 19:12:00 -08:00
Jesse Phillips
eac7ce9997
Fix overlapping when using struct with csvReader
2012-01-11 20:06:14 -08:00
Jesse Phillips
7f9992bbcf
Added documentation of throws to csvNextToken
2012-01-11 18:52:39 -08:00
Jesse Phillips
6640d4de85
Allow selective heading to work
2012-01-11 18:39:28 -08:00
Jesse Phillips
c5c1059448
Updated std.csv for -property
2011-12-18 11:26:39 -08:00
Jesse Phillips
cf535c70be
Use override for toString in std.csv
2011-12-04 09:40:48 -08:00
Jesse Phillips
bf7c6ffdd2
Updated documentation and improved exceptions
...
No longer documenting Records and Record.
Exceptions derive from CsvException.
2011-12-03 20:26:12 -08:00
Jesse Phillips
1e4a23917b
csv paser updates
...
Only excepts ranges of dchar
Appender users dchar
csvNextToken takes an output range of dchar
Heading renamed to Header
2011-11-10 22:34:14 -08:00
Jesse Phillips
1acbd9337b
Added input range unittest, updated docs
2011-11-09 21:06:56 -08:00