mono.git
16 years ago2007-10-26 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 21:57:14 +0000 (21:57 -0000)]
2007-10-26  Jb Evain  <jbevain@novell.com>

* Makefile: activate the InjectAttributes step.

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

16 years ago* TypeTest.cs: Added test for bug #336841. Code formatting.
Gert Driesen [Thu, 25 Oct 2007 21:29:02 +0000 (21:29 -0000)]
* TypeTest.cs: Added test for bug #336841. Code formatting.

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

16 years ago2007-10-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Oct 2007 21:25:23 +0000 (21:25 -0000)]
2007-10-25  Zoltan Varga  <vargaz@gmail.com>

* Hashtable.cs: Put the hash values into a separate array to help the GC. Fixes
#336069.

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

16 years ago2007-10-25 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 21:06:52 +0000 (21:06 -0000)]
2007-10-25  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/InjectAttributes.cs: inject security attributes
defined in the public api.

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

16 years ago2007-10-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Oct 2007 20:55:27 +0000 (20:55 -0000)]
2007-10-25  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_value_box): Use typed allocation here.

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

16 years agoThu Oct 25 23:06:58 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Oct 2007 20:50:07 +0000 (20:50 -0000)]
Thu Oct 25 23:06:58 CEST 2007 Paolo Molaro <lupus@ximian.com>

* helpers.c: unlink debugging output files.

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

16 years ago2007-10-25 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 20:25:38 +0000 (20:25 -0000)]
2007-10-25  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/InjectAttributes.cs: infrastructure for
the attribute injector.

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

16 years agoupdate
Jb Evain [Thu, 25 Oct 2007 20:09:49 +0000 (20:09 -0000)]
update

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

16 years agoupdate
Jb Evain [Thu, 25 Oct 2007 20:09:11 +0000 (20:09 -0000)]
update

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

16 years agorename files
Jb Evain [Thu, 25 Oct 2007 20:08:42 +0000 (20:08 -0000)]
rename files

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

16 years ago2007-10-25 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 20:08:07 +0000 (20:08 -0000)]
2007-10-25  Jb Evain  <jbevain@novell.com>

* monolinker.exe.sources
* Mono.Linker.Steps/ResolveFromApiInfoStep.cs
* Mono.Linker/Driver.cs
* Mono.Linker/XApiReader.cs
* Mono.Linker/ApiInfoService.cs
* Mono.Linker/IXApiVisitor.cs:

Big refactoring. Move logic to read Xml Api Info files
to XApiReader, so we can use that in the tuner to deal
with xapi files to inject attributes.

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

16 years ago2007-10-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 25 Oct 2007 18:47:30 +0000 (18:47 -0000)]
2007-10-25  Lluis Sanchez Gual  <lluis@novell.com>

* AppDomain.cs: In DefaultDomain, wrap the returned domain with
a proxy if the current domain is not the root domain.

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

16 years ago2007-10-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 25 Oct 2007 16:50:23 +0000 (16:50 -0000)]
2007-10-25  Marek Safar  <marek.safar@gmail.com>

A test for bug #336766

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

16 years agoNew test.
Marek Safar [Thu, 25 Oct 2007 16:49:54 +0000 (16:49 -0000)]
New test.

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

16 years ago2007-10-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 25 Oct 2007 16:49:40 +0000 (16:49 -0000)]
2007-10-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #336766
* expression.cs (Class.CheckBase): Use generic name when a method is
generic.

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

16 years agoupdate
Jb Evain [Thu, 25 Oct 2007 16:27:04 +0000 (16:27 -0000)]
update

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

16 years agoupdate
Jb Evain [Thu, 25 Oct 2007 16:26:53 +0000 (16:26 -0000)]
update

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

16 years agoavoid keeping huge xml files in memory
Jb Evain [Thu, 25 Oct 2007 16:26:45 +0000 (16:26 -0000)]
avoid keeping huge xml files in memory

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

16 years ago2007-10-25 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 15:43:45 +0000 (15:43 -0000)]
2007-10-25  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/PrintStatus.cs: print which items
have been internalized if the parameter `display_internalized`
is set to true.

* Makefile: define parameter `display_internalized` and set it
to false. Set it explicitely to true if you want a detailed log
about which metadata items have been internalized.

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

16 years agoFlush
Miguel de Icaza [Thu, 25 Oct 2007 15:37:15 +0000 (15:37 -0000)]
Flush

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

16 years agoFix this code
Miguel de Icaza [Thu, 25 Oct 2007 15:34:06 +0000 (15:34 -0000)]
Fix this code

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

16 years ago2007-10-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 25 Oct 2007 15:27:02 +0000 (15:27 -0000)]
2007-10-25  Marek Safar  <marek.safar@gmail.com>

A test for bug #334737

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

16 years ago2007-10-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 25 Oct 2007 15:26:24 +0000 (15:26 -0000)]
2007-10-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #334737
* expression.cs (IndexerAccess.EmitAssign): Emit local temporary
variable and not variable argument for prepared copies.

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

16 years ago2007-10-25 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 15:13:50 +0000 (15:13 -0000)]
2007-10-25  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/TunerAnnotations.cs
* Mono.Tuner/AdjustVisibility.cs:
Annotate the items that have been internalized
for later use.

* Makefile: always rebuild Mono.Tuner.dll for now.

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

16 years agoUpdate
Miguel de Icaza [Thu, 25 Oct 2007 14:36:33 +0000 (14:36 -0000)]
Update

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

16 years agoRevert mess
Miguel de Icaza [Thu, 25 Oct 2007 14:28:19 +0000 (14:28 -0000)]
Revert mess

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

16 years ago * Stdlib.cs: Fix perror(3) so that it works as expected. (Since errno is
Jonathan Pryor [Thu, 25 Oct 2007 14:03:38 +0000 (14:03 -0000)]
* Stdlib.cs: Fix perror(3) so that it works as expected.  (Since errno is
  cleared during P/Invoke, previously Stdlib.perror("") would always print
  "Success", which isn't very helpful.)

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

16 years ago * stdio.c: Provide errno as a parameter and set errno before calling
Jonathan Pryor [Thu, 25 Oct 2007 14:03:16 +0000 (14:03 -0000)]
* stdio.c: Provide errno as a parameter and set errno before calling
  perror(3), as errno is cleared during P/Invoke.
* map.h: Updated prototype for Mono_Posix_Stdlib_perror().

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

16 years ago2007-10-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Oct 2007 12:32:08 +0000 (12:32 -0000)]
2007-10-25  Atsushi Enomoto  <atsushi@ximian.com>

* UnicodeEncoding.cs : fix build.

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

16 years ago2007-10-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Oct 2007 09:42:03 +0000 (09:42 -0000)]
2007-10-25  Atsushi Enomoto  <atsushi@ximian.com>

* DecoderReplacementFallbackBuffer.cs : Reset() should also reset the
  input buffer. When fallback is not assigned, just return '\0'.
* UnicodeEncoding.cs : handle throwOnInvalid .ctor argument.
  Default replacement fallback buffer is now "\uFFFD".
* UTF8Encoding.cs : couple of replacement buffer size fixes.
  Default replacement fallback buffer is now "\uFFFD".
* UTF32Encoding.cs : Default replacement is "\uFFFD" too here.
  See http://support.microsoft.com/kb/940521/ for this change.

* UnicodeEncodingTest.cs,
  UTF8EncodingTest.cs,
  DecoderReplacementFallbackBufferTest.cs,
  DecoderReplacementFallbackTest.cs : default replacement buffer fix.
  Added test for Reset() for replacement buffer.

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

16 years agosvn path=/trunk/mono/; revision=88148
Arina Itkes [Thu, 25 Oct 2007 09:11:59 +0000 (09:11 -0000)]
svn path=/trunk/mono/; revision=88148

16 years ago2007-10-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Oct 2007 23:10:27 +0000 (23:10 -0000)]
2007-10-25  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Delegate_CreateDelegate_internal): Call
mono_create_ftnptr () to the ia64 build.

* object.c (mono_create_ftnptr): Moved here from mini.c.

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

16 years ago2007-10-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Oct 2007 23:09:25 +0000 (23:09 -0000)]
2007-10-25  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Move mono_create_ftnptr () to object.c.

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

16 years ago2007-10-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 24 Oct 2007 23:05:32 +0000 (23:05 -0000)]
2007-10-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PropertyGridView.cs: Set the plus/minus bounds of a grid item
depending on its depth (as .Net does). Update the needed values in
MouseDown handler. Also draw the plus/minus rect after the label,
so we don't draw on top of it.

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

16 years ago2007-10-24 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 24 Oct 2007 20:38:02 +0000 (20:38 -0000)]
2007-10-24  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
processed by forms or controls when menu is active. [Fixes #333548]

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

16 years ago* Fix the ChangeLogs
Andreia Gaita [Wed, 24 Oct 2007 20:23:05 +0000 (20:23 -0000)]
* Fix the ChangeLogs

2007-10-24  Andreia Gaita <avidigal@novell.com>

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

16 years ago2007-10-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 24 Oct 2007 20:18:16 +0000 (20:18 -0000)]
2007-10-24  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
parent doesn't have focus.  This was causing ToolStripTextBoxes to take
focus on mouse over.

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

16 years ago2007-10-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 24 Oct 2007 19:55:36 +0000 (19:55 -0000)]
2007-10-24  Marek Habersack  <mhabersack@novell.com>

* HttpHandlerAction.cs: exact path matching must be done on the
original string in PathMatches, not on the sliced one. Fixes bug
#335669.
2007-10-24  Marek Habersack  <mhabersack@novell.com>

* HandlerFactoryConfiguration.cs: exact path matching must be done
on the original string in PathMatches, not on the sliced one.

* FileMatchingInfo.cs: refactoring - this code used to live in
both 1.1 and 2.0 profiles. At the same time, fixe the way
MatchExact is created - the slash is prepended only if the path
doesn't begin with it.
2007-10-24  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added
System.Web.Configuration/FileMatchingInfo.cs

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

16 years ago2007-10-24 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 24 Oct 2007 19:54:52 +0000 (19:54 -0000)]
2007-10-24  Dick Porter  <dick@ximian.com>

* Thread.cs: Call Thread_init on the new 2.0 constructors too.

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

16 years ago2007-10-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 24 Oct 2007 18:43:53 +0000 (18:43 -0000)]
2007-10-24  Rodrigo Kumpera  <rkumpera@novell.com>

* helpers.c (mono_disassemble_code): MonoCompile parameter is now
optional. This function can now be used to disassemble code generated
outside the JIT such as trampolines and IMT thunks.

* mini-arm.h: defined MONO_ARCH_HAVE_IMT.

* mini-arm.c (decode_vcall_slot_from_ldr): added, extract the
vtable pointer from a ldr instruction.

* mini-arm.c (mono_arch_get_vcall_slot_addr): support the
new IMT call sequence.

* mini-arm.c (mono_arch_output_basic_block): emit the IMT
call sequence for interface invocations.

* mini-arm.c (mono_arch_emit_imt_argument): added, required
for imt support. This function is empty since IMT on ARM requires no
special handling on the IR side.

* mini-arm.c (mono_arch_find_imt_method): added, required for
imt support.

* mini-arm.c (mono_arch_find_this_argument): added, required
for imt support.

* mini-arm.c (arm_emit_value_and_patch_ldr): added, patches
a ldr instruction to load a value stored in the code stream.

* mini-arm.c (mono_arch_build_imt_thunk):added, required
for imt support.

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

16 years ago* SendKeys.cs: apply jpobst's patch to bug #332409
Andreia Gaita [Wed, 24 Oct 2007 18:24:34 +0000 (18:24 -0000)]
* SendKeys.cs: apply jpobst's patch to bug #332409

2007-10-24  Andreia Gaita <avidigal@novell.com>

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

16 years ago* StaticFileHandler.cs: Modified 404 message to match MS.
Gert Driesen [Wed, 24 Oct 2007 18:07:12 +0000 (18:07 -0000)]
* StaticFileHandler.cs: Modified 404 message to match MS.

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

16 years ago2007-10-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Oct 2007 17:59:59 +0000 (17:59 -0000)]
2007-10-24  Marek Safar  <marek.safar@gmail.com>

A test for bug #325110

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

16 years ago2007-10-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Oct 2007 17:59:06 +0000 (17:59 -0000)]
2007-10-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #325110
* class.cs, expression.cs, attribute.cs: Use open generic method when
checking conditional attribute.

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

16 years ago2007-10-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 24 Oct 2007 16:49:30 +0000 (16:49 -0000)]
2007-10-24  Ivan N. Zlatev  <contact@i-nz.net>

        * DesignSurface.cs:
         - Fix a redundancy.
         - Dispose the loader if available.
        * DesignerHost.cs: serviceContainer can be null after disposing.

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

16 years ago2007-10-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 24 Oct 2007 16:47:29 +0000 (16:47 -0000)]
2007-10-24  Ivan N. Zlatev  <contact@i-nz.net>

        * CodeDomSerializerBase.cs:
         - Implement deserialization of CodeCastExpression.
         - Add error reporting.
        * PropertyCodeDomSerializer.cs: Error reporting.
        * BasicDesignerLoader.cs:
         - Unload only if loaded.
         - Error reporting.
        * RootCodeDomSerializer.cs: Push the Root context during
        deserialization.

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

16 years ago2007-10-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 24 Oct 2007 15:55:56 +0000 (15:55 -0000)]
2007-10-24  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Code cleaning, simplifying.

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

16 years ago2007-10-24 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 24 Oct 2007 15:51:53 +0000 (15:51 -0000)]
2007-10-24  Geoff Norton  <gnorton@novell.com>

    * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
    * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.

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

16 years ago2007-10-24 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 24 Oct 2007 15:35:52 +0000 (15:35 -0000)]
2007-10-24  Dick Porter  <dick@ximian.com>

* Thread.cs: Assign the ManagedThreadId when it is asked for,
rather than in the constructor, so ThreadPool threads also work.
Fixes bug 335579 (and doesn't break 325367 or 325566)

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

16 years ago2007-10-24 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 24 Oct 2007 15:33:49 +0000 (15:33 -0000)]
2007-10-24  Juraj Skripsky <js@hotfeet.ch>

* Regex.cs: Store and re-use IMachine, no need to re-instantiate
it every time we're matching.

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

16 years agofix the 2.1 build
Jb Evain [Wed, 24 Oct 2007 15:26:28 +0000 (15:26 -0000)]
fix the 2.1 build

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

16 years ago2007-10-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 24 Oct 2007 15:04:34 +0000 (15:04 -0000)]
2007-10-24  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: If the user sets maxlength to 0, it should mean
the cap is maxvalue, not actually 0.  [Fixes bug #336218]

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

16 years agoforgot to add that
Jb Evain [Wed, 24 Oct 2007 14:50:12 +0000 (14:50 -0000)]
forgot to add that

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

16 years agorename
Jb Evain [Wed, 24 Oct 2007 14:49:21 +0000 (14:49 -0000)]
rename

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

16 years agomove the adjust visibility step to where it belongs: the tuner
Jb Evain [Wed, 24 Oct 2007 14:48:33 +0000 (14:48 -0000)]
move the adjust visibility step to where it belongs: the tuner

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

16 years ago- Added new machine that implements IMachine interface. It executes parsing with...
Arina Itkes [Wed, 24 Oct 2007 14:21:51 +0000 (14:21 -0000)]
- Added new machine that implements IMachine interface. It executes parsing with java regular expressions.

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

16 years ago- Added new machine that implements IMachine interface. It executes parsing with...
Arina Itkes [Wed, 24 Oct 2007 14:21:01 +0000 (14:21 -0000)]
- Added new machine that implements IMachine interface. It executes parsing with java regular expressions.

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

16 years ago- Refactoring of Interpreter with extracting of base abstract class that executes...
Arina Itkes [Wed, 24 Oct 2007 14:18:57 +0000 (14:18 -0000)]
- Refactoring of Interpreter with extracting of base abstract class that executes some methods that were moved from Regex and Match classes.
- Added a field that maps group numbers to group names in Regex for improvement of performance of GroupNameFromNumber method.

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

16 years ago2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Oct 2007 12:44:33 +0000 (12:44 -0000)]
2007-10-24  Atsushi Enomoto  <atsushi@ximian.com>

* Assembly.cs : include ReflectionOnlyLoad() as part of 2.0
  bootstrap build.

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

16 years ago2007-10-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Oct 2007 10:43:06 +0000 (10:43 -0000)]
2007-10-24  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Renamed method FeatureIsNotISO to FeatureIsNotAvailable.

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

16 years ago2007-10-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Oct 2007 10:42:12 +0000 (10:42 -0000)]
2007-10-24  Marek Safar  <marek.safar@gmail.com>

* report.cs, cs-tokenizer.cs, class.cs, cs-parser.jay, anonymous.cs,
expression.cs, statement.cs: Renamed method FeatureIsNotISO to
FeatureIsNotAvailable.

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

16 years agoNew tests.
Marek Safar [Wed, 24 Oct 2007 09:22:28 +0000 (09:22 -0000)]
New tests.

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

16 years agoNew tests.
Marek Safar [Wed, 24 Oct 2007 09:17:20 +0000 (09:17 -0000)]
New tests.

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

16 years ago2007-10-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Oct 2007 09:16:28 +0000 (09:16 -0000)]
2007-10-24  Marek Safar  <marek.safar@gmail.com>

** C# 3.0 Partial methods

* cs-parser.jay: Implemented partial methods support.

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

16 years ago2007-10-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Oct 2007 09:15:34 +0000 (09:15 -0000)]
2007-10-24  Marek Safar  <marek.safar@gmail.com>

** C# 3.0 Partial methods

* cs-tokenizer.cs, support.cs, class.cs, decl.cs: Implemented partial
methods support. Because of member cache issue with generics only
non-generics partial methods are fully supported.

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

16 years ago2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Oct 2007 08:32:21 +0000 (08:32 -0000)]
2007-10-24  Atsushi Enomoto  <atsushi@ximian.com>

* SynchronizationContext.cs : removed SendOrPost().

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

16 years ago2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Oct 2007 08:30:51 +0000 (08:30 -0000)]
2007-10-24  Atsushi Enomoto  <atsushi@ximian.com>

* Type.cs : implemented ReflectionOnlyGetType().

* TypeTest.cs : tests for ReflectionOnlyGetType().

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

16 years ago * PropertyGridView.cs: If a property has an UIEditor available,
Carlos Alberto Cortez [Tue, 23 Oct 2007 23:50:30 +0000 (23:50 -0000)]
* PropertyGridView.cs: If a property has an UIEditor available,
make the drop-down/editor button available only if the property
is _not_ read only.

2007-10-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-10-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Oct 2007 22:39:33 +0000 (22:39 -0000)]
2007-10-24  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: ignore exceptions resulting from the attempt
to delete a stamp directory in CreateApplicationHost. It is safe
to do so, since the code inside the loop serves the only purpose
to create the asp.net temporary directory if the filesystem
permissions allow it. If the directory has been deleted by some
other thread, that's ok.

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

16 years ago2007-10-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 23 Oct 2007 22:12:07 +0000 (22:12 -0000)]
2007-10-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PropertyGridView.cs: Don't make the grid item textbox
editable when a drop-down control is available, but
CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
true. The same bur the color of the grid item value's label.

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

16 years ago2007-10-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Oct 2007 21:59:07 +0000 (21:59 -0000)]
2007-10-24  Marek Habersack  <mhabersack@novell.com>

* HttpUtility.cs: MS.NET does not support the ';' query parameter
separator. Fixes bug #335615

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

16 years ago2007-10-23 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 23 Oct 2007 21:30:44 +0000 (21:30 -0000)]
2007-10-23  Geoff Norton  <gnorton@novell.com>

    * System.Windows.Forms.dll.sources: Added OSXKeyboard.cs

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

16 years ago2007-10-22 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 23 Oct 2007 21:29:18 +0000 (21:29 -0000)]
2007-10-22  Geoff Norton  <gnorton@novell.com>

    * OSXStructs.cs: Add the needed constants for keyboard modifiers.
    * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
    * XplatUIOSX.cs: New reversible frame support.  Wire in the new keyboard
    driver.  Padd the bottom of all real windows so the resize thumb doesn't
    obscure scroll/status bars.

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

16 years ago2007-10-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 23 Oct 2007 21:06:35 +0000 (21:06 -0000)]
2007-10-22  Jonathan Pobst  <monkey@jpobst.com>

* WindowsFormsSection.cs: Implement.

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

16 years ago* TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
Andreia Gaita [Tue, 23 Oct 2007 21:01:30 +0000 (21:01 -0000)]
* TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
Windows 2000 gdi DrawText call doesn't draw if it's higher than that
for some reason

2007-10-23  Andreia Gaita <avidigal@novell.com>

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

16 years ago * SortedListTest.cs: No longer derive from deprecated Assertion class.
Gert Driesen [Tue, 23 Oct 2007 19:20:40 +0000 (19:20 -0000)]
 * SortedListTest.cs: No longer derive from deprecated Assertion class.
Added serialization tests, and a (NotWorking) deserialization test.

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

16 years ago2007-10-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Oct 2007 18:45:34 +0000 (18:45 -0000)]
2007-10-23  Sebastien Pouliot  <sebastien@ximian.com>

* DESCryptoServiceProviderTest.cs: Fix CreateEncryptor_KeyNull test
case not to fail about 1 out of 256 times under the 2.0 profile.

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

16 years ago2007-10-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 23 Oct 2007 17:55:53 +0000 (17:55 -0000)]
2007-10-23  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Install the jump trampoline callback.

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

16 years ago2007-10-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 23 Oct 2007 17:54:30 +0000 (17:54 -0000)]
2007-10-23  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Delegate_CreateDelegate_internal): Create a jump
trampoline instead of compiling the method right away.

* class-internals.h object.c: Add a JIT callback to create a jump trampoline.

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

16 years ago2007-10-23 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 23 Oct 2007 15:58:17 +0000 (15:58 -0000)]
2007-10-23  Robert Jordan  <robertj@gmx.net>

* SortedList.cs: Mark List|{Values|Keys} as serializable.
Fixes #335703.

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

16 years agoTest case for bug #335601.
Paolo Molaro [Tue, 23 Oct 2007 14:52:25 +0000 (14:52 -0000)]
Test case for bug #335601.

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

16 years agoTue Oct 23 17:07:52 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 23 Oct 2007 14:51:54 +0000 (14:51 -0000)]
Tue Oct 23 17:07:52 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-trampolines.c: handle synchronized methods with the common
vtable trampoline (bug #335601).

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

16 years ago2007-10-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Oct 2007 12:39:45 +0000 (12:39 -0000)]
2007-10-23  Marek Habersack  <mhabersack@novell.com>

* ClientScriptManager.cs: added two constants to define start/end
script block comments rendering. 1.1 uses HTML comments, while 2.0
uses a CDATA block.

* Page.cs: render script blocks with start/end comments taken from
the ClientScriptManager constants above.

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

16 years ago2007-10-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Oct 2007 12:14:27 +0000 (12:14 -0000)]
2007-10-23  Marek Habersack  <mhabersack@novell.com>

* ListBox.cs, Table.cs: use Render{Begin,End}Tag
instead of the Write* counterparts when rendering contents.

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

16 years ago2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Oct 2007 10:06:35 +0000 (10:06 -0000)]
2007-10-23  Atsushi Enomoto  <atsushi@ximian.com>

* Ping.cs : Do not call OnPingCompleted() at CancelAsync() it should
  be called at RunWorkerCompleted. Simplified RunWorkerCompleted.

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

16 years agoNew tests, message update
Marek Safar [Tue, 23 Oct 2007 10:06:22 +0000 (10:06 -0000)]
New tests, message update

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

16 years ago2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Oct 2007 10:04:12 +0000 (10:04 -0000)]
2007-10-23  Atsushi Enomoto  <atsushi@ximian.com>

* SmtpClient.cs : small async refactory.

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

16 years ago2007-10-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 23 Oct 2007 10:02:18 +0000 (10:02 -0000)]
2007-10-23  Marek Safar  <marek.safar@gmail.com>

* class.cs, decl.cs: Rewrote member overloads check to cope with
generics and to use member cache for member checking. It also improves
performance and fixes remaining overloads issues.

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

16 years ago2007-10-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Oct 2007 09:47:21 +0000 (09:47 -0000)]
2007-10-23  Marek Habersack  <mhabersack@novell.com>

* AppResourcesAssemblyBuilder.cs: do not output preservation files
for satellite assemblies, just for the main assembly. Also, don't
add the satellite assemblies to the list of top-level assemblies.

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

16 years ago2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Oct 2007 09:28:44 +0000 (09:28 -0000)]
2007-10-23  Atsushi Enomoto  <atsushi@ximian.com>

* SmtpClient.cs : Implemented async operations.

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

16 years ago2007-10-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Oct 2007 04:28:44 +0000 (04:28 -0000)]
2007-10-23  Atsushi Enomoto  <atsushi@ximian.com>

* Attachment.cs : reverted previous change. NameEncoding is not
  guessed at set_Name().

* AttachmentTest.cs : more NameEncoding tests.

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

16 years ago* build-csproj2k5, SWF2k5.csproj: add System.configuration reference
Andreia Gaita [Mon, 22 Oct 2007 22:49:23 +0000 (22:49 -0000)]
* build-csproj2k5, SWF2k5.csproj: add System.configuration reference

2007-10-22  Andreia Gaita <avidigal@novell.com>

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

16 years ago2007-10-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 22 Oct 2007 22:46:07 +0000 (22:46 -0000)]
2007-10-23  Marek Habersack  <mhabersack@novell.com>

* mconfig.1: added

* Makefile.am (man_MANS): added mconfig.1

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

16 years ago* SD2K5.csproj: Add 2k5 project
Andreia Gaita [Mon, 22 Oct 2007 22:33:54 +0000 (22:33 -0000)]
* SD2K5.csproj: Add 2k5 project

2007-10-22  Andreia Gaita  <avidigal@novell.com>

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

16 years ago * MdiClient.cs: Maximize new active mdi child when a maximized child is
Everaldo Canuto [Mon, 22 Oct 2007 22:03:57 +0000 (22:03 -0000)]
* MdiClient.cs: Maximize new active mdi child when a maximized child is
closed see #325434 patch.

2007-10-22  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago2007-10-22 Geoff Norton <gnorton@novell.com>
Geoff Norton [Mon, 22 Oct 2007 21:37:47 +0000 (21:37 -0000)]
2007-10-22  Geoff Norton  <gnorton@novell.com>

    * Makefile: Add a reference to System.Configuration.dll in NET 2.0

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

16 years ago2007-10-22 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Mon, 22 Oct 2007 21:06:21 +0000 (21:06 -0000)]
2007-10-22  Everaldo Canuto  <ecanuto@novell.com>

* MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
see #325434 patch.

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

16 years ago2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Oct 2007 18:27:22 +0000 (18:27 -0000)]
2007-10-22  Atsushi Enomoto  <atsushi@ximian.com>

* AttachmentTest.cs : I have no time to fix it now. Disable it.

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

16 years ago2007-10-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Oct 2007 17:03:30 +0000 (17:03 -0000)]
2007-10-22  Atsushi Enomoto  <atsushi@ximian.com>

* SmtpClient.cs : lunatic cyclic build.

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

16 years agoNew test.
Marek Safar [Mon, 22 Oct 2007 16:22:19 +0000 (16:22 -0000)]
New test.

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