mono.git
16 years agoPatch from Tor Lillqvist <tlillqvist@novell.com> to add a sysconfdir variable.
Paolo Molaro [Thu, 4 Oct 2007 10:27:46 +0000 (10:27 -0000)]
Patch from Tor Lillqvist <tlillqvist@novell.com> to add a sysconfdir variable.

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

16 years agoThu Oct 4 12:35:27 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Oct 2007 10:22:56 +0000 (10:22 -0000)]
Thu Oct 4 12:35:27 CEST 2007 Paolo Molaro <lupus@ximian.com>

* genmdesc.pl: patch from Henryk Plötz <henryk@openmoko.org> to
use the preprocessor from the CPP env var if it is set.

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

16 years agoIn System.Windows.Forms:
Everaldo Canuto [Thu, 4 Oct 2007 09:25:35 +0000 (09:25 -0000)]
In System.Windows.Forms:
* ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
text is empty.

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

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

16 years agoIn System.Windows.Forms:
Everaldo Canuto [Thu, 4 Oct 2007 09:21:52 +0000 (09:21 -0000)]
In System.Windows.Forms:
* ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
text is empty.

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

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

16 years agov0.2
Jb Evain [Thu, 4 Oct 2007 09:05:39 +0000 (09:05 -0000)]
v0.2

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

16 years agov0.6
Jb Evain [Thu, 4 Oct 2007 09:04:51 +0000 (09:04 -0000)]
v0.6

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

16 years ago2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Oct 2007 08:42:18 +0000 (08:42 -0000)]
2007-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* TypeStubManager.cs: reverted r82932 again. This #if ONLY_1_1 causes
  NUnit test regressions. It should not be reverted again until
  appropriate NUnit test case is provided and proper fix is provided
  that does not cause regressions.

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

16 years ago2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Oct 2007 08:17:05 +0000 (08:17 -0000)]
2007-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* WebServicesSection.cs : reverted r83640 which likely caused
  couple of NUnit regressions on the buildbot. WebConfigurationManager
  is indeed needed since webServices section is on web.config.
  ChangeLog was also missing which resulted in some wasted hours :(
  http://lists.ximian.com/pipermail/mono-patches/2007-August/098511.html

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

16 years agoIn System.Windows.Forms:
Everaldo Canuto [Thu, 4 Oct 2007 07:20:17 +0000 (07:20 -0000)]
In System.Windows.Forms:
* ComboBox.cs: On contructor use backgound_color instead of BackColor to
prevent calling of OnBackColorChanged. Fixes #325321.

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

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

16 years agoIn System.Windows.Forms:
Everaldo Canuto [Thu, 4 Oct 2007 07:03:53 +0000 (07:03 -0000)]
In System.Windows.Forms:
2007-10-03  Everaldo Canuto  <ecanuto@novell.com>

* TextBox.cs: When check enabled uses Enabled property instead of is_enabled
because control can be disabled because owner is disabled.

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

16 years ago2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Oct 2007 05:46:45 +0000 (05:46 -0000)]
2007-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* InternalConfigurationHost.cs : when the streamName is for
  machine.config, try get_bundled_machine_config() icall first.
  This hopefully implements the requested feature in bug #325022.
* Configuration.cs : added comment.

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

16 years ago2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Oct 2007 05:46:13 +0000 (05:46 -0000)]
2007-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* icall-def.h, icall.c : get_bundled_machine_config() is now the
  common function used by both DefaultConfig in System.dll and
  InternalConfigurationHost in System.Configuration.dll.

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

16 years ago2007-10-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 4 Oct 2007 00:04:45 +0000 (00:04 -0000)]
2007-10-04  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: call the Init method after loading the
modules and hooking up application events. Fixes bug #330416.

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

16 years ago2007-10-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 3 Oct 2007 18:31:17 +0000 (18:31 -0000)]
2007-10-03  Marek Habersack  <mhabersack@novell.com>

* Page.cs: complete implementation of ValidationGroups. Fixes bug
#330423. Patch from Juraj Skripsky <juraj@hotfeet.ch>, thanks!

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

16 years ago2007-10-03 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 3 Oct 2007 17:35:36 +0000 (17:35 -0000)]
2007-10-03  Miguel de Icaza  <miguel@novell.com>

* mono-compiler.h (trunc): Make the definition of trunk for MSC
use ceil or floor instead of always using floor which is
incorrect.

Issue pointed out by Aras Pranckevicius <aras@unity3d.com>

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

16 years agoA new test for bug #328774
Marek Safar [Wed, 3 Oct 2007 17:25:37 +0000 (17:25 -0000)]
A new test for bug #328774

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

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

A fix for bug #328774
* ecore.cs (FieldExpr.EmitAssign): Fixed string concatenation compound
assignment.
(PropertyExpr.EmitAssign): Fixed string concatenation compound
assignment.

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

16 years agoWed Oct 3 17:26:58 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 3 Oct 2007 15:25:06 +0000 (15:25 -0000)]
Wed Oct 3 17:26:58 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: automatically add to vectors only a few essential explicit
generic interfaces. The rest of the interfaces that arrays should
provide are currently implicitly added (but still not lazily, see the
design in the discussion of bug#325495 for the details of what is
needed for that). Additionally, implicit interfaces are assigned the
same vtable slot as the explicit interfaces (as they are compatible):
this enables huge memory savings since we don't need to instantiate
as many memthods and as large vtables anymore. Also, Since
GetEnumerator<T> returns an instance of a type that is required to
support a similarly large set of interfaces as arrays, we add
implicit interfaces and interface offset sharing support to those
types, too. This change adds all the required interfaces so that
the anonarray.cs test case in the bug report works (we don't add
all the interfaces to arrays of arrays 3-level deep and more because
of the memory requirements explained in the bug and since they are much
less common: the lazy-loading support will enabled them to work, too).

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

16 years agoWed Oct 3 17:11:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 3 Oct 2007 14:59:01 +0000 (14:59 -0000)]
Wed Oct 3 17:11:38 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-trampolines.c: fixed an assertion and moved it earlier in the
code, before interface_offset gets used.

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

16 years ago2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Oct 2007 14:24:47 +0000 (14:24 -0000)]
2007-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* SoapHttpClientProtocolTest.cs: actually those tests fails on mono
  on Windows, so mark them as Ignore (not only in 2.0).

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

16 years agoFix #328490
Raja R Harinath [Wed, 3 Oct 2007 13:22:09 +0000 (13:22 -0000)]
Fix #328490
* mcs/ecore.cs (SimpleName.DoSimpleNameResolve): Handle Property and
Event accessibility checks here.  Remove some bogus code that
accidently made GenericMethods work.
(PropertyExpr.IsAccessibleFrom, EventExpr.IsAccessibleFrom): New.
* tests/test-589.cs: Additional test for #328490.
* errors/cs0120-10.cs: New test based on #328490.

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

16 years ago2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Oct 2007 11:01:21 +0000 (11:01 -0000)]
2007-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* TypeElement.cs : disable a test that causes NRE on .NET.

* SoapHttpClientProtocolTest.cs: disabled connection-oriented tests
  that do not work fine on .NET 2.0.

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

16 years ago2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Oct 2007 08:19:45 +0000 (08:19 -0000)]
2007-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* EventArrivedEventArgs.cs, EventArrivedEventHandler.cs,
  EventQuery.cs, EventWatcherOptions.cs, ManagementQuery.cs,
  RelatedObjectQuery.cs, RelationshipQuery.cs, SelectQuery.cs,
  StoppedEventArgs.cs, StoppedEventHandler.cs, WqlEventQuery.cs,
  WqlObjectQuery.cs :
  oops, actually they are also included in 1.1 profile.

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

16 years ago2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Oct 2007 08:13:06 +0000 (08:13 -0000)]
2007-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* EventArrivedEventArgs.cs, EventArrivedEventHandler.cs,
  EventQuery.cs, EventWatcherOptions.cs,
  ManagementDateTimeConverter.cs, ManagementEventWatcher.cs,
  ManagementException.cs, RelatedObjectQuery.cs,
  RelationshipQuery.cs, SelectQuery.cs, StoppedEventArgs.cs,
  StoppedEventHandler.cs, WqlEventQuery.cs, WqlObjectQuery.cs:
  added missing 1.x/2.0 types.
* CimType.cs, CodeLanguage.cs, ManagementBaseObject.cs,
  ManagementClass.cs, ManagementNamedValueCollection.cs,
  ManagementObject.cs, ManagementObjectCollection.cs,
  ManagementOptions.cs, ManagementPath.cs, ManagementQuery.cs,
  ManagementScope.cs, ManagementStatus.cs, MethodData.cs,
  MethodDataCollection.cs, PropertyDataCollection.cs,
  PutType.cs, QualifierDataCollection.cs, TextFormat.cs :
  1.x/2.0 API fixes.

* System.Management.dll.sources : updated to have all 1.1/2.0 types.

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

16 years ago2007-10-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 3 Oct 2007 02:48:36 +0000 (02:48 -0000)]
2007-10-02  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: For the 1.1 profile, the default SelectedText is
string.Empty, test failed from previous change.

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

16 years agoForce to bash
Miguel de Icaza [Tue, 2 Oct 2007 23:49:04 +0000 (23:49 -0000)]
Force to bash

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

16 years ago2007-10-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 2 Oct 2007 23:40:26 +0000 (23:40 -0000)]
2007-10-02  Miguel de Icaza  <miguel@novell.com>

* scripts/mono-test-install: (temp_exe): Add tests for dynamic
libraries that libgdiplus might be missing
;w

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

16 years ago2007-10-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 2 Oct 2007 23:30:21 +0000 (23:30 -0000)]
2007-10-02  Miguel de Icaza  <miguel@novell.com>

* scripts/mono-test-install: Add detection and diagnostics for
broken System.Drawing installations.

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

16 years ago2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 2 Oct 2007 21:33:15 +0000 (21:33 -0000)]
2007-10-02  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (merge_stacks): major clean up, all type compatibility
checks are done by verify_type_compatibility. This fix my earlier lack
of understanding of the CLR type system and merge_stacks no longer looks
scary.

* verify.c: fixed some bad spelling.

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

16 years ago * make_field_store_test.sh: sames
Rodrigo Kumpera [Tue, 2 Oct 2007 20:41:46 +0000 (20:41 -0000)]
* make_field_store_test.sh: sames

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

16 years ago2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 2 Oct 2007 20:32:38 +0000 (20:32 -0000)]
2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>

* make_tests.sh: added the new tests for ops mixing Int32 and IntPtr, disabled
the overlapped tests for now
* make_unary_test.sh: disabled the overlapped tests for now
* make_field_store_test.sh: same
*

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

16 years ago2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 2 Oct 2007 20:30:13 +0000 (20:30 -0000)]
2007-10-02  Rodrigo Kumpera  <rkumpera@novell.com>

Changelog: used the wrong date

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

16 years ago2007-09-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 2 Oct 2007 20:12:59 +0000 (20:12 -0000)]
2007-09-27  Rodrigo Kumpera  <rkumpera@novell.com>
* verify.c (mono_type_from_stack_slot): added. returns the MonoType for
a given stack slock.

* verify.c: killed verify_type_compat in favor of verify_type_compatibility and
verify_type_compatibility_full. This removed a near indentical function and fixed
handling of Int32 and IntPtr across all opcodes.

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

16 years ago2007-10-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 2 Oct 2007 19:56:01 +0000 (19:56 -0000)]
2007-10-02  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: For the 1.1 profile, the default SelectedText
is null, not String.Empty.  See bug #323038.

2007-10-02  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxTest.cs: Remove NotWorking from FocusSelectsAllTest.

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

16 years ago2007-10-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 2 Oct 2007 16:58:27 +0000 (16:58 -0000)]
2007-10-02  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_convert_imt_slot_to_vtable_slot): Call
mono_class_setup_vtable () before accessing klass->vtable.

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

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

A fix for bug #329685
* generics.cs (TypeInferenceContext.OutputTypeInference): Slowly
implementing method group output type inference.

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

16 years agoNew test.
Marek Safar [Tue, 2 Oct 2007 14:52:45 +0000 (14:52 -0000)]
New test.

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

16 years agoTue Oct 2 15:24:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 2 Oct 2007 13:12:04 +0000 (13:12 -0000)]
Tue Oct 2 15:24:38 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: only vectors have the additional generic interfaces.

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

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

* System.Design.dll.sources : more .NET 2.0 types.

* CodeDomLocalizationProvider.cs, CodeDomLocalizationModel.cs :
  new files.
* CodeDomSerializerException.cs, CodeDomSerializerBase.cs,
  TypeCodeDomSerializer.cs : cosmetic 2.0 API fixes.

* Adorner.cs, Behavior.cs, BehaviorDragDropEventArgs.cs,
  BehaviorDragDropEventHandler.cs, BehaviorService.cs,
  BehaviorServiceAdornerCollection.cs,
  BehaviorServiceAdornerCollectionEnumerator.cs,
  ComponentGlyph.cs, ControlBodyGlyph.cs, Glyph.cs,
  GlyphCollection.cs, GlyphSelectionType.cs, SnapLine.cs,
  SnapLinePriority.cs, SnapLineType.cs : new files.

* ControlDesigner.cs : added BehaviorService.

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

16 years ago2007-10-02 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 2 Oct 2007 11:45:16 +0000 (11:45 -0000)]
2007-10-02  Jonathan Chambers <joncham@gmail.com>

* mono-io-portability.c: Init __mono_io_portability_helpers
to PORTABILITY_NONE on windows as mono_portability_helpers_init
is not always called before mono_portability_find_file.

Code is contributed under MIT/X11 license.

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

16 years ago2007-10-02 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 2 Oct 2007 10:35:58 +0000 (10:35 -0000)]
2007-10-02  Jb Evain  <jbevain@novell.com>

* declsec.c (declsec_20_write_type): support for bools.

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

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

* SimpleWebHandlerParser.cs: fix the way types are loaded from
top-level assemblies.

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

16 years ago2007-10-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Oct 2007 07:29:48 +0000 (07:29 -0000)]
2007-10-02  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : added -r:System.Xml.dll
* System.Design.dll.sources : added couple more of new .NET 2.0 types.

* DesignerDataParameter.cs, DesignerDataRelationship.cs,
  DesignerDataSchemaClass.cs, DesignerDataStoredProcedure.cs,
  DesignerDataTable.cs, DesignerDataTableBase.cs, DesignerDataView.cs,
  IDataEnvironment.cs, IDesignerDataSchema.cs, QueryBuilderMode.cs:
  new stubs and implementations.

* TypedDataSetGenerator.cs, MethodSignatureGenerator.cs,
  TypedDataSetGeneratorException.cs, ParameterGenerationOption.cs,
  TypedDataSetSchemaImporterExtension.cs :
  new stubs and implementations.

* StronglyTypedResourceBuilder.cs : new stub.

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

16 years ago2007-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 1 Oct 2007 21:58:50 +0000 (21:58 -0000)]
2007-10-01  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Change the margins to match MS a little better.
Still not perfect for X11 due to some DrawString differences, but
is still an improvement over the old stuff.
Partially fixes #324467.

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

16 years agoenhance parsing of Mono.Data.SqlExpressions's SUBSTRING and IIF
Joel Reed [Mon, 1 Oct 2007 21:00:51 +0000 (21:00 -0000)]
enhance parsing of Mono.Data.SqlExpressions's SUBSTRING and IIF

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

16 years agoNew tests for Read and Write APIs.
Veerapuram Varadhan [Mon, 1 Oct 2007 18:43:20 +0000 (18:43 -0000)]
New tests for Read and Write APIs.

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

16 years ago* SqlChars.cs, SqlBytes.cs (Read, Write): Implemented missing 2.0 APIs.
Veerapuram Varadhan [Mon, 1 Oct 2007 18:40:00 +0000 (18:40 -0000)]
* SqlChars.cs, SqlBytes.cs (Read, Write): Implemented missing 2.0 APIs.

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

16 years agoThis is more elegant (thanks JB :))
Marek Habersack [Mon, 1 Oct 2007 18:31:24 +0000 (18:31 -0000)]
This is more elegant (thanks JB :))

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

16 years ago2007-10-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Oct 2007 18:21:30 +0000 (18:21 -0000)]
2007-10-01  Marek Habersack  <mhabersack@novell.com>

* HttpServerUtility.cs: set a flag when transferring control to
another page.

* HttpContext.cs: added an internal InTransit property to carry
information that HttpServerUtility.Transfer has been used, over to
the target page.
2007-10-01  Marek Habersack  <mhabersack@novell.com>

* Page.cs: do not set IsPostBack to true if we're in transfer from
another page. Fixes bug #329341

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

16 years agoAdd new Is* methods to AssemblyNameReference
Jb Evain [Mon, 1 Oct 2007 18:17:38 +0000 (18:17 -0000)]
Add new Is* methods to AssemblyNameReference

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

16 years agotypo fixes + new feature description.
Paolo Molaro [Mon, 1 Oct 2007 18:07:20 +0000 (18:07 -0000)]
typo fixes + new feature description.

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

16 years agoDefine only on IMT systems.
Paolo Molaro [Mon, 1 Oct 2007 16:21:33 +0000 (16:21 -0000)]
Define only on IMT systems.

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

16 years ago2007-10-01 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Mon, 1 Oct 2007 15:24:44 +0000 (15:24 -0000)]
2007-10-01  Jonathan Chambers <joncham@gmail.com>

* mono-io-portability.c: Only support on non-Windows
platforms.

Code is contributed under MIT/X11 license.

2007-10-01  Jonathan Chambers <joncham@gmail.com>

* mono-config.c: Use g_strcasecmp instead of
strcasecmp like everywhere else to fix
compilation with MSVC.

Code is contributed under MIT/X11 license.

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

16 years ago2007-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Oct 2007 15:17:29 +0000 (15:17 -0000)]
2007-10-01  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (get_plt_index): Rework the handling of wrappers to be not so
hackish.

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

16 years ago2007-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Oct 2007 15:17:03 +0000 (15:17 -0000)]
2007-10-01  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (get_plt_index): Rework the handling of wrappers to be not so
hackish.

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

16 years ago2007-10-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Oct 2007 13:30:11 +0000 (13:30 -0000)]
2007-10-01  Marek Habersack  <mhabersack@novell.com>

* ListItem.cs: make HasAttributes available for the 1.1 profile as
well.

* DropDownList.cs: render custom ListItem attributes in the 1.1
profile. Fixes bug #326288

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

16 years agoMon Oct 1 15:00:27 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Oct 2007 12:52:49 +0000 (12:52 -0000)]
Mon Oct 1 15:00:27 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c, mini-trampolines.c, mini.h: enable the lazy filling of the
IMT slots (this saves hundreds of KB of memory in programs like
IronPython and Monodevelop).

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

16 years agoMon Oct 1 14:44:19 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Oct 2007 12:32:59 +0000 (12:32 -0000)]
Mon Oct 1 14:44:19 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: print the delegate counter.

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

16 years agofix the Is* method setters
Jb Evain [Mon, 1 Oct 2007 12:31:30 +0000 (12:31 -0000)]
fix the Is* method setters

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

16 years ago2007-10-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Oct 2007 12:30:36 +0000 (12:30 -0000)]
2007-10-01  Marek Habersack  <mhabersack@novell.com>

* AppResourcesCompiler.cs: resources are no longer compiled into a
single assembly. Instead, the common assembly construction code
has been moved to AppResourcesAssemblyBuilder to use satellite
assemblies.

* AppResourcesAssemblyBuilder.cs: new resource assembly
construction code which takes care of outputting satellite
assemblies.

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

16 years agoMon Oct 1 14:39:11 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Oct 2007 12:29:48 +0000 (12:29 -0000)]
Mon Oct 1 14:39:11 CEST 2007 Paolo Molaro <lupus@ximian.com>

* object.c, object-internals.h: refactored the IMT code to enable
building a single slot at a time and lazily creating the IMT trampolines
and thunks.

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

16 years agoMon Oct 1 14:36:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Oct 2007 12:24:37 +0000 (12:24 -0000)]
Mon Oct 1 14:36:50 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: make it easier to enable the debugging code for IMT
slots.

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

16 years ago2007-10-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 1 Oct 2007 09:51:14 +0000 (09:51 -0000)]
2007-10-01  Atsushi Enomoto  <atsushi@ximian.com>

* DataSourceGroupCollection.cs, DataSourceProviderService.cs,
  DataSourceGroup.cs, DesignerDataColumn.cs : new stubs.

* ContentDefinition.cs, ContentDesignerState.cs,
  ControlLocation.cs, DesignTimeResourceProviderFactory.cs,
  IControlDesignerTag.cs, IControlDesignerView.cs,
  IDesignTimeResourceWriter.cs, ViewEvent.cs, ViewEventArgs.cs,
  ViewEventHandler.cs, WebFormsReferenceManager.cs,
  WebFormsRootDesigner.cs : new stubs.
* ControlDesigner.cs : Added some more members. Uncomment
  RootDesigner and Tag.

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

16 years ago2007-09-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 1 Oct 2007 04:16:59 +0000 (04:16 -0000)]
2007-09-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* FolderBrowserDialog.cs: When using MyComputer as
RootFolder, let absolute paths be considered as valid ones. Also, use
Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
for Windows compatibility.
Partially fixes #325247.

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

16 years ago* DynamicMethodTest.cs: Marked test for bug #325444 as NotDotNet, and
Gert Driesen [Sun, 30 Sep 2007 12:37:28 +0000 (12:37 -0000)]
* DynamicMethodTest.cs: Marked test for bug #325444 as NotDotNet, and
added link to MS bug report.

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

16 years ago* HttpListenerRequest.cs: Do not store 'method' in upper case, but
Gert Driesen [Sun, 30 Sep 2007 12:33:06 +0000 (12:33 -0000)]
* HttpListenerRequest.cs: Do not store 'method' in upper case, but
instead use case-insensitive comparison.
* HttpListenerRequestTest.cs: Added test for HttpMethod.

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

16 years ago* UriTest3.cs: Added test for bug #323542.
Gert Driesen [Sun, 30 Sep 2007 12:32:46 +0000 (12:32 -0000)]
* UriTest3.cs: Added test for bug #323542.

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

16 years agoOnly applies to 2.0 profile.
Gert Driesen [Sun, 30 Sep 2007 11:43:46 +0000 (11:43 -0000)]
Only applies to 2.0 profile.

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

16 years ago* HttpListenerRequestTest.cs: Added test for HasEntityBody.
Gert Driesen [Sun, 30 Sep 2007 09:09:22 +0000 (09:09 -0000)]
* HttpListenerRequestTest.cs: Added test for HasEntityBody.
* HttpListener2Test.cs: Removed CWL.
* HttpListenerRequest.cs: Removed dead code. USe String.Length to
check for zero-length string. Use instance field for is_chunked, and
also set it for GET/HEAD/DELETE. Fixed HasEntityBody to return true
when Content-Length > 0, or Transfer-Encoding is chunked.
* System_test.dll.sources: Added HttpListenerRequestTest.cs.

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

16 years ago* UriTest3.cs: Added test for bug #328768.
Gert Driesen [Sun, 30 Sep 2007 09:03:40 +0000 (09:03 -0000)]
* UriTest3.cs: Added test for bug #328768.

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

16 years agofix the test for net_1_1 profile
Konstantin Triger [Sun, 30 Sep 2007 07:38:35 +0000 (07:38 -0000)]
fix the test for net_1_1 profile

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

16 years ago * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
Carlos Alberto Cortez [Sun, 30 Sep 2007 02:32:52 +0000 (02:32 -0000)]
* FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
method, since it causes the dialog to not select folders directly
under the root path (when setting SelectedPath property).

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

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

16 years ago2007-09-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Sep 2007 21:33:07 +0000 (21:33 -0000)]
2007-09-29  Zoltan Varga  <vargaz@gmail.com>

* loader.c (inflate_generic_signature): Allocate inflated signatures from the heap.

* metadata.c (mono_metadata_free_inflated_signature): Free the signature itself too.
Fixes #328501.

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

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

* RadioButtonTest.cs: Fix test to not fail on monobuild.

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

16 years ago2007-09-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 29 Sep 2007 19:59:03 +0000 (19:59 -0000)]
2007-09-29  Miguel de Icaza  <miguel@novell.com>

* NetworkInterface.cs (GetAllNetworkInterfaces): return an empty
array instead of throwing an exception on operating systems where

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

16 years ago2007-09-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 29 Sep 2007 19:58:02 +0000 (19:58 -0000)]
2007-09-29  Miguel de Icaza  <miguel@novell.com>

* Uri.cs (ToString, MakeRelativeUri): refactor some code in
ToString to be reusable (to append the query string and the
fragment) by MakeRelativeUrl.

This fixes the MakeRelativeUrl stuff, but the tests can not be
used just yet because we fail with stuff like:

new Uri ("", UriKind.Relative)

(Parse): when parsing absolute filenames, check if the
UriKind is Relative, and if so, make the isAbsoluteUri false, to
ensure that the upper layers do not abort with relative Uris that
happen to be "/foo" for example.

Take an UriKind property to allow for proper checking and parsing
depending on the context requested by the caller.

Allows empty strings to be relative Uris as well.

Do checking when we have schema:// that the parsing is not for a
UriKind.Relative, otherwise throw an exception.

(Authority, HostNameType, IsDefaultPort, IsFile, IsLoopback,
PathAndQuery, DnsSafeHost): They all require absolute uris.

* UriKind.cs: make internal for 1.0

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

16 years agoRemove warnings
Miguel de Icaza [Sat, 29 Sep 2007 19:10:37 +0000 (19:10 -0000)]
Remove warnings

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

16 years agoremove warnings
Miguel de Icaza [Sat, 29 Sep 2007 19:10:22 +0000 (19:10 -0000)]
remove warnings

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

16 years agoRemove warning
Miguel de Icaza [Sat, 29 Sep 2007 19:10:10 +0000 (19:10 -0000)]
Remove warning

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

16 years agoRemove warnings
Miguel de Icaza [Sat, 29 Sep 2007 19:09:55 +0000 (19:09 -0000)]
Remove warnings

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

16 years ago* loader.c (method_from_methodspec): Rearrange to avoid
Raja R Harinath [Sat, 29 Sep 2007 14:30:24 +0000 (14:30 -0000)]
* loader.c (method_from_methodspec): Rearrange to avoid
un-necessary exposition.  Don't assert out if the method's
declaring type is a generic type definition.

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

16 years ago* ObjectTest.cs (TestToStringOnGenericInstances): Fix expected string.
Raja R Harinath [Sat, 29 Sep 2007 13:16:00 +0000 (13:16 -0000)]
* ObjectTest.cs (TestToStringOnGenericInstances): Fix expected string.

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

16 years ago2007-09-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 29 Sep 2007 07:32:17 +0000 (07:32 -0000)]
2007-09-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeNode.cs: When calling Expand/Collapse and need to call
ExpandBelow/CollapseBelow respectively, take into account
partially visible nodes (previously Expanding/Collapsing
a partially visible node in the bottom was not updating its +- sign).

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

16 years ago * TreeView.cs: When calling Expand on a TreeNode, and we need to
Carlos Alberto Cortez [Sat, 29 Sep 2007 01:33:53 +0000 (01:33 -0000)]
* TreeView.cs: When calling Expand on a TreeNode, and we need to
expand nodes below (ExpandBelow), scroll the entire Viewport
area if the node is above it and not visible (instead of scrolling
the area from node's Bottom, which applies only when the node is
visible).
Fixes #325266.

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

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

16 years ago2007-09-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 28 Sep 2007 23:51:55 +0000 (23:51 -0000)]
2007-09-29  Marek Habersack  <mhabersack@novell.com>

* WebUIValidation_2.0.js: replace all the ocurrences of 'this' with
'webForm'. The reason for such change is that under certain
circumstances the function may be called on an object which is not
the original webForm to which the function was assigned. This
happens, for instance, in the AJAX Control Toolkit which wraps the
ValidatorGetValue function with its own version and calls the
original function on a Function object, so 'this' in that instance
becomes a 'function()' and not the original 'Window' object.

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

16 years ago * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
Carlos Alberto Cortez [Fri, 28 Sep 2007 21:23:03 +0000 (21:23 -0000)]
* TreeView.cs: When calling ExpandAll, set SelectedNode to the top
node in the bottom area (as .Net does). This is done to preserve the
scroll position when ExpandAll is called before handle is created for
the 1.1 profile (bottom area, as opposed to top area in 2.0).
Fixes #324103.

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

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

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

* TreeView.cs: When calling ExpandAll, don't move the scroll to the
bottom area if we are in fact not using the vertical scroll bar.
Fixes #324824.

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

16 years ago2007-09-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 28 Sep 2007 20:37:12 +0000 (20:37 -0000)]
2007-09-28  Martin Baulig  <martin@ximian.com>

* debug-debugger.h
(MonoDebuggerMetadataInfo): Add `klass_image_offset',
`mono_method_klass_offset' and `mono_method_token_offset'.

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

16 years ago2007-09-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 28 Sep 2007 19:38:05 +0000 (19:38 -0000)]
2007-09-28  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 61.

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

16 years agoFri Sep 28 20:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 28 Sep 2007 18:05:16 +0000 (18:05 -0000)]
Fri Sep 28 20:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class-internals.h: optimize field layout of MonoClass to
requires less cachelines at runtime and save a few bytes on 64 bit
systems.

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

16 years ago2007-09-28 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 28 Sep 2007 17:58:49 +0000 (17:58 -0000)]
2007-09-28  Jb Evain  <jbevain@novell.com>

* reflection.c: when encoding type names in custom attributes,
if the type is a closed generic type, its generic arguments
have to be serialized as AssemblyQualifiedName, so that when
they are deserialized, it's possible to re-create them properly.
Fixes #329450.

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

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

* TypeConverterTests.cs: test case for bug #329450.

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

16 years agoFri Sep 28 19:19:49 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 28 Sep 2007 17:09:02 +0000 (17:09 -0000)]
Fri Sep 28 19:19:49 CEST 2007 Paolo Molaro <lupus@ximian.com>

* object.c, class-internals.h: added delegate-creation counter.

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

16 years agoFri Sep 28 18:07:53 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 28 Sep 2007 15:59:10 +0000 (15:59 -0000)]
Fri Sep 28 18:07:53 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: cleanup of the code that synthetizes interfaces for
arrays in 2.0: saves quit a bit of corlib mempool memory.
Code to fix bug #325495 ifdeffed out for now until the issues
with memory usage and O(n^2) behaviour are fixed.

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

16 years agotypo
Jb Evain [Fri, 28 Sep 2007 15:54:33 +0000 (15:54 -0000)]
typo

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

16 years ago2007-09-28 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 28 Sep 2007 15:48:43 +0000 (15:48 -0000)]
2007-09-28  Jb Evain  <jbevain@novell.com>

* Object.cs: Make ToString return Type.ToString ()
by default instead of Type.FullName to match .net
behavior. Fix #329419.

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

16 years ago2007-09-28 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 28 Sep 2007 15:47:21 +0000 (15:47 -0000)]
2007-09-28  Jb Evain  <jbevain@novell.com>

* ObjectTest.cs: add test for bug #329419

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

16 years agoFri Sep 28 17:19:40 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 28 Sep 2007 15:09:08 +0000 (15:09 -0000)]
Fri Sep 28 17:19:40 CEST 2007 Paolo Molaro <lupus@ximian.com>

* marshal.c: when possible, do not duplicate the name of the methods
in the method builder and in the generated MonoMethod.

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

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

* DataSourceDescriptor.cs,
  DataSourceDescriptorCollection.cs,
  DesignerDataConnection.cs : new stubs.

* ControlDesigner.cs, TemplatedControlDesigner.cs :
  Added some 2.0 members and excluded some non-2.0 stuff.

* ClientScriptItem.cs, ClientScriptItemCollection.cs,
  ConnectionStringEditor.cs, ContainerControlDesigner.cs,
  DesignerAutoFormat.cs, DesignerAutoFormatCollection.cs,
  DesignerAutoFormatStyle.cs : new stubs.

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

16 years ago2007-09-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Sep 2007 13:10:05 +0000 (13:10 -0000)]
2007-09-28  Atsushi Enomoto  <atsushi@ximian.com>

* ByteViewer.cs : last one mile to finish 2.0 API (metadata wise).

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