mono.git
19 years ago2004-12-17 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Fri, 17 Dec 2004 12:01:43 +0000 (12:01 -0000)]
2004-12-17  Lluis Sanchez Gual <lluis@ximian.com>

* HttpHelper.cs: Removed unused method. Optimized CopyStream method.
* HttpServerChannel.cs: SendResponse does not return a bool any
  more, it throws an exception when it fails.
* HttpServer.cs: Improved handling of errors.

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

19 years ago2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 17 Dec 2004 11:59:28 +0000 (11:59 -0000)]
2004-12-16  Lluis Sanchez Gual  <lluis@novell.com>

* HashtableTest.cs: Added test for bug #70570.

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

19 years ago2004-12-17 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Fri, 17 Dec 2004 11:57:51 +0000 (11:57 -0000)]
2004-12-17  Lluis Sanchez Gual <lluis@ximian.com>

* BaseCalls.cs: Removed useless try/catch.

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

19 years ago2004-12-17 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 17 Dec 2004 11:09:56 +0000 (11:09 -0000)]
2004-12-17 Marek Safar <marek.safar@seznam.cz>

* makefile: Removed LOCAL_MCS_FLAGS. Every test should
have its own.

* cs1621.cs, cs1014.cs, cs1615.cs, cs1609.cs, cs1627.cs,
cs1599-2.cs, cs1620.cs, cs0686.cs, cs1534.cs, cs1007.cs,
cs1626.cs, cs1599.cs, cs1670.cs, cs1646.cs, cs0683.cs,
cs1638.cs, cs0103-2.cs: New error tests.

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

19 years ago- Left mousebutton now sets the caret (and middle button still acts
Peter Dennis Bartok [Fri, 17 Dec 2004 09:23:23 +0000 (09:23 -0000)]
- Left mousebutton now sets the caret (and middle button still acts
  as formatting tester, which must go away soon)
- Added Debug section for Deleting/Combining lines
- Fixed calculations for UpdateView after Combining lines

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

19 years ago- InsertCharAtCaret(): Fixed start pos fixup
Peter Dennis Bartok [Fri, 17 Dec 2004 09:22:59 +0000 (09:22 -0000)]
- InsertCharAtCaret(): Fixed start pos fixup
- CaretLine_get: No longer derives the line from the tag, the tag
  could be stale if lines in the document have been added or deleted
- RebalanceAfterDelete(): Fixed bug in balancing code
- RebalanceAfterAdd(): Fixed really stupid bug in balancing code
- Line.Streamline(): Now can also elminate leading empty tags
- DumpTree(): Added a few more tests and prevented exception on
  uninitialized data
- Added Debug section for Combining lines
- Delete(): Now copies all remaining properties of a line

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

19 years ago2004-12-17 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 17 Dec 2004 08:42:37 +0000 (08:42 -0000)]
2004-12-17  Marek Safar  <marek.safar@seznam.cz>

* delegate.cs (NewDelegate.DoResolve): Add error 149 report.

* ecore.cs (Expression.MemberLookupFailed): Fixed error 143.

* statement.cs (Foreach.Resolve): Add error 186 report.

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

19 years ago- Now properly aligns text on a baseline, using the new
Peter Dennis Bartok [Fri, 17 Dec 2004 06:00:45 +0000 (06:00 -0000)]
- Now properly aligns text on a baseline, using the new
  XplatUI.GetFontMetrics() method. Simplified several calculations
- Moved #endif to allow compiling if Debug is not defined

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

19 years ago- Removed Wine assumptions, the handle is now equivalent to the gdi+ native
Peter Dennis Bartok [Fri, 17 Dec 2004 05:54:03 +0000 (05:54 -0000)]
- Removed Wine assumptions, the handle is now equivalent to the gdi+ native
  object

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

19 years ago- Added and implemented GetFontMetrics() method
Peter Dennis Bartok [Fri, 17 Dec 2004 05:50:21 +0000 (05:50 -0000)]
- Added and implemented GetFontMetrics() method

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

19 years agoRevert, per Miguel
Ben Maurer [Fri, 17 Dec 2004 03:49:19 +0000 (03:49 -0000)]
Revert, per Miguel

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

19 years ago * XplatUIStruct.cs: Add enum for dead keys
Jackson Harper [Fri, 17 Dec 2004 02:11:07 +0000 (02:11 -0000)]
* XplatUIStruct.cs: Add enum for dead keys
* X11Keyboard.cs: Map and unmap dead keys.

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

19 years ago2004-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 17 Dec 2004 00:54:34 +0000 (00:54 -0000)]
2004-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ArrayList.cs: don't initialize _items twice. Closes bug #70620.

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

19 years ago2004-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 16 Dec 2004 22:01:27 +0000 (22:01 -0000)]
2004-12-16  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
the gmcs bugs blocking them are fixed.

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

19 years ago2004-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 16 Dec 2004 21:34:05 +0000 (21:34 -0000)]
2004-12-16  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_emit_epilog): Optimize the corlib exception
throwing code to reduce its size, unify the AOT and non-aot code and
get rid of relocations in the AOT case.

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

19 years ago2004-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 16 Dec 2004 21:29:58 +0000 (21:29 -0000)]
2004-12-16  Zoltan Varga  <vargaz@freemail.hu>

* Array.cs (DoBinarySearch): Fix a warning.

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

19 years ago2004-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 16 Dec 2004 21:28:44 +0000 (21:28 -0000)]
2004-12-16  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeBuilder.cs: Fix a warning.

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

19 years ago2004-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 16 Dec 2004 21:13:41 +0000 (21:13 -0000)]
2004-12-16  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.h mini.c exceptions-x86.c
(mono_arch_get_throw_corlib_exception): New arch specific function to
raise corlib exceptions which doesn't require relocations in the
caller.

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

19 years ago2004-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 16 Dec 2004 21:10:21 +0000 (21:10 -0000)]
2004-12-16  Zoltan Varga  <vargaz@freemail.hu>

* exception.c (mono_exception_from_token): New helper function.

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

19 years ago2004-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 16 Dec 2004 21:09:04 +0000 (21:09 -0000)]
2004-12-16  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (emit_method): Handle PATCH_INFO_NONE as well.

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

19 years ago2004-12-16 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 16 Dec 2004 17:28:27 +0000 (17:28 -0000)]
2004-12-16  Marek Safar  <marek.safar@seznam.cz>

* expression.cs (Conditional.DoResolve): Add warning 429.

* statement.cs (If.Resolve): Add warning 665.

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

19 years ago2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Dec 2004 17:09:48 +0000 (17:09 -0000)]
2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

* xml-classes :updates.

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

19 years ago2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Dec 2004 15:37:31 +0000 (15:37 -0000)]
2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidator.cs : ValidateElement() was not LAMESPEC. Added
  some comments on ValidateEndElement().

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

19 years ago2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Dec 2004 15:10:54 +0000 (15:10 -0000)]
2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorReader.cs : added SchemaInfo.

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

19 years ago2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Dec 2004 15:09:25 +0000 (15:09 -0000)]
2004-12-16  Atsushi Enomoto  <atsushi@ximian.com>

* XPathNavigator.cs :added MoveToFollowing(), ReplaceSelf() and
  all the missing attributes.

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

19 years agoNew invariant: RootContext.Tree.Types.NamespaceEntry == null
Raja R Harinath [Thu, 16 Dec 2004 14:14:58 +0000 (14:14 -0000)]
New invariant: RootContext.Tree.Types.NamespaceEntry == null
except when in the parser, and in GlobalAttribute.
* driver.cs (MainDriver): Reset RootContext.Tree.Types.NamespaceEntry.
* attribute.cs (GlobalAttribute.CheckAttributeType): Reset
RootContext.Tree.Types.NamespaceEntry once work is done.
(GlobalAttribute.Emit): New.  Wrapper for Attribute.Emit, but sets
and resets RootContext.Tree.Types.NamespaceEntry.

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

19 years ago2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Dec 2004 14:01:42 +0000 (14:01 -0000)]
2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs : added ActualSchemaType to context type.
* XmlSchemaValidatingReader.cs : added SchemaInfo override.

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

19 years ago2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Dec 2004 14:00:21 +0000 (14:00 -0000)]
2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidator.cs : fill schemaInfo as long as possible right now.

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

19 years ago2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Dec 2004 13:58:49 +0000 (13:58 -0000)]
2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

* XmlConvert.cs :
  Added DateTime related methods with serialization mode.

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

19 years ago2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 16 Dec 2004 13:05:43 +0000 (13:05 -0000)]
2004-12-16  Lluis Sanchez Gual  <lluis@novell.com>

* Hashtable.cs: Add deserialized elements in OnDeserialization, since
when the serialization constructor is called, some of the elements
may not yet be fully deserialized. This fixes bug #70570.

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

19 years ago2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Dec 2004 12:16:32 +0000 (12:16 -0000)]
2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaInfo.cs : added internal copy constructor.

* XmlReader.cs : added MoveToFollowing().
* XmlNode.cs,
  XmlElement.cs,
  XmlAttribute.cs : added SchemaInfo support.
* XmlDocument.cs : added Schemas and Validate().
  ReadNode() now copies xmlReader's SchemaInfo.
* XmlNodeReader.cs : ditto (just reflects node's SchemaInfo).

* SubtreeXmlReader.cs, XmlFilterReader.cs :
  Override SchemaInfo to return input reader's SchemaInfo.

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

19 years ago flush
Jackson Harper [Thu, 16 Dec 2004 10:48:32 +0000 (10:48 -0000)]
flush

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

19 years ago- Added check to make sure the handle of the window exists before calling
Peter Dennis Bartok [Thu, 16 Dec 2004 10:27:26 +0000 (10:27 -0000)]
- Added check to make sure the handle of the window exists before calling
  Graphics.FromHwnd()

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

19 years ago- Added TextBoxBase.cs and TextControl.cs
Peter Dennis Bartok [Thu, 16 Dec 2004 10:24:03 +0000 (10:24 -0000)]
- Added TextBoxBase.cs and TextControl.cs

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

19 years ago- Initial checkin
Peter Dennis Bartok [Thu, 16 Dec 2004 10:22:28 +0000 (10:22 -0000)]
- Initial checkin

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

19 years ago- Fixed Streamline method
Peter Dennis Bartok [Thu, 16 Dec 2004 10:18:11 +0000 (10:18 -0000)]
- Fixed Streamline method
- Added FindTag method to Line
- Added DumpTree method for debugging
- Added DecrementLines() method for deleting lines
- Fixed UpdateView to update the cursor to end-of-line on single-line updates
- Added PositionCaret() method
- Fixed MoveCaret(LineDown) to move into the last line, too
- Added InsertChar overload
- Fixed InsertChar tag offset calculations
- Added DeleteChar() method
- Added Combine() method for folding lines
- Fixed Delete() method, no longer allocates wasted Line object and now
  copies all properties when swapping nodes
- Delete() method now updates document line counter

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

19 years ago2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Dec 2004 09:53:19 +0000 (09:53 -0000)]
2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

* XsdParticleValidationState.cs :
  Removed some unused or unnecessary members. Readonlify some members.
  Added GetExpectedParticles(ArrayList) and overriden in all state
  types, which is used in XmlSchemaValidator.GetExpectedParticles().

* XmlSchemaValidator.cs : implemented GetExpectedParticles() and
  SkipToEndElement ().

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

19 years ago * X11Keyboard.cs: Detect and use the num lock mask.
Jackson Harper [Thu, 16 Dec 2004 09:35:05 +0000 (09:35 -0000)]
* X11Keyboard.cs: Detect and use the num lock mask.

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

19 years ago * XplatUIX11.cs: Get the modifier keys from the keyboard driver
Jackson Harper [Thu, 16 Dec 2004 07:12:54 +0000 (07:12 -0000)]
* XplatUIX11.cs: Get the modifier keys from the keyboard driver
* X11Keyboard.cs: Expose the currently selected modifier keys
through a property.

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

19 years ago2004-12-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
Francisco Figueiredo Jr. [Thu, 16 Dec 2004 05:14:57 +0000 (05:14 -0000)]
2004-12-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
        * Npgsql/NpgsqlConnector.cs: Changed name of portal and prepare prefixes to be all lower case in order to not have case problems when deallocating them.        * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures.

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

19 years ago- Initial checkin of the TextBox/RichEdit backend
Peter Dennis Bartok [Thu, 16 Dec 2004 02:38:30 +0000 (02:38 -0000)]
- Initial checkin of the TextBox/RichEdit backend

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

19 years agolet's see if this fixes sparc build...
Gonzalo Paniagua Javier [Thu, 16 Dec 2004 02:35:07 +0000 (02:35 -0000)]
let's see if this fixes sparc build...

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

19 years ago2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 16 Dec 2004 00:08:28 +0000 (00:08 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: isinf can be a macro and the test from AC_CHECK_FUNCTION
#undefines it before testing...

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

19 years ago * TreeNode.cs:
Jackson Harper [Wed, 15 Dec 2004 23:55:29 +0000 (23:55 -0000)]
* TreeNode.cs:
* TreeView.cs: Fix build on csc (second time today ;-))

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

19 years ago2004-12-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Dec 2004 22:45:41 +0000 (22:45 -0000)]
2004-12-15  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_emit_method_call): Only allocate the got var when it is
needed.

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

19 years ago2004-12-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Dec 2004 21:30:46 +0000 (21:30 -0000)]
2004-12-15  Zoltan Varga  <vargaz@freemail.hu>

* assembly.c (mono_assembly_load_with_partial_name): Call
mono_assembly_loaded before invoking the preload hooks. Fixes
#70564.

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

19 years ago2004-12-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Dec 2004 21:00:48 +0000 (21:00 -0000)]
2004-12-15  Zoltan Varga  <vargaz@freemail.hu>

* Thread.cs: Change type of culture_info and ui_culture_info to
IntPtr. Implement correct culture handling for the UI culture as
well.

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

19 years ago2004-12-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Dec 2004 20:59:28 +0000 (20:59 -0000)]
2004-12-15  Zoltan Varga  <vargaz@freemail.hu>

* object-internals.h (MonoThread): Change culture_info and
ui_culture_info into an array.

* threads.c: Cache culture info objects from more than one appdomain.

* threads.c threads-types.h icall.c: Add icalls for manipulating the
current UI culture.

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

19 years ago * TreeView.cs: Store the treenodes plus/minus box bounds when it
Jackson Harper [Wed, 15 Dec 2004 20:05:02 +0000 (20:05 -0000)]
* TreeView.cs: Store the treenodes plus/minus box bounds when it
is calculated and use this for click testing.
* TreeNode.cs: Add functionality to store the nodes plus minus box bounds.

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

19 years ago flush
Jackson Harper [Wed, 15 Dec 2004 20:02:19 +0000 (20:02 -0000)]
flush

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

19 years ago Remove debug output
Jackson Harper [Wed, 15 Dec 2004 19:24:27 +0000 (19:24 -0000)]
Remove debug output

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

19 years ago2004-12-15 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 15 Dec 2004 19:22:52 +0000 (19:22 -0000)]
2004-12-15  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* CodeGenerator.cs: add support for compiling not only from cwd.

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

19 years ago * TreeView.cs: Pass the nodes image index to the image list when
Jackson Harper [Wed, 15 Dec 2004 19:14:59 +0000 (19:14 -0000)]
* TreeView.cs: Pass the nodes image index to the image list when
drawing that image.

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

19 years ago2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 15 Dec 2004 18:58:06 +0000 (18:58 -0000)]
2004-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* certmgr.cs, signcode.cs, sn.cs: Fixlets to removed compilation
warning (for unused variables).

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

19 years ago2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 15 Dec 2004 18:50:40 +0000 (18:50 -0000)]
2004-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* CipherSuite.cs: Removed unused MD5 and SHA1 instances created in
PRF method (fix compilation warnings).

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

19 years ago2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 15 Dec 2004 18:49:31 +0000 (18:49 -0000)]
2004-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* UTF7Encoding.cs:  Fixed warning for unused variable.

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

19 years ago2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 15 Dec 2004 18:49:12 +0000 (18:49 -0000)]
2004-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1.cs: Fixed warning for unused variable.

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

19 years ago * Stdlib.cs: Add more <stdio.h> wrappers, such as fread(3) and fwrite(3).
Jonathan Pryor [Wed, 15 Dec 2004 18:32:11 +0000 (18:32 -0000)]
  * Stdlib.cs: Add more <stdio.h> wrappers, such as fread(3) and fwrite(3).
    These will be useful in implementing System.IO.Stream subclass for
    reading/writing to a FILE*.  Fix a typo in the realloc DllImport.

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

19 years ago * Syscall.cs: Fix the sys_kill and sys_crypt declarations.
Jonathan Pryor [Wed, 15 Dec 2004 18:22:45 +0000 (18:22 -0000)]
  * Syscall.cs: Fix the sys_kill and sys_crypt declarations.
* CdeclFunction.cs: Document calling convention problems on AMD64.

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

19 years agofix this on solaris for real
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 17:59:45 +0000 (17:59 -0000)]
fix this on solaris for real

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

19 years agonew tests + refresh
Marek Safar [Wed, 15 Dec 2004 17:45:35 +0000 (17:45 -0000)]
new tests + refresh

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

19 years ago2004-12-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 15 Dec 2004 17:15:12 +0000 (17:15 -0000)]
2004-12-15  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay: Don't create a block for every variable.

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

19 years ago2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 17:01:15 +0000 (17:01 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: check for ieeefp.h and isinf.
* mono/dis/dis-cil.c: added isinf() for Solaris, that does not seem to
have it. Fixes the build on Solaris.

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

19 years ago * X11Keyboard.cs: Set messages hwnd.
Jackson Harper [Wed, 15 Dec 2004 16:07:18 +0000 (16:07 -0000)]
* X11Keyboard.cs: Set messages hwnd.
* XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
post_message calls.

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

19 years ago2004-12-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Dec 2004 15:58:49 +0000 (15:58 -0000)]
2004-12-15  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_patch_code): Add missing PATCH_INFO_METHOD_REL
in the AOT case.

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

19 years ago2004-12-14 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Wed, 15 Dec 2004 15:56:56 +0000 (15:56 -0000)]
2004-12-14  Patrik Torstensson  <patrik.torstensson@gmail.com>

* mini-x86.c, cpu-pentium.md, inssel-x86.brg: Fixed bug
with add function when used from Inc/dec atomic
functions. Re-enabled optimization on x86.
* mini-ops.h: renamed atomic_add functions to
allow _add to match the Interlocked::Add and
_add_next to match Interlocked::Inc/Dec.

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

19 years ago2004-12-15 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Wed, 15 Dec 2004 15:24:13 +0000 (15:24 -0000)]
2004-12-15  Patrik Torstensson  <patrik.torstensson@gmail.com>

* interlocked.cs: New test.

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

19 years ago * X11Keyboard.cs: Fix to compile with csc.
Jackson Harper [Wed, 15 Dec 2004 15:18:13 +0000 (15:18 -0000)]
* X11Keyboard.cs: Fix to compile with csc.

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

19 years agothis never happened. Forget it.
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 14:22:05 +0000 (14:22 -0000)]
this never happened. Forget it.

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

19 years ago2004-12-15 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Wed, 15 Dec 2004 14:04:20 +0000 (14:04 -0000)]
2004-12-15  Lluis Sanchez Gual  <lluis@ximian.com>

* ObjectReader.cs: Use GetField instead of GetMembers. Properties can't
be serialized, so it makes no sense to use GetMembers.

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

19 years ago2004-12-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Dec 2004 13:58:32 +0000 (13:58 -0000)]
2004-12-15  Atsushi Enomoto  <atsushi@ximian.com>

* xsdtest.cs : added --v2 option that uses XmlReader.Create()
  instead of XmlValidatingReader.

* XmlFilterReader.cs : don't expect XmlReaderSettings of its source.

* XmlSchemaValidatingReader.cs : xsi:* attributes are now handled via
  XmlSchemaValidator.ValidateElement().
  Removed some obsolete overrides.

* XmlReader.cs :
  Create() should assure NameTable!=null on creating XmlTextReader.
  Now use XmlSchemaValidatingReader for all xsd validation.
* XmlTextReader2.cs :
  Don't use input reader's Settings. It is null.
* XmlReaderSettings.cs : added XmlResolver.

* XmlSchemaSet.cs : set default resolver. Clear components before
  recompilation.
* XmlSchemaValidator.cs :
  SourceUri is System.Uri.
  GetUnspecifiedDefaultAttributes() is allowed only when it is inside
  start tag.
  Added AddSchema().
  Added duplicate attribute check.
  Added ValidateElement() that takes xsi:* parameters.
  (http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackId=7fc38ea1-c306-4fb7-8631-0e174b0ff3c6)
  HandleXsiNil() now just takes string parameter.

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

19 years ago2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 13:11:33 +0000 (13:11 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Thread.cs: don't bother serializing if the CultureInfo we're setting
has the same LCID as the CurrentCulture.

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

19 years ago2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 13:03:45 +0000 (13:03 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplication.cs: reread application CultureInfo as
web.config might have changed. Fixes bug #62539.

* System.Web.Configuration/WebConfigurationSettings.cs: correctly
detect web.config changes.

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

19 years ago2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 11:08:56 +0000 (11:08 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.

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

19 years ago- Updated to reflect Mac Driver; added mention of System.Drawing patches
Peter Dennis Bartok [Wed, 15 Dec 2004 10:48:57 +0000 (10:48 -0000)]
- Updated to reflect Mac Driver; added mention of System.Drawing patches
  for MWF support
- Credited Geoff Norton with the Mac driver

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

19 years agoWed Dec 15 11:34:13 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Dec 2004 10:32:58 +0000 (10:32 -0000)]
Wed Dec 15 11:34:13 CET 2004 Paolo Molaro <lupus@ximian.com>

* ModuleBuilder.cs, EnumBuilder.cs: actually add the enumbuilder
to the type list of the module (bug#70488).

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

19 years ago* configure.in ($mcsdir/build/config.make): Use $mcsdir relative
Raja R Harinath [Wed, 15 Dec 2004 09:30:42 +0000 (09:30 -0000)]
* configure.in ($mcsdir/build/config.make): Use $mcsdir relative
to the $srcdir.  Fix definition of 'prefix'.

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

19 years ago Commit correct versions of files.
Jackson Harper [Wed, 15 Dec 2004 08:48:53 +0000 (08:48 -0000)]
Commit correct versions of files.

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

19 years ago * System.Windows.Forms.dll.sources: Add keyboard love to the build.
Jackson Harper [Wed, 15 Dec 2004 08:44:34 +0000 (08:44 -0000)]
* System.Windows.Forms.dll.sources: Add keyboard love to the build.

* X11Structs.cs: Add key mask values
* XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
* X11Keyboard.cs: New file - Extrapolates and interpolates key
down/up foo into WM_CHAR foo
* KeyboardLayouts.cs: Common keyboard layouts
* XplatUIX11.cs: Add the keyboard driver. Add functionality to
post messages into the main queue.

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

19 years ago2004-12-15 Massimiliano Mantione <massi@ximian.com>
Massimiliano Mantione [Wed, 15 Dec 2004 07:39:37 +0000 (07:39 -0000)]
2004-12-15  Massimiliano Mantione  <massi@ximian.com>

* mini.c: Fixed a subtle bug in mono_method_to_ir, about the
linking of BBs to the end BB, and enabled SSAPRE also with
consprop and copyprop (which was prevented by that bug).

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

19 years ago* XmlReaderSettingsTests.cs (DefaultValue): Update DtdValidate and
Raja R Harinath [Wed, 15 Dec 2004 06:54:06 +0000 (06:54 -0000)]
* XmlReaderSettingsTests.cs (DefaultValue): Update DtdValidate and
XsdValidate references to use ValidationType.

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

19 years agoshhh
Ben Maurer [Wed, 15 Dec 2004 00:08:35 +0000 (00:08 -0000)]
shhh

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

19 years ago * Compiler.cs: mcs writes to stderr now. Also read stdout so we
Jackson Harper [Tue, 14 Dec 2004 21:46:24 +0000 (21:46 -0000)]
* Compiler.cs: mcs writes to stderr now. Also read stdout so we
do not block if mcs writes a lot of data to is.

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

19 years agoless unsafe code
Ben Maurer [Tue, 14 Dec 2004 21:45:35 +0000 (21:45 -0000)]
less unsafe code

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

19 years ago * Compiler.cs: mcs writes to stderr now.
Jackson Harper [Tue, 14 Dec 2004 21:11:55 +0000 (21:11 -0000)]
* Compiler.cs: mcs writes to stderr now.

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

19 years ago2004-12-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 14 Dec 2004 20:43:14 +0000 (20:43 -0000)]
2004-12-14  Miguel de Icaza  <miguel@ximian.com>

* location.cs: Provide extra information.

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

19 years agoAdd new test
Miguel de Icaza [Tue, 14 Dec 2004 20:42:04 +0000 (20:42 -0000)]
Add new test

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

19 years agoRemove warning
Miguel de Icaza [Tue, 14 Dec 2004 19:05:35 +0000 (19:05 -0000)]
Remove warning

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

19 years agoRemove warning
Miguel de Icaza [Tue, 14 Dec 2004 19:04:34 +0000 (19:04 -0000)]
Remove warning

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

19 years agoMake this quiet, like MCS
Miguel de Icaza [Tue, 14 Dec 2004 18:33:35 +0000 (18:33 -0000)]
Make this quiet, like MCS

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

19 years ago2004-12-14 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Tue, 14 Dec 2004 17:10:37 +0000 (17:10 -0000)]
2004-12-14  Patrik Torstensson  <patrik.torstensson@gmail.com>

* mini-x86.c: disabling the Interlocked optimizing code.

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

19 years ago2004-12-14 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Tue, 14 Dec 2004 15:14:32 +0000 (15:14 -0000)]
2004-12-14  Ritvik Mayank  <mritvik@novell.com>

*AssignmentStatements5.vb: Removed, as it was not a proper runtime test
*BoolLiteralTest1.vb: Likewise
*CharacterLiterals1.vb: Likewise
*IntegerLiteralTest4.vb: Likewise

2004-12-14  Ritvik Mayank  <mritvik@novell.com>

*AssignmentStatements3.vb: Convert to nunit
*AssignmentStatements4.vb: Likewise
*Inheritance1.vb: Likewise
*IntegerLiteral1.vb: Likewise
*IntegerLiteralTest1.vb: Likewise
*IntegerLiteralTest2.vb: Likewise
*IntegerLiteralTest3.vb: Likewise
*LiteralNothing1.vb: Likewise
*ShiftOperators1.vb: Likewise
*StringLiterals1.vb: Likewise
*ConditionalStatements1.vb: Likewise
*DecimalLiteral1.vb: Likewise
*DoubleLiteral1.vb: Likewise
*LikeOperator1.vb: Likewise
*LocalVariables1.vb: Likewise
*LogicalOperators1.vb: Likewise
*LongLiteral1.vb: Likewise
*LoopStatements1.vb: Likewise
*RelationalOperators1.vb: Likewise
*SyncLock1.vb: Likewise

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

19 years agoAdd a target to build a selection of locales and a bit of docs.
Paolo Molaro [Tue, 14 Dec 2004 14:56:35 +0000 (14:56 -0000)]
Add a target to build a selection of locales and a bit of docs.

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

19 years ago2004-12-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 14:10:01 +0000 (14:10 -0000)]
2004-12-14  Zoltan Varga  <vargaz@freemail.hu>

* threads.h threads.c appdomain.c: Clear the culture_info field of
all threads during unloading if they point to an object in the dying
appdomain.

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

19 years ago2004-12-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 13:46:26 +0000 (13:46 -0000)]
2004-12-14  Zoltan Varga  <vargaz@freemail.hu>

* Thread.cs: Optimize CurrentCulture to avoid initializing the
serialization infrastructure in the common case when the culture is
not set explicitly.

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

19 years ago2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 13:32:24 +0000 (13:32 -0000)]
2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: remove unneeded check. Write detects and
triggers the exception now.

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

19 years ago2004-12-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 13:26:04 +0000 (13:26 -0000)]
2004-12-14  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (load_aot_module): Move reading of got_addr after the AOT
file version check.

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

19 years ago2004-12-14 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Tue, 14 Dec 2004 13:22:03 +0000 (13:22 -0000)]
2004-12-14  Patrik Torstensson  <patrik.torstensson@gmail.com>

* mini-x86.c, inssel-x86.brg, cpu-pentium.md: removed _imm
interlocked optimization due lack of support on x86, rewrote
exchange to take into account that base may be in eax.

xsp works again; activated Interlocked optimizing code.

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

19 years ago2004-12-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 13:18:01 +0000 (13:18 -0000)]
2004-12-14  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (MONO_AOT_FILE_VERSION): Bump AOT file version.

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

19 years ago2004-12-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 13:16:04 +0000 (13:16 -0000)]
2004-12-13  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h: Add new opcodes.

* mini.h: Add new patch types. Add got_var to MonoCompile.

* mini.h mini-x86.c mini-amd64.c aot.c: Rename
mono_arch_get_aot_patch_offset () to mono_arch_get_patch_offset () and
make it work with all kinds of patchable code.

* inssel.brg inssel-x86.brg: Add new rules dealing with computing the
address of the GOT, and referencing entries in the GOT.

* mini.c: Add code to load the GOT address if needed by an opcode.

* aot.c mini-x86.h mini-x86.c cpu-pentium.md: Add support for position
independent AOT code on the x86 using an elf-style Global Offset Table.

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