mono.git
16 years ago2008-01-29 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 28 Jan 2008 23:02:26 +0000 (23:02 -0000)]
2008-01-29  Jb Evain  <jbevain@novell.com>

* Expression.cs, NewExpression.cs, ExpressionPrinter.cs:
implement the first flavors of New.

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

16 years ago2008-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 28 Jan 2008 22:47:03 +0000 (22:47 -0000)]
2008-01-29  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c: Add a FIXME.

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

16 years agoadd some tests for New
Jb Evain [Mon, 28 Jan 2008 22:27:51 +0000 (22:27 -0000)]
add some tests for New

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

16 years agoconfigure.in:
Wade Berrier [Mon, 28 Jan 2008 22:23:16 +0000 (22:23 -0000)]
configure.in:
-version bump -> 1.9

scripts: ignore mconfig script

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

16 years ago2008-01-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 28 Jan 2008 20:17:24 +0000 (20:17 -0000)]
2008-01-28  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutPanel.cs: Draw the table border at 0,0 instead of
table.Location.  [Fixes bug #354672]

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

16 years agoDocument
Miguel de Icaza [Mon, 28 Jan 2008 18:51:09 +0000 (18:51 -0000)]
Document

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

16 years agobug 9538
Roei Erez [Mon, 28 Jan 2008 17:47:55 +0000 (17:47 -0000)]
bug 9538

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

16 years agorefactoring
Igor Zelmanovich [Mon, 28 Jan 2008 16:32:35 +0000 (16:32 -0000)]
refactoring

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

16 years agoIn .:
Geoff Norton [Mon, 28 Jan 2008 16:07:15 +0000 (16:07 -0000)]
In .:
2008-01-28  Geoff Norton  <gnorton@novell.com>

* EventHandler.cs: Subscribe ot ResizeBegin and ResizeEnd events.
* WindowHandler.cs: Send WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE

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

16 years agowrap previous commit if NET_2_0, fixes build
Jonathan Pobst [Mon, 28 Jan 2008 16:04:09 +0000 (16:04 -0000)]
wrap previous commit if NET_2_0, fixes build

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

16 years ago2008-01-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 28 Jan 2008 15:47:56 +0000 (15:47 -0000)]
2008-01-24  Marek Habersack  <mhabersack@novell.com>

        * SoapDocumentationHandler.cs: use a fake virtual path to get the
        WSDL help generator.

        * WebServiceHandlerFactory.cs: use BuildManager.GetCompiledType
        for the 2.0+ profile to get the handler type.

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

16 years agoremoved TARGET_JVM ifdef
Igor Zelmanovich [Mon, 28 Jan 2008 15:36:52 +0000 (15:36 -0000)]
removed TARGET_JVM ifdef

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

16 years ago2008-01-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 28 Jan 2008 15:35:44 +0000 (15:35 -0000)]
2008-01-28  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to raise
ResizeBegin and ResizeEnd.  [Fixes bug #346529 for win32]

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

16 years agorefactoring
Igor Zelmanovich [Mon, 28 Jan 2008 15:33:13 +0000 (15:33 -0000)]
refactoring

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

16 years ago2008-01-28 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Mon, 28 Jan 2008 15:22:54 +0000 (15:22 -0000)]
2008-01-28  Jonathan Chambers  <joncham@gmail.com>

        * marshal.c: Add support for BSTR marshalling
        using other COM systems.

        Code is contributed under MIT/X11 license.

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

16 years agoFix for 9749. Support of backslash and bracket characters into character class for...
Arina Itkes [Mon, 28 Jan 2008 13:52:28 +0000 (13:52 -0000)]
Fix for 9749. Support of backslash and bracket characters into character class for IBM JVM.

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

16 years ago2008-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 28 Jan 2008 13:18:52 +0000 (13:18 -0000)]
2008-01-28 Rodrigo Kumpera  <rkumpera@novell.com>

* object.c (mono_runtime_invoke_array): reverted previous
commit as it breaks the build.

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

16 years ago2008-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 28 Jan 2008 13:17:59 +0000 (13:17 -0000)]
2008-01-28  Rodrigo Kumpera  <rkumpera@novell.com>

* Makefile.am: disabled bug-348522.2.cs until after release.

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

16 years ago2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 28 Jan 2008 11:59:48 +0000 (11:59 -0000)]
2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>

* Menu.js: dynamic nodes are positioned after hover style of
parent node is applied.

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

16 years ago2008-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 Jan 2008 10:41:37 +0000 (10:41 -0000)]
2008-01-28  Atsushi Enomoto  <atsushi@ximian.com>

* XNodeReader.cs : Fixed bug #356522. Attribute name retrieval was
  wrong.

* XNodeReaderTest.cs : test for bug #356522.

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

16 years ago2008-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 28 Jan 2008 04:49:33 +0000 (04:49 -0000)]
2008-01-28  Rodrigo Kumpera  <rkumpera@novell.com>

* bug-348522.2.cs: Added, tests for invoking by reflection
using bad arguments.

* Makefile.am: added bug-348522.2.cs.

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

16 years ago2008-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 28 Jan 2008 04:47:13 +0000 (04:47 -0000)]
2008-01-28 Rodrigo Kumpera  <rkumpera@novell.com>

* object.c (mono_runtime_invoke_array): Verify arguments for
invalid types. Fixes #348522.

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

16 years ago2008-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 28 Jan 2008 04:45:41 +0000 (04:45 -0000)]
2008-01-28 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: added IL_CODE_CALL_NONFINAL_VIRTUAL to track calls to
non-final virtual calls using call.

* verify.c (do_invoke): fixed some TODOs.

* verify.c (push_arg): set has_this_store for "ldarga 0".

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

16 years ago2008-01-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 28 Jan 2008 04:44:47 +0000 (04:44 -0000)]
2008-01-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBoxTest.cs: New SelectedTextWithBinding test - for #333750.

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

16 years ago2008-01-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 28 Jan 2008 04:43:08 +0000 (04:43 -0000)]
2008-01-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: When OnDisplayMemberChanged method is reached, instead
of doing all the re-bound work, just invalidate and call SetControlText
to set the updated text of selected item to our textbox.
Fixes #333750.

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

16 years ago* HtmlWindow.cs: Add event handler support. Add Document, Frames,
Andreia Gaita [Mon, 28 Jan 2008 01:53:17 +0000 (01:53 -0000)]
* HtmlWindow.cs: Add event handler support. Add Document, Frames,
IsClosed, Opener, StatusBarText, Url properties, stub out the remaining
missing properties and methods. Add Load, Unload, Error, GotFocus,
LostFocus, Resize, Scroll events (only load and unload are connected)

2008-01-28  Andreia Gaita <avidigal@novell.com>

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

16 years ago* Assembly/AssemblyInfo.cs: Version change
Andreia Gaita [Mon, 28 Jan 2008 01:41:15 +0000 (01:41 -0000)]
* Assembly/AssemblyInfo.cs: Version change

2008-01-28  Andreia Gaita <avidigal@novell.com>

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

16 years ago* Mono.WebBrowser/DOM/IWindow.cs, Mono.Mozilla/DOM/Window.cs:
Andreia Gaita [Mon, 28 Jan 2008 01:39:09 +0000 (01:39 -0000)]
* Mono.WebBrowser/DOM/IWindow.cs, Mono.Mozilla/DOM/Window.cs:
Add Document, Frames, StatusText properties, Load and Unload events.

* Mono.Mozilla/WebBrowser.cs: Add StatusText getter and update it on
callback. Add Load and Unload events and bubble them to the current
Window.

* Mono.Mozilla/ICallback.cs, Mono.Mozilla/Callback.cs: Rearrange callbacks,
FocusIn and FocusOut are now Focus and Blur. Add Load and Unload callbacks.

* Mono.Mozilla/DOM/DOMObject.cs: Add event handler support.

2008-01-28  Andreia Gaita <avidigal@novell.com>

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

16 years agoFix
Miguel de Icaza [Mon, 28 Jan 2008 00:51:41 +0000 (00:51 -0000)]
Fix

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

16 years ago2008-01-27 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 27 Jan 2008 22:02:56 +0000 (22:02 -0000)]
2008-01-27  Jb Evain  <jbevain@novell.com>

* ExpressionTest_Condition.cs: tests for compilation of
conditionals.

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

16 years ago2008-01-27 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 27 Jan 2008 22:02:31 +0000 (22:02 -0000)]
2008-01-27  Jb Evain  <jbevain@novell.com>

* ConditionalExpression.cs: implement Emit.

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

16 years agoinclude all top-level assemblies
Marek Habersack [Sun, 27 Jan 2008 21:58:48 +0000 (21:58 -0000)]
include all top-level assemblies

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

16 years agoForgot to give credit where credit is due
Marek Habersack [Sun, 27 Jan 2008 21:54:05 +0000 (21:54 -0000)]
Forgot to give credit where credit is due

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

16 years ago2008-01-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sun, 27 Jan 2008 21:50:10 +0000 (21:50 -0000)]
2008-01-27  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: GetReferencedAssemblies includes the extra
assemblies and the App_Code assemblies

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

16 years ago2008-01-27 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sun, 27 Jan 2008 21:42:31 +0000 (21:42 -0000)]
2008-01-27  Daniel Nauck <dna@mono-project.de>

* HttpHandlerAction.cs: fixed the internal method PathMatches ()
removed wrong caching of FileMatchingInfo classes with request specific
informations. Now we check against the current request path and cache
the result in a dictionary.
Also check correctly against all possible paths from the HttpHandler.

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

16 years ago* AccessibleObject.cs: Modified argument names to match MS.
Gert Driesen [Sun, 27 Jan 2008 20:04:53 +0000 (20:04 -0000)]
* AccessibleObject.cs: Modified argument names to match MS.
* Button.cs: Modified argument names to match MS.
* BindingContext.cs: Modified argument names to match MS.
* BindingMemberInfo.cs: Modified argument names to match MS.
* ButtonBase.cs: Modified argument names to match MS.
* ComboBox.cs: Modified argument names to match MS.
* Control.cs: Modified argument names to match MS.
* CheckedListBox.cs: Modified argument names to match MS.
* CommonDialog.cs: Modified argument names to match MS.
* DataGrid.cs: Modified argument names to match MS.
* CursorConverter.cs: Modified argument names to match MS.
* ControlPaint.cs: Modified argument names to match MS.
* CheckBox.cs: Modified argument names to match MS.
* ControlBindingsCollection.cs: Modified argument names to match MS.
* BindingSource.cs: Modified argument names to match MS.
* DataFormats.cs: Modified argument names to match MS.
* ContainerControl.cs: Modified argument names to match MS.
* CurrencyManager.cs: Modified argument names to match MS.
* Application.cs: Modified argument names to match MS.
* ContextMenuStrip.cs: Modified argument names to match MS.
* ContextMenu.cs: Modified argument names to match MS.
* BindingManagerBase.cs: Modified argument names to match MS.
* WindowsFormsSection.cs: Fixed line ending.

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

16 years ago2008-01-27 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 27 Jan 2008 19:16:10 +0000 (19:16 -0000)]
2008-01-27  Jb Evain  <jbevain@novell.com>

* ExpressionTest_Lambda.cs: add test for the
Lambda(Expression,ParameterExpression[]) method.

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

16 years ago2008-01-27 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 27 Jan 2008 19:15:48 +0000 (19:15 -0000)]
2008-01-27  Jb Evain  <jbevain@novell.com>

* Expression.cs: implement the last Lambda method.

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

16 years ago* ResXResourceReaderTest.cs: Added Mono-only ctor tests. Fixed
Gert Driesen [Sun, 27 Jan 2008 19:05:48 +0000 (19:05 -0000)]
* ResXResourceReaderTest.cs: Added Mono-only ctor tests. Fixed
and improved UseResXDataNodes test. Improved GetMetadataEnumerator
test.
* WriterTest.cs: Added Mono-only ctor tests.
* ResXFileRefTest.cs: Conversion to MemoryStream is only supported on
2.0 profile.
* ResXDataNodeTest.cs: Fixed line endings.

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

16 years ago* ResXResourceReader.cs: Avoid unnecessary initialization of
Gert Driesen [Sun, 27 Jan 2008 19:05:30 +0000 (19:05 -0000)]
* ResXResourceReader.cs: Avoid unnecessary initialization of
useResXDataNodes field. Modified argument names to match MS. When
UseResXDataNodes is true, then never use the metadata hashtable.
* ResXFileRef.cs: Only support convert from fileref to MemoryStream
on 2.0 profile.
* ResXResourceWriter.cs: Modified argument names to match MS.
* ResXDataNode: Fixed line endings.

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

16 years agoremove useless field
Jb Evain [Sun, 27 Jan 2008 18:16:19 +0000 (18:16 -0000)]
remove useless field

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

16 years ago2008-01-27 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 27 Jan 2008 18:15:42 +0000 (18:15 -0000)]
2008-01-27  Jb Evain  <jbevain@novell.com>

* LambdaExpression.cs: fix the Type of the LambdaExpressions.

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

16 years ago2008-01-27 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 27 Jan 2008 18:15:01 +0000 (18:15 -0000)]
2008-01-27  Jb Evain  <jbevain@novell.com>

* ExpressionTest_Lambda.cs: add tests to assert the type
of the LambdaExpressions.

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 Jan 2008 18:10:24 +0000 (18:10 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_handle_exception_internal): Remove the old style
altstack handling code.

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

16 years agosimplify
Jb Evain [Sun, 27 Jan 2008 17:57:00 +0000 (17:57 -0000)]
simplify

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

16 years agomake fields private
Jb Evain [Sun, 27 Jan 2008 17:50:56 +0000 (17:50 -0000)]
make fields private

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 Jan 2008 17:31:06 +0000 (17:31 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-s390.c (mono_arch_emit_exceptions): Really fix a warning.

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 Jan 2008 17:28:08 +0000 (17:28 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-s390.c: Add support for generic sharing.

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

16 years ago* PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
Andreia Gaita [Sun, 27 Jan 2008 17:25:20 +0000 (17:25 -0000)]
* PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
detecting that the dropdown toolwindow is hidden. EndLoop outside the
while.

2008-01-27  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 Jan 2008 17:25:11 +0000 (17:25 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (ves_icall_System_Security_SecurityFrame_GetSecurityFrame):
Fix CAS on s390.
(ves_icall_System_Security_SecurityFrame_GetSecurityStack): Ditto.

* mini-s390x.c (mono_arch_emit_exceptions): Fix a warning.

* mini-s390x.c: Add support for generic sharing.

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

16 years ago* CSharpCodeGenerator.cs: Avoid ArgumentNullException when
Gert Driesen [Sun, 27 Jan 2008 16:06:24 +0000 (16:06 -0000)]
* CSharpCodeGenerator.cs: Avoid ArgumentNullException when
CodeDelegateInvokeExpression.TargetObject is null.
* VBCodeGenerator.cs: In GenerateDelegateInvokeExpression, only emit
RaiseEvent statement on 2.0 profile if TargetObject is a
CodeEventReferenceExpression. Spaces to tabs and code formatting.
* CodeGenerator.cs: Fixed ArgumentException argument names. Indent
expression list.
* CodeGeneratorFromExpressionTest.cs: Copied some tests from VB, and
improved existing tests.
* CodeGeneratorFromExpressionTest.cs: Numbered tests. Fixed test for
DelegateInvokeExpression to pass on MS 2.0 and improved coverage.

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

16 years ago* IPAddress.cs (Parse): Changed argument name to match MS.
Gert Driesen [Sun, 27 Jan 2008 15:20:02 +0000 (15:20 -0000)]
* IPAddress.cs (Parse): Changed argument name to match MS.
(TryParse): Changed argument name to match MS.
(ParseIPV4): Only treat zero-length or " " address as empty on 1.0
profile. On 2.0 profile, only ignore characters after blank if last
part is valid hex string.
* IPv6Address.cs: Removed extra spaces and tabs.
* IPAddressTest.cs: Remove use of deprecated Assertion. Improved
existing tests.

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 Jan 2008 13:49:02 +0000 (13:49 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (ves_icall_System_Security_SecurityFrame_GetSecurityFrame):
Fix CAS on ia64.
(ves_icall_System_Security_SecurityFrame_GetSecurityStack): Ditto.

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 Jan 2008 13:29:41 +0000 (13:29 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-s390x.c: Use is_imm16 instead of is_uimm16 when checking whenever s390_aghi
can be used since it takes a 16 bit signed immediate.

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 Jan 2008 13:20:48 +0000 (13:20 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* inssel-s390x.brg: Fix OP_SETRET.

* mini-s390x.c (mono_arch_output_basic_block): Fix OP_BREAK.

* mini-codegen.c (mono_opcode_to_cond): Fix a warning.

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

16 years agoadded TARGET_JVM ifdefs
Igor Zelmanovich [Sun, 27 Jan 2008 12:24:31 +0000 (12:24 -0000)]
added TARGET_JVM ifdefs

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

16 years ago2008-01-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 27 Jan 2008 10:01:02 +0000 (10:01 -0000)]
2008-01-27  Igor Zelmanovich <igorz@mainsoft.com>

* HttpResponse.cs: rise PreSendRequestHeaders befire headers_sent
initialization to allow set additional headers or status code at
PreSendRequestHeaders event handlers.

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

16 years ago2008-01-27 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Sun, 27 Jan 2008 08:26:00 +0000 (08:26 -0000)]
2008-01-27  Olivier Dufour  <olivier.duff@gmail.com>

* Expression.cs, InvocationExpession.cs,
ListInitExpression.cs, MemberInitExpression.cs
NewExpression.cs : Add all missing
constructor in Expressions and remove the base one

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 Jan 2008 00:27:06 +0000 (00:27 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (reflection_methodbuilder_to_mono_method): Allow DynamicMethods
which belong to an inflated class. Fixes #356531.

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

16 years agoFix a typo.
Zoltan Varga [Sat, 26 Jan 2008 23:45:03 +0000 (23:45 -0000)]
Fix a typo.

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 23:44:22 +0000 (23:44 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-s390x.c cpu-s390x.md: Implement sext.i4 properly by sign extension.

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 22:45:20 +0000 (22:45 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_create_delegate_trampoline): Don't use mono_create_ftpntr here.

* mini-trampolines.c (mono_delegate_trampoline): Use mono_get_addr_froM_ftnptr
in one place.

* mini-ia64.h mini-ia64.c: Add minimal support for the delegate trampoline
stuff.

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

16 years ago* System.Windows.Forms.dll.sources: Moved PropertiesTab.cs from
Gert Driesen [Sat, 26 Jan 2008 22:10:40 +0000 (22:10 -0000)]
* System.Windows.Forms.dll.sources: Moved PropertiesTab.cs from
System.Windows.Forms to System.Windows.Forms.PropertyGridInternal.

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

16 years ago2008-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 22:06:52 +0000 (22:06 -0000)]
2008-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini.h inssel-x86.brg inssel-amd64.brg tramp-alpha.c tramp-ia64.c: Get rid
of the unused mono_arch_patch_delegate_trampoline stuff.

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

16 years ago* PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
Gert Driesen [Sat, 26 Jan 2008 22:03:52 +0000 (22:03 -0000)]
* PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
MS. Code formatting.

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 21:55:39 +0000 (21:55 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* basic-long.cs: Move the fp related tests to basic-float.cs.

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 21:47:09 +0000 (21:47 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* basic-long.cs: Move the fp related tests to basic-float.cs.

* mini-ops.h (OP_OUTARG_FREG_R4): New opcode.

* mini-ia64.c inssel-ia64.brg: Implement proper R4 argument passing.

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 21:46:05 +0000 (21:46 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* docs/mini-porting.txt: Add some info about the order the JIT regression
tests should be run.

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 21:27:20 +0000 (21:27 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* basic-calls.cs: Add a test for proper float argument passing.

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

16 years ago* System.Windows.Forms_test.dll.sources: Added ImageListStreamerTest.cs.
Gert Driesen [Sat, 26 Jan 2008 21:22:54 +0000 (21:22 -0000)]
* System.Windows.Forms_test.dll.sources: Added ImageListStreamerTest.cs.
* ImageListStreamerTest.cs: Added binary (de)serialization tests.

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

16 years ago2008-01-26 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sat, 26 Jan 2008 21:14:20 +0000 (21:14 -0000)]
2008-01-26  Daniel Nauck  <dna@mono-project.de>

* HttpWebRequest.cs: fixed typo. Use the actual uri for correct
cookie header informations and not the originally one.

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

16 years ago * BindingTest.cs: Add DataSourceNullTest test - for #324286.
Carlos Alberto Cortez [Sat, 26 Jan 2008 20:38:44 +0000 (20:38 -0000)]
* BindingTest.cs: Add DataSourceNullTest test - for #324286.

2008-01-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago * Binding.cs: Don't avoid the Format event if the control
Carlos Alberto Cortez [Sat, 26 Jan 2008 20:36:25 +0000 (20:36 -0000)]
* Binding.cs: Don't avoid the Format event if the control
property type is object. Also, if the value retrieved by
the data source is null _and_ the control proeprty type
is object, return Convert.DBNull (match .Net).
Fixes part of #324286.

2008-01-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 20:10:03 +0000 (20:10 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.h (mono_ia64_context_get_ip): Do not substract 1 from the ip
if the context corresponds to an exception received through a signal.

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 20:02:33 +0000 (20:02 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* nonvirt.cs: Removed, moved to mini/exceptions.cs.

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 20:01:01 +0000 (20:01 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* exceptions.cs: Add a test for nullref handling at the start of a try
clause.

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

16 years ago* ResourceWriter.cs: On 2.0 profile, do not mistakenly identify an
Gert Driesen [Sat, 26 Jan 2008 19:53:48 +0000 (19:53 -0000)]
* ResourceWriter.cs: On 2.0 profile, do not mistakenly identify an
enum as a predefined type. Fixes bug #325223.
* ResourceWriterTest.cs: Enabled test for writing enum value on 2.0
profile.

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 19:45:37 +0000 (19:45 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (mono_arch_call_opcode): Fix ia64 argument passing.

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

16 years ago2008-01-26 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sat, 26 Jan 2008 19:14:27 +0000 (19:14 -0000)]
2008-01-26  Daniel Nauck  <dna@mono-project.de>

* scripts/mono-service.in: fix compability with the dash shell,
it doesn't like the use of >& without a file descriptor

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

16 years ago2008-01-26 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sat, 26 Jan 2008 19:05:46 +0000 (19:05 -0000)]
2008-01-26  Daniel Nauck  <dna@mono-project.de>

* Cookie.cs: set Version to '1' if Port is set,
don't include path and domain informations when version is 0,
match ToString () output with .NET 2.0,
fixes bug #316017

* CookieTest.cs: enabled ToString () test,
added Version property test

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 18:28:17 +0000 (18:28 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* jit-icalls.c (mono_break): New JIT icall.

* mini-<ARCH>.c: Use mono_break instead of mono_arch_break.

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

16 years ago2008-01-26 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sat, 26 Jan 2008 15:54:20 +0000 (15:54 -0000)]
2008-01-26  Daniel Nauck  <dna@mono-project.de>

* CookieTest.cs: added tests for Cookie.ToString (), see bug #316017,
fixed line endings

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

16 years ago2008-01-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sat, 26 Jan 2008 14:02:42 +0000 (14:02 -0000)]
2008-01-26  Robert Jordan  <robertj@gmx.net>

* file-io.c: Implement and use wrappers for GetFileAttribute|Ex ()
which resort to FindFirstFile when a certain error condition
(ERROR_SHARING_VIOLATION) occured. Fixes bug #325212.
Code is contributed under MIT/X11 license.

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

16 years agoIn Test/System:
Robert Jordan [Sat, 26 Jan 2008 13:42:01 +0000 (13:42 -0000)]
In Test/System:
2008-01-23  Robert Jordan  <robertj@gmx.net>

* UriTest3.cs: Add tests for bug #346432.

In System:
2008-01-23  Robert Jordan  <robertj@gmx.net>

* Uri.cs (Parse): Handle uriString.Length == 1 as a valid relative URI.
Fixes #346432.

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

16 years ago2008-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 26 Jan 2008 10:01:07 +0000 (10:01 -0000)]
2008-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* XNodeReader.cs : fixed GetAttribute() that wrongly resulted in
  returning "" instead of null. Fixed bug #335975.

* XNodeReaderTest.cs : test for bug #335975.

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

16 years ago2008-01-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 26 Jan 2008 08:11:42 +0000 (08:11 -0000)]
2008-01-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControlTest.cs: Add SelectedValue2 test - for #324286.

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

16 years ago2008-01-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 26 Jan 2008 08:08:56 +0000 (08:08 -0000)]
2008-01-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: Since we are getting two BinginContextChanged events
for the same binding context instance (when the control is added to
form, and when the form is actually shown), take it into account only the
first time for a given binding context instance.
Fixes part of #324286.

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

16 years ago2008-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jan 2008 02:49:26 +0000 (02:49 -0000)]
2008-01-26  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (arm_patch): Add support for patching the blx calling sequence.

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

16 years ago2008-01-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 26 Jan 2008 02:00:52 +0000 (02:00 -0000)]
2008-01-26  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertryGridView.cs: Ops.

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

16 years ago2008-01-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 26 Jan 2008 01:34:18 +0000 (01:34 -0000)]
2008-01-26  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGridView.cs: Close dropdown form if the owner form is
 moved or minimized.
 [Fixes bug #322446]

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

16 years ago2008-01-25 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 25 Jan 2008 21:08:52 +0000 (21:08 -0000)]
2008-01-25  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs, GridItem.cs,
 RootGridEntry.cs, CategoryGridEntry.cs:
 PropertyGrid rewrite.
 - Rewrite all of the control logic in PropertyGrid.
 - Rewrite all of the ComponentModel logic in GridEntry.
 - Rewrite all UI work in PropertyGridView.
 - Many bugfixes, etc.

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

16 years ago* ActivationTests.cs: Only stop server if it was actually created.
Gert Driesen [Fri, 25 Jan 2008 20:41:57 +0000 (20:41 -0000)]
* ActivationTests.cs: Only stop server if it was actually created.
* RemotingServicesTest.cs: Always/only unregister channels if they were
actually created. More code formatting.

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

16 years ago* System.Runtime.Remoting_test.dll.sources: add TcpChannelTest.cs.
Gert Driesen [Fri, 25 Jan 2008 20:22:12 +0000 (20:22 -0000)]
* System.Runtime.Remoting_test.dll.sources: add TcpChannelTest.cs.
* RemotingServicesTest.cs: Do not hide exception that occur when
unregistering a channel. Code formatting and removed extra tabs.
* TcpChannelTest.cs: Added simple ctor test that covers bug #355905.
* System.Runtime.Remoting_test.dll.sources: add TcpChannelTest.cs.

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

16 years ago2008-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jan 2008 19:38:31 +0000 (19:38 -0000)]
2008-01-25  Zoltan Varga  <vargaz@gmail.com>

* TcpChannel.cs (Init): Handle properties == null.

* TcpClientChannel.cs (.ctor): Ditto. Fixes #355905.

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

16 years ago2008-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jan 2008 19:07:10 +0000 (19:07 -0000)]
2008-01-25  Zoltan Varga  <vargaz@gmail.com>

* cpu-*.md: Get rid of unused opcodes.

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

16 years ago2008-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jan 2008 18:51:40 +0000 (18:51 -0000)]
2008-01-25  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilder.cs (GenerateDebugInfo): Emit debug info for nested types as well.
Fixes #356316.

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

16 years ago2008-01-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 25 Jan 2008 18:15:21 +0000 (18:15 -0000)]
2008-01-25  Marek Safar  <marek.safar@gmail.com>

* report.cs: Correctly reset warnings count after probing.

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

16 years ago2008-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jan 2008 18:07:07 +0000 (18:07 -0000)]
2008-01-25  Zoltan Varga  <vargaz@gmail.com>

* cpu-g4.md: Rename this to cpu-ppc.md for consistency with other archs.

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

16 years ago2008-01-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 25 Jan 2008 17:47:40 +0000 (17:47 -0000)]
2008-01-25  Martin Baulig  <martin@ximian.com>

* namespace.cs
(NamespaceEntry.SymbolFileID): Make this work again after
MemberName.ToString() is gone.

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

16 years ago2008-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jan 2008 17:41:09 +0000 (17:41 -0000)]
2008-01-25  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Move mini-trampolines.c to $(common_sources) since it is now used
by all platforms.

* mini-<ARCH>.h mini.c: Get rid of the MONO_ARCH_HAVE_CREATE_SPECIFIC_TRAMPOLINE
define.

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