mono.git
16 years ago2007-11-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 21 Nov 2007 19:28:34 +0000 (19:28 -0000)]
2007-11-21  Marek Habersack  <mhabersack@novell.com>

* mconfig.1: modify to reflect parameter changes in mconfig.

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

16 years ago2007-11-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 21 Nov 2007 19:28:19 +0000 (19:28 -0000)]
2007-11-21  Marek Habersack  <mhabersack@novell.com>

* mconfig.cs: drop the -F and -C parameters, default config files,
features and commands are now listed when mconfig is ran without
any parameters or when no commands are given.

* Mono.MonoConfig/FeatureNodeHandler.cs: do not append leading and
trailing newlines to feature description.

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

16 years agoyuck, typo.
Atsushi Eno [Wed, 21 Nov 2007 19:15:15 +0000 (19:15 -0000)]
yuck, typo.

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

16 years ago2007-11-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 21 Nov 2007 19:14:04 +0000 (19:14 -0000)]
2007-11-21  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_generic_array_helper): Skip visibility checks for
these methods.

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

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

16 years ago2007-11-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 21 Nov 2007 19:13:00 +0000 (19:13 -0000)]
2007-11-21  Zoltan Varga  <vargaz@gmail.com>

* Array.cs: Make the InternalArray_... methods internal.

* Environment.cs: Bump corlib version.

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 17:27:29 +0000 (17:27 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* FileStream.cs : Close() does not exist in 2.0 (Stream does).
  Move GC.SuppressFinalize() to Dispose(true).

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

16 years ago2007-11-21 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 21 Nov 2007 17:21:44 +0000 (17:21 -0000)]
2007-11-21  Dick Porter  <dick@ximian.com>

* configure.in: No need to check for glib functions any more

2007-11-21  Dick Porter  <dick@ximian.com>

* processes.c (load_modules): Rewrite based on the libgc
/proc/<pid>/maps parsing to avoid using glib functions only
available since 2004.
(load_modules): Check for duplicates before adding a module to the
list.

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

16 years ago2007-11-21 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 21 Nov 2007 16:12:05 +0000 (16:12 -0000)]
2007-11-21  Dick Porter  <dick@ximian.com>

* src/gslist.c (g_slist_find_custom): Implement

* src/glist.c (g_list_find_custom): Implement

* test/list.c: Test g_list_find_custom()

* test/slist.c: Test g_slist_find_custom()

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

16 years ago* XPlatUIX11.cs: Do not treat tool windows as if they have no
Andreia Gaita [Wed, 21 Nov 2007 14:25:52 +0000 (14:25 -0000)]
* XPlatUIX11.cs: Do not treat tool windows as if they have no
window manager, since that stretches the drawing area to include
the window decorations, and they get hidden. Reverts r84444 and fixes
#335849 and #342790 (mdi and pdn3 regression)

2007-11-21  Andreia Gaita <avidigal@novell.com>

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

16 years agoprotect default constructors of the converters
Jb Evain [Wed, 21 Nov 2007 11:47:38 +0000 (11:47 -0000)]
protect default constructors of the converters

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

16 years ago2007-11-21 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 21 Nov 2007 11:45:28 +0000 (11:45 -0000)]
2007-11-21  Jb Evain  <jbevain@novell.com>

* Mono.Linker.Steps/ResolveFromXmlStep.cs:
Implement resolving from xml patterns.

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

16 years agoenable test for xml pattern
Jb Evain [Wed, 21 Nov 2007 11:43:43 +0000 (11:43 -0000)]
enable test for xml pattern

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

16 years agoadd test for xml patterns
Jb Evain [Wed, 21 Nov 2007 11:43:00 +0000 (11:43 -0000)]
add test for xml patterns

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

16 years agomerge -r88943:88947
Roei Erez [Wed, 21 Nov 2007 11:07:43 +0000 (11:07 -0000)]
merge -r88943:88947

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

16 years agoMerge 76595:76596
Noam Lampert [Wed, 21 Nov 2007 11:00:50 +0000 (11:00 -0000)]
Merge 76595:76596

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

16 years agoMerge 77759:77760
Noam Lampert [Wed, 21 Nov 2007 10:56:56 +0000 (10:56 -0000)]
Merge 77759:77760

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

16 years agopreserve SafeCriticalAttribute and TransparentAttribue
Jb Evain [Wed, 21 Nov 2007 10:06:26 +0000 (10:06 -0000)]
preserve SafeCriticalAttribute and TransparentAttribue

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

16 years agoprotect SecurityCriticalAttribute
Jb Evain [Wed, 21 Nov 2007 10:04:55 +0000 (10:04 -0000)]
protect SecurityCriticalAttribute

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 07:53:19 +0000 (07:53 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
* ContextMarshalException.cs : obsolete in 2.0.

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 07:21:25 +0000 (07:21 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* MarshalByRefObject.cs : Added MemberwiseClose() stub.
  GetLifetimeService() is not virtual (in both 2.0 and 1.1).
* Console.cs : implemented missing 2.0 key members.

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 06:52:27 +0000 (06:52 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* NumberFormatInfo.cs :
  NativeDigits and DigitSubstitution are [ComVisible(false)].

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 06:41:46 +0000 (06:41 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* RemotingConfiguration.cs : added CustomErrorMode (stub).

* CallContext.cs : added missing 2.0 stuff.

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 06:26:33 +0000 (06:26 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* corlib.dll.sources: added System.Deployment.Internal and
  System.Runtime sources.

* InternalActivationContextHelper.cs,
  InternalApplicationIdentityHelper.cs : initial checkin (stubs).

* GCSettings.cs, MemoryFailPoint.cs : initial checkin (stubs).

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

16 years ago2007-11-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Nov 2007 01:56:10 +0000 (01:56 -0000)]
2007-11-20  Sebastien Pouliot  <sebastien@ximian.com>

* DESCryptoServiceProviderTest.cs: Fix CreateDecryptor_KeyNull test
case not to fail about 1 out of 256 times under the 2.0 profile.

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

16 years ago2007-11-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 21 Nov 2007 00:18:45 +0000 (00:18 -0000)]
2007-11-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When setting focused item, try to give focus to the
previous one _only_ if the previous one remains valid.
Fixes #342504.

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

16 years ago2007-11-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 20 Nov 2007 22:47:12 +0000 (22:47 -0000)]
2007-11-20  Jonathan Pobst  <monkey@jpobst.com>

* Application.cs: Revert r89650, as it broke a common case to fix
an obscure case.  Fixes bug #342606.

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

16 years agoTue Nov 20 23:10:41 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 20 Nov 2007 21:47:19 +0000 (21:47 -0000)]
Tue Nov 20 23:10:41 CET 2007 Paolo Molaro <lupus@ximian.com>

* object.c: some fields don't have a valid rva: ignore them (bug #343083).

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

16 years ago2007-11-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 20 Nov 2007 21:34:41 +0000 (21:34 -0000)]
2007-11-20  Marek Habersack  <mhabersack@novell.com>

* WebUIValidation.js: fix regular expression validator. Fixes bug
#342907.

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

16 years ago2007-11-20 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 20 Nov 2007 21:06:11 +0000 (21:06 -0000)]
2007-11-20  Jb Evain  <jbevain@novell.com>

* main.c: support for uninitialized .data.

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

16 years agoFix links
Miguel de Icaza [Tue, 20 Nov 2007 20:35:26 +0000 (20:35 -0000)]
Fix links

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

16 years agomake sure html dir exists
Wade Berrier [Tue, 20 Nov 2007 20:25:08 +0000 (20:25 -0000)]
make sure html dir exists

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

16 years agoAdd
Miguel de Icaza [Tue, 20 Nov 2007 20:06:57 +0000 (20:06 -0000)]
Add

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

16 years agoTest for bug #341112.
Paolo Molaro [Tue, 20 Nov 2007 19:53:00 +0000 (19:53 -0000)]
Test for bug #341112.

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

16 years ago2007-11-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 20 Nov 2007 19:34:24 +0000 (19:34 -0000)]
2007-11-20  Martin Baulig  <martin@ximian.com>

* debug-mini.c
(mono_debugger_insert_method_breakpoint): Moved into mono-debug-debugger.c.
(mono_debugger_remove_breakpoint): Likewise.
(mono_debugger_check_breakpoints): Likewise.

* debug-debugger.c: Implement the new breakpoint interface here.

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

16 years ago2007-11-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 20 Nov 2007 19:34:12 +0000 (19:34 -0000)]
2007-11-20  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 65.

* mono-debug-debugger.c
(mono_debugger_insert_method_breakpoint): Moved here from debug-mini.c
(mono_debugger_remove_breakpoint): Likewise.
(mono_debugger_check_breakpoints): Likewise.
(mono_debugger_register_class_init_callback): New public method.
(mono_debugger_remove_class_init_callback): Likewise.
(mono_debugger_add_type): Likewise.

* mono-debug-debugger.h
(MonoDebuggerEvent): Add `MONO_DEBUGGER_EVENT_CLASS_INITIALIZED'.

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

16 years agoTue Nov 20 20:54:12 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 20 Nov 2007 19:31:08 +0000 (19:31 -0000)]
Tue Nov 20 20:54:12 CET 2007 Paolo Molaro <lupus@ximian.com>

* class.c: more interface implementations needed for the
array enumerator (fixes bug #341112).

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

16 years agoupdate
Miguel de Icaza [Tue, 20 Nov 2007 19:31:00 +0000 (19:31 -0000)]
update

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

16 years agoSetInitialValue: add bool
Jb Evain [Tue, 20 Nov 2007 19:17:21 +0000 (19:17 -0000)]
SetInitialValue: add bool

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

16 years ago2007-11-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 20 Nov 2007 19:06:19 +0000 (19:06 -0000)]
2007-11-20  Zoltan Varga  <vargaz@gmail.com>

* mini-ops.h: Add OP_IMIN,OP_IMAX,OP_LMIN,OP_LMAX opcodes.

* mini-amd64.c: Implement cpuid function. Implement min/max intrinsics based
on conditional moves.

* basic-math.cs: Add min/max tests.

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

16 years ago2007-11-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 20 Nov 2007 18:13:33 +0000 (18:13 -0000)]
2007-11-20  Atsushi Enomoto  <atsushi@ximian.com>

        * GenericTypeParameterBuilder.cs : fixed regression.
          GenericParameterAttributes also needs some special care.

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

16 years ago2007-11-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 20 Nov 2007 17:45:36 +0000 (17:45 -0000)]
2007-11-20  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h (amd64_alu_reg_imm_size): Prefer the smaller
instruction encoding.

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

16 years ago2007-11-20 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 20 Nov 2007 17:20:34 +0000 (17:20 -0000)]
2007-11-20  Dick Porter  <dick@ximian.com>

* src/gstr.c: Implement g_strsplit_set() and re-implement
g_strsplit() so it passes the additional tests. (g_strsplit()
should treat multi-char delimiters as just a single token, rather
than a set of delimiters.)

* src/gslist.c: Implement g_slist_index(), g_slist_nth() and
g_slist_nth_data().

* test/string-util.c: Test g_strsplit_set() and more tests for
g_strsplit().

* test/slist.c: Test g_slist_nth() and
g_slist_index().

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

16 years ago2007-11-20 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Tue, 20 Nov 2007 15:43:16 +0000 (15:43 -0000)]
2007-11-20 Juraj Skripsky <js@hotfeet.ch>

* WebUIValidation_2.0.js: Fix typo.

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

16 years ago * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
Everaldo Canuto [Tue, 20 Nov 2007 15:24:52 +0000 (15:24 -0000)]
* ThemeWin32Classic.cs: Fix extra space on end of tooltip.

2007-11-20  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago2007-11-20 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Tue, 20 Nov 2007 15:20:16 +0000 (15:20 -0000)]
2007-11-20  Everaldo Canuto  <ecanuto@novell.com>

* ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
alignment. [Fixes #324228]

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

16 years agoAdd
Miguel de Icaza [Tue, 20 Nov 2007 14:30:31 +0000 (14:30 -0000)]
Add

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

16 years ago2007-11-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 20 Nov 2007 12:50:58 +0000 (12:50 -0000)]
2007-11-20  Marek Safar  <marek.safar@gmail.com>

A test for bug #342584

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

16 years ago2007-11-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 20 Nov 2007 12:49:27 +0000 (12:49 -0000)]
2007-11-20  Marek Safar  <marek.safar@gmail.com>

A fix for bug #342584
  * convert.cs: Added not documented explicit IntPtr/UIntPtr to enum
  conversion.

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

16 years ago2007-11-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 20 Nov 2007 09:02:15 +0000 (09:02 -0000)]
2007-11-20  Atsushi Enomoto  <atsushi@ximian.com>

* ReaderWriterLock.cs : ... and avoid extra finalizer call.

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

16 years agoupdate the project file
Konstantin Triger [Tue, 20 Nov 2007 07:16:43 +0000 (07:16 -0000)]
update the project file

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

16 years ago2007-11-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 20 Nov 2007 06:53:21 +0000 (06:53 -0000)]
2007-11-20  Atsushi Enomoto  <atsushi@ximian.com>

        * MethodBuilder.cs : implemented ContainsGenericParameters().
        * GenericTypeParameterBuilder.cs : removed most of extra members
          and added missing members for 2.0 API.

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

16 years agoAdd another new method dependency
Miguel de Icaza [Tue, 20 Nov 2007 04:42:46 +0000 (04:42 -0000)]
Add another new method dependency

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

16 years ago2007-11-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 20 Nov 2007 03:37:19 +0000 (03:37 -0000)]
2007-11-19  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
[Fixes bug #342123]

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

16 years ago2007-11-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 20 Nov 2007 02:36:53 +0000 (02:36 -0000)]
2007-11-20  Atsushi Enomoto  <atsushi@ximian.com>

* ReaderWriterLock.cs : adding missing 2.0 destructor (does nothing).

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

16 years ago2007-11-19 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Mon, 19 Nov 2007 20:33:40 +0000 (20:33 -0000)]
2007-11-19  Everaldo Canuto  <ecanuto@novell.com>

* NotifyIconTest.cs: Add Balloon test, bug #342141.

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

16 years ago2007-11-19 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Mon, 19 Nov 2007 20:09:44 +0000 (20:09 -0000)]
2007-11-19  Everaldo Canuto  <ecanuto@novell.com>

* Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
it prevent problems when empty captions. [Fixes #342141]

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

16 years ago2007-11-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 19 Nov 2007 17:46:58 +0000 (17:46 -0000)]
2007-11-19  Jonathan Pobst  <monkey@jpobst.com>

* Label.cs: Use Size instead of None.  Fixes bug #342077.

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

16 years ago2007-11-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Nov 2007 15:53:42 +0000 (15:53 -0000)]
2007-11-19  Sebastien Pouliot  <sebastien@ximian.com>

* ImageAnimator.cs: Check for FrameDimension.Time availability before
asking the frame count (since MS GDI+ prefers to return an error than
saying it has a single frame). Fix bug #342733

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

16 years ago2007-11-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 19 Nov 2007 14:53:16 +0000 (14:53 -0000)]
2007-11-19  Marek Safar  <marek.safar@gmail.com>

A test for bug #342512

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

16 years ago2007-11-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 19 Nov 2007 14:52:10 +0000 (14:52 -0000)]
2007-11-19  Marek Safar  <marek.safar@gmail.com>

A fix for bug #342512
  * delegate.cs: Use delegate argument expression when is available. Don't
  emit virtual call when class is sealed.

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

16 years ago* Calendar.cs: performance optimizations:
Vladimir Krasnov [Mon, 19 Nov 2007 10:26:10 +0000 (10:26 -0000)]
* Calendar.cs: performance optimizations:
BuildLink fixed, StringBuilder used.
TodaysDate DateTime.Today call cahced.

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

16 years ago* Unit.cs: performance optimization: ToString fixed, string.Concat used instead of...
Vladimir Krasnov [Mon, 19 Nov 2007 09:58:56 +0000 (09:58 -0000)]
* Unit.cs: performance optimization: ToString fixed, string.Concat used instead of string.Format

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

16 years ago* Page.jvm.cs: IsMultiForm optimized, cached configuration call
Vladimir Krasnov [Mon, 19 Nov 2007 09:46:57 +0000 (09:46 -0000)]
* Page.jvm.cs: IsMultiForm optimized, cached configuration call

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

16 years ago* Style.cs: performance optimization: suppress finalizer added
Vladimir Krasnov [Mon, 19 Nov 2007 09:33:45 +0000 (09:33 -0000)]
* Style.cs: performance optimization: suppress finalizer added

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

16 years ago2007-11-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 19 Nov 2007 08:48:32 +0000 (08:48 -0000)]
2007-11-19  Atsushi Enomoto  <atsushi@ximian.com>

* configure.in : fix win32 build.

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

16 years ago2007-11-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 18 Nov 2007 23:58:07 +0000 (23:58 -0000)]
2007-11-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Implement 2.0 FindNearestItem method.

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

16 years ago* Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
Gert Driesen [Sun, 18 Nov 2007 17:06:02 +0000 (17:06 -0000)]
* Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
some exception messages.
Changed exception messages to match MS.
* EnumTest.cs: No longer derive from deprecated TestCase. Improved
and added tests for argument checks. Added tests to ToObject. Code
formatting. Group enums.

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

16 years agoRevert 89891
Miguel de Icaza [Sun, 18 Nov 2007 16:29:19 +0000 (16:29 -0000)]
Revert 89891

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

16 years ago* Enum.cs: Fixed ParamName of Argument(Null)Exceptions to match MS.
Gert Driesen [Sun, 18 Nov 2007 16:13:10 +0000 (16:13 -0000)]
* Enum.cs: Fixed ParamName of Argument(Null)Exceptions to match MS.
Changed exception messages to match MS.
* EnumTest.cs: No longer derive from deprecated TestCase. Improved
and added tests for argument checks. Added tests to ToObject. Code
formatting. Group enums.

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

16 years ago2007-11-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 18 Nov 2007 15:49:13 +0000 (15:49 -0000)]
2007-11-18  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: Fix the rare case where the inverse of q modulo p
can result in bigint one byte shorter than expected, which could
mess up the export/import of the key.

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

16 years ago2007-11-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 18 Nov 2007 15:47:59 +0000 (15:47 -0000)]
2007-11-18  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: Fix the rare case where the inverse of q modulo p
can result in bigint one byte shorter than expected, which could
mess up the export/import of the key.

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

16 years ago * icall.c: Renamed arguments for ves_icall_System_Enum_ToObject to
Gert Driesen [Sun, 18 Nov 2007 15:42:36 +0000 (15:42 -0000)]
 * icall.c: Renamed arguments for ves_icall_System_Enum_ToObject to
fix ParamName of ArgumentNullExceptions.

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

16 years agoFixed wrong conversion from replacement string "\\" to "\" (bug#9460)
Arina Itkes [Sun, 18 Nov 2007 12:16:45 +0000 (12:16 -0000)]
Fixed wrong conversion from replacement string "\\" to "\" (bug#9460)

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

16 years agoRemoved machine initialization that was removed from Regex.
Arina Itkes [Sun, 18 Nov 2007 08:59:54 +0000 (08:59 -0000)]
Removed machine initialization that was removed from Regex.

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

16 years ago2007-11-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 18 Nov 2007 05:01:04 +0000 (05:01 -0000)]
2007-11-18  Miguel de Icaza  <miguel@novell.com>

* SignatureHelper.cs: Implement Equals and GetHashCode

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

16 years ago2007-11-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 18 Nov 2007 00:17:30 +0000 (00:17 -0000)]
2007-11-18  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Unify the implementation of
CEE_CONV_I1/SEXT_I1 and I2 since they are the same.

* mini-x86.c (mono_arch_output_basic_block): Ditto.

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

16 years agoAdd comment
Miguel de Icaza [Sat, 17 Nov 2007 21:31:28 +0000 (21:31 -0000)]
Add comment

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

16 years agoAdd test
Miguel de Icaza [Sat, 17 Nov 2007 21:28:16 +0000 (21:28 -0000)]
Add test

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

16 years ago2007-11-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 17 Nov 2007 21:24:31 +0000 (21:24 -0000)]
2007-11-17  Miguel de Icaza  <miguel@novell.com>

* reflection.c (mono_reflection_encode_sighelper): Generate the
modopts and modreqs.   I have a useless test that crashes monodis,
but that shows the code working.

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

16 years agoFix growth and validation; Have a test case, but it generates junk
Miguel de Icaza [Sat, 17 Nov 2007 21:21:42 +0000 (21:21 -0000)]
Fix growth and validation;    Have a test case, but it generates junk

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

16 years ago2007-11-17 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 17 Nov 2007 20:03:47 +0000 (20:03 -0000)]
2007-11-17  Jb Evain  <jbevain@novell.com>

* PathTest.cs: Add test for #341034, GetRandomFileName should
return only file names in [a..z0..9].

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

16 years agoRutime side of the class library chnge
Miguel de Icaza [Sat, 17 Nov 2007 20:02:12 +0000 (20:02 -0000)]
Rutime side of the class library chnge

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

16 years ago2007-11-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 17 Nov 2007 20:01:57 +0000 (20:01 -0000)]
2007-11-17  Miguel de Icaza  <miguel@novell.com>

* SignatureHelper.cs: Preparational tasks to support the
AddArgument overloads that allow the specification of modopts and
modreqs.

Refactor code, add new parameters.

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

16 years ago2007-11-12 Juraj Skripsky <js@hotfeet.ch>
Jb Evain [Sat, 17 Nov 2007 19:29:36 +0000 (19:29 -0000)]
2007-11-12  Juraj Skripsky  <js@hotfeet.ch>

* Path.cs (GetRandomFileName): Return filenames containing only
characters from the range [a..z0..9] as MS.NET does.

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

16 years ago2007-11-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 17 Nov 2007 19:20:38 +0000 (19:20 -0000)]
2007-11-17  Jonathan Pobst  <monkey@jpobst.com>

* MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
but there isn't a MdiContainer.
[Fixes bug #342358]

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

16 years ago2007-11-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 17 Nov 2007 19:02:01 +0000 (19:02 -0000)]
2007-11-17  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Don't recalculate document if the recalc_start and
recalc_end hasn't changed.
[Fixes bug #342505]

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 18:32:38 +0000 (18:32 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Fix a typo.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 17:06:22 +0000 (17:06 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_inst_for_method): Remove code which is now in
mini.c.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 16:58:45 +0000 (16:58 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (mono_arch_get_inst_for_method): Remove code which is now in
mini.c.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 16:48:33 +0000 (16:48 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_compute_omit_fp): Disable fp elimination for methods
returning a vtype in a register.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 16:42:35 +0000 (16:42 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_get_inst_for_method): Move the handling of the atomic operations
here from the arch specific code.

* mini-amd64.c (mono_arch_get_inst_for_method): Remove code which is now in
mini.c.

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

16 years ago2007-11-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 17 Nov 2007 16:13:07 +0000 (16:13 -0000)]
2007-11-17  Miguel de Icaza  <miguel@novell.com>

* SignatureHelper.cs (AddArguments): Add new 2.0 API, used by
new versions of the DLR.   Currently does not have support for
modreq, modopts.   Just a simple wrapper as consumed by the DLR.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 16:10:03 +0000 (16:10 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Add some micro optimizations.
(mono_arch_emit_prolog): Increment maximum prolog size.

* mini-amd64.c inssel-amd64.brg cpu-amd64.md: Move the implementation of the
START_HANDLER/ENDFINALLY/ENDFILTER opcodes to mini-amd64.c.

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

16 years agoUpdate documentation list, sort
Miguel de Icaza [Sat, 17 Nov 2007 15:50:16 +0000 (15:50 -0000)]
Update documentation list, sort

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

16 years ago2007-11-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 17 Nov 2007 14:17:54 +0000 (14:17 -0000)]
2007-11-17  Marek Habersack  <mhabersack@novell.com>

* HttpResponseTest.cs: added a simple test for AddFileDep*
methods, for bug #342511
2007-11-17  Marek Habersack  <mhabersack@novell.com>

* HttpResponse.cs: make sure fileDependencies is not null before
attempting to use it. Fixes bug #342511.

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

16 years ago * DataGridViewTextBoxCell.cs: Removed CWL.
Gert Driesen [Sat, 17 Nov 2007 09:46:46 +0000 (09:46 -0000)]
 * DataGridViewTextBoxCell.cs: Removed CWL.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 01:30:31 +0000 (01:30 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (get_call_info): Receive a MonoCompile instead of a
MonoGenericSharingContext.

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

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

* mini-x86.c (get_call_info): Receive a MonoCompile instead of a
MonoGenericSharingContext.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 01:28:08 +0000 (01:28 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (get_call_info): Receive a MonoContext instead of a
MonoGenericSharingContext. Allocate memory from the cfg mempool.

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

16 years ago2007-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 17 Nov 2007 00:54:51 +0000 (00:54 -0000)]
2007-11-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 SearchForVirtualItem event support.

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