Marek Safar [Wed, 11 Jun 2008 11:20:32 +0000 (11:20 -0000)]
2008-06-11 Marek Safar <marek.safar@gmail.com>
* codegen.cs, driver: Only write symbol file when it's asked for.
svn path=/trunk/mcs/; revision=105560
Atsushi Eno [Wed, 11 Jun 2008 10:57:03 +0000 (10:57 -0000)]
2008-06-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : no need for TARGET_JVM.
* XmlConvertTests.cs : no need for TARGET_JVM. Fix wrong comparison.
svn path=/trunk/mcs/; revision=105558
Marek Safar [Wed, 11 Jun 2008 10:55:28 +0000 (10:55 -0000)]
Forget to save the file
svn path=/trunk/mcs/; revision=105557
Marek Safar [Wed, 11 Jun 2008 10:50:16 +0000 (10:50 -0000)]
2008-06-11 Marek Safar <marek.safar@gmail.com>
* codegen.cs: Don't use assembly writer error handling for symbol writer.
svn path=/trunk/mcs/; revision=105556
Jb Evain [Wed, 11 Jun 2008 10:42:15 +0000 (10:42 -0000)]
force preserving ThreadState, in case of
svn path=/trunk/mcs/; revision=105555
George Giolfan [Wed, 11 Jun 2008 10:27:18 +0000 (10:27 -0000)]
2008-06-11 George Giolfan <georgegiolfan@yahoo.com>
* ThemeWin32Classic.cs: Managed window title bar layout now uses actual
widths of icon and buttons instead of hard coded values.
svn path=/trunk/mcs/; revision=105554
Carlos Alberto Cortez [Wed, 11 Jun 2008 04:26:55 +0000 (04:26 -0000)]
* ListBox.cs: When SelectionMode is None, clicking an item should move focus
as well as generating a SelectedIndexChanged event, just like .Net does
-surprise-.
Fixes #398345.
2008-06-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=105541
Andreia Gaita [Wed, 11 Jun 2008 04:09:53 +0000 (04:09 -0000)]
* Mono.Mozilla/DOM/Attribute.cs: Fix missing setter
2008-06-11 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=105540
Zoltan Varga [Wed, 11 Jun 2008 00:01:28 +0000 (00:01 -0000)]
2008-06-11 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs (GetField): Add a test for calling GetField on an
open generic type.
svn path=/trunk/mcs/; revision=105527
Zoltan Varga [Tue, 10 Jun 2008 23:56:34 +0000 (23:56 -0000)]
2008-06-11 Zoltan Varga <vargaz@gmail.com>
* reflection.c (resolve_object): Inflate the inst with the context for
FieldOnTypeBuilderInst. Fixes #399010.
svn path=/trunk/mono/; revision=105525
Carlos Alberto Cortez [Tue, 10 Jun 2008 23:33:39 +0000 (23:33 -0000)]
2008-06-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: When navigating items visually, use FocusedItem as the
reference point instead of SelectedIndex, since even in
SelectionMode.None we need to support navigation, and in that case we
just can't use SelectedIndex.
Fixes part of #398345.
svn path=/trunk/mcs/; revision=105520
Rodrigo Kumpera [Tue, 10 Jun 2008 23:27:12 +0000 (23:27 -0000)]
2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Added test for bug #399047.
svn path=/trunk/mcs/; revision=105517
Marek Habersack [Tue, 10 Jun 2008 22:43:10 +0000 (22:43 -0000)]
2008-06-11 Marek Habersack <mhabersack@novell.com>
* BaseCompiler.cs: do not generate #line pragma for code which
exists only in memory.
2008-06-11 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: make sure 'type' isn't null in LoadControl
before attempting to use it.
svn path=/trunk/mcs/; revision=105510
Rodrigo Kumpera [Tue, 10 Jun 2008 22:34:24 +0000 (22:34 -0000)]
2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_image_get_field_on_inst_token): Don't
inflate the field to encode it's signature. If it's a
VAR or MVAR it should stay that way in the signature.
Fixes #399047.
svn path=/trunk/mono/; revision=105509
Rodrigo Kumpera [Tue, 10 Jun 2008 20:47:21 +0000 (20:47 -0000)]
2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (resolve_object): Release memory of inflated types.
svn path=/trunk/mono/; revision=105500
Zoltan Varga [Tue, 10 Jun 2008 20:38:49 +0000 (20:38 -0000)]
Fix build.
svn path=/trunk/mono/; revision=105499
Jonathan Pobst [Tue, 10 Jun 2008 19:04:41 +0000 (19:04 -0000)]
2008-06-10 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutSettingsTypeConverter.cs: Patch from Andy Hume to
use InvariantCulture.
2008-06-10 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutSettingsTypeConverterTest.cs: New tests
from Andy Hume for bug #398274.
svn path=/trunk/mcs/; revision=105491
Zoltan Varga [Tue, 10 Jun 2008 19:00:56 +0000 (19:00 -0000)]
2008-06-10 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Delete some tests for the disabled set which seem to work now.
svn path=/trunk/mono/; revision=105490
Marek Habersack [Tue, 10 Jun 2008 18:18:38 +0000 (18:18 -0000)]
2008-06-10 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: do not create a new thread to run the
application, reuse the thread from the hosting application (XSP's
thread comes from threadpool).
svn path=/trunk/mcs/; revision=105485
Rodrigo Kumpera [Tue, 10 Jun 2008 17:22:02 +0000 (17:22 -0000)]
2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (mono_method_get_signature_full): Remove assert about
loading a methodspec to a generic method. We have such methods, such as
System.Threading.Interlocked::CompareExchange<T>.
This assert was removed since it crashes the verifier when it checks
methods calling CompareExchange<T>.
svn path=/trunk/mono/; revision=105478
Jonathan Pobst [Tue, 10 Jun 2008 17:02:21 +0000 (17:02 -0000)]
2008-06-10 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Make a SetBoundsInternal that avoids the new
SetBounds code.
* ComboBox.cs, Form.cs, ListBox.cs, ScrollableControl.cs: Use
SetBoundsInternal instead of SetBoundsCoreInternal.
2008-06-10 Jonathan Pobst <monkey@jpobst.com>
* DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsInternal
instead of SetBoundsCoreInternal.
svn path=/trunk/mcs/; revision=105470
Atsushi Eno [Tue, 10 Jun 2008 16:49:49 +0000 (16:49 -0000)]
initial checkin. New assembly in Silverlight 2.0 beta 2.
svn path=/trunk/mcs/; revision=105468
Marek Safar [Tue, 10 Jun 2008 16:49:11 +0000 (16:49 -0000)]
2008-06-10 Marek Safar <marek.safar@gmail.com>
* icall.c (ves_icall_MonoMethod_GetGenericArguments): Creates an instance
of Type array and not MonoType.
svn path=/trunk/mono/; revision=105467
Marek Habersack [Tue, 10 Jun 2008 16:46:34 +0000 (16:46 -0000)]
2008-06-10 Marek Habersack <mhabersack@novell.com>
* profiler.c: fix a segfault on shutdown. Patch from Paolo Molaro
<lupus@ximian.com>
svn path=/trunk/mono/; revision=105466
Noam Lampert [Tue, 10 Jun 2008 16:20:04 +0000 (16:20 -0000)]
* TemplateControl.jvm.cs: Don't assume that controls containing page-specific
callbacks (e.g. Page_LoadComplete) are necessarily Page derivatives.
svn path=/trunk/mcs/; revision=105464
Noam Lampert [Tue, 10 Jun 2008 16:17:28 +0000 (16:17 -0000)]
* ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
svn path=/trunk/mcs/; revision=105463
Noam Lampert [Tue, 10 Jun 2008 16:16:48 +0000 (16:16 -0000)]
Fix Java compilation issue.
svn path=/trunk/mcs/; revision=105462
Martin Baulig [Tue, 10 Jun 2008 15:59:01 +0000 (15:59 -0000)]
2008-06-10 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.h
(MONO_SYMBOL_FILE_MINOR_VERSION): Bump to 6. There were no
changes to the file format, but we were generating incorrect
source file indices in the line number table due to a bug, which
made backtraces report an incorrect source file.
svn path=/trunk/mono/; revision=105457
Martin Baulig [Tue, 10 Jun 2008 15:57:56 +0000 (15:57 -0000)]
2008-06-10 Martin Baulig <martin@ximian.com>
* MonoSymbolTable.cs
(OffsetTable.MinorVersion): Bump to 6. There were no changes to
the file format, but we were generating incorrect source file
indices in the line number table due to a bug, which made
backtraces report an incorrect source file.
svn path=/trunk/mcs/; revision=105456
Ivan Zlatev [Tue, 10 Jun 2008 15:55:46 +0000 (15:55 -0000)]
2008-06-10 Ivan N. Zlatev <contact@i-nz.net>
* ScrollableControl.cs: Use SetBoundsCoreInternal instead of
SetBounds for the scrollbars.
svn path=/trunk/mcs/; revision=105455
Martin Baulig [Tue, 10 Jun 2008 15:55:08 +0000 (15:55 -0000)]
2008-06-10 Martin Baulig <martin@ximian.com>
* symbolwriter.cs: Reflect latest MarkSequencePoint() API changes.
svn path=/trunk/mcs/; revision=105454
Martin Baulig [Tue, 10 Jun 2008 15:54:32 +0000 (15:54 -0000)]
Fix compiler warnings.
svn path=/trunk/mcs/; revision=105453
Martin Baulig [Tue, 10 Jun 2008 15:53:40 +0000 (15:53 -0000)]
Fix compiler warnings.
svn path=/trunk/mcs/; revision=105452
Martin Baulig [Tue, 10 Jun 2008 15:53:27 +0000 (15:53 -0000)]
2008-06-10 Martin Baulig <martin@ximian.com>
* MonoSymbolWriter.cs
(MonoSymbolWriter.MarkSequencePoint): Added overloaded version
taking a `SourceFileEntry' instead of a file index.
svn path=/trunk/mcs/; revision=105451
Martin Baulig [Tue, 10 Jun 2008 15:15:58 +0000 (15:15 -0000)]
?????
svn path=/trunk/mcs/; revision=105440
Rodrigo Kumpera [Tue, 10 Jun 2008 15:09:47 +0000 (15:09 -0000)]
In metadata:
2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
* mono-debug.c: Moved mono_debug_free_method_jit_info from
mini/debug-mini.c to here.
* mono-debug.c (il_offset_from_address): Free memory from find_method.
* mono-debug.h: Export mono_debug_free_method_jit_info, users should
use it to release structs returned by mono_debug_find_method.
In mini:
2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
* debug-mini.c (mono_debug_free_method_jit_info): Moved to metadata/mono-debug.c.
* debug-mini.c (mono_debug_print_vars): Release memory after printing
everything.
svn path=/trunk/mono/; revision=105439
Veerapuram Varadhan [Tue, 10 Jun 2008 14:07:58 +0000 (14:07 -0000)]
Member to keep track of pool status
svn path=/trunk/mcs/; revision=105433
Veerapuram Varadhan [Tue, 10 Jun 2008 14:00:02 +0000 (14:00 -0000)]
Update according to the new return type of
TdsConnectionPool.GetConnectionPool()
svn path=/trunk/mcs/; revision=105432
Stephane Delcroix [Tue, 10 Jun 2008 13:59:09 +0000 (13:59 -0000)]
comments
svn path=/trunk/mcs/; revision=105431
Stephane Delcroix [Tue, 10 Jun 2008 13:52:56 +0000 (13:52 -0000)]
2008-06-10 Stephane Delcroix <sdelcroix@novell.com>
* DnsEndPoint_2_1.cs: embed an IPAddress and rely on IPEndPoint
for serialization.
svn path=/trunk/mcs/; revision=105430
Stephane Delcroix [Tue, 10 Jun 2008 13:51:06 +0000 (13:51 -0000)]
being more explicit on the ChangeLog entry, per jb request
svn path=/trunk/mcs/; revision=105429
Martin Baulig [Tue, 10 Jun 2008 13:50:30 +0000 (13:50 -0000)]
Don't need the warning anymore, I can now get a stacktrace in the
debugger.
svn path=/trunk/mcs/; revision=105428
Jb Evain [Tue, 10 Jun 2008 13:46:38 +0000 (13:46 -0000)]
revert
svn path=/trunk/mcs/; revision=105427
Stephane Delcroix [Tue, 10 Jun 2008 13:46:07 +0000 (13:46 -0000)]
2008-06-10 Stephane Delcroix <sdelcroix@novell.com>
* IPAddress: allow usage on 2.1
svn path=/trunk/mcs/; revision=105425
Veerapuram Varadhan [Tue, 10 Jun 2008 13:45:06 +0000 (13:45 -0000)]
Remove unnecessary locks and code refactoring
svn path=/trunk/mcs/; revision=105424
Martin Baulig [Tue, 10 Jun 2008 13:33:28 +0000 (13:33 -0000)]
2008-06-10 Martin Baulig <martin@ximian.com>
* debug-mini.c
(mono_debug_close_method): Check whether `cfg->epilogue_begin != NULL'.
svn path=/trunk/mono/; revision=105420
Martin Baulig [Tue, 10 Jun 2008 13:26:02 +0000 (13:26 -0000)]
2008-06-10 Martin Baulig <martin@ximian.com>
* MonoSymbolWriter.cs
(MonoSymbolWriter.CloseMethod): Quick-fix; still a lot of broken
code out there.
svn path=/trunk/mcs/; revision=105419
Jb Evain [Tue, 10 Jun 2008 12:53:39 +0000 (12:53 -0000)]
new test
svn path=/trunk/mcs/; revision=105417
Jb Evain [Tue, 10 Jun 2008 12:33:47 +0000 (12:33 -0000)]
2008-06-10 Jb Evain <jbevain@novell.com>
* masterinfos/silverlight/System.Net.info
* masterinfos/silverlight/mscorlib.info
* masterinfos/silverlight/System.Xml.info
* masterinfos/silverlight/System.info:
Update to SL2B2 API.
svn path=/trunk/mcs/; revision=105416
Jb Evain [Tue, 10 Jun 2008 12:18:59 +0000 (12:18 -0000)]
2008-06-10 Jb Evain <jbevain@novell.com>
* Mono.Linker.Steps/MarkStep.cs: when marking a value type,
only force the marking of its instance field, instead of
all its fields.
svn path=/trunk/mcs/; revision=105415
Vladimir Krasnov [Tue, 10 Jun 2008 11:52:25 +0000 (11:52 -0000)]
ServiceDescriptionReflectorTest.cs: added tests for bug fixes: #345448, #345449, #360241
svn path=/trunk/mcs/; revision=105412
Vladimir Krasnov [Tue, 10 Jun 2008 11:51:42 +0000 (11:51 -0000)]
* TypeStubManager.cs: fixed TypeStubInfo ctor, default binding name is wrong, when declared in WebServiceBindingAttribute, but not used. fixes. bug number: #345448
svn path=/trunk/mcs/; revision=105411
Vladimir Krasnov [Tue, 10 Jun 2008 11:50:43 +0000 (11:50 -0000)]
* ProtocolReflector.cs: fixed ImportBinding method, ports with the same name declaration when non-default binding used, #345449
svn path=/trunk/mcs/; revision=105410
Jb Evain [Tue, 10 Jun 2008 11:27:57 +0000 (11:27 -0000)]
we pass those
svn path=/trunk/mcs/; revision=105407
Jb Evain [Tue, 10 Jun 2008 11:27:36 +0000 (11:27 -0000)]
add support for user defined lifted logical operators
svn path=/trunk/mcs/; revision=105405
Zoltan Varga [Tue, 10 Jun 2008 10:48:39 +0000 (10:48 -0000)]
2008-06-10 Zoltan Varga <vargaz@gmail.com>
* Math.cs (IEERemainder): Use the normal BitConverter.Int64BitsToDouble method
here to fix this on sparc.
svn path=/trunk/mcs/; revision=105403
Marek Habersack [Tue, 10 Jun 2008 10:22:11 +0000 (10:22 -0000)]
2008-06-09 Ankit Jain <jankit@novell.com>
* Mono.Data.SybaseClient/SybaseCommand.cs: Use Tds instead of ITds now.
* Mono.Data.SybaseClient/SybaseConnection.cs: Likewise.
2008-06-09 Ankit Jain <jankit@novell.com>
* ITds.cs: Removed.
* Mono.Data.Tds.dll.sources: Update.
2008-06-09 Ankit Jain <jankit@novell.com>
* TdsCommand.cs, TdsConnection.cs: Use Tds instead of ITds now.
2008-06-09 Ankit Jain <jankit@novell.com>
* SqlCommand.cs: Use Tds instead of ITds now.
* SqlConnection.cs: Likewise.
svn path=/trunk/mcs/; revision=105402
Jb Evain [Tue, 10 Jun 2008 09:51:36 +0000 (09:51 -0000)]
be consistent
svn path=/trunk/mcs/; revision=105400
Andreia Gaita [Tue, 10 Jun 2008 07:09:11 +0000 (07:09 -0000)]
gluezilla/src:
* BrowserWindow.cpp, BrowserWindow.h:
Disable uri context listener (not being used right now). Add
context menu event listener, security change callback.
* gluezilla.h: Add context menu event and security change
callback.
* interfaces.h: Add support for context menu event
listener.
Managed.Windows.Forms/System.Windows.Forms:
* HtmlDocument.cs:
Implement RightToLeft, ContextMenuShowing, FocusingEvent,
LosingFocusEvent, OnMouseDown, OnMouseLeave, OnMouseMove,
OnMouseOver, OnMouseUp
* HtmlElement.cs:
Optimize InsertBefore. Implement RemoveFocus, ScrollIntoView,
Focusing, GotFocus, LosingFocus, LostFocus.
* HtmlElementCollection.cs,
HtmlWindowCollection.cs:
Keep a reference to the WebControl object to pass to new collection
objects
* HtmlHistory.cs:
Implement support for individual window histories.
* HtmlWindow.cs:
Implement History, Position, Size, WindowFrameElement,
AttachEventHandler, DetachEventHandler, RemoveFocus, Error,
GotFocus, LostFocus, OnLoad, OnUnload
* WebBrowser.cs:
Implement EncryptionLevel, ScrollBarsEnabled, ContextMenu
* WebBrowserBase.cs:
Implement Cursor, Enabled, UseWaitCursor, Add security level
changes and context menu event support.
Mono.WebBrowser:
* Assembly/AssemblyInfo.cs: Version bump
* Mono.Mozilla/Callback.cs: Fix initial load
bug (uri can be null on first load). Add LoadStopped event for
documents. Add Security change and Context menu events.
* Mono.Mozilla/DOM/AttributeCollection.cs:
Fix header. Add support for creating empty collections.
* Mono.Mozilla/DOM/Document.cs,
DOM/IDocument.cs:
Optimize Window getter. Add CreateAttribute, LoadStoppedEvent
* Mono.Mozilla/DOM/DOMImplementation.cs,
Mono.Mozilla/DOM/Navigation.cs: Save
documents to a list so they can be looked up later for events.
* Mono.Mozilla/DOM/Element.cs,
DOM/IElement.cs: Add
Focus, Blur, ScrollIntoView
* Mono.Mozilla/DOM/EventListener.cs: Fix
header. Add support for firing events for any type of object
* Mono.Mozilla/DOM/History.cs,
DOM/IHistory.cs: Added to
support separate history on each window
* Mono.Mozilla/DOM/HTMLElement.cs: Moved
AppendChild and InsertBefore to the Node parent class
* Mono.Mozilla/DOM/Node.cs,
DOM/INode.cs: Fetch owner
document from a cached list if it's been looked up before. Add
Value setter. Add InsertBefore and AppendChild from HTMLElement,
implement ReplaceChild, RemoveChild. Add AttachEventHandler and
DetachEventHandler to support generic event firing. Add Focus, Blur
events.
* Mono.Mozilla/DOM/NodeList.cs: add support
for empty lists.
* Mono.Mozilla/DOM/Window.cs,
DOM/IWindow.cs: Fetch
owner document from a cached list if it's been looked up before.
Add history and focus support. Add Load, Unload, OnFocus, OnBlur,
Error, Scroll events.
* Mono.Mozilla/interfaces/extras/NodeType.cs,
Mono.Mozilla/interfaces/extras/Options.cs:
Fix header
* Mono.Mozilla/WebBrowser.cs,
IWebBrowser.cs: Add
hashtable for caching document objects. Remove ScrollbarsEnabled
implementation, not needed (webbrowser is using javascript
instead). Add Security and Context menu events.
* Mono.WebBrowser.dll.sources,
Mono.WebBrowser2K5.csproj: Added new
classes/interfaces: Mono.Mozilla/DOM/History.cs,
DOM/IHistory.cs, DOM/EventArgs.cs,
DOM/EventHandlers.cs. Removed classes/interfaces:
DOM/NodeEventArgs.cs,
DOM/NodeEventHandler.cs
* DOM/EventArgs.cs,
DOM/EventHandlers.cs:
Consolidate events into a single file.
* DOM/NodeEventArgs.cs:
Removed, event declarations are now in EventArgs
* DOM/NodeEventHandler.cs:
Removed, event declarations are now in EventHandlers
2008-06-10 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=105396
Andreia Gaita [Tue, 10 Jun 2008 07:02:12 +0000 (07:02 -0000)]
* mcs/class/Mono.WebBrowser/tools/xpidl2cs/xpidl2cs.pl: Added
generate_class_implementation, to output a class stub with the
proper return values for each method definition. Fix generation of
interfaces with no PreserveSigAttribute
2008-06-10 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=105395
Carlos Alberto Cortez [Tue, 10 Jun 2008 05:01:35 +0000 (05:01 -0000)]
2008-06-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: Pressing Enter should close the dropdown listbox, just
as happens with Esc, patch my Andy Hume.
Fixes #396294.
svn path=/trunk/mcs/; revision=105392
George Giolfan [Tue, 10 Jun 2008 04:22:16 +0000 (04:22 -0000)]
2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
* MdiWindowManager.cs: DrawMaximizedButtons now uses
ManagedWindowGetMenuButtonSize instead of ManagedWindowButtonSize.
* Theme.cs: Made MenuButtonSize platform dependent. Added
ManagedWindowButtonSize.
* ThemeWin32Classic.cs: Added ManagedWindowGetMenuButtonSize.
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added MenuButtonSize.
svn path=/trunk/mcs/; revision=105391
George Giolfan [Tue, 10 Jun 2008 03:48:30 +0000 (03:48 -0000)]
2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
* UXTheme.cs, VisualStylesNative.cs: Fixed the type of a GetThemePartSize
parameter.
svn path=/trunk/mcs/; revision=105390
George Giolfan [Tue, 10 Jun 2008 01:29:41 +0000 (01:29 -0000)]
2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
* VisualStylesEngine.cs: Disabled VisualStylesGtkPlus until I fix it to
support older GTK+ versions.
svn path=/trunk/mcs/; revision=105389
George Giolfan [Tue, 10 Jun 2008 01:26:03 +0000 (01:26 -0000)]
2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
* DateTimePicker.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs:
Added support for rendering with VisualStyles.
* VisualStyleElement.cs: Added DateTimePicker part and state constants.
svn path=/trunk/mcs/; revision=105388
George Giolfan [Tue, 10 Jun 2008 00:37:33 +0000 (00:37 -0000)]
2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
* ComboBox.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
support for rendering the border with VisualStyles.
* VisualStyleElement.cs: Added ComboBox border part and state constants.
svn path=/trunk/mcs/; revision=105385
Zoltan Varga [Tue, 10 Jun 2008 00:32:32 +0000 (00:32 -0000)]
2008-06-10 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_vtable): Call setup_methods even for interfaces
since it needs to set method->slot for all interface methods.
svn path=/trunk/mono/; revision=105384
Carlos Alberto Cortez [Tue, 10 Jun 2008 00:04:50 +0000 (00:04 -0000)]
2008-06-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlPainter.cs: When calculating the display rectangle for
TabPage elements, don't include TabControlSelectedDelta.Y as part of
the page height, since it is only added ad the end (this is the way
it's done in TabControl). This way having a lot of pages with
Multiline as true doesn't add much extra space between the tab pages
labels and the actual tab pages area.
Fixes #393912.
svn path=/trunk/mcs/; revision=105382
Rodrigo Kumpera [Mon, 9 Jun 2008 23:22:30 +0000 (23:22 -0000)]
2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
* class-internals.h: Forgot to add.
svn path=/trunk/mono/; revision=105378
Rodrigo Kumpera [Mon, 9 Jun 2008 22:54:47 +0000 (22:54 -0000)]
2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
* class-internals.h: Added MONO_PROP_DYNAMIC_CATTR.
* reflection.c (lookup_custom_attr): Added a MonoImage argument.
Lookup the custom attributes from property_hash.
* reflection.c (mono_save_custom_attrs): Save the custom attributes
in property_hash. Allocate all data using the image mempool.
* reflection.c: Removed dynamic_custom_attrs. Changed all checks
for dynamic_custom_attrs to checks if the image is dynamic.
svn path=/trunk/mono/; revision=105374
George Giolfan [Mon, 9 Jun 2008 22:37:23 +0000 (22:37 -0000)]
2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
* InternalWindowManager.cs: Added ShowIcon. Fixed IconRectangleContains when
the icon is not shown.
* ThemeWin32Classic.cs: Now uses InternalWindowManager.ShowIcon instead of
its own logic.
svn path=/trunk/mcs/; revision=105373
George Giolfan [Mon, 9 Jun 2008 22:23:14 +0000 (22:23 -0000)]
2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
* InternalWindowManager.cs: Draw minimized windows even if they don't have
borders.
svn path=/trunk/mcs/; revision=105372
George Giolfan [Mon, 9 Jun 2008 22:11:39 +0000 (22:11 -0000)]
2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
* SWF.csproj, SWF2k5.csproj: Updated.
svn path=/trunk/mcs/; revision=105371
George Giolfan [Mon, 9 Jun 2008 21:41:28 +0000 (21:41 -0000)]
2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
* GtkPlus.cs, IVisualStyles.cs, VisualStylesEngine.cs,
VisualStylesGtkPlus.cs, VisualStylesNative.cs: Added.
* VisualStyleElement.cs: Added some named constants.
* VisualStyleInformation.cs, VisualStyleRenderer.cs: Refactored to allow
multiple implementations.
* System.Windows.Forms.dll.sources: Added GtkPlus.cs, IVisualStyles.cs,
VisualStylesEngine.cs, VisualStylesGtkPlus.cs, VisualStylesNative.cs.
svn path=/trunk/mcs/; revision=105368
Kornél Pál [Mon, 9 Jun 2008 21:23:38 +0000 (21:23 -0000)]
main.c: Add and set argv [argc] to NULL to match C specification that fixes possible error when no arguments are passed. Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=105367
Zoltan Varga [Mon, 9 Jun 2008 20:47:11 +0000 (20:47 -0000)]
2008-06-09 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (ves_icall_System_AppDomain_GetAssemblies): Free the
assemblies array.
svn path=/trunk/mono/; revision=105366
Zoltan Varga [Mon, 9 Jun 2008 20:40:15 +0000 (20:40 -0000)]
2008-06-09 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (ves_icall_System_AppDomain_GetAssemblies): Avoid calling
runtime functions while holding the domain assemblies lock.
svn path=/trunk/mono/; revision=105364
Jonathan Pobst [Mon, 9 Jun 2008 19:59:02 +0000 (19:59 -0000)]
2008-06-09 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs, ListBox.cs: Use SetBoundsInternalCore instead of SetBounds.
svn path=/trunk/mcs/; revision=105362
Jonathan Pobst [Mon, 9 Jun 2008 18:45:59 +0000 (18:45 -0000)]
2008-06-09 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Fill in the defaults for unspecified bounds in SetBounds.
[Fixes bug #397943]
2008-06-09 Jonathan Pobst <monkey@jpobst.com>
* DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsCoreInternal
instead of SetBounds.
2008-06-09 Jonathan Pobst <monkey@jpobst.com>
* ControlTest.cs: Add test for bug #397943.
svn path=/trunk/mcs/; revision=105357
Jonathan Pobst [Mon, 9 Jun 2008 16:23:48 +0000 (16:23 -0000)]
2008-06-09 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutSettingsTypeConverter.cs: Fix spelling of Columns.
Accomadate .Net's use of culture separator. [Fixes bug #398274]
2008-06-09 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutSettingsTypeConverterTest.cs: Lots of new tests
from Andy Hume for bug #398274.
svn path=/trunk/mcs/; revision=105333
Rodrigo Kumpera [Mon, 9 Jun 2008 16:06:12 +0000 (16:06 -0000)]
2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Reapplied the last bit of the reverted changes.
svn path=/trunk/mono/; revision=105328
Jb Evain [Mon, 9 Jun 2008 15:31:46 +0000 (15:31 -0000)]
passing those
svn path=/trunk/mcs/; revision=105325
Jb Evain [Mon, 9 Jun 2008 15:31:19 +0000 (15:31 -0000)]
2008-06-09 Jb Evain <jbevain@novell.com>
* Extensions.cs (Type.IsExpression): add
* Expression.cs (CheckMethodArguments): modify the argument list
to quote arguments when if necessary.
svn path=/trunk/mcs/; revision=105324
Rodrigo Kumpera [Mon, 9 Jun 2008 15:30:00 +0000 (15:30 -0000)]
2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
* mini-exceptions.c (ves_icall_get_trace): Skip source locations
where the file name is NULL.
svn path=/trunk/mono/; revision=105323
Jb Evain [Mon, 9 Jun 2008 15:09:47 +0000 (15:09 -0000)]
pass
svn path=/trunk/mcs/; revision=105321
Jb Evain [Mon, 9 Jun 2008 15:09:16 +0000 (15:09 -0000)]
2008-06-09 Jb Evain <jbevain@novell.com>
* Expression.cs (CheckLambda): quote body if required.
svn path=/trunk/mcs/; revision=105320
Jb Evain [Mon, 9 Jun 2008 14:48:19 +0000 (14:48 -0000)]
new tests
svn path=/trunk/mcs/; revision=105315
Marek Safar [Mon, 9 Jun 2008 14:30:27 +0000 (14:30 -0000)]
New test.
svn path=/trunk/mcs/; revision=105313
Marek Safar [Mon, 9 Jun 2008 14:30:07 +0000 (14:30 -0000)]
2008-06-09 Marek Safar <marek.safar@gmail.com>
A fix for bug #316290
* expression.cs: Include decimal operators in predefined table.
* parameters.cs: More readonlyness.
svn path=/trunk/mcs/; revision=105312
Rodrigo Kumpera [Mon, 9 Jun 2008 14:16:35 +0000 (14:16 -0000)]
2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Reapplied more of the reverted changes.
svn path=/trunk/mono/; revision=105311
Jb Evain [Mon, 9 Jun 2008 13:46:55 +0000 (13:46 -0000)]
refactoring
svn path=/trunk/mcs/; revision=105310
Martin Baulig [Mon, 9 Jun 2008 13:46:44 +0000 (13:46 -0000)]
2008-06-09 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.c (load_symfile): Check the major version
first; if it's wrong, don't print the minor version in the error message.
svn path=/trunk/mono/; revision=105309
Marek Safar [Mon, 9 Jun 2008 13:33:43 +0000 (13:33 -0000)]
New test.
svn path=/trunk/mcs/; revision=105308
Marek Safar [Mon, 9 Jun 2008 13:33:13 +0000 (13:33 -0000)]
2008-06-09 Marek Safar <marek.safar@gmail.com>
A fix for bug #397213.
* cs-parser.jay: One more missing current_local_parameters reset.
svn path=/trunk/mcs/; revision=105307
Zoltan Varga [Mon, 9 Jun 2008 13:16:15 +0000 (13:16 -0000)]
2008-06-09 Zoltan Varga <vargaz@gmail.com>
* mini.c: Fix s390 build.
svn path=/trunk/mono/; revision=105306
Martin Baulig [Mon, 9 Jun 2008 13:15:20 +0000 (13:15 -0000)]
2008-06-09 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.c (load_symfile): Check the major version
first; if it's wrong, don't print the minor version in the error message.
svn path=/trunk/mono/; revision=105305
Zoltan Varga [Mon, 9 Jun 2008 13:03:10 +0000 (13:03 -0000)]
2008-06-09 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (set_domain_search_path): Make this use the domain assemblies
lock instead of the domain lock to avoid deadlocks, since the thread might
already hold the loader lock.
svn path=/trunk/mono/; revision=105304
Marek Safar [Mon, 9 Jun 2008 12:33:38 +0000 (12:33 -0000)]
New test.
svn path=/trunk/mcs/; revision=105302
Marek Safar [Mon, 9 Jun 2008 12:33:00 +0000 (12:33 -0000)]
2008-06-09 Marek Safar <marek.safar@gmail.com>
A fix for bug #396633
* class.cs: Host backing field in partial container.
svn path=/trunk/mcs/; revision=105301
Atsushi Eno [Mon, 9 Jun 2008 11:46:17 +0000 (11:46 -0000)]
2008-06-09 Atsushi Enomoto <atsushi@ximian.com>
* ISO2022JP.cs : handle ESC-J sequence which is obsoleted in
JIS X 0213. Fixed bug #398273.
* I18N.CJK.Test.cs : added test for bug #398273.
svn path=/trunk/mcs/; revision=105299