mono.git
19 years ago2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Oct 2004 19:50:19 +0000 (19:50 -0000)]
2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>

* XmlNamespaceManager.cs : GetNamespacesInScope() caused
  IndexOutOfRangeException (miscounted indexes).

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

19 years ago2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Oct 2004 18:16:22 +0000 (18:16 -0000)]
2004-10-08  Atsushi Enomoto <atsushi@ximian.com>

* XQueryCliFunction.cs : native method invokation was still crashing.

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

19 years ago2004-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Oct 2004 17:41:16 +0000 (17:41 -0000)]
2004-10-08  Zoltan Varga  <vargaz@freemail.hu>

* Module.cs: Handle the case when the global type does not exists.

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

19 years ago2004-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Oct 2004 17:32:18 +0000 (17:32 -0000)]
2004-10-08  Zoltan Varga  <vargaz@freemail.hu>

* ModuleBuilder.cs: Create global type after creation.

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

19 years ago2004-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Oct 2004 17:28:28 +0000 (17:28 -0000)]
2004-10-08  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Module_GetGlobalType): Special
case initial images of dynamic assemblies.

* reflection.c (mono_image_basic_init): Set 'initial_image' field.

* metadata-internals.h (MonoDynamicImage): Add 'initial_image' field.

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

19 years ago2004-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Oct 2004 16:44:29 +0000 (16:44 -0000)]
2004-10-08  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_reflection_event_builder_get_event_info): Fix
length of event->other array.
(typebuilder_setup_events): Ditto.

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

19 years ago2004-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Oct 2004 16:06:54 +0000 (16:06 -0000)]
2004-10-08  Zoltan Varga  <vargaz@freemail.hu>

* support/Makefile.am (libMonoPosixHelper_la_SOURCES): Do not build
zlib_macros if zlib.h is not found.

* configure.in: Add check for zlib.h.

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

19 years ago2004-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Oct 2004 15:45:07 +0000 (15:45 -0000)]
2004-10-08  Zoltan Varga  <vargaz@freemail.hu>

* inssel-long32.brg (OP_LCONV_TO_OVF_I2): Fix CONV_I1 -> CONV_I2.

* basic-long.cs: Add test for checked i8->i2 cast.

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

19 years ago2004-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Oct 2004 15:22:56 +0000 (15:22 -0000)]
2004-10-08  Zoltan Varga  <vargaz@freemail.hu>

* Convert.cs (ToType): Throw an exception when converting null to a
valuetype. Fixes #67780.

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

19 years ago2004-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Oct 2004 15:17:00 +0000 (15:17 -0000)]
2004-10-08  Zoltan Varga  <vargaz@freemail.hu>

* ConvertTest.cs: Add test for bug #67780.

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

19 years ago2004-10-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Oct 2004 14:32:08 +0000 (14:32 -0000)]
2004-10-08  Zoltan Varga  <vargaz@freemail.hu>

* domain-internals.h (MonoDomain): Rename 'assemblies' hash table to
'assembly_by_name' and add an 'assemblies' list.

* assembly.h assembly.c: Add a new search hook for determining whenever
an assembly is already loaded. Use this instead of searching in the
loaded_assemblies list.

* domain.c appdomain.c: Implement the new search hook so loaded
assemblies are now scoped by appdomain. Fixes #67727.

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

19 years ago2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 8 Oct 2004 14:30:07 +0000 (14:30 -0000)]
2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* typemanager.cs: Changing StandardModule to use less memory, by doing string
concatenation only once. It was wasting 1 MB on the test case.

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

19 years ago * BitmapData.cs: Synchronized the class with BitmapData struct in
Ravindra [Fri, 8 Oct 2004 13:37:17 +0000 (13:37 -0000)]
* BitmapData.cs: Synchronized the class with BitmapData struct in
libgdiplus.

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

19 years agoImage.cs: Suppress finalization in Dispose () method.
Ravindra [Fri, 8 Oct 2004 13:34:16 +0000 (13:34 -0000)]
Image.cs: Suppress finalization in Dispose () method.

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

19 years agoTestControlIDConverter.cs: Test needs to be executed only with profile NET_2_0.
Sanja Gupta [Fri, 8 Oct 2004 12:34:27 +0000 (12:34 -0000)]
TestControlIDConverter.cs: Test needs to be executed only with profile NET_2_0.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Fri, 8 Oct 2004 12:28:03 +0000 (12:28 -0000)]
ChangeLog: Updated ChangeLog.
System.Web_test.dll.sources: Added new file.

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

19 years agoChangeLog: Created new file.
Sanja Gupta [Fri, 8 Oct 2004 12:26:03 +0000 (12:26 -0000)]
ChangeLog: Created new file.
TestControlIDConverter.cs: Initial implementation of test cases for
   ControlIDConverter class.

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

19 years ago2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Oct 2004 11:29:28 +0000 (11:29 -0000)]
2004-10-08  Atsushi Enomoto <atsushi@ximian.com>

* XPathSequence.cs :
  missed last checkin.
  Added WrapperIterator, RemovalIterator for fn:remove(),
  InsertingIterator for fn:insertBefore() and DistinctValueIterator
  for fn:distinct-values().
* XQueryCliFunction.cs :
  Improved error message. Handle null argument as empty sequence.
* XQueryFunction.cs :
  Fixed incorrect function name fn:zero-or-more -> fn:zero-or-one.
* XQueryFunctionCliImpl.cs :
  Implemented some functions. Fixed some function signatures.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Fri, 8 Oct 2004 10:05:04 +0000 (10:05 -0000)]
ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new classes in System.Web.UI.WebControls.

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

19 years agomore menu work
Jordi Mas i Hernandez [Fri, 8 Oct 2004 08:50:29 +0000 (08:50 -0000)]
more menu work

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

19 years ago(GetHashCode): When culture
Raja R Harinath [Fri, 8 Oct 2004 08:38:21 +0000 (08:38 -0000)]
(GetHashCode): When culture
is not invariant, avoid an icall on every character.

(This chopped off 15s on a testcase that 'mbas' originally took 1m35s.)

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

19 years agoChangeLog: Updated and corrected ChangeLog.
Sanja Gupta [Fri, 8 Oct 2004 06:44:37 +0000 (06:44 -0000)]
ChangeLog: Updated and corrected ChangeLog.
ValidatedControlConverter.cs: Updated.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Fri, 8 Oct 2004 06:42:10 +0000 (06:42 -0000)]
ChangeLog: Updated ChangeLog.
AssociatedIDConverter.cs: Implemented.

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

19 years agoChangeLog: Updated ChangeLog
Sanja Gupta [Fri, 8 Oct 2004 06:40:45 +0000 (06:40 -0000)]
ChangeLog: Updated ChangeLog
ControlIDConverter.cs: Initial implementation.

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

19 years ago2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Oct 2004 22:17:00 +0000 (22:17 -0000)]
2004-10-07  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs :
  - When AllowDBNull is false on attribute DataColumn, its schema
    should contain use="required". This fixes bug #66792.
  - If MaxLength is set on attribute DataColumn, the mapped schema
    type should contain maxLength facet. This fixes bug #66793.

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

19 years ago2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Oct 2004 17:06:53 +0000 (17:06 -0000)]
2004-10-07  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources:
  added System.Xml.Query/XQueryFunctionContextAttribute.cs.

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

19 years ago2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Oct 2004 17:06:35 +0000 (17:06 -0000)]
2004-10-07  Atsushi Enomoto <atsushi@ximian.com>

* XPath2Expression.cs, XPathSequence.cs :
  Changed ListIterator.ctor() signature not to demand current sequence.
* XQueryCliFunction.cs, XQueryFunctionCliImpl.cs :
  Now, to represent a sequence, IEnumerable is not used anymore (it is
  confusing because System.String is also IEnumerable). So those native
  functions should just require XPathSequence (for user functions?
  not idea how MS will solve the "problem").

  If a native function method has [XQueryFunctionContext] attribute,
  then it means that the function requires current sequence, so fill
  it before invoking the method.
* XQueryFunctionContextAttribute.cs : added, to mark "it needs
  current sequence" for fn:position() and fn:count().

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

19 years ago2004-10-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 7 Oct 2004 17:01:21 +0000 (17:01 -0000)]
2004-10-07  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (mono_thread_attach): Initialize synch_lock field so
mono_thread_detach works again.

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

19 years ago2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Oct 2004 15:20:55 +0000 (15:20 -0000)]
2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : Performance fix. ParseExact() implementation should
  avoid s = s.Substring(1).

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

19 years ago2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Oct 2004 15:14:21 +0000 (15:14 -0000)]
2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
  of m/s/t/z. This fixes bug 66723.

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

19 years agoRemoves deletion of cached brushes
Jordi Mas i Hernandez [Thu, 7 Oct 2004 14:56:51 +0000 (14:56 -0000)]
Removes deletion of cached brushes

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

19 years ago2004-10-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 7 Oct 2004 13:13:31 +0000 (13:13 -0000)]
2004-10-07  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke2.cs: Add test for prefixing 'lib' to dll names.

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

19 years ago2004-10-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 7 Oct 2004 13:10:25 +0000 (13:10 -0000)]
2004-10-07  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Try the dllname prefixed with
'lib' too. Fixes #63130.

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

19 years ago* mcs-ignore-tests: Empty.
Raja R Harinath [Thu, 7 Oct 2004 07:35:26 +0000 (07:35 -0000)]
* mcs-ignore-tests: Empty.

* Makefile (run-mcs-tests): Save log of output to
$(TEST_PROFILE).log.
(run-generics-tests): Likewise.
Report from K Sathyasudha <ksathyasudha@novell.com>.

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

19 years ago* Makefile (TEST_TAG): Rename back to 'mcs' and 'gmcs' to keep in
Raja R Harinath [Thu, 7 Oct 2004 07:34:56 +0000 (07:34 -0000)]
* Makefile (TEST_TAG): Rename back to 'mcs' and 'gmcs' to keep in
sync with errors/Makefile.
Reported by K Sathyasudha <ksathyasudha@novell.com>.

Testcases for type-resolution.
* test-300.cs: Add tests for local declarations and 'foreach'.
* test-301.cs: New testcase: several 'unsafe' related keywords.
* test-302.cs: New testcase: 'catch' clause parameters.
* test-303.cs: New testcase: 'using' keyword.
* test-304.cs, test-305.cs, test-306.cs, test-307.cs: New.
Variants that use namespace aliases.
* Makefile (NEW_TEST_SOURCES_common): Add new testcases.

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

19 years agoMore DeclSpace.ResolveType avoidance.
Raja R Harinath [Thu, 7 Oct 2004 07:34:27 +0000 (07:34 -0000)]
More DeclSpace.ResolveType avoidance.
* decl.cs (MemberCore.InUnsafe): New property.
* class.cs (MemberBase.DoDefine): Use ResolveAsTypeTerminal
with newly created EmitContext.
(FieldMember.Define): Likewise.
* delegate.cs (Delegate.Define): Likewise.
* ecore.cs (SimpleName.ResolveAsTypeStep): Lookup with alias
only if normal name-lookup fails.
(TypeExpr.DoResolve): Enable error-checking.
* expression.cs (ArrayCreation.DoResolve): Use ResolveAsTypeTerminal.
(SizeOf.DoResolve): Likewise.
(ComposedCast.DoResolveAsTypeStep): Likewise.
(StackAlloc.DoResolve): Likewise.
* statement.cs (Block.Flags): Add new flag 'Unsafe'.
(Block.Unsafe): New property.
(Block.EmitMeta): Set ec.InUnsafe as appropriate.
(Unsafe): Set 'unsafe' flag of contained block.
(LocalInfo.Resolve): Use ResolveAsTypeTerminal.
(Fixed.Resolve): Likewise.
(Catch.Resolve): Likewise.
(Using.ResolveLocalVariableDecls): Likewise.
(Foreach.Resolve): Likewise.

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

19 years ago * culture-info-tables.h: regenerated.
Jackson Harper [Thu, 7 Oct 2004 03:54:49 +0000 (03:54 -0000)]
* culture-info-tables.h: regenerated.

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

19 years ago * pt.xml: We need a space after R$. Is there a better way to do
Jackson Harper [Thu, 7 Oct 2004 03:51:07 +0000 (03:51 -0000)]
* pt.xml: We need a space after R$. Is there a better way to do
this? I should know...
* pt_BR.xml: Fix currency format.

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

19 years ago2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 7 Oct 2004 00:44:12 +0000 (00:44 -0000)]
2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DefaultWatcher.cs: if the file is removed between reading the
directory and filling the file info, catch the exception and ignore the
file. Fixes bug #59482.

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

19 years ago2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 7 Oct 2004 00:29:30 +0000 (00:29 -0000)]
2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DefaultWatcher.cs: don't use Directory.GetFileSystemEntries when the
pattern has no wildcards. Fixes bug #67447.

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

19 years ago2004-10-05 John Luke <john.luke@gmail.com>
John Luke [Wed, 6 Oct 2004 17:25:26 +0000 (17:25 -0000)]
2004-10-05  John Luke <john.luke@gmail.com>

        * cs-parser.jay: add location to error CS0175

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

19 years ago2004-10-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 6 Oct 2004 14:35:24 +0000 (14:35 -0000)]
2004-10-06  Zoltan Varga  <vargaz@freemail.hu>

* TypeTest.cs: Add tests for GetInterfaces ().

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

19 years ago2004-10-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 6 Oct 2004 14:33:09 +0000 (14:33 -0000)]
2004-10-06  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_Type_GetInterfaces): Include interfaces
implemented by other interfaces in the result. Fixes #65764.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Wed, 6 Oct 2004 12:57:24 +0000 (12:57 -0000)]
ChangeLog: Updated ChangeLog.
IButtonControl.cs: Corrected property name.

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

19 years agoremoves warnings from compilation
Jordi Mas i Hernandez [Wed, 6 Oct 2004 09:59:05 +0000 (09:59 -0000)]
removes warnings from compilation

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

19 years agoWed Oct 6 12:40:28 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 6 Oct 2004 09:25:03 +0000 (09:25 -0000)]
Wed Oct 6 12:40:28 CEST 2004 Paolo Molaro <lupus@ximian.com>

* inssel-ppc.brg: added a couple of speedup rules.

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

19 years agoWed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 6 Oct 2004 09:22:06 +0000 (09:22 -0000)]
Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>

* String.cs: make GetHashCode() managed.

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

19 years ago2004-10-06 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Wed, 6 Oct 2004 09:15:26 +0000 (09:15 -0000)]
2004-10-06 Anirban Bhattacharjee <banirban@novell.com>
        * mb-parser.jay: Added support for Call keyword in invocation statement

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

19 years agoinsert line break
Jordi Mas i Hernandez [Wed, 6 Oct 2004 08:43:37 +0000 (08:43 -0000)]
insert line break

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

19 years ago2004-10-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 6 Oct 2004 08:19:49 +0000 (08:19 -0000)]
2004-10-06  Zoltan Varga  <vargaz@freemail.hu>

* ModuleBuilder.cs (GetTypes): Fix length of returned array. Fixes
#65931.

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

19 years ago2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 6 Oct 2004 05:46:02 +0000 (05:46 -0000)]
2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TraceHandler.cs: error code is 403 and the message different when
trace is enabled but not for remote clients.

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

19 years agoforgotten
Gonzalo Paniagua Javier [Wed, 6 Oct 2004 04:48:57 +0000 (04:48 -0000)]
forgotten

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

19 years ago2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 6 Oct 2004 04:48:39 +0000 (04:48 -0000)]
2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpRequest.cs: CurrentExecutionFilePath is the one that
changes when Transfer or Execute are used, not FilePath.

* System.Web/HttpServerUtility.cs: moved form saving/restoring from
Transfer to Execute, as it's needed there too. the query string is
correctly set now. Fixes bug #67388.

* System.Web/HttpContext.cs:
* System.Web.SessionState/SessionStateModule.cs: use SetCurrentExePath
instead of SetFilePath.

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

19 years ago2004-10-06 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 6 Oct 2004 04:34:01 +0000 (04:34 -0000)]
2004-10-06  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs: added support for function calls. Handle case of
print where no args are supplied.

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

19 years ago2004-10-06 Umadevi S <sumadevi@novell.com>
Umadevi S [Wed, 6 Oct 2004 04:24:01 +0000 (04:24 -0000)]
2004-10-06  Umadevi S <sumadevi@novell.com>
        * System.Data.dll.sources : Added ISqlNotificationReceiver, SqlNotifcationType,
                SqlNotificationInfo, SqlNotificationSource

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

19 years ago2004-10-06 Umadevi S <sumadevi@novell.com>
Umadevi S [Wed, 6 Oct 2004 04:20:14 +0000 (04:20 -0000)]
2004-10-06 Umadevi S <sumadevi@novell.com>
        * ISqlNoticationReceiver.cs - changed namespace
        * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs

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

19 years ago2004-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 6 Oct 2004 00:35:57 +0000 (00:35 -0000)]
2004-10-05  Atsushi Enomoto <atsushi@ximian.com>

* XPathSequence.cs, XQueryTokenizer.cs :
  removed commented && unused code.
* XQueryContext.cs, XQueryCliFunction.cs, XQueryFunction.cs,
  XQueryFunctionCliImpl.cs :
  Now that position() requires current sequence that is not managed by
  XQueryContextManager (that is for FLWOR), it need to support
  XPathSequence input as the current node information.

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

19 years ago2004-10-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Oct 2004 22:43:01 +0000 (22:43 -0000)]
2004-10-06  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Assembly_GetModulesInternal):
Handle unloadable modules without crashing.

* image.c (load_modules): Revert the previous patch since modules must
have a fixed index inside the array.

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

19 years ago2004-10-05 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 5 Oct 2004 22:36:30 +0000 (22:36 -0000)]
2004-10-05  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* ast.cs: added GetContainerFunction property.
* Statement.cs: added class NotVoidReturnEventArgs and delegate
NotVoidReturnEventHandler, throw an event in case we find a
return, the enclosing function object takes care of changing the
return type of the function.
* FunctionDeclaration.cs, FunctionExpression.cs: take care of
return's inside functions.

2004-09-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

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

19 years ago2004-10-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Oct 2004 22:15:05 +0000 (22:15 -0000)]
2004-10-06  Zoltan Varga  <vargaz@freemail.hu>

* image.c (load_modules): Don't include native modules in the modules
array.

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

19 years ago2004-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Oct 2004 21:01:49 +0000 (21:01 -0000)]
2004-10-05  Atsushi Enomoto  <atsushi@ximian.com>

* XPathAtomicValue.cs : missing Init() definition for float and string;
  latter one resulted in infinite loop in Init(object,XmlSchemaType).

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

19 years agoFix ctor
Jackson Harper [Tue, 5 Oct 2004 18:23:54 +0000 (18:23 -0000)]
Fix ctor

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

19 years ago2004-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Oct 2004 17:47:08 +0000 (17:47 -0000)]
2004-10-05  Atsushi Enomoto <atsushi@ximian.com>

* XQueryParser.jay, XQueryTokenizer.cs :
  Added attribute value template support.
* XPath2Expression.cs : Inside attribute value, expressions must not
  serialize attributes as attribute node but should just pick value up.
  e.g. attr="{foo/@bar}" and <elem>{foo/@bar}</elem> are different.

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

19 years ago2004-10-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Oct 2004 17:15:15 +0000 (17:15 -0000)]
2004-10-05  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (genmdesc_LDADD): Don't link this against libmetadata
to speed up rebuilds.

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

19 years ago- Partial implementation by Benjamin Dasnois
Peter Dennis Bartok [Tue, 5 Oct 2004 17:10:57 +0000 (17:10 -0000)]
- Partial implementation by Benjamin Dasnois

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

19 years ago2004-10-05 John Luke <john.luke@gmail.com>
John Luke [Tue, 5 Oct 2004 17:04:10 +0000 (17:04 -0000)]
2004-10-05  John Luke  <john.luke@gmail.com>

        * Makefile: add *.mdb to clean target

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

19 years agoImprove rendering of the radio button patch by John BouAntoun
Jackson Harper [Tue, 5 Oct 2004 16:15:30 +0000 (16:15 -0000)]
Improve rendering of the radio button patch by John BouAntoun

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

19 years ago2004-10-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Oct 2004 15:57:43 +0000 (15:57 -0000)]
2004-10-05  Sebastien Pouliot  <sebastien@ximian.com>

* PrincipalPermission.cs: Fixed bug where a change to a permission
(e.g. Copy, Union) could affect multiple instances. Fixed FromXml
to clear existing entries.

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

19 years agoImprove test to handle constants of classes whose value is null
Miguel de Icaza [Tue, 5 Oct 2004 14:32:51 +0000 (14:32 -0000)]
Improve test to handle constants of classes whose value is null

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

19 years ago2004-10-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Oct 2004 14:16:44 +0000 (14:16 -0000)]
2004-10-05  Sebastien Pouliot  <sebastien@ximian.com>

* SslClientStream.cs: Changed InputBuffer to internal (was protected).

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

19 years ago2004-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Oct 2004 13:48:02 +0000 (13:48 -0000)]
2004-10-05  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorReader.cs : Actually all other kind of nodes than
  Element and Root must be treated as "start node only" as well as
  attributes and namespaces.

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

19 years ago2004-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Oct 2004 13:09:25 +0000 (13:09 -0000)]
2004-10-05  Atsushi Enomoto <atsushi@ximian.com>

* XPathDocument2Editable.cs : for WriteAttributes(), use
  CreateAttributesWriter() that creates attribute tree XmlWriter.
* XPathNavigatorReader.cs : the reader was missing attributes when
  it is created with an element node that has attriibutes.

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

19 years agoNew testcases for type-resolution.
Raja R Harinath [Tue, 5 Oct 2004 11:33:05 +0000 (11:33 -0000)]
New testcases for type-resolution.

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

19 years ago2004-10-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Oct 2004 11:30:45 +0000 (11:30 -0000)]
2004-10-04  Zoltan Varga  <vargaz@freemail.hu>

* ModuleBuilder.cs (DefineType): Check for duplicate type names. Fixes
#65988.

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

19 years ago2004-10-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Oct 2004 11:29:59 +0000 (11:29 -0000)]
2004-10-05  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilderTest.cs: Add tests for default values for parameters.

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

19 years ago2004-10-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Oct 2004 11:20:34 +0000 (11:20 -0000)]
2004-10-05  Zoltan Varga  <vargaz@freemail.hu>

* reflection.h: Add param_defaults field.

* reflection.c: Add support for parameter defaults in dynamic methods.
Fixes #64595.

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

19 years ago2004-10-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Oct 2004 09:24:13 +0000 (09:24 -0000)]
2004-10-05  Zoltan Varga  <vargaz@freemail.hu>

* TypeTest.cs: Add test for empty namespaces.

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

19 years ago2004-10-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Oct 2004 09:20:13 +0000 (09:20 -0000)]
2004-10-05  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_MonoType_get_Namespace): Return NULL instead of
an empty string when a type has no namespace. Fixes #64230.

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

19 years ago - Removed a private method, Draw ().
Ravindra [Tue, 5 Oct 2004 09:07:07 +0000 (09:07 -0000)]
- Removed a private method, Draw ().
- Fixed the ButtonDropDown event handling.
- Fixed MouseMove event handling.

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

19 years ago - Added DrawListView method and ListViewDefaultSize property.
Ravindra [Tue, 5 Oct 2004 09:04:31 +0000 (09:04 -0000)]
- Added DrawListView method and ListViewDefaultSize property.
- Changed ControlPaint method calls to CPDrawXXX wherever possible.
- Changed DOS style CRLF to Unix format (dos2unix).

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

19 years ago - Added DrawListView method and ListViewDefaultSize property.
Ravindra [Tue, 5 Oct 2004 09:03:55 +0000 (09:03 -0000)]
- Added DrawListView method and ListViewDefaultSize property.

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

19 years agoAdded an internal member dd_pressed to handle clicks on DropDown arrow.
Ravindra [Tue, 5 Oct 2004 08:42:20 +0000 (08:42 -0000)]
Added an internal member dd_pressed to handle clicks on DropDown arrow.

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

19 years agoLet the base Control handle the buffers, derived classes should not have to CreateBuf...
Jackson Harper [Tue, 5 Oct 2004 04:56:12 +0000 (04:56 -0000)]
Let the base Control handle the buffers, derived classes should not have to CreateBuffers themselves.

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

19 years agoThe control handles resizing the buffers now.
Jackson Harper [Tue, 5 Oct 2004 03:20:55 +0000 (03:20 -0000)]
The control handles resizing the buffers now.

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

19 years agoWhen resizing the buffers should be invalidated. This should be handled in Control...
Jackson Harper [Tue, 5 Oct 2004 03:18:16 +0000 (03:18 -0000)]
When resizing the buffers should be invalidated. This should be handled in Control not in derived classes.

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

19 years ago2004-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 5 Oct 2004 01:53:40 +0000 (01:53 -0000)]
2004-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: use RemoveAndAdd for headers multivalue headers.
* WebHeaderCollection.cs: added RemoveAndAdd that behaves like the old
SetInternal.

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

19 years ago2004-10-04 John Luke <john.luke@gmail.com>
John Luke [Mon, 4 Oct 2004 22:40:16 +0000 (22:40 -0000)]
2004-10-04  John Luke  <john.luke@gmail.com>

        * cs8205.cs: remove, same as cs1624
        * cs8206.cs: fix yield syntax, and add line number, now passes
        * cs8207.cs: remove, same as cs1623
        * cs8208.cs: remove, same as cs1625
        * cs8209.cs: remove, same as cs1631

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

19 years ago2004-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 4 Oct 2004 22:22:47 +0000 (22:22 -0000)]
2004-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* dump.c: Added new "internal" security actions for non-CAS demands:
NonCasDemand, NonCasLinkDemand and NonCasInheritance.
* main.c: Added new "internal" security actions for non-CAS demands:
noncasdemand, noncaslinkdemand and noncasinheritance.

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

19 years ago2004-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 4 Oct 2004 22:21:53 +0000 (22:21 -0000)]
2004-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* tabledefs.h: Added "internal" security actions to support non-CAS
permissions NonCasDemand, NonCasLinkDemand and NonCasInheritance.
Note: they do not seems to be used anymore in 2.0 (new metadata format)

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

19 years ago2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Oct 2004 22:04:53 +0000 (22:04 -0000)]
2004-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* XPathNavigator.cs : TypedValue could be implemented.
* XPathEditableNavigator.cs : removed some MonoTODO since now there
  are implementations.

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

19 years ago2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Oct 2004 22:01:48 +0000 (22:01 -0000)]
2004-10-04  Atsushi Enomoto <atsushi@ximian.com>

* XQueryParser.jay, XPath2Expression.cs, XPathSequence.cs :
  two or more Filter expressions could be simply constructed as
  nested FilterExpr objects.

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

19 years ago2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Oct 2004 21:59:19 +0000 (21:59 -0000)]
2004-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* XmlWriter.cs : WriteNode(XPathNavigator,bool) should check null arg.
  For attribute nodes, it should not use WriteSubtree() which does not
  support attribute nodes.

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

19 years ago2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Oct 2004 21:57:50 +0000 (21:57 -0000)]
2004-10-04  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorReader.cs : It can reject attribute and namespace
  nodes as its input (It is used only for WriteNode(), InsertBefore()
  and so on, which are not intended to be used with attribute nodes).
  On Initial state, it was Element that should check IsEmptyElement,
  and Root should just go to the first child node.

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

19 years agooops
Jackson Harper [Mon, 4 Oct 2004 20:45:25 +0000 (20:45 -0000)]
oops

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

19 years ago2004-10-04 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 4 Oct 2004 20:43:48 +0000 (20:43 -0000)]
2004-10-04  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (Expression.Constantity): Add support for turning null
into a constant.

* const.cs (Const.Define): Allow constants to be reference types
as long as the value is Null.

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

19 years agonullref is what should be printed out here
Miguel de Icaza [Mon, 4 Oct 2004 20:42:22 +0000 (20:42 -0000)]
nullref is what should be printed out here

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

19 years ago2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Oct 2004 20:30:23 +0000 (20:30 -0000)]
2004-10-04  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorReader.cs : When the reader's root node is not of type
  Root, it incorrectly skipped the node itself.

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

19 years ago2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 4 Oct 2004 20:25:38 +0000 (20:25 -0000)]
2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: ProxyQuery returns true when we use a proxy without
tunneling a secure connection.

* ServicePoint.cs: added UseConnect property.

* ServicePointManager.cs: set the UseConnect property when we use a http
proxy for a https connection.

* WebConnection.cs: setup the tunnled connection when using a proxy and
https.

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

19 years ago2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 4 Oct 2004 20:25:24 +0000 (20:25 -0000)]
2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpsClientStream.cs: the .ctor receives a pre-read buffer now.
* SslClientStream.cs: added InputBuffer property.

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

19 years ago2004-10-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 4 Oct 2004 20:09:33 +0000 (20:09 -0000)]
2004-10-04  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_InternalInvoke): Throw an exception when calling
constructor of abstract class. Fixes #61689.

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