Commit graph

86 commits

Author SHA1 Message Date
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
Martin Nowak
fd1f39acc7 Merge pull request #1599 from donc/aa10381xml
Remove AA comparison from std.xml
2013-09-24 12:47:22 +02:00
Don Clugston
1e5739f8ef Remove AA comparison from std.xml
The compiler has historically been doing a cast(void *) for AA compares,
which doesn't make much sense. Make it explicit to preserve existing
behaviour, until this module is replaced.
2013-09-24 11:55:08 +02:00
Rainer Schuetze
8024c94474 encode instead of decode when writing attributes 2013-09-10 09:27:12 +02:00
Lionello Lunesu
b4074054ba Fix issue 10893: added missing or renamed DDoc parameters (found by fix to 10236) 2013-08-31 15:36:29 +08:00
Hackerpilot
5cc095ee3f Removed empty declarations 2013-07-03 10:36:53 -07:00
k-hara
03a32d6fa4 Fix issue 313 & 314 2013-06-25 08:38:30 +09:00
Jonathan M Davis
b20c31dbfe Merge pull request #870 from alexrp/hash_t
hash_t -> size_t.
2012-10-15 03:13:34 -07:00
alexrp
d913e07fc5 hash_t -> size_t. 2012-10-15 04:45:17 +02:00
alexrp
b202180295 Remove all uses of sizediff_t in favor of ptrdiff_t. 2012-10-15 04:24:09 +02:00
Andrei Alexandrescu
cbc0b9a9ca Merge pull request #761 from jmdavis/string
Removed deprecated functions in std.string
2012-10-06 21:50:28 -07:00
David Nadlinger
e4fe4f3a77 Don't assume string pooling in std.xml unit test. 2012-10-06 12:13:59 +02:00
jmdavis
27469366a7 Fix modules which incorrectly use std.string's public imports.
Now, they should be correctly importing for the functions publicly
imported by std.string so that if those public imports are ever removed,
they won't break.
2012-09-30 03:29:37 -07: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
9940579f73 Minimal reverting of Issue 1824 - Object not const correct 2012-07-22 15:21:51 +09:00
k-hara
d6ffbd1328 Add const attribute more strictly 2012-07-11 01:02:59 +09:00
k-hara
9d1809206f Fix for const Object comparison 2012-07-09 07:38:48 +09:00
jmdavis
7fd793e177 Added warnings of future deprecation to modules that will be replaced.
All of these modules are currently planned to be replaced in their
entirety, so it seems wise to have warnings about that.
2012-05-28 14:08:20 -07:00
Jonathan M Davis
88d00a04b9 Merge pull request #516 from jacob-carlborg/xml
Fix: Incorrect indentation using std.xml.pretty.
2012-05-06 00:59:33 -07:00
nhkcon
99405cfd49 fix simple example 2012-04-16 00:27:40 +03:00
Walter Bright
8fda49a93b more nothrow 2012-04-06 16:26:42 -07:00
Jacob Carlborg
c71052bbf8 Fix: Incorrect indentation using std.xml.pretty.
When an attribute contains a multibyte string std.xml.pretty
incorrectly indent the tag.
2012-04-02 20:51:00 +02:00
Walter Bright
786284e70b more const correct 2012-02-17 15:00:49 -08:00
Walter Bright
1bbdb1b958 don't reinvent hash 2012-02-17 12:39:44 -08:00
Daniel Murphy
7bed81961a The fix for issue 3731 shows a couple of places in phobos that rely on this bug. std.xml is going away, so work around the issue for now (all problems are caused by opEquals and opCmp not being const correct) and in std.datetime, AA values must be rebindable. 2012-01-28 15:16:57 +11:00
k-hara
999970c835 For propGetSet 2011-12-15 14:55:07 +09:00
David Nadlinger
e312f9898b Strict @property syntax compliance.
This enables the test suite to build with the -property switch enabled.

std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
k-hara
4bba7d6658 Fix for typeof(super) bug.
Related to: https://github.com/D-Programming-Language/dmd/pull/475
2011-10-25 15:07:49 +09:00
dawg
8783e87185 fix fallout from fixing Bug6652 2011-09-13 07:53:24 +02:00
jmdavis
dd3a0c20a2 Created std.ascii to replace std.ctype.
All of the new, properly camelcased functions in std.ctype have been
moved to std.ascii, and std.ctype has been scheduled for deprecation.
2011-06-14 04:06:54 -07:00