Gonzalo Paniagua Javier [Mon, 30 Jan 2006 20:29:19 +0000 (20:29 -0000)]
2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* VirtualPathUtilityTest.cs: added new tests.
svn path=/trunk/mcs/; revision=56279
Jackson Harper [Mon, 30 Jan 2006 19:56:56 +0000 (19:56 -0000)]
Remove unused using that was bugging me.
svn path=/trunk/mcs/; revision=56278
Mike Kestner [Mon, 30 Jan 2006 19:55:00 +0000 (19:55 -0000)]
2006-01-30 Mike Kestner <mkestner@novell.com>
* MenuAPI.cs: adjust MainMenu item popup location to y=0.
svn path=/trunk/mcs/; revision=56277
Jackson Harper [Mon, 30 Jan 2006 19:52:31 +0000 (19:52 -0000)]
* TreeView.cs:
* TreeNode.cs: Raise events no matter how the treenode is
checked. Patch by Don Edvalson.
svn path=/trunk/mcs/; revision=56276
Jackson Harper [Mon, 30 Jan 2006 19:41:47 +0000 (19:41 -0000)]
* TreeNode.cs: Signature fix.
svn path=/trunk/mcs/; revision=56271
Atsushi Eno [Mon, 30 Jan 2006 19:30:59 +0000 (19:30 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocument.cs, XmlAttribute.cs, XmlElement.cs : Avoid unnecessary
name checks in CreateElement() and CreateAttribute().
get_DocumentType() could be stopped when the iterated child node
is the document element.
* XmlNode.cs : removed commented lines.
* XmlNameEntry.cs : hash code for a name entry is mostly identical by
its local name, so avoid extraneous GetHashCode() especially on
namespaces.
svn path=/trunk/mcs/; revision=56270
Chris Toshok [Mon, 30 Jan 2006 17:47:37 +0000 (17:47 -0000)]
add a nested master page example where we have duplicate/conflicting placeholder/template names. presently fails on mono, works on MS
svn path=/trunk/mcs/; revision=56258
Chris Toshok [Mon, 30 Jan 2006 17:46:53 +0000 (17:46 -0000)]
add a nested master page test from odetocode
svn path=/trunk/mcs/; revision=56257
Miguel de Icaza [Mon, 30 Jan 2006 17:01:29 +0000 (17:01 -0000)]
Update this, thanks for pointer from Sebastien
svn path=/trunk/mcs/; revision=56256
Atsushi Eno [Mon, 30 Jan 2006 14:29:56 +0000 (14:29 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* UTF8Encoding.cs : InternalGetCharCount() optimization again, and
this time InternalGetChars() as well.
svn path=/trunk/mcs/; revision=56251
Atsushi Eno [Mon, 30 Jan 2006 14:23:28 +0000 (14:23 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlDsigEnvelopedSignatureTransform.cs :
It should not remove nodes in another XmlNodeList while its
iterator is in active use. This is exposed by the recent
XmlNodeList change.
svn path=/trunk/mcs/; revision=56250
Raja R Harinath [Mon, 30 Jan 2006 14:05:10 +0000 (14:05 -0000)]
Fix #77401
* mcs/cs-parser.jay (VariableDeclaration): Don't set
current_array_type to null.
(field_declaration, event_declaration, declaration_statement):
Set it to null here.
* gmcs/cs-parser.jay: Likewise.
* tests/test-490.cs: New test from #77401.
svn path=/trunk/mcs/; revision=56248
Alejandro Serrano "Serras" [Mon, 30 Jan 2006 12:42:11 +0000 (12:42 -0000)]
Initial commit for System.Query library
svn path=/trunk/mcs/; revision=56247
Atsushi Eno [Mon, 30 Jan 2006 12:06:56 +0000 (12:06 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* DbcsEncoding.cs ISO2022JP.cs GB18030Encoding.cs CP51932.cs
CP949.cs : Fixed windows code page and some minor properties.
svn path=/trunk/mcs/; revision=56246
Atsushi Eno [Mon, 30 Jan 2006 12:05:39 +0000 (12:05 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* MonoEncoding.cs :
Added another overload that takes windows code page.
svn path=/trunk/mcs/; revision=56245
Paolo Molaro [Mon, 30 Jan 2006 11:52:35 +0000 (11:52 -0000)]
Mon Jan 30 12:51:10 CET 2006 Paolo Molaro <lupus@ximian.com>
* cpu-pentium.md, mini-x86.c, inssel.brg, inssel-x86.brg,
mini-ops.h: alu membase optimizations.
svn path=/trunk/mono/; revision=56244
Boris Kirzner [Mon, 30 Jan 2006 11:49:49 +0000 (11:49 -0000)]
Updated run test script for TARGET_JVM.
svn path=/trunk/mcs/; revision=56243
Boris Kirzner [Mon, 30 Jan 2006 11:45:42 +0000 (11:45 -0000)]
Added initial stuff for TARGET_JVM.
svn path=/trunk/mcs/; revision=56242
Raja R Harinath [Mon, 30 Jan 2006 09:49:49 +0000 (09:49 -0000)]
* metadata.c (mono_metadata_parse_method_signature_full): Don't
allocate memory for parameter attributes when parsing memberref
signatures.
* loader.c (mono_loader_set_error_method_load): Don't warn.
(method_from_memberref): Ensure MissingMethodException gets thrown
if method is not found. Make warning more informative.
svn path=/trunk/mono/; revision=56241
Atsushi Eno [Mon, 30 Jan 2006 08:15:51 +0000 (08:15 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs : ReadOuterXml() returns meaingful value only for
element and attribute. ReadInnerXml() does not have to create
XmlTextWriter for empty elements.
svn path=/trunk/mcs/; revision=56240
Atsushi Eno [Mon, 30 Jan 2006 08:10:05 +0000 (08:10 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlNodeReader2.cs XmlException.cs XmlReader.cs XmlTextReader.cs
XmlWriter.cs XmlTextWriter.cs XmlValidatingReader.cs
XmlNodeReaderImpl.cs DTDValidatingReader.cs XmlSecureResolver.cs:
cleaning up obsolete NET_1_0 code.
svn path=/trunk/mcs/; revision=56239
Ben Maurer [Mon, 30 Jan 2006 06:08:52 +0000 (06:08 -0000)]
no +x
svn path=/trunk/mcs/; revision=56238
Atsushi Eno [Mon, 30 Jan 2006 06:02:59 +0000 (06:02 -0000)]
added dtd2rng and mono-xmltool.
svn path=/trunk/mono/; revision=56237
Atsushi Eno [Mon, 30 Jan 2006 06:01:52 +0000 (06:01 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : added mono-xmltool.
svn path=/trunk/mcs/; revision=56236
Atsushi Eno [Mon, 30 Jan 2006 05:56:29 +0000 (05:56 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* xmltool.cs : actually environment variable was not handled.
svn path=/trunk/mcs/; revision=56235
Atsushi Eno [Mon, 30 Jan 2006 05:53:58 +0000 (05:53 -0000)]
2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
* xmltool.cs, Makefile, mono-xmltool.exe.sources : new files.
svn path=/trunk/mcs/; revision=56234
Raja R Harinath [Sun, 29 Jan 2006 18:32:02 +0000 (18:32 -0000)]
* gtest-241.cs: New test from #77397.
svn path=/trunk/mcs/; revision=56229
Raja R Harinath [Sun, 29 Jan 2006 18:31:28 +0000 (18:31 -0000)]
Fix #77397
* icall.c (ves_icall_MonoType_get_IsGenericParameter): Don't
return true if is byref.
(ves_icall_TypeBuilder_get_IsGenericParameter): Likewise.
(ves_icall_MonoType_get_DeclaringType): Return NULL on byref classes.
(ves_icall_MonoType_get_DeclaringMethod): Likewise.
svn path=/trunk/mono/; revision=56228
Joshua Tauberer [Sun, 29 Jan 2006 16:43:14 +0000 (16:43 -0000)]
SqliteClient: Lots and lots of fixes.
svn path=/trunk/mcs/; revision=56227
Raja R Harinath [Sun, 29 Jan 2006 15:08:01 +0000 (15:08 -0000)]
Fix part of #77397
* generic.cs (TypeManager.IsByRef): Handle pass-by-ref types.
svn path=/trunk/mcs/; revision=56226
Konstantin Triger [Sun, 29 Jan 2006 13:47:15 +0000 (13:47 -0000)]
TARGET_JVM: initial OracleClient implementation
svn path=/trunk/mcs/; revision=56225
Konstantin Triger [Sun, 29 Jan 2006 13:30:53 +0000 (13:30 -0000)]
add System.Data.ProviderBase.jvm/AbstractDbCommandBuilder.cs
svn path=/trunk/mcs/; revision=56224
Konstantin Triger [Sun, 29 Jan 2006 13:26:16 +0000 (13:26 -0000)]
correcting method signatures
svn path=/trunk/mcs/; revision=56223
Konstantin Triger [Sun, 29 Jan 2006 13:25:31 +0000 (13:25 -0000)]
correcting method signatures
svn path=/trunk/mcs/; revision=56222
Konstantin Triger [Sun, 29 Jan 2006 13:23:51 +0000 (13:23 -0000)]
refactoring: correcting method signatures for reuse in other assemblies
svn path=/trunk/mcs/; revision=56221
Konstantin Triger [Sun, 29 Jan 2006 13:21:22 +0000 (13:21 -0000)]
TARGET_JVM: moving DbConvert.cs
svn path=/trunk/mcs/; revision=56220
Konstantin Triger [Sun, 29 Jan 2006 13:14:43 +0000 (13:14 -0000)]
TARGET_JVM: making public
svn path=/trunk/mcs/; revision=56219
Boris Kirzner [Sun, 29 Jan 2006 12:09:41 +0000 (12:09 -0000)]
Added batch files for automatic testing for TARGET_JVM.
svn path=/trunk/mcs/; revision=56218
Alexander Olk [Sun, 29 Jan 2006 09:53:24 +0000 (09:53 -0000)]
2006-01-29 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
svn path=/trunk/mcs/; revision=56216
Raja R Harinath [Sun, 29 Jan 2006 08:39:14 +0000 (08:39 -0000)]
* GenericTypeParameterBuilder.cs (DeclaringType): Return the
declaring type of a generic method.
svn path=/trunk/mcs/; revision=56215
Raja R Harinath [Sun, 29 Jan 2006 08:35:17 +0000 (08:35 -0000)]
make line-endings uniform, set svn:eol-style=native for unix line-endings
svn path=/trunk/mcs/; revision=56214
Chris Toshok [Sun, 29 Jan 2006 06:59:02 +0000 (06:59 -0000)]
2006-01-29 Chris Toshok <toshok@ximian.com>
* HttpModulesSection.cs (LoadModules): I'm not sure we want to
solve this problem in this way, but the 1.x code forces
DefaultAuthenticationModule to be in the list of modules..
Without this fix (or something else) HttpContext.User is null when
it shouldn't be.
svn path=/trunk/mcs/; revision=56213
Atsushi Eno [Sat, 28 Jan 2006 18:37:11 +0000 (18:37 -0000)]
2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter.cs : avoid case-insensitive String.Compare().
Use array for openElements rather than ArrayList.
svn path=/trunk/mcs/; revision=56210
Atsushi Eno [Sat, 28 Jan 2006 17:33:24 +0000 (17:33 -0000)]
2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlElement.cs, XmlAttribute.cs :
Avoid ChildNodes.Count and use FirstChild/NextSibling.
svn path=/trunk/mcs/; revision=56208
Raja R Harinath [Sat, 28 Jan 2006 08:11:13 +0000 (08:11 -0000)]
In mcs:
* typemanager.cs (GenericParameterPosition): New.
* doc.cs: Use it.
In gmcs:
* typemanager.cs (GenericParameterPosition): New.
* doc.cs: Use it.
svn path=/trunk/mcs/; revision=56201
Atsushi Eno [Sat, 28 Jan 2006 07:53:16 +0000 (07:53 -0000)]
2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlNode.cs, XmlIteratorNodeList.cs :
Now we can enable XmlIteratorNodeList again (mcs, incorrectly
removing nodes in the node list, was fixed).
svn path=/trunk/mcs/; revision=56200
Atsushi Eno [Sat, 28 Jan 2006 07:03:20 +0000 (07:03 -0000)]
2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocument.cs : in ReadNode() to consume element node, switched
to MoveToAttribute(int) since MoveToNextAttribute() was somehow
not working fine. It is needed to avoid Sys.Data test breakage
and anything else should be fixed indeed.
svn path=/trunk/mcs/; revision=56199
Atsushi Eno [Sat, 28 Jan 2006 06:09:49 +0000 (06:09 -0000)]
2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : To process "include" elements, first we should create
another list than XmlNodeList, because it could result in node
removal, which could result in that the XmlNodeList gives up
yielding next node.
(Also made code identical to gmcs again.)
svn path=/trunk/mcs/; revision=56198
Mike Kestner [Fri, 27 Jan 2006 22:38:16 +0000 (22:38 -0000)]
svn path=/trunk/mcs/; revision=56196
Mike Kestner [Fri, 27 Jan 2006 22:27:52 +0000 (22:27 -0000)]
2006-01-20 Mike Kestner <mkestner@novell.com>
* Form.cs: Add ActiveTracker property to do Captures and perform mouse
event forwarding when menus are active.
* MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
svn path=/trunk/mcs/; revision=56195
Paolo Molaro [Fri, 27 Jan 2006 22:25:05 +0000 (22:25 -0000)]
Twice:-(
svn path=/trunk/mono/; revision=56194
Paolo Molaro [Fri, 27 Jan 2006 22:22:11 +0000 (22:22 -0000)]
Typo.
svn path=/trunk/mono/; revision=56193
Ankit Jain [Fri, 27 Jan 2006 22:03:39 +0000 (22:03 -0000)]
* MethodDef.cs:
* TypeManager.cs:
* MethodPointerTypeRef.cs:
* ExternMethodRef.cs: Remove unused variables to fix warnings.
svn path=/trunk/mcs/; revision=56192
Ankit Jain [Fri, 27 Jan 2006 21:45:45 +0000 (21:45 -0000)]
In ilasm/scanner:
* ILTables.cs (keywords): Fix typos in entry for 'charmaperror'.
In ilasm/parser:
* ILParser.jay (pinv_attr | ..): Fix typo.
svn path=/trunk/mcs/; revision=56191
Ankit Jain [Fri, 27 Jan 2006 21:26:37 +0000 (21:26 -0000)]
* TypeDef.cs (GenericInfo):
* MethodDef.cs (GenericInfo): Remove (unused).
svn path=/trunk/mcs/; revision=56190
Ankit Jain [Fri, 27 Jan 2006 20:48:52 +0000 (20:48 -0000)]
* get.c (get_method_core): Emit generic arity for a MemberRef.
(get_method_override): Emit full sig only if its a generic type.
svn path=/trunk/mono/; revision=56189
Paolo Molaro [Fri, 27 Jan 2006 20:12:20 +0000 (20:12 -0000)]
Fri Jan 27 21:11:08 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini-ops.h, mini.c, inssel.brg, inssel-x86.brg: opcode
to speedup StringBuilder.
svn path=/trunk/mono/; revision=56187
Paolo Molaro [Fri, 27 Jan 2006 19:40:37 +0000 (19:40 -0000)]
Fri Jan 27 20:39:48 CET 2006 Paolo Molaro <lupus@ximian.com>
* XmlTextReader.cs, XmlChar.cs: more tweaks and speedups.
svn path=/trunk/mcs/; revision=56186
Chris Toshok [Fri, 27 Jan 2006 19:36:29 +0000 (19:36 -0000)]
2006-01-27 Chris Toshok <toshok@ximian.com>
* MasterPage.cs (ContentTemplatesInternal): add get/set for the
actual Hashtable.
* Page.cs (SaveExistingContentTemplates): store off the existing
MasterPage content templates so they can be reapplied when setting
MasterPageFile to something else.
(ReapplyExistingContentTemplates): set masterPage's
ContentTemplates to our saved copy.
(set_MasterPageFile): save off the current content templates
before clearing masterPage.
(get_Master): reapply the saved content templates after we create
the new MasterPage.
svn path=/trunk/mcs/; revision=56185
Sebastien Pouliot [Fri, 27 Jan 2006 19:29:31 +0000 (19:29 -0000)]
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
* ImageAttributes.cs: Ensure Marshal.FreeHGlobal is called for all
unmanaged memory allocated with AllocHGlobal.
* ImageCodecInfo.cs: Ensure Marshal.FreeHGlobal is called for all
unmanaged memory allocated with AllocHGlobal.
svn path=/trunk/mcs/; revision=56183
Zoltan Varga [Fri, 27 Jan 2006 19:27:58 +0000 (19:27 -0000)]
2006-01-27 Zoltan Varga <vargaz@gmail.com>
* DateTime.cs: Add some 2.0 methods and properties.
svn path=/trunk/mcs/; revision=56182
Sebastien Pouliot [Fri, 27 Jan 2006 19:16:23 +0000 (19:16 -0000)]
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
* PrintingServicesWin32.cs: Ensure Marshal.FreeHGlobal is called for
all unmanaged memory allocated with AllocHGlobal.
svn path=/trunk/mcs/; revision=56181
Chris Toshok [Fri, 27 Jan 2006 19:13:07 +0000 (19:13 -0000)]
add tests from bugzilla bugs 75402 and 77278
svn path=/trunk/mcs/; revision=56180
Ankit Jain [Fri, 27 Jan 2006 19:11:10 +0000 (19:11 -0000)]
* ILParser.jay (method_ref): Remove 2 redundant productions.
(method_decl | D_OVERRIDE K_METHOD ..): New production for overriding
generic methods.
svn path=/trunk/mcs/; revision=56179
Sebastien Pouliot [Fri, 27 Jan 2006 19:01:31 +0000 (19:01 -0000)]
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
* Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
even if GDIPlus.CheckStatus throws an exception;
* Image.cs: Ensure unmanaged memory is free correctly even if
GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
case is unclear to me (and unimplemented in libgdiplus);
* Region.cs: Ensure unmanaged memory is free correctly in
GetRegionScans even if GDIPlus.CheckStatus throws an exception;
svn path=/trunk/mcs/; revision=56178
Gonzalo Paniagua Javier [Fri, 27 Jan 2006 18:43:47 +0000 (18:43 -0000)]
2006-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TextWriter.cs: Dispose () is public in 2.0.
svn path=/trunk/mcs/; revision=56176
Zoltan Varga [Fri, 27 Jan 2006 18:30:13 +0000 (18:30 -0000)]
2006-01-27 Zoltan Varga <vargaz@gmail.com>
* dominators.c (mono_compute_natural_loops): Fix detection of
loop body start blocks.
svn path=/trunk/mono/; revision=56175
Sebastien Pouliot [Fri, 27 Jan 2006 18:28:21 +0000 (18:28 -0000)]
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
* Matrix.cs: Ensure we call Marshal.FreeHGlobal even if CheckStatus
throws an exception.
svn path=/trunk/mcs/; revision=56174
Atsushi Eno [Fri, 27 Jan 2006 16:51:55 +0000 (16:51 -0000)]
2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs : optimization patch by Paolo.
Fast path optimization in PeekChar().
Avoid double-evaluation of PeekChar() and ReadChar() by new
Advance() method.
svn path=/trunk/mcs/; revision=56171
Sebastien Pouliot [Fri, 27 Jan 2006 16:45:48 +0000 (16:45 -0000)]
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Removed "NotWorking" from existing Flatten
tests and added more test cases (for each type of shape).
svn path=/trunk/mcs/; revision=56170
Sebastien Pouliot [Fri, 27 Jan 2006 16:41:26 +0000 (16:41 -0000)]
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
* RegionNonRectTest.cs: Updated comments on a test that fails on both
1.x and 2.0 MS runtime.
* TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
each asserts.
svn path=/trunk/mcs/; revision=56169
Raja R Harinath [Fri, 27 Jan 2006 16:11:48 +0000 (16:11 -0000)]
Fix couple of typos: I forgot to save the final version before committing
svn path=/trunk/mono/; revision=56168
Senganal T [Fri, 27 Jan 2006 15:54:36 +0000 (15:54 -0000)]
2006-01-27 Senganal T <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs :
- Modified GetSqlMoney () , to set the precision and Scale correctly.
- Modified ProcessColumnDetails , to set the schema values correctly.
* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsDataColumn.cs : Added some default values for the column schema
* System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest : Corrected a failing testcase.
* System.Data/Test/ProviderTests/System.Data.SqlClient/SqlCommandBuilderTest.cs : corrected a failing testcase
* System.Data/System.Data.SqlTypes/SqlDateTime : Corrected the MaxValue for SqlDateTime
* System.Data/System.Data.Common/DbDataAdapter.cs :
- Modified schema population to follow MissingSchemaAction and MissingMappingAction
- Add a column to the Primary Key only if its not a hidden key
- Added some argument checks
- Removed some redundant code
* System.Data/System.Data.Common/DataAdapter :
- Added argument checks
* System.Data/System.Data.Common/ExceptionHelper :
- Added InvalidEnumException , a helper function to print error msg
* System.Data/System.Data.SqlClient/SqlCommandBuilder.cs :
- Modified CreateUpdateCommand,CreateDeleteCommand , to not include
column name in the query if its a expression col.
Also, modified the queries to match the generated queries in ms.net
* System.Data/System.Data.SqlClient/SqlCommand.cs :
- Modifed Prepare, to check if Parameter is explicitly initialized
* System.Data/System.Data.SqlClient/SqlParameter.cs :
- Added CheckIfInitialized : Checks if datatype is explicitly set and
non-zero size is set for variable datatypes.
* System.Data/System.Data.SqlClient/SqlDataReader.cs :
- Added code for GetSqlBinary ()
- Fixed GetFieldCount ()
- Added more checks and exceptions.
Fixes most of the failing SqlClient Provider Tests .
svn path=/trunk/mcs/; revision=56167
Ankit Jain [Fri, 27 Jan 2006 15:38:01 +0000 (15:38 -0000)]
* get.c (get_methodref_signature): Remove 'context' parameter.
Update call sites.
* get.h (get_methodref_signature): Update.
* dump.c (dump_table_memberref): Update.
svn path=/trunk/mono/; revision=56166
Gonzalo Paniagua Javier [Fri, 27 Jan 2006 14:56:46 +0000 (14:56 -0000)]
added .dll to the list of forbidden files
svn path=/trunk/mono/; revision=56165
Gonzalo Paniagua Javier [Fri, 27 Jan 2006 14:56:12 +0000 (14:56 -0000)]
added .dll to the list of forbidden files
svn path=/trunk/mono/; revision=56164
Sebastien Pouliot [Fri, 27 Jan 2006 14:42:22 +0000 (14:42 -0000)]
GraphicsPath.cs: Removed TODO on Flatten methods (now supported in libgdiplus). Added a private constant for FlatnessDefault (0.25). Added MonoTODO on IsVisible* methods (not supported in libgdiplus).
svn path=/trunk/mcs/; revision=56163
Zoltan Varga [Fri, 27 Jan 2006 14:27:40 +0000 (14:27 -0000)]
2006-01-27 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_print_thread_dump): Fix non x86 builds.
svn path=/trunk/mono/; revision=56161
Raja R Harinath [Fri, 27 Jan 2006 13:32:12 +0000 (13:32 -0000)]
In metadata:
Fix tests/find-method.2.il
* loader.c (find_method, find_method_in_class): Remove is_inflated
argument. Revert 2006-01-18 change.
(method_from_memberref) [MONO_MEMBERREF_PARENT_TYPESPEC]: If type
is generic, search for method in its generic definition.
* class.c (mono_class_setup_vtable_general): Print generic
arguments of generic types in debugging printf.
In tests:
* Makefile.am (TEST_PROG_RUN, JITTEST_PROG_RUN): Don't set MONO_PATH.
(with_mono_path2, RUNTIME2, GMCS, ILASM2): New.
(TEST_CS2_SRC, TEST_IL2_SRC): New.
(EXTRA_DIST): Add them.
(testjit-default, testjit-net_2_0): New. Copies of old testjit,
updated to use appropriate runtimes.
(testjit): Depend on them.
svn path=/trunk/mono/; revision=56160
Ankit Jain [Fri, 27 Jan 2006 13:01:55 +0000 (13:01 -0000)]
* ILParser.jay (formal_typars_clause): Allow generics only for NET_2_0 profile.
(typars_clause): Likewise.
svn path=/trunk/mcs/; revision=56159
Jordi Mas i Hernandez [Fri, 27 Jan 2006 11:41:25 +0000 (11:41 -0000)]
2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
* gdipFunctions.cs: New gdiplus imports
* Font.cs: Use gdiplus calls to get font height and size
svn path=/trunk/mcs/; revision=56157
Jordi Mas i Hernandez [Fri, 27 Jan 2006 11:28:27 +0000 (11:28 -0000)]
2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
* Adds PrintFontSample.cs
svn path=/trunk/mcs/; revision=56155
Atsushi Eno [Fri, 27 Jan 2006 10:22:40 +0000 (10:22 -0000)]
2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlNode.cs : disabled XmlIteratorNodeList optimization. It caused
some kind of regression under mcs/tests/xml-025.cs.
svn path=/trunk/mcs/; revision=56153
Atsushi Eno [Fri, 27 Jan 2006 09:32:28 +0000 (09:32 -0000)]
2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlAttributeCollection.cs :
Replaced all Nodes.Count with Count (it could avoid extraneous
ArrayList creation in XmlNamedNodeMap). ID attribute adjustment
was extraneously done against all attribute nodes and thus there
was a plenty of call to Value.
* XmlNamedNodeMap.cs : added comment on SetNamedItem() W3C spec
violation.
svn path=/trunk/mcs/; revision=56152
Atsushi Eno [Fri, 27 Jan 2006 08:38:28 +0000 (08:38 -0000)]
2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlNode.cs,
XmlDocument.cs,
XmlAttribute.cs,
XmlElement.cs :
Added internal AppendChild() override that omites node type
checking, and used it in many places.
svn path=/trunk/mcs/; revision=56151
Atsushi Eno [Fri, 27 Jan 2006 08:06:49 +0000 (08:06 -0000)]
2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocument.cs : optimized ReadAttributeNode() to not call
MoveToAttribute() unneccesarily (call it only when ReadNode() is
called on an attribute node).
svn path=/trunk/mcs/; revision=56150
Atsushi Eno [Fri, 27 Jan 2006 07:06:09 +0000 (07:06 -0000)]
2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlNode.cs :
in get_InnerText(), avoid extraneous StringBuilder creation.
svn path=/trunk/mcs/; revision=56149
Atsushi Eno [Fri, 27 Jan 2006 06:29:26 +0000 (06:29 -0000)]
2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources : added XmlIteratorNodeList.cs.
* XmlIteratorNodeList.cs : new file for XmlNodeList implementation.
It does not iterate all nodes in advance.
* XmlNode.cs : use XmlIteratorNodeList in SelectNodes().
svn path=/trunk/mcs/; revision=56148
Peter Dennis Bartok [Fri, 27 Jan 2006 04:57:12 +0000 (04:57 -0000)]
2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
Removed GetMenuDC and ReleaseMenuDC methods; replaced
by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
* Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
* InternalWindowManager.cs: Added use of PaintEventStart/End to
handling of WM_NCPAINT message, now passing the PaintEventArgs to
the PaintWindowDecorations method
* MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
* MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
* MenuAPI.cs: Made tracker window invisible
* XplatUIWin32.cs:
- Removed GetMenuDC and ReleaseMenuDC methods
- Implemented the client=false path for PaintEventStart and
PaintEventEnd
svn path=/trunk/mcs/; revision=56147
Chris Toshok [Fri, 27 Jan 2006 04:29:20 +0000 (04:29 -0000)]
2006-01-26 Chris Toshok <toshok@ximian.com>
* data/net_2_0/machine.config: ignore runtime and startup
sections.
svn path=/trunk/mono/; revision=56146
Peter Dennis Bartok [Fri, 27 Jan 2006 03:41:00 +0000 (03:41 -0000)]
2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
* XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
styles
* Form.cs:
- MaximizeBox, MinimizeBox: Recreate the handle when setting
the style
- CreateParams: Reworked the styles to match MS look'n'feel,
removed automatic setting of MinimizeBox, MaximizeBox, etc. via
the WS_OVERLAPPEDWINDOW style. This fixes #76823.
svn path=/trunk/mcs/; revision=56144
Peter Dennis Bartok [Fri, 27 Jan 2006 02:53:23 +0000 (02:53 -0000)]
- Oops, forgot to check in
svn path=/trunk/mcs/; revision=56143
Jonathan Pryor [Fri, 27 Jan 2006 02:44:09 +0000 (02:44 -0000)]
* UnixMarshal.cs: Check for null arguments in PtrToString() and
PtrToStringArray().
svn path=/trunk/mcs/; revision=56140
Chris Toshok [Fri, 27 Jan 2006 02:20:08 +0000 (02:20 -0000)]
2006-01-26 Chris Toshok <toshok@ximian.com>
* WebEncoding.cs: rework this so we cache the section, and so we
swallow exceptions based on a broken configuration.
svn path=/trunk/mcs/; revision=56139
Chris Toshok [Fri, 27 Jan 2006 02:18:12 +0000 (02:18 -0000)]
add HttpConfigurationSystem.cs
svn path=/trunk/mcs/; revision=56138
Chris Toshok [Fri, 27 Jan 2006 02:17:41 +0000 (02:17 -0000)]
2006-01-26 Chris Toshok <toshok@ximian.com>
* HttpConfigurationSystem.cs: new class that gets sections from
web.config files.
* WebConfigurationManager.cs: change a lot of the
NotImplementedExceptions to NotSupportedExceptions.
(AppSettings): implement by just returning
ConfigurationManager.AppSettings (note this is broken because
ConfigurationManager.AppSettings are read-only, but it works for
reading.)
(ConnectionStrings): same (and probably broken in the same way..)
(Init): replace the 2.0 IInternalConfigSystem with our
HttpConfigurationSystem.
* WebConfigurationHost.cs: add a comment about how things are
likely to work in the face of IRemoteWebConfigurationHostServer.
(CreateConfigurationContext): return a WebContext instance.
svn path=/trunk/mcs/; revision=56137
Chris Toshok [Fri, 27 Jan 2006 02:10:44 +0000 (02:10 -0000)]
Add ClientConfigurationSystem.cs to the build
svn path=/trunk/mcs/; revision=56136
Chris Toshok [Fri, 27 Jan 2006 02:10:20 +0000 (02:10 -0000)]
2006-01-26 Chris Toshok <toshok@ximian.com>
* SectionGroupInfo.cs (ReadContent): handle "location" (seemingly)
correctly.
* InternalConfigurationRoot.cs: misc logical additions. still
isn't useful.
* ConfigurationManager.cs (OpenExeConfigurationInternal): throw an
exception if both calling_assembly and exePath are null. Allow
the exePath to be a path to a config file as well, checking to see
if it ends in .config before appending.
(OpenExeConfiguration): stop blindly passing
Assembly.GetCallingAssembly. I'm assuming this will likely break
.dll.config usage. need to investigate that (and write more unit
tests.)
(GetSection): call configSystem.GetSection.
(RefreshSection): call configSystem.RefreshSection.
(ChangeConfigurationSystem): modeled after the
ConfigurationSettings System.Web hack - allow
WebConfigurationManager to replace the current
IInternalConfigSystem.
* InternalConfigurationHost.cs (InternalConfigurationHost): make
abstract, and remove all the NotImplenmentedException's.
* ConfigurationElement.cs (DeserializeElement): store off the xml
namespace if there is one.
(SerializeElement): write out the namespace if there was one.
* ClientConfigurationSystem.cs: new class, based on some stack
traces I've seen in tests. Kinda (well, not *kinda*..) hacky.
* Configuration.cs (NamespaceDeclared): implement.
(Load): don't swallow all exceptions, just the ones raised when we
open the stream for reading.
(ReadConfigFile): handle xmlns.
svn path=/trunk/mcs/; revision=56135
Chris Toshok [Fri, 27 Jan 2006 01:54:16 +0000 (01:54 -0000)]
clean up
svn path=/trunk/mcs/; revision=56134
Peter Dennis Bartok [Fri, 27 Jan 2006 00:46:40 +0000 (00:46 -0000)]
2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs(GetWindowState): Now throwing an exception when the
window is not mapped, since otherwise every form that's being
created is considered minimized, which is wrong.
* Form.cs: Catching the exception and returning our internal value
instead
svn path=/trunk/mcs/; revision=56133