mono.git
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

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

* Form.cs: Implement RestoreBounds.

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

* FormTest.cs: Add tests for RestoreBounds.

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

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

  * ecore.cs (IsNestedChild): Refactored.

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

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

* class.c (mono_class_from_name): Fix comments for NULL-ness of image parameter.
Fixes #353550.
(mono_class_from_name_case): Ditto.

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

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

* RichTextBox.cs, ToolStrip.cs: Fix some typos pointed out by
Sebastien and his fabulous magical problem-finding machine:
Gendarme.  Also put a MonoTodo on AutoWordSelect since we don't
respect the value set.

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

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

* Type.cs (GetConstructor): Use correct binding flags in type (Type[]) overload.
Fixes #353604.

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

16 years agoFix bug#353603 +-Infinity & NaN default ToString.
Eyal Alalouf [Mon, 14 Jan 2008 13:44:51 +0000 (13:44 -0000)]
Fix bug#353603 +-Infinity & NaN default ToString.

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

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

* DateTimeOffsetTest.cs: Tests for ParseExact (string, string,
IFormatProvider)

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

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

* DateTimeOffset.cs: ParseExact (string, string, IFormatProvider)
implemented.

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

16 years ago2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Jan 2008 12:37:30 +0000 (12:37 -0000)]
2008-01-14  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
Gendarme.

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

16 years ago2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Jan 2008 12:36:29 +0000 (12:36 -0000)]
2008-01-14  Sebastien Pouliot  <sebastien@ximian.com>

* HttpCookieTest.cs: Added HttpOnly test cases.

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

16 years ago2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Jan 2008 12:36:06 +0000 (12:36 -0000)]
2008-01-14  Sebastien Pouliot  <sebastien@ximian.com>

* HttpCookie.cs: Fix HttpOnly setter. Found using Gendarme.

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

16 years agowe pass ArrayLength
Jb Evain [Mon, 14 Jan 2008 12:13:57 +0000 (12:13 -0000)]
we pass ArrayLength

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

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

* ExpressionPrinter.cs: print ArrayLength.

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

16 years agowe pass TypeAs
Jb Evain [Mon, 14 Jan 2008 12:04:32 +0000 (12:04 -0000)]
we pass TypeAs

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

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

* Expression.cs: TypeAs can't take value types.
* ExpressionPrinter.cs: implement TypeAs.

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

16 years agoI hate myself, I hate myself
Jb Evain [Mon, 14 Jan 2008 11:57:02 +0000 (11:57 -0000)]
I hate myself, I hate myself

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

16 years agoadd passing tests
Jb Evain [Mon, 14 Jan 2008 11:56:09 +0000 (11:56 -0000)]
add passing tests

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

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

* Expression.cs: implement TypeIs.
* ExpressionPrinter.cs: implement VisitTypeBinaryExpression.
* TypeBinaryExpression.cs: add proper ctor.

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

16 years agoTARGET_J2EE:
Igor Zelmanovich [Mon, 14 Jan 2008 11:50:36 +0000 (11:50 -0000)]
TARGET_J2EE:

resolve action url as relative

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

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

* Control.cs: fixed ResolveClientUrl.
use Context.FilePath instead of Context.CurrentExecutionPath for
resolvint app. releative path.

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

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

* Expression.cs, ExpressionPrinter.cs: fix for Quote's type.

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

16 years agoNew test.
Marek Safar [Mon, 14 Jan 2008 11:21:05 +0000 (11:21 -0000)]
New test.

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

16 years agoMon Jan 14 12:33:06 CET 2008 David S. Miller <davem@davemloft.net>
Paolo Molaro [Mon, 14 Jan 2008 10:59:02 +0000 (10:59 -0000)]
Mon Jan 14 12:33:06 CET 2008  David S. Miller  <davem@davemloft.net>

* mini.h (MonoInstList): New type.
(MONO_INST_LIST_INIT, MONO_INST_LIST_EMPTY,
__MONO_INST_LIST_ADD, MONO_INST_LIST_ADD,
MONO_INST_LIST_ADD_TAIL, __MONO_INST_LIST_DEL,
__MONO_INST_LIST_SPLICE, MONO_INST_LIST_SPLICE,
MONO_INST_LIST_SPLICE_TAIL, MONO_INST_LIST_SPLICE_INIST,
MONO_INST_LIST_SPLICE_TAIL_INIT, mono_container_of,
MONO_INST_LIST_ENTRY, MONO_INST_LIST_FIRST_ENTRY,
MONO_INST_LIST_LAST_ENTRY, MONO_INST_LIST_FOR_EACH,
MONO_INST_LIST_FOR_EACH_PREV, MONO_INST_LIST_FOR_EACH_SAFE,
MONO_INST_LIST_FOR_EACH_PREV_SAFE,
MONO_INST_LIST_FOR_EACH_ENTRY,
MONO_INST_LIST_FOR_EACH_ENTRY_REVERSE,
MONO_INST_LIST_FOR_EACH_ENTRY_SAFE,
mono_inst_list_first, mono_inst_list_last,
mono_inst_list_next, mono_inst_list_prev): New instruction
list handling interfaces.
(MonoBasicBlock): Remove 'last_ins' and 'code', replace with
list head 'ins_list'.
(MonoInst): Replace next pointer with list head 'node'.
(MonoCallInst): Make 'out_args' a MonoInstList.
(MONO_INST_NEW_CALL): Explicitly init ->out_args.
(MonoCompile): Delete reverse_inst_list and
reverse_inst_list_len.
* mini-hppa.c (mono_arch_call_opcode, NEW_INS,
mono_arch_lowering_pass, mono_arch_local_regalloc,
mono_arch_output_basic_block, mono_arch_emit_prolog):
Convert to new instruction lists.
(insert_after_ins): Delete.
* inssel.brg (MONO_EMIT_NEW_BRANCH_BLOCK): Convert to new
instruction lists.
* mini-hppa.h (MONO_EMIT_NEW_COMPARE_BRANCH_BLOCK): Likewise.
* mini.c (NEW_BBLOCK, ADD_BBLOCK, CHECK_BBLOCK,
split_bblock, mono_add_ins_to_end, mono_emit_call_args,
mono_emulate_opcode, mono_emit_load_got_addr,
inline_method, mono_method_to_ir, mono_print_bb_code,
print_dfn, decompose_pass, nullify_basic_block,
replace_out_block_in_code, remove_block_if_useless,
merge_basic_blocks, move_basic_block_to_end,
try_unsigned_compare, optimize_branches, mono_print_code,
mini_select_instructions, remove_critical_edges): Likewise.
* mini-amd64.c (emit_sig_cookie, mono_arch_call_opcode,
peephole_pass_1, peephole_pass, mono_arch_lowering_pass,
mono_arch_output_basic_block, mono_arch_emit_prolog):
Likewise.
* mini-mips.c (mono_arch_call_opcode, peephole_pass,
NEW_INS, mono_arch_lowering_pass, mono_arch_local_regalloc,
mono_arch_output_basic_block): Likewise.
(inst_list_prepend, insert_after_ins): Delete.
* mini-mips.h (MONO_EMIT_NEW_BRANCH_NONZERO_LABEL,
MONO_EMIT_NEW_COMPARE_BRANCH_BLOCK): Convert to new
instruction lists.
* mini-x86.c (emit_sig_cookie, mono_arch_call_opcode,
peephole_pass_1, peephole_pass, mono_arch_output_basic_block,
mono_arch_emit_prolog): Likewise.
* cfold.c (mono_constant_fold): Likewise.
* liveness.c (visit_bb, mono_analyze_liveness,
optimize_initlocals): Likewise.
* ssapre.c (dump_code, process_bb, code_motion): Likewise.
* graph.c (mono_draw_code_cfg): Likewise.
* ssa.c (mono_ssa_rename_vars, mono_ssa_compute,
mono_ssa_remove, mono_ssa_avoid_copies, mono_ssa_create_def_use,
mono_ssa_cprop): Likewise.
* abcremoval (get_relations_from_previous_bb, process_block):
Likewise.
* local-propagation (mono_cprop_invalidate_values,
mono_local_cprop_bb): Likewise.
* mini-s390x.c (mono_arch_call_opcode, emit_sig_cookie,
peephole_pass, mono_arch_output_basic_block,
mono_arch_emit_prolog): Likewise.
* mini-arm.c (mono_arch_call_opcode, peephole_pass,
NEW_INS, mono_arch_lowering_pass, mono_arch_local_regalloc,
mono_arch_emit_prolog): Likewise.
(insert_after_ins): Delete.
* aliasing.c (print_code_with_aliasing_information,
mono_build_aliasing_information, mono_aliasing_deadce):
Convert to new instruction lists.
* mini-ia64.c (emit_sig_cookie, mono_arch_call_opcode,
peephole_pass, NEW_INS, mono_arch_lowering_pass,
mono_arch_local_regalloc, mono_arch_output_basic_block):
Likewise.
(insert_after_ins): Delete.
* mini-sparc.c (emit_sig_cookie, mono_arch_call_opcode,
peephole_pass, mono_arch_output_basic_block): Convert to
new instruction lists.
* mini-codegen (InstList, inst_list_prepend,
insert_after_ins): Delete.
(insert_before_ins, get_register_force_spilling,
get_register_spilling, free_up_ireg, free_up_reg,
create_copy_ins, create_spilled_store, alloc_int_reg,
alloc_float_reg, alloc_reg, mono_local_regalloc): Convert
to new instruction lists.
* mini-ppc.c (mono_arch_call_opcode, peephole_pass,
NEW_INS, mono_arch_lowering_pass, mono_arch_local_regalloc,
mono_arch_output_basic_block, mono_arch_emit_prolog): Likewise.
(insert_after_ins): Delete.
* mini-alpha.c (NEW_INS, peephole_pass, mono_arch_lowering_pass,
mono_arch_local_regalloc, mono_arch_output_basic_block,
mono_arch_call_opcode): Convert to new instruction lists.
(insert_after_ins): Delete.
* mini-s390.c (mono_arch_call_opcode, emit_sig_cookie,
peephole_pass, mono_arch_output_basic_block,
mono_arch_emit_prolog): Convert to new instruction lists.

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

16 years ago2007-01-14 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Mon, 14 Jan 2008 10:56:15 +0000 (10:56 -0000)]
2007-01-14  Everaldo Canuto  <ecanuto@novell.com>

* Form.cs: In WmWindowPosChanged call base.WndProc including when state is
minimized. Fixes bug #325122 for Win32. Thanks  Srikanth Madikeri.

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

16 years ago2008-01-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 Jan 2008 10:44:35 +0000 (10:44 -0000)]
2008-01-14  Marek Habersack  <mhabersack@novell.com>

* CSharpCodeCompiler.cs: 3.0 is the default version now.

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

16 years agoconvert ArrayList to array only in case of DeserializeObject()
Konstantin Triger [Mon, 14 Jan 2008 10:27:15 +0000 (10:27 -0000)]
convert ArrayList to array only in case of DeserializeObject()

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

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

* BinaryExpression.cs,
* Expression.cs: revert part of Miguel's last patch.
MakeBinary is expected to call the appropriate factory
methods. Whose methods that are responsible for creating
the good BinaryExpression, wether they use a custom method
or not.

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

16 years agodeal with power
Jb Evain [Mon, 14 Jan 2008 09:49:51 +0000 (09:49 -0000)]
deal with power

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

16 years agoFix the build.
Paolo Molaro [Mon, 14 Jan 2008 09:04:35 +0000 (09:04 -0000)]
Fix the build.

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

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

* Expression.cs: MakeUnary is expected to call the appropriate
factory methods.

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

16 years ago2008-01-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 14 Jan 2008 05:02:54 +0000 (05:02 -0000)]
2008-01-14  Miguel de Icaza  <miguel@novell.com>

* Expression.cs (Constant, MakeBinary and consumers of it): Some
more fill-up changes.

MakeBinary will need much more work to support user-provided
types.

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

16 years agocorcompare work
Jb Evain [Sun, 13 Jan 2008 23:16:31 +0000 (23:16 -0000)]
corcompare work

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

16 years ago2008-01-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Jan 2008 22:53:04 +0000 (22:53 -0000)]
2008-01-14  Zoltan Varga  <vargaz@gmail.com>

* NumberFormatter.cs: Remove some redundant assignments.

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

16 years agofresh impl
Jb Evain [Sun, 13 Jan 2008 22:16:25 +0000 (22:16 -0000)]
fresh impl

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

16 years agomake some room
Jb Evain [Sun, 13 Jan 2008 22:11:43 +0000 (22:11 -0000)]
make some room

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

16 years agospaces to tabs
Jb Evain [Sun, 13 Jan 2008 22:11:17 +0000 (22:11 -0000)]
spaces to tabs

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

16 years ago2008-01-13 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Sun, 13 Jan 2008 19:28:29 +0000 (19:28 -0000)]
2008-01-13  Juraj Skripsky  <js@hotfeet.ch>

* Collection.cs, ReadonlyCollection.cs (ICollection.CopyTo):
Use ICollection.CopyTo of inner list. Fixes bug #350432.

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

16 years ago* corlib_test.dll.sources: added ReadOnlyCollectionTest.cs.
Gert Driesen [Sun, 13 Jan 2008 18:51:59 +0000 (18:51 -0000)]
* corlib_test.dll.sources: added ReadOnlyCollectionTest.cs.
* CollectionTest.cs: Added test for ICollection.CopyTo.
* ReadOnlyCollectionTest.cs: Added ctor tests, and test for
ICollection.CopyTo.

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

16 years ago2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 13 Jan 2008 17:48:31 +0000 (17:48 -0000)]
2008-01-13  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Don't use internal Unit enum anymore.

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

16 years ago2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 13 Jan 2008 17:47:46 +0000 (17:47 -0000)]
2008-01-13  Sebastien Pouliot  <sebastien@ximian.com>

* gdipEnums.cs: Remove Unit enum since there's a public version
(GraphicsUnit) for it.
* gdipFunctions.cs: Make GDIPlus class static for 2.0 and remove
new lines (both warnings from Gendarme). Stop using Unit enum.
* Pen.cs: Stop using Unit enum.

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

16 years ago* COMException.cs: Added missing colon in ToString.
Gert Driesen [Sun, 13 Jan 2008 17:24:39 +0000 (17:24 -0000)]
* COMException.cs: Added missing colon in ToString.

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

16 years ago* AppDomain.cs: Also fix bug #350530 for overload taking evidence and
Gert Driesen [Sun, 13 Jan 2008 17:23:07 +0000 (17:23 -0000)]
* AppDomain.cs: Also fix bug #350530 for overload taking evidence and
args. On 1.0 profile, throw COMException to match MS and to allow
our unit tests to pass on MS.
* AppDomainTest.cs: Added ExecuteAssemblyByName and ExecuteAssembly
tests for assemblies without entrypoint.

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

16 years agorelease capabilities file after use
Konstantin Triger [Sun, 13 Jan 2008 14:54:53 +0000 (14:54 -0000)]
release capabilities file after use

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

16 years agoRedesign System/NumberFormatter to improve primitive numeric types ToString performance.
Eyal Alalouf [Sun, 13 Jan 2008 14:44:17 +0000 (14:44 -0000)]
Redesign System/NumberFormatter to improve primitive numeric types ToString performance.

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

16 years agoRedesign System/NumberFormatter to improve primitive numeric types ToString performance.
Eyal Alalouf [Sun, 13 Jan 2008 14:44:17 +0000 (14:44 -0000)]
Redesign System/NumberFormatter to improve primitive numeric types ToString performance.

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

16 years agoSet eol-style to native.
Gert Driesen [Sun, 13 Jan 2008 13:27:59 +0000 (13:27 -0000)]
Set eol-style to native.

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

16 years agoSet eol-style to native.
Gert Driesen [Sun, 13 Jan 2008 13:26:54 +0000 (13:26 -0000)]
Set eol-style to native.

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

16 years ago* X509Certificate2.cs: NotAfter and NotBefore must return local time.
Gert Driesen [Sun, 13 Jan 2008 13:24:47 +0000 (13:24 -0000)]
* X509Certificate2.cs: NotAfter and NotBefore must return local time.
* X509Certificate2Test.cs: Added asserts to ensure NotAfter and
NotBefore are in local time.
* X509ChainPolicyTest.cs: Added assert to ensure VerificationTime is
in local time.

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

16 years ago* Page.jvm.cs: optimized SetupResponseWriter, fixed getChildCount and getChildren...
Vladimir Krasnov [Sun, 13 Jan 2008 13:22:03 +0000 (13:22 -0000)]
* Page.jvm.cs: optimized SetupResponseWriter, fixed getChildCount and getChildren methods
* Control.jvm.cs: fixed getChildCount method

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

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

* AppDomainTest.cs: Add a test for #350530.

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

16 years agoremove Console.WriteLine
Igor Zelmanovich [Sun, 13 Jan 2008 13:10:00 +0000 (13:10 -0000)]
remove Console.WriteLine

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