Atsushi Eno [Tue, 9 May 2006 05:25:27 +0000 (05:25 -0000)]
2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
* BinderTests.cs : (BindToMethodNamedArgs) hmm, why it didn't
show up during my last test run...
svn path=/trunk/mcs/; revision=60431
Zoltan Varga [Mon, 8 May 2006 22:35:21 +0000 (22:35 -0000)]
2006-05-09 Zoltan Varga <vargaz@gmail.com>
* marshal.c: Allocate some more signatures from mempools.
svn path=/trunk/mono/; revision=60427
Zoltan Varga [Mon, 8 May 2006 21:58:41 +0000 (21:58 -0000)]
2006-05-08 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_create_jump_trampoline): Allocate MonoJitInfo from the domain
mempool.
(mono_jit_free_method): Remove the method from jump_trampoline_hash as well.
svn path=/trunk/mono/; revision=60426
Peter Dennis Bartok [Mon, 8 May 2006 20:46:49 +0000 (20:46 -0000)]
2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Added new InternalCapture method to allow controls to prevent
the capture behaviour on the click handlers
- Switched to use InternalCapture
* ComboBox.cs:
- Using InternalCapture to prevent mouse captures from being released
on mouse button release (Fixes #78100)
* XplatUIX11.cs (DeriveStyles): Now checks caption state and only
returns Form borders if a caption is present. (Fixes #78310)
svn path=/trunk/mcs/; revision=60425
Chris Toshok [Mon, 8 May 2006 19:22:41 +0000 (19:22 -0000)]
add 76818's testcase
svn path=/trunk/mcs/; revision=60422
Chris Toshok [Mon, 8 May 2006 19:20:26 +0000 (19:20 -0000)]
78616 -> 76818
svn path=/trunk/mcs/; revision=60421
Chris Toshok [Mon, 8 May 2006 19:19:54 +0000 (19:19 -0000)]
2006-05-08 Chris Toshok <toshok@ximian.com>
* ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
fixes the last thing keeping the test in #78616 from working.
svn path=/trunk/mcs/; revision=60420
Sebastien Pouliot [Mon, 8 May 2006 19:17:01 +0000 (19:17 -0000)]
2006-05-08 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Reduce the errors reported by corcompare.
svn path=/trunk/mcs/; revision=60419
Sebastien Pouliot [Mon, 8 May 2006 19:16:05 +0000 (19:16 -0000)]
2006-05-08 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test cases for Widen and Wrap with empty
path (expected behaviour) and paths that have a single point (stranger
behaviour). Changed comments on GetBounds_WithPen test case as it will
probably never work under Mono due to difference in precisions.
svn path=/trunk/mcs/; revision=60418
Peter Dennis Bartok [Mon, 8 May 2006 18:36:17 +0000 (18:36 -0000)]
2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
* TreeNode.cs: Changed serialization .ctor to not require every field
to be present. (#78265)
* OwnerDrawPropertyBag.cs: Added serialization .ctor
svn path=/trunk/mcs/; revision=60416
Chris Toshok [Mon, 8 May 2006 17:51:37 +0000 (17:51 -0000)]
2006-05-08 Chris Toshok <toshok@ximian.com>
* WebConfigurationManager.cs (GetBasePath): fix bug where
path.Length was 0 when we got to the last while loop (and indexed
-1 into an array.) Thanks Marek for the fix.
svn path=/trunk/mcs/; revision=60415
Miguel de Icaza [Mon, 8 May 2006 17:32:34 +0000 (17:32 -0000)]
It is a long story, we need both bindings
svn path=/trunk/mono/; revision=60414
Chris Toshok [Mon, 8 May 2006 17:32:15 +0000 (17:32 -0000)]
add WinSerialStream.cs to fix the build
svn path=/trunk/mcs/; revision=60413
Andrew Skiba [Mon, 8 May 2006 16:09:24 +0000 (16:09 -0000)]
add NunitWeb
svn path=/trunk/mcs/; revision=60412
Atsushi Eno [Mon, 8 May 2006 15:19:45 +0000 (15:19 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* BinderTests.cs : added test for bug #77079.
svn path=/trunk/mcs/; revision=60410
Atsushi Eno [Mon, 8 May 2006 15:10:13 +0000 (15:10 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* Binder.cs : (Default.SelectMethod)
don't throw AmbiguousMatchException when one of conflicting method
matches weakly. Fixed bug #42547.
* BinderTests.cs : added test for bug #42547.
svn path=/trunk/mcs/; revision=60409
Atsushi Eno [Mon, 8 May 2006 14:45:08 +0000 (14:45 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* Binder.cs : (DefaultBinder.BindToMethod) reorder parameters based
on namedParameters. Fixed bug #41691.
* BinderTests.cs : added test for bug #41691.
svn path=/trunk/mcs/; revision=60408
Atsushi Eno [Mon, 8 May 2006 13:54:54 +0000 (13:54 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* DirectoryTest.cs : don't expect "chmod" on Windows.
svn path=/trunk/mcs/; revision=60404
Carlos Alberto Cortez [Mon, 8 May 2006 13:47:08 +0000 (13:47 -0000)]
2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Makefile: Add -unsafe flag, since it is needed in
System.IO.Ports.WinSerialStream.
svn path=/trunk/mcs/; revision=60403
Carlos Alberto Cortez [Mon, 8 May 2006 13:44:25 +0000 (13:44 -0000)]
* SerialPort.cs:
* WinSerialStream.cs: Actually plug the Win serial stream
in the SerialPort and use it if we are on Windows (use std
stream otherwise).
2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=60402
Raja R Harinath [Mon, 8 May 2006 13:44:23 +0000 (13:44 -0000)]
In System.Text.RegularExpressions:
Fix #78278
Remove 65535-limit on number of repetitions matched by a pattern.
We still have a 65535 limit on the length of a pattern and the
number of groups in a pattern.
* compiler.cs (PatternCompiler.EmitCount): New. Emits an int as
two ushorts into the program stream.
(EmitInfo, EmitRepeat, EmitFastRepeat): Use it to emit integers
rather than shorts.
* interpreter.cs (Intepreter.ReadProgramCount): Read an int
emitted into the program stream.
(Interpreter): Use it. Update counts.
(Interpreter.Eval) [OpCode.Repeat, OpCode.FastRepeat]: Likewise.
* parser.cs (ParseGroup): Pass 0x7ffffff as the max value for '*'
and '+' repetition patterns.
* arch.cs (Info, Repeat, FastRepeat): Update description.
In Test/System.Text.RegularExpressions:
* RegexBugs.cs (Kill65535_1, Kill65535_2, No65535Limit): New tests
based on #78278.
svn path=/trunk/mcs/; revision=60401
Carlos Alberto Cortez [Mon, 8 May 2006 12:49:28 +0000 (12:49 -0000)]
2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* WinSerialStream.cs: Implement some bits needed for
the backend thing.
svn path=/trunk/mcs/; revision=60400
Atsushi Eno [Mon, 8 May 2006 11:28:22 +0000 (11:28 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* AsyncOperation.cs : SynchronizationContext.OperationStarted()
should not be called more than once. So move it from Post() to
.ctor(). Thanks again to cl.
svn path=/trunk/mcs/; revision=60399
Atsushi Eno [Mon, 8 May 2006 10:09:53 +0000 (10:09 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* AsyncOperation.cs : call OperationStared() at Post(). Call
OperationCompleted() at the finalizer. Thanks to cl.
svn path=/trunk/mcs/; revision=60398
Atsushi Eno [Mon, 8 May 2006 08:20:00 +0000 (08:20 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* DeflateStreamTest.cs, GzipStreamTest.cs : enabled tests that are
marked as NotWorking. Closed bug #72143.
svn path=/trunk/mcs/; revision=60397
Atsushi Eno [Mon, 8 May 2006 07:34:06 +0000 (07:34 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
Patch by Kazuki Oikawa. Fixed bug #77277.
* List.cs : use proper comparer in Contains(), IndexOf() and
LastIndexOf(). Patch by Kazuki Oikawa. Fixed bug #77277.
* ArrayTest.cs : test for bug #77277 by Kazuki Oikawa.
* ListTest.cs : test for bug #77277 by Kazuki Oikawa.
svn path=/trunk/mcs/; revision=60396
Atsushi Eno [Mon, 8 May 2006 06:18:31 +0000 (06:18 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* XslTransform.cs : fixed ObsoleteAttributes. It won't be harmful
as we have working XslCompiledTransform stubs.
svn path=/trunk/mcs/; revision=60395
Atsushi Eno [Mon, 8 May 2006 06:12:13 +0000 (06:12 -0000)]
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources : added SettingsBindableAttribute.cs.
* SettingsBindableAttribute.cs : new file. Bug #78333 is fixed.
svn path=/trunk/mcs/; revision=60393
Marek Safar [Sun, 7 May 2006 18:44:29 +0000 (18:44 -0000)]
2006-05-07 Marek Safar <marek.safar@seznam.cz>
* class.cs (MethodData.Define): Method cannot implement interface accessor.
svn path=/trunk/mcs/; revision=60388
Zoltan Varga [Sun, 7 May 2006 15:56:22 +0000 (15:56 -0000)]
2006-05-07 Zoltan Varga <vargaz@gmail.com>
* Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
svn path=/trunk/mcs/; revision=60383
Zoltan Varga [Sun, 7 May 2006 14:25:55 +0000 (14:25 -0000)]
2006-05-07 Zoltan Varga <vargaz@gmail.com>
* data/mono.supp: Applied patch from Matt Hargett (matt@use.net).
Generalize path to the mono executable.
svn path=/trunk/mono/; revision=60381
Boris Kirzner [Sun, 7 May 2006 12:09:23 +0000 (12:09 -0000)]
Added XmlHelper.cs to TARGET_JVM project
svn path=/trunk/mcs/; revision=60380
Boris Kirzner [Sun, 7 May 2006 12:03:36 +0000 (12:03 -0000)]
merge -r 60375:60376
svn path=/trunk/mcs/; revision=60379
Marek Safar [Sun, 7 May 2006 11:32:47 +0000 (11:32 -0000)]
2006-05-07 Marek Safar <marek.safar@seznam.cz>
* expression.cs (QualifiedAliasMember.ResolveAsTypeStep): Pass location
to newly introduced ctor.
* namespace.cs (Namespace.Error_NamespaceDoesNotExist): Moved an error
message to one place.
(GlobalRootNamespace.Error_NamespaceDoesNotExist): Custom message for
global namespace.
svn path=/trunk/mcs/; revision=60378
Marek Safar [Sun, 7 May 2006 10:14:57 +0000 (10:14 -0000)]
2006-05-07 Marek Safar <marek.safar@seznam.cz>
* const.cs (Const.Error_ExpressionMustBeConstant): Better error message.
* ecore.cs (Expression.ResolveAsConstant): Updated.
* statement.cs (ResolveMeta): Updated.
svn path=/trunk/mcs/; revision=60377
Andrew Skiba [Sun, 7 May 2006 07:19:44 +0000 (07:19 -0000)]
read default theme and styleSheetTheme from web.config.
svn path=/trunk/mcs/; revision=60373
Carlos Alberto Cortez [Sun, 7 May 2006 00:59:11 +0000 (00:59 -0000)]
2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* System.dll.sources: Added new System.IO.Ports/ISerialStream.cs
file.
svn path=/trunk/mcs/; revision=60369
Carlos Alberto Cortez [Sun, 7 May 2006 00:57:07 +0000 (00:57 -0000)]
2005-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ISerialStream.cs:
* SerialPortStream.cs:
* SerialPort.cs:
* SerialSignal.cs:
Some changes to make SerialPorStream implement ISerialInterface,
and be able to have OS-depending backends.
svn path=/trunk/mcs/; revision=60368
Miguel de Icaza [Sat, 6 May 2006 21:29:09 +0000 (21:29 -0000)]
Public vs internal interface
svn path=/trunk/mono/; revision=60367
Gonzalo Paniagua Javier [Sat, 6 May 2006 20:46:07 +0000 (20:46 -0000)]
2006-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ResponseStream.cs:
* HttpListenerResponse.cs: allow 0 length POST. Patch by Horst Reiterer.
Closes bug #78316.
svn path=/trunk/mcs/; revision=60365
Miguel de Icaza [Sat, 6 May 2006 18:08:51 +0000 (18:08 -0000)]
Remove conflict marker
svn path=/trunk/mono/; revision=60364
Zoltan Varga [Sat, 6 May 2006 18:06:39 +0000 (18:06 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_cleanup): Applied patch from Joachim Ante (joe@otee.dk). Call
mono_trace_cleanup ().
svn path=/trunk/mono/; revision=60363
Zoltan Varga [Sat, 6 May 2006 17:34:49 +0000 (17:34 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* iltests.il: Fix problem with the newly added test.
svn path=/trunk/mono/; revision=60362
Zoltan Varga [Sat, 6 May 2006 17:21:50 +0000 (17:21 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c (mono_local_regalloc): When changing the dreg of an instruction
due to register constraints, free up the previous hreg. Fixes #78314.
* iltests.il: Add new test for #78314.
svn path=/trunk/mono/; revision=60361
Zoltan Varga [Sat, 6 May 2006 16:26:29 +0000 (16:26 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_get_inst_for_method): Use OP_ATOMIC_ADD_NEW_I4 for
Interlocked.Add. Fixes #78312.
* mini-amd64.c (mono_arch_get_inst_for_method): Ditto.
svn path=/trunk/mono/; revision=60360
Zoltan Varga [Sat, 6 May 2006 16:25:01 +0000 (16:25 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* threads.c (ves_icall_System_Threading_Interlocked_Add_Int): Return the new
value, not the old. Fixes #78312.
(ves_icall_System_Threading_Interlocked_Add_Long): Ditto.
svn path=/trunk/mono/; revision=60359
Zoltan Varga [Sat, 6 May 2006 16:23:55 +0000 (16:23 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (TEST_CS2_SRC): Add interlocked-2.2.cs and fix compiling of net 2.0
tests.
svn path=/trunk/mono/; revision=60358
Zoltan Varga [Sat, 6 May 2006 16:20:36 +0000 (16:20 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* interlocked-2.2.cs: New tests for the net 2.0 Interlocked methods.
svn path=/trunk/mono/; revision=60357
Miguel de Icaza [Sat, 6 May 2006 16:04:29 +0000 (16:04 -0000)]
Some more updates
svn path=/trunk/mono/; revision=60356
Miguel de Icaza [Sat, 6 May 2006 16:01:48 +0000 (16:01 -0000)]
Update documentation format to match docscript setup
svn path=/trunk/mono/; revision=60355
Miguel de Icaza [Sat, 6 May 2006 15:43:06 +0000 (15:43 -0000)]
Update docs
svn path=/trunk/mono/; revision=60354
Carlos Alberto Cortez [Sat, 6 May 2006 15:37:48 +0000 (15:37 -0000)]
2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ISerialStream.cs: New internal interface used for
accessing the backend streams functionality.
svn path=/trunk/mcs/; revision=60353
Marek Safar [Sat, 6 May 2006 15:00:57 +0000 (15:00 -0000)]
2006-05-06 Marek Safar <marek.safar@seznam.cz>
* cs-parser.jay: __arglist cannot be used in initializer.
svn path=/trunk/mcs/; revision=60352
Marek Safar [Sat, 6 May 2006 10:10:11 +0000 (10:10 -0000)]
2006-05-06 Marek Safar <marek.safar@seznam.cz>
A fix for #77879
* namespace.cs (LocalAliasEntry.DoResolve): Don't allow to access nested
private types.
svn path=/trunk/mcs/; revision=60351
Zoltan Varga [Fri, 5 May 2006 22:25:04 +0000 (22:25 -0000)]
2006-05-06 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_bounded_array_class_get): Allocate data from the image mempool.
(mono_ptr_class_get): Ditto. Also change the cache from a global one to a
per-image cache.
* assembly.c (mono_assembly_close): Free image->references.
* assembly.c (mono_assembly_names_equal): Fix a warning.
(mono_assemblies_cleanup): Cleanup more global data.
* metadata-internals.h (MonoImage): Add 'ptr_cache'.
* image.c (mono_image_close): Free up the contents of 'array_cache', free up
ptr_cache and image->modules.
* image.c (mono_image_init): Allocate array_cache lazily.
svn path=/trunk/mono/; revision=60348
Gonzalo Paniagua Javier [Fri, 5 May 2006 21:36:24 +0000 (21:36 -0000)]
2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CredentialCache.cs: added DefaultNetworkCredentials.
svn path=/trunk/mcs/; revision=60346
Gonzalo Paniagua Javier [Fri, 5 May 2006 21:30:27 +0000 (21:30 -0000)]
removed ^Ms
svn path=/trunk/mcs/; revision=60345
Gonzalo Paniagua Javier [Fri, 5 May 2006 21:23:04 +0000 (21:23 -0000)]
2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* NetworkCredential.cs: implement ICredentialsByHost interface.
svn path=/trunk/mcs/; revision=60344
Chris Toshok [Fri, 5 May 2006 20:46:02 +0000 (20:46 -0000)]
* LocalFileSettingsProvider.cs (IsUserSetting): more
CONFIGURATION_DEP crap.
2006-05-05 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=60342
Gonzalo Paniagua Javier [Fri, 5 May 2006 20:45:02 +0000 (20:45 -0000)]
2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* assembly.c: use GetCurrentThreadId for the hash, as GetCurrentThread
behavior was changed recently and has bad side effects.
svn path=/trunk/mono/; revision=60341
Sebastien Pouliot [Fri, 5 May 2006 20:06:18 +0000 (20:06 -0000)]
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
* IToolboxService.cs: corcompare fix. Added [ComImport] for 2.0.
* ToolboxItem.cs: corcompare fix. Added new overload for
CreateComponentsCore in 2.0
* UITypeEditor.cs: corcompare fix. Added new IsDropDownResizable
property for 2.0.
svn path=/trunk/mcs/; revision=60340
Alexander Olk [Fri, 5 May 2006 20:05:32 +0000 (20:05 -0000)]
2006-05-05 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: for is faster than foreach for strings.
svn path=/trunk/mcs/; revision=60339
Chris Toshok [Fri, 5 May 2006 19:57:14 +0000 (19:57 -0000)]
2006-05-05 Chris Toshok <toshok@ximian.com>
* ProviderBase.cs (Initialize): don't die if config == null.
svn path=/trunk/mcs/; revision=60338
Chris Toshok [Fri, 5 May 2006 19:55:30 +0000 (19:55 -0000)]
fix up the System.Configuration unit tests.
svn path=/trunk/mcs/; revision=60337
Chris Toshok [Fri, 5 May 2006 19:55:12 +0000 (19:55 -0000)]
2006-05-05 Chris Toshok <toshok@ximian.com>
* ApplicationSettingsBase.cs (CacheValuesByProvider): emit
SettingsLoaded after we load the property values.
(set_Item[string]): fill in settingClass in the
SettingChangingEventArgs properly.
(get_Properties): don't depend on setting_attrs[0] being either
UserScoped- or ApplicationScopedSettingAttribute. Also, call
Initialize on any providers we create here.
* LocalFileSettingsProvider.cs (GetPropertyValues): add a naive
implementation, leave a MonoTODO.
(Initialize): fill in name properly, and deal with null values.
svn path=/trunk/mcs/; revision=60336
Sebastien Pouliot [Fri, 5 May 2006 19:51:02 +0000 (19:51 -0000)]
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
* PaletteFlags.cs: corcompare fixes for 2.0. Add [Flags] and remove
[Serializable]
svn path=/trunk/mcs/; revision=60334
Sebastien Pouliot [Fri, 5 May 2006 19:46:45 +0000 (19:46 -0000)]
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added more test cases for GetBounds and found
out the results are very imprecise when curves are used (hence
difficult to test but much easier to implement ;-)
svn path=/trunk/mcs/; revision=60333
Mike Kestner [Fri, 5 May 2006 19:14:09 +0000 (19:14 -0000)]
2006-05-05 Mike Kestner <mkestner@novell.com>
* CheckedListBox.cs: update check handling code to not use selected.
* ListBox.cs: rewrite of mouse selection handling to correspond to MS
behavior for visual feedback, motion response, shift/ctrl handling,
and properly deal with all 4 selection modes. Updates to bounds
handling logic. Add scroll wheel support. [Fixes #77842]
svn path=/trunk/mcs/; revision=60329
Marek Sieradzki [Fri, 5 May 2006 18:52:31 +0000 (18:52 -0000)]
2006-05-05 Marek Sieradzki <marek.sieradzki@gmail.com>
* ExpressionCollection.cs, BuildItemGroup.cs, BuildItem.cs,
ItemReference.cs, PropertyReference.cs: Changed name of *Reference
methods converting reference to string from ToString () to
ConvertToString () to avoid mistakes like using ToString () provided
by default.
svn path=/trunk/mcs/; revision=60322
Peter Dennis Bartok [Fri, 5 May 2006 18:45:54 +0000 (18:45 -0000)]
2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
* ListView.cs:
- Moved adding of Implicit controls into .ctor. That way, subsequent
creation of the controls will not cause them to think they are
toplevel windows (fixes #78200 header problem)
- Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
- Switched visibility setting of header control to use internal field
to avoid triggering handle creation
- Now checking if handle is created before causing a refresh when items
are added (This makes us now match handle creation time with MS)
* Splitter.cs: Removed loading of private splitter cursor, switched to
Cursors version now that that is loading the right ones
* Cursors.cs: Load proper splitter cursors from resources
* Cursor.cs: Added second method of loading resource cursors for the
VS.Net users amongst us
svn path=/trunk/mcs/; revision=60320
Zoltan Varga [Fri, 5 May 2006 17:48:30 +0000 (17:48 -0000)]
2006-05-05 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_open_full): Add a missing mono_image_close ().
svn path=/trunk/mono/; revision=60315
Zoltan Varga [Fri, 5 May 2006 17:43:03 +0000 (17:43 -0000)]
2006-05-05 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_close): Remove a debug printf.
svn path=/trunk/mono/; revision=60313
Zoltan Varga [Fri, 5 May 2006 17:18:30 +0000 (17:18 -0000)]
2006-05-05 Zoltan Varga <vargaz@gmail.com>
* profiler.c (create_profiler): Use mono_aligned_addr_hash.
svn path=/trunk/mono/; revision=60311
Zoltan Varga [Fri, 5 May 2006 17:17:49 +0000 (17:17 -0000)]
2006-05-05 Zoltan Varga <vargaz@gmail.com>
* metadata-internals.h image.c assembly.c: Change the reference counting scheme
to also allow for temporary references between mono_image_open ()/close ().
* domain.c (get_runtimes_from_exe): Add a FIXME.
svn path=/trunk/mono/; revision=60310
Mike Kestner [Fri, 5 May 2006 17:13:26 +0000 (17:13 -0000)]
2006-05-05 Mike Kestner <mkestner@novell.com>
* ListView.cs: give header_control a minimum size based on the
ListView size.
svn path=/trunk/mcs/; revision=60309
Zoltan Varga [Fri, 5 May 2006 17:13:05 +0000 (17:13 -0000)]
2006-05-05 Zoltan Varga <vargaz@gmail.com>
* inssel.brg (mini_emit_virtual_call): Fix a warning.
svn path=/trunk/mono/; revision=60308
Mike Kestner [Fri, 5 May 2006 16:55:21 +0000 (16:55 -0000)]
remove a cwl
svn path=/trunk/mcs/; revision=60306
Martin Baulig [Fri, 5 May 2006 16:49:50 +0000 (16:49 -0000)]
2006-05-05 Martin Baulig <martin@ximian.com>
* debug-mini.c (mono_debug_open_block): New method.
* mini-amd64.c
(mono_arch_output_basic_block): Call mono_debug_open_block() at
the beginning of each basic block.
* mini-x86.c
(mono_arch_output_basic_block): Call mono_debug_open_block() at
the beginning of each basic block.
svn path=/trunk/mono/; revision=60304
Peter Dennis Bartok [Fri, 5 May 2006 16:48:08 +0000 (16:48 -0000)]
2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
window seems to do that with metacity, so set that type. (#78120)
svn path=/trunk/mcs/; revision=60303
Mike Kestner [Fri, 5 May 2006 16:42:38 +0000 (16:42 -0000)]
2006-05-05 Mike Kestner <mkestner@novell.com>
* ListViewItem.cs: fix Details mode checkbox layout bug.
* ThemeWin32Classic.cs: draw a ListView column header for unused space
at the end of the header, if it exists. [Fixes for #78200]
svn path=/trunk/mcs/; revision=60301
Massimiliano Mantione [Fri, 5 May 2006 15:26:03 +0000 (15:26 -0000)]
* driver.c: Disabled inline,consprop,copyprop,treeprop,deadce by
default until I understand why they break the build on amd64.
svn path=/trunk/mono/; revision=60299
Sebastien Pouliot [Fri, 5 May 2006 15:20:47 +0000 (15:20 -0000)]
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
* ExecutionContext.cs: Don't capture the compressed stack unless the
security manager is active (this wasn't ready to be called in
production code).
svn path=/trunk/mcs/; revision=60298
Raja R Harinath [Fri, 5 May 2006 12:31:24 +0000 (12:31 -0000)]
In mcs:
* statement.cs (EmptyStatement.ResolveUnreachable): Override.
(LabeledStatement): Add 'name' parameter.
(LabeledStatement.Name, LabeledStatement.JumpOrigins): New.
(Block.AddLabel): Update to changes.
* cs-parser.jay (labeled_statement): Likewise.
In gmcs:
* statement.cs (EmptyStatement.ResolveUnreachable): Override.
(LabeledStatement): Add 'name' parameter.
(LabeledStatement.Name, LabeledStatement.JumpOrigins): New.
(Block.AddLabel): Update to changes.
* cs-parser.jay (labeled_statement): Likewise.
svn path=/trunk/mcs/; revision=60297
Raja R Harinath [Fri, 5 May 2006 11:55:44 +0000 (11:55 -0000)]
In mcs:
* flowanalysis.cs (BranchingType.Labeled): New.
(UsageVector.MergeOrigins): Remove unused 'branching' argument.
(FlowBranchingLabeled): New. Does nothing for now, but will
eventually handle 'goto' flows.
* codegen.cs (StartFlowBranching): Add new LabeledStatement variant.
* statement.cs (LabeledStatement.Resolve): Create a FlowBranching
that's terminated ...
(Block.Resolve): ... here.
In gmcs:
* flowanalysis.cs (BranchingType.Labeled): New.
(UsageVector.MergeOrigins): Remove unused 'branching' argument.
(FlowBranchingLabeled): New. Does nothing for now, but will
eventually handle 'goto' flows.
* codegen.cs (StartFlowBranching): Add new LabeledStatement variant.
* statement.cs (LabeledStatement.Resolve): Create a FlowBranching
that's terminated ...
(Block.Resolve): ... here.
svn path=/trunk/mcs/; revision=60296
Raja R Harinath [Fri, 5 May 2006 09:19:00 +0000 (09:19 -0000)]
* mcs/flowanalysis.cs (UsageVector.MergeFinally): Remove.
(UsageVector.MergeFinallyOrigins): Likewise.
(FlowBranching.InTryOrCatch): Likewise.
(FlowBranching.AddFinallyVector): Likewise.
(FlowBranchingException): Update to changes.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60293
Zoltan Varga [Thu, 4 May 2006 22:33:41 +0000 (22:33 -0000)]
2006-05-04 Zoltan Varga <vargaz@gmail.com>
* marshal.c: Fix support for dynamic methods.
svn path=/trunk/mono/; revision=60290
Jackson Harper [Thu, 4 May 2006 21:50:31 +0000 (21:50 -0000)]
* MdiClient.cs: Add a helper property to get the container form.
* MdiWindowManager.cs: We have to make sure to use the menu
* origin
when drawing the icons and buttons, this fixes maximized window
icons/buttons on win32.
* InternalWindowManager.cs: Reset the restore captions when a
window goes from Maximized to Minimized and vice versa. Move the
DrawMaximizedButtons into the MdiWindowManager source, tool
windows can't be maximized. NOTE: This could use a little
refactoring if time ever permits.
svn path=/trunk/mcs/; revision=60288
Zoltan Varga [Thu, 4 May 2006 21:14:19 +0000 (21:14 -0000)]
2006-05-04 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_cleanup): Call mono_cleanup ().
* mini.c (UNVERIFIED): New macro to make it easier to track down verification
errors.
svn path=/trunk/mono/; revision=60287
Zoltan Varga [Thu, 4 May 2006 21:11:44 +0000 (21:11 -0000)]
2006-05-04 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (mono_runtime_cleanup): Call mono_marshal_cleanup ().
* marshal.c (mono_marshal_cleanup): New cleanup function.
* marshal.c: Rewrite the wrapper code to allocate most of its memory from the
image mempools.
svn path=/trunk/mono/; revision=60286
Zoltan Varga [Thu, 4 May 2006 20:46:18 +0000 (20:46 -0000)]
2006-05-04 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Fix leaking class->nested_classes.
svn path=/trunk/mono/; revision=60285
Marek Safar [Thu, 4 May 2006 20:45:14 +0000 (20:45 -0000)]
2006-05-04 Marek Safar <marek.safar@seznam.cz>
A fix for #76122
* class.cs (TypeContainer.FindMembers): Includes event method in the method
filter.
It's still 05/04 here ;-)
svn path=/trunk/mcs/; revision=60284
Sebastien Pouliot [Thu, 4 May 2006 20:13:22 +0000 (20:13 -0000)]
2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
* TestGraphics.cs: Re-introduce the removed check :)
svn path=/trunk/mcs/; revision=60283
Zoltan Varga [Thu, 4 May 2006 19:36:16 +0000 (19:36 -0000)]
2006-05-04 Zoltan Varga <vargaz@gmail.com>
* metadata-internals.h (MonoImage): Add a couple of new wrapper caches.
* image.c (mono_image_init): Initialize the new cashes.
* image.c (mono_image_close): Destroy the new cashes.
* marshal.c: Get rid of most of the static caches in favor of per-image caches.
svn path=/trunk/mono/; revision=60280
Raja R Harinath [Thu, 4 May 2006 19:31:54 +0000 (19:31 -0000)]
In mcs:
Fix #78290
* statement.cs (Return.Resolve): Move error checking to ...
* flowbranching.cs (FlowBranching.AddReturnOrigin): ... this.
(FlowBranchingException): Handle return origins like break and
continue origins.
(FlowBranching.UsageVector.CheckOutParameters): Remove.
In gmcs:
Fix #78290
* statement.cs (Return.Resolve): Move error checking to ...
* flowbranching.cs (FlowBranching.AddReturnOrigin): ... this.
(FlowBranchingException): Handle return origins like break and
continue origins.
(FlowBranching.UsageVector.CheckOutParameters): Remove.
In tests:
* test-508.cs: New test -- didn't fail earlier, but include to
catch any regressions.
In errors:
* cs0177-5.cs, cs0177-6.cs: New tests based on #78290.
svn path=/trunk/mcs/; revision=60279
Zoltan Varga [Thu, 4 May 2006 19:17:24 +0000 (19:17 -0000)]
2006-05-04 Zoltan Varga <vargaz@gmail.com>
* mempool.c (mono_mempool_strdup): New helper function.
* class-internals.h: Add prototype for mono_loader_unlock ().
svn path=/trunk/mono/; revision=60278
Chris Toshok [Thu, 4 May 2006 19:08:10 +0000 (19:08 -0000)]
add tests for bug 78256
svn path=/trunk/mcs/; revision=60276
Chris Toshok [Thu, 4 May 2006 19:02:05 +0000 (19:02 -0000)]
2006-05-04 Chris Toshok <toshok@ximian.com>
[ Fixes bug #78256 ]
* WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
how we should use the build provider machinery to get types.
(MapPath): add rudimentary mapping in the case where we don't have
a request, basically handle the case where the url begins with (or
is) HttpRuntime.AppDomainAppVirtualPath.
* WebConfigurationManager.cs (GetSection): if we don't have a
valid request, open the web configuration corresponding to
HttpRuntime.AppDomainAppVirtualPath.
(GetBasePath): comment this a little, and make it work in the case
where we don't have an HttpRequest.
svn path=/trunk/mcs/; revision=60275
Marek Safar [Thu, 4 May 2006 18:14:34 +0000 (18:14 -0000)]
Add more tests
svn path=/trunk/mcs/; revision=60274
Zoltan Varga [Thu, 4 May 2006 18:05:59 +0000 (18:05 -0000)]
2006-05-04 Zoltan Varga <vargaz@gmail.com>
* rawbuffer.h rawbuffer.c metadata-internals.h metadata.c class-internals.h
class.c loader.c image.h image.c assembly.h assembly.c: Add init () and cleanup ()
functions to these modules.
* domain-internals.h domain (mono_cleanup): New internal method to cleanup most
metadata modules.
svn path=/trunk/mono/; revision=60273
Marek Safar [Thu, 4 May 2006 18:01:59 +0000 (18:01 -0000)]
2006-05-04 Marek Safar <marek.safar@seznam.cz>
A fix for #77543
* class.cs (MethodData.Define): Do public accessor check only when method
implements an interface.
svn path=/trunk/mcs/; revision=60272