mono.git
16 years ago2007-09-21 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 21 Sep 2007 19:44:10 +0000 (19:44 -0000)]
2007-09-21  Robert Jordan  <robertj@gmx.net>

* assemblyresolve/Makefile.am: remove the superfluous --security
flag.

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

16 years ago2007-09-21 Justin Cherniak <justin.cherniak@gmail.com>
Justin Cherniak [Fri, 21 Sep 2007 19:20:06 +0000 (19:20 -0000)]
2007-09-21  Justin Cherniak <justin.cherniak@gmail.com>

* SWF2k5.csproj: Fixed missing file.

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

16 years ago* metadata.c (type_in_image) <MONO_TYPE_SZARRAY>: Handle arrays of
Raja R Harinath [Fri, 21 Sep 2007 18:25:37 +0000 (18:25 -0000)]
* metadata.c (type_in_image) <MONO_TYPE_SZARRAY>: Handle arrays of
generic instantiations, etc.
<MONO_TYPE_ARRAY>: Likewise.

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

16 years ago2007-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Sep 2007 18:21:00 +0000 (18:21 -0000)]
2007-09-21  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MonoSymbolFilePriv, MonoDebugHandlePriv): Removed;
these structs were never defined.
(MonoDebugHandle): Removed the `_priv' field, it was never used.

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

16 years ago2007-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Sep 2007 17:56:08 +0000 (17:56 -0000)]
2007-09-21  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MonoDebugVarInfo): Add `MonoClass *klass'.

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

16 years agoMore tests, disabled a cast test
Marek Safar [Fri, 21 Sep 2007 16:44:19 +0000 (16:44 -0000)]
More tests, disabled a cast test

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

16 years ago2007-09-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Sep 2007 16:43:16 +0000 (16:43 -0000)]
2007-09-21  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Query expression block are not related to each other.

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

16 years ago2007-09-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 21 Sep 2007 15:50:02 +0000 (15:50 -0000)]
2007-09-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Always select the first node when the TreeView gets
focus if there is no currently selected node.
[Fixes bug #324279]

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

16 years ago2007-09-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 21 Sep 2007 14:57:28 +0000 (14:57 -0000)]
2007-09-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
node being selected is null.
[Patch from Yves Bastide fixes bug #326858]

2007-09-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeViewTest.cs: Add test for bug #326858.

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

16 years agoFlush local change.
Gert Driesen [Fri, 21 Sep 2007 13:14:44 +0000 (13:14 -0000)]
Flush local change.

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

16 years ago* MemoryStreamTest.cs: Added test for bug #327053.
Gert Driesen [Fri, 21 Sep 2007 13:04:49 +0000 (13:04 -0000)]
* MemoryStreamTest.cs: Added test for bug #327053.

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

16 years ago* DiagnosticsConfigurationHandler.cs: Rename ValidateIntegralValue
Gert Driesen [Fri, 21 Sep 2007 12:37:04 +0000 (12:37 -0000)]
* DiagnosticsConfigurationHandler.cs: Rename ValidateIntegralValue
to GetSwitchValue. On 2.0 profile, leave the type conversion to
Switch implementations. Minor corrections to exception messages to
match MS.
* Switch.cs: Avoid unnecessary inits. On 2.0 profile, catch and
rethrow exceptions in setter for Value. Do not hide exceptions thrown
in GetConfigFileSetting. Only set value from config file if switch is
actually defined.
* SourceSwitch.cs: Use SwitchSetting for getting/storing value instead
of new field. In OnValueChanged, parse enum value.
* TraceSwitch.cs: If SwitchSetting is changed to value > 4, then set
it to Verbose. In OnValueChanged, parse value case-insensitively, and
assign it to SwitchSetting (to allow other integral values).

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

16 years agoFri Sep 21 14:39:45 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 21 Sep 2007 12:31:51 +0000 (12:31 -0000)]
Fri Sep 21 14:39:45 CEST 2007 Paolo Molaro <lupus@ximian.com>

* image.c: removed the guid hash tables: we can get the same info
without the additional memory usage hit (partially fixes also bug #327052).

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

16 years agocleaning
Jb Evain [Fri, 21 Sep 2007 11:34:06 +0000 (11:34 -0000)]
cleaning

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

16 years ago* Enum.cs: Use regular single quotes in exception message.
Gert Driesen [Fri, 21 Sep 2007 10:21:27 +0000 (10:21 -0000)]
* Enum.cs: Use regular single quotes in exception message.

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

16 years ago2007-09-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 21 Sep 2007 09:58:53 +0000 (09:58 -0000)]
2007-09-21  Atsushi Enomoto  <atsushi@ximian.com>

* GenericOutputter.cs : fixed possible conflict for auto-filled
  attribute prefixes. Fixed bug #325482.

* XslTransformTests.cs : added test for bug #325482.

* 325482.xml, 325482.xsl : new test files.

* Makefile : extra distfiles (325482.xml / 325482.xsl).

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

16 years ago* Makefile (PROFILES): Remove 'atomic' profiles.
Raja R Harinath [Fri, 21 Sep 2007 09:38:21 +0000 (09:38 -0000)]
* Makefile (PROFILES): Remove 'atomic' profiles.
* profiles/atomic.make, profiles/bootstrap.make: Remove.

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

16 years ago2007-09-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 21 Sep 2007 09:19:42 +0000 (09:19 -0000)]
2007-09-21  Atsushi Enomoto  <atsushi@ximian.com>

* AccessRule.cs AceEnumerator.cs AuditRule.cs AuthorizationRule.cs
  AuthorizationRuleCollection.cs CommonAce.cs CommonAcl.cs
  CommonObjectSecurity.cs CompoundAce.cs CryptoKeyAccessRule.cs
  CryptoKeyAuditRule.cs CryptoKeySecurity.cs CustomAce.cs
  DirectoryObjectSecurity.cs DirectorySecurity.cs
  DiscretionaryAcl.cs EventWaitHandleAccessRule.cs
  EventWaitHandleAuditRule.cs EventWaitHandleSecurity.cs
  FileSecurity.cs FileSystemAccessRule.cs FileSystemAuditRule.cs
  FileSystemSecurity.cs GenericAce.cs GenericAcl.cs KnownAce.cs
  MutexAccessRule.cs MutexAuditRule.cs MutexSecurity.cs
  NativeObjectSecurity.cs ObjectAccessRule.cs ObjectAce.cs
  ObjectAuditRule.cs ObjectSecurity.cs QualifiedAce.cs
  RawAcl.cs RegistryAccessRule.cs RegistryAuditRule.cs
  RegistrySecurity.cs SystemAcl.cs :
  they are not still functional, but being implemented.

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

16 years ago2007-09-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Sep 2007 09:08:39 +0000 (09:08 -0000)]
2007-09-21  Marek Safar  <marek.safar@gmail.com>

* compiler-tester.cs: Mono assembly loading issue has been fixed, switch
to app-domain execution only.

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

16 years agoadd ltest-11.cs to known-issues-gmcs
Raja R Harinath [Fri, 21 Sep 2007 08:41:30 +0000 (08:41 -0000)]
add ltest-11.cs to known-issues-gmcs

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

16 years agoinstall
Miguel de Icaza [Fri, 21 Sep 2007 02:59:34 +0000 (02:59 -0000)]
install

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

16 years agoAdd test script
Miguel de Icaza [Fri, 21 Sep 2007 02:57:56 +0000 (02:57 -0000)]
Add test script

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

16 years ago2007-09-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 21 Sep 2007 00:15:09 +0000 (00:15 -0000)]
2007-09-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
whether all the parent nodes are expanded.
* TreeNodeCollection.cs: When adding a new node an calling SetupNode,
call RecalculateVisibleOrder if all previous nodes are expanded.
Before that we were doing a IsVisible check, but sometimes the node
is not in the visible area, but _should_already be ready, because of
all previous nodes are expanded. Fixes #325259.

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

16 years ago2007-09-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 20 Sep 2007 23:13:27 +0000 (23:13 -0000)]
2007-09-21  Marek Habersack  <mhabersack@novell.com>

            * TemplateControlCompiler.cs: if we're running on a platform with
            the directory separator character that's different to the Unix
            style '/' one, convert the input file path to the virtual path
            style string, with path parts separated by '/'. Patch from Robert
            Jordan <robertj@gmx.net>, thanks! Fixes bug #324229.

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

16 years agoformatting
Marek Habersack [Thu, 20 Sep 2007 22:59:03 +0000 (22:59 -0000)]
formatting

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

16 years ago2007-09-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 20 Sep 2007 22:49:53 +0000 (22:49 -0000)]
2007-09-21  Marek Habersack  <mhabersack@novell.com>

            * ListItem.cs: don't save StateBag in the control state - the
            class is not serializable and therefore ObjectStateFormatter
            cannot convert it. Instead have the sb object save its own state
            and store the returned value. Fixes bug #326288.

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

16 years ago * profiler.h, profiler-private.h, profiler.c: add a new profiler
Massimiliano Mantione [Thu, 20 Sep 2007 20:19:03 +0000 (20:19 -0000)]
* profiler.h, profiler-private.h, profiler.c: add a new profiler
event to handle unloading methods. After the event is called, the
corresponding MonoMethod* must be considered invalid.
* loader.c (mono_free_method): call the new mono_profiler_method_free
event.

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 19:33:12 +0000 (19:33 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripSplitButton.cs: Call the ButtonClick event if the button
portion of the item is clicked.

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 18:55:50 +0000 (18:55 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePickerTest.cs: Make DateTimeMinDate 2.0 only.

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

16 years agoremove debug code
Marek Habersack [Thu, 20 Sep 2007 18:08:19 +0000 (18:08 -0000)]
remove debug code

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

16 years ago2007-09-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 20 Sep 2007 18:01:19 +0000 (18:01 -0000)]
2007-09-20  Marek Habersack  <mhabersack@novell.com>

            * LoginView.cs: implemented RoleGroups support. Fixes bug
            #324633.

2007-09-20  Marek Habersack  <mhabersack@novell.com>

            * TemplateControlCompiler.cs: if a member passed to
            GetExpressionFromString has a TypeConverter attribute set, try to
            use the named type converter to convert the string value into the
            target type. Fixes bug #325489.

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 16:28:43 +0000 (16:28 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Do not tell the system to move the cursor if the
textbox isn't focused.  Fixes part of bug #322668.

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 16:13:12 +0000 (16:13 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: When there are no items, do not show the dropdown if
the down arrow is clicked.  Fixes part of bug #322668.

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

16 years ago2007-09-20 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 20 Sep 2007 15:36:56 +0000 (15:36 -0000)]
2007-09-20  Mark Probst  <mark.probst@gmail.com>

* mini.c: First generics sharing implementation.  Can only share
in very simple cases.  If sharing doesn't work it falls back to
dedicated compilation.

* mini.h: Flag in MonoCompile to specify whether generic
compilation is shared.  Flags enum for marking which generic inst
of a context is used.  Prototypes for helper functions.

* generic-sharing.c: Helper functions for generic method sharing.

* optflags-def.h: Optimization flag (gshared) for enabling generic
method sharing added.

* Makefile.am: generic-sharing.c added.

2007-09-20  Mark Probst  <mark.probst@gmail.com>

* domain-internals.h: New flag in MonoJitInfo which marks shared
generic methods.  New hash table (shared_generics_hash) in
MonoDomain to keep track of shared generic methods.  Prototypes
for functions to register and lookup shared generic methods.

* domain.c: Support for registering and looking up shared generic
methods via a hash table (shared_generics_hash) in MonoDomain.

* class-internals.h: New exception to signal failure of shared
compilation of a generic method.  New counters for generics
sharing in MonoStats.

2007-09-20  Mark Probst  <mark.probst@gmail.com>

* generics-sharing.2.cs: added

* Makefile.am: added generics-sharing.2.cs

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

16 years ago2007-09-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 14:51:58 +0000 (14:51 -0000)]
2007-09-20  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripComboBox.cs: Manually set the size of this control in the
constructor, as it doesn't seem to be the same as DefaultSize.
Fixes a failing monobuild test.

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

16 years agoThu Sep 20 16:59:36 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 20 Sep 2007 14:50:39 +0000 (14:50 -0000)]
Thu Sep 20 16:59:36 CEST 2007 Paolo Molaro <lupus@ximian.com>

* image.c, metadata-internals.h: don't keep a file descriptor open
for loaded assemblies (bug#325988).

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

16 years ago2007-09-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Sep 2007 01:48:24 +0000 (01:48 -0000)]
2007-09-19  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
change it to DateTimePicker.MinDateTime.  [Fixes bug #326609]

2007-09-19  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePickerTest.cs: Add test for bug #326609.

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

16 years ago2007-09-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 19 Sep 2007 19:41:20 +0000 (19:41 -0000)]
2007-09-19  Jonathan Pobst  <monkey@jpobst.com>

* Theme.cs: FileDialogs should be using DesktopDirectory instead of
Desktop.  This lets it work for people who have moved their desktops
from the default location on windows.  For people who have not, both
values are the same, so it shouldn't hurt anything.  [Fixes bug #325270]

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

16 years ago2007-09-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 19 Sep 2007 19:38:17 +0000 (19:38 -0000)]
2007-09-19  Marek Habersack  <mhabersack@novell.com>

            * assemblyresolve/Makefile.am (prereq): build the assemblies in
            the 'prereq' target instead of in the 'all' one.

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

16 years agoforgot to remove the local change
Marek Habersack [Wed, 19 Sep 2007 19:13:26 +0000 (19:13 -0000)]
forgot to remove the local change

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

16 years ago2007-09-19 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Wed, 19 Sep 2007 18:59:18 +0000 (18:59 -0000)]
2007-09-19 Daniel Nauck <dna@mono-project.de>

        * mini.c (mono_thread_abort): fixed typo in r86014. It should be '==' instead of '!='.

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

16 years ago2007-09-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 19 Sep 2007 18:49:51 +0000 (18:49 -0000)]
2007-09-19  Marek Habersack  <mhabersack@novell.com>

            * Makefile.am: assemblyresolve/ assemblies are built only when the
            make test is ran.

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

16 years ago2007-09-19 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 19 Sep 2007 16:28:55 +0000 (16:28 -0000)]
2007-09-19  Jb Evain  <jbevain@novell.com>

* configure.in: if there's a olive directory in the same folder
as mono, we now override its config.make, so that we don't build
the olive moonlight assemblies if mono is not build with moonlight
support.

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

16 years ago * mini.c (mono_thread_abort): Correctly handle ThreadAbortException,
Massimiliano Mantione [Wed, 19 Sep 2007 14:32:27 +0000 (14:32 -0000)]
* mini.c (mono_thread_abort): Correctly handle ThreadAbortException,
fixes bug 325507.

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

16 years agoUse same version schema
Marek Safar [Wed, 19 Sep 2007 14:26:28 +0000 (14:26 -0000)]
Use same version schema

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

16 years agoNew test.
Marek Safar [Wed, 19 Sep 2007 14:17:00 +0000 (14:17 -0000)]
New test.

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

16 years ago2007-09-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 19 Sep 2007 14:16:42 +0000 (14:16 -0000)]
2007-09-19  Marek Safar  <marek.safar@gmail.com>

* generic.cs: Fixed type inference for generic delegate arguments whose
return types are generic delegates.

* linq.cs: Replaced ec.DeclContainer with ec.TypeContainer.

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

16 years ago2007-09-18 Andreas Faerber <andreas.faerber@web.de>
Paolo Molaro [Wed, 19 Sep 2007 13:11:21 +0000 (13:11 -0000)]
2007-09-18  Andreas Faerber  <andreas.faerber@web.de>

* configure.in: Add support for building on Linux/ppc64 host.

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

16 years ago* metadata.c (signature_in_image): New. Carve out of type_in_image.
Raja R Harinath [Wed, 19 Sep 2007 12:50:02 +0000 (12:50 -0000)]
* metadata.c (signature_in_image): New.  Carve out of type_in_image.
(ginst_in_image, gclass_in_image): Simplify.  Change signature to
use the corresponding datatypes.
(type_in_image): Update to changes.
(CleanForImageUserData): Simplify.
(steal_gclass_in_image): Carved out of old 'gclass_in_image'.
Avoid quadratic behaviour in handling the "stolen" list by
separating the filter predicate out, and by prepending the stolen
items rather than appending them.
(steal_ginst_in_image): Likewise.
(mono_metadata_clean_for_image): Update to changes.

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

16 years ago2007-07-31 Ben Motmans <ben.motmans@gmail.com>
Marek Habersack [Wed, 19 Sep 2007 12:49:39 +0000 (12:49 -0000)]
2007-07-31  Ben Motmans  <ben.motmans@gmail.com>

        * SR.Designer.cs: use the correct resource name.

Fixes bug #324934

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

16 years ago2007-09-19 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Wed, 19 Sep 2007 12:29:24 +0000 (12:29 -0000)]
2007-09-19 Andreia Gaita <avidigal@novell.com>

* Forgot to commit an update on the xulbrowser check :/

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

16 years ago2007-09-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 19 Sep 2007 11:41:48 +0000 (11:41 -0000)]
2007-09-19  Marek Habersack  <mhabersack@novell.com>

            * GridView.cs: copy attributes from GridView to the child table,
            as this is where the rendering takes place. Fixes bug #326309.

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

16 years agoThe Mono's library Novell.Directory.Ldap has been made to be on par with
Palaniappan N [Wed, 19 Sep 2007 11:41:14 +0000 (11:41 -0000)]
The Mono's library Novell.Directory.Ldap has been made to be on par with
the Novell's CSHARP LDAP SDK (version 2.1.8). All the changes have been
commited together. Refer Changelog for the full log of changes.
-Palaniappan.

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

16 years ago2007-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 19 Sep 2007 10:34:40 +0000 (10:34 -0000)]
2007-09-19  Martin Baulig  <martin@ximian.com>

* domain.c (mono_cleanup): Call mono_debug_cleanup() here.

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

16 years ago2007-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 19 Sep 2007 09:41:02 +0000 (09:41 -0000)]
2007-09-19  Martin Baulig  <martin@ximian.com>

* mini.c (mini_cleanup): Move mono_debug_cleanup() down a little
bit further, until after mono_cleanup(); call mono_debugger_cleanup()
just before destroying the global code manager.

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

16 years agoJVM version of AJAX scripts are used
Igor Zelmanovich [Wed, 19 Sep 2007 09:04:04 +0000 (09:04 -0000)]
JVM version of AJAX scripts are used

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

16 years agoadded JVM versions of scripts
Igor Zelmanovich [Wed, 19 Sep 2007 08:52:58 +0000 (08:52 -0000)]
added JVM versions of scripts

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

16 years agoFix crash on 'make run-test' in mcs/errors
Raja R Harinath [Wed, 19 Sep 2007 06:04:57 +0000 (06:04 -0000)]
Fix crash on 'make run-test' in mcs/errors

* metadata.c (type_in_image): New.  Carve out of ginst_in_image.
Avoid more potential allocations in mono_class_from_mono_type.
(ginst_in_image): Update to changes.
(gclass_in_image): Rearrange slightly.

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

16 years ago2007-09-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 18 Sep 2007 21:46:44 +0000 (21:46 -0000)]
2007-09-18  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
but when the base constructor sets this, the control is null.  Set it
again in the constructor.  Fixes a failing monobuild test.

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

16 years ago2007-09-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 18 Sep 2007 19:53:43 +0000 (19:53 -0000)]
2007-09-18  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
get called.
* ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
called.

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

16 years ago2007-09-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 18 Sep 2007 18:48:06 +0000 (18:48 -0000)]
2007-09-18  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_init): Move the code that sets up class->methods to
mono_class_setup_methods () for inflated generic classes too. Ditto for properties.

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

16 years ago* assemblyresolve/Makefile.am: Fix srcdir != builddir issues.
Raja R Harinath [Tue, 18 Sep 2007 18:29:41 +0000 (18:29 -0000)]
* assemblyresolve/Makefile.am: Fix srcdir != builddir issues.
(EXTRA_DIST): Add asm.cs, TestBase.cs, Test.cs.

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

16 years ago2007-09-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 18 Sep 2007 16:53:26 +0000 (16:53 -0000)]
2007-09-18  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
will handle it themselves.
* ToolStripItem.cs: When deciding what the text of a tooltip should
be, use the Text property instead of the text field.
* ToolStripTextBox.cs: Handle tooltips.
[Fixes bugs #325417 and #325973]

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

16 years ago2007-09-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 18 Sep 2007 15:41:31 +0000 (15:41 -0000)]
2007-09-18  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_metadata_get_inflated_signature): New function to return a
canonical instance of an inflated generic signature.
(mono_type_create_from_typespec): Remove an invalid free.

* loader.c (mono_method_get_signature_full): Use mono_metadata_get_inflated_signature.

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

16 years ago2007-09-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 18 Sep 2007 15:10:54 +0000 (15:10 -0000)]
2007-09-18  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownButton.cs: Only drop down overflow menu with a
left click.  Fixes the easy part of bug #325969.

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

16 years ago2007-09-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 18 Sep 2007 15:04:36 +0000 (15:04 -0000)]
2007-09-18  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
bug #325406, but set a minimum for StatusStrip to 22 to keep
bug #325390 fixed.  I think this minimum would have been figured
up automatically if the grip was actually a ToolStripItem, but it
currently is not.

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

16 years ago2007-09-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 18 Sep 2007 14:34:08 +0000 (14:34 -0000)]
2007-09-18  Marek Habersack  <mhabersack@novell.com>

            * configure.in: added additional Makefile to be generated in the
            mono/tests/assemblyresolve/ subdir.

2007-09-18  Marek Habersack  <mhabersack@novell.com>

            * assemblyresolve/asm.cs: added

            * assemblyresolve/TestBase.cs: added

            * assemblyresolve/Test.cs: added

            * assemblyresolve/Makefile.am: added

            * assemblyresolve_event3.cs: added new AssemblyResolve event
            test.

2007-09-18  Marek Habersack  <mhabersack@novell.com>

            * domain-internals.h: added a declaration of the
            mono_assembly_load_full_nosearch internal function.

            * assembly.c (mono_assembly_load_with_partial_name): use
            mono_try_assembly_resolve return value properly.
            (mono_assembly_load_full_nosearch): copied the function body from
            mono_assembly_load_full, without the code to invoke assembly
            search hooks.
            (mono_assembly_load_full): calls the above new function and if the
            assembly is not resolved, invokes the search hooks.

            * appdomain.c (mono_runtime_init): restore the global postload
            assembly search handlers.

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

16 years ago* ThreadTest.cs: Added GetHashCode test for bug #325566.
Gert Driesen [Tue, 18 Sep 2007 12:28:18 +0000 (12:28 -0000)]
* ThreadTest.cs: Added GetHashCode test for bug #325566.

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

16 years ago2007-09-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 18 Sep 2007 11:44:52 +0000 (11:44 -0000)]
2007-09-18  Marek Habersack  <mhabersack@novell.com>

            * TemplateParser.cs: VaryByControl OutputCache attribute is
            allowed for both controls and pages in 2.0.

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

16 years ago2007-09-18 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 18 Sep 2007 10:17:29 +0000 (10:17 -0000)]
2007-09-18  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/MethodBody.cs:
Adapt a patch from Ivan <ivanjh@gmail.com>.
Fix cloning of the This parameter.

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

16 years ago2007-09-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 18 Sep 2007 08:38:35 +0000 (08:38 -0000)]
2007-09-18  Marek Habersack  <mhabersack@novell.com>

            * SessionStateModule.cs: preserve the query part of the url when
            redirecting with cookieless sessions active. Fixes bug #318790
2007-09-18  Marek Habersack  <mhabersack@novell.com>

            * SessionIDManager.cs: preserve the query part of the url when
            redirecting with cookieless sessions active. Fixes bug #318790

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

16 years ago * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
Carlos Alberto Cortez [Tue, 18 Sep 2007 08:36:12 +0000 (08:36 -0000)]
* ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
as this is apparently the actual value used by .Net. Also apply
ItemPadding in Details view only, and decrease the general width padding,
to have only the needed. This should fix #324340 in Windows too.

2007-09-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago* test-586.cs: test for bug #325841.
Gert Driesen [Tue, 18 Sep 2007 08:26:46 +0000 (08:26 -0000)]
* test-586.cs: test for bug #325841.
* known-issues-gmcs: added test-586.cs.
* known-issues-mcs: added test-586.cs.

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

16 years ago * Added "<legacyUnhandledExceptionPolicy enabled="1"/>" to the
Massimiliano Mantione [Tue, 18 Sep 2007 06:00:06 +0000 (06:00 -0000)]
* Added "<legacyUnhandledExceptionPolicy enabled="1"/>" to the
config files to allow nunit to deal with unhandled exceptions.

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

16 years ago2007-09-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 18 Sep 2007 05:20:09 +0000 (05:20 -0000)]
2007-09-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Don't Invalidate item if parent is inside
a BeginUpdate/EndUpdate block. This prevents to have differences
between the ListView and items state, as well as avoid some exceptions
there.
* ListView.cs: Make 'updating' field internal.

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

16 years ago2007-09-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 22:14:25 +0000 (22:14 -0000)]
2007-09-18  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_main): Fix a warning.

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

16 years ago2007-09-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 17 Sep 2007 22:13:01 +0000 (22:13 -0000)]
2007-09-18  Marek Habersack  <mhabersack@novell.com>

            * Calendar.cs: correctly apply day cell style. Fixes bug #315903

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

16 years agoremove code duplication
Jb Evain [Mon, 17 Sep 2007 22:08:38 +0000 (22:08 -0000)]
remove code duplication

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

16 years ago2007-09-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 21:39:46 +0000 (21:39 -0000)]
2007-09-18  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_init): Make sure class->methods and class->properties
are never NULL in the generics case.

* metadata.c (free_generic_class): Enable this again, skip the dynamic case.

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

16 years ago2007-09-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 21:01:52 +0000 (21:01 -0000)]
2007-09-17  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (free_generic_class): Disable some code to fix the build.

* domain.c (mono_cleanup): Fix a crash introduced by a previous patch.

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

16 years ago2007-09-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 20:37:01 +0000 (20:37 -0000)]
2007-09-17  Zoltan Varga  <vargaz@gmail.com>

* docs/memory-management.txt: A new file describing metadata memory management.

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

16 years ago2007-09-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 17 Sep 2007 20:25:47 +0000 (20:25 -0000)]
2007-09-17  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripControlHost.cs: Realign control when ControlAlign changes.
* ToolStripItem.cs: Use ImageScalingSize when calculating preferred
size if appropriate.
Fixes reopened bug #325414.

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

16 years ago2007-09-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 20:15:09 +0000 (20:15 -0000)]
2007-09-17  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_xappdomain_dispatch): Allocate a piece of data
from the image mempool.

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

16 years ago* Assembly.cs: In GetManifestResourceStream, throw ANE with type as
Gert Driesen [Mon, 17 Sep 2007 19:56:56 +0000 (19:56 -0000)]
* Assembly.cs: In GetManifestResourceStream, throw ANE with type as
paramname when both name and type are null. Use String.Length to check
for zero-length string.
* AssemblyTest.cs: Added tests for GetManifestResourceStream argument
checks.

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

16 years ago2007-09-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 19:50:33 +0000 (19:50 -0000)]
2007-09-17  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (free_generic_class): Free more data from the inflated class.

* class.c (mono_class_from_generic_parameter): Allocate memory from the mempool.

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

16 years ago2007-09-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 17 Sep 2007 19:33:00 +0000 (19:33 -0000)]
2007-09-17  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
* ToolStripItem.cs: Invalidate before and after our new autosize when
text changes.
Fixes reopened bug #325390.

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

16 years ago2007-09-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 19:02:51 +0000 (19:02 -0000)]
2007-09-17  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_metadata_parse_generic_param): Allocate memory from the image
mempool.
(mono_type_create_from_typespec): Ditto.

* domain.c (get_runtimes_from_exe): Add an out parameter to return the opened
MonoImage to the caller.
(mono_init_internal): Save the opened image in a global variable.
(mono_cleanup): Close the image opened in get_runtimes_from_exe.

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

16 years agoNew test.
Marek Safar [Mon, 17 Sep 2007 18:49:57 +0000 (18:49 -0000)]
New test.

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

16 years ago2007-09-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 17 Sep 2007 18:48:52 +0000 (18:48 -0000)]
2007-09-17  Marek Safar  <marek.safar@gmail.com>

* class.cs: Use partial container to record whether any partial part
contains static field initializer and therefore default contructor has
to be defined.

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

16 years ago2007-09-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 18:26:26 +0000 (18:26 -0000)]
2007-09-17  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (resolve_object): Fix a leak.

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

16 years ago2007-09-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 18:26:00 +0000 (18:26 -0000)]
2007-09-17  Zoltan Varga  <vargaz@gmail.com>

* metadata.c: Fix the freeing of data in the generics caches.

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

16 years ago2007-09-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 17:49:22 +0000 (17:49 -0000)]
2007-09-17  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (free_generic_inst): Comment this out to fix the build.
(free_generic_class): Ditto.

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

16 years ago2007-09-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Sep 2007 17:36:56 +0000 (17:36 -0000)]
2007-09-17  Zoltan Varga  <vargaz@gmail.com>

* metadata.c: Free cached generic methods, instantinations and classes when
they are removed from the caches.
(mono_metadata_free_type): Free the type itself.

* class.c: Free the result of mono_class_inflate_generic_type () in a few
places.

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

16 years ago* RegexReplace.cs: Fixed compiler warning.
Gert Driesen [Mon, 17 Sep 2007 17:30:51 +0000 (17:30 -0000)]
* RegexReplace.cs: Fixed compiler warning.

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

16 years agoRemoved svn:executable property.
Gert Driesen [Mon, 17 Sep 2007 17:28:47 +0000 (17:28 -0000)]
Removed svn:executable property.

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

16 years ago* System_test.dll.sources: Added ComponentResourceManagerTest.cs.
Gert Driesen [Mon, 17 Sep 2007 17:24:04 +0000 (17:24 -0000)]
* System_test.dll.sources: Added ComponentResourceManagerTest.cs.
* ComponentResourceManager.cs: In ApplyResources, when culture is
null use CurrentUICulture. Use hashtable, which is case-insensitive
when IgnoreCase is true, to store the resources of the specified
culture and its parent(s). When IgnoreCase is set, perform a
case-insensitive lookup of property. Ignore resources that have no
value, or where the value is not an instance of the property type.
Fixes bug #82674.
* ComponentResourceManagerTest.cs: Added tests for ctors,
ApplyResources and IgnoreCase.

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

16 years agoNew test.
Marek Safar [Mon, 17 Sep 2007 16:41:06 +0000 (16:41 -0000)]
New test.

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

16 years ago2007-09-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 17 Sep 2007 16:40:51 +0000 (16:40 -0000)]
2007-09-17  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay, linq: Implemented query continuation.

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

16 years ago* ResourceManager.cs: Move code for determining manifest resource
Gert Driesen [Mon, 17 Sep 2007 16:35:59 +0000 (16:35 -0000)]
* ResourceManager.cs: Move code for determining manifest resource
name into separate method. Only use satellite assemblies for
non-invariant cultures. For invariant culture, only load resources
from main assembly.

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

16 years ago2007-09-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 17 Sep 2007 15:34:28 +0000 (15:34 -0000)]
2007-09-17  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripMenuItem.cs: Make sure we invalidate when clicked so
mnemonics can be drawn or undrawn correctly.  Fixes reopened bug
#325044.

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