mono.git
19 years ago2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Mar 2005 13:03:49 +0000 (13:03 -0000)]
2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs: Fixed depth for starting the stack walk
(imperative) and fixed assert condition.
* PermissionSet.cs: Fixed depth for starting the stack walk.
* SecurityFrame.cs: Reversed stack. Added optional debugging code.

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

19 years ago2005-03-15 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 15 Mar 2005 12:31:53 +0000 (12:31 -0000)]
2005-03-15  Peter Bartok  <pbartok@novell.com>

* Form.cs: Use Handle for icon, to trigger creation if
  the window does not yet exist
* Control.cs:
  - CanSelect: Slight performance improvement
  - Focus(): Preventing possible recursion
  - Invalidate(): Removed ControlStyle based clear flag setting
  - WM_PAINT: fixed logic for calling OnPaintBackground
  - WM_ERASEBKGND: Fixed logic, added call to new driver method
    EraseWindowBackground if the control doesn't paint background
* XplatUIWin32.cs:
  - Moved EraseWindowBackground() method to internal methods
  - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
    is sent via SendMessage on BeginPaint call on Win32
* XplatUIX11.cs:
  - Added EraseWindowBackground() method
  - No longer sends WM_ERASEBKGND on .Expose, but on call to
    PaintEventStart, which more closely matches Win32 behaviour
  - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  - Fixed SetFocus() to properly deal with client and whole windows
* Hwnd.cs: Added ErasePending property
* XplatUIOSX.cs: Stubbed EraseWindowBackground() method
* XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method

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

19 years agoIn System.Drawing.Drawing2D:
Jordi Mas i Hernandez [Tue, 15 Mar 2005 12:11:30 +0000 (12:11 -0000)]
In System.Drawing.Drawing2D:
2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>

* GraphicsState.cs: should only contain the nativeState cookie
* Matrix.cs: Fixes Dispose method to allow to be called multiple times

In System.Drawing:
2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>

* Pen.cs: Fixes dispose method to allow to be called multiple times
* Graphics.cs: matrix are saved and restored at gdiplus level

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

19 years agoNew tests + updated wrong (need to flush before it become chaotic)
Marek Safar [Tue, 15 Mar 2005 11:36:52 +0000 (11:36 -0000)]
New tests + updated wrong (need to flush before it become chaotic)
Removed obsole tests.

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

19 years ago2005-03-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 15 Mar 2005 08:19:50 +0000 (08:19 -0000)]
2005-03-15  Marek Safar  <marek.safar@seznam.cz>

* class.cs (TypeContainer.CircularDepException) New nested
(MethodCore.CheckBase): Report CS1715 for properties and indexers.

* cs-parser.jay: Reports CS1527 for any namespace element.

* delegate.cs (DelegateCreation.Error_NoMatchingMethodForDelegate):
Added CS0407.

* expression.cs (ParameterReference.IsAssigned): Changed error to
CS0269.
(Error_WrongNumArguments): Moved CS0245 detection here.

* statement.cs (Return.Resolve): Add CS1622 report.

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

19 years agoremove cs0720.cs
Raja R Harinath [Tue, 15 Mar 2005 08:02:10 +0000 (08:02 -0000)]
remove cs0720.cs

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

19 years ago2005-03-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 15 Mar 2005 07:25:37 +0000 (07:25 -0000)]
2005-03-15  Marek Safar <marek.safar@seznam.cz>

* a-capture{2,3,4}.cs: Fixed tests.

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

19 years agosupported '\' operator for objects
Satya Sudha K [Tue, 15 Mar 2005 06:34:11 +0000 (06:34 -0000)]
supported '\' operator for objects

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

19 years agoSupported '\' operator
Satya Sudha K [Tue, 15 Mar 2005 06:30:09 +0000 (06:30 -0000)]
Supported '\' operator

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

19 years ago2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Mar 2005 05:43:56 +0000 (05:43 -0000)]
2004-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* DTMXPathDocumentWriter2.cs : Eliminated Depth as well as -builder.
* DTMXPathNode2.cs, DTMXPathDocumentBuilder2.cs :
  Eliminated Depth at all.

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

19 years ago2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Mar 2005 04:34:36 +0000 (04:34 -0000)]
2004-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* DTMXPathDocumentBuilder2.cs : Eliminating Depth. Store parent index
  stack instead of depending on Depth.
  Just use hasAttributes and hasLocalNs instead of indices.
* DTMXPathNavigator2.cs : (get_Value) Check empty element earlier.

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

19 years ago2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 15 Mar 2005 01:43:22 +0000 (01:43 -0000)]
2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DirectoryEntry.cs: username and password are now initialized to null.
Patch by Boris Kirzner (Mainsoft).

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

19 years ago2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 15 Mar 2005 01:39:19 +0000 (01:39 -0000)]
2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PropertyValueCollection.cs: the Value property for an empty collection
is now null and setting Value to null clears the collection. Patch by
Boris Kirzner (Mainsoft).

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

19 years agoremoved unneeded if/endif
Gonzalo Paniagua Javier [Tue, 15 Mar 2005 01:35:15 +0000 (01:35 -0000)]
removed unneeded if/endif

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

19 years ago2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 15 Mar 2005 01:01:38 +0000 (01:01 -0000)]
2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.dll.sources: added new files in System.Web.Configuration.

* System.Web.Configuration/CodeSubDirectoriesCollection.cs:
* System.Web.Configuration/ExpressionBuilderCollection.cs:
* System.Web.Configuration/BuildProviderCollection.cs:
* System.Web.Configuration/CompilerCollection.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs:
* System.Web.Configuration/ExpressionBuilder.cs:
* System.Web.Configuration/Compiler.cs:
* System.Web.Configuration/CompilationSection.cs:
* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CodeSubDirectory.cs: added and implemented
most of these files that are used when reading configuration files in
NET_2_0.

* System.Web.Configuration/WebCompiler.cs: renamed to Compiler.cs

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

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

* StackFrame.cs: Fix CAS unit tests for NET_1_1.
* StackTrace.cs: Fix CAS unit tests for NET_1_1.

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

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

* Environment.cs: Fix CAS unit tests for NET_1_1.
* Exception.cs: Fix CAS unit tests for NET_1_1.

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

19 years agoMore precise Deny action
Sebastien Pouliot [Mon, 14 Mar 2005 23:04:47 +0000 (23:04 -0000)]
More precise Deny action

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

19 years agoMore precise Deny action
Sebastien Pouliot [Mon, 14 Mar 2005 23:04:15 +0000 (23:04 -0000)]
More precise Deny action

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

19 years ago2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Mar 2005 20:50:19 +0000 (20:50 -0000)]
2005-01-28  Sebastien Pouliot  <sebastien@ximian.com>

* FileLoadExceptionCas.cs: Fixed failures under MS for NET_1_1.
* FileNotFoundExceptionCas.cs: Fixed failures under MS for NET_1_1.

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

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

* StackFrameCas.cs: Fixed failures under MS for NET_1_1.
* StackTraceCas.cs: Fixed failures under MS for NET_1_1.

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

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

* EnvironmentCas.cs: Fixed failures under MS for NET_1_1.
* ExceptionCas.cs: Fixed failures under MS for NET_1_1.

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

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

* DTMXPathNavigator2.cs : Eliminating Depth. (To completely eliminate,
  we also have to eliminate them from builder and writer).

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

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

* icall1.cs: Fixed test to work on NET_2_0. We're now accepting the
2.0 behaviour when dealing with icalls (as we do not keep their
pblic status in the runtime).
* icall2.cs: Fixed test to work on NET_2_0 as the icall has changed
it's return value from bool to void.
* Makefile: Allow to build the tests with either NET_1_1 or NET_2_0.

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

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