Sebastien Pouliot [Wed, 19 Apr 2006 15:02:27 +0000 (15:02 -0000)]
2006-04-19 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPath.cs: Fix null pen handling in Widen.
* LinearGradientBrush.cs: Avoid temporary Rectangle local and directly
get use the instance RectangleF.
svn path=/trunk/mcs/; revision=59645
Zoltan Varga [Wed, 19 Apr 2006 14:54:42 +0000 (14:54 -0000)]
2006-04-19 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_runtime_install_handlers): Handle SIGABRT similarly to
SIGSEGV. Fixes #78072.
* mini-exceptions.c (mono_handle_native_sigsegv): Add a 'signal' argument,
unregister our SIGABRT handler.
svn path=/trunk/mono/; revision=59644
Zoltan Varga [Wed, 19 Apr 2006 14:28:32 +0000 (14:28 -0000)]
2006-04-19 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_open_full): Invoke the load hook when the
assembly was already loaded in another appdomain. Fixes #78083.
svn path=/trunk/mono/; revision=59643
Marek Sieradzki [Wed, 19 Apr 2006 12:30:33 +0000 (12:30 -0000)]
2006-04-19 Marek Sieradzki <marek.sieradzki@gmail.com>
* Microsoft.Build.Utilities.targets: Removed.
svn path=/trunk/mcs/; revision=59641
Marek Sieradzki [Wed, 19 Apr 2006 12:29:10 +0000 (12:29 -0000)]
2006-04-19 Marek Sieradzki <marek.sieradzki@gmail.com>
* Microsoft.Build.Tasks.targets: Removed.
svn path=/trunk/mcs/; revision=59640
Marek Sieradzki [Wed, 19 Apr 2006 12:28:06 +0000 (12:28 -0000)]
2006-04-19 Marek Sieradzki <marek.sieradzki@gmail.com>
* Microsoft.Build.Framework.targets: Removed.
svn path=/trunk/mcs/; revision=59639
Marek Sieradzki [Wed, 19 Apr 2006 12:26:54 +0000 (12:26 -0000)]
2006-04-19 Marek Sieradzki <marek.sieradzki@gmail.com>
* Microsoft.Build.Engine.targets: Removed.
svn path=/trunk/mcs/; revision=59638
Marek Sieradzki [Wed, 19 Apr 2006 12:25:47 +0000 (12:25 -0000)]
2006-04-19 Marek Sieradzki <marek.sieradzki@gmail.com>
* XBuild.targets: Removed.
* xbuild/Microsoft.Build.xsd: Changed path separator.
svn path=/trunk/mcs/; revision=59637
Raja R Harinath [Wed, 19 Apr 2006 12:20:18 +0000 (12:20 -0000)]
* Char.cs (Equals): Don't access 'm_value' field of other
instances. Cast directly to 'char'.
make it similar to other builtins (System.Int32 etc.) A quick grep
shows that all 'm_value's are 'this_access'es.
svn path=/trunk/mcs/; revision=59636
Massimiliano Mantione [Wed, 19 Apr 2006 12:06:56 +0000 (12:06 -0000)]
* test-inline-call-stack.cs: Added missing check.
svn path=/trunk/mono/; revision=59635
Massimiliano Mantione [Wed, 19 Apr 2006 12:00:15 +0000 (12:00 -0000)]
2006-04-19 Massimiliano Mantione <massi@ximian.com>
* Makefile.am: Added tests to see if inline breaks the call stack.
* test-inline-call-stack.cs: Likewise.
* test-inline-call-stack-library.cs: Likewise.
svn path=/trunk/mono/; revision=59633
Massimiliano Mantione [Wed, 19 Apr 2006 11:31:50 +0000 (11:31 -0000)]
* mini.c: Disabled inline where it can alter the call stack in a
way visible from managed code.
* driver.c: enabled inline,consprop,copyprop,treeprop,deadce by
default.
svn path=/trunk/mono/; revision=59632
Atsushi Eno [Wed, 19 Apr 2006 11:18:36 +0000 (11:18 -0000)]
2006-04-19 Atsushi Enomoto <atsushi@ximian.com>
* NvdlFilteredXmlReader.cs :
Made placeholder element as "empty" i.e. IsEmptyElement = true.
As long as it is at placeholder state, it keeps being placeholder
empty element until DetachPlaceholder() is explicitly called. It
makes this reader simpler.
* NvdlValidator.cs : (NvdlResultInterp) for AttachPlaceHolder it does
not have to do anything other than AttachPlaceholder().
(NvdlValidateInterp) Now that placeholder becomes an empty element
it does not have to validate content anymore at DetachPlaceholder().
svn path=/trunk/mcs/; revision=59631
Raja R Harinath [Wed, 19 Apr 2006 10:15:22 +0000 (10:15 -0000)]
In mcs and gmcs:
* expression.cs (Cast.ResolveLValue): Remove. The result of a
cast is never an lvalue.
(Cast.DoResolve, Cast.ResolveRest): Combine.
(Argument.Emit): Simplify slightly. Move 'Expr is
IMemoryLocation' check ...
(Argument.Resolve): ... here.
(Argument.Error_LValueRequired): Remove. Inline into only user.
svn path=/trunk/mcs/; revision=59630
Gert Driesen [Wed, 19 Apr 2006 09:02:32 +0000 (09:02 -0000)]
* UnixRegistryApi.cs: Only consider the "software" subkey a well-known
key if the parent is either HKEY_USERS or HKEY_LOCAL_MACHINE.
* RegistryKeyTest.cs: Added tests for OpenSubKey and CreateSubKey.
svn path=/trunk/mcs/; revision=59628
Raja R Harinath [Wed, 19 Apr 2006 08:41:59 +0000 (08:41 -0000)]
In mcs and gmcs:
Simplifications. Fix cs0191-2.cs
* ecore.cs (FieldExpr.DoResolve): Move handling of CS0192, CS0198,
CS1649 and CS1651 to ...
(FieldExpr.Report_AssignToReadonly): ... this. Simplify by moving
the actual selection of the error code and message to a lookup
table. Add a dummy return value to simplify callsites.
(FieldExpr.ResolveLValue): Don't allow a constructor to write to
readonly fields of other instances of the same type. Move CS0197
warning from ...
* expression.cs (Argument.Resolve): ... here. Simplify code.
Ensure that ec.InRefOutArgumentResolving is only set during LValue
resolution of an out or ref argument. The code simplification
above uses this invariant.
svn path=/trunk/mcs/; revision=59626
Carlos Alberto Cortez [Wed, 19 Apr 2006 08:14:45 +0000 (08:14 -0000)]
2006-04-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* serial.c: Added poll_serial () function, to poll
outside the read_serial () functions; and get_bytes_in_buffer (), to
get bytes in serialport buffers . Update some functions/enums
used by System.IO.Port.SerialPort too (Changes aproved by Miguel:
we will add tests in the managed side).
svn path=/trunk/mono/; revision=59625
Senganal T [Wed, 19 Apr 2006 08:04:44 +0000 (08:04 -0000)]
2006-04-19 Senganal T <tsenganal@novell.com>
* Test/System.Xml/XmlDataDocumentTest2.cs : Test if DataSet schema with whitespace
characters are saved and loaded correctly, Test if null values are
correctly saved and loaded, Test if creating a row in Dataset is
reflected in the document.
* Test/System.Data/DataSetTest2.cs : Test if ConstraintName with whitespace is saved
correctly.
* System.Xml/XmlDataDocument.cs :
- Use encoded names for DataSet schema.
- StringToElement : Return 'null' if the value is empty string
or null.
- OnDataTableRowAdded : Add the row elements to the tablenode if
they are not already added.
* System.Data/XmlHelper.cs : A helper class for encoding/decoding schema names.
Caches the Schema names to minimize encoding/decoding operations and
duplicate strings created.
* System.Data/XmlSchemaWriter :
- Use XmlHelper for encoding/decoding schema names.
- Encode ConstraintNames when writing as xml.
* System.Data/DataSet.cs
* System.Data/XmlDataReader.cs
* System.Data/XmlDataInferenceLoader.cs
* System.Data/XmlSchemaDataImporter.cs
- Use XmlHelper for encoding/decoding schema names.
* System.Data/DataTableCollections : Minor code refactor.
* System.Data/DataRow.cs : Create XmlElement only if required.
svn path=/trunk/mcs/; revision=59624
Atsushi Eno [Wed, 19 Apr 2006 07:20:11 +0000 (07:20 -0000)]
2006-04-19 Atsushi Enomoto <atsushi@ximian.com>
* NvdlReader.cs, NvdlFilteredXmlReader.cs :
placeHolder -> placeholder. Also reject unrecognized NVDL elements
in NvdlReader.
svn path=/trunk/mcs/; revision=59621
Atsushi Eno [Wed, 19 Apr 2006 06:55:10 +0000 (06:55 -0000)]
2006-04-19 Atsushi Enomoto <atsushi@ximian.com>
* NvdlException.cs : provide BaseURI in such case that argument
IXmlLineInfo is XmlReader.
* NvdlValidator.cs : NvdlDispatcher was incorrectly replacing
current section when an empty element appears (it kept such empty
element section).
svn path=/trunk/mcs/; revision=59620
Atsushi Eno [Wed, 19 Apr 2006 03:52:41 +0000 (03:52 -0000)]
2006-04-19 Atsushi Enomoto <atsushi@ximian.com>
* NvdlRelaxngSupport.cs : It seems that the validating grammar for
planAtt should always contain a definition for virtualElement i.e.
it is not something that NVDL validator should provide
automatically. (It makes sense since RELAX NG does not support
attribute-only grammar definition.)
* NvdlFilteredXmlReader.cs : for validating attributes, filter xmlns
attributes out.
svn path=/trunk/mcs/; revision=59619
Atsushi Eno [Wed, 19 Apr 2006 03:50:07 +0000 (03:50 -0000)]
2006-04-19 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngValidatingReader.cs : (.ctor) reject null pattern.
To filter xmlns attributes out, just use NamespaceURI.
svn path=/trunk/mcs/; revision=59618
Jackson Harper [Tue, 18 Apr 2006 20:52:51 +0000 (20:52 -0000)]
* Form.cs: MdiChildren don't do default locations the same way
* as
regular forms. This prevents a crash when trying to position
the
mdi windows.
svn path=/trunk/mcs/; revision=59611
Gonzalo Paniagua Javier [Tue, 18 Apr 2006 20:47:51 +0000 (20:47 -0000)]
2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs:
(TransmitFile): make sure we can read the file before buffering it.
svn path=/trunk/mcs/; revision=59609
Gonzalo Paniagua Javier [Tue, 18 Apr 2006 17:20:25 +0000 (17:20 -0000)]
2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: don't fail on events that are not
EventHandlers. Patch by Matthew Metnetsky.
svn path=/trunk/mcs/; revision=59605
César Natarén [Tue, 18 Apr 2006 16:07:50 +0000 (16:07 -0000)]
2006-04-18 Cesar Lopez Nataren <cesar.nataren@medsphere.com>
* TokenStream.cs: Ciao to_string.
svn path=/trunk/mcs/; revision=59598
Miguel de Icaza [Tue, 18 Apr 2006 14:35:54 +0000 (14:35 -0000)]
2006-04-18 Miguel de Icaza <miguel@novell.com>
* TokenStream.cs: kill to_string method, it was one inneficient
way of turning char [] into strings. Use the proper String
constructor for that.
svn path=/trunk/mcs/; revision=59594
Raja R Harinath [Tue, 18 Apr 2006 11:30:50 +0000 (11:30 -0000)]
In mcs and gmcs:
Possibly fix #77752. Fix cs1690-[4-7].cs.
* ecore.cs (Expression.CheckMarshalByRefAccess): Renamed from
CheckMarshallByRefAccess. Drop parameter.
(FieldExpr.CheckMarshalByRefAccess): Update. Change CS1690 to a
warning.
(FieldExpr.DoResolve): Call CheckMarshalByRefAccess on
InstanceExpression.
* report.cs (AllWarnings): Add CS1690.
* expression.cs (Argument.Resolve): Use EmptyExpression.OutAccess
for ref access too.
(LocalVariableReference.DoResolveBase): Update.
In errors:
* cs1690.cs, cs1690-2.cs, cs1690-3.cs: Update.
* cs1690-4.cs, cs1690-5.cs, cs1690-6.cs, cs1690-7.cs: New tests
inspired by #77752.
svn path=/trunk/mcs/; revision=59586
Raja R Harinath [Tue, 18 Apr 2006 10:28:11 +0000 (10:28 -0000)]
Re-enable tests after change to compiler-tester
svn path=/trunk/mcs/; revision=59585
Raja R Harinath [Tue, 18 Apr 2006 09:59:13 +0000 (09:59 -0000)]
Treat fixed repetitions of simple regexes as simple too.
* syntax.cs (Expression.IsComplex): Make abstract.
(Group.IsComplex, Alternation.IsComplex): Move ...
(CompositeExpression.IsComplex): ... here.
(Group.GetAnchorInfo): Reduce allocations. Avoid creating another
ArrayList, and use a StringBuilder to build up the string.
(Repetition.GetAnchorInfo): Use a StringBuilder to build up the string.
(ExpressionAssertion.IsComplex): Override.
svn path=/trunk/mcs/; revision=59583
Senganal T [Tue, 18 Apr 2006 09:58:08 +0000 (09:58 -0000)]
2006-04-18 Senganal T <tsenganal@novell.com>
* Test/ProviderTests/System.Data.SqlClient/SqlConnectionTest.cs :
- OpenTest_1 : test InvalidOperationException is raised if
ConnectionString is empty
- DisposeTest : test nullreference exception is not raised
* System.Data.SqlClient/SqlConnection.cs :
- SetConnectionString : set the pareameter to default values
if connection string is empty or null
- Open : Raise InvalidOperationException if Connection String
is empty or null
- Dispose : Test exception not raised if dispose called on a
connection with empty connection string
slight modification of the patch by Jonel Rienton
svn path=/trunk/mcs/; revision=59582
Atsushi Eno [Tue, 18 Apr 2006 09:48:46 +0000 (09:48 -0000)]
2006-04-18 Atsushi Enomoto <atsushi@ximian.com>
* NvdlSimplified.cs, NvdlValidator.cs :
Support for revised "trigger" in FDIS was not enough. The validator
must not trigger such element that has a parent which could be
triggered (the parent does not have to be actually triggered).
Thus, introduced a new class SimpleTrigger which holds own qname
array.
svn path=/trunk/mcs/; revision=59581
Atsushi Eno [Tue, 18 Apr 2006 07:26:33 +0000 (07:26 -0000)]
2006-04-18 Atsushi Enomoto <atsushi@ximian.com>
* NvdlSimplified.cs : according to the section 6.4.10 overriden rules
should be filtered out, and rules with cancelNestedAction should be
removed *after* filtering overriden rules out.
svn path=/trunk/mcs/; revision=59576
Atsushi Eno [Tue, 18 Apr 2006 06:27:08 +0000 (06:27 -0000)]
2006-04-18 Atsushi Enomoto <atsushi@ximian.com>
* NvdlSimplified.cs, NvdlValidator.cs :
fixed several context path related bugs.
- Path steps must be trimmed.
- MatchPath() always returned false.
- nested mode in context is always ignored.
svn path=/trunk/mcs/; revision=59575
Jonathan Chambers [Tue, 18 Apr 2006 04:50:35 +0000 (04:50 -0000)]
2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGridTextBox.cs: Formatting, copyright
* PropertiesTab.cs: Formatting
* PropertyGrid.cs: Formatting
* PropertyGridView.cs: Formatting, fix drop down, enabled double
click toggling of values
svn path=/trunk/mcs/; revision=59574
Peter Dennis Bartok [Tue, 18 Apr 2006 00:03:21 +0000 (00:03 -0000)]
2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
* KeyPressEventArgs: Added 2.0 only setter for KeyChar
* Control.cs (.ctor): verify_thread_handle is static, don't reset
every time a control is created
* Application.cs: Removed obsolete EnableRTLMirroring method
svn path=/trunk/mcs/; revision=59555
Gert Driesen [Mon, 17 Apr 2006 22:30:24 +0000 (22:30 -0000)]
* TabControlTest.cs: Added test for bug #78121. Marked failing tests NotWorking. Set eol-style to native.
* System.Windows.Forms_test.dll.sources: Added TabControlTest.cs.
* TabControl.cs: Avoid ArgumentOutOfRangeException when setting
SelectedIndex to -1. Fixes bug #78121.
svn path=/trunk/mcs/; revision=59549
Jackson Harper [Mon, 17 Apr 2006 21:55:17 +0000 (21:55 -0000)]
* Binding.cs: Handle null values for Current and BindingContext.
This occurs when binding is a little delayed.
* CurrencyManager.cs: return null for Current when there are no
items in the list.
- Hookup to the listchanged event on the DataView and update
bindings when the list is changed. This fixes late binding of
controls.
svn path=/trunk/mcs/; revision=59547
Raja R Harinath [Mon, 17 Apr 2006 14:05:46 +0000 (14:05 -0000)]
In System.Text.RegularExpressions:
2006-04-17 Florian Gross <flgr@ccan.de>
Raja R Harinath <rharinath@novell.com>
* syntax.cs (CharacterClass.Compile): Emit categories after the
character intervals so that the evaluator can pick up the
'IgnoreCase' flag.
In Test/System.Text.RegularExpressions:
2006-04-17 Florian Gross <flgr@ccan.de>
* RegexBugs.cs (CharClassWithIgnoreCase): Ensure that character
classes don't interfere with RegexOptions.IgnoreCase.
Started looking at some of Florian's patches, which I realized now that
he hadn't applied.
svn path=/trunk/mcs/; revision=59538
Jackson Harper [Mon, 17 Apr 2006 11:21:49 +0000 (11:21 -0000)]
* X11Dnd.cs:
* XplatUIX11.cs: Drops should not create a mousedown. Patch by
* Tim
Ringenbach.
svn path=/trunk/mcs/; revision=59534
Atsushi Eno [Mon, 17 Apr 2006 11:14:07 +0000 (11:14 -0000)]
2006-04-17 Atsushi Enomoto <atsushi@ximian.com>
* BackgroundWorker.cs, RunWorkerCompletedEventArgs.cs :
cosmetic attribute fixes.
svn path=/trunk/mcs/; revision=59533
Atsushi Eno [Mon, 17 Apr 2006 10:56:45 +0000 (10:56 -0000)]
2006-04-17 Atsushi Enomoto <atsushi@ximian.com>
* AsyncOperation.cs,
AsyncOperationManager.cs
BackgroundWorker.cs
DoWorkEventArgs.cs
DoWorkEventHandler.cs
RunWorkerCompletedEventArgs.cs
RunWorkerCompletedEventHandler.cs :
Initial implementation of AsyncOperation and BackgroundWorker.
(However I think it does not work as expected - it depends on
SynchronizationContext.Post() and I doubt it works fine - the
callback should run synchronously while it does not look so.)
* System.dll.sources : Added AsyncOperation.cs,
AsyncOperationManager.cs, BackgroundWorker.cs,
DoWorkEventHandler.cs, DoWorkEventArgs.cs,
RunWorkerCompletedEventArgs.cs and
RunWorkerCompletedEventHandler.cs.
svn path=/trunk/mcs/; revision=59532
Zoltan Varga [Sun, 16 Apr 2006 19:25:52 +0000 (19:25 -0000)]
2006-04-16 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_prolog): Attach the thread to the runtime as it is done
on other platforms. Fixes #78089.
svn path=/trunk/mono/; revision=59528
Andrew Skiba [Sun, 16 Apr 2006 11:44:14 +0000 (11:44 -0000)]
add to the directory parser all the assemblies found by theme file parsers
svn path=/trunk/mcs/; revision=59521
Konstantin Triger [Sun, 16 Apr 2006 05:52:26 +0000 (05:52 -0000)]
correctly resolve GACs dependencies
svn path=/trunk/mcs/; revision=59519
Alexander Olk [Sat, 15 Apr 2006 20:43:40 +0000 (20:43 -0000)]
2006-04-15 Alexander Olk <alex.olk@googlemail.com>
* ThemeWin32Classic.cs: Draw disabled combo button in the correct
place
* ComboBox.cs: If the combobox is disabled call CPDrawComboButton
with the correct ButtonState
svn path=/trunk/mcs/; revision=59512
Robert Jordan [Sat, 15 Apr 2006 20:30:34 +0000 (20:30 -0000)]
2006-04-15 Robert Jordan <robertj@gmx.net>
* UnixRegistryApi.cs (DeleteValue): Avoid crash, fixes bug
#77772. Patch reapplied, since r57881 was not applied correctly.
svn path=/trunk/mcs/; revision=59510
Gert Driesen [Sat, 15 Apr 2006 13:14:38 +0000 (13:14 -0000)]
* XmlSchemaImporterTests.cs: Enabled tests for bug #77907.
* XmlSchemaImporter.cs: Make sure we pass TypeData for primitive types
to XmlReflectionImporter and SoapReflectionImporter to keep from
always ending up with the XSD type that directly maps to the CLR type.
* XmlReflectionImporter.cs: Added overloads taking TypeData instead of
Type. This improves performance by avoiding the use of
TypeTranslator.GetTypeData for types imported from a schema and fixes
bug #77907.
* SoapReflectionImporter.cs: Same.
svn path=/trunk/mcs/; revision=59508
Marek Sieradzki [Fri, 14 Apr 2006 18:30:06 +0000 (18:30 -0000)]
2006-04-14 Marek Sieradzki <marek@sieradzki at gmail dot com>
* BuildItem.cs, TaskItem.cs, ReservedNameUtils.cs: Moved checking if
metadata name is reserved to internal class
(Mono.XBuild.Utilities.ReservedNameUtils).
svn path=/trunk/mcs/; revision=59496
Peter Dennis Bartok [Fri, 14 Apr 2006 17:54:25 +0000 (17:54 -0000)]
2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Improved distinguishing between window types to
tell the WM a type closer to what the app wants (Fixes #78107)
svn path=/trunk/mcs/; revision=59494
Wade Berrier [Fri, 14 Apr 2006 17:46:11 +0000 (17:46 -0000)]
version bump
svn path=/trunk/mono/; revision=59491
Zoltan Varga [Fri, 14 Apr 2006 17:00:23 +0000 (17:00 -0000)]
Revert r59483 to fix build.
svn path=/trunk/mcs/; revision=59487
Miguel de Icaza [Fri, 14 Apr 2006 16:00:45 +0000 (16:00 -0000)]
Revert the parts of r59483 that broke the build
svn path=/trunk/mcs/; revision=59486
Mike Kestner [Fri, 14 Apr 2006 15:48:19 +0000 (15:48 -0000)]
fix build breakage
svn path=/trunk/mcs/; revision=59485
Alexander Olk [Fri, 14 Apr 2006 15:12:24 +0000 (15:12 -0000)]
* ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
GrabHandle
2006-04-14 Alexander Olk <alex.olk@googlemail.com>
svn path=/trunk/mcs/; revision=59484
Marek Sieradzki [Fri, 14 Apr 2006 14:48:19 +0000 (14:48 -0000)]
2006-04-14 Marek Sieradzki <marek@sieradzki@gmail.com>
* BuildItem.cs, TaskItem.cs, ReservedNameUtils.cs: Moved checking if
metadata name is reserved to internal class
(Mono.XBuild.Utilities.ReservedNameUtils).
svn path=/trunk/mcs/; revision=59483
Alexander Olk [Fri, 14 Apr 2006 14:44:47 +0000 (14:44 -0000)]
2006-04-14 Alexander Olk <alex.olk@googlemail.com>
* ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
drawing code to reflect the size grip changes
svn path=/trunk/mcs/; revision=59482
Marek Sieradzki [Fri, 14 Apr 2006 14:40:15 +0000 (14:40 -0000)]
2006-04-14 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildTask.cs: Removed unnecessary variable.
* Engine.cs: Added logging of the build start.
* Project.cs: Removed unnecessary variable.
svn path=/trunk/mcs/; revision=59481
Marek Sieradzki [Fri, 14 Apr 2006 14:36:23 +0000 (14:36 -0000)]
2006-04-14 Marek Sieradzki <marek.sieradzki@gmail.com>
* GenerateResource.cs: Added authors of monoresgen.
svn path=/trunk/mcs/; revision=59480
Atsushi Eno [Fri, 14 Apr 2006 09:55:16 +0000 (09:55 -0000)]
2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs : ReadElementContentAsObject() incorrectly rejected
the argument type System.Object.
* XmlReaderCommonTests.cs : added test for ReadElementContentAs()
with argument typeof(object).
svn path=/trunk/mcs/; revision=59479
Atsushi Eno [Fri, 14 Apr 2006 07:38:40 +0000 (07:38 -0000)]
2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
* README: removed obsolete info.
* Normalization.cs : canonical reordering should participate in the
decomposition step. In reordering, string append was incomplete.
Combining class check is required in NFD check. Icall is written
using IntPtr now.
svn path=/trunk/mcs/; revision=59478
Gonzalo Paniagua Javier [Thu, 13 Apr 2006 23:45:34 +0000 (23:45 -0000)]
2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ImageListStreamer.cs: fix handling of the mask that follows the main
bitmap when deserializing and serialize it properly. The generated mask
should better be a 1bpp image, but I'll do that later.
svn path=/trunk/mcs/; revision=59476
Alexander Olk [Thu, 13 Apr 2006 21:20:41 +0000 (21:20 -0000)]
2006-04-13 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Show something in the DirComboBox on *nix if the
path doesn't fit into some of our Current.Places
svn path=/trunk/mcs/; revision=59474
Zoltan Varga [Thu, 13 Apr 2006 20:48:35 +0000 (20:48 -0000)]
2006-04-13 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_reference): Increase the refcount of the
referenced assemblies.
(mono_assembly_close): Decrease the refcount of the referenced assemblies.
* domain.c (mono_domain_free): Add a trace message.
* appdomain.c (add_assemblies_to_domain): Ditto.
* metadata-internals.h: (_MonoAssembly): Modify the meaning of the ref_count
field.
svn path=/trunk/mono/; revision=59473
Gonzalo Paniagua Javier [Thu, 13 Apr 2006 20:10:35 +0000 (20:10 -0000)]
make this a case-insensitive comparison
svn path=/trunk/mcs/; revision=59472
Gonzalo Paniagua Javier [Thu, 13 Apr 2006 19:26:33 +0000 (19:26 -0000)]
2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UnixRegistryApi.cs: create well-known keys when trying to open them.
svn path=/trunk/mcs/; revision=59471
Jackson Harper [Thu, 13 Apr 2006 19:05:00 +0000 (19:05 -0000)]
- Remove unused DrawListBoxDecorationSize method.
svn path=/trunk/mcs/; revision=59470
Jackson Harper [Thu, 13 Apr 2006 18:57:54 +0000 (18:57 -0000)]
Remove combobox decoration drawing code,
this is now handled by borders.
svn path=/trunk/mcs/; revision=59469
Jackson Harper [Thu, 13 Apr 2006 18:22:33 +0000 (18:22 -0000)]
* ComboBox.cs: Use borders instead of drawing our own
* decorations,
try to obey correct rules for heights.
* Theme.cs:
* ThemeNice.cs:
* ThemeClearLooks.cs:
* ThemeWin32Classic.cs: Remove combobox decoration drawing code,
this is now handled by borders.
svn path=/trunk/mcs/; revision=59468
Atsushi Eno [Thu, 13 Apr 2006 17:49:58 +0000 (17:49 -0000)]
2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
svn path=/trunk/mcs/; revision=59467
Chris Toshok [Thu, 13 Apr 2006 17:27:24 +0000 (17:27 -0000)]
oops, leave the system.data section out until a pending change in System.Data goes in
svn path=/trunk/mono/; revision=59466
Chris Toshok [Thu, 13 Apr 2006 17:24:08 +0000 (17:24 -0000)]
2006-04-13 Chris Toshok <toshok@ximian.com>
* data/net_2_0/machine.config: add system.data section listing the
SqlClient provider. Also add system.web section listing the
membership and role providers. This is here instead of in
web.config because the providers are meant to be available to
non-web applications as well.
svn path=/trunk/mono/; revision=59465
Alexander Olk [Thu, 13 Apr 2006 17:08:40 +0000 (17:08 -0000)]
- Draw check in a disabled CheckBox with color ControlDark
svn path=/trunk/mcs/; revision=59464
Mike Kestner [Thu, 13 Apr 2006 16:55:18 +0000 (16:55 -0000)]
2006-04-13 Mike Kestner <mkestner@novell.com>
* MenuAPI.cs: null guarding for the disbled click check fixes crash
reported by Alex.
svn path=/trunk/mcs/; revision=59462
Alexander Olk [Thu, 13 Apr 2006 16:39:16 +0000 (16:39 -0000)]
2006-04-13 Alexander Olk <alex.olk@googlemail.com>
* ThemeWin32Classic.cs:
- Fixed CPDrawStringDisabled
- Corrected drawing of disabled menu items
- Fixed drawing of disabled radio buttons (bug #78095)
svn path=/trunk/mcs/; revision=59460
Miguel de Icaza [Thu, 13 Apr 2006 16:17:43 +0000 (16:17 -0000)]
Another build fix
svn path=/trunk/mcs/; revision=59456
Sebastien Pouliot [Thu, 13 Apr 2006 14:11:56 +0000 (14:11 -0000)]
Add the new font collections unit tests to the build
svn path=/trunk/mcs/; revision=59449
Sebastien Pouliot [Thu, 13 Apr 2006 14:11:16 +0000 (14:11 -0000)]
2006-04-13 Sebastien Pouliot <sebastien@ximian.com>
* FontCollection.cs: Remove unused ctor. Throw on disposed (private)
collections. Don't dispose (but leak) under non-Windows OS.
* InstalledFontCollection.cs: Remove unused ctor.
* PrivateFontCollection.cs: Remove unused ctor. Fix exceptions to
match unit tests.
svn path=/trunk/mcs/; revision=59448
Martin Baulig [Thu, 13 Apr 2006 13:16:09 +0000 (13:16 -0000)]
2006-04-13 Martin Baulig <martin@ximian.com>
* driver.c: Also check a `MONO_INSIDE_MDB' environment variable to
determine whether we're inside the debugger.
* debug-debugger.h
(MonoDebuggerMetadataInfo): Added all offsets from `MonoDefaults'.
svn path=/trunk/mono/; revision=59445
Kornél Pál [Thu, 13 Apr 2006 11:08:04 +0000 (11:08 -0000)]
* Encoding.cs: GetString (byte []): Wrap GetString (byte [], int, int) as MS.NET does. This is a more reasonable high level wrapper implementation.; * UnicodeEncoding.cs: GetBytes (string): Implement as a wrapper instead of using GetBytesInternal to be MS.NET compatible. Override GetString (byte [], int, int) to speed up string creation.
svn path=/trunk/mcs/; revision=59437
Martin Baulig [Thu, 13 Apr 2006 09:44:57 +0000 (09:44 -0000)]
Ooops.
svn path=/trunk/mono/; revision=59435
Atsushi Eno [Thu, 13 Apr 2006 08:14:42 +0000 (08:14 -0000)]
2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
* ASCIIEncoding.cs : 2.0 decoder fallback support was missing.
* ASCIIEncodingTest.cs : added DecoderFallback().
svn path=/trunk/mcs/; revision=59434
Atsushi Eno [Thu, 13 Apr 2006 07:45:42 +0000 (07:45 -0000)]
2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
* NumberFormatter.cs : general performance improvements. Avoid
extraneous evaluation for simple formatting. Details are seen in
bug #77792. Patch by Kazuki Oikawa.
svn path=/trunk/mcs/; revision=59433
Atsushi Eno [Thu, 13 Apr 2006 07:40:40 +0000 (07:40 -0000)]
2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : implement IsDaylightSavingTime().
Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
svn path=/trunk/mcs/; revision=59432
Peter Dennis Bartok [Wed, 12 Apr 2006 23:47:36 +0000 (23:47 -0000)]
2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs: Use the provided width when calculating the menu size;
when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
and ClientSize.Width won't be updated yet
* Application.cs: Use Visible instead of Show() to make form visible,
this way we create the handle later and menusize is considered
svn path=/trunk/mcs/; revision=59431
Mike Kestner [Wed, 12 Apr 2006 23:16:47 +0000 (23:16 -0000)]
2006-04-12 Mike Kestner <mkestner@novell.com>
* MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
reporting.
svn path=/trunk/mcs/; revision=59430
Peter Dennis Bartok [Wed, 12 Apr 2006 23:01:45 +0000 (23:01 -0000)]
2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
* TextBox.cs: Implemented context menu
svn path=/trunk/mcs/; revision=59429
Chris Toshok [Wed, 12 Apr 2006 21:50:41 +0000 (21:50 -0000)]
2006-04-12 Chris Toshok <toshok@ximian.com>
* SqlMembershipProvider.cs: commit initial pass at
SqlMembershipProvider work. lots of stuff untested in here.
svn path=/trunk/mcs/; revision=59426
Mike Kestner [Wed, 12 Apr 2006 21:37:01 +0000 (21:37 -0000)]
2006-04-12 Mike Kestner <mkestner@novell.com>
* ListView.cs: implement box selection. fixes #77838.
* ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
svn path=/trunk/mcs/; revision=59425
Peter Dennis Bartok [Wed, 12 Apr 2006 20:58:29 +0000 (20:58 -0000)]
2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Added setting of window type when transient window
is created (metacity would move it otherwise)
* X11Structs.cs: Added WINDOW_TYPE atoms
* LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
background (the control is Opaque but still wants transparent
backgrounds)
svn path=/trunk/mcs/; revision=59424
Zoltan Varga [Wed, 12 Apr 2006 20:49:52 +0000 (20:49 -0000)]
2006-04-12 Zoltan Varga <vargaz@gmail.com>
* thread6.cs: Add regression test for #78024.
svn path=/trunk/mono/; revision=59422
Zoltan Varga [Wed, 12 Apr 2006 20:46:22 +0000 (20:46 -0000)]
2006-04-12 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Handle multiple LEAVE statements inside a single
handler clauses. Fixes #78024.
svn path=/trunk/mono/; revision=59421
Miguel de Icaza [Wed, 12 Apr 2006 20:07:32 +0000 (20:07 -0000)]
2006-04-12 Miguel de Icaza <miguel@novell.com>
* driver.cs: Delete the target file before copying over, this will
ensure that if some running application is using the assembly or
any of its datafiles, it does not get corrupted by an install.
svn path=/trunk/mcs/; revision=59420
Zoltan Varga [Wed, 12 Apr 2006 19:31:51 +0000 (19:31 -0000)]
2006-04-12 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Reflection_Assembly_InternalGetAssemblyName): Fix image reference counting.
svn path=/trunk/mono/; revision=59419
Zoltan Varga [Wed, 12 Apr 2006 19:04:48 +0000 (19:04 -0000)]
2006-04-12 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_output_basic_block): Handle large offsets
in the CALL_MEMBASE opcodes. Fixes #78088.
(mono_arch_get_vcall_slot_addr): Ditto.
svn path=/trunk/mono/; revision=59416
Zoltan Varga [Wed, 12 Apr 2006 19:02:09 +0000 (19:02 -0000)]
2006-04-12 Zoltan Varga <vargaz@gmail.com>
* sparc/sparc-codegen.h (sparc_inst_i): New disassembly macro.
svn path=/trunk/mono/; revision=59415
Martin Baulig [Wed, 12 Apr 2006 18:35:14 +0000 (18:35 -0000)]
2006-04-12 Martin Baulig <martin@ximian.com>
* threads.c: Use `MONO_DEBUGGER_SUPPORTED' as the conditional, not
`USE_INCLUDED_LIBGC'.
svn path=/trunk/mono/; revision=59413
Peter Dennis Bartok [Wed, 12 Apr 2006 18:31:30 +0000 (18:31 -0000)]
2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Added OnPaintBackgroundInternal to allow controls
that set Opaque but don't mean it (like all ButtonBase-derived
controls) to still draw their background
* ButtonBase.cs: Override OnPaintBackgroundInternal and draw
the background
svn path=/trunk/mcs/; revision=59412
Alexander Olk [Wed, 12 Apr 2006 18:30:28 +0000 (18:30 -0000)]
* ThemeNice.cs, ThemeClearlooks.cs: fix typo
svn path=/trunk/mcs/; revision=59411
Peter Dennis Bartok [Wed, 12 Apr 2006 17:52:25 +0000 (17:52 -0000)]
2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (PaintControlBackground): Set the graphics object
on our PaintEvent to null to prevent it from being disposed
when the PaintEvent gets disposed
svn path=/trunk/mcs/; revision=59410