mono.git
18 years ago2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 22 Mar 2006 09:05:34 +0000 (09:05 -0000)]
2006-03-22  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs:
  - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
    visible (to allow them to recalculate their sizes)

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

18 years ago2006-03-21 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 22 Mar 2006 06:07:22 +0000 (06:07 -0000)]
2006-03-21  Mike Kestner  <mkestner@novell.com>

* ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
methods. Removed a ton of redundant code.  Still not really happy with
the border rendering, but I think that's mainly because of the
ControlDarkDark being black instead of a dark grey. Depending on how
close we want to be, we might want to revisit those color choices.
Among the new features added during the refactor were DropDownArrow
pressed rendering, Disabled image rendering.  Proper flat appearance
boundary rendering.  Removed the Divider and Wrapping dividers since I
can't figure out any combination of themes and conditions to make the
MS control draw a horizontal line on a toolbar despite what the
Divider property docs indicate.
* ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
conditions and incorrect layout.  Updated to coding standard.
* ToolBarButton.cs: refactored layout and positioning code from
ToolBar to here.  Invalidate wherever possible instead of forcing
redraws of the whole toolbar.
(Known remaining issues: explicit ButtonSize smaller than provided
images.)

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

18 years ago2006-03-21 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 22 Mar 2006 05:45:56 +0000 (05:45 -0000)]
2006-03-21  Mike Kestner  <mkestner@novell.com>

* ContextMenu.cs (Show): use the position parameter instead of just
showing at the MousePosition.

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

18 years ago * ThemeWin32Classic.cs: This is a Flags so we need to check
Jackson Harper [Wed, 22 Mar 2006 05:05:06 +0000 (05:05 -0000)]
    * ThemeWin32Classic.cs: This is a Flags so we need to check
        properly.

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

18 years ago * TreeNodeCollection.cs: If we are clearing the root node we
Jackson Harper [Wed, 22 Mar 2006 04:22:08 +0000 (04:22 -0000)]
    * TreeNodeCollection.cs: If we are clearing the root node we
        * need
        to reset top_node so calcs can still happen.

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

18 years ago * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
Jackson Harper [Wed, 22 Mar 2006 03:40:32 +0000 (03:40 -0000)]
    * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
        control handle this.

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

18 years ago- Added explanation
Peter Dennis Bartok [Wed, 22 Mar 2006 03:24:46 +0000 (03:24 -0000)]
- Added explanation

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

18 years ago * X11Structs.cs: Keysyms are uints.
Jackson Harper [Wed, 22 Mar 2006 02:17:41 +0000 (02:17 -0000)]
    * X11Structs.cs: Keysyms are uints.
        - Add size to fix build.

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

18 years ago2006-03-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 22 Mar 2006 01:17:14 +0000 (01:17 -0000)]
2006-03-21  Miguel de Icaza  <miguel@novell.com>

* Stream.cs: In 2.0 make Close call Dispose(true).

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

18 years ago2006-03-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 22 Mar 2006 01:15:34 +0000 (01:15 -0000)]
2006-03-21  Miguel de Icaza  <miguel@novell.com>

* AuthenticatedStream.cs: Implement Dispose method, remove Close
method, the Close to fix the API.

* NegotiateStream.cs: Implement Dispose method as well, kill
Close, rename the various methods to the new ones.

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

18 years ago2006-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Mar 2006 01:13:56 +0000 (01:13 -0000)]
2006-03-22  Martin Baulig  <martin@ximian.com>

* generic.cs
(Nullable.NullableLiteral): Derive from `NullLiteral'.

* convert.cs
(Convert.TypeParameter_to_Null): Create a `Nullable.NullableLiteral'
instead of the normal `NullLiteral'.

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

18 years ago * DataGrid.cs: Create columns when the binding context has been
Jackson Harper [Wed, 22 Mar 2006 00:22:36 +0000 (00:22 -0000)]
    * DataGrid.cs: Create columns when the binding context has been
        changed.

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

18 years ago2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Mar 2006 00:00:06 +0000 (00:00 -0000)]
2006-03-21  Sebastien Pouliot  <sebastien@ximian.com>

* PrintingServicesUnix.cs: cupsGetPrinters(char***) requires to free
each individual string and (finally) the list. Note that this call is
deprecated.

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

18 years agomanually synchronized with 56802
Marek Safar [Tue, 21 Mar 2006 22:40:25 +0000 (22:40 -0000)]
manually synchronized with 56802

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

18 years ago2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 21 Mar 2006 22:38:21 +0000 (22:38 -0000)]
2006-03-21  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  XplatUIOSX.cs:
  - Added ResetMouseHover method to allow controls to retrigger
    hovering if they need it more than once
  - Implemented MouseHoverTime and MouseHoverSize properties
* Timer.cs: Start() must reset the interval
* SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  properties

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

18 years ago Remove debug.
Jackson Harper [Tue, 21 Mar 2006 22:20:45 +0000 (22:20 -0000)]
    Remove debug.

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

18 years ago * X11Keyboard.cs: improved layout detection. Move the nonchar
Jackson Harper [Tue, 21 Mar 2006 22:05:08 +0000 (22:05 -0000)]
    * X11Keyboard.cs: improved layout detection. Move the nonchar
        tables into this file.
        * KeyboardLayouts.cs: Move the tables into resource files.

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

18 years ago flush
Jackson Harper [Tue, 21 Mar 2006 21:59:52 +0000 (21:59 -0000)]
    flush

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

18 years ago Add prebuilt resources file.
Jackson Harper [Tue, 21 Mar 2006 21:59:11 +0000 (21:59 -0000)]
    Add prebuilt resources file.

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

18 years agoupdated
Marek Safar [Tue, 21 Mar 2006 21:59:11 +0000 (21:59 -0000)]
updated

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

18 years ago Add the keyboard resources.
Jackson Harper [Tue, 21 Mar 2006 21:58:03 +0000 (21:58 -0000)]
    Add the keyboard resources.

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

18 years ago * System.Windows.Forms.dll.resources: Add the keyboard
Jackson Harper [Tue, 21 Mar 2006 21:52:48 +0000 (21:52 -0000)]
    * System.Windows.Forms.dll.resources: Add the keyboard
        * resources.

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

18 years ago * System.Windows.Forms.dll.resources: Add the keyboard
Jackson Harper [Tue, 21 Mar 2006 21:52:30 +0000 (21:52 -0000)]
    * System.Windows.Forms.dll.resources: Add the keyboard
* resources.

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

18 years ago flush old entry
Jackson Harper [Tue, 21 Mar 2006 21:49:02 +0000 (21:49 -0000)]
    flush old entry

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

18 years ago * keyboards.resx: The keyboards files.
Jackson Harper [Tue, 21 Mar 2006 21:39:16 +0000 (21:39 -0000)]
    * keyboards.resx: The keyboards files.
        * create_keyboards.cs: A little app used to create the keyboards
        resource file.  Compile with mcs /r:System.Windows.Forms.dll
        create_keyboards.cs then run and you will get the keyboards.resx
        file.

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

18 years ago2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 21 Mar 2006 21:03:12 +0000 (21:03 -0000)]
2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FileStreamTest.cs: new test from bug #77863.

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

18 years agoAdded a check in case (like myself) you didn't have tiff support compiled in libgdiplus
Sebastien Pouliot [Tue, 21 Mar 2006 21:03:02 +0000 (21:03 -0000)]
Added a check in case (like myself) you didn't have tiff support compiled in libgdiplus

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

18 years ago2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 21 Mar 2006 21:02:39 +0000 (21:02 -0000)]
2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FileStream.cs: Seek() should flush the buffer, if any. Fixes bug
#77863.

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

18 years ago2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Mar 2006 20:56:16 +0000 (20:56 -0000)]
2006-03-21  Sebastien Pouliot  <sebastien@ximian.com>

* Brush.cs: Remove unused code.
* FontFamily.cs: Remove warnings from build.
* gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].

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

18 years ago2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Mar 2006 20:45:44 +0000 (20:45 -0000)]
2006-03-21  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Import XFree (from libX11) so we can free the
memory we allocate.
* Graphics.cs: Free the memory we get from XGetVisualInfo.

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

18 years ago2006-03-21 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 21 Mar 2006 20:30:55 +0000 (20:30 -0000)]
2006-03-21  Marek Safar  <marek.safar@seznam.cz>

* expression.cs (StringConcat.Append): Reverted back to no warning state.

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

18 years ago2006-03-21 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 21 Mar 2006 18:32:21 +0000 (18:32 -0000)]
2006-03-21  Marek Safar  <marek.safar@seznam.cz>

* const.cs (Error_ConstantCanBeInitializedWithNullOnly): Share a message.

* statement.cs (Block.ResolveMeta): Look for wrong object constants in
the blocks too.

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

18 years ago2006-03-21 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 21 Mar 2006 18:30:36 +0000 (18:30 -0000)]
2006-03-21  Mike Kestner  <mkestner@novell.com>

* ListView.cs: use OnItemActivated to raise events. Fixes #77834.

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

18 years ago2006-03-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 21 Mar 2006 17:59:48 +0000 (17:59 -0000)]
2006-03-21  Martin Baulig  <martin@ximian.com>

Fix #77583.
* generic.cs (TypeManager.InferType): If `pt' is a generic
parameter, don't check whether `pt == at'.

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

18 years ago2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 21 Mar 2006 17:50:10 +0000 (17:50 -0000)]
2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ChangeLog:
* HttpRequest.cs: revert part of r58229.

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

18 years ago2006-03-21 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 21 Mar 2006 17:23:04 +0000 (17:23 -0000)]
2006-03-21  Alexander Olk  <alex.olk@googlemail.com>

* Mime.cs: Various speed optimizations. Looking up mime types
  is now 2 times faster than before

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

18 years ago* HttpRequest.cs: fixed Request.Url returns URL where path info were appeared twice.
Vladimir Krasnov [Tue, 21 Mar 2006 17:13:52 +0000 (17:13 -0000)]
* HttpRequest.cs: fixed Request.Url returns URL where path info were appeared twice.
* ServerVariablesCollection.cs: fixed "URL" variable, it should not return path info

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

18 years agoAdded missing Changelog
Marek Sieradzki [Tue, 21 Mar 2006 17:09:58 +0000 (17:09 -0000)]
Added missing Changelog

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

18 years ago2006-03-21 Crestez Leonard <cdleonard@gmail.com>
Marek Sieradzki [Tue, 21 Mar 2006 17:08:02 +0000 (17:08 -0000)]
2006-03-21  Crestez Leonard  <cdleonard@gmail.com>

* InternalLoggerExceptionTest.cs, InvalidProjectFileExceptionTest.cs:
Got rid of compilation warnings.
* ProjectTest.cs: Added new tests.

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

18 years ago2006-03-21 Crestez Leonard <cdleonard@gmail.com>
Marek Sieradzki [Tue, 21 Mar 2006 17:06:28 +0000 (17:06 -0000)]
2006-03-21  Crestez Leonard  <cdleonard@gmail.com>

* Target.cs, TaskEngine.cs, BuildItemGroup.cs, BuildItem.cs,
BuildPropertyGroup.cs, TargetCollection.cs, BuildProperty.cs,
Engine.cs, Project.cs, BuildTask.cs, UsingTask.cs: Separate xml
binding and evaluation, merge xml binding in constructors.
* DirectoryScanner.cs: Includes CAN be empty.
* BuildChoose.cs, ItemReference.cs, ChangeType.cs: Newline at EOF.
* ConsoleLogger.cs: Fix compilation warning.

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

18 years agoCompleted fix from Bryan Berg.
Paolo Molaro [Tue, 21 Mar 2006 16:44:24 +0000 (16:44 -0000)]
Completed fix from Bryan Berg.

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

18 years agoTue Mar 21 17:19:37 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 21 Mar 2006 16:27:03 +0000 (16:27 -0000)]
Tue Mar 21 17:19:37 CET 2006 Paolo Molaro <lupus@ximian.com>

* class.c, image.c, metadata-internals.h: implemented new mechanism to
allocate interface ID to save memory and allow better ID reuse on
appdomain unload. setup_generic_vtable () removal from Martin.

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

18 years agoTue Mar 21 16:01:26 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 21 Mar 2006 15:02:15 +0000 (15:02 -0000)]
Tue Mar 21 16:01:26 CET 2006 Paolo Molaro <lupus@ximian.com>

* monograph.c: fixes to be able to deal with 2.0 assemblies
and more stats.

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

18 years agoTue Mar 21 15:59:57 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 21 Mar 2006 15:00:40 +0000 (15:00 -0000)]
Tue Mar 21 15:59:57 CET 2006 Paolo Molaro <lupus@ximian.com>

* declsec.c, mini-exceptions.c: use write barrier to set reference
fields of managed objects.

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

18 years agoTue Mar 21 15:54:30 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 21 Mar 2006 14:59:26 +0000 (14:59 -0000)]
Tue Mar 21 15:54:30 CET 2006 Paolo Molaro <lupus@ximian.com>

* object.h, appdomain.c, domain.c, exception.c, icall.c,
locales.c, marshal.c, object.c, reflection.c, threadpool.c,
threads.c: introduced MONO_OBJECT_SETREF() macro to be able to insert
write barriers for reference stores with managed objects accessed with
C structures in the runtime and in embedding programs.

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

18 years ago2006-03-21 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 21 Mar 2006 14:16:07 +0000 (14:16 -0000)]
2006-03-21  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * InvalidProjectFileExceptionTest.cs, EngineTest.cs, ProjectTest.cs:
        Updated tests.

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

18 years agoAdded OracleProvider implementation for TARGET_JVM
Boris Kirzner [Tue, 21 Mar 2006 13:41:40 +0000 (13:41 -0000)]
Added OracleProvider implementation for TARGET_JVM

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

18 years agoExpand OleDbOracleProvider with ResultSet wrappers
Boris Kirzner [Tue, 21 Mar 2006 13:40:02 +0000 (13:40 -0000)]
Expand OleDbOracleProvider with ResultSet wrappers

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

18 years ago* String.cs: Make memcpy4 private as it is a helper method. Make memcpy internal...
Kornél Pál [Tue, 21 Mar 2006 02:59:24 +0000 (02:59 -0000)]
* String.cs: Make memcpy4 private as it is a helper method. Make memcpy internal to can be used from UnicodeEncoding.; * UnicodeEncoding.cs: Use unsafe code for copying characters to speed up conversion.

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

18 years agomake TextureWrapModes.cs works
Sebastien Pouliot [Tue, 21 Mar 2006 02:09:46 +0000 (02:09 -0000)]
make TextureWrapModes.cs works

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

18 years ago2006-03-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Mar 2006 01:49:24 +0000 (01:49 -0000)]
2006-03-21  Atsushi Enomoto  <atsushi@ximian.com>

* HebrewCalrndar.cs : simply use CCHebrewCalendar.last_day_of_month().
  Patch by Yaacov Akiba Slama. Fixed bug #76252.

* CalendarTest.cs : added test for bug #76252.

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

18 years ago2006-03-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Mar 2006 01:28:32 +0000 (01:28 -0000)]
2006-03-21  Atsushi Enomoto  <atsushi@ximian.com>

* UnicodeEncodingTest.cs : added some zero-length tests.

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

18 years ago2006-03-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Mar 2006 01:04:35 +0000 (01:04 -0000)]
2006-03-21  Atsushi Enomoto  <atsushi@ximian.com>

* doc-bootstrap.cs : fix build.

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

18 years ago2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 20 Mar 2006 21:58:43 +0000 (21:58 -0000)]
2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs:
(CheckString): style and don't index the string twice per iteration.

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

18 years agomanually synchronized with 56802
Marek Safar [Mon, 20 Mar 2006 21:53:54 +0000 (21:53 -0000)]
manually synchronized with 56802

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

18 years ago2006-03-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Mar 2006 21:08:02 +0000 (21:08 -0000)]
2006-03-20  Sebastien Pouliot  <sebastien@ximian.com>

* Brush.cs: Allow Dispose to free the unmanaged memory for the brush
in every case. This has been known (in the past) to cause crashes
in Cairo. If still true then we need to find out why!

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

18 years agoSome methods we need for Opendental
Miguel de Icaza [Mon, 20 Mar 2006 20:45:14 +0000 (20:45 -0000)]
Some methods we need for Opendental

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

18 years agoSome methods we need for Opendental
Miguel de Icaza [Mon, 20 Mar 2006 20:44:00 +0000 (20:44 -0000)]
Some methods we need for Opendental

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

18 years ago2006-03-20 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 20 Mar 2006 20:05:56 +0000 (20:05 -0000)]
2006-03-20  Marek Safar  <marek.safar@seznam.cz>

* expression.cs (StringConcat.Append): Issue a warning when empty string
is going to append.

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

18 years ago2006-03-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 20 Mar 2006 20:01:37 +0000 (20:01 -0000)]
2006-03-20  Miguel de Icaza  <miguel@novell.com>

* CsprojInfo.cs: Handle spaces and () in filenames

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

18 years ago2006-03-20 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 20 Mar 2006 19:15:27 +0000 (19:15 -0000)]
2006-03-20  Marek Safar  <marek.safar@seznam.cz>

* assign.cs (CompoundAssign.ResolveSource): Removed.

* attribute.cs (ResolvePossibleAttributeType): Updated after MemberAccess
clean up.

* class.cs (TypeContainer.FindMethods): Removed.
(TypeContainer.CheckMemberUsage): Made static.

* codegen.cs (GetAssemblyName): Uses Length for empty string test.

* constant.cs (CheckRange): Removed unused type argument.
(CheckUnsigned): Removed unused type argument.

* cs-parser.jay: Updated after MemberAccess clean up.
Uses Length for empty string test.

* cs-tokenizer.cs: Uses Length for empty string test.
(IsCastToken): Made static.
(is_hex): Made static.
(real_type_suffix): Made static.

* decl.cs (SetupCache): Made static.
(OnGenerateDocComment): Removed unused ds argument.

* delegate.cs (VerifyDelegate): Removed unused argument.

* doc.cs: Uses Length for empty string test.

* driver.cs: Uses Length for empty string test.

* enum.cs (IsValidEnumType): Made static

* expression.cs (EnumLiftUp): Removed unused argument.
(ResolveMethodGroup): Ditto.
(BetterConversion): Ditto.
(GetVarargsTypes): Ditto.
(UpdateIndices): Ditto.
(ValidateInitializers): Ditto.
(MemberAccess.ctor): Ditto.
(GetIndexersForType): Ditto.

* flowanalysis.cs: (MergeFinally): Removed unused argument.

* iterators.cs: Updated after MemberAccess clean up.

* location.cs: Uses Length for empty string test.

* namespace.cs: Uses Length for empty string test.

 * report.cs (CheckWarningCode): Made static.

* statement.cs (LabeledStatement): Removed unused argument.

* typemanager.cs (FilterNone): Removed.

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

18 years agoMon Mar 20 18:56:21 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Mar 2006 17:56:52 +0000 (17:56 -0000)]
Mon Mar 20 18:56:21 CET 2006 Paolo Molaro <lupus@ximian.com>

* include/gc.h: enable pthread redirection on darwin, too.

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

18 years agorename method
Gonzalo Paniagua Javier [Mon, 20 Mar 2006 17:23:44 +0000 (17:23 -0000)]
rename method

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

18 years ago* gtest-260.cs: New test based on #77852.
Raja R Harinath [Mon, 20 Mar 2006 14:56:09 +0000 (14:56 -0000)]
* gtest-260.cs: New test based on #77852.

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

18 years agoFix #77852
Raja R Harinath [Mon, 20 Mar 2006 14:33:34 +0000 (14:33 -0000)]
Fix #77852
* generic.cs (Constraints.Resolve): Change argument to IResolveContext.
(TypeParameter.Resolve): Update to change.
(ConstraintChecker.CheckConstraints): Resolve type-argument
constraints before use.

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

18 years ago2006-03-20 Senganal T <tsenganal@novell.com>
Senganal T [Mon, 20 Mar 2006 14:18:25 +0000 (14:18 -0000)]
2006-03-20  Senganal T <tsenganal@novell.com>

* System.Data.Common/DataAdapter.cs :
- Ctor () : Set Default Values for DataAdapter members
* System.Data.Common/DbDataAdapter.cs :
- Update () : Call row.AcceptChanges only if AcceptChangesDuringUpdate
is true. Fixes bug #77776

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

18 years agoAssociate the AppDoamin with current thread
Konstantin Triger [Mon, 20 Mar 2006 14:04:29 +0000 (14:04 -0000)]
Associate the AppDoamin with current thread

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

18 years ago2006-03-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 20 Mar 2006 14:01:27 +0000 (14:01 -0000)]
2006-03-20  Zoltan Varga  <vargaz@gmail.com>

* libmono.vcproj: Add some newly added source files.

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

18 years agoMon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Mar 2006 13:51:09 +0000 (13:51 -0000)]
Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>

* monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().

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

18 years ago* icall.c (ves_icall_Type_GetInterfaces): Avoid 'max_interface_id' field
Raja R Harinath [Mon, 20 Mar 2006 10:04:34 +0000 (10:04 -0000)]
* icall.c (ves_icall_Type_GetInterfaces): Avoid 'max_interface_id' field
of MonoClasses representing open generic types.

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

18 years ago2006-03-20 Senganal T <tsenganal@novell.com>
Senganal T [Mon, 20 Mar 2006 10:01:09 +0000 (10:01 -0000)]
2006-03-20  Senganal T <tsenganal@novell.com>

* Test/System.Data/DataSetTest2.cs
- Added testcases for issues in Merge,Copy
* Test/System.Data/ConstraintCollectionTest2.cs
- Added testcases for issues in Add , IndexOf
* System.Data/DataSet.cs :
- CopyRelations () : When copying the relation, do not add constraints
automatically for the relation.
- OnMergeFailed () : If merge fails and no handler is set for the MergeFailedEvent,
then throw DataException
* System.Data/ConstraintCollection.cs :
- Add () : Check if a constraint already exists on the Columns that are being
constrained.
- IndexOf () : Do not check for equivalent constraints, check for the exact instance.
* System.Data/MergeManager.cs ():
-  AdjustSchema () :
- Handle the MissingSchemaAction.Error case,
- Do not create constraints when mergin the DataRelation
- Follow the semantics for schema merge/validation  when constraints are already present
in the target DataSet.
- AdjustPrimaryKeys () :
- Code cleanup
- Verify Order of Columns in the PrimaryKey when merging.
- ResolveColumns : Changed the arument to DataSet. Simplifies code elsewhere.
- CompareColumnArrays, CompareColumnArrays : Helper funtions.

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

18 years ago* icall.c (ves_icall_Type_GetInterfaces): Avoid using
Raja R Harinath [Mon, 20 Mar 2006 09:30:47 +0000 (09:30 -0000)]
* icall.c (ves_icall_Type_GetInterfaces): Avoid using
'interface_id' field of open generic types.

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

18 years agoupdate
Raja R Harinath [Mon, 20 Mar 2006 09:29:44 +0000 (09:29 -0000)]
update

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

18 years agoFix spelling
Boris Kirzner [Mon, 20 Mar 2006 07:49:05 +0000 (07:49 -0000)]
Fix spelling

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

18 years ago2006-03-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 20 Mar 2006 06:56:57 +0000 (06:56 -0000)]
2006-03-20  Atsushi Enomoto  <atsushi@ximian.com>

* HebrewCalrndar.cs : removed commented obsolete code.

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

18 years agoadd requestLengthDiskThreshold to <httpRuntime>
Gonzalo Paniagua Javier [Sun, 19 Mar 2006 23:18:01 +0000 (23:18 -0000)]
add requestLengthDiskThreshold to <httpRuntime>

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

18 years ago2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 19 Mar 2006 23:16:17 +0000 (23:16 -0000)]
2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/TempFileStream.cs: a FileStream that removes the file once
it is disposed.
* System.Web/HttpRequest.cs: support for writing request data to on-disk
files if the request is longer than the threshold specified in the
configuration files. In mono this will work for 1.x and 2.0, while with
MS this only works for 2.0.
* System.Web.dll.sources: add TempFileStream.cs
* System.Web.Configuration/HttpRuntimeConfigurationHandler.cs: removed
a bunch of useless stuff for 1.x.

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

18 years agomanually synchronized with 56802
Marek Safar [Sun, 19 Mar 2006 22:04:20 +0000 (22:04 -0000)]
manually synchronized with 56802

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

18 years agoAdd README
Miguel de Icaza [Sun, 19 Mar 2006 20:09:27 +0000 (20:09 -0000)]
Add README

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

18 years ago2006-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 19 Mar 2006 19:28:22 +0000 (19:28 -0000)]
2006-03-19  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_print_method_from_ip): Recognize JIT trampolines as well.
(can_access_internals): Fix a warning.

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

18 years ago2006-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 19 Mar 2006 19:01:46 +0000 (19:01 -0000)]
2006-03-19  Zoltan Varga  <vargaz@gmail.com>

* mini.c (print_method_from_ip): Rename this to
mono_print_method_from_ip so it gets exported.

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

18 years ago* HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty it shouldn...
Vladimir Krasnov [Sun, 19 Mar 2006 17:16:09 +0000 (17:16 -0000)]
* HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty it shouldn't be rendered
* HtmlForm.cs: fixed Method, default method "post" should be added if its value null or empty string
* HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null value, the fix is to remove attributes with empty string value too

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

18 years ago2006-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 19 Mar 2006 17:14:08 +0000 (17:14 -0000)]
2006-03-19  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Disable the setting of GC_stackbottom on ia64. Hopefully
fixes #77787.

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

18 years agoNew test.
Marek Safar [Sun, 19 Mar 2006 16:37:21 +0000 (16:37 -0000)]
New test.

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

18 years agomanually synchronized with 56802
Marek Safar [Sun, 19 Mar 2006 16:33:09 +0000 (16:33 -0000)]
manually synchronized with 56802

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

18 years agoIfdef code that is not supposed to pass in TARGET_JVM by now
Boris Kirzner [Sun, 19 Mar 2006 16:32:53 +0000 (16:32 -0000)]
Ifdef code that is not supposed to pass in TARGET_JVM by now

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

18 years agoFixes to nunit results xslt transform
Boris Kirzner [Sun, 19 Mar 2006 16:00:47 +0000 (16:00 -0000)]
Fixes to nunit results xslt transform

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

18 years ago2006-03-18 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 19 Mar 2006 15:15:15 +0000 (15:15 -0000)]
2006-03-18  Robert Jordan  <robertj@gmx.net>

* OutputCacheModule.cs: invoke the validation callbacks of
HttpCachePolicy. Fixes bug #77825.

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

18 years ago2006-03-18 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 19 Mar 2006 15:14:47 +0000 (15:14 -0000)]
2006-03-18  Robert Jordan  <robertj@gmx.net>

* HttpCachePolicy.cs: expose the validation callbacks.
Fixes bug #77825.

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

18 years ago2006-03-19 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 19 Mar 2006 13:21:16 +0000 (13:21 -0000)]
2006-03-19  Marek Safar  <marek.safar@seznam.cz>

* Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
reports an error here.

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

18 years ago2006-03-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 19 Mar 2006 09:21:18 +0000 (09:21 -0000)]
2006-03-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildPropertyGroup.cs, Expression.cs: Coding style fixed.

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

18 years ago2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 18 Mar 2006 21:34:32 +0000 (21:34 -0000)]
2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: fix upper bound when iterating through the module
collection.

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

18 years ago2006-03-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 18 Mar 2006 21:21:14 +0000 (21:21 -0000)]
2006-03-18  Marek Safar  <marek.safar@seznam.cz>

* codegen.cs (EmitContext.TestObsoleteMethodUsage): Removed as it become
obsolete.

* class.cs: Updated.

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

18 years ago2006-03-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 18 Mar 2006 17:10:43 +0000 (17:10 -0000)]
2006-03-18  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay.cs: __arglist is not allowed for delegates.

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

18 years ago2006-03-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 18 Mar 2006 15:50:35 +0000 (15:50 -0000)]
2006-03-18  Marek Safar  <marek.safar@seznam.cz>

A fix for #77822.

* expression.cs(VerifyArgumentsCompat): Reverted to double error
reporting, it's more tricky than I thought.

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

18 years ago2006-03-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 18 Mar 2006 15:25:20 +0000 (15:25 -0000)]
2006-03-18  Marek Safar  <marek.safar@seznam.cz>

A fix for #77816.

* anonymous.cs.cs (AnonymousMethod): Add host to allow access to
host container.
(AnonymousMethod.ImplicitStandardConversionExists): New method.
(AnonymousMethod.Compatible): Moved parameter resolving to DoResolve.
Add more error reporting; Fixed issue with params.

* convert.cs (ImplicitStandardConversionExists): Returned conversion check.

* cs-parser.jay: AnonymousMethod requires host container.

* delegate.cs (NewDelegate.DoResolve): Updated after Compatible changes.

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

18 years agoFixed a typo.
Marek Sieradzki [Sat, 18 Mar 2006 12:34:32 +0000 (12:34 -0000)]
Fixed a typo.

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

18 years ago2006-03-18 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sat, 18 Mar 2006 12:20:57 +0000 (12:20 -0000)]
2006-03-18  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * InternalLoggerExceptionTest.cs, InvalidProjectFileExceptionTest.cs,
        EngineTest.cs, ProjectTest.cs: Added new tests.
        * BuildItemTest.cs: Added.
        * Microsoft.Build.Engine.Test.sln, Microsoft.Build.Engine.Test.csproj:
        Added VS 2005/SD2 solution.

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

18 years ago2006-03-18 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sat, 18 Mar 2006 12:07:38 +0000 (12:07 -0000)]
2006-03-18  Marek Sieradzki  <marek.sieradzki@gmail.com>

* AssemblyInfo.cs: Removed AllowPartiallyTrustedCallersAttribute.

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

18 years ago2006-03-18 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sat, 18 Mar 2006 12:07:04 +0000 (12:07 -0000)]
2006-03-18  Marek Sieradzki  <marek.sieradzki@gmail.com>

* ManagedCompiler.cs: Fixed a typo.
* AssemblyInfo.cs: Removed AllowPartiallyTrustedCallersAttribute.

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