Jonathan Pobst [Wed, 13 Jun 2007 14:16:04 +0000 (14:16 -0000)]
2007-06-13 Jonathan Pobst <monkey@jpobst.com>
* ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
ControlPaint 2.0 stuffs.
svn path=/trunk/mcs/; revision=79414
Rodrigo Kumpera [Wed, 13 Jun 2007 13:56:45 +0000 (13:56 -0000)]
* verify.c: Fixed pointer type handling, some code and message formating and two invalid assigments
2007-06-13 Rodrigo Kumpera <kumpera@gmail.com>
svn path=/trunk/mono/; revision=79407
Rodrigo Kumpera [Wed, 13 Jun 2007 12:41:37 +0000 (12:41 -0000)]
2007-06-13 Rodrigo Kumpera <kumpera@gmail.com>
* verify.c: method invocation is now validated, now we verify parameter types on stack.
Fixed overflow and underflow not aborting the verification process.
svn path=/trunk/mono/; revision=79403
Marek Safar [Wed, 13 Jun 2007 12:17:08 +0000 (12:17 -0000)]
New test.
svn path=/trunk/mcs/; revision=79401
Marek Safar [Wed, 13 Jun 2007 10:19:39 +0000 (10:19 -0000)]
Fixed wrongly saved file
svn path=/trunk/mcs/; revision=79393
Marek Safar [Wed, 13 Jun 2007 09:54:49 +0000 (09:54 -0000)]
New tests.
svn path=/trunk/mcs/; revision=79391
Marek Safar [Wed, 13 Jun 2007 09:46:45 +0000 (09:46 -0000)]
2007-06-13 Marek Safar <marek.safar@gmail.com>
A fix for bug #81748
* cs-tokenizer.cs,
* expression.cs: More checks for non ISO-1 features.
svn path=/trunk/mcs/; revision=79390
Dick Porter [Wed, 13 Jun 2007 09:15:08 +0000 (09:15 -0000)]
2007-06-13 Dick Porter <dick@ximian.com>
* handles.c (timedwait_signal_wait_cond): Alertable waits on
private handles are now interrupted by signalling the same
condition that would end the wait if the handle became signalled,
rather than polling. (Shared handles still have to poll.)
* threads.c (_wapi_thread_queue_apc): Interrupt the thread if it's
waiting on a handle
* handles-private.h (_wapi_handle_current_thread_set_waiting_on):
Helper functions to inform the APC queuing functions when threads
are waiting for handles, and to interrupt the wait.
* wait.c (WaitForMultipleObjectsEx): Need to tell the handle
waiting functions if any of the handles in question are shared
svn path=/trunk/mono/; revision=79386
Mark Probst [Wed, 13 Jun 2007 08:03:09 +0000 (08:03 -0000)]
2007-06-13 Mark Probst <mark.probst@gmail.com>
* class-internals.h (MonoStats): Added stats entries for dynamic
code allocations.
2007-06-13 Mark Probst <mark.probst@gmail.com>
* mini.c (print_jit_stats): Output dynamic code allocation stats.
2007-06-13 Mark Probst <mark.probst@gmail.com>
* mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
allocation stats.
svn path=/trunk/mono/; revision=79384
Marek Habersack [Tue, 12 Jun 2007 22:26:08 +0000 (22:26 -0000)]
2007-06-13 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: make sure control has a writable
TemplateControl property prior to assigning values to it.
svn path=/trunk/mcs/; revision=79348
Jonathan Pobst [Tue, 12 Jun 2007 22:11:27 +0000 (22:11 -0000)]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* TableLayout.cs: When we come across a Dock=Fill control, use the
ExplicitSize to calculate an AutoSize row/column from.
[Fixes bug #81843]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutTest.cs: Add test for bug #81843.
svn path=/trunk/mcs/; revision=79347
Zoltan Varga [Tue, 12 Jun 2007 21:19:54 +0000 (21:19 -0000)]
2007-06-12 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_free_method): Free header->locals and header->clauses.
* marshal.c (mono_mb_create_method): Make a copy of the locals as well in the
dynamic case.
svn path=/trunk/mono/; revision=79345
Zoltan Varga [Tue, 12 Jun 2007 21:18:26 +0000 (21:18 -0000)]
2007-06-12 Zoltan Varga <vargaz@gmail.com>
* pinvoke2.cs: Add test for instance delegates.
svn path=/trunk/mono/; revision=79344
Rodrigo Kumpera [Tue, 12 Jun 2007 20:30:19 +0000 (20:30 -0000)]
2007-05-12 Rodrigo Kumpera <kumpera@gmail.com>
* make_tests.sh: New boolean branch tests
* make_bool_branch_test.sh: Test the stack value that boolean branches use (brfalse / brtrue)
* make_ret_test.sh: removed unused variable from sed expression
svn path=/trunk/mono/; revision=79342
Jonathan Pobst [Tue, 12 Jun 2007 20:11:30 +0000 (20:11 -0000)]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* ThreadExceptionDialog.cs: Add 2.0 stuffs.
svn path=/trunk/mcs/; revision=79334
Jonathan Pobst [Tue, 12 Jun 2007 19:55:09 +0000 (19:55 -0000)]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* UpDownBase.cs: Add 2.0 stuffs.
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* UpDownBaseTest.cs: Test for Min/Max size.
svn path=/trunk/mcs/; revision=79330
Marek Safar [Tue, 12 Jun 2007 19:13:42 +0000 (19:13 -0000)]
New test inspired by #81807
svn path=/trunk/mcs/; revision=79329
Marek Safar [Tue, 12 Jun 2007 19:12:46 +0000 (19:12 -0000)]
2007-06-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #81807
* statement.cs(Switch.TableSwitchEmit): Define null label when it's not
present inside switch statement and it is required by nullable check.
svn path=/trunk/mcs/; revision=79328
Jonathan Chambers [Tue, 12 Jun 2007 18:46:41 +0000 (18:46 -0000)]
2007-06-12 Jonathan Chambers <joncham@gmail.com>
* libmono.vcproj: Add missing files to fix VS build.
svn path=/trunk/mono/; revision=79326
Zoltan Varga [Tue, 12 Jun 2007 17:19:48 +0000 (17:19 -0000)]
2007-06-12 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_thread_get_stack_bounds): Fix memory leak.
svn path=/trunk/mono/; revision=79317
Zoltan Varga [Tue, 12 Jun 2007 17:11:16 +0000 (17:11 -0000)]
2007-06-12 Zoltan Varga <vargaz@gmail.com>
* class.c (setup_interface_offsets): Allocate memory from the image mempool.
svn path=/trunk/mono/; revision=79316
Marek Safar [Tue, 12 Jun 2007 16:59:23 +0000 (16:59 -0000)]
2007-06-12 Marek Safar <marek.safar@gmail.com>
* Makefile: Check only major framework version to do 2.x build.
svn path=/trunk/mcs/; revision=79315
Marek Safar [Tue, 12 Jun 2007 16:58:42 +0000 (16:58 -0000)]
2007-06-12 Marek Safar <marek.safar@gmail.com>
* Makefile: Check only major framework version to do 2.x build.
svn path=/trunk/mcs/; revision=79314
Marek Safar [Tue, 12 Jun 2007 16:53:55 +0000 (16:53 -0000)]
2007-06-12 Marek Safar <marek.safar@gmail.com>
* rules.make: Added FRAMEWORK_VERSION_MAJOR.
svn path=/trunk/mcs/; revision=79312
Jonathan Pobst [Tue, 12 Jun 2007 16:09:06 +0000 (16:09 -0000)]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* NumericUpDown.cs: Add 2.0 stuffs.
svn path=/trunk/mcs/; revision=79304
Jonathan Pobst [Tue, 12 Jun 2007 16:00:09 +0000 (16:00 -0000)]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
svn path=/trunk/mcs/; revision=79302
Jonathan Pobst [Tue, 12 Jun 2007 15:35:19 +0000 (15:35 -0000)]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* Added image-missing.png, image-x-generic.png for PictureBox.
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* Makefile, System.Windows.Forms.dll.resources: Added image-missing.png,
image-x-generic.png for PictureBox.
svn path=/trunk/mcs/; revision=79294
Marek Safar [Tue, 12 Jun 2007 15:34:58 +0000 (15:34 -0000)]
2007-06-12 Marek Safar <marek.safar@gmail.com>
* Consts.cs.in: Add NET_2_1 constants.
svn path=/trunk/mcs/; revision=79293
Jonathan Pobst [Tue, 12 Jun 2007 15:05:47 +0000 (15:05 -0000)]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* ErrorProvider.cs: Implement 2.0 stuffs.
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* ErrorProvider.cs: Test for Clear method.
svn path=/trunk/mcs/; revision=79287
Marek Safar [Tue, 12 Jun 2007 14:58:56 +0000 (14:58 -0000)]
2007-06-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #81840
* ecore.cs (SimpleName.ResolveAsTypeStep): Look for non-generic type
when type matching fails.
* namespace.cs: Tiny error message change.
svn path=/trunk/mcs/; revision=79282
Marek Safar [Tue, 12 Jun 2007 14:56:46 +0000 (14:56 -0000)]
New test, updates.
svn path=/trunk/mcs/; revision=79281
Konstantin Triger [Tue, 12 Jun 2007 14:50:59 +0000 (14:50 -0000)]
add tests for JSON serializer
svn path=/trunk/mcs/; revision=79280
Konstantin Triger [Tue, 12 Jun 2007 14:48:26 +0000 (14:48 -0000)]
Add System.Web.Extensions.csproj file
svn path=/trunk/mcs/; revision=79279
Konstantin Triger [Tue, 12 Jun 2007 14:39:43 +0000 (14:39 -0000)]
Initial JavaScriptSerializer implementation
svn path=/trunk/mcs/; revision=79276
Konstantin Triger [Tue, 12 Jun 2007 14:37:40 +0000 (14:37 -0000)]
Add JSON serialization support based on Json.NET (newtonsoft.com)
svn path=/trunk/mcs/; revision=79274
Jonathan Pobst [Tue, 12 Jun 2007 14:33:37 +0000 (14:33 -0000)]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* DomainUpDown.cs: Implement 2.0 stuffs.
svn path=/trunk/mcs/; revision=79272
Konstantin Triger [Tue, 12 Jun 2007 14:31:19 +0000 (14:31 -0000)]
add James Newton-King's JSON serializer LICENSE and grant text
svn path=/trunk/mcs/; revision=79271
Vladimir Krasnov [Tue, 12 Jun 2007 14:21:54 +0000 (14:21 -0000)]
* ConfigurationElement.cs: refactored GetKeyProperties and GetDefaultCollection methods, map should not be used here, Properties will do instead.
Refactored ElementMap class
* ConfigurationElementCollection.cs: fixed InitFromProperty, GetMap() should not be called here
* ElementInformation.cs: fixed Properties, moved to ctor to be thread safe
* PropertyInformation.cs: members assigned readonly modifier
svn path=/trunk/mcs/; revision=79268
Vladimir Krasnov [Tue, 12 Jun 2007 14:01:48 +0000 (14:01 -0000)]
* System.Web20.csproj: added CompilationSection.cs
svn path=/trunk/mcs/; revision=79264
Jonathan Pobst [Tue, 12 Jun 2007 13:49:51 +0000 (13:49 -0000)]
svn path=/trunk/mcs/; revision=79263
Vladimir Krasnov [Tue, 12 Jun 2007 13:48:18 +0000 (13:48 -0000)]
* CompilationSection.cs: TARGET_JVM on not supported features
* HttpModulesSection.cs: ctor should be static
svn path=/trunk/mcs/; revision=79262
Marek Safar [Tue, 12 Jun 2007 13:42:42 +0000 (13:42 -0000)]
Wrong error code.
svn path=/trunk/mcs/; revision=79261
Jonathan Pobst [Tue, 12 Jun 2007 13:41:08 +0000 (13:41 -0000)]
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* PictureBox.cs: Implement 2.0 stuffs.
2007-06-12 Jonathan Pobst <monkey@jpobst.com>
* PictureBoxTests.cs: Test for 2.0 field defaults.
svn path=/trunk/mcs/; revision=79260
Vladimir Krasnov [Tue, 12 Jun 2007 13:39:37 +0000 (13:39 -0000)]
* SettingValueElement.cs: fixed stub Properties property for System.Configuration fixes
svn path=/trunk/mcs/; revision=79259
Marek Safar [Tue, 12 Jun 2007 13:00:41 +0000 (13:00 -0000)]
Add new test, updates
svn path=/trunk/mcs/; revision=79256
Marek Safar [Tue, 12 Jun 2007 12:57:27 +0000 (12:57 -0000)]
2007-06-12 Marek Safar <marek.safar@gmail.com>
* decl.cs (CheckAbstractAndExtern): Moved to MemberCore for easier error
reporting. Added automatic property check.
* class.cs: Updated after CheckAbstractAndExtern relocation.
(AEventPropertyAccessor.GetSignatureForError): Customized.
svn path=/trunk/mcs/; revision=79255
Andreia Gaita [Tue, 12 Jun 2007 12:02:40 +0000 (12:02 -0000)]
* TabControl.cs: Check if there are tabpages before checking
the selected index - fix #81802 (font changes raise a ResizeTabs
call on controls.add, which blew up nicely with no tabpages)
* Test/System.Windows.Forms/TabControlTest.cs: Add test
2007-06-12 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=79254
Raja R Harinath [Tue, 12 Jun 2007 08:53:17 +0000 (08:53 -0000)]
Quick fix
* verify.c (TYPE_MAX): Set it to 8 to match the dimensions of all the tables.
svn path=/trunk/mono/; revision=79244
Raja R Harinath [Tue, 12 Jun 2007 08:02:23 +0000 (08:02 -0000)]
* ListViewCollectionsTest.cs (SelectedIndexCollectionTest_IndexOfTest):
Move to NET_2_0 profile.
svn path=/trunk/mcs/; revision=79243
Carlos Alberto Cortez [Tue, 12 Jun 2007 01:52:24 +0000 (01:52 -0000)]
* ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
2007-06-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs:
svn path=/trunk/mcs/; revision=79223
Rodrigo Kumpera [Tue, 12 Jun 2007 00:18:42 +0000 (00:18 -0000)]
2007-06-11 Rodrigo Kumpera <kumpera@gmail.com>
*pedump.c (main): return error code 4 if assembly cannot be loaded instead of segfaulting
svn path=/trunk/mono/; revision=79220
Carlos Alberto Cortez [Mon, 11 Jun 2007 22:45:38 +0000 (22:45 -0000)]
2007-06-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewCollectionsTest.cs: New tests for CheckedItemCollection and
SelectedIndexCollection when using VirtualMode.
svn path=/trunk/mcs/; revision=79216
Carlos Alberto Cortez [Mon, 11 Jun 2007 22:43:38 +0000 (22:43 -0000)]
2007-06-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs:
* ListViewItem.cs: In VirtualMode the selection information
resides in the ListView, rather than in the Items. Also, throw
InvalidOperationExceptions when VirtualMode is being used and
CheckedItemCollection is accessed.
svn path=/trunk/mcs/; revision=79215
Marek Safar [Mon, 11 Jun 2007 20:42:03 +0000 (20:42 -0000)]
Add new test.
svn path=/trunk/mcs/; revision=79210
Marek Safar [Mon, 11 Jun 2007 20:40:50 +0000 (20:40 -0000)]
2007-06-11 Marek Safar <marek.safar@gmail.com>
* class.cs (DefineBaseTypes): Base type can be undefined.
* ecore.cs (TypeLookup): Minor refactoring.
(DoResolveAsTypeStep): Removed redundant check.
* namespace.cs (Lookup): Removed redundant check.
* rootcontext.cs (BootstrapCorlib_ResolveType): Uses normal
ResolveAsTypeTerminal step.
(BootstrapCorlib_*): Simplified.
(PopulateCoreType): Core types can be now external.
svn path=/trunk/mcs/; revision=79209
Raja R Harinath [Mon, 11 Jun 2007 20:19:31 +0000 (20:19 -0000)]
MonoGenericMethod on a diet
* class-internals.h (_MonoMethodInflated::reflection_info): Move here ...
(_MonoGenericMethod::reflection_info): ... from here.
* icall.c (ves_icall_MonoMethod_GetGenericMethodDefinition): Update to changes.
* reflection.c (inflate_mono_method): Likewise.
(mono_reflection_bind_generic_method_parameters): Likewise.
svn path=/trunk/mono/; revision=79207
Rodrigo Kumpera [Mon, 11 Jun 2007 19:07:23 +0000 (19:07 -0000)]
*verify.c: all debu printf statements are now guarded by VERIFY_DEBUG
*verify.c: factored long ldarg forms to share code with short forms
2007-06-11 Rodrigo Kumpera <kumpera@gmail.com>
svn path=/trunk/mono/; revision=79204
Rodrigo Kumpera [Mon, 11 Jun 2007 18:05:17 +0000 (18:05 -0000)]
2007-06-11 Rodrigo Kumpera <kumpera@gmail.com>
*verify.c: fixed code formating factored some duplicate code
into a new function
*verify.h: fixed binary incompatibility introduced earlier
*pedump.c: fixed formating
svn path=/trunk/mono/; revision=79202
Raja R Harinath [Mon, 11 Jun 2007 17:07:13 +0000 (17:07 -0000)]
Fix assertion when disassembling Mono.C5.dll
* loader.c (method_from_methodspec): Avoid inflating a method
twice with the same context. If the methodref is inflated, use
the declaring method instead.
svn path=/trunk/mono/; revision=79194
Raja R Harinath [Mon, 11 Jun 2007 17:07:03 +0000 (17:07 -0000)]
* class.c (mono_class_from_generic_parameter): Fix case similar to
bug #81830 handled below, but for method containers.
svn path=/trunk/mono/; revision=79193
Atsushi Eno [Mon, 11 Jun 2007 08:43:53 +0000 (08:43 -0000)]
2007-06-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs : ReadStartElement() has bogus error message.
svn path=/trunk/mcs/; revision=79155
Nagappan Alagappan [Mon, 11 Jun 2007 07:01:29 +0000 (07:01 -0000)]
2007-06-11 Nagappan A <anagappan@novell.com>
* SqlConnection.cs (ParseDataSource): Adds tcp support in
connection string. Fixes bug # 80975.
svn path=/trunk/mcs/; revision=79151
Nagappan Alagappan [Mon, 11 Jun 2007 06:06:17 +0000 (06:06 -0000)]
2007-06-11 Nagappan A <anagappan@novell.com>
* DataReaderTest.cs (GetBytesNullBufferTest): Odbc returns -1, but
SqlClient returns 0. Value has to be modified accordingly.
svn path=/trunk/mcs/; revision=79150
Nagappan Alagappan [Mon, 11 Jun 2007 06:04:07 +0000 (06:04 -0000)]
2007-06-11 Nagappan A <anagappan@novell.com>
* SqlCommandTest.cs (SqlCommandDisposeTest): Added new test case
to check, the SqlCommand.Dispose, not to dispose SqlConnection and
SqlTransaction instances.
svn path=/trunk/mcs/; revision=79149
Nagappan Alagappan [Mon, 11 Jun 2007 06:01:44 +0000 (06:01 -0000)]
2007-06-11 Nagappan A <anagappan@novell.com>
* SqlCommand.cs (Dispose): On disposing the command object, don't
dispose connection and transaction.
svn path=/trunk/mcs/; revision=79148
Miguel de Icaza [Sun, 10 Jun 2007 16:39:36 +0000 (16:39 -0000)]
2007-06-10 Sanghyeon Seo <sanxiyn@gmail.com>
* mini-exceptions.c: Generate a method profile leave event during
an exception to ensure that the profiler gets notified.
svn path=/trunk/mono/; revision=79121
Raja R Harinath [Sun, 10 Jun 2007 11:45:41 +0000 (11:45 -0000)]
* class.c (inflate_generic_type) [MONO_TYPE_CLASS]: Don't call
get_shared_generic_class. Directly inflate the instance.
[MONO_TYPE_GENERICINST]: Inline inflate_generic_class.
(inflate_generic_class): Delete.
(get_shared_generic_class): Delete. Move setting of
'cached_class' and 'cached_context' ...
* metadata.c (mono_metadata_lookup_generic_class): ... here.
svn path=/trunk/mono/; revision=79115
Raja R Harinath [Sun, 10 Jun 2007 08:18:53 +0000 (08:18 -0000)]
* metadata.c (mono_metadata_lookup_generic_class): Change
signature to take the components of a MonoGenericClass rather than
an allocated MonoGenericClass. Change semantics to be intern-like.
* reflection.c (mono_class_bind_generic_parameters): Update to
changes. Make locking region tighter.
* class.c (inflate_generic_class): Update to changes.
(get_shared_generic_class): Likewise.
* metadata-internals.h: Likewise.
svn path=/trunk/mono/; revision=79112
Raja R Harinath [Sun, 10 Jun 2007 08:18:43 +0000 (08:18 -0000)]
* reflection.c (mono_class_bind_generic_parameters): Take and
return a MonoClass*, not a MonoType*. Add 'is_dynamic' parameter.
(mono_reflection_bind_generic_parameters): Use
'mono_class_bind_generic_parameters' rather than duplicate the code.
* class.c (mono_bounded_array_class_get): Update to changes.
* object-internals.h: Likewise.
svn path=/trunk/mono/; revision=79111
Raja R Harinath [Sun, 10 Jun 2007 08:18:32 +0000 (08:18 -0000)]
* reflection.c (mono_class_bind_generic_parameters): Only support
parameterizing generic type definitions. Remove support for other
open types.
svn path=/trunk/mono/; revision=79110
Marek Safar [Sat, 9 Jun 2007 23:09:41 +0000 (23:09 -0000)]
Use 2.0 build as 2.1 bootstrap
svn path=/trunk/mcs/; revision=79085
Wade Berrier [Sat, 9 Jun 2007 09:38:32 +0000 (09:38 -0000)]
2007-06-09 Wade Berrier <wberrier@novell.com>
* scripts/mono-find-requires.in: use lib name instead of package name
for deps found in .config files. suse's rpmlint prefers it that way.
svn path=/trunk/mono/; revision=79041
Jonathan Pobst [Sat, 9 Jun 2007 04:22:14 +0000 (04:22 -0000)]
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* GroupBoxTest.cs: Argh! I cannot freaking get this right. Remove the "!".
svn path=/trunk/mcs/; revision=79029
Jonathan Pobst [Sat, 9 Jun 2007 01:59:09 +0000 (01:59 -0000)]
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* GroupBoxTest.cs: Missed an if.
svn path=/trunk/mcs/; revision=79028
Jonathan Pobst [Sat, 9 Jun 2007 01:06:03 +0000 (01:06 -0000)]
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* GroupBoxTest.cs: AutoSize is theme dependent.
svn path=/trunk/mcs/; revision=79025
Marek Habersack [Fri, 8 Jun 2007 23:53:55 +0000 (23:53 -0000)]
This code is for 1.1 only
svn path=/trunk/mcs/; revision=79022
Marek Habersack [Fri, 8 Jun 2007 23:51:23 +0000 (23:51 -0000)]
2007-06-09 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: TemplateControl is assigned for
controls that are placed within ContentPlaceHolder and not for the
ContentPlaceHolder itself.
No longer add the overriden version of TemplateSourceDirectory to
the generated source, all the work is now done in
Control.TemplateSourceDirectory.
* BaseCompiler.cs: AppRelativeVirtualPath shouldn't end with a
slash, for compatibility with MS.NET
2007-06-09 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: make sure TemplateControl is set to the
current control.
* Control.cs: TemplateControl property goes up the parent chain if
the property isn't defined in the current control.
TemplateSourceDir finally implemented correctly.
2007-06-09 Marek Habersack <mhabersack@novell.com>
* ControlTest.cs: enabled two tests that hadn't been working
before.
svn path=/trunk/mcs/; revision=79021
Zoltan Varga [Fri, 8 Jun 2007 21:01:17 +0000 (21:01 -0000)]
2007-06-08 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_free_method): Free method->signature as well. Fixes #81832.
* marshal.c (mono_marshal_get_managed_wrapper): Allocate the signature using malloc
in the dynamic case.
svn path=/trunk/mono/; revision=79001
Jonathan Pobst [Fri, 8 Jun 2007 20:39:53 +0000 (20:39 -0000)]
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Add ScaleControl.
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* ComboBoxTest.cs: Add test for ScaleControl.
svn path=/trunk/mcs/; revision=78996
Ivan Zlatev [Fri, 8 Jun 2007 20:36:48 +0000 (20:36 -0000)]
2007-06-08 Ivan N. Zlatev <contact@i-nz.net>
* ToolboxItem.cs: Implement some 2.0 stuff.
Fix events not to get fired twice.
svn path=/trunk/mcs/; revision=78995
Jonathan Pobst [Fri, 8 Jun 2007 18:58:04 +0000 (18:58 -0000)]
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
svn path=/trunk/mcs/; revision=78984
Jonathan Pobst [Fri, 8 Jun 2007 18:50:27 +0000 (18:50 -0000)]
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* GroupBox.cs: Add 2.0 stuffs.
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* GroupBoxTest.cs: Add some 2.0 tests.
svn path=/trunk/mcs/; revision=78983
Gert Driesen [Fri, 8 Jun 2007 18:48:40 +0000 (18:48 -0000)]
* ThreadTest.cs: Enabled test for bug #81720.
svn path=/trunk/mcs/; revision=78982
Gert Driesen [Fri, 8 Jun 2007 18:46:37 +0000 (18:46 -0000)]
* threads.c: When cleaning up thread, reset the Background bit.
Fixes bug #81720.
svn path=/trunk/mono/; revision=78981
Sebastien Pouliot [Fri, 8 Jun 2007 18:12:32 +0000 (18:12 -0000)]
add new class to the build
svn path=/trunk/mcs/; revision=78980
Sebastien Pouliot [Fri, 8 Jun 2007 18:12:12 +0000 (18:12 -0000)]
svn path=/trunk/mcs/; revision=78979
Jonathan Chambers [Fri, 8 Jun 2007 17:11:42 +0000 (17:11 -0000)]
2007-06-08 Jonathan Chambers <joncham@gmail.com>
* metadata.c: Move variable declarations to top of scope.
* verify.c: Move variable declarations to top of scope.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=78971
Marek Safar [Fri, 8 Jun 2007 15:49:17 +0000 (15:49 -0000)]
eol:native
svn path=/trunk/mcs/; revision=78967
Marek Safar [Fri, 8 Jun 2007 15:48:16 +0000 (15:48 -0000)]
native
svn path=/trunk/mcs/; revision=78966
Raja R Harinath [Fri, 8 Jun 2007 15:47:11 +0000 (15:47 -0000)]
Add a note about "invariant meaning in a block" and how we handle it.
svn path=/trunk/mcs/; revision=78965
Marek Safar [Fri, 8 Jun 2007 15:43:57 +0000 (15:43 -0000)]
New group by tests.
svn path=/trunk/mcs/; revision=78964
Marek Safar [Fri, 8 Jun 2007 15:43:05 +0000 (15:43 -0000)]
2007-06-08 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Uses newly defined GroupBy class.
* linq.cs (GroupBy): Implemented.
(AQueryClause.BuildQueryClause): Refactored to allow customize
query method arguments.
svn path=/trunk/mcs/; revision=78963
Marek Safar [Fri, 8 Jun 2007 14:54:23 +0000 (14:54 -0000)]
2007-06-08 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs: Fixed recursion in GroupBy.
svn path=/trunk/mcs/; revision=78960
Raja R Harinath [Fri, 8 Jun 2007 14:09:14 +0000 (14:09 -0000)]
* reflection.c (mono_class_bind_generic_parameters): Replace
open-coded loop with mono_metadata_inflate_generic_inst.
svn path=/trunk/mono/; revision=78957
Raja R Harinath [Fri, 8 Jun 2007 13:42:02 +0000 (13:42 -0000)]
* class.c (get_shared_generic_class): Don't call
mono_get_shared_generic_inst. Use the container's own 'class_inst'.
svn path=/trunk/mono/; revision=78953
Jonathan Pobst [Fri, 8 Jun 2007 13:25:59 +0000 (13:25 -0000)]
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* Panel.cs: Add autosize properties/event.
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* PanelTest.cs: Add.
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms_test.dll.sources: Add PanelTest.cs.
svn path=/trunk/mcs/; revision=78952
Marek Safar [Fri, 8 Jun 2007 13:13:36 +0000 (13:13 -0000)]
Add new test.
svn path=/trunk/mcs/; revision=78951
Marek Safar [Fri, 8 Jun 2007 13:12:54 +0000 (13:12 -0000)]
2007-06-08 Marek Safar <marek.safar@gmail.com>
* generics.cs (InferTypeArguments): Uses AnonymousMethodExpression
InferTypeArguments.
svn path=/trunk/mcs/; revision=78950
Marek Safar [Fri, 8 Jun 2007 13:10:58 +0000 (13:10 -0000)]
2007-06-07 Marek Safar <marek.safar@gmail.com>
* anonymous.cs (VerifyExplicitParameterCompatibility): Add flag
to do verification only.
(InferTypeArguments): Infers anonymous expression type arguments.
(Compatible): Split to Compatible and InferTypeArguments.
* lambda.cs: Updated.
svn path=/trunk/mcs/; revision=78949
Raja R Harinath [Fri, 8 Jun 2007 12:58:26 +0000 (12:58 -0000)]
* metadata.c (mono_metadata_load_generic_params): Move
initialization of 'context' field here from ...
* class.c (mono_class_create_from_typedef): ... here, and ...
* loader.c (mono_get_method_from_token): ... here.
svn path=/trunk/mono/; revision=78948