mono.git
18 years ago2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 23 Dec 2005 00:15:38 +0000 (00:15 -0000)]
2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>

* RTF.cs: Added method to allow setting the default font for the RTF
  document. This font will be used if the document does not contain
  a font table.
* Font.cs: Added method to delete font with a given number;
  changed set_Num to call this method (to allow replacing fonts
  with the same number, particulary the default font)

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

18 years ago* XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
Jackson Harper [Fri, 23 Dec 2005 00:08:03 +0000 (00:08 -0000)]
* XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
        clipboard. PRIMARY is for the currently selected text only. (We
        should implement PRIMARY at some point.

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

18 years ago* TextBoxBase.cs: It's difficult to do, but you can have an empty
Jackson Harper [Thu, 22 Dec 2005 23:52:29 +0000 (23:52 -0000)]
* TextBoxBase.cs: It's difficult to do, but you can have an empty
        clipboard. This prevents a NullRef in that case.

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

18 years ago * cilc.cs: Add support for string return types and properties, begin work to
Alp Toker [Thu, 22 Dec 2005 23:35:30 +0000 (23:35 -0000)]
  * cilc.cs: Add support for string return types and properties, begin work to
  improve GObject tie-in

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

18 years ago2005-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Dec 2005 23:11:00 +0000 (23:11 -0000)]
2005-12-23  Zoltan Varga  <vargaz@gmail.com>

* inssel-sparc.brg: Add an implementation of lneg which actually works.

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

18 years agoMore tests.
Marek Safar [Thu, 22 Dec 2005 22:11:02 +0000 (22:11 -0000)]
More tests.

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

18 years ago2005-12-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 22 Dec 2005 22:09:03 +0000 (22:09 -0000)]
2005-12-22  Marek Safar  <marek.safar@seznam.cz>

* expression.cs (ComposedCast.DoResolveAsTypeStep): Fixed wrong merge.

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

18 years ago2005-12-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Dec 2005 21:03:07 +0000 (21:03 -0000)]
2005-12-22  Zoltan Varga  <vargaz@gmail.com>

* aliasing.c (mono_build_aliasing_information): Add a workaround for
a crash seen on sparc.

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

18 years ago2005-12-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Dec 2005 20:20:47 +0000 (20:20 -0000)]
2005-12-22  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.c: Add implementation of Thread.MemoryBarrier.

* cpu-sparc.md: Add memory_barrier opcode. Remove unused opcodes.

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

18 years ago2005-12-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Dec 2005 20:18:57 +0000 (20:18 -0000)]
2005-12-22  Zoltan Varga  <vargaz@gmail.com>

* interlocked.cs: Add "test" for Thread.MemoryBarrier ().

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

18 years ago2005-12-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Dec 2005 20:18:18 +0000 (20:18 -0000)]
2005-12-22  Zoltan Varga  <vargaz@gmail.com>

* sparc/sparc-codegen.h (sparc_membar): Add membar instruction.

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

18 years ago2005-12-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Dec 2005 18:22:32 +0000 (18:22 -0000)]
2005-12-22  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_mb_emit_restore_result): Add generics support. Fixes
#76967.

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

18 years ago2005-12-22 Alp Toker <alp@atoker.com>
Alp Toker [Thu, 22 Dec 2005 17:55:49 +0000 (17:55 -0000)]
2005-12-22  Alp Toker  <alp@atoker.com>

  * cilc.cs: Add support for string return types and properties
  * Test.cs, demo.c: Update tests

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

18 years ago2005-12-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Dec 2005 17:51:24 +0000 (17:51 -0000)]
2005-12-22  Zoltan Varga  <vargaz@gmail.com>

* custom-attr.cs: Add test for #77045.

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

18 years ago2005-12-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Dec 2005 17:51:02 +0000 (17:51 -0000)]
2005-12-22  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_custom_attrs_construct_by_type): Handle the case
when attr_klass is an interface. Fixes #77045.

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

18 years ago2005-12-22 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Thu, 22 Dec 2005 17:26:18 +0000 (17:26 -0000)]
2005-12-22 Jordi Mas i Hernandez  <jordimash@gmail.com>

* EnumPrinters.cs: Printer enumerator
* PrintingTextFile.cs: Prints a text file

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

18 years ago2005-12-22 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Thu, 22 Dec 2005 17:06:00 +0000 (17:06 -0000)]
2005-12-22 Jordi Mas i Hernandez <jordimash@gmail.com>

* PrintingServices.cs: Printing services abstration class
* PrintingServicesWin32.cs: Win32 printer driver
* PrintingServicesUnix.cs: Unix printer driver
* Margins.cs: Fixes exceptions error messages
* PrinterResolution.cs: Fixes
* PrintEventArgs.cs: New internal method
* PrintPageEventArgs.cs: New internal method
* StandardPrintController.cs: Fixes
* PrinterUnitConvert.cs: Fixes conversion errors
* PrintDocument.cs: Fixes to make it print
* PageSettings.cs: Take margains into account
* PrintController.cs: Fixes
* PaperSize.cs: Method to set paper Kind
* PrinterSettings.cs: Implements settings and fixes
*

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

18 years agoFix it for good
Miguel de Icaza [Thu, 22 Dec 2005 14:52:10 +0000 (14:52 -0000)]
Fix it for good

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

18 years agooops
Miguel de Icaza [Thu, 22 Dec 2005 14:37:00 +0000 (14:37 -0000)]
oops

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

18 years ago* library.make (LIBRARY_PACKAGE): New define. Install development symlinks for
Raja R Harinath [Thu, 22 Dec 2005 09:42:36 +0000 (09:42 -0000)]
* library.make (LIBRARY_PACKAGE): New define.  Install development symlinks for
compat libraries in a different directory.

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

18 years ago* Makefile (COMPAT_PROFILE_DIRS): New.
Raja R Harinath [Thu, 22 Dec 2005 09:21:28 +0000 (09:21 -0000)]
* Makefile (COMPAT_PROFILE_DIRS): New.
(dist-local): Use it.

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

18 years agoIn build:
Raja R Harinath [Thu, 22 Dec 2005 09:17:33 +0000 (09:17 -0000)]
In build:
* library.make (lib_dir): Define to 'compat' if LIBRARY_COMPAT is
defined, 'lib' otherwise.
(the_lib): Use it to decide where to place the output library.

In class:
* Makefile (default_SUBDIRS): Add Compat.ICSharpCode.SharpZipLib.
* compat/default, compat/net_2_0: New directories for holding
backwards-compatibility libraries.  These will not be used inside
the tree, but will be installed into the GAC.

In class/Compat.ICSharpCode.SharpZipLib:
Mark this as a backwards-compatibility library.
* Makefile (thisdir): Update to new location.
(LIBRARY): Rename to be unique.
(LIBRARY_NAME, LIBRARY_COMPAT): Define.
* Compat.ICSharpCode.SharpZipLib.dll.sources: Rename from
ICSharpCode.SharpZipLib.dll.sources to reflect changes.

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

18 years ago* ConsoleTest.cs: Modernize to use attributes and Assert class.
Raja R Harinath [Thu, 22 Dec 2005 09:14:29 +0000 (09:14 -0000)]
* ConsoleTest.cs: Modernize to use attributes and Assert class.

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

18 years agoIn ilasm/codegen:
Ankit Jain [Thu, 22 Dec 2005 09:06:21 +0000 (09:06 -0000)]
In ilasm/codegen:

* MethodDef.cs (MethodDef.ctor): Add type_def param. Use this for all uses of
the owner type_def. ResolveGenParams () before creating signature.
(MethodDef.ResolveGenParams):
(MethodDef.ResolveGenParam): Remove type_def param, instead use type_def field.
(MethodDef.Define): Remove overload with typedef param.
(MethodDef.CreateSignature): Put "`0" right after the name instead of at the end.
* TypeDef.cs (TypeDef.DefineContents): Update usage of MethodDef.Define .

In ilasm/parser:

* ILParser.jay (method_head | ..): Update usage of MethodDef.ctor to pass
codegen.CurrentTypeDef also. ResolveGenParams is called by MethodDef internally.
(instr | INSTR_FIELD ..): Update usage of MethodDef.ResolveGenParam .

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

18 years ago2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 22 Dec 2005 04:29:48 +0000 (04:29 -0000)]
2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  a Unicode function with a structure that was defined in Ansi way.
  This fixes #76942.

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

18 years ago2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Dec 2005 04:19:55 +0000 (04:19 -0000)]
2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: don't end the request in
RedirectFromLoginPage.

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

18 years ago* Menu.cs: Use the system menu bar color for drawing menu
Jackson Harper [Thu, 22 Dec 2005 04:16:04 +0000 (04:16 -0000)]
* Menu.cs: Use the system menu bar color for drawing menu
        bars. Using the window back color will bring ambient colours
into
        the picture.

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

18 years ago2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Dec 2005 04:08:01 +0000 (04:08 -0000)]
2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthenticationModule.cs: expire the cookie. Fixes bug #77043.
Patch by Cyrille Colin.

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

18 years ago2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Dec 2005 03:26:28 +0000 (03:26 -0000)]
2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConfigurationSettings.cs: patch by Cyrille Colin that sets the
right application path even when MapPath fails. Closes bug #77044.

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

18 years ago * StatusBar.cs: Statusbar handles its fore/back colours on it's
Jackson Harper [Thu, 22 Dec 2005 03:15:41 +0000 (03:15 -0000)]
    * StatusBar.cs: Statusbar handles its fore/back colours on it's
        on. Because thats how it rolls. (and this avoids it using
        ambient
        colours).
        * ThemeWin32Classic.cs: Use the proper back color for filling.

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

18 years ago2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Dec 2005 01:55:14 +0000 (01:55 -0000)]
2005-12-21  Sebastien Pouliot  <sebastien@ximian.com>

* PathTest.cs: Added new test case for #77058 where a Windows drive
wasn't considered during path canonalization.

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

18 years ago2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Dec 2005 01:54:10 +0000 (01:54 -0000)]
2005-12-21  Sebastien Pouliot  <sebastien@ximian.com>

* Path.cs: Fixed #77058 where a Windows drive wasn't considered during
path canonalization.

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

18 years ago2005-12-22 Alp Toker <alp@atoker.com>
Alp Toker [Thu, 22 Dec 2005 00:21:08 +0000 (00:21 -0000)]
2005-12-22  Alp Toker  <alp@atoker.com>

  * cilc.cs: Add support for char, sbyte, byte and double
  * Test.cs, demo.c: Update tests

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

18 years ago* mini-ops.h: Add s390_backchain instruction
Neale Ferguson [Wed, 21 Dec 2005 21:46:19 +0000 (21:46 -0000)]
* mini-ops.h: Add s390_backchain instruction

* inssel-s390.brg: Use backchaining instruction for LOADARG/STKARG operations.

* cpu-s390.md: Add s390_backchain instruction

* mini-s390.c: Significant ABI changes

* mini-s390.h: Cater for zero length structures

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

18 years ago2005-12-21 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Wed, 21 Dec 2005 21:40:42 +0000 (21:40 -0000)]
2005-12-21  Alexander Olk  <alex.olk@googlemail.com>

* ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  Bitmaps were created and not disposed.

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

18 years ago2005-12-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 21 Dec 2005 20:56:16 +0000 (20:56 -0000)]
2005-12-21  Miguel de Icaza  <miguel@novell.com>

* driver.cs: Report the case of no source files and no -out:
argument provided.

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

18 years ago * CSFriendAssembly-lib.cs: Update friend assembly info
Carlos Alberto Cortez [Wed, 21 Dec 2005 20:49:21 +0000 (20:49 -0000)]
* CSFriendAssembly-lib.cs: Update friend assembly info
after the latest updates to this feature.

* gcs1726.cs: Likewise.

* gcs0281.cs: Likewise.

2005-12-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

18 years ago2005-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Dec 2005 20:23:02 +0000 (20:23 -0000)]
2005-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* PathTest.cs: Added new test case for #77007 where a Windows drive is
specified with a partial path.

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

18 years ago2005-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Dec 2005 20:18:19 +0000 (20:18 -0000)]
2005-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* Path.cs: Fixed #77007 where a Windows drive is specified with a
partial path.

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

18 years ago2005-12-21 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Wed, 21 Dec 2005 19:20:41 +0000 (19:20 -0000)]
2005-12-21  Cesar Lopez Nataren  <cnataren@novell.com>

* mjs-most.tests: Enable js1_2/Array/tostring_1.js,
js1_2/regexp/alphanumeric.js, js1_2/regexp/digit.js,
js1_2/regexp/whitespace.js and js1_2/regexp/word_boundary.js.

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

18 years agoAdd this for backwards compatibility
Miguel de Icaza [Wed, 21 Dec 2005 18:52:25 +0000 (18:52 -0000)]
Add this for backwards compatibility

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

18 years ago2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Dec 2005 18:23:31 +0000 (18:23 -0000)]
2005-12-21  Sebastien Pouliot  <sebastien@ximian.com>

* ListTest.cs: Added test cases for #77039 for sorting a list with
IComparable (generic or not) and without IComparable (exception).

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

18 years agoArray.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
Sebastien Pouliot [Wed, 21 Dec 2005 18:23:17 +0000 (18:23 -0000)]
Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039

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

18 years agodelete error message as it passes now
César Natarén [Wed, 21 Dec 2005 18:17:35 +0000 (18:17 -0000)]
delete error message as it passes now

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

18 years ago2005-12-21 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Wed, 21 Dec 2005 18:16:06 +0000 (18:16 -0000)]
2005-12-21  Cesar Lopez Nataren  <cnataren@novell.com>

* mjs-most.tests: Enable ecma_2/Expressions/instanceof-002.js.

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

18 years ago2005-12-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 21 Dec 2005 12:01:27 +0000 (12:01 -0000)]
2005-12-21  Miguel de Icaza  <miguel@novell.com>

* HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
unicode values must be in %XXXX format, not %XX sometimes.

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

18 years agoFix thinko
Raja R Harinath [Wed, 21 Dec 2005 11:24:21 +0000 (11:24 -0000)]
Fix thinko

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

18 years agoMake line-ending uniform
Raja R Harinath [Wed, 21 Dec 2005 10:41:07 +0000 (10:41 -0000)]
Make line-ending uniform

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

18 years ago2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 21 Dec 2005 10:38:24 +0000 (10:38 -0000)]
2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (CreateControl): Don't do anything if the control is
  already created, otherwise we'd fire the OnCreated event more than
  once

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

18 years ago2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 21 Dec 2005 10:04:16 +0000 (10:04 -0000)]
2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>

* ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  will always match. Instead return -1. Fixes #76464.

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

18 years ago2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 21 Dec 2005 09:32:29 +0000 (09:32 -0000)]
2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  neither the beginning nor the end of the line (Fixes bug #76479)

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

18 years ago* SerializationTest.cs: Use Assert.AreEqual instead of Assertion.AssertEquals.
Raja R Harinath [Wed, 21 Dec 2005 09:20:10 +0000 (09:20 -0000)]
* SerializationTest.cs: Use Assert.AreEqual instead of Assertion.AssertEquals.
(ReadData): Fix order of 'expected' and 'actual' when validating 'list'.
(*.CheckEqual): Add new 'context' argument.  Encodes the path
taken to get to th current object.

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

18 years ago2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 21 Dec 2005 08:19:51 +0000 (08:19 -0000)]
2005-12-21  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - ControlNativeWindow.ControlFromHandle(): Now handling situation
    where handle is invalid
  - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
    instead of slower linear search
* NativeWindow.cs: Don't remove the window from the hashtable until
  after the driver has destroyed it (since the driver might use
  Control.FromHandle to lookup the control object
* Hwnd.cs: Added DestroyPending property to track if a window is
  already destroyed as far as the driver is concerned and only hasn't
  yet notified the control
* XplatUIX11.cs:
  - Activate(): Check if the window is still valid before using the
    handle
  - Implemented DestroyChildWindow() method to mark child windows as
    destroyed when a window is destroyed. This prevents situations
    where we might call an X method based on queued events for a
    window that already has been destroyed but we haven't yet pulled
    the destroy method from the queue.
  - Added a call to the new DestroyChildWindow() method to the drivers
    DestroyWindow code. Also now marking the destroyed window itself
    as pending

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

18 years ago2005-12-20 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Wed, 21 Dec 2005 08:02:52 +0000 (08:02 -0000)]
2005-12-20  Cesar Lopez Nataren  <cnataren@novell.com>

* mjs-most.tests:Enable ecma/Boolean/15.6.3.1-1.js,
ecma/FunctionObjects/15.3.4.js, ecma/GlobalObject/15.1.2.5-2.js,
ecma/Statements/12.6.2-8.js

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

18 years agoIn ilasm/codegen:
Ankit Jain [Wed, 21 Dec 2005 07:52:00 +0000 (07:52 -0000)]
In ilasm/codegen:

* GenericArguments.cs (GenericArguments): New.
* ExternTypeRefInst.cs (ExternTypeRefInst):
* GenericTypeInst.cs (GenericTypeInst):
* GenericMethodSig.cs (GenericMethodSig): Update to use new GenericArguments class.

In ilasm:

* ilasm.exe.sources: Add GenericArguments.cs to the build.

In ilasm/parser:

* ILParser.jay: Update to use new GenericArguments class for 'typars'.

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

18 years ago* mono-cairo.pc.in: use $prefix/lib instead of $libdir,
Wade Berrier [Wed, 21 Dec 2005 07:45:15 +0000 (07:45 -0000)]
* mono-cairo.pc.in: use $prefix/lib instead of $libdir,
  otherwise the cairo.dll can't be found on 64 bit architectures

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

18 years ago2005-12-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 21 Dec 2005 07:10:43 +0000 (07:10 -0000)]
2005-12-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* gcs1726-2.cs: New test based on last update to
friend assembly access.

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

18 years ago2005-12-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 21 Dec 2005 07:06:25 +0000 (07:06 -0000)]
2005-12-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* gtest-friend-00-lib.cs: Include the public key in
InternalsVisibleToAttribute declarations (needed by an update
in friendly assembly access).

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

18 years ago2005-12-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 21 Dec 2005 07:04:05 +0000 (07:04 -0000)]
2005-12-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* codegen.cs (AssemblyClass.CheckInternalsVisibleAttribute): Generate
errors 1726 for strong named assemblies with InternalsVisibleToAttribute
that doesn't contain the full public key. This is a update of the
friend assemblies in .Net 2.0 release.

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

18 years ago2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 21 Dec 2005 06:00:46 +0000 (06:00 -0000)]
2005-12-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* AssemblyTest.cs: Remove 'NotWorking' category attribute
to the Reflection Only tests, since they are working by now.

* FieldInfoTest.cs: Likewise.

* MethodInfoTest.cs: Likewise.

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

18 years ago2005-12-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Dec 2005 05:31:47 +0000 (05:31 -0000)]
2005-12-21  Atsushi Enomoto  <atsushi@ximian.com>

* XslTemplate.cs : don't check name and mode attributes on
  non-'xsl:template' element. This should fix bug #77051.

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

18 years ago2005-12-20 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Wed, 21 Dec 2005 05:28:22 +0000 (05:28 -0000)]
2005-12-20  Cesar Lopez Nataren  <cnataren@novell.com>

* mjs-most.tests:Enable ecma/Boolean/15.6.3.1-1.js

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

18 years ago2005-12-20 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Wed, 21 Dec 2005 03:44:38 +0000 (03:44 -0000)]
2005-12-20  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleConnectionPoolManager.cs
* System.Data.OracleClient/OracleConnectionPool.cs
* System.Data.OracleClient/OracleConnection.cs
* System.Data.OracleClient/OciGlue.cs
* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs
* System.Data.OracleClient.Oci/OciErrorHandle.cs
* System.Data.OracleClient.Oci/OciServiceHandle.cs
* System.Data.OracleClient.Oci/OciSessionHandle.cs: modified
- support Integrated Security which is external authentication
- dispose of OCI handles properly to prevent SEGSIGV during finalization
at application exit

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

18 years ago * StatusBar.cs:
Jackson Harper [Tue, 20 Dec 2005 23:38:15 +0000 (23:38 -0000)]
    * StatusBar.cs:
        * StatusBarPanel.cs: Don't calculate panel sizes on draw
        anymore. Just do them when needed, also track the rects of
panels
        so that we can optimize refreshing more in the future.

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

18 years agoFix test cases under 2.0 and re-activate most of the under Mono
Sebastien Pouliot [Tue, 20 Dec 2005 20:41:04 +0000 (20:41 -0000)]
Fix test cases under 2.0 and re-activate most of the under Mono

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

18 years ago2005-12-20 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 20 Dec 2005 19:12:33 +0000 (19:12 -0000)]
2005-12-20  Alexander Olk  <alex.olk@googlemail.com>

* ColorDialog.cs: Fixed focus drawing in small color controls

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

18 years ago* inssel-s390.brg: remove debug statements
Neale Ferguson [Tue, 20 Dec 2005 17:31:41 +0000 (17:31 -0000)]
* inssel-s390.brg: remove debug statements
* cpu-s390.md: fix length of ATOMIC_xx operations
* mini-s390.c: Major ABI fixes (esp. structures on stack)

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

18 years ago2005-12-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 20 Dec 2005 17:13:20 +0000 (17:13 -0000)]
2005-12-20  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_struct_conv): Fix previous patch.

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

18 years agomerge -r 54656:54658
Konstantin Triger [Tue, 20 Dec 2005 17:06:26 +0000 (17:06 -0000)]
merge -r 54656:54658

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

18 years ago2005-12-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 20 Dec 2005 14:04:19 +0000 (14:04 -0000)]
2005-12-20  Atsushi Enomoto <atsushi@ximian.com>

        * RdpPattern.cs : cache ContentType and save speed.

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

18 years ago2005-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 20 Dec 2005 13:58:34 +0000 (13:58 -0000)]
2005-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* ListTest.cs: Added test case for #76361 for sorting the list with a
generic comparer.

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

18 years ago2005-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 20 Dec 2005 13:58:22 +0000 (13:58 -0000)]
2005-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* List.cs: Applied Atsushi's patch for Sort (bug 76361) now that the
generic versions of Array.Sort are implemented.

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

18 years ago2005-12-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 20 Dec 2005 12:57:52 +0000 (12:57 -0000)]
2005-12-20  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_struct_conv): Add a check for fields with the same
offset.

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

18 years ago2005-12-20 Senganal T <tsenganal@novell.com>
Senganal T [Tue, 20 Dec 2005 12:24:21 +0000 (12:24 -0000)]
2005-12-20 Senganal T <tsenganal@novell.com>

* Mono.Data.SqlExpressions/Aggregation.cs :
Modified the Eval and CalculateStatisticalFunction to add boundary checks.
Fixes #77025.
* Test/System.Data/DataColumnTest.cs : added testcase for #77025

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

18 years agoFix regression in Mono.C5.
Raja R Harinath [Tue, 20 Dec 2005 12:07:34 +0000 (12:07 -0000)]
Fix regression in Mono.C5.
* class.c (mono_class_create_generic): If 'klass' is an interface
set up the interface offsets.
(mono_class_is_assignable_from): Don't throw away generic arguments.

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

18 years ago* TypeTest.cs (IsAssignable): New. Test Type.IsAssignableFrom for generic types.
Raja R Harinath [Tue, 20 Dec 2005 12:00:49 +0000 (12:00 -0000)]
* TypeTest.cs (IsAssignable): New.  Test Type.IsAssignableFrom for generic types.

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

18 years ago* TypeTest.cs (FullNameGenerics): Add tests for AssemblyQualifiedName.
Raja R Harinath [Tue, 20 Dec 2005 11:35:30 +0000 (11:35 -0000)]
* TypeTest.cs (FullNameGenerics): Add tests for AssemblyQualifiedName.

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

18 years ago2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 20 Dec 2005 08:19:33 +0000 (08:19 -0000)]
2005-12-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Array.cs: Added the Sort<T> methods (generics).

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

18 years agoFix #77035.
Raja R Harinath [Tue, 20 Dec 2005 08:04:04 +0000 (08:04 -0000)]
Fix #77035.
* mcs/expression.cs (ComposedCast.GetSignatureForError): Define.
* errors/cs0628-3.cs: New test based on #77035.

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

18 years agoEnable
Raja R Harinath [Tue, 20 Dec 2005 08:00:56 +0000 (08:00 -0000)]
Enable

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

18 years agoFix LDAP with https support patch from Loren Bandiera
Miguel de Icaza [Tue, 20 Dec 2005 05:15:53 +0000 (05:15 -0000)]
Fix LDAP with https support patch from Loren Bandiera

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

18 years ago* InternalWindowManager.cs:
Jackson Harper [Tue, 20 Dec 2005 03:02:13 +0000 (03:02 -0000)]
* InternalWindowManager.cs:
        * MdiWindowManager.cs: Cleanup some coordinate system changes so
        moving windows works properly.

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

18 years ago2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 20 Dec 2005 02:24:29 +0000 (02:24 -0000)]
2005-12-19  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - Removed call to InitLayout() from SetBoundsCore(); doc says
    it's only called when a control is added to a container
  - Split InitLayout logic, moved to separate UpdateDistances() method
    since we need to perform those calculations more often than just
    when adding the control to a container. (Needed to fix #77022)
  - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  - Reduced the OnBindingContextChanged events count, don't send them
    unless the control is created, we still aren't totally matching
    MS, but I can't quite figure out some of their rules

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

18 years ago2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 20 Dec 2005 02:21:40 +0000 (02:21 -0000)]
2005-12-19  Peter Dennis Bartok  <pbartok@novell.com>

* Graphics.cs (Flush): Make sure nativeObject is not null

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

18 years ago * ThemeClearlooks.cs: Corrected distance between ProgressBar
Alexander Olk [Mon, 19 Dec 2005 21:33:58 +0000 (21:33 -0000)]
* ThemeClearlooks.cs: Corrected distance between ProgressBar
  stripes

2005-12-18  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago* Mono.Cairo/Makefile: Fix EXTRA_DIST to include samples in
Wade Berrier [Mon, 19 Dec 2005 20:48:03 +0000 (20:48 -0000)]
* Mono.Cairo/Makefile: Fix EXTRA_DIST to include samples in
make dist tarball

Fix #76138

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

18 years ago2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 19 Dec 2005 20:30:34 +0000 (20:30 -0000)]
2005-12-19  Peter Dennis Bartok  <pbartok@novell.com>

* Mono.Cairo/Format.cs: Removed fixme, added names in .Net format
* Mono.Cairo/Surface.cs: Removed fixme, added static method
  FromBitmap() to allow creating a surface from a bitmap
* Mono.Cairo/Pattern.cs: Removed fixme to not tempt anyone to change
  the name down the road

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

18 years ago2005-12-18 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Mon, 19 Dec 2005 19:55:26 +0000 (19:55 -0000)]
2005-12-18  Alexander Olk  <alex.olk@googlemail.com>

* ThemeClearlooks.cs:
  - Updated ProgressBar drawing
  - Corrected drawing of ScrollBars and scroll buttons
  - Some temporary fixes for minor pixel artefacts

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

18 years ago2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Dec 2005 19:33:40 +0000 (19:33 -0000)]
2005-12-19  Sebastien Pouliot  <sebastien@ximian.com>

* Dictionary.cs: Added [Serializable] attribute to both inner
Enumerator struct in Key and Value inner collection classes.
* EqualityComparer.cs: Added missing IEqualityComparer interface.
* List.cs: Added [Serializable] attribute to both inner Enumerator
struct.

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

18 years ago2005-12-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 19 Dec 2005 19:26:51 +0000 (19:26 -0000)]
2005-12-19  Zoltan Varga  <vargaz@gmail.com>

* monoburg.c (create_term): Fix warning.

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

18 years ago2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Dec 2005 17:16:57 +0000 (17:16 -0000)]
2005-12-19  Sebastien Pouliot  <sebastien@ximian.com>

* Dictionary.cs: Fixed ICollection.CopyTo to use DictionaryEntry. Fixed
Key and Value CopyTo not to throw exception if the dictionary is empty
(fix bug #77019).

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

18 years ago * DictionaryTest.cs: Added test cases for CopyTo, including a test for
Sebastien Pouliot [Mon, 19 Dec 2005 17:16:52 +0000 (17:16 -0000)]
* DictionaryTest.cs: Added test cases for CopyTo, including a test for
DictionaryEntry.
* ListTest.cs: Added test case for #77019 when copying from an empty
dictionary.

2005-12-19  Sebastien Pouliot  <sebastien@ximian.com>

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

18 years agoRemoved debugging CWL that shows during normal execution.
Sebastien Pouliot [Mon, 19 Dec 2005 16:08:36 +0000 (16:08 -0000)]
Removed debugging CWL that shows during normal execution.

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

18 years agoArrayTest.cs: Added test cases for a binary search with an empty list (bug #77030...
Sebastien Pouliot [Mon, 19 Dec 2005 16:03:19 +0000 (16:03 -0000)]
ArrayTest.cs: Added test cases for a binary search with an empty list (bug #77030). Fixed other test cases so they execute without failures under MS 2.0. Removed test cases for API changes in 2.0 final.

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

18 years ago2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Dec 2005 16:01:17 +0000 (16:01 -0000)]
2005-12-19  Sebastien Pouliot  <sebastien@ximian.com>

* ArrayListTest.cs: Added test cases for a binary search with an empty
list (bug #77030). Fixed other test cases so they execute without
failures under MS 2.0.

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

18 years ago2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Dec 2005 15:59:45 +0000 (15:59 -0000)]
2005-12-19  Sebastien Pouliot  <sebastien@ximian.com>

* ListTest.cs: Added test case for a binary search with an empty list
(bug #77030). Removed IsReadOnly test case as this isn't part of the
public API anymore.

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

18 years ago2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Dec 2005 15:57:59 +0000 (15:57 -0000)]
2005-12-19  Sebastien Pouliot  <sebastien@ximian.com>

* Collection.cs: IsReadOnly property isn't public in 2.0 final.
* ReadOnlyCollection.cs: Fixed API to match 2.0 final.

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

18 years ago2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Dec 2005 15:56:10 +0000 (15:56 -0000)]
2005-12-19  Sebastien Pouliot  <sebastien@ximian.com>

* List.cs: Fix exception reporting to match MS behaviour (2.0 final).

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

18 years ago2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Dec 2005 15:55:19 +0000 (15:55 -0000)]
2005-12-19  Sebastien Pouliot  <sebastien@ximian.com>

* ArrayList.cs: Fix default capacity under 2.0 (and unit tests under
MS 2.0).

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

18 years agoArray.cs: Fixed BinarySearch when the array is empty (#77030). Added some null check...
Sebastien Pouliot [Mon, 19 Dec 2005 15:54:00 +0000 (15:54 -0000)]
Array.cs: Fixed BinarySearch when the array is empty (#77030). Added some null check which throws ArgumentNullException under 2.0.

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