Marek Sieradzki [Sat, 30 Sep 2006 08:01:11 +0000 (08:01 -0000)]
2006-09-30 Marek Sieradzki <marek.sieradzki@gmail.com>
* xbuild/Microsoft.CSharp.targets: Set AllowUnsafeBlocks to false when it's
equal to ''.
svn path=/trunk/mcs/; revision=66112
Todd Berman [Sat, 30 Sep 2006 03:20:16 +0000 (03:20 -0000)]
- make AllowUnsafeBlocks work
svn path=/trunk/mcs/; revision=66110
Mike Kestner [Fri, 29 Sep 2006 21:02:45 +0000 (21:02 -0000)]
2006-09-29 Mike Kestner <mkestner@novell.com>
* ListView.cs : toggle the selection state for ctrl clicks in
multiselect mode. [Fixes #79417]
svn path=/trunk/mcs/; revision=66109
Mike Kestner [Fri, 29 Sep 2006 20:50:35 +0000 (20:50 -0000)]
2006-09-29 Mike Kestner <mkestner@novell.com>
* ListView.cs : kill CanMultiSelect and refactor the selection
code to support multiselection in the absence of mod keys. Steal
arrow/home/end keys by overriding InternalPreProcessMessage to
restore regressed keynav behavior.
[Fixes #79416]
svn path=/trunk/mcs/; revision=66108
Jackson Harper [Fri, 29 Sep 2006 20:09:18 +0000 (20:09 -0000)]
* MdiClient.cs: Repaint the titlebars when the active window is
changed.
svn path=/trunk/mcs/; revision=66105
Sebastien Pouliot [Fri, 29 Sep 2006 19:25:34 +0000 (19:25 -0000)]
2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
* TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
tests dynamically (when fonts aren't installed).
svn path=/trunk/mcs/; revision=66103
Chris Toshok [Fri, 29 Sep 2006 18:58:56 +0000 (18:58 -0000)]
* Application.cs: when entering a runloop with a modal, make sure
the hwnd is enabled. Fixes #79480.
2006-09-29 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66100
Chris Toshok [Fri, 29 Sep 2006 18:32:26 +0000 (18:32 -0000)]
* DataGrid.cs (CurrentCell): if we try to navigate to the add row
when ListManager.CanAddRows == false, bump us back one.
* DataGridColumnStyle.cs (ParentReadOnly): remove the
listmanager.CanAddRows check. This makes ArrayLists uneditable
using a datagrid, which is not right.
(SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
is an IEditable, but call property_descriptor.SetValue regardless.
fixes #79435.
2006-09-29 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66097
Sebastien Pouliot [Fri, 29 Sep 2006 18:28:36 +0000 (18:28 -0000)]
2006-09-26 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test case for Reverse (and found out that
the types aren't reversed, only the points are).
svn path=/trunk/mcs/; revision=66096
Chris Toshok [Fri, 29 Sep 2006 17:58:24 +0000 (17:58 -0000)]
2006-09-29 Chris Toshok <toshok@ximian.com>
* DataGridBoolColumn.cs: we need to test equality in the face of
possible null values (as is the case with the default NullValue).
This patch keeps us from crashing in that case.
svn path=/trunk/mcs/; revision=66094
Jackson Harper [Fri, 29 Sep 2006 17:21:15 +0000 (17:21 -0000)]
* TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
here, since it will get called for every node collection in the
tree. This is now done in the treeview once the sorting is
finished.
* TreeView.cs: Recalculate the visible order, and update the
scrollbars after sorting, set the top nope to the root so that
the
recalc actually works.
svn path=/trunk/mcs/; revision=66091
Chris Toshok [Fri, 29 Sep 2006 16:58:59 +0000 (16:58 -0000)]
* LinkLabel.cs: more handling of the default link collection in
the face of LinkArea manipulation. The default link collection
contains 1 element (start=0,length=-1). If the user sets LinkArea
to anything and the links collection is the default, clear it.
Then only add the link if its nonempty. Fixes #79518.
2006-09-29 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66090
Chris Toshok [Fri, 29 Sep 2006 16:30:59 +0000 (16:30 -0000)]
* LinkLabel.cs (CreatePiecesFromText): calculate the length of a
piece correctly when we hit a '\n'. Fixes #79517.
2006-09-29 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66089
Chris Toshok [Fri, 29 Sep 2006 16:11:22 +0000 (16:11 -0000)]
2006-09-29 Chris Toshok <toshok@ximian.com>
* MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
change the binding of gdk_init_check to take two IntPtr's, and
pass IntPtr.Zero for both of them. Fixes #79520.
svn path=/trunk/mcs/; revision=66088
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
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
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
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
Marek Safar [Thu, 28 Sep 2006 19:24:03 +0000 (19:24 -0000)]
Updated.
svn path=/trunk/mcs/; revision=66077
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
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
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
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
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
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
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
Andrew Skiba [Thu, 28 Sep 2006 15:36:08 +0000 (15:36 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66064
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
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
Andrew Skiba [Thu, 28 Sep 2006 14:52:26 +0000 (14:52 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66044
Andrew Skiba [Thu, 28 Sep 2006 14:49:35 +0000 (14:49 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66043
Andrew Skiba [Thu, 28 Sep 2006 14:48:17 +0000 (14:48 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66042
Andrew Skiba [Thu, 28 Sep 2006 14:46:10 +0000 (14:46 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66041
Andrew Skiba [Thu, 28 Sep 2006 14:41:36 +0000 (14:41 -0000)]
TARGET_JVM, MonoTODO
svn path=/trunk/mcs/; revision=66040
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
Andrew Skiba [Thu, 28 Sep 2006 14:36:43 +0000 (14:36 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66038
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
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
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
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
Andrew Skiba [Thu, 28 Sep 2006 13:45:23 +0000 (13:45 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66033
Andrew Skiba [Thu, 28 Sep 2006 13:43:30 +0000 (13:43 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66032
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
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
Andrew Skiba [Thu, 28 Sep 2006 13:41:05 +0000 (13:41 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66029
Andrew Skiba [Thu, 28 Sep 2006 13:39:13 +0000 (13:39 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66028
Andrew Skiba [Thu, 28 Sep 2006 13:32:30 +0000 (13:32 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66027
Andrew Skiba [Thu, 28 Sep 2006 13:29:01 +0000 (13:29 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66026
Andrew Skiba [Thu, 28 Sep 2006 13:25:14 +0000 (13:25 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66025
Andrew Skiba [Thu, 28 Sep 2006 13:23:17 +0000 (13:23 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=66024
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
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
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
Paolo Molaro [Thu, 28 Sep 2006 09:17:27 +0000 (09:17 -0000)]
Fix the build.
svn path=/trunk/mcs/; revision=66017
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
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
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
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
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
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
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
Marek Safar [Wed, 27 Sep 2006 23:16:26 +0000 (23:16 -0000)]
Updated.
svn path=/trunk/mcs/; revision=66007
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
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
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
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
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
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
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
Marek Safar [Wed, 27 Sep 2006 20:29:34 +0000 (20:29 -0000)]
Updated.
svn path=/trunk/mcs/; revision=65996
Marek Safar [Wed, 27 Sep 2006 20:09:01 +0000 (20:09 -0000)]
Updated.
svn path=/trunk/mcs/; revision=65995
Marek Safar [Wed, 27 Sep 2006 19:39:53 +0000 (19:39 -0000)]
Warnings.
svn path=/trunk/mcs/; revision=65994
Marek Safar [Wed, 27 Sep 2006 19:37:17 +0000 (19:37 -0000)]
Changed to report single error.
svn path=/trunk/mcs/; revision=65993
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
Marek Safar [Wed, 27 Sep 2006 19:35:16 +0000 (19:35 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65991
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
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
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
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
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
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
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
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
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
Paolo Molaro [Wed, 27 Sep 2006 15:31:54 +0000 (15:31 -0000)]
Flag as extern.
svn path=/trunk/mono/; revision=65971
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
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
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
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
Boris Kirzner [Wed, 27 Sep 2006 10:28:28 +0000 (10:28 -0000)]
Tests batch fix.
svn path=/trunk/mcs/; revision=65961
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
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
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
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
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
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
Marek Safar [Tue, 26 Sep 2006 20:56:40 +0000 (20:56 -0000)]
Updated.
svn path=/trunk/mcs/; revision=65934
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
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
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