Marek Sieradzki [Mon, 27 Feb 2006 15:02:12 +0000 (15:02 -0000)]
2006-02-27 Marek Sieradzki <marek.sieradzki@gmail.com>
* Engine.cs, Project.cs: Removed references to IEngine and IProject.
svn path=/trunk/mcs/; revision=57327
Konstantin Triger [Mon, 27 Feb 2006 12:40:52 +0000 (12:40 -0000)]
Do not throw ArgumentException when null is passed
svn path=/trunk/mcs/; revision=57325
Raja R Harinath [Mon, 27 Feb 2006 06:51:13 +0000 (06:51 -0000)]
* configure.in (runtime/etc/mono/{1.0,2.0}/machine.config): Fix m4-quoting.
svn path=/trunk/mono/; revision=57324
Peter Dennis Bartok [Mon, 27 Feb 2006 03:41:47 +0000 (03:41 -0000)]
2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs(Insert): Combine the last lines unless the insertion
string ends with \n\n, otherwise we leave one line too many (Fixes
something I noticed with the testapp for #77526; the bug itself was
already fixed in the previous checkin)
svn path=/trunk/mcs/; revision=57323
Peter Dennis Bartok [Mon, 27 Feb 2006 03:03:22 +0000 (03:03 -0000)]
2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBox.cs:
- SelectionColor and SelectionFont methods no longer set absolute
styles. Instead, the keep font or color respectively (This
resolves a long-standing FIXME in the code)
- When flushing RTF text, the insert code now considers text trailing
behind the insertion point (Fixes the bug where when replacing
the selected text via SelectedRTF the remainder of the line behind
the selection would stay on the first insertion line)
* TextBoxBase.cs:
- AppendText now updates the selection points after inserting text
- AppendText now ensures that the last tag (sometimes 0-length) of
the document is used for the style information (Fixes part of
bug #77220)
* TextControl.cs:
- Created new FontDefiniton class to allow describing partial style
changes
- StreamLine() now takes a lines argument, to allow it to decide
whether an encountered zero-length tag is the last in the document
(which must be kept to not loose the font/color contained in it,
for later appends)
- Created Combine() and Split() methods for Marker structs, to
support marker updates due to reformatted documents (soft line
wraps)
- Implemented Document.CaretTag setter
- Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
of the last line (Not the cause, but also exposed by bug #77220)
- Added LineTag argument to InsertString method, to allow callers
to force a certain tag to be used (required to force use of the
trailing zero-length tag of a document)
- Now updating markers in Combine(), to avoid stale tag markers
- Added some method descriptions to aid maintenance
- Implemented new FormatText concept, allowing additive/subtractive
formatting by only specifying the components that are to be
changed. This was needed for resolving the RTB.SelectedColor/
RTB.SelectedFont fixmes
- Added Break() support method to allow breaking up linetags (used
for partial formatting)
- Added GenerateTextFormat() method. It is used for partial
formatting and allows to generate a full font/color from given
attributes and an existing tag.
svn path=/trunk/mcs/; revision=57322
Jackson Harper [Mon, 27 Feb 2006 02:45:57 +0000 (02:45 -0000)]
* MimeIcon.cs: Don't crash when we can't load the GNOME stuff
correctly. I am spewing the exception though, so we don't hide
the
bugs.
svn path=/trunk/mcs/; revision=57321
Jackson Harper [Mon, 27 Feb 2006 02:38:09 +0000 (02:38 -0000)]
* Form.cs: The window manager needs to know when the window
* state
has been updated.
* Hwnd.cs: The window manager stuff now does a proper NCCALC so
* we
don't need to factor in border and title sizes in these
methods. TODO: Remove the args and fix the call points.
* InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
properly.
- Let the driver set the cursors.
- Improve active window handling
- Correct sizes for title bars and buttons.
- Match MS drawing better
* MdiWindowManager.cs: We don't need to handle border style
updates specially anymore.
- Check for scrollbars when windows are done moving
- Handle Active properly.
svn path=/trunk/mcs/; revision=57320
Jackson Harper [Mon, 27 Feb 2006 02:30:23 +0000 (02:30 -0000)]
flush
svn path=/trunk/mcs/; revision=57319
Jackson Harper [Mon, 27 Feb 2006 02:14:51 +0000 (02:14 -0000)]
* XplatUIWin32.cs: When we create MDI windows we need to reset
some of the style flags, so we get a nice blank window, and can
draw all the decorations ourselves.
- Set a clipping rectangle on the non client paint event, the
window manager drawing code needs one.
svn path=/trunk/mcs/; revision=57318
Jackson Harper [Sun, 26 Feb 2006 23:02:24 +0000 (23:02 -0000)]
* XplatUIX11.cs: Use the correct caption height.
- Translate hittest coordinates to screen coords to match MS.
svn path=/trunk/mcs/; revision=57317
Konstantin Triger [Sun, 26 Feb 2006 18:27:43 +0000 (18:27 -0000)]
make the MessageVector a synchronized collection
svn path=/trunk/mcs/; revision=57316
Konstantin Triger [Sun, 26 Feb 2006 17:04:16 +0000 (17:04 -0000)]
fixing output assembly name
svn path=/trunk/mcs/; revision=57315
Konstantin Triger [Sun, 26 Feb 2006 16:59:28 +0000 (16:59 -0000)]
Added Oracle specific stubs
svn path=/trunk/mcs/; revision=57314
Marek Sieradzki [Sun, 26 Feb 2006 16:15:31 +0000 (16:15 -0000)]
2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* IBuildProperty.cs, ICultureStringUtilities.cs, IProject.cs,
IGlobalEngineAccessor.cs, ITaskElement.cs, IBuildPropertyGroup.cs,
ITargetCollection.cs, IEngine.cs, IBuildItemGroupCollection.cs,
IHostLogger.cs, IBuildItem.cs, IHostFeedback.cs,
ILangSecurityLevelChecker.cs, ITarget.cs, IBuildItemGroup.cs,
IBuildPropertyGroupCollection.cs: Removed.
svn path=/trunk/mcs/; revision=57313
Marek Sieradzki [Sun, 26 Feb 2006 16:14:07 +0000 (16:14 -0000)]
2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* ProjectStartedEventArgsTest.cs: Updated.
* CustomBuildEventArgsTest.cs: Removed.
* ExternalProjectStartedEventArgs.cs,
ExternalProjectFinishedEventArgs.cs: Added.
svn path=/trunk/mcs/; revision=57312
Konstantin Triger [Sun, 26 Feb 2006 15:37:43 +0000 (15:37 -0000)]
sync with latest NET_2_0 changes
svn path=/trunk/mcs/; revision=57311
Konstantin Triger [Sun, 26 Feb 2006 15:13:15 +0000 (15:13 -0000)]
AbstractDataReader.cs: Prevent recursion when GetXXX is overriden and GetXXXSafe is called, ReaderCache.cs: Added IsNumeric to cache containers, AbstractDBCommand.cs, regex.cs, SqlCommand.cs, OleDbCommand.cs: Refactoring
svn path=/trunk/mcs/; revision=57310
Konstantin Triger [Sun, 26 Feb 2006 15:10:40 +0000 (15:10 -0000)]
set default empty Database, throw ArgumentException if url parameter is missing
svn path=/trunk/mcs/; revision=57309
Konstantin Triger [Sun, 26 Feb 2006 14:30:46 +0000 (14:30 -0000)]
adding System.Data.OracleClient.jvm/Regex.cs
svn path=/trunk/mcs/; revision=57308
Marek Sieradzki [Sun, 26 Feb 2006 14:19:29 +0000 (14:19 -0000)]
2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildItem.cs: Removed IBuildItem references.
* BuildItemGroup.cs: Removed ItemPropertyGroupingBase and
IBuildItemGroup references. Changed Evaluate to internal.
* BuildItemGroupCollection.cs. Removed IBuildItemGroupCollection
reference and hidden constructors.
* BuildProperty.cs: Removed IBuildProperty reference.
* BuildPropertyGroup.cs: Removed ItemPropertyGroupingBase and
IBuildPropertyGroup references. Changed Evaluate to internal.
* BuildPropertyGroupCollection.cs: Removed IBuildPropertyGroupCollection
reference and hidden constructors.
* ConsoleLogger.cs: Updated names of event handlers.
* Engine.cs: Removed IEngine reference. Removed ClearAllProjects and
Escape. Added UnloadAllProjects () and UnloadProject ().
* FileLogger.cs: Removed ApplyParameter ().
* GroupingCollection.cs: Hidden.
* InvalidProjectFileException.cs: Removed HasBeenLogged property.
* ItemPropertyGroupingBase.cs: Commented.
* ProcessingPass.cs: Hidden.
* Project.cs: Removed IProject reference. Changed CurrentEncoding to
Encoding.
* Target.cs: Removed ITarget reference.
* TargetCollection.cs: Removed ITargetCollection reference.
* TaskElement.cs: Removed ITaskElement reference.
* TaskEngineAssemblyResolver.cs: Hidden.
* Utilities.cs: Made static class, removed CheckPath (),
ValidateCulture (), GetSupportedCultures () and added Escape ().
svn path=/trunk/mcs/; revision=57307
Konstantin Triger [Sun, 26 Feb 2006 14:09:12 +0000 (14:09 -0000)]
Beta OracleClient implementation
svn path=/trunk/mcs/; revision=57306
Marek Sieradzki [Sun, 26 Feb 2006 14:04:19 +0000 (14:04 -0000)]
2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* CombinePath.cs: Added.
svn path=/trunk/mcs/; revision=57305
Marek Sieradzki [Sun, 26 Feb 2006 14:02:30 +0000 (14:02 -0000)]
2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* AL.cs: Added Output attribute to OutputAssembly.
* AppDomainIsolatedTaskExtension.cs: Added LoadInSeparateAppDomain
attribute.
* Copy.cs: Added Output attribute to DestinationFiles and Required to
SourceFiles.
* CreateItem.cs, CreateProperty.cs: Changed string to string[].
* Csc.cs: Added PdbFile property.
* Error.cs: Added Code and HelpKeyword properties.
* Exec.cs: Changed TaskExtension to ToolTaskExtension.
* GenerateResource.cs: Added NeverLockType and PublicClass properties.
* GenerateTrustInfo.cs: Added Required to TargetZone and Output to
TrustInfoFile.
* GetFrameworkPath.cs, GetFrameworkSdkPath: Added Output to Path.
* MSBuild.cs: Changed string to string[].
* ReadLinesFromFile.cs: Added Required to File.
* RegiserAssembly.cs: Added AssemblyListFile and CreateCodeBase
properties.
* UnregisterAssembly.cs: Added AssemblyListFile property.
* WriteLinesToFile.cs: Added Required to Lines.
svn path=/trunk/mcs/; revision=57304
Marek Sieradzki [Sun, 26 Feb 2006 13:51:21 +0000 (13:51 -0000)]
2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* ICscHostObject.cs, IVbcHostObject.cs: Updated for the new API.
svn path=/trunk/mcs/; revision=57303
Marek Sieradzki [Sun, 26 Feb 2006 13:49:00 +0000 (13:49 -0000)]
2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* CommandLineBuilder.cs: Fixed a typo.
* HostObjectInitializationStatus.cs: Fixed order.
* ToolTask.cs: Updated for new API.
svn path=/trunk/mcs/; revision=57302
Marek Sieradzki [Sun, 26 Feb 2006 13:44:13 +0000 (13:44 -0000)]
2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* ITask.cs, ITaskHost.cs: Moved attributes to ITaskHost.cs.
svn path=/trunk/mcs/; revision=57301
Konstantin Triger [Sun, 26 Feb 2006 13:26:55 +0000 (13:26 -0000)]
correcting named parameters
svn path=/trunk/mcs/; revision=57300
Konstantin Triger [Sun, 26 Feb 2006 12:53:26 +0000 (12:53 -0000)]
Port OleDb invocation style to that of OracleClient
svn path=/trunk/mcs/; revision=57299
Atsushi Eno [Sun, 26 Feb 2006 12:38:08 +0000 (12:38 -0000)]
2006-02-26 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : seems like MS XPathNodeIterator.MoveNext() itself does
not handle XsltContext.PreserveWhitespace() unlike ours. It results
in not a small performance improvement. (just removed it since it
didn't cause any errors in XSLT standalone tests.)
svn path=/trunk/mcs/; revision=57298
Pedro Martínez Juliá [Sun, 26 Feb 2006 03:00:13 +0000 (03:00 -0000)]
2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
* DataGridViewRowPostPaintEventArgs.cs,
DataGridViewCellPaintingEventArgs.cs,
DataGridViewRowCollection.cs,
DataGridViewRowPrePaintEventArgs.cs,
DataGridViewCell.cs: Clear a few warnings and implement a few
exceptions that should be thrown.
svn path=/trunk/mcs/; revision=57296
Pedro Martínez Juliá [Sun, 26 Feb 2006 01:18:45 +0000 (01:18 -0000)]
2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
* HandledEventHandler.cs: Resolving a "Replaced" SVN flag.
svn path=/trunk/mcs/; revision=57295
Marek Safar [Sat, 25 Feb 2006 18:08:35 +0000 (18:08 -0000)]
Add params delegate test.
svn path=/trunk/mcs/; revision=57292
Paolo Molaro [Sat, 25 Feb 2006 16:57:47 +0000 (16:57 -0000)]
Sat Feb 25 17:57:21 CET 2006 Paolo Molaro <lupus@ximian.com>
* icall.c: const fixes and small improvements.
svn path=/trunk/mono/; revision=57291
Marek Safar [Sat, 25 Feb 2006 16:51:16 +0000 (16:51 -0000)]
updated
svn path=/trunk/mcs/; revision=57290
Marek Safar [Sat, 25 Feb 2006 16:44:57 +0000 (16:44 -0000)]
2006-02-25 Marek Safar <marek.safar@seznam.cz>
* delegate.cs (DelegateCreation.ResolveMethodGroupExpr): Don't report
error multiple times.
svn path=/trunk/mcs/; revision=57289
Paolo Molaro [Sat, 25 Feb 2006 16:40:29 +0000 (16:40 -0000)]
Sat Feb 25 17:39:21 CET 2006 Paolo Molaro <lupus@ximian.com>
* inssel.brg: style fixes, mostly to force the updated monoburg
to run for people using svn.
svn path=/trunk/mono/; revision=57288
Marek Safar [Sat, 25 Feb 2006 16:39:09 +0000 (16:39 -0000)]
12 new error tests.
svn path=/trunk/mcs/; revision=57287
Marek Safar [Sat, 25 Feb 2006 16:33:53 +0000 (16:33 -0000)]
New tests for partial classes.
svn path=/trunk/mcs/; revision=57286
Marek Safar [Sat, 25 Feb 2006 16:30:52 +0000 (16:30 -0000)]
2006-02-25 Marek Safar <marek.safar@seznam.cz>
* NativeConvert.generated.cs: Guarded CLSCompliant attribute by NET_2_0
until mcs is merged with gmcs.
svn path=/trunk/mcs/; revision=57285
Marek Safar [Sat, 25 Feb 2006 16:28:44 +0000 (16:28 -0000)]
006-02-25 Marek Safar <marek.safar@seznam.cz>
New partial class implementation.
A fix for #77027, #77029, #77403
* attribute.cs (Attributable): Made attributes protected.
* class.cs (TypeContainer): Add PartialContainer and partial_parts as
the replacements of ClassPart and PartialContainer.
(TypeContainer.AddClassOrStruct): Call RecordDecl here.
(TypeContainer.AddInterface): Ditto.
(TypeContainer.AddPartial): The main method for partial classes. It checks
for errors and merges ModFlags and attributes. At the end class is added to
partial_parts list.
(TYpeContainer.DefineDefaultConstructor): Checks whether default ctor is
required here.
(TypeContainer.GetClsCompliantAttributeValue): Cope with partial class too.
(TypeContainer.GetNormalPartialBases): Resolves base classes and interfaces
from the rest of partial classes.
(TypeContainer.GetClassBases): Simplified.
(TypeContainer.DefineTypeBuilder): New method, mostly extracted from
DefineType.
(TypeContainer.DefineDefaultConstructor): Is used by derived classes.
(TypeContainer.HasExplicitLayout): Uses Flags now.
(PartialContainer): Removed.
(ClassOrStruct.AddToContainer): Moved enclosing member name check here.
(StaticClass): Was merged with Class.
(Class.GetClassBases): class and static class bases are verified here.
(Class.TypeAttr): Added static attributes when class is static.
(Struct.RegisterFieldForInitialization): Moved from TypeContainer.
(MemberBase): In some cases we need to call parent container for partial
class. It should be eliminated but it's not easy now.
* cs-parser.jay: Replaced all PartialContainer with AddPartial.
* decls.cs (MemberCore.DocComment): Introduced new property as is used by
partial classed to accumulate class comments.
(MemberCore.GetClsCompliantAttributeValue): Moved from TypeContainer.
* doc.cs (GenerateTypeDocComment): Partial classes clean up.
* driver.cs (MainDriver): Tree.GetDecl was removed.
* modifiers.cs (Modifiers): Add partial modifier.
* tree.cs (Tree.decl): Removed.
(RootTypes): Started to use this class more often for root types
specializations.
svn path=/trunk/mcs/; revision=57284
Paolo Molaro [Sat, 25 Feb 2006 16:27:35 +0000 (16:27 -0000)]
Compilation fix.
svn path=/trunk/mono/; revision=57283
Paolo Molaro [Sat, 25 Feb 2006 16:08:04 +0000 (16:08 -0000)]
Sat Feb 25 17:07:42 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: match monoburg changes.
svn path=/trunk/mono/; revision=57282
Paolo Molaro [Sat, 25 Feb 2006 16:07:50 +0000 (16:07 -0000)]
Sat Feb 25 17:06:48 CET 2006 Paolo Molaro <lupus@ximian.com>
* monoburg.c: more tweaks to reduce relocations and
memory usage.
svn path=/trunk/mono/; revision=57281
Gert Driesen [Sat, 25 Feb 2006 16:00:24 +0000 (16:00 -0000)]
* FileStreamTest.cs: Spaces to tabs, (re)numbered tests.
svn path=/trunk/mcs/; revision=57280
Paolo Molaro [Sat, 25 Feb 2006 15:15:31 +0000 (15:15 -0000)]
Sat Feb 25 16:03:16 CET 2006 Paolo Molaro <lupus@ximian.com>
* monoburg.c: put mono_burg_arity[] in readonly memory.
svn path=/trunk/mono/; revision=57278
Paolo Molaro [Sat, 25 Feb 2006 15:07:51 +0000 (15:07 -0000)]
Sat Feb 25 16:04:33 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.h, mini.c, abcremoval.c, aliasing.c, liveness.c,
ssapre.c, graph.c, ssa.c: put the mono_burg_arity[]
declaration in the header file.
svn path=/trunk/mono/; revision=57277
Paolo Molaro [Sat, 25 Feb 2006 13:20:00 +0000 (13:20 -0000)]
Sat Feb 25 14:19:31 CET 2006 Paolo Molaro <lupus@ximian.com>
* helpers.c: reduce relocations and mem usage.
svn path=/trunk/mono/; revision=57275
Paolo Molaro [Sat, 25 Feb 2006 11:02:00 +0000 (11:02 -0000)]
Sat Feb 25 12:01:22 CET 2006 Paolo Molaro <lupus@ximian.com>
* monoburg.c: make huge debug string array conditional.
svn path=/trunk/mono/; revision=57274
Paolo Molaro [Sat, 25 Feb 2006 11:00:37 +0000 (11:00 -0000)]
Sat Feb 25 11:58:16 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.h, mini-codegen.c: disable logging features if
requested by configure.
svn path=/trunk/mono/; revision=57273
Paolo Molaro [Sat, 25 Feb 2006 10:56:24 +0000 (10:56 -0000)]
Sat Feb 25 11:53:30 CET 2006 Paolo Molaro <lupus@ximian.com>
* configure.in: more feature for --enable-minimal flags.
svn path=/trunk/mono/; revision=57272
Paolo Molaro [Sat, 25 Feb 2006 10:55:17 +0000 (10:55 -0000)]
Sat Feb 25 11:54:49 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: tiny verifier changes.
svn path=/trunk/mono/; revision=57271
Marek Sieradzki [Fri, 24 Feb 2006 23:33:54 +0000 (23:33 -0000)]
2006-02-25 Marek Sieradzki <marek.sieradzki@gmail.com>
* HostObjectInitializationStatus.cs: Added.
svn path=/trunk/mcs/; revision=57268
Marek Sieradzki [Fri, 24 Feb 2006 23:29:55 +0000 (23:29 -0000)]
2006-02-25 Marek Sieradzki <marek.sieradzki@gmail.com>
* CommandLineBuilder.cs, Logger.cs, TaskLoggingHelper.cs, ToolTask.cs
: Updated API.
svn path=/trunk/mcs/; revision=57267
Marek Sieradzki [Fri, 24 Feb 2006 23:26:06 +0000 (23:26 -0000)]
2006-02-25 Marek Sieradzki <marek.sieradzki@gmail.com>
* Csc.cs, ManagedCompiler.cs: Changes required by the new API.
svn path=/trunk/mcs/; revision=57266
Marek Sieradzki [Fri, 24 Feb 2006 23:23:40 +0000 (23:23 -0000)]
2006-02-25 Marek Sieradzki <marek.sieradzki@gmail.com>
* ITask.cs, LoggerVerbosity.cs: Added COM attributes.
svn path=/trunk/mcs/; revision=57265
Gonzalo Paniagua Javier [Fri, 24 Feb 2006 22:47:15 +0000 (22:47 -0000)]
2006-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UnicastIPAddressInformation.cs:
* PingException.cs:
* TcpConnectionInformation.cs:
* IPv4InterfaceStatistics.cs:
* NetworkInformationException.cs:
* IPAddressInformation.cs:
* MulticastIPAddressInformationCollection.cs:
* TcpStatistics.cs:
* IPGlobalStatistics.cs:
* NetworkInformationPermission.cs:
* MulticastIPAddressInformation.cs:
* IcmpV4Statistics.cs:
* IcmpV6Statistics.cs:
* IPv4InterfaceProperties.cs:
* PhysicalAddress.cs:
* IPv6InterfaceProperties.cs:
* GatewayIPAddressInformationCollection.cs:
* ChangeLog: Modified file.
* UnicastIPAddressInformationCollection.cs:
* IPAddressCollection.cs:
* NetworkInformationPermissionAttribute.cs:
* Ping.cs:
* NetworkChange.cs:
* IPAddressInformationCollection.cs:
* UdpStatistics.cs:
* GatewayIPAddressInformation.cs:
* IPGlobalProperties.cs:
* IPInterfaceProperties.cs:
* NetworkInterface.cs: implemented or stubbed out.
svn path=/trunk/mcs/; revision=57264
Gonzalo Paniagua Javier [Fri, 24 Feb 2006 19:40:48 +0000 (19:40 -0000)]
2006-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: for asynchronous connect(), enable the same workaround
for BSD 6 as for the Mac. Fixes bug #77637.
svn path=/trunk/mono/; revision=57258
Gonzalo Paniagua Javier [Fri, 24 Feb 2006 19:35:31 +0000 (19:35 -0000)]
2006-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: define PLATFORM_BSD.
svn path=/trunk/mono/; revision=57257
Marek Sieradzki [Fri, 24 Feb 2006 17:49:24 +0000 (17:49 -0000)]
2006-02-24 Marek Sieradzki <marek.sieradzki@gmail.com>
* AppDomainIsolatedTask.cs, Task.cs: Quick hacks to make it compile with
new API.
svn path=/trunk/mcs/; revision=57247
Marek Sieradzki [Fri, 24 Feb 2006 17:49:01 +0000 (17:49 -0000)]
2006-02-24 Marek Sieradzki <marek.sieradzki@gmail.com>
* ConsoleLogger.cs, Engine.cs: Quick hacks to make it compile with new
API.
svn path=/trunk/mcs/; revision=57246
Paolo Molaro [Fri, 24 Feb 2006 17:20:30 +0000 (17:20 -0000)]
Fri Feb 24 18:17:52 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini-ops.h, inssel-x86.brg, tramp-x86.c, mini-x86.c,
cpu-pentium.md: stack alignment changes for osx/x86,
partially from Geoff Norton <gnorton@customerdna.com>.
svn path=/trunk/mono/; revision=57243
Marek Sieradzki [Fri, 24 Feb 2006 17:05:36 +0000 (17:05 -0000)]
2006-02-24 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildEventArgs.cs: Changed TimeStamp to Timestamp.
* CustomBuildEventArgs.cs: Made ctor protected.
* ITask.cs: Changed object to ITaskHost.
* MessageImportance.cs: Added Serializable attribute.
* OutputAttribute.cs, RequiredAttribute.cs: Changed AttributeUsage.
* ProjectStartedEventArgs.cs: Added Properties and Items and removed
Succeeded.
* ExternProjectFinishedEventArgs.cs, ExternalProjectStartedEventArgs.cs,
ITaskHost.cs, TaskCommandLineEventArgs.cs: Added.
svn path=/trunk/mcs/; revision=57242
Marek Sieradzki [Fri, 24 Feb 2006 17:04:02 +0000 (17:04 -0000)]
2006-02-24 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildEventArgs.cs: Changed TimeStamp to Timestamp.
* CustomBuildEventArgs.cs: Made ctor protected.
* ITask.cs: Changed object to ITaskHost.
* MessageImportance.cs: Added Serializable attribute.
* OutputAttribute.cs, RequiredAttribute.cs: Changed AttributeUsage.
* ProjectStartedEventArgs.cs: Added Properties and Items and removed
Succeeded.
* ExternProjectFinishedEventArgs.cs, ExternalProjectStartedEventArgs.cs,
ITaskHost.cs, TaskCommandLineEventArgs.cs: Added.
svn path=/trunk/mcs/; revision=57241
Zoltan Varga [Fri, 24 Feb 2006 15:44:53 +0000 (15:44 -0000)]
2006-02-24 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_free_asany): Fix handling of blittable
formatted classes. Fixes #77524.
svn path=/trunk/mono/; revision=57238
Senganal T [Fri, 24 Feb 2006 08:27:59 +0000 (08:27 -0000)]
2006-02-24 Senganal T <tsenganal@novell.com>
* Test/System.Data/ConstraintCollectionTest2.cs : added testcase for #77630
* System.Data/UniqueConstraint.cs :
- ChildConstraint : Added. Simplifies verifying if constraints are
related.
- CanRemoveFromCollection : Fixed the check to verify if constraints is
linked to a ForeignKeyConstraint. Fixes #77630
* System.Data/ForeignKeyConstraint.cs :
- _validateRemoveParentConstraint : Removed. Not used anymore
- ParentConstraint : Added. Simplifies verifying if constraints are
svn path=/trunk/mcs/; revision=57232
Raja R Harinath [Fri, 24 Feb 2006 08:14:03 +0000 (08:14 -0000)]
* class.c (mono_class_inflate_generic_method): Use the possibly simplified
generic instantiation from the declaring class instead of the one passed in.
svn path=/trunk/mono/; revision=57231
Raja R Harinath [Fri, 24 Feb 2006 07:35:23 +0000 (07:35 -0000)]
* class.c (inflate_generic_type): Add a couple more micro-optimizations.
(inflate_generic_context): Don't use the 'gmethod' from 'inflate_with'.
(mono_class_inflate_generic_method): If the method has generic
parameters, but the passed-in context doesn't have a 'gmethod',
create one.
Passes 'make check' on nemerle SVN r6136.
svn path=/trunk/mono/; revision=57230
Atsushi Eno [Fri, 24 Feb 2006 06:58:11 +0000 (06:58 -0000)]
2006-02-24 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter2.cs :
WriteRaw() has stupid second arg. Fixed bug #77623.
WriteString() should raise an error when it is called immediately
after WriteStartDocument().
* XmlTextWriterTests.cs : added test for bug #77623. Also fixed
WriteString() test which failed to fail (Assert.Fail).
svn path=/trunk/mcs/; revision=57229
Raja R Harinath [Fri, 24 Feb 2006 02:14:02 +0000 (02:14 -0000)]
In metadata:
Make generic method signature and method header handling lazy.
* class.c (mono_class_inflate_generic_signature): Move to loader.c.
(inflate_generic_header): Likewise.
(mono_class_inflate_generic_method): Rewrite. Add a 'klass_hint'
parameter to avoid inflating types.
(mono_get_inflated_method): Empty out.
* class.h (mono_class_inflate_generic_method): Update to changes.
* loader.c (mono_get_method_from_token): Don't parse signature for
generic methods, nor methods of generic classes.
(mono_method_signature): Rename from 'mono_method_signature'.
Inflate signature on demand.
(mono_method_get_header): Inflate method header on demand.
* reflection.c: Update to changes.
In mini:
* jit-icalls.c (helper_compile_generic_method): Update to changes
in metadata/class.c.
svn path=/trunk/mono/; revision=57227
Zoltan Varga [Fri, 24 Feb 2006 01:55:59 +0000 (01:55 -0000)]
2006-02-24 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_get_vcall_slot_addr): Add a missing check.
svn path=/trunk/mono/; revision=57226
Zoltan Varga [Fri, 24 Feb 2006 01:47:29 +0000 (01:47 -0000)]
2006-02-24 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_get_vcall_slot_addr): Add support for
interface calls with large offsets.
svn path=/trunk/mono/; revision=57225
Chris Toshok [Thu, 23 Feb 2006 23:19:16 +0000 (23:19 -0000)]
oops
svn path=/trunk/mcs/; revision=57223
Chris Toshok [Thu, 23 Feb 2006 23:04:09 +0000 (23:04 -0000)]
In System.Web.Compilation:
2006-02-23 Chris Toshok <toshok@ximian.com>
* TemplateControlCompiler.cs (AddContentTemplateInvocation): track
change from ContentControlBuilderInternal to
ContentBuilderInternal.
(AddCodeRender): same.
In System.Web.UI.WebControls:
* CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
DataControlFieldHeaderCell.cs, DataGridColumn.cs,
HierarchicalDataBoundControl.cs, HyperLinkField.cs,
ImageButton.cs, ImageField.cs, Literal.cs,
ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
svn path=/trunk/mcs/; revision=57221
Chris Toshok [Thu, 23 Feb 2006 22:01:34 +0000 (22:01 -0000)]
2006-02-23 Chris Toshok <toshok@ximian.com>
* Page.cs: more corcompare work.
svn path=/trunk/mcs/; revision=57218
Gonzalo Paniagua Javier [Thu, 23 Feb 2006 21:30:14 +0000 (21:30 -0000)]
2006-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TcpClient.cs: when the socket is not connected, don't try to set the
socket options, as they are ignored on linux. Wait until Connect
succeeds and then apply the options.
svn path=/trunk/mcs/; revision=57216
Chris Toshok [Thu, 23 Feb 2006 18:34:01 +0000 (18:34 -0000)]
2006-02-23 Chris Toshok <toshok@ximian.com>
* HtmlButton.cs: fix corcompare output.
* HtmlInputButton.cs: same.
* HtmlInputImage.cs: same.
* HtmlInputReset.cs: same.
svn path=/trunk/mcs/; revision=57213
Paolo Molaro [Thu, 23 Feb 2006 17:40:02 +0000 (17:40 -0000)]
Thu Feb 23 18:47:20 GMT 2006 Paolo Molaro <lupus@ximian.com>
* *.h, *.h: patch from Dick to make Linuxthreads systems work again.
svn path=/trunk/mono/; revision=57210
Vladimir Krasnov [Thu, 23 Feb 2006 16:18:37 +0000 (16:18 -0000)]
fixed references copying
svn path=/trunk/mcs/; revision=57209
Vladimir Krasnov [Thu, 23 Feb 2006 16:16:38 +0000 (16:16 -0000)]
updated not working tests
svn path=/trunk/mcs/; revision=57208
Vladimir Krasnov [Thu, 23 Feb 2006 16:14:24 +0000 (16:14 -0000)]
fixed old reference results
svn path=/trunk/mcs/; revision=57207
Jonathan Pryor [Thu, 23 Feb 2006 16:08:06 +0000 (16:08 -0000)]
* UnixFileSystemInfo.cs: Create() should return a UnixFileInfo if the file
doesn't exist. This allows callers to use UnixFileInfo.Exists to see if
the file exists, and behaves more rationally e.g. if the directory
contents changes while calling UnixDirectoryInfo.GetFileSystemEntries(),
we'll get a UnixFileInfo entry that doesn't exist instead of an exception
terminating the entire array creation.
* UnixSymbolicLinkInfo.cs: [Obsolete] the Contents property -- this property
*always* creates a new object if HasContents=true, and since a
UnixFileSystemInfo instance is (104+2*(sizeof(void*))+1) bytes (~113 bytes
on 32-bit platforms), we don't want to create these frequently. Add a
GetContents() method as the replacement, to make it (slightly) more
explicit that information won't be cached (and thus should be cached by
the caller, if appropriate). GetContents() throws an exception if
HasContents=false instead of returning null; this change brings the
implementation in line with the documentation.
svn path=/trunk/mcs/; revision=57206
Chris Toshok [Thu, 23 Feb 2006 15:21:28 +0000 (15:21 -0000)]
In System.Web.UI:
2006-02-23 Chris Toshok <toshok@ximian.com>
* Page.cs (ProcessCallbackData): track change to
ICallbackEventHandler iface.
* ICallbackEventHandler.cs: enable the proper members of this
interface.
* DataSourceSelectArguments.cs: reformat getter/setters.
In System.Web.UI.WebControls:
2006-02-23 Chris Toshok <toshok@ximian.com>
* BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
SqlDataSourceCommandType.cs, TableSectionStyle.cs,
TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
errors. most were caused by a property/method being virtual when
it shouldn't be, or vice versa.
svn path=/trunk/mcs/; revision=57203
Raja R Harinath [Thu, 23 Feb 2006 14:25:19 +0000 (14:25 -0000)]
* metadata.c (mono_metadata_inflate_generic_inst): If the
instantiation is closed, don't bother expanding it in the new
context.
* class.c (inflate_generic_class): If the generic instantiation
doesn't change after inflation, return the argument itself.
(inflate_generic_type) [MONO_TYPE_MVAR, MONO_TYPE_VAR]:
Add bounds checks.
(inflate_generic_context): If neither the generic class nor the
generic method instantiations change, return the original context.
* reflection.c (mono_method_get_object): Do
'mono_get_inflated_method' before accessing the ->klass field.
(inflate_mono_method): Don't create a MonoGenericMethod unless
necessary.
(inflate_method): Don't pass a constructed type as the declaring
type of a methodbuilder.
svn path=/trunk/mono/; revision=57202
Raja R Harinath [Thu, 23 Feb 2006 14:20:47 +0000 (14:20 -0000)]
Update
svn path=/trunk/mcs/; revision=57201
Raja R Harinath [Thu, 23 Feb 2006 13:42:59 +0000 (13:42 -0000)]
* jit-icalls.c (helper_compile_generic_method): Document the
special-case we depend on so that we can inflate the method twice
with the same context with no bad side-effects.
svn path=/trunk/mono/; revision=57200
Vladimir Krasnov [Thu, 23 Feb 2006 13:09:19 +0000 (13:09 -0000)]
Added GH project files
svn path=/trunk/mcs/; revision=57199
Paolo Molaro [Thu, 23 Feb 2006 12:46:42 +0000 (12:46 -0000)]
Thu Feb 23 13:45:46 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini-x86.c, mini-amd64.c: fix for case when xen support
is disabled.
svn path=/trunk/mono/; revision=57198
Andrew Skiba [Thu, 23 Feb 2006 11:40:25 +0000 (11:40 -0000)]
performance improvement for TypeDescriptor.GetAttributes,GetProperties and GetEvents. See the standalone test for the use case.
svn path=/trunk/mcs/; revision=57197
Paolo Molaro [Thu, 23 Feb 2006 10:58:33 +0000 (10:58 -0000)]
Thu Feb 23 11:57:54 CET 2006 Paolo Molaro <lupus@ximian.com>
* object.c: fix memory overwrite.
svn path=/trunk/mono/; revision=57196
Paolo Molaro [Thu, 23 Feb 2006 09:30:58 +0000 (09:30 -0000)]
Thu Feb 23 10:29:13 CET 2006 Paolo Molaro <lupus@ximian.com>
* Npgsql/NpgsqlCommand.cs: return count for fetch and move, too,
patch from Federico Di Gregorio <fog@initd.org>.
svn path=/trunk/mcs/; revision=57195
Chris Toshok [Thu, 23 Feb 2006 02:54:19 +0000 (02:54 -0000)]
2006-02-22 Chris Toshok <toshok@ximian.com>
* ObjectDataSource.cs: corcompare work.
svn path=/trunk/mcs/; revision=57192
Chris Toshok [Thu, 23 Feb 2006 02:47:50 +0000 (02:47 -0000)]
2006-02-22 Chris Toshok <toshok@ximian.com>
* ParameterCollection.cs: add an EditorAttribute to the class.
* Parameter.cs: cleanup, fix the Value property, and implement the
Size property.
* SqlDataSourceView.cs: clean things up a bit, and add handling
for parameters.
svn path=/trunk/mcs/; revision=57191
Peter Dennis Bartok [Thu, 23 Feb 2006 00:40:49 +0000 (00:40 -0000)]
2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
* ScrollBar.cs (ctor): Explicitly set a cursor to avoid
'inheriting' our parent's (non-default) cursor. (Part of
the fix for #77479)
svn path=/trunk/mcs/; revision=57189
Peter Dennis Bartok [Wed, 22 Feb 2006 23:56:50 +0000 (23:56 -0000)]
2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Fixed cast to make csc happy
svn path=/trunk/mcs/; revision=57187
César Natarén [Wed, 22 Feb 2006 23:40:35 +0000 (23:40 -0000)]
2006-02-22 Cesar Lopez Nataren <cnataren@novell.com>
* HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
svn path=/trunk/mcs/; revision=57185
César Natarén [Wed, 22 Feb 2006 23:39:12 +0000 (23:39 -0000)]
2006-02-22 Cesar Lopez Nataren <cnataren@novell.com>
* System.Web.dll.sources: Added System.Web.UI/ChtmlTextWriter.cs
* System.Web_test.dll.sources: Added System.Web.UI/ChtmlTextWriterTest.cs
svn path=/trunk/mcs/; revision=57184
César Natarén [Wed, 22 Feb 2006 23:37:51 +0000 (23:37 -0000)]
System.Web.dll.sources: Added System.Web.UI/ChtmlTextWriter.cs
svn path=/trunk/mcs/; revision=57183
Gonzalo Paniagua Javier [Wed, 22 Feb 2006 23:27:21 +0000 (23:27 -0000)]
2006-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* NetBiosNodeType.cs:
* IPStatus.cs:
* NetworkInterfaceType.cs:
* SuffixOrigin.cs:
* DuplicateAddressDetectionState.cs:
* NetworkInformationAccess.cs:
* OperationalStatus.cs:
* TcpState.cs:
* PingCompletedEventHandler.cs:
* NetworkInterfaceComponent.cs:
* NetworkAvailabilityChangedEventHandler.cs:
* NetworkAvailabilityEventArgs.cs:
* PrefixOrigin.cs:
* NetworkAddressChangedEventHandler.cs:
* PingCompletedEventArgs.cs:
* PingOptions.cs:
* PingReply.cs: all enums, all event handlers/args + 2 classes.
svn path=/trunk/mcs/; revision=57182
Marek Safar [Wed, 22 Feb 2006 22:55:08 +0000 (22:55 -0000)]
New test file
svn path=/trunk/mcs/; revision=57181
Gonzalo Paniagua Javier [Wed, 22 Feb 2006 21:28:13 +0000 (21:28 -0000)]
2006-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BareApplicationHost.cs: class used as an entry point into each
application domiain from the ApplicationManager.
* ApplicationManager.cs: implemented most of the remaining methods.
* HostingEnvironment.cs: object handling methods are now implemented.
svn path=/trunk/mcs/; revision=57178