mono.git
16 years agoadded missing resources
Igor Zelmanovich [Sun, 6 Jan 2008 10:17:14 +0000 (10:17 -0000)]
added missing resources

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

16 years ago* typemanager.cs: On 2.0 profile, GetPublicKeyToken returns an empty
Gert Driesen [Sun, 6 Jan 2008 09:51:44 +0000 (09:51 -0000)]
* typemanager.cs: On 2.0 profile, GetPublicKeyToken returns an empty
byte array for unsigned "baked" assemblies.
* gcs0281.cs: Modified expected error message now that fix for bug
#315057 has been applied.

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

16 years agoadded #if TARGET_DOTNET
Igor Zelmanovich [Sun, 6 Jan 2008 08:14:55 +0000 (08:14 -0000)]
added #if TARGET_DOTNET

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

16 years agoadded #if TARGET_DOTNET
Igor Zelmanovich [Sun, 6 Jan 2008 08:11:36 +0000 (08:11 -0000)]
added #if TARGET_DOTNET

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

16 years ago2008-01-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jan 2008 01:27:44 +0000 (01:27 -0000)]
2008-01-06  Zoltan Varga  <vargaz@gmail.com>

* CultureInfo.cs NumberFormatInfo.cs DateTimeFormatInfo.cs TextInfo.cs: Make
sure the components of a read-only culture object are read-only as well.

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

16 years ago2008-01-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sun, 6 Jan 2008 00:13:28 +0000 (00:13 -0000)]
2008-01-06  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: make sure that application with virtualDir
"/a" and physicalDir "/b" and the other way around get different
domain_id values

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

16 years ago2008-01-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 5 Jan 2008 21:55:13 +0000 (21:55 -0000)]
2008-01-05  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Apply patch from Luke Page that prevents an
NRE when determining the beginning of a paragraph.
Fixes bug #351886.

2008-01-05  Jonathan Pobst  <monkey@jpobst.com>

* RichTextBoxTest.cs: Add test for bug #351886.

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

16 years agoFixed year.
Gert Driesen [Sat, 5 Jan 2008 21:51:24 +0000 (21:51 -0000)]
Fixed year.

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

16 years ago* codegen.cs: AssemblyName.GetPublicKey returns a zero-length byte
Gert Driesen [Sat, 5 Jan 2008 21:45:14 +0000 (21:45 -0000)]
* codegen.cs: AssemblyName.GetPublicKey returns a zero-length byte
array for assemblies that are not strongnamed.

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

16 years ago2008-01-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 5 Jan 2008 21:39:30 +0000 (21:39 -0000)]
2008-01-05  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Apply patch from Luke Page that ensures the
caret gets moved with clicking away from a selected block of
text.  Fixes bug #351885.

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

16 years ago2008-01-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 5 Jan 2008 21:32:44 +0000 (21:32 -0000)]
2008-01-05  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Apply patch from Luke Page that takes line
alignment into account for mouse selection, so that center and
right aligned text can be selected.
Fixes bug #351881.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 20:06:50 +0000 (20:06 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Array_SetValueImpl): Use a write barrier when
writing a vtype array elem.

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

16 years ago* AssemblyBuilder.cs (UnprotectedGetName): Set the public key token
Gert Driesen [Sat, 5 Jan 2008 19:35:02 +0000 (19:35 -0000)]
* AssemblyBuilder.cs (UnprotectedGetName): Set the public key token
as well.
* AssemblyBuilderTest.cs: Improved existing AssemblyName related tests.
Enabled AssemblyName tests that previously failed.
* AssemblyNameCas.cs: Sync test methods with AssemblyNameTest.cs.
* AssemblyNameTest.cs: Removed AssertEqualsByteArrays method since
NUnit supports this out-of-the-box. Use more meaningful names for
some existing tests. Improved existing tests and added lots more.
Enabled tests that were previously failing.  Fixed and improved
tests for public key; the original "public key" was actually a
key pair.
* AssemblyName.cs: Fixed default value for ProcessorArchitecture to
match MS. On 2.0 profile, return zero-length in FullName is no name
is set, and throw a SecurityException in FullName and GetPublicKeyToken
if a public key is set with no corresponding public key token.
Fixed FullName to also include PublicKeyToken spec with "null" value
if public key is empty byte array. Fixed corlib part of bug #351057.
In SetPublicKey, modify Flags accordingly. On the 2.0 profile, verify
the public key when the public key token is computed.

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

16 years ago* assembly.c (build_assembly_name): return FALSE if length of token is
Gert Driesen [Sat, 5 Jan 2008 19:34:43 +0000 (19:34 -0000)]
* assembly.c (build_assembly_name): return FALSE if length of token is
not 16 (if not "null").
(mono_assembly_name_parse_full): return FALSE if value of version,
culture, token or key is 0.
* icall.c (fill_reflection_assembly_name): add boolean arguments to
specify whether public key and public key token must be set to default
value (zero-length byte array) if not available. Set versioncompat to
SameMachine. If public key is available or the default is set, then
set PublicKey flag.
(ves_icall_System_Reflection_Assembly_FillName): if no public key
is available, use empty byte array as default value. On the 2.0
profile, use default value for public key token if not set.
(ves_icall_System_Reflection_InternalGetAssemblyName): on the 1.0
profile, use default value for public key if not set. On the 2.0
profile, use default value for public key token if not set.
(ves_icall_System_Reflection_AssemblyName_ParseName): do not set
default values for public key and public key token.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 19:05:06 +0000 (19:05 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (DIST_SUBDIRS): Use $(eglib_dir) instead of eglib to
fix make dist.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 17:42:28 +0000 (17:42 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h (MonoReflectionAssemblyName): Add 'processor_architecture'
field to keep it in synch with the managed object.

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

16 years ago2008-01-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 5 Jan 2008 17:34:13 +0000 (17:34 -0000)]
2008-01-05  Jonathan Pobst  <monkey@jpobst.com>

* RichTextBox.cs: Apply patch from Luke Page that fixes some caret
issues after loading an RTF file by using the correct line feeds.
Fixes bug #351841.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 17:30:34 +0000 (17:30 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_object): Add support for byref marshalling of
delegates. Fixes #351520.

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

16 years ago2008-01-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 5 Jan 2008 17:23:40 +0000 (17:23 -0000)]
2008-01-05  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: When deleting multiple line selections, we need
to invalidate every line beginning at the first line of the selection.
Patch from Luke Page fixes bug #351791.

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

16 years ago2008-01-05 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Sat, 5 Jan 2008 16:40:38 +0000 (16:40 -0000)]
2008-01-05  Andreas Faerber  <andreas.faerber@web.de>

* configure.in: Add support for building with eglib and VPATH.
Fixes #351893.

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

16 years ago2008-01-05 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Sat, 5 Jan 2008 15:31:59 +0000 (15:31 -0000)]
2008-01-05  Andreas Faerber  <andreas.faerber@web.de>

* configure.in: Define eglib_dir.
* Makefile.am: Add eglib to subdirectory lists.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 15:03:28 +0000 (15:03 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* sgen-gc.c (conservatively_pin_objects_from): Tell valgrind that the pin queue
contains defined memory.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 15:00:17 +0000 (15:00 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* sgen-gc.c: Fix 64 bit warnings. Fix some typos. Update GC stats in mono_stats.

* sgen-gc.c (build_nursery_fragments): Handle half-constructed objects correctly.

* sgen-gc.c (check_consistency): New helper function to do a consistency check
of the GC data structures.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 14:31:15 +0000 (14:31 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* mini.c (print_jit_stats): Print GC statistics if available.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 14:30:11 +0000 (14:30 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* gc_wrapper.h: Move the REGISTER/UNREGISTER macros to metadata/gc-internal.h.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 14:29:39 +0000 (14:29 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* gc-internal.h: Moved the REGISTER/UNREGISTER macros here from os/gc_wrapper.h.

* *.c: Include metadata/gc-internal.h instead of os/gc_wrapper.h.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 14:27:49 +0000 (14:27 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* gc_wrapper.h: Move the REGISTER/UNREGISTER macros to metadata/gc-internal.h.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 14:21:51 +0000 (14:21 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_array_full_copy): Fix detection of whenever to use a write
barrier.
(mono_array_clone_in_domain): Ditto.
(mono_array_clone_in_domain): Ditto.

* threads.c (start_wrapper): Register the thread start argument as a GC root.
(cache_culture): Use a write barrier.

* icall.c (ves_icall_System_Array_SetValueImpl): Call a write barrier.
(ves_icall_get_property_info): Ditto.

* object.h (MONO_STRUCT_SETREF): New macro.

* class-internals.h (MonoStats): Add some GC statistics.

* boehm-gc.c null-gc.c: Define mono_gc_deregister_root ().

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 14:16:06 +0000 (14:16 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* gc_wrapper.h (MONO_GC_UNREGISTER_ROOT): New macro.

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

16 years ago2008-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jan 2008 13:14:02 +0000 (13:14 -0000)]
2008-01-05  Zoltan Varga  <vargaz@gmail.com>

* gc_wrapper.h: Include <stdlib.h> to fix the --with-gc=none build. Fixes
#351635.

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

16 years ago * map.h, map.c: Flush; add new ST_NOEXEC, ST_REMOUNT, and ST_BIND MountFlags
Jonathan Pryor [Sat, 5 Jan 2008 12:31:40 +0000 (12:31 -0000)]
* map.h, map.c: Flush; add new ST_NOEXEC, ST_REMOUNT, and ST_BIND MountFlags
  enumeration values.

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

16 years ago * Syscall.cs: Add ST_NOEXEC, ST_REMOUNT, ST_BIND to MountFlags. Patch from
Jonathan Pryor [Sat, 5 Jan 2008 12:29:39 +0000 (12:29 -0000)]
* Syscall.cs: Add ST_NOEXEC, ST_REMOUNT, ST_BIND to MountFlags.  Patch from
  Joe Dluzen <jdluzen@gmail.com>.

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

16 years ago2008-01-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 5 Jan 2008 03:58:39 +0000 (03:58 -0000)]
2008-01-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: When getting a CurrencyManager.PositionChanged
event, don't set SelectedIndex if the number of items is 1. This is
because, for the first item, PositionChanged is fired _before_
ItemChanged (the place where we actually populate the items), and
leave us in a temporary invalid state (since items collection is
empty).
Fixes #349655.

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

16 years ago2008-01-04 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 4 Jan 2008 22:47:42 +0000 (22:47 -0000)]
2008-01-04  Geoff Norton  <gnorton@novell.com>

        * XplatUICarbon.cs:  Create native toolwindows instead of
        the managed drawing ones.

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

16 years ago2008-01-04 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 4 Jan 2008 22:44:31 +0000 (22:44 -0000)]
2008-01-04  Geoff Norton  <gnorton@novell.com>

        * Enums.cs: Fix a typo
        * MouseHandler.cs:  Send NC events in global coordinates.

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

16 years ago2008-01-04 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Fri, 4 Jan 2008 22:40:38 +0000 (22:40 -0000)]
2008-01-04  Andreas Faerber  <andreas.faerber@web.de>

* exception.c (mono_exception_from_name_two_strings):
Break from loop after method is found.

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

16 years ago2008-01-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Jan 2008 20:28:30 +0000 (20:28 -0000)]
2008-01-04  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_allocate_vars): Align argument storage offsets to 8.

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

16 years ago2008-01-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 4 Jan 2008 20:26:26 +0000 (20:26 -0000)]
2008-01-03  Jonathan Pobst  <monkey@jpobst.com>

* LineTag.cs: If the line doesn't have any characters, return
0 for GetCharIndex.  Fixes an AOORE exception after certain
caret movements.  Fixes bug #351683.

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

16 years ago2008-01-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jan 2008 17:48:46 +0000 (17:48 -0000)]
2008-01-04  Marek Safar  <marek.safar@gmail.com>

A test for bug #351481

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

16 years agoNew test.
Marek Safar [Fri, 4 Jan 2008 17:48:00 +0000 (17:48 -0000)]
New test.

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

16 years ago2008-01-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jan 2008 17:47:48 +0000 (17:47 -0000)]
2008-01-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #351481
  * expression.cs (MemberAccess.ResolveNamespaceOrType): Use correct
  declaring type for nested generic types.

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

16 years agoNew test
Marek Safar [Fri, 4 Jan 2008 15:33:31 +0000 (15:33 -0000)]
New test

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

16 years ago2008-01-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jan 2008 15:31:58 +0000 (15:31 -0000)]
2008-01-04  Marek Safar  <marek.safar@gmail.com>

  * namespace.cs, class.cs, decl.cs, cs-parser.jay: Use GetSignatureForError
  instead of ToString.

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

16 years ago2008-01-04 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 4 Jan 2008 15:27:30 +0000 (15:27 -0000)]
2008-01-04  Dick Porter  <dick@ximian.com>

* versioninfo.c (VerQueryValue): Returned buffer length counts
chars not bytes for string data.  Fixes bug 345972 again.
(get_enclosing_section_header): Make sure values read are treated
as LE.  Fixes crash on ppc reported in bug 345972.

2008-01-04  Dick Porter  <dick@ximian.com>

* process.c (process_module_string_read): Rename variable to
reflect correct usage, after fixing bug 345972.

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

16 years ago2008-01-04 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 4 Jan 2008 15:26:08 +0000 (15:26 -0000)]
2008-01-04  Dick Porter  <dick@ximian.com>

* Makefile.am: Make it work on automake-1.6

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

16 years ago2008-01-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 4 Jan 2008 15:11:57 +0000 (15:11 -0000)]
2008-01-03  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Apply patch from Luke Page so when backspace
is hit when there is selected text, only the selected text gets
deleted, not the character in front of the selection as well.
Fixes bug #351578.

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

16 years ago2008-01-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jan 2008 14:07:46 +0000 (14:07 -0000)]
2008-01-04  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/CilWorker.cs:
Allow ldarg/ldloc/stloc to take a integer
instead of the actual parameter or variable. Fix #350606.

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

16 years ago2008-01-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jan 2008 12:47:39 +0000 (12:47 -0000)]
2008-01-04  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/DefaultImporter.cs:
  Mono.Cecil/ReflectionHelper.cs:
Properly import nested types. Fix #351133.

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

16 years ago2008-01-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 4 Jan 2008 06:45:30 +0000 (06:45 -0000)]
2008-01-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: When the values are displayed, calculate the
ComboListBox scrollbar's LargeChange based on the visible area's
height and  the actuall ItemHeight, instead of calculating it
based on MaxDropItems value, since it's not used by our _current_
2.0 profile.
Fixes #332366.

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

16 years ago2008-01-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 4 Jan 2008 03:25:58 +0000 (03:25 -0000)]
2008-01-03  Jonathan Pobst  <monkey@jpobst.com>

* Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
Patch from Luke Page that fixes issues with font colors and styles
not showing up in a readonly RichTextBox.  Fixes bug #324354.

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

16 years ago2008-01-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 4 Jan 2008 01:15:44 +0000 (01:15 -0000)]
2008-01-03  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_type_create_fnptr_from_mono_method):
created a MonoType function pointer instance to be used during
verification. The verifier releases this memory at end.

* verify.c (mono_method_is_constructor): extracted repeated
checks for constructor into a single class.

* verify.c (do_push_field): use new extracted method
for constructor check.

* verify.c (do_newobj): same.

* verify.c (do_ldftn): renamed to do_load_function_ptr
and make it verify ldvirtftn too.

* verify.c (mono_method_verify: proper verification
of ldvirtftn. release created MonoMethod instances.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 4 Jan 2008 00:30:05 +0000 (00:30 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * ReflectionPropertyDescriptor.cs: Create Transactions with
        descriptions when setting/resetting the property.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 4 Jan 2008 00:02:56 +0000 (00:02 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * UndoEngine.cs: implemented.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 4 Jan 2008 00:00:11 +0000 (00:00 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * CodeDomComponentSerializationService.cs: implemented.
        * ComponentCodeDomSerializer.cs, CollectionCodeDomSerializer.cs,
        CodeDomSerializerBase.cs, CodeDomSerializer.cs,
        EventCodeDomSerializer.cs, RootCodeDomSerializer.cs,
        PropertyCodeDomSerializer.cs:
         - Change the serialization process logic not to require an
         ExpressionContext for full serialization of a component/instance.
         - Provide statement ordering hints for the RootCodeDomSerializer.
        * DesignerSerializationManager.cs: try-catch around
        * CreateInstance just in case.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 3 Jan 2008 23:45:41 +0000 (23:45 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * CodeDomDesignerLoader.cs: Check for duplicate names in
        IsValidName.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 3 Jan 2008 23:36:07 +0000 (23:36 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * ParentControlDesigner.cs: Create a Transaction when adding a
        component.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 3 Jan 2008 23:30:49 +0000 (23:30 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * DesignerHost.cs: Fix lastTransaction to be set properly.
        Handle current != raiser transaction commit case.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 3 Jan 2008 23:22:55 +0000 (23:22 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * SelectionService.cs: Remove the component from the current
        selection if it gets removed from the surface.

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

16 years ago2008-01-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 3 Jan 2008 22:33:45 +0000 (22:33 -0000)]
2008-01-03 Rodrigo Kumpera <rkumpera@novell.com>

* invalid_ldvirtftn_invalid_token_type.il: added.

* make_ldvirtftn_test.sh: added.

* invalid_ldvirtftn_invalid_token_out_of_bounds.il: added.

* make_ldftn_test.sh: changed to allow more tests.

* make_tests.sh: added new tests for ldvirtftn and
a buch more for ldftn.

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

16 years agoIn codegen:
Rodrigo Kumpera [Thu, 3 Jan 2008 21:52:54 +0000 (21:52 -0000)]
In codegen:
2008-01-03  Rodrigo Kumpera  <rkumpera@novell.com>

* EmiteByteInstr.cs: Fixed typo in class name.

In parser:
2008-01-03  Rodrigo Kumpera <rkumpera@novell.com>

* ILParser.jay: Fixed typo in EmitByteInstr class name.

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

16 years ago2008-01-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jan 2008 19:05:50 +0000 (19:05 -0000)]
2008-01-03  Zoltan Varga  <vargaz@gmail.com>

* Thread.cs (set_CurrentCulture): Avoid the serialization overhead if
the new culture is equal to the old one.

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

16 years ago* Component.cs: Moved Site property before Container to match MS. This
Gert Driesen [Thu, 3 Jan 2008 18:53:19 +0000 (18:53 -0000)]
* Component.cs: Moved Site property before Container to match MS. This
allows a unit test for ordered result of TypeDescriptor.GetProperties
to pass.
* TypeDescriptorProperties.cs: added test for order of
PropertyDescriptor instances returned by GetProperties.

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

16 years agoNew test.
Marek Safar [Thu, 3 Jan 2008 17:56:08 +0000 (17:56 -0000)]
New test.

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

16 years agoUpdate for latest changes in Grasshopper
Noam Lampert [Thu, 3 Jan 2008 17:50:13 +0000 (17:50 -0000)]
Update for latest changes in Grasshopper

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

16 years agofixed RegisterStartupScript
Igor Zelmanovich [Thu, 3 Jan 2008 17:43:09 +0000 (17:43 -0000)]
fixed RegisterStartupScript

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

16 years agoNew test.
Marek Safar [Thu, 3 Jan 2008 17:34:02 +0000 (17:34 -0000)]
New test.

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

16 years ago2008-01-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jan 2008 17:33:18 +0000 (17:33 -0000)]
2008-01-03  Marek Safar  <marek.safar@gmail.com>

A test for bug #351047

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

16 years ago2008-01-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jan 2008 17:32:48 +0000 (17:32 -0000)]
2008-01-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #351047
  * expression.cs (Binary.ResolveOperator): Allow equality operators between
  null and structs only when equality and inequality operators are defined
  either as an user-operators or predefined operators.

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

16 years agoUpdate project files for latest changes in Grasshopper.
Noam Lampert [Thu, 3 Jan 2008 17:20:42 +0000 (17:20 -0000)]
Update project files for latest changes in Grasshopper.

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

16 years ago2008-01-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 3 Jan 2008 16:46:00 +0000 (16:46 -0000)]
2008-01-03  Jonathan Pobst  <monkey@jpobst.com>

* Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
from Luke Page.  This one fixes bug #349926.

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

16 years agorevert version to 1.0.61025.0
Igor Zelmanovich [Thu, 3 Jan 2008 16:30:09 +0000 (16:30 -0000)]
revert version to 1.0.61025.0

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

16 years ago* TypeDescriptor.cs: fixed properties order in returning collections in PropertyDescr...
Vladimir Krasnov [Thu, 3 Jan 2008 16:25:53 +0000 (16:25 -0000)]
* TypeDescriptor.cs: fixed properties order in returning collections in PropertyDescriptorCollection

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

16 years agoNew test.
Marek Safar [Thu, 3 Jan 2008 14:42:56 +0000 (14:42 -0000)]
New test.

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

16 years ago2008-01-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jan 2008 14:42:17 +0000 (14:42 -0000)]
2008-01-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #351047
  * generic.cs, typemanager.cs, class.cs: New IsReferenceType helper method.

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

16 years agoimplemented compression classes
Konstantin Triger [Thu, 3 Jan 2008 13:28:39 +0000 (13:28 -0000)]
implemented compression classes

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

16 years ago2008-01-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jan 2008 13:12:53 +0000 (13:12 -0000)]
2008-01-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #351257
  * cs-tokenizer.cs: Advance line number for '\r' correctly.

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

16 years ago2008-01-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Jan 2008 13:05:56 +0000 (13:05 -0000)]
2008-01-03  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionWriter.cs:
Properly emit null type constants. Fix #351141.
Patch by Rolf Kvinge <rkvinge@novell.com>.

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

16 years agoimplement
Igor Zelmanovich [Thu, 3 Jan 2008 12:25:11 +0000 (12:25 -0000)]
implement
GetRegisteredClientScriptBlocks,
GetRegisteredOnSubmitStatements,
GetRegisteredStartupScripts

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

16 years ago2008-01-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jan 2008 11:56:42 +0000 (11:56 -0000)]
2008-01-03  Marek Safar  <marek.safar@gmail.com>

A test for bug #351157

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

16 years ago2008-01-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jan 2008 11:56:14 +0000 (11:56 -0000)]
2008-01-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #351157
  * class.cs (Using): Fixed yet another broken cloning.

  (Block): Put back more sensible default value for statements.

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

16 years agoimplement GetRegisteredDisposeScripts()
Igor Zelmanovich [Thu, 3 Jan 2008 09:51:38 +0000 (09:51 -0000)]
implement GetRegisteredDisposeScripts()

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

16 years agoimplement GetRegisteredHiddenFields
Igor Zelmanovich [Thu, 3 Jan 2008 09:22:59 +0000 (09:22 -0000)]
implement GetRegisteredHiddenFields

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

16 years agoencode ExpandoAttribute if need.
Igor Zelmanovich [Thu, 3 Jan 2008 08:58:29 +0000 (08:58 -0000)]
encode ExpandoAttribute if need.

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

16 years agoinitialize wrapped list if need
Igor Zelmanovich [Thu, 3 Jan 2008 08:33:07 +0000 (08:33 -0000)]
initialize wrapped list if need

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

16 years ago* xpidl2cs.pl: Add more type conversions, don't output return
Andreia Gaita [Thu, 3 Jan 2008 02:42:19 +0000 (02:42 -0000)]
* xpidl2cs.pl: Add more type conversions, don't output return
parameters if method returns void, tweak parent interface parsing

2008-01-03  Andreia Gaita  <avidigal@novell.com>

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

16 years agoJAVAEE post build step change
Roei Erez [Wed, 2 Jan 2008 21:30:52 +0000 (21:30 -0000)]
JAVAEE post build step change

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

16 years ago2008-01-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 2 Jan 2008 20:52:10 +0000 (20:52 -0000)]
2008-01-02  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: added a wrapper class for server-side script
snippets, to keep track of locations.
Store main directive location for later use in DirectiveLocation
internal property.
2008-01-02  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: add line pragma wherever necessary.

* PageCompiler.cs: reorder the statements to match MS.NET output.
Output line pragma information for directive attributes.

* BaseCompiler.cs: add a set of AddLinePragma methods for various
CodeDOM elements.
Output line pragmas when adding server-side scripts to the CodeDOM
tree.

* AspGenerator.cs: use ServerSideScript to store script location
in the original file.

* UserControlCompiler.cs: output line pragmas for the init
method.

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 17:34:34 +0000 (17:34 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* RC2CryptoServiceProviderTest.cs: Fix Create[De|En]cryptor_KeyNull
test case not to fail about 1 out of 256 times under the 2.0 profile.
* TripleDESCryptoServiceProviderTest.cs: Fix Create[De|En]cryptor_KeyNull
test case not to fail about 1 out of 256 times under the 2.0 profile.

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

16 years agoimplement GetRegisteredExpandoAttributes()
Igor Zelmanovich [Wed, 2 Jan 2008 16:46:51 +0000 (16:46 -0000)]
implement GetRegisteredExpandoAttributes()

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

16 years agouse old flag for backward compat
Konstantin Triger [Wed, 2 Jan 2008 16:36:36 +0000 (16:36 -0000)]
use old flag for backward compat

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

16 years agoimplement GetRegisteredArrayDeclarations()
Igor Zelmanovich [Wed, 2 Jan 2008 15:33:23 +0000 (15:33 -0000)]
implement GetRegisteredArrayDeclarations()

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 15:17:59 +0000 (15:17 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* SecureStringTest.cs: Add test case for InsertAt (#350820)

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 15:14:10 +0000 (15:14 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* SecureString.cs: Fix InsertAt buffer calculation. Fix #350820

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

16 years agomake it compatible with Sys.Web.Extensions scripts
Igor Zelmanovich [Wed, 2 Jan 2008 15:04:04 +0000 (15:04 -0000)]
make it compatible with Sys.Web.Extensions scripts

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 14:44:42 +0000 (14:44 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* SecureStringTest.cs: Add test cases for Copy (#350840)

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 14:44:00 +0000 (14:44 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* SecureString.cs: Don't forget length in Copy. Fix #350840

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

16 years ago* xpidl2cs.pl: Add support for getting idls from other paths, fix
Andreia Gaita [Wed, 2 Jan 2008 14:32:28 +0000 (14:32 -0000)]
* xpidl2cs.pl: Add support for getting idls from other paths, fix
script name bug.

2008-01-02  Andreia Gaita <avidigal@novell.com>

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

16 years agoadded stubs for missing public API,
Igor Zelmanovich [Wed, 2 Jan 2008 14:19:16 +0000 (14:19 -0000)]
added stubs for missing public API,
source formatting

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

16 years agoadded new classes.
Igor Zelmanovich [Wed, 2 Jan 2008 14:10:01 +0000 (14:10 -0000)]
added new classes.

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

16 years agoadded new classes.
Igor Zelmanovich [Wed, 2 Jan 2008 14:07:48 +0000 (14:07 -0000)]
added new classes.

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