Jb Evain [Sun, 2 Sep 2007 11:39:28 +0000 (11:39 -0000)]
fix 1.1 profiles
svn path=/trunk/mcs/; revision=85188
Igor Zelmanovich [Sun, 2 Sep 2007 09:55:52 +0000 (09:55 -0000)]
2007-09-02 Igor Zelmanovich <igorz@mainsoft.com>
* Page.jvm.cs: implemented IsMultiForm property to take
the value from configuration.
svn path=/trunk/mcs/; revision=85187
Igor Zelmanovich [Sun, 2 Sep 2007 09:52:57 +0000 (09:52 -0000)]
added reference to Mainsoft.Configuration
svn path=/trunk/mcs/; revision=85186
Igor Zelmanovich [Sun, 2 Sep 2007 09:43:15 +0000 (09:43 -0000)]
added TARGET_J2EE def
svn path=/trunk/mcs/; revision=85185
Igor Zelmanovich [Sun, 2 Sep 2007 09:41:54 +0000 (09:41 -0000)]
consider MachineKeyRegistryStorage is not supported in TARGET_J2EE
svn path=/trunk/mcs/; revision=85184
Zoltan Varga [Sun, 2 Sep 2007 09:26:38 +0000 (09:26 -0000)]
2007-09-02 Zoltan Varga <vargaz@gmail.com>
* TypeBuilder.cs: Add a workaround for #82625 to make nemerle work again.
svn path=/trunk/mcs/; revision=85182
Igor Zelmanovich [Sun, 2 Sep 2007 09:01:06 +0000 (09:01 -0000)]
added 'mainsoft.web' section declaration
svn path=/trunk/mono/; revision=85181
Konstantin Triger [Sun, 2 Sep 2007 06:29:40 +0000 (06:29 -0000)]
update with recent changes; remove System.Net.NetworkInformation namespace since it's not currently functioning on Java platform
svn path=/trunk/mcs/; revision=85180
Jb Evain [Sat, 1 Sep 2007 18:19:00 +0000 (18:19 -0000)]
fix stupidity
svn path=/trunk/mcs/; revision=85174
Zoltan Varga [Sat, 1 Sep 2007 17:40:40 +0000 (17:40 -0000)]
2007-09-01 Zoltan Varga <vargaz@gmail.com>
* FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
Stubs for new net 3.5 classes.
svn path=/trunk/mcs/; revision=85172
Zoltan Varga [Sat, 1 Sep 2007 17:38:54 +0000 (17:38 -0000)]
2007-09-01 Zoltan Varga <vargaz@gmail.com>
* System.Windows.Forms.dll.sources: Add FileDialogCustomPlace.cs and
FileDialogCustomPlacesCollection.cs.
svn path=/trunk/mcs/; revision=85171
Jb Evain [Sat, 1 Sep 2007 15:59:18 +0000 (15:59 -0000)]
consider smcs
svn path=/trunk/mcs/; revision=85167
Jb Evain [Sat, 1 Sep 2007 13:00:55 +0000 (13:00 -0000)]
2007-09-01 Jb Evain <jbevain@novell.com>
* Makefile: consider the net_2_1 profile.
svn path=/trunk/mcs/; revision=85164
Carlos Alberto Cortez [Sat, 1 Sep 2007 02:35:55 +0000 (02:35 -0000)]
2007-08-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: In ListViewItemCollection operations calculate
Layout for owner as well as invalidate it. Fixes part of #82642.
svn path=/trunk/mcs/; revision=85158
Jonathan Pobst [Fri, 31 Aug 2007 23:52:24 +0000 (23:52 -0000)]
2007-08-31 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
when returning Enabled. [Fixes bug #82651]
2007-08-31 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItemTest.cs: Added test to show that Enabled can
depend on Parent/Owner's Enabled.
svn path=/trunk/mcs/; revision=85157
Marek Habersack [Fri, 31 Aug 2007 22:23:30 +0000 (22:23 -0000)]
2007-09-01 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
filesystem watchers instead of checking for existence of the
file(s) at the beginning of every request. No performance penalty
that way.
svn path=/trunk/mcs/; revision=85155
Zoltan Varga [Fri, 31 Aug 2007 20:40:31 +0000 (20:40 -0000)]
2007-08-31 Zoltan Varga <vargaz@gmail.com>
* libtest.c handleref.cs: Fix handleref.exe test on sparc.
svn path=/trunk/mono/; revision=85153
Jonathan Chambers [Fri, 31 Aug 2007 20:29:33 +0000 (20:29 -0000)]
2007-08-31 Jonathan Chambers <joncham@gmail.com>
* mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
Fixes tons of warnings we get on cygwin build.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=85152
Marek Safar [Fri, 31 Aug 2007 19:07:27 +0000 (19:07 -0000)]
New test.
svn path=/trunk/mcs/; revision=85151
Marek Safar [Fri, 31 Aug 2007 19:07:10 +0000 (19:07 -0000)]
2007-08-31 Marek Safar <marek.safar@gmail.com>
* generic.cs (TypeParameter): Uses common Emit.
(.IsClsComplianceRequired): Is never required.
svn path=/trunk/mcs/; revision=85150
Marek Safar [Fri, 31 Aug 2007 19:06:29 +0000 (19:06 -0000)]
2007-08-31 Marek Safar <marek.safar@gmail.com>
* class.cs: EmitAttributes to Emit rename.
* decl.cs (MemberCore.GetClsCompliantAttributeValue): Parent can be
null.
(MemberCore.HasClsCompliantAttribute): Don't depend on
GetClsCompliantAttributeValue execution.
svn path=/trunk/mcs/; revision=85149
Everaldo Canuto [Fri, 31 Aug 2007 18:10:24 +0000 (18:10 -0000)]
2007-08-30 Everaldo Canuto <everaldo@simios.org>
* ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
2007-08-29 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=85147
Marek Safar [Fri, 31 Aug 2007 16:24:26 +0000 (16:24 -0000)]
New test.
svn path=/trunk/mcs/; revision=85141
Marek Safar [Fri, 31 Aug 2007 16:23:32 +0000 (16:23 -0000)]
2007-08-31 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Terminates query block correctly. Fixed orderby
chaining.
* generic.cs (TypeInferenceContext): Better error resistance.
* linq.cs: Implemented range variables, transparent identifiers and
SelectMany clause.
svn path=/trunk/mcs/; revision=85140
Marek Safar [Fri, 31 Aug 2007 16:20:08 +0000 (16:20 -0000)]
2007-08-31 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Use shorter type prefix.
* ecore.cs (SimpleName.DoSimpleNameResolve): Use transparent identifiers
when exist.
* expression.cs (LocalVariableReference.DoResolveBase): Don't capture
variables when probing is on.
* statement.cs (LocaLInfo.Clone): Clone correctly resolved and
unresolved variables.
(TopLevelBlock.GetTransparentIdentifier): Default implementation doesn't
handle transparent identifiers.
svn path=/trunk/mcs/; revision=85139
Dick Porter [Fri, 31 Aug 2007 15:40:53 +0000 (15:40 -0000)]
Back out the thread lock changes until they work
svn path=/trunk/mono/; revision=85138
Dick Porter [Fri, 31 Aug 2007 15:40:49 +0000 (15:40 -0000)]
Back out the thread lock changes until they work
svn path=/trunk/mcs/; revision=85137
Gert Driesen [Fri, 31 Aug 2007 15:23:26 +0000 (15:23 -0000)]
* ServiceDescription.cs: Do not require write access to file.
* DiscoveryRequestHandler.cs: Do not require write access to file.
svn path=/trunk/mcs/; revision=85136
Paolo Molaro [Fri, 31 Aug 2007 15:08:21 +0000 (15:08 -0000)]
Test for bug#82614.
svn path=/trunk/mono/; revision=85135
Paolo Molaro [Fri, 31 Aug 2007 15:06:53 +0000 (15:06 -0000)]
Fri Aug 31 17:30:58 CEST 2007 Paolo Molaro <lupus@ximian.com>
* metadata.c: consider the generic arguments when comparing
signatures (bug #82614).
svn path=/trunk/mono/; revision=85134
Gert Driesen [Fri, 31 Aug 2007 14:27:11 +0000 (14:27 -0000)]
* ConfigurationManager.cs: Fixed line endings. Avoid warning by
changing accessibility of ChangeConfigurationSystem to internal.
* Configuration.cs: Fixed compiler warnings.
* DpapiProtectedConfigurationProvider.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=85130
Gert Driesen [Fri, 31 Aug 2007 14:15:07 +0000 (14:15 -0000)]
* System.Configuration_test.dll.sources: added ProviderBaseTest.cs.
* ProviderBaseTest.cs: Added tests for Initialize.
* ProviderBase.cs: Remove "description" key from NameValueCollection.
Use provider name as description if description is null or a zero
length string. Modifies exception messages to match MS.
* GenericEnumConverterTest.cs: Remove unused variable.
* ConfigurationManagerTest.cs: Fixed line endings.
* ConnectionStringSettingsTest.cs: Fixed line endings and avoid
ToString override warning.
* KeyValueConfigurationElementTest.cs: Fixed line endings.
* KeyValueConfigurationCollectionTest.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=85126
Marek Habersack [Fri, 31 Aug 2007 11:51:04 +0000 (11:51 -0000)]
reformatting
svn path=/trunk/mcs/; revision=85097
Marek Habersack [Fri, 31 Aug 2007 11:30:58 +0000 (11:30 -0000)]
2007-08-31 Marek Habersack <mhabersack@novell.com>
* GridView.cs: instead of not adding hidden fields to the rows,
mark the cells they would contain as invisible. Fixes bug #82615.
svn path=/trunk/mcs/; revision=85094
Gert Driesen [Fri, 31 Aug 2007 09:10:28 +0000 (09:10 -0000)]
* TypeConverter.cs: Fixed GetConvertFromException and
GetConvertToException to match MS, and use these in ConvertFrom and
ConvertTo.
* EnumConverter.cs: Use IsFlags instead of duplicating code that
checks for FlagsAttribute. When converting to InstanceDescriptor and
no corresponding enum field is found, then let base class throw a
NotSupportedException.
* TypeConverterTest.cs: Added tests for GetConvertFromException and
GetConvertToException.
* EnumConverterTest.cs: Enabled test for converting flag enums to
InstanceDescriptor.
svn path=/trunk/mcs/; revision=85092
Marek Habersack [Fri, 31 Aug 2007 01:18:21 +0000 (01:18 -0000)]
2007-08-31 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: added methods to enable/disable
watchers.
* HttpRuntime.cs: implemented handling of app_offline.htm file in
the application root directory. Fixes bug #81127.
* HttpResponse.cs: make sure neither context or
context.ApplicationInstance are null in End ().
svn path=/trunk/mcs/; revision=85090
Jonathan Chambers [Fri, 31 Aug 2007 01:18:15 +0000 (01:18 -0000)]
2007-08-30 Jonathan Chambers <joncham@gmail.com>
* driver.c: include the cil-coff.h header on Windows.
Forgot to specify license.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=85089
Jonathan Chambers [Fri, 31 Aug 2007 01:13:06 +0000 (01:13 -0000)]
2007-08-30 Jonathan Chambers <joncham@gmail.com>
* driver.c: include the cil-coff.h header on Windows.
svn path=/trunk/mono/; revision=85088
Carlos Alberto Cortez [Thu, 30 Aug 2007 23:38:22 +0000 (23:38 -0000)]
* ListView.cs: Put item padding info in a single place
(Theme.ListViewItemPaddingWidth) to have working AutoResize on
columns again.
* ThemeWin32Classic.cs:
* Theme.cs: Likewise.
2007-08-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=85084
Dick Porter [Thu, 30 Aug 2007 20:34:41 +0000 (20:34 -0000)]
2007-08-30 Dick Porter <dick@ximian.com>
* monitor.c (mono_monitor_try_enter_internal): Set thread state to
WaitSleepJoin while it is waiting to acquire a lock. Fixes bug
81646.
* threads.c: Turn the thread synch_lock into a CRITICAL_SECTION,
instead of a monitor lock. This means that monitor_try_enter and
co can set the thread state safely.
(ves_icall_System_Threading_Thread_Interrupt_internal): Always set
thread_interrupt_requested, so interrupt actually works.
* socket-io.c (ves_icall_System_Net_Sockets_Socket_Poll_internal,
ves_icall_System_Net_Sockets_Socket_Select_internal): Use thread
state accessor function
svn path=/trunk/mono/; revision=85075
Dick Porter [Thu, 30 Aug 2007 20:33:52 +0000 (20:33 -0000)]
2007-08-30 Dick Porter <dick@ximian.com>
* Thread.cs: Initialise synch_cs to null now we aren't using it as
a monitor lock
svn path=/trunk/mcs/; revision=85074
Gert Driesen [Thu, 30 Aug 2007 20:29:02 +0000 (20:29 -0000)]
* RegistryKeyTest.cs: Improve SetValue tests to ensure values are
persisted properly on Linux, since the unix implementation performs
caching.
svn path=/trunk/mcs/; revision=85073
Ivan Zlatev [Thu, 30 Aug 2007 19:40:43 +0000 (19:40 -0000)]
2007-08-30 Ivan N. Zlatev <contact@i-nz.net>
* EnumConverter.cs: Implemented conversion to InstanceDescriptor
for enums with a FlagsAttribute. Fixes #82118.
svn path=/trunk/mcs/; revision=85069
Carlos Alberto Cortez [Thu, 30 Aug 2007 19:20:31 +0000 (19:20 -0000)]
2007-08-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: When a ListViewSubItem instance is invalidated,
invoke Invalidate on parent ListViewItem, not parent ListView.
Fixes #81570.
svn path=/trunk/mcs/; revision=85068
Marek Habersack [Thu, 30 Aug 2007 17:32:52 +0000 (17:32 -0000)]
2007-08-30 Marek Habersack <mhabersack@novell.com>
* System.Web.dll.sources: added MachineKeyRegistryStorage.cs
2007-08-30 Marek Habersack <mhabersack@novell.com>
* MachineKeySection.cs: retrieve the keys from the registry before
falling back to the old method. Fixes bug #76606
2007-08-30 Marek Habersack <mhabersack@novell.com>
* MachineKeyRegistryStorage.cs: added
svn path=/trunk/mcs/; revision=85063
Marek Habersack [Thu, 30 Aug 2007 17:18:14 +0000 (17:18 -0000)]
2007-08-30 Marek Habersack <mhabersack@novell.com>
* UnixRegistryApi.cs: properly retrieve values of type
'bytearray'.
svn path=/trunk/mcs/; revision=85062
Paolo Molaro [Thu, 30 Aug 2007 16:09:53 +0000 (16:09 -0000)]
Thu Aug 30 18:34:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
* cil-coff.h, image.c: updated assembly loader to cope with the
PE32+ 64 bit file format.
svn path=/trunk/mono/; revision=85061
Jonathan Pobst [Thu, 30 Aug 2007 16:07:51 +0000 (16:07 -0000)]
2007-08-30 Jonathan Pobst <monkey@jpobst.com>
* ListView.cs, ListViewItem.cs: corcompare stuffs.
svn path=/trunk/mcs/; revision=85060
Jb Evain [Thu, 30 Aug 2007 15:54:39 +0000 (15:54 -0000)]
fix
svn path=/trunk/mcs/; revision=85058
Jonathan Pobst [Thu, 30 Aug 2007 15:12:00 +0000 (15:12 -0000)]
2007-08-30 Jonathan Pobst <monkey@jpobst.com>
* BindingMemberInfo.cs: Implement == and != operators.
svn path=/trunk/mcs/; revision=85057
Jonathan Pobst [Thu, 30 Aug 2007 15:04:24 +0000 (15:04 -0000)]
2007-08-30 Jonathan Pobst <monkey@jpobst.com>
* ComponentEditorPage.cs, ComponentEditorForm.cs: Override AutoSize,
AutoSizeChanged.
svn path=/trunk/mcs/; revision=85056
Jonathan Pobst [Thu, 30 Aug 2007 14:50:19 +0000 (14:50 -0000)]
2007-08-30 Jonathan Pobst <monkey@jpobst.com>
* HtmlElementEventArgs.cs: Implement properties.
svn path=/trunk/mcs/; revision=85055
Paolo Molaro [Thu, 30 Aug 2007 14:21:59 +0000 (14:21 -0000)]
Thu Aug 30 16:47:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
* assembly.c, class.c, domain.c, loader.c: remove useless
inclusion of cil-coff.h.
svn path=/trunk/mono/; revision=85054
Igor Zelmanovich [Thu, 30 Aug 2007 14:01:20 +0000 (14:01 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
* Menu.cs:
* Menu.js:
make Menu work in multi form environment.
svn path=/trunk/mcs/; revision=85051
Paolo Molaro [Thu, 30 Aug 2007 13:51:24 +0000 (13:51 -0000)]
Thu Aug 30 16:17:23 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini.c, driver.c: don't include the cil-coff.h header.
svn path=/trunk/mono/; revision=85049
Igor Zelmanovich [Thu, 30 Aug 2007 13:48:50 +0000 (13:48 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
* ListControl.cs: fixed selected items state management.
svn path=/trunk/mcs/; revision=85048
Igor Zelmanovich [Thu, 30 Aug 2007 13:45:21 +0000 (13:45 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
* BaseCompareValidator.cs:
* BaseValidator.cs:
* CompareValidator.cs:
* CustomValidator.cs:
* RangeValidator.cs:
* RegularExpressionValidator.cs:
* RequiredFieldValidator.cs:
all Validators use RegisterExpandoAttribute for
not XHTML compliant attributes.
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
* WebUIValidation_2.0.js:
all Validators use RegisterExpandoAttribute for
not XHTML compliant attributes.
svn path=/trunk/mcs/; revision=85047
Igor Zelmanovich [Thu, 30 Aug 2007 13:05:58 +0000 (13:05 -0000)]
fixed:
user window.TARGET_J2EE instead TARGET_J2EE
to avoid "TARGET_J2EE is not defined" exception
svn path=/trunk/mcs/; revision=85041
Paolo Molaro [Thu, 30 Aug 2007 12:24:53 +0000 (12:24 -0000)]
Thu Aug 30 14:50:53 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini.c: flag places that needs fixes fo soft-float support.
svn path=/trunk/mono/; revision=85039
Igor Zelmanovich [Thu, 30 Aug 2007 08:38:13 +0000 (08:38 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
* WebUIValidation_2.0.js: refactoring.
initialize evaluationfunction property for validator on client.
makes it compatible with AjaxControlToolkit.
svn path=/trunk/mcs/; revision=85038
Igor Zelmanovich [Thu, 30 Aug 2007 08:31:00 +0000 (08:31 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed MaintainScrollPositionOnPostBack feature.
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
* webform.js: fixed MaintainScrollPositionOnPostBack feature.
svn path=/trunk/mcs/; revision=85037
Jb Evain [Wed, 29 Aug 2007 21:58:57 +0000 (21:58 -0000)]
fix the 2.1 build
svn path=/trunk/mcs/; revision=85032
Jonathan Pobst [Wed, 29 Aug 2007 21:37:57 +0000 (21:37 -0000)]
2007-08-29 Jonathan Pobst <monkey@jpobst.com>
* HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
2007-08-29 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Add HtmlElementErrorEventArgs.cs,
HtmlElementErrorEventHandler.cs.
svn path=/trunk/mcs/; revision=85031
Jonathan Pobst [Wed, 29 Aug 2007 21:00:55 +0000 (21:00 -0000)]
2007-08-29 Jonathan Pobst <monkey@jpobst.com>
* TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
Add (string,string,string) to implement the imagekey. It turns out, we
use the requested imagekey whereas .Net does not. So I broke ours to match
theirs. :(
svn path=/trunk/mcs/; revision=85029
Jonathan Pobst [Wed, 29 Aug 2007 19:52:59 +0000 (19:52 -0000)]
2007-08-29 Jonathan Pobst <monkey@jpobst.com>
* Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
svn path=/trunk/mcs/; revision=85026
Ivan Zlatev [Wed, 29 Aug 2007 19:19:04 +0000 (19:19 -0000)]
2007-08-29 Ivan N. Zlatev <contact@i-nz.net>
* ParentControlDesigner.cs: implemented.
* IUISelectionService.cs: implemented.
* WndProcRouter.cs: implemented.
* SelectionFrame.cs: implemented.
* ControlDesigner.cs: implemented.
* ControlDataObject.cs: implemented.
* ComponentTray.cs: implemented.
* ScrollableControlDesigner.cs: implemented.
* UISelectionService.cs: implemented.
* SplitContainerDesigner.cs: implemented.
* IMessageReceiver.cs: implemented.
* Native.cs: implemented.
* DocumentDesigner.cs: implemented.
* DefaultSerializationProviderAttribute.cs: implemented.
* ComponentSerializationService.cs: implemented.
* MemberRelationship.cs: implemented.
* SerializationStore.cs: implemented.
* DesignSurfaceManager.cs: implemented.
* DesignerEventService.cs: implemented.
* ComponentDesigner.cs: implemented.
* ActiveDesignSurfaceChangedEventHandler.cs: implemented.
* LoadedEventHandler.cs: implemented.
* DesignSurfaceCollection.cs: implemented.
* DesignerHost.cs: implemented.
* ExtenderService.cs: implemented.
* DesignModeSite.cs: implemented.
* SelectionService.cs: implemented.
* DesignSurfaceServiceContainer.cs: implemented.
* DesignerActionListCollection.cs: implemented.
* ActiveDesignSurfaceChangedEventArgs.cs: implemented.
* LoadedEventArgs.cs: implemented.
* TypeDescriptorFilterService.cs: implemented.
* ReferenceService.cs: implemented.
* DesignSurface.cs: implemented.
* DesignSurfaceEventHandler.cs: implemented.
* DesignModeNestedContainer.cs: implemented.
* EventBindingService.cs: implemented.
* DesignSurfaceEventArgs.cs: implemented.
* DesignerOptionService.cs: implemented.
* ITreeDesigner.cs: implemented.
* CodeDomComponentSerializationService.cs: implemented.
* CollectionCodeDomSerializer.cs: implemented.
* CodeDomDesignerLoader.cs: implemented.
* CodeDomSerializationProvider.cs: implemented.
* ComponentCodeDomSerializer.cs: implemented.
* RootContext.cs: implemented.
* BasicDesignerLoader.cs: implemented.
* DesignerSerializationManager.cs: implemented.
* EnumCodeDomSerializer.cs: implemented.
* SerializeAbsoluteContext.cs: implemented.
* MemberCodeDomSerializer.cs: implemented.
* PrimitiveCodeDomSerializer.cs: implemented.
* CodeDomSerializerBase.cs: implemented.
* CodeDomSerializer.cs: implemented.
* ExpressionContext.cs: implemented.
* EventCodeDomSerializer.cs: implemented.
* TypeCodeDomSerializer.cs: implemented.
* ObjectStatementCollection.cs: implemented.
* RootCodeDomSerializer.cs: implemented.
* PropertyCodeDomSerializer.cs: implemented.
* StatementContext.cs: implemented.
svn path=/trunk/mcs/; revision=85023
Jonathan Pobst [Wed, 29 Aug 2007 19:14:31 +0000 (19:14 -0000)]
2007-08-29 Jonathan Pobst <monkey@jpobst.com>
* ContainerControl.cs: Implement ValidateChildren and new Validate overload.
2007-08-29 Jonathan Pobst <monkey@jpobst.com>
* ContainerControlTest.cs: Added test for ValidateChildren.
svn path=/trunk/mcs/; revision=85022
Jonathan Chambers [Wed, 29 Aug 2007 19:03:09 +0000 (19:03 -0000)]
2007-08-29 Jonathan Chambers <joncham@gmail.com>
* marshal.c (cominterop_get_ccw): Walk up interface hierarchy
if interface is marked with CoClassAttribute.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=85021
Marek Habersack [Wed, 29 Aug 2007 18:52:18 +0000 (18:52 -0000)]
2007-08-29 Marek Habersack <mhabersack@novell.com>
* CachingCompiler.cs: consider contents of the
<compilation><assemblies> section when constructing a list of
assemblies during compilation.
svn path=/trunk/mcs/; revision=85020
Atsushi Eno [Wed, 29 Aug 2007 18:05:59 +0000 (18:05 -0000)]
2007-08-29 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources : added Win32NetworkInterfaceMarshal.cs.
* NetworkInterface.cs,
IPv4InterfaceStatistics.cs
IPInterfaceProperties.cs
IPv4InterfaceProperties.cs
IPv6InterfaceProperties.cs
IPAddressCollection.cs
GatewayIPAddressInformation.cs
GatewayIPAddressInformationCollection.cs
IPAddressInformation.cs
IPAddressInformationCollection.cs
MulticastIPAddressInformation.cs
MulticastIPAddressInformationCollection.cs
UnicastIPAddressInformation.cs
UnicastIPAddressInformationCollection.cs
Win32NetworkInterfaceMarshal.cs (new) :
NetworkInterface implementation using Win32 API.
Not sure how MIB-based implementation (for Linux) is possible but
it will follow.
svn path=/trunk/mcs/; revision=85018
Atsushi Eno [Wed, 29 Aug 2007 18:00:42 +0000 (18:00 -0000)]
2007-08-29 Atsushi Enomoto <atsushi@ximian.com>
* IPAddress.cs, IPv6Address.cs : (ToString) output ScopeId.
* IPAddressTest.cs : added an address with scope id to parse/format
test.
svn path=/trunk/mcs/; revision=85016
Paolo Molaro [Wed, 29 Aug 2007 17:02:14 +0000 (17:02 -0000)]
Wed Aug 29 19:27:07 CEST 2007 Paolo Molaro <lupus@ximian.com>
* sgen-gc.c: ensure no object from the to space is copied again or finalized
if it's seen twice in major collections.
svn path=/trunk/mono/; revision=85011
Gert Driesen [Wed, 29 Aug 2007 16:36:41 +0000 (16:36 -0000)]
* AssemblyBuilder.cs: In DefineIconResource, open icon in read-only
mode. Fixes bug #82617.
svn path=/trunk/mcs/; revision=85008
Paolo Molaro [Wed, 29 Aug 2007 16:22:57 +0000 (16:22 -0000)]
Wed Aug 29 18:46:49 CEST 2007 Paolo Molaro <lupus@ximian.com>
* sgen-gc.c: big objects are not copied to the gray area, but they
need to be considered for scanning, too, if they are brought alive
by an object ready for finalizations or a survived one.
svn path=/trunk/mono/; revision=85007
Paolo Molaro [Wed, 29 Aug 2007 16:17:57 +0000 (16:17 -0000)]
Wed Aug 29 18:43:11 CEST 2007 Paolo Molaro <lupus@ximian.com>
* sgen-gc.c: properly account the number of disappearing links when
they are nullified.
svn path=/trunk/mono/; revision=85006
Paolo Molaro [Wed, 29 Aug 2007 16:12:46 +0000 (16:12 -0000)]
Wed Aug 29 18:37:37 CEST 2007 Paolo Molaro <lupus@ximian.com>
* sgen-gc.c: share the code to scan the registered roots between the
different types of collections.
svn path=/trunk/mono/; revision=85005
Gert Driesen [Wed, 29 Aug 2007 16:08:02 +0000 (16:08 -0000)]
* FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
up-to-date. Fixes bug #82618.
svn path=/trunk/mcs/; revision=85003
Paolo Molaro [Wed, 29 Aug 2007 16:02:38 +0000 (16:02 -0000)]
Wed Aug 29 18:26:20 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini.h, inssel-float.brg: fix soft-float constant loads on big
endian systems (partially from Dean Jenkins, bug #81924).
svn path=/trunk/mono/; revision=85002
Marek Habersack [Wed, 29 Aug 2007 12:37:35 +0000 (12:37 -0000)]
2007-08-29 Marek Habersack <mhabersack@novell.com>
* TemplateBuilder.cs: check for and store for later use the
TemplateContainerAttribute. Added a nullable property
TemplateInstance to return the value of the attribute.
2007-08-29 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: mark fields corresponding to the
controls as global references.
When control tree is constructed and the parent of the current
builder is a TemplateBuilder marked with the TemplateInstance
attribute set to Single, use the control's ID as the field
name. This makes it possible to refer to controls inside templates
by name instead of by using FindControl.
svn path=/trunk/mcs/; revision=84996
Konstantin Triger [Wed, 29 Aug 2007 08:11:57 +0000 (08:11 -0000)]
fix compilation error with MS compiler
svn path=/trunk/mcs/; revision=84993
Vladimir Krasnov [Wed, 29 Aug 2007 07:51:52 +0000 (07:51 -0000)]
* Control.cs: optimized performance in InitControlsCache()
svn path=/trunk/mcs/; revision=84990
Everaldo Canuto [Wed, 29 Aug 2007 07:42:26 +0000 (07:42 -0000)]
2007-05-29 Everaldo Canuto <everaldo@simios.org>
* TextBoxBase.cs: Call CalculateDocument after changes Lines property to
reflect document changes. Fixes #82367.
svn path=/trunk/mcs/; revision=84989
Carlos Alberto Cortez [Wed, 29 Aug 2007 04:21:57 +0000 (04:21 -0000)]
2007-08-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Add/fix some override differences between 1.1 and 2.0,
as well as add new ones. This should make work the BackgroundImage
property for ListView again.
svn path=/trunk/mcs/; revision=84988
Jonathan Pobst [Wed, 29 Aug 2007 01:24:17 +0000 (01:24 -0000)]
2007-08-28 Jonathan Pobst <monkey@jpobst.com>
* DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
svn path=/trunk/mcs/; revision=84986
Marek Habersack [Tue, 28 Aug 2007 23:44:44 +0000 (23:44 -0000)]
2007-08-29 Marek Habersack <mhabersack@novell.com>
* ListControl.cs: do not perform data binding twice if
AppendDataBoundItems is true. Fixes bug #81146.
svn path=/trunk/mcs/; revision=84984
Jonathan Pobst [Tue, 28 Aug 2007 21:48:15 +0000 (21:48 -0000)]
2007-08-28 Jonathan Pobst <monkey@jpobst.com>
* Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
IsKeyLocked.
svn path=/trunk/mcs/; revision=84983
Jonathan Pobst [Tue, 28 Aug 2007 20:58:47 +0000 (20:58 -0000)]
2007-08-28 Jonathan Pobst <monkey@jpobst.com>
* Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
* XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
svn path=/trunk/mcs/; revision=84982
Jonathan Pobst [Tue, 28 Aug 2007 19:59:36 +0000 (19:59 -0000)]
Missed a file: RadioButtonPainter.cs. Fixes the build.
svn path=/trunk/mcs/; revision=84979
Jonathan Pobst [Tue, 28 Aug 2007 18:41:11 +0000 (18:41 -0000)]
2007-08-28 Jonathan Pobst <monkey@jpobst.com>
* RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
* Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
2007-08-28 Jonathan Pobst <monkey@jpobst.com>
* ThemeElementsDefault.cs: Add accessor for RadioButtonPainter.
2007-08-28 Jonathan Pobst <monkey@jpobst.com>
* RadioButtonPainter.cs: Added.
2007-08-28 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Add RadioButtonPainter.cs.
svn path=/trunk/mcs/; revision=84970
Jb Evain [Tue, 28 Aug 2007 15:18:41 +0000 (15:18 -0000)]
2007-08-28 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Mdb/MdbWriter.cs:
Rewrite variables infos.
svn path=/trunk/mcs/; revision=84961
Zoltan Varga [Tue, 28 Aug 2007 15:08:49 +0000 (15:08 -0000)]
2007-08-28 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunModuleConstructor): New icall.
svn path=/trunk/mono/; revision=84959
Zoltan Varga [Tue, 28 Aug 2007 15:07:43 +0000 (15:07 -0000)]
2007-08-28 Zoltan Varga <vargaz@gmail.com>
* RuntimeHelpers.cs: Implement RunModuleConstructor ().
svn path=/trunk/mcs/; revision=84958
Zoltan Varga [Tue, 28 Aug 2007 15:05:30 +0000 (15:05 -0000)]
2007-08-28 Zoltan Varga <vargaz@gmail.com>
* DateTime.cs: Fix a warning.
svn path=/trunk/mcs/; revision=84957
Jb Evain [Tue, 28 Aug 2007 15:05:19 +0000 (15:05 -0000)]
2007-08-28 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Cil/CodeWriter.cs
Mono.Cecil/ReflectionWriter.cs
Mono.Cecil.Cil/SymbolStoreHelper.cs
Mono.Cecil.Signatures/SignatureWriter.cs:
Generate proper variables signatures for symbols
stores.
svn path=/trunk/mcs/; revision=84956
Marek Habersack [Tue, 28 Aug 2007 13:57:11 +0000 (13:57 -0000)]
reformatting
svn path=/trunk/mcs/; revision=84952
Marek Habersack [Tue, 28 Aug 2007 13:50:25 +0000 (13:50 -0000)]
2007-08-28 Marek Habersack <mhabersack@novell.com>
* Page.cs: The following property values are returned from cached
fields instead of looking them up on Context: Application,
Response, Request, Cache (as determined by the tests).
Added a backing field for the Session property.
Session doesn't throw an exception when Context is null - it
silently ignores it and throws a session not available exception.
_context is never used directly, the Context property is used
instead. Fixes bug #82606
2007-08-28 Marek Habersack <mhabersack@novell.com>
* PageTest.cs: added tests for exceptions that should be thrown
when the following properties are accessed from a Page descendant
that overrides the Context property: Response, Cache, Session. The
Application property test was also added, to check if it is
properly set to null when no request has been served by the page.
svn path=/trunk/mcs/; revision=84951
Zoltan Varga [Tue, 28 Aug 2007 12:48:36 +0000 (12:48 -0000)]
2007-08-28 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_proxy_vtable): Use max_interface_id instead of
class->max_interface_id in a one place. Fixes transparentproxy.exe test on ia64.
svn path=/trunk/mono/; revision=84948
Rolf Bjarne Kvinge [Tue, 28 Aug 2007 12:45:03 +0000 (12:45 -0000)]
* build-csproj2k5: Add Mono.Mozilla as a reference.
* SWF2k5.csproj: Updated.
svn path=/trunk/mcs/; revision=84947
Ivan Zlatev [Tue, 28 Aug 2007 12:10:40 +0000 (12:10 -0000)]
2007-08-27 Ivan N. Zlatev <contact@i-nz.net>
* CursorConverter.cs: Implement conversion to
InstanceDescriptor.
svn path=/trunk/mcs/; revision=84946
Konstantin Triger [Tue, 28 Aug 2007 11:13:57 +0000 (11:13 -0000)]
update project file with recent changes
svn path=/trunk/mcs/; revision=84941