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
aG0aep6G
f5f23b3d0d
many existing tests can be @safe
now
2020-01-05 01:32:03 +01:00
aG0aep6G
36ca83737a
fix issue 20480 - make std.getopt ready for DIP 1000
2020-01-05 01:28:26 +01:00
Jonathan Samson
f14cc0bcdd
Added a style parameter to defaultGetoptFormatter.
2019-12-11 19:05:00 +01:00
Robert Schadek
3fbe0233e3
assert messages for std.getopt
2019-05-24 14:38:06 +01:00
Sebastian Wilzbach
b56db9a061
Use selective top-level module imports in std.{functional,getopt,math,net,outbuffer}
2019-05-23 13:20:04 +02:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
44735dd39f
Remove staticIota: std_getopt
2018-01-22 17:18:53 +01:00
Jon Degenhardt
296184f541
Fix issue 17650: std.getopt range violation when option value is a hyphen.
2017-07-15 13:08:53 -07:00
Hackerpilot
59108e6d3a
Unit test for 17574.
2017-06-30 13:33:06 -07:00
Hackerpilot
bb0340766b
Fix issue 17574 - Avoid range error by checking the result of indexOf
2017-06-29 15:20:32 -07:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
...
This reverts commit 998ad51fd7
.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7
Sort selective imports
2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Jonathan M Davis
4e8cab7cdf
Fix some bad/slangy English in std.getopt.
...
I don't think that it makes sense to use slang like "dunno" in a
standard library.
2017-05-13 02:14:33 -07:00
Jon Degenhardt
69cfa938ee
std.getopt: make setConfig safe, pure, nothrow, nogc
2017-04-26 10:56:48 -07:00
Jon Degenhardt
a976764d54
std.getopt: Make private functions safe.
2017-04-25 23:10:40 -07:00
Jon Degenhardt
cacf586e93
std.getopt unit tests: No trailing whitespace.
2017-04-24 00:54:21 -07:00
Jon Degenhardt
b0b63869a3
std.getopt unit tests: No trailing whitespace.
2017-04-24 00:48:32 -07:00
Jon Degenhardt
9d59d8cd73
std.getopt: Add unit tests for delegates as callbacks.
2017-04-24 00:32:47 -07:00
Jon Degenhardt
684f41b64e
Fix issue 17327. Review comments: drop continue statement.
2017-04-16 08:01:49 -07:00
Jon Degenhardt
c1d49fc494
Fix issue 17327 - std.getopt: Repeated boolean command option fails.
2017-04-16 00:21:49 -07:00
Amaury SECHET
d84a86d1a7
Interpret single letter argument as short
2017-03-14 19:28:14 -04: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
Sebastian Wilzbach
a36cec8686
DScanner: automatially set all unattributed unittests to @safe or @system
2017-02-22 05:42:04 +01:00
Nick Sabalausky
b41721df86
getopt.config: Document which options are default.
2017-02-20 13:40:42 -05:00
Jack Stouffer
824bbee70d
Merge pull request #5010 from Chaosus/master
...
Make std.getopt.autoIncrementChar use private modifier
2017-01-05 14:55:09 -05:00
Chaosus
281e4e09fa
Make std.getopt.autoIncrementChar use private modifier
2017-01-02 21:22:42 +03:00
Andrej Mitrovic
43880932f5
Throw error on duplicate long/short options
...
Fixes Issue 16048
2016-11-23 01:27:54 +01:00
jmdeschenes
024b751547
Fix Issue 16443 - Prevent segmentation fault
...
If the option name is an empty string an Exception will be raised instead.
2016-08-28 13:58:55 -04:00
anonymous
2be9e31ef6
fix issue 16420 - Incorrect example in std.getopt docs
2016-08-23 22:54:13 +02:00
anonymous
d9a0fdaa2e
minor spelling/grammar corrections
...
comma before "etc."
"til" -> "until"
2016-08-23 22:53:17 +02:00
Jack Stouffer
4c4733ae72
Removed unused variables from std.getopt
2016-07-13 11:33:53 -04:00
Jack Stouffer
541aa66f5d
Fixed std.algorithm imports in std.getopt to not be package wide
2016-07-03 01:15:41 -04:00
Atila Neves
4e27b6f376
Add @safe and @system to std.getopt unit tests
2016-07-01 11:25:52 +02:00
Andrei Alexandrescu
81d132f39a
Merge pull request #4381 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-06-18 08:31:42 -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
Martin Nowak
82a147765a
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-05-29 23:56:51 +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
Sebastian Wilzbach
18b8abf60a
remove the deprecated wiki macros
2016-05-27 05:52:23 +02:00
Sebastian Wilzbach
484f7bfbe0
enforce: whitespace after catch
2016-05-14 15:28:43 +03:00
Sebastian Wilzbach
d1714c9afb
minor style fixes
2016-04-27 04:18:22 +03:00
Sebastian Wilzbach
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
Basile Burg
4a21631a0f
fix issue 15914
2016-04-14 10:01:50 +02:00
Q. F. Schroll
f88d9402e5
Typo
2016-04-03 16:36:13 +02:00
H. S. Teoh
405858d816
Merge pull request #3859 from BBasile/getopt-checker
...
Static verification of std.getopt arguments with more helpful error messages
2016-02-17 22:01:21 -08:00
Basile Burg
ad226e92d5
added getOpt constraint that checks the options
...
on invalid pattern:
- outputs a message that gives a hint about the wrong type
- includes the index of the wrong option
the message doesn't hide the error origin becasue pragma(msg) is used instead or assert(0)
2016-01-19 18:51:47 +01:00
Shriramana Sharma
5978ca7831
migrate other Phobos modules to use std.exception.basicExceptionCtors
2016-01-17 10:39:37 +05:30
Jakob Øvrum
8b495a5e60
Remove use of exit() in std.getopt example
...
Supersedes #3875
2016-01-12 16:39:20 +09:00