mono.git
16 years ago2008-04-16 Wade Berrier <wberrier@novell.com>
Wade Berrier [Wed, 16 Apr 2008 21:06:56 +0000 (21:06 -0000)]
2008-04-16  Wade Berrier  <wberrier@novell.com>

       * scripts/mono-find-requires.in: Fix extraneous whitespace that
makes
       some reqs from .config be on the same line as the monodis reqs.

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

16 years agoHook up 'EmitSideEffect'
Raja R Harinath [Wed, 16 Apr 2008 19:46:03 +0000 (19:46 -0000)]
Hook up 'EmitSideEffect'

* constant.cs (Constant.EmitSideEffect): New.
(SideEffectConstant.Emit): Simplify.  Use EmitSideEffect.
(SideEffectConstant.EmitSideEffect): New.
* ecore.cs (BoxedCast.EmitBranchable): Remove.  We can't use an
unconditional branch in EmitBranchable.
(FieldExpr.EmitBranchable): New.
* expression.cs (Unary.EmitSideEffect): New.
(Binary.EmitSideEffect): New.
(VariableReference.EmitSideEffect): New.  Do nothing.

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

16 years agoIntroduce 'EmitSideEffect'
Raja R Harinath [Wed, 16 Apr 2008 19:45:04 +0000 (19:45 -0000)]
Introduce 'EmitSideEffect'
* ecore.cs (Expression.EmitSideEffect): New.
(TypeCast): Rename from EmptyCast.
(EmptyCast): New.
(EmptyCast.EmitBranchable, EmptyCast.EmitSideEffect): Implement.
(BoxedCast.EmitBranchable, BoxedCast.EmitSideEffect): Implement.
* convert.cs, nullable.cs: Update to changes.

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

16 years agowhat about adding the files for real
Jb Evain [Wed, 16 Apr 2008 19:44:31 +0000 (19:44 -0000)]
what about adding the files for real

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

16 years ago2008-04-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 16 Apr 2008 19:43:02 +0000 (19:43 -0000)]
2008-04-16  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewColumnCollection.cs: Create a cached copy of our sorted
list and update it when the collection changes.  We were recreating
this several times per row paint and for every pixel the mouse moved
across the grid.
* DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
changes.

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

16 years ago2008-04-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 16 Apr 2008 19:28:00 +0000 (19:28 -0000)]
2008-04-16  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewColumnCollection.cs: Convert our internal sorted columns
list to use generics.
* DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
and remove unneccessay casts.

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

16 years ago2008-04-16 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 16 Apr 2008 19:20:13 +0000 (19:20 -0000)]
2008-04-16  Jb Evain  <jbevain@novell.com>

* configure.in, data/Makefile.am: add a smcs.pc file,
that moonlight can use to locate smcs.exe.

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

16 years ago2008-04-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 16 Apr 2008 18:57:53 +0000 (18:57 -0000)]
2008-04-16  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewBand.cs: Add internal way to set displayed variable.
* DataGridViewRow.cs: Don't paint cells in non-displayed columns.
* DataGridView.cs: Make sure we always keep track of Displayed
rows and columns, and only draw things that are displayed.

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

16 years agoNew test, update.
Marek Safar [Wed, 16 Apr 2008 18:29:39 +0000 (18:29 -0000)]
New test, update.

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

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

* class.cs, cs-parser.jay: Early check for base types expression.

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

16 years agoRemove over-eager Obsolete attribute -- we need to fix uses of
Raja R Harinath [Wed, 16 Apr 2008 16:31:00 +0000 (16:31 -0000)]
Remove over-eager Obsolete attribute -- we need to fix uses of
MemberName.MethodName

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

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

* decl.cs (MemberName): Declare PrettyName as obsolete.

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

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