mono.git
17 years ago2006-09-15 Marek Safar <marek.safar@seznam.cz>
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

17 years ago2006-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years ago * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years ago * Application.cs: add locking around the static message_filters
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

17 years ago * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
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

17 years ago2006-09-15 Chris Toshok <toshok@ximian.com>
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

17 years agoFix build
Miguel de Icaza [Fri, 15 Sep 2006 18:25:28 +0000 (18:25 -0000)]
Fix build

svn path=/trunk/mcs/; revision=65479

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years agoSmall cleanup; we don't need this hack anymore.
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years agoMinor code cleanups.
Martin Baulig [Fri, 15 Sep 2006 16:22:57 +0000 (16:22 -0000)]
Minor code cleanups.

svn path=/trunk/mcs/; revision=65474

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years ago2006-09-15 Jonathan Pobst <monkey@jpobst.com>
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years ago * configure.in: Remove check for setkey(3).
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

17 years ago * Syscall.cs: "Remove" crypt(3), encrypt(3), setkey(3). These use an
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years agoCosmetic fix in the CS0136 error message.
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years agoThe new code correctly reports a CS0136 here.
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

17 years ago2006-09-15 Martin Baulig <martin@ximian.com>
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

17 years ago2006-09-15 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2006-09-08 Martin Baulig <martin@ximian.com>
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

17 years agoNew anonymous methods test.
Martin Baulig [Fri, 15 Sep 2006 12:36:05 +0000 (12:36 -0000)]
New anonymous methods test.

svn path=/trunk/mcs/; revision=65445

17 years ago2006-09-15 Lluis Sanchez Gual <lluis@novell.com>
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

17 years ago2006-09-15 Lluis Sanchez Gual <lluis@novell.com>
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

17 years ago2006-09-15 LLuis Sanchez Gual <lluis@novell.com>
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

17 years agoNew tests.
Marek Safar [Thu, 14 Sep 2006 20:36:19 +0000 (20:36 -0000)]
New tests.

svn path=/trunk/mcs/; revision=65428

17 years ago2006-09-14 Marek Safar <marek.safar@seznam.cz>
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

17 years ago * XplatUIX11.cs: more destroy work. Jackson pointed out that my
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

17 years agoTake out VisualBasic until its available everywhere
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

17 years agoNew tests for anonymous methods.
Martin Baulig [Thu, 14 Sep 2006 18:09:45 +0000 (18:09 -0000)]
New tests for anonymous methods.

svn path=/trunk/mcs/; revision=65424

17 years ago* ServiceControllerPermissionTest.cs: Set eol-style to native. Fixed
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

17 years ago2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
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

17 years agoNew anonymous method tests.
Martin Baulig [Thu, 14 Sep 2006 16:22:50 +0000 (16:22 -0000)]
New anonymous method tests.

svn path=/trunk/mcs/; revision=65414

17 years agoUpdate TODO
Miguel de Icaza [Thu, 14 Sep 2006 16:15:28 +0000 (16:15 -0000)]
Update TODO

svn path=/trunk/mono/; revision=65413

17 years ago2006-09-14 Atsushi Enomoto <atsushi@ximian.com>
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

17 years ago2006-09-14 Mart Roosmaa <roosmaa@gmail.com>
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

17 years ago2006-09-14 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-14 Zoltan Varga <vargaz@gmail.com>
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

17 years agomore updates
Miguel de Icaza [Thu, 14 Sep 2006 15:44:26 +0000 (15:44 -0000)]
more updates

svn path=/trunk/mcs/; revision=65408

17 years ago2006-09-14 Jonathan Chambers <joncham@gmail.com>
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

17 years ago2006-09-14 Jonathan Chambers <joncham@gmail.com>
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

17 years agoimplemented: RaisePostBackEvent,
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

17 years agoUpdate
Miguel de Icaza [Thu, 14 Sep 2006 15:14:42 +0000 (15:14 -0000)]
Update

svn path=/trunk/mcs/; revision=65404

17 years agoimplemented IButtonControl.Click, RaisePostBackEvent
Igor Zelmanovich [Thu, 14 Sep 2006 15:08:15 +0000 (15:08 -0000)]
implemented IButtonControl.Click, RaisePostBackEvent

svn path=/trunk/mcs/; revision=65403

17 years agoFixes for TARGET_JVM tests run.
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

17 years agoNew error test.
Martin Baulig [Thu, 14 Sep 2006 14:24:34 +0000 (14:24 -0000)]
New error test.

svn path=/trunk/mcs/; revision=65398

17 years agoFix this test.
Martin Baulig [Thu, 14 Sep 2006 14:14:50 +0000 (14:14 -0000)]
Fix this test.

svn path=/trunk/mcs/; revision=65397

17 years ago * Makefile: Modify test to build `test.dll' and use that as an input
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

17 years ago * configure.in: Add command to create runtime/etc/mono/config. This is
Jonathan Pryor [Thu, 14 Sep 2006 13:23:58 +0000 (13:23 -0000)]
* configure.in: Add command to create runtime/etc/mono/config.  This is
  needed so that programs which use the bootstrap mono build get the
  appropriate <dllmap/> entries (in particular, the mono-shlib-cop unit
  tests requires that a $prefix/etc/mono/config be present to run).
* runtime/Makefile.am: Create runtime/etc/mono/config.

svn path=/trunk/mono/; revision=65389

17 years agoimplemented ValidationGroup feature on client side
Igor Zelmanovich [Thu, 14 Sep 2006 13:00:26 +0000 (13:00 -0000)]
implemented ValidationGroup feature on client side

svn path=/trunk/mcs/; revision=65387

17 years agoAdding [NotWorking] attribute to tests in PageTest.cs
Merav Sudri [Thu, 14 Sep 2006 11:58:48 +0000 (11:58 -0000)]
Adding [NotWorking] attribute to tests in PageTest.cs

svn path=/trunk/mcs/; revision=65385

17 years agosvn path=/trunk/mcs/; revision=65384
Merav Sudri [Thu, 14 Sep 2006 10:04:12 +0000 (10:04 -0000)]
svn path=/trunk/mcs/; revision=65384

17 years agosvn path=/trunk/mcs/; revision=65382
Merav Sudri [Thu, 14 Sep 2006 07:53:01 +0000 (07:53 -0000)]
svn path=/trunk/mcs/; revision=65382

17 years agoTests for Page Header were added to PageTest.cs
Merav Sudri [Thu, 14 Sep 2006 07:33:37 +0000 (07:33 -0000)]
Tests for Page Header were added to PageTest.cs

svn path=/trunk/mcs/; revision=65381

17 years ago * XplatUIX11.cs: rework window destruction slightly.
Chris Toshok [Thu, 14 Sep 2006 02:25:02 +0000 (02:25 -0000)]
* XplatUIX11.cs: rework window destruction slightly.

- when destroying the windows associated with a control, we don't
need 2 separate XDestroyWindow calls.  Just the one for the
whole_window (or for client_window if whole_window is somehow
IntPtr.Zero -- can this happen?) is enough.

- reworked SendWMDestroyMessages slightly, so we always dispose
the child control hwnd's after sending the messages.

- refactored out the ActiveWindow/FocusWindow/Caret clearing from
the two places it's used (differently in each place!), 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 destroyed in
SendWMDestroyMessages.) fun, eh?

- this fixes bug #79326.

2006-09-13  Chris Toshok  <toshok@ximian.com>

svn path=/trunk/mcs/; revision=65378

17 years ago2006-09-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 14 Sep 2006 01:51:19 +0000 (01:51 -0000)]
2006-09-13  Chris Toshok  <toshok@ximian.com>

* Control.cs: don't always set is_recreating to false at the end
of RecreateHandle, since sometimes we're not done (and won't be
until WndProc handles the WM_DESTROY message).  Also, set
is_recreating to false in the WM_DESTROY handling code.  Part of
the fix for bug #79326.

svn path=/trunk/mcs/; revision=65377

17 years agoI missed this one, remove debugging message
Miguel de Icaza [Wed, 13 Sep 2006 20:56:28 +0000 (20:56 -0000)]
I missed this one, remove debugging message

svn path=/trunk/mcs/; revision=65369

17 years ago2006-09-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 13 Sep 2006 20:36:37 +0000 (20:36 -0000)]
2006-09-13  Miguel de Icaza  <miguel@novell.com>

* X11DesktopColors.cs: Start the droppage of debugging messages.

svn path=/trunk/mcs/; revision=65368

17 years ago2006-09-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 13 Sep 2006 20:35:54 +0000 (20:35 -0000)]
2006-09-13  Miguel de Icaza  <miguel@novell.com>

* FileDialog.cs: Store the configuration file in ~/.mono/mwf_config

svn path=/trunk/mcs/; revision=65367

17 years ago2006-09-13 Mart Roosmaa <roosmaa@gmail.com>
Miguel de Icaza [Wed, 13 Sep 2006 18:31:59 +0000 (18:31 -0000)]
2006-09-13  Mart Roosmaa <roosmaa@gmail.com>

      * SqliteDataReader.cs: Implemented GetBytes ().
      * SqliteCommand.cs: Automatically convert enums to Int32.

svn path=/trunk/mcs/; revision=65364

17 years ago* DynamicMethodTest.cs: Added ctor tests for name null check. Added
Gert Driesen [Wed, 13 Sep 2006 17:47:44 +0000 (17:47 -0000)]
* DynamicMethodTest.cs: Added ctor tests for name null check. Added
tests for bug #79367 (marked NotWorking).

svn path=/trunk/mcs/; revision=65363

17 years ago2006-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 13 Sep 2006 15:34:21 +0000 (15:34 -0000)]
2006-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* assembly.c: don't append .exe/.dll when the filename already contains
one of those extensions.

svn path=/trunk/mono/; revision=65358

17 years ago2006-09-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 13 Sep 2006 14:29:24 +0000 (14:29 -0000)]
2006-09-14  Jonathan Pobst <monkey@jpobst.com>

        * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
        * SplitContainerTests.cs: Tests added [2.0].

svn path=/trunk/mcs/; revision=65353

17 years agoReworked test scripts for TARGET_JVM.
Boris Kirzner [Wed, 13 Sep 2006 13:44:19 +0000 (13:44 -0000)]
Reworked test scripts for TARGET_JVM.

svn path=/trunk/mcs/; revision=65352

17 years agoSmall fixes for TARGET_JVM test scripts.
Boris Kirzner [Wed, 13 Sep 2006 13:30:05 +0000 (13:30 -0000)]
Small fixes for TARGET_JVM test scripts.

svn path=/trunk/mcs/; revision=65351

17 years agoSmall fixes for TARGET_JVM test scripts.
Boris Kirzner [Wed, 13 Sep 2006 13:23:18 +0000 (13:23 -0000)]
Small fixes for TARGET_JVM test scripts.

svn path=/trunk/mcs/; revision=65350

17 years agoSmall fixes for TARGET_JVM test scripts.
Boris Kirzner [Wed, 13 Sep 2006 13:09:05 +0000 (13:09 -0000)]
Small fixes for TARGET_JVM test scripts.

svn path=/trunk/mcs/; revision=65348

17 years agoSmall fixes for TARGET_JVM.
Boris Kirzner [Wed, 13 Sep 2006 13:00:38 +0000 (13:00 -0000)]
Small fixes for TARGET_JVM.

svn path=/trunk/mcs/; revision=65347

17 years agoFix for bug 77592 (memory leak in OracleParameter)
Leszek 'skolima' Ciesielski [Wed, 13 Sep 2006 08:38:24 +0000 (08:38 -0000)]
Fix for bug 77592 (memory leak in OracleParameter)

svn path=/trunk/mcs/; revision=65345

17 years agoAdded missing 'using' statements.
Leszek 'skolima' Ciesielski [Wed, 13 Sep 2006 08:27:15 +0000 (08:27 -0000)]
Added missing 'using' statements.

svn path=/trunk/mcs/; revision=65344

17 years agoClientScriptManagerTest.cs: changes for not implemented stuff.
Yoni Klain [Wed, 13 Sep 2006 06:33:55 +0000 (06:33 -0000)]
ClientScriptManagerTest.cs: changes for not implemented stuff.

svn path=/trunk/mcs/; revision=65343

17 years ago2006-09-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Sep 2006 05:46:22 +0000 (05:46 -0000)]
2006-09-13  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (load_aot_module_from_cache): Fix PPC build.

svn path=/trunk/mono/; revision=65342

17 years agoput in the right namespace
Chris Toshok [Wed, 13 Sep 2006 01:54:21 +0000 (01:54 -0000)]
put in the right namespace

svn path=/trunk/mcs/; revision=65340

17 years agoAdded a document describing the new anonymous methods design.
Martin Baulig [Tue, 12 Sep 2006 16:38:26 +0000 (16:38 -0000)]
Added a document describing the new anonymous methods design.

svn path=/trunk/mcs/; revision=65328

17 years agoRename this file
Miguel de Icaza [Tue, 12 Sep 2006 16:37:52 +0000 (16:37 -0000)]
Rename this file

svn path=/trunk/mcs/; revision=65327

17 years agoUpdate
Miguel de Icaza [Tue, 12 Sep 2006 16:09:10 +0000 (16:09 -0000)]
Update

svn path=/trunk/mono/; revision=65326

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 16:04:29 +0000 (16:04 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c (UNVERIFIED): Add a 'break-on-unverified' MONO_DEBUG option so this
macro does not have to be changed during debugging.

svn path=/trunk/mono/; revision=65325

17 years agoUpdated.
Martin Baulig [Tue, 12 Sep 2006 15:58:46 +0000 (15:58 -0000)]
Updated.

svn path=/trunk/mcs/; revision=65323

17 years ago2006-09-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Sep 2006 15:56:40 +0000 (15:56 -0000)]
2006-09-12  Martin Baulig  <martin@ximian.com>

* class.c (mono_bounded_array_class_get): Also add `IList<object>'
to array interfaces.

svn path=/trunk/mono/; revision=65321

17 years ago2006-09-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Sep 2006 15:55:48 +0000 (15:55 -0000)]
2006-09-11  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_image_build_metadata): Create the
MethodImpl's after emitting all types and methods, so we don't
need another fixup pass for them.

svn path=/trunk/mono/; revision=65320

17 years agoooops.
Martin Baulig [Tue, 12 Sep 2006 15:54:51 +0000 (15:54 -0000)]
ooops.

svn path=/trunk/mono/; revision=65319

17 years ago2006-09-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Sep 2006 15:52:06 +0000 (15:52 -0000)]
2006-09-12  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeManager.IsIList): Moved into convert.cs.

* convert.cs (Convert.Array_To_IList): Moved here and correctly
implement it; fixes #79345.

svn path=/trunk/mcs/; revision=65318

17 years ago2006-09-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 Sep 2006 13:07:29 +0000 (13:07 -0000)]
2006-09-12  Sebastien Pouliot  <sebastien@ximian.com>

* PublicKeyTest.cs: Add a test case where the key comes from a PKCS#12
file, i.e. where a private key is also present. PublicKey.Key never
returns the private part of the key. Fix bug #79375. Added similar
checks to existing test cases (where a Key is returned).

svn path=/trunk/mcs/; revision=65309

17 years ago2006-09-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 Sep 2006 13:06:45 +0000 (13:06 -0000)]
2006-09-12  Sebastien Pouliot  <sebastien@ximian.com>

* PublicKey.cs: Never return the private key in the Key property, even
if it was available when creating the public key.

svn path=/trunk/mcs/; revision=65308

17 years agoFix log file names for TARGET_JVM.
Boris Kirzner [Tue, 12 Sep 2006 13:05:58 +0000 (13:05 -0000)]
Fix log file names for TARGET_JVM.

svn path=/trunk/mcs/; revision=65307

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 13:03:59 +0000 (13:03 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* cpu-alpha.md inssel-alpha.brg mini-alpha.h mini-alpha.c exceptions-alpha.c tramp-alpha.c: More alpha port work from Sergey Tikhonov <tsv@solvo.ru>.

svn path=/trunk/mono/; revision=65306

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 13:02:59 +0000 (13:02 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* alpha/alpha-codegen.h: More alpha updates from Sergey Tikhonov <tsv@solvo.ru>.

svn path=/trunk/mono/; revision=65305

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 13:02:03 +0000 (13:02 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
IEEE_8087 for alpha as well.

svn path=/trunk/mono/; revision=65304

17 years agofixed tests, removed NotWorking attributes
Igor Zelmanovich [Tue, 12 Sep 2006 12:52:43 +0000 (12:52 -0000)]
fixed tests, removed NotWorking attributes

svn path=/trunk/mcs/; revision=65303

17 years agoFix tests build for TARGET_JVM.
Boris Kirzner [Tue, 12 Sep 2006 12:46:54 +0000 (12:46 -0000)]
Fix tests build for TARGET_JVM.

svn path=/trunk/mcs/; revision=65302

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 12:44:32 +0000 (12:44 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* cpu-pentium.md: Rename this to cpu-x86.md for consistency with other platforms.

* Makefile.am mini-x86.c mini-codegen.c: Rename pentium_desc to x86_desc.

svn path=/trunk/mono/; revision=65301

17 years ago2006-09-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Sep 2006 12:32:04 +0000 (12:32 -0000)]
2006-09-12  Zoltan Varga  <vargaz@gmail.com>

* declsec.c: Fix windows VC build.

svn path=/trunk/mono/; revision=65300