mono.git
19 years ago2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Mar 2005 16:32:53 +0000 (16:32 -0000)]
2005-03-14  Sebastien Pouliot  <sebastien@ximian.com>

* declsec.c: Reworked linkdemand checks for icall. The previous code
was using the declaration code (untrusted) and didn't work as expected
with the CLR 2.0. We're now more compatible with 2.0 than 1.x for this
specific case.

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

19 years agoNew test.
Martin Baulig [Mon, 14 Mar 2005 15:39:43 +0000 (15:39 -0000)]
New test.

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

19 years ago2005-03-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 14 Mar 2005 15:39:16 +0000 (15:39 -0000)]
2005-03-14  Martin Baulig  <martin@ximian.com>

* generic.cs (Nullable.NullCoalescingOperator): Implemented.

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

19 years ago2005-03-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 14 Mar 2005 15:17:54 +0000 (15:17 -0000)]
2005-03-14  Zoltan Varga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h: Add missing AMD64_XMM7.

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

19 years ago2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Mar 2005 14:00:59 +0000 (14:00 -0000)]
2005-03-14  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityManager.cs: Fix CodeAccessPermissionTest.CustomCAS unit test
when --security is enabled (code was over-optimized ;-).

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

19 years ago2005-03-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 14 Mar 2005 11:39:50 +0000 (11:39 -0000)]
2005-03-14  Martin Baulig  <martin@ximian.com>

* generic.cs (Nullable.LiftedBinaryOperator): Added support for
the comparision operators `<', `>', `<=' and `>='.

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

19 years ago* build/library.make (gacutil): Use net_1_1_bootstrap/gacutil.exe.
Raja R Harinath [Mon, 14 Mar 2005 11:27:12 +0000 (11:27 -0000)]
* build/library.make (gacutil): Use net_1_1_bootstrap/gacutil.exe.
* Makefile (net_1_1_bootstrap_SUBDIRS): Add 'gacutil'.
* tools/gacutil/Makefile (PROGRAM): Make profile-specific during
net_1_1_bootstrap.

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

19 years ago* runtime/Makefile.am (SUPPORT_FILES): New. List of dependencies from ...
Raja R Harinath [Mon, 14 Mar 2005 11:22:03 +0000 (11:22 -0000)]
* runtime/Makefile.am (SUPPORT_FILES): New.  List of dependencies from ...
(all-local): ... here.  Use it.
(install-local): Depend on $(SUPPORT_FILES).

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

19 years ago* Makefile (NO_INSTALL): Define during the first pass.
Raja R Harinath [Mon, 14 Mar 2005 10:46:49 +0000 (10:46 -0000)]
* Makefile (NO_INSTALL): Define during the first pass.

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

19 years ago2005-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Mar 2005 10:42:00 +0000 (10:42 -0000)]
2005-03-14  Atsushi Enomoto  <atsushi@ximian.com>

* XslKey.cs,
  XsltCompiledContext.cs,
  XslFunctions.cs,
  XslTransformProcessor.cs : Now dynamic context key index table is
  separate from XslKey static context. Added KeyIndexTable class and
  store it into XsltCompiledContext with hash name-table mapping.
  Cache map from statically-named key to index table.
  Use Hashtable for internal key cache instead of ArrayList.

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

19 years ago* runtime/Makefile.am (clean_profiles): Remove.
Raja R Harinath [Mon, 14 Mar 2005 10:40:32 +0000 (10:40 -0000)]
* runtime/Makefile.am (clean_profiles): Remove.
(clean-local): Use $(build_profiles).
(install-local, uninstall-local): Don't override $(prefix).

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

19 years agoIn .:
Raja R Harinath [Mon, 14 Mar 2005 10:39:31 +0000 (10:39 -0000)]
In .:
* Makefile (_boot_): New.  Used to generalize the bootstrap to
clean and install too.
* tools/security/Makefile (install-local, uninstall-local): Disable when
NO_INSTALL is defined.
* jay/Makefile (install-local, uninstall-local): Disable when
NO_INSTALL is defined.
* build/executable.make (install-local): Depend on all-local even when
NO_INSTALL is defined.
* build/library.make: Minor cleanups to match executable.make.
* build/profiles/basic.make (no-install): Remove.
* build/profiles/net_1_1_bootstrap.make (no-install): Likewise.

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

19 years ago2005-03-14 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Mon, 14 Mar 2005 07:10:58 +0000 (07:10 -0000)]
2005-03-14 Ritvik Mayank <mritvik@novell.com>
Added the following test cases
* ExpressionLiteralNumeric1.vb
* ExpressionLiteralString1.vb
* ExpressionMyBase1.vb

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

19 years ago2005-03-14 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Mon, 14 Mar 2005 06:36:57 +0000 (06:36 -0000)]
2005-03-14 Ritvik Mayank <mritvik@novell.com>
Added the following test cases
* ExpressionStringB.vb
* ExpressionsWithOrElseB.vb
* ExpressionLiteralNothingA.vb
* ExpressionLiteralStringB.vb
* ExpressionReclassifiedB.vb
* ExpressionsWithAndAlsoC.vb
* ExpressionLiteralNumericE.vb
* ExpressionMemberAccess.vb
* ExpressionsWithOrElseC.vb
* ExpressionLiteralNothingB.vb
* ExpressionMemberAccessDict.vb
* ExpressionLiteralStringC.vb
* ExpressionReclassifiedC.vb
* ExpressionLiteralNumericF.vb
* ExpressionLiteralNumericG.vb
* ExpressionSimpleWithA.vb
* ExpressionParenthesizedA.vb
* ExpressionSimpleNameTypeOfA.vb
* ExpressionSimpleWithB.vb
* ExpressionLiteralCharA.vb
* ExpressionInstanceMyBaseA.vb
* ExpressionParenthesizedB.vb
* ExpressionSimpleWithC.vb
* ExpressionLiteralCharB.vb
* ExpressionOverLoadMethodA.vb
* ExpressionParenthesizedC.vb
* ExpressionInstanceMyClassA.vb
* ExpressionLiteralNumericA.vb
* ExpressionSimpleNameGetTypeA.vb
* ExpressionLiteralNumericB.vb
* ExpressionsWithAndAlsoA.vb
* ExpressionLiteralNumericC.vb
* ExpressionStringA.vb
* ExpressionsWithOrElseA.vb
* ExpressionSimpleNameAddressOfA.vb
* ExpressionLiteralStringA.vb
* ExpressionInstanceMeA.vb
* ExpressionsWithAndAlsoB.vb
* ExpressionLiteralNumericD.vb
* ExpressionReclassificationA.vb

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

19 years ago2005-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Mar 2005 06:07:05 +0000 (06:07 -0000)]
2005-03-14  Atsushi Enomoto <atsushi@ximian.com>

* xslttest.cs,
  alltest.cs : reduced some key exclusions (fixed some).
* ignore.lst : updated ignored cases.

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

19 years ago2005-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Mar 2005 06:04:47 +0000 (06:04 -0000)]
2005-03-14  Atsushi Enomoto  <atsushi@ximian.com>

* XslKey.cs : fixed node iteration on collecting key indices which
  could have resulted in an infinite loop.

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

19 years ago2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Mar 2005 04:32:30 +0000 (04:32 -0000)]
2004-03-14  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs,
  DefaultContext.cs : Basic constant folding optimization (not so
  effective right now). Unified number-to-string conversion code into
  XPathFunctions.ToString(double) to avoid roundtrip format right now.
* Iterator.cs : removed unused code.

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

19 years ago2005-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Mar 2005 04:27:45 +0000 (04:27 -0000)]
2005-03-14  Atsushi Enomoto  <atsushi@ximian.com>

* XslDecimalFormat.cs : in some cases it does not throw format
  exception.

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

19 years ago2005-03-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Mar 2005 02:18:56 +0000 (02:18 -0000)]
2005-03-13  Sebastien Pouliot  <sebastien@ximian.com>

* util.c: Fix buffer length in mono_set_rootdir.

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

19 years ago2005-03-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Mar 2005 02:18:24 +0000 (02:18 -0000)]
2005-03-13  Sebastien Pouliot  <sebastien@ximian.com>

* process.c: Fix buffer length in ves_icall_System_Diagnostics_Process
_ProcessName_internal.

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

19 years ago- Set correct text for openSaveButton Text property
Alexander Olk [Sun, 13 Mar 2005 18:40:24 +0000 (18:40 -0000)]
- Set correct text for openSaveButton Text property
- Added columns for fileListView Details view and some code that fills the columns with
  file and directory related information
- Added fileListViewBigImageList

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 18:29:46 +0000 (18:29 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* iltests.il: Add new localloc test.

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 16:57:42 +0000 (16:57 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h: Remove some unneccesary REXes.

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 16:56:59 +0000 (16:56 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c: Handle large stack allocations the same way as on
windows if stack overflow handling is working.

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 16:24:52 +0000 (16:24 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_array_new_full): Fix aligning of array size. Fixes
#73631.

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 15:55:40 +0000 (15:55 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c: Allocate the signal stack using mmap.

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 15:50:11 +0000 (15:50 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (sigsegv_signal_handler): Fix reading of context.

* mini-exceptions.c: Fix up stack overflow handling.

* mini-amd64.h mini-amd64.c: Fix up stack overflow handling.

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 12:43:57 +0000 (12:43 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c (create_specific_trampoline): Optimize trampoline size.

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 12:11:35 +0000 (12:11 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-amd64.c (mono_amd64_exceptions_init): Remove this.

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 12:10:38 +0000 (12:10 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c tramp-*.c: Move common trampoline code to mini.c.

* mini-x86.h mini-x86.c mini-amd64.h mini-amd64.c: Get rid of the
tramp_init functions as they are no longer needed.

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

19 years agoFirst basic implementation of FileDialog, Open- and SaveFileDialog
Alexander Olk [Sun, 13 Mar 2005 11:11:48 +0000 (11:11 -0000)]
First basic implementation of FileDialog, Open- and SaveFileDialog

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

19 years agoAdded bitmaps for FileDialog
Alexander Olk [Sun, 13 Mar 2005 11:09:26 +0000 (11:09 -0000)]
Added bitmaps for FileDialog

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

19 years agoUpdated.
Martin Baulig [Sun, 13 Mar 2005 09:45:16 +0000 (09:45 -0000)]
Updated.

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

19 years agoAlso enable this one.
Martin Baulig [Sun, 13 Mar 2005 09:06:21 +0000 (09:06 -0000)]
Also enable this one.

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

19 years agoOoops, forgot to add this test.
Martin Baulig [Sun, 13 Mar 2005 09:05:35 +0000 (09:05 -0000)]
Ooops, forgot to add this test.

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

19 years ago2005-03-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 13 Mar 2005 09:04:19 +0000 (09:04 -0000)]
2005-03-13  Martin Baulig  <martin@ximian.com>

* generic.cs
(Nullable.NullLiteral): Renamed to `Nullable.NullableLiteral' to
avoid confusion with the `NullLiteral'.
(Nullable.LiftedBinaryOperator): Correctly implement `==' and '!='.

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

19 years agoSmall workaround for our grammar problem #59289.
Martin Baulig [Sun, 13 Mar 2005 07:49:00 +0000 (07:49 -0000)]
Small workaround for our grammar problem #59289.

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

19 years ago2005-03-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 13 Mar 2005 07:46:28 +0000 (07:46 -0000)]
2005-03-13  Martin Baulig  <martin@ximian.com>

* expression.cs (Binary.ResolveOperator): For `==' and `!=', allow
comparing arbitrary types with the null literal.

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

19 years agoNew test.
Martin Baulig [Sun, 13 Mar 2005 07:13:19 +0000 (07:13 -0000)]
New test.

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

19 years ago2005-03-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 13 Mar 2005 07:11:42 +0000 (07:11 -0000)]
2005-03-13  Martin Baulig  <martin@ximian.com>

* generic.cs (Nullable.LiftedBinaryOperator): Add support for the
boolean operators '&&', '||', '&' and '|'.
(Nullable.OperatorTrueOrFalse): New public class.

* ecore.cs (Expression.GetOperatorTrue/False): Return an `Expression'
instead of a `StaticCallExpr'; added support for nullables.

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

19 years ago2005-03-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 13 Mar 2005 02:39:29 +0000 (02:39 -0000)]
2005-03-13  Martin Baulig  <martin@ximian.com>

Reverted things back to revision 41701, which was the last one
before Marek's changes.

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

19 years ago2005-03-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 13 Mar 2005 01:39:07 +0000 (01:39 -0000)]
2005-03-13  Zoltan Varga  <vargaz@freemail.hu>

* icall.c threads.c threads-types.h: Remove slothash icalls as they
are no longer used.

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

19 years ago2005-03-12 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sat, 12 Mar 2005 23:32:33 +0000 (23:32 -0000)]
2005-03-12  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs:
          - Fix hard loop when timers exist.
          - Fix bugs with middle and right click for 3 button mice.

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

19 years ago2005-03-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 12 Mar 2005 14:32:23 +0000 (14:32 -0000)]
2005-03-12  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c (mono_amd64_tramp_init): Fix typo.

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

19 years ago2005-03-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 12 Mar 2005 14:31:15 +0000 (14:31 -0000)]
2005-03-12  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c (mono_amd64_tramp_init): Init AOT trampoline as well.

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

19 years ago2005-03-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 12 Mar 2005 14:29:49 +0000 (14:29 -0000)]
2005-03-12  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.h mini-amd64.c (mono_amd64_exceptions_init): Remove this.

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

19 years ago2005-03-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 12 Mar 2005 14:19:23 +0000 (14:19 -0000)]
2005-03-12  Zoltan Varga  <vargaz@freemail.hu>

* mini.c mini-*.h: Remove OUT_OF_LINE_BBLOCK defines since all arches
support that now.

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

19 years ago2005-03-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 12 Mar 2005 14:11:28 +0000 (14:11 -0000)]
2005-03-12  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h: Add OP_LMUL_IMM.

* mini.c jit-icalls.cmini-amd64.h mini-amd64.c cpu-amd64.md: Implement
long mul/div opcodes as intrinsic.

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

19 years ago2005-03-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 12 Mar 2005 12:21:03 +0000 (12:21 -0000)]
2005-03-12  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (emit_call): Handle the case when the callee might be
an AOT method.

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

19 years ago- Added sanity check to GetWindowPos
Peter Dennis Bartok [Sat, 12 Mar 2005 06:03:07 +0000 (06:03 -0000)]
- Added sanity check to GetWindowPos
- Fixed get_WorkingArea to use X call to get desktop size

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

19 years ago * BindingManagerBase.cs: This method isn't used anymore as
Jackson Harper [Fri, 11 Mar 2005 21:25:39 +0000 (21:25 -0000)]
* BindingManagerBase.cs: This method isn't used anymore as
PullData now updates the data in the control.

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

19 years ago2005-03-11 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 11 Mar 2005 21:21:48 +0000 (21:21 -0000)]
2005-03-11  Peter Bartok  <pbartok@novell.com>
* Control.cs: Changed OnCreateControl behaviour based on a suggestion
  from Jonathan Gilbert; should fix bug #73606
* XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  in Screen coordinates. Thanks, Jordi.
* Form.cs: Added missing attribute

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

19 years ago2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 11 Mar 2005 21:20:14 +0000 (21:20 -0000)]
2005-03-11  Jordi Mas i Hernandez <jordi@ximian.com>

* Form.cs: fixes menu drawing on X11
* MenuAPI.cs:  fixes menu drawing on X11

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

19 years ago2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Mar 2005 21:12:45 +0000 (21:12 -0000)]
2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SqlConnection.cs: added a finalizer for correct implementation of the
IDisposable pattern.

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

19 years ago2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Mar 2005 21:11:27 +0000 (21:11 -0000)]
2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SqlException.cs: make it serialization-compatible with MS. Patch by
Aleksandar Dezelin. Closes bug #73596.

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

19 years ago2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Mar 2005 21:02:19 +0000 (21:02 -0000)]
2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Tds.cs: set the charset for MS SQL 2000. Patch from Aleksandar
Dezelin. Closes bug #73591.

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

19 years ago2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Mar 2005 20:52:27 +0000 (20:52 -0000)]
2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Version.cs: don't ignore the last number. Fixes bug #73539.

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

19 years ago2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Mar 2005 20:25:21 +0000 (20:25 -0000)]
2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* mono-api-info.exe: Don't process attributes inheriting from
SecurityAttribute as we won't ever match them 100% (at least from a
syntaxic point of view). The tool permview.exe can be used to extract
and compare them if/when required.

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

19 years ago2004-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Mar 2005 19:07:43 +0000 (19:07 -0000)]
2004-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* Iterator.cs : more clone reduction.

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

19 years ago2005-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Mar 2005 18:16:50 +0000 (18:16 -0000)]
2005-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* XsltCompiledContext.cs,
  XslStylesheet.cs : Fixed significant performance loss on whitespace
  handling.

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

19 years agorewrote error-* to fit standard pattern
Marek Safar [Fri, 11 Mar 2005 17:33:41 +0000 (17:33 -0000)]
rewrote error-* to fit standard pattern

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

19 years agoupdate
Marek Safar [Fri, 11 Mar 2005 17:31:56 +0000 (17:31 -0000)]
update

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

19 years ago2005-03-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 11 Mar 2005 17:31:27 +0000 (17:31 -0000)]
2005-03-11  Marek Safar  <marek.safar@seznam.cz>

* class.cs (StaticClass.DefineContainerMembers): Added CS0720.

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

19 years ago2005-03-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 11 Mar 2005 17:29:04 +0000 (17:29 -0000)]
2005-03-11 Marek Safar <marek.safar@seznam.cz>

* Makefile: Use new test-runner for mcs compiler.

* mcs-*-error: Merged into know-issues-mcs

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

19 years ago2005-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 11 Mar 2005 16:45:26 +0000 (16:45 -0000)]
2005-03-11  Zoltan Varga  <vargaz@freemail.hu>

* attribute.cs expression.cs: Get rid of some allocations.

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

19 years ago2005-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 11 Mar 2005 16:15:49 +0000 (16:15 -0000)]
2005-03-11  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_get_vcall_slot_addr): Reorder cases to be
extra safe.

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

19 years ago2005-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 11 Mar 2005 16:03:25 +0000 (16:03 -0000)]
2005-03-11  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_get_vcall_slot_addr): Fix ordering of cases.

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

19 years ago2004-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Mar 2005 14:36:25 +0000 (14:36 -0000)]
2004-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs, DefaultContext.cs : more Peer overrides.

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

19 years agoMake 'cs1041.cs' a "no error" test. Remove it from mcs-expect-no-error now that...
Raja R Harinath [Fri, 11 Mar 2005 13:30:20 +0000 (13:30 -0000)]
Make 'cs1041.cs' a "no error" test.  Remove it from mcs-expect-no-error now that it's fixed.

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

19 years ago2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 11 Mar 2005 13:26:21 +0000 (13:26 -0000)]
2005-03-11  Lluis Sanchez Gual <lluis@novell.com>

* Makefile: Added new resource file: GridView.js.
* System.Web.dll.sources: Added more files to the build:
System.Web.UI.WebControls/ButtonFieldBase.cs
System.Web.UI.WebControls/CommandField.cs
System.Web.UI.WebControls/DataControlButton.cs

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

19 years ago2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 11 Mar 2005 13:25:55 +0000 (13:25 -0000)]
2005-03-11  Lluis Sanchez Gual <lluis@novell.com>

* webform.js: ClientSubmit option set to true means submit
performed by asp.net, not by the browser.

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

19 years ago2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 11 Mar 2005 13:25:26 +0000 (13:25 -0000)]
2005-03-11  Lluis Sanchez Gual <lluis@novell.com>

* Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
  correctly.
* CommandField.cs: Mostly implemented.
* Menu.cs: Use callback methods moved to ClientScriptManager.
* DataControlButton.cs: Internal control used to implement buttons
  for navigating in data bound controls.
* DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
  to render the column headers.
* CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
  DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
  Don't use Page.GetPostBackClientEvent
  since it is deprecated in 2.0.
* GridView.cs: Implemented some several interfaces.
  Implemented support client sorting and page navigation (using callbacks).
  Implemented the autogenerated command column using the new CommandField
  class.
* ButtonFieldBase.cs: Implemented.
* GridView.js: New helper script to support client side sorting and
  paging in the grid view.

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

19 years ago2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 11 Mar 2005 13:24:59 +0000 (13:24 -0000)]
2005-03-11  Lluis Sanchez Gual <lluis@novell.com>

* HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
Page.GetPostBackClientEvent since it is deprecated in 2.0.

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

19 years ago2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 11 Mar 2005 13:24:44 +0000 (13:24 -0000)]
2005-03-11  Lluis Sanchez Gual <lluis@novell.com>

* Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
since it is deprecated in 2.0.
* Page.cs: Deprecated GetPostBackClientEvent and similar methods
in 2.0. Moved callback management methods to ClientScriptManager.
* ClientScriptManager.cs: Moved here deprecated methods from Page.
In GetPostBackEventReference (PostBackOptions), don't use the
WebForm_DoPostback script if the post can be done with a simple
__doPostBack call.
* PostBackOptions.cs: Fixed default values for some properties.

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

19 years ago2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 11 Mar 2005 13:23:59 +0000 (13:23 -0000)]
2005-03-11  Lluis Sanchez Gual <lluis@novell.com>

* AssemblyInfo.cs: Registered GridView.js script.

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

19 years ago2005-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 11 Mar 2005 13:22:30 +0000 (13:22 -0000)]
2005-03-11  Zoltan Varga  <vargaz@freemail.hu>

* object.c (compute_class_bitmap): Add support for generics. Fixes
#73527.

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

19 years ago2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Mar 2005 13:14:14 +0000 (13:14 -0000)]
2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: This makefiles calls all CAS tests (in subdirectories)
that shouldn't fail in SVN. It can be called to see if any regressions
occured that affects the security manager.

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

19 years ago2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Mar 2005 13:10:43 +0000 (13:10 -0000)]
2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
(i.e. stack walk) when reflection is being used to invoke a method.

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

19 years ago2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Mar 2005 13:09:04 +0000 (13:09 -0000)]
2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* MonoType.cs: When the security manager is active, constructors and
methods will return null if a linkdemand fails during reflection
query.

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

19 years ago2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Mar 2005 13:06:15 +0000 (13:06 -0000)]
2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityManager.cs: Added methods to support reflection query and
invoke for LinkDemand and InheritanceDemand. Added method to do a
stack walk (demand) when a p/invoking (called by JIT generated code).

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

19 years ago2004-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Mar 2005 12:25:19 +0000 (12:25 -0000)]
2004-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* cs1041.cs : option -doc was missing.

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

19 years agoDisable these for now
Raja R Harinath [Fri, 11 Mar 2005 12:11:26 +0000 (12:11 -0000)]
Disable these for now

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

19 years ago2004-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Mar 2005 11:33:30 +0000 (11:33 -0000)]
2004-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs,
  DefaultContext.cs : Removed unused NeedAbsoluteMatching.
  Added Peer and Subtree (for "peer & subtree optimization. See:
  http://idealliance.org/papers/dx_xmle04/papers/02-03-02/02-03-02.html
  Fixed some ToString() that caused NullReferenceException.

* Iterator.cs : Predicate does not affect on RequireSorting.
  Added SimpleSlashIterator for peer & subtree optimization.

  Added PreserveWhitespace() consideration in BaseIterator.MoveNext().

* XslKey.cs : removed unused NeedAbsoluteMatching.
* XslFunctions.cs : Added Peer (for peer & subtree optimization).
  Added some missing ToString() overrides.

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

19 years ago2005-03-11 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Fri, 11 Mar 2005 11:18:08 +0000 (11:18 -0000)]
2005-03-11 Ritvik Mayank <mritvik@novell.com>
* ConditionalStatementsC22.vb
* ConditionalCompilationC10.vb
* ConditionalCompilationC7.vb
* ConditionalStatementsC4.vb
* ExceptionHandlingC1.vb
changed the LineNo. and removed spurious errors.

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

19 years agoFixes related to displaying correct line number,error message and handle End of blocks
Manjula GHM [Fri, 11 Mar 2005 11:17:59 +0000 (11:17 -0000)]
Fixes related to displaying correct line number,error message and handle End of blocks

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

19 years ago2005-03-11 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Fri, 11 Mar 2005 11:05:17 +0000 (11:05 -0000)]
2005-03-11 Ritvik Mayank <mritvik@novell.com>
* Modified the Following Test Cases:
* teststack.vb
* test.vb
* testdate.vb
* testdecimal.vb
* Impwork.vb

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

19 years agoReverting previous checkin as it was wrong file
Manjula GHM [Fri, 11 Mar 2005 09:21:28 +0000 (09:21 -0000)]
Reverting previous checkin as it was wrong file

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

19 years ago Minor fix in the LoopStatement test case
Manjula GHM [Fri, 11 Mar 2005 09:12:54 +0000 (09:12 -0000)]
 Minor fix in the LoopStatement test case

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

19 years ago2005-03-11 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 11 Mar 2005 09:09:47 +0000 (09:09 -0000)]
2005-03-11  Peter Bartok  <pbartok@novell.com>

* Form.cs:
  - Rudimentary Mdi support
  - Removed outdated FormParent code
  - Implemented lots of missing properties and methods, still missing
    transparency support
  - Added missing attributes
  - Implemented support for MaximumBounds
  - Added firing of various events
* XplatUI.cs: Added SetIcon() method
* XplatUIDriver.cs: Added SetIcon() abstract
* XplatUIOSX.cs: Stubbed out SetIcon() method
* XplatUIX11.cs:
  - Implemented SetIcon() support
  - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  - Switched to unix line endings
* XplatUIWin32.cs:
  - Made POINT internal so for can access it as part of MINMAX
  - Implemented SetIcon() support
  - Implemented support for CLIENTCREATESTRUCT (but might have to drop
    native Mdi support again, might have to go managed)
* Control.cs: Now fires the StyleChanged event
* MdiClient.cs: Added; still mostly empty

2005-03-11  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added MdiClient.cs

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

19 years ago* expression.cs :
Satya Sudha K [Fri, 11 Mar 2005 08:42:39 +0000 (08:42 -0000)]
* expression.cs :
  Support for 'Nothing' with all operators.
  A few fixes to the 'DoNumericPromotions' method
* ecore.cs      :
  Fixed Boolean constant conversions
  Supported conversion of 'nothing' to value types

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

19 years agoIn System.Data.ProviderBase:
Sureshkumar T [Fri, 11 Mar 2005 07:36:58 +0000 (07:36 -0000)]
In System.Data.ProviderBase:
2005-03-11  Sureshkumar T  <tsureshkumar@novell.com>

* DbConnectionBase.cs : Implemented OnStateChange.

In System.Data.Odbc:
NET_2_0 uses base class's OnStateChange handler.

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

19 years ago2005-03-11 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 11 Mar 2005 07:25:22 +0000 (07:25 -0000)]
2005-03-11  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcConnection.cs : notify state change through event. clean up
handles in case any exception while opening a connection.

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

19 years ago2004-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Mar 2005 07:08:20 +0000 (07:08 -0000)]
2004-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : just eliminate the latest change.

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

19 years ago2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Mar 2005 06:02:22 +0000 (06:02 -0000)]
2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthenticationModule.cs: fix for bug 73545, which caused
authentication not to work when the cookie was not persistent.
Patch by Ilya Kharmatsky (Mainsoft).

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

19 years ago(Parse): Re-org. Resolve unreachable code.
Sureshkumar T [Fri, 11 Mar 2005 05:06:51 +0000 (05:06 -0000)]
(Parse): Re-org. Resolve unreachable code.

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

19 years ago2005-03-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Mar 2005 01:17:37 +0000 (01:17 -0000)]
2005-03-10  Sebastien Pouliot  <sebastien@ximian.com>

* pinvoke1-3.cs: New. Tests that P/Invoking unmanaged methods provoke
a stack walk (Demand) for SecurityPermissionFlag.UnmanagedCode.
* sucs1-4.cs: New. Tests that [SuppressUnmanagedCodeSecurity] removes
the stack walk when present on either the p/invoked definition or on
it's class.
* Makefile: New. Build/execute new tests.
* README: New. Instruction and details about the tests.

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

19 years ago2005-03-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 10 Mar 2005 23:29:30 +0000 (23:29 -0000)]
2005-03-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebResponse.cs: moved cookie parsing into its own class.
* WebHeaderCollection.cs: remove (probably bogus) GetMultipleValues
call.
* HttpWebRequest.cs: don't let exception raised in the ctor of
HttpWebResponse vanish.

Fixes bug #73275.

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

19 years ago2005-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 10 Mar 2005 23:27:18 +0000 (23:27 -0000)]
2005-03-11  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_aot_load_method): Get rid of bogus make_writable call.

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

19 years ago2005-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 10 Mar 2005 22:55:01 +0000 (22:55 -0000)]
2005-03-11  Zoltan Varga  <vargaz@freemail.hu>

* Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.

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

19 years ago- Oops, that's not supposed to be in yet
Peter Dennis Bartok [Thu, 10 Mar 2005 20:43:29 +0000 (20:43 -0000)]
- Oops, that's not supposed to be in yet

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