Raja R Harinath [Fri, 11 Feb 2005 06:31:11 +0000 (06:31 -0000)]
Fix eol continuation
svn path=/trunk/mcs/; revision=40461
Miguel de Icaza [Fri, 11 Feb 2005 05:54:54 +0000 (05:54 -0000)]
2005-02-11 Miguel de Icaza <miguel@novell.com>
* anonymous.cs (CaptureContext): Track whether `this' has been
referenced.
* expression.cs (This.ResolveBase): Call CaptureThis. Before we
only captured `this' if it was implicitly done (instance
methods/variables were used).
* codegen.cs (EmitContext.CaptureThis): New method to flag that
`this' must be captured.
svn path=/trunk/mcs/; revision=40460
Miguel de Icaza [Fri, 11 Feb 2005 05:52:55 +0000 (05:52 -0000)]
Add new test
svn path=/trunk/mcs/; revision=40459
Ritvik Mayank [Fri, 11 Feb 2005 05:30:23 +0000 (05:30 -0000)]
In Test/errors:
2005-02-11 Ritvik Mayank <mritvik@novell.com>
* ConstantC10.vb
* DefaultPropC5.vb
* DefaultPropC6.vb
* OverrideC14.vb
changed the LineNo. and removed spurious errors.
in mbas:
2005-02-11 Ritvik Mayank <mritvik@novell.com>
* class.cs
* decl.cs
* mb-parser.jay
* statement.cs
Changed for reflecting correct Error Number
svn path=/trunk/mcs/; revision=40458
Miguel de Icaza [Fri, 11 Feb 2005 05:16:12 +0000 (05:16 -0000)]
2005-01-30 Miguel de Icaza <miguel@novell.com>
* anonymous.cs (CreateMethodHost): If there Scope.ScopeTypeBuilder
is null it means that there has been no need to capture anything,
so we just create a sibling.
Renamed `EmitHelperClasses' to `EmitAnonymousHelperClasses'
Just a partial fix. The other half is fairly elusive.
svn path=/trunk/mcs/; revision=40457
Manjula GHM [Fri, 11 Feb 2005 05:04:46 +0000 (05:04 -0000)]
Added tests for Statements - by Sudharsan V <vsudharsan@novell.com>
svn path=/trunk/mcs/; revision=40456
Manjula GHM [Fri, 11 Feb 2005 05:01:47 +0000 (05:01 -0000)]
Added tests for Statements - by Sudharsan V <vsudharsan@novell.com>
svn path=/trunk/mcs/; revision=40455
César Natarén [Fri, 11 Feb 2005 04:32:43 +0000 (04:32 -0000)]
2005-02-10 Cesar Lopez Nataren <cnataren@novell.com>
* expression.cs: use InFuntion in proper places.
* Parser.cs: Add parameter that indicates if it's a prefix
operator. When building the MemberExprTail set to proper parent.
* PostOrPrefixOperator.cs: Partial implementation of ++ and --,
prefix and suffix, we assume that the operand is a variable.
svn path=/trunk/mcs/; revision=40454
Geoff Norton [Fri, 11 Feb 2005 02:37:32 +0000 (02:37 -0000)]
2005-02-10 Geoff Norton <gnorton@customerdna.com>
* Icon.cs: Implement GetObjectData ()
* Image.cs: Implement GetObjectData ()
svn path=/trunk/mcs/; revision=40453
Geoff Norton [Fri, 11 Feb 2005 02:36:07 +0000 (02:36 -0000)]
2005-02-10 Geoff Norton <gnorton@customerdna.com>
* ResXResourceReader.cs: Implement the ability to convert the
MS Base64 encoded objects. Implement the ability to convert objects
to their type rather than just to string.
svn path=/trunk/mcs/; revision=40452
Geoff Norton [Fri, 11 Feb 2005 02:33:44 +0000 (02:33 -0000)]
2005-02-10 Geoff Norton <gnorton@customerdna.com>
* CultureInfoConverter.cs: Implement converting from the
string "(default)" that MS will put in .resx files.
svn path=/trunk/mcs/; revision=40451
Martin Baulig [Thu, 10 Feb 2005 22:08:33 +0000 (22:08 -0000)]
2005-02-10 Martin Baulig <martin@ximian.com>
* MonoSymbolFile.cs
(MonoDebuggerSupport.MakeArrayType): New public method.
(MonoDebuggerSupport.ResolveType): New public method.
(MonoDebuggerSupport.GetTypeToken): New public method.
svn path=/trunk/mcs/; revision=40446
Martin Baulig [Thu, 10 Feb 2005 22:06:25 +0000 (22:06 -0000)]
2005-02-10 Martin Baulig <martin@ximian.com>
* Module.cs (MonoDebugger_ResolveType): New internal method.
* Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
(MonoDebugger_GetTypeToken): New internal method.
svn path=/trunk/mcs/; revision=40443
Martin Baulig [Thu, 10 Feb 2005 22:03:20 +0000 (22:03 -0000)]
2005-02-10 Martin Baulig <martin@ximian.com>
* icall.c (ves_icall_MonoDebugger_MakeArrayType): New interncall.
(ves_icall_MonoDebugger_GetTypeToken): New interncall.
svn path=/trunk/mono/; revision=40442
Sebastien Pouliot [Thu, 10 Feb 2005 21:25:31 +0000 (21:25 -0000)]
Fix compilation warning for declsec.c
svn path=/trunk/mono/; revision=40438
Zoltan Varga [Thu, 10 Feb 2005 21:17:18 +0000 (21:17 -0000)]
2005-02-10 Zoltan Varga <vargaz@freemail.hu>
* zlib_macros.c (create_z_stream): Explicitly check for older versions
of zlib.
svn path=/trunk/mono/; revision=40436
Zoltan Varga [Thu, 10 Feb 2005 21:03:13 +0000 (21:03 -0000)]
2005-02-10 Zoltan Varga <vargaz@freemail.hu>
* aot.c: Break up large methods into smaller ones. Share GOT slots for
icalls.
* mini.h: Bump AOT file format version.
svn path=/trunk/mono/; revision=40435
Sebastien Pouliot [Thu, 10 Feb 2005 20:19:46 +0000 (20:19 -0000)]
2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
* declsec.c: Added LinkDemand support and it's special cases for ECMA,
APTC and P/Invoke.
* declsec.h: Added macros to get/set lazyly initialized security
informations about assemblies. Added new enum for different type of
possible LinkDemand violation. Added function to check LinkDemands.
* mini.h: Added a field to MonoCompile to hold any security violation
detected when JITting a method (so it can be thrown later).
* mini.c: Added LinkDemand checks in mono_method_to_ir for CEE_CALL
and CEE_CALLVIRT. Added code to throw exception at the end of
mini_method_compile (note: the exception is unhandled right now).
svn path=/trunk/mono/; revision=40433
Sebastien Pouliot [Thu, 10 Feb 2005 20:19:26 +0000 (20:19 -0000)]
2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
* metadata-internals.h: Added flags to MonoAssembly to cache the most
common security informations. This allows us to stay in unmanaged code
when doing LinkDemand and it's special cases (except for the first
time for initialization). The flags a very much used with --security.
* reflection.c|h: Added code to get declarative security attributes
for LinkDemand and InheritanceDemand. This required to refactor the
existing code for Demand.
* security-manager.c|h: Added new method fields for the special cases
of LinkDemand.
svn path=/trunk/mono/; revision=40432
Atsushi Eno [Thu, 10 Feb 2005 18:56:19 +0000 (18:56 -0000)]
2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
* Comparison.cs : allow comparison between guid and string.
* ColumnReference.cs : return guid value too. Fixed bug #72426.
svn path=/trunk/mcs/; revision=40417
Martin Baulig [Thu, 10 Feb 2005 18:18:50 +0000 (18:18 -0000)]
2005-02-10 Martin Baulig <martin@ximian.com>
* MonoSymbolFile.cs (MonoDebuggerSupport.GetMethodIndex): New
public method.
svn path=/trunk/mcs/; revision=40413
Martin Baulig [Thu, 10 Feb 2005 18:17:27 +0000 (18:17 -0000)]
2005-02-10 Martin Baulig <martin@ximian.com>
* Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
svn path=/trunk/mcs/; revision=40412
Martin Baulig [Thu, 10 Feb 2005 18:08:11 +0000 (18:08 -0000)]
2005-02-10 Martin Baulig <martin@ximian.com>
* mono-debug.c, mono-debug-debugger.c: Completely reworked the
debugging code; this is almost a complete rewrite.
svn path=/trunk/mono/; revision=40411
Miguel de Icaza [Thu, 10 Feb 2005 17:28:09 +0000 (17:28 -0000)]
Oops
svn path=/trunk/mcs/; revision=40410
Miguel de Icaza [Thu, 10 Feb 2005 17:13:05 +0000 (17:13 -0000)]
Update
svn path=/trunk/mcs/; revision=40409
Sebastien Pouliot [Thu, 10 Feb 2005 16:49:33 +0000 (16:49 -0000)]
2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
* noncas1-4.cs: New. Non-CAS permission tests (derived from test cases
in #52693).
* Makefile: Updated makefile for noncas test and removed unused crap.
* README: Updated informations of non CAS tests.
svn path=/trunk/mono/; revision=40408
Sebastien Pouliot [Thu, 10 Feb 2005 16:09:34 +0000 (16:09 -0000)]
2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
* DSA.cs: Weekly fix to case where DSAParameters.Counter is 0 :-(
A new unit test was added for this specific case so it's hopefully
the last fix for this. Fixed exception reporting to match NET_2_0.
svn path=/trunk/mcs/; revision=40406
Sebastien Pouliot [Thu, 10 Feb 2005 16:07:45 +0000 (16:07 -0000)]
2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
* DSATest.cs: Added unit test for Counter == 0. Actualized test cases
for NET_2_0 now that we can inherit from DSA outside corlib.
svn path=/trunk/mcs/; revision=40405
Raja R Harinath [Thu, 10 Feb 2005 15:54:17 +0000 (15:54 -0000)]
thinko.
svn path=/trunk/mcs/; revision=40403
Raja R Harinath [Thu, 10 Feb 2005 15:49:37 +0000 (15:49 -0000)]
In mcs:
Fix #52586, cs0121-4.cs.
* decl.cs (MemberCache.DeepCopy): Rename from SetupCache. Take
and return a hashtable.
(MemberCache.ClearDeclaredOnly): New.
(MemberCache.MemberCache): Update to change. Make a deep copy of
the method_hash of a base type too.
(MemberCache.AddMethods): Adapt to having a deep copy of the base
type methods. Overwrite entries with the same MethodHandle so
that the ReflectedType is correct. The process leaves in base
virtual functions and their overrides as distinct entries.
(CacheEntry): Now a class instead of a struct. It shouldn't alter
matters since it was boxed in a ArrayList before.
(CacheEntry.Member, CacheEntry.EntryType): Remove 'readonly'
modifier.
* expression.cs (Invocation.BetterFunction): Simplify. Handle the
case of a virtual function and its override (choose the overload
as better).
(Invocation.OverloadResolve): Avoid 'override' members during
'applicable_type' calculation.
In errors:
* cs0121-4.cs: New test. Ensure that a param method isn't
discarded if the signatures of other normal methods are different.
In tests:
* test-342.cs: New test for #52586.
* test-343.cs: New test. Not a bugfix or regression. Added to
ensure our overloading semantics are right. See
errors/cs0121-4.cs for a counterpart.
(Note that the related bug #59209 is not yet fixed by this)
svn path=/trunk/mcs/; revision=40402
Sebastien Pouliot [Thu, 10 Feb 2005 14:53:14 +0000 (14:53 -0000)]
Added description for new tool - npdbtest
svn path=/trunk/mcs/; revision=40401
Sebastien Pouliot [Thu, 10 Feb 2005 14:51:11 +0000 (14:51 -0000)]
2005-02-10 Sebastien Pouliot <sebastien@ximian,com>
* ChangeLog: New. Track change in the Npgsql/SSL test tool.
* Makefile: New. Build the test tool.
* makewords.sh: New. Script to create sample data in batabase.
* npdbtest.cs: New. Test tool.
* README: Instruction on how to install and setup PostgreSQL for the
tests.
svn path=/trunk/mcs/; revision=40400
Paolo Molaro [Thu, 10 Feb 2005 14:40:12 +0000 (14:40 -0000)]
Thu Feb 10 15:49:44 CET 2005 Paolo Molaro <lupus@ximian.com>
* mini.c, jit-icalls.c: use the managed implementation of
memset for initobj and memset, to avoid managed <-> unmanaged
transitions.
svn path=/trunk/mono/; revision=40399
Zoltan Varga [Thu, 10 Feb 2005 14:25:06 +0000 (14:25 -0000)]
2005-02-10 Zoltan Varga <vargaz@freemail.hu>
* inssel.brg (mini_emit_virtual_call): Disable the virtual->nonvirtual
optimization if it would need a GOT var.
* basic.cs: Add tests for constant propagation and switch statements.
* ssa.c: Fix out-of-range constant propagation and switch statements.
svn path=/trunk/mono/; revision=40398
Paolo Molaro [Thu, 10 Feb 2005 14:13:34 +0000 (14:13 -0000)]
Thu Feb 10 15:19:01 CET 2005 Paolo Molaro <lupus@ximian.com>
* domain.c, object.h: expose mono_string_equal () and
mono_string_hash ().
* icall.c, string-icalls.c: remove the string.GetHashCode () icall,
it's implemented in managed code.
svn path=/trunk/mono/; revision=40397
Sebastien Pouliot [Thu, 10 Feb 2005 13:55:18 +0000 (13:55 -0000)]
2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
* SecurityManager.cs: Reduced the number of parameters for LinkDemand.
Removed a (forgotten) debugging message.
svn path=/trunk/mcs/; revision=40396
Paolo Molaro [Thu, 10 Feb 2005 13:49:27 +0000 (13:49 -0000)]
Thu Feb 10 15:03:46 CET 2005 Paolo Molaro <lupus@ximian.com>
* icall.c, gc.c, gc-internal.h: make sure gchandles can't be used
lo leak objects between appdomains.
svn path=/trunk/mono/; revision=40395
Satya Sudha K [Thu, 10 Feb 2005 13:38:01 +0000 (13:38 -0000)]
* expression.cs:
- Implemented Exponentiation operator (^)
- Fixed the behaviour of strings in arithmatic operations (only addition was supported before)
- Fixed Decimal arithmatic with float/double types
- If operation = Division, promoting both operands to double, otherwise doing numeric promotions
* mb-parser.jay : Changes related to the Exponentiation operator
svn path=/trunk/mcs/; revision=40394
Paolo Molaro [Thu, 10 Feb 2005 13:09:39 +0000 (13:09 -0000)]
Thu Feb 10 14:25:00 CET 2005 Paolo Molaro <lupus@ximian.com>
* assembly.c: old compilers compilation fix from
robertj@gmx.net (Robert Jordan).
svn path=/trunk/mono/; revision=40393
Sebastien Pouliot [Thu, 10 Feb 2005 12:36:48 +0000 (12:36 -0000)]
2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
* SecurityException.cs: Show more information when a SecurityException
occurs to help debugging.
* SecurityManager.cs: Reworked LinkDemand implementation. Supply more
informations when throwing a SecurityException for LinkDemand.
* PermissionSet.cs: Remove (now) unused code for LinkDemand.
svn path=/trunk/mcs/; revision=40392
Lluis Sanchez [Thu, 10 Feb 2005 12:35:31 +0000 (12:35 -0000)]
2004-11-02 Lluis Sanchez Gual <lluis@ximian.com>
* MonoWSDL.cs, MonoWSDL2.cs: Added support for custom CodeDom providers.
Patch by Rogerio Pereira.
* SampleGenerator.cs: Fix warnings.
svn path=/trunk/mcs/; revision=40391
Lluis Sanchez [Thu, 10 Feb 2005 12:08:53 +0000 (12:08 -0000)]
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* SoapFormatter.cs: Don't store the SoapWriter in an instance field,
it is not needed and it is not thread safe. This fixes bug #72344.
svn path=/trunk/mcs/; revision=40389
Atsushi Eno [Thu, 10 Feb 2005 11:26:30 +0000 (11:26 -0000)]
2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
* XmlWriterEmitter.cs : String.Replace() was insufficient for
sequential candidates for replacement. Patch by Andrew Skiba.
svn path=/trunk/mcs/; revision=40388
Atsushi Eno [Thu, 10 Feb 2005 10:46:29 +0000 (10:46 -0000)]
2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : clean more.
* xalan-correct-catalog.xml : removed old file.
svn path=/trunk/mcs/; revision=40387
Atsushi Eno [Thu, 10 Feb 2005 10:33:49 +0000 (10:33 -0000)]
2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : added patching step against buggy catalog.xml.
Build both xslttest.exe and alltest.exe.
svn path=/trunk/mcs/; revision=40386
Atsushi Eno [Thu, 10 Feb 2005 10:26:44 +0000 (10:26 -0000)]
2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
* GenericOutputter.cs : don't output extraneous xml declaration.
fix by Andrew Skiba.
svn path=/trunk/mcs/; revision=40385
Lluis Sanchez [Thu, 10 Feb 2005 09:54:22 +0000 (09:54 -0000)]
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* SoapReader.cs: Don't crash if the xml has more fields than expected.
svn path=/trunk/mcs/; revision=40384
Lluis Sanchez [Thu, 10 Feb 2005 09:51:52 +0000 (09:51 -0000)]
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* DefaultWatcher.cs: Fix nullref exception when the object is disposed
without any watcher.
svn path=/trunk/mcs/; revision=40383
Lluis Sanchez [Thu, 10 Feb 2005 09:50:22 +0000 (09:50 -0000)]
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* BindableAttribute.cs: Implemented 2.0 api.
svn path=/trunk/mcs/; revision=40382
Lluis Sanchez [Thu, 10 Feb 2005 09:46:28 +0000 (09:46 -0000)]
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* CheckBoxList.cs: Fix build.
svn path=/trunk/mcs/; revision=40381
Lluis Sanchez [Thu, 10 Feb 2005 09:38:03 +0000 (09:38 -0000)]
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* System.Web.dll.sources: New files:
System.Web.UI/ICheckBoxControl.cs
System.Web.UI/IStaticTextControl.cs
System.Web.UI/ITextControl.cs
svn path=/trunk/mcs/; revision=40380
Lluis Sanchez [Thu, 10 Feb 2005 09:37:42 +0000 (09:37 -0000)]
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* Button.cs: Use validation group when validating page.
* XmlDataSourceView.cs: Implemented ExecuteSelect.
* Menu.cs: Minor fix.
* CheckBox.cs: Added 2.0 properties and methods.
* BaseDataList.cs: Always databind the control if view state
is not enabled.
* DataList.cs: In 2.0, use control state to save the selected index.
* DetailsViewUpdatedEventArgs.cs: Fix typo.
* CustomValidator.cs: Implement IStaticTextControl interface.
* CheckBoxList.cs: Added missing 2.0 methods.
* DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
interface.
* XmlDataSource.cs: Return childs of DocumentElement, not the root
document.
* DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
Implemented 2.0 API.
svn path=/trunk/mcs/; revision=40379
Lluis Sanchez [Thu, 10 Feb 2005 09:37:20 +0000 (09:37 -0000)]
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Added support for validation groups. Some fixes in
SavePageControlState().
* IFilterResolutionService.cs: Removed extra field.
* INavigateUIData.cs: Added missing field.
* ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
Implemented new interfaces.
svn path=/trunk/mcs/; revision=40378
Manjula GHM [Thu, 10 Feb 2005 09:33:47 +0000 (09:33 -0000)]
Fixed concat of date and string using '+" operator
-This line, and those below, will be ignored--
M ChangeLog
M expression.cs
svn path=/trunk/mcs/; revision=40377
Atsushi Eno [Thu, 10 Feb 2005 08:40:56 +0000 (08:40 -0000)]
2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
* DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
should target only child rows.
svn path=/trunk/mcs/; revision=40376
Jordi Mas i Hernandez [Thu, 10 Feb 2005 08:32:03 +0000 (08:32 -0000)]
2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
* MenuItem.cs: Use SystemInformation and bug fixes
* MenuAPI.cs: Use SystemInformation and bug fixes
svn path=/trunk/mcs/; revision=40375
Marek Safar [Thu, 10 Feb 2005 08:24:21 +0000 (08:24 -0000)]
2005-02-10 Marek Safar <marek.safar@seznam.cz>
* mono-api-diff.cs ,
* mono-api-info.cs : Check values of attribute properties.
svn path=/trunk/mcs/; revision=40374
Marek Safar [Thu, 10 Feb 2005 08:19:26 +0000 (08:19 -0000)]
2005-02-10 Marek Safar <marek.safar@seznam.cz>
* Assembly.cs,
* ConstructorInfo.cs,
* EventInfo.cs,
* FieldInfo.cs,
* MemberInfo.cs,
* MethodBase.cs,
* MethodInfo.cs,
* PropertyInfo.cs: ClassInterfaceType is None.
svn path=/trunk/mcs/; revision=40373
Marek Safar [Thu, 10 Feb 2005 08:18:40 +0000 (08:18 -0000)]
2005-02-10 Marek Safar <marek.safar@seznam.cz>
* TypeLibVarAttribute.cs,
* TypeLibTypeAttribute.cs,
* ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.
svn path=/trunk/mcs/; revision=40372
Marek Safar [Thu, 10 Feb 2005 08:18:08 +0000 (08:18 -0000)]
2005-02-10 Marek Safar <marek.safar@seznam.cz>
* IServiceProvider.cs: Is not ComVisible.
* NonSerializedAttribute.cs: Fix AttributeUsage flags.
* Type.cs: Fix ClassInterface attribute.
svn path=/trunk/mcs/; revision=40371
Raja R Harinath [Thu, 10 Feb 2005 05:17:42 +0000 (05:17 -0000)]
Fix.
svn path=/trunk/mcs/; revision=40365
Raja R Harinath [Thu, 10 Feb 2005 05:14:11 +0000 (05:14 -0000)]
* library.make (DISTFILES): Add $(btest_sourcefile).
svn path=/trunk/mcs/; revision=40364
César Natarén [Thu, 10 Feb 2005 03:57:23 +0000 (03:57 -0000)]
2005-02-09 Cesar Lopez Nataren <cnataren@novell.com>
* expression.cs: Added method EmitStore and EmitLoad to Identifier
class. Implemented op= operators. Fixes 72393.
svn path=/trunk/mcs/; revision=40363
Ben Maurer [Thu, 10 Feb 2005 02:02:39 +0000 (02:02 -0000)]
2005-02-09 Ben Maurer <bmaurer@ximian.com>
* monograph.c (print_method): Don't use method->info, as this will
be removed soon.
svn path=/trunk/mono/; revision=40362
Nick Drochak [Thu, 10 Feb 2005 01:21:14 +0000 (01:21 -0000)]
2005-02-10 Nick Drochak <ndrochak@ieee.org>
* DeserializeTests.cs: Ignore new test on MS.NET, since it fails there.
svn path=/trunk/mcs/; revision=40361
Sebastien Pouliot [Wed, 9 Feb 2005 23:02:29 +0000 (23:02 -0000)]
2005-02-09 Sebastien Pouliot <sebastien@ximian.com>
* cas1.cs: Changed for an easier to test case.
* cas2-5: New. "Normal" LinkDemand test cases.
* icall1.cs, icall2.cs: Updated to work on both Mono and MS runtime.
* icall2-6.cs: New. More internal call test cases.
* Makefile: Updated makefile.
* pinvoke1-2.cs: Updated to work on both Mono and MS runtime.
* pinvoke3-4.cs: New. More P/Invoke test cases.
* README: Updated informations.
svn path=/trunk/mono/; revision=40359
Ben Maurer [Wed, 9 Feb 2005 21:56:39 +0000 (21:56 -0000)]
2005-02-09 Ben Maurer <bmaurer@ximian.com>
* class-internals.h: Little reminder for the future.
* debug-helpers.c: Fix up wrapper_type_names
svn path=/trunk/mono/; revision=40356
Geoff Norton [Wed, 9 Feb 2005 21:37:52 +0000 (21:37 -0000)]
2005-02-09 Geoff Norton <gnorton@customerdna.com>
* Icon.cs: Implement deserializer
* Bitmap.cs: Implement deserializer
svn path=/trunk/mcs/; revision=40353
Lluis Sanchez [Wed, 9 Feb 2005 21:29:17 +0000 (21:29 -0000)]
2005-02-09 Lluis Sanchez Gual <lluis@ximian.com>
* CultureInfo.cs: Added field needed for serialization
interoperability with MS.NET. Also fixed default value for
the constructor.
svn path=/trunk/mcs/; revision=40352
Jackson Harper [Wed, 9 Feb 2005 20:42:01 +0000 (20:42 -0000)]
* X11Keyboard.cs: We ignore some keys, but still need to set/reset
their keystate otherwise things like VK_MENU get stuck "on".
svn path=/trunk/mcs/; revision=40348
Paolo Molaro [Wed, 9 Feb 2005 18:22:06 +0000 (18:22 -0000)]
Wed Feb 9 19:34:29 CET 2005 Paolo Molaro <lupus@ximian.com>
* image.c, metadata-internals.h: when loading an image from a file,
mmap all of it and use the same codepaths as when using a
in-memory image: the code is simpler and we use less memory
(both writable and readonly).
svn path=/trunk/mono/; revision=40347
Paolo Molaro [Wed, 9 Feb 2005 17:21:17 +0000 (17:21 -0000)]
Wed Feb 9 18:32:51 CET 2005 Paolo Molaro <lupus@ximian.com>
* gc-internal.h, null-gc.c, boehm-gc.c: added functions to the GC
API to alloc runtime data structures that need to be tracked by the
GC and contain pointers.
* appdomain.c, threads.c, object.c, gc.c: use the above changes to
make the code more readable and eventually use a different GC.
svn path=/trunk/mono/; revision=40343
Jordi Mas i Hernandez [Wed, 9 Feb 2005 16:52:21 +0000 (16:52 -0000)]
Fixes AddRange bug
svn path=/trunk/mcs/; revision=40342
Zoltan Varga [Wed, 9 Feb 2005 16:19:12 +0000 (16:19 -0000)]
2005-02-09 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (emit_marshal_vtype): Don't do managed->native conversion
for out arguments.
svn path=/trunk/mono/; revision=40340
Zoltan Varga [Wed, 9 Feb 2005 15:56:41 +0000 (15:56 -0000)]
2005-02-09 <vargaz@freemail.hu>
* inssel-x86.brg (reg): Align the allocation size in the localloc(imm) case too.
svn path=/trunk/mono/; revision=40338
Lluis Sanchez [Wed, 9 Feb 2005 15:23:57 +0000 (15:23 -0000)]
2005-02-09 Lluis Sanchez Gual <lluis@novell.com>
* object.c: In release_type_locks(), don't release the cctor lock
if it has already been released. This fixes a crash in the
thread5 test.
svn path=/trunk/mono/; revision=40337
Atsushi Eno [Wed, 9 Feb 2005 14:07:55 +0000 (14:07 -0000)]
2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
* Makefile, xslttest.cs : Rewrote to be runnable against the latest
draft version of OASIS XSLT tests. Also, Makefile now unifies
existing xslttest.exe and new alltest.exe (might be renamed later).
* simplify.xsl : added comment.
* alltest.cs : code format.
svn path=/trunk/mcs/; revision=40336
Jonathan Pryor [Wed, 9 Feb 2005 13:35:13 +0000 (13:35 -0000)]
* StdlibTest.cs: Signal is currently ignored, but add Category(NotDotNet) so
it isn't run even when we fix it. .NET 1.1 doesn't marshal delegates
properly for signal (different calling conventions).
Add Category(NotDotNet) for Snprintf(), as MSVCRT.dll doesn't export it.
* UnixGroupTest.cs, UnixUserTest.cs: Don't run these under .NET, as Windows
doesn't support the Syscall and related classes.
svn path=/trunk/mcs/; revision=40335
Zoltan Varga [Wed, 9 Feb 2005 11:21:27 +0000 (11:21 -0000)]
2005-02-09 Zoltan Varga <vargaz@freemail.hu>
* Makefile (TEST_EXCLUDES_net_2_0): Disable gen-72 until the runtime
regression is fixed.
svn path=/trunk/mcs/; revision=40334
Atsushi Eno [Wed, 9 Feb 2005 09:57:18 +0000 (09:57 -0000)]
2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
* LocationPathPattern.cs : Wildcard name is held as "", so we should
also check "" for wildcard. Patch by Andrew Skiba.
svn path=/trunk/mcs/; revision=40333
Jordi Mas i Hernandez [Wed, 9 Feb 2005 09:56:52 +0000 (09:56 -0000)]
2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
* ProgressBar.cs
- Add missing attributes
- Add missing method
* CheckedListBox.cs: Added missing attributes
- Add missing attributes
- Remove extra method
* ComboBox.cs: Added missing attributes
* VScrollBar.cs: Added missing attributes
* ScrollBar.cs: Added missing attributes
* ListBox.cs: Fixes signature, add missing consts
* LinkArea.cs: Added missing attributes
svn path=/trunk/mcs/; revision=40332
Atsushi Eno [Wed, 9 Feb 2005 09:49:18 +0000 (09:49 -0000)]
2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
* XslStylesheet.cs : MS implementation had chosen to recover from
the error, in the way specified in the spec 7.7.1. Patch by Andrew
Skiba.
svn path=/trunk/mcs/; revision=40331
Atsushi Eno [Wed, 9 Feb 2005 09:43:57 +0000 (09:43 -0000)]
2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
* XslNumber.cs : For group size, use decimal instead of integer to allow
such number that is larger than int.MaxValue. patch by Andrew Skiba.
svn path=/trunk/mcs/; revision=40330
Atsushi Eno [Wed, 9 Feb 2005 09:21:55 +0000 (09:21 -0000)]
2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
* XslForEach.cs : Don't bork at <xsl:for-each/>. Patch by Andrew Skiba.
svn path=/trunk/mcs/; revision=40329
Atsushi Eno [Wed, 9 Feb 2005 09:02:33 +0000 (09:02 -0000)]
2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
* Makefile.mstest,
alltest.cs,
simplify.xsl : another test runner from MainSoft. See the top of
Makefile.mstest. IMPORTANT: it can't co-exist with existing tests
extracted.
svn path=/trunk/mcs/; revision=40328
Raja R Harinath [Wed, 9 Feb 2005 08:13:57 +0000 (08:13 -0000)]
Combine two near-redundant caches.
* typemanager.cs (method_params): Rename from method_internal_params.
(TypeManager.GetParameterData): New. Replace
Invocation.GetParameterData.
(TypeManager.LookupParametersByBuilder): Remove.
* expression.cs (Invocation.method_parameter_cache): Remove.
(Invocation.GetParameterData): Remove.
Update to changes.
* anonymous.cs, attribute.cs, convert.cs, delegate.cs:
Update to changes.
svn path=/trunk/mcs/; revision=40327
Atsushi Eno [Wed, 9 Feb 2005 07:03:41 +0000 (07:03 -0000)]
2004-02-09 Atsushi Enomoto <atsushi@ximian.com>
* Expression.cs : RelationalExpr was comparing number and node in
reverse order. Patch by Kazuki Oikawa. Fixed bug #72343.
RelationalExpr should also handle result tree fragment as node-set
as well as EqualityExpr. This fixes RTF case wrt #72343.
svn path=/trunk/mcs/; revision=40326
Raja R Harinath [Wed, 9 Feb 2005 06:25:01 +0000 (06:25 -0000)]
* Makefile (SUBDIRS): Add 'rerrors'.
* rerrors/Makefile: Minor cleanups.
svn path=/trunk/mcs/; revision=40325
Peter Dennis Bartok [Wed, 9 Feb 2005 02:49:13 +0000 (02:49 -0000)]
- Oops
svn path=/trunk/mcs/; revision=40321
Peter Dennis Bartok [Wed, 9 Feb 2005 02:48:17 +0000 (02:48 -0000)]
- Added missing attributes
- Implemented TextBoxBase AppendText() and Select() methods
- Implemented CheckBox.CheckBoxAccessibleObject class
svn path=/trunk/mcs/; revision=40320
Zoltan Varga [Tue, 8 Feb 2005 22:19:20 +0000 (22:19 -0000)]
2005-02-08 Zoltan Varga <vargaz@freemail.hu>
* pwd.c (Mono_Posix_Syscall_getpwnam_r): Add another part missing from the last patch.
svn path=/trunk/mono/; revision=40319
Zoltan Varga [Tue, 8 Feb 2005 22:10:46 +0000 (22:10 -0000)]
2005-02-08 Zoltan Varga <vargaz@freemail.hu>
* cpu-amd64.md (load_membase): Fix max length of load_membase.
svn path=/trunk/mono/; revision=40318
Francisco Figueiredo Jr. [Tue, 8 Feb 2005 19:06:00 +0000 (19:06 -0000)]
2005-02-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
* Npgsql/NpgsqlCommand.cs: Fixed problem when setting a new connection and a running transaction existed. Now, the transaction can be removed and later the connection can be replaced. Thanks Mike Griffin (mike.griffin at mygenerationsoftware dot com) for heads up.
2005-02-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* NpgsqlTypes/NpgsqlTypeConverters.cs: Fixed datetime precision when sending values to backend. It was sending just the first 3 decimal values of time. Now it sends all the 6 digits. Thanks Martin Susil (spam at susil dot net) for heads up.
2005-01-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up.
Fixed internal constructor to initialize Parameters collection and timeout.
svn path=/trunk/mcs/; revision=40316
Alexander Olk [Tue, 8 Feb 2005 19:05:06 +0000 (19:05 -0000)]
- ColorDialog does now what its name suggests
svn path=/trunk/mcs/; revision=40315
Paolo Molaro [Tue, 8 Feb 2005 18:11:50 +0000 (18:11 -0000)]
Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
* Delegate.cs: remove the finalizer from Delegate: this
is handled internally by the runtime now.
svn path=/trunk/mcs/; revision=40313
Zoltan Varga [Tue, 8 Feb 2005 18:03:59 +0000 (18:03 -0000)]
2005-02-08 Zoltan Varga <vargaz@freemail.hu>
* IPv6Address.cs: Fix endianess problems.
* IPAddress.cs: Fix misleading comments.
svn path=/trunk/mcs/; revision=40312
Paolo Molaro [Tue, 8 Feb 2005 17:48:46 +0000 (17:48 -0000)]
Tue Feb 8 19:02:59 CET 2005 Paolo Molaro <lupus@ximian.com>
* gc.c, marshal.c, icall.c: register a delegate for finalization
only when the native function pointer has been allocated for it.
svn path=/trunk/mono/; revision=40310
Paolo Molaro [Tue, 8 Feb 2005 17:13:42 +0000 (17:13 -0000)]
Tue Feb 8 18:28:11 CET 2005 Paolo Molaro <lupus@ximian.com>
* threads.c: make people test with 1 MB stack per thread.
svn path=/trunk/mono/; revision=40308
Paolo Molaro [Tue, 8 Feb 2005 17:06:38 +0000 (17:06 -0000)]
Tue Feb 8 18:21:11 CET 2005 Paolo Molaro <lupus@ximian.com>
* mini.c: update to new signature of mono_class_get_allocation_ftn().
svn path=/trunk/mono/; revision=40307
Paolo Molaro [Tue, 8 Feb 2005 17:06:22 +0000 (17:06 -0000)]
Tue Feb 8 18:12:27 CET 2005 Paolo Molaro <lupus@ximian.com>
* object.c: cleaned up some code, allocate objects that are
pointer free with the atomic malloc variant. Allocate memory
for static data from the mempool if it's pointer-free.
Allocate the bounds array at the end of the array data, when needed.
* object-internals.h, object.h: move a private function in a private
header.
* class.c: handle missing case in tracking references in fields.
svn path=/trunk/mono/; revision=40306