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
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
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
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
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
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
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
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
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
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
Marek Safar [Mon, 25 Jul 2005 10:07:36 +0000 (10:07 -0000)]
new tests
svn path=/trunk/mcs/; revision=47635
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Mon, 25 Jul 2005 05:25:47 +0000 (05:25 -0000)]
forgot this one
svn path=/trunk/mcs/; revision=47624
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Andrew Skiba [Sun, 24 Jul 2005 15:07:11 +0000 (15:07 -0000)]
Fix Grasshopper project file
svn path=/trunk/mcs/; revision=47605
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 22 Jul 2005 20:16:26 +0000 (20:16 -0000)]
Small update
svn path=/trunk/mcs/; revision=47568
Marek Safar [Fri, 22 Jul 2005 16:42:12 +0000 (16:42 -0000)]
new test
svn path=/trunk/mcs/; revision=47559
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
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
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
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
Sureshkumar T [Fri, 22 Jul 2005 10:57:02 +0000 (10:57 -0000)]
In System.Data.Common:
2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
* DataColumnMappingCollection.cs: updated attributes & attribute
descriptions to match with masterinfos.
In System.Data.SqlClient:
2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
* SqlCommandBuilder.cs, SqlParameterCollection.cs,
SqlConnection.cs, SqlParameter.cs:
- updated attributes & attribute descriptions to match with
masterinfos.
In System.Data:
* DataViewSettingCollection.cs, DataTableCollection.cs,
DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
- updated attributes & attribute descriptions to match with
masterinfos.
In System.Data.Odbc:
* OdbcParameter.cs: updated attributes & attribute descriptions to
match with masterinfos.
svn path=/trunk/mcs/; revision=47554
Atsushi Eno [Fri, 22 Jul 2005 09:34:12 +0000 (09:34 -0000)]
2005-07-22 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs,
MSCompatUnicodeTableUtil.cs,
MSCompatUnicodeTable.cs : Added resource version output (and ignore
in case of version mismatch). Removed obsolete, commented out code.
svn path=/trunk/mcs/; revision=47553
Atsushi Eno [Fri, 22 Jul 2005 09:20:13 +0000 (09:20 -0000)]
2005-07-22 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs,
MSCompatUnicodeTable.cs,
create-mscompat-collation-table.cs : Now they use unmanaged pointers
instead of managed arrays.
* managed-collation.patch : Now it contains patch for IntPtrStream.cs
and Assembly.cs as well.
svn path=/trunk/mcs/; revision=47552
Manjula GHM [Fri, 22 Jul 2005 09:02:41 +0000 (09:02 -0000)]
Check for type before resolving
svn path=/trunk/mcs/; revision=47551
Raja R Harinath [Fri, 22 Jul 2005 07:46:54 +0000 (07:46 -0000)]
2005-07-22 Raja R Harinath <rharinath@novell.com>
* Consts.cs (Consts.AssemblyMicrosoft_VSDesigner): Fix version to
match masterinfo.
svn path=/trunk/mcs/; revision=47550
Atsushi Eno [Fri, 22 Jul 2005 07:46:32 +0000 (07:46 -0000)]
2005-07-22 Atsushi Enomoto <atsushi@ximian.com>
* MSCompatUnicodeTable.cs,
SimpleCollator.cs : Moved tailoring support classes to
MSCompatUnicodeTable.cs and drawn out from SimpleCollator.
Now that cjk and tailoring support are filled inside
MSCompatUnicodeTable, no managed array is exposed.
svn path=/trunk/mcs/; revision=47549
Sureshkumar T [Fri, 22 Jul 2005 06:38:27 +0000 (06:38 -0000)]
In System.Data:
2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
* DataView.cs: changed protected members
rowstate,rowcache,dataTable to protected internal.
* Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
changed InConstraintViolated to protected internal.
* ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
with NET_2_0 define.
In System.Data.Odbc:
2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
* OdbcDataReader.cs: NextRow (): made private.
Formatting corrections. Fixes bug #75574.
svn path=/trunk/mcs/; revision=47547
Atsushi Eno [Fri, 22 Jul 2005 06:31:56 +0000 (06:31 -0000)]
2005-07-22 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs,
SimpleCollator.cs,
MSCompatUnicodeTable.cs : Now it's not exposing collation table
internals as managed arrays (to switch to unmanaged pointers).
svn path=/trunk/mcs/; revision=47545
Ankit Jain [Fri, 22 Jul 2005 05:08:46 +0000 (05:08 -0000)]
* mb-parser.jay: evt_handler_list: New.
opt_evt_handler, sub_declaration: Support multiple event handlers.
svn path=/trunk/mcs/; revision=47544
Atsushi Eno [Fri, 22 Jul 2005 04:07:25 +0000 (04:07 -0000)]
2005-07-22 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : tiny nonspacing mark fix.
svn path=/trunk/mcs/; revision=47542
Zoltan Varga [Thu, 21 Jul 2005 22:32:38 +0000 (22:32 -0000)]
2005-07-22 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_Type_GetMethodsByName): Call setup_vtable ()
before accessing method->slot.
svn path=/trunk/mono/; revision=47541
Zoltan Varga [Thu, 21 Jul 2005 22:32:13 +0000 (22:32 -0000)]
2005-07-22 Zoltan Varga <vargaz@freemail.hu>
* aot.c (mono_aot_get_method_from_token): Fix a potential crash here.
svn path=/trunk/mono/; revision=47540
Jb Evain [Thu, 21 Jul 2005 22:09:14 +0000 (22:09 -0000)]
2005-07-21 Jb Evain <jbevain@gmail.com>
* ILGeneratorTest.cs: Add tests for exception filters (bug #75010).
svn path=/trunk/mcs/; revision=47539
Jb Evain [Thu, 21 Jul 2005 22:08:08 +0000 (22:08 -0000)]
2005-07-21 Jb Evain <jbevain@gmail.com>
* ILGenerator.cs: Implement filter blocks support.
Fixes bug #75010.
svn path=/trunk/mcs/; revision=47538
Jb Evain [Thu, 21 Jul 2005 22:07:16 +0000 (22:07 -0000)]
2005-07-21 Jb Evain <jbevain@gmail.com>
* reflection.c (method_encode_clauses/class): Handle filters clauses.
Fixes #75010.
svn path=/trunk/mono/; revision=47537
Florian Gross [Thu, 21 Jul 2005 21:57:15 +0000 (21:57 -0000)]
Fix for ECMAScript \d
svn path=/trunk/mcs/; revision=47536
Zoltan Varga [Thu, 21 Jul 2005 20:35:37 +0000 (20:35 -0000)]
2005-07-21 Zoltan Varga <vargaz@freemail.hu>
* aot.c (load_patch_info): Fix handling of stfld_remote wrapper.
svn path=/trunk/mono/; revision=47534
Atsushi Eno [Thu, 21 Jul 2005 18:48:52 +0000 (18:48 -0000)]
2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : Fixed most of Greek mappings.
* MSCompatUnicodeTable.cs : don't lock string.
svn path=/trunk/mcs/; revision=47529
Miguel de Icaza [Thu, 21 Jul 2005 18:17:53 +0000 (18:17 -0000)]
Remove unused variables/warnings.
Style fixup in cs-parser.jay
svn path=/trunk/mcs/; revision=47526
Gonzalo Paniagua Javier [Thu, 21 Jul 2005 18:04:41 +0000 (18:04 -0000)]
2005-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeDescriptor.cs: (GetProperties) throw exception if 'component' is
null.
svn path=/trunk/mcs/; revision=47524
Miguel de Icaza [Thu, 21 Jul 2005 17:58:10 +0000 (17:58 -0000)]
Updates
svn path=/trunk/mcs/; revision=47522
Lluis Sanchez [Thu, 21 Jul 2005 15:13:48 +0000 (15:13 -0000)]
2005-07-21 Lluis Sanchez Gual <lluis@novell.com>
* CollectionBase.cs: Lazily create the inner list. MS.NET does
it and we need to do the same for the sake of serialization
interoperability. Fixes bug #75575.
svn path=/trunk/mcs/; revision=47520
Rafael Mizrahi [Thu, 21 Jul 2005 14:40:09 +0000 (14:40 -0000)]
svn path=/trunk/mcs/; revision=47518
Raja R Harinath [Thu, 21 Jul 2005 14:05:38 +0000 (14:05 -0000)]
* namespace.cs (NamespaceLookupType): Avoid a string allocation when we
already found a typebuilder.
* class.cs (MethodCore.IsDuplicateImplementation): Compare
MemberNames, not strings.
svn path=/trunk/mcs/; revision=47517
Zoltan Varga [Thu, 21 Jul 2005 14:00:42 +0000 (14:00 -0000)]
2005-07-21 Zoltan Varga <vargaz@freemail.hu>
* ILGenerator.cs (BeginFaultBlock): Call InternalEndClause () here
too. Reported by Jeroen Frijters.
svn path=/trunk/mcs/; revision=47516
Boris Kirzner [Thu, 21 Jul 2005 12:54:03 +0000 (12:54 -0000)]
Removed source control information from TARGET_JVM project and solution files.
svn path=/trunk/mcs/; revision=47515
Zoltan Varga [Thu, 21 Jul 2005 12:37:10 +0000 (12:37 -0000)]
2005-07-21 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (emit_marshal_custom): Implement byref marshalling. Fixes
#75587.
svn path=/trunk/mono/; revision=47514
Zoltan Varga [Thu, 21 Jul 2005 12:32:56 +0000 (12:32 -0000)]
2005-07-21 Zoltan Varga <vargaz@freemail.hu>
* marshal9.cs libtest.c: Add tests for byref custom marshalling.
svn path=/trunk/mono/; revision=47513
Manjula GHM [Thu, 21 Jul 2005 11:40:30 +0000 (11:40 -0000)]
Support conversions in "new" assignment statement
svn path=/trunk/mcs/; revision=47512
Satya Sudha K [Thu, 21 Jul 2005 11:20:05 +0000 (11:20 -0000)]
Support for method invocation without '()'
svn path=/trunk/mcs/; revision=47511
Sureshkumar T [Thu, 21 Jul 2005 11:05:55 +0000 (11:05 -0000)]
2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
* OdbcDataReader.cs: GetValue (): added case for OdbcType.Bit. and
Formatting corrections.
svn path=/trunk/mcs/; revision=47510
Boris Kirzner [Thu, 21 Jul 2005 10:13:02 +0000 (10:13 -0000)]
Put log message to the correct ChangeLog files
svn path=/trunk/mcs/; revision=47505
Raja R Harinath [Thu, 21 Jul 2005 10:11:01 +0000 (10:11 -0000)]
* const.cs (Error_ExpressionMustBeConst):
Rename from Error_EpressionMustBeConst.
* const.cs, class.cs, statement.cd: Update.
svn path=/trunk/mcs/; revision=47504
Zoltan Varga [Thu, 21 Jul 2005 10:08:14 +0000 (10:08 -0000)]
2005-07-21 Zoltan Varga <vargaz@freemail.hu>
* pinvoke2.cs pinvoke1.cs Makefile.am: Merge pinvoke1.cs into pinvoke2.cs.
svn path=/trunk/mono/; revision=47503
Atsushi Eno [Thu, 21 Jul 2005 10:02:12 +0000 (10:02 -0000)]
2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : More Cyrillic diacritical fixes.
svn path=/trunk/mcs/; revision=47502
Manjula GHM [Thu, 21 Jul 2005 09:52:49 +0000 (09:52 -0000)]
Support type specifier for "ReDim" statements
svn path=/trunk/mcs/; revision=47501
Gert Driesen [Thu, 21 Jul 2005 09:33:05 +0000 (09:33 -0000)]
* CodeGeneratorTest.cs: Added unit tests for CodeGenerator.IsCurrent*.
* System_test.dll.sources: Added CodeGeneratorTest.cs from
System.CodeDom.Compiler.
* CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate.
svn path=/trunk/mcs/; revision=47500
Atsushi Eno [Thu, 21 Jul 2005 09:01:20 +0000 (09:01 -0000)]
2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : More Latin diacritical fixes.
svn path=/trunk/mcs/; revision=47499
Atsushi Eno [Thu, 21 Jul 2005 08:23:44 +0000 (08:23 -0000)]
2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : There were still missing
math symbol mappings. Added several hacky diacritical weight for
Latin characters.
svn path=/trunk/mcs/; revision=47497
Gert Driesen [Thu, 21 Jul 2005 07:56:42 +0000 (07:56 -0000)]
* CodeGeneratorFromTypeTestBase.cs: Base class for unit tests for
CodeGenerator.GenerateCodeFromType.
* CodeGeneratorTestBase.cs: Base class for CodeGenerator unit tests.
* CodeGeneratorFromTypeTest.cs: Inherit from
System.CodeDom.CodeGeneratorFromTypeTestBase. Added testfixture
for testing enum, interface and delegate, but for now these are
marked NotWorking.
* System_test.dll.sources: Added CodeGeneratorFromTypeTestBase.cs
and CodeGeneratorTestBase.cs from System.CodeDom.Compiler.
svn path=/trunk/mcs/; revision=47496
Sureshkumar T [Thu, 21 Jul 2005 07:20:30 +0000 (07:20 -0000)]
In Test/System.Data:
2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
* ForeignKeyConstraintTest.cs: added tests when adding fk
constraints with existing rows.
In System.Data:
2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
* ForeignKeyConstraint.cs:
- IsConstraintViolated (): no matter what EnforceConstraints is,
this function now honestly validates. It is upto the caller to run
this or not.
- AddToConstraintCollectionSetup (): AssertConstraint according to
EnforceConstraints.
svn path=/trunk/mcs/; revision=47495
Atsushi Eno [Thu, 21 Jul 2005 07:15:34 +0000 (07:15 -0000)]
2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : fixed a few diacritical weight
on Cyrillic characters. Fixed ParseTailoringSource() to handle
non-heading escape sequence (\uXXXX) as expected.
svn path=/trunk/mcs/; revision=47494
Boris Kirzner [Thu, 21 Jul 2005 07:06:25 +0000 (07:06 -0000)]
ForeignKeyConstraint.IsConstraintViolated() should check for Table.EnforceConstraints.
svn path=/trunk/mcs/; revision=47493
Marek Safar [Thu, 21 Jul 2005 06:48:14 +0000 (06:48 -0000)]
new test
svn path=/trunk/mcs/; revision=47492
Marek Safar [Thu, 21 Jul 2005 06:47:13 +0000 (06:47 -0000)]
2005-07-21 Marek Safar <marek.safar@seznam.cz>
Fix #65573
* const.cs (Const.LookupConstantValue): Report missing contant expression
everytime.
(Error_EpressionMustBeConstant): Only one error method.
* class.cs, statement.c: Updated.
svn path=/trunk/mcs/; revision=47491
Gonzalo Paniagua Javier [Thu, 21 Jul 2005 04:57:51 +0000 (04:57 -0000)]
oops
svn path=/trunk/mcs/; revision=47490
Gonzalo Paniagua Javier [Thu, 21 Jul 2005 04:46:35 +0000 (04:46 -0000)]
more trace stuff
svn path=/trunk/mcs/; revision=47489
Atsushi Eno [Thu, 21 Jul 2005 01:51:36 +0000 (01:51 -0000)]
2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs,
MSCompatUnicodeTableUtil.cs,
MSCompatUnicodeTable.cs : added more aggressive index limits for
table optimization at data size, in cost of speed.
svn path=/trunk/mcs/; revision=47488
Zoltan Varga [Wed, 20 Jul 2005 21:24:20 +0000 (21:24 -0000)]
2005-07-20 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c (mono_arch_setup_jit_tls_data): Use the nice way of
getting TLS offsets on AMD64 too.
svn path=/trunk/mono/; revision=47485
Zoltan Varga [Wed, 20 Jul 2005 21:21:44 +0000 (21:21 -0000)]
2005-07-20 Zoltan Varga <vargaz@freemail.hu>
* mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
getting the tls offsets on amd64 too.
svn path=/trunk/mono/; revision=47484