Miguel de Icaza [Fri, 14 Mar 2008 21:30:31 +0000 (21:30 -0000)]
Add System.Data.DataSetExtensions stubs for Marek Habersack
svn path=/trunk/mcs/; revision=98358
Jonathan Pobst [Fri, 14 Mar 2008 20:46:54 +0000 (20:46 -0000)]
2008-03-14 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewRow.cs: Only paint the white background in
cell bounds, the row bounds extends past the cells if the
grid width isn't as wide as the DGV.
svn path=/trunk/mcs/; revision=98354
Rodrigo Kumpera [Fri, 14 Mar 2008 20:37:32 +0000 (20:37 -0000)]
* valid_generic_test.cs: Tests for generic classes.
* unverifiable_generic_type_field_access.il: Tests for
not mixing generic arguments.
* valid_generic_test.cs: Add tests for generic
class and method together.
2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=98351
Rodrigo Kumpera [Fri, 14 Mar 2008 20:34:55 +0000 (20:34 -0000)]
2008-03-14 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Use the generic definition MonoGenericContext when available.
Remove code for checking generics instance compatibility in favor of
mono_class_is_assignable_from.
svn path=/trunk/mono/; revision=98350
Zoltan Varga [Fri, 14 Mar 2008 20:22:31 +0000 (20:22 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* inssel-long.brg (reg): Fix 64 bit build.
svn path=/trunk/mono/; revision=98348
Jonathan Pobst [Fri, 14 Mar 2008 20:08:41 +0000 (20:08 -0000)]
2008-03-14 Jonathan Pobst <monkey@jpobst.com>
* DataGridView*: Completely revamp the drawing to match the
public API. Our grids now look better, and call all the
appropriate methods and event to allow users to override
the painting and do their own.
svn path=/trunk/mcs/; revision=98347
Mark Probst [Fri, 14 Mar 2008 19:58:04 +0000 (19:58 -0000)]
2008-03-14 Mark Probst <mark.probst@gmail.com>
* mini.c, mini.h: Share static generic code by passing it an
implicit argument pointing to the runtime generic context.
* mini-ops.h, inssel.brg, inssel-long.brg, inssel-long32.brg,
inssel-long32-mips.brg: New opcodes for calling shared static,
which need to be passed the runtime generic context.
* mini-amd64.c, mini-x86.c: Save the runtime generic context
argument on the stack in the prologue if needed. New function for
finding the runtime generic context argument from the registers
saved by the trampoline.
* mini-amd64.h, mini-x86.h: Specify which register to use for the
runtime generic context argument.
* tramp-amd64.c: Also restore the register used for the runtime
generic context argument.
* mini-trampoline.c: Resolve shared static calls by consulting the
runtime generic context via the new argument.
* generic-sharing.c: Add an argument to sharability-checking
functions that specifies whether type variables should be treated
as sharable type arguments.
* inssel-x86.brg: Removed a superfluous, buggy rule.
* graph.c, local-propagation.c, aliasing.c: Added the new opcodes
to switches.
2008-03-14 Mark Probst <mark.probst@gmail.com>
* marshal.c, marshal.h, metadata-internals.h, image.c,
wrapper-types.h: New wrapper for invoking a shared static method
without having to pass the runtime generic context argument.
2008-03-14 Mark Probst <mark.probst@gmail.com>
* generics-sharing.2.cs: New tests for static methods.
* generic-inlining.2.cs: Added. Tests generic method inlining.
* shared-generic-synchronized.2.cs: Added. Tests shared
synchronized methods.
* Makefile.am: Added the new tests. New target for running the
generic code sharing with the optimization enabled.
svn path=/trunk/mono/; revision=98345
Miguel de Icaza [Fri, 14 Mar 2008 19:45:37 +0000 (19:45 -0000)]
Clarify the license to track our web site
svn path=/trunk/mono/; revision=98341
Rodrigo Kumpera [Fri, 14 Mar 2008 19:06:30 +0000 (19:06 -0000)]
2008-03-14 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h: Add missing function PerformanceCounterCategory::GetInstanceNames.
svn path=/trunk/mono/; revision=98337
Zoltan Varga [Fri, 14 Mar 2008 19:00:39 +0000 (19:00 -0000)]
Remove a FIXME.
svn path=/trunk/mono/; revision=98335
Zoltan Varga [Fri, 14 Mar 2008 18:59:22 +0000 (18:59 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_get_field_on_inst_token): Add caching.
svn path=/trunk/mono/; revision=98334
Zoltan Varga [Fri, 14 Mar 2008 18:58:45 +0000 (18:58 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs: Add tests for GetField ().
svn path=/trunk/mcs/; revision=98333
Zoltan Varga [Fri, 14 Mar 2008 18:50:24 +0000 (18:50 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* MonoGenericClass.cs (GetField): Construct a FieldOnTypeBuilderInst object
instead of using GetCorrespondingInflatedField. This is needed so this class can
reflect the changes made to the type builder after initialize () has been called.
svn path=/trunk/mcs/; revision=98330
Zoltan Varga [Fri, 14 Mar 2008 18:47:21 +0000 (18:47 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System.Reflection.Emit/FieldOnTypeBuilderInst.cs.
svn path=/trunk/mcs/; revision=98328
Zoltan Varga [Fri, 14 Mar 2008 18:47:01 +0000 (18:47 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* FieldOnTypeBuilderInst.cs: New file.
svn path=/trunk/mcs/; revision=98327
Zoltan Varga [Fri, 14 Mar 2008 18:45:04 +0000 (18:45 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_get_field_on_inst_token): New helper function to
create a token from a FieldOnTypeBuilderInst.
(mono_image_create_token): Handle FieldOnTypeBuilderInst.
(resolve_object): Ditto.
* object-internals.h (MonoReflectionFieldOnTypeBuilderInst): New structure
mirroring System.Reflection.Emit.FieldOnTypeBuilderInst.
svn path=/trunk/mono/; revision=98325
Martin Baulig [Fri, 14 Mar 2008 18:09:37 +0000 (18:09 -0000)]
Fix compiler warnings.
svn path=/trunk/mcs/; revision=98307
Martin Baulig [Fri, 14 Mar 2008 18:06:49 +0000 (18:06 -0000)]
2008-02-19 Martin Baulig <martin@ximian.com>
* class.cs
(IMethodData.EmitExtraSymbolInfo): New interface method.
(MethodData.Emit): Call method.EmitExtraSymbolInfo().
(MethodOrOperator.EmitExtraSymbolInfo): Implement this new
interface method here as an empty public virtual method.
* anonymous.cs
(AnonymousMethodMethod.ctor): Added `string real_name' argument.
(AnonymousMethodMethod.EmitExtraSymbolInfo): Override and call
CodeGen.SymbolWriter.SetRealMethodName().
2008-02-18 Martin Baulig <martin@ximian.com>
* anonymous.cs
(ScopeInfo.EmitType): Override this and emit debugging
information for captured variables.
(RootScopeInfo.EmitType): Override this and emit symbol
information for a captured `this'.
2008-02-15 Martin Baulig <martin@ximian.com>
* iterators.cs: Emit debugging info.
* codegen.cs
(EmitContext.Flags): Add `OmitDebuggingInfo'.
(EmitContext.OmitDebuggingInfo): New public property.
* statement.cs
(While): Override Emit() and don't emit symbol info there; do it
inside DoEmit() instead.
(Block.Emit): Omit symbol information while emitting the scope
initializers; don't ec.Mark() the `EndLocation'. Fix the lexical
block logic.
(ExplicitBlock.IsIterator): Moved here from `ToplevelBlock'.
(ToplevelBlock.MakeIterator): Pass the `flags' to `ExplicitBlock's
.ctor to make `IsIterator' work.
svn path=/trunk/mcs/; revision=98305
Martin Baulig [Fri, 14 Mar 2008 17:58:20 +0000 (17:58 -0000)]
2008-03-14 Martin Baulig <martin@ximian.com>
* symbolwriter.cs: Added the new symbol writer function from the
debugger's `terrania' branch; temporarily enclose them inside
`#if !DISABLE_TERRANIA_CHANGES' conditionals until I'm back from
my vacations.
svn path=/trunk/mcs/; revision=98304
Martin Baulig [Fri, 14 Mar 2008 17:44:22 +0000 (17:44 -0000)]
2008-03-14 Martin Baulig <martin@ximian.com>
* symbolwriter.cs
(SymbolWriter): Make this a public static class.
* codegen.cs
(CodeGen.SymbolWriter): Removed; use the new static `SymbolWriter'
class instead of using `if (CodeGen.SymbolWriter != null)' everywhere.
svn path=/trunk/mcs/; revision=98301
Martin Baulig [Fri, 14 Mar 2008 17:14:05 +0000 (17:14 -0000)]
2008-03-14 Martin Baulig <martin@ximian.com>
Merged the debugger's `terrania' branch into trunk.
svn path=/trunk/mcs/; revision=98296
Atsushi Eno [Fri, 14 Mar 2008 17:12:26 +0000 (17:12 -0000)]
2008-03-14 Atsushi Enomoto <atsushi@ximian.com>
* CustomizableFileSettingsProvider.cs : cosmetic header fix
requested by the author.
svn path=/trunk/mcs/; revision=98295
Martin Baulig [Fri, 14 Mar 2008 16:55:59 +0000 (16:55 -0000)]
2008-03-14 Martin Baulig <martin@ximian.com>
* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 68.
* debug-mono-symfile.h
(MONO_SYMBOL_FILE_VERSION): Bump to 41.
(MONO_SYMBOL_FILE_COMPATIBILITY_VERSION): New #define.
2008-03-10 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.h
(MonoSymbolFileMethodAddress): Removed `num_lexical_blocks' and
`lexical_block_table_offset'.
(MonoDebugMethodInfo): Removed `num_lexical_blocks' and
`lexical_blocks'.
(MonoSymbolFile): Added `version'.
* mono-debug.h
(MonoDebugLexicalBlockEntry): Removed.
(MonoDebugMethodJitInfo): Removed `num_lexical_blocks' and
`lexical_blocks'.
* mono-debug.c (mono_debug_add_method): Don't compute lexical
blocks here; the debugger now does this internally.
2008-02-27 Martin Baulig <martin@ximian.com>
* object.c (mono_runtime_exec_main): Call
`mono_debugger_event (MONO_DEBUGGER_EVENT_REACHED_MAIN)' and
`mono_debugger_event (MONO_DEBUGGER_EVENT_MAIN_EXITED)' here.
svn path=/trunk/mono/; revision=98292
Zoltan Varga [Fri, 14 Mar 2008 16:33:22 +0000 (16:33 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Fix build on platforms without IMT.
svn path=/trunk/mono/; revision=98287
Marek Safar [Fri, 14 Mar 2008 16:28:05 +0000 (16:28 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
A test for bug #370577
svn path=/trunk/mcs/; revision=98285
Marek Safar [Fri, 14 Mar 2008 16:27:40 +0000 (16:27 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
A fix for bug #370577
* statement.cs, lambda.cs: Added extra limitations when dealing with void
return type.
svn path=/trunk/mcs/; revision=98284
Mark Probst [Fri, 14 Mar 2008 15:18:23 +0000 (15:18 -0000)]
2008-03-14 Mark Probst <mark.probst@gmail.com>
* tramp-x86.c: Fixed register restore offsets in the trampoline
code for ECX and EDX.
svn path=/trunk/mono/; revision=98271
Zoltan Varga [Fri, 14 Mar 2008 12:02:08 +0000 (12:02 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* BinderTests.cs: Add tests for #367655.
svn path=/trunk/mcs/; revision=98265
Zoltan Varga [Fri, 14 Mar 2008 11:58:05 +0000 (11:58 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
#367655.
svn path=/trunk/mcs/; revision=98264
Marek Safar [Fri, 14 Mar 2008 11:54:16 +0000 (11:54 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Replaced XmlTextWriter and XmlTextReader with
XmlWriter and XmlReader.
svn path=/trunk/mcs/; revision=98263
Marek Safar [Fri, 14 Mar 2008 10:59:19 +0000 (10:59 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* typemanager.cs (CSharpName): Made 250 times faster.
svn path=/trunk/mcs/; revision=98260
Marek Safar [Fri, 14 Mar 2008 10:38:11 +0000 (10:38 -0000)]
Fixes 1.1 build
svn path=/trunk/mcs/; revision=98259
Robert Jordan [Fri, 14 Mar 2008 10:25:10 +0000 (10:25 -0000)]
2008-03-14 Robert Jordan <robertj@gmx.net>
* mono-dl.c (w32_load_module): prevent error dialog by resetting
the Win32 error mode during LoadLibrary (). Fixes #360363.
* mono-dl.c (w32_dlerror): kill a warning.
svn path=/trunk/mono/; revision=98258
Paolo Molaro [Fri, 14 Mar 2008 09:12:58 +0000 (09:12 -0000)]
This POS doesn't seem to behave like the rest of the build.
svn path=/trunk/mcs/; revision=98256
Marek Safar [Fri, 14 Mar 2008 09:06:17 +0000 (09:06 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* Makefile: New compiler-tester options.
svn path=/trunk/mcs/; revision=98253
Marek Safar [Fri, 14 Mar 2008 09:05:40 +0000 (09:05 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* Makefile: New compiler-tester options.
svn path=/trunk/mcs/; revision=98252
Marek Safar [Fri, 14 Mar 2008 09:03:20 +0000 (09:03 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Added IL regression support.
svn path=/trunk/mcs/; revision=98251
Paolo Molaro [Fri, 14 Mar 2008 07:44:11 +0000 (07:44 -0000)]
Fri Mar 14 09:31:59 CET 2008 Paolo Molaro <lupus@ximian.com>
* rules.make, library.make: move GACUTIL definition into rules.make as
it's used also by the tools. Add the hidden -bootstrap option.
svn path=/trunk/mcs/; revision=98247
Paolo Molaro [Fri, 14 Mar 2008 07:44:04 +0000 (07:44 -0000)]
Fri Mar 14 09:29:29 CET 2008 Paolo Molaro <lupus@ximian.com>
* driver.cs: added a bootstrap option to ignore sn failures for now
when bootstrapping a build. The option name will periodically change
so no one else can use it.
svn path=/trunk/mcs/; revision=98246
Carlos Alberto Cortez [Fri, 14 Mar 2008 05:58:45 +0000 (05:58 -0000)]
2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* System.Windows.Forms_test.dll.sources: Added
ListBindingHelperTest.cs.
svn path=/trunk/mcs/; revision=98243
Carlos Alberto Cortez [Fri, 14 Mar 2008 05:56:56 +0000 (05:56 -0000)]
2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelperTest.cs: New file and a new test.
svn path=/trunk/mcs/; revision=98242
Carlos Alberto Cortez [Fri, 14 Mar 2008 05:53:38 +0000 (05:53 -0000)]
2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelper.cs: Implement 2.0 GetList methods.
svn path=/trunk/mcs/; revision=98241
Atsushi Eno [Fri, 14 Mar 2008 02:59:54 +0000 (02:59 -0000)]
2008-03-14 Atsushi Enomoto <atsushi@ximian.com>
* driver.cs : temporarily disable r98206 strongname check
until the build gets fixed.
svn path=/trunk/mcs/; revision=98233
Sebastien Pouliot [Fri, 14 Mar 2008 00:40:40 +0000 (00:40 -0000)]
2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConvert.cs: Re-order exception handling to report the most
precise error to caller. Apply RSA extra check to DSA.
* RSAManaged.cs: Test imported parameters to ensure the public and
private parts of the keypair match together.
svn path=/trunk/mcs/; revision=98226
Sebastien Pouliot [Fri, 14 Mar 2008 00:40:06 +0000 (00:40 -0000)]
2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConvert.cs: Re-order exception handling to report the most
precise error to caller. Apply RSA extra check to DSA.
* RSAManaged.cs: Test imported parameters to ensure the public and
private parts of the keypair match together.
svn path=/trunk/mcs/; revision=98225
Sebastien Pouliot [Thu, 13 Mar 2008 22:37:12 +0000 (22:37 -0000)]
2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Update copyright notices.
* sn.cs: Display a better error message if an assembly is not
strongnamed but yet delay-signed (the old one succeeded to confuse
myself ;-). Display messages from CryptographicException since
those are not unknown errors (like other exceptions).
svn path=/trunk/mcs/; revision=98220
Jonathan Pobst [Thu, 13 Mar 2008 21:59:58 +0000 (21:59 -0000)]
2008-03-13 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Implement BorderStyle.
svn path=/trunk/mcs/; revision=98215
Marek Habersack [Thu, 13 Mar 2008 21:30:12 +0000 (21:30 -0000)]
2008-03-13 Marek Habersack <mhabersack@novell.com>
* ApplicationHostTest.cs: adjust test for the PrivateBinPath
change in ApplicationHost.
2008-03-13 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: use HttpApplication.BinDirs to
create watchers for binary application directories.
* HttpApplication.cs:
Remove the BinDirectories enumerator property, replaced with a
BinDirectory one returning a string with path to the binary
directory.
2008-03-13 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
checking whether we're running in a case-insensitive environment.
Revert to the single-bin-dir behavior when setting the
PrivateBinPath - the directories are sought for in the order given
by HttpApplication.BinDirs and the first existing directory is set
as the value of PrivateBinPath. If none of those are found,
PrivateBinPath defaults to "bin" (and "/app/full/path/bin" in the
2.0 profile)
2008-03-13 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: HttpApplication.BinaryDirectories property no longer
exists, use HttpApplication.BinDirectory instead.
svn path=/trunk/mcs/; revision=98211
Paolo Molaro [Thu, 13 Mar 2008 20:44:40 +0000 (20:44 -0000)]
Thu Mar 13 22:33:36 CET 2008 Paolo Molaro <lupus@ximian.com>
* driver.cs: run sn on the assembly to ensure it is strongly named.
svn path=/trunk/mcs/; revision=98206
Paolo Molaro [Thu, 13 Mar 2008 20:43:22 +0000 (20:43 -0000)]
Thu Mar 13 22:32:24 CET 2008 Paolo Molaro <lupus@ximian.com>
* Makefile: strong name the tuned assemblies.
svn path=/trunk/mcs/; revision=98205
Paolo Molaro [Thu, 13 Mar 2008 20:09:57 +0000 (20:09 -0000)]
Uncorrupt key.
svn path=/trunk/mcs/; revision=98202
Marek Habersack [Thu, 13 Mar 2008 19:45:52 +0000 (19:45 -0000)]
2008-03-13 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: use HttpRuntime.CaseInsensitive instead of
own IsRunningOnWindows.
* HttpRuntime.cs: introduce two static properties -
CaseInsensitive (set to true whenever the environment is
case-insensitive - i.e. MONO_IOMAP="all" or MONO_IOMAP="case", or
running on Windows) and RunningOnWindows.
2008-03-13 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: if we're running in a case-insensitive
environment, use case-insensitive comparer for the build caches
2008-03-13 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
checking whether we're running in a case-insensitive environment.
svn path=/trunk/mcs/; revision=98199
Marek Safar [Thu, 13 Mar 2008 19:05:13 +0000 (19:05 -0000)]
Updated
svn path=/trunk/mcs/; revision=98198
Marek Safar [Thu, 13 Mar 2008 18:55:56 +0000 (18:55 -0000)]
Updated
svn path=/trunk/mcs/; revision=98196
Jb Evain [Thu, 13 Mar 2008 17:36:27 +0000 (17:36 -0000)]
revert
svn path=/trunk/mcs/; revision=98189
Jb Evain [Thu, 13 Mar 2008 17:32:10 +0000 (17:32 -0000)]
revert
svn path=/trunk/mcs/; revision=98188
Marek Safar [Thu, 13 Mar 2008 17:05:07 +0000 (17:05 -0000)]
2008-03-13 Marek Safar <marek.safar@gmail.com>
* Extensions.cs: Disabled redundant OnFieldOrProperty.
svn path=/trunk/mcs/; revision=98184
Paolo Molaro [Thu, 13 Mar 2008 16:41:09 +0000 (16:41 -0000)]
Portability fix.
svn path=/trunk/mono/; revision=98182
Jonathan Pobst [Thu, 13 Mar 2008 16:15:44 +0000 (16:15 -0000)]
2008-03-13 Jonathan Pobst <monkey@jpobst.com>
* FileDialog.cs: Apply patch from Andy Hume: Any time we
are comparing attributes, make sure we only look at the
one we are interested. These calls were failing if there
were more than one attribute.
[Fixes bug #370385]
svn path=/trunk/mcs/; revision=98175
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:38 +0000 (15:25 -0000)]
Added ChangeLog...
svn path=/trunk/mono/; revision=98164
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:35 +0000 (15:25 -0000)]
Fixed heap profiler, added a new way to get the symbol names for unmanaged functions, and fixed lots of bugs.
svn path=/trunk/mono/; revision=98163
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:32 +0000 (15:25 -0000)]
Use rdtsc as performance counter instead of reading the current time.
svn path=/trunk/mono/; revision=98162
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:28 +0000 (15:25 -0000)]
added size to heap-shot reporting
svn path=/trunk/mono/; revision=98161
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:25 +0000 (15:25 -0000)]
Added command options and file for heap profiling
svn path=/trunk/mono/; revision=98160
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:21 +0000 (15:25 -0000)]
Added arguments to control gc snapshots
svn path=/trunk/mono/; revision=98159
Jonathan Pobst [Thu, 13 Mar 2008 15:19:11 +0000 (15:19 -0000)]
2008-03-13 Jonathan Pobst <monkey@jpobst.com>
* DataGridColumnStyle.cs: Hide ctor from 1.1 profile.
svn path=/trunk/mcs/; revision=98158
Jb Evain [Thu, 13 Mar 2008 15:12:53 +0000 (15:12 -0000)]
rename wrt to our conventions
svn path=/trunk/mcs/; revision=98156
Jb Evain [Thu, 13 Mar 2008 15:07:31 +0000 (15:07 -0000)]
update
svn path=/trunk/mcs/; revision=98155
Jb Evain [Thu, 13 Mar 2008 15:06:57 +0000 (15:06 -0000)]
2008-03-13 Jb Evain <jbevain@novell.com>
* Extensions.cs: a collection of useful extension methods
which are useful to S.L.E.
* Expression.cs, MemberExpression.cs,
MemberAssignment.cs, MemberBinding.cs:
refactor common pattern into a common method.
svn path=/trunk/mcs/; revision=98154
Paolo Molaro [Thu, 13 Mar 2008 14:36:25 +0000 (14:36 -0000)]
Thu Mar 13 16:24:53 CET 2008 Paolo Molaro <lupus@ximian.com>
* processes.c: properly check for executable files (fixes bug #368829).
svn path=/trunk/mono/; revision=98149
Marek Habersack [Thu, 13 Mar 2008 13:51:54 +0000 (13:51 -0000)]
2008-03-13 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: version changed to 3.5.0.0 for the 3.5
profile.
svn path=/trunk/mcs/; revision=98146
Marek Safar [Thu, 13 Mar 2008 10:36:44 +0000 (10:36 -0000)]
2008-03-13 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Refactored to support verbose mod
svn path=/trunk/mcs/; revision=98128
Jb Evain [Thu, 13 Mar 2008 10:07:10 +0000 (10:07 -0000)]
tests for compiled new array bounds
svn path=/trunk/mcs/; revision=98127
Jb Evain [Thu, 13 Mar 2008 10:06:39 +0000 (10:06 -0000)]
2008-03-13 Jb Evain <jbevain@novell.com>
* NewArrayExpression.cs (EmitNewArrayBounds): implement.
svn path=/trunk/mcs/; revision=98126
Igor Zelmanovich [Thu, 13 Mar 2008 09:08:25 +0000 (09:08 -0000)]
merge r98121
svn path=/trunk/mcs/; revision=98122
Marek Safar [Thu, 13 Mar 2008 09:00:42 +0000 (09:00 -0000)]
2008-03-12 Marek Safar <marek.safar@gmail.com>
* ecore.cs, expression.cs: Emit conversion for ET shift argument.
svn path=/trunk/mcs/; revision=98120
Jb Evain [Thu, 13 Mar 2008 08:28:55 +0000 (08:28 -0000)]
2008-03-13 Jb Evain <jbevain@novell.com>
* Mono.Tuner/AdjustVisibility.cs: don't adjust enums.
svn path=/trunk/mcs/; revision=98119
Ivan Zlatev [Thu, 13 Mar 2008 01:31:07 +0000 (01:31 -0000)]
2008-03-13 Ivan N. Zlatev <contact@i-nz.net>
* DesignerAttribute.cs: For the TypeId strip type name only
of the base type to prevent AssemblyQualifiedName and not clashes.
* TypeDescriptor.cs: GetAttributes should ask for the inherited
attributes. I was wrong.
svn path=/trunk/mcs/; revision=98113
Marek Habersack [Wed, 12 Mar 2008 23:57:42 +0000 (23:57 -0000)]
2008-03-12 Marek Habersack <mhabersack@novell.com>
* DefaultVirtualPathProvider.cs: disable throwing an exception
when a virtual path is passed to FileExists.
2008-03-12 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: HttpContext.Handler may be set by a module
in any of the event handlers between acquiring the initial handler
and processing the request. Honor the setting and use
HttpContext.Handler instead of the matched one if set.
svn path=/trunk/mcs/; revision=98108
Marek Habersack [Wed, 12 Mar 2008 23:42:48 +0000 (23:42 -0000)]
2008-03-12 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: use version 3.6.0.0 for the 3.5 profile, as
that's the latest .NET version of the assembly for .NET 3.5
svn path=/trunk/mcs/; revision=98107
Rolf Bjarne Kvinge [Wed, 12 Mar 2008 22:15:02 +0000 (22:15 -0000)]
* Test/Microsoft.VisualBasic/CodeGeneratorFromCompileUnitTest.cs: Added
ExternalSourceTest.
* Microsoft.VisualBasic/VBCodeGenerator.cs: Add quotes around the
filename in ExternalSource directives.
svn path=/trunk/mcs/; revision=98097
Jonathan Pobst [Wed, 12 Mar 2008 21:05:55 +0000 (21:05 -0000)]
2008-03-12 Jonathan Pobst <monkey@jpobst.com>
* PageSetupDialog.cs: Stub EnableMetric.
* PrintControllerWithStatusDialog.cs: Implement IsPreview.
* PrintPreviewDialog.cs: Add ProcessDialogKey,
ProcessTabKey.
svn path=/trunk/mcs/; revision=98091
Jonathan Pobst [Wed, 12 Mar 2008 20:05:34 +0000 (20:05 -0000)]
2008-03-12 Jonathan Pobst <monkey@jpobst.com>
* MonthCalendar.cs: Remove unused variable.
svn path=/trunk/mcs/; revision=98087
Jonathan Pobst [Wed, 12 Mar 2008 20:02:03 +0000 (20:02 -0000)]
2008-03-12 Jonathan Pobst <monkey@jpobst.com>
* DataGridView*.cs: corcompare stuffs.
svn path=/trunk/mcs/; revision=98086
Ivan Zlatev [Wed, 12 Mar 2008 19:35:41 +0000 (19:35 -0000)]
2008-03-10 Ivan N. Zlatev <contact@i-nz.net>
* DesignModeSite.cs: Do not return the site specific service
container if GetService is asked for IServiceContainer.
svn path=/trunk/mcs/; revision=98083
Marek Safar [Wed, 12 Mar 2008 19:35:25 +0000 (19:35 -0000)]
Better test.
svn path=/trunk/mcs/; revision=98082
Atsushi Eno [Wed, 12 Mar 2008 19:31:56 +0000 (19:31 -0000)]
2008-03-12 Atsushi Enomoto <atsushi@ximian.com>
* scripts/Makefile.am : added xsd2.
svn path=/trunk/mono/; revision=98081
Atsushi Eno [Wed, 12 Mar 2008 19:29:03 +0000 (19:29 -0000)]
2008-03-12 Atsushi Enomoto <atsushi@ximian.com>
in tools/mono-xsd:
* Makefile : build runtime-version-dependent xsd.exe files.
in tools:
* Makefile : add mono-xsd to net_2_0_SUBDIRS to build xsd2.
svn path=/trunk/mcs/; revision=98080
Rodrigo Kumpera [Wed, 12 Mar 2008 19:17:56 +0000 (19:17 -0000)]
2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verify_type_compatibility_full): Allow native int to be converted
to native pointer in non-strict mode. Required to "(IntPtr)null" work.
svn path=/trunk/mono/; revision=98079
Rodrigo Kumpera [Wed, 12 Mar 2008 19:08:33 +0000 (19:08 -0000)]
2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
* strict_native_int_converts_to_unamanged_pointer.cs: Allow
conversion from native int to unmanaged pointer in non-strict mode.
This is required to allow the C# expression "(IntPtr)null" to be
verifiable.
svn path=/trunk/mono/; revision=98078
Paolo Molaro [Wed, 12 Mar 2008 18:22:02 +0000 (18:22 -0000)]
Wed Mar 12 20:09:09 CET 2008 Paolo Molaro <lupus@ximian.com>
* domain-internals.h, socket-io.c: initialize Socket correctly
instead of just hoping its static fields are magically initialized
(fixes bug #321920).
svn path=/trunk/mono/; revision=98076
Rodrigo Kumpera [Wed, 12 Mar 2008 18:21:35 +0000 (18:21 -0000)]
2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verify_ldftn_delegate): Accept a sealed type when using
ldftn with a virtual method.
svn path=/trunk/mono/; revision=98075
Rodrigo Kumpera [Wed, 12 Mar 2008 18:19:13 +0000 (18:19 -0000)]
2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
* valid_ldftn_final_virtual_method.il:
* valid_ldftn_sealed_type_virtual_method.il: Tests the interaction
of sealed type and final method or ldftn verifiability.
svn path=/trunk/mono/; revision=98074
Paolo Molaro [Wed, 12 Mar 2008 18:18:37 +0000 (18:18 -0000)]
Wed Mar 12 20:06:07 CET 2008 Paolo Molaro <lupus@ximian.com>
* Socket.cs: add a static ctor so that ipv4Supported and ipv6Supported
are initialized (they are used by the runtime).
svn path=/trunk/mcs/; revision=98073
Geoff Norton [Wed, 12 Mar 2008 17:14:41 +0000 (17:14 -0000)]
In .:
2008-03-12 Geoff Norton <gnorton@novell.com>
* build-iphone.sh: A autogen/make wrapper to define everything to build
mono for the iphone.
* configure.in: Add support for arm-apple-darwin (iPhone).
svn path=/trunk/mono/; revision=98068
Geoff Norton [Wed, 12 Mar 2008 17:13:22 +0000 (17:13 -0000)]
In .:
2008-03-12 Geoff Norton <gnorton@novell.com>
* mini-arm.h: Add some #defines for locating sp, pc, r4 with
different ucontext_t implementations.
* exceptions-arm.c: Use the above defines to get exceptions working on
iPhone (based on a patch by Luke Howard lukeh@padl.com)
* mini-arm.c: Implement iPhone icache support (based on a patch by
Luke Howard lukeh@padl.com)
svn path=/trunk/mono/; revision=98066
Geoff Norton [Wed, 12 Mar 2008 17:10:25 +0000 (17:10 -0000)]
In .:
2008-03-13 Geoff Norton <gnorton@novell.com>
* decimal.c: Only include memory.h if the platform has it.
svn path=/trunk/mono/; revision=98065
Geoff Norton [Wed, 12 Mar 2008 17:08:32 +0000 (17:08 -0000)]
In .:
2008-03-13 Geoff Norton <gnorton@novell.com>
* arch/arm/tramp.c: Dont compile this on PLATFORM_MACOSX
svn path=/trunk/mono/; revision=98063
Geoff Norton [Wed, 12 Mar 2008 16:37:35 +0000 (16:37 -0000)]
2008-03-12 Geoff Norton <gnorton@novell.com>
* src/gutf8.c: Implement g_ucs4_to_utf16 and g_utf16_to_ucs4 as
asserts. They're needed to build mono with eglib.
* src/gutil.h: Add a few missing function declarations to the header.
* src/gspawn.c: Some darwin implementations don't have crt_externs.h
So we'll just define _NSGetEnviron() ourselves.
* Makefile.am: Dont build test when cross compiling.
* configure.ac: Define CROSS_COMPILING when cross compiling.
Undefine _FORTIFY_SOURCE on arm-apple-darwin as the headers it
requires are not available.
svn path=/trunk/mono/; revision=98061
Marek Safar [Wed, 12 Mar 2008 16:01:09 +0000 (16:01 -0000)]
Updated.
svn path=/trunk/mcs/; revision=98055