mono.git
18 years ago2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jul 2005 16:10:21 +0000 (16:10 -0000)]
2005-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : (unsafeFlags) be compact ;-)

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

18 years ago2005-07-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Jul 2005 16:09:48 +0000 (16:09 -0000)]
2005-07-26  Zoltan Varga  <vargaz@freemail.hu>

* corlib.dll.sources: Add System/StringSplitOptions.cs and System/MidpointRounding.cs.

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

18 years ago2005-07-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Jul 2005 16:08:01 +0000 (16:08 -0000)]
2005-07-26  Zoltan Varga  <vargaz@freemail.hu>

* StringSplitOptions.cs MidpointRounding.cs: New files.

* String.cs Math.cs: Add stubs for some new 2.0 APIs.

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

18 years ago2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jul 2005 15:16:53 +0000 (15:16 -0000)]
2005-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : When the tail of the target does not match more
  than 3 times, then IsSuffix() will never be true (3 is the max
  length of an expansion; \uFB03 -> ffi). It brings significant
  performance boost when "source" string is very long.
* MSCompatUnicodeTable.cs : added MaxExpansionLength constant.
  Reordered code lines.

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

18 years ago2005-07-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Jul 2005 15:05:24 +0000 (15:05 -0000)]
2005-07-26  Martin Baulig  <martin@ximian.com>

Committing a patch from Michal Moskal <michal.moskal@gmail.com>.

* mini.c (mono_method_to_ir): In `CEE_CALLI', only use
helper_compile_generic_method() if the method is actually virtual
and non-final.

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

18 years ago2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Jul 2005 14:39:51 +0000 (14:39 -0000)]
2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: the init_vector must be the same accross
restarts, otherwise the cookie does not work even when a decryption
key is provided. Initialize it to the bytes of the cookie name. Fixes
bug #75635.

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

18 years ago2005-07-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Jul 2005 13:50:49 +0000 (13:50 -0000)]
2005-07-26  Martin Baulig  <martin@ximian.com>

* mono-debug.c (mono_debug_add_wrapper): New static method.
(mono_debug_add_method): Call mono_debug_add_wrapper() if we're an
interncall or a wrapper.

* mono-debug.h (MonoDebugWrapperData): New public typedef.
(MonoDebugDataItemType): Added `MONO_DEBUG_DATA_ITEM_WRAPPER'.
(MONO_DEBUGGER_VERSION): Bump to 51.

* mono-debug-debugger.c
(mono_debugger_add_type): Removed this empty function.
(mono_debugger_add_method): Likewise.

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

18 years ago2005-07-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Jul 2005 13:50:22 +0000 (13:50 -0000)]
2005-07-26  Martin Baulig  <martin@ximian.com>

* mini.c
(trampoline_code): Renamed to `mono_trampoline_code' and made it
public; this is now accessed directly by the debugger.
(mono_generic_trampoline_code): Removed.

* debug-mini.c
(mono_debug_init_method): Also add interncalls and wrappers.

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

18 years ago* typemanager.cs (TypeManager): Change types of system_*_expr from Expression
Ankit Jain [Tue, 26 Jul 2005 11:51:38 +0000 (11:51 -0000)]
* typemanager.cs (TypeManager): Change types of system_*_expr from Expression
  to TypeExpr.
  (TypeToCoreTypExpr): New.
* ecore.cs (DecoratedIdentifier): New. For an identifier with a typecharacter.
* mb-tokenizer.cs: Allow type characters for numbers.
* constant.cs (IntConstant.ConvertToDecimal): New.
  (DoubleConstant.ConvertToFloat): Return FloatConstant.
  (DoubleConstant.ConvertToDecimal): New.
* mb-parser.jay (type_character): Return Type instead of TypeExpr.
  (primary_expression): Add 'literal type_character' variant.
   (qualified_identifier) : Use DecoratedIdentifier in case of a typecharacter.
  (ConvertLiteral): New. Convert literal to a different type.

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

18 years agoIn mcs:
Raja R Harinath [Tue, 26 Jul 2005 11:47:05 +0000 (11:47 -0000)]
In mcs:
Fix #75628.
* class.cs (Constructor.Emit): Reset block to null if the block
resolve fails.

In errors:
* cs0246-12.cs: New test from #75628.

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

18 years agoRe-indent a couple of paras.
Raja R Harinath [Tue, 26 Jul 2005 11:46:12 +0000 (11:46 -0000)]
Re-indent a couple of paras.

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

18 years ago2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jul 2005 11:04:31 +0000 (11:04 -0000)]
2005-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* Collation-notes.txt : updated implementation status.

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

18 years ago2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jul 2005 10:50:38 +0000 (10:50 -0000)]
2005-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : Implemented quick codepoint comparison in
  Compare(). Comparison became 125x faster.
* mono-tailoring-source.txt : added tiny comment.

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

18 years ago* executable.make, library.make: Use unix-style commandline options.
Raja R Harinath [Tue, 26 Jul 2005 09:53:24 +0000 (09:53 -0000)]
* executable.make, library.make: Use unix-style commandline options.
* profiles/basic.make (FRAMEWORK_VERSION): Set.
* profiles/net_1_1_bootstrap.make (FRAMEWORK_VERSION): Likewise.

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

18 years ago2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jul 2005 08:03:08 +0000 (08:03 -0000)]
2005-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* mono-tailoring-source.txt : Added all single sortkey remapping to
  all cultures (still need to fill contractions and annotate possible
  buggy mapping referencing to CLDR).
* SimpleCollator.cs : removed unused code.
* MSCompatUnicodeTable.cs : tiny cast removal.

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

18 years ago* Makefile: Minor re-org for better readability. Remove an outdated comment.
Raja R Harinath [Tue, 26 Jul 2005 07:55:05 +0000 (07:55 -0000)]
* Makefile: Minor re-org for better readability.  Remove an outdated comment.

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

18 years ago2005-07-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 26 Jul 2005 07:52:08 +0000 (07:52 -0000)]
2005-07-26  Marek Safar  <marek.safar@seznam.cz>

* corlib.dll.sources: Added System.StringComparer.cs.

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

18 years ago* Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define. Avoid sharing
Raja R Harinath [Tue, 26 Jul 2005 06:00:33 +0000 (06:00 -0000)]
* Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.  Avoid sharing
violations on Windows builds.

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

18 years ago2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Jul 2005 05:51:49 +0000 (05:51 -0000)]
2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpContext.cs: fixed typo when checking for local address. Patch by
Mike Morano that closes bug #75633.

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

18 years ago2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Jul 2005 05:37:07 +0000 (05:37 -0000)]
2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* error.c: map ENOENT to WSAECONNREFUSED. It might happen when
connecting to unix sockets. Closes bug #75632.

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

18 years agoMistake
Miguel de Icaza [Tue, 26 Jul 2005 04:34:18 +0000 (04:34 -0000)]
Mistake

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

18 years agoeol
Ben Maurer [Tue, 26 Jul 2005 04:03:50 +0000 (04:03 -0000)]
eol

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

18 years agoFix Jackson's patch
Miguel de Icaza [Tue, 26 Jul 2005 04:03:17 +0000 (04:03 -0000)]
Fix Jackson's patch

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

18 years agoeol
Ben Maurer [Tue, 26 Jul 2005 03:55:43 +0000 (03:55 -0000)]
eol

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

18 years ago2005-07-25 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Tue, 26 Jul 2005 03:37:18 +0000 (03:37 -0000)]
2005-07-25  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleParameter.cs: apply
patch from
Hubert FONGARNAND <informatique.internet@fiducial.fr>
to tranmit an input paramter that is a date in a binary format
instead of a character format to avoid culture
dependent problems

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

18 years agoUnixify
Miguel de Icaza [Tue, 26 Jul 2005 03:26:23 +0000 (03:26 -0000)]
Unixify

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

18 years agoUnixify
Miguel de Icaza [Tue, 26 Jul 2005 03:25:07 +0000 (03:25 -0000)]
Unixify

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

18 years agoPatch from Jackson Harper to copy the debugging info files
Miguel de Icaza [Tue, 26 Jul 2005 03:24:22 +0000 (03:24 -0000)]
Patch from Jackson Harper to copy the debugging info files

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

18 years ago2005-07-25 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 25 Jul 2005 22:42:12 +0000 (22:42 -0000)]
2005-07-25  Cesar Lopez Nataren  <cnataren@novell.com>

* SemanticAnalizer.cs: Added Object/ObjectConstructor to the obj_ctrs.

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

18 years agochangelog entry
César Natarén [Mon, 25 Jul 2005 22:11:48 +0000 (22:11 -0000)]
changelog entry

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

18 years ago2005-07-25 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 25 Jul 2005 21:07:56 +0000 (21:07 -0000)]
2005-07-25  Cesar Lopez Nataren  <cnataren@novell.com>

* expression.cs: Fixes error for cases like Constructor.Property.
* SemanticAnalizer.cs: Added Array/ArrayConstructor to the ctrs.

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

18 years ago* Enum.cs (GetValue): Make private. Return an ulong.
Raja R Harinath [Mon, 25 Jul 2005 19:04:12 +0000 (19:04 -0000)]
* Enum.cs (GetValue): Make private.  Return an ulong.
(Parse): Tighten scope of couple of variables.  Use ulong when
twiddling bits.

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

18 years ago2005-07-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jul 2005 18:39:26 +0000 (18:39 -0000)]
2005-07-25  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs
  create-mscompat-collation-table.cs
  MSCompatUnicodeTableUtil.cs
  MSCompatUnicodeTable.cs : Now CJK mapping data is stored as byte
  arrays. Thus SimpleCollator does not need to use bitwise and shift
  operations to get sortkey value and they could be managed resources.

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

18 years agoAdded missing file
Carlos Guzmán Álvarez [Mon, 25 Jul 2005 18:32:59 +0000 (18:32 -0000)]
Added missing file

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

18 years agoAdd documentation on code coverage
Miguel de Icaza [Mon, 25 Jul 2005 18:18:46 +0000 (18:18 -0000)]
Add documentation on code coverage

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

18 years agoFixed loading of web.config for TARGET_J2EE.
Eyal Alalouf [Mon, 25 Jul 2005 17:54:50 +0000 (17:54 -0000)]
Fixed loading of web.config for TARGET_J2EE.

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

18 years ago2005-07-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jul 2005 16:43:41 +0000 (16:43 -0000)]
2005-07-25  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs,
  MSCompatUnicodeTable.cs,
  MSCompatUnicodeTableUtil.cs : From the result of sortkey comparison
  between None and IgnoreWidth, width compat table could be computed
  in somewhat simple way. So removed that table and all related code.
  Increased the collation resource version.

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

18 years ago2005-07-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jul 2005 14:54:17 +0000 (14:54 -0000)]
2005-07-25  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Added C header output support.

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

18 years agoUse class instead of struct in HtmlTextWriter.cs under TARGET_JVM for better perf.
Eyal Alalouf [Mon, 25 Jul 2005 14:50:43 +0000 (14:50 -0000)]
Use class instead of struct in HtmlTextWriter.cs under TARGET_JVM for better perf.

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

18 years agoTARGET_J2EE ifdef reorder for readability
Eyal Alalouf [Mon, 25 Jul 2005 14:47:38 +0000 (14:47 -0000)]
TARGET_J2EE ifdef reorder for readability

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

18 years agoCheck for null config in FormsAuthenticationModule.OnAuthenticateRequest
Eyal Alalouf [Mon, 25 Jul 2005 14:45:51 +0000 (14:45 -0000)]
Check for null config in FormsAuthenticationModule.OnAuthenticateRequest

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

18 years agoIn System:
Raja R Harinath [Mon, 25 Jul 2005 14:35:54 +0000 (14:35 -0000)]
In System:
* Enum.cs (FindName, GetValue): New.  Carved out of ...
(Parse): ... this.  Refactor and simplify code.  Avoid incurring
exceptions when parsing names.  Avoid allocating arrays unless
necessary.  Avoid conversion of an enumeration constant to its own
type.  (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)

In Test/System:
* EnumTest.cs (TestParse2): Enable testcases.

(Hope this doesn't break anything else.  This has been tested with
a full bootstrap of the default profile and all caused no regressions
on the nunit tests in the default profile.)

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

18 years ago2005-07-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 25 Jul 2005 14:23:10 +0000 (14:23 -0000)]
2005-07-25  Marek Safar  <marek.safar@seznam.cz>

* Makefile: `if' for 2.0 warnings only.

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

18 years agoTimeout of handling requests is not supported in TARGET_J2EE (Thread.Abort not supported)
Eyal Alalouf [Mon, 25 Jul 2005 14:11:24 +0000 (14:11 -0000)]
Timeout of handling requests is not supported in TARGET_J2EE (Thread.Abort not supported)

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

18 years ago2.0 test only
Marek Safar [Mon, 25 Jul 2005 14:08:24 +0000 (14:08 -0000)]
2.0 test only

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

18 years ago2005-07-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 25 Jul 2005 14:08:08 +0000 (14:08 -0000)]
2005-07-25  Lluis Sanchez Gual  <lluis@novell.com>

* TcpChannel.cs: Don't create a server channel when the
default constructor is used. Fixes bug #75626.

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

18 years ago2005-07-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 25 Jul 2005 14:06:23 +0000 (14:06 -0000)]
2005-07-25  Marek Safar  <marek.safar@seznam.cz>

* class.cs (TypeContainer.VerifyMembers): Be compatible in warning 169.

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

18 years agoAdded ifdef TARGET_JVM to fix the project build.
Boris Kirzner [Mon, 25 Jul 2005 13:54:18 +0000 (13:54 -0000)]
Added ifdef TARGET_JVM to fix the project build.

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

18 years agoTARGET_J2EE small fixes
Eyal Alalouf [Mon, 25 Jul 2005 13:52:44 +0000 (13:52 -0000)]
TARGET_J2EE small fixes

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

18 years ago2005-07-25 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Mon, 25 Jul 2005 13:50:27 +0000 (13:50 -0000)]
2005-07-25  Iain McCoy  <iain@mccoy.id.au>

        * Test/CodeWriter.cs: updated tests to reflect change in code
        generator

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

18 years agoRemoved unused member in ExpiresBuckets.cs.
Eyal Alalouf [Mon, 25 Jul 2005 13:46:01 +0000 (13:46 -0000)]
Removed unused member in ExpiresBuckets.cs.

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

18 years ago2005-07-25 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Mon, 25 Jul 2005 13:43:42 +0000 (13:43 -0000)]
2005-07-25  Iain McCoy  <iain@mccoy.id.au>

        * Test/XamlParser.cs: added tests for correct catching of non-existent
        processing instructions, attempting to set a dependency property on an
        object that is not a dependency object and for code elements.
        * Test/CodeWriter.cs: added tests for partial class generation and for
        giving a specific name to an object to be stored as a property value
        * Mono.Windows.Serialization/XamlParser.cs: be more paranoid about
        children of code elements, have better punctuation if objecting to an
        incorrect mapping and throw exceptions on unknown property types.

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

18 years agoTARGET_J2EE ifdef reorder for readability
Eyal Alalouf [Mon, 25 Jul 2005 13:42:03 +0000 (13:42 -0000)]
TARGET_J2EE ifdef reorder for readability

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

18 years agoRemoved UTF-8 signature
Carlos Guzmán Álvarez [Mon, 25 Jul 2005 13:24:18 +0000 (13:24 -0000)]
Removed UTF-8 signature

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

18 years ago2005-07-25 Ankit Jain <jankit@novell.com>
Ankit Jain [Mon, 25 Jul 2005 13:18:39 +0000 (13:18 -0000)]
2005-07-25 Ankit Jain <jankit@novell.com>

* mb-parser.jay: RaiseEvent: Add code to check for null event.

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

18 years ago2005-07-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 25 Jul 2005 13:10:50 +0000 (13:10 -0000)]
2005-07-25  Marek Safar  <marek.safar@seznam.cz>

*  ResourceReader.cs: Implemented reading of primitives for version 2.

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

18 years ago2005-07-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 25 Jul 2005 12:35:41 +0000 (12:35 -0000)]
2005-07-25  Marek Safar  <marek.safar@seznam.cz>

* IdentificationTable.cs: Fixed build.

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

18 years ago* class.cs : Using interface-type (instead of interface-names) for comparing interfaces
Satya Sudha K [Mon, 25 Jul 2005 10:56:52 +0000 (10:56 -0000)]
* class.cs : Using interface-type (instead of interface-names) for comparing interfaces
* expression.cs : Fix for a regression in Test/misc

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

18 years ago2005-07-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 25 Jul 2005 10:42:45 +0000 (10:42 -0000)]
2005-07-25  Zoltan Varga  <vargaz@freemail.hu>

* mono-cov.c: Applied patch from Iain McCoy (iain@mccoy.id.au). Fixes
#75619.

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

18 years ago2005-07-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 25 Jul 2005 10:40:35 +0000 (10:40 -0000)]
2005-07-25  Lluis Sanchez Gual <lluis@novell.com>

* NameObjectCollectionBase.cs: Don't throw an exception in
OnDeserialization if infoCopy has not been set, which means that
the serialization constructor has not been called, because
a subclass may completely override that constructor.
This fixes bug #75607.

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

18 years agonew tests
Marek Safar [Mon, 25 Jul 2005 10:07:36 +0000 (10:07 -0000)]
new tests

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

18 years ago2005-07-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 25 Jul 2005 09:57:55 +0000 (09:57 -0000)]
2005-07-25  Marek Safar  <marek.safar@seznam.cz>

* class.cs (MethodData.Define): Check whether accessor implementing
interface is public.

* driver.cs (Driver.parse): Try to be smart and check for `MZ' header.

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

18 years ago2005-07-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jul 2005 09:11:13 +0000 (09:11 -0000)]
2005-07-25  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : FillLetterNFKD() could also be
  applied to Cyrillic letters. Saved some of them.

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

18 years ago2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 25 Jul 2005 08:42:40 +0000 (08:42 -0000)]
2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: my previous patch missed a "small" detail: it
didn't include the verification key when computing/checking the
validation hash. Now this is really a MAC or HMAC or...

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

18 years agoMake line-endings uniform CRLF
Raja R Harinath [Mon, 25 Jul 2005 07:28:03 +0000 (07:28 -0000)]
Make line-endings uniform CRLF

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

18 years agoThis version of Gonzalo's patch wont break the build
Miguel de Icaza [Mon, 25 Jul 2005 05:51:22 +0000 (05:51 -0000)]
This version of Gonzalo's patch wont break the build

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

18 years ago2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 25 Jul 2005 05:50:07 +0000 (05:50 -0000)]
2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MachineKeyConfigHandler.cs: removed unused code. Use
MachineKeyValidation.
* MachineKeyValidation.cs: made internal for 1.1 and added AES.
* MachineKeyConfig.cs: new property to return 24 bits needed for 3DES.
fix typo from last patch ('AutoGenerate'). Made the keys different when
both are autogenerated.

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

18 years ago2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 25 Jul 2005 05:49:40 +0000 (05:49 -0000)]
2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs:
* FormsAuthenticationTicket.cs: added support for validation and
encryption of the auth. cookie and improved serialization of the ticket.

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

18 years agoforgot this one
Gonzalo Paniagua Javier [Mon, 25 Jul 2005 05:25:47 +0000 (05:25 -0000)]
forgot this one

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

18 years ago2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 25 Jul 2005 05:23:06 +0000 (05:23 -0000)]
2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BinaryReader.cs: use Buffer.BlockCopy instead of Array.Copy when
expanding the buffer.

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

18 years agoRevert this patch as it breaks the corlib build while doing a full build
Miguel de Icaza [Mon, 25 Jul 2005 05:21:58 +0000 (05:21 -0000)]
Revert this patch as it breaks the corlib build while doing a full build

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

18 years ago2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Jul 2005 23:25:22 +0000 (23:25 -0000)]
2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MachineKeyConfigHandler.cs:
* MachineKeyConfig.cs: patch from Miguel that moves code from
MachineKeyConfigHandler to MachineKeyConfig.

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

18 years ago2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Jul 2005 23:14:51 +0000 (23:14 -0000)]
2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Enum.cs: remove obsolete code that throwed/catched an exception for
every enum value when parsing.

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

18 years ago2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Jul 2005 20:38:16 +0000 (20:38 -0000)]
2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Directory.cs: don't leak 'find' handles.

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

18 years ago2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Jul 2005 20:32:12 +0000 (20:32 -0000)]
2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateParser.cs: if there are no commas in the assembly name, just
LoadWithPartialName, as Load will throw.

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

18 years ago2005-07-24 Florian Gross <flgr@ccan.de>
César Natarén [Sun, 24 Jul 2005 18:35:19 +0000 (18:35 -0000)]
2005-07-24  Florian Gross  <flgr@ccan.de>

* DateConstructor.cs: CreateInstance handles Infinity, NaN and double
with decimal places correctly and won't fail when trying to get the
timezone offset for invalid values anymore. LocalTime keeps the date
in the correct timezone
* ScriptObject.cs: Moved GetField from JSObject.cs. CallMethod can be
used to call ObjectPrototype methods on objects of derived prototypes.
* JSObject.cs: Implemented SetMemberValue2, more cases for ClassName,
added avoid_toString argument to GetDefaultValue to avoid infinite
recursion from ObjectPrototype:toString
* ArrayPrototype.cs: Fixed pop, shift to work with the auto-popping
ArrayObject:length setter. Implemented toLocaleString
* ObjectConstructor.cs: Refactored to use Convert.ToObject. Invoke
works with null / undefined argument
* StringConstructor.cs: Handles Object []
* RegexpPrototype.cs: exec made aware of $_ and UpdateLastMatch
* JScriptInstanceOf.cs: Implemented JScriptInstanceof
* NumberConstructor.cs: Handles Object []
* ObjectPrototype.cs: toString uses GetDefaultValue if available
* StringPrototype.cs: match uses UpdateLastMatch, replace works with
replacement function, split handles max_count correctly in all cases
and calls UpdateLastMatch and handles no match case correctly
* IdentificationTable.cs: CreateSymbol mangles "$" to "dollar_" so
we can support RegExp.$1, Enter handles case where symbol exists
already so that  function foo (a, b, a) { }  works
* ArrayObject.cs: length setter pops elements if new size < old size
* ErrorPrototype.cs: Implemented constructor, toString
* JSFieldInfo.cs: Implemented Name
* DatePrototype.cs: Made toDateString, toLocaleDateString,
toLocaleString, toLocaleTimeString, toString, toUTCString handle
invalid date value cases
* NumericBinary.cs: Refactored to use Convert.ToNumber
* Convert.cs: Refactored ToBoolean, ToInt32, ToNumber, ToObject to
use IsNumberTypeCode. Added more object cases to ToNumber. ToNumber
with string correctly choses parseInt or parseFloat instead of always
using parseFloat. Implemented ToNativeArray. Added more cases to
ToObject. Fixed ToString with double to be more standards conform
* StringObject.cs: Implemented length getter
* LateBinding.cs: Added GetMethodFlags, GetRequiredArgumentCount.
Made assemble_args ignore trailing unneeded arguments and handle
methods that don't have a thisObj argument. Added Invoke logic for
Closure, FunctionObject and RegExpObject. Made GetNonMissingValue
work correctly for GlobalScope. Correctly sets length when adding
index properties to ArrayObjects. Implemented SetValue
* GlobalObject.cs: Implemented escape, Function, unescape. Made
parseFloat ignore some leading / trailing garbage
* FunctionPrototype.cs: Implemented apply, call
* RegExpObject.cs: ToString handles empty RegExp case correctly.
Initialize made aware of $*. Implemented GetDefaultValue
* TokenStream.cs: Handle overflows from float literals
* ErrorConstructor.cs: Added ErrorTypeToClass, implemented
CreateInstance
* RegExpConstructor.cs: RegExpConstructor adds fields for $_,
$&, $+, $`, $', $*. Added UpdateLastMatch. Invoke handles zero
argument case. Added getters for $1 to $9. Implemented input,
lastMatch, lastParen, leftContext, rightContext, multiline
* ScriptFunction.cs: Implemented length getter and setter

* SyntaxErrorObject.cs, ReferenceErrorObject.cs,
TypeErrorObject.cs, ErrorObject.cs, EvalErrorObject.cs,
RangeErrorObject.cs, URIErrorObject.cs: Added new ctr, which is used at
ErrorConstructor::CreateInstance.

* expression.cs: Use Missing.Value for missed parameters in method
invocations.

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

18 years ago2005-07-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 24 Jul 2005 18:03:23 +0000 (18:03 -0000)]
2005-07-24  Atsushi Enomoto  <atsushi@ximian.com>

* MSCompatUnicodeTable.cs : oh, ok, so we already have
  GetManifestResourceInternal() ;-)
* managed-collation.patch : in Assembly.cs made that method internal.

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

18 years ago2005-07-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 24 Jul 2005 17:48:24 +0000 (17:48 -0000)]
2005-07-24  Atsushi Enomoto  <atsushi@ximian.com>

* MSCompatUnicodeTable.cs : the pointer based icall code could be
  also applicable for USE_MANAGED_RESOURCE mode.

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

18 years agoMaking simple web app work with Grasshopper from svn.
Eyal Alalouf [Sun, 24 Jul 2005 16:39:28 +0000 (16:39 -0000)]
Making simple web app work with Grasshopper from svn.

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

18 years agoMaking simple web app work with Grasshopper from svn.
Eyal Alalouf [Sun, 24 Jul 2005 16:36:14 +0000 (16:36 -0000)]
Making simple web app work with Grasshopper from svn.

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

18 years agoMaking simple web app work with Grasshopper from svn.
Eyal Alalouf [Sun, 24 Jul 2005 15:57:19 +0000 (15:57 -0000)]
Making simple web app work with Grasshopper from svn.

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

18 years agoMaking simple web app work with Grasshopper from svn.
Eyal Alalouf [Sun, 24 Jul 2005 15:54:24 +0000 (15:54 -0000)]
Making simple web app work with Grasshopper from svn.

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

18 years agoMaking simple web app work with Grasshopper.
Eyal Alalouf [Sun, 24 Jul 2005 15:52:53 +0000 (15:52 -0000)]
Making simple web app work with Grasshopper.

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

18 years agoMaking simple web app work with Grasshopper.
Eyal Alalouf [Sun, 24 Jul 2005 15:49:31 +0000 (15:49 -0000)]
Making simple web app work with Grasshopper.

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

18 years agoFix Grasshopper project file
Andrew Skiba [Sun, 24 Jul 2005 15:07:11 +0000 (15:07 -0000)]
Fix Grasshopper project file

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

18 years ago* CodeGeneratorFromTypeTest.cs: Added BaseTypes and TypeConstructor
Gert Driesen [Sun, 24 Jul 2005 12:19:26 +0000 (12:19 -0000)]
* CodeGeneratorFromTypeTest.cs: Added BaseTypes and TypeConstructor
tests. Added enum, interface and delegate tests.
* CodeTypeDelegateTest.cs: Added tests for BaseTypes and ReturnType.
* CodeGeneratorTest.cs: Removed duplicate import of NUNit.Framework namespace.
* CodeGeneratorFromTypeTestBase.cs: Added BaseTypes and TypeConstructor tests.
* CodeGeneratorFromTypeTest.cs: Added BaseTypes and TypeConstructor
tests. Enabled enum, interface and delegate tests.
* CSharpCodeGenerator.cs: Fixed generated code for enums, interfaces
and delegates to match MS.NET.
* CodeTypeReference.cs: Added internal IsInterface property.
* CodeTypeDelegate.cs: System.Delegate is base type, and make sure
ReturnType is initialized.
* System_test.dll.sources: Added CodeTypeDelegateTest.cs from System.CodeDom.
* CodeGenerator.cs: Threat delegates like any other type.
* VBCodeGenerator.cs: Fixed generated code for enums, interfaces and
delegates to match MS.NET.

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

18 years ago2005-07-24 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sun, 24 Jul 2005 07:51:26 +0000 (07:51 -0000)]
2005-07-24  Iain McCoy  <iain@mccoy.id.au>

        * Test/XamlParser.cs,
          Mono.Windows.Serialization/XamlParser.cs: added a test for
        inappropriate usage of the Class attribute and fixed bug revealed by
        the test
        * Test/ObjectWriter.cs,
          PresentationFramework_test.dll.sources: added tests for object
        builder (based on tests for code generator)
        * demo/TestVocab/ConsoleWriter.cs,
          demo/TestVocab/ConsoleReader.cs,
          demo/TestVocab/ConsoleApp.cs: fix up definitions of Equals methods
        so that the object builder's tests work.

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

18 years ago2005-07-17 Florian Gross <flgr@ccan.de>
César Natarén [Sun, 24 Jul 2005 00:50:44 +0000 (00:50 -0000)]
2005-07-17  Florian Gross  <flgr@ccan.de>
* DateConstructor.cs: Implemented UTC
* ScriptObject.cs: Implemented GetMethod, CallMethod
* JSObject.cs: Implemented fallback ToString, more ClassName cases and
fallback GetDefaultValue
* ArrayPrototype.cs: Fixed concat, join and added splice
* RegExpPrototype.cs: Implemented compile, exec, test
* expression.cs: Emit JS undef instead of JS null for missing args
* StringPrototype.cs: changed lastIndexOf to be compatible with JSC.
Implemented match, replace (no replacement closure), search, split.
No longer uses assert_type for ensuring right type of thisObj
* ArrayObject.cs: Better length argument handling in constructor. Added
SpliceSlowly
* DatePrototype.cs: Added setDate, setFullYear, setHours, setMinutes,
setMilliseconds, setMonth, setSeconds, setTime, setUTCDate,
setUTCFullYear, setUTCHours, setUTCMinutes, setUTCMilliseconds,
setUTCMonth, setUTCSeconds, setYear
* FunctionObject.cs: Moved MethodAttributes to ScriptFunction. Added
MethodInfo-taking constructor
* Convert.cs: Added IsNumber, IsString, ToRegExp. More cases in
ToNumber. Refactored ToString
* ScriptEquality.cs: More cases
* LateBindings.cs: Big refactoring. Introduced assemble_args. Handles
missing arguments. build_args can pass null as engine. More CallValue,
GetNonMissingValue cases
* Plus.cs: Heavily refactored EvaluatePlus from 90 to 12 lines
* GlobalObject.cs: Added CollectGarbage
* NumberPrototype.cs: No longer uses assert_type for unsuring right
type of thisObj
* RegExpObject: Added lastIndex, Initialize, stores compiled Regex
* SemanticAnalizer: Added missing prototypes. Made assert_type work
with derived types
* ScriptFunction.cs: Moved MethodAttributes from FunctionObject. Added
MethodInfo. Implemented Invoke for built-in functions.

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

18 years ago2005-07-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 23 Jul 2005 20:02:36 +0000 (20:02 -0000)]
2005-07-23  Zoltan Varga  <vargaz@freemail.hu>

* mini-ia64.c mini-ia64.h: Add support for tracing/profiling.

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

18 years ago2005-07-23 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sat, 23 Jul 2005 13:27:21 +0000 (13:27 -0000)]
2005-07-23  Iain McCoy  <iain@mccoy.id.au>

        * Test/CodeWriter.cs: added tests for events and for delegates as
        property values

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

18 years ago2005-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 23 Jul 2005 13:19:21 +0000 (13:19 -0000)]
2005-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* MSCompatUnicodeTable.cs : added icall support code (not enabled
  unless the first line is commented out).

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

18 years ago2005-07-23 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sat, 23 Jul 2005 13:18:04 +0000 (13:18 -0000)]
2005-07-23  Iain McCoy  <iain@mccoy.id.au>

        * Test/XamlParser.cs: added test for events and delegates as property
        values

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

18 years ago2004-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 23 Jul 2005 07:00:51 +0000 (07:00 -0000)]
2004-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : don't expect namespace resolver; namespace could be
  supplied in QName without nsresolver need (i.e. SelectChildren()).
  Fixed bug #75609.

* XPathNavigatorCommonTests.cs : added test for bug #75609

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

18 years ago2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Rafael Teixeira [Fri, 22 Jul 2005 23:14:33 +0000 (23:14 -0000)]
2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* block.cs: Fix dead code detection

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

18 years agoSmall update
Miguel de Icaza [Fri, 22 Jul 2005 20:16:26 +0000 (20:16 -0000)]
Small update

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

18 years agonew test
Marek Safar [Fri, 22 Jul 2005 16:42:12 +0000 (16:42 -0000)]
new test

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

18 years ago2005-07-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 22 Jul 2005 16:29:20 +0000 (16:29 -0000)]
2005-07-22  Marek Safar  <marek.safar@seznam.cz>

Fix #57245
* namespace.cs (LookupType): Moved same type check to...

* typemanager.cs (LookupTypeReflection): Don't allow to import more types
with the same name.

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

18 years agoFix for statements ending with colon
Satya Sudha K [Fri, 22 Jul 2005 11:30:29 +0000 (11:30 -0000)]
Fix for statements ending with colon

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

18 years agoFix for statements ending with a colon
Satya Sudha K [Fri, 22 Jul 2005 11:29:37 +0000 (11:29 -0000)]
Fix for statements ending with a colon

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

18 years ago* profiles/basic.make (do-profile-check): Make the "silent"
Raja R Harinath [Fri, 22 Jul 2005 11:12:42 +0000 (11:12 -0000)]
* profiles/basic.make (do-profile-check): Make the "silent"
compilation check even more silent.  Refuse to use monolite if the
corlib version of monolite/mscorlib.dll doesn't match the corlib
version of the source.

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