Atsushi Eno
db5275ca56
[xlinq] fix bug #23318 - XComment.ToString() accepts "invalid" values.
...
Before it passes the value to XmlWriter.WriteComment(), it replaces
invalid values to valid form.
2014-09-24 15:30:32 +08:00
Marek Safar
38c3874627
Merge pull request #1242 from esdrubal/xelement
...
Fixes XContainer attempt to create a XNode from a null value.
2014-08-29 01:16:24 -09:00
Marcos Henrich
acb0cc0d7d
Fixes XContainer attempt to create a XNode from a null value.
...
Fixes #20151 .
2014-08-29 17:59:39 +08:00
Marcos Henrich
8308eb87e0
Test XElement constructed from array with null values as object.
...
Covers #20151 .
2014-08-29 17:57:31 +08:00
Marek Safar
b2d61a33a6
Merge pull request #1237 from esdrubal/xdocument
...
Changed XObject OnChanged and OnChanging to use Owner.
2014-08-28 21:05:14 -09:00
Marcos Henrich
8854761cc4
Changed XObject OnChanged and OnChanging to use Owner.
...
When XObject.Owner is not a XElement XObject.Parent returns null and the owner would not be notified of changing and changed events.
Fixes:#18772
2014-08-29 02:12:39 +08:00
Marcos Henrich
74afbbb110
Test XDocument.Changed event. Covers #18772 .
2014-08-29 02:00:30 +08:00
Alexander Köplinger
48e112d652
[Cleanup] Removed TARGET_JVM
...
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Alexander Köplinger
0450000dc4
[Cleanup] Removed a bunch of superfluous .csproj and .sln files
...
Most of these files weren't updated in the last >5 years and serve no purpose today, so they only clutter the repository.
2014-08-06 18:02:30 +02:00
Miguel de Icaza
60fa2525fb
[build] the csproj files can now do a full class libraries build
2014-05-25 00:47:09 -04:00
Miguel de Icaza
3599b97b57
[build] Fresh new csproj files based on the updated build system.
2014-05-23 17:15:53 -04:00
Joel Martinez
e9068ebf5b
[docs] documentation import for 'returns' elements.
2014-05-12 14:52:53 -04:00
Joel Martinez
891e93e1fe
[docs] Import of additional member documentation that contain generic parameteres
2014-05-12 14:52:48 -04:00
Joel Martinez
d4fcdb95b4
[docs] namespace documentation import.
2014-05-12 14:52:47 -04:00
Joel Martinez
b7293faf40
[docs] type parameter documentation impport.
2014-05-12 14:52:47 -04:00
Joel Martinez
6999270099
[docs] Import of Microsoft BCL Documentation.
...
The documentation is creative commons licensed.
2014-04-27 21:33:01 -04:00
Miguel de Icaza
d79280674b
Refreshed the CSProj files to use the new output build directory
2014-04-18 18:15:35 -04:00
Rolf Bjarne Kvinge
b1babf0ff5
[System.Xml.Linq] Fix XNamespace.GetName locking to not be racy. Fixes #18564 .
2014-03-25 08:50:46 -04:00
Joel Martinez
25ca8ae5df
docupdate: System.Xml.Linq documentation update
2014-03-10 15:14:00 -04:00
Martin Baulig
93fe81b22e
This is a .NET 4.5 test.
2014-03-03 17:35:38 +01:00
Martin Baulig
154272d7a6
NUnitLite does not know Assert.IsInstanceOfType().
2014-02-27 20:39:22 +01:00
Martin Baulig
2d573ae1ce
[Sys.Xml]: Allow XElement to be deserialized; fixes #12571 .
2014-02-25 18:59:29 +01:00
Sebastien Pouliot
ba6de2d5cc
Fix condition (for MOBILE) that excluded System.Xml.Schema/Extensions.cs. Removed the condition since every profile we now support includes this [ #15552 ]
2013-10-21 17:15:53 -04:00
Atsushi Eno
8d401cb39d
Element() and Elements() could also reduce use of extraneous iterators.
2013-10-08 01:57:17 +09:00
Atsushi Eno
5d25022423
reduce memory use on Attribute() caused by Attributes().
2013-10-08 01:25:51 +09:00
Atsushi Eno
2a52ec9e36
in XLinq XObject there is no need to instantiate XObjectEventArgs every time.
2013-10-07 21:32:10 +09:00
Atsushi Eno
ccab57808d
Fix bug #8637 - omit xml declaration for ToString().
2013-08-09 15:57:35 +09:00
Atsushi Eno
b5a856e716
Fix bug #11298 - in XElement.Replace*(), create snapshot of content first before removal (unlike it is documented!)
2013-08-08 16:02:03 +09:00
Atsushi Eno
3e2f5ef8fc
Fix bug #10194 - SetElementValue(nonExistentElementName, null) caused NRE.
2013-08-08 01:36:35 +09:00
Marek Safar
b888cf5f04
Update csproj files
2013-07-02 13:45:15 +02:00
Rodrigo Kumpera
abe9dc6206
Revert "Fix object::GetType when remoting is enabled."
...
This reverts commit 93e2d1dc48 .
2013-03-01 10:54:09 -05:00
Rodrigo Kumpera
93e2d1dc48
Fix object::GetType when remoting is enabled.
2013-03-01 10:52:03 -05:00
Marek Safar
dd4cc7ca66
Tests update for mobile profile
2013-03-01 15:31:25 +01:00
Marek Safar
cf650fb3fb
Update 4.5 bcl solution files
2013-02-21 17:25:06 +01:00
Rodrigo Kumpera
1b92a4148c
Since MOBILE implies NET_4_* now, take this into account and simplify our ifdefs.
2013-02-11 18:42:18 -05:00
Rodrigo Kumpera
8732e2dfd7
Kill the MOONLIGHT define from System.Xml.Linq.
2013-02-11 16:03:38 -05:00
Marek Safar
78318771d5
Update csproj files
2013-02-07 16:34:23 +01:00
Alan McGovern
8af1fc09c4
[System.Xml.Linq] Add error checking to the XElement constructors
...
Added matching tests.
2012-08-16 15:24:42 +01:00
Alan McGovern
f815f21cd2
Update the tests to do actual verification
...
Ensure the elements really are added twice.
2012-07-20 16:41:05 +01:00
Alan McGovern
31334e23f0
Use the result of XUtil.ToNode when emitting events
...
Sometimes the value the user passes in is converted to an XNode. In
these cases we need to use that XNode when emitting the change events.
Added a test covering this change.
2012-07-20 16:41:05 +01:00
Alan McGovern
5f1dfbee09
Emit change events for modifying XElement.Name
...
Added additional tests for this too.
2012-07-20 16:41:05 +01:00
Alan McGovern
3675edb510
Add some tests to verify behaviour of Annotations
2012-07-20 16:41:05 +01:00
Alan McGovern
6292fb5a82
Implement XObjectChange.Value for XAttribute
...
We now emit the correct Changing/Changed events when modifying the
value of an XAttribute. Added tests covering the changes.
2012-07-20 16:41:05 +01:00
Alan McGovern
72bef6c0ab
Begin fixing the XObject.Changing and XObject.Changed events
...
Add tests to ensure the event is correctly emitted and correctly propagated
up the tree for the basic Add and Remove operations. Fixed the implementation
accordingly.
2012-07-20 16:41:04 +01:00
Alan McGovern
730ffb72c7
[System.Xml.Linq] Fix some bugs in the tests
...
Ensure we normalize both the expected and actual output
so they have the same line endings.
2012-07-19 14:01:32 +01:00
Marek Safar
5d2f63d91e
Use correct iterator return type for XPathEvaluate. Fixes #5902
2012-06-29 11:04:46 +01:00
Marek Safar
538c29782f
Add new test
2012-06-28 18:15:10 +01:00
Marek Safar
2d2796f07b
Fix System.Core reference in VS projects
2012-06-26 13:26:56 +01:00
Marek Safar
93e56b120a
Add missing CreateReader method
2012-06-07 18:18:24 +01:00
Marek Safar
7d97b4d434
Fix some parameters names
2012-06-07 18:06:55 +01:00