mono.git
19 years ago2005-01-10 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Mon, 10 Jan 2005 11:43:46 +0000 (11:43 -0000)]
2005-01-10  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcDataReader.cs: Connection has to be closed only after
Statement handle is freed. fixes bug #70048.

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

19 years agoMon Jan 10 12:06:18 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 10 Jan 2005 10:58:18 +0000 (10:58 -0000)]
Mon Jan 10 12:06:18 CET 2005 Paolo Molaro <lupus@ximian.com>

* process.c, verify.c: remove some bloat.

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

19 years agoMon Jan 10 05:20:49 EST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 10 Jan 2005 10:11:06 +0000 (10:11 -0000)]
Mon Jan 10 05:20:49 EST 2005 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: better icache flush for smp.

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

19 years ago- Band-aid for resize startup problems
Peter Dennis Bartok [Mon, 10 Jan 2005 10:10:48 +0000 (10:10 -0000)]
- Band-aid for resize startup problems

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

19 years ago2005-01-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 10 Jan 2005 09:00:05 +0000 (09:00 -0000)]
2005-01-10 Marek Safar <marek.safar@seznam.cz>

* cs0612-2.cs, CS0612-2-lib.cs: Bug #70722.

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

19 years ago2005-01-10 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Mon, 10 Jan 2005 08:58:42 +0000 (08:58 -0000)]
2005-01-10  Nick Drochak  <ndrochak@ieee.org>

* XmlWriterTests.cs: Fix build warnings.
* XmlReaderCommonTests.cs: Make tests pass on Fx1.1.  XmlNodeReader
has different default attributes it seems.

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

19 years ago * SizeGrip.cs: New internal class that is used as a sizing
Jackson Harper [Mon, 10 Jan 2005 08:57:28 +0000 (08:57 -0000)]
* SizeGrip.cs: New internal class that is used as a sizing
grip control...hence the name.

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

19 years ago2005-01-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 10 Jan 2005 08:56:06 +0000 (08:56 -0000)]
2005-01-10  Marek Safar <marek.safar@seznam.cz>

* test-333.cs: New test for #70722.

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

19 years ago2005-01-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 10 Jan 2005 08:54:42 +0000 (08:54 -0000)]
2005-01-10  Marek Safar  <marek.safar@seznam.cz>

Fix #71058
* attribute.cs (GetMethodObsoleteAttribute): Need to transform
accessors to its properties.

* ecore.cs (PropertyExpr): Add AccessorTable to help track back
from accessors to property.

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

19 years ago2005-01-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 10 Jan 2005 08:22:12 +0000 (08:22 -0000)]
2005-01-10  Marek Safar  <marek.safar@seznam.cz>

Fix #70722
* class.cs (MethodCore.CheckBase): Test base method obsoleteness
only for overrides.

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

19 years ago- Implemented proper TabIndex handling for Control
Peter Dennis Bartok [Mon, 10 Jan 2005 07:57:27 +0000 (07:57 -0000)]
- Implemented proper TabIndex handling for Control
- Added container bit to GroupBox

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

19 years ago2005-01-10 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Mon, 10 Jan 2005 07:09:02 +0000 (07:09 -0000)]
2005-01-10  Nick Drochak  <ndrochak@ieee.org>

* IPAddressTest.cs: Make tests pass on Fx1.1

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

19 years ago2005-01-10 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Mon, 10 Jan 2005 05:13:18 +0000 (05:13 -0000)]
2005-01-10  Daniel Morgan <danielmorgan@verizon.net>

* Mono.Data.SybaseClient/SybaseConnection.cs: fix
for packetSize not being set.  Fixes bug 70930
Thanks to sebastien.robitaille@croesus.com (Sebastien Robitaille)
for reporting this bug.

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

19 years agoAdded new files
Manjula GHM [Mon, 10 Jan 2005 04:27:41 +0000 (04:27 -0000)]
Added new files

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

19 years ago2005-01-09 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Mon, 10 Jan 2005 03:35:25 +0000 (03:35 -0000)]
2005-01-09  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleCommand.cs: set Command
property on OciStatementHandle

* System.Data.OracleClient/OracleConnection.cs: implement
properties ServerVersion and DataSource, partially
implement method ICloneable Clone, implement
connection StateChange and InfoMessage events

* System.Data.OracleClient/OciGlue.cs: add internal properties
for OciSessionHandle and OciServerHandle

* System.Data.OracleClient/OracleInfoMessageEventArgs.cs:
implement

* Test/TestOracleClient.cs: add new tests

* System.Data.OracleClient.Oci/OciStatementHandle.cs:
- add property for OracleCommand
- patch from Joost Evertse <j.evertse@cloudseven.nl>
  for handling OCI_SUCCES_WITH_INFO during Fetch which
  indicates a Warning info message

* System.Data.OracleClient.Oci/OciCalls.cs: added OCI call
OCIServerVersion

* System.Data.OracleClient.Oci/OciDefineHandle.cs: flush

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

19 years ago2005-01-10 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Mon, 10 Jan 2005 02:28:48 +0000 (02:28 -0000)]
2005-01-10  Nick Drochak  <ndrochak@ieee.org>

* SocketPermissionAttributeTest.cs: Do not run tests on .NET where there
are bugs in the framework.
* WebPermissionAttributeTest.cs: Assuming these all pass on Fx2.0, so
make them pass on 1.1 too.

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

19 years ago2005-01-10 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Mon, 10 Jan 2005 00:56:04 +0000 (00:56 -0000)]
2005-01-10  Nick Drochak  <ndrochak@ieee.org>

* ConvertTest.cs: Test for exception thrown by 1.1. This is different
than the MSDN docs say.  Probably a doc bug.

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

19 years ago * TextBoxBase.cs: Clear window when scrolling (fixes build).
Jackson Harper [Mon, 10 Jan 2005 00:36:02 +0000 (00:36 -0000)]
* TextBoxBase.cs: Clear window when scrolling (fixes build).

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

19 years ago- Added ability to control ScrollWindow expose
Peter Dennis Bartok [Sun, 9 Jan 2005 23:19:31 +0000 (23:19 -0000)]
- Added ability to control ScrollWindow expose
- Added overload for ScrollWindow to allow only scrolling a rectangle
- Added Form methods

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

19 years agoAdd new unit tests for System.Security's HostSecurityManager and PermissionSetCollect...
Sebastien Pouliot [Sun, 9 Jan 2005 23:17:51 +0000 (23:17 -0000)]
Add new unit tests for System.Security's HostSecurityManager and PermissionSetCollection classes

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

19 years ago2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 9 Jan 2005 23:16:10 +0000 (23:16 -0000)]
2005-01-09  Sebastien Pouliot  <sebastien@ximian.com>

* HostSecurityManagerTest.cs: New. Unit tests for HostSecurityManager.
* PermissionSetCollectionTest.cs: New. Unit tests for PermissionSet
Collection.

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

19 years ago2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 9 Jan 2005 23:06:21 +0000 (23:06 -0000)]
2005-01-09  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs: CheckAssert, CheckDemand, CheckDeny and
CheckPermitOnly are no more publicly avaiable in Fx 2.0 and have been
changed to internal for all profiles. Updated comments to reflect the
(better) documentation available with 2.0.
* HostSecurityManager.cs: Updated to Dec CTP specs. There is missing
documentation (and/or classes) to implement completly the
DetermineApplicationTrust method at this point.
* PermissionSetCollection.cs: Completed implementation.
* PermissionSet.cs: Fix the case where Assert, Deny and PermitOnly
must be ignored for non-CAS permissions.
* SecurityManager.cs: Refactored resolve methods to implements
ResolveSystemPolicy (a resolve without the AppDomain policy level).
Added a default implementation for GetZoneAndOrigin (empty ArrayList)
which seems to be right (at least) for FullTrust.

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

19 years ago2005-01-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 9 Jan 2005 19:50:59 +0000 (19:50 -0000)]
2005-01-09  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): If we found the function without name mangling, change
the calling convention to cdecl under win32.

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

19 years agoOops, the test was wrong
Miguel de Icaza [Sun, 9 Jan 2005 19:01:32 +0000 (19:01 -0000)]
Oops, the test was wrong

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

19 years ago2005-01-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 9 Jan 2005 17:12:14 +0000 (17:12 -0000)]
2005-01-09  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (emit_move_return_value): Fix memory leak.

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

19 years ago2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 9 Jan 2005 17:07:57 +0000 (17:07 -0000)]
2005-01-09  Sebastien Pouliot  <sebastien@ximian.com>

* DateTime.cs: Reverted last patch for utc as it broke all certificate
handling and another unit test in DateTime.

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

19 years ago2005-01-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 9 Jan 2005 14:26:13 +0000 (14:26 -0000)]
2005-01-09  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (get_call_info): Add the get_call_info () code from the
amd64 port, not yet used.

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

19 years ago2005-01-08 John Luke <john.luke@gmail.com>
John Luke [Sun, 9 Jan 2005 06:19:21 +0000 (06:19 -0000)]
2005-01-08  John Luke  <john.luke@gmail.com>

        * monop.cs: use Options class
        add a little print-runtime option
        (PrintTypes): respect --private option
        * options.cs: split out option parsing and improve it
        (simpler, order independent, less prone to crash)

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

19 years ago2004-01-08 Sebastien Pouliot <sebastien@ximian.com>
Miguel de Icaza [Sun, 9 Jan 2005 06:16:43 +0000 (06:16 -0000)]
2004-01-08  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Added System.Security/SecurityCriticalAttribute
and SecurityTransparentAttribute (2.0) to the build.

2004-01-05  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Removed System.Security.Permissions/
DataProtectionPermission.cs, DataProtectionPermissionAttribute.cs and

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

19 years ago2005-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 9 Jan 2005 02:09:54 +0000 (02:09 -0000)]
2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* Int32Test.cs: Add a couple of new formatting tests.

2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* IntegerFormatter.cs: The - sign inside the "negative" section in
a multi-format string means `show the sign' only if it is the
first token, not `copy verbatim'.  In the other sections it means
`copy-verbatim'.

This makes things like:  (-34).ToString ("#;-#") show up as "-34"
instead of "--34".

The bad news is that this code needs to be rewritten to handle all
the formatting cases, see bug #71112 for details.

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

19 years ago2005-01-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 9 Jan 2005 01:59:55 +0000 (01:59 -0000)]
2005-01-08  Ben Maurer  <bmaurer@ximian.com>

* object.c (mono_object_get_size): New function to get the size of
an object instance.

* profiler.c (simple_allocation): Use above.

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

19 years ago * BitConverter.cs: The "special support" for ToString(new byte[0]) is
Sebastien Pouliot [Sun, 9 Jan 2005 00:49:48 +0000 (00:49 -0000)]
* BitConverter.cs: The "special support" for ToString(new byte[0]) is
only for NET_2_0 - previously this was an ArgumentOutOfRangeException.

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

19 years ago * BitConverterTest.cs: Exception thrown only for 1.0/1.1 - an empty
Sebastien Pouliot [Sun, 9 Jan 2005 00:46:25 +0000 (00:46 -0000)]
* BitConverterTest.cs: Exception thrown only for 1.0/1.1 - an empty
string is returned in 2.0.

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

19 years ago2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 9 Jan 2005 00:34:09 +0000 (00:34 -0000)]
2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomainTest.cs: Un-ignore tests that unloaded the appdomain (they
previously displayed a lot of GC warnings). SetAppDomainPolicy_Dual is
fixed (i.e. it throws the excepted exception) in 2.0 (Dec CTP).

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

19 years ago2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 9 Jan 2005 00:22:21 +0000 (00:22 -0000)]
2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomain.cs: Fix the DefaultDomain property to return the root
domain (as it seems that the root's Id isn't always 0).

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

19 years ago2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 9 Jan 2005 00:21:23 +0000 (00:21 -0000)]
2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>

* appdomain.c: Replaced ves_icall_System_AppDomain_getDomainByID by
ves_icall_System_AppDomain_getRootDomain (as it's not required to
get an appdomain by it's id and we can't assume the root's id is 0).
* domain-internals.h: Change the function prototype to match.
* icall.c: Change the icall table for AppDomain.

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

19 years ago2005-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 9 Jan 2005 00:00:16 +0000 (00:00 -0000)]
2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* Convert.cs (Convert.ToType): Throw an InvalidCastException if
the conversion is invalid, not ArgumentException, this fixes
another regression in our test suite.

Add a couple more -nowarns to the Makefile for the test suite (many unused
variables there).

Add some comments to the tests;  Fix build.

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

19 years ago2005-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 8 Jan 2005 23:45:34 +0000 (23:45 -0000)]
2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* locales.c (string_invariant_compare_char): Only compute
GUnicodeTypes in the case where we need them.  Test for ordinality
first and return if so.

From the commit:

/*
 * FIXME: here we must use the information from c1type and c2type
 * to find out the proper collation, even on the InvariantCulture, the
 * sorting is not done by computing the unicode values, but their
 * actual sort order.
 */

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

19 years ago2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 8 Jan 2005 22:32:06 +0000 (22:32 -0000)]
2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>

* TripleDESTest.cs: Testing weak key with null throws a NRE.

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

19 years agoAdd SecurityCriticalAttribute and SecurityTransparentAttribute to the NET_2_0 profile
Sebastien Pouliot [Sat, 8 Jan 2005 22:30:37 +0000 (22:30 -0000)]
Add SecurityCriticalAttribute and SecurityTransparentAttribute to the NET_2_0 profile

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

19 years ago2005-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 8 Jan 2005 22:30:37 +0000 (22:30 -0000)]
2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* BitConverterTest.cs: There is no exception thrown in .NET here.
Fixes an false negative.

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

19 years ago2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 8 Jan 2005 22:25:21 +0000 (22:25 -0000)]
2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>

* AllowPartiallyTrustedCallersAttribute.cs: Cleanup;
* HostSecurityManagerFlags.cs: Updated flags for 2.0 Dec CTP.
* SecurityCriticalAttribute.cs: New. New 2.0 attribute.
* SecurityTransparentAttribute.cs: New. New 2.0 attribute.
* SuppressUnmanagedCodeSecurityAttribute.cs: Cleanup;

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

19 years ago2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 8 Jan 2005 22:24:14 +0000 (22:24 -0000)]
2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomain.cs: Add ApplicationIdentity property for 2.0;
* AppDomainManager.cs: Remove HostRefusedSet support (it does not
exists anymore).

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

19 years ago2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 8 Jan 2005 20:29:02 +0000 (20:29 -0000)]
2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSetAttributeTest.cs: Added unit tests for Hex property.

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

19 years ago2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 8 Jan 2005 20:26:20 +0000 (20:26 -0000)]
2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSetAttribute.cs: Implemented Hex property (2.0) now that
it is documented.
* RegistryPermission.cs: Added text to MonoTODO, i.e. lack of access
control support.
* KeyContainerPermissionFlags.cs: Fixed values for ViewAcl and
ChangeAcl (a hole as been left). This also corrects AllFlags.

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

19 years ago * TreeView.cs: Only set the vbar's Maximum and LargeChange when
Jackson Harper [Sat, 8 Jan 2005 20:03:53 +0000 (20:03 -0000)]
* TreeView.cs: Only set the vbar's Maximum and LargeChange when
the node count has changed, this removes to VScroll::Refresh calls
when drawing.

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

19 years ago2005-01-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 8 Jan 2005 19:32:03 +0000 (19:32 -0000)]
2005-01-08  Zoltan Varga  <vargaz@freemail.hu>

* DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
initialization problems.

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

19 years agoFix build
Miguel de Icaza [Sat, 8 Jan 2005 18:42:38 +0000 (18:42 -0000)]
Fix build

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

19 years agoSat Jan 8 19:03:26 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 8 Jan 2005 17:57:13 +0000 (17:57 -0000)]
Sat Jan 8 19:03:26 CET 2005 Paolo Molaro <lupus@ximian.com>

* loader.c: for P/Invoke methods, allow the "Internal" shared
library name to refer to the calling process symbol namespace.

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

19 years agoFix coding style
Miguel de Icaza [Sat, 8 Jan 2005 17:54:46 +0000 (17:54 -0000)]
Fix coding style

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

19 years ago2005-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 8 Jan 2005 17:54:30 +0000 (17:54 -0000)]
2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs: Check for null and empty strings.

I have lost another battle to Paolo.

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

19 years agoNew errors
Miguel de Icaza [Sat, 8 Jan 2005 17:54:02 +0000 (17:54 -0000)]
New errors

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

19 years agoAdded documentation for the new --security option
Sebastien Pouliot [Sat, 8 Jan 2005 15:24:46 +0000 (15:24 -0000)]
Added documentation for the new --security option

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

19 years ago2005-01-08 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sat, 8 Jan 2005 13:08:44 +0000 (13:08 -0000)]
2005-01-08  Nick Drochak  <ndrochak@ieee.org>

* EventLogPermissionTest.cs
* PerformanceCounterPermissionTest.cs: Make tests pass on MS.NET.

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

19 years ago2005-01-08 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sat, 8 Jan 2005 08:31:02 +0000 (08:31 -0000)]
2005-01-08  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Fix GetWindowState & SetWindowState

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

19 years ago2005-01-08 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sat, 8 Jan 2005 07:50:41 +0000 (07:50 -0000)]
2005-01-08  Nick Drochak  <ndrochak@ieee.org>

* System_test_default.dll.config: Needed for tests to pass. Test dll name was changed.

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

19 years ago2005-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 8 Jan 2005 06:21:04 +0000 (06:21 -0000)]
2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* syntax.cs: Applied patch from mei@work.email.ne.jp to fix bug
#71077.

* parser.cs: Turns out that \digit sequences are octal sequences
(no leading zero is needed);  And the three octal digit rule
applies to the leading zero as well.

This fixes the Unescape method.

2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* RegexBugs.cs: Add new test.

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

19 years ago * TreeNode.cs: Just update the single node when it is
Jackson Harper [Sat, 8 Jan 2005 04:53:06 +0000 (04:53 -0000)]
* TreeNode.cs: Just update the single node when it is
checked. Don't refresh after toggling, the Expand/Collapse already
handles this.
* TreeView.cs: Respect clipping a little more when drawing. Try
not to redraw things that don't need to be redrawn. Just hide the
scrollbars when they are no longer needed instead of removing
them, so they don't have to be created again and again.

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

19 years ago2005-01-07 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sat, 8 Jan 2005 04:22:44 +0000 (04:22 -0000)]
2005-01-07  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
        coordinates to window space to place the caret properly, FIXED.
        Implement GetWindowState & SetWindowState

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

19 years ago2005-01-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Jan 2005 22:17:02 +0000 (22:17 -0000)]
2005-01-07  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Disable inlining of ldfld wrappers with
a struct type.

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

19 years ago2005-01-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 7 Jan 2005 21:07:59 +0000 (21:07 -0000)]
2005-01-07  Sebastien Pouliot  <sebastien@ximian.com>

* driver.c: Added --security option to activate the security manager.
Right now this will allow code generation for declarative demands and
is disabled when AOT is specified.
* mini.c: Add code generation for declarative security demands.
* mini.h: Add mono_use_security_manager as an extern gboolean.

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

19 years ago2005-01-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 7 Jan 2005 21:04:38 +0000 (21:04 -0000)]
2005-01-07  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Add the security manager to the build.
* security-manager.c|h: New. Initialization of the security manager.

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

19 years ago2005-01-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Jan 2005 18:57:41 +0000 (18:57 -0000)]
2005-01-07  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_compile_assembly): Speed up compilation a bit by
emitting more dense assembly code.

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

19 years ago2005-01-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Jan 2005 16:38:33 +0000 (16:38 -0000)]
2005-01-07  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c mini-sparc.h exceptions-sparc.c: Enable optimized corlib
exception throwing stuff.

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

19 years ago2005-01-08 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Fri, 7 Jan 2005 15:42:31 +0000 (15:42 -0000)]
2005-01-08  Nick Drochak  <ndrochak@ieee.org>

* TypeDescriptorTests.cs:
* System.ComponentModel/ChangeLog
* System.ComponentModel/TypeDescriptorTests.cs
* System.Net.Sockets/ChangeLog
* System.Net.Sockets/SocketTest.cs
* System.Text.RegularExpressions/ChangeLog
* System.Text.RegularExpressions/RegexTest.cs
* System/ChangeLog
* System/UriTest.cs
* System/UriTest2.cs: Fix/Ignore tests for MS.NET

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

19 years ago2005-01-07 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 7 Jan 2005 15:01:01 +0000 (15:01 -0000)]
2005-01-07  Dick Porter  <dick@ximian.com>

        * threads.c:
        * monitor.c: Update thread state during Monitor and WaitHandle
        waits.  Fixes bug 71031.

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

19 years ago2005-01-07 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 7 Jan 2005 13:57:47 +0000 (13:57 -0000)]
2005-01-07 Marek Safar <marek.safar@seznam.cz>

* cs0102-14.cs: Bug #70942.

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

19 years ago2005-01-07 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 7 Jan 2005 13:48:52 +0000 (13:48 -0000)]
2005-01-07  Marek Safar  <marek.safar@seznam.cz>

Fix #70942
* class.cs (PropertyMethod): Set Parent field in ctors.
(SetMethod.InternalParameters): Add unsafe switch hack.
Override MarkForDuplicationCheck where it is appropriate.

* decl.cs (MemberCore.MarkForDuplicationCheck): New method.
It says whether container allows members with the same name.
Base default is no.
(DeclSpace.AddToContainer): Use MarkForDuplicationCheck.
Removed is_method parameter.

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

19 years ago2005-01-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Jan 2005 13:47:26 +0000 (13:47 -0000)]
2005-01-07  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (property_encode_signature): Correctly handle when the
property has no methods.

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

19 years ago2005-01-07 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 7 Jan 2005 11:23:03 +0000 (11:23 -0000)]
2005-01-07  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcDataReader.cs: Pass OdbcCType.SignedBigInt for accessing big
int columns.

* OdbcType.cs: Added a new enum for Odbc C DataTypes. This should
essentially be passed to drivers, since the public OdbcType types
differs from types expected in drivers in some cases.

* libodbc.cs : Added a ODBC method which takes OdbcCType
enumeration for SQLGetData for BigInt fields.

fixes bug #65342.

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

19 years agoAdded new files
Manjula GHM [Fri, 7 Jan 2005 11:11:53 +0000 (11:11 -0000)]
Added new files

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

19 years agosvn path=/trunk/mcs/; revision=38482
Manjula GHM [Fri, 7 Jan 2005 11:03:11 +0000 (11:03 -0000)]
svn path=/trunk/mcs/; revision=38482

19 years agoremove svn:executable property from *.vb
Raja R Harinath [Fri, 7 Jan 2005 11:00:13 +0000 (11:00 -0000)]
remove svn:executable property from *.vb

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

19 years agoAdded new files
Manjula GHM [Fri, 7 Jan 2005 10:52:09 +0000 (10:52 -0000)]
Added new files

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

19 years agosvn path=/trunk/mcs/; revision=38479
Manjula GHM [Fri, 7 Jan 2005 10:46:16 +0000 (10:46 -0000)]
svn path=/trunk/mcs/; revision=38479

19 years ago2005-01-06 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 7 Jan 2005 10:29:25 +0000 (10:29 -0000)]
2005-01-06  Duncan Mak  <duncan@ximian.com>

* cs-tokenizer.cs (xtoken): Redo the work for signaling CS1040
because the previous change led to incorrect reporting of CS1032
("Cannot define/undefine preprocessor symbols after first token in
file"). Instead of using `tokens_seen' as the only flag that
triggers CS1040, introduce `comments_seen'. This new flag is used
to signify having seen comments on the current line, so it is
unset after a newline.

* test-332.cs: New test for tracking #56460.

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

19 years ago- Implemented ClientSize property
Peter Dennis Bartok [Fri, 7 Jan 2005 08:30:32 +0000 (08:30 -0000)]
- Implemented ClientSize property
- Implemented DesktopBounds property
- Implemented DesktopLocation property
- Implemented IsRestrictedWindow property
- Implemented Size property
- Implemented TopLevel property
- Implemented FormWindowState property
- Implemented GetTopLevel() method
- Implemented SetTopLevel() method
- Added AnyPropertyType definition
- Added MapState definiton and updated XWindowAttribute struct
- Added GetWindowState() and SetWindowState() methods
- Now uses Foreground color for text added via Text property (Duh!)
- Added AutoSize logic
- Added code to remember programmatically requested size (fixes behaviour
  when Multiline is set after Size)

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

19 years ago * Tds70.cs :
Sureshkumar T [Fri, 7 Jan 2005 08:26:07 +0000 (08:26 -0000)]
* Tds70.cs :
- add a special case for datetime parameters to convert to
invariant culture. fixes bug #70209.
- change format to MMM dd yyyy, this works for both client locale
change and server login locale change. fixes bug #66564.

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

19 years ago* IMembershipCondition.cs (Equals,ToString): Disable when building
Raja R Harinath [Fri, 7 Jan 2005 08:23:45 +0000 (08:23 -0000)]
* IMembershipCondition.cs (Equals,ToString): Disable when building
with older mcs.

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

19 years ago2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Jan 2005 07:37:08 +0000 (07:37 -0000)]
2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDataInferenceLoader.cs : test driver class should be excluded.

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

19 years ago2005-01-07 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 7 Jan 2005 04:55:31 +0000 (04:55 -0000)]
2005-01-07  Sureshkumar T  <tsureshkumar@novell.com>

* Tds70.cs : add a special case for datetime parameters to convert
to invariant culture. fixes bug #70209.

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

19 years ago * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
Jackson Harper [Fri, 7 Jan 2005 01:59:21 +0000 (01:59 -0000)]
* TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.

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

19 years ago2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jan 2005 22:38:58 +0000 (22:38 -0000)]
2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>

* desweak.cs: Add test to check for regression of the bug seen in
rev 38316. The original code that failed is no more part of the
class library.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 22:00:44 +0000 (22:00 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_emit_exceptions): Fix typo in previous patch. Remove
dead code.

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

19 years ago * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
Jackson Harper [Thu, 6 Jan 2005 21:35:25 +0000 (21:35 -0000)]
* ListBox.cs: Don't allow the horizontal scrollbars maximum to be
set to less then 0.

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

19 years ago#define after token
Alexandre Gomes [Thu, 6 Jan 2005 21:13:43 +0000 (21:13 -0000)]
#define after token

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

19 years ago * ScrollableControl.cs: Lazy init the scrollbars.
Jackson Harper [Thu, 6 Jan 2005 20:29:20 +0000 (20:29 -0000)]
* ScrollableControl.cs: Lazy init the scrollbars.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 19:54:41 +0000 (19:54 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (reflection_methodbuilder_to_mono_method): Remove debug stuff.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 19:50:33 +0000 (19:50 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (reflection_methodbuilder_from_method_builder): Copy
fields from mb, not rmb. Fixes #71017.

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

19 years ago2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jan 2005 19:48:37 +0000 (19:48 -0000)]
2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>

* PublisherIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
* SiteIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
* StrongNameIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
* UrlIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.

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

19 years ago * Theme.cs: Speed up getting pens and solid brushes, by using
Jackson Harper [Thu, 6 Jan 2005 19:48:06 +0000 (19:48 -0000)]
* Theme.cs: Speed up getting pens and solid brushes, by using
their ARGB as a hash instead of tostring and not calling Contains.

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

19 years ago2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jan 2005 19:16:22 +0000 (19:16 -0000)]
2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>

* DESTest.cs: Updated weak key and semi-weak key tests with more
exhaustive versions.
* TripleDESTest.cs: Added tests when including a DES weak key into
a 2DES or 3DES key.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 19:05:19 +0000 (19:05 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_emit_exceptions): Remove duplicate epilog stuff
left in by mistake.

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

19 years ago2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jan 2005 19:04:49 +0000 (19:04 -0000)]
2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>

* DES.cs: Change wek and semi-weak key checking to avoid memory
allocations. Old version required 2 allocations (weak+semiweak) to
unpack the key. New versions are 16x-20x faster.
*  RijndaelManaged.cs: Removed unrequired "& 0xff" when casting to
byte.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 18:57:21 +0000 (18:57 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c: Fix blittable_struct_delegate test.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 18:53:00 +0000 (18:53 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* driver.c (EXCLUDED_FROM_ALL): Disable SSAPRE until bug #70637 is
fixed.

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

19 years agodelete unused variable
César Natarén [Thu, 6 Jan 2005 18:33:33 +0000 (18:33 -0000)]
delete unused variable

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

19 years agoadd ctr's
César Natarén [Thu, 6 Jan 2005 18:31:02 +0000 (18:31 -0000)]
add ctr's

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

19 years agoadd interna ClassName property
César Natarén [Thu, 6 Jan 2005 18:28:04 +0000 (18:28 -0000)]
add interna ClassName property

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

19 years ago2005-01-06 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Jan 2005 18:24:22 +0000 (18:24 -0000)]
2005-01-06  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* BooleanObject.cs: implement ctr's.

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