mono.git
16 years ago2008-06-11 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-06-11 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-06-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years ago2008-06-11 Marek Habersack <mhabersack@novell.com>
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

16 years ago2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years ago2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agoFix build.
Zoltan Varga [Tue, 10 Jun 2008 20:38:49 +0000 (20:38 -0000)]
Fix build.

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

16 years ago2008-06-10 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-06-10 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-06-10 Marek Habersack <mhabersack@novell.com>
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

16 years ago2008-06-10 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years ago2008-06-10 Jonathan Pobst <monkey@jpobst.com>
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

16 years agoinitial checkin. New assembly in Silverlight 2.0 beta 2.
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

16 years ago2008-06-10 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-06-10 Marek Habersack <mhabersack@novell.com>
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

16 years ago* TemplateControl.jvm.cs: Don't assume that controls containing page-specific
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

16 years ago* ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
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

16 years agoFix Java compilation issue.
Noam Lampert [Tue, 10 Jun 2008 16:16:48 +0000 (16:16 -0000)]
Fix Java compilation issue.

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

16 years ago2008-06-10 Martin Baulig <martin@ximian.com>
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

16 years ago2008-06-10 Martin Baulig <martin@ximian.com>
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

16 years ago2008-06-10 Ivan N. Zlatev <contact@i-nz.net>
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

16 years ago2008-06-10 Martin Baulig <martin@ximian.com>
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

16 years agoFix compiler warnings.
Martin Baulig [Tue, 10 Jun 2008 15:54:32 +0000 (15:54 -0000)]
Fix compiler warnings.

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

16 years agoFix compiler warnings.
Martin Baulig [Tue, 10 Jun 2008 15:53:40 +0000 (15:53 -0000)]
Fix compiler warnings.

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

16 years ago2008-06-10 Martin Baulig <martin@ximian.com>
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

16 years ago?????
Martin Baulig [Tue, 10 Jun 2008 15:15:58 +0000 (15:15 -0000)]
?????

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

16 years agoIn metadata:
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

16 years agoMember to keep track of pool status
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

16 years agoUpdate according to the new return type of
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

16 years agocomments
Stephane Delcroix [Tue, 10 Jun 2008 13:59:09 +0000 (13:59 -0000)]
comments

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

16 years ago2008-06-10 Stephane Delcroix <sdelcroix@novell.com>
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

16 years agobeing more explicit on the ChangeLog entry, per jb request
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

16 years agoDon't need the warning anymore, I can now get a stacktrace in the
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

16 years agorevert
Jb Evain [Tue, 10 Jun 2008 13:46:38 +0000 (13:46 -0000)]
revert

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

16 years ago2008-06-10 Stephane Delcroix <sdelcroix@novell.com>
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

16 years agoRemove unnecessary locks and code refactoring
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

16 years ago2008-06-10 Martin Baulig <martin@ximian.com>
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

16 years ago2008-06-10 Martin Baulig <martin@ximian.com>
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

16 years agonew test
Jb Evain [Tue, 10 Jun 2008 12:53:39 +0000 (12:53 -0000)]
new test

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

16 years ago2008-06-10 Jb Evain <jbevain@novell.com>
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

16 years ago2008-06-10 Jb Evain <jbevain@novell.com>
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

16 years agoServiceDescriptionReflectorTest.cs: added tests for bug fixes: #345448, #345449,...
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

16 years ago* TypeStubManager.cs: fixed TypeStubInfo ctor, default binding name is wrong, when...
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

16 years ago* ProtocolReflector.cs: fixed ImportBinding method, ports with the same name declarat...
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

16 years agowe pass those
Jb Evain [Tue, 10 Jun 2008 11:27:57 +0000 (11:27 -0000)]
we pass those

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

16 years agoadd support for user defined lifted logical operators
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

16 years ago2008-06-10 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-06-09 Ankit Jain <jankit@novell.com>
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

16 years agobe consistent
Jb Evain [Tue, 10 Jun 2008 09:51:36 +0000 (09:51 -0000)]
be consistent

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

16 years agogluezilla/src:
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

16 years ago* mcs/class/Mono.WebBrowser/tools/xpidl2cs/xpidl2cs.pl: Added
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

16 years ago2008-06-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-06-10 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-06-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years ago2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years ago2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-06-10 George Giolfan <georgegiolfan@yahoo.com>
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

16 years agomain.c: Add and set argv [argc] to NULL to match C specification that fixes possible...
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

16 years ago2008-06-09 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-06-09 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-06-09 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-06-09 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-06-09 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agopassing those
Jb Evain [Mon, 9 Jun 2008 15:31:46 +0000 (15:31 -0000)]
passing those

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

16 years ago2008-06-09 Jb Evain <jbevain@novell.com>
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

16 years ago2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agopass
Jb Evain [Mon, 9 Jun 2008 15:09:47 +0000 (15:09 -0000)]
pass

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

16 years ago2008-06-09 Jb Evain <jbevain@novell.com>
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

16 years agonew tests
Jb Evain [Mon, 9 Jun 2008 14:48:19 +0000 (14:48 -0000)]
new tests

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

16 years agoNew test.
Marek Safar [Mon, 9 Jun 2008 14:30:27 +0000 (14:30 -0000)]
New test.

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

16 years ago2008-06-09 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-06-09 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agorefactoring
Jb Evain [Mon, 9 Jun 2008 13:46:55 +0000 (13:46 -0000)]
refactoring

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

16 years ago2008-06-09 Martin Baulig <martin@ximian.com>
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

16 years agoNew test.
Marek Safar [Mon, 9 Jun 2008 13:33:43 +0000 (13:33 -0000)]
New test.

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

16 years ago2008-06-09 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-06-09 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-06-09 Martin Baulig <martin@ximian.com>
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

16 years ago2008-06-09 Zoltan Varga <vargaz@gmail.com>
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

16 years agoNew test.
Marek Safar [Mon, 9 Jun 2008 12:33:38 +0000 (12:33 -0000)]
New test.

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

16 years ago2008-06-09 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-06-09 Atsushi Enomoto <atsushi@ximian.com>
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

16 years agodon't use CreateInstance missing in SL2
Jb Evain [Mon, 9 Jun 2008 11:40:48 +0000 (11:40 -0000)]
don't use CreateInstance missing in SL2

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

16 years agoremove use of methods not present in SL2
Jb Evain [Mon, 9 Jun 2008 11:23:37 +0000 (11:23 -0000)]
remove use of methods not present in SL2

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

16 years agoNew test.
Marek Safar [Mon, 9 Jun 2008 11:21:46 +0000 (11:21 -0000)]
New test.

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

16 years ago2008-06-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 9 Jun 2008 11:21:31 +0000 (11:21 -0000)]
2008-06-09  Marek Safar  <marek.safar@gmail.com>

A fix for bug #397068
* expression.cs: Check both operand types when predefined operator is used.

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

16 years agoUnregister fixed tests.
Marek Safar [Mon, 9 Jun 2008 09:51:00 +0000 (09:51 -0000)]
Unregister fixed tests.

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

16 years ago2008-06-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jun 2008 09:03:08 +0000 (09:03 -0000)]
2008-06-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextReader.cs : when Normalized is true, '<' after \r which
  comes after text node was incorrectly consumed as a text content.
  Fixed bug #398374.

* XmlTextReaderTests.cs : added test for bug #398374.

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

16 years agofix expected values
Jb Evain [Mon, 9 Jun 2008 08:42:21 +0000 (08:42 -0000)]
fix expected values

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

16 years agoUpdate README
Miguel de Icaza [Mon, 9 Jun 2008 04:46:08 +0000 (04:46 -0000)]
Update README

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