mono.git
16 years agoClarify the license to track our web site
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

16 years ago2008-03-14 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agoRemove a FIXME.
Zoltan Varga [Fri, 14 Mar 2008 19:00:39 +0000 (19:00 -0000)]
Remove a FIXME.

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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years agoFix compiler warnings.
Martin Baulig [Fri, 14 Mar 2008 18:09:37 +0000 (18:09 -0000)]
Fix compiler warnings.

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

16 years ago2008-02-19 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2008-03-14 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Mark Probst <mark.probst@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years agoFixes 1.1 build
Marek Safar [Fri, 14 Mar 2008 10:38:11 +0000 (10:38 -0000)]
Fixes 1.1 build

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

16 years ago2008-03-14 Robert Jordan <robertj@gmx.net>
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

16 years agoThis POS doesn't seem to behave like the rest of the build.
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years agoFri Mar 14 09:31:59 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years agoFri Mar 14 09:29:29 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years ago2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-03-14 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2008-03-13 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-03-13 Marek Habersack <mhabersack@novell.com>
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

16 years agoThu Mar 13 22:33:36 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years agoThu Mar 13 22:32:24 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years agoUncorrupt key.
Paolo Molaro [Thu, 13 Mar 2008 20:09:57 +0000 (20:09 -0000)]
Uncorrupt key.

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

16 years ago2008-03-13 Marek Habersack <mhabersack@novell.com>
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

16 years agoUpdated
Marek Safar [Thu, 13 Mar 2008 19:05:13 +0000 (19:05 -0000)]
Updated

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

16 years agoUpdated
Marek Safar [Thu, 13 Mar 2008 18:55:56 +0000 (18:55 -0000)]
Updated

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

16 years agorevert
Jb Evain [Thu, 13 Mar 2008 17:36:27 +0000 (17:36 -0000)]
revert

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

16 years agorevert
Jb Evain [Thu, 13 Mar 2008 17:32:10 +0000 (17:32 -0000)]
revert

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

16 years ago2008-03-13 Marek Safar <marek.safar@gmail.com>
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

16 years agoPortability fix.
Paolo Molaro [Thu, 13 Mar 2008 16:41:09 +0000 (16:41 -0000)]
Portability fix.

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

16 years ago2008-03-13 Jonathan Pobst <monkey@jpobst.com>
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

16 years agoAdded ChangeLog...
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:38 +0000 (15:25 -0000)]
Added ChangeLog...

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

16 years agoFixed heap profiler, added a new way to get the symbol names for unmanaged functions...
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

16 years agoUse rdtsc as performance counter instead of reading the current time.
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

16 years agoadded size to heap-shot reporting
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

16 years agoAdded command options and file for heap profiling
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

16 years agoAdded arguments to control gc snapshots
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

16 years ago2008-03-13 Jonathan Pobst <monkey@jpobst.com>
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

16 years agorename wrt to our conventions
Jb Evain [Thu, 13 Mar 2008 15:12:53 +0000 (15:12 -0000)]
rename wrt to our conventions

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

16 years agoupdate
Jb Evain [Thu, 13 Mar 2008 15:07:31 +0000 (15:07 -0000)]
update

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

16 years ago2008-03-13 Jb Evain <jbevain@novell.com>
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

16 years agoThu Mar 13 16:24:53 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years ago2008-03-13 Marek Habersack <mhabersack@novell.com>
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

16 years ago2008-03-13 Marek Safar <marek.safar@gmail.com>
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

16 years agotests for compiled new array bounds
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

16 years ago2008-03-13 Jb Evain <jbevain@novell.com>
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

16 years agomerge r98121
Igor Zelmanovich [Thu, 13 Mar 2008 09:08:25 +0000 (09:08 -0000)]
merge r98121

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

16 years ago2008-03-12 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-13 Jb Evain <jbevain@novell.com>
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

16 years ago2008-03-13 Ivan N. Zlatev <contact@i-nz.net>
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

16 years ago2008-03-12 Marek Habersack <mhabersack@novell.com>
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

16 years ago2008-03-12 Marek Habersack <mhabersack@novell.com>
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

16 years ago* Test/Microsoft.VisualBasic/CodeGeneratorFromCompileUnitTest.cs: Added
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

16 years ago2008-03-12 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-03-12 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-03-12 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-03-10 Ivan N. Zlatev <contact@i-nz.net>
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

16 years agoBetter test.
Marek Safar [Wed, 12 Mar 2008 19:35:25 +0000 (19:35 -0000)]
Better test.

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

16 years ago2008-03-12 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2008-03-12 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years ago2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agoWed Mar 12 20:09:09 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years ago2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years ago2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agoWed Mar 12 20:06:07 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years agoIn .:
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

16 years agoIn .:
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

16 years agoIn .:
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

16 years agoIn .:
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

16 years ago2008-03-12 Geoff Norton <gnorton@novell.com>
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

16 years agoUpdated.
Marek Safar [Wed, 12 Mar 2008 16:01:09 +0000 (16:01 -0000)]
Updated.

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

16 years ago2008-03-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 12 Mar 2008 15:58:23 +0000 (15:58 -0000)]
2008-03-12  Marek Safar  <marek.safar@gmail.com>

* generic.cs, typemanager.cs, enum.cs, codegen.cs, statement.cs: Try not to
crash when predefined field does not exist.

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

16 years ago2008-03-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 12 Mar 2008 15:49:57 +0000 (15:49 -0000)]
2008-03-11  Jonathan Pobst  <monkey@jpobst.com>

* MonthCalendar.cs: Remove an incorrect invalidate optimization.
The savings aren't worth the extra code to fix the optimization.
[Fixes bug #368585]

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

16 years ago2008-03-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 12 Mar 2008 15:31:59 +0000 (15:31 -0000)]
2008-03-11  Jonathan Pobst  <monkey@jpobst.com>

* ToolBar.cs: Always call base.Dock in the Dock override so that
Control's layout_type gets reset correctly.
[Fixes bug #368882]

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

16 years ago* AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField, should hide checkbo...
Vladimir Krasnov [Wed, 12 Mar 2008 15:07:08 +0000 (15:07 -0000)]
* AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField, should hide checkbox only if DataItem is not defined

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

16 years agoEnabled only correctly generated expressions.
Marek Safar [Wed, 12 Mar 2008 13:42:13 +0000 (13:42 -0000)]
Enabled only correctly generated expressions.

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

16 years ago2008-03-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 12 Mar 2008 13:00:34 +0000 (13:00 -0000)]
2008-03-12  Marek Safar  <marek.safar@gmail.com>

* ecore.cs (PropertyExpr): Fixed IsSingleDimensionalArrayLength regression.

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

16 years ago2008-03-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 12 Mar 2008 11:57:48 +0000 (11:57 -0000)]
2008-03-12  Marek Safar  <marek.safar@gmail.com>

* class.cs (FixedField): Don't crash when contructors are missing.

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