Rodrigo Kumpera [Thu, 13 Dec 2007 21:26:33 +0000 (21:26 -0000)]
2007-12-13 Rodrigo Kumpera <rkumpera@novell.com>
* verify.h: new flags to support fail fast of unverifiable code and
do non-strict verification. Non-strict verification is required to
have MS runtime compatibility. There are a huge amount of unverifiable
code that it accepts as verifiable. The strict mode verifies the code
as the specs says.
Non-strict mode will be required in cases where code needs to be
accepted as verifiable but fails under strict mode.
* pedump.c: added support to fail fast and non-strict verification.
* verify.c: added support for both fail fast and non-strict verification.
svn path=/trunk/mono/; revision=91253
Jonathan Pobst [Thu, 13 Dec 2007 20:04:14 +0000 (20:04 -0000)]
2007-12-13 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Perform our layout after we resize ourselves
if we had to adjust our AutoSize. Missed commit for bug
#346246.
svn path=/trunk/mcs/; revision=91251
Jonathan Pobst [Thu, 13 Dec 2007 17:36:25 +0000 (17:36 -0000)]
2007-12-13 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutPanel.cs: Override GetPreferredSizeCore so
we can provide an implementation of AutoSize.
[Fixes bug #346246]
2007-12-13 Jonathan Pobst <monkey@jpobst.com>
* TableLayout.cs: Use ExplicitBounds so that we get the user requested
size, not the AutoSize/Dock size. Make CalculateControlPositions
internal so that TableLayoutPanel can call it.
[Fixes bug #346246]
2007-12-13 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutTest.cs: Add tests for bug #346246.
svn path=/trunk/mcs/; revision=91245
Marek Habersack [Thu, 13 Dec 2007 15:38:53 +0000 (15:38 -0000)]
2007-12-13 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs, AspComponentFoundry.cs,
AssemblyBuilder.cs, AppResourcesCompiler.cs,
AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* MailAddress.cs, SmtpClient.cs, MailMessageWrapper.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
speed optimization - use String.Concat instead of String.Format in
some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* FileMatchingInfo.cs. MachineKeyRegistryStorage.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
svn path=/trunk/mcs/; revision=91234
Marek Habersack [Thu, 13 Dec 2007 13:50:10 +0000 (13:50 -0000)]
2007-12-13 Marek Habersack <mhabersack@novell.com>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
Page.cs: speed optimization - use String.Concat instead of
String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* Menu.cs, TreeView.cs: optimize use of String.Format in
OnPreRender.
Speed optimization - use String.Concat instead of String.Format in
some cases.
* GridView.cs, DetailsView.cs: optimize use of String.Format in
OnPreRender.
* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
optimization - use String.Concat instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* AssemblyResourceLoader.cs: speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* SessionId.cs:
speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
use String.Concat instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* ApplicationManager.cs, ApplicationHost.cs,
DefaultVirtualPathProvider.cs: speed optimization - use
String.Concat instead of String.Format in some cases.
svn path=/trunk/mcs/; revision=91230
Vladimir Krasnov [Thu, 13 Dec 2007 12:02:27 +0000 (12:02 -0000)]
* ImageCodec.jvm.cs: fixed bitmap resolution
svn path=/trunk/mcs/; revision=91222
Noam Lampert [Thu, 13 Dec 2007 12:01:56 +0000 (12:01 -0000)]
Build java configuration using RT of JRE 1.4.2 for support of older java systems
svn path=/trunk/mcs/; revision=91221
Igor Zelmanovich [Thu, 13 Dec 2007 09:08:54 +0000 (09:08 -0000)]
2007-12-13 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs:
* HttpContext.cs:
* HttpRequest.cs:
* HttpServerUtility.cs:
- When Transfer/Execute is called with preserveForm=true, transferred
page is not processed as PostBack but form collection is preserved.
- When Execute is called more than once, PreviousPage property is set
correct.
2007-12-13 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
- When Transfer/Execute is called with preserveForm=true, transferred
page is not processed as PostBack but form collection is preserved.
- When Execute is called more than once, PreviousPage property is set
correct.
svn path=/trunk/mcs/; revision=91202
Vladimir Krasnov [Thu, 13 Dec 2007 08:43:09 +0000 (08:43 -0000)]
* Menu.cs: fixed rendering without head tag on page
svn path=/trunk/mcs/; revision=91201
Geoff Norton [Thu, 13 Dec 2007 01:49:56 +0000 (01:49 -0000)]
i007-12-11 Geoff Norton <gnorton@novell.com>
* mini-s390x.c: Minor change to the MAX() define to allow
it to compile with other gcc versions.
svn path=/trunk/mono/; revision=91193
Carlos Alberto Cortez [Thu, 13 Dec 2007 01:02:09 +0000 (01:02 -0000)]
2007-12-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: Add the internal overload Sort (bool paint),
to indicate whether we actually need a paint or we will
call Refresh ourselves. This way we don't request a paint
_before_ having an updated and valid layout.
Fixes #347233.
svn path=/trunk/mcs/; revision=91191
Andreia Gaita [Wed, 12 Dec 2007 22:33:34 +0000 (22:33 -0000)]
* XPlatUIX11.cs: Send paint messages when updating a systray icon
* NotifyIcon.cs: Invalidate the window before doing a systray change so it is
properly invalidated.
Fixes #324237
2007-12-12 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=91183
Rodrigo Kumpera [Wed, 12 Dec 2007 19:38:37 +0000 (19:38 -0000)]
2007-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (is_correct_endfinally): added.
* verify.c (mono_method_verify): property verification of endfinally.
svn path=/trunk/mono/; revision=91176
Carlos Alberto Cortez [Wed, 12 Dec 2007 19:37:04 +0000 (19:37 -0000)]
2007-12-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: When using a .ctor taking a ListViewGroup,
don't simply assign it to our internal group field, but instead
use our Group property, which should do all the neccessary work
required to support groups. Fixes an issue reported to me (mail) by a
guy using this new feature.
svn path=/trunk/mcs/; revision=91175
Jonathan Pobst [Wed, 12 Dec 2007 19:32:32 +0000 (19:32 -0000)]
2007-12-11 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Use Scale instead of ScaleControl to ensure the
whole hierarchy gets scaled.
[Fixes bug #347282]
2007-12-11 Jonathan Pobst <monkey@jpobst.com>
* ControlTest.cs: Add a test for bug #347282.
svn path=/trunk/mcs/; revision=91174
Rodrigo Kumpera [Wed, 12 Dec 2007 19:26:40 +0000 (19:26 -0000)]
2007-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_filter_ends_at_endfilter_1.il: tests if the
filter block is limited by the start of the associated
handler clause or it is limited by the ocurrence of
endfilter. These 3 tests show that even if the endfilter
instruction must be the last, it doesn't define the end
of the filter block.
* invalid_filter_ends_at_endfilter_2.il: same
* invalid_filter_ends_at_endfilter_3.il: same
* make_test.sh: added tests for endfinally / endfault
* make_endfinally_test.sh: new test generator
svn path=/trunk/mono/; revision=91173
Jb Evain [Wed, 12 Dec 2007 18:20:54 +0000 (18:20 -0000)]
add test
svn path=/trunk/mcs/; revision=91166
Rodrigo Kumpera [Wed, 12 Dec 2007 18:20:04 +0000 (18:20 -0000)]
* verify.c (in_any_block): check for filter clauses.
* verify.c (is_correct_rethrow): added.
* verify.c (mono_method_verify): property verification of rethrow.
* metadata.h: added MONO_OFFSET_IN_FILTER macro.
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=91165
Jb Evain [Wed, 12 Dec 2007 18:17:55 +0000 (18:17 -0000)]
add test
svn path=/trunk/mcs/; revision=91164
Marek Habersack [Wed, 12 Dec 2007 17:05:14 +0000 (17:05 -0000)]
2007-12-12 Marek Habersack <mhabersack@novell.com>
* SettingsMappingManager.cs: use the 'settings.map.config' name
for the application-specific mapper configuration. This ensures
that the file won't be downloadable on systems which don't support
the mapping feature without the need to add the extra handler
entry to the app's Web.config file. Thanks to Joe Audette for the
idea.
svn path=/trunk/mcs/; revision=91160
Jb Evain [Wed, 12 Dec 2007 15:15:27 +0000 (15:15 -0000)]
remove non sensical code
svn path=/trunk/mcs/; revision=91155
Marek Habersack [Wed, 12 Dec 2007 13:15:12 +0000 (13:15 -0000)]
2007-12-12 Marek Habersack <mhabersack@novell.com>
* WebClient.cs: DownloadProgressChanged is available only in the
2.0+ profiles
svn path=/trunk/mcs/; revision=91152
Vladimir Krasnov [Wed, 12 Dec 2007 12:01:35 +0000 (12:01 -0000)]
* ProfileParser.jvm.cs: Profile types loading optimized
svn path=/trunk/mcs/; revision=91148
Jb Evain [Wed, 12 Dec 2007 10:32:35 +0000 (10:32 -0000)]
extract checks
svn path=/trunk/mcs/; revision=91146
Jb Evain [Wed, 12 Dec 2007 10:29:25 +0000 (10:29 -0000)]
delete
svn path=/trunk/mcs/; revision=91145
Miguel de Icaza [Wed, 12 Dec 2007 05:24:52 +0000 (05:24 -0000)]
2007-12-12 Miguel de Icaza <miguel@novell.com>
* WebClient.cs (DownloadFileCore): use longs for the
ContentLength, although the other code (loading into a byte array,
or a string) still uses ints, the DownloadFileCore should not.
2007-12-11 Miguel de Icaza <miguel@novell.com>
* WebClient.cs:
Lots of fixes to get the *Async methods to work.
* WebClient.cs: async, new boolean flag, used to track whether we
are an async invocation, and if so, we need to invoke some
methods.
Switch to using System.Threading.Thread instead of the ThreadPool
as there is no way with the ThreadPool to abort threads (to
implemente CancelAsync).
(CompleteAsync): Helper method used to clear the state after an
async operation completes, otherwise the WebClient can only be
used once.
(CancelAsync): Use Thread.Interrupt to signal the thread that we
are aborting it (it is a lot milder than Thread.Abort, and we are
in no rush to cancel this anyways); Also the documentation states
that we need to call the WebRequest.Abort method, so we do that in
every Download instance.
(DownloadDataAsync, DownloadFileAsync, DownloadStringAsync,
OpenReadAsync, OpenWriteAsync, UplaodDataAsync, UploadFileAsync,
UploadStringAsync): Make signature parameters match MS; use
threads instead of threadpool (so we can implement CancelAsync),
catch ThreadAbortException here so we can also raise the proper
DownloadDataCompleteEventArgs.
These routines will also call the WebRequest.Abort when
appropriate when ThreadInterrupted is used.
(ReadAll): Raise DownloadProgressChanged events.
svn path=/trunk/mcs/; revision=91142
Miguel de Icaza [Wed, 12 Dec 2007 04:48:09 +0000 (04:48 -0000)]
2007-12-12 Miguel de Icaza <miguel@novell.com>
* statement.cs (Throw.CloneTo): it is valid to have empty
expressions for throw.
svn path=/trunk/mcs/; revision=91141
Miguel de Icaza [Wed, 12 Dec 2007 04:48:02 +0000 (04:48 -0000)]
Add new test
svn path=/trunk/mcs/; revision=91140
Geoff Norton [Wed, 12 Dec 2007 04:36:34 +0000 (04:36 -0000)]
2007-12-11 Geoff Norton <gnorton@novell.com>
* cpu-s390x.md:
* mini-s390x.c: Implement sext_i4 to fix the build on s390x
svn path=/trunk/mono/; revision=91139
Jonathan Pobst [Wed, 12 Dec 2007 03:17:20 +0000 (03:17 -0000)]
Don't use Unicode encoding.
svn path=/trunk/mcs/; revision=91137
Rodrigo Kumpera [Wed, 12 Dec 2007 00:46:59 +0000 (00:46 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for rethrow
* make_rethrow_test.sh: new test generator
svn path=/trunk/mono/; revision=91135
Rodrigo Kumpera [Tue, 11 Dec 2007 22:23:02 +0000 (22:23 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_throw): added.
* verify.c (mono_method_verify): property verification of throw
svn path=/trunk/mono/; revision=91132
Jonathan Pobst [Tue, 11 Dec 2007 21:25:40 +0000 (21:25 -0000)]
2007-12-10 Jonathan Pobst <monkey@jpobst.com>
* ToolStripManagerTest.cs: Add a test for bug #347669.
svn path=/trunk/mcs/; revision=91131
Jonathan Pobst [Tue, 11 Dec 2007 19:17:16 +0000 (19:17 -0000)]
2007-12-10 Jonathan Pobst <monkey@jpobst.com>
* DateTimePicker.cs: Don't set the internal MonthCalendar's
Parent property. Doing this causes the control to be hosted by
the Form instead of being a popup window.
[Fixes bug #347665]
svn path=/trunk/mcs/; revision=91129
Jonathan Pobst [Tue, 11 Dec 2007 17:08:34 +0000 (17:08 -0000)]
2007-12-10 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItemCollection.cs: If we try to insert a ToolStripItem
at an index higher than Count, just use Add instead of Insert.
[Fixes bug #347669]
svn path=/trunk/mcs/; revision=91123
Zoltan Varga [Tue, 11 Dec 2007 16:05:20 +0000 (16:05 -0000)]
2007-12-11 Zoltan Varga <vargaz@gmail.com>
* AppDomainTest.cs: Add test for reflection only assembly resolve events.
svn path=/trunk/mcs/; revision=91120
Zoltan Varga [Tue, 11 Dec 2007 15:57:56 +0000 (15:57 -0000)]
2007-12-11 Zoltan Varga <vargaz@gmail.com>
* AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
reflection-only assembly resolve hook.
svn path=/trunk/mcs/; revision=91119
Zoltan Varga [Tue, 11 Dec 2007 15:56:25 +0000 (15:56 -0000)]
2007-12-11 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_reference): Try an assembly resolve for ref-only
assemblies. Fixes #346425.
svn path=/trunk/mono/; revision=91118
Marek Habersack [Tue, 11 Dec 2007 15:31:09 +0000 (15:31 -0000)]
2007-12-11 Marek Habersack <mhabersack@novell.com>
* SettingsMappingManager.cs: made the class public - it is
required for user-defined mappers to work.
Added a new property, Platform, which specifies the platform we're
running on. Platform check is now done only on initialization
time.
LoadMappings considers only the mappings which apply to the
current platform. Other entries are not loaded.
* SettingsMapping.cs: made the class public.
* SettingsMappingWhat.cs: made the class public.
* ISectionSettingsMapper.cs: made the interface public.
svn path=/trunk/mcs/; revision=91112
Jonathan Pobst [Tue, 11 Dec 2007 15:27:59 +0000 (15:27 -0000)]
2007-12-10 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Don't draw a PictureBox's background in
DrawPictureBox, this is handled by Control.PaintBackground.
[Fixes bug #347276]
svn path=/trunk/mcs/; revision=91111
Vladimir Krasnov [Tue, 11 Dec 2007 15:22:14 +0000 (15:22 -0000)]
* Bitmap.jvm.cs: ArgumentException on unknown format from stream
svn path=/trunk/mcs/; revision=91108
Rodrigo Kumpera [Tue, 11 Dec 2007 15:13:52 +0000 (15:13 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for throw
* make_throw_test.sh: new test generator
svn path=/trunk/mono/; revision=91103
Arina Itkes [Tue, 11 Dec 2007 14:16:19 +0000 (14:16 -0000)]
Visual Studio project file to the assembly
svn path=/trunk/mcs/; revision=91096
Vladimir Krasnov [Tue, 11 Dec 2007 13:59:13 +0000 (13:59 -0000)]
* SiteMapSection.cs: fixed ProvidersInternal property to be thread safe
* ProfileManager.cs: fixed Providers property to be thread safe
* Roles.cs: fixed Providers property to be thread safe
svn path=/trunk/mcs/; revision=91095
Arina Itkes [Tue, 11 Dec 2007 13:34:23 +0000 (13:34 -0000)]
Remove extra references.
svn path=/trunk/mcs/; revision=91091
Arina Itkes [Tue, 11 Dec 2007 13:26:45 +0000 (13:26 -0000)]
Visual Studio project file for the assembly.
svn path=/trunk/mcs/; revision=91090
Rodrigo Kumpera [Tue, 11 Dec 2007 13:13:35 +0000 (13:13 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
exceptions-arm.c (mono_arch_get_restore_context): Restore
the frame pointer.
exceptions-arm.c (throw_exception): Save the frame pointer.
This is a partial fix for #323747. Only the client side is
fixed.
svn path=/trunk/mono/; revision=91089
Rodrigo Kumpera [Tue, 11 Dec 2007 13:10:05 +0000 (13:10 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (mono_method_to_ir): Verbose message in CEE_NEWOBJ
was using an unrelated variable to log the class which
needed the cctor to be called. This was crashing on arm.
svn path=/trunk/mono/; revision=91088
Igor Zelmanovich [Tue, 11 Dec 2007 10:14:57 +0000 (10:14 -0000)]
fixed test
svn path=/trunk/mcs/; revision=91079
Igor Zelmanovich [Tue, 11 Dec 2007 09:55:40 +0000 (09:55 -0000)]
added if #TARGET_JVM
svn path=/trunk/mcs/; revision=91076
Vladimir Krasnov [Tue, 11 Dec 2007 08:57:00 +0000 (08:57 -0000)]
* ProtocolReflector.cs: fixed ImportBinding method, ports with the same name declaration when non-default binding used, #345449
* TypeStubManager.cs: fixed TypeStubInfo ctor, default binding name is wrong, when declared in WebServiceBindingAttribute, but not used. fixes #345448
svn path=/trunk/mcs/; revision=91075
Everaldo Canuto [Tue, 11 Dec 2007 07:53:33 +0000 (07:53 -0000)]
2007-12-10 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: When process menu keys return true by default only if menu is
active. Fixes bug #342892.
svn path=/trunk/mcs/; revision=91073
Miguel de Icaza [Mon, 10 Dec 2007 22:45:06 +0000 (22:45 -0000)]
07-12-10 Miguel de Icaza <miguel@novell.com>
* DefaultTraceListener.cs: By default set the AssertUiEnabled to
false, as this is what we had previously and some broken
applications (Tomboy) are too trigger happy with Debug.Assert.
Also, we now load the Windows.Forms code on demand, instead of
preloading it on the static ctor to reduce memory usage.
svn path=/trunk/mcs/; revision=91070
Zoltan Varga [Mon, 10 Dec 2007 21:26:16 +0000 (21:26 -0000)]
2007-12-10 Zoltan Varga <vargaz@gmail.com>
* ModuleBuilderTest.cs: Simplify some code. Add tests for ResolveField ()
and FieldBuilders.
svn path=/trunk/mcs/; revision=91067
Zoltan Varga [Mon, 10 Dec 2007 21:24:33 +0000 (21:24 -0000)]
2007-12-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_get_token): Call mono_image_create_token () for
FieldBuilders.
* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor): Fix a warning.
* class.c (mono_lookup_dynamic_token_class): Add a 'valid token' argument to
prevent asserts when this is called with a token which might not be valid.
* icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): Call
lookup_dynamic_token_class with valid_token == FALSE.
* icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken): Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveStringToken): Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.
svn path=/trunk/mono/; revision=91066
Zoltan Varga [Mon, 10 Dec 2007 21:24:08 +0000 (21:24 -0000)]
2007-12-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_get_token): Call mono_image_create_token () for
FieldBuilders.
* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor): Fix a warning.
* class.c (mono_lookup_dynamic_token_class): Add a 'valid token' argument to
prevent asserts when this is called with a token which might not be valid.
* icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): Call
lookup_dynamic_token_class with valid_token == FALSE.
* icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken): Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveStringToken): Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.
svn path=/trunk/mono/; revision=91065
Zoltan Varga [Mon, 10 Dec 2007 21:18:37 +0000 (21:18 -0000)]
2007-12-10 Zoltan Varga <vargaz@gmail.com>
* FieldBuilder.cs (GetToken): Use the MetadataToken property.
svn path=/trunk/mcs/; revision=91064
Stephane Delcroix [Mon, 10 Dec 2007 16:46:16 +0000 (16:46 -0000)]
2007-12-10 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffset.cs: partial implementation. no longer just a stub.
svn path=/trunk/mcs/; revision=91050
Mark Probst [Mon, 10 Dec 2007 11:24:21 +0000 (11:24 -0000)]
2007-12-10 Mark Probst <mark.probst@gmail.com>
* gc.c: Don't delay threadpool thread finalization unless Mono is
shutting down.
svn path=/trunk/mono/; revision=91040
Andreia Gaita [Mon, 10 Dec 2007 11:07:22 +0000 (11:07 -0000)]
* PrintingServicesWin32.cs: Add enumeration flag to get remote
printers as well as locally connected ones. Fixes #325258
2007-12-10 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=91039
Paolo Molaro [Mon, 10 Dec 2007 09:38:25 +0000 (09:38 -0000)]
Mon Dec 10 11:06:23 CET 2007 Paolo Molaro <lupus@ximian.com>
* threads.c: turn an assert into a non-fatal warning.
svn path=/trunk/mono/; revision=91033
Paolo Molaro [Mon, 10 Dec 2007 09:24:54 +0000 (09:24 -0000)]
Clarify that MONO_GENERIC_SHARING is completely unsupported
and should not be used.
svn path=/trunk/mono/; revision=91031
Andreia Gaita [Sun, 9 Dec 2007 19:07:22 +0000 (19:07 -0000)]
* Control.cs: check if windows are actually mapped before
trying to zorder. Fixes #342509, #346955
2007-12-09 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=91008
Robert Jordan [Sun, 9 Dec 2007 17:43:59 +0000 (17:43 -0000)]
In mono/mini:
2007-12-09 Robert Jordan <robertj@gmx.net>
* mini-x86.c (mono_arch_emit_epilog):
Consider all kinds of 64-bit types. Fixes #323114.
In mono/tests:
2007-12-09 Robert Jordan <robertj@gmx.net>
* bug-323114.cs: Add test case for #323114.
svn path=/trunk/mono/; revision=91007
Robert Jordan [Sun, 9 Dec 2007 14:56:05 +0000 (14:56 -0000)]
2007-12-09 Robert Jordan <robertj@gmx.net>
* icall.c (GetVirtualMethod): Add missing argument validation.
svn path=/trunk/mono/; revision=91004
Robert Jordan [Sun, 9 Dec 2007 14:52:58 +0000 (14:52 -0000)]
2007-12-04 Robert Jordan <robertj@gmx.net>
* MethodCall.cs (ResolveMethod): Handle server objects registered
with RemotingServices.Marshal (obj, typeof (ISomeInterface)).
Fixes #324232. Test case: /trunk/gert/standalone/bug82302/.
svn path=/trunk/mcs/; revision=91003
Vladimir Krasnov [Sun, 9 Dec 2007 14:28:39 +0000 (14:28 -0000)]
* HttpApplication.cs: added TARGET_JVM to LoadType method
svn path=/trunk/mcs/; revision=91002
Konstantin Triger [Sun, 9 Dec 2007 08:58:57 +0000 (08:58 -0000)]
TARGET_JVM: do not use the SettingsMappingManager
svn path=/trunk/mcs/; revision=90998
Noam Lampert [Sun, 9 Dec 2007 08:00:03 +0000 (08:00 -0000)]
Fix compilation errors in java build
svn path=/trunk/mcs/; revision=90997
Gert Driesen [Sat, 8 Dec 2007 16:02:41 +0000 (16:02 -0000)]
* LocalFileEventLog.cs: To allow entry to be fully written before
attempting to read it, added small sleep period in the Created event
of the FSW.
svn path=/trunk/mcs/; revision=90994
Zoltan Varga [Sat, 8 Dec 2007 14:30:34 +0000 (14:30 -0000)]
2007-12-08 Zoltan Varga <vargaz@gmail.com>
* processes.c: Include sys/mkdev.h if exists. Fixes solaris x86 build.
svn path=/trunk/mono/; revision=90992
Zoltan Varga [Sat, 8 Dec 2007 14:29:44 +0000 (14:29 -0000)]
2007-12-08 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add check for sys/mkdev.h.
svn path=/trunk/mono/; revision=90991
Zoltan Varga [Sat, 8 Dec 2007 13:56:01 +0000 (13:56 -0000)]
2007-12-08 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_create_trampoline_code): Clean up the code a bit.
svn path=/trunk/mono/; revision=90990
Carlos Alberto Cortez [Sat, 8 Dec 2007 01:54:36 +0000 (01:54 -0000)]
2007-12-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs:
* ListViewInsertionMark.cs:
* ThemeWin32Classic.cs: Implement the drawing side of the
new 2.0 ListView.InsertionMark property.
svn path=/trunk/mcs/; revision=90984
Marek Habersack [Sat, 8 Dec 2007 00:59:10 +0000 (00:59 -0000)]
2007-12-08 Marek Habersack <mhabersack@novell.com>
* Makefile (common_dirs): Mono.Data.Sqlite must be built before
System.Web.
svn path=/trunk/mcs/; revision=90980
Marek Habersack [Sat, 8 Dec 2007 00:41:54 +0000 (00:41 -0000)]
More documentation on the new features will follow on the web.
2007-12-08 Marek Habersack <mhabersack@novell.com>
* mono.1: added short documentation about the
MONO_ASPNET_INHIBIT_SETTINGSMAP environment variable.
svn path=/trunk/mono/; revision=90979
Marek Habersack [Sat, 8 Dec 2007 00:34:45 +0000 (00:34 -0000)]
2007-12-08 Marek Habersack <mhabersack@novell.com>
* Makefile
Added a RESX_DIST variable which contains all the .resx files. The
variable is used by RESX_RES and by EXTRA_DISTFILES
svn path=/trunk/mcs/; revision=90978
Marek Habersack [Fri, 7 Dec 2007 23:54:56 +0000 (23:54 -0000)]
don't add the same section twice to the dictionary
svn path=/trunk/mcs/; revision=90974
Marek Habersack [Fri, 7 Dec 2007 23:26:18 +0000 (23:26 -0000)]
2007-12-08 Marek Habersack <mhabersack@novell.com>
* TranslationResources.resx: added - string resources for the
Sqlite providers.
2007-12-08 Marek Habersack <mhabersack@novell.com>
* SQLiteProviders_DatabaseSchema.sql: added
* Makefile: added support for compiling .resx resources.
Added SQLiteProviders_DatabaseSchema.sql to EXTRA_DISTFILES.
Added new resource files to EXTRA_DISTFILES
2007-12-08 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: initialize the Settings Mapping Manager once per
application, just after initalizing the WebConfigurationManager
2007-12-08 Marek Habersack <mhabersack@novell.com>
* SqliteProfileProvider.cs: added - a Profile Provider for
Sqlite, based on PostgreSQL Profile Provider code from Daniel
Nauck <dna@informatik.uni-kiel.de>
2007-12-08 Marek Habersack <mhabersack@novell.com>
* TranslationProperties.Designer.cs: added - contains strongly
typed properties referring to string resources used by the Sqlite
providers.
2007-12-08 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: GetSection now runs each section
through a mapper (if any is defined for the section) before
returning it to the caller.
2007-12-08 Marek Habersack <mhabersack@novell.com>
* SqliteRoleProvider.cs: added - a Role Provider for
Sqlite, based on PostgreSQL Role Provider code from Daniel
Nauck <dna@informatik.uni-kiel.de>
* SqliteMembershipProvider.cs: added - a Membership Provider for
Sqlite, based on PostgreSQL Membership Provider code from Daniel
Nauck <dna@informatik.uni-kiel.de>
2007-12-08 Marek Habersack <mhabersack@novell.com>
* SerializationHelper.cs: added - serialization helper for the
Sqlite Profile Provider.
* RoleManagerSectionMapper.cs: added - section settings mapper for
the RoleManager section.
* MembershipSectionMapper.cs: added - section settings mapper for
the Membership section.
* ISectionSettingsMapper.cs: added - interface definition for
section settings mappers.
* SettingsMappingWhat.cs: added - describes a single 'what' tag
instance inside the mapper definition in the settings.map file.
* SettingsMapping.cs: added - represents a single mapper entry in
the settings.map file.
* SettingsMappingManager.cs: added - manages settings mapping as
defined in the settings.map file.
svn path=/trunk/mcs/; revision=90972
Marek Habersack [Fri, 7 Dec 2007 23:10:07 +0000 (23:10 -0000)]
2007-12-08 Marek Habersack <mhabersack@novell.com>
* machine.config: updated the LocalSqlServer connection string to
match MS.NET and added a new connection string, LocalSqliteServer,
to be used by default on Unix.
Updated the AspNetSqlMembershipProvider definition to match
MS.NET.
* settings.map: added
* Makefile.am: added settings.map
svn path=/trunk/mono/; revision=90970
Marek Habersack [Fri, 7 Dec 2007 23:00:35 +0000 (23:00 -0000)]
2007-12-08 Marek Habersack <mhabersack@novell.com>
* data/config.xml: added a feature to protect the 'settings.map'
file from download, if used by the application.
svn path=/trunk/mcs/; revision=90969
Rodrigo Kumpera [Fri, 7 Dec 2007 22:05:56 +0000 (22:05 -0000)]
2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_cast): added.
* verify.c (mono_method_verify): property verification of castclass and isinst.
svn path=/trunk/mono/; revision=90966
Rodrigo Kumpera [Fri, 7 Dec 2007 22:03:22 +0000 (22:03 -0000)]
* make_test.sh: added tests for castclass and isinst
* make_cast_test.sh: new test generator
2007-12-07 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=90965
Zoltan Varga [Fri, 7 Dec 2007 21:30:40 +0000 (21:30 -0000)]
2007-12-07 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (peephole_pass): Add a missing instruction check.
svn path=/trunk/mono/; revision=90962
Paolo Molaro [Fri, 7 Dec 2007 20:43:57 +0000 (20:43 -0000)]
Test for bug #342507.
svn path=/trunk/mono/; revision=90960
Paolo Molaro [Fri, 7 Dec 2007 20:43:27 +0000 (20:43 -0000)]
Fri Dec 7 22:08:23 CET 2007 Paolo Molaro <lupus@ximian.com>
* mini.c: run type ctor before allocating an object, not only
when running it's constructor method (fixes at least part of bug #342507).
svn path=/trunk/mono/; revision=90959
Jonathan Pobst [Fri, 7 Dec 2007 18:48:44 +0000 (18:48 -0000)]
2007-12-07 Jonathan Pobst <monkey@jpobst.com>
* DataBindingTests.cs: Silence some debug spew.
svn path=/trunk/mcs/; revision=90957
Jonathan Pobst [Fri, 7 Dec 2007 18:46:04 +0000 (18:46 -0000)]
2007-12-07 Jonathan Pobst <monkey@jpobst.com>
* CurrencyManager.cs: Silence some debug spew.
svn path=/trunk/mcs/; revision=90956
Zoltan Varga [Fri, 7 Dec 2007 17:44:56 +0000 (17:44 -0000)]
2007-12-07 Zoltan Varga <vargaz@gmail.com>
* pinvoke2.cs: Fix the names of two tests.
svn path=/trunk/mono/; revision=90951
Zoltan Varga [Fri, 7 Dec 2007 15:52:21 +0000 (15:52 -0000)]
2007-12-07 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_delegate_trampoline): Fix a warning.
svn path=/trunk/mono/; revision=90948
Zoltan Varga [Fri, 7 Dec 2007 15:49:59 +0000 (15:49 -0000)]
2007-12-07 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_generic_class_init_trampoline): Remove a debug printf.
svn path=/trunk/mono/; revision=90947
Zoltan Varga [Fri, 7 Dec 2007 15:47:37 +0000 (15:47 -0000)]
2007-12-07 Zoltan Varga <vargaz@gmail.com>
* mini.h mini-amd64.c mini-x86.c: Get rid of the mono_arch_find_vtable ()
function.
* tramp-x86.c tramp-amd64.c mini-trampolines.c: Pass the vtable argument to
mono_generic_class_init_trampoline () the same as it is done with the other
trampolines.
svn path=/trunk/mono/; revision=90946
Rodrigo Kumpera [Fri, 7 Dec 2007 15:44:25 +0000 (15:44 -0000)]
2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_type_from_opcode): added opcodes for stelem.X.
* verify.c (do_stelem): added.
* verify.c (mono_method_verify): property verification of stelem.X.
svn path=/trunk/mono/; revision=90944
Mark Probst [Fri, 7 Dec 2007 15:43:48 +0000 (15:43 -0000)]
2007-12-07 Mark Probst <mark.probst@gmail.com>
* mono.1: Added a short paragraph on the MONO_GENERIC_SHARING
environment variable.
svn path=/trunk/mono/; revision=90943
Rodrigo Kumpera [Fri, 7 Dec 2007 15:40:36 +0000 (15:40 -0000)]
2007-12-07 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for stelem.X
* make_stelem_test.sh: new test generator
svn path=/trunk/mono/; revision=90942
Zoltan Varga [Fri, 7 Dec 2007 15:29:51 +0000 (15:29 -0000)]
2007-12-07 Zoltan Varga <vargaz@gmail.com>
* mini-arm.h mini-arm.c tramp-arm.c inssel-arm.brg cpu-arm.md
aot-runtime.c aot-compiler.c: Implement AOT support.
svn path=/trunk/mono/; revision=90941
Mark Probst [Fri, 7 Dec 2007 15:28:17 +0000 (15:28 -0000)]
2007-12-07 Mark Probst <mark.probst@gmail.com>
* mini-trampolines.c (mono_generic_class_init_trampoline): Fixed
build for archs which don't have the vtable trampoline defined
yet.
svn path=/trunk/mono/; revision=90940
Zoltan Varga [Fri, 7 Dec 2007 15:26:29 +0000 (15:26 -0000)]
2007-12-07 Zoltan Varga <vargaz@gmail.com>
* tramp-x86.c (mono_arch_create_trampoline_code): Fix the build.
svn path=/trunk/mono/; revision=90939
Geoff Norton [Fri, 7 Dec 2007 15:12:07 +0000 (15:12 -0000)]
2007-12-07 Geoff Norton <gnorton@novell.com>
* ControlHandler.cs: Properly update our invalidated information when
Quartz asks us to redraw. This helps fix TabControl but introduces
over-zealous drawing causing our flicker. Implement visibility tracking
to generate out WM_SHOWWINDOW calls. Refactor mouse tracking to live
entirely in MouseHandler.
* EventHandler.cs: Unregister some events we no longer handle. Register
the new MouseEvents that we do handle.
* KeyboardHandler.cs: Implement some more key translations.
* MouseHandler.cs: Handle all mouse events at the application level now
This allows us to paint while dragging the mouse, and handle double
click events properly.
* WindowHandler.cs: Properly generate WM_SHOWWINDOW messages when
our application window is exposed.
svn path=/trunk/mcs/; revision=90938
Zoltan Varga [Fri, 7 Dec 2007 15:06:03 +0000 (15:06 -0000)]
2007-12-07 Zoltan Varga <vargaz@gmail.com>
* tramp-ppc.c (mono_arch_create_trampoline_code): Use the new helper function.
svn path=/trunk/mono/; revision=90937