mono.git
17 years ago2006-09-29 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 29 Sep 2006 15:41:14 +0000 (15:41 -0000)]
2006-09-29  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
[Fixes #78779]

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

17 years ago * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
Jackson Harper [Thu, 28 Sep 2006 21:28:47 +0000 (21:28 -0000)]
    * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
        method doesn't exist
        - Skip over controls that aren't forms when arranging.

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

17 years ago* InternalWindowManager.cs: New private method that factors title
Jackson Harper [Thu, 28 Sep 2006 19:58:55 +0000 (19:58 -0000)]
* InternalWindowManager.cs: New private method that factors title
        bar heights in when calculating the pos of an NC mouse message.
        - Use SendMessage to force a paint when the form's size is
          changed
        instead of painting the decorations immediately.
        - Don't let the NC button click messages get to DefWndProc,
        because they will attempt to handle windowing themself, and this
        messes up z-order (it will put them in front of the scrollbars)

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

17 years ago * XplatUIX11.cs: When translating NC messages make sure we go
Jackson Harper [Thu, 28 Sep 2006 19:32:29 +0000 (19:32 -0000)]
    * XplatUIX11.cs: When translating NC messages make sure we go
        * from
        whole window to screen, not client window to screen.

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

17 years agoUpdated.
Marek Safar [Thu, 28 Sep 2006 19:24:03 +0000 (19:24 -0000)]
Updated.

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

17 years ago2006-09-28 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 28 Sep 2006 19:23:30 +0000 (19:23 -0000)]
2006-09-28  Marek Safar  <marek.safar@seznam.cz>

* namespace.cs (Namespace.Error_NamespaceDoesNotExist): Better error
  message when non-generic type is used with the type arguments.
* expression.cs: Updated.

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

17 years ago2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Sep 2006 17:18:52 +0000 (17:18 -0000)]
2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* console-io.c: ignore previous SIGINT handler.

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

17 years ago2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Sep 2006 17:04:01 +0000 (17:04 -0000)]
2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: this makes the test run successfully. Still need
to figure out why that is null.

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

17 years ago2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Sep 2006 16:52:36 +0000 (16:52 -0000)]
2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: band-aid patch to help debugging hang running 2.0
tests.

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

17 years ago * XplatUIX11.cs: Make sure that we don't reset window managers
Jackson Harper [Thu, 28 Sep 2006 16:38:51 +0000 (16:38 -0000)]
    * XplatUIX11.cs: Make sure that we don't reset window managers
        * if
        we already have one (ie the window is an MDI window).

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

17 years ago* added GH project files for VS2005:
Vladimir Krasnov [Thu, 28 Sep 2006 16:03:35 +0000 (16:03 -0000)]
* added GH project files for VS2005:
MainsoftWebApp20.Tomcat.vmwcsproj for Tomcat
SystemWebTest20.vmwcsproj
SystemWebTest20.csproj

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

17 years ago2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Sep 2006 16:03:35 +0000 (16:03 -0000)]
2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Console.cs: avoid casting on windows.

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 15:36:08 +0000 (15:36 -0000)]
TARGET_JVM

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

17 years agoIn mcs:
Raja R Harinath [Thu, 28 Sep 2006 15:06:36 +0000 (15:06 -0000)]
In mcs:
Fix #79013
* convert.cs (Convert.ImplicitStandardConversionExists): Avoid infloop.
* expression.cs (EmptyExpression.Grab, EmptyExpression.Release):
Change semantics slightly.  Don't insist on having only one
temporary EmptyExpression -- just throttle the creation of new ones.

In tests:
* gtest-291.cs: New test from #79013.

In errors:
* gcs1502.cs: New test from #79013.

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

17 years ago2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 28 Sep 2006 14:57:30 +0000 (14:57 -0000)]
2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>

* FormViewTest.cs: removed NotWorking attributes, fixed tests

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 14:52:26 +0000 (14:52 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 14:49:35 +0000 (14:49 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 14:48:17 +0000 (14:48 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 14:46:10 +0000 (14:46 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM, MonoTODO
Andrew Skiba [Thu, 28 Sep 2006 14:41:36 +0000 (14:41 -0000)]
TARGET_JVM, MonoTODO

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

17 years agoThu Sep 28 16:40:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Sep 2006 14:40:34 +0000 (14:40 -0000)]
Thu Sep 28 16:40:07 CEST 2006 Paolo Molaro <lupus@ximian.com>

* inssel-x86.brg: make the helper methods static.

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 14:36:43 +0000 (14:36 -0000)]
TARGET_JVM

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

17 years agoThu Sep 28 16:31:32 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Sep 2006 14:30:48 +0000 (14:30 -0000)]
Thu Sep 28 16:31:32 CEST 2006 Paolo Molaro <lupus@ximian.com>

* inssel-amd64.brg, mini-amd64.c: small cleanup, use inst_call.

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

17 years ago * XplatUIWin32.cs: Clip the rect to the parent window.
Jackson Harper [Thu, 28 Sep 2006 14:29:00 +0000 (14:29 -0000)]
    * XplatUIWin32.cs: Clip the rect to the parent window.
        * XplatUIStructs.cs: Add clipping modes struct.

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

17 years ago2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 28 Sep 2006 14:17:47 +0000 (14:17 -0000)]
2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: fixed: OnBubbleEvent works properly

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

17 years ago2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Sep 2006 14:11:48 +0000 (14:11 -0000)]
2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebException.cs: patch by Andrew Skiba that fixes serialization
compatibility with .NET and the default value for status.

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 13:45:23 +0000 (13:45 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 13:43:30 +0000 (13:43 -0000)]
TARGET_JVM

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

17 years agoThu Sep 28 15:36:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Sep 2006 13:41:29 +0000 (13:41 -0000)]
Thu Sep 28 15:36:07 CEST 2006 Paolo Molaro <lupus@ximian.com>

* mini.c: updates for monoburg changes.
* inssel.brg: make a few helper functions static as they should.

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

17 years agoThu Sep 28 15:37:51 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Sep 2006 13:41:24 +0000 (13:41 -0000)]
Thu Sep 28 15:37:51 CEST 2006 Paolo Molaro <lupus@ximian.com>

* monoburg.c: the emit code for each rule is now run
from a single function, avoiding hundreds of relocations.
The C code present in .brg files is emitted at the start of
generated source file, allowing the use of static helper functions.

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 13:41:05 +0000 (13:41 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 13:39:13 +0000 (13:39 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 13:32:30 +0000 (13:32 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 13:29:01 +0000 (13:29 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 13:25:14 +0000 (13:25 -0000)]
TARGET_JVM

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

17 years agoTARGET_JVM
Andrew Skiba [Thu, 28 Sep 2006 13:23:17 +0000 (13:23 -0000)]
TARGET_JVM

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

17 years agoIn mcs:
Raja R Harinath [Thu, 28 Sep 2006 13:11:35 +0000 (13:11 -0000)]
In mcs:
Fix #79451
* ecore.cs (Expression.MemberLookup): Enable CS0229 errors for
non-interfaces too.  If no methods are found, don't try to create
a MethodGroupExpr.

In errors:
* cs0229-3.cs, CS0229-3-lib.il: New test based on #79451.
* cs0229-4.cs, CS0229-4-lib.il: Likewise.

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

17 years ago2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 28 Sep 2006 12:28:25 +0000 (12:28 -0000)]
2006-09-28  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Added test cases for bug #77699 (with and without
wrapping).

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

17 years ago2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 28 Sep 2006 09:24:39 +0000 (09:24 -0000)]
2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: removed NotWorking attributes

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

17 years agoFix the build.
Paolo Molaro [Thu, 28 Sep 2006 09:17:27 +0000 (09:17 -0000)]
Fix the build.

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

17 years agoNew test added to MasterPageTest.cs + new resources for this test.
Yoni Klain [Thu, 28 Sep 2006 07:48:45 +0000 (07:48 -0000)]
New test added to MasterPageTest.cs + new resources for this test.

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

17 years ago2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Sep 2006 04:34:38 +0000 (04:34 -0000)]
2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ConsoleDriver.cs:
* TermInfoDriver.cs:
* IConsoleDriver.cs:
* CStreamWriter.cs:
* ConsoleKeyInfo.cs:
* NullConsoleDriver.cs:
* Console.cs:
* CStreamReader.cs:
* WindowsConsoleDriver.cs: initial changes to handle cursor position
and screen buffers.

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

17 years ago2006-09-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 28 Sep 2006 04:08:00 +0000 (04:08 -0000)]
2006-09-28  Chris Toshok  <toshok@ximian.com>

* MainMenu.cs: fix #79405 by way of a disgusting hack.  all the
menu code really needs going over.

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

17 years ago * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
Chris Toshok [Thu, 28 Sep 2006 03:18:04 +0000 (03:18 -0000)]
* XplatUIX11.cs (SetWMStyles): more metacity wonderment.  turns
out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
window is maximizable.  So, we need to make sure that even if we
clear the border/wm frame of those functions, they're still
available (basically, we remove the decoration without removing
the function).  Half the fix for #79338.

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

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

17 years ago * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
Chris Toshok [Thu, 28 Sep 2006 02:04:59 +0000 (02:04 -0000)]
* DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
Fixes bug #79515.

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

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

17 years ago2006-09-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 28 Sep 2006 02:01:06 +0000 (02:01 -0000)]
2006-09-27  Chris Toshok  <toshok@ximian.com>

* Splitter.cs: reorder things a bit so that we don't actually
draw/move the splitter until after calling OnSplitterMoving.  This
lets users cancel/disallow the movement by explicitly setting
event.SplitX/SplitY.  Fixes #79372.

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

17 years ago * XplatUIX11.cs: Don't hide the caret when it is being
Jackson Harper [Thu, 28 Sep 2006 00:43:24 +0000 (00:43 -0000)]
    * XplatUIX11.cs: Don't hide the caret when it is being
        * destroyed,
        because it is most likely on a window being destroyed, and that
        will give us an X11 error.

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

17 years agoUpdated.
Marek Safar [Wed, 27 Sep 2006 23:16:26 +0000 (23:16 -0000)]
Updated.

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

17 years ago2006-09-28 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 27 Sep 2006 23:15:47 +0000 (23:15 -0000)]
2006-09-28  Marek Safar  <marek.safar@seznam.cz>

* ecore.cs (ResolveAsTypeStep): Print better error when type can be
generic type.

* namespace.cs (Namespace.LookForAnyGenericType): New method to help
us produce better error message.

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

17 years ago * PropertyGridView.cs: half of the fix for #78190. Clicking on
Chris Toshok [Wed, 27 Sep 2006 23:11:14 +0000 (23:11 -0000)]
* PropertyGridView.cs: half of the fix for #78190.  Clicking on
the dropdown button now toggles between showing and hiding the
dropdown.  Also, get rid of dropdown_form_showing and just use
dropdown_form.Visible.  We still don't do a grab, but I'll leave
that part to someone who has handled Capture-fu before.

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

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

17 years ago * DataGrid.cs: return false if alt isn't pressed when '0' is
Chris Toshok [Wed, 27 Sep 2006 22:43:53 +0000 (22:43 -0000)]
* DataGrid.cs: return false if alt isn't pressed when '0' is
pressed.  this keeps the '0' key from being swallowed, and fixes
bug #79350.

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

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

17 years ago * ComboBox.cs: use Invalidate when scrolling the dropdown list.
Chris Toshok [Wed, 27 Sep 2006 22:38:36 +0000 (22:38 -0000)]
* ComboBox.cs: use Invalidate when scrolling the dropdown list.
Calling Refresh (in response to a scrollbar event) screws up the
scrollbar painting.  Fixes bug #78923.

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

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

17 years ago * Theme.cs (SystemResPool): make the "if hashtable[key] == null
Chris Toshok [Wed, 27 Sep 2006 21:41:40 +0000 (21:41 -0000)]
* Theme.cs (SystemResPool): make the "if hashtable[key] == null
then insert into hashtable" blocks threadsafe.

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

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

17 years ago2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Sep 2006 20:58:34 +0000 (20:58 -0000)]
2006-09-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriter2.cs : null arg check.

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

17 years ago * MessageBox.cs (CreateParams): the styles should be |'ed with our
Chris Toshok [Wed, 27 Sep 2006 20:53:18 +0000 (20:53 -0000)]
* MessageBox.cs (CreateParams): the styles should be |'ed with our
baseclass's, since otherwise the
ControlBox/MinimizeBox/MaximizeBox assignments above have no
effect.  This gets the close button back in messageboxes.

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

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

17 years agoUpdated.
Marek Safar [Wed, 27 Sep 2006 20:29:34 +0000 (20:29 -0000)]
Updated.

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

17 years agoUpdated.
Marek Safar [Wed, 27 Sep 2006 20:09:01 +0000 (20:09 -0000)]
Updated.

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

17 years agoWarnings.
Marek Safar [Wed, 27 Sep 2006 19:39:53 +0000 (19:39 -0000)]
Warnings.

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

17 years agoChanged to report single error.
Marek Safar [Wed, 27 Sep 2006 19:37:17 +0000 (19:37 -0000)]
Changed to report single error.

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

17 years agoExtended test syntax.
Marek Safar [Wed, 27 Sep 2006 19:36:25 +0000 (19:36 -0000)]
Extended test syntax.
Please update your compiler-tester first.

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

17 years agoNew tests.
Marek Safar [Wed, 27 Sep 2006 19:35:16 +0000 (19:35 -0000)]
New tests.

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

17 years ago2006-09-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 27 Sep 2006 19:34:06 +0000 (19:34 -0000)]
2006-09-27  Marek Safar  <marek.safar@seznam.cz>

* expression.cs (Binary.ResolveOperator): Warn about a side effect
of the `|' operator.

* report.cs: A new warning added.

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

17 years ago2006-09-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 27 Sep 2006 19:23:26 +0000 (19:23 -0000)]
2006-09-27  Marek Safar  <marek.safar@seznam.cz>

* compiler-tester.cs: Add a new "//GMCS:" comment for messages
different on 2.0 runtime.
Add detection of the exactly same error/warning.

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

17 years ago2006-09-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 27 Sep 2006 18:43:04 +0000 (18:43 -0000)]
2006-09-27  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: Ensure that the results of Encrypt and Decrypt will
always be the same length as the key. If smaller then we left pad the
result with 0x00 (same integer, correct length for everyone). Fix bug
#79502 where an LDAP/SSL server didn't like the missing byte.

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

17 years ago2006-09-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 27 Sep 2006 18:27:35 +0000 (18:27 -0000)]
2006-09-27  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: Ensure that the results of Encrypt and Decrypt will
always be the same length as the key. If smaller then we left pad the
result with 0x00 (same integer, correct length for everyone). Fix bug
#79502 where an LDAP/SSL server didn't like the missing byte.

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

17 years ago2006-09-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 27 Sep 2006 18:19:27 +0000 (18:19 -0000)]
2006-09-27  Zoltan Varga  <vargaz@gmail.com>

* metadata.c class.c: Applied patch from Ricardo Fernandez Pascual
(ricardo.fernandez@st.com). Add some new MonoClass and MonoType accessors. Fixes
#79460, #79461, #79485.

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

17 years ago2006-09-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 27 Sep 2006 18:12:47 +0000 (18:12 -0000)]
2006-09-27  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_from_name_case): Fix incorrect comments. Fixes #79504.

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

17 years ago * PrintingServicesUnix.cs: Implements LoadPrinterPaperSources member,
Jordi Mas i Hernandez [Wed, 27 Sep 2006 17:26:59 +0000 (17:26 -0000)]
* PrintingServicesUnix.cs: Implements LoadPrinterPaperSources member,
simplifies GetPaperSizeName and loads paper source and size defaults

2006-09-27 Jordi Mas i Hernandez <jordimash@gmail.com>

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

17 years ago2006-09-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 27 Sep 2006 17:11:06 +0000 (17:11 -0000)]
2006-09-27  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
flag, not just != 0.  this makes flags that are actually multiple
bits (like WS_CAPTION) work.  fixes bug #79508.

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

17 years ago2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 27 Sep 2006 16:06:02 +0000 (16:06 -0000)]
2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
Thanks to Hubert Fongarnand. Fixes bug #79506.

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

17 years agoFlag as extern.
Paolo Molaro [Wed, 27 Sep 2006 15:31:54 +0000 (15:31 -0000)]
Flag as extern.

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

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

* Makefile.am: Move mini-codegen.c to common_sources.

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

17 years agoWed Sep 27 15:07:08 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 27 Sep 2006 13:07:42 +0000 (13:07 -0000)]
Wed Sep 27 15:07:08 CEST 2006 Paolo Molaro <lupus@ximian.com>

* mini.h: instroduce inst_call in MonoInst for use in OUTARG
instructions.
* Makefile.am, cpu-g4.md, inssel-ppc.brg, mini-codegen.c, mini-ppc.c,
mini-ppc.h: port to use the common local register allocator.

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

17 years ago2006-09-27 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Wed, 27 Sep 2006 12:07:06 +0000 (12:07 -0000)]
2006-09-27 Jordi Mas i Hernandez <jordimash@gmail.com>

* PrintingServices.cs: Add LoadPrinterPaperSources member

* PrintingServicesWin32.cs: Implements LoadPrinterPaperSources and
reads the default paper source and size.

* PrintingServicesUnix.cs: Add stub LoadPrinterPaperSources member

* PrinterSettings.cs: Implements PaperSourceCollection property and
makes default paper source and size from the system.

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

17 years ago2006-09-27 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Wed, 27 Sep 2006 11:58:19 +0000 (11:58 -0000)]
2006-09-27  Jordi Mas i Hernandez <jordimash@gmail.com>

* PageSetupDialog.cs: add support for getting and settings the
paper size, source and orientation.

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

17 years agoTests batch fix.
Boris Kirzner [Wed, 27 Sep 2006 10:28:28 +0000 (10:28 -0000)]
Tests batch fix.

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

17 years ago2006-09-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 27 Sep 2006 09:36:59 +0000 (09:36 -0000)]
2006-09-27  Martin Baulig  <martin@ximian.com>

* report.cs
(InternalErrorException): Added overloaded ctor taking a params array.

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

17 years ago2006-09-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 27 Sep 2006 08:11:29 +0000 (08:11 -0000)]
2006-09-27  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_load_type_info): Fix a typo which caused an assert. Fixes
#79217.

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

17 years ago2006-09-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 26 Sep 2006 23:13:31 +0000 (23:13 -0000)]
2006-09-26  Marek Safar  <marek.safar@seznam.cz>

* class.cs, codegen.cs, const.cs, cs-tokenizer.cs, driver.cs, ecore.cs:
Fixed the cases when same error was reported twice.

* report.cs (SymbolRelatedToPreviousError): Simplified as all our messages
now report symbol information.

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

17 years ago * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
Chris Toshok [Tue, 26 Sep 2006 22:02:38 +0000 (22:02 -0000)]
* XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
and caption == "", we need to remove the resize handles as well as
the title bar.

* Control.cs (set_Text): turns out that setting Text on a form
should change the WM styles on the window, since if ControlBox ==
false, the only way to get a window border is to have a non-""
Text property.  check winforms/forms/text.cs for an example.  so,
call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
update both window styles and title.  This fixes a lot of dialogs
(including the preferences dialog in MonoCalendar.)

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

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

17 years ago2006-09-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 26 Sep 2006 21:58:25 +0000 (21:58 -0000)]
2006-09-26  Chris Toshok  <toshok@ximian.com>

* XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
control isn't a Form), call Win32ShowWindow to hide the window,
but don't update the control Visible property.  When we reparent
back to a parent control, call SetVisible in order for the
window's visibility to be reinstated.

* XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
the FosterParent.

* Control.cs (ControlCollection.Remove): remove that value.Hide()
call for good, since it breaks MonoCalendar (and other things I'm
sure.) Also, set all_controls to null *after* the owner calls,
which end up regenerating it.
(ChangeParent): allow new_parent to be == null, passing
IntPtr.Zero down to XplatUI.

this fixes #79294 the right way.

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

17 years ago2006-09-26 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 26 Sep 2006 21:24:15 +0000 (21:24 -0000)]
2006-09-26  Mike Kestner  <mkestner@novell.com>

* GridEntry.cs : internal SetParent method.
* PropertyGrid.cs : attach to property changed on the proper
target if we have a hierarchical grid with subobjects. Setup
GridItem.Parent for hierarchical items.
* PropertyGridView.cs : Set value on the correct target for
hierarchical grids. [Fixes #78903]

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

17 years agoUpdated.
Marek Safar [Tue, 26 Sep 2006 20:56:40 +0000 (20:56 -0000)]
Updated.

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

17 years ago * Control.cs (ChildNeedsRecreating): this should return true if
Chris Toshok [Tue, 26 Sep 2006 20:08:30 +0000 (20:08 -0000)]
* Control.cs (ChildNeedsRecreating): this should return true if
either we're being recreated and the child is in our list, or our
parent is waiting for our recreation.

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

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

17 years ago2006-09-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 26 Sep 2006 18:46:34 +0000 (18:46 -0000)]
2006-09-26  Chris Toshok  <toshok@ximian.com>

* Control.cs (ControlCollection.Remove): reinstate the
value.Hide() call as suggested in bug #79294.

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

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

* XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
coordinates (versus a relative move).

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

17 years ago2006-09-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 26 Sep 2006 18:24:48 +0000 (18:24 -0000)]
2006-09-26  Chris Toshok  <toshok@ximian.com>

* Control.cs: rework child recreation a little bit.  It turns out
that we race between the DestroyNotify the WM_DESTROY message.  If
the parent gets its DestroyNotify before the child gets the
WM_DESTROY message, the child ends up not recreating (since the
parent finishes its recreation on DestroyNotify, and the child
checks ParentIsRecreating.)

So, instead we store off a list of all the child controls which
need to be recreated when the parent control starts to recreate
itself.  Then, when child controls get their WM_DESTROY message we
check to see if they're in the parent's pending recreation list,
and if so, we recreate.  This removes all dependency on ordering
from the code and fixes the initial MonoCalendar upgrade dialog.

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

17 years ago * TextControl.cs: Use the Line to get the length of the line,
Jackson Harper [Tue, 26 Sep 2006 18:06:30 +0000 (18:06 -0000)]
    * TextControl.cs: Use the Line to get the length of the line,
        since soft line breaks can change the end line.

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

17 years ago2006-09-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 26 Sep 2006 17:18:51 +0000 (17:18 -0000)]
2006-09-26  Chris Toshok  <toshok@ximian.com>

* Control.cs (ControlCollection.AddImplicit): don't add the
control again if it's already in one of our lists.  This keeps us
from adding controls over and over again for comboboxes when their
handle gets recreated (as the combobox adds implicit controls in
OnHandleCreated).  Fixes the X11 errors in bug #79480.

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

17 years ago2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Sep 2006 16:49:20 +0000 (16:49 -0000)]
2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* QueueManager.cs: if disposed, always return null for next request.
* HttpRuntime.cs: dispose the queue manager when shutting down the
domain. This will close pending requests with a 503.
* HttpApplication.cs: release the handler before marking the request
as completed. If in PipelineDone context is null, use
HttpContext.Current. Fixes some of those "Tick detected an unhandled
exception" errors printed out.

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

17 years ago2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Sep 2006 15:52:09 +0000 (15:52 -0000)]
2006-09-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlDeclaration.cs :
  Removed bogus return statement in Value. Fixed bug #79496.

* XmlDeclarationTests.cs : added bug #79496 case.

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

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

* marshal.c (mono_marshal_get_delegate_invoke): Tweak the IL a little so better code
could be generated from it.

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

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

* mini.h: Remove the comment too then.

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

17 years agoTue Sep 26 14:02:58 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 26 Sep 2006 12:11:19 +0000 (12:11 -0000)]
Tue Sep 26 14:02:58 CEST 2006 Paolo Molaro <lupus@ximian.com>

* mini.h: put back backend.data which is to be used shortly and
doesn't increase the size of MonoInst. If any 64 bit arch aligned
pointers on 4 byte boundaries it'd have much bigger issues running
and you can ifdef it out anyway.

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

17 years agoAdd new tests to CheckBoxTest.cs net_2_0 category
Yoni Klain [Tue, 26 Sep 2006 12:06:04 +0000 (12:06 -0000)]
Add new tests to CheckBoxTest.cs net_2_0 category

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

17 years ago * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
Nagappan Alagappan [Tue, 26 Sep 2006 11:30:56 +0000 (11:30 -0000)]
    * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
        DataRow.cs: Implementation of Binary Serialization /
        Deserialization.

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

17 years agoFix build for TARGET_JVM.
Boris Kirzner [Tue, 26 Sep 2006 11:16:47 +0000 (11:16 -0000)]
Fix build for TARGET_JVM.

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

17 years ago* DataTable.cs (RowsExist): Check rows based on version.
Nagappan Alagappan [Tue, 26 Sep 2006 11:11:17 +0000 (11:11 -0000)]
* DataTable.cs (RowsExist): Check rows based on version.

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

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

* mini.h (MonoInst): Remove backend.data field since it is unused and increases
MonoInst size by 4 bytes on 64 bit machines.

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

17 years agoTue Sep 26 11:57:26 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 26 Sep 2006 10:09:25 +0000 (10:09 -0000)]
Tue Sep 26 11:57:26 CEST 2006 Paolo Molaro <lupus@ximian.com>

* *.{c,h,brg}: long due removal of the unused field in MonoInst and
replacement with more meaningful field names. Arch maintainers, please
check the assigned names are good enough for your arch.

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