Zoltan Varga [Mon, 12 Nov 2007 22:51:38 +0000 (22:51 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* System.dll.sources: Add System/UriIdnScope.cs.
svn path=/trunk/mcs/; revision=89503
Zoltan Varga [Mon, 12 Nov 2007 22:50:18 +0000 (22:50 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* UriIdnScope.cs: Compile this in the 2.0 profile as well as this is a NET 3.5 type.
svn path=/trunk/mcs/; revision=89502
Zoltan Varga [Mon, 12 Nov 2007 22:44:40 +0000 (22:44 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System/GCCollectionMode.cs and System/GCLatencyMode.cs.
svn path=/trunk/mcs/; revision=89501
Zoltan Varga [Mon, 12 Nov 2007 22:44:16 +0000 (22:44 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
svn path=/trunk/mcs/; revision=89500
Zoltan Varga [Mon, 12 Nov 2007 22:09:41 +0000 (22:09 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* invoke.cs: Add tests for invoking the Array Get/Set methods.
svn path=/trunk/mono/; revision=89497
Zoltan Varga [Mon, 12 Nov 2007 22:07:26 +0000 (22:07 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_runtime_invoke): Avoid trying to compile the Array
Get/Set/Address methods.
svn path=/trunk/mono/; revision=89496
Zoltan Varga [Mon, 12 Nov 2007 22:06:02 +0000 (22:06 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Create a non-shared wrapper for
the array Get/Set/Address methods, since the JIT inlines them.
* metadata-internals.h (MonoImage): Add 'runtime_invoke_direct_cache'.
* image.c (mono_image_close): Free runtime_invoke_direct_cache.
(mono_image_init): Initialize runtime_invoke_direct_cache.
svn path=/trunk/mono/; revision=89495
Zoltan Varga [Mon, 12 Nov 2007 21:09:37 +0000 (21:09 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* DelegateTest.cs: Add tests for abstract target methods.
svn path=/trunk/mcs/; revision=89492
Zoltan Varga [Mon, 12 Nov 2007 21:00:26 +0000 (21:00 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* mini.c debug-debugger.c mini-trampolines.c: Update after
mono_marshal_get_delegate_invoke signature change.
svn path=/trunk/mono/; revision=89491
Zoltan Varga [Mon, 12 Nov 2007 20:58:14 +0000 (20:58 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Delegate_SetMulticastInvoke): Update after
mono_marshal_get_delegate_invoke signature change.
* marshal.c (mono_marshal_get_delegate_invoke): Receive the target_method as
an additional argument. Add support for invoking abstract methods.
* metadata-internals.h (MonoImage): Add 'delegate_abstract_invoke_cache'.
* image.c (mono_image_close): Free delegate_abstract_invoke_cache.
svn path=/trunk/mono/; revision=89490
Rodrigo Kumpera [Mon, 12 Nov 2007 19:51:47 +0000 (19:51 -0000)]
2007-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* bug-322722_patch_bx.2.cs : Added test for bug #322722.
* bug-322722_dyn_method_throw.2.cs: Same.
* Makefile.am: Added the two tests for bug #322722.
svn path=/trunk/mono/; revision=89488
Rodrigo Kumpera [Mon, 12 Nov 2007 19:34:31 +0000 (19:34 -0000)]
2007-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-arm.md: Increase the max size of OP_THROW to 24 bytes.
This can happens with dynamic methods. Fixes the other bug in #322722.
svn path=/trunk/mono/; revision=89486
Rodrigo Kumpera [Mon, 12 Nov 2007 19:31:15 +0000 (19:31 -0000)]
2007-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* tramp-arm.c (mono_arch_patch_callsite): Support patching
BX call sequence.
* mini-arm.c (arm_patch): Implement patching of BX call
sequence. Fixes one of the bugs in #322722.
svn path=/trunk/mono/; revision=89485
Marek Safar [Mon, 12 Nov 2007 18:51:45 +0000 (18:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=89484
Marek Safar [Mon, 12 Nov 2007 18:50:55 +0000 (18:50 -0000)]
More tests.
svn path=/trunk/mcs/; revision=89483
Marek Safar [Mon, 12 Nov 2007 18:50:16 +0000 (18:50 -0000)]
2007-11-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #324996
* expression.cs (Is): Handle case where D is nullable and T is not
correctly.
* generics.cs (Nullable.HasValue): Nullable HasValue expression.
svn path=/trunk/mcs/; revision=89482
Atsushi Eno [Mon, 12 Nov 2007 17:28:05 +0000 (17:28 -0000)]
2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources : added S.R.InteropSvcs.ComTypes types.
* ADVF.cs DATADIR.cs DVASPECT.cs FORMATETC.cs IAdviseSink.cs
IDataObject.cs IEnumFORMATETC.cs IEnumSTATDATA.cs STATDATA.cs
STGMEDIUM.cs TYMED.cs : initial checkin.
svn path=/trunk/mcs/; revision=89478
Marek Safar [Mon, 12 Nov 2007 16:04:40 +0000 (16:04 -0000)]
New tests.
svn path=/trunk/mcs/; revision=89467
Marek Safar [Mon, 12 Nov 2007 16:04:09 +0000 (16:04 -0000)]
2007-11-12 Marek Safar <marek.safar@gmail.com>
* generic.cs, literal.cs, ecore.cs, class.cs, delegate.cs, const.cs,
anonymous.cs, expression.cs, attribute.cs, codegen.cs, statement.cs:
Flush small error reporting changes.
svn path=/trunk/mcs/; revision=89466
Igor Zelmanovich [Mon, 12 Nov 2007 14:45:12 +0000 (14:45 -0000)]
2007-11-12 Igor Zelmanovich <igorz@mainsoft.com>
* AssemblyResourceLoader.cs:
according to the tests, GetResourseUrl never returns null.
svn path=/trunk/mcs/; revision=89464
Marek Habersack [Mon, 12 Nov 2007 14:40:44 +0000 (14:40 -0000)]
2007-11-12 Marek Habersack <mhabersack@novell.com>
* Makefile (LOCAL_MCS_FLAGS): Mono.GetOptions.dll is not needed.
* Mono.MonoConfig/FeatureAction.cs: extracted command execution
code to a separate method.
Script code must be flushed before passing it to the shell.
Implemented Exec action support.
svn path=/trunk/mcs/; revision=89463
Sebastien Pouliot [Mon, 12 Nov 2007 14:34:56 +0000 (14:34 -0000)]
2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
* ColorTranslator.cs: Add test case for #340917 (LightGrey).
svn path=/trunk/mcs/; revision=89462
Sebastien Pouliot [Mon, 12 Nov 2007 14:28:21 +0000 (14:28 -0000)]
2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
* ColorTranslator.cs: Special case handling for LightGray versus
HTML's LightGrey. Fix bug #340917.
svn path=/trunk/mcs/; revision=89461
Carlos Alberto Cortez [Mon, 12 Nov 2007 13:18:44 +0000 (13:18 -0000)]
* ListView.cs:
* ListViewItem.cs: Add an initial implementation of
2.0 ListViewItem.Position getter.
2007-11-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=89460
Carlos Alberto Cortez [Mon, 12 Nov 2007 12:53:09 +0000 (12:53 -0000)]
2007-11-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Add a reordered_items_indices array, to allow us
to have a different sorting than that of Items (the sorting in Items
could not match the actual sorting in screen). This is needed to
implement a pair of 2.0 features.
* ListViewItem.cs: Add a DisplayIndex property to keep track of the
actual position in the ListView grid, since it could have a position
different than its Index (position in ListViewItemCollection).
svn path=/trunk/mcs/; revision=89459
Igor Zelmanovich [Mon, 12 Nov 2007 12:21:22 +0000 (12:21 -0000)]
2007-11-12 Igor Zelmanovich <igorz@mainsoft.com>
* AssemblyResourceLoader.cs:
optimize performance of WebResource/ScriptResource feature.
All resource urls are cached for each assembly instead to be
calculated each time when GetWebResourceUrl is called
svn path=/trunk/mcs/; revision=89458
Stephane Delcroix [Mon, 12 Nov 2007 12:21:03 +0000 (12:21 -0000)]
another try to pass the tests
svn path=/trunk/mcs/; revision=89457
Paolo Molaro [Mon, 12 Nov 2007 10:50:55 +0000 (10:50 -0000)]
www.go-mono.com changed ip address.
svn path=/trunk/mcs/; revision=89456
Stephane Delcroix [Mon, 12 Nov 2007 10:25:21 +0000 (10:25 -0000)]
re-enabling a modified test. Will see if it still produces errors on the buildsystem
svn path=/trunk/mcs/; revision=89455
Atsushi Eno [Mon, 12 Nov 2007 09:40:14 +0000 (09:40 -0000)]
2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* PropertyDescriptor.cs : implement GetValueChangedHandler().
* ToolboxItemFilterAttribute.cs : implement ToString().
svn path=/trunk/mcs/; revision=89453
Atsushi Eno [Mon, 12 Nov 2007 08:36:07 +0000 (08:36 -0000)]
2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* NumberFormatter.cs : revert previous two changes. It does not
really work for float and hence will rather bring confusion.
* DoubleTest.cs : reverted the corresponding fix, so mark the
previous test as NotWorking.
* SingleTest.cs : added similar test for previous one.
svn path=/trunk/mcs/; revision=89451
Marek Habersack [Mon, 12 Nov 2007 08:34:32 +0000 (08:34 -0000)]
Credit Hubert on the patch, sorry to have forgotten about it
svn path=/trunk/mcs/; revision=89450
Atsushi Eno [Mon, 12 Nov 2007 07:29:03 +0000 (07:29 -0000)]
2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* NumberFormatter.cs : limit the situation that needs roundtrip
verification in the previous change to Double.
svn path=/trunk/mcs/; revision=89447
Atsushi Eno [Mon, 12 Nov 2007 07:03:35 +0000 (07:03 -0000)]
2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* NumberFormatter.cs : applied a quick fix for bug #320433. It needs
true fix to avoid extra perf. loss.
* DoubleTest.cs : added test for bug #320433.
svn path=/trunk/mcs/; revision=89446
Atsushi Eno [Mon, 12 Nov 2007 05:03:44 +0000 (05:03 -0000)]
2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* SoapHttpClientProtocol.cs : compare content-type in case-
insensitive manner. Fixed bug #325277.
svn path=/trunk/mcs/; revision=89444
Atsushi Eno [Mon, 12 Nov 2007 00:55:56 +0000 (00:55 -0000)]
2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaValidator.cs : XmlValueGetter actually needs string value
to validate against a restricted simple type (beyond ParseValue()).
Fixed bug #339934.
* XsdValidatingReaderTests.cs : added test for #339934.
in Test/System.Xml.Schema/standalone_tests:
* Makefile : now we try both default and 2.0 profile tests (i.e.
"make run-test" and "make PROFILE=net_2_0").
For 2.0, use XmlReader.Create().
svn path=/trunk/mcs/; revision=89432
Leszek 'skolima' Ciesielski [Sun, 11 Nov 2007 18:36:36 +0000 (18:36 -0000)]
Fix for bingind procedure parameters by name rather than position contributed by Gary Thomas
svn path=/trunk/mcs/; revision=89427
Gert Driesen [Sat, 10 Nov 2007 19:10:06 +0000 (19:10 -0000)]
* ResourceWriterTest.cs: Added ctor tests. Added tests for AddResource
overloads. Added test for argument null checks. Added test for bug
#339074. Added test for invoking Generate () multiple times.
* ResourceWriter.cs: On 2.0 profile, use case-insensitive SortedList.
Changed exception messages and params to match MS. Allow null values
in AddResource overloads. In Dispose (bool), also generate resources
(header) if no resources were added. Fixes bug #339074. When Generate
is done, reset resources to null to prevent further editing. This
also avoids the need for a separate bool to indicate whether generate
was already invoked. Code formatting.
svn path=/trunk/mcs/; revision=89412
Zoltan Varga [Sat, 10 Nov 2007 15:22:00 +0000 (15:22 -0000)]
2007-11-03 David S. Miller <davem@davemloft.net>
* sparc/sparc-codegen.h (sparc_set32, sparc_set): A plain sethi
can be used if the constant value only has the top 22 bits set.
svn path=/trunk/mono/; revision=89409
Zoltan Varga [Sat, 10 Nov 2007 15:18:19 +0000 (15:18 -0000)]
2007-11-03 David S. Miller <davem@huronp11.davemloft.net>
* mini-sparc.c (mono_arch_flush_icache): Make more efficient
under Linux. We only need to flush every 32-byte cache line.
svn path=/trunk/mono/; revision=89408
Gert Driesen [Sat, 10 Nov 2007 10:13:18 +0000 (10:13 -0000)]
* Tds.cs: Round milliseconds for datetime. Fixes part of bug #323646.
* Tds70.cs: Include milliseconds for datetime parameters. Fixes part
of bug #323646.
svn path=/trunk/mcs/; revision=89401
Alp Toker [Sat, 10 Nov 2007 02:11:19 +0000 (02:11 -0000)]
2007-11-10 Alp Toker <alp@atoker.com>
* samples/embed/teste.c: Add a newline at the end of this printf()
svn path=/trunk/mono/; revision=89397
Marek Habersack [Sat, 10 Nov 2007 02:05:07 +0000 (02:05 -0000)]
2007-11-10 Marek Habersack <mhabersack@novell.com>
* Mono.MonoConfig/Helpers.cs: added a method for breaking long
text lines to fit them within the console window.
* Mono.MonoConfig/FeatureNode.cs: added support for feature
actions.
* Mono.MonoConfig/FeatureNodeHandler.cs: added support for feature
actions.
* Mono.MonoConfig/FeatureAction.cs: added
* mconfig.exe.sources: added Mono.MonoConfig/FeatureAction.cs
svn path=/trunk/mcs/; revision=89395
Jonathan Pobst [Fri, 9 Nov 2007 21:24:04 +0000 (21:24 -0000)]
2007-11-09 Jonathan Pobst <monkey@jpobst.com>
* Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
not draw partial lines.
* LinkLabel.cs: Change FormatFlags setter from = to |= so that the
LineLimit flag from the base is preserved.
Fixes the windows part of bug #338965.
svn path=/trunk/mcs/; revision=89346
Francisco Figueiredo Jr. [Fri, 9 Nov 2007 20:04:00 +0000 (20:04 -0000)]
2007-11-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
This is a single line patch version for handling Standard conforming strings parameter in postgresql.conf. You only need this version instead of 1.0 is you are using this setting or is planning to use it. Also, starting with 8.4 postgresql version, this parameter will be default to on in postgresql.conf. Today it is off.
link: http://pgfoundry.org/tracker/index.php?func=detail&aid=1009624&group_id=1000140&atid=592
Thanks Laurenz Albe & Erich Lerch for their patch!
svn path=/trunk/mcs/; revision=89342
Francisco Figueiredo Jr. [Fri, 9 Nov 2007 20:01:46 +0000 (20:01 -0000)]
2007-11-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
This is a single line patch version for handling Standard conforming strings parameter in postgresql.conf. You only need this version instead of 1.0 is you are using this setting or is planning to use it. Also, starting with 8.4 postgresql version, this parameter will be default to on in postgresql.conf. Today it is off.
link: http://pgfoundry.org/tracker/index.php?func=detail&aid=1009624&group_id=1000140&atid=592
Thanks Laurenz Albe & Erich Lerch for their patch!
svn path=/trunk/mcs/; revision=89341
Marek Safar [Fri, 9 Nov 2007 16:46:04 +0000 (16:46 -0000)]
Removed windows only tests.
svn path=/trunk/mcs/; revision=89326
Marek Safar [Fri, 9 Nov 2007 16:09:06 +0000 (16:09 -0000)]
New test.
svn path=/trunk/mcs/; revision=89325
Marek Safar [Fri, 9 Nov 2007 15:53:01 +0000 (15:53 -0000)]
New tests.
svn path=/trunk/mcs/; revision=89324
Marek Safar [Fri, 9 Nov 2007 15:52:37 +0000 (15:52 -0000)]
2007-11-09 Marek Safar <marek.safar@gmail.com>
A fix for bug #324996
* expression.cs: Rewrote Is expression implementation to work with
generics, nullable types, anonymous method. A const result expression
uses existing infrastructure instead of custom not fully-featured one.
svn path=/trunk/mcs/; revision=89323
Marek Safar [Fri, 9 Nov 2007 15:46:59 +0000 (15:46 -0000)]
New tests.
svn path=/trunk/mcs/; revision=89322
Jonathan Pobst [Fri, 9 Nov 2007 15:14:03 +0000 (15:14 -0000)]
2007-11-09 Jonathan Pobst <monkey@jpobst.com>
* TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
so that it can be canceled in KeyPress.
Fixes bug #340078.
svn path=/trunk/mcs/; revision=89319
Atsushi Eno [Fri, 9 Nov 2007 14:45:31 +0000 (14:45 -0000)]
2007-11-09 Atsushi Enomoto <atsushi@ximian.com>
* SoapDocumentationHandler.cs : handle 'schema' HTTP parameter like
"...blah.asmx?schema=MySchemaID". (Such URL does not work yet.)
svn path=/trunk/mcs/; revision=89317
Marek Habersack [Fri, 9 Nov 2007 13:47:37 +0000 (13:47 -0000)]
formatting
svn path=/trunk/mcs/; revision=89315
Marek Habersack [Fri, 9 Nov 2007 12:59:54 +0000 (12:59 -0000)]
2007-11-09 Marek Habersack <mhabersack@novell.com>
* SmtpClient.cs: Connect only after reading in the fields that may
specify the port to connect to. Fixes bug #340501.
svn path=/trunk/mcs/; revision=89311
Marek Habersack [Fri, 9 Nov 2007 12:52:21 +0000 (12:52 -0000)]
2007-11-09 Marek Habersack <mhabersack@novell.com>
* SmtpClient.cs: formatting
svn path=/trunk/mcs/; revision=89310
Marek Habersack [Fri, 9 Nov 2007 12:38:49 +0000 (12:38 -0000)]
2007-11-09 Marek Habersack <mhabersack@novell.com>
* Mono.MonoConfig/FeatureNodeHandler.cs: added support for feature
descriptions.
* Mono.MonoConfig/FeatureNode.cs: a new container for the
'feature' block data.
* data/config.xml: feature storage type has changed.
* mconfig.exe.sources: added Mono.MonoConfig/FeatureNode.cs
svn path=/trunk/mcs/; revision=89309
Mark Probst [Fri, 9 Nov 2007 10:42:46 +0000 (10:42 -0000)]
2007-11-09 Mark Probst <mark.probst@gmail.com>
* class.c: Do field layout for open generic classes as well.
svn path=/trunk/mono/; revision=89308
Atsushi Eno [Fri, 9 Nov 2007 10:12:48 +0000 (10:12 -0000)]
2007-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlTypeMapping.cs : to get schema provider method, check base
types as well (i.e. FlattenHierarchy). Otherwise typed DataSet
cannot be reflected in 2.0.
svn path=/trunk/mcs/; revision=89307
Mark Probst [Fri, 9 Nov 2007 09:37:12 +0000 (09:37 -0000)]
2007-11-09 Mark Probst <mark.probst@gmail.com>
* gc.c, gc-internal.h: Don't finalize threadpool threads with
other objects, because the threadpool is still around. Put them
in a list instead and after finalizing all other objects in the
root domain shut down the thread pool and then finalize the
threads. Fixes bug #337383.
* threads.c, thread-types.h: New mono_thread_create_internal()
function for marking a thread with the threadpool flag before it
started. Set synch_cs to NULL after freeing it.
* threadpool.c: Mark threadpool threads before they start.
svn path=/trunk/mono/; revision=89306
Atsushi Eno [Fri, 9 Nov 2007 08:48:09 +0000 (08:48 -0000)]
2007-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : ToDateTime(XmlDateTimeSerializationMode) should
allow more strings than existing one. Fixed bug #339004.
* XmlConvertTests.cs : added test for #339004 and more.
svn path=/trunk/mcs/; revision=89305
Carlos Alberto Cortez [Fri, 9 Nov 2007 04:11:39 +0000 (04:11 -0000)]
2007-11-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: In ItemControl, reset mouse-handling related
fields even if we dont' have items (we still should reset them when
we had items but then called Items.Clear). Partially based in a patch
by George Giolfan.
Fixes #338399.
svn path=/trunk/mcs/; revision=89299
Jb Evain [Thu, 8 Nov 2007 23:09:44 +0000 (23:09 -0000)]
2007-11-09 Jb Evain <jbevain@novell.com>
* Enumerable.cs: refactor the ArgumentNullException checks.
svn path=/trunk/mcs/; revision=89287
Jb Evain [Thu, 8 Nov 2007 22:17:20 +0000 (22:17 -0000)]
2007-11-08 Jb Evain <jbevain@novell.com>
* Enumerable.cs: Implement SequenceEqual.
svn path=/trunk/mcs/; revision=89277
Jb Evain [Thu, 8 Nov 2007 22:16:53 +0000 (22:16 -0000)]
2007-11-08 Jb Evain <jbevain@novell.com>
* EnumerableTest.cs: add test for SequenceEqual.
svn path=/trunk/mcs/; revision=89276
Jb Evain [Thu, 8 Nov 2007 21:59:58 +0000 (21:59 -0000)]
cuter
svn path=/trunk/mcs/; revision=89273
Wade Berrier [Thu, 8 Nov 2007 21:37:07 +0000 (21:37 -0000)]
version bump -> 1.2.6
svn path=/trunk/mono/; revision=89263
Wade Berrier [Thu, 8 Nov 2007 21:31:31 +0000 (21:31 -0000)]
2007-11-08 Wade Berrier <wberrier@novell.com>
* config-default.make: add sysconfdir dir (for
mconfig/config.xml)
svn path=/trunk/mcs/; revision=89262
Marek Habersack [Thu, 8 Nov 2007 21:18:19 +0000 (21:18 -0000)]
2007-11-08 Marek Habersack <mhabersack@novell.com>
* Mono.MonoConfig/consts.cs.in: use @MONO_SYSCONFDIR@ instead of
@MONO_PREFIX@ when pre-setting the location of the default config
file.
svn path=/trunk/mcs/; revision=89261
Wade Berrier [Thu, 8 Nov 2007 21:14:12 +0000 (21:14 -0000)]
2007-11-08 Wade Berrier <wberrier@novell.com>
* Makefile: install the config.xml to $sysconfdir instead
svn path=/trunk/mcs/; revision=89260
Wade Berrier [Thu, 8 Nov 2007 21:11:40 +0000 (21:11 -0000)]
2007-11-08 Wade Berrier <wberrier@novell.com>
* configure.in: add sysconfdir for mcs config.make
svn path=/trunk/mono/; revision=89259
Jb Evain [Thu, 8 Nov 2007 21:04:42 +0000 (21:04 -0000)]
protect against KeyNotFoundException
svn path=/trunk/mcs/; revision=89254
Jb Evain [Thu, 8 Nov 2007 20:52:46 +0000 (20:52 -0000)]
2007-11-08 Jb Evain <jbevain@novell.com>
* net_2_1_System.dll.sources: use the custom
WebHeaderCollection.
svn path=/trunk/mcs/; revision=89251
Jb Evain [Thu, 8 Nov 2007 20:51:23 +0000 (20:51 -0000)]
2007-11-08 Jb Evain <jbevain@novell.com>
* WebHeaderCollection_2_1.cs: add a custom WebHeaderCollection
for the 2.1 profile.
svn path=/trunk/mcs/; revision=89250
Gert Driesen [Thu, 8 Nov 2007 20:29:25 +0000 (20:29 -0000)]
* Application.cs: In ProductVersion first try AssemblyFileVersion
before falling back to assembly version. Fixes bug #339787.
svn path=/trunk/mcs/; revision=89249
Jb Evain [Thu, 8 Nov 2007 19:25:17 +0000 (19:25 -0000)]
2007-11-08 Jb Evain <jbevain@novell.com>
* Enumerable.cs: Complete Union.
svn path=/trunk/mcs/; revision=89237
Jb Evain [Thu, 8 Nov 2007 19:24:09 +0000 (19:24 -0000)]
2007-11-08 Jb Evain <jbevain@novell.com>
* EnumerableTest.cs: add simple test for Union.
svn path=/trunk/mcs/; revision=89236
Paolo Molaro [Thu, 8 Nov 2007 17:16:46 +0000 (17:16 -0000)]
2007-09-14 Jb Evain <jbevain@novell.com>
* Makefile: force the use of the 2.0 mscorlib to compile
the 2.1 mscorlib.dll.
svn path=/trunk/mcs/; revision=89215
Andreia Gaita [Thu, 8 Nov 2007 16:43:04 +0000 (16:43 -0000)]
* Mono.Mozilla.csproj, Mono.Mozilla2K5.csproj: Synch with .sources
2007-11-08 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=89209
Andreia Gaita [Thu, 8 Nov 2007 16:31:00 +0000 (16:31 -0000)]
* HtmlElement.cs: Implement InnerText setter.
* WebBrowserBase.cs: Implement Navigated event support.
Add flag to track when the browser "document" is ready to be retrieved.
* WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
Make sure browser document is ready before retrieving it.
Clean up cached objects (document) when moving to a new page through
any of the navigation methods.
Use the new Mono.WebBrowser.INavigation interface to control navigation.
Implement OnNavigated event.
2007-11-08 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=89208
Andreia Gaita [Thu, 8 Nov 2007 16:29:34 +0000 (16:29 -0000)]
* Mono.Mozilla.dll.sources,
Mono.Mozilla/DOM/Navigation.cs,
Mono.Mozilla/interfaces/nsIHistoryEntry.cs,
Mono.Mozilla/interfaces/nsIInputStream.cs,
Mono.Mozilla/interfaces/nsISHistory.cs,
Mono.Mozilla/interfaces/nsISHistoryListener.cs,
Mono.Mozilla/interfaces/nsISimpleEnumerator.cs,
Mono.Mozilla/interfaces/nsIURI.cs,
Mono.Mozilla/interfaces/nsIWebNavigation.cs,
Mono.WebBrowser/DOM/INavigation.cs:
Add nsIWebNavigation interface and related
dependencies to access navigation-related properties directly (CanGoBack, etc).
Add INavigation interface and implementation to expose navigation properties.
Navigation is now done through this interface (Reload(), Stop(), etc).
Please note: Due to threading issues on linux (namely, mozilla being run
on a different thread), only methods that do not affect drawing can be
invoked through the interfaces, so although Reload is now called from
the INavigation interface, it is still being routed through the Base
class and the glue code (and not through the nsIWebNavigation.Reload
call, as are other non-drawing-affecting methods like GetTitle).
* Mono.Mozilla/ICallback.cs, Callback.cs: Remove unneeded events, adjust parameters,
add support enumeration for tracking loading state.
* Mono.Mozilla/DOM/DOMHTMLDocument.cs, Mono.WebBrowser/DOM/IDOMHTMLDocument.cs:
Add URL getter.
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs:
Add Navigation interface getter.
Add Navigated event support through the StateChange and LocationChange
events.
Clean up cached objects when navigating.
Remove Reload, Forward, Stop, Home methods, these are now accessible
through the INavigation interface.
* Mono.Mozilla/Base.cs: Add call to return the navigation interface.
Add MarshalAs so that returning interfaces directly works on mono.
2007-11-08 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=89207
Marek Safar [Thu, 8 Nov 2007 15:59:13 +0000 (15:59 -0000)]
New tests.
svn path=/trunk/mcs/; revision=89205
Marek Safar [Thu, 8 Nov 2007 15:58:58 +0000 (15:58 -0000)]
2007-11-08 Marek Safar <marek.safar@gmail.com>
A fix for bug #340202
* class.cs: Consider generics for volatile field.
svn path=/trunk/mcs/; revision=89204
Sebastien Pouliot [Thu, 8 Nov 2007 15:36:58 +0000 (15:36 -0000)]
2007-11-08 Sebastien Pouliot <sebastien@ximian.com>
* TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
Fix the regression on the x86_64 bot which seems to be in it's own
timezone.
svn path=/trunk/mcs/; revision=89197
Marek Safar [Thu, 8 Nov 2007 15:04:25 +0000 (15:04 -0000)]
New test.
svn path=/trunk/mcs/; revision=89195
Marek Safar [Thu, 8 Nov 2007 15:02:59 +0000 (15:02 -0000)]
2007-11-08 Marek Safar <marek.safar@gmail.com>
A test for bug #335594
svn path=/trunk/mcs/; revision=89194
Marek Safar [Thu, 8 Nov 2007 14:59:21 +0000 (14:59 -0000)]
2007-11-08 Marek Safar <marek.safar@gmail.com>
A fix for bug #335594
* expression.cs: Use conversion rules when handling string addition.
svn path=/trunk/mcs/; revision=89193
Rodrigo Kumpera [Thu, 8 Nov 2007 14:23:39 +0000 (14:23 -0000)]
2007-11-08 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Enabled TestGetFieldsComplete_Generic.
This tests bug #82625 / #325292.
svn path=/trunk/mcs/; revision=89190
Rodrigo Kumpera [Thu, 8 Nov 2007 14:22:49 +0000 (14:22 -0000)]
2007-11-08 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs: Workaround for #82625 not needed anymore.
GetFields() returns the created type fields.
svn path=/trunk/mcs/; revision=89189
Jb Evain [Thu, 8 Nov 2007 14:18:19 +0000 (14:18 -0000)]
2007-11-08 Jb Evain <jbevain@novell.com>
* Enumerable.cs: correctly implement Intersect.
svn path=/trunk/mcs/; revision=89188
Jb Evain [Thu, 8 Nov 2007 14:17:39 +0000 (14:17 -0000)]
2007-11-08 Jb Evain <jbevain@novell.com>
* EnumerableTest.cs: add simple test for intersect.
svn path=/trunk/mcs/; revision=89187
Paolo Molaro [Thu, 8 Nov 2007 14:15:55 +0000 (14:15 -0000)]
Test for bug #339013.
svn path=/trunk/mono/; revision=89186
Paolo Molaro [Thu, 8 Nov 2007 14:10:43 +0000 (14:10 -0000)]
Thu Nov 8 15:31:21 CET 2007 Paolo Molaro <lupus@ximian.com>
* reflection.h, reflection.c: don't export random functions
and lazy load dbnull and missing objects.
svn path=/trunk/mono/; revision=89185
Jb Evain [Thu, 8 Nov 2007 14:02:11 +0000 (14:02 -0000)]
2007-11-08 Jb Evain <jbevain@novell.com>
* Enumerable.cs: code cleanup.
svn path=/trunk/mcs/; revision=89184
Jb Evain [Thu, 8 Nov 2007 13:35:11 +0000 (13:35 -0000)]
remove warning
svn path=/trunk/mcs/; revision=89183
Dick Porter [Thu, 8 Nov 2007 10:46:28 +0000 (10:46 -0000)]
2007-11-08 Dick Porter <dick@ximian.com>
* critical-sections.h (EnterCriticalSection): Disable the critical
section asserts for the release branch
svn path=/trunk/mono/; revision=89182
Igor Zelmanovich [Thu, 8 Nov 2007 09:29:39 +0000 (09:29 -0000)]
2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
* BoundField.cs:
* ImageField.cs:
evaluate bound value using ThisExpession ("!") properly
2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
* AutoGeneratedFieldTest.cs:
Added new test.
svn path=/trunk/mcs/; revision=89179
Raja R Harinath [Thu, 8 Nov 2007 03:31:44 +0000 (03:31 -0000)]
Fix 324390
In System/System.Text.RegularExpressions:
* BaseMachine.cs (LTRReplace): Don't use non-advancement of 'ptr'
to deduce absence of matches -- a match can have length 0.
(RTLReplace): Likewise.
In System/Test/System.Text.RegularExpressions:
* RegexReplace.cs (tests): New test from #324390.
svn path=/trunk/mcs/; revision=89176
Jonathan Chambers [Thu, 8 Nov 2007 02:36:02 +0000 (02:36 -0000)]
2007-11-07 Jonathan Chambers <joncham@gmail.com>
* class.c: Initialize COM types if COM interfaces
are present (not just COM classes).
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=89175
Geoff Norton [Wed, 7 Nov 2007 23:20:26 +0000 (23:20 -0000)]
2007-11-07 Geoff Norton <gnorton@novell.com>
* ListenerAsyncResult.cs: Only send the 401 header if our authentication
type is Basic or Negotiate (which we default to basic) because that is
all we support. Set the WWW-Authenticate header when we return a 401
result. Send the correct state object in the async result.
svn path=/trunk/mcs/; revision=89174