Commit graph

115 commits

Author SHA1 Message Date
dkorpel
0eb2fb7aaa Make phobos compile with pure-scope fix 2021-12-23 18:52:04 +01:00
dkorpel
f62e725c91 add return scope to xml.toType 2021-05-30 01:07:37 +02:00
nordlow
778495cd9a Annotate std/xml.d to please dlang/dmd#12520 2021-05-17 14:09:09 +02:00
berni44
ee67cd3eba Remove documentation from std.xml due to deprecation in midterm. 2021-01-28 16:23:10 +01:00
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
Bernhard Seckinger
9268263713 Deprecate std.xml 2020-01-29 08:52:24 +01:00
Berni
4dc38f55f6 Fix typo. 2019-09-28 15:15:33 +02:00
Mike
e0585fa785 Replace D1 operator overloads with D2 operator overloads 2019-07-04 13:33:53 +09:00
Iain Buclaw
12854834f6 Fix tests that fail on version (BigEndian) 2019-04-21 01:52:05 +03:00
Nathan Sashihara
f784f74dad Fix Issue 19197 - Replace instances of typeid(T).getHash(..) with hashOf 2018-10-22 17:10:08 -04:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02: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
anonymous
c7b6b87333 test against regression
fixes issue 17511
2017-06-15 21:08:03 +02:00
anonymous
9713d711bf Revert "Removed level of indirection from internal std.xml.ElementParser code"
This reverts commit 25fc16fa21.
2017-06-15 20:42:13 +02:00
Walter Bright
afd0135547 std.xml: make work with -dip1000 2017-06-10 13:48:10 -07:00
Jack Stouffer
99ccc950fa Removed unsafe pointer access and marked some functions as @safe in std.xml 2017-05-18 15:57:12 -04:00
Jack Stouffer
451138141f Deprecate obsolete pattern matching functions in std.string 2017-05-12 09:55:39 -04:00
The Dlang Bot
0b916c993f Merge pull request #5380 from JackStouffer/xml-pointer
Remove a level of indirection from internal std.xml.ElementParser code
merged-on-behalf-of: H. S. Teoh <quickfur@users.noreply.github.com>
2017-05-11 21:47:15 +02:00
Jack Stouffer
93b569ce47 Add @safe to two common functions in std.xml 2017-05-09 09:28:24 -04:00
Jack Stouffer
25fc16fa21 Removed level of indirection from internal std.xml.ElementParser code 2017-05-08 12:01:18 -04:00
Andrei Alexandrescu
30724e67d9 Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01: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
Walter Bright
67252f51bc make std.xml toString() @safe 2017-02-06 21:08:32 -08:00
Jack Stouffer
e65d6da725 Added some immutable to varibles that aren't modified in std.xml 2016-09-23 10:52:06 +01:00
Jack Stouffer
9f3cb8c2ff Remove all global imports from std.xml 2016-09-20 22:17:00 +01:00
Andrei Alexandrescu
764c7b5633 Merge pull request #4805 from JackStouffer/xml-attributes
Add function annotations to most of std.xml
2016-09-20 16:48:40 -04:00
Jack Stouffer
cebeaa2669 Add function annotations to most of std.xml 2016-09-20 21:01:06 +01:00
Jack Stouffer
34ed5350a2 Remove package wide std.algorithm imports from std/xml.d 2016-09-20 11:06:50 +01:00
H. S. Teoh
5225064a82 Merge pull request #4570 from aG0aep6G/16241
fix issue 16241 - std.xml mistakenly disallows "==" in comments but a…
2016-07-06 16:07:52 -07:00
anonymous
bab9832adf actually do the parsing 2016-07-06 23:45:01 +02:00
anonymous
82afcc0c19 fix issue 16241 - std.xml mistakenly disallows "==" in comments but allows "--" 2016-07-06 23:38:14 +02:00
anonymous
85bb6c20f8 add asserts and attributes
Also remove extra trailing newlines at the end of the file.
2016-07-05 23:21:17 +02:00
coderabhishek
1533801fc8 std.xml: accept single quotes for attributes
Fixes issue 4509 - XML parser in std.xml throws TagException if the
attr value is put in apostrophes.
2016-07-05 23:06:29 +02:00
Atila Neves
e74e7be713 Add @system and @safe to std.xml unit tests 2016-07-04 16:21:19 +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
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
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
Rainer Schuetze
7cdd7098be fix issue 14966: misuse of super 2016-04-03 18:40:56 +02:00
Martin Nowak
ce2ac192c9 fix incorrect imports/fqn usages
- mostly of the form `import a.b : sym; a.b.sym();`, which is wrong b/c
  selective imports do not add the module to the current scope
2016-02-20 14:41:44 +01:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
Geod24
0fb95b8c27 Usage of WEB macro for License everywhere 2014-10-15 11:30:42 +02:00
k-hara
6e54969188 Move prefix member function attributes to postfix 2014-10-04 22:27:14 +09:00
Yazan S. Dabain
a81f6200cf [Trivial] Fix documentation typos 2014-02-28 21:08:19 +02:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
Daniel Murphy
13f343334c Remove cases where an array is used in a boolean context 2013-11-27 18:23:07 +11:00