mono.git
16 years ago2008-04-25 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 25 Apr 2008 06:02:30 +0000 (06:02 -0000)]
2008-04-25  George Giolfan  <georgegiolfan@yahoo.com>

* System.Windows.Forms.dll.sources: Added IDeviceContext.cs.
* Application.cs: Included VisualStyles-related members in the 1.1 profile.
* ButtonRenderer.cs, CheckBoxRenderer.cs, Padding.cs, PaddingConverter.cs,
RadioButtonRenderer.cs: Included in the 1.1 profile.
* IDeviceContext.cs: Added.
* TextRenderer.cs: Included a member in the 1.1 profile.
* BooleanProperty.cs, CheckBoxState.cs, ColorProperty.cs, EdgeEffects.cs,
Edges.cs, EdgeStyle.cs, EnumProperty.cs, FileNameProperty.cs, FontProperty.cs,
HitTestCode.cs, HitTestOptions.cs, MarginProperty.cs, PointProperty.cs,
PushButtonState.cs, RadioButtonState.cs, StringProperty.cs, TextMetrics.cs,
TextMetricsCharacterSet.cs, TextMetricsPitchAndFamilyValues.cs,
ThemeSizeType.cs, UXTheme.cs, VisualStyleElement.cs,
VisualStyleInformation.cs, VisualStyleRenderer.cs, VisualStyleState.cs:
Included in the 1.1 profile.

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

16 years ago2008-04-25 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 25 Apr 2008 05:00:16 +0000 (05:00 -0000)]
2008-04-25  George Giolfan  <georgegiolfan@yahoo.com>

* ThemeWin32Classic.cs: Added ShouldPaintFocusRectangle(ButtonBase).

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

16 years ago2008-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 24 Apr 2008 22:33:38 +0000 (22:33 -0000)]
2008-04-25  Zoltan Varga  <vargaz@gmail.com>

* handles.c (_wapi_handle_check_share): Fix a crash introduced by the lazy
creation of wapi handle slots.

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

16 years ago2008-04-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 24 Apr 2008 20:23:01 +0000 (20:23 -0000)]
2008-04-24  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Use the three argument form of AC_DEFINE everywhere since it is
required by autoheader for parameters not in acconfig.h.

* acconfig.h: Removed, all the parameters are defined in configure.in now.

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

16 years ago2008-04-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 24 Apr 2008 19:22:09 +0000 (19:22 -0000)]
2008-04-24  Rodrigo Kumpera  <rkumpera@novell.com>

* runtime/Makefile.am (mcs-compileall): Turn on the verifier.

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

16 years ago2008-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 24 Apr 2008 19:17:11 +0000 (19:17 -0000)]
2008-04-23 Rodrigo Kumpera <rkumpera@novell.com>

* make_tests.sh: Add some tests for overlapping
aligned reference fields.

* Makefile: Added new test prefix typeunverifiable.
It should be used for tests that type fails to load
only under verifiable.

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

16 years agoForgotten changelog
Marek Habersack [Thu, 24 Apr 2008 18:27:44 +0000 (18:27 -0000)]
Forgotten changelog

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

16 years ago2008-04-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 24 Apr 2008 18:17:09 +0000 (18:17 -0000)]
2008-04-24 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_class_for_overlapping_reference_fields):
If class is under fulltrust allow reference types to overllap
if they have the same RVA.

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

16 years ago2008-04-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 24 Apr 2008 18:14:40 +0000 (18:14 -0000)]
2008-04-24 Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c: Added new flag valid-only, that makes the verifier
behaves just like --security=validil. It won't fail type load
due to unverifiable restrictions.

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

16 years agowe pass those
Jb Evain [Thu, 24 Apr 2008 17:15:26 +0000 (17:15 -0000)]
we pass those

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

16 years agoprotect against void types
Jb Evain [Thu, 24 Apr 2008 17:15:11 +0000 (17:15 -0000)]
protect against void types

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

16 years agooops
Jb Evain [Thu, 24 Apr 2008 17:11:33 +0000 (17:11 -0000)]
oops

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

16 years agorename
Jb Evain [Thu, 24 Apr 2008 17:08:52 +0000 (17:08 -0000)]
rename

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

16 years agotests for guards against void types
Jb Evain [Thu, 24 Apr 2008 17:08:21 +0000 (17:08 -0000)]
tests for guards against void types

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

16 years ago2008-04-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 24 Apr 2008 16:34:51 +0000 (16:34 -0000)]
2008-04-24  Jonathan Pobst  <monkey@jpobst.com>

* ErrorProvider.cs: Make the error icons come after the control
they refer to.  It isn't the way the MS does it, but its better
than what we were doing.  See bug #368587.

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

16 years ago2008-04-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 24 Apr 2008 16:31:23 +0000 (16:31 -0000)]
2008-04-24  Jonathan Pobst  <monkey@jpobst.com>

* InputLanguage.cs, InputLanguageCollection.cs: Apply patch
from Eric Albright that lazy loads the input language as ensures
everything gets properly initialized.  Fixes bug #373871.

2008-04-24  Jonathan Pobst  <monkey@jpobst.com>

* InputLanguageTest.cs: Add test for bug #373871.

2008-04-24  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms_test.dll.sources: Add InputLanguageTest.cs.

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

16 years agoFix test-636.cs. Sprinkle a few more 'EmitSideEffect's around
Raja R Harinath [Thu, 24 Apr 2008 16:04:50 +0000 (16:04 -0000)]
Fix test-636.cs.  Sprinkle a few more 'EmitSideEffect's around

* expression.cs (Unary.TryReduceConstant): Unwrap SideEffectConstant.
* statement.cs (While, Do, For): Allow test to have side effects.
(For.DoEmit): Always emit InitStatement.

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

16 years agoupdate test metadata
Raja R Harinath [Thu, 24 Apr 2008 15:44:12 +0000 (15:44 -0000)]
update test metadata

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

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

* ToolStrip.cs: Don't use ToolStripControlHosts when figuring up
implicit mnemonics.  [Fixes bug #383000]

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

16 years agoFix test-635.cs
Raja R Harinath [Thu, 24 Apr 2008 14:53:17 +0000 (14:53 -0000)]
Fix test-635.cs
* expression.cs (Binary.DoResolve) <BitwiseAnd with zero constant>:
Always create SideEffectConstant.
(Binary.EnumLiftUp): Don't assume that the enumeration constant is
of type EnumConstant.

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

16 years ago* expression.cs (Binary.EmitBranchable) <Equality with constant>:
Raja R Harinath [Thu, 24 Apr 2008 14:52:46 +0000 (14:52 -0000)]
* expression.cs (Binary.EmitBranchable) <Equality with constant>:
Handle 'right' being SideEffectConstant of type 'bool'.

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

16 years ago* expression.cs (Binary.EmitBranchable) <Equality with constant>:
Raja R Harinath [Thu, 24 Apr 2008 14:52:13 +0000 (14:52 -0000)]
* expression.cs (Binary.EmitBranchable) <Equality with constant>:
Use left.EmitBranchable instead of open coding it, so as to
improve optimization opportunities.

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

16 years ago* test-120.cs: Ensure we don't get falsely optimized out of the
Raja R Harinath [Thu, 24 Apr 2008 14:51:52 +0000 (14:51 -0000)]
* test-120.cs: Ensure we don't get falsely optimized out of the
AnsiClass check.  Also, ensure that only one of AnsiClass,
AutoClass or UnicodeClass is set.

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

16 years ago2008-04-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 24 Apr 2008 14:39:23 +0000 (14:39 -0000)]
2008-04-24  Marek Habersack  <mhabersack@novell.com>

* SqlDataSource.cs: raise the DataSourceChangedEvent when setting
ConnectionString, ProviderName or DataSourceMode properties only
when the new value differs from the old one. Fixes bug #359392

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

16 years agotest for emitting null strings
Jb Evain [Thu, 24 Apr 2008 12:22:22 +0000 (12:22 -0000)]
test for emitting null strings

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

16 years agoproperly emit null strings
Jb Evain [Thu, 24 Apr 2008 12:21:53 +0000 (12:21 -0000)]
properly emit null strings

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

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

* handles.c (shared_init): Align _wapi_fd_reserve to a multiple of
_WAPI_HANDLE_INITIAL_COUNT to avoid a problem when allocating handles.

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

16 years agotest for compiled Quote
Jb Evain [Thu, 24 Apr 2008 11:58:32 +0000 (11:58 -0000)]
test for compiled Quote

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

16 years ago2008-04-24 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 24 Apr 2008 11:58:05 +0000 (11:58 -0000)]
2008-04-24  Jb Evain  <jbevain@novell.com>

* UnaryExpression.cs, EmitContext.cs: implement compilation
of Quote as a global load.

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

16 years ago2008-04-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 24 Apr 2008 11:52:34 +0000 (11:52 -0000)]
2008-04-24  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: added a new overload of GetHandler which
allows the caller to ignore the handler found in the context
passed to the method.

* HttpServerUtility.cs: have HttpApplication.GetHandler ignore the
handler found in the current context when Execute'ing another
page. Fixes bug #316166

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

16 years ago2008-04-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 24 Apr 2008 11:32:53 +0000 (11:32 -0000)]
2008-04-23  Zoltan Varga  <vargaz@gmail.com>

* handles.c: Initialize the handle array entries on demand to save memory.

* wapi-private.h (_WAPI_HANDLE_INITIAL_COUNT): Decrease this to 256 to save
memory.

* handles-private.h (_WAPI_PRIVATE_MAX_SLOTS): Increase this to 1024*16 to
compensate for the decrease in _WAPI_HANDLE_INITIAL_COUNT.

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

16 years agomore tests
Jb Evain [Thu, 24 Apr 2008 11:27:53 +0000 (11:27 -0000)]
more tests

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

16 years agotests for last fixes
Jb Evain [Thu, 24 Apr 2008 11:23:58 +0000 (11:23 -0000)]
tests for last fixes

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

16 years agofix test
Jb Evain [Thu, 24 Apr 2008 11:13:55 +0000 (11:13 -0000)]
fix test

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

16 years agoproperly emit convert when the target and dest type are the same
Jb Evain [Thu, 24 Apr 2008 11:13:22 +0000 (11:13 -0000)]
properly emit convert when the target and dest type are the same

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

16 years agobox properly
Jb Evain [Thu, 24 Apr 2008 10:39:09 +0000 (10:39 -0000)]
box properly

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

16 years agoremove additional Attribute
Andreas N [Thu, 24 Apr 2008 07:34:10 +0000 (07:34 -0000)]
remove additional Attribute

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

16 years agoremove extra Attribute
Andreas N [Thu, 24 Apr 2008 07:33:22 +0000 (07:33 -0000)]
remove extra Attribute

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

16 years agosmall fix
Andreas N [Thu, 24 Apr 2008 07:32:18 +0000 (07:32 -0000)]
small fix

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

16 years agosmall fix
Andreas N [Thu, 24 Apr 2008 07:27:29 +0000 (07:27 -0000)]
small fix

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

16 years agofix guid
Andreas N [Thu, 24 Apr 2008 07:21:56 +0000 (07:21 -0000)]
fix guid

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

16 years ago * X11Dnd.cs: When canceling the operation, automatically restore the
Carlos Alberto Cortez [Thu, 24 Apr 2008 05:44:36 +0000 (05:44 -0000)]
* X11Dnd.cs: When canceling the operation, automatically restore the
default cursor - normally the default cursor is restored when the
mouse buttons are released, but we should be able to restore it even
if the buttons are still pressed (for example, when pressing ESC to
cancel).
Fixes #381894.

2008-04-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2008-04-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 24 Apr 2008 05:17:34 +0000 (05:17 -0000)]
2008-04-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Dnd.cs: When starting a new drad and drop operation, set control
field to null, just as the other fields, to avoid calling any
operation on a previous control. Also, when calling DndLeave on a
control, set it to null, thus we don't fire that event multiple times
for that control.
Fixes #209264.

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

16 years ago2008-04-23 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 24 Apr 2008 03:42:36 +0000 (03:42 -0000)]
2008-04-23  Geoff Norton  <gnorton@novell.com>

* XplatUICarbon.cs: Ensure that we have a valid hwnd before accessing
the whole_window object.  Fixes #377084.

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

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

* SessionStateModule.cs: reset the storage data item timeout to
the HttpApplication.Session.Timeout value after the Session_Start
event is fired. Fixes bug #382644

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

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

* AspComponentFoundry.cs: added a new GetComponentType overload
which returns component source and a boolean flag whether the
control was registered from web.config (2.0).

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

* RootBuilder.cs: when registering a custom control, add its path
to the parser dependencies. Fixes bug #377915
In the 2.0 profile, if the custom control being used was
registered from web.config and is found in the same directory what
the file being parsed, throw an exception. This behavior matches
MS.NET.

* TemplateParser.cs: added new VirtualPath property, which stores
the virtual path to the file being parsed.

* PageParser.cs: set the VirtualPath property in the 2.0 profile
when constructing the parser.

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

16 years ago2008-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 23 Apr 2008 21:01:40 +0000 (21:01 -0000)]
2008-04-23  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (mini_method_verify): Only verify non-inflated methods, check
against the root definition, peeling out method and type instantiations.
Cache verify success results, code that fails verification is still
checked multiple times.

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

16 years ago2008-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 23 Apr 2008 20:55:25 +0000 (20:55 -0000)]
2008-04-23 Rodrigo Kumpera  <rkumpera@novell.com>

class-internals.h (struct MonoMethod): Added a verification_success
field to cache verifier executions. Reduced MonoMethod:slot size by
one bit.

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

16 years ago* constant.cs (SideEffectConstant.EmitSideEffect): Simplify slightly.
Raja R Harinath [Wed, 23 Apr 2008 20:17:56 +0000 (20:17 -0000)]
* constant.cs (SideEffectConstant.EmitSideEffect): Simplify slightly.

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

16 years ago* ecore.cs (Expression.EmitBranchable): Document some non-obvious assumptions.
Raja R Harinath [Wed, 23 Apr 2008 20:17:28 +0000 (20:17 -0000)]
* ecore.cs (Expression.EmitBranchable): Document some non-obvious assumptions.
(Expression.EmitSideEffect): Document.

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

16 years ago* System.Windows.Forms/HtmlElement.cs: Implement RaiseEvent (event
Andreia Gaita [Wed, 23 Apr 2008 20:08:08 +0000 (20:08 -0000)]
* System.Windows.Forms/HtmlElement.cs: Implement RaiseEvent (event
  injection into the embedded browser)

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

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

16 years ago* Mono.Mozilla/DOM/Node.cs: No need to proxy event objects, they should
Andreia Gaita [Wed, 23 Apr 2008 20:01:48 +0000 (20:01 -0000)]
* Mono.Mozilla/DOM/Node.cs: No need to proxy event objects, they should
  already be proxied

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

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

16 years ago* Mono.Mozilla/DOM/Node.cs: Add support for different types of events
Andreia Gaita [Wed, 23 Apr 2008 19:56:20 +0000 (19:56 -0000)]
* Mono.Mozilla/DOM/Node.cs: Add support for different types of events
  that can be injected into the embedded browser

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

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

16 years ago2008-04-23 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 23 Apr 2008 19:26:21 +0000 (19:26 -0000)]
2008-04-23  Ivan N. Zlatev  <contact@i-nz.net>

* ControlTest.cs: Remove the focusing tests from the validation
test. They fail on X11 anyway due to a long standing X11 visibility
asynchronicity problem in MWF. The Vaildation test do pass.

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

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

* AssemblyInfo.cs: Added missing attributes

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

16 years agoFix the regression reported in #372897
Marek Habersack [Wed, 23 Apr 2008 19:06:58 +0000 (19:06 -0000)]
Fix the regression reported in #372897

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 19:01:37 +0000 (19:01 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years agotypo
Andreas N [Wed, 23 Apr 2008 18:59:16 +0000 (18:59 -0000)]
typo

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 18:58:30 +0000 (18:58 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 18:49:05 +0000 (18:49 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 18:44:36 +0000 (18:44 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 18:21:27 +0000 (18:21 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 17:40:57 +0000 (17:40 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* SWF2k5.sln: Fixed file to be in line with current build

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 17:26:59 +0000 (17:26 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 23 Apr 2008 17:19:58 +0000 (17:19 -0000)]
2008-04-23  Zoltan Varga  <vargaz@gmail.com>

* sgen-gc.c (OBJ_RUN_LEN_SIZE): Make this and other macros take a 'desc' argument
instead of a 'vt' argument to save an indirection and to allow these to be used
for valuetypes.
(scan_vtype): New helper function to scan an area using a gc descriptor.
(mono_gc_wbarrier_value_copy): Implement this.
(handle_remset): Add support for REMSET_VTYPE.
(find_in_remset_loc): Ditto.
(mono_gc_base_init): Allow some debugging options to be controlled through the
use of the MONO_GC_DEBUG env variable.
(mono_gc_alloc_obj): Add support the 'collect-before-allocs' debug option.
(collect_nursery): Add support for the 'check-at-minor-collection' debug option.

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

16 years ago2008-04-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 23 Apr 2008 17:14:43 +0000 (17:14 -0000)]
2008-04-23  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Avoid inserting write barriers for stores of null.

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

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

* DataGridViewColumnHeaderCell.cs: Implement some NIEX stuffs.

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

16 years ago2008-04-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Apr 2008 16:53:21 +0000 (16:53 -0000)]
2008-04-23  Martin Baulig  <martin@ximian.com>

* domain.c (mono_domain_create): Move the call to
mono_debug_domain_create() down, after allocating the domain id.

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

16 years agoMore tests.
Marek Safar [Wed, 23 Apr 2008 16:36:42 +0000 (16:36 -0000)]
More tests.

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

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

* expression.cs: Implemented NewArrayBounds, TypeIs, and TypeAs expressions.

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

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

* UnaryExpression.cs: start implementing EmitConvert.

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

16 years agomake CheckReferenceConversion protected
Jb Evain [Wed, 23 Apr 2008 16:26:38 +0000 (16:26 -0000)]
make CheckReferenceConversion protected

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

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

* ConstantExpression.cs (Emit): properly Emit null constants.

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

16 years agoEmitSideEffect used for if statement optimization.
Marek Safar [Wed, 23 Apr 2008 16:21:56 +0000 (16:21 -0000)]
EmitSideEffect used for if statement optimization.

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

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

* constant.cs, statement.cs: Use EmitSideEffect for constant if statement.

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

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

* TemplateParser.cs: constructs the VirtualPath using the current
parser's BaseVirtualDirectory. Fixes bug #381715
2008-04-23  Marek Habersack  <mhabersack@novell.com>

* VirtualPath.cs: introduced the CurrentRequestDirectory property,
which returns the virtual directory for the current request. The
information is taken from either current request's
CurrentExecutionFilePath property (if not null) or from the path
set externally (by setting the property or using the appropriate
VirtualPath constructor). The new property is used to construct
the correct absolute virtual path in the MakeRooted method. Fixes
bug #381715.

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

16 years ago2008-04-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 23 Apr 2008 16:02:10 +0000 (16:02 -0000)]
2008-04-23 Rodrigo Kumpera  <rkumpera@novell.com>

verify.c (verify_class_for_overlapping_reference_fields): Skip
static fields while verifying for overlapping fields as they
don't matter at all.

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

16 years ago2008-04-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 23 Apr 2008 15:31:33 +0000 (15:31 -0000)]
2008-04-23  Zoltan Varga  <vargaz@gmail.com>

* threads.c: Use #ifdef instead of #if for checking for valgrind/memcheck.h.

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

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

* DataGridViewRowHeaderTest.cs: Comment font dependent tests.

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

16 years ago2008-04-23 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 23 Apr 2008 14:07:45 +0000 (14:07 -0000)]
2008-04-23  Jonathan Chambers <joncham@gmail.com>

* mini-amd64.c (add_general): Always increment stack on Win64.
(mono_arch_call_opcode): Use OP_OUTARG_MEMBASE instead of OP_OUTARG
on Win64.

* inssel-amd64.brg (OP_OUTARG_MEMBASE): Add OP_OUTARG_MEMBASE for
stack based argument handling on Win64.

Code contributed under MIT/X11 license.

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

16 years ago2008-04-23 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Wed, 23 Apr 2008 13:47:38 +0000 (13:47 -0000)]
2008-04-23  George Giolfan  <georgegiolfan@yahoo.com>

* SWF2k5.sln: Fixed configuration to support the 1.1 profile.

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

16 years ago* Mono.Mozilla/DOM/Node.cs, Mono.WebBrowser/DOM/INode.cs: Add event
Andreia Gaita [Wed, 23 Apr 2008 13:41:38 +0000 (13:41 -0000)]
* Mono.Mozilla/DOM/Node.cs, Mono.WebBrowser/DOM/INode.cs: Add event
  firing capability
* Mono.Mozilla/interfaces/nsIDOMDocumentEvent.cs,
  Mono.Mozilla.dll.sources, Mono.Mozilla2K5.csproj: Interface to
  support firing events
* Mono.Mozilla/WebBrowser.cs: Hide away debug CWLs

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

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

16 years ago2008-04-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 23 Apr 2008 12:49:57 +0000 (12:49 -0000)]
2008-04-23  Marek Habersack  <mhabersack@novell.com>

* domain-internals.h: added a declaration of
mono_make_shadow_copy.

* assembly.c (mono_assembly_open_full): shadow copying of
assemblies moved to here, so that all the assemblies within the
application domain's private binary directories can be
processed. Fixes bug #380546

* appdomain.c (mono_make_shadow_copy): make_shadow_copy renamed to
mono_make_shadow_copy and made non-static. The decision whether
to shadow-copy an assembly is made based on its location - it's
copied if it's in one of the private application domain binary
directories and its different to the target file in the shadow
directory. Fixes bug #380546

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

16 years ago2008-04-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 23 Apr 2008 12:41:26 +0000 (12:41 -0000)]
2008-04-23  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: events registered from Application_Start are
silently ignored - any event registered after the one-time
application initialization is completed, is ignored. Fixes bug
#381971

* HttpApplicationFactory.cs: call app.DisposeInternal instead of
app.Dispose.

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

16 years agotest for last Constant change
Jb Evain [Wed, 23 Apr 2008 12:37:20 +0000 (12:37 -0000)]
test for last Constant change

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

16 years ago* Makefile.am (version.h): Add support for git-svn.
Raja R Harinath [Wed, 23 Apr 2008 12:33:54 +0000 (12:33 -0000)]
* Makefile.am (version.h): Add support for git-svn.

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

16 years ago2008-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 23 Apr 2008 11:49:52 +0000 (11:49 -0000)]
2008-04-23  Jb Evain  <jbevain@novell.com>

* Expression.cs (Constant): check for assignability, not for type
equality, when a type is passed.

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

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

* ExpressionPrinter.cs: ToString convert properly.

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

16 years agotests for Convert ToString
Jb Evain [Wed, 23 Apr 2008 11:47:51 +0000 (11:47 -0000)]
tests for Convert ToString

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

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

* AssemblyInfo.cs: Added missing attributes

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

16 years agoNew test.
Marek Safar [Wed, 23 Apr 2008 11:13:23 +0000 (11:13 -0000)]
New test.

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

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

* ecore.cs, expression.cs, delegate.cs: Implemeted delegate instantiation
conversion to expression tree.

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

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

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 11:05:17 +0000 (11:05 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Wed, 23 Apr 2008 11:03:52 +0000 (11:03 -0000)]
2008-04-23  George Giolfan  <georgegiolfan@yahoo.com>

* SWF2k5.csproj: Updated.

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 10:55:56 +0000 (10:55 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years agosmall fix
Andreas N [Wed, 23 Apr 2008 10:47:10 +0000 (10:47 -0000)]
small fix

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 10:42:18 +0000 (10:42 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 10:27:07 +0000 (10:27 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 10:19:53 +0000 (10:19 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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