mono.git
19 years ago- Made DialogForm.owner variable internal
Peter Dennis Bartok [Tue, 28 Dec 2004 11:05:25 +0000 (11:05 -0000)]
- Made DialogForm.owner variable internal
- Added check to ensure owner form is set before setting owner properties
  in CreateParams

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

19 years ago2004-12-28 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 28 Dec 2004 06:14:37 +0000 (06:14 -0000)]
2004-12-28  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
          swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
          GetCursorPos.  Fix major visibility issues.  Rework the windowing
          system to support borderless/titleless windows (implements menus).
          Fix GetWindowPos.  Implement initial background color support for
          views.

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

19 years agoIn .:
Ben Maurer [Tue, 28 Dec 2004 03:08:17 +0000 (03:08 -0000)]
In .:
2004-12-27  Ben Maurer  <bmaurer@ximian.com>

* corlib_test.dll.sources: Add s.col.gen.stack test

In Test/System.Collections.Generic:
2004-12-27  Ben Maurer  <bmaurer@ximian.com>

* StackTest.cs: new Test.

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

19 years ago * Stack.cs: Stupid bug fixes.
Ben Maurer [Tue, 28 Dec 2004 03:06:50 +0000 (03:06 -0000)]
* Stack.cs: Stupid bug fixes.

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

19 years ago2004-12-27 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 28 Dec 2004 01:29:49 +0000 (01:29 -0000)]
2004-12-27  Ben Maurer  <bmaurer@ximian.com>

* Changelog: rename to ChangeLog
* */Makefile.am: build for 2.0
* */AssemblyInfo.cs: Different version for 2.0 to make the GAC happy.

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

19 years agouh add this
Ben Maurer [Mon, 27 Dec 2004 23:37:22 +0000 (23:37 -0000)]
uh add this

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

19 years ago2004-12-27 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 27 Dec 2004 23:35:31 +0000 (23:35 -0000)]
2004-12-27  Ben Maurer  <bmaurer@ximian.com>

* List.cs: My new (mostly untested ;-) impl of List
<T>. Implements most of the API.

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

19 years ago2004-12-27 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 27 Dec 2004 21:54:55 +0000 (21:54 -0000)]
2004-12-27  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* VBCodeCompiler.cs: Added /quiet argument to avoid the "Alpha message"

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

19 years ago- Switched from System.Windows.Forms to Managed.Windows.Forms to build with the manag...
Peter Dennis Bartok [Mon, 27 Dec 2004 21:08:43 +0000 (21:08 -0000)]
- Switched from System.Windows.Forms to Managed.Windows.Forms to build with the managed implementation
by default.

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

19 years ago- Make sure we have an owner before using the owner variable.
Peter Dennis Bartok [Mon, 27 Dec 2004 20:54:40 +0000 (20:54 -0000)]
- Make sure we have an owner before using the owner variable.
  Also, implemented proper default if no owner exists

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

19 years agoZoltan's fixes of SD marshalling in AMD64
Jordi Mas i Hernandez [Mon, 27 Dec 2004 17:31:16 +0000 (17:31 -0000)]
Zoltan's fixes of SD marshalling in AMD64

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

19 years ago- Added System.Windows.Forms.Design/
Peter Dennis Bartok [Mon, 27 Dec 2004 17:31:02 +0000 (17:31 -0000)]
- Added System.Windows.Forms.Design/
- Added several new files to the build file

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

19 years ago- Splitter added
Peter Dennis Bartok [Mon, 27 Dec 2004 17:25:21 +0000 (17:25 -0000)]
- Splitter added
- TextBox added
- Various empty classes added to allow switch to MWF

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

19 years agoComboBox DropDownList and fixes
Jordi Mas i Hernandez [Mon, 27 Dec 2004 15:23:20 +0000 (15:23 -0000)]
ComboBox DropDownList and fixes

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

19 years agoadd the combobox files
Jordi Mas i Hernandez [Mon, 27 Dec 2004 12:11:04 +0000 (12:11 -0000)]
add the combobox files

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

19 years ago2004-12-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 27 Dec 2004 08:31:04 +0000 (08:31 -0000)]
2004-12-27  Martin Baulig  <martin@ximian.com>

* mini.c (mini_get_method): New static method; call
mono_get_method_full() and mono_get_inflated_method().
(mono_method_to_ir): Use mini_get_method() instead of
mono_get_method_full().

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

19 years ago2004-12-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 27 Dec 2004 08:30:14 +0000 (08:30 -0000)]
2004-12-27  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoMethod): Added `is_inflated' flag.
(MonoMethodInflated): Added `inflated' field.

* class.c (mono_class_inflate_generic_method): Don't really
inflate the method here; just set the `is_inflated' flag in the
MonoMethod.
(mono_class_get_inflated_method): Actually inflate the method here
if it's not already inflated; we use the MonoMethodInflated's new
`inflated' field as a cache.

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

19 years ago2004-12-27 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 27 Dec 2004 05:58:29 +0000 (05:58 -0000)]
2004-12-27  Alp Toker <alp@atoker.com>

  * SqlSharpCli.cs: Math and Mono.Math clash. Refer to System.Math directly to
  unbreak the build. Another approach would be to move the using System
  statement within the namespace block. Both have caveats.

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

19 years agoadd this
John Luke [Sun, 26 Dec 2004 21:33:26 +0000 (21:33 -0000)]
add this

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

19 years ago2004-12-24 John Luke <john.luke@gmail.com>
John Luke [Sun, 26 Dec 2004 21:21:50 +0000 (21:21 -0000)]
2004-12-24  John Luke  <john.luke@gmail.com>

        * monop.cs: sort the types when printing an assembly
        handle -r:~/foo.dll by substituting for $HOME
        * TypeSorter.cs: IComparer to sort types by name

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

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

* Queue.cs: New, non-linked-list based impl.

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

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

* SerialPort.cs: Fix build under csc.

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

19 years ago2004-12-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 26 Dec 2004 20:03:27 +0000 (20:03 -0000)]
2004-12-26  Zoltan Varga  <vargaz@freemail.hu>

* System.IO.Ports/ChangeLog: New file.

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

19 years ago2004-12-26 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Sun, 26 Dec 2004 17:13:31 +0000 (17:13 -0000)]
2004-12-26  Daniel Morgan <danielmorgan@verizon.net>

* SqlSharpCli.cs: change formatting style from vs.net default
to mono style, display results better aligned

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

19 years ago2004-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Dec 2004 16:39:07 +0000 (16:39 -0000)]
2004-12-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : ReadElementContentAsBinHex() was calling ..AsBase64().
* XmlValidatingReader.cs : In set_EntityHandling(), set that property
  of DTDValidatingReader.
* XmlNodeReader2.cs,
  XmlNodeReaderImpl.cs : added simplified implementation that splits
  entity handling and anything else.
* XQueryConvert.cs : implemented ShouldCheckValueFacets().
  Use Convert class instead of simple casts (check range).
* XmlReaderSettings.cs : added SetSchemas() for XPathNavigator.

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

19 years ago2004-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Dec 2004 16:37:59 +0000 (16:37 -0000)]
2004-12-26  Atsushi Enomoto  <atsushi@ximian.com>

* XPathNavigator.cs : Added CheckValidity() and ValueType.
  For SetTypedValue(), throw NotSupportedException instead of
  NotImplementedException.

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

19 years ago2004-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Dec 2004 16:37:32 +0000 (16:37 -0000)]
2004-12-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaSet.cs : added Remove(), RemoveRecursive(), Reprocess().
* XmlValueConverter.cs : implemented almost all the feature.
* XmlSchemaSimpleType.cs : fixed some built-in types.
* XmlSchemaType.cs : added ValueConverter property.

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

19 years agoComboBox work
Jordi Mas i Hernandez [Sun, 26 Dec 2004 16:32:22 +0000 (16:32 -0000)]
ComboBox work

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

19 years ago2004-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Dec 2004 16:26:30 +0000 (16:26 -0000)]
2004-12-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : XmlResolver.ResolveUri() may return null.

* XmlParserContext.cs : all the string properties must not be set as
  null. Thanks to Joshua.
* XmlTextReader.cs,
  DTDObjectModel.cs,
  DTDReader.cs : XmlResolver.ResolveUri() may return null.

* XsdValidatingReader.cs : XmlResolver.ResolveUri() may return null.

* XslFunction.cs,
  Compiler.cs : XmlResolver.ResolveUri() may return null.

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

19 years ago2004-12-26 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Sun, 26 Dec 2004 15:18:31 +0000 (15:18 -0000)]
2004-12-26  Patrik Torstensson  <patrik.torstensson@gmail.com>

* mini-x86.c (atomic ops): fixed bug interlocked bug #70784.

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

19 years ago2004-12-26 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Sun, 26 Dec 2004 15:14:15 +0000 (15:14 -0000)]
2004-12-26  Patrik Torstensson  <patrik.torstensson@gmail.com>

* interlocked.cs: added reg test for bug 70784

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

19 years ago2004-12-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 26 Dec 2004 13:07:18 +0000 (13:07 -0000)]
2004-12-26  Martin Baulig  <martin@ximian.com>

* class.c
(inflate_generic_class): Moved some code out of inflate_generic_type().
(mono_class_inflate_generic_method): If we're already inflated,
inflate the context and use the declaring method; ie. make sure
the declaring method of an inflated method is always the generic
method definition.
(mono_class_create_from_typedef): Create
`class->generic_container->context->gclass'.

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

19 years ago2004-12-25 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 25 Dec 2004 20:12:07 +0000 (20:12 -0000)]
2004-12-25  Ben Maurer  <bmaurer@ximian.com>

* monop.cs, outline.cs, monop-completion.sh: Add MIT/X11 License.

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

19 years ago2004-12-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 25 Dec 2004 16:17:28 +0000 (16:17 -0000)]
2004-12-25  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg (ldind_to_load_membase): Handle CEE_LDIND_I8.

* inssel-amd64.brg: Add some optimization rules.

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

19 years ago * metadata-internals.h, marshal.c, reflection.c: More
Ben Maurer [Fri, 24 Dec 2004 22:21:09 +0000 (22:21 -0000)]
* metadata-internals.h, marshal.c, reflection.c: More
MonoGHashTable->GHashTable.

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

19 years ago2004-12-24 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 24 Dec 2004 19:52:08 +0000 (19:52 -0000)]
2004-12-24  Ben Maurer  <bmaurer@ximian.com>

* domain-internals.h, class.c: Change MonoGHashTable's into
GHashTables for some cases where no gc stuff is used

All users: update apis

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

19 years ago2004-12-24 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 24 Dec 2004 18:26:02 +0000 (18:26 -0000)]
2004-12-24  Ben Maurer  <bmaurer@ximian.com>

* aot.c: Remove the use of MonoGHashTable and other GC stuff. The
standard not GC'd stuff is fine.

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

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

* aot.c: Rework the AOT file format to get rid of most of the global
symbols. This reduces the size of the mscorlib.dll.so by 1MB.

* mini.h: Bump AOT file format version.

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

19 years ago- Fixed visible property behaviour
Peter Dennis Bartok [Thu, 23 Dec 2004 22:10:29 +0000 (22:10 -0000)]
- Fixed visible property behaviour

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

19 years agoThu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 23 Dec 2004 19:59:37 +0000 (19:59 -0000)]
Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>

* serial.c: remove mono calls from here: they break the build
and they don't belong here.

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

19 years ago2004-12-23 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 23 Dec 2004 16:56:44 +0000 (16:56 -0000)]
2004-12-23  Ben Maurer  <bmaurer@ximian.com>
* io.c (io_ops): make this `const' so it is shareable (well, only
really shareable if it is statically linked...)

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

19 years ago2004-12-23 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 23 Dec 2004 16:53:20 +0000 (16:53 -0000)]
2004-12-23  Ben Maurer  <bmaurer@ximian.com>
* strtod.c: add `cosnt' to some arrays to get them on shareable pages.

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

19 years ago2004-12-23 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 23 Dec 2004 16:48:17 +0000 (16:48 -0000)]
2004-12-23  Ben Maurer  <bmaurer@ximian.com>

* metadata.c (builtin_types): Make this `const'. Makes this get
put into the shareable section.
(mono_metadata_init): Casts to make gcc happy.

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

19 years ago2004-12-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Dec 2004 16:26:13 +0000 (16:26 -0000)]
2004-12-23  Zoltan Varga  <vargaz@freemail.hu>

* cpu-pentium.md: Increase the maximum size of some instructions which
might involve a got access.

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

19 years ago2004-12-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Dec 2004 16:25:37 +0000 (16:25 -0000)]
2004-12-23  Zoltan Varga  <vargaz@freemail.hu>

* mini.h: Bump AOT file format version.

* aot.c (mono_aot_is_got_entry): New function to determine if an
address is inside a GOT.

* aot.c mini-x86.c tramp-x86.c: Make all patches use the GOT.

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

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

* mini.c (get_method_from_ip): Another debug helper function.

* mini.c: Call mono_get_got_var () in a couple places. Handle the case
when got var accesses are created during the decompose phase.

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

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

* mini-sparc.c: Change mono_compile_aot to cfg->compile_aot.

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

19 years ago2004-12-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Dec 2004 14:44:08 +0000 (14:44 -0000)]
2004-12-23  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c mini-x86.c aot.c mini-sparc.c: Add a 'compile_corlib'
argument mini_compile_method and to MonoCompile, and use this to
determine whenever a given method is compiled for AOT. This allows the
other methods compiled during AOT compilation to be free of AOT stuff,
so the backends does not need to add special support for them by
creating a fake GOT etc.

* mini-x86.c (mono_arch_patch_code): Remove fake got stuff as it is no
longer needed.

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

19 years ago2004-12-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Dec 2004 14:41:11 +0000 (14:41 -0000)]
2004-12-23  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c mini-x86.c aot.c mini-sparc.c: Add a 'compile_corlib'
argument to mini_compile_method and to MonoCompile, and use this to
determine whenever a given method is compiled for AOT. This allows the
other methods compiled during AOT compilation to be free of AOT stuff,
so the backends does not need to add special support for them by
creating a fake GOT etc.

* mini-x86.c (mono_arch_patch_code): Remove fake got stuff as it is no
longer needed.

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

19 years ago2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Dec 2004 14:28:11 +0000 (14:28 -0000)]
2004-12-23  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
* DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
2.0 Nov CTP.
* PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
* RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
2.0 Nov CTP.

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

19 years ago2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Dec 2004 13:50:47 +0000 (13:50 -0000)]
2004-12-23  Sebastien Pouliot  <sebastien@ximian.com>

* System.Security.dll.sources: Added System.Security.Cryptography/
ProtectedData.cs, ProtectedMemory.cs, DataProtectionScope.cs and
MemoryProtectionScope.cs as they been moved from mscorlib to here.
* System.Security_test.dll.sources : Added Test/System.Security.
Cryptography/ProtectedDataTest.cs and ProtectedMemoryTest.cs for the
same reason.

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

19 years ago2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Dec 2004 13:48:40 +0000 (13:48 -0000)]
2004-12-23  Sebastien Pouliot  <sebastien@ximian.com>

* ProtectedDataTest.cs: Moved in System.Security.dll
* ProtectedMemoryTest.cs: Moved in System.Security.dll

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

19 years ago2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Dec 2004 13:47:35 +0000 (13:47 -0000)]
2004-12-23  Sebastien Pouliot  <sebastien@ximian.com>

* DataProtectionScope.cs: Moved in System.Security.dll
* MemoryProtectionScope.cs: Moved in System.Security.dll
* ProtectedData.cs: Moved in System.Security.dll
* ProtectedMemory.cs: Moved in System.Security.dll

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

19 years agoRemoved from corlib (NET_2_0) as they are moved to System.Security assembly
Sebastien Pouliot [Thu, 23 Dec 2004 13:39:39 +0000 (13:39 -0000)]
Removed from corlib (NET_2_0) as they are moved to System.Security assembly

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

19 years ago2004-12-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 22 Dec 2004 21:45:49 +0000 (21:45 -0000)]
2004-12-22  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (mono_gc_init): Add a '\n' to the valgrind warning.

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

19 years ago2004-12-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Dec 2004 19:34:45 +0000 (19:34 -0000)]
2004-12-22  Sebastien Pouliot  <sebastien@ximian.com>

* RSA.cs: Throw the proper CryptographicException exception when
exporting a private key without CRT parameters, while keeping the
ArgumentNullException when the private exponent (D) is missing.

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

19 years ago2004-12-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Dec 2004 18:47:04 +0000 (18:47 -0000)]
2004-12-22  Sebastien Pouliot  <sebastien@ximian.com>

* KeyPairPersistence.cs: Commented imperative asserts until it is
supported by the runtime.

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

19 years ago2004-12-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Dec 2004 18:46:50 +0000 (18:46 -0000)]
2004-12-22  Sebastien Pouliot  <sebastien@ximian.com>

* KeyPairPersistence.cs: Commented imperative asserts until it is
supported by the runtime.

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

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

* permview.cs: Now "works" (including /DECL) with .NET 2.0 when
compiled for NET_2_0, however Nov CTP has a bug and report all
security actions as LinkDemand.

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

19 years ago * mini.c (mono_method_to_ir): It turns out that some of the
Ben Maurer [Wed, 22 Dec 2004 03:54:01 +0000 (03:54 -0000)]
* mini.c (mono_method_to_ir): It turns out that some of the
x-appdomain wrappers are lax with types, so just ignore this for
all wrappers.

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

19 years ago * Hashtable.cs (get_Item): duplicate Find here, as we can
Ben Maurer [Tue, 21 Dec 2004 19:10:43 +0000 (19:10 -0000)]
* Hashtable.cs (get_Item): duplicate Find here, as we can
specialize a few things. This gives me 7% back.
(Find) Use break rather than return -1. Saves a bit of code.

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

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

* Hashtable.cs (GetHash): Avoid a method call. Also, don't store
the this.hcpRef in a variable. This will create another register
which must be pushed on the stack. It is better to just reference
the variable again. hcpRef.GetHashCode (key) is the slow path
anyways, so an extra variable reference here doesn't hurt
(KeyEquals): ditto.

This gives me a few % back in a raw benchmark.

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

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

* statement.cs (Block.ThisVariable): remove the recursion here, to
make the --profile more sane.

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

19 years ago2004-12-21 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 21 Dec 2004 18:10:12 +0000 (18:10 -0000)]
2004-12-21  Ben Maurer  <bmaurer@ximian.com>
* inssel.brg (OP_CHECK_ARRAY_TYPE): Optimize this by only looking
at the vtable->klass. If it is non-shared code we can just use the
vtable.

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

19 years ago2004-12-21 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 21 Dec 2004 18:06:25 +0000 (18:06 -0000)]
2004-12-21  Chris Toshok  <toshok@ximian.com>

        * System.dll.sources: add System.IO.Ports/*.

        * System.IO.Ports/SerialPort.cs,
        System.IO.Ports/SerialReceivedEventArgs.cs,
        System.IO.Ports/SerialPinChangedEventArgs.cs,
        System.IO.Ports/SerialErrorEventArgs.cs: initial import of the
        System.IO.Ports stuff.

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

19 years ago2004-12-21 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 21 Dec 2004 18:06:05 +0000 (18:06 -0000)]
2004-12-21  Chris Toshok  <toshok@ximian.com>

        * serial.c: initial import of System.IO.Ports pinvoke stuff.

        * Makefile.am (MPH_SOURCE): add serial.c.

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

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