mono.git
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

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

* mini-amd64.h mini-amd64.c exceptions-amd64.c: Port exception handling
changes from the x86 code.

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

19 years ago2004-12-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Dec 2004 18:11:37 +0000 (18:11 -0000)]
2004-12-17  Zoltan Varga  <vargaz@freemail.hu>

* mini.h: Add prototype for mono_arch_get_throw_corlib_exception ().

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

19 years ago2004-12-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 17 Dec 2004 17:56:54 +0000 (17:56 -0000)]
2004-12-17  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : added XmlReaderBinarySupport.cs.

* XmlReaderBinarySupport.cs : added support class for base64/binhex
  reading that mostly automates those reader support.
* XmlReader.cs : added CanReadBinaryContent, CanReadValueChunk,
  ReadContentAsBase64(), ReadElementContentAsBase64(),
  ReadContentAsBinHex(), ReadElementContentAsBinHex() and
  ReadValueChunk().
* XmlTextReader.cs : Now ReadBase64() and ReadBinHex() implementations
  are moved to XmlReaderBinarySupport. Added CanReadBinaryContent and
  CanReadValueChunk overrides. Call Binary.Reset() to enable them.
* XmlTextReader2.cs : added CanReadBinaryContent, CanReadValueChunk.
  Added ReadContentAsBase64(), ReadElementContentAsBase64(),
  ReadContentAsBinHex(), ReadElementContentAsBinHex() (just because
  they are overriden in MS.NET).
* XmlNodeReader.cs : added CanReadBinaryContent and CanReadValueChunk.
  Call Binary.Reset() to enable them.

* XPathNavigatorReader.cs : added CanReadBinaryContent and
  CanReadValueChunk. Call Binary.Reset() to enable them.

* SubtreeXmlReader.cs, XmlFilterReader.cs :
  added CanReadBinaryContent and CanReadValueChunk.
  Call Binary.Reset() to enable them.

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

19 years ago2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 17 Dec 2004 17:43:35 +0000 (17:43 -0000)]
2004-12-17 Lluis Sanchez Gual  <lluis@novell.com>

* CssStyleCollection.cs: Minor (!) fix.
* HtmlTextWriter.cs: Register names for new 2.0 styles.

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

19 years ago2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 17 Dec 2004 16:00:34 +0000 (16:00 -0000)]
2004-12-17 Lluis Sanchez Gual <lluis@novell.com>

* Style.cs: Generate styles using a CssStyleCollection, so the code can
be reused for the 2.0 FillStyleAttributes method.
* Menu.cs: Implemented more properties and events. Rendering is very
complete now.
* MenuItem.cs: Added PopOutImageUrl property.
* Menu.js: More work on submenu management.

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

19 years ago2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 17 Dec 2004 15:58:52 +0000 (15:58 -0000)]
2004-12-17 Lluis Sanchez Gual <lluis@novell.com>

* CssStyleCollection.cs: Make it work as a standalone collection.
* HtmlTextWriter.cs: Added static method for getting style names.

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

19 years ago* class.cs, decl.cs, ecore.cs, iterators.cs, pending.cs,
Raja R Harinath [Fri, 17 Dec 2004 15:45:53 +0000 (15:45 -0000)]
* class.cs, decl.cs, ecore.cs, iterators.cs, pending.cs,
  rootcontext.cs, typemanager.cs: Make nomenclature consistent.
"parent" refers to enclosing type/class.  "base" refers to superclass.

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

19 years ago2004-12-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Dec 2004 15:36:50 +0000 (15:36 -0000)]
2004-12-17  Martin Baulig  <martin@ximian.com>

* class-internals.h
(MonoGenericClass): Replaced `MonoType *generic_type' with
`MonoClass *generic_class'.  Removed `dynamic_info'; if
`is_dynamic' is true, we're a `MonoDynamicGenericClass'.
(MonoDynamicGenericClass): Derive from `MonoGenericClass'.

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

19 years agoCheckedBox implementation, ListBox fixes
Jordi Mas i Hernandez [Fri, 17 Dec 2004 14:50:57 +0000 (14:50 -0000)]
CheckedBox implementation, ListBox fixes

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

19 years ago* Makefile (run-mcs-tests, run-generics.tests): Don't remove
Raja R Harinath [Fri, 17 Dec 2004 13:43:13 +0000 (13:43 -0000)]
* Makefile (run-mcs-tests, run-generics.tests): Don't remove
*.junk here.
(clean-local): Remove them here.
* do-tests.pl: Fix some perl warnings.

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

19 years ago* codegen.cs (CommonAssemblyModulClass.GetClsCompliantAttribute):
Raja R Harinath [Fri, 17 Dec 2004 13:36:44 +0000 (13:36 -0000)]
* codegen.cs (CommonAssemblyModulClass.GetClsCompliantAttribute):
Ensure that we only have GlobalAttributes.
* attribute.cs (Attribute.Emit): Make non-virtual.
(GlobalAttribute.Emit): Remove.
(Attribute.Resolve): Make virtual.
(GlobalAttribute.Resolve): New.  Set Rootcontext.Tree.Types.NamespaceEntry.
(Attribute.GetConditionalAttributeValue): Take an EmitContext as
the argument. Don't create one.
(Attribute.GetObsoleteAttribute): Likewise.
(Attribute.GetClsCompliantAttributeValue): Likewise.
* class.cs, decl.cs: Update to changes.

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

19 years ago2004-12-17 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Fri, 17 Dec 2004 12:41:23 +0000 (12:41 -0000)]
2004-12-17  Lluis Sanchez Gual  <lluis@ximian.com>

* HttpCalls.cs: Use a different port.

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

19 years ago- Fixed baseline aligning calcs
Peter Dennis Bartok [Fri, 17 Dec 2004 12:03:20 +0000 (12:03 -0000)]
- Fixed baseline aligning calcs

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

19 years ago2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 17 Dec 2004 12:02:41 +0000 (12:02 -0000)]
2004-12-17  Lluis Sanchez Gual <lluis@novell.com>

* TcpMessageIO.cs: Removed some more WriteByte calls.
* TcpClientTransportSink.cs: Flush the net stream after writing
a message.

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

19 years ago2004-12-17 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Fri, 17 Dec 2004 12:01:43 +0000 (12:01 -0000)]
2004-12-17  Lluis Sanchez Gual <lluis@ximian.com>

* HttpHelper.cs: Removed unused method. Optimized CopyStream method.
* HttpServerChannel.cs: SendResponse does not return a bool any
  more, it throws an exception when it fails.
* HttpServer.cs: Improved handling of errors.

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

19 years ago2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 17 Dec 2004 11:59:28 +0000 (11:59 -0000)]
2004-12-16  Lluis Sanchez Gual  <lluis@novell.com>

* HashtableTest.cs: Added test for bug #70570.

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

19 years ago2004-12-17 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Fri, 17 Dec 2004 11:57:51 +0000 (11:57 -0000)]
2004-12-17  Lluis Sanchez Gual <lluis@ximian.com>

* BaseCalls.cs: Removed useless try/catch.

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

19 years ago2004-12-17 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 17 Dec 2004 11:09:56 +0000 (11:09 -0000)]
2004-12-17 Marek Safar <marek.safar@seznam.cz>

* makefile: Removed LOCAL_MCS_FLAGS. Every test should
have its own.

* cs1621.cs, cs1014.cs, cs1615.cs, cs1609.cs, cs1627.cs,
cs1599-2.cs, cs1620.cs, cs0686.cs, cs1534.cs, cs1007.cs,
cs1626.cs, cs1599.cs, cs1670.cs, cs1646.cs, cs0683.cs,
cs1638.cs, cs0103-2.cs: New error tests.

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

19 years ago- Left mousebutton now sets the caret (and middle button still acts
Peter Dennis Bartok [Fri, 17 Dec 2004 09:23:23 +0000 (09:23 -0000)]
- Left mousebutton now sets the caret (and middle button still acts
  as formatting tester, which must go away soon)
- Added Debug section for Deleting/Combining lines
- Fixed calculations for UpdateView after Combining lines

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