mono.git
18 years agoadded dtd2rng and mono-xmltool.
Atsushi Eno [Mon, 30 Jan 2006 06:02:59 +0000 (06:02 -0000)]
added dtd2rng and mono-xmltool.

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

18 years ago2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago* gtest-241.cs: New test from #77397.
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

18 years agoFix #77397
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

18 years agoSqliteClient: Lots and lots of fixes.
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

18 years agoFix part of #77397
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

18 years agoTARGET_JVM: initial OracleClient implementation
Konstantin Triger [Sun, 29 Jan 2006 13:47:15 +0000 (13:47 -0000)]
TARGET_JVM: initial OracleClient implementation

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

18 years agoadd System.Data.ProviderBase.jvm/AbstractDbCommandBuilder.cs
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

18 years agocorrecting method signatures
Konstantin Triger [Sun, 29 Jan 2006 13:26:16 +0000 (13:26 -0000)]
correcting method signatures

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

18 years agocorrecting method signatures
Konstantin Triger [Sun, 29 Jan 2006 13:25:31 +0000 (13:25 -0000)]
correcting method signatures

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

18 years agorefactoring: correcting method signatures for reuse in other assemblies
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

18 years agoTARGET_JVM: moving DbConvert.cs
Konstantin Triger [Sun, 29 Jan 2006 13:21:22 +0000 (13:21 -0000)]
TARGET_JVM: moving DbConvert.cs

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

18 years agoTARGET_JVM: making public
Konstantin Triger [Sun, 29 Jan 2006 13:14:43 +0000 (13:14 -0000)]
TARGET_JVM: making public

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

18 years agoAdded batch files for automatic testing for TARGET_JVM.
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

18 years ago2006-01-29 Alexander Olk <alex.olk@googlemail.com>
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

18 years ago* GenericTypeParameterBuilder.cs (DeclaringType): Return the
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

18 years agomake line-endings uniform, set svn:eol-style=native for unix line-endings
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

18 years ago2006-01-29 Chris Toshok <toshok@ximian.com>
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

18 years ago2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
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

18 years agoIn mcs:
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

18 years ago2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
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

18 years agosvn path=/trunk/mcs/; revision=56196
Mike Kestner [Fri, 27 Jan 2006 22:38:16 +0000 (22:38 -0000)]
svn path=/trunk/mcs/; revision=56196

18 years ago2006-01-20 Mike Kestner <mkestner@novell.com>
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

18 years agoTwice:-(
Paolo Molaro [Fri, 27 Jan 2006 22:25:05 +0000 (22:25 -0000)]
Twice:-(

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

18 years agoTypo.
Paolo Molaro [Fri, 27 Jan 2006 22:22:11 +0000 (22:22 -0000)]
Typo.

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

18 years ago* MethodDef.cs:
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

18 years agoIn ilasm/scanner:
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

18 years ago* TypeDef.cs (GenericInfo):
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

18 years ago* get.c (get_method_core): Emit generic arity for a MemberRef.
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

18 years agoFri Jan 27 21:11:08 CET 2006 Paolo Molaro <lupus@ximian.com>
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

18 years agoFri Jan 27 20:39:48 CET 2006 Paolo Molaro <lupus@ximian.com>
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

18 years ago2006-01-27 Chris Toshok <toshok@ximian.com>
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

18 years ago2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
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

18 years ago2006-01-27 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
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

18 years agoadd tests from bugzilla bugs 75402 and 77278
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

18 years ago* ILParser.jay (method_ref): Remove 2 redundant productions.
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

18 years ago2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
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

18 years ago2006-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

18 years ago2006-01-27 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
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

18 years ago2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
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

18 years ago2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
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

18 years agoFix couple of typos: I forgot to save the final version before committing
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

18 years ago2006-01-27 Senganal T <tsenganal@novell.com>
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

18 years ago* get.c (get_methodref_signature): Remove 'context' parameter.
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

18 years agoadded .dll to the list of forbidden files
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

18 years agoadded .dll to the list of forbidden files
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

18 years agoGraphicsPath.cs: Removed TODO on Flatten methods (now supported in libgdiplus). Added...
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

18 years ago2006-01-27 Zoltan Varga <vargaz@gmail.com>
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

18 years agoIn metadata:
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

18 years ago* ILParser.jay (formal_typars_clause): Allow generics only for NET_2_0 profile.
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

18 years ago2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
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

18 years ago2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
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

18 years ago2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-01-26 Chris Toshok <toshok@ximian.com>
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

18 years ago2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago- Oops, forgot to check in
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

18 years ago * UnixMarshal.cs: Check for null arguments in PtrToString() and
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

18 years ago2006-01-26 Chris Toshok <toshok@ximian.com>
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

18 years agoadd HttpConfigurationSystem.cs
Chris Toshok [Fri, 27 Jan 2006 02:18:12 +0000 (02:18 -0000)]
add HttpConfigurationSystem.cs

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

18 years ago2006-01-26 Chris Toshok <toshok@ximian.com>
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

18 years agoAdd ClientConfigurationSystem.cs to the build
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

18 years ago2006-01-26 Chris Toshok <toshok@ximian.com>
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

18 years agoclean up
Chris Toshok [Fri, 27 Jan 2006 01:54:16 +0000 (01:54 -0000)]
clean up

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

18 years ago2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago- Added bug number to changelog fix entry
Peter Dennis Bartok [Fri, 27 Jan 2006 00:35:09 +0000 (00:35 -0000)]
- Added bug number to changelog fix entry

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

18 years ago2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 27 Jan 2006 00:34:15 +0000 (00:34 -0000)]
2006-01-26  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  SetWindowMinMax() to have means to tell the driver about the minimum,
  maximum and maximized state window sizes. (Part of the fix for #76485)
* Form.cs:
  - Implemented tracking of minimum and maximum window size, now calling
    new SetWindowMinMax() driver method to tell the driver (Part of the
    fix for #76485)
  - Finished handling of WM_GETMINMAXINFO method, now setting all values
    (Completes fix for #76485)
  - Calling new SetWindowMinMax driver method when the handle for a
    form is created, to make sure the driver knows about it even if
    the values have been set before the window was created
  - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
    to avoid messing up our anchoring calculations (partial fix
    for #77355)
* XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
* XplatUIX11.cs:
  - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  - Improved GetWindowState() to detect 'Minimized' state on Metacity
    (and presumably other freedesktop.org compliant WMs). Left the
    assumption unmapped=minimized, needed for SetVisible to work.
  - Now setting the window state when creating windows
  - Fixed SetVisible to consider/set the window state when mapping
    a Form. We cannot set the state before it's mapped, and we cannot
    use Form.WindowState once it's mapped (since it would ask the
    driver and get 'normal'. Therefore, we grab the state before
    mapping, map, and then set state.
  - Implmemented SetWindowMinMax method; Metacity does not seem to
    honor the ZoomHints, though.
* XplatUIWin32.cs:
  - Removed MINMAXINFO (moved to XplatUIStructs)
  - Added SetWindowMinMax stub (on Win32 the only way to set that
    information is in response to the WM_GETMINMAXINFO message, which
    is handled in Form.cs)
  - Added logic to SetVisible to set the proper window state when a
    form is made visible

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

18 years ago2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 27 Jan 2006 00:18:43 +0000 (00:18 -0000)]
2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebClient.cs: (2.0) UploadString() returns string, not void.

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

18 years ago2006-01-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 26 Jan 2006 23:23:49 +0000 (23:23 -0000)]
2006-01-26  Chris Toshok  <toshok@ximian.com>

* AssemblyResourceLoader.cs (GetResourceUrl): if the assembly
corresponds to an on-disk file, append the last write time to the
url so we can enable client side caching.
(ProcessRequest): tell the client to cache the url for 1 year, and
have it vary by 'r' (resource name) and 't' (assembly timestamp).

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

18 years ago2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 Jan 2006 23:11:14 +0000 (23:11 -0000)]
2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
set cache_control through the property to update the cachebility
accordingly. When using the cached headers, don't add again all the
headers to that collection.
* HttpCacheVaryByParams.cs: if there are no params, return null.
Otherwise we get an empty 'Vary' header.

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

18 years ago * Control.cs (BeginInvoke): Automagically handle EventHandlers
Jackson Harper [Thu, 26 Jan 2006 22:19:43 +0000 (22:19 -0000)]
    * Control.cs (BeginInvoke): Automagically handle EventHandlers
        * the
        same way we handle them with Invoke.

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

18 years ago * ChangeLog: Started
Jonathan Pryor [Thu, 26 Jan 2006 21:02:33 +0000 (21:02 -0000)]
  * ChangeLog: Started
  * mono-shlib-cop.1: Document another BUG/design issue that it doesn't check
    for; formatting/style changes.

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

18 years agoCommit temporary fix for static partial classes (bug 77027) from Atsushi
Miguel de Icaza [Thu, 26 Jan 2006 19:56:15 +0000 (19:56 -0000)]
Commit temporary fix for static partial classes (bug 77027) from Atsushi

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

18 years ago2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Jan 2006 18:59:07 +0000 (18:59 -0000)]
2006-01-26  Sebastien Pouliot  <sebastien@ximian.com>

* FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
* Region.cs: Updated TODO to reflect current status.

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

18 years agoUpdate man page
Miguel de Icaza [Thu, 26 Jan 2006 18:53:19 +0000 (18:53 -0000)]
Update man page

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

18 years agoTests refactoring for TARGET_JVM.
Boris Kirzner [Thu, 26 Jan 2006 17:35:04 +0000 (17:35 -0000)]
Tests refactoring for TARGET_JVM.

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

18 years agosvn path=/trunk/mcs/; revision=56111
Zoltan Varga [Thu, 26 Jan 2006 17:20:49 +0000 (17:20 -0000)]
svn path=/trunk/mcs/; revision=56111

18 years ago2006-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Jan 2006 17:19:59 +0000 (17:19 -0000)]
2006-01-26  Zoltan Varga  <vargaz@gmail.com>

* DebuggerNonUserCodeAttribute.cs: New file.

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

18 years ago2006-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Jan 2006 17:19:01 +0000 (17:19 -0000)]
2006-01-26  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add DebuggerNonUserCodeAttribute.cs and
SuppressMessageAttribute.cs.

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

18 years ago2006-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Jan 2006 16:10:25 +0000 (16:10 -0000)]
2006-01-26  Zoltan Varga  <vargaz@gmail.com>

* thread-dump.cs: New file.

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

18 years ago2006-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Jan 2006 16:08:36 +0000 (16:08 -0000)]
2006-01-26  Zoltan Varga  <vargaz@gmail.com>

* mini.h mini.c mini-exceptions.c: Add thread dump support. Fixes
#75145.

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

18 years agoAdded ifdefs, projects, solutions and support for TARGET_JVM.
Boris Kirzner [Thu, 26 Jan 2006 16:01:10 +0000 (16:01 -0000)]
Added ifdefs, projects, solutions and support for TARGET_JVM.

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

18 years ago2006-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Jan 2006 15:54:04 +0000 (15:54 -0000)]
2006-01-26  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h (MonoThread): Add 'thread_dump_requested' field.

* threads.c (mono_threads_request_thread_dump): New helper function.

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

18 years agoBinaryCore.cs: TARGET_JVM related changes
Svetlana Zholkovsky [Thu, 26 Jan 2006 14:02:32 +0000 (14:02 -0000)]
BinaryCore.cs: TARGET_JVM related changes

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

18 years agoTARGET_JVM: catch ObjectDisposedException in addition to ThreadAbortException; optimi...
Konstantin Triger [Thu, 26 Jan 2006 12:56:49 +0000 (12:56 -0000)]
TARGET_JVM: catch ObjectDisposedException in addition to ThreadAbortException; optimizing byte[] <-> sbyte[] conversion

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

18 years ago2006-01-15 Robert Jordan <robertj@gmx.net>
Robert Jordan [Thu, 26 Jan 2006 07:50:03 +0000 (07:50 -0000)]
2006-01-15  Robert Jordan  <robertj@gmx.net>

* WebUIValidation.js (CustomValidatorEvaluateIsValid):
  Allow empty/missing ControlToValidate attributes.
* WebUIValidation.js (ValidatorSucceeded):
     Hide validator's view. Fixes bug #77261.

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

18 years ago2006-01-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 26 Jan 2006 04:10:03 +0000 (04:10 -0000)]
2006-01-25  Chris Toshok  <toshok@ximian.com>

* data/net_2_0/machine.config: ignore mscorlib,
system.runtime.remoting, and strongNames sections.

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