mono.git
19 years ago* Makefile: Added new make target 'consolidate-test-results'.
Jambunathan K [Mon, 22 Nov 2004 09:10:23 +0000 (09:10 -0000)]
* Makefile: Added new make target 'consolidate-test-results'.

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

19 years agonew test
Marek Safar [Mon, 22 Nov 2004 08:33:12 +0000 (08:33 -0000)]
new test

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

19 years ago2004-11-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 22 Nov 2004 08:32:04 +0000 (08:32 -0000)]
2004-11-22  Marek Safar  <marek.safar@seznam.cz>

* convert.cs (ImplicitConversionRequired): Add error cs0642 for
decimal types.

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

19 years ago* Makefile: Run "make run-test" or "make run-test-ondotnet" to
Jambunathan K [Mon, 22 Nov 2004 08:31:00 +0000 (08:31 -0000)]
* Makefile: Run "make run-test" or "make run-test-ondotnet" to
exercise mbas test cases.

* testmbas: Moved the test files under this directory to Test/misc
where it rightfully belongs.

* Test/test-mbas.make: Implemented all STD_TARGETS specifically run-test and
run-test-ondotnet.

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

19 years agoremoves unused variable
Jordi Mas i Hernandez [Mon, 22 Nov 2004 08:26:27 +0000 (08:26 -0000)]
removes unused variable

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

19 years agonew test
Marek Safar [Mon, 22 Nov 2004 06:42:25 +0000 (06:42 -0000)]
new test

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

19 years ago2004-11-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 22 Nov 2004 06:41:14 +0000 (06:41 -0000)]
2004-11-22  Marek Safar  <marek.safar@seznam.cz>

* class.cs (EventField.ApplyAttributeBuilder): Fix error
test cs1667-5.cs.

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

19 years ago2004-11-22 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Mon, 22 Nov 2004 05:14:25 +0000 (05:14 -0000)]
2004-11-22  Raja R Harinath  <rharinath@novell.com>

* Makefile.am (bootstrap): Add a transitional target.

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

19 years ago2004-11-22 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Mon, 22 Nov 2004 05:09:56 +0000 (05:09 -0000)]
2004-11-22  Raja R Harinath  <rharinath@novell.com>

* Makefile (profiles-do--all): Don't fallback to default pattern build.

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

19 years ago2004-11-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 22 Nov 2004 03:44:47 +0000 (03:44 -0000)]
2004-11-22  Miguel de Icaza  <miguel@ximian.com>

* NumericUpDown.cs: Added new implementation.
* UpDownBase.cs: Added new implementation.

* XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
implementations.

* XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
implementations.

* XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
methods.

2004-11-21  Miguel de Icaza  <miguel@ximian.com>

* Timer.cs  (Dispose): Should call the base dispose when
overriding.

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

19 years ago2004-11-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Nov 2004 01:43:57 +0000 (01:43 -0000)]
2004-11-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReaderTests.cs : added AttributeNormalizationWrapped().

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

19 years ago2004-11-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Nov 2004 01:39:57 +0000 (01:39 -0000)]
2004-11-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : Now attribute normalization is handled on Read(),
  not on get_Value. This caused a problem when we use
  XmlValidatingReader that value is not always normalized expectedly.

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

19 years ago2004-11-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Nov 2004 01:21:09 +0000 (01:21 -0000)]
2004-11-22  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : added XmlSchemaInfo.cs.

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

19 years ago2004-11-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Nov 2004 01:20:17 +0000 (01:20 -0000)]
2004-11-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaException.cs : Message is only 1.x (not 2.0).
* XmlSchemaInference.cs : use more static readonly QName fields.
  Type merge inference now traverses every base types.
* XmlSchemaInfo.cs : added new file.

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

19 years ago2004-11-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Nov 2004 01:19:15 +0000 (01:19 -0000)]
2004-11-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : removed old ReadValueAsXXX() and added new
  ReadContentAsXXX() and ReadElementContentAsXXX().
* XmlTextReader.cs : removed old ReadValueAsXXX() (no overrides now).
* XmlTextWriter.cs : added indentation on Comment nodes.
* XmlDateTimeSerializationMode.cs : updated.
* XmlResolver.cs : added 2.0 NameTable field.
* ValidationType.cs : added ObsoleteAttributes on some members.

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

19 years agoupdates thumb position when max, min or increment is changed
Jordi Mas i Hernandez [Sun, 21 Nov 2004 14:27:45 +0000 (14:27 -0000)]
updates thumb position when max, min or increment is changed

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

19 years agoUpdated project.
Ravindra [Sun, 21 Nov 2004 13:55:13 +0000 (13:55 -0000)]
Updated project.

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

19 years agoUpdated TODO list.
Ravindra [Sun, 21 Nov 2004 13:54:03 +0000 (13:54 -0000)]
Updated TODO list.

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

19 years ago * ListView.cs: Implemented item selection, activation and
Ravindra [Sun, 21 Nov 2004 13:53:23 +0000 (13:53 -0000)]
* ListView.cs: Implemented item selection, activation and
column header style. Fixed properties to do a redraw, if
required. Added support for MouseHover, DoubleClick, KeyDown
and KeyUp event handling and some minor fixes.
* ListViewItem.cs: Fixed constructor.
* ThemeWin32Classic.cs: Improved drawing for ListView.

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

19 years agoUpdate CodingStyle guidelines
Miguel de Icaza [Sat, 20 Nov 2004 22:56:49 +0000 (22:56 -0000)]
Update CodingStyle guidelines

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

19 years ago2004-11-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 20 Nov 2004 17:28:32 +0000 (17:28 -0000)]
2004-11-20  Zoltan Varga  <vargaz@freemail.hu>

* MonoType.cs: Revert last change since it breaks remoting.

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

19 years ago2004-11-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 20 Nov 2004 17:02:35 +0000 (17:02 -0000)]
2004-11-20  Martin Baulig  <martin@ximian.com>

* arrays/ArrayListTest.cs: Comment out some anonymous methods.
* arrays/HashedArrayListTest.cs: Likewise.
* linkedlists/HashedLinkedListTest.cs: Likewise.
* linkedlists/LinkedListTest.cs: Likewise.

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

19 years agoNew test.
Martin Baulig [Sat, 20 Nov 2004 16:35:12 +0000 (16:35 -0000)]
New test.

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

19 years ago2004-11-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 20 Nov 2004 16:34:33 +0000 (16:34 -0000)]
2004-11-20  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.InferType): Correctly infer generic
instances; see gen-103.cs.
(Invocation.InferTypeArguments): If a generic method doesn't have
any unbound type parameters, we don't need to infer anything.

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

19 years agoNew tests.
Martin Baulig [Sat, 20 Nov 2004 16:28:50 +0000 (16:28 -0000)]
New tests.

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

19 years ago2004-11-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 20 Nov 2004 13:12:55 +0000 (13:12 -0000)]
2004-11-20  Atsushi Enomoto  <atsushi@ximian.com>

* XsdValidatingReader.cs : quick fix for bug #69620. In some cases
  SchemaSet looks not compiled.
  Fixed one incorrect missing component handling.

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

19 years agoruntime support
César Natarén [Sat, 20 Nov 2004 03:29:00 +0000 (03:29 -0000)]
runtime support

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

19 years ago2004-11-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 20 Nov 2004 02:13:57 +0000 (02:13 -0000)]
2004-11-20  Atsushi Enomoto <atsushi@ximian.com>

* XQueryParser.jay : don't output parser error by default.

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

19 years agoRemove incorrect comments
Neale Ferguson [Fri, 19 Nov 2004 21:47:29 +0000 (21:47 -0000)]
Remove incorrect comments

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

19 years agoLMF and synchronization updates
Neale Ferguson [Fri, 19 Nov 2004 21:46:20 +0000 (21:46 -0000)]
LMF and synchronization updates

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

19 years agoUpdate location and tasks
Jackson Harper [Fri, 19 Nov 2004 21:12:40 +0000 (21:12 -0000)]
Update location and tasks

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

19 years ago2004-11-19 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Fri, 19 Nov 2004 18:14:19 +0000 (18:14 -0000)]
2004-11-19  Geoff Norton  <gnorton@customerdna.com>

        * System.IO/KeventWatcher.cs:  Dont marshal a string to a struct
        that the kernel will hold; this causes a double free bug.  Marshal
        it as a IntPtr and clean it up in the dispose method.  Don't pass
        FullName to the pattern matcher, pass the filename.  Fixes bug #69692.

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

19 years agonew test
Marek Safar [Fri, 19 Nov 2004 17:25:54 +0000 (17:25 -0000)]
new test

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

19 years agoupdate2004-11-19 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 19 Nov 2004 17:24:58 +0000 (17:24 -0000)]
update2004-11-19  Marek Safar  <marek.safar@seznam.cz>

* class.cs (MemberBase.DoDefine): Fix error cs0508 report.

* pending.cs (PendingImplementation): Grab only interfaces.

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

19 years agoupdate
Marek Safar [Fri, 19 Nov 2004 15:43:19 +0000 (15:43 -0000)]
update

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

19 years agonew test
Marek Safar [Fri, 19 Nov 2004 15:32:41 +0000 (15:32 -0000)]
new test

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

19 years agorenamed
Marek Safar [Fri, 19 Nov 2004 15:32:03 +0000 (15:32 -0000)]
renamed

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

19 years agoFri Nov 19 17:34:21 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 19 Nov 2004 15:13:41 +0000 (15:13 -0000)]
Fri Nov 19 17:34:21 CET 2004 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, cpu-g4.md: set to zero the memory allocated
with localloc if needed. Throe arithmetric exception in
div an rem if needed. Implement ovf checks in OP_LCONV_TO_OVF_I.
Adapted from a patch by Geoff Norton  <gnorton@customerdna.com>.

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

19 years ago2004-11-19 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 19 Nov 2004 15:12:27 +0000 (15:12 -0000)]
2004-11-19  Marek Safar  <marek.safar@seznam.cz>

* statement.cs (ForeachHelperMethods): Add location member and
error 202 detection.

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

19 years agoFri Nov 19 17:29:22 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 19 Nov 2004 15:04:41 +0000 (15:04 -0000)]
Fri Nov 19 17:29:22 CET 2004 Paolo Molaro <lupus@ximian.com>

* ppc/ppc-codegen.h: counter reg decrement branch values
(patch by Geoff Norton <gnorton@customerdna.com>).

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

19 years ago2004-11-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 19 Nov 2004 15:03:08 +0000 (15:03 -0000)]
2004-11-19  Martin Baulig  <martin@ximian.com>

* Wrappers.cs: Removed all the FIXME's.  GMCS can now compile the
original, unmodified code :-)

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

19 years ago2004-11-19 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Fri, 19 Nov 2004 14:43:20 +0000 (14:43 -0000)]
2004-11-19  Geoff Norton  <gnorton@customerdna.com>

        * mini-ppc.c: Call mono_type_get_underlying_type to unwrap generic
        types before switching on type.  Fixes #69622.

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

19 years ago * Makefile (net_2_0_SUBDIRS): Add nunit20.
Raja R Harinath [Fri, 19 Nov 2004 14:06:26 +0000 (14:06 -0000)]
* Makefile (net_2_0_SUBDIRS): Add nunit20.

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

19 years ago2004-11-19 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Fri, 19 Nov 2004 13:48:51 +0000 (13:48 -0000)]
2004-11-19  Raja R Harinath  <rharinath@novell.com>

Integrate bootstrap build into 'make all'.  Most of the bootstrap
targets are gone.
* Makefile.am (SUBDIRS): Build current directory before 'runtime'.
(tmpinst): Change location.
(all-local): New.  Just invokes the build in mcs.
(check-local): New.  Invokes 'run-test-profiles' in mcs.
(get-monolite-latest): Update.  Move the unpacking code here,
since 'monolite-bootstrap' is no more.
(mcs-do-full-build): Don't set PATH.
(tmpinst-dir-contents): Remove mcs.
($(tmpinst)/bin/mcs): Now used only during 'make check'.
($(tmpinst)/bin/mono): Don't set MONO_PATH.
* README: Update to changes.

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

19 years agoIn .:
Raja R Harinath [Fri, 19 Nov 2004 13:48:18 +0000 (13:48 -0000)]
In .:
2004-11-19  Raja R Harinath  <rharinath@novell.com>

* Makefile (%-profiles): Go through an intermediate set of rules.
Move body to ...
(profiles-do--%): ... this.
(profiles-do--run-test): Customized rule that usefully runs with
'make -j' and 'make -k'.
(profiles-do--all, profile-do--%--all): Orchestrate the bootstrap
process.

In mcs:
2004-11-19  Raja R Harinath  <rharinath@novell.com>

* Makefile (EXTRA_DISTFILES): Remove mcs.exe.config.  It's
automatically handled by executable.make.
(PROGRAM): Make profile-specific.

In gmcs:
2004-11-19  Raja R Harinath  <rharinath@novell.com>

* Makefile (gmcs.exe): Update to new location of bootstrap mcs.exe.

In build:
2004-11-19  Raja R Harinath  <rharinath@novell.com>

Orchestrate the bootstrap.
* rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
* profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
basic profile.
* profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
net_1_1_bootstrap profile.
* profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
from default profile.
(all-local, clean-local): New.  Copy mcs.exe from default profile,
but customize it to work with 2.0.x libraries.
* profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
building corlib.

* executable.make (executable_CLEAN_FILES): Clean up more files.
($(PROGRAM)): Move .mdb files too.

In class:
2004-11-19  Raja R Harinath  <rharinath@novell.com>

* Makefile (DIST_PROFILES): New.
(dist-local): Create profile-specific directories in the tarball.

In class/corlib:
2004-11-19  Raja R Harinath  <rharinath@novell.com>

* Makefile (LIBRARY_COMPILE): Simplify.

In class/System:
2004-11-19  Raja R Harinath  <rharinath@novell.com>

* Makefile (USE_BOOT_COMPILE): Re-organize to use BOOT_COMPILE
during the first pass.
(BOOTSTRAP_MCS): Use mscorlib.dll from the net_2_0 profile.

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

19 years ago2004-11-19 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Fri, 19 Nov 2004 13:35:38 +0000 (13:35 -0000)]
2004-11-19  Raja R Harinath  <rharinath@novell.com>
* Makefile.am (check-local): New.  Integrate into 'make check'.
(MCS,RUNTIME): Define using in-tree mono and mcs.
(ILASM): New.
(%.exe): Use $(ILASM).

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

19 years ago(ILASM): Use MONO_PATH.
Raja R Harinath [Fri, 19 Nov 2004 13:30:05 +0000 (13:30 -0000)]
(ILASM): Use MONO_PATH.

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

19 years ago2004-11-19 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Fri, 19 Nov 2004 13:21:45 +0000 (13:21 -0000)]
2004-11-19  Raja R Harinath  <rharinath@novell.com>

* Makefile.am (check-local): New.  Hook into 'make check'.
(CSC): Define using in-tree mono and mcs.exe.
(ILASM): New.  Likewise, with in-tree ilasm.exe.
* async_read.cs (Main): Read async_read.exe, since async_read.cs
will not necessarily be in the build directory.
* test-driver: Preserve stderr.

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

19 years ago2004-11-19 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Fri, 19 Nov 2004 13:00:09 +0000 (13:00 -0000)]
2004-11-19  Raja R Harinath  <rharinath@novell.com>

* VBCodeProviderTest.cs (CreateCompiler): Be more verbose about
error exit.

(Helped me debug some problems with the PATH during a bootstrap)

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

19 years agoChangeLog: Updated.
Sanja Gupta [Fri, 19 Nov 2004 12:38:49 +0000 (12:38 -0000)]
ChangeLog: Updated.
AccessDataSource.cs:
SqlDataSourceView.cs: Implemented CreateDataSourceView () method.

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

19 years agoFri Nov 19 14:54:07 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 19 Nov 2004 12:34:01 +0000 (12:34 -0000)]
Fri Nov 19 14:54:07 CET 2004 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: adjust initial prolog size (bug #69691).

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

19 years ago2004-11-19 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 19 Nov 2004 12:13:46 +0000 (12:13 -0000)]
2004-11-19  Dick Porter  <dick@ximian.com>

        * MonoIOError.cs:
        * MonoIO.cs: Add a proper message for sharing violation

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

19 years agoinitial listbox work
Jordi Mas i Hernandez [Fri, 19 Nov 2004 11:39:49 +0000 (11:39 -0000)]
initial listbox work

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

19 years agoChangeLog: Updated.
Sanja Gupta [Fri, 19 Nov 2004 10:05:07 +0000 (10:05 -0000)]
ChangeLog: Updated.
SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
SqlDataSourceView.cs: Updated constructor.

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

19 years agoChangeLog: Updated.
Sanja Gupta [Fri, 19 Nov 2004 10:00:03 +0000 (10:00 -0000)]
ChangeLog: Updated.
System.Web.dll.sources: Added new file:
 System.Web.UI.WebControls/AccessDataSourceView.cs.

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

19 years agoChangeLog: Updated.
Sanja Gupta [Fri, 19 Nov 2004 09:58:47 +0000 (09:58 -0000)]
ChangeLog: Updated.
AccessDataSourceView.cs: Added new class.

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

19 years agoChangeLog: Updated.
Sanja Gupta [Fri, 19 Nov 2004 08:38:26 +0000 (08:38 -0000)]
ChangeLog: Updated.
SqlDataSourceView.cs: Corrected exception handling in ExecuteSelect method.

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

19 years ago2004-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Nov 2004 07:09:16 +0000 (07:09 -0000)]
2004-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: check for FIN or RST on the socket before reusing.
Fixes bug #69388.

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

19 years agoDon't run test-318 with gmcs.
Raja R Harinath [Fri, 19 Nov 2004 06:58:07 +0000 (06:58 -0000)]
Don't run test-318 with gmcs.

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

19 years ago2004-11-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Nov 2004 00:03:27 +0000 (00:03 -0000)]
2004-11-19  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorReader.cs : changed to be compatible with that is
  contained in Mono.Xml.Ext.dll.

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

19 years ago2004-11-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Nov 2004 00:01:07 +0000 (00:01 -0000)]
2004-11-19  Atsushi Enomoto <atsushi@ximian.com>

added XPathNavigatorReader.cs.

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

19 years ago2004-11-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 18 Nov 2004 21:09:05 +0000 (21:09 -0000)]
2004-11-18  Zoltan Varga  <vargaz@freemail.hu>

* cpu-pentium.md (localloc): Increase max instruction len. Fixes
#69664.

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

19 years ago2004-11-16 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Thu, 18 Nov 2004 18:44:57 +0000 (18:44 -0000)]
2004-11-16  Patrik Torstensson <patrik.torstensson@gmail.com>

* x86/x86-codegen.h: added opcodes for xadd instructions

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

19 years ago2004-11-18 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 18 Nov 2004 18:38:02 +0000 (18:38 -0000)]
2004-11-18  Geoff Norton <gnorton@customerdna.com>

        * ProviderSettingsCollection.cs: Add XML_DEP because this inherits
ConfigurationElementCollection which has XML_DEP.  Fixes bootstrap

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

19 years ago2004-11-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 18 Nov 2004 15:35:52 +0000 (15:35 -0000)]
2004-11-18  Marek Safar <marek.safar@seznam.cz>

* test-318.cs: New test for wrong warning.

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

19 years ago2004-11-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 18 Nov 2004 15:32:22 +0000 (15:32 -0000)]
2004-11-18  Marek Safar  <marek.safar@seznam.cz>

* expression.cs (DoResolveBase): Fixed wrong warning for out
        variables.

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

19 years ago * stdio.c: Add fread(3) and fwrite(3) wrappers.
Jonathan Pryor [Thu, 18 Nov 2004 14:49:53 +0000 (14:49 -0000)]
  * stdio.c: Add fread(3) and fwrite(3) wrappers.

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

19 years agoThu Nov 18 17:10:32 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 18 Nov 2004 14:45:09 +0000 (14:45 -0000)]
Thu Nov 18 17:10:32 CET 2004 Paolo Molaro <lupus@ximian.com>

* reflection.c: allow getting attributes from ModuleBuilder
(used by ikvm).

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

19 years ago2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 18 Nov 2004 14:37:36 +0000 (14:37 -0000)]
2004-11-18  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.Security/ActiveDirectoryMembershipProvider.cs
System.Web.Security/MembershipProvider.cs
System.Web.Security/RoleProvider.cs
System.Web.UI.WebControls/SiteMapDataSource.cs
System.Web.UI.WebControls/SiteMapHierarchicalDataSourceView.cs
System.Web/ParserError.cs
System.Web/ParserErrorCollection.cs
System.Web/SiteMapResolveEventArgs.cs

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

19 years ago2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 18 Nov 2004 14:35:04 +0000 (14:35 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>

* SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
* SiteMapDataSourceView.cs: Minor fix.

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

19 years ago2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 18 Nov 2004 14:32:06 +0000 (14:32 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>

* RoleProvider.cs, Roles.cs, SqlRoleProvider.cs, RoleProviderCollection.cs,
AccessRoleProvider.cs: IRoleProvider has been renamed to ProviderBase.
* IMembershipProvider.cs: Deleted.
* MembershipProvider.cs, AccessMembershipProvider.cs, MembershipUser.cs,
Membership.cs, ADMembershipProvider.cs, SqlMembershipProvider.cs
MembershipProviderCollection.cs: MembershipProvider has been deleted
and replaced by the abstract class MembershipProvider.
* MembershipProviderCollection.cs: Minor fixes.
* ADMembershipProvider.cs: Renamed to ActiveDirectoryMembershipProvider.cs.

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

19 years ago2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 18 Nov 2004 14:31:36 +0000 (14:31 -0000)]
2004-11-18  Lluis Sanchez Gual <lluis@novell.com>

* AnonymousIdentificationSection.cs, AuthenticationSection.cs,
AssemblyInfo.cs: Initialize property collection.
* SiteMapSection.cs, SiteMapHierarchicalDataSourceView.cs,
SiteMapDataSource.cs: New file.
* SiteMapDataSourceView.cs: Minor fixes.

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

19 years ago2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 18 Nov 2004 14:31:11 +0000 (14:31 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>

* SiteMapNodeCollection.cs: Added missing properties.
* HttpParseException.cs: Added 2.0 methods and properties.
* SiteMapNode.cs: Added missing methods and properties.
* SiteMapProvider.cs, XmlSiteMapProvider.cs,
SiteMapProviderCollection.cs: IProvider does not exist any
more, it is now ProviderBase.
* ISiteMapProvider.cs: Deleted.
* ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
  Implemented.
* SiteMap.cs: Minor fixes.

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

19 years agoRemove unnecessary Console.WriteLines, comment the class.
Jonathan Pryor [Thu, 18 Nov 2004 14:30:05 +0000 (14:30 -0000)]
Remove unnecessary Console.WriteLines, comment the class.

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

19 years ago2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 18 Nov 2004 14:29:33 +0000 (14:29 -0000)]
2004-11-18  Lluis Sanchez Gual <lluis@novell.com>

* System.dll.sources: Added new files:
System.Configuration/ProviderSettings.cs
System.Configuration/ProviderSettingsCollection.cs
System.Configuration.Provider/ProviderBase.cs

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

19 years ago2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 18 Nov 2004 14:28:09 +0000 (14:28 -0000)]
2004-11-18  Lluis Sanchez Gual <lluis@novell.com>

* IProvider.cs, ProviderCollection.cs: IProvider has been Replaced by
ProviderBase.

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

19 years ago2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 18 Nov 2004 14:27:29 +0000 (14:27 -0000)]
2004-11-18  Lluis Sanchez Gual <lluis@novell.com>

* ProviderSettings.cs, ProviderSettingsCollection.cs: Mostly implemented.
* Configuration.cs: Implemented GetSection() and GetSectionGroup().
* AppSettingsSection.cs: Better null check in Reset().

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

19 years ago2004-11-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 18 Nov 2004 13:33:11 +0000 (13:33 -0000)]
2004-11-18  Zoltan Varga  <vargaz@freemail.hu>

* MonoType.cs (UnderlyingSystemType): Make this return this as in
MS.NET. Fixes #56245.

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

19 years ago2004-11-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 18 Nov 2004 12:48:26 +0000 (12:48 -0000)]
2004-11-18  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Disable static linking of mono if --disable-static is
given. Fixes #69466.

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

19 years agoChangeLog: Updated.
Sanja Gupta [Thu, 18 Nov 2004 12:42:22 +0000 (12:42 -0000)]
ChangeLog: Updated.
SqlDataSourceView.cs: Updated ExecuteSelect method.

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

19 years ago * Mono.Posix.dll.sources: Add Mono.Unix/CdeclFunction.cs to the build.
Jonathan Pryor [Thu, 18 Nov 2004 12:27:42 +0000 (12:27 -0000)]
* Mono.Posix.dll.sources: Add Mono.Unix/CdeclFunction.cs to the build.
* Mono.Unix/CdeclFunction.cs: Added.
* Mono.Unix/Stdlib.cs: Re-add printf(3) and fprintf(3).  They may not be
  portable (the jury is still out on that; the AMD64 SysV ABI looks like it
  should be portable to AMD64 to my eyes), but they will work on *some*
  platforms, so we should permit it.  The new implementation takes a page out
  of cocoa-sharp: use System.Reflection.Emit to generate a P/Invoke method at
    runtime to invoke printf(3) or fprintf(3).  This way, we can export a
    params signature to C# code, permitting natural usage such as:
      Stdlib.printf ("Hello, %s world! (%i)\n", "silly", 42);
* Mono.Unix/Syscall.cs: Mark which headers are complete, which functions
  still need wrapping (for headers which have anything done to them), add
  #region blocks for each header;
    export mkfifo(3), fexecve(), getppid(2), setlogin(); fix sleep(3) export.
* Mono.Unix/UnixEnvironment.cs: Export a friendly getppid(2) wrapper.
    GetParentProcessId isn't in UnixProcess as there's no way (that I know of)
    to get the Parent's Parent, so it can't be a class member, and exposing it
    as a static member of UnixProcess doesn't make sense to me, as it isn't
    general.  Added GetUserShells().
* Mono.Unix/UnixProcess.cs: Change constructor to internal, so it can be
  used from UnixEnvironment.

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

19 years agoReverted Marek's latest commit since it breaks the build.
Martin Baulig [Thu, 18 Nov 2004 12:24:22 +0000 (12:24 -0000)]
Reverted Marek's latest commit since it breaks the build.

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

19 years agoChangeLog: Updated
Sanja Gupta [Thu, 18 Nov 2004 12:23:22 +0000 (12:23 -0000)]
ChangeLog: Updated
SqlDataSource.cs: Corrected Select method.

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

19 years agoRemoved .so extension from a DllImport.
Ravindra [Thu, 18 Nov 2004 11:43:34 +0000 (11:43 -0000)]
Removed .so extension from a DllImport.

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

19 years ago2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 18 Nov 2004 11:43:14 +0000 (11:43 -0000)]
2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>

* library.make: Reverted the last fix. It broke windows build (that
  should be fixed though).

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

19 years ago2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 18 Nov 2004 11:35:13 +0000 (11:35 -0000)]
2004-11-18  Atsushi Enomoto <atsushi@ximian.com>

* XmlParserContext.cs : the fix was not checked in :(

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

19 years ago2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 18 Nov 2004 10:16:09 +0000 (10:16 -0000)]
2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>

* library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.

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

19 years agoChangeLog: Updated.
Sanja Gupta [Thu, 18 Nov 2004 08:35:38 +0000 (08:35 -0000)]
ChangeLog: Updated.
SqlDataSource.cs: Updated Select method definition.
SqlDataSourceStatusEventArgs.cs: Updated class.

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

19 years ago2004-11-18 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Thu, 18 Nov 2004 08:20:45 +0000 (08:20 -0000)]
2004-11-18  Raja R Harinath  <rharinath@novell.com>

* Makefile (TEST_ORDERING): New.  Lists multi-file tests that are
not handled by the %-exe/%-dll pattern.
(test-harness-run): Add test-ordering dependencies to
generated Makefile.
* harness.mk (%.res): Fix quoting error.
(test-ordering): Remove.
* conv-dll.cs, conv-exe.cs: Rename from conv-lib.cs, conv-main.cs.
* vararg-dll.cs: Rename from vararg-lib.cs.
* mtest-2-dll.cs, mtest-2-exe.cs: Rename from dll-1.cs and
prog-1.cs.
* mtest-3-dll.cs, mtest-3-exe.cs: Rename from dll-2.cs and
prog-2.cs.
* mtest-4-dll.cs, mtest-4-exe.cs: Rename from ns0.cs and ns.cs.
* mtest-5-dll.cs, mtest-5-exe.cs: Rename from pover-a.cs and
pover-b.cs.
* gen-98-dll.cs, gen-98-exe.cs: Rename from gen-98.cs and gen-99.cs.

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

19 years ago2004-11-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 18 Nov 2004 06:58:19 +0000 (06:58 -0000)]
2004-11-18 Marek Safar <marek.safar@seznam.cz>

* cs0657-19.cs: Bug#69462

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

19 years ago2004-11-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 18 Nov 2004 06:55:46 +0000 (06:55 -0000)]
2004-11-18  Marek Safar  <marek.safar@seznam.cz>

Fix #69462
* attribute.cs (Attributable): Removed CheckTargets.
(Attributes.Emit): Explicit attribute targets are tested here.

* class.cs (EventField.ValidAttributeTargets): Explicit target "field" is
not enabled for interfaces.

* codegen.cs (CommonAssemblyModulClass.AddAttributes): Removed CheckTargets.

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

19 years agoMerged to GMCS.
Martin Baulig [Thu, 18 Nov 2004 06:48:05 +0000 (06:48 -0000)]
Merged to GMCS.

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

19 years ago**** Merged r36211 from MCS ****
Martin Baulig [Thu, 18 Nov 2004 06:46:35 +0000 (06:46 -0000)]
**** Merged r36211 from MCS ****
2004-11-17  Raja R Harinath  <rharinath@novell.com>

* typemanager.cs (TypeHandle.GetTypeHandle): Make private.
(TypeHandle.GetMemberCache): New.
(TypeHandle.TypeHandle): Update.
(TypeManager.LookupMemberCache): Rewritten from LookupMemberContainer.
(TypeManager.LookupParentInterfacesCache):
Rename from LookupInterfaceCache.  Optimize slightly.
(TypeManager.MemberLookup_FindMembers): Update.
* decl.cs (MemberCache.MemberCache): Set Container to null in the
multi-type variant.
(AddCacheContents): Rename from AddHashtable.
* class.cs (TypeContainer.parent_container): Remove.
(TypeContainer.VerifyClsCompliance): Don't use parent_container.
(TypeContainer.DoDefineMembers): Don't initialize it.
Update to name changes.

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

19 years ago**** Merged r36192 from MCS ****
Martin Baulig [Thu, 18 Nov 2004 06:42:08 +0000 (06:42 -0000)]
**** Merged r36192 from MCS ****
2004-11-17  Miguel de Icaza  <miguel@ximian.com>

* class.cs (MethodCore.CheckAccessModifiers): New helper routine
that factors the code to check access modifiers on override.

(PropertyBase): Use the code here.

Patch from Lluis S'anchez, fixes bug #69361.

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

19 years ago**** Merged r36189 from MCS ****
Martin Baulig [Thu, 18 Nov 2004 06:40:39 +0000 (06:40 -0000)]
**** Merged r36189 from MCS ****
2004-11-15  Miguel de Icaza  <miguel@ximian.com>

* anonymous.cs (AnonymousMethod.Error_AddressOfCapturedVar): New
routine that is used to report the use of a captured variable
whose address has been taken.

There are two checks: one when variables are being captured and
the other check is when the address of a variable is taken.

(because an anonymous methods might be resolved before *or* after
the address has been taken) and

* expression.cs (Conditional.DoResolve): Remove the special
casing that Martin added to trueExpr and falseExpr being both
NullLiteral.  We get the right behavior now just by introducing
the null_type into the compiler.

* convert.cs (ExplicitConversion): Change the code to use
null_type instead of testing `expr is NullLiteral'.
(ImplicitConversionStandard): use null_type too.
(ImplicitReferenceConversionExists): use null_type too.
(ImplicitReferenceConversion): use null_type too.

* literal.cs: The type of `NullLiteral' is now null_type instead
of object_type.
(Resolve): Set the type here.

* typemanager.cs: Introduce null_type.

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

19 years ago2004-11-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Nov 2004 06:18:05 +0000 (06:18 -0000)]
2004-11-18  Martin Baulig  <martin@ximian.com>

* rootcontext.cs
(RootContext.LookupType): Return a `Type', not a `TypeExpr'.

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

19 years ago2004-11-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Nov 2004 06:04:41 +0000 (06:04 -0000)]
2004-11-18  Martin Baulig  <martin@ximian.com>

* ecore.cs (TypeExpr.DoResolveAsTypeStep): Make this protected.

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

19 years agoNew test.
Martin Baulig [Thu, 18 Nov 2004 06:00:32 +0000 (06:00 -0000)]
New test.

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

19 years ago2004-11-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Nov 2004 05:58:47 +0000 (05:58 -0000)]
2004-11-18  Martin Baulig  <martin@ximian.com>

* generic.cs (Constraints.Resolve): Take an `EmitContext' instead
of a `DeclSpace'.  If one of our constraints is a `ConstructedType',
call ResolveConstructedType() on it to resolve it without checking
constraints.
(Constraints.ResolveTypes): Check them here.
(ConstructedType.DoResolveAsTypeStep): Fully resolve ourselves,
but don't check constraints.
(ConstructedType.ResolveAsTypeTerminal): Override this and also
check constraints here.
(ConstructedType.ResolveConstructedType): New public method.  This
is called from DoResolveAsTypeStep() and Constraints.Resolve() to
resolve ourselves without checking constraints.

* ecore.cs (Expression.ResolveAsTypeTerminal): Make this virtual.

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

19 years ago2004-11-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Nov 2004 05:18:50 +0000 (05:18 -0000)]
2004-11-18  Martin Baulig  <martin@ximian.com>

* decl.cs
(DeclSpace.CurrentType): Changed type from `TypeExpr' to `Type'.

* delegate.cs (Delegate.DefineType): Always create the EmitContext.

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