mono.git
16 years agoNew test.
Marek Safar [Fri, 13 Jul 2007 19:26:34 +0000 (19:26 -0000)]
New test.

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

16 years agoNew tests.
Marek Safar [Fri, 13 Jul 2007 19:26:15 +0000 (19:26 -0000)]
New tests.

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

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 19:25:37 +0000 (19:25 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81917
* attribute.cs (AttributeTester.GetFixedBuffer): More robust testing.

* class.cs (FixedField): Check whether field is in unsafe scope.

* ecore.cs (FieldExpr.DoResolve): Create fixed buffer expression here.
(FieldExpr.Emit): Fixed buffers cannot be volatile.

* expression.cs (ElementAccess.Resolve): Move fixed buffers resolve to
FieldExpr.

* statement.cs (Fixed.Resolve): Simplified fixed buffers.

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

16 years ago2007-07-13 William Holmes <billholmes54@gmail.com>
Andreia Gaita [Fri, 13 Jul 2007 18:09:37 +0000 (18:09 -0000)]
2007-07-13 William Holmes <billholmes54@gmail.com>

* Control.cs: Changing logic in FindFlatForward and
  FindFlatBackward to handle multiple Controls with
  the same TabIndex.
  This fixes bug 81687.

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

16 years ago2007-07-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 13 Jul 2007 16:59:59 +0000 (16:59 -0000)]
2007-07-13  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* culture-info-table.h: Forgot to update after r78304.

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

16 years agoAdd missing test
Miguel de Icaza [Fri, 13 Jul 2007 16:16:24 +0000 (16:16 -0000)]
Add missing test

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

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 14:56:04 +0000 (14:56 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, class.cs, decl.cs, driver.cs, namespace.cs,
rootcontext.cs, expression.cs, statement.cs: Updated to use WarningLevel
from Report class.

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

16 years agoMessage updated
Marek Safar [Fri, 13 Jul 2007 14:14:18 +0000 (14:14 -0000)]
Message updated

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

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 14:13:06 +0000 (14:13 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

* ecore.cs (FieldExpr.AddressOf): Less confusing warning message.

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

16 years agoNew test.
Marek Safar [Fri, 13 Jul 2007 13:49:48 +0000 (13:49 -0000)]
New test.

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

16 years ago2007-07-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 13 Jul 2007 13:48:47 +0000 (13:48 -0000)]
2007-07-13  Jonathan Pobst  <monkey@jpobst.com>

* OSFeature.cs: Enable IsPresent.

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

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 13:43:14 +0000 (13:43 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs (AnonymousMethodExpression): Parameters are r/o.
(AnonymousContainer.ResolveNoDefine): Another ec to aec flag conversion.

* codegen.cs(EmitContext): Add ProbingMode flag.

* delegate.cs (DelegateInvocation): Set few instance variables as r/o.

* driver.cs: For now set both warning values.

* ecore.cs (SimpleName): Name is readonly.
(MethodGroup.OverloadResolve): One quick path for probing.

* expression.cs (Unary): Set Oper r/o.
(Binary): Set Oper r/o.
(ParameterReference): Set few instance variables as r/o.
(ParameterReference.DoResolveBase): Don't capture aruments when
the probing is on.
(Invocation.CloneTo): Fixed typo, looks easy, yeah.
(Arglist): arguments are private.
(SizeOf): type is private and r/o.
(MemberAccess): arguments are private.

* report.cs: Enhanced reporting on/off capabilities.

* lambda.cs: Uses ec.IsInProbingMode.
(ContextualReturn): Derives from return.

* rootcontext.cs: For now set both warning values.

* statement.cs (CloneContext.RemapBlockCopy): Remaps block to cloned
copy if one exists.
(Return.Resolve): Don't die immediately.
(Block.Resolve): Speed-up probing.
(Block.CloneTo): Clone only child blocks.

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

16 years agoTest based on #82064 (Miguel's commit)
Marek Safar [Fri, 13 Jul 2007 13:08:28 +0000 (13:08 -0000)]
Test based on #82064 (Miguel's commit)

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

16 years ago* class.c (mono_class_is_open_constructed_type)
Raja R Harinath [Fri, 13 Jul 2007 12:57:32 +0000 (12:57 -0000)]
* class.c (mono_class_is_open_constructed_type)
<MONO_TYPE_GENERICINST>: Don't recompute a computed field.

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

16 years agoUpdate expected error message (sic)
Raja R Harinath [Fri, 13 Jul 2007 12:33:24 +0000 (12:33 -0000)]
Update expected error message (sic)

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

16 years agoNew test.
Marek Safar [Fri, 13 Jul 2007 12:20:49 +0000 (12:20 -0000)]
New test.

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

16 years ago* Control.cs: Don't do anything in WmShowWindow if the control has been
Rolf Bjarne Kvinge [Fri, 13 Jul 2007 11:51:54 +0000 (11:51 -0000)]
* Control.cs: Don't do anything in WmShowWindow if the control has been
  disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  control is created, put on a form, the control is disposed (the
  form is never shown), and then we get a MapNotify, triggering a
  WM_SHOWWINDOW.
* Form.cs: Exclude the current form when sending Deactivate to all
  MdiChildren.
* NativeWindow.cs: Set WindowCreating to null as soon as possible,
  there was a race condition because assigning the handle raises
  events, we can get more messages, therefore trying to assign the
  handle again, which would fail if any of those event handlers
  closed/disposed the control.

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

16 years agoFri Jul 13 12:46:15 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 13 Jul 2007 10:34:43 +0000 (10:34 -0000)]
Fri Jul 13 12:46:15 CEST 2007 Paolo Molaro <lupus@ximian.com>

* handles-private.h, handles.c, thread-private.h, threads.c,
uglify.h, wait.c: temporarily revert the alertable wait changes
(r79386) until the deadlock issues are fixed.

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

16 years agore-styled
Marek Safar [Fri, 13 Jul 2007 10:28:17 +0000 (10:28 -0000)]
re-styled

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

16 years agoRevert some Miguel's weirdness
Marek Safar [Fri, 13 Jul 2007 10:24:52 +0000 (10:24 -0000)]
Revert some Miguel's weirdness

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

16 years agoIf a test doesn't finish in 2 minutes, consider it faulty.
Paolo Molaro [Fri, 13 Jul 2007 10:00:30 +0000 (10:00 -0000)]
If a test doesn't finish in 2 minutes, consider it faulty.

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

16 years ago* Form.cs: Make the fix for #80775 windows-only (fixes #81957).
Rolf Bjarne Kvinge [Fri, 13 Jul 2007 09:16:14 +0000 (09:16 -0000)]
* Form.cs: Make the fix for #80775 windows-only (fixes #81957).

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

16 years agoFri Jul 13 11:19:28 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 13 Jul 2007 09:06:35 +0000 (09:06 -0000)]
Fri Jul 13 11:19:28 CEST 2007 Paolo Molaro <lupus@ximian.com>

* iterators.cs: reverted Miguel's latest change (r81925) as it
breaks the build in System.

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

16 years agoAdd new test csae for bug 82080
Miguel de Icaza [Fri, 13 Jul 2007 06:16:38 +0000 (06:16 -0000)]
Add new test csae for bug 82080

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

16 years ago2007-07-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 13 Jul 2007 06:16:11 +0000 (06:16 -0000)]
2007-07-13  Miguel de Icaza  <miguel@novell.com>

* iterators.cs (Yield.CheckContext): Check for the iterator type
also here as we can call into Yield even in codepaths that are not
directly checked by
(MethodOrOperator is the only path that was checked).

In addition to the standard check, use a more specific check for
constructors to report a more verbose error.

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

16 years ago* PropertyDescriptorTests.cs: Added tests for Igor's fixes for
Gert Driesen [Fri, 13 Jul 2007 03:11:17 +0000 (03:11 -0000)]
* PropertyDescriptorTests.cs: Added tests for Igor's fixes for
ShouldSerializeValue.

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

16 years ago2007-07-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 12 Jul 2007 23:25:39 +0000 (23:25 -0000)]
2007-07-12  Miguel de Icaza  <miguel@novell.com>

* ecore.cs (FieldExpr.AddressOf): Do not stop processing here,
report the warning and continue

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

16 years ago2007-07-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 12 Jul 2007 22:54:01 +0000 (22:54 -0000)]
2007-07-12  Miguel de Icaza  <miguel@novell.com>

* statement.cs (Using.EmitLocalVariableDecls): We were leaving
values on the stack on the call to Emit.   Use EmitStatement if
possible, or using Emit + Pop if not possible.   Fixes #82064

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

16 years agomove old Makefile to standalone.make
Jb Evain [Thu, 12 Jul 2007 22:48:24 +0000 (22:48 -0000)]
move old Makefile to standalone.make

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

16 years agoMove
Miguel de Icaza [Thu, 12 Jul 2007 22:28:49 +0000 (22:28 -0000)]
Move

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

16 years agoUse 8-space tabs, aligns
Miguel de Icaza [Thu, 12 Jul 2007 21:34:56 +0000 (21:34 -0000)]
Use 8-space tabs, aligns

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

16 years ago2007-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 12 Jul 2007 21:13:39 +0000 (21:13 -0000)]
2007-07-12  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_bounded_array_class_get):  method fails if used with
an incomplete TypeBuilder enum (no basetype field), fixed it by
avoiding calculating the size for such array as it cannot be instantiated.
Fix bug #82015

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

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

* SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
XplatUIWin32.cs: Implement SystemInformation 2.0 properties.

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

16 years ago2007-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 12 Jul 2007 20:17:32 +0000 (20:17 -0000)]
2007-07-12  Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Added test for MakeArrayType with incomplete enum type. Related to bug #82015

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

16 years ago2007-07-12 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 12 Jul 2007 18:04:35 +0000 (18:04 -0000)]
2007-07-12  Geoff Norton  <gnorton@customerdna.com>

    * HttpListenerContext.cs:
    * HttpListener.cs: Handle HttpListener AuthenticationSchemes
    Only Basic authentication is included for now.

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

16 years ago* CollectionEditor.cs: Implement CreateInstance for 1.1 profile (patch
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 16:25:18 +0000 (16:25 -0000)]
* CollectionEditor.cs: Implement CreateInstance for 1.1 profile (patch
  by Andreas Nahr).

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

16 years ago* PropertyDescriptorTests.cs: Added GetEditorTest.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 16:13:29 +0000 (16:13 -0000)]
* PropertyDescriptorTests.cs: Added GetEditorTest.

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

16 years ago* PropertyDescriptor.cs: GetEditor: We have to check the property
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 16:11:26 +0000 (16:11 -0000)]
* PropertyDescriptor.cs: GetEditor: We have to check the property
  itself for attributes as well, not only the property type.
* TypeDescriptor.cs: Make a couple of methods internal so that
  PropertyDescriptor can use them.

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

16 years ago* TypeDescriptor.cs: GetEditor: Make sure the static constructor of the
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 15:34:17 +0000 (15:34 -0000)]
* TypeDescriptor.cs: GetEditor: Make sure the static constructor of the
  editors basetype is called, since that's where we're initializing
  the editor table.

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

16 years ago* DateTimePicker.cs: If there's no part format specifier, return an
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 14:31:35 +0000 (14:31 -0000)]
* DateTimePicker.cs: If there's no part format specifier, return an
  empty string.

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

16 years ago* class-internals.h (_MonoGenericInst::is_reference): Remove bogus field.
Raja R Harinath [Thu, 12 Jul 2007 14:21:40 +0000 (14:21 -0000)]
* class-internals.h (_MonoGenericInst::is_reference): Remove bogus field.
* metadata.c, reflection.c: Update to changes.

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

16 years agoFix my ChangeLog entry.
Jonathan Pobst [Thu, 12 Jul 2007 13:52:47 +0000 (13:52 -0000)]
Fix my ChangeLog entry.

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

16 years ago2007-07-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 12 Jul 2007 13:50:03 +0000 (13:50 -0000)]
2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* FlatButtonAppearance.cs: Throw NotSupportedException for a
Transparent BorderColor.

2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* ButtonPainter.cs: For Flat button, if BorderSize is 0, don't
draw the rectangle.  Setting the pen's width to 1 isn't good
enough, it still draws the border.  [Fixes bug #82081]

2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* ButtonTest.cs: Add test showing a NSE if Flat BorderSize is 0.

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

16 years ago* expression.cs (Invocation.IsApplicable): Reorganize slightly to
Raja R Harinath [Thu, 12 Jul 2007 13:22:35 +0000 (13:22 -0000)]
* expression.cs (Invocation.IsApplicable): Reorganize slightly to
avoid try...finally in some cases.

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

16 years ago2007-07-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Jul 2007 13:18:35 +0000 (13:18 -0000)]
2007-07-12  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_get_vcall_slot_addr): Add support for IMT call sequences.

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

16 years ago* build-csproj2k5-tests: Remove warnings.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 13:11:15 +0000 (13:11 -0000)]
* build-csproj2k5-tests: Remove warnings.
* SWF2k5.csproj, SWF2k5-tests.csproj: Updated.
* build-csproj2k5: Ignore obsolete warnings in VS as well.

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

16 years ago* Makefile: Ignore obsolete warnings.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 12:52:50 +0000 (12:52 -0000)]
* Makefile: Ignore obsolete warnings.

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

16 years ago* RTF.cs: Remove warning.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 12:49:51 +0000 (12:49 -0000)]
* RTF.cs: Remove warning.

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

16 years ago* DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 12:49:35 +0000 (12:49 -0000)]
* DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  Remove warnings.
* X11Structs.cs: Remove warnings, add ToString implementations.

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

16 years ago2007-07-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 12 Jul 2007 12:09:08 +0000 (12:09 -0000)]
2007-07-12  Marek Habersack  <mhabersack@novell.com>

* HostingEnvironment.cs: allow relative paths to be
passed. Matches both MSDN and the MS.NET behavior. Fixes bug
#82061.

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

16 years ago2007-07-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 12 Jul 2007 11:56:21 +0000 (11:56 -0000)]
2007-07-12  Mark Probst  <mark.probst@gmail.com>

* mini.c (check_linkdemand, mono_method_to_ir): Abort compilation
as soon as check_linkdemand sets an exception_type.

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

16 years agoThu Jul 12 12:18:22 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 12 Jul 2007 10:05:16 +0000 (10:05 -0000)]
Thu Jul 12 12:18:22 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: fixed offsets for IMT call sequence.
* mini-x86.h: enable IMT again.

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

16 years ago* ClientScriptManager.cs: refactored event validation data structure
Vladimir Krasnov [Thu, 12 Jul 2007 09:26:28 +0000 (09:26 -0000)]
* ClientScriptManager.cs: refactored event validation data structure
* Page.cs: fixed InternalProcessRequest, event validation list should be cleared before render

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 09:23:36 +0000 (09:23 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial4

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 08:54:30 +0000 (08:54 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial3

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

16 years agoHttpResponseStream.jvm.cs: typo bug fixed
Vladimir Krasnov [Thu, 12 Jul 2007 08:52:07 +0000 (08:52 -0000)]
HttpResponseStream.jvm.cs: typo bug fixed

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

16 years ago2007-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 12 Jul 2007 08:31:57 +0000 (08:31 -0000)]
2007-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* XmlWriter.cs : in WriteNode(XPathNavigator,bool), default namespace
  is broken. Fixed bug #82051.

* XmlWriterTests.cs : added test for bug #82051.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 08:25:32 +0000 (08:25 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial2

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 08:02:19 +0000 (08:02 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial1

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 07:41:40 +0000 (07:41 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingClientResourcesWalkthrough

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

16 years ago2007-07-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 11 Jul 2007 22:55:57 +0000 (22:55 -0000)]
2007-07-11  Rodrigo Kumpera  <rkumpera@novell.com>
* class.c, class-internal.h: added mono_type_is_valid_enum_basetype and
mono_class_is_valid_enum, they are used to valide a enum when loading.
* reflection.c: used new functions to throw TypeLoadException when and
invalid enum is build with TypeBuilder. Fixes #82018

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

16 years ago2007-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 11 Jul 2007 20:03:05 +0000 (20:03 -0000)]
2007-07-11  Zoltan Varga  <vargaz@gmail.com>

* trace.c (mono_trace_enter_method): Decode MonoType too.

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

16 years ago2007-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 11 Jul 2007 20:02:26 +0000 (20:02 -0000)]
2007-07-11  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_get_vcall_slot_addr): Handle signed displacements too.

* mini.h mini-x86.h mini-trampolines.c: Change the signature of mono_arch_find_imt_method () to pass the calling code address too.

* mini-amd64.c: Add preliminary IMT implementation.

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

16 years agoIn System.Reflection.Emit:
Rodrigo Kumpera [Wed, 11 Jul 2007 19:52:35 +0000 (19:52 -0000)]
In System.Reflection.Emit:
2007-07-11  Rodrigo Kumpera <rkumpera@novell.com>

* TypeBuilder.cs (CreateType): method did not check for enum type with defined methods and fixed compatibility issue in case of calling CreateType again after the first one failed, it now returns null as well.

In Test/System.Reflection.Emit:
2007-07-11  Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Added tests for enum creation. These tests are related to bugs #82018 and #82075

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

16 years agoadd pkg here
Miguel de Icaza [Wed, 11 Jul 2007 19:03:46 +0000 (19:03 -0000)]
add pkg here

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

16 years agoadd pkg here
Miguel de Icaza [Wed, 11 Jul 2007 18:54:32 +0000 (18:54 -0000)]
add pkg here

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

16 years agofix mono_path
Jb Evain [Wed, 11 Jul 2007 18:42:15 +0000 (18:42 -0000)]
fix mono_path

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

16 years agoDisable IMT for now.
Paolo Molaro [Wed, 11 Jul 2007 18:40:31 +0000 (18:40 -0000)]
Disable IMT for now.

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

16 years agoImprove the description for smcs, fix the debugging section, prettify
Miguel de Icaza [Wed, 11 Jul 2007 17:35:43 +0000 (17:35 -0000)]
Improve the description for smcs, fix the debugging section, prettify
the -pkg section, and update the -pkg section

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

16 years agohopefully fix make dist
Jb Evain [Wed, 11 Jul 2007 17:06:35 +0000 (17:06 -0000)]
hopefully fix make dist

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

16 years agoWed Jul 11 18:21:30 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jul 2007 16:09:37 +0000 (16:09 -0000)]
Wed Jul 11 18:21:30 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: adjusted mono_arch_get_vcall_slot_addr () to
understand the new IMT-base interface invocation (thanks to
Daniel Nauck for the report and the remote debugging session).

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

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 16:06:48 +0000 (16:06 -0000)]
2007-07-11  Jb Evain <jbevain@novell.com>

* mcs.1: add info about smcs.

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

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 15:35:15 +0000 (15:35 -0000)]
2007-07-11  Jb Evain  <jbevain@novell.com>

* scripts/smcs.in, scripts/Makefile.am: new smcs script.

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

16 years agoAdd all the docs to the distribution
Miguel de Icaza [Wed, 11 Jul 2007 15:23:32 +0000 (15:23 -0000)]
Add all the docs to the distribution

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

16 years agodelete the link if already present before re-creating it
Jb Evain [Wed, 11 Jul 2007 15:19:27 +0000 (15:19 -0000)]
delete the link if already present before re-creating it

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

16 years ago* XplatUIX11.cs: Translate min/max size according to the actual min/max
Rolf Bjarne Kvinge [Wed, 11 Jul 2007 14:59:46 +0000 (14:59 -0000)]
* XplatUIX11.cs: Translate min/max size according to the actual min/max
  size, and not the current size. Fixes #81798.

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

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 14:49:45 +0000 (14:49 -0000)]
2007-07-11  Jb Evain  <jbevain@novell.com>

* scripts/slmcs.in, scripts/Makefile.am: new slmcs script.

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

16 years agoon 2.1 install, create a link to the 2.0 gmcs in prefix/2.1
Jb Evain [Wed, 11 Jul 2007 14:37:51 +0000 (14:37 -0000)]
on 2.1 install, create a link to the 2.0 gmcs in prefix/2.1

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

16 years agoldap test server change
Yaacov Akiba Slama [Wed, 11 Jul 2007 14:29:03 +0000 (14:29 -0000)]
ldap test server change

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

16 years ago* XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
Rolf Bjarne Kvinge [Wed, 11 Jul 2007 14:22:34 +0000 (14:22 -0000)]
* XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  to the control yet).

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

16 years agoDocumentation on the arch-specific IMT code.
Paolo Molaro [Wed, 11 Jul 2007 13:56:53 +0000 (13:56 -0000)]
Documentation on the arch-specific IMT code.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 11 Jul 2007 13:52:27 +0000 (13:52 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : StringBuilder

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 11 Jul 2007 13:20:00 +0000 (13:20 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : ResourcesInScriptFile

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

16 years ago2007-07-11 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 11 Jul 2007 13:09:16 +0000 (13:09 -0000)]
2007-07-11  Igor Zelmanovich <igorz@mainsoft.com>

* ReflectionPropertyDescriptor: fixed ShouldSerializeValue:
MSDN: If this method cannot find a DefaultValueAttribute or
a ShouldSerializeMyProperty method, it cannot create optimizations
and it returns true.

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

16 years agoWed Jul 11 14:54:39 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jul 2007 12:42:22 +0000 (12:42 -0000)]
Wed Jul 11 14:54:39 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: size and speed optimizations for the IMT bsearch.

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

16 years agoWed Jul 11 14:47:07 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jul 2007 12:35:14 +0000 (12:35 -0000)]
Wed Jul 11 14:47:07 CEST 2007 Paolo Molaro <lupus@ximian.com>

* object.c: forgot commit of mono_class_setup_methods () to access
iface->methods.
* object-internals.h: added a few more handy fields to
MonoIMTCheckItem.

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

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 12:27:24 +0000 (12:27 -0000)]
2007-07-11  Jb Evain  <jbevain@novell.com>

* profiles/net_2_1.make: work on the 2_1 profile.

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

16 years ago2007-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 11 Jul 2007 12:06:38 +0000 (12:06 -0000)]
2007-07-11  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (aotcheck): Make this actually use the AOTed code.

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

16 years ago* PropertyGridTextBox.cs: Add a method that sends any forwarded
Rolf Bjarne Kvinge [Wed, 11 Jul 2007 12:05:15 +0000 (12:05 -0000)]
* PropertyGridTextBox.cs: Add a method that sends any forwarded
  mousedowns to the contained textbox.
* X11Structs.cs: More ToString implementation.
* PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  #81791.

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

16 years ago2007-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 11 Jul 2007 11:52:52 +0000 (11:52 -0000)]
2007-07-11  Zoltan Varga  <vargaz@gmail.com>

* object.c (build_imt): Call mono_class_setup_methods () before accessing
iface->methods.

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

16 years ago* Makefile.am (bug-81673.exe): Look for bug-81673.cs in $(srcdir).
Raja R Harinath [Wed, 11 Jul 2007 11:40:15 +0000 (11:40 -0000)]
* Makefile.am (bug-81673.exe): Look for bug-81673.cs in $(srcdir).

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

16 years ago2007-07-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 11 Jul 2007 11:37:37 +0000 (11:37 -0000)]
2007-07-11  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs : looks like I introduced extra Settings check at
  r69383. Fixed bug #82062.

* XmlReaderSettingsTests.cs : added test for bug #82062.

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

16 years ago2007-07-11 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 11 Jul 2007 11:17:21 +0000 (11:17 -0000)]
2007-07-11 Igor Zelmanovich <igorz@mainsoft.com>

* AssemblyResourceLoader.cs:
for System.Web.Extensions only:
ScriptResourceName may include ".resource" suffix.

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

16 years agoIn .:
Raja R Harinath [Wed, 11 Jul 2007 11:13:13 +0000 (11:13 -0000)]
In .:
2007-07-11  Ankit Jain  <jankit@novell.com>

* System_test.dll.sources: Add ProcessStartInfoTest.cs.

In System.Diagnostics:
2007-07-11  Ankit Jain  <jankit@novell.com>

* ProcessStartInfo.cs (WorkingDirectory.set): Don't set
working_directory to null.

In Test/System.Diagnostics:
2007-07-11  Ankit Jain  <jankit@novell.com>

* ProcessStartInfoTest.cs: New.

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

16 years agoWed Jul 11 12:41:32 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jul 2007 10:34:21 +0000 (10:34 -0000)]
Wed Jul 11 12:41:32 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-trampolines.c: implement AOT IMT support.
* mini-x86.h: enable IMT support for wider testing.

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

16 years agosvn path=/trunk/mcs/; revision=81777
Marek Safar [Wed, 11 Jul 2007 09:53:09 +0000 (09:53 -0000)]
svn path=/trunk/mcs/; revision=81777

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 09:48:51 +0000 (09:48 -0000)]
2007-07-11  Jb Evain  <jbevain@novell.com>

* Makefile: work on the 2.1 profile.

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

16 years ago* PropertyGridView.cs: Add a null-check, fixes a few tests.
Rolf Bjarne Kvinge [Wed, 11 Jul 2007 09:21:47 +0000 (09:21 -0000)]
* PropertyGridView.cs: Add a null-check, fixes a few tests.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 11 Jul 2007 08:52:31 +0000 (08:52 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : ErrorTypeExtensions

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 11 Jul 2007 08:40:12 +0000 (08:40 -0000)]
By   : Yonik <yonik@mainsoft.com>
Add tests to Test Suite file

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