mono.git
16 years ago2008-01-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Jan 2008 15:48:56 +0000 (15:48 -0000)]
2008-01-16  Zoltan Varga  <vargaz@gmail.com>

* DateTimeOffset.cs: Fix warnings.

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

16 years ago2008-01-16 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 16 Jan 2008 15:08:23 +0000 (15:08 -0000)]
2008-01-16  Dick Porter  <dick@ximian.com>

* threads.c (_wapi_thread_set_termination_details): Move the
thread abandonment to outside the shared handle lock.  Fixes bug
349680.

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

16 years agoNewline at end of file
Marek Safar [Wed, 16 Jan 2008 14:58:17 +0000 (14:58 -0000)]
Newline at end of file

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

16 years ago2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 16 Jan 2008 14:46:49 +0000 (14:46 -0000)]
2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>

* Wizard.cs:
manage history state on "MovePrevious" action.

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

16 years ago2008-01-16 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 16 Jan 2008 14:38:32 +0000 (14:38 -0000)]
2008-01-16  Dick Porter  <dick@ximian.com>

* versioninfo.c (VerQueryValue): Include trailing null in returned
string length, for MS compatibility.

2008-01-16  Dick Porter  <dick@ximian.com>

* process.c (process_module_string_read): Remove trailing null
when saving string.

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

16 years ago2008-01-16 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 16 Jan 2008 14:27:44 +0000 (14:27 -0000)]
2008-01-16  Juraj Skripsky  <js@hotfeet.ch>

* HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
invalid Url for referer.

2008-01-16  Juraj Skripsky  <js@hotfeet.ch>

* HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().

2008-01-16  Juraj Skripsky  <js@hotfeet.ch>

* HttpRequestTest.cs (TestReferer): added test for invalid referer url.

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

16 years ago2008-01-16 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 16 Jan 2008 14:14:08 +0000 (14:14 -0000)]
2008-01-16  Jb Evain  <jbevain@novell.com>

* Expression.cs, ExpressionPrinter.cs: fix call for static methods.

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

16 years ago2008-01-16 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 16 Jan 2008 14:12:55 +0000 (14:12 -0000)]
2008-01-16  Jb Evain  <jbevain@novell.com>

* ExpressionTest_CallWithExpression.cs: test for static method.

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

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

* mini-ops.h *.md: Make some opcodes names uniform by removing the op_ prefix.

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

16 years ago * TypeTest.cs: Added test for GetConstructor (Type []).
Gert Driesen [Wed, 16 Jan 2008 13:44:10 +0000 (13:44 -0000)]
 * TypeTest.cs: Added test for GetConstructor (Type []).

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

16 years agoTARGET_JVM: must clean up form when resetting HttpWorkerRequest
Konstantin Triger [Wed, 16 Jan 2008 13:32:41 +0000 (13:32 -0000)]
TARGET_JVM: must clean up form when resetting HttpWorkerRequest

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

16 years ago2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 16 Jan 2008 13:32:39 +0000 (13:32 -0000)]
2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>

* BulletedList.cs:
resolve BulletImageUrl,
register for event validation.

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

16 years agofixed GenerateScriptTypes feature
Igor Zelmanovich [Wed, 16 Jan 2008 13:07:34 +0000 (13:07 -0000)]
fixed GenerateScriptTypes feature
consider generics types.

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

16 years ago2008-01-16 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 16 Jan 2008 10:36:33 +0000 (10:36 -0000)]
2008-01-16  Mark Probst  <mark.probst@gmail.com>

* class-internals.h: A new data structure describing the layout of
a runtime generic context (MonoRuntimeGenericContextTemplate).

* metadata-internals.h: Added a hash table to MonoDomain that maps
from open generic classes to their runtime generic context
templates.

* object.c: Building of the runtime generic context, including
proper handling of generic type arguments of superclasses.
Building of the runtime generic context according to the template.

2008-01-16  Mark Probst  <mark.probst@gmail.com>

* generic-sharing.c: New type argument lookup code which uses the
runtime generic context template.

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

16 years agoregister namespaces for script types if need
Igor Zelmanovich [Wed, 16 Jan 2008 10:25:40 +0000 (10:25 -0000)]
register namespaces for script types if need

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

16 years ago2008-01-16 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 16 Jan 2008 09:44:43 +0000 (09:44 -0000)]
2008-01-16  Everaldo Canuto  <ecanuto@novell.com>

* Form.cs: Prevent the MdiParent property to be set when value is the same
as value already set. Fixes bug #328019.

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

16 years ago2008-01-16 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 16 Jan 2008 09:27:35 +0000 (09:27 -0000)]
2008-01-16  Everaldo Canuto  <ecanuto@novell.com>

* Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
it prevents NRE when closing mdi child windows. Fixes bug #325211.

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

16 years ago2008-01-16 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 16 Jan 2008 09:14:20 +0000 (09:14 -0000)]
2008-01-16  Everaldo Canuto  <ecanuto@novell.com>

* InternalWindowManager.cs: Invalidade close button after mouse up when
mdi form is prevented to close.

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

16 years agofixed resolving relative path for services
Igor Zelmanovich [Wed, 16 Jan 2008 09:09:27 +0000 (09:09 -0000)]
fixed resolving relative path for services

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

16 years agomerge with r91828, fix of 9542
Vladimir Krasnov [Wed, 16 Jan 2008 09:02:04 +0000 (09:02 -0000)]
merge with r91828, fix of 9542

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

16 years ago2008-01-16 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 16 Jan 2008 09:01:12 +0000 (09:01 -0000)]
2008-01-16  Everaldo Canuto  <ecanuto@novell.com>

* MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
thanks to Andy Hume. Fixes bug #325433.

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

16 years ago2008-01-16 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 16 Jan 2008 07:09:16 +0000 (07:09 -0000)]
2008-01-16  Juraj Skripsky  <js@hotfeet.ch>

* CSharpCodeGenerator.cs (GenerateGenericsConstraints): Take
solitary constructor constraints into account. Fixes bug #353921.

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

16 years agoTests for 2.0 GetDeleteCommand, GetUpdateCommand and GetInsertCommand
Veerapuram Varadhan [Wed, 16 Jan 2008 06:08:48 +0000 (06:08 -0000)]
Tests for 2.0 GetDeleteCommand, GetUpdateCommand and GetInsertCommand
APIs

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

16 years agoMissing 2.0 APIs
Veerapuram Varadhan [Wed, 16 Jan 2008 06:03:17 +0000 (06:03 -0000)]
Missing 2.0 APIs

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

16 years agoIn .:
Geoff Norton [Wed, 16 Jan 2008 04:24:06 +0000 (04:24 -0000)]
In .:
2008-01-16  Geoff Norton  <gnorton@novell.com>

* KeyboardHandler.cs: Track the control key(s) as well and put them
into KeyboardModifiers as toggled.
* MouseHandler.cs: Support simulating right click on single-button
mouse macintoshs with the standard Control+Click usage pattern.

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

16 years ago2008-01-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 16 Jan 2008 01:31:44 +0000 (01:31 -0000)]
2008-01-15  Miguel de Icaza  <miguel@novell.com>

* Expression.cs: Do validation on the method parameters and use
the return type if provided.

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

16 years agoIn .:
Geoff Norton [Wed, 16 Jan 2008 00:34:01 +0000 (00:34 -0000)]
In .:
* ControlHandler.cs:  Only mark the dirty area as dirty when we are
told to expose by the subsystem.

2008-01-15  Geoff Norton  <gnorton@novell.com>

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

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

* ConfigurationElement.cs: Allow non-public constructors. Fixes #353554.

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

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

* PropertyInformation.cs: Allow non-public constructors. Fixes #353557.

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

16 years ago* LinkLabel.cs: Reset focused_index when resellecting the control.
Andreia Gaita [Tue, 15 Jan 2008 23:55:13 +0000 (23:55 -0000)]
* LinkLabel.cs: Reset focused_index when resellecting the control.
Fixes #323190

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

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

16 years ago2008-01-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jan 2008 23:47:01 +0000 (23:47 -0000)]
2008-01-16  Zoltan Varga  <vargaz@gmail.com>

* ConfigurationElement.cs: Consider non-public properties as well. Fixes
#353553.

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

16 years agoIn .:
Geoff Norton [Tue, 15 Jan 2008 23:09:34 +0000 (23:09 -0000)]
In .:
* MouseHandler.cs: Avoid a NRE if we dont know the window the event
came in on.

2008-01-15  Geoff Norton  <gnorton@novell.com>

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

16 years ago2008-01-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jan 2008 23:01:05 +0000 (23:01 -0000)]
2008-01-16  Zoltan Varga  <vargaz@gmail.com>

* CSharpCodeCompiler.cs: Avoid setting results.CompiledAssembly since it might
be a netmodule. Fixes #353536.

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

16 years agoIn .:
Geoff Norton [Tue, 15 Jan 2008 22:46:52 +0000 (22:46 -0000)]
In .:
2008-01-15  Geoff Norton  <gnorton@novell.com>

* ApplicationHandler.cs:  Fix the Grab declaration.
* MouseHandler.cs: Fix the grab declaration and a minor optimization.

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

16 years ago2008-01-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 15 Jan 2008 22:45:28 +0000 (22:45 -0000)]
2008-01-15  Geoff Norton  <gnorton@novell.com>

        * XplatUICarbon.cs:  Rework Grab/Ungrab handling to send some needed
        messages.

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

16 years agoupdate csproj
Jb Evain [Tue, 15 Jan 2008 22:13:48 +0000 (22:13 -0000)]
update csproj

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

16 years ago2008-01-15 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Tue, 15 Jan 2008 22:02:38 +0000 (22:02 -0000)]
2008-01-15  Andreas Faerber  <andreas.faerber@web.de>

* configure.ac: Add default G_BREAKPOINT implementation.
Fix typo in breakpoint CPU output.

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

16 years agoadd CallWithExpression tests
Jb Evain [Tue, 15 Jan 2008 21:58:28 +0000 (21:58 -0000)]
add CallWithExpression tests

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

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

* ExpressionTest_CallWithExpression.cs: tests
for Call (Expression, ...)

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

16 years ago2008-01-15 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 15 Jan 2008 21:57:07 +0000 (21:57 -0000)]
2008-01-15  Jb Evain  <jbevain@novell.com>

* MethodCallExpression.cs, Expression.cs
ExpressionPrinter.cs: Implement Call (Expression, ...)

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

16 years ago2008-01-15 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 15 Jan 2008 21:54:44 +0000 (21:54 -0000)]
2008-01-15  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: clean the ToReadOnlyCollection extension
method.

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

16 years ago2008-01-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jan 2008 21:44:59 +0000 (21:44 -0000)]
2008-01-15  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_fields): Set field.count for generic instances.
Fixes #350856.

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

16 years agorename the specialized Call test fixture
Jb Evain [Tue, 15 Jan 2008 21:38:15 +0000 (21:38 -0000)]
rename the specialized Call test fixture

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

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

* mini.c (mono_method_to_ir): Avoid emitting a write barrier when storing NULL.

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

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

* mini-arm.c (add_general): Fix arm eabi parameter passing.
(mono_arch_output_basic_block): Fix localloc implementation.

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

16 years ago* XmlParserContextTests.cs: Added ctor tests.
Gert Driesen [Tue, 15 Jan 2008 17:40:34 +0000 (17:40 -0000)]
* XmlParserContextTests.cs: Added ctor tests.
* System.Xml_test.dll.sources: added XmlParserContextTests.cs.

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

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

* Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
of truncate.

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

16 years ago2008-01-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jan 2008 17:32:10 +0000 (17:32 -0000)]
2008-01-15  Zoltan Varga  <vargaz@gmail.com>

* image.c (do_mono_image_open): Pass TRUE as last_exists to
mono_portability_find_file (). Fixes #325466.
(mono_image_get_public_key): Fix a warning.

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

16 years agofixed GenerateScriptTypes feature
Igor Zelmanovich [Tue, 15 Jan 2008 17:04:38 +0000 (17:04 -0000)]
fixed GenerateScriptTypes feature

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

16 years agoadded TARGET_J2EE ifdef
Igor Zelmanovich [Tue, 15 Jan 2008 17:00:48 +0000 (17:00 -0000)]
added TARGET_J2EE ifdef

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

16 years agoconsider args correctly
Igor Zelmanovich [Tue, 15 Jan 2008 16:59:37 +0000 (16:59 -0000)]
consider args correctly

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

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

* ContainerControl.cs: Setting AutoScaleMode to anything should set
Form.AutoScale to false.
* Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
AutoScaleBaseSize should be changed on Font change unless it has been
explicitly set.
[Fixes bug #353827]

2008-01-15  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add test for bug #353827.

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

16 years agosvn path=/trunk/mcs/; revision=92957
Everaldo Canuto [Tue, 15 Jan 2008 15:28:54 +0000 (15:28 -0000)]
svn path=/trunk/mcs/; revision=92957

16 years ago * MenuAPI.cs: On instance of MenuTracker check if source control is
Everaldo Canuto [Tue, 15 Jan 2008 15:20:33 +0000 (15:20 -0000)]
* MenuAPI.cs: On instance of MenuTracker check if source control is
ToolStripOverflow and use properly method to find form.
[Fixes bug #338511]

2008-01-15  Everaldo Canuto  <ecanuto@novell.com>

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

16 years agoadd new .ctor
Jb Evain [Tue, 15 Jan 2008 14:51:19 +0000 (14:51 -0000)]
add new .ctor

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

16 years ago2008-01-15 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Tue, 15 Jan 2008 14:47:33 +0000 (14:47 -0000)]
2008-01-15  Everaldo Canuto  <ecanuto@novell.com>

[Fixes bug #323241 Transparent toolbar support]

* ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
is flat.

* Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
defined in control style to mimic win32 behavior.

* ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
it will be transparent.

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

16 years agocondition tests passes
Jb Evain [Tue, 15 Jan 2008 14:21:58 +0000 (14:21 -0000)]
condition tests passes

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

16 years ago2008-01-15 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 15 Jan 2008 14:21:33 +0000 (14:21 -0000)]
2008-01-15  Jb Evain  <jbevain@novell.com>

* ExpressionTest_Condition.cs: add tests for Expression.Condition.

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

16 years ago2008-01-15 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 15 Jan 2008 14:20:35 +0000 (14:20 -0000)]
2008-01-15  Jb Evain  <jbevain@novell.com>

* Expression.cs, ConditionalExpressionExpression.cs
ExpressionPrinter.cs : implement Expression.Condition.

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

16 years agowhat a wonderful place to use the null coalescing operator
Jb Evain [Tue, 15 Jan 2008 14:00:06 +0000 (14:00 -0000)]
what a wonderful place to use the null coalescing operator

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

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

* ExpressionTest.cs: tests for Expression.Parameter

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

16 years ago2008-01-15 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 15 Jan 2008 13:55:05 +0000 (13:55 -0000)]
2008-01-15  Jb Evain  <jbevain@novell.com>

* Expression.cs,
ParameterExpression.cs,
ExpressionPrinter.cs: implement Expression.Parameter

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

16 years agotypo fix
Igor Zelmanovich [Tue, 15 Jan 2008 13:53:15 +0000 (13:53 -0000)]
typo fix

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

16 years ago2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Tue, 15 Jan 2008 13:37:38 +0000 (13:37 -0000)]
2008-01-15  Stephane Delcroix  <sdelcroix@novell.com>

* DateTimeOffset.cs: ParseExact: parse f, F, s too.

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

16 years agomake Mainsoft.Web.Hosting.ServletIncludeUtils public
Konstantin Triger [Tue, 15 Jan 2008 13:27:09 +0000 (13:27 -0000)]
make Mainsoft.Web.Hosting.ServletIncludeUtils public

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

16 years agorefactoring
Konstantin Triger [Tue, 15 Jan 2008 13:24:21 +0000 (13:24 -0000)]
refactoring

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

16 years agoadded TARGET_J2EE ifdef
Igor Zelmanovich [Tue, 15 Jan 2008 12:14:46 +0000 (12:14 -0000)]
added TARGET_J2EE ifdef

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

16 years agoBuild under different configurations
Marek Safar [Tue, 15 Jan 2008 12:01:26 +0000 (12:01 -0000)]
Build under different configurations

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

16 years agoNew test configuration
Marek Safar [Tue, 15 Jan 2008 11:44:19 +0000 (11:44 -0000)]
New test configuration

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

16 years ago2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Tue, 15 Jan 2008 11:05:36 +0000 (11:05 -0000)]
2008-01-15  Stephane Delcroix  <sdelcroix@novell.com>

* DateTimeOffset.cs: ParseExact: honor the DateTimeStyles parameter.

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

16 years ago2008-01-15 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 15 Jan 2008 10:59:57 +0000 (10:59 -0000)]
2008-01-15  Jb Evain  <jbevain@novell.com>

* ExpressionPrinter.cs (VisitBinaryExpression): simple
implementation (probably misses a few cases).

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

16 years agoadd vs solutions as per Marek's wish
Jb Evain [Tue, 15 Jan 2008 10:28:56 +0000 (10:28 -0000)]
add vs solutions as per Marek's wish

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

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

* XmlParserContext.cs : do not pass invalid URI to XmlTextReader#ctor
  even as a dummy. Fixed bug #353654.

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

16 years ago2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Tue, 15 Jan 2008 10:27:35 +0000 (10:27 -0000)]
2008-01-15  Stephane Delcroix  <sdelcroix@novell.com>

* DateTimeOffsetTest.cs: more tests, less bugs.

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

16 years agofix a couple of StackOverflow
Jb Evain [Tue, 15 Jan 2008 10:26:46 +0000 (10:26 -0000)]
fix a couple of StackOverflow

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

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

* MonoHttpDate.cs : Parse() should return Local time. Fixed bug
  #353495.

* HttpWebRequestTest.cs : added test for bug #353495.

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

16 years ago2008-01-15 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 15 Jan 2008 10:06:30 +0000 (10:06 -0000)]
2008-01-15  Jb Evain  <jbevain@novell.com>

* MethodInfoTest.cs: Add test for null arguments to
MakeGenericMethod (#353849).

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

16 years ago2008-01-15 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 15 Jan 2008 10:05:30 +0000 (10:05 -0000)]
2008-01-15  Jb Evain  <jbevain@novell.com>

* MonoMethod.cs (MakeGenericMethod): check for null values
in the types arguments. Fixes #353849.

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

16 years ago2008-01-14 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Tue, 15 Jan 2008 09:25:55 +0000 (09:25 -0000)]
2008-01-14  Everaldo Canuto  <ecanuto@novell.com>

* XplatUIStructs.cs: Implement ToolBarStyles to use in Style property of
CreateParams for ToolBar controls.

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

16 years agoremove TARGET_J2EE ifdef
Igor Zelmanovich [Tue, 15 Jan 2008 09:00:40 +0000 (09:00 -0000)]
remove TARGET_J2EE ifdef

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

16 years ago2008-01-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jan 2008 02:07:50 +0000 (02:07 -0000)]
2008-01-15  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (peephole_pass): Sync store+load optimizations with the x86 version.

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

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

* mini-ia64.c (peephole_pass): Fix ia64 build.

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

16 years ago2008-01-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 15 Jan 2008 00:19:41 +0000 (00:19 -0000)]
2008-01-14  Miguel de Icaza  <miguel@novell.com>

* Expression.cs: Bring back the (most) of binary operators.  Added
type checking as well and reorganized the source file by topic
instead of alphabetical sorting.

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

16 years ago2008-01-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Jan 2008 23:08:35 +0000 (23:08 -0000)]
2008-01-15  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (peephole_pass): Fix a warning.

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

16 years ago2008-01-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Jan 2008 23:07:06 +0000 (23:07 -0000)]
2008-01-15  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_allocate_vars): Make sure the LMF is always stored
at a constant offset from sp/fp.

* exceptions-amd64.c (mono_arch_find_jit_info): Compute the LMF address from fp/sp
instead of obtaining it from *lmf in the managed method case.

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

16 years ago2008-01-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Jan 2008 23:03:11 +0000 (23:03 -0000)]
2008-01-15  Zoltan Varga  <vargaz@gmail.com>

* AppDomainSetup.cs Buffer.cs Action.cs Array.cs BadImageFormatException.cs Byte.cs
Attribute.cs _AppDomain.cs Boolean.cs AppDomain.cs: Fix some argument names to be
consistent with MS.

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

16 years ago2008-01-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Jan 2008 23:00:43 +0000 (23:00 -0000)]
2008-01-15  Zoltan Varga  <vargaz@gmail.com>

* SafeWaitHandle.cs: Fix some argument names to be consistent with MS.

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

16 years ago2008-01-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Jan 2008 23:00:07 +0000 (23:00 -0000)]
2008-01-15  Zoltan Varga  <vargaz@gmail.com>

* RegistryKey.cs: Fix some argument names to be consistent with MS.

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

16 years ago2008-01-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 14 Jan 2008 21:11:18 +0000 (21:11 -0000)]
2008-01-14  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs: Forms with
FixedToolWindow, SizeableToolWindow, or None for border styles have
different minimum sizes than regular forms.  Implemented to fix
regression in PDN with toolbox being too wide.

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

16 years ago2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Mon, 14 Jan 2008 20:47:36 +0000 (20:47 -0000)]
2008-01-14  Sephane Delcroix  <sdelcroix@novell.com>

* DateTimeOffset.cs: start refactoring DoParse

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

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

* exceptions-amd64.c (mono_arch_find_jit_info): Remove some duplicate code.

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

16 years ago* HtmlElementCollection.cs: Implemented
Andreia Gaita [Mon, 14 Jan 2008 18:53:57 +0000 (18:53 -0000)]
* HtmlElementCollection.cs: Implemented
* HtmlElement.cs: Implemented:
  - All
  - InnerHtml
  - InnerText
  - Id
  - Name
  - FirstChild

* HtmlDocument.cs: Implemented GetElementsByTagName.

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

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

16 years ago* Mono.Mozilla.dll.sources, Mono.Mozilla2K5.csproj: Updated.
Andreia Gaita [Mon, 14 Jan 2008 18:52:07 +0000 (18:52 -0000)]
* Mono.Mozilla.dll.sources, Mono.Mozilla2K5.csproj: Updated.
* build-csproj2k5: Fix guid.

* Mono.Mozilla/DOM/*, Mono.WebBrowser/DOM/*:
  - Reorganization to get rid of unneeded DOM prefix.
  - All constructors now get a proxy only if the application is running under
    a different toolkit than the mozilla engine. If they match, no proxies are
    needed since there is no need to switch threads.

* Mono.Mozilla/DOM/DOMObject.cs:
  - Move resources list to here since most objects need one.
  - WebBrowser now has some internal methods, so store the class instead of the
    interface for child classes to use.

* Mono.Mozilla/DOM/HTMLElement.cs, Mono.Mozilla/DOM/Element.cs:
  IElement represents all element types (html or not), and is implemented
  by two classes, one that wraps html elements, and another that wraps other
  element types. IElement represents both in the public API so it's easier
  to deal with for the api user.

* Mono.Mozilla/DOM/Attribute.cs,
  Mono.Mozilla/DOM/AttributeCollection.cs,
  Mono.WebBrowser/DOM/IAttributeCollection.cs,
  Mono.WebBrowser/DOM/IAttribute.cs:
  Added. Represent attributes from an element.

* Mono.Mozilla/DOM/Document.cs, Mono.WebBrowser/DOM/IDocument.cs:
  - renamed from DOMHTMLDocument and IDOMHTMLDocument, respectively
  - Added GetElementsByTagName method.
  - Document is now retrieved from the WebNavigation interface, so get a proxy for
    it in the constructor.
  - Add an internal method that returns the unmanaged resource, the Element.InnerText
    property needs to use it.

* Mono.Mozilla/DOM/Element.cs, Mono.WebBrowser/DOM/IElement.cs:
  - renamed from DOMElement and IDOMElement, respectively
  - Added the following properties: InnerText, InnerHTML, All (returns all child
    elements), HasAttribute, GetAttribute. InnerHTML is virtual, and is implemented
    in HTMLElement.

* Mono.Mozilla/DOM/HTMLElement.cs: Implement InnerHTML property.
* Mono.Mozilla/DOM/HTMLElementCollection.cs: Added. Subclass of NodeList that
  represents a list of html elements.

* Mono.Mozilla/DOM/Navigation.cs: Added a Document property that uses the
  nsIWebNavigation interface to access the Document directly instead of going
  through gluezilla.

* Mono.Mozilla/DOM/Node.cs, Mono.WebBrowser/DOM/INode.cs: Renamed from
  DOMNode and IDOMNode, respectively. Added the following properties:
  - Attributes (returns the attributes of a node)
  - ChildNodes
  - Type (returns the type of a node, i.e., Element, Attribute, etc)
  - FirstChild
  - LocalName
  Added public enumeration to determine a node type.

* Mono.Mozilla/DOM/NodeList.cs, Mono.WebBrowser/DOM/INodeList.cs: Renamed
  from DOMNodeList and IDOMNodeList, respectively. Allow subclasses to fill in and
  access the collection of nodes, as well as override the loading method.

* Mono.Mozilla/interfaces/extras/NodeType.cs: Added. Represents the various
  types of a Node (element, attribute, etc).

* Mono.WebBrowser/DOM/IDOMHTMLElement.cs: Removed. Merged with IElement.

* Mono.Mozilla/Base.cs: Add support for tracking which toolkit the
  application is running under, so I know if I need to create threads and
  proxies or not. Send that info to gluezilla, and get back which toolkit
  the mozilla engine is using.

* Mono.Mozilla/WebBrowser.cs: Save the application and engine toolkit info.
  Change the Document accessor so it goes through the Navigation object instead
  of thru gluezilla.

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

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

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

* Screen.cs: Stub BitsPerPixel to always return 32.

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

16 years agoNew tests, update.
Marek Safar [Mon, 14 Jan 2008 18:07:15 +0000 (18:07 -0000)]
New tests, update.

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

16 years ago2008-01-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 14 Jan 2008 18:06:47 +0000 (18:06 -0000)]
2008-01-14  Marek Safar  <marek.safar@gmail.com>

  * typemanager.cs, lambda.cs, parameter.cs, ecore.cs, class.cs, delegate.cs,
  iterators.cs, convert.cs, assign.cs, anonymous.cs, expression.cs,
  statement.cs: The first expression tree implementation drop, mostly
  infrastructure work.

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

16 years ago* Mono.Mozilla/interfaces/nsIDOMNSHTMLElement.cs: Added. Interface to
Andreia Gaita [Mon, 14 Jan 2008 17:27:18 +0000 (17:27 -0000)]
* Mono.Mozilla/interfaces/nsIDOMNSHTMLElement.cs: Added. Interface to
access the InnerHtml property of an element.

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

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

16 years agofixed class path.
Igor Zelmanovich [Mon, 14 Jan 2008 17:13:52 +0000 (17:13 -0000)]
fixed class path.

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

16 years agorefactoring:
Igor Zelmanovich [Mon, 14 Jan 2008 17:12:25 +0000 (17:12 -0000)]
refactoring:
call SetupResponseWriter before render phase.

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

16 years agorefactoring:
Igor Zelmanovich [Mon, 14 Jan 2008 17:10:58 +0000 (17:10 -0000)]
refactoring:
call SetupResponseWriter before render phase.

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