mono.git
19 years ago2005-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jul 2005 06:44:35 +0000 (06:44 -0000)]
2005-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* CP936.cs : fixed incorrect table lookup. Patch by Feng Li.

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

19 years ago2005-07-01 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 1 Jul 2005 06:05:51 +0000 (06:05 -0000)]
2005-07-01  Sureshkumar T  <tsureshkumar@novell.com>

* Tds70.cs: FormatParameter: For uniqueidentifier, pass the guid
as '..' rather than hex. Tested with SqlServer 2005.

patch from jsinger@eggmouse.com & Hubert FONGARNAND.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 1 Jul 2005 01:59:37 +0000 (01:59 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: restored version numbers in security tools;
* makecert.cs: Add support to generate PKCS#12 files. Changed default
hash algorithm to SHA1. Using MD5 now shows a warning. Fixed typos.

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

19 years ago (wait_for_tids_or_state_change): We were using the wrong variable
Ben Maurer [Thu, 30 Jun 2005 23:21:48 +0000 (23:21 -0000)]
(wait_for_tids_or_state_change): We were using the wrong variable
when accessing wait->threads. `i' was always out of the bounds of
the array.

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

19 years ago2005-06-30 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 30 Jun 2005 22:46:48 +0000 (22:46 -0000)]
2005-06-30  Peter Bartok  <pbartok@novell.com>

* Form.cs (ShowDialog): Assign owner of the dialog
* TextBoxBase.cs: Always refresh caret size when deleting, caret
  might have been moved to a tag with different height

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

19 years ago * Form.cs: Don't create an infinite loop when setting focus
Jackson Harper [Thu, 30 Jun 2005 22:43:30 +0000 (22:43 -0000)]
    * Form.cs: Don't create an infinite loop when setting focus
* MenuItem.cs: Don't dirty the parents if we don't have any

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

19 years ago2005-06-30 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 21:52:45 +0000 (21:52 -0000)]
2005-06-30  Ben Maurer  <bmaurer@ximian.com>

* threads.c (thread_cleanup): assert that thread != NULL

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

19 years ago2005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 30 Jun 2005 21:17:02 +0000 (21:17 -0000)]
2005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* loader.c: map user32 and kernel32 to libMonoSupportW

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

19 years ago2005-06-30 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 21:15:54 +0000 (21:15 -0000)]
2005-06-30  Ben Maurer  <bmaurer@ximian.com>

* AssemblyTest.cs: Relied on the 1.1 test suite being built when
running teh 2.0 test suite, which could cause failures

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

19 years ago2005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 30 Jun 2005 21:15:01 +0000 (21:15 -0000)]
2005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* supportw.c: HeapDestroy.
* Makefile.am: don't build supportw on windows.

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

19 years agoSome new sources not reay to integrate on automated testing
Rafael Teixeira [Thu, 30 Jun 2005 21:11:13 +0000 (21:11 -0000)]
Some new sources not reay to integrate on automated testing

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

19 years ago2005-06-30:5 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 21:08:05 +0000 (21:08 -0000)]
2005-06-30:5 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*ecore.cs: some tentative code preparing to support automatic definition of variables
on first usage with Option Explicit Off commented out as it breaks on emit phase, and
guesses wrong what should be automatically defined

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

19 years ago2005-06-30:4 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 21:01:51 +0000 (21:01 -0000)]
2005-06-30:4 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*statement.cs: some tentative code preparing to support automatic definition of variables
on first usage with Option Explicit Off. Converting backticks to apostrophes on messages

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

19 years ago2005-06-30:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 20:57:29 +0000 (20:57 -0000)]
2005-06-30:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*mb-parser.jay: small bits preparing to support automatic definition of variables
on first usage with Option Explicit Off

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

19 years ago2005-06-30 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 30 Jun 2005 19:42:57 +0000 (19:42 -0000)]
2005-06-30  Dick Porter  <dick@ximian.com>

        * shared.c (_wapi_shm_semaphores_init): Add some helpful error
        messages when semget () fails due to lack of resources.

2005-06-30  Dick Porter  <dick@ximian.com>

        * semdel.c: Added semdel, for deleting the current shared
        semaphore

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

19 years ago2005-06-30 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 19:21:28 +0000 (19:21 -0000)]
2005-06-30  Ben Maurer  <bmaurer@ximian.com>

* MutexTest.cs: Redisable. They didn't work so well ;-(.

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

19 years ago2005-06-30:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 19:08:52 +0000 (19:08 -0000)]
2005-06-30:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*assign.cs: Killed exception occurring when resolving an assignment
to an undefined symbol (Explicit On scenario)

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

19 years ago* CodeGeneratorFromTypeTest.cs: Added property indexer and parameter tests.
Gert Driesen [Thu, 30 Jun 2005 18:29:13 +0000 (18:29 -0000)]
* CodeGeneratorFromTypeTest.cs: Added property indexer and parameter tests.
* CSharpCodeGenerator.cs: Only consider property an indexer if name is Item
(case-insensitive comparison) and property has parameters.
* VBCodeGenerator.cs: Mark indexer as default property.

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

19 years ago2005-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Jun 2005 18:14:20 +0000 (18:14 -0000)]
2005-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* TestDriver.cs : added SimpleCollator.ctor() sanity check.
  Added replacement contraction example.
* SimpleCollator.cs : Now IndexOf() and LastIndexOf() support
  contraction in source string. Extracted matching code to Matches().
  Replacement contraction was including extraneous '\x0'.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 18:03:55 +0000 (18:03 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* Win32Exception.cs: Added some declarative security (permission from
corlib) as an initial test (outside corlib). Added new constructors
for NET_2_0.

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

19 years agoNew test.
Martin Baulig [Thu, 30 Jun 2005 17:31:30 +0000 (17:31 -0000)]
New test.

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

19 years ago2005-06-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 30 Jun 2005 17:30:05 +0000 (17:30 -0000)]
2005-06-30  Martin Baulig  <martin@ximian.com>

* class.cs (Indexer): Implement IIteratorContainer; added support
for iterators in indexers.

* codegen.cs
(EmitContext.CurrentIterator): Make this a property, not a field.

* anonymous.cs (AnonymousContainer.Iterator): New public property.

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

19 years agoStandardized Mainsoft DataColumnCollection tests.
Eyal Alalouf [Thu, 30 Jun 2005 17:18:46 +0000 (17:18 -0000)]
Standardized Mainsoft DataColumnCollection tests.

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

19 years ago2005-06-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 16:45:26 +0000 (16:45 -0000)]
2005-06-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*mb-parser.jay: Eliminating 'reduce/reduce conflicts' and 'rule never reduced'
by simplifying the directive_expression rule (formerly directive_exp).

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 16:42:30 +0000 (16:42 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityManager.cs: Fixed inheritance demands for 1.x.

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

19 years ago2005-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Jun 2005 15:14:04 +0000 (15:14 -0000)]
2005-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* Collation-notes.txt : updated status.
* CollationDataStructures.txt : tiny fixes.
* SimpleCollator.cs :
  Renamed alias Util to UUtil (MS sys.enterprisesvc has sucky global
  namespace Util and csc borked).
  GetContraction was incorrectly returning first item.
  Private IsPrefix() now returns int (but it might not be in real use).
  Extracted simple char comparison to CompareCharSimple().
  IndexOf() and LastIndexOf() now fully handle contractions (both
  binary key and string replacement) in "target" (for "s" not yet).
* TestDriver.cs : be more verbose.
* mono-tailoring-source.txt : added comment.
* MSCompatUnicodeTable.template :
  Renamed alias Util to UUtil (MS sys.enterprisesvc has sucky global

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

19 years agoIn mcs:
Raja R Harinath [Thu, 30 Jun 2005 14:43:33 +0000 (14:43 -0000)]
In mcs:
Fix #75412.
* expression.cs (Indexers.map): Remove.
(Indexers.Append): Filter out inaccessible setters and getters.
(IndexerAccess.DoResolve, IndexerAccess.DoResolveLValue): Update.

In errors:
* cs0021-3.cs: New test from #75412.

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

19 years agoDisposing the WebService instance after a WebMethod invocation
Konstantin Triger [Thu, 30 Jun 2005 13:29:37 +0000 (13:29 -0000)]
Disposing the WebService instance after a WebMethod invocation

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 13:05:37 +0000 (13:05 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* GuidTest.cs: Updated tests to NUnit 2.2 format. Added tests for new
2.0 methods. Added missing tests for some constructors. Fixed 2 tests
to work on bigendian machines.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 13:04:53 +0000 (13:04 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* Guid.cs: Avoid code duplication between overriden methods (new in
2.0). Avoid exception processing when possible. Renamed parameters to
match the framework. Added ComVisible to NET_2_0.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 12:56:45 +0000 (12:56 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security_test.dll.sources: Added Mono.Security.X509.X509CrlTest
to the build.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 12:55:41 +0000 (12:55 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* X509CrlTest.cs: New. Add regression test for bug #75406.

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

19 years ago2005-06-30 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 30 Jun 2005 12:38:50 +0000 (12:38 -0000)]
2005-06-30  Marek Safar <marek.safar@seznam.cz>

* gtest-180.cs: DefaultCharSetAttribute test.
* test-422.cs: New test for #75322.

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

19 years agoIn mcs:
Raja R Harinath [Thu, 30 Jun 2005 12:21:59 +0000 (12:21 -0000)]
In mcs:
Fix #75283.
* ecore.cs (MemberExpr.EmitInstance): New.  Add CS0120 check.
Refactored from ...
(FieldExpr.EmitInstance, PropertyExpr.EmitInstance): ... these.
(FieldExpr.Emit, PropertyExpr.Emit): Update.
(FieldExpr.EmitAssign, PropertyExpr.EmitAssign): Update.
* expression.cs (Invocation.EmitCall): Add CS0120 check.

In errors:
* cs0120-8.cs: New test from #75283.

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

19 years ago2005-06-30 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 30 Jun 2005 10:06:26 +0000 (10:06 -0000)]
2005-06-30  Marek Safar  <marek.safar@seznam.cz>

Fix #75322
* class.cs (FieldBase.GetInitializerExpression): One more field
for backup.

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

19 years agoSupport signed exponent
Manjula GHM [Thu, 30 Jun 2005 09:42:34 +0000 (09:42 -0000)]
Support signed exponent

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

19 years agoFix compilation breakage
Manjula GHM [Thu, 30 Jun 2005 08:49:21 +0000 (08:49 -0000)]
Fix compilation breakage

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

19 years agoSupport hexadecimal literals - supports binary value of the integer literal
Manjula GHM [Thu, 30 Jun 2005 08:35:43 +0000 (08:35 -0000)]
Support hexadecimal literals - supports binary value of the integer literal
- like &H8000S is "-32768" and not an overflow exception

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

19 years ago2005-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Jun 2005 07:53:32 +0000 (07:53 -0000)]
2005-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : compute COMBINING blah marks as
  well as those characters WITH blah.
* TestDriver.cs : added combining sortkey cases.

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

19 years ago2005-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Jun 2005 06:32:25 +0000 (06:32 -0000)]
2005-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* mono-tailoring-source.txt : fixed description on '*' in sortkeys.
* SimpleCollator.cs : Now it fully uses tailoring info. Fixed
  contraction search that worked only when string is contraction.
  Removed commented code. Minor refactoring.
* TestDriver.cs : added example that uses "ZS" in Hungarian sorting.

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

19 years agorename
Ben Maurer [Thu, 30 Jun 2005 01:48:38 +0000 (01:48 -0000)]
rename

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

19 years agorename a la miguel
Ben Maurer [Thu, 30 Jun 2005 01:47:30 +0000 (01:47 -0000)]
rename a la miguel

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

19 years ago2005-06-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 00:50:57 +0000 (00:50 -0000)]
2005-06-29  Ben Maurer  <bmaurer@ximian.com>

* LibSupport.cs: Rename

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

19 years ago2005-06-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 00:49:09 +0000 (00:49 -0000)]
2005-06-29  Ben Maurer  <bmaurer@ximian.com>

* Makefile.am: namespace our library.

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

19 years ago2005-06-29 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 30 Jun 2005 00:23:55 +0000 (00:23 -0000)]
2005-06-29  Peter Bartok  <pbartok@novell.com>

* TextBoxBase.cs: Re-align caret after deleting a character
* TextControl.cs:
  - DeleteChars(): Ensure that tag covers the provided position
  - StreamLine(): Drop reference for dropped tag

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

19 years ago2005-06-29 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 29 Jun 2005 23:59:29 +0000 (23:59 -0000)]
2005-06-29  Peter Bartok  <pbartok@novell.com>

* TextControl.cs:
  - Selections now work properly, anchoring at the initial location
    and properly extending in either direction (SetSelectionToCaret(),
    SetSelectionStart() and SetSelectionEnd())
  - No longer redraws the whole control on selection change, now
    calculates delta between previous and new selection and only
    invalidates/redraws that area
  - Fixed FindPos() math off-by-one errors
  - Changed DeleteChars() to verify the provided tag covers the
    provided position, selections may have a tag that doesn't cover
    the position if the selection is at a tag border
  - Fixed off-by-one errors in DeleteChars()
  - Added missing streamlining check in DeleteChars() to remove
    zero-length tags
  - Implemented Invalidate() method, now properly calculates exposures
    between two given lines/positions
  - Implemented SetSelection()
  - Obsoleted and removed FixupSelection()
  - Improved RecalculateDocument() logic, removing code duplication

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

19 years ago2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 29 Jun 2005 23:24:29 +0000 (23:24 -0000)]
2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* LibSupport.cs: changes to match different input/output arguments.

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

19 years agoPatch from Greg Lonnon <greg.lonnon@hp.com>
Miguel de Icaza [Wed, 29 Jun 2005 23:15:29 +0000 (23:15 -0000)]
Patch from Greg Lonnon <greg.lonnon@hp.com>

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

19 years ago2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 29 Jun 2005 23:13:17 +0000 (23:13 -0000)]
2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* LibSupport.cs: added libsupport.so init routine.

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

19 years ago2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 29 Jun 2005 22:38:30 +0000 (22:38 -0000)]
2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* supportw.c:
* supportw.h:
* Makefile.am: new library intended to provide often P/Invoked windows
API functions not present in io-layer.

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

19 years agoOSX fixes
Miguel de Icaza [Wed, 29 Jun 2005 20:49:34 +0000 (20:49 -0000)]
OSX fixes

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

19 years ago2005-06-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 29 Jun 2005 20:00:45 +0000 (20:00 -0000)]
2005-06-29  Sebastien Pouliot  <sebastien@ximian.com>

* X509CRL.cs: Fix the case where no entry are present in the CRL (as
the structure is optional).

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

19 years ago * UnixEnvironment: Add User, Login properties.
Jonathan Pryor [Wed, 29 Jun 2005 19:51:51 +0000 (19:51 -0000)]
  * UnixEnvironment: Add User, Login properties.
  * Syscall.cs: Add locking around cuserid, crypt, encrypt, getlogin.

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

19 years ago2005-06-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 29 Jun 2005 19:38:39 +0000 (19:38 -0000)]
2005-06-29  Ben Maurer  <bmaurer@ximian.com>

* Makefile (TEST_MCS_FLAGS): Remove bad dep on S.Data.

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

19 years ago2005-06-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 29 Jun 2005 19:36:50 +0000 (19:36 -0000)]
2005-06-29  Ben Maurer  <bmaurer@ximian.com>

* DataTableTest.cs: Add Gonz's test from corlib that should be here.

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

19 years ago2005-06-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 29 Jun 2005 17:44:33 +0000 (17:44 -0000)]
2005-06-29  Miguel de Icaza  <miguel@ximian.com>

* mkbundle.cs: Add support for OSX in the generated assembly
code.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 17:35:43 +0000 (17:35 -0000)]
2005-06-29  Atsushi Enomoto <atsushi@ximian.com>

* XmlConvert.cs : ToTimeSpan() should accept milliseconds (according
  to ISO 8601 and XSD datatypes 3.2.6.1).

* XmlConvertTests.cs : added timespan milliseconds testcase.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 16:41:02 +0000 (16:41 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

Updated referenced msdn page to msdn2.microsoft.com.

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

19 years ago2005-06-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 29 Jun 2005 15:19:12 +0000 (15:19 -0000)]
2005-06-29  Marek Safar  <marek.safar@seznam.cz>

The big error and warning messages review.

* anonymous.cs,
* assign.cs,
* attribute.cs,
* class.cs,
* codegen.cs,
* convert.cs,
* cs-parser.jay,
* cs-tokenizer.cs,
* decl.cs,
* delegate.cs,
* doc.cs,
* driver.cs,
* ecore.cs,
* enum.cs,
* expression.cs,
* flowanalysis.cs,
* iterators.cs,
* literal.cs,
* location.cs,
* modifiers.cs,
* namespace.cs,
* parameter.cs,
* pending.cs,
* report.cs,
* rootcontext.cs,
* statement.cs,
* support.cs,
* tree.cs,
* typemanager.cs: Updated.

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

19 years agoerror messages review
Marek Safar [Wed, 29 Jun 2005 14:55:08 +0000 (14:55 -0000)]
error messages review

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

19 years ago2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 29 Jun 2005 13:31:18 +0000 (13:31 -0000)]
2005-06-29  Sureshkumar T  <tsureshkumar@novell.com>

* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsInternalException.cs: Add ctor for InnerException.
* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs: Throw TdsInternalException rather than
  SocketException.
* System.Data/System.Data.SqlClient/SqlConnection.cs: Open (): catch TdsInternalException and throw
  SqlException.
* System.Data/System.Data.SqlClient/SqlException.cs: code re-organised to pass message as well with
  the exception.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 12:52:39 +0000 (12:52 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs,
* mono-tailoring-source.txt : removed extraneous level 4 sortkey
  which cannot be supported.
* SimpleCollator.cs : added GetContraction() and used in some places.
  Now CompareOptions is set only once. Reordered some code (e.g.
  ignorable check -> get compat char -> compare).

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

19 years ago * map.c: Handle Syslog-related changes (SyslogFacility isn't a
Jonathan Pryor [Wed, 29 Jun 2005 12:16:24 +0000 (12:16 -0000)]
* map.c: Handle Syslog-related changes (SyslogFacility isn't a
  [Flags] enum); make-map.exe changes.

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

19 years ago * Syscall.cs: SyslogFacility shouldn't be [Flags] either. Sigh.
Jonathan Pryor [Wed, 29 Jun 2005 12:13:45 +0000 (12:13 -0000)]
* Syscall.cs: SyslogFacility shouldn't be [Flags] either.  Sigh.
  Thanks to Vorobiev Maksim for pointing this out.
* make-map.cs: Don't generate conversion code for [Obsolete] enum members.
  This assumes that (1) the enum member's value is invalid, or (2) a
  corrected member with the same value exists.  This fix allows us to
  obsolete invalid members (instead of removing them) without screwing up
  the generated code -- consider LOG_USRE, the mis-spelling of LOG_USER.
  Since SyslogFacility was (incorrectly) a [Flags] enum, since both LOG_USER
  and LOG_USRE had the same value, we'd get a EINVAL error trying to convert
  a valid value, since LOG_USRE would exist, would be checked for, and the
  check would succeed (since it had the same value as LOG_USER).
  This change allows us to be slightly more permissive with versioning.

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

19 years agoFixed to pass after MS fix
Marek Safar [Wed, 29 Jun 2005 11:45:43 +0000 (11:45 -0000)]
Fixed to pass after MS fix

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

19 years agocorrection in test case
Manjula GHM [Wed, 29 Jun 2005 11:40:19 +0000 (11:40 -0000)]
correction in test case

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

19 years ago2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 29 Jun 2005 11:31:11 +0000 (11:31 -0000)]
2005-06-29  Sureshkumar T  <tsureshkumar@novell.com>

* ArithmeticExpressions.cs: Eval :if any one of the argument is
null for an operator, the result is also NULL.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 11:14:05 +0000 (11:14 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetReadXmlSchemaTest.cs : set [Category("InetAccess")]

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 10:59:11 +0000 (10:59 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : sort tailoring tables before actual usage.
  Support diacritical remappings (it is customized collation rule
  which does not exist in UCA).

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

19 years ago2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 29 Jun 2005 10:36:46 +0000 (10:36 -0000)]
2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>

* ControlBindingsCollection.cs
- Throws an exception on null datasource when adding
- Checks for duplicated bindings when adding

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 10:29:56 +0000 (10:29 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : build culture specific tailoring table from
  TailoringInfo and unified data array.
* create-mscompat-collation-table.cs : Added null termination to
  sortkey map tailorings (mostly to save my eyes).
* MSCompatUnicodeTable.template : added public TailoringValues.

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

19 years agoStandardize file-endings. Set svn:eol-style=native on LF-terminated files.
Raja R Harinath [Wed, 29 Jun 2005 09:50:30 +0000 (09:50 -0000)]
Standardize file-endings.  Set svn:eol-style=native on LF-terminated files.

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

19 years agoCorrection in test case
Manjula GHM [Wed, 29 Jun 2005 09:05:44 +0000 (09:05 -0000)]
Correction in test case

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

19 years agoFix csc error CS0234
Rafael Mizrahi [Wed, 29 Jun 2005 08:34:39 +0000 (08:34 -0000)]
Fix csc error CS0234

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

19 years ago2005-06-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 07:06:39 +0000 (07:06 -0000)]
2005-06-29  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c: Revert the last change as it seems to break the build.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 07:02:42 +0000 (07:02 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* SortKeyBuffer.cs : handle special weight (category 06) characters.
* Collation-notes.txt : Updated description on special weight (it was
  incorrect).
* TestDriver.cs : added special weight cases.

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

19 years agoTestcase from #75417
Raja R Harinath [Wed, 29 Jun 2005 06:39:48 +0000 (06:39 -0000)]
Testcase from #75417

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 06:02:57 +0000 (06:02 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (peephole_pass): Fix the loadi1/loadi2 rules.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 05:53:19 +0000 (05:53 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* MSCompatUnicodeTable.template : added GetTailoringInfo().
* SimpleCollator.cs : Now tailoring information is acquired and used.
  (FrenchSort is supported but Compare() won't work expectedly since
   the table is still incomplete for those diacritical marks).
* SortKeyBuffer.cs : On reversing diacritical weights, it should
  ignore zeros. Reset() should reset frenchSorted flag.

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 04:32:18 +0000 (04:32 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_cpu_init): Fix setting of fp precision in the VC build.

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

19 years ago * TreeView.cs (OnKeyDown): Support left and right properly
Jackson Harper [Wed, 29 Jun 2005 04:18:39 +0000 (04:18 -0000)]
    * TreeView.cs (OnKeyDown): Support left and right properly
        (navigates as well as expanding and collapsing.
        - Add support for Multiply, this expands all the selected nodes
        children.
        - Fix some tabbing.

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 03:41:11 +0000 (03:41 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* mono-compiler.h (trunc): Define this to be floor under win32.

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 03:08:12 +0000 (03:08 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am appdomain3.cs: Remove appdomain3 test, since it is a duplicate of appdomain-unload.

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 03:05:26 +0000 (03:05 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c (unload_thread_main): Mark this as WINAPI.

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

19 years agoFix
Miguel de Icaza [Wed, 29 Jun 2005 02:34:15 +0000 (02:34 -0000)]
Fix

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

19 years ago Add support for ADD and SUBTRACT (thanks peter).
Jackson Harper [Tue, 28 Jun 2005 23:19:50 +0000 (23:19 -0000)]
    Add support for ADD and SUBTRACT (thanks peter).

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

19 years agoOops, fix test case
Miguel de Icaza [Tue, 28 Jun 2005 22:59:55 +0000 (22:59 -0000)]
Oops, fix test case

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

19 years ago2005-06-28 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 28 Jun 2005 22:57:41 +0000 (22:57 -0000)]
2005-06-28  Miguel de Icaza  <miguel@novell.com>

* pending.cs: Do not define a proxy if the base method is virtual,
it will be picked up by the runtime (bug 75270).

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

19 years ago Add support for
Jackson Harper [Tue, 28 Jun 2005 22:56:18 +0000 (22:56 -0000)]
    Add support for
        toggling checkboxes with the space bar.

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

19 years ago2005-06-28 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 28 Jun 2005 22:54:26 +0000 (22:54 -0000)]
2005-06-28  Miguel de Icaza  <miguel@novell.com>

* pending.cs: Do not define a proxy if the base method is virtual,
it will be picked up by the runtime (bug 75270).

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

19 years agoAdd
Miguel de Icaza [Tue, 28 Jun 2005 22:53:58 +0000 (22:53 -0000)]
Add

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

19 years ago * TreeView.cs: Implement keyboard navigation, currently supports,
Jackson Harper [Tue, 28 Jun 2005 22:40:40 +0000 (22:40 -0000)]
    * TreeView.cs: Implement keyboard navigation, currently supports,
        LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END.

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

19 years ago * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
Jackson Harper [Tue, 28 Jun 2005 21:16:55 +0000 (21:16 -0000)]
    * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
        tree.

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

19 years ago2005-06-28 Elliott Draper <el@eldiablo.co.uk>
Ben Maurer [Tue, 28 Jun 2005 20:44:00 +0000 (20:44 -0000)]
2005-06-28  Elliott Draper  <el@eldiablo.co.uk>

* Activator.cs: This implements the generic Activator.CreateInstance<T>()
function for NET_2_0. It's full signature is:
public static T CreateInstance<T>();

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

19 years ago2005-06-28 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 28 Jun 2005 20:39:06 +0000 (20:39 -0000)]
2005-06-28  Ben Maurer  <bmaurer@ximian.com>

* MutexTest.cs: Re-enable the mutex tests. They seem to work for
me now when I ran them in a loop on the smp box.

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

19 years agoThis is an internal class
Miguel de Icaza [Tue, 28 Jun 2005 20:31:10 +0000 (20:31 -0000)]
This is an internal class

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

19 years ago* CodeGeneratorFromTypeTest.cs: Added additional property tests.
Gert Driesen [Tue, 28 Jun 2005 20:27:55 +0000 (20:27 -0000)]
* CodeGeneratorFromTypeTest.cs: Added additional property tests.
* CodeGenerator.cs: On 2.0 profile, internal members are also marked
virtual. Fixed access modifier for FamilyAndAssembly to match MS.NET.

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

19 years ago2005-06-27 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 28 Jun 2005 20:26:29 +0000 (20:26 -0000)]
2005-06-27  Ben Maurer  <bmaurer@ximian.com>

* mini.c (NEW_AOTCONST): make sure to call mono_get_got_var
outside of the macro, so strange stuff doesn't happen with gcc4
(NEW_AOTCONST_TOKEN): Likewise.

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

19 years ago2005-06-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Jun 2005 20:03:49 +0000 (20:03 -0000)]
2005-06-28  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Further fixes on Jamo,
  diacritical weights by character name, and *Numbers primary weights.

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

19 years ago Add missing event.
Jackson Harper [Tue, 28 Jun 2005 19:48:32 +0000 (19:48 -0000)]
    Add missing event.

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