Raja R Harinath [Wed, 22 Mar 2006 14:59:09 +0000 (14:59 -0000)]
In .:
* Microsoft.VisualBasic.dll.sources, fixup/fixup.pl:
Update to rename of attribute.
In Microsoft.VisualBasic:
* Collection.cs (DefaultParameterValueAttribute) [ONLY_1_1]:
Alias to __DefaultParameterValueAttribute.
(*): Change __DefaultArgumentValue to DefaultParameterValue or
__DefaultParameterValue as appropriate. The '__' variant is used
if the type of the default value doesn't match the parameter type,
which is probably an enum type.
* DateAndTime.cs, ErrObject.cs, FileSystem.cs: Likewise.
* Financial.cs, Information.cs, Interaction.cs: Likewise.
* Strings.cs: Likewise.
In Microsoft.VisualBasic.CompilerServices:
* DefaultParameterValueAttribute.cs: Rename from
DefaultArgumentValueAttribute to reflect similarity to .NET2.0
attribute with same function.
svn path=/trunk/mcs/; revision=58302
Senganal T [Wed, 22 Mar 2006 14:40:41 +0000 (14:40 -0000)]
2006-03-22 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataColumnTest2.cs :
* Test/System.Data/ConstraintCollectionTest2.cs :
- Ensure Constraints are correctly added/removed when Unique
property is modified.
- Ensure PrimaryKeyConstraint cannot be removed using Remove ()
- Ensure DataColumn's Unique Propery is modifed when adding/removing constraint
* System.Data/DataTable.cs :
- PrimaryKey : Set the IsPrimaryKey attribute before Removing from collection.
- RemoveUniqueConstraints : Removed. dead code.
* System.Data/DataColumn.cs :
- Unique :
- If adding/removing constraint fails, retain Unique value
- Remove redundant code
* System.Data/UniqueConstraint.cs :
- SetIsPrimaryKey : Added. Sets the value of IsPrimaryKey.
- RemoveFromConstraintCollectionCleanup : If constraint is on a single column, then
set Unique for that column to false.
- CanRemoveFromCollection : Do not remove constraint, if its a PrimaryKey
svn path=/trunk/mcs/; revision=58301
Raja R Harinath [Wed, 22 Mar 2006 13:56:52 +0000 (13:56 -0000)]
In gmcs:
Support ParameterDefaultValueAttribute in gmcs. Also applied to
mcs to keep code differences small.
* attribute.cs (Attribute.GetParameterDefaultValue): New.
* typemanager.cs (parameter_default_value_attribute_type): New.
* parameter.cs (Parameter.ApplyAttributeBuilder): Use them. Add
CS1908 check.
In mcs:
Support ParameterDefaultValueAttribute in gmcs. Also applied to
mcs to keep code differences small.
* attribute.cs (Attribute.GetParameterDefaultValue): New.
* typemanager.cs (parameter_default_value_attribute_type): New.
* parameter.cs (Parameter.ApplyAttributeBuilder): Use them. Add
CS1908 check.
In errors:
* gcs1908.cs, gcs1908-2.cs, gcs1908-3.cs, gcs1908-4.cs: New tests
for DefaultParameterValueAttribute.
In tests:
* gtest-262.cs: New test for DefaultParameterValueAttribute.
svn path=/trunk/mcs/; revision=58300
Vladimir Krasnov [Wed, 22 Mar 2006 12:50:17 +0000 (12:50 -0000)]
* DataList.cs: fixed RepeatColumns property, added value validation
in PrepareControlHierarchy method fixed style applying for AlternatingItem, EditItem and Separator item
fixed RenderContents method, if no items exist, no nned to render emty table strructure.
svn path=/trunk/mcs/; revision=58295
Jackson Harper [Wed, 22 Mar 2006 11:37:36 +0000 (11:37 -0000)]
- Don't create tooltips for String.Empty. This prevents all
these
little 2-3 pixel windows from showing up when running nunit-gui
and driving me mad.
svn path=/trunk/mcs/; revision=58294
Jackson Harper [Wed, 22 Mar 2006 11:24:56 +0000 (11:24 -0000)]
* Form.cs: Don't set topmost when setting the owner if the
* handles
haven't been created yet. The topmost set will happen when the
handles are created.
svn path=/trunk/mcs/; revision=58293
Jackson Harper [Wed, 22 Mar 2006 10:31:46 +0000 (10:31 -0000)]
* ToolTip.cs: Tooltips get added to their container (when
supplied) so they get disposed when the container is disposed.
svn path=/trunk/mcs/; revision=58291
Jackson Harper [Wed, 22 Mar 2006 09:54:43 +0000 (09:54 -0000)]
* ScrollBar.cs: When doing increments and decrements we need to
set the Value property so that ValueChanged gets raised. A
possible optimization here would be to make an internal SetValue
that doesn't invalidate immediately.
svn path=/trunk/mcs/; revision=58290
Jackson Harper [Wed, 22 Mar 2006 09:50:49 +0000 (09:50 -0000)]
* XplatUIX11.cs: Don't handle configurenotifys if PostQuitState
* is
true.
svn path=/trunk/mcs/; revision=58289
Carlos Alberto Cortez [Wed, 22 Mar 2006 09:40:27 +0000 (09:40 -0000)]
2006-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* serial.c: Add get_signal_code, get_signal, and set_signal
functions to access serial signals. Also add a MonoSerialSignal
enum, which is a copy of System.IO.Ports.SerialSignal.
svn path=/trunk/mono/; revision=58288
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
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
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
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
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
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
Peter Dennis Bartok [Wed, 22 Mar 2006 03:24:46 +0000 (03:24 -0000)]
- Added explanation
svn path=/trunk/mcs/; revision=58277
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
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
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
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
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
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
Marek Safar [Tue, 21 Mar 2006 22:40:25 +0000 (22:40 -0000)]
manually synchronized with 56802
svn path=/trunk/mcs/; revision=58266
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
Jackson Harper [Tue, 21 Mar 2006 22:20:45 +0000 (22:20 -0000)]
Remove debug.
svn path=/trunk/mcs/; revision=58264
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
Jackson Harper [Tue, 21 Mar 2006 21:59:52 +0000 (21:59 -0000)]
flush
svn path=/trunk/mcs/; revision=58261
Jackson Harper [Tue, 21 Mar 2006 21:59:11 +0000 (21:59 -0000)]
Add prebuilt resources file.
svn path=/trunk/mcs/; revision=58260
Marek Safar [Tue, 21 Mar 2006 21:59:11 +0000 (21:59 -0000)]
updated
svn path=/trunk/mcs/; revision=58259
Jackson Harper [Tue, 21 Mar 2006 21:58:03 +0000 (21:58 -0000)]
Add the keyboard resources.
svn path=/trunk/mcs/; revision=58258
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
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
Jackson Harper [Tue, 21 Mar 2006 21:49:02 +0000 (21:49 -0000)]
flush old entry
svn path=/trunk/mcs/; revision=58255
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Sieradzki [Tue, 21 Mar 2006 17:09:58 +0000 (17:09 -0000)]
Added missing Changelog
svn path=/trunk/mcs/; revision=58228
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
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
Paolo Molaro [Tue, 21 Mar 2006 16:44:24 +0000 (16:44 -0000)]
Completed fix from Bryan Berg.
svn path=/trunk/mono/; revision=58225
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
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
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
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
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
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
Boris Kirzner [Tue, 21 Mar 2006 13:40:02 +0000 (13:40 -0000)]
Expand OleDbOracleProvider with ResultSet wrappers
svn path=/trunk/mcs/; revision=58216
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
Sebastien Pouliot [Tue, 21 Mar 2006 02:09:46 +0000 (02:09 -0000)]
make TextureWrapModes.cs works
svn path=/trunk/mcs/; revision=58212
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
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
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
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
Marek Safar [Mon, 20 Mar 2006 21:53:54 +0000 (21:53 -0000)]
manually synchronized with 56802
svn path=/trunk/mcs/; revision=58206
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Mon, 20 Mar 2006 17:23:44 +0000 (17:23 -0000)]
rename method
svn path=/trunk/mcs/; revision=58192
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
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
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
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
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
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
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
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
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
Raja R Harinath [Mon, 20 Mar 2006 09:29:44 +0000 (09:29 -0000)]
update
svn path=/trunk/mcs/; revision=58175
Boris Kirzner [Mon, 20 Mar 2006 07:49:05 +0000 (07:49 -0000)]
Fix spelling
svn path=/trunk/mcs/; revision=58174
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
Gonzalo Paniagua Javier [Sun, 19 Mar 2006 23:18:01 +0000 (23:18 -0000)]
add requestLengthDiskThreshold to <httpRuntime>
svn path=/trunk/mono/; revision=58171
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
Marek Safar [Sun, 19 Mar 2006 22:04:20 +0000 (22:04 -0000)]
manually synchronized with 56802
svn path=/trunk/mcs/; revision=58169
Miguel de Icaza [Sun, 19 Mar 2006 20:09:27 +0000 (20:09 -0000)]
Add README
svn path=/trunk/mono/; revision=58168
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
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
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
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
Marek Safar [Sun, 19 Mar 2006 16:37:21 +0000 (16:37 -0000)]
New test.
svn path=/trunk/mcs/; revision=58159
Marek Safar [Sun, 19 Mar 2006 16:33:09 +0000 (16:33 -0000)]
manually synchronized with 56802
svn path=/trunk/mcs/; revision=58158
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
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
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
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
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