mono.git
20 years ago2003-11-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 29 Nov 2003 22:11:47 +0000 (22:11 -0000)]
2003-11-28  Miguel de Icaza  <miguel@ximian.com>

* Mono.Cairo/Object.cs:

* Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
while to find out why Cairo applications would crash sometimes.
The problem was that Cairo.Object:TargetSurface get property would
create a Surface from an IntPtr, leading to having two managed
objects owning the same unmanaged Surface.

(Surface..ctor): Make private, so only this module can create
surfaces.

(Surface.Dispose): Add disposable pattern, finalizer.

* Mono.Cairo/Object.cs: Add disposable pattern, finalizer.

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

20 years ago2003-11-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 29 Nov 2003 21:59:18 +0000 (21:59 -0000)]
2003-11-29  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Block.Resolve, Block.Emit): Avoid foreach on
ArrayLists, use for loops with bounds.

* flowanalysis.cs (FlowBranching.Merge): Avoid foreach on
arraylist.

* expression.cs (Invocation.OverloadResolve): Avoid foreach on
arraylists, use for loop with bounds.

The above three changes give us a 0.071 second performance
improvement out of 3.294 seconds down to 3.223.  On my machine
the above changes reduced the memory usage by 1,387 KB during
compiler bootstrap.

* cs-parser.jay (QualifiedIdentifier): New class used to represent
QualifiedIdentifiers.  Before we created a new string through
concatenation, and mostly later on, the result would be
manipulated by DecomposeQI through string manipulation.

This reduced the compiler memory usage for bootstrapping from
59380 KB to 59007 KB on my machine, 373 KB, and also reduced the
compile times in 0.05 seconds.

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

20 years ago * DataGrid.cs: Display paging controls even when there is no
Jackson Harper [Sat, 29 Nov 2003 08:48:43 +0000 (08:48 -0000)]
    * DataGrid.cs: Display paging controls even when there is no
data. Path by Mohammad DAMT. Fixes bug #51487.

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

20 years ago * DataGrid.cs: Call TrackViewState when loading bound columns view
Jackson Harper [Sat, 29 Nov 2003 08:19:12 +0000 (08:19 -0000)]
   * DataGrid.cs: Call TrackViewState when loading bound columns view
state. So that their state is saved. This fixes bug #51424. Also
set ReadOnly.

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

20 years agoFri Nov 28 23:03:05 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 28 Nov 2003 22:15:54 +0000 (22:15 -0000)]
Fri Nov 28 23:03:05 CET 2003 Paolo Molaro <lupus@ximian.com>

* cpu-g4.md, inssel-ppc.brg, mini-ppc.c: better long return support.
* tramp-ppc.c: fixed class init trampoline.
* inssel-ppc.brg, mini.c, jit-icalls.c, mini-ppc.h: more emulation.

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

20 years ago2003-11-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Nov 2003 18:39:50 +0000 (18:39 -0000)]
2003-11-28  Zoltan Varga  <vargaz@freemail.hu>

* gc.c: Fix hangs and error messages when GC_DONT_GC is set.

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

20 years agoDo string compares with the Invariant culture.
Dick Porter [Fri, 28 Nov 2003 18:22:08 +0000 (18:22 -0000)]
Do string compares with the Invariant culture.

Use the char forms of IndexOf and LastIndexOf, so that the comparison is
done with the Invariant culture.

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 16:59:28 +0000 (16:59 -0000)]
2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlAttribute.cs : set_Prefix checks value when existing is "xmlns".

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 16:32:42 +0000 (16:32 -0000)]
2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlWriter.cs : patch by Gonzalo (I modified a bit). WriteNode()
  shouldn't expect non-empty element content. This will fix bug #48287.

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 16:30:45 +0000 (16:30 -0000)]
2003-11-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlWriterTests.cs : Added WriteNodeFullDocument() with
  encoding specification. Added WriteNodeNonEmptyElement().
* XmlUrlResolverTests.cs : Added GetEntityWithNonStreamReturnType()
  and GetEntityWithRelativeFileUri().
* XmlTextWriterTests.cs : Added some namespace related tests.
* XmlTextReaderTests.cs : Added char-entity and ReadBase64() tests.
* XmlNodeTests.cs : GetPrefixOfNamespace() test also for disconnected
  nodes.
* XmlElementTests.cs : Added ConstructionAndDefaultAttributes().
* XmlDeclarationTests.cs : Added InvalidInnerText().
* XmlAttributeTests.cs : Added CheckPrefixWithNamespace().

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

20 years agoadded StringsTest.cs, but not yet complete
Jochen Wezel [Fri, 28 Nov 2003 15:43:41 +0000 (15:43 -0000)]
added StringsTest.cs, but not yet complete

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

20 years agoFri Nov 28 16:36:29 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 28 Nov 2003 15:34:09 +0000 (15:34 -0000)]
Fri Nov 28 16:36:29 CET 2003 Paolo Molaro <lupus@ximian.com>

* cpu-g4.md, inssel-ppc.brg, jit-icalls.c, mini-ppc.c, mini-ppc.h,
mini.c: more ppc changes/fixes.

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

20 years agoApplied patch from Philipp <pixelpapst@users.sourceforge.net>
Miguel de Icaza [Fri, 28 Nov 2003 14:55:54 +0000 (14:55 -0000)]
Applied patch from Philipp <pixelpapst@users.sourceforge.net>

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

20 years ago2003-11-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Nov 2003 14:32:59 +0000 (14:32 -0000)]
2003-11-28  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (SetCustomAttribute): Implement automatic
generation of build and revision numbers. Fixes #46492.

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

20 years agoq
Jochen Wezel [Fri, 28 Nov 2003 14:31:03 +0000 (14:31 -0000)]
q

ion `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.

A star (*) next to a name means that the command is disabled.

 %[DIGITS | WORD] [&]               (( expression ))
 . filename                         :
 [ arg... ]                         [[ expression ]]
 alias [-p] [name[=value] ... ]     bg [job_spec]
 bind [-lpvsPVS] [-m keymap] [-f fi break [n]
 builtin [shell-builtin [arg ...]]  case WORD in [PATTERN [| PATTERN].
 cd [-L|-P] [dir]                   command [-pVv] command [arg ...]
 compgen [-abcdefgjksuv] [-o option complete [-abcdefgjksuv] [-pr] [-o
 continue [n]                       declare [-afFirtx] [-p] name[=valu
 dirs [-clpv] [+N] [-N]             disown [-h] [-ar] [jobspec ...]
 echo [-neE] [arg ...]              enable [-pnds] [-a] [-f filename]
 eval [arg ...]                     exec [-cl] [-a name] file [redirec
 exit [n]                           export [-nf] [name[=value] ...] or
 false                              fc [-e ename] [-nlr] [first] [last
 fg [job_spec]                      for NAME [in WORDS ... ;] do COMMA
 for (( exp1; exp2; exp3 )); do COM function NAME { COMMANDS ; } or NA
 getopts optstring name [arg]       hash [-lr] [-p pathname] [-dt] [na
 help [-s] [pattern ...]            history [-c] [-d offset] [n] or hi
 if COMMANDS; then COMMANDS; [ elif jobs [-lnprs] [jobspec ...] or job
 kill [-s sigspec | -n signum | -si let arg [arg ...]
 local name[=value] ...             logout
 popd [+N | -N] [-n]                printf format [arguments]
 pushd [dir | +N | -N] [-n]         pwd [-PL]
 read [-ers] [-u fd] [-t timeout] [ readonly [-anf] [name[=value] ...]
 return [n]                         select NAME [in WORDS ... ;] do CO
 set [--abefhkmnptuvxBCHP] [-o opti shift [n]
 shopt [-pqsu] [-o long-option] opt source filename
 suspend [-f]                       test [expr]
 time [-p] PIPELINE                 times
 trap [arg] [signal_spec ...] or tr true
 type [-afptP] name [name ...]      typeset [-afFirtx] [-p] name[=valu
 ulimit [-SHacdflmnpstuv] [limit]   umask [-p] [-S] [mode]
 unalias [-a] [name ...]            unset [-f] [-v] [name ...]
 until COMMANDS; do COMMANDS; done  variables - Some variable names an
 wait [n]                           while COMMANDS; do COMMANDS; done
 { COMMANDS ; }
VBCodeGenerator: CreateNameSpace creates Namespace after Imports

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

20 years ago2003-11-28: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 28 Nov 2003 13:40:45 +0000 (13:40 -0000)]
2003-11-28: Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

*NpgsqlCommand.cs:  Fixed a problem with prepare commands in 7.3 server versions. The command was being incorrectly interpreted as needing an explicit cast.

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

20 years ago2003-11-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Nov 2003 13:39:32 +0000 (13:39 -0000)]
2003-11-28  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (assembly_name_to_aname): Allow extra characters in
assembly names. Fixes #51468.

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

20 years ago(CompoundArray): Hide this for now.
Duncan Mak [Fri, 28 Nov 2003 06:00:21 +0000 (06:00 -0000)]
(CompoundArray): Hide this for now.

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

20 years ago* Brush.cs (CreateBrush): new internal factory method for creating
Duncan Mak [Fri, 28 Nov 2003 05:47:58 +0000 (05:47 -0000)]
* Brush.cs (CreateBrush): new internal factory method for creating
specific brushes based on the internal (GDI+ C API) BrushType
enum.
(Brush (IntPtr)): new internal constructor.

* Pen.cs: Removed all the C# fields. We are using GDI+ completely
now.
(Pen (IntPtr)): new internal constructor.
(Pen (Brush, float)): Use GdipCreateBrush2.
(Clone): Implemented using GdipClonePen.
(Alignment, Brush, Color, Width): Use GDI+ implementations
instead.
(CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
Implemented these properties.
(CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
(MultiplyTransform, ResetTransform, RotateTransform):
(ScaleTransform, TranslateTransform): Implemented these methods.

* SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.

* gdipEnums.cs (BrushType): Added new GDI+ enum.

* gdipFunctions.cs: Imported new Brush and Pen functions.

* brush.c (gdip_brush_setup): Check on the type of the brush and
delegate the implementation to the concrete Brushes,
(GdipCloneBrush, GdipDeleteBrush, GdipGetBrushType): Implemented.

* gdip.h (DashStyle): Fixed typo.
(PenAlignment, BrushType): Added new enumerations.
(GpBrush): Added new type field.
(GpPen): Added new fields: color, brush, mode, dash_array and
unit. Updated the header file to include new Pen functions.

* pen.c (convert_dash_array): Utitlity function for converting
from a float* from GDI+ to a double* for Cairo.
(GdipCreatePen2, GdipClonePen): Implemented.
(PenWidth, BrushFill, Color, PenMode, PenUnit, DashStyle):
(DashOffset, DashCount, DashArray): Implemented the Get/Set
function pairs for these properties.
(GdipGetPenCompoundArray, GdipSetPenCompoundArray):
(GdipGetPenCompoundArrayCount): Stubbed.

* solidbrush.c (gdip_solidfill_init): Utility for initializing a
SolidBrush. Sets type as BrushTypeSolidColor.
(gdip_solidfill_setup): Moved from gdip_brush_setup.
(gdip_solidfill_clone): Implementation for GdipCloneBrush for a
GpSolidFill.
(GdipSetSolidFillColor, GdipGetSolidFillColor): Implemented.

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

20 years agobug fixie
Ben Maurer [Fri, 28 Nov 2003 05:37:22 +0000 (05:37 -0000)]
bug fixie

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

20 years ago2003-11-27 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 28 Nov 2003 03:45:04 +0000 (03:45 -0000)]
2003-11-27  Tim Coleman <tim@timcoleman.com>
        * System.Data.ObjectSpaces.Query/ObjectExpression.cs:
        * System.Data.ObjectSpaces.Query/ObjectSpaceNode.cs:
        * System.Data.ObjectSpaces_test.dll.sources:
                Various updates for completion

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

20 years ago2003-11-27 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 28 Nov 2003 03:43:56 +0000 (03:43 -0000)]
2003-11-27  Tim Coleman <tim@timcoleman.com>
        * System.Data.ObjectSpaces.Query/ObjectExpressionTests.cs:
        * SupportFiles/osd.xml:
        * SupportFiles/rsd.xml:
                New classes added for test

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

20 years ago2003-11-27 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 28 Nov 2003 02:58:02 +0000 (02:58 -0000)]
2003-11-27  Sebastien Pouliot  <spouliot@videotron.ca>

* Mono.Security.dll.sources: Added MD4, MD4Managed and PKCS8 to build.
* Mono.Security_test.dll.sources: Added unit tests for MD4, MD4Managed
and PKCS8.

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

20 years ago2003-11-27 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 28 Nov 2003 02:54:04 +0000 (02:54 -0000)]
2003-11-27  Sebastien Pouliot  <spouliot@videotron.ca>

* MD4Test.cs: New. Contains all the test vectors provided in RFC1320
- but none are executed because MD4 is an abstract class.
* MD4ManagedTest.cs: New. Run the unit tests from MD4Test.cs using
the MD4Managed implementation of MD4.
* PKCS8Test.cs: New. Unit tests for PKCS8.

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

20 years ago2003-11-27 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 28 Nov 2003 02:53:06 +0000 (02:53 -0000)]
2003-11-27  Sebastien Pouliot  <spouliot@videotron.ca>

* MD4.cs: New. Asbtract class for all MD4 implementations. WARNING:
The MD4 algorithm is BROKEN (collisions) and SHOULDN'T be used in
NEW designs. However some higher level algorithms (like NTLM) requires
MD4 (and may even be secure using it). YOU'RE WARNED!
* MD4Managed.cs: New. Managed implementation of MD4 (RFC1320).
* PKCS8.cs: New. Added Private-Key Information Syntax Standard as a
building block for PKCS12.

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 01:20:14 +0000 (01:20 -0000)]
2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XslCopy.cs, XslCopyOf.cs : namespace nodes should be written.

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 01:15:51 +0000 (01:15 -0000)]
2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* IdPattern.cs : This should work against multiple ids.

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 01:13:15 +0000 (01:13 -0000)]
2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* Expression.cs : namespace axis now traversed in reverse order, so it
  requires sorting.
* Iterator.cs : UnionIterator.Clone() was incomplete.
  NamespaceItarator() should be reverse order (special handling
  because of XPathNavigator specification).

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 01:09:10 +0000 (01:09 -0000)]
2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlTextWriter.cs : When element's namespace should be overwritten by
  one of its attribute, if exist as such. This fixes bug #51305.

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

20 years ago2003-11-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 27 Nov 2003 22:37:41 +0000 (22:37 -0000)]
2003-11-27  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Foreach.TryType): Use DeclaredOnly to find the
GetEnumerator method.

(ProbeCollectionType): Iterate starting at the most specific type
upwards looking for a GetEnumerator

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

20 years agoAdd new test for bug 51446
Miguel de Icaza [Thu, 27 Nov 2003 22:37:12 +0000 (22:37 -0000)]
Add new test for bug 51446

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

20 years ago2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 27 Nov 2003 22:29:13 +0000 (22:29 -0000)]
2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>

* Array.cs: make the enumerator ICloneable

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

20 years ago2003-11-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 27 Nov 2003 21:28:22 +0000 (21:28 -0000)]
2003-11-27  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Fix tail calls with valuetype arguments.
Also optimize the case when the arguments are the same in the caller
and in the callee.

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

20 years ago2003-11-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 27 Nov 2003 21:14:24 +0000 (21:14 -0000)]
2003-11-27  Zoltan Varga  <vargaz@freemail.hu>

* iltests.il: Add tests for tail calls with valuetype arguments.

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

20 years agoSmall update
Miguel de Icaza [Thu, 27 Nov 2003 20:45:42 +0000 (20:45 -0000)]
Small update

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

20 years agosome work on msxml script
Ben Maurer [Thu, 27 Nov 2003 20:15:36 +0000 (20:15 -0000)]
some work on msxml script

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

20 years ago* Microsoft.VisualBasic/VBCodeGenerator.cs: Support for Option Strict/Option Explicit
Rafael Teixeira [Thu, 27 Nov 2003 20:06:31 +0000 (20:06 -0000)]
* Microsoft.VisualBasic/VBCodeGenerator.cs: Support for Option Strict/Option Explicit

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

20 years agoThu Nov 27 21:06:37 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 27 Nov 2003 20:02:52 +0000 (20:02 -0000)]
Thu Nov 27 21:06:37 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: fixes for struct return type.

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

20 years ago2003-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Nov 2003 19:24:34 +0000 (19:24 -0000)]
2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* UrlUtils.cs: fix bug introduced with last change that makes relative
paths fail. Closes bug #51448.

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

20 years ago2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 27 Nov 2003 18:12:18 +0000 (18:12 -0000)]
2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>

* Decimal.cs (ToXXX): Call Convert.ToXXX.

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

20 years agoThu Nov 27 19:02:07 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 27 Nov 2003 18:00:53 +0000 (18:00 -0000)]
Thu Nov 27 19:02:07 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini.h, mini.c, mini-x86.c, mini-ppc.c, mini-sparc.c: move
mono_spillvar_offset() to arch-specific code.

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

20 years agoThu Nov 27 18:30:42 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 27 Nov 2003 17:26:45 +0000 (17:26 -0000)]
Thu Nov 27 18:30:42 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini-ppc.h, mini-ppc.c: handle some different ABI call convention issues.

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

20 years ago * Methods.cs: Added correct namespace for serialization in Fault class.
Lluis Sanchez [Thu, 27 Nov 2003 16:47:17 +0000 (16:47 -0000)]
* Methods.cs: Added correct namespace for serialization in Fault class.
* SoapHttpClientProtocol.cs: Changed the method used to check if the
  result is a fault. Now the check is done inside
  WebServiceHelper.ReadSoapMessage. Removed some debug writelines.
* WebServiceHelper.cs: If the message body is a fault, use the fault
  serializer.

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

20 years ago * XmlSerializationReader.cs: Generate identifiers for arrays user a counter.
Lluis Sanchez [Thu, 27 Nov 2003 16:45:43 +0000 (16:45 -0000)]
* XmlSerializationReader.cs: Generate identifiers for arrays user a counter.
  delayedListFixups.Count cannot be used because elementes from
  delayedListFixups are deleted sometimes.

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

20 years ago2003-11-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 27 Nov 2003 15:55:41 +0000 (15:55 -0000)]
2003-11-27  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-x86.c: Fix stack space leaks.

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

20 years ago2003-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Nov 2003 15:31:59 +0000 (15:31 -0000)]
2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Text.RegularExpressions/interpreter.cs: when evaluating a
degenerate match, restore the RepeatContext if fail. Fixes bug #42529.

* Test/System.Text.RegularExpressions/RegexBugs.cs: added tests from
bug #42529.

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

20 years ago2003-11-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 27 Nov 2003 15:19:14 +0000 (15:19 -0000)]
2003-11-27  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-x86.c (mono_arch_find_jit_info): Restore callee saved
registers from the lmf if the method has save_lmf set.

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

20 years ago * XmlReflectionImporter.cs: Indexer properties must not be serialized.
Lluis Sanchez [Thu, 27 Nov 2003 12:08:50 +0000 (12:08 -0000)]
* XmlReflectionImporter.cs: Indexer properties must not be serialized.
  This fixes bug #51060.

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

20 years ago * VBCodeCompiler.cs: Put a space between Property and the
Jackson Harper [Thu, 27 Nov 2003 11:50:48 +0000 (11:50 -0000)]
    * VBCodeCompiler.cs: Put a space between Property and the
properties name. Only add a closing quote to strings if we are
still in a quote. Use BaseType == "System.Void" to determine if a
method is void. This prevents getting As Nothing functions. Many
thanks to Anirban for helping me with VB Syntax.

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

20 years ago* Implemented DrawMixedCheckBox on top of System.Drawing
Peter Dennis Bartok [Thu, 27 Nov 2003 11:33:45 +0000 (11:33 -0000)]
* Implemented DrawMixedCheckBox on top of System.Drawing
* Implemented DrawMenuGlyph on top of System.Drawing
* Implemented DrawStringDisabled on top of System.Drawing
* Implemented DrawSizeGrip on top of System.Drawing
* Implemented DrawSelectionFrame on top of System.Drawing
* Minor cleanups

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

20 years agoSet CLSComplaint to true in AssemblyInfo
Sunil Kumar [Thu, 27 Nov 2003 11:00:26 +0000 (11:00 -0000)]
Set CLSComplaint to true in AssemblyInfo

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

20 years ago * VBCodeCompiler.cs: Put a space between Property and the
Jackson Harper [Thu, 27 Nov 2003 10:58:31 +0000 (10:58 -0000)]
    * VBCodeCompiler.cs: Put a space between Property and the
properties name.

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

20 years agoChange explicit implementation of interface method as per migueal suggestion
Sunil Kumar [Thu, 27 Nov 2003 10:51:51 +0000 (10:51 -0000)]
Change explicit implementation of interface method as per migueal suggestion

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

20 years ago * VBCodeCompiler.cs: use /wlevel for warning level. This is what
Jackson Harper [Thu, 27 Nov 2003 09:28:19 +0000 (09:28 -0000)]
    * VBCodeCompiler.cs: use /wlevel for warning level. This is what
mbas uses.

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

20 years ago * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
Jackson Harper [Thu, 27 Nov 2003 08:31:21 +0000 (08:31 -0000)]
    * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
51434.

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

20 years agoImprove
Miguel de Icaza [Thu, 27 Nov 2003 07:01:26 +0000 (07:01 -0000)]
Improve

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

20 years agomore Emit method addings
César Natarén [Thu, 27 Nov 2003 06:42:12 +0000 (06:42 -0000)]
more Emit method addings

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

20 years ago2003-11-27 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 27 Nov 2003 06:33:40 +0000 (06:33 -0000)]
2003-11-27  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs (Expression): implemented Emit.

* expression.cs (Binary): Emit now creates a local for the
different kinds of binary expressions (initial code for this).

* ast.cs: Emit method now is abstract instead of virtual.

* CodeGenerator.cs: changed no_global_code_method to is_global_code_method.

* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, DebugBreak.cs,
Enum.cs, Equality.cs, Eval.cs, ForIn.cs, FormalParameterList.cs,
FunctionExpression.cs, Import.cs, InstanceOf.cs, Literal.cs,
NumericLiteral, NumericBinary.cs, NumericUnary.cs, Package.cs,
Plus.cs, PostOrPrefixOperator.cs, Print.cs, Relational.cs,
Continue, Break, Return, StrictEquality.cs, StringLiteral.cs,
Throw.cs, Try.cs, TypeOf.cs, VariableDeclaration.cs, With.cs,
Conditional, Call, Identifier, Args, Expression, :
added Emit method.

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

20 years agoThis was not a bug
Miguel de Icaza [Thu, 27 Nov 2003 05:56:35 +0000 (05:56 -0000)]
This was not a bug

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

20 years ago2003-11-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 27 Nov 2003 05:52:19 +0000 (05:52 -0000)]
2003-11-27  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Shift count can be up to 31 for int/uint and 63
for long/ulong.

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

20 years ago2003-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 27 Nov 2003 04:48:22 +0000 (04:48 -0000)]
2003-11-26  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Block.LookupLabel): Also look for the label on the
children blocks.  Use a hash table to keep track of visited
nodes.

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

20 years agoAdd new test
Miguel de Icaza [Thu, 27 Nov 2003 04:47:31 +0000 (04:47 -0000)]
Add new test

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

20 years agoDummy
Miguel de Icaza [Thu, 27 Nov 2003 04:41:26 +0000 (04:41 -0000)]
Dummy

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

20 years ago2003-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Nov 2003 04:10:04 +0000 (04:10 -0000)]
2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* UrlUtils.cs: fixed Combine() handling of ~.

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

20 years ago2003-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Nov 2003 01:50:44 +0000 (01:50 -0000)]
2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: removed unneeded StringBuilder.
* WebConnection.cs: default to keep the connection open for HTTP/1.1
only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.

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

20 years ago2003-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 27 Nov 2003 01:41:32 +0000 (01:41 -0000)]
2003-11-26  Miguel de Icaza  <miguel@ximian.com>

* cfold.cs (IntConstant to UIntConstant mapping): Only return if
we actually did transform the other operand, otherwise fall back
to the common codepath that casts to long.

* cs-tokenizer.cs: Use the same code pattern as the int case.
Maybe I should do the parsing myself, and avoid depending on the
Parse routines to get this done.

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

20 years ago * BaseDataList.cs: Change && to || We will call that a typo so no
Jackson Harper [Wed, 26 Nov 2003 23:50:14 +0000 (23:50 -0000)]
    * BaseDataList.cs: Change && to || We will call that a typo so no
one gets embarrased.

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

20 years ago2003-11-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 26 Nov 2003 23:31:41 +0000 (23:31 -0000)]
2003-11-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* Control.cs: Add DataBindChildren for v2. Implement
glue to make Page.Eval work.
* Page: use a stack to store the current dataitem
for Eval. Implement Eval/XPath/XPathSelect
* DataBinder.cs: implement GetDataItem.

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

20 years ago * TabsDrawMode.cs: OwnerDrawFixed (fix typo).
Jackson Harper [Wed, 26 Nov 2003 22:35:56 +0000 (22:35 -0000)]
    * TabsDrawMode.cs: OwnerDrawFixed (fix typo).

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

20 years ago * OutputCacheModule.cs: Only cache a page if it has a 200 status
Jackson Harper [Wed, 26 Nov 2003 22:23:28 +0000 (22:23 -0000)]
    * OutputCacheModule.cs: Only cache a page if it has a 200 status
code. Fix tabbing.
* CachedVaryBy.cs: Give raw response keys a name, use the
httpmethod in the key, and delimit items with \n so it is easier
to read when debugging.

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

20 years ago2003-11-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 26 Nov 2003 20:42:50 +0000 (20:42 -0000)]
2003-11-26  Zoltan Varga  <vargaz@freemail.hu>

* exception.c (mono_exception_from_name_domain): New helper function.

* appdomain.c (ves_icall_System_AppDomain_createDomain): Create the
exception object in the correct domain.

* appdomain.c (ves_icall_System_AppDomain_LoadAssemblyRaw): Fix
formatting + make a copy a the input data.

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

20 years ago2003-11-27 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 26 Nov 2003 20:33:43 +0000 (20:33 -0000)]
2003-11-27  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* FunctionDeclaration.cs: Check if values are not null first (at
Resolve). Ignore code generation is at 'Global Code'.

* VariableDeclaration.cs: Now I take care of IL generation when we
are at statements and expressions at global code, 'Global Code'
method is populated with that IL.

* CodeGenerator.cs: Added flag for 'Global Code' method
emittion. Now I call 'Emit' twice. The first for declarations the
follower for statements and expressions at global scope.

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

20 years ago2003-11-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 26 Nov 2003 19:24:46 +0000 (19:24 -0000)]
2003-11-26  Zoltan Varga  <vargaz@freemail.hu>

* tramp-x86.c (x86_magic_trampoline): Avoid patching in the addresses
of icall wrappers into InvokeInDomain, since these are now per-domain.

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

20 years agoWed Nov 26 20:15:04 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 26 Nov 2003 19:14:16 +0000 (19:14 -0000)]
Wed Nov 26 20:15:04 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini-ppc.h, mini-x86.h, mini.c, inssel-ppc.brg, jit-icalls.c:
make some opcode emulation and intrinsic ops enabled/disabled
according to the architecture. More fixes.

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

20 years ago2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 26 Nov 2003 19:13:37 +0000 (19:13 -0000)]
2003-11-26  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* corlib.dll.sources: Added file:
System.Runtime.InteropServices.DispatchWrapper.cs

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

20 years ago2003-11-26 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 26 Nov 2003 19:12:59 +0000 (19:12 -0000)]
2003-11-26  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* DispatchWrapper.cs: Added and implemented
* ErrorWrapper.cs: Fixed bug
* Marshal.cs: Added missing members

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

20 years ago2003-11-26 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 26 Nov 2003 19:03:15 +0000 (19:03 -0000)]
2003-11-26  Tim Coleman <tim@timcoleman.com>
        * System.Data.ObjectSpaces_test.dll.sources:
        * Makefile:
                Add stuff for tests
        * System.Data.ObjectSpaces/PersistenceError.cs:
        * System.Data.ObjectSpaces/PersistenceException.cs:
        * System.Data.ObjectSpaces.Schema/ExtendedProperty.cs:
        * System.Data.ObjectSpaces.Schema/ExtendedPropertyCollection.cs:
        * System.Data.ObjectSpaces.Schema/ObjectRelationship.cs:
        * System.Data.ObjectSpaces.Schema/ObjectRelationshipCollection.cs:
        * System.Data.ObjectSpaces.Schema/ObjectRelationshipType.cs:
        * System.Data.ObjectSpaces.Schema/SchemaClass.cs:
        * System.Data.ObjectSpaces.Schema/SchemaClassCollection.cs:
        * System.Data.ObjectSpaces.Schema/SchemaMember.cs:
        * System.Data.ObjectSpaces.Schema/SchemaMemberCollection.cs:
        * System.Data.ObjectSpaces.dll.sources:
                New class stubs added
        * System.Data.ObjectSpaces/CommonObjectContext.cs:
        * System.Data.ObjectSpaces/ContextException.cs:
        * System.Data.ObjectSpaces/DbObjectReader.cs:
        * System.Data.ObjectSpaces/ObjectContext.cs:
        * System.Data.ObjectSpaces/ObjectException.cs:
        * System.Data.ObjectSpaces/ObjectKeyManager.cs:
        * System.Data.ObjectSpaces/ObjectList.cs:
        * System.Data.ObjectSpaces/OneToManyRelationship.cs:
        * System.Data.ObjectSpaces/OneToOneRelationship.cs:
        * System.Data.ObjectSpaces.Schema/ObjectSchema.cs:
                Updates to make more correct

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

20 years agoWed Nov 26 19:59:09 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 26 Nov 2003 18:56:32 +0000 (18:56 -0000)]
Wed Nov 26 19:59:09 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, mini-sparc.c, cpu-g4.md: more bug fixes.

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

20 years ago2003-11-26 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 26 Nov 2003 18:54:26 +0000 (18:54 -0000)]
2003-11-26  Tim Coleman <tim@timcoleman.com>
        * ChangeLog run_test.sh
        * System.Data.ObjectSpaces/CommonObjectContextTests.cs:
                New classes added for test

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

20 years agoStyle
Miguel de Icaza [Wed, 26 Nov 2003 18:42:32 +0000 (18:42 -0000)]
Style

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

20 years agoAPI signature fix
Miguel de Icaza [Wed, 26 Nov 2003 18:42:19 +0000 (18:42 -0000)]
API signature fix

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

20 years ago2003-11-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 26 Nov 2003 18:42:00 +0000 (18:42 -0000)]
2003-11-25  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Apply fix from l_m@pacbell.net (Laurent Morichetti),
which fixes bug 51347.  This time test it.

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

20 years agoAdd old test
Miguel de Icaza [Wed, 26 Nov 2003 18:41:43 +0000 (18:41 -0000)]
Add old test

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

20 years ago2003-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 26 Nov 2003 18:37:32 +0000 (18:37 -0000)]
2003-11-26  Miguel de Icaza  <miguel@ximian.com>

* DataSet.cs: Add a few more missing methods, code style updated
to Mono style.

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

20 years agoAdd missing method
Miguel de Icaza [Wed, 26 Nov 2003 18:27:55 +0000 (18:27 -0000)]
Add missing method

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

20 years agoFix build
Miguel de Icaza [Wed, 26 Nov 2003 18:21:36 +0000 (18:21 -0000)]
Fix build

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

20 years agoWed Nov 26 19:18:29 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 26 Nov 2003 18:15:42 +0000 (18:15 -0000)]
Wed Nov 26 19:18:29 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini.h, inssel.brg, mini-x86.c, mini-ppc.c, mini-sparc.c: move
arch-specific handling for 'this' and struct return type to
arch-specific code.

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

20 years ago2003-11-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 26 Nov 2003 18:12:44 +0000 (18:12 -0000)]
2003-11-26  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Add -fno-strict-aliasing to CFLAGS.

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

20 years ago2003-11-26 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 26 Nov 2003 18:07:41 +0000 (18:07 -0000)]
2003-11-26  Tim Coleman <tim@timcoleman.com>
* DbDataReader.cs:
Bugfix.

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

20 years ago * SessionSQLServerHandler.cs: Fix typo in param name.
Jackson Harper [Wed, 26 Nov 2003 18:06:26 +0000 (18:06 -0000)]
    * SessionSQLServerHandler.cs: Fix typo in param name.

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

20 years ago2003-11-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 26 Nov 2003 17:37:36 +0000 (17:37 -0000)]
2003-11-26  Zoltan Varga  <vargaz@freemail.hu>

* dump.c dump.h main.c: Added support for dumping the ImplMap table
(--implmap).

* main.c (dis_method_list): Avoid disassembling native code.

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

20 years ago2003-11-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 26 Nov 2003 17:35:41 +0000 (17:35 -0000)]
2003-11-26  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_get_method_from_token): Methods which contain
native code do not have entries in the ImplMap.

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

20 years ago2003-11-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 26 Nov 2003 17:17:59 +0000 (17:17 -0000)]
2003-11-26  Zoltan Varga  <vargaz@freemail.hu>

(ves_icall_System_AppDomain_LoadAssemblyRaw): Fix exception throw.
Thanks to Gonzalo for spotting this.

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

20 years ago * corlib.dll.sources: Added
Lluis Sanchez [Wed, 26 Nov 2003 16:05:37 +0000 (16:05 -0000)]
* corlib.dll.sources: Added
System.Runtime.Remoting.Services/EnterpriseServicesHelper.cs
* corlib_test.dll.sources: Added System.Runtime.Remoting/SoapServicesTest.cs

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

20 years agoSoapServicesTest.cs: New test added.
Lluis Sanchez [Wed, 26 Nov 2003 16:03:49 +0000 (16:03 -0000)]
SoapServicesTest.cs: New test added.

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

20 years agoRealProxy.cs: Signature fix.
Lluis Sanchez [Wed, 26 Nov 2003 15:56:48 +0000 (15:56 -0000)]
RealProxy.cs: Signature fix.

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

20 years ago* EnterpriseServicesHelper.cs: Added to CVS.
Lluis Sanchez [Wed, 26 Nov 2003 15:55:37 +0000 (15:55 -0000)]
* EnterpriseServicesHelper.cs: Added to CVS.

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

20 years ago2003-11-26 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 26 Nov 2003 15:49:35 +0000 (15:49 -0000)]
2003-11-26  Tim Coleman <tim@timcoleman.com>
        * AssemblyInfo.cs: Added
        * ChangeLog: Added
        * Locale.cs: Added

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

20 years ago2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 26 Nov 2003 15:46:04 +0000 (15:46 -0000)]
2003-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* aot.c: prevent divide by zero error when reporting (it happened with
Accessibility.dll).

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

20 years ago2003-11-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 26 Nov 2003 15:34:59 +0000 (15:34 -0000)]
2003-11-26  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Applied patch from recht@netbsd.org. Avoid linking in
librt if not neccesary.

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