Paolo Molaro [Mon, 18 Sep 2006 15:02:22 +0000 (15:02 -0000)]
Documentation updates.
svn path=/trunk/mono/; revision=65583
Paolo Molaro [Mon, 18 Sep 2006 15:01:45 +0000 (15:01 -0000)]
Mon Sep 18 16:59:54 CEST 2006 Paolo Molaro <lupus@ximian.com>
* mono-config.c: allow both an os and cpu attribute for dllmap
and dllentry elemnets to enable a single config file to be used
for multiple architectures.
svn path=/trunk/mono/; revision=65582
Igor Zelmanovich [Mon, 18 Sep 2006 14:37:33 +0000 (14:37 -0000)]
make rendering of the onclick attribute to consider ValidationGroup property
Page.Validate() is called when CausesValidation=true
svn path=/trunk/mcs/; revision=65581
Gert Driesen [Mon, 18 Sep 2006 14:35:10 +0000 (14:35 -0000)]
* loader.c: MonoLoaderError was cleared too soon on load failure.
Fixes bug #79424.
svn path=/trunk/mono/; revision=65580
Igor Zelmanovich [Mon, 18 Sep 2006 14:19:21 +0000 (14:19 -0000)]
* ListControl.cs:
VewState saving and restoring rolled back to 1.1 implementation
(fixed corresponding test), corrected public interface (there are no
overriden methods SaveControlState, LoadControlState and OnInit),
implemented CausesValidation and ValidationGroup properties.
svn path=/trunk/mcs/; revision=65579
Paolo Molaro [Mon, 18 Sep 2006 13:38:42 +0000 (13:38 -0000)]
Mon Sep 18 15:37:13 CEST 2006 Paolo Molaro <lupus@ximian.com>
* icall.c: use the defining class vtable when accessing a
static field, not a pobblibly derived class.
svn path=/trunk/mono/; revision=65577
Boris Kirzner [Mon, 18 Sep 2006 13:05:51 +0000 (13:05 -0000)]
Marked not working tests for TARGET_JVM.
svn path=/trunk/mcs/; revision=65575
Yoni Klain [Mon, 18 Sep 2006 12:10:37 +0000 (12:10 -0000)]
svn path=/trunk/mcs/; revision=65572
Igor Zelmanovich [Mon, 18 Sep 2006 11:52:35 +0000 (11:52 -0000)]
* TextBox.cs:
make rendering of the onclick attribute to consider ValidationGroup property
Page.Validate() is called when CausesValidation=true
svn path=/trunk/mcs/; revision=65571
Miguel de Icaza [Mon, 18 Sep 2006 10:46:31 +0000 (10:46 -0000)]
More updates
svn path=/trunk/mono/; revision=65570
Igor Zelmanovich [Mon, 18 Sep 2006 10:29:06 +0000 (10:29 -0000)]
* Page.cs: fixed: Title property works properly
svn path=/trunk/mcs/; revision=65569
Miguel de Icaza [Mon, 18 Sep 2006 10:28:24 +0000 (10:28 -0000)]
2006-09-18 Miguel de Icaza <miguel@novell.com>
* test/string-util.c (test_filename_from_uri): tests for new
methods.
* src/gstr.c (g_filename_to_uri, g_filename_from_uri): implement.
svn path=/trunk/mono/; revision=65568
Miguel de Icaza [Mon, 18 Sep 2006 09:45:24 +0000 (09:45 -0000)]
Add more tests, fix a bug
svn path=/trunk/mono/; revision=65567
Boris Kirzner [Mon, 18 Sep 2006 08:54:06 +0000 (08:54 -0000)]
Marked not working tests.
svn path=/trunk/mcs/; revision=65564
Miguel de Icaza [Mon, 18 Sep 2006 08:27:59 +0000 (08:27 -0000)]
Another method, but need to complete the tests
svn path=/trunk/mono/; revision=65563
Yoni Klain [Mon, 18 Sep 2006 08:24:44 +0000 (08:24 -0000)]
svn path=/trunk/mcs/; revision=65562
Boris Kirzner [Mon, 18 Sep 2006 07:38:24 +0000 (07:38 -0000)]
Fix compilation error.
svn path=/trunk/mcs/; revision=65561
Zoltan Varga [Sun, 17 Sep 2006 19:56:37 +0000 (19:56 -0000)]
2006-09-17 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (load_aot_module): Return immeditely if the AOT module was already
loaded.
svn path=/trunk/mono/; revision=65555
Zoltan Varga [Sun, 17 Sep 2006 19:27:57 +0000 (19:27 -0000)]
2006-09-17 Zoltan Varga <vargaz@gmail.com>
* icall.c string-icalls.c: Remove references to unicode.h.
svn path=/trunk/mono/; revision=65554
Zoltan Varga [Sun, 17 Sep 2006 19:24:44 +0000 (19:24 -0000)]
2006-09-17 Zoltan Varga <vargaz@gmail.com>
* unicode.h unicode.c Makefile.am: Remove these unused source files.
svn path=/trunk/mono/; revision=65553
Zoltan Varga [Sun, 17 Sep 2006 19:04:18 +0000 (19:04 -0000)]
2006-09-17 Zoltan Varga <vargaz@gmail.com>
* docs/thread-safety.txt: Moved here from mono/metadata.
svn path=/trunk/mono/; revision=65552
Zoltan Varga [Sun, 17 Sep 2006 15:08:21 +0000 (15:08 -0000)]
2006-09-17 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_emit_native_wrapper): Add an 'image' argument,
indicating the image where custom marshaller types should be looked up.
(mono_ftnptr_to_delegate): Use the image of the delegate type to look up
custom marshallers, instead of corlib. Fixes #79425.
svn path=/trunk/mono/; revision=65551
Igor Zelmanovich [Sun, 17 Sep 2006 14:45:58 +0000 (14:45 -0000)]
make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65550
Igor Zelmanovich [Sun, 17 Sep 2006 13:22:12 +0000 (13:22 -0000)]
make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65538
Yoni Klain [Sun, 17 Sep 2006 12:48:25 +0000 (12:48 -0000)]
Recommit .Full sources file.
svn path=/trunk/mcs/; revision=65537
Igor Zelmanovich [Sun, 17 Sep 2006 12:47:35 +0000 (12:47 -0000)]
make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65536
Boris Kirzner [Sun, 17 Sep 2006 11:49:00 +0000 (11:49 -0000)]
Fixes for net_2_0 tests run.
svn path=/trunk/mcs/; revision=65533
Zoltan Varga [Sun, 17 Sep 2006 11:24:06 +0000 (11:24 -0000)]
2006-09-17 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (gregs_from_ucontext): Apply another patch from the
freebsd ports tree.
svn path=/trunk/mono/; revision=65531
Yoni Klain [Sun, 17 Sep 2006 11:02:06 +0000 (11:02 -0000)]
svn path=/trunk/mcs/; revision=65526
Andrew Skiba [Sun, 17 Sep 2006 10:33:17 +0000 (10:33 -0000)]
output WebException response stream
svn path=/trunk/mcs/; revision=65525
Zoltan Varga [Sun, 17 Sep 2006 10:32:07 +0000 (10:32 -0000)]
2006-09-17 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call): Avoid near calls on freebsd.
(mono_arch_patch_code): Remove the unused handling of MONO_PATCH_INFO_CLASS_INIT.
* tramp-amd64.c (mono_arch_create_specific_trampoline): Fix check for 32 bitness of
displacement.
svn path=/trunk/mono/; revision=65524
Igor Zelmanovich [Sun, 17 Sep 2006 08:50:05 +0000 (08:50 -0000)]
* HtmlAnchor.cs:
implemented CausesValidation and ValidationGroup properties
svn path=/trunk/mcs/; revision=65523
Raja R Harinath [Sat, 16 Sep 2006 17:01:40 +0000 (17:01 -0000)]
In mcs:
* AssemblyInfo.cs [GMCS_SOURCE]: Unify with gmcs source.
* driver.cs: Likewise.
In gmcs:
* Makefile (LOCAL_MCS_FLAGS): Use instead of PROFILE_MCS_FLAGS.
* AssemblyInfo.cs, driver.cs: Remove after unification with mcs source.
svn path=/trunk/mcs/; revision=65519
Raja R Harinath [Sat, 16 Sep 2006 15:44:24 +0000 (15:44 -0000)]
make whitespace consistent
svn path=/trunk/mcs/; revision=65516
Sebastien Pouliot [Sat, 16 Sep 2006 15:42:42 +0000 (15:42 -0000)]
2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
* TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
test. The test is bad because sometimes it uses Size instead of SizeF.
svn path=/trunk/mcs/; revision=65515
Sebastien Pouliot [Sat, 16 Sep 2006 14:29:57 +0000 (14:29 -0000)]
2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
* GifCodecTest.cs: Change filename for Save to ease debugging.
* IconCodecTest.cs: Change filename for Save to ease debugging.
* PngCodecTest.cs: Change filename for Save to ease debugging. Change
color from Red to BlueViolet for lossless formats.
* TestBmpCodec.cs: Change filename for Save to ease debugging. Change
color from Red to BlueViolet for lossless formats.
* TestJpegCodec.cs: Change filename for Save to ease debugging.
* TiffCodecTest.cs: Change filename for Save to ease debugging. Change
color from Red to BlueViolet for lossless formats.
svn path=/trunk/mcs/; revision=65510
Gert Driesen [Sat, 16 Sep 2006 14:13:06 +0000 (14:13 -0000)]
* DynamicMethod.cs: Allow empty name and null return type.
Fixes bug #79367.
* DynamicMethodTest.cs: Enabled tests for bug #79367.
svn path=/trunk/mcs/; revision=65508
Marek Safar [Sat, 16 Sep 2006 12:17:22 +0000 (12:17 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65506
Marek Safar [Sat, 16 Sep 2006 12:13:59 +0000 (12:13 -0000)]
2006-09-16 Marek Safar <marek.safar@seznam.cz>
A fix for #79401
* class.cs (MethodCore.VerifyClsCompliance): Do check for abstract members
only if parent type is class.
* decl.cs (MemberCore.GetClsCompliantAttributeValue): Fixed missing cache
update.
svn path=/trunk/mcs/; revision=65505
Zoltan Varga [Sat, 16 Sep 2006 10:32:46 +0000 (10:32 -0000)]
2006-09-16 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Avoid non-static build warning on windows.
svn path=/trunk/mono/; revision=65504
Zoltan Varga [Sat, 16 Sep 2006 10:13:38 +0000 (10:13 -0000)]
2006-09-16 Zoltan Varga <vargaz@freemail.hu>
* Makefile.am (test): Disable mkbundle test on win32 since there is no static build there.
svn path=/trunk/mono/; revision=65503
Raja R Harinath [Sat, 16 Sep 2006 09:34:03 +0000 (09:34 -0000)]
Fix srcdir!=builddir issue.
* configure.in (runtime/etc/mono/config): Remove erroneous code.
* runtime/Makefile.am (etc/mono/config): Rename from wrapper-config.
* runtime/mono-wrapper.in: Update.
svn path=/trunk/mono/; revision=65502
Chris Toshok [Sat, 16 Sep 2006 01:09:42 +0000 (01:09 -0000)]
* XplatUIX11.cs:
- make the MessageQueues hashtable Synchronized.
- SendMessage: if the Hwnd is owned by a different thread, use the
AsyncMethod stuff to dispatch the SendMessage on the hwnd's
thread. Fixes bug #79201.
2006-09-15 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=65501
Marek Safar [Fri, 15 Sep 2006 21:44:22 +0000 (21:44 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65495
Marek Safar [Fri, 15 Sep 2006 21:42:43 +0000 (21:42 -0000)]
2006-09-15 Marek Safar <marek.safar@seznam.cz>
* cs-parser.jay,
* expression.cs(MemberAccess.DoResolve): Don't crash when not allowed
keywords are used.
* typemanager.cs(CSharpName): Converts NullType to null.
svn path=/trunk/mcs/; revision=65494
Gonzalo Paniagua Javier [Fri, 15 Sep 2006 21:37:57 +0000 (21:37 -0000)]
2006-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CookieContainer.cs: send the cookies from the collection we got for
the given URI, not the whole collection.
* HttpWebResponse.cs: only add the cookies to this instance, not to the
cookie container set in the request.
svn path=/trunk/mcs/; revision=65493
Martin Baulig [Fri, 15 Sep 2006 21:35:32 +0000 (21:35 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* typemanager.cs
(TypeManager.GetMethodName): Added mcs implementation.
(TypeManager.IsEqual): Likewise.
* ecore.cs
(SimpleName.RemoveGenericArity): Added dummy implementation.
* pending.cs: Merged with the gmcs version.
svn path=/trunk/mcs/; revision=65492
Chris Toshok [Fri, 15 Sep 2006 21:29:04 +0000 (21:29 -0000)]
* XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
ControlBox == false, we disallow maximize/minimize/close. If the
form Caption is "" we also disallow move (and get rid of the Title
decoration). Unfortunately, regardless of how things are set,
we're stuck with the Title and WM menu.
2006-09-15 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=65491
Martin Baulig [Fri, 15 Sep 2006 20:58:06 +0000 (20:58 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* statement.cs: Merge with the gmcs version.
svn path=/trunk/mcs/; revision=65490
Martin Baulig [Fri, 15 Sep 2006 20:25:51 +0000 (20:25 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* statement.cs (Switch): Merge with the gmcs implementation
(without nullables), which is newer.
svn path=/trunk/mcs/; revision=65488
Chris Toshok [Fri, 15 Sep 2006 20:21:24 +0000 (20:21 -0000)]
* Application.cs: add locking around the static message_filters
ArrayList, part of #79196.
2006-09-15 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=65485
Chris Toshok [Fri, 15 Sep 2006 20:07:17 +0000 (20:07 -0000)]
* XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
Form.ControlBox == false, the window has no titlebar nor resize
handles. fixes bug #79368.
2006-09-15 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=65484
Chris Toshok [Fri, 15 Sep 2006 19:48:53 +0000 (19:48 -0000)]
2006-09-15 Chris Toshok <toshok@ximian.com>
* TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
>= 0. Fixes bug #79370.
svn path=/trunk/mcs/; revision=65483
Miguel de Icaza [Fri, 15 Sep 2006 18:25:28 +0000 (18:25 -0000)]
Fix build
svn path=/trunk/mcs/; revision=65479
Martin Baulig [Fri, 15 Sep 2006 17:47:36 +0000 (17:47 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* statement.cs (Block.Variables): Make this public.
(ToplevelBlock.Parameters): Make this a property.
(Throw.Resolve): Use `TypeManager.IsSubclassOf ()'.
svn path=/trunk/mcs/; revision=65477
Martin Baulig [Fri, 15 Sep 2006 17:45:53 +0000 (17:45 -0000)]
Small cleanup; we don't need this hack anymore.
svn path=/trunk/mcs/; revision=65476
Martin Baulig [Fri, 15 Sep 2006 17:43:32 +0000 (17:43 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* rootcontext.cs (RootContext.BrokenCircularDeps): Removed.
* driver.cs: Removed the `--broken-cycles' argument.
svn path=/trunk/mcs/; revision=65475
Martin Baulig [Fri, 15 Sep 2006 16:22:57 +0000 (16:22 -0000)]
Minor code cleanups.
svn path=/trunk/mcs/; revision=65474
Martin Baulig [Fri, 15 Sep 2006 15:40:38 +0000 (15:40 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* namespace.cs: Merge with the gmcs version.
svn path=/trunk/mcs/; revision=65472
Martin Baulig [Fri, 15 Sep 2006 15:31:55 +0000 (15:31 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* decl.cs (MemberName): Minor code cleanups.
svn path=/trunk/mcs/; revision=65471
Jonathan Pobst [Fri, 15 Sep 2006 14:47:57 +0000 (14:47 -0000)]
2006-09-15 Jonathan Pobst <monkey@jpobst.com>
* FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
* DefaultLayout.cs, FlowLayout.cs: Initial commit.
* Control.cs:
Add properties: LayoutEngine, Margin, DefaultMargin.
Add method: GetPreferredSize.
Move layout logic from PerformLayout to layout engines.
* System.Windows.Forms.dll.sources: Added DefaultLayout.cs, FlowLayout.cs,
FlowLayoutPanel.cs, FlowLayoutSettings.cs.
* System.Windows.Forms_test.dll.sources: Added FlowPanelTests.cs.
svn path=/trunk/mcs/; revision=65466
Martin Baulig [Fri, 15 Sep 2006 14:20:11 +0000 (14:20 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* parameter.cs: Merge with the gmcs version.
svn path=/trunk/mcs/; revision=65461
Jonathan Pryor [Fri, 15 Sep 2006 14:12:09 +0000 (14:12 -0000)]
* configure.in: Remove check for setkey(3).
* support/Makefile.am: Remove CRYPT_LIBS use; we no longer rely on libcrypt.
* support/stdlib.c: Remove setkey(3) wrapper.
* support/unistd.c: Remove encrypt(3) wrapper.
svn path=/trunk/mono/; revision=65458
Jonathan Pryor [Fri, 15 Sep 2006 14:03:10 +0000 (14:03 -0000)]
* Syscall.cs: "Remove" crypt(3), encrypt(3), setkey(3). These use an
encryption algorithm which was broken years ago and could be cracked in
minutes on a modern machine. This also removes a libcrypt.so dependency,
which means you don't need to have development packages installed to use
these either (since "crypt" wasn't <dllmap>'d). These are still present,
but marked [Obsolete] and throw a SecurityException when invoked.
svn path=/trunk/mcs/; revision=65456
Martin Baulig [Fri, 15 Sep 2006 13:53:54 +0000 (13:53 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* enum.cs: Merge with the gmcs-version: 3005 is a warning in gmcs
and an error in mcs.
svn path=/trunk/mcs/; revision=65455
Martin Baulig [Fri, 15 Sep 2006 13:49:56 +0000 (13:49 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* Makefile: Define `GMCS_SOURCE'.
* flowanalysis.cs: Removed; this file is now shared with mcs.
svn path=/trunk/mcs/; revision=65454
Martin Baulig [Fri, 15 Sep 2006 13:38:13 +0000 (13:38 -0000)]
Cosmetic fix in the CS0136 error message.
svn path=/trunk/mcs/; revision=65453
Martin Baulig [Fri, 15 Sep 2006 13:28:46 +0000 (13:28 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
Removed modifiers.cs, literal.cs, location.cs, roottypes.cs,
assign.cs, const.cs, cfold.cs, constant.cs, symbolwriter.cs and
doc.cs - they are now shared with mcs.
* gmcs.exe.sources: Include these files from ../mcs/.
svn path=/trunk/mcs/; revision=65452
Martin Baulig [Fri, 15 Sep 2006 13:24:10 +0000 (13:24 -0000)]
The new code correctly reports a CS0136 here.
svn path=/trunk/mcs/; revision=65451
Martin Baulig [Fri, 15 Sep 2006 13:23:15 +0000 (13:23 -0000)]
2006-09-15 Martin Baulig <martin@ximian.com>
* old-code.cs, gen-il.cs, gen-treedump.cs: Removed old stuff.
* g1.cs, sample-hello.cs, sample-stack.il: Likewise.
svn path=/trunk/mcs/; revision=65450
Sebastien Pouliot [Fri, 15 Sep 2006 13:08:02 +0000 (13:08 -0000)]
2006-09-15 Sebastien Pouliot <sebastien@ximian.com>
* GifCodecTest.cs, IconCodecTest.cs, PngCodecTest.cs, TestBmpCodec.cs,
TestJpegCodec.cs, TiffCodecTest.cs: Refactor Save test case to check
convertions between pixel formats.
svn path=/trunk/mcs/; revision=65449
Martin Baulig [Fri, 15 Sep 2006 12:58:07 +0000 (12:58 -0000)]
2006-09-08 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.interlocked_type): New public field.
(TypeManager.int_interlocked_compare-exchange): New public field.
(TypeManager.InitEnumUnderlyingTypes): Also initialize the
enumerator types here and call InitGenericCoreTypes().
(TypeManager.InitCoreTypes): Call InitEnumeratorTypes() right
after calling InitEnumUnderlyingTypes().
* rootcontext.cs
(RootContext.ResolveCore): Added `System.Threading.Interlocked' to
`classes_second_stage'.
svn path=/trunk/mcs/; revision=65447
Martin Baulig [Fri, 15 Sep 2006 12:36:05 +0000 (12:36 -0000)]
New anonymous methods test.
svn path=/trunk/mcs/; revision=65445
Lluis Sanchez [Fri, 15 Sep 2006 09:58:03 +0000 (09:58 -0000)]
2006-09-15 Lluis Sanchez Gual <lluis@novell.com>
* UnixServerTransportSink.cs, UnixServerChannel.cs:
When sending an async call response, don't use the original request
stream because it may have been used by another call.
svn path=/trunk/mcs/; revision=65443
Lluis Sanchez [Fri, 15 Sep 2006 09:54:54 +0000 (09:54 -0000)]
2006-09-15 Lluis Sanchez Gual <lluis@novell.com>
* TcpServerTransportSink.cs, TcpServerChannel.cs:
When sending an async call response, don't use the original request
stream because it may have been used by another call.
svn path=/trunk/mcs/; revision=65442
Lluis Sanchez [Fri, 15 Sep 2006 09:32:42 +0000 (09:32 -0000)]
2006-09-15 LLuis Sanchez Gual <lluis@novell.com>
* TempFileCollection.cs: Create files in a temporary subdirectory,
for security reasons.
* CodeCompiler.cs: Let TempFileCollection choose the temp dir.
svn path=/trunk/mcs/; revision=65441
Marek Safar [Thu, 14 Sep 2006 20:36:19 +0000 (20:36 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65428
Marek Safar [Thu, 14 Sep 2006 20:33:31 +0000 (20:33 -0000)]
2006-09-14 Marek Safar <marek.safar@seznam.cz>
* assign.cs, ecore.cs, expression.cs: Share error message text.
* class.cs (FieldMember.Define): Check for variable of static type.
* decl.cs (check_type_parameter): Report correct type name.
* driver.cs (LoadAssembly): Uses error output for errors.
* generic.cs (Constraints.Resolve): Add check for constraint accessibility
(TypeArguments.Resolve): Static class cannot be used as an argument.
* statement.cs (ResolveMeta): Constants cannot be generic types.
svn path=/trunk/mcs/; revision=65427
Chris Toshok [Thu, 14 Sep 2006 20:32:12 +0000 (20:32 -0000)]
* XplatUIX11.cs: more destroy work. Jackson pointed out that my
fix for #79326 broke #78718, so this change addresses that.
- in SendWMDestroyMessages remove the call to
CleanupCachedWindows, since we might be recreating the control and
need to maintain the references to right Hwnd handles. Also, set
the zombie flag to true for each of the children in the hierarchy
instead of calling hwnd.Dispose. This will cause GetMessage to
ignore all events for the window except for DestroyNotify.
- In GetMessage, ignore messages except for DestroyNotify for
zombie hwnds.
* Control.cs: revert the is_recreating fix from the last
ChangeLog. It's definitely "right", but it breaks switching from
an MDI form to a non-MDI form. Will need to revisit that.
* Hwnd.cs: add a zombie flag, which means "the
client_window/whole_window handles are invalid, but we're waiting
for the DestroyNotify event to come in for them". Set the flag to
false explicitly if setting WholeWindow/ClientWindow, and also
when Disposing.
2006-09-13 Chris Toshok <toshok@ximian.com>
the two places it was used (one was even using hwnd.Handle and the
other hwnd.client_window. ugh), adding another call in
SendWMDestroyMessages. We need this new call because now the
DestroyNotify events in the queue will be ignored for the child
controls (as their hwnd's were disposed, and the window id's
removed from the hashtable in SendWMDestroyMessages.) fun, eh?
svn path=/trunk/mcs/; revision=65426
Miguel de Icaza [Thu, 14 Sep 2006 20:12:10 +0000 (20:12 -0000)]
Take out VisualBasic until its available everywhere
svn path=/trunk/mono/; revision=65425
Martin Baulig [Thu, 14 Sep 2006 18:09:45 +0000 (18:09 -0000)]
New tests for anonymous methods.
svn path=/trunk/mcs/; revision=65424
Gert Driesen [Thu, 14 Sep 2006 17:55:15 +0000 (17:55 -0000)]
* ServiceControllerPermissionTest.cs: Set eol-style to native. Fixed
warning and improved Union_Null test.
* ServiceControllerPermissionAttributeTest.cs: Set eol-style to native.
Fixed warning.
* ServiceControllerTest.cs: Added unit tests for win32 implementation
of ServiceController.
* ServiceControllerPermissionEntryCollection.cs: Set eol-style to
native.
* ServiceAccount.cs: Set eol-style to native.
* ServiceControllerPermission.cs: Set eol-style to native.
* ServiceProcessInstaller.cs: Set eol-style to native.
* ServiceInstaller.cs: API compatibility fixes. Coding guidelines
fixes. Set eol-style to native.
* PowerBroadcastStatus.cs: Removed Serializable attribute. Coding
guidelines fixes. Set eol-style to native.
* ServiceStartMode.cs: Removed Serializable attribute. Coding
guidelines fixes. Set eol-style to native.
* ServiceProcessDescriptionAttribute.cs: Removed Serializable
attribute. Set eol-style to native.
* ServiceBase.cs: Set eol-style to native.
* ServiceControllerPermissionAccess.cs: Removed Serializable
attribute. Coding guidelines fixes. Set eol-style to native.
* ServiceControllerPermissionAccess.cs: Set eol-style to native.
* ServiceControllerPermissionEntry.cs: Set eol-style to native.
* ServiceControllerPermissionAttribute.cs: Set eol-style to native.
* ServiceType.cs: Removed Serializable attribute. Coding guidelines
fixes. Set eol-style to native.
* ServiceController.cs: API compatibility fixes. Added missing
MonoTODO's. Coding guidelines fixes. Set eol-style to native.
Provides an implementation for Win32.
* TimeoutException.cs: Set eol-style to native.
* ServiceControllerStatus.cs: Removed Serializable attribute.
Coding guidelines fixes. Set eol-style to native.
* UnixServiceController.cs: Dummy implementation for unix. Always
throws NotImplementedException.
* Win32ServiceController.cs: Win32 implementation. Built as a wrapper
for the Win32 Service API.
* Makefile: Treat warnings as error. Ignore no warnings.
* System.ServiceProcess.dll.sources: Added ServiceControllerImpl.cs,
UnixServiceController.cs and Win32ServiceController.cs.
* System.ServiceProcess_test.dll.sources: Added
ServiceControllerTest.cs.
svn path=/trunk/mcs/; revision=65422
Sebastien Pouliot [Thu, 14 Sep 2006 17:35:18 +0000 (17:35 -0000)]
2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
* BitmapData.cs: Change fields visibility to private as they either
have get/set properties or shouldn't be used in managed code (as they
do not exists when using MS GDI+). Added more warnings comments.
svn path=/trunk/mcs/; revision=65419
Sebastien Pouliot [Thu, 14 Sep 2006 17:18:18 +0000 (17:18 -0000)]
2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
* GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
svn path=/trunk/mcs/; revision=65418
Martin Baulig [Thu, 14 Sep 2006 16:22:50 +0000 (16:22 -0000)]
New anonymous method tests.
svn path=/trunk/mcs/; revision=65414
Miguel de Icaza [Thu, 14 Sep 2006 16:15:28 +0000 (16:15 -0000)]
Update TODO
svn path=/trunk/mono/; revision=65413
Atsushi Eno [Thu, 14 Sep 2006 16:03:30 +0000 (16:03 -0000)]
2006-09-14 Atsushi Enomoto <atsushi@ximian.com>
* src/gutf8.c, test/utf8.c : EOL fix.
svn path=/trunk/mono/; revision=65412
Miguel de Icaza [Thu, 14 Sep 2006 15:48:53 +0000 (15:48 -0000)]
2006-09-14 Mart Roosmaa <roosmaa@gmail.com>
* SqliteCommand.cs: Handle enums by their underliying type.
svn path=/trunk/mcs/; revision=65411
Zoltan Varga [Thu, 14 Sep 2006 15:47:27 +0000 (15:47 -0000)]
2006-09-14 Zoltan Varga <vargaz@gmail.com>
* pinvoke2.cs libtest.c: Add test for marshalling of blittable classes and null.
svn path=/trunk/mono/; revision=65410
Zoltan Varga [Thu, 14 Sep 2006 15:47:04 +0000 (15:47 -0000)]
2006-09-14 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_object): Fix marshalling of blittable classes and null.
svn path=/trunk/mono/; revision=65409
Miguel de Icaza [Thu, 14 Sep 2006 15:44:26 +0000 (15:44 -0000)]
more updates
svn path=/trunk/mcs/; revision=65408
Jonathan Chambers [Thu, 14 Sep 2006 15:44:09 +0000 (15:44 -0000)]
2006-09-14 Jonathan Chambers <joncham@gmail.com>
* Environment.cs (ProcessorCount): Implement as icall.
Patch by Jason McFall.
svn path=/trunk/mcs/; revision=65407
Jonathan Chambers [Thu, 14 Sep 2006 15:43:27 +0000 (15:43 -0000)]
2006-09-14 Jonathan Chambers <joncham@gmail.com>
* environment.c (ves_icall_System_Environment_get_ProcessorCount):
Implement Environment.ProcessorCount.
* environment.h (ves_icall_System_Environment_get_ProcessorCount):
Implement Environment.ProcessorCount.
* icall.c:
Add Environment.ProcessorCount icall.
Patch by Jason McFall.
svn path=/trunk/mono/; revision=65406
Igor Zelmanovich [Thu, 14 Sep 2006 15:23:40 +0000 (15:23 -0000)]
implemented: RaisePostBackEvent,
refactoring: GetPostBackOptions used to build onclick client event
svn path=/trunk/mcs/; revision=65405
Miguel de Icaza [Thu, 14 Sep 2006 15:14:42 +0000 (15:14 -0000)]
Update
svn path=/trunk/mcs/; revision=65404
Igor Zelmanovich [Thu, 14 Sep 2006 15:08:15 +0000 (15:08 -0000)]
implemented IButtonControl.Click, RaisePostBackEvent
svn path=/trunk/mcs/; revision=65403
Boris Kirzner [Thu, 14 Sep 2006 14:55:31 +0000 (14:55 -0000)]
Fixes for TARGET_JVM tests run.
svn path=/trunk/mcs/; revision=65401
Martin Baulig [Thu, 14 Sep 2006 14:24:34 +0000 (14:24 -0000)]
New error test.
svn path=/trunk/mcs/; revision=65398
Martin Baulig [Thu, 14 Sep 2006 14:14:50 +0000 (14:14 -0000)]
Fix this test.
svn path=/trunk/mcs/; revision=65397
Jonathan Pryor [Thu, 14 Sep 2006 13:37:32 +0000 (13:37 -0000)]
* Makefile: Modify test to build `test.dll' and use that as an input
assembly to mono-shlib-cop.exe, and not mono-shlib-cop.exe itself. This
permits mono-shlib-cop.exe to be "clean", as it doesn't need to have
deliberate errors inserted into it for use by the unit test.
* mono-shlib-cop.cs: Remove methods used for unit test.
* mono-shlib-cop.exe.config: Add <dllmap/> entry for libglib-2.0, so that
`mono-shlib-cop mono-shlib-cop.exe` doesn't return any errors/warnings.
This is requested by meebey@#mono, so that mono-shlib-cop doesn't itself
require development libraries to execute (complicating the packaging
process on debian).
* mono-shlib-cop.exe.out: Removed; not used anymore.
* test.cs: Added; test input file for mono-shlib-cop.
* test.dll.out: Added; expected output for `mono-shlib-cop test.dll`.
svn path=/trunk/mcs/; revision=65393