mono.git
15 years agomove dtrace-prelink.sh out of the top dir
Miguel de Icaza [Thu, 8 Jan 2009 23:55:46 +0000 (23:55 -0000)]
move dtrace-prelink.sh out of the top dir

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

15 years agoAdd new checks
Miguel de Icaza [Thu, 8 Jan 2009 23:55:11 +0000 (23:55 -0000)]
Add new checks

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

15 years ago2009-01-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 8 Jan 2009 23:50:52 +0000 (23:50 -0000)]
2009-01-09  Marek Habersack  <mhabersack@novell.com>

* Cache.cs: System.Threading.Timer.Change takes a long, not an
int. The maximum value of sliding expiration is 365 days
(31536000000ms) which fits within the value range of long. The
previous cast to int might yield negative values in certain
situations which was the reason for bug #464221. Fixes bug #464221

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

15 years ago2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Jan 2009 23:23:09 +0000 (23:23 -0000)]
2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>

* gc.c (mono_gc_init): Wait for finalizer thread to init on windows as
well. Otherwise the shutdown deadlock that happens on unix will can happen
as well.
If the main thread code finishes too fast it's possible that the finalizer
thread won't have executed yet, won't record itself as the finalizer thread
and the shutdown sequence will wait on it forever.

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

15 years ago2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Jan 2009 23:23:00 +0000 (23:23 -0000)]
2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>

* threads.c (mono_thread_current): Make THREAD_DEBUG work on windows
with MSVC.

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

15 years ago2009-01-08 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 8 Jan 2009 21:59:57 +0000 (21:59 -0000)]
2009-01-08  Bill Holmes  <billholmes54@gmail.com>

* mono-dl.c (mono_dl_open): Fix the MSVC build.

Contributed under MIT/X11 license.

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

15 years ago2009-01-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 8 Jan 2009 20:19:42 +0000 (20:19 -0000)]
2009-01-08  Miguel de Icaza  <miguel@novell.com>

* appdomain.c: Initialize the mono_strtod_mutex here, thanks to
Robert Jordan for pointing this out.

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

15 years ago2008-12-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 8 Jan 2009 20:18:48 +0000 (20:18 -0000)]
2008-12-19  Miguel de Icaza  <miguel@novell.com>

* mono-dl.c (mono_dl_open): Do not crash if the platform does not
support dlopen.

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

15 years ago* HandlerFactoryConfiguration.cs: Allow handlers with non-public
Gert Driesen [Thu, 8 Jan 2009 19:06:55 +0000 (19:06 -0000)]
* HandlerFactoryConfiguration.cs: Allow handlers with non-public
.ctors. Fixes bug #463971 for 1.0 profile.

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

15 years ago2009-01-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 8 Jan 2009 18:56:57 +0000 (18:56 -0000)]
2009-01-08  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Fix the check for the mscorlib ldstr
optimization. Fixes #464520.

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

15 years ago2009-01-08 Brad Taylor <brad@getcoded.net>
Brad Taylor [Thu, 8 Jan 2009 17:14:43 +0000 (17:14 -0000)]
2009-01-08  Brad Taylor  <brad@getcoded.net>

* ComboBox.cs: Expose a few private fields as internal UIA properties.

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

15 years ago2009-01-08 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 8 Jan 2009 15:41:49 +0000 (15:41 -0000)]
2009-01-08  Bill Holmes  <billholmes54@gmail.com>

* winconfig.h, src/gfile-posix.c :
  Fixing the MSVC builds.

Contributed under MIT/X11 license.

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

15 years ago2009-01-08 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 8 Jan 2009 14:58:25 +0000 (14:58 -0000)]
2009-01-08  Geoff Norton  <gnorton@novell.com>

        * Makefile: Add darwin.make to the make dist target as well

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

15 years ago2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Jan 2009 12:52:49 +0000 (12:52 -0000)]
2009-01-08  Rodrigo Kumpera  <rkumpera@novell.com>

* signal.c: Don't allow registration of a realtime signal to happen
if it was already registered outside of Mono.Posix.

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

15 years ago2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Jan 2009 12:51:07 +0000 (12:51 -0000)]
2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>

* Documentation/en/*: Updated the documentation for RT signals.

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

15 years ago2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Jan 2009 12:51:05 +0000 (12:51 -0000)]
2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>

* UnixSignalTest.cs: Fix the RealTimeSignum constructor
tests to take into account the fact that some signals might be
in used by the runtime. Added a test for multiple registration
of a rt signal.

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

15 years ago2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Jan 2009 12:51:03 +0000 (12:51 -0000)]
2009-01-08 Rodrigo Kumpera <rkumpera@novell.com>

* UnixSignal.cs: Check if realtime signal install failed with
EADDRINUSE due to the signal been used by outside of Mono.Posix.

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

15 years ago2009-01-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Jan 2009 02:39:23 +0000 (02:39 -0000)]
2009-01-08  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs : ReadContentAsString() does not reject non-elements.
  ReadElementContentAsString() rejects non-content nodes.

* XmlReaderCommonTests.cs : added test for ReadContentAsString()
  and ReadElementContentAsString() against certain node types.

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

15 years agoFix the mutext name
Miguel de Icaza [Thu, 8 Jan 2009 02:27:14 +0000 (02:27 -0000)]
Fix the mutext name

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

15 years ago2009-01-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 8 Jan 2009 02:22:02 +0000 (02:22 -0000)]
2009-01-07  Miguel de Icaza  <miguel@novell.com>

        * src/gfile-posix.c: Move g_get_current_dir, as it is a
        POSIX-esque feature, and some other systems do not have current
        directories.

        * src/glib.h (G_LOCK_DEFINE, G_LOCK_DEFINE_STATIC):

        Embedded support from Paolo's work on quack.

        * configure.ac: check for strtok_r, langinfo.h and iconv.h

        * src/gpath.c (strtok_r): Add a strtok_r implementation if it is
        not available on the target system.

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

15 years ago2009-01-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 8 Jan 2009 02:17:59 +0000 (02:17 -0000)]
2009-01-07  Miguel de Icaza  <miguel@novell.com>

* icall.c: Wrap calls to mono_strtod in CriticalSection
invocations when using eglib, to work around #464316.

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

15 years ago2009-01-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 8 Jan 2009 00:32:37 +0000 (00:32 -0000)]
2009-01-08  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationManager.cs: improve performance of
FindWebConfig.

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

15 years ago2009-01-07 Mario Carrion <mcarrion@novell.com>
Mario Carrion [Wed, 7 Jan 2009 22:57:18 +0000 (22:57 -0000)]
2009-01-07  Mario Carrion <mcarrion@novell.com>

        * DataGrid.cs: CWL removed.

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

15 years ago2009-01-07 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 7 Jan 2009 22:34:17 +0000 (22:34 -0000)]
2009-01-07  Bill Holmes  <billholmes54@gmail.com>

* mini-amd64.c : Adding code to save/restore non-volatile registers
  on Winx64.

* exceptions-amd64.c : Adding code to save/restore non-volatile
  registers on Winx64.

Contributed under MIT/X11 license.

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

15 years ago2009-01-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Jan 2009 20:08:13 +0000 (20:08 -0000)]
2009-01-07  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (mono_arch_flush_icache): Use __GNUC_PREREQ instead of checking
__GNUC_MINOR__ which can break when the major version changes.

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

15 years ago2009-01-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Jan 2009 19:48:15 +0000 (19:48 -0000)]
2009-01-07  Zoltan Varga  <vargaz@gmail.com>

* RxInterpreter.cs: Add support for constant strings in anchors. Fixes
#464135.

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 17:56:07 +0000 (17:56 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

* Revert the OSX workaround to nunit, as the runtime is fixed now

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 17:53:26 +0000 (17:53 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * processes.c: Properly implement support for Process.Modules on OSX.
        Fixes OSX on nunit 2.4

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

15 years agonet_2_1_raw_System.dll.sources: Add System/UriTypeConverter.cs to NET_2_1 build.
Sebastien Pouliot [Wed, 7 Jan 2009 17:49:31 +0000 (17:49 -0000)]
net_2_1_raw_System.dll.sources: Add System/UriTypeConverter.cs to NET_2_1 build.

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

15 years ago2009-01-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 7 Jan 2009 17:47:56 +0000 (17:47 -0000)]
2009-01-07  Sebastien Pouliot  <sebastien@ximian.com>

* UriTypeConverter.cs: Customize for NET_2_1 since this type is
not part of System.Windows.dll anymore

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

15 years ago2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 7 Jan 2009 17:06:18 +0000 (17:06 -0000)]
2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>

* bug-459094.cs: New regression test.

* Makefile.am: Test added.

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

15 years ago2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 7 Jan 2009 17:06:09 +0000 (17:06 -0000)]
2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>

* file-io.c (ves_icall_System_IO_MonoIO_GetCurrentDirectory): Double check the
return value of GetCurrentDirectory to never access unitialized memory.

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

15 years ago2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 7 Jan 2009 17:06:05 +0000 (17:06 -0000)]
2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>

* io.c (GetCurrentDirectory): Avoid calling g_get_current_dir straight
away as it doesn't handle ENAMETOOLONG correctly. As a bonus we avoid
allocating memory in the common path.

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

15 years ago2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 7 Jan 2009 17:05:56 +0000 (17:05 -0000)]
2009-01-07 Rodrigo Kumpera  <rkumpera@novell.com>

* file-io.c (ves_icall_System_IO_MonoIO_GetCurrentDirectory): Properly check the
return value of GetCurrentDirectory and expand the buffer if needed.

Fixes #459094.

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

15 years ago2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 7 Jan 2009 17:05:51 +0000 (17:05 -0000)]
2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>

* basic-simd.cs: Add tests for usage of the sizeof opcode.

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

15 years ago2009-10-07 Tom Hindle <tom_hindle@sil.org>
Bill Holmes [Wed, 7 Jan 2009 15:24:05 +0000 (15:24 -0000)]
2009-10-07 Tom Hindle  <tom_hindle@sil.org>

* marshal.c (GetIUnknownForObjectInternal, GetIUnknownForObjectInternal) :
  Adding a call to mono_init_com_types.

Code is contributed under MIT/X11 license.

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

15 years agoPrint full name.
Marek Safar [Wed, 7 Jan 2009 13:50:08 +0000 (13:50 -0000)]
Print full name.

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

15 years ago2009-01-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 7 Jan 2009 13:47:03 +0000 (13:47 -0000)]
2009-01-07  Marek Habersack  <mhabersack@novell.com>

* HttpModulesSection.cs: allow for modules with non-public
constructors. Fises bug #463971

* HttpHandlerAction.cs: allow for handlers with non-public
constructors. Fixes bug #463971

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

15 years agoDefaultWsdlHelpGenerator.aspx: Move <script> at the end of <head> that will make...
Kornél Pál [Wed, 7 Jan 2009 13:13:18 +0000 (13:13 -0000)]
DefaultWsdlHelpGenerator.aspx: Move <script> at the end of <head> that will make Visual Studio recognize the web service disco reference.  Contributed under MIT/X11 license.

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

15 years ago2009-01-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 7 Jan 2009 12:03:40 +0000 (12:03 -0000)]
2009-01-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RadioButton.cs: When setting Checked, we should first update the
check state of the current RadioButton, as well as invalidating it,
and after that actually update the siblings. This is done to match
.net.
Fixes the remaining bits of #463028.

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

15 years ago2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 10:00:11 +0000 (10:00 -0000)]
2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* ClientBase.cs : added ChannelBase class inside.

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

15 years ago2009-01-07 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 08:23:50 +0000 (08:23 -0000)]
2009-01-07  Astushi Enomoto  <atsushi@ximian.com>

* net_2_1_raw_System.ServiceModel.dll.sources : add OperationContext
  and OperationContextScope to 2.1 build.

* OperationContext.cs : changes to include this in net_2_1_raw.

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

15 years ago2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 08:11:44 +0000 (08:11 -0000)]
2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescription.cs : fix by corcompare.

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

15 years ago2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 07:37:39 +0000 (07:37 -0000)]
2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* ClientUtilities/util/Services/DomainManager.cs :
  quick workaround to fix test runner on OSX, by Geoff Norton.

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 07:04:44 +0000 (07:04 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * SocketTest.cs: Disable some tests on the Mac that rely on socket
        options that are unavailable.

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 07:04:19 +0000 (07:04 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * ApplicationHostTest.cs: Fix a few case-sensitiviy issues.

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 07:04:14 +0000 (07:04 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * Makefile: Respect platform specific test harness exclusions.

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 07:04:10 +0000 (07:04 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * UnixSignalTest.cs: Disable the tests that storm signals on OSX.
        (They wont work)

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 07:04:02 +0000 (07:04 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * WindowHandler.cs: Don't attempt to activate a disposed Form.
        Fixes several of the nunit winforms crashes on Mac.

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 06:31:28 +0000 (06:31 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * configure.in: Provide platform information to the mcs build tree

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 06:30:53 +0000 (06:30 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * socket-io.c: ioctlsocket(FIONREAD) returns the size of the UDP header as well on
        darwin.  Use getsockopt SO_NREAD instead to get the right values for TCP and UDP.
        ai_canonname can be null in some cases on darwin, where the runtime assumes it will
        be the value of the ip buffer.

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 06:30:51 +0000 (06:30 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * library.make: Allow platform specific exclude tags from the
        test harness suite.
        * darwin.make: Add to the build and add a new NotOnMac test
        category

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

15 years ago009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 06:30:47 +0000 (06:30 -0000)]
009-01-07  Geoff Norton  <gnorton@novell.com>

        * helpers.c:  Allow mono -v -v -v to work on darwin.

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

15 years ago2009-01-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Jan 2009 06:30:43 +0000 (06:30 -0000)]
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * processes.c: Only use open -W on OSX 10.5+.  Patch from
        Miguel

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

15 years ago2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 06:03:38 +0000 (06:03 -0000)]
2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* RemotingServicesTest.cs : mark failing test as NotWorking, and
  Ignore the blocker for other tests.
  Remoting tests are finally back!

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

15 years ago2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 06:02:23 +0000 (06:02 -0000)]
2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* BaseCalls.cs : fully name is sometimes rejected ... ?

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

15 years ago2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 05:39:37 +0000 (05:39 -0000)]
2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* GenericTest.cs : change from NotWorking to Ignore which also fails
  and blocks further tests under .NET.

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

15 years ago2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 05:28:55 +0000 (05:28 -0000)]
2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* HttpBugTests.cs : mark some tests as [Ignore] as they are blocker
  to other http tests. Make sure to unregister HTTP channel.

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

15 years ago2009-01-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 7 Jan 2009 04:04:22 +0000 (04:04 -0000)]
2009-01-07 Rodrigo Kumpera  <rkumpera@novell.com>

* Vector*.cs: Use explicit layout to avoid the runtime
miscalculating the size of vector types.

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

15 years ago2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 03:46:50 +0000 (03:46 -0000)]
2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* GenericTest.cs, HttpServerChannelTests.cs, ActivationTests.cs,
  BaseCalls.cs, CrossDomainCalls.cs, HttpBugTests.cs,
  ContextsTest.cs : explicitly set applicationBasePath to load
  the test assembly itself. It reduces hundreds of test failures
  under .NET and upgraded NUnit.
  Marked some tests as NotWorking (due to nunit upgrade).

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

15 years ago2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Jan 2009 02:43:34 +0000 (02:43 -0000)]
2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfo.cs : Fixed bug #462957. With empty target string it
  should always return 0.

* CompareInfoTest.cs : added test for #462957.

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

15 years ago2009-01-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Jan 2009 01:18:07 +0000 (01:18 -0000)]
2009-01-07  Zoltan Varga  <vargaz@gmail.com>

* AsyncTest.cs: Disable these tests, they fail randomly (bug #463999).

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

15 years ago2009-01-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 7 Jan 2009 01:17:08 +0000 (01:17 -0000)]
2009-01-06 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TcpClient.cs: use IPv6Any when the family is IPv6.
Bug #462688 fixed.

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

15 years ago2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Jan 2009 22:05:32 +0000 (22:05 -0000)]
2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>

* valid_iface_constant_with_parent_implementing_it.il:
Regression test for #461200.

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

15 years ago2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Jan 2009 22:05:23 +0000 (22:05 -0000)]
2009-01-06 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_class_interface_implements_interface): Verify parents as we can't rely on
interfaces_packed here.

Fixes part of #463294.

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

15 years ago2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Jan 2009 22:05:21 +0000 (22:05 -0000)]
2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>

* valid_array_compat_with_bonds_and_sizes.il:
* valid_array_compat_with_bounds.il:
* valid_array_compat_with_sizes.il: Regrression tests for
#461200.

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

15 years ago2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Jan 2009 22:05:12 +0000 (22:05 -0000)]
2009-01-06 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (is_array_type_compatible): Ignore bounds and sizes when checking array compatibility.

Fixes part of #463294.

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

15 years ago2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Jan 2009 22:05:11 +0000 (22:05 -0000)]
2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>

* valid_ceq_with_boxed_vt.il: Regression test for #461200.

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

15 years ago2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Jan 2009 22:05:02 +0000 (22:05 -0000)]
2009-01-06 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (stack_slot_is_complex_type_not_reference_type): Check if the type
is a boxed complex as well.

Fixes part of #463294.

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

15 years agoTest enabled
Marek Safar [Tue, 6 Jan 2009 18:07:50 +0000 (18:07 -0000)]
Test enabled

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

15 years agoReport correctly anonymous type primitives
Marek Safar [Tue, 6 Jan 2009 16:24:09 +0000 (16:24 -0000)]
Report correctly anonymous type primitives

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

15 years agoNew test.
Marek Safar [Tue, 6 Jan 2009 16:17:36 +0000 (16:17 -0000)]
New test.

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

15 years agoNew test, update
Marek Safar [Tue, 6 Jan 2009 16:15:22 +0000 (16:15 -0000)]
New test, update

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

15 years ago2009-01-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 6 Jan 2009 16:15:03 +0000 (16:15 -0000)]
2009-01-06  Marek Safar  <marek.safar@gmail.com>

* decl.cs, iterators.cs, expression.cs, statement.cs, doc.cs,
class.cs, cs-parser.jay, codegen.cs: Clean up destructor
implementation. Also fixes #463108.

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

15 years agoremove code which actually lives in mono-tools/
Jb Evain [Tue, 6 Jan 2009 15:03:39 +0000 (15:03 -0000)]
remove code which actually lives in mono-tools/

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

15 years agoupdate project files
Jb Evain [Tue, 6 Jan 2009 15:00:37 +0000 (15:00 -0000)]
update project files

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

15 years ago2009-01-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Jan 2009 15:00:13 +0000 (15:00 -0000)]
2009-01-06  Jb Evain  <jbevain@novell.com>

* transform.cs
* cormissing.xsl
* mono-api.xsl
* mono-api-diff.cs:
remove deprecated code.

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

15 years ago2009-01-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Jan 2009 14:56:25 +0000 (14:56 -0000)]
2009-01-06  Jb Evain  <jbevain@novell.com>

* scripts/Makefile.am: don't generate a script for the now
dead mono-api-diff.

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

15 years ago2009-01-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Jan 2009 14:51:19 +0000 (14:51 -0000)]
2009-01-06  Jb Evain  <jbevain@novell.com>

* Makefile: only build mono-api-info, as mono-api-diff and transform
are not used anymore.

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

15 years agoIn class/Microsoft.Build.Engine:
Ankit Jain [Tue, 6 Jan 2009 14:37:16 +0000 (14:37 -0000)]
In class/Microsoft.Build.Engine:

* Microsoft.Build.Engine_test.dll.sources: Add TestMessageLogger from
Ms.Build.Tasks tests.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* Project.cs (Build): Honor InitialTargets list.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* ProjectTest.cs (TestInitialTargets): New.

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

15 years ago * man/mdoc-update.1: Document -fno-assembly-versions.
Jonathan Pryor [Tue, 6 Jan 2009 14:27:55 +0000 (14:27 -0000)]
* man/mdoc-update.1: Document -fno-assembly-versions.

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

15 years ago* BuildEngine.cs (BuildProjectFile): Use AddProperty method to specify
Ankit Jain [Tue, 6 Jan 2009 13:40:29 +0000 (13:40 -0000)]
* BuildEngine.cs (BuildProjectFile): Use AddProperty method to specify
the property type also.
* MSBuild.cs (Execute): Parse 'Properties' task param to set global
properties.

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

15 years ago2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Jan 2009 13:05:09 +0000 (13:05 -0000)]
2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>

* bug-462592.cs: New regression test.

* Makefile.am: Test added.

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

15 years ago2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Jan 2009 13:04:55 +0000 (13:04 -0000)]
2009-01-06 Rodrigo Kumpera <rkumpera@novell.com>

* reflection.c (mono_image_get_methodref_token): Add an extra create_typespec parameter to
control if a methodspec should be created for the generic method definition from external assemblies.
Caching of methodspec is done using the handleref hash table.

Fixes #462592.

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

15 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Tue, 6 Jan 2009 09:50:15 +0000 (09:50 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* Project.cs (Build): Correctly handle null targetNames argument.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* EngineTest.cs: Update tests for null targetNames argument to
project.Build

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

15 years ago2009-01-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 6 Jan 2009 08:42:08 +0000 (08:42 -0000)]
2009-01-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RadioButtonTest.cs: New test for Checked property. Also reset
'event_called' field to keep sanity for other tests.

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

15 years ago2009-01-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 6 Jan 2009 08:30:11 +0000 (08:30 -0000)]
2009-01-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RadioButton.cs: Setting Checked to false should set TabStop to stop
as well. Also, when we get the focus and no other RadioButton is
selected in the parent control, we should mark ourselves as Checked.
Fixes part of #463028.

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

15 years ago* Engine.cs (LogProjectStarted): Add a null check.
Ankit Jain [Tue, 6 Jan 2009 07:27:43 +0000 (07:27 -0000)]
* Engine.cs (LogProjectStarted): Add a null check.

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

15 years ago2009-01-06 Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Tue, 6 Jan 2009 07:04:42 +0000 (07:04 -0000)]
2009-01-06  Michael Barker  <mike@middlesoft.co.uk>

* Fixed failing message formatter tests and moved
them to the Mono.Messaging.RabbitMQ namespace

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

15 years ago2009-01-06 Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Tue, 6 Jan 2009 07:02:55 +0000 (07:02 -0000)]
2009-01-06  Michael Barker  <mike@middlesoft.co.uk>

* Fixed failing message formatting tests and moved
them to the Mono.Messaging.RabbitMQ namespace

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

15 years ago * Makefile: Fix $(the_lib) dependencies so that monodoc.dll is rebuilt
Jonathan Pryor [Tue, 6 Jan 2009 04:48:02 +0000 (04:48 -0000)]
* Makefile: Fix $(the_lib) dependencies so that monodoc.dll is rebuilt
  when one of Resources/* is modified.
* Resources/mdoc-html-utils.xsl: Rework the Requirements block so that
  it doesn't require //AssemblyInfo or //AssemblyVersion.  This allows
  `mdoc update -fno-assembly-versions ...`-produced XML to still
  produce HTML with a Requirements section (skipping the Assembly
  Versions block but generating the Namespace and Assembly blocks).
  Change the behavior of //since generation so that instead of
  printing out a note before the method summary, a Since block is added
  to the Requirements section, and the Since block contains the
  //since/@version text.  All this to make Mike Kestner happier. :-)

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

15 years ago * Makefile: Fix $(PROGRAM) dependencies so that mdoc.exe is rebuilt
Jonathan Pryor [Tue, 6 Jan 2009 04:44:08 +0000 (04:44 -0000)]
* Makefile: Fix $(PROGRAM) dependencies so that mdoc.exe is rebuilt
  when one of the dependent ../monodoc/Resources/* files is changed.

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

15 years ago * Mono.Documentation/mdoc.cs: `mdoc' (no arguments) shouldn't print an
Jonathan Pryor [Tue, 6 Jan 2009 04:12:50 +0000 (04:12 -0000)]
* Mono.Documentation/mdoc.cs: `mdoc' (no arguments) shouldn't print an
  index out of range error.  Fix.
* Mono.Documentation/monodocer.cs: Rename -fno-member-assembly-info to
  -fno-assembly-versions, which prevents generation of //AssemblyVersion
  elements.  This suffers the same warning as -fno-member-assembly-info,
  so don't use unless you can guarantee that no members will
  ever be removed from your public API. :-)
  Clean up -f handling so that -f:no-assembly-versions will work as
  expected.

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

15 years ago2009-01-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jan 2009 02:33:11 +0000 (02:33 -0000)]
2009-01-06  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : when ".FF..." is specified, allow milliseconds-less
  time. Fix #444103.

* DateTimeTest.cs : added test for parsing no-millisecond time
  with optional millisecond designator.

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

15 years ago * Mono.Documentation/monodocer.cs: Add -fno-member-assembly-info,
Jonathan Pryor [Tue, 6 Jan 2009 00:10:45 +0000 (00:10 -0000)]
* Mono.Documentation/monodocer.cs: Add -fno-member-assembly-info,
  which remove /Type/Members/Member/AssemblyInfo elements.
  Requested by Mike Kestner.
  Warning: this option will break automatic version tracking, so if a
  member is present in e.g. v1.0 and is removed in e.g. v2.0,
  the //Member element will be removed entirely when updating the
  documentation against the 2.0 assembly.  Use with care.

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

15 years ago* Makefile (EXTRA_DISTFILES): Add Test/resources/Sample.cs
Ankit Jain [Mon, 5 Jan 2009 22:08:28 +0000 (22:08 -0000)]
* Makefile (EXTRA_DISTFILES): Add Test/resources/Sample.cs

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

15 years ago2009-01-05 Mario Carrion <mcarrion@novell.com>
Mario Carrion [Mon, 5 Jan 2009 20:33:09 +0000 (20:33 -0000)]
2009-01-05  Mario Carrion <mcarrion@novell.com>

        * DataGrid.cs: UIA suppport. internal events:
        UIAGridCellChanged, UIAColumnsHeadersVisibleChanged,
        UIASelectionChanged, UIACollectionChanged. Internal properties:
        UIARowHeight, UIACellsArea, UIACaptionArea,
        UIAColumnHeadersArea, UIASelectedRows, UIACurrentTableStyle,
        UIAVScrollBar and UIAHScrollBar.

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

15 years ago2009-01-05 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 5 Jan 2009 20:04:50 +0000 (20:04 -0000)]
2009-01-05  Bill Holmes  <billholmes54@gmail.com>

* mini-amd64.c (mono_arch_get_vcall_slot) : Handle an additional instruction
  pattern.

Contributed under MIT/X11 license.

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

15 years ago2009-01-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 5 Jan 2009 20:02:27 +0000 (20:02 -0000)]
2009-01-05  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripSplitStackLayout.cs: Enable the overflow button if any
of the buttons are set to Overflow = Always.
[Fixes bug #463013]

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

15 years ago* CreateManifestResourceName.cs (Execute): Use full path, also helps
Ankit Jain [Mon, 5 Jan 2009 19:23:27 +0000 (19:23 -0000)]
* CreateManifestResourceName.cs (Execute): Use full path, also helps
with debugging.

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