mono.git
16 years agoNew test.
Marek Safar [Wed, 16 Apr 2008 16:05:22 +0000 (16:05 -0000)]
New test.

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

16 years ago2008-04-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Apr 2008 16:04:45 +0000 (16:04 -0000)]
2008-04-16  Marek Safar  <marek.safar@gmail.com>

* namespace.cs: Use MemberName comparison.

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

16 years agoSpread the dissatisfaction
Raja R Harinath [Wed, 16 Apr 2008 15:35:36 +0000 (15:35 -0000)]
Spread the dissatisfaction

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

16 years agoFix build break
Raja R Harinath [Wed, 16 Apr 2008 15:29:40 +0000 (15:29 -0000)]
Fix build break

* decl.cs (MemberName.PrettyName): New.  Replaces the misnamed FullName.
(MemberName.MethodName, MemberName.GetSignatureForError): Improve.
(MemberName.FullyQualifiedName): New.  Provides the functionality
that users assume FullName would have.
* ecore.cs, namespace.cs: Update to changes.

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

16 years ago* statement.cs (Using.assign): Make into ExpressionStatement.
Raja R Harinath [Wed, 16 Apr 2008 14:29:02 +0000 (14:29 -0000)]
* statement.cs (Using.assign): Make into ExpressionStatement.
(Using.EmitPreTryBody): Simplify.

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

16 years ago2008-04-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Apr 2008 14:03:32 +0000 (14:03 -0000)]
2008-04-16  Marek Safar  <marek.safar@gmail.com>

* report.cs: ColorFormat is protected.

* rootcontext.cs: Unused fields clean-up.

* namespace.cs: Made UsingEntry name private.

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

16 years ago* File.cs: Changed argument names and thrown exception to better match
Gert Driesen [Wed, 16 Apr 2008 14:01:25 +0000 (14:01 -0000)]
* File.cs: Changed argument names and thrown exception to better match
.NET. Use String.Length instead of comparison with empty string.
* DirectoryInfo.cs: Added missing deserialization ctor.
* FileTest.cs: Renamed and improved existing tests. Avoid use of
ExpectedException.
* FileSystemInfoTest.cs: No longer derive from deprecated Assertion
class. Added (de)serialization tests.

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

16 years ago2008-04-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Apr 2008 13:34:17 +0000 (13:34 -0000)]
2008-04-16  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, location.cs: Removed unused field.

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

16 years ago2008-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Apr 2008 13:19:47 +0000 (13:19 -0000)]
2008-04-16  Atsushi Enomoto  <atsushi@ximian.com>

        * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
          whether the key events are filtered or not. Introduced
          PreFilter() process for this purpose. This fixes atokx3/iiimx
          shift state issue.

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:59:39 +0000 (12:59 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* DateTimeOffsetTest.cs (ToStringWithFormatAndCulture): Avoid dependency on
invariant culture. Fixes #380345.

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

16 years ago* System.Windows.Forms/HtmlHistory.cs: Implement Length property
Andreia Gaita [Wed, 16 Apr 2008 12:57:11 +0000 (12:57 -0000)]
* System.Windows.Forms/HtmlHistory.cs: Implement Length property

2008-04-16  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:53:54 +0000 (12:53 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* BinderTests.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add
tests for converting integers to enums.

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

16 years ago* Mono.Mozilla/DOM/Navigation.cs, Mono.WebBrowser/DOM/INavigation.cs:
Andreia Gaita [Wed, 16 Apr 2008 12:53:01 +0000 (12:53 -0000)]
* Mono.Mozilla/DOM/Navigation.cs, Mono.WebBrowser/DOM/INavigation.cs:
  Add history count getter

2008-04-16  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:52:51 +0000 (12:52 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add
support for converting integers to enums. Fixes #380361.

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:46:37 +0000 (12:46 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* liveness.c (mono_analyze_liveness): Disable the initlocals optimization if
running under the debugger.

* linear-scan.c (mono_linear_scan): Avoid sharing registers if running under the
debugger.

* mini.c (mini_method_compile): Set a few flags in cfg if running under the
debugger. Also move the disabling of optimizations here from driver.c.
(mono_allocate_stack_slots_full): Avoid sharing stack slots if running under the
debugger.

* mini.h (MonoCompile): Add a few new flags.

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:39:22 +0000 (12:39 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* liveness.c (mono_analyze_liveness): Disable the initlocals optimization if
running under the debugger.

* linear-scan.c (mono_linear_scan): Avoid sharing registers if running under the
debugger.

* mini.c (mini_method_compile): Set a few flags in cfg if running under the
debugger. Also move the disabling of optimizations here from driver.c.
(mono_allocate_stack_slots_full): Avoid sharing stack slots if running under the
debugger.

* mini.h (MonoCompile): Add a few new flags.

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

16 years agoChangelog for the last commit.
Veerapuram Varadhan [Wed, 16 Apr 2008 11:36:42 +0000 (11:36 -0000)]
Changelog for the last commit.

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

16 years ago * XmlDataInferenceLoader.cs (ReadXml): Make sure the name of
Veerapuram Varadhan [Wed, 16 Apr 2008 11:36:24 +0000 (11:36 -0000)]
    * XmlDataInferenceLoader.cs (ReadXml): Make sure the name of
        reference key column(s) in child tables are unique.

        * XmlSchemaWriter.cs (WriteSchema, WriteDataSetElement,
        WriteTableType, WriteChildRelations): Handle the scenario
wherein
        we have a relation and only one table.  This can occur when we
        have an XML with same parent/child table names.

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

16 years agoAdded tests for same parent/child table name and Id columns.
Veerapuram Varadhan [Wed, 16 Apr 2008 11:34:25 +0000 (11:34 -0000)]
Added tests for same parent/child table name and Id columns.

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

16 years agoFix #379822
Raja R Harinath [Wed, 16 Apr 2008 06:20:10 +0000 (06:20 -0000)]
Fix #379822

* constant.cs (SideEffectConstant.value): Rename from 'left'.
(SideEffectConstant.side_effect): Rename from 'right'.
(SideEffectConstant..ctor): Normalize 'side_effect'.
(SideEffectConstant.Emit): Emit 'value', not 'side_effect' as the
value of this constant.
* cfold.cs: Update to changes.

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

16 years ago2008-04-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 16 Apr 2008 02:13:32 +0000 (02:13 -0000)]
2008-04-16  Marek Habersack  <mhabersack@novell.com>

* ObjectDataSourceView.cs: ExecuteSelect should return an empty
aray when no data has been retrieved from the specified source
type. Fixes bug #380106

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

16 years ago2008-04-16 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 16 Apr 2008 02:12:41 +0000 (02:12 -0000)]
2008-04-16  Jonathan Chambers  <joncham@gmail.com>
* monobitset.c (find_first_unset): Use gsize instead of gulong for platform
  dependent size; fixes Win64.
* mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and
  mono_memory_write_barrier for Win64.

Contributed under MIT/X11 license.

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

16 years ago2008-04-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 16 Apr 2008 01:58:42 +0000 (01:58 -0000)]
2008-04-15  Jonathan Chambers  <joncham@gmail.com>
* mono.sln, libmono.vcproj, monoburg.vcproj, genmdesc.vcproj: Flush Win64
  and eglib changes.

Contributed under MIT/X11 license.

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

16 years ago2008-04-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 16 Apr 2008 01:07:58 +0000 (01:07 -0000)]
2008-04-15  Jonathan Chambers  <joncham@gmail.com>
* include/private/gcconfig.h: Backport GC7 code to support Win64.
* win32_threads.c: Backport GC7 code to support Win64.

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

16 years ago2008-04-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Apr 2008 23:35:35 +0000 (23:35 -0000)]
2008-04-16  Marek Habersack  <mhabersack@novell.com>

* HttpWebRequest.cs: fix an off-by-one bug - the number of
redirects must not exceed the value of
MaximumAutomaticRedirections. Fixes bug #380131

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

16 years ago2008-04-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Apr 2008 22:27:01 +0000 (22:27 -0000)]
2008-04-16  Marek Habersack  <mhabersack@novell.com>

* mono-io-portability.c (mono_portability_find_file): properly
process unrooted entries with a trailing slash.

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

16 years ago2008-04-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Apr 2008 21:22:40 +0000 (21:22 -0000)]
2008-04-15  Zoltan Varga  <vargaz@gmail.com>

* main.c (disassemble_file): Do not use mono_assembly_open () to load an image,
since it does not allow loading a different mscorlib. Fixes #379866.

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

16 years ago2008-04-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 15 Apr 2008 20:57:30 +0000 (20:57 -0000)]
2008-04-15  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Call EndEdit when a sort is performed so we take
away the edit textbox.  Refactor to reuse column sort code.

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

16 years ago2008-04-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Apr 2008 19:32:04 +0000 (19:32 -0000)]
2008-04-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Set cfg->ip before processing an IL instruction
so the cil_code field of created MonoInst's is properly set.
(mini_select_instructions): Ditto.

* mini.h (MONO_INST_NEW): Initialize the cil_code field using cfg->ip.
(MONO_INST_NEW_CALL): Ditto.

* mini.c inssel.brg inssel-x86.brg inssel-amd64.brg: Use MONO_INST_NEW ()
in many places so the ins->cil_code field is properly initialized.

* mini.c (mono_bblock_add_inst): Call MONO_ADD_INS () so the logic is in one
place.

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

16 years agoRevert 100737, it's not needed anymore.
Marek Habersack [Tue, 15 Apr 2008 18:57:20 +0000 (18:57 -0000)]
Revert 100737, it's not needed anymore.

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

16 years ago2008-04-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Apr 2008 18:49:06 +0000 (18:49 -0000)]
2008-04-15  Marek Habersack  <mhabersack@novell.com>

* appdomain.c (try_load_from): if IOMAP is in effect, call the
portability API to look up the assembly file. Fixes behavior in
situations when the application has a bin/ directory, but the
assembly search patch refers to Bin/ (and thus the requested file
name is Bin/SomeLibrary.dll). Fixes bug #379888

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

16 years ago2008-04-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Apr 2008 18:29:27 +0000 (18:29 -0000)]
2008-04-15  Marek Safar  <marek.safar@gmail.com>

* cs-paser.jay: Removed unused variable.

* driver.cs: Made Compile instance method.

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

16 years ago2008-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 15 Apr 2008 17:22:10 +0000 (17:22 -0000)]
2008-04-15 Rodrigo Kumpera  <rkumpera@novell.com>

verify.c (mono_type_is_generic_argument): Extracted this check
from a dozen places to here.

verify.c: Fixed all issues related to boxing generic arguments
and their constraints.

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

16 years ago2008-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 15 Apr 2008 17:14:16 +0000 (17:14 -0000)]
2008-04-15 Rodrigo Kumpera <rkumpera@novell.com>

* make_boxed_genarg_test.sh: New test generator
for boxed generic arguments.

* make_test.sh: Added tests using the new generator
for the interaction between boxed generic arguments
and its constraint types.

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

16 years agoHttpRuntime.cs: Don't add Date header for error pages either. Fixes bug #363404.
Kornél Pál [Tue, 15 Apr 2008 16:36:56 +0000 (16:36 -0000)]
HttpRuntime.cs: Don't add Date header for error pages either. Fixes bug #363404.

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 16:08:33 +0000 (16:08 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Apr 2008 15:53:34 +0000 (15:53 -0000)]
2008-04-15  Marek Habersack  <mhabersack@novell.com>

* ApplicationHostTest.cs: test update for the PrivateBinPath
change in ApplicationHost (a work-around for an IOMAP bug).

2008-04-15  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: restore Bin;bin to PrivateBinPath, as a
work-around for an IOMAP bug. Fixes bugs #379890 and #379888

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 15:45:52 +0000 (15:45 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing Attributes

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 15:44:13 +0000 (15:44 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 15:43:08 +0000 (15:43 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Use existing consts where possible

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

16 years ago* flowanalysis.cs (FlowBranching.MergeChild): Simplify.
Raja R Harinath [Tue, 15 Apr 2008 15:42:15 +0000 (15:42 -0000)]
* flowanalysis.cs (FlowBranching.MergeChild): Simplify.

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 15:41:23 +0000 (15:41 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing Attributes

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 15:40:27 +0000 (15:40 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years agofix typo
Jb Evain [Tue, 15 Apr 2008 12:41:52 +0000 (12:41 -0000)]
fix typo

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

16 years agoupdate template wrt to 100712
Jb Evain [Tue, 15 Apr 2008 12:29:16 +0000 (12:29 -0000)]
update template wrt to 100712

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

16 years ago2008-04-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Apr 2008 12:23:15 +0000 (12:23 -0000)]
2008-04-15  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Cecil.csproj
* Mono.Cecil.dll.sources:
Add Mono.Cecil.Cil/OpCodeNames.cs to the build.

* Mono.Cecil.Cil/OpCodeNames.cs
* Mono.Cecil.Cil/OpCode.cs
* Mono.Cecil.Cil/OpCodes.cs:
Reduce the OpCode struct size to 8 bytes (instead of 36).
Based on the SRE.OpCode code found in corlib.

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

16 years ago* Makefile.am (generic-box.2.exe, generic-unbox.2.exe): Create in build-dir.
Raja R Harinath [Tue, 15 Apr 2008 11:25:24 +0000 (11:25 -0000)]
* Makefile.am (generic-box.2.exe, generic-unbox.2.exe): Create in build-dir.

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

16 years agoUpdated error message
Marek Safar [Tue, 15 Apr 2008 08:24:41 +0000 (08:24 -0000)]
Updated error message

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

16 years ago2008-04-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Apr 2008 08:22:16 +0000 (08:22 -0000)]
2008-04-15  Marek Safar  <marek.safar@gmail.com>

* cs-paser.jay, namespace.cs: Simplified handling of namespace imports.

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

16 years ago2008-04-12 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Tue, 15 Apr 2008 06:06:29 +0000 (06:06 -0000)]
2008-04-12  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Remove the code that save and restore capture status of
grab_control, this fixes some Menu and Context menu bugs but maybe it can
cause some others, I cant figure the possible problems of this patch but
right now remove the code looks to be better than keep it. This patch fixes
bugs #357638, #378721 and #379570.

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

16 years ago2008-04-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 15 Apr 2008 00:55:04 +0000 (00:55 -0000)]
2008-04-14 Rodrigo Kumpera  <rkumpera@novell.com>

verify.c (mono_class_interface_implements_interface): Fix win32 build.

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

16 years ago2008-04-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 14 Apr 2008 22:51:34 +0000 (22:51 -0000)]
2008-04-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* CurrencyManagerTest.cs: New 2.0 IsBinding test.

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

16 years ago2008-04-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 Apr 2008 22:45:44 +0000 (22:45 -0000)]
2008-04-15  Marek Habersack  <mhabersack@novell.com>

        * AssemblyResourceLoader.cs: dispose of streams the way it should
        be done.

2008-04-15  Marek Habersack  <mhabersack@novell.com>

        * MailDefinition.cs: dispose of streams the way it should
        be done.

2008-04-15  Marek Habersack  <mhabersack@novell.com>

        * HttpRequest.cs: dispose of streams the way it should
        be done.

2008-04-15  Marek Habersack  <mhabersack@novell.com>

        * CachingCompiler.cs: dispose of streams the way it should
        be done.

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

16 years ago2008-04-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 Apr 2008 21:55:50 +0000 (21:55 -0000)]
2008-04-14  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs, TemplateParser.cs, AspGenerator.cs:
make sure streams are disposed the way they should be.

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

16 years ago* HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
Andreia Gaita [Mon, 14 Apr 2008 18:39:41 +0000 (18:39 -0000)]
* HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
Implement OuterHtml, OuterText, Enabled, Scroll*, *Rectangle properties,
add missing properties and event handlers.

* ChangeLog: fix dates

2008-04-12  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-04-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 14 Apr 2008 16:42:08 +0000 (16:42 -0000)]
2008-04-14  Jonathan Pobst  <monkey@jpobst.com>

* ListBox.cs: Make sure the LargeChange we are setting is at least
zero, to prevent an IOORE.  [Fixes bug #379531]

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

16 years agoIn .:
Geoff Norton [Mon, 14 Apr 2008 16:39:53 +0000 (16:39 -0000)]
In .:
2009-04-13  Andy Hume <andyhume32@yahoo.co.uk>

* ComboBox.cs: Support item navigation by entering text.  Firstly,
in DropDownList mode, for each key-press select the next item
starting with that letter.
For other modes, when no item selected, on arrow-up/-down and open
drop-down select the first item matching the text in the textbox.

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

16 years ago2008-04-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 14 Apr 2008 16:21:46 +0000 (16:21 -0000)]
2008-04-14  Igor Zelmanovich <igorz@mainsoft.com>

* HttpRuntime.cs: refactoring.

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

16 years ago2008-04-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Apr 2008 12:55:44 +0000 (12:55 -0000)]
2008-04-14  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_method_compile): Print a different message when compiling a
shared method.

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

16 years ago2008-04-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Apr 2008 12:52:44 +0000 (12:52 -0000)]
2008-04-14  Zoltan Varga  <vargaz@gmail.com>

* mini.c (GENERIC_SHARING_FAILURE): Print a failure message when verbose_level
> 1.

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

16 years ago2008-04-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 Apr 2008 12:00:38 +0000 (12:00 -0000)]
2008-04-14  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: FindStartingNode throws an exception when
it is passed a file which ends in an extension other than
.sitemap.
Fixed a check for the siteMapFile attribute presence. Fixes bug
#379566.

* SiteMap.cs: FindCurrent node uses the default provider
exclusively. Fixes bug #379566

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

16 years ago2008-04-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Apr 2008 11:57:39 +0000 (11:57 -0000)]
2008-04-14  Atsushi Enomoto  <atsushi@ximian.com>

        * X11Keyboard.cs : Control.FromHandle() could return null
          in MoveCurrentCaretPos().

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

16 years ago* Makefile (DIST_ONLY_SUBDIRS): Remove.
Raja R Harinath [Mon, 14 Apr 2008 11:00:15 +0000 (11:00 -0000)]
* Makefile (DIST_ONLY_SUBDIRS): Remove.
(MONO_WEB, MONO_POSIX, MONO_SYMWRITER): Remove.  Inline definitions.

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

16 years ago* Makefile (VALID_PROFILE): New. Prepare to be invoked in other profiles.
Raja R Harinath [Mon, 14 Apr 2008 10:59:57 +0000 (10:59 -0000)]
* Makefile (VALID_PROFILE): New.  Prepare to be invoked in other profiles.

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

16 years agoUpdate to changes in Silverlight libraries
Raja R Harinath [Mon, 14 Apr 2008 05:14:12 +0000 (05:14 -0000)]
Update to changes in Silverlight libraries

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

16 years agoUpdate to recent changes -- mostly testcases failing due to missing ArrayList
Raja R Harinath [Mon, 14 Apr 2008 05:09:31 +0000 (05:09 -0000)]
Update to recent changes -- mostly testcases failing due to missing ArrayList
and Hashtable

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

16 years ago2008-04-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 22:21:20 +0000 (22:21 -0000)]
2008-04-14  Zoltan Varga  <vargaz@gmail.com>

* AssemblyBuilderTest.cs (GetCustomAttributes_NotCreated): New test for
#363447.

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

16 years ago2008-04-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 22:16:09 +0000 (22:16 -0000)]
2008-04-14  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_custom_attrs_construct): Fix crash when the cattr type
isn't finished yet. Fixes #363447.

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

16 years ago2008-04-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 22:03:46 +0000 (22:03 -0000)]
2008-04-14  Zoltan Varga  <vargaz@gmail.com>

* StringTest.cs: Add a test for #374511.

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

16 years ago2008-04-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 22:00:56 +0000 (22:00 -0000)]
2008-04-13  Zoltan Varga  <vargaz@gmail.com>

* String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
matches at the beginning of the string. Fixes #374511.

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

16 years ago2008-04-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 20:06:54 +0000 (20:06 -0000)]
2008-04-13  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add a test for #346419.

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

16 years ago2008-04-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 20:06:06 +0000 (20:06 -0000)]
2008-04-13  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_bounded_array_class_get): Fix the name of bounded array types.
Fixes #346419.

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

16 years agocopy sys.xml dummy types here
Jb Evain [Sun, 13 Apr 2008 15:07:10 +0000 (15:07 -0000)]
copy sys.xml dummy types here

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

16 years agomove the System.Net 2.1 specific from System to System.Net
Jb Evain [Sun, 13 Apr 2008 14:37:51 +0000 (14:37 -0000)]
move the System.Net 2.1 specific from System to System.Net

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

16 years agoMono.Cecil/AssemblyDefinition.cs: Short circut loop when module is found.
Sebastien Pouliot [Sun, 13 Apr 2008 14:14:27 +0000 (14:14 -0000)]
Mono.Cecil/AssemblyDefinition.cs: Short circut loop when module is found.

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

16 years agomerge back ml2 into trunk
Jb Evain [Sun, 13 Apr 2008 13:47:01 +0000 (13:47 -0000)]
merge back ml2 into trunk

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

16 years agomerge back ml2 into trunk
Jb Evain [Sun, 13 Apr 2008 13:46:12 +0000 (13:46 -0000)]
merge back ml2 into trunk

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

16 years agolast merge 100420:100549
Jb Evain [Sun, 13 Apr 2008 11:44:22 +0000 (11:44 -0000)]
last merge 100420:100549

svn path=/branches/jb/ml2/mono/; revision=100550

16 years agolast merge 100420:100549
Jb Evain [Sun, 13 Apr 2008 11:44:22 +0000 (11:44 -0000)]
last merge 100420:100549

svn path=/branches/jb/ml2/mcs/; revision=100550

16 years agoFix for Java compilation:
Noam Lampert [Sun, 13 Apr 2008 08:34:11 +0000 (08:34 -0000)]
Fix for Java compilation:
1. Upgrade to VS 2008 project files
2. Remove one test that uses java-non-supported handles.

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

16 years agoVisual studio upgrade did not work well.
Noam Lampert [Sun, 13 Apr 2008 08:16:49 +0000 (08:16 -0000)]
Visual studio upgrade did not work well.
Fix references in project files.

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

16 years agoFixes for Java compilations:
Noam Lampert [Sun, 13 Apr 2008 07:44:03 +0000 (07:44 -0000)]
Fixes for Java compilations:
1. Upgrade project/solution files to visual studio 2008
2. In Grasshopper, the InternalVisible attribute in System.Web doesn't work, so need to compile without using the internals of System.Web.

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

16 years ago * ListView.cs: When changing the size in VirtualMode, also Reset the
Carlos Alberto Cortez [Sun, 13 Apr 2008 03:09:53 +0000 (03:09 -0000)]
* ListView.cs: When changing the size in VirtualMode, also Reset the
selection.
* ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
changing selection info for VirtualMode.
Fixes #372618.

2009-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
Carlos Alberto Cortez [Sat, 12 Apr 2008 20:35:08 +0000 (20:35 -0000)]
* ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
view, don't use LineLimit for the first item - use NoWrap *always*
instead, since ListView.LabelWrap is not used for this view.
Fixes #378054.

2009-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2008-04-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 12 Apr 2008 19:56:38 +0000 (19:56 -0000)]
2008-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingTest.cs: Enable some more tests.

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

16 years ago2009-04-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 12 Apr 2008 19:52:31 +0000 (19:52 -0000)]
2009-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: Call UpdateIsBinding when setting control - probably
Binding is already usable and we don't need to wait to check the
IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
Created, just like 2.0 does.
* CurrencyManager.cs: I'm so lame - the previous check was wrong.

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

16 years ago2008-04-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 Apr 2008 06:18:32 +0000 (06:18 -0000)]
2008-04-12  Zoltan Varga  <vargaz@gmail.com>

* assembly.c (mono_assembly_load_from_full): Do the check for loading other
mscorlibs for the non-refonly case as well.

* image.c (do_mono_image_load): Remove the mscorlib check, it is already done
in mono_assembly_load_from_full (). Fixes #378924.

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

16 years agoIn .:
Geoff Norton [Sat, 12 Apr 2008 00:04:15 +0000 (00:04 -0000)]
In .:
2008-04-11  Geoff Norton  <gnorton@novell.com>

* processes.c: The global extern environ doesn't exist on Mac.  We
need to call NSGetEnviron instead.

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

16 years agoIn .:
Geoff Norton [Sat, 12 Apr 2008 00:03:40 +0000 (00:03 -0000)]
In .:
2008-04-11  Geoff Norton  <gnorton@novell.com>

* icall.c: The global extern environ doesn't exist on Mac.  We
need to call NSGetEnviron instead.

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

16 years ago2008-04-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 11 Apr 2008 23:58:04 +0000 (23:58 -0000)]
2008-04-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingTest.cs: Enable IsBindingTest.

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

16 years ago * Binding.cs: Just realized we don't need to have a handler for
Carlos Alberto Cortez [Fri, 11 Apr 2008 23:55:05 +0000 (23:55 -0000)]
* Binding.cs: Just realized we don't need to have a handler for
BindingContextChanged, since this info should be now consumed directly
in the BindingManagerBase. And also, the manager.IsBindingSuspended
state info is checked directly, instead of caching it.

* CurrencyManager.cs: IsSuspended should return always false if Count
== 0.

2009-04-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2009-04-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 11 Apr 2008 23:31:47 +0000 (23:31 -0000)]
2009-04-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: When calling PushData, return if manager.Count == 0,
since we just don't have data to be read. Also, when setting the
Control for binding, hook up some events to refresh the IsBinding
state when BindingContext change or control gets created; use
Control.IsHandleCreated instead of Control.Created check to set
IsBinding state - we *actually* need to modify IsBinding when control
is created, but we don't have any Created event, only HandleCreated.
Fixes part of #349364.

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

16 years agoIn .:
Geoff Norton [Fri, 11 Apr 2008 21:42:42 +0000 (21:42 -0000)]
In .:
* WindowHandler.cs: Move the caret back to the real screen position
after a window bounds is changed.

2008-04-11  Geoff Norton  <gnorton@novell.com>

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

16 years agoIn .:
Geoff Norton [Fri, 11 Apr 2008 21:41:48 +0000 (21:41 -0000)]
In .:
2008-04-11  Geoff Norton  <gnorton@novell.com>

* XplatUICarbon.cs: Expose Caret to the Carbon layer.  Guard against
warping a null Caret.

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

16 years ago2008-04-11 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 11 Apr 2008 21:24:40 +0000 (21:24 -0000)]
2008-04-11  Geoff Norton  <gnorton@novell.com>

        * KeyboardHandler.cs: Fix keyboard support on little endian
        architectures.

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

16 years ago2008-04-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 11 Apr 2008 20:15:02 +0000 (20:15 -0000)]
2008-04-11  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Implement row/column autosizing methods. Implement
autosorting.
* DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
* DataGridViewRowCollection.cs: Add an internal sorting method.

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

16 years ago2008-04-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 11 Apr 2008 18:50:22 +0000 (18:50 -0000)]
2008-04-11  Zoltan Varga  <vargaz@gmail.com>

* Thread.cs: Make in_currentculture non-static. Fixes #378892.

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

16 years ago2008-04-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 11 Apr 2008 18:38:56 +0000 (18:38 -0000)]
2008-04-11  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
value in ListView drawing code.

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

16 years agoDisabled another test until jb merges the changes.
Marek Safar [Fri, 11 Apr 2008 18:20:33 +0000 (18:20 -0000)]
Disabled another test until jb merges the changes.

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

16 years ago2008-04-11 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 11 Apr 2008 17:19:47 +0000 (17:19 -0000)]
2008-04-11  Mark Probst  <mark.probst@gmail.com>

* Makefile.am: Added missing files to EXTRA_DIST.

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