mono.git
19 years ago- Unset modality for the right window
Peter Dennis Bartok [Tue, 21 Dec 2004 18:04:22 +0000 (18:04 -0000)]
- Unset modality for the right window

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

19 years ago * iltests.il: New test for LDELEMA on an array of ref types.
Ben Maurer [Tue, 21 Dec 2004 17:48:29 +0000 (17:48 -0000)]
* iltests.il: New test for LDELEMA on an array of ref types.

* mini.c (CEE_LDELEMA): We need to emit OP_CHECK_ARRAY_TYPE for
all ldelema's on reftypes.
(check_call_signature): Remove the OP_CHECK_ARRAY_TYPE from here,
it was the wrong place to put it.

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

19 years agoTue Dec 21 17:43:06 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 21 Dec 2004 16:44:12 +0000 (16:44 -0000)]
Tue Dec 21 17:43:06 CET 2004 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: access MonoDomain from tls, too.

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

19 years ago2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Dec 2004 16:33:48 +0000 (16:33 -0000)]
2004-12-21  Sebastien Pouliot  <sebastien@ximian.com>

* declsec.c: Removed unused variable (and related warning ;-)

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

19 years agoAdded permview tool for scripts generation
Sebastien Pouliot [Tue, 21 Dec 2004 16:27:02 +0000 (16:27 -0000)]
Added permview tool for scripts generation

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

19 years ago2004-12-21 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 21 Dec 2004 16:25:50 +0000 (16:25 -0000)]
2004-12-21  Ben Maurer  <bmaurer@ximian.com>

* mini-x86.c (mono_arch_output_basic_block): Just use ecx as the
register to pop to make this cleaner, at the request of Paolo.

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

19 years ago2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Dec 2004 16:25:28 +0000 (16:25 -0000)]
2004-12-21  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: Added permview to the build.
* permview.cs: Fixed option /OUTPUT to close the TextWriter so that
the output is available (in the file) after execution. The default
execution (without /DECL) works with a *very* recent Mono runtime.

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

19 years ago2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Dec 2004 16:24:11 +0000 (16:24 -0000)]
2004-12-21  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Added private LoadAssemblyPermissions to get the
declarative security permission sets (minimum, optional and refused)
for the assembly.

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

19 years ago2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Dec 2004 16:23:51 +0000 (16:23 -0000)]
2004-12-21  Sebastien Pouliot  <sebastien@ximian.com>
* icall.c: Added an internal call to retrieve the position and length
of assembly-level declarative security attributes (RequestMinimum,
RequestOptional and RequestRefuse). This is used by the Assembly class
to re-create the corresponding permission sets.

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

19 years ago2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Tue, 21 Dec 2004 16:09:02 +0000 (16:09 -0000)]
2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
        * class.cs:
        * Attribute.cs
        * mb-parser.jay
        * pending.cs:
        * typemanager.cs:
                IndexerName variable is now known as DefaultPropName in the above files

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

19 years ago2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Tue, 21 Dec 2004 15:54:30 +0000 (15:54 -0000)]
2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
        * mb-parser.jay: A check which restrict declaring more than one property
                        as default within same class

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

19 years agoDefault property changes
Anirban Bhattacharjee [Tue, 21 Dec 2004 15:46:53 +0000 (15:46 -0000)]
Default property changes

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

19 years agoTue Dec 21 14:50:31 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 21 Dec 2004 13:47:08 +0000 (13:47 -0000)]
Tue Dec 21 14:50:31 CET 2004 Paolo Molaro <lupus@ximian.com>

* marshal.c: fix the stelemref wrapper to be type correct
(and faster).

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

19 years agofixes build
Jordi Mas i Hernandez [Tue, 21 Dec 2004 10:19:52 +0000 (10:19 -0000)]
fixes build

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

19 years agoCouple of default property related test cases contributed by Sudharsan
Anirban Bhattacharjee [Tue, 21 Dec 2004 09:32:49 +0000 (09:32 -0000)]
Couple of default property related test cases contributed by Sudharsan

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

19 years agoIn metadata:
Ben Maurer [Tue, 21 Dec 2004 03:49:09 +0000 (03:49 -0000)]
In metadata:
2004-12-20  Ben Maurer  <bmaurer@ximian.com>

* icall.c (ves_icall_System_Object_GetHashCode): There was no need
to do key & 0x7fffffff. Hashtable already does this. It just
results in longer code.

In mini:
* mini-ops.h (OP_GETHASHCODE): New op.

* inssel.brg (OP_GETHASHCODE): Emit code for the new opcode

* mini.c (mini_get_inst_for_method): Create the intrinsic hash
operation.

For a microbenchmark, this reduces the cost of Hashtable.get_Item
by 25%.

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

19 years ago2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Dec 2004 03:12:19 +0000 (03:12 -0000)]
2004-12-21  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : If no progress on value string, don't regard as
  matched. This fixes bug #70707.

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

19 years ago * Hashtable.cs (Find): Some minor optimizations here.
Ben Maurer [Tue, 21 Dec 2004 03:07:59 +0000 (03:07 -0000)]
* Hashtable.cs (Find): Some minor optimizations here.

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

19 years ago2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 21 Dec 2004 02:58:32 +0000 (02:58 -0000)]
2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: honor the maxRequestSize limit from machine.config.

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

19 years ago2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 21 Dec 2004 02:23:14 +0000 (02:23 -0000)]
2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BufferedStream.cs: use Buffer.BlockCopyInternal instead of Array.Copy.

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

19 years ago * Hashtable.cs: Remove GetImpl and inline it.
Ben Maurer [Tue, 21 Dec 2004 00:22:57 +0000 (00:22 -0000)]
* Hashtable.cs: Remove GetImpl and inline it.

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

19 years ago- Added CommonDialog.cs
Peter Dennis Bartok [Mon, 20 Dec 2004 23:38:40 +0000 (23:38 -0000)]
- Added CommonDialog.cs

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

19 years ago * Hashtable.cs (Find): Before calling KeyEquals, check to see if k
Ben Maurer [Mon, 20 Dec 2004 23:01:29 +0000 (23:01 -0000)]
* Hashtable.cs (Find): Before calling KeyEquals, check to see if k
== key (ie, they are the same pointer). In many cases, this will
avoid two virtual calls. This gives me 1% on mcs bootstrap (!!!!)

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

19 years ago2004-12-20 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 20 Dec 2004 22:44:29 +0000 (22:44 -0000)]
2004-12-20  Ben Maurer  <bmaurer@ximian.com>

* Hashtable.cs (Find): Make `i' a uint rather than an int. This
avoids having a long compare.

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

19 years ago2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 20 Dec 2004 18:48:49 +0000 (18:48 -0000)]
2004-12-20  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added some new files to the build.

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

19 years ago2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 20 Dec 2004 18:48:20 +0000 (18:48 -0000)]
2004-12-20 Lluis Sanchez Gual <lluis@novell.com>

* Style.cs: Implemented RegisteredCssClass property. Added
CopyTextStylesFrom method, which copies styles that only apply to text.
* Menu.cs, Menu.js: Added hover style support. Define all menu styles
in the page stylesheet. Added support for ItemSpacing property.
* MenuItemStyle.cs: Implemented FillStyleAttributes method.

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

19 years ago2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 20 Dec 2004 18:47:52 +0000 (18:47 -0000)]
2004-12-20 Lluis Sanchez Gual  <lluis@novell.com>

* IStyleSheet.cs: Added missing "using".
* Page.cs: Implemented Header property.
* CssStyleCollection.cs: Made BagToString method internal.
* RootBuilder.cs: Register HtmlHead control.

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

19 years ago2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 20 Dec 2004 18:46:59 +0000 (18:46 -0000)]
2004-12-20  Lluis Sanchez Gual <lluis@novell.com>

* HtmlHead.cs: Implemented.
* HtmlHeadBuilder.cs: Implemented.
* HtmlTitle.cs: Implemented.

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

19 years ago * mini-x86.c (mono_arch_output_basic_block): Rather than
Ben Maurer [Mon, 20 Dec 2004 18:46:05 +0000 (18:46 -0000)]
* mini-x86.c (mono_arch_output_basic_block): Rather than

add ebp, 4

Emit

pop edx

The first is 3 bytes while the second is 1. This saves 36 kb on
mscorlib, quite a big saving. When bootstraping mcs, I was able to
see a small boost because of icache locality.

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

19 years ago2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 20 Dec 2004 18:23:22 +0000 (18:23 -0000)]
2004-12-16  Lluis Sanchez Gual  <lluis@novell.com>

* Hashtable.cs: Check for null serialization info in OnDeserialization.
A hashtable subclass can fully override the constructor, so
serializationInfo would be null in this case. Fixes bug #70698.

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

19 years ago2004-12-20 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 20 Dec 2004 18:02:03 +0000 (18:02 -0000)]
2004-12-20  Ben Maurer  <bmaurer@ximian.com>
* cfold.c (FOLD_BINOPCOMM): Kill add foo, 0

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

19 years agoMon Dec 20 12:19:40 EST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Dec 2004 17:17:22 +0000 (17:17 -0000)]
Mon Dec 20 12:19:40 EST 2004 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mini-ppc.h, mini-exceptions.c, exceptions-ppc.c:
started code sharing with the generic code.

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

19 years agoMon Dec 20 11:08:06 EST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Dec 2004 16:05:39 +0000 (16:05 -0000)]
Mon Dec 20 11:08:06 EST 2004 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, cpu-g4.md: added code for direct access to
tls data slots.

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

19 years agosvn path=/trunk/mcs/; revision=37982
Ritvik Mayank [Mon, 20 Dec 2004 15:58:56 +0000 (15:58 -0000)]
svn path=/trunk/mcs/; revision=37982

19 years agoMon Dec 20 10:58:28 EST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Dec 2004 15:57:33 +0000 (15:57 -0000)]
Mon Dec 20 10:58:28 EST 2004 Paolo Molaro <lupus@ximian.com>

* mini-ops.h, inssel-x86.brg, cpu-amd64.md, inssel.brg, inssel-amd64.brg,
 mini-amd64.c, mini-x86.c, cpu-pentium.md: renamed OP_X86_TLS_GET
to OP_TLS_GET.

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

19 years ago2004-12-20 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Mon, 20 Dec 2004 15:53:15 +0000 (15:53 -0000)]
2004-12-20  Ritvik Mayank  <mritvik@novell.com>

        *Makefile :For running the tests under Test directory
        *rerrors_btest.dll.sources  : Contains name of the test case
        *rerrors.dll.sources : Contains dummy.cs
        *dummy.cs : Required by rerrors.dll.sources

2004-12-20  Ritvik Mayank  <mritvik@novell.com>

        *Test: Created Test Directory and moved all the rerrors tests to Test

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

19 years ago2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Dec 2004 15:32:39 +0000 (15:32 -0000)]
2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* declsec.c|h: Added functions to cache the declarative stack modifiers
in MonoJitInfo and to create a security frame from a MonoJitInfo
structure.
* mini.c: Initialize jinfo->cas_inited to FALSE when MonoJitInfo is
created. Register internal calls for System.Security.SecurityFrame::
_GetSecurityFrame and _GetSecurityStack.
* mini.h: Added definition for new icalls (in mini-exceptions.c) and
the definitions for the new stack walk/callback mechanism.
* mini-exceptions.c: Added internal call GetSecurityFrame (to get the
first security frame for LinkDemands and InheritanceDemands) and
GetSecurityStack for Demands. Both use the new mono_walk_stack code
from lupus.
* mini-x86.h, mini-amd64.h, mini-sparc.h: Architecture specific stack
walk initialization (lupus).

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

19 years ago2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Dec 2004 15:31:14 +0000 (15:31 -0000)]
2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>
* appdomain.c: Bump corlib version.
* class-internals.h: Added RuntimeSecurityFrame to mono_defaults.
* domain.c: Add RuntimeSecurityFrame to mono_defaults.
* reflection.c|h: Add functions to get declarative security infos
(blob position and length) for assemblies, classes and methods.

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

19 years ago2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Dec 2004 15:30:38 +0000 (15:30 -0000)]
2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Added System.Security/SecurityFrame.cs to the build.

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

19 years ago2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Dec 2004 15:29:42 +0000 (15:29 -0000)]
2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: Bump corlib version.

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

19 years ago2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Dec 2004 15:29:18 +0000 (15:29 -0000)]
2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Removed old Demand support (moved in System.Security).

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

19 years ago2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Dec 2004 15:29:02 +0000 (15:29 -0000)]
2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* CompressedStack.cs: Implemented most todo so it's usable for CAS.
* CompressedStackSwitcher.cs: Implemented most todo.
* Thread.cs: Implement support for getting/setting CompressedStack.

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

19 years ago2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Dec 2004 15:28:38 +0000 (15:28 -0000)]
2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs: Refactored to play more nicely with
PermissionSet and the new functionalities in the runtime.
* PermissionSet.cs: Modified to use the new functionalities in the
runtime. This allows the declarative stack modifiers to work in a
stack walk.
* SecurityFrame.cs: New. This is the managed representation of the
security informations associated with a stack frame. This current
version only support declarative stack modifiers.
* SecurityManager.cs: Modified to use the new functionalities in the
runtime.

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

19 years ago2004-12-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
Francisco Figueiredo Jr. [Mon, 20 Dec 2004 14:40:05 +0000 (14:40 -0000)]
2004-12-20  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
        * Npgsql/NpgsqlCommand.cs: Added IClonable implementation. Also added strong type NpgsqlTransaction property and converted previous interface implementation to implicit interface implementation. Thanks Christopher Gersbo-Møller (cgm at knowledgelab dot sdu dot dk) for heads up.

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

19 years ago2004-12-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
Francisco Figueiredo Jr. [Mon, 20 Dec 2004 14:36:54 +0000 (14:36 -0000)]
2004-12-20  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
        * Npgsql/NpgsqlCommand.cs: Added IClonable implementation. Also added strong type NpgsqlTransaction property and converted previous interface implementation to implicit interface implementation. Thanks Christopher Gersbo-Moller (cgm at knowledgelab dot sdu dot dk) for heads up.

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

19 years agoswapped :(
Paolo Molaro [Mon, 20 Dec 2004 14:31:35 +0000 (14:31 -0000)]
swapped :(

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

19 years agoMon Dec 20 15:28:54 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Dec 2004 14:28:59 +0000 (14:28 -0000)]
Mon Dec 20 15:28:54 CET 2004 Paolo Molaro <lupus@ximian.com>

* reflection.c: sort the constant table (bug #70693).

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

19 years ago* README.tests: Added
Jambunathan K [Mon, 20 Dec 2004 13:28:53 +0000 (13:28 -0000)]
* README.tests: Added
* Makefile (DISTFILES): Added README.tests

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

19 years agoadded permview.1
Gonzalo Paniagua Javier [Mon, 20 Dec 2004 12:56:56 +0000 (12:56 -0000)]
added permview.1

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

19 years agoTypo fix.
Paolo Molaro [Mon, 20 Dec 2004 11:52:12 +0000 (11:52 -0000)]
Typo fix.

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

19 years agoMon Dec 20 12:19:37 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Dec 2004 11:16:22 +0000 (11:16 -0000)]
Mon Dec 20 12:19:37 CET 2004 Paolo Molaro <lupus@ximian.com>

* object-internals.h, threads.c, domain.c: add accessors for
the MonoThread and MonoDomain tls keys.

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

19 years ago- Flush
Peter Dennis Bartok [Mon, 20 Dec 2004 11:10:05 +0000 (11:10 -0000)]
- Flush

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

19 years ago- ShowDialog(): Now uses the proper window for modality
Peter Dennis Bartok [Mon, 20 Dec 2004 11:08:12 +0000 (11:08 -0000)]
- ShowDialog(): Now uses the proper window for modality
- The default visibility state for the form parent is now false. This
  will prevent the user from seeing all the changes to the form and
  its controls before the application hits Application.Run()
- Removed some stale commented out code

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

19 years ago- Added NativeWindow.FindWindow() method to have a method to check for existence
Peter Dennis Bartok [Mon, 20 Dec 2004 11:06:09 +0000 (11:06 -0000)]
- Added NativeWindow.FindWindow() method to have a method to check for existence
  of a window handle
- Removed r37929 (SetModal patch from Ashwin Bharambe), was not working
- Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW property
  to allow switching back to the modal window if focus is given to another one
  of our windows (Application Modal)
- Now only sets override_redirect if we create a window without WS_CAPTION
- Moved EventMask selection before mapping of newly created window so we can
  catch the map event as well
- Implemented Activate() method via the _WM_ACTIVE_WINDOW property
- Added various Atom related DllImports
- Implemented Exit() method
- .ctor() : No longer shows window if WS_VISIBLE is not defined in CreateParams

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

19 years agoremove old cvs comments since they are no longer updated and we use ChangeLog now
Jordi Mas i Hernandez [Mon, 20 Dec 2004 11:04:09 +0000 (11:04 -0000)]
remove old cvs comments since they are no longer updated and we use ChangeLog now

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

19 years ago- Now properly deals with the FormParent window by providing an override
Peter Dennis Bartok [Mon, 20 Dec 2004 11:02:04 +0000 (11:02 -0000)]
- Now properly deals with the FormParent window by providing an override
  the FormParent CreateParams property to set as POPUP instead of
  OVERLAPPED window.

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

19 years ago- Now uses the parent window instead of the client area window for the
Peter Dennis Bartok [Mon, 20 Dec 2004 11:00:12 +0000 (11:00 -0000)]
- Now uses the parent window instead of the client area window for the
  Visible property on Form windows

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

19 years agoMon Dec 20 11:58:33 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Dec 2004 10:55:10 +0000 (10:55 -0000)]
Mon Dec 20 11:58:33 CET 2004 Paolo Molaro <lupus@ximian.com>

* threads.c, threads.h: add accessor to get the pthread_key_t for
a tls id.

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

19 years ago* configure.in: Change from 'pax' format to 'ustar' format for the
Raja R Harinath [Mon, 20 Dec 2004 10:35:13 +0000 (10:35 -0000)]
* configure.in: Change from 'pax' format to 'ustar' format for the
tarfile, so that we can create packages on SuSE 9.0.

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

19 years ago* (btests) : Removed. This directory is now superseded by
Jambunathan K [Mon, 20 Dec 2004 09:19:53 +0000 (09:19 -0000)]
* (btests) : Removed. This directory is now superseded by
mbas/Test.

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

19 years ago (handle_loaded_temps): Do not create a temporary variable for
Ben Maurer [Mon, 20 Dec 2004 05:25:40 +0000 (05:25 -0000)]
(handle_loaded_temps): Do not create a temporary variable for
things that we know are temps. They will never be modified.
(mono_spill_call): Set MONO_INST_IS_TEMP
(mono_emulate_opcode): ditto
(emit_tree): ditto
(mono_method_to_ir.CEE_DUP): ditto

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

19 years ago2004-12-20 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 20 Dec 2004 05:06:26 +0000 (05:06 -0000)]
2004-12-20  Ben Maurer  <bmaurer@ximian.com>

* mini.c (mono_method_to_ir): In CEE_DUP, handle the dup / stloc
idiom.

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

19 years ago2004-12-19 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Mon, 20 Dec 2004 03:46:20 +0000 (03:46 -0000)]
2004-12-19  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Implement DestroyWindow.  Implement ScrollWindow
        Minor code cleanup.

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

19 years ago2004-12-19 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Mon, 20 Dec 2004 00:58:19 +0000 (00:58 -0000)]
2004-12-19  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs (SetModal): Implement this method on OSX.

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

19 years ago * mini.c (type_to_eval_stack_type): Make this handle the void type
Ben Maurer [Sun, 19 Dec 2004 20:56:42 +0000 (20:56 -0000)]
* mini.c (type_to_eval_stack_type): Make this handle the void type
(mono_emit_call_args): set the call->type with type_to_eval_stack_type
(emit_tree): use ip_in_bb to special case some common idioms
Update all callers to pass in the IP.
(mono_method_to_ir): Make CEE_CALL* do the above as well.

This gives us a nice 2% speedup in mcs bootstrap.

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

19 years ago2004-12-19 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
Francisco Figueiredo Jr. [Sun, 19 Dec 2004 19:34:05 +0000 (19:34 -0000)]
2004-12-19  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
        * Npgsql/NpgsqlCommand.cs: Fixed gborg 1088 and 1080. Thanks Neri (neri at gborg dot postgresql dot org) for help. Now mapped output parameters are correctly updated regardless their position in Parameters collection.

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

19 years ago2004-12-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
Francisco Figueiredo Jr. [Sun, 19 Dec 2004 19:28:14 +0000 (19:28 -0000)]
2004-12-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
        * Npgsql/NpgsqlConnector.cs: Changed name of portal and prepare prefixes to be all lower case in order to not have case problems when deallocating them.        * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures.

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

19 years ago * mini-x86.c (peephole_pass): Peephole pass to make
Ben Maurer [Sun, 19 Dec 2004 19:22:15 +0000 (19:22 -0000)]
* mini-x86.c (peephole_pass): Peephole pass to make
mov  [foo], eax
push [foo]

into

mov [foo], eax
push eax

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

19 years ago * mini.c (ip_in_bb): new method.
Ben Maurer [Sun, 19 Dec 2004 18:47:04 +0000 (18:47 -0000)]
* mini.c (ip_in_bb): new method.
(mono_method_to_ir): use this method rather than doing the hash
lookup ourselves.

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

19 years agooops, fucked up that commit
Ben Maurer [Sun, 19 Dec 2004 18:37:28 +0000 (18:37 -0000)]
oops, fucked up that commit

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

19 years ago2004-12-19 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 19 Dec 2004 18:35:54 +0000 (18:35 -0000)]
2004-12-19  Ben Maurer  <bmaurer@ximian.com>

* linear-scan.c (mono_linear_scan): When expiring actives, you
don't need to keep around variables that expire on this
instruction. This makes it so that:
     a = b + 1
will turn into:
     store (ebx add (ebx, 1))
which will become
     add ebx, 1

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

19 years agosome warning silence
Ben Maurer [Sun, 19 Dec 2004 18:21:41 +0000 (18:21 -0000)]
some warning silence

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

19 years ago2004-12-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Dec 2004 18:08:28 +0000 (18:08 -0000)]
2004-12-19  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Optimize the common ldobj+stloc
combination to avoid doing two copies. Fix up problems with previous
patch.

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

19 years agoReverting r37935, see my coments on mono-devel-list
Ben Maurer [Sun, 19 Dec 2004 17:27:05 +0000 (17:27 -0000)]
Reverting r37935, see my coments on mono-devel-list

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

19 years ago2004-12-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Dec 2004 16:29:14 +0000 (16:29 -0000)]
2004-12-19  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Optimize the common ldobj+stloc
combination to avoid doing two copies.

* mini.c: Fix 64 bit warnings.

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

19 years ago2004-12-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Dec 2004 15:04:57 +0000 (15:04 -0000)]
2004-12-19  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (INST_IGNORES_CFLAGS): Add OP_STOREI4_MEMBASE_REG.

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

19 years ago2004-12-19 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Sun, 19 Dec 2004 11:21:36 +0000 (11:21 -0000)]
2004-12-19  Daniel Morgan <danielmorgan@verizon.net>

* OracleCommand.cs: ExecuteReader needs to be able
to handle non queries too

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

19 years ago- Forgot to commit
Peter Dennis Bartok [Sun, 19 Dec 2004 09:47:48 +0000 (09:47 -0000)]
- Forgot to commit

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

19 years ago- Applied patch from Ashwin Bharambe, implementing SetModal() method
Peter Dennis Bartok [Sun, 19 Dec 2004 07:38:34 +0000 (07:38 -0000)]
- Applied patch from Ashwin Bharambe, implementing SetModal() method

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

19 years ago- Fixed type of function element in XGCValues structure definition
Peter Dennis Bartok [Sat, 18 Dec 2004 23:57:41 +0000 (23:57 -0000)]
- Fixed type of function element in XGCValues structure definition

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

19 years ago- Stubbed out ScrollWindow() method
Peter Dennis Bartok [Sat, 18 Dec 2004 23:57:13 +0000 (23:57 -0000)]
- Stubbed out ScrollWindow() method

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

19 years ago- Added/Implemented ScrollWindow() method
Peter Dennis Bartok [Sat, 18 Dec 2004 23:56:54 +0000 (23:56 -0000)]
- Added/Implemented ScrollWindow() method

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

19 years ago- Updated
Peter Dennis Bartok [Sat, 18 Dec 2004 23:56:16 +0000 (23:56 -0000)]
- Updated

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

19 years ago2004-12-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 18 Dec 2004 06:06:49 +0000 (06:06 -0000)]
2004-12-18  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_type): If we're inflating a generic
instance, set `ngclass->context->container = context->container';
ie. the container we inflated into.

* metadata.c (mono_metadata_parse_generic_param): Reflect above
inflate_generic_type() changes.

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

19 years ago2004-12-17 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sat, 18 Dec 2004 05:49:28 +0000 (05:49 -0000)]
2004-12-17  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs:  Fix cursor to use an Invert instead of drawing it
        Some more keyboard support (INCOMPLETE)

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

19 years ago- Added color attribute to line tags.
Peter Dennis Bartok [Sat, 18 Dec 2004 04:12:15 +0000 (04:12 -0000)]
- Added color attribute to line tags.
- Added color argument to all functions dealing with tags
- Added color argument support to various functions
- Fixed miss-calculation of baseline/shift in certain circumstances
- Added new color option to test code

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

19 years ago2004-12-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 18 Dec 2004 02:33:44 +0000 (02:33 -0000)]
2004-12-18  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (libtest_la_LDFLAGS): Add -no-undefined so a windows dll is built on windows.

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

19 years ago * TreeNode.cs:
Jackson Harper [Fri, 17 Dec 2004 23:14:03 +0000 (23:14 -0000)]
* TreeNode.cs:
* MonthCalendar.cs: Signature fixes

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

19 years ago * TreeNode.cs:
Jackson Harper [Fri, 17 Dec 2004 22:52:16 +0000 (22:52 -0000)]
* TreeNode.cs:
* MonthCalendar.cs: Signature fixes

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

19 years ago2004-12-17 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Fri, 17 Dec 2004 22:45:50 +0000 (22:45 -0000)]
2004-12-17  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
        keyboard event moved it.  Create a new graphics context for each paint resolves this

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

19 years ago2004-12-17 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Fri, 17 Dec 2004 22:22:05 +0000 (22:22 -0000)]
2004-12-17  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
        Make caret exist and go blink blink.  Initial keyboard support.
        Fix exception handler, Add Invalidate support.  Change way RefreshWindow
        works.

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

19 years ago * XplatUIStructs.cs: Updated set of virtual keycodes.
Jackson Harper [Fri, 17 Dec 2004 21:26:07 +0000 (21:26 -0000)]
* XplatUIStructs.cs: Updated set of virtual keycodes.
* KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL

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

19 years ago2004-12-17 Carlos Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 17 Dec 2004 20:43:00 +0000 (20:43 -0000)]
2004-12-17  Carlos Cortez <calberto.cortez@gmail.com>

* driver.cs: Patch to handle a xsp bug that prevents to reference an .exe
assembly, by JB Evain.

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

19 years ago * XplatUIX11.cs: Prune old keyboard code.
Jackson Harper [Fri, 17 Dec 2004 20:41:50 +0000 (20:41 -0000)]
* XplatUIX11.cs: Prune old keyboard code.

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

19 years ago * XplatUIX11.cs: When generating mouse wparams get the modifier
Jackson Harper [Fri, 17 Dec 2004 20:32:32 +0000 (20:32 -0000)]
* XplatUIX11.cs: When generating mouse wparams get the modifier
keys from the ModifierKeys property.

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

19 years ago * X11Keyboard.cs: Send up/down input when generating
Jackson Harper [Fri, 17 Dec 2004 20:19:57 +0000 (20:19 -0000)]
* X11Keyboard.cs: Send up/down input when generating
messages. Remove some unused vars.

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

19 years ago * TabControl.cs:
Jackson Harper [Fri, 17 Dec 2004 20:14:38 +0000 (20:14 -0000)]
* TabControl.cs:
* TreeView.cs: get rid of warnings.

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

19 years ago * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
Jackson Harper [Fri, 17 Dec 2004 20:12:01 +0000 (20:12 -0000)]
* XplatUIStructs.cs: Fix a couple wrong virtual keycodes.

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

19 years ago2004-12-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 17 Dec 2004 19:23:08 +0000 (19:23 -0000)]
2004-12-17  Sebastien Pouliot  <sebastien@ximian.com>

* permview.cs: New. Managed declarative security permission viewer for
assemblies. The tools isn't yet part of the build as we're missing
some runtime support (for Fx 1.0/1.1).

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

19 years agoNew. permview.1 man page
Sebastien Pouliot [Fri, 17 Dec 2004 19:17:36 +0000 (19:17 -0000)]
New. permview.1 man page

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