mono.git
17 years agoIn gmcs:
Raja R Harinath [Sun, 28 Jan 2007 18:36:33 +0000 (18:36 -0000)]
In gmcs:
Fix #80534, gtest-309.cs
* generic.cs (UnifyType): Rename from InferType.  Make unification
of generic insts simpler and don't insist on inferring all generic
parameters in a single generic inst unification.
(UnifyTypes): New.
(InferGenericInstance): Remove.
Analysis and initial patch by David Mitchell <dmitchell@logos.com>.

In tests:
* gtest-309.cs: Renamed from errors/gcs0411-3.cs.
* gtest-310.cs: New test from #80534.

In errors:
* gcs0411-3.cs: Rename to tests/gtest-309.cs.

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

17 years agoExcluded under 'TARGET_JVM' not working test.
Ilya Kharmatsky [Sun, 28 Jan 2007 18:35:16 +0000 (18:35 -0000)]
Excluded under 'TARGET_JVM' not working test.

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

17 years ago2007-01-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sun, 28 Jan 2007 18:09:07 +0000 (18:09 -0000)]
2007-01-28  Jonathan Pobst  <monkey@jpobst.com>

* TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
one pixel.  Fix a StackOverflowException caused by an overload wrongly
calling itself.

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

17 years ago2007-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 28 Jan 2007 17:42:50 +0000 (17:42 -0000)]
2007-01-28  Zoltan Varga  <vargaz@gmail.com>

mini.h *.c: Allocate fp vregs from the same pool as the int vregs. Use this to
simplify and speed up the local register allocator. Also rename some fields
like iassign->vassign.

* regalloc.c: Remove some functions which are no longer used since their
inlined version is in mini-codegen.c.

* mini-codegen.c: Rename mono_regstate2_ functions to mono_regstate_.

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

17 years ago* WebControl.cs: added internal method AddDisplayStyleAttribute for display:inline...
Vladimir Krasnov [Sun, 28 Jan 2007 17:20:21 +0000 (17:20 -0000)]
* WebControl.cs: added internal method AddDisplayStyleAttribute for display:inline-block style attribute
* LinkButton.cs
* HyperLink.cs
* CheckBox.cs: added call to AddDisplayStyleAttribute on rendering

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

17 years agoFixing the problems with compilation under JVM configuration (in Grasshopper),
Ilya Kharmatsky [Sun, 28 Jan 2007 17:16:39 +0000 (17:16 -0000)]
Fixing the problems with compilation under JVM configuration (in Grasshopper),
by adding stubs and missing classes in net_2_0 for configuration.

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

17 years ago* IPAddressTest.cs: Added test for invalid addresses. Fixed 4-byte
Gert Driesen [Sun, 28 Jan 2007 16:23:05 +0000 (16:23 -0000)]
* IPAddressTest.cs: Added test for invalid addresses. Fixed 4-byte
test on 2.0 profile.
* IPAddress.cs: Provide more meaningful exception message on 2.0
profile.

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

17 years agoFix test project configurations. Use explicit java io temp path.
Boris Kirzner [Sun, 28 Jan 2007 15:53:27 +0000 (15:53 -0000)]
Fix test project configurations. Use explicit java io temp path.

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

17 years ago* FileWebRequest.cs: Fixed PreAuthenticate and Proxy properties to
Gert Driesen [Sun, 28 Jan 2007 15:52:04 +0000 (15:52 -0000)]
* FileWebRequest.cs: Fixed PreAuthenticate and Proxy properties to
no longer throw NotSupportedException. No longer store ContentLength
in headers. Do not allow null or zero-length method. Allow timeout
to be set to -1 (infine). Only disallow GET, HEAD and CONNECT requests.
Removed workarounds for bug #24943. In (Begin)GetRequest overwrite
file if it already exists. Binary serialization compatibility fixes.
* FileWebResponse.cs: Return application/octet-stream as ContentType.
* FileWebRequestTest.cs: Reworked tests to no longer rely on TMPDIR.
Added tests for ConnectionGroupName, ContentLength, ContentType,
Credentials, GetRequestStream, GetResponse, Method, PreAuthenticate,
Proxy, RequestUri, Timeout. Added binary serialization compatibility
tests.
* FileWebResponseTest.cs: Added tests for ContentLength, ContentType,
GetResponseStream, Headers, ResponseUri.
* System_test.dll.sources: Added FileWebResponseTest.cs.

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

17 years ago* WebHeaderCollection.cs: Fixed binary serialization compatibility with MS.
Gert Driesen [Sun, 28 Jan 2007 13:16:24 +0000 (13:16 -0000)]
* WebHeaderCollection.cs: Fixed binary serialization compatibility with MS.
* WebHeaderCollectionTest.cs: Added tests for binary serialization
compatibility.

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

17 years ago* WebProxyTest.cs: Move IsBypassed null check to separate test, and
Gert Driesen [Sun, 28 Jan 2007 13:11:58 +0000 (13:11 -0000)]
* WebProxyTest.cs: Move IsBypassed null check to separate test, and
fixed it for 2.0 profile. Added test for binary serialization.
* WebProxy.cs: Lazy init bypassList. Fixes for binary serialization
compatibility. Added stub for UseDefaultCredentials (2.0). On 2.0
profile, throw ArgumentNullException in IsBypassed if host is null.

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

17 years agoIn mcs:
Raja R Harinath [Sun, 28 Jan 2007 11:27:23 +0000 (11:27 -0000)]
In mcs:
Fix #80531
* anonymous.cs (ScopeInfo.InflateParameters): New.
(AnonymousContainer.Resolve): Use it to redirect types of
delegate parameters.

In tests:
* gtest-308.cs: New test based on #80531.
* gtest-307.cs: New test based on #80358.

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

17 years agobug #80646
Marek Safar [Sun, 28 Jan 2007 10:52:51 +0000 (10:52 -0000)]
bug #80646

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

17 years agoAdapted for gh 2.0
Vladimir Krasnov [Sun, 28 Jan 2007 09:34:09 +0000 (09:34 -0000)]
Adapted for gh 2.0

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

17 years agoremove TRACE from release build
Konstantin Triger [Sun, 28 Jan 2007 09:24:42 +0000 (09:24 -0000)]
remove TRACE from release build

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

17 years agoTARGET_JVM: align with recent changes
Konstantin Triger [Sun, 28 Jan 2007 09:21:58 +0000 (09:21 -0000)]
TARGET_JVM: align with recent changes

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

17 years ago2007-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 28 Jan 2007 09:13:31 +0000 (09:13 -0000)]
2007-01-28  Zoltan Varga  <vargaz@gmail.com>

* basic.cs objects.cs iltests.il: Merge tests from the linear IL branch.

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

17 years agosome tests comment out for target_jvm
motym [Sun, 28 Jan 2007 08:46:59 +0000 (08:46 -0000)]
some tests comment out for target_jvm

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

17 years agoFix #80530
Raja R Harinath [Sat, 27 Jan 2007 18:11:23 +0000 (18:11 -0000)]
Fix #80530
* expression.cs (Error_InvalidArguments): Don't use two different
messages for CS1503.  Use ExtraInformation and
SymbolRelatedToPreviousError instead.

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

17 years ago2007-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Jan 2007 16:17:52 +0000 (16:17 -0000)]
2007-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (peephole_pass): Remove optimizations which omit a
narrowing. Fixes #80622.

* iltests.il: Add new regresssion test.

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

17 years agoFix #80358
Raja R Harinath [Sat, 27 Jan 2007 15:48:22 +0000 (15:48 -0000)]
Fix #80358
* decl.cs (DeclSpace.initialize_type_params): Don't access
'type_params' of a partial class directly.

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

17 years ago2007-01-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 27 Jan 2007 01:08:26 +0000 (01:08 -0000)]
2007-01-26  Miguel de Icaza  <miguel@novell.com>

* SqliteParameterCollection.cs: If the parameter is prefixed,
ignore the prefix when we do the lookup.   Replicates the behavior
in GetParameter

The code paths changed recently with the 2.0-ification of
Mono.Data.SqliteClient

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

17 years ago2007-01-27 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sat, 27 Jan 2007 01:05:04 +0000 (01:05 -0000)]
2007-01-27  Robert Jordan  <robertj@gmx.net>

* test/Makefile.am: Add linker option to be able to
load symbols from the main program.
* test/module.c: Clean-ups.

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

17 years ago2007-01-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Sat, 27 Jan 2007 00:47:42 +0000 (00:47 -0000)]
2007-01-26  Everaldo Canuto  <everaldo@simios.org>

* MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
also remove ProcessArrowKey and put the code inside ProcessKeys.

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

17 years agoAvoid breaking binary compatibility
Miguel de Icaza [Fri, 26 Jan 2007 23:40:59 +0000 (23:40 -0000)]
Avoid breaking binary compatibility

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

17 years ago2007-01-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Jan 2007 20:20:28 +0000 (20:20 -0000)]
2007-01-26  Robert Jordan  <robertj@gmx.net>

* configure.ac: Add PLATFORM_WIN32 conditional.
* src/Makefile.ac: Use PLATFORM_WIN32 conditional for psapi, iconv
* test/module.c, test/tests.h, test/Makefile.am: New test for gmodule.
* src/gmodule.h: Add G_MODULE_{IMPORT|EXPORT} defines.
* src/gmodule.c (g_module_symbol): Implement in-proc symbol lookup
for Win32.
* src/gmodule.c: Add GModule.main_module, consider it in
g_module_close ().
* src/gpath.c (g_get_home_dir): Add dummy Win32 implementation to
fix the build.

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

17 years ago2007-01-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 26 Jan 2007 18:45:19 +0000 (18:45 -0000)]
2007-01-26  Miguel de Icaza  <miguel@novell.com>

* constant.cs: Removed a handful of out-of-range checks that were
not necessary.

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

17 years ago2007-01-26 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 26 Jan 2007 17:57:31 +0000 (17:57 -0000)]
2007-01-26  Dick Porter  <dick@ximian.com>

* Socket.cs: SupportsIPv6 is obsolete in the 2.0 profile.  Stub
out BeginReceiveMessageFrom(), BeginSendFile(),
EndReceiveMessageFrom(), EndSendFile(), ReceiveMessageFrom(), and
SendFile().

* IPPacketInformation.cs: New in the 2.0 profile

* SocketFlags.cs: Remove useless (and empty) inline documentation,
and add 2.0 items.

* TcpListener.cs: Mark Server as public in the 2.0 profile.

* UdpClient.cs: Mark Dispose(bool) as protected in the 2.0
profile.

System.Net.Sockets should now be 2.0-complete.

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

17 years ago2007-01-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 26 Jan 2007 17:42:25 +0000 (17:42 -0000)]
2007-01-26  Jonathan Pobst  <monkey@jpobst.com>

* PaddingConverter.cs: Added.
* PaddingConverterTest.cs: Added.

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

17 years agoFri Jan 26 18:31:45 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 17:34:27 +0000 (17:34 -0000)]
Fri Jan 26 18:31:45 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.h, mini-trampolines.c, aliasing.c, mini-codegen.c,
debug-debugger.c, debug-debugger.h: warning fixes.
* driver.c: updated copyright year and made it fit in one line.

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

17 years ago2007-01-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Jan 2007 16:10:07 +0000 (16:10 -0000)]
2007-01-26  Robert Jordan  <robertj@gmx.net>

* mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
for Win32.

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

17 years ago2007-01-26 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 26 Jan 2007 14:27:47 +0000 (14:27 -0000)]
2007-01-26  Dick Porter  <dick@ximian.com>

* Socket.cs: There's no point checking the SO_ERROR status of a
socket after poll() or select() if we already know that connected
== true.

2007-01-26  Dick Porter  <dick@ximian.com>

* SocketTest.cs: New test for SO_ERROR reading, returning the same
value over and over.

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

17 years ago2007-01-26 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 26 Jan 2007 14:21:30 +0000 (14:21 -0000)]
2007-01-26  Dick Porter  <dick@ximian.com>

* socket-private.h:
* sockets.c (_wapi_getsockopt): Windows seems to not reset
SO_ERROR values when they're read, contrary to the documentation.
Fixes the new issues raised in bug 79878 (example in C showing
winsock behaviour attached to that bug.)

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

17 years agoDon't link to gmodule anymore.
Paolo Molaro [Fri, 26 Jan 2007 13:24:04 +0000 (13:24 -0000)]
Don't link to gmodule anymore.

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

17 years agoFri Jan 26 12:48:39 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 12:10:43 +0000 (12:10 -0000)]
Fri Jan 26 12:48:39 CET 2007 Paolo Molaro <lupus@ximian.com>

* aot-runtime.c: updated to use mono-dl instead of gmodule.

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

17 years agoFri Jan 26 12:49:23 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 12:10:30 +0000 (12:10 -0000)]
Fri Jan 26 12:49:23 CET 2007 Paolo Molaro <lupus@ximian.com>

* image.h, loader.c, metadata-internals.h: use mono-dl instead of
gmodule.

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

17 years agoFri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 12:07:32 +0000 (12:07 -0000)]
Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>

* mono-dl.h, mono-dl.c: make symbols internal and fixes.

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

17 years ago2007-01-26 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 26 Jan 2007 11:41:43 +0000 (11:41 -0000)]
2007-01-26  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* StatusBarTest.cs: Added a few more tests.

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

17 years agoFri Jan 26 12:37:14 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 11:37:28 +0000 (11:37 -0000)]
Fri Jan 26 12:37:14 CET 2007 Paolo Molaro <lupus@ximian.com>

* monograph.c: warning fixes.

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

17 years ago * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
Rolf Bjarne Kvinge [Fri, 26 Jan 2007 11:31:12 +0000 (11:31 -0000)]
* ThemeWin32Classic.cs: Only draw the text of a StatusBar if
ShowPanels is false (fixes #80600). Only draw up to 127 characters
of text (fixes #80601). For panels clip the text to draw to the
panel (fixes #80603).
2007-01-26  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years agoFri Jan 26 12:30:22 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 11:30:46 +0000 (11:30 -0000)]
Fri Jan 26 12:30:22 CET 2007 Paolo Molaro <lupus@ximian.com>

* get.c, dis-cil.c: warning fixes.

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

17 years agoFri Jan 26 12:00:45 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 11:01:27 +0000 (11:01 -0000)]
Fri Jan 26 12:00:45 CET 2007 Paolo Molaro <lupus@ximian.com>

* threadpool.c: made the code moving-GC safe.

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

17 years ago2007-01-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 26 Jan 2007 10:45:13 +0000 (10:45 -0000)]
2007-01-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildPropertyGroupTest.cs: Trivial test for SetProperty ().

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

17 years ago2007-01-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 26 Jan 2007 10:44:13 +0000 (10:44 -0000)]
2007-01-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildPropertyGroup.cs (SetProperty): Made it work with persisted
        properties.

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

17 years ago2007-01-26 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 26 Jan 2007 10:26:10 +0000 (10:26 -0000)]
2007-01-26  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ComboBox.cs: Fixed implementation of ResetText.

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

17 years ago2007-01-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 26 Jan 2007 02:00:40 +0000 (02:00 -0000)]
2007-01-25  Jonathan Pobst  <monkey@jpobst.com>

* ControlHandleTest.cs: Added.  Has tests to find exactly which
Methods and Properties create a Handle.  Not added to sources file
because it's written against MS, and we're probably missing some
methods/properties.

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

17 years agoFix for cases when the browser language is set to a neutral culture
Marek Habersack [Thu, 25 Jan 2007 22:24:54 +0000 (22:24 -0000)]
Fix for cases when the browser language is set to a neutral culture

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

17 years ago * TextControl.cs: For the last char of a line we need to use the
Jackson Harper [Thu, 25 Jan 2007 22:24:12 +0000 (22:24 -0000)]
    * TextControl.cs: For the last char of a line we need to use the
        line size, not that chars width, since it won't actually be
        computed since the right side of a char is based on the start of
        the left side of the next char, and the next char does not
exist.

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

17 years ago2007-01-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 25 Jan 2007 20:56:27 +0000 (20:56 -0000)]
2007-01-25  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripButtonTest.cs, ToolStripItemTest.cs, ToolStripLabelTest.cs:
Try to make some tests not Font/DPI dependent.

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Thu, 25 Jan 2007 20:45:53 +0000 (20:45 -0000)]
In System.Windows.Forms:
2007-01-25  Chris Toshok  <toshok@ximian.com>

* Splitter.cs: fix the new unit tests, and reindent some switch
statements.

In Test/System.Windows.Forms:
2007-01-25  Chris Toshok  <toshok@ximian.com>

* SplitterTest.cs: new tests.

In .:
2007-01-25  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms_test.dll.sources: add SplitterTest.cs

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

17 years ago2007-01-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 25 Jan 2007 19:44:15 +0000 (19:44 -0000)]
2007-01-25  Chris Toshok  <toshok@ximian.com>

* Calendar.cs, HijriCalendar.cs, ThaiBuddhistCalendar.cs,
HebrewCalendar.cs, GregorianCalendar.cs, KoreanCalendar.cs,
JulianCalendar.cs, PersianCalendar.cs:

more serialization fixes.  the M_TwoDigitYearMax field we use
appears to be called twoDigitYearMax in MS.NET.  rename it (and
fix all the Calendar subclasses to use this naming).  Likewise
with is_readonly (MS calls it m_isReadOnly).

Also, the m_currentEraValue field I had originally placed in
GregorianCalendar appears to be in Calendar (as running
nunit-2.2.8-2.0 shows.)

In GregorianCalendar, rename the M_CalendarType field to m_type
and remove the extra field I added.

The previous fix got nunit 2.4-2.0 running.  This change gets
versions 2.2.8 and 2.4 of nunit running against both 1.1 and 2.0
profiles.

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

17 years agoThu Jan 25 20:31:41 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Jan 2007 19:40:03 +0000 (19:40 -0000)]
Thu Jan 25 20:31:41 CET 2007 Paolo Molaro <lupus@ximian.com>

* assembly.c, boehm-gc.c, class-internals.h, class.c,
debug-mono-symfile.c, domain.c, locales.c, marshal.c, metadata.c,
monitor.c, mono-debug.c, mono-debug.h, object.c, profiler.c:
warning cleanup.
* reflection.c: warning cleanup, some threading and moving GC fixes.

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

17 years agoFixed a typo.
Eyal Alalouf [Thu, 25 Jan 2007 19:32:10 +0000 (19:32 -0000)]
Fixed a typo.

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

17 years ago * StreamReaderTest.cs: Added test for bug #75526.
Gert Driesen [Thu, 25 Jan 2007 19:26:30 +0000 (19:26 -0000)]
 * StreamReaderTest.cs: Added test for bug #75526.

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

17 years ago * ComboBoxTest.cs: Added tests for ResetText.
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 19:20:52 +0000 (19:20 -0000)]
* ComboBoxTest.cs: Added tests for ResetText.

2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years ago2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 19:10:17 +0000 (19:10 -0000)]
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ComboBox.cs: Implemented 2.0 methods and events.
* TextBoxBase.cs: Added OnTextUpdate, so that
ComboBox.ComboTextBox can inform ComboBox of it.

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

17 years ago2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jan 2007 18:46:31 +0000 (18:46 -0000)]
2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* System.Web.Services_test.dll.sources: added TypeTypeConverter.cs.

* TypeTypeConverter.cs :
  New internal stuff, TypeConverter for a type name.
* SoapExtensionTypeElement.cs :
  For Type property, use above. Part of #80619 fix.

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

17 years agoAdd support for multiple fomrs on the client side in case of TARGET_J2EE portal support.
Eyal Alalouf [Thu, 25 Jan 2007 18:12:05 +0000 (18:12 -0000)]
Add support for multiple fomrs on the client side in case of TARGET_J2EE portal support.

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

17 years agoWorkaround not supported in Grasshopper property System.ArgumentNullException.ParamName.
Ilya Kharmatsky [Thu, 25 Jan 2007 17:22:34 +0000 (17:22 -0000)]
Workaround not supported in Grasshopper property System.ArgumentNullException.ParamName.

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

17 years ago * TextControl.cs: Respect ShowSelection when deciding whether or
Jackson Harper [Thu, 25 Jan 2007 17:09:35 +0000 (17:09 -0000)]
    * TextControl.cs: Respect ShowSelection when deciding whether or
        not to display the caret, this allows comboboxes to have carets
        when the combotextbox does not have focus.

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

17 years agoWorkaround Grasshopper's bugs with 'Ignore' and 'NotWorking' attribute / category.
Ilya Kharmatsky [Thu, 25 Jan 2007 16:43:58 +0000 (16:43 -0000)]
Workaround Grasshopper's bugs with 'Ignore' and 'NotWorking' attribute / category.

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

17 years ago * TextBoxBase.cs: Don't antialias text. Makes it look way better
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 16:41:12 +0000 (16:41 -0000)]
* TextBoxBase.cs: Don't antialias text. Makes it look way better
on Windows (no difference on Linux).
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years agoWorkaround Grasshopper's bugs with 'Ignore' attributes.
Ilya Kharmatsky [Thu, 25 Jan 2007 16:40:24 +0000 (16:40 -0000)]
Workaround Grasshopper's bugs with 'Ignore' attributes.

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

17 years ago * TextControl.cs: Add a Suspend/Resume for updating, basically
Jackson Harper [Thu, 25 Jan 2007 16:39:01 +0000 (16:39 -0000)]
    * TextControl.cs: Add a Suspend/Resume for updating, basically
        * the
        same as the Suspend/Resume for recalc, except this will do
actual
        Invalidates.
        - New Undo manager, works much like the MS version.
        - Implemented Redo
        * TextBoxBase.cs: The Cut operation is undoable.

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

17 years agoAdded 'Ignore' attributes, under TARGET_JVM directive in order to workaround
Ilya Kharmatsky [Thu, 25 Jan 2007 16:37:25 +0000 (16:37 -0000)]
Added 'Ignore' attributes, under TARGET_JVM directive in order to workaround
Grasshopper's bugs.

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

17 years agoAdded 'Ignore' attribute under TARGET_JVM in order to workaround Grasshopper's bug.
Ilya Kharmatsky [Thu, 25 Jan 2007 16:33:09 +0000 (16:33 -0000)]
Added 'Ignore' attribute under TARGET_JVM in order to workaround Grasshopper's bug.

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

17 years ago2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 16:30:26 +0000 (16:30 -0000)]
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
we don't want to activate any windows. Fixes #79433.

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

17 years agoTest for the arm encoding bug.
Paolo Molaro [Thu, 25 Jan 2007 15:42:47 +0000 (15:42 -0000)]
Test for the arm encoding bug.

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

17 years agoThu Jan 25 16:22:36 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Jan 2007 15:28:48 +0000 (15:28 -0000)]
Thu Jan 25 16:22:36 CET 2007 Paolo Molaro <lupus@ximian.com>

* class.c, loader.c: create the needed Set/Get/Address array methods
as well as the .ctors in mono_class_init (), fixes bug #80567.

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

17 years ago2007-01-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 25 Jan 2007 15:15:10 +0000 (15:15 -0000)]
2007-01-25  Jonathan Pobst  <monkey@jpobst.com>

- ButtonBase.cs: Fix capitalization of parameter: disposing.
[Fixes bug #80609]

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

17 years ago2007-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jan 2007 14:56:27 +0000 (14:56 -0000)]
2007-01-25  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_output_basic_block): Fix #80507 for x86.

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

17 years ago2007-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jan 2007 14:44:45 +0000 (14:44 -0000)]
2007-01-25  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Fix #80507 for amd64.

* iltests.il: Add new test for bug #80507.

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

17 years ago2006-01-25 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Thu, 25 Jan 2007 13:15:08 +0000 (13:15 -0000)]
2006-01-25  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs:
- Move to using System.ComponentModel.EventHandlerList
- Replace Refresh with Invalidate
- Clear the mime filecache on closing
- Some other memory reducing work. After beeing closed FD now uses
  only about 300 KB for the fdo mime stuff plus the memory of the
  cached icons.
* Mime.cs: Changed coding style and removed unnecessary commented
code. Some more memory memory reducing work.

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

17 years ago2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 12:41:38 +0000 (12:41 -0000)]
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
a few other missing 2.0 properties.
* Theme.cs: Added DrawFlatStyleComboBox.
* ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.

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

17 years ago2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 12:41:01 +0000 (12:41 -0000)]
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ComboBoxTest.cs: Add tests for new properties.
* MdiFormTest.cs: Set ShowInTaskbar = false for main forms.

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

17 years agoAdded 'Ignore' attribute under TARGET_JVM directive.
Ilya Kharmatsky [Thu, 25 Jan 2007 11:26:04 +0000 (11:26 -0000)]
Added 'Ignore' attribute under TARGET_JVM directive.

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

17 years ago2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jan 2007 10:32:13 +0000 (10:32 -0000)]
2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : copy Kind in those members that return DateTime.
  Fixed bug #80614.

* DateTimeTest.cs : test for copying Kind property.

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

17 years agodescribe only supported bindings and never HttpPostLocalhost
Konstantin Triger [Thu, 25 Jan 2007 09:59:09 +0000 (09:59 -0000)]
describe only supported bindings and never HttpPostLocalhost

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

17 years ago2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jan 2007 09:57:57 +0000 (09:57 -0000)]
2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* SignedXml.cs : for DataObject, copy namespaces in Data into Object
  element itself. I haven't solved the puzzle on why it is needed
  though.

* SignedXmlTest.cs : enable SignElementWithPrefixedNamespace().

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

17 years agosupport test page using POST request
Konstantin Triger [Thu, 25 Jan 2007 09:53:00 +0000 (09:53 -0000)]
support test page using POST request

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

17 years agoUse System.IO tests for TARGET_JVM.
Boris Kirzner [Thu, 25 Jan 2007 09:48:45 +0000 (09:48 -0000)]
Use System.IO tests for TARGET_JVM.

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

17 years ago* LoginTest.cs: removed NotWorking attribute
Vladimir Krasnov [Thu, 25 Jan 2007 09:32:17 +0000 (09:32 -0000)]
* LoginTest.cs: removed NotWorking attribute

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

17 years agoMerge gh20preview2 branch (revisions 70670:71411)
Noam Lampert [Thu, 25 Jan 2007 08:46:55 +0000 (08:46 -0000)]
Merge gh20preview2 branch (revisions 70670:71411)

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

17 years ago2007-01-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Thu, 25 Jan 2007 06:12:54 +0000 (06:12 -0000)]
2007-01-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* StreamReader.cs: fix for bug #75526. We return earlier from Read () if
the underlying stream might block or end on the next read.

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

17 years agofix this in a better way
Chris Toshok [Thu, 25 Jan 2007 00:32:24 +0000 (00:32 -0000)]
fix this in a better way

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

17 years ago2007-01-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 25 Jan 2007 00:26:47 +0000 (00:26 -0000)]
2007-01-24  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: fix the wake_waiting logic - we always clear the
wake_waiting flag, not just when there's data to be read.  if we
don't, then future wakeup's won't reach us and we'll be doomed to
wait for the entire 1 second timeout forever (unless there are X
events to be had).

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

17 years agoNew tests and updates.
Marek Safar [Thu, 25 Jan 2007 00:20:04 +0000 (00:20 -0000)]
New tests and updates.

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

17 years ago2007-01-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 25 Jan 2007 00:18:28 +0000 (00:18 -0000)]
2007-01-25  Marek Safar  <marek.safar@gmail.com>

* expression.cs (CheckUselessComparison): Add additional check for char
constants.

* namespace.cs: Fixed typo.

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

17 years ago2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Jan 2007 23:46:05 +0000 (23:46 -0000)]
2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : GetTailContraction() was broken to pick correct
  contraction/special sortkey out and thus LastIndexOf() failed when
  it is involved. Fixed bug #80612.

* CompareInfoTest.cs : added test for bug #80612.

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

17 years agoWed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Jan 2007 22:24:14 +0000 (22:24 -0000)]
Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>

* mono-codeman.c: don't call mono_mprotect() on windows.

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

17 years agoAvoid declaration warning.
Paolo Molaro [Wed, 24 Jan 2007 22:16:31 +0000 (22:16 -0000)]
Avoid declaration warning.

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

17 years ago* FormTest.cs: Added NotWorking test for bug #80604.
Gert Driesen [Wed, 24 Jan 2007 21:04:43 +0000 (21:04 -0000)]
* FormTest.cs: Added NotWorking test for bug #80604.
* ColumnHeaderTest.cs: Added tests for bug #80607. Added test for
properties introduced in 2.0 profile.

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

17 years ago2007-01-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 24 Jan 2007 21:01:29 +0000 (21:01 -0000)]
2007-01-24  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
until you pass Items.Count, not Items.Count - 1 like 1.1.

2007-01-24  Jonathan Pobst  <monkey@jpobst.com>

* ComboBoxTest.cs: Add FindStringExactMaxExceptionNet20 test.
* FormTest.cs: Mark BehaviorResizeOnBorderStyleChangedNotVisible as NotWorking,
it's values match MS only.
* LabelTest.cs: Mark AutoSizeChangedChangedTest as Ignore for 2.0 until it is
reworked.
* ToolStripTextBoxTest.cs: Mark PropertyModified as Ignore until a bug in TextBox
is fixed.  Same for Constructor: A12.

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

17 years ago* ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
Gert Driesen [Wed, 24 Jan 2007 20:42:06 +0000 (20:42 -0000)]
* ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.

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

17 years ago2007-01-24 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 24 Jan 2007 20:16:32 +0000 (20:16 -0000)]
2007-01-24  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ControlTest.cs: Marked OnPaintDoubleBufferedTest as Interactive,
they'll only work if you actually have a display to show them on.

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

17 years agoWed Jan 24 21:00:40 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Jan 2007 20:01:27 +0000 (20:01 -0000)]
Wed Jan 24 21:00:40 CET 2007 Paolo Molaro <lupus@ximian.com>

* arm/arm-codegen.h: fixed encoding of short/byte load/store
instructions with negative immediate offsets.

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

17 years ago2007-01-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Wed, 24 Jan 2007 19:28:47 +0000 (19:28 -0000)]
2007-01-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * MonoLocationHelper.cs: Made class internal. It will be removed soon
        (all its functionality is in ToolLocationHelper and it wasn't
        documented yet)

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

17 years ago2006-01-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 24 Jan 2007 19:27:56 +0000 (19:27 -0000)]
2006-01-24  Chris Toshok  <toshok@ximian.com>

[ these fix nunit built with MS .net 2.0, running on mono.  nunit
apparently stores all manner of things in its resources ]

* NumberFormatInfo.cs: add unused nativeDigits and
digitSubstitution fields that MS serializes.

* DateTimeFormatInfo.cs: serialization fixes.  MS apparently
stores (and serializes) a couple of fields as ints, but exposes
them to programmers as Enum's.

* CompareInfo.cs: add unused m_name field that MS serializes.

* GregorianCalendar.cs: add a couple of unused fields that MS serializes.

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

17 years ago2007-01-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Wed, 24 Jan 2007 19:26:14 +0000 (19:26 -0000)]
2007-01-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * GetFrameworkPath.cs
        * GetFrameworkSdkPath.cs: Changed to use ToolLocationHelper instead of
        MonoLocationHelper.

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

17 years agorevert, this was a mistake
Miguel de Icaza [Wed, 24 Jan 2007 18:37:03 +0000 (18:37 -0000)]
revert, this was a mistake

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