mono.git
19 years ago2005-02-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 5 Feb 2005 21:32:17 +0000 (21:32 -0000)]
2005-02-05  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Allow for combination of stdcall and charset name mangling.
Reorganize the code and add some tracing stuff.

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

19 years agoremove duplicated -doc line in --help output
John Luke [Sat, 5 Feb 2005 20:34:26 +0000 (20:34 -0000)]
remove duplicated -doc line in --help output

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

19 years ago2005-02-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 5 Feb 2005 20:23:33 +0000 (20:23 -0000)]
2005-02-05  Atsushi Enomoto <atsushi@ximian.com>

* RncParser.jay : spec section 4 requires to map "xsd" to xsd-datatypes
  by default.

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

19 years ago2005-02-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 5 Feb 2005 20:18:28 +0000 (20:18 -0000)]
2005-02-05  Atsushi Enomoto <atsushi@ximian.com>

* RncParser.jay : Mixed and List accepted patterns incorrectly.
* RncTokenizer.cs : Handle ~ correctly.

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

19 years ago * monodiet.c: More iters!
Ben Maurer [Sat, 5 Feb 2005 19:38:25 +0000 (19:38 -0000)]
* monodiet.c: More iters!

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

19 years ago * marshal.c: Iter usage.
Ben Maurer [Sat, 5 Feb 2005 19:17:41 +0000 (19:17 -0000)]
* marshal.c: Iter usage.

* icall.c: Iter usage.

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

19 years agooops
Ben Maurer [Sat, 5 Feb 2005 19:14:04 +0000 (19:14 -0000)]
oops

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

19 years ago * object.c: Use iters.
Ben Maurer [Sat, 5 Feb 2005 19:12:23 +0000 (19:12 -0000)]
* object.c: Use iters.

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

19 years ago2005-02-05 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 5 Feb 2005 19:10:46 +0000 (19:10 -0000)]
2005-02-05  Ben Maurer  <bmaurer@ximian.com>

* debug-helpers.c: More iters

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

19 years ago2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 5 Feb 2005 18:06:52 +0000 (18:06 -0000)]
2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Test/System.ComponentModel/TypeDescriptorTests.cs: new test for
TypeConverter ctor that takes a Type argument.

* System.ComponentModel/TypeDescriptor.cs: fixed bug #71601.
GetConverter should handle TypeConverter derived classes that
take a Type argument.

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

19 years ago2005-02-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 5 Feb 2005 17:41:23 +0000 (17:41 -0000)]
2005-02-05  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Add brute-force checking for mangled function names
under win32.

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

19 years ago2005-02-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 5 Feb 2005 17:39:22 +0000 (17:39 -0000)]
2005-02-05  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c: Mark all exported functions STDCALL.

* Makefile.am (CSC): Disable some warnings.

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

19 years ago * mono-debug-debugger.c: use iters
Ben Maurer [Sat, 5 Feb 2005 17:27:42 +0000 (17:27 -0000)]
* mono-debug-debugger.c: use iters

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

19 years ago2005-02-05 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 5 Feb 2005 17:17:51 +0000 (17:17 -0000)]
2005-02-05  Ben Maurer  <bmaurer@ximian.com>

* class.c, class-internals.h: mono_class_setup_events is static
now

* All callers: use iters

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

19 years ago2005-02-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 5 Feb 2005 15:07:53 +0000 (15:07 -0000)]
2005-02-05  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_jit_compile_method_inner): Add detection and a
meaningfull error message for assemblies written in Managed C++.

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

19 years ago2005-02-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 5 Feb 2005 13:46:52 +0000 (13:46 -0000)]
2005-02-05  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c mini-amd64.h: Add support for
create_trampoline_from_token ().

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

19 years ago2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 5 Feb 2005 13:36:52 +0000 (13:36 -0000)]
2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
bug #72238.

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

19 years ago2005-02-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 5 Feb 2005 13:02:31 +0000 (13:02 -0000)]
2005-02-05  Zoltan Varga  <vargaz@freemail.hu>

* aot.c mini-x86.c abcremoval.c: Applied patch from
Robert Jordan (robertj@gmx.net). Fix compilation errors under gcc-2.95.

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

19 years ago2005-02-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 5 Feb 2005 13:00:35 +0000 (13:00 -0000)]
2005-02-05  Zoltan Varga  <vargaz@freemail.hu>

* class.c string-icalls.c marshal.c reflection.c: Applied patch from
Robert Jordan (robertj@gmx.net). Fix compilation errors under gcc-2.95.

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

19 years ago * MenuItem.cs:
Jordi Mas i Hernandez [Fri, 4 Feb 2005 22:01:14 +0000 (22:01 -0000)]
* MenuItem.cs:
* MenuAPI.cs:
- Owner draw support (MeasureItem and DrawItem)

2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 21:35:13 +0000 (21:35 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_class_proxy_vtable): Add missing _setup () calls.

* marshal.h: Add prototypes for ldfld/stfld_remote.

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

19 years ago- Checking in for Jonathan
Peter Dennis Bartok [Fri, 4 Feb 2005 21:27:02 +0000 (21:27 -0000)]
- Checking in for Jonathan

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 21:15:17 +0000 (21:15 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c (mono_domain_fire_assembly_load): Handle the case when
this is called during startup.

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

19 years ago * ThemeWin32Classic.cs: Respect the clipping rect when
Jackson Harper [Fri, 4 Feb 2005 21:07:56 +0000 (21:07 -0000)]
* ThemeWin32Classic.cs: Respect the clipping rect when
drawing. Only fill the intersection of clips and rects so there
isn't a lot of large fills.
* ScrollBar.cs: Pass the correct clipping rect to the theme
engine. Remove some debug code.

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

19 years ago build fix
Jackson Harper [Fri, 4 Feb 2005 21:04:41 +0000 (21:04 -0000)]
build fix

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 20:53:12 +0000 (20:53 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c mini-x86.h tramp-x86.c: Add a new kind of trampoline
which takes a MonoImage/token as parameter instead of a MonoMethod.

* aot.c: Use the new trampoline for initializing vtables.

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

19 years agoadded infos about the tools available to test SSL/TLS
Sebastien Pouliot [Fri, 4 Feb 2005 20:40:46 +0000 (20:40 -0000)]
added infos about the tools available to test SSL/TLS

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

19 years ago2005-02-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Feb 2005 20:40:05 +0000 (20:40 -0000)]
2005-02-04  Sebastien Pouliot  <sebastien@ximian.com>

* ChangeLog: New. Track changes of postecho;
* Makefile: New. Build/clean the postecho tool;
* postecho.cs: New. Tool to POST a buffer and receive/compare the
same data back from the server.
* sendback.asp: ASP (not ASP.NET) script to work with postecho.
* README: instructions about postecho

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 20:20:31 +0000 (20:20 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* cs1617.cs: Add a newline so do-tests.pl can process it under
sparc.

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

19 years ago- Undid Jackson's undo now that the missing file is in SVN
Peter Dennis Bartok [Fri, 4 Feb 2005 19:38:06 +0000 (19:38 -0000)]
- Undid Jackson's undo now that the missing file is in SVN

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

19 years ago- Frell. I keep forgetting to commit the added ones
Peter Dennis Bartok [Fri, 4 Feb 2005 19:36:09 +0000 (19:36 -0000)]
- Frell. I keep forgetting to commit the added ones

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

19 years agoFri Feb 4 20:27:58 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 4 Feb 2005 19:20:41 +0000 (19:20 -0000)]
Fri Feb 4 20:27:58 CET 2005 Paolo Molaro <lupus@ximian.com>

* appdomain.c, monitor.c, monitor.h, threads-types.h: made the
MonoThreadsSync struct private in monitor.c. Changed the way
MonoThreadsSync is allocated so it's faster and there is no
need to keep track of it with a finalizer and it uses less memory.
This also finally allows us to allocate mono objects as ptrfree when
there are no reference fields.

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

19 years agoFri Feb 4 20:24:03 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 4 Feb 2005 19:11:57 +0000 (19:11 -0000)]
Fri Feb 4 20:24:03 CET 2005 Paolo Molaro <lupus@ximian.com>

* gc.c, null-gc.c, boehm-gc.c, gc-internal.h: added functions to deal with
disappearing link to the GC interface and use them to simplify
the gchandles code.

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 18:09:29 +0000 (18:09 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* aot.c: Add support for ldfld/stfld_remote wrappers.

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 18:08:18 +0000 (18:08 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* class-internals.h marshal.c: Add two new wrappers, ldfld_remote and
stfld_remote which call mono_load/store_field_new. This allows methods
calling ldfld/stfld wrappers to be AOTed.

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 15:54:58 +0000 (15:54 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h cpu-pentium.md inssel-x86.brg mini-x86.c: Add optimized
rules for compare <MEM>, IMM.

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 15:25:18 +0000 (15:25 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* console-io.c: Include sys/filio.h under solaris.

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 15:10:33 +0000 (15:10 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Check for curses.h.

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 15:08:08 +0000 (15:08 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* console-io.c: Include curses.h if needed correctly.

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

19 years agoFri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 4 Feb 2005 14:32:03 +0000 (14:32 -0000)]
Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>

* Array.cs: provide specialized versions of some methods.

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

19 years ago2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 4 Feb 2005 14:23:19 +0000 (14:23 -0000)]
2005-02-04  Sureshkumar T  <tsureshkumar@novell.com>
    Appasamy <appasamy@rediffmail.com>

* OdbcConnection.cs: Implemented properties database, datasource,
serverversion and driver.
* libodbc.cs: Added type OdbcInfo and native call SQLGetInfo.

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

19 years ago2005-02-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Feb 2005 14:17:36 +0000 (14:17 -0000)]
2005-02-04  Sebastien Pouliot  <sebastien@ximian.com>

* Reverting last changes in SslClientStream and RecordProtocol. This
break when sending large files back and forth (echo test).

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

19 years ago* ecore.cs : Fixed the implicit conversion of float/double to integral types:
Satya Sudha K [Fri, 4 Feb 2005 14:03:42 +0000 (14:03 -0000)]
* ecore.cs      : Fixed the implicit conversion of float/double to integral types:
                        - Rounding the float/double values before performing the actual conversion

* expression.cs : 1) Added a class 'StringConcat' to handle string concatenations
                  2) Fixed string conversions in arithmatic operations

* mb-parser.jay : Create a new 'StringConcat' object (instead of Binary) for concat_expression

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

19 years ago* DateTimePicker.cs:
John BouAntoun [Fri, 4 Feb 2005 13:40:25 +0000 (13:40 -0000)]
* DateTimePicker.cs:
- Fixed crash on DateTime.Parse, use Constructor instead

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

19 years ago2005-02-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 13:37:07 +0000 (13:37 -0000)]
2005-02-04  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (MONO_AOT_FILE_VERSION): Bump it.

* aot.c: Handle inherited finalizers correctly.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 4 Feb 2005 13:34:54 +0000 (13:34 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_MonoMethod_get_base_definition): Initialize
method->klass as well.

* class-internals.h (MonoCachedClassInfo): Add 'finalize_image' field.

* class.c (mono_class_init): Switch on lazy initialization of
methods.

* class.c (mono_class_get_finalizer): Handle the case when the
finalizer is inherited.

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

19 years ago2005-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 4 Feb 2005 12:41:33 +0000 (12:41 -0000)]
2005-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: send the headers when we're supposed to write
a POST/PUT but call GetResponse before GetRequestStream.

* WebConnectionStream.cs: new RequestWritten property.

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

19 years ago* location.cs (Location.AddFile): Fix CS2002 error report.
Raja R Harinath [Fri, 4 Feb 2005 11:22:15 +0000 (11:22 -0000)]
* location.cs (Location.AddFile): Fix CS2002 error report.

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

19 years ago2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 4 Feb 2005 10:11:37 +0000 (10:11 -0000)]
2005-02-04  Jordi Mas i Hernandez <jordi@ximian.com>

*  Menu.cs:
- Implements FindMergePosition and MergeMenu functions (very poor documented)
- Fixes MenuItems.Add range
* MenuItem.cs:
- MergeMenu and Clone and CloneMenu functions

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

19 years ago2005-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Feb 2005 10:00:11 +0000 (10:00 -0000)]
2005-02-04  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetTest.cs : WriteDifferentNamespaceSchema() is NotWorking.
  It is impossible to fix (see code comment).

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

19 years ago2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 4 Feb 2005 09:55:38 +0000 (09:55 -0000)]
2005-02-04  Sureshkumar T  <tsureshkumar@novell.com>

* DbDataAdapter.cs (Update ()) :
- Check for one return result set and map the values back to
  datatable.
- Check for output & return value parameters and update the value
  back to mapped column
- check for recordsAffected only after closing the reader.

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

19 years ago2005-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Feb 2005 09:28:55 +0000 (09:28 -0000)]
2005-02-04  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetTest.cs : Fixed strict type name under .NET 2.0.

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

19 years ago2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 4 Feb 2005 09:17:45 +0000 (09:17 -0000)]
2005-02-04  Sureshkumar T  <tsureshkumar@novell.com>

* Tds.cs (ProcessEndToken): Added a bool validRowCount and add to
recordsAffected count if we meet DoneInProc..

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

19 years ago * ScrollBar.cs: Make abstract
Jackson Harper [Fri, 4 Feb 2005 07:59:14 +0000 (07:59 -0000)]
* ScrollBar.cs: Make abstract
* ScrollableControl.cs: Create H/V scrollbars now that scrollbar
is abstract.

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

19 years ago * ScrollBar.cs: First part of my scrollbar fixups. This removes
Jackson Harper [Fri, 4 Feb 2005 07:47:17 +0000 (07:47 -0000)]
* ScrollBar.cs: First part of my scrollbar fixups. This removes
all the unneeded refreshes and uses invalidates with properly
computed rects.

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

19 years ago2005-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 4 Feb 2005 07:10:36 +0000 (07:10 -0000)]
2005-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: define SOLARIS_CURSES when compiling for *solaris.
* mono/metadata/console-io.c: <curses.h> is needed by term.h on solaris.

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

19 years ago If you love the build, the build will love you back.
Jackson Harper [Fri, 4 Feb 2005 07:06:48 +0000 (07:06 -0000)]
If you love the build, the build will love you back.

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

19 years agoReports error with correct line number in most of the cases covered by existing testc...
Manjula GHM [Fri, 4 Feb 2005 06:58:32 +0000 (06:58 -0000)]
Reports error with correct line number in most of the cases covered by existing testcases. Need to cover in expressions and few more areas.

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

19 years ago* runtime/Makefile.am (wrapper-config): Elevated from being a test
Raja R Harinath [Fri, 4 Feb 2005 06:41:18 +0000 (06:41 -0000)]
* runtime/Makefile.am (wrapper-config): Elevated from being a test
support file called $(tmpinst)/config.
($(tmpinst)/bin/mono): Simplify.
(mcs-do-compiler-tests,mcs-compileall): Update.
* runtime/mono-wrapper.in: Use wrapper-config.
* Makefile.am (DIST_SUBDIRS): Sync with $(SUBDIRS).

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

19 years ago- Added missing attributes
Peter Dennis Bartok [Fri, 4 Feb 2005 05:55:22 +0000 (05:55 -0000)]
- Added missing attributes
- Added IDataGridEditingService
- Added System.Windows.Forms.ComponentModel

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

19 years ago* runtime/Makefile.am (verify_profiles): Remove.
Raja R Harinath [Fri, 4 Feb 2005 05:47:32 +0000 (05:47 -0000)]
* runtime/Makefile.am (verify_profiles): Remove.
(mcs-compileall): Use $(build_profiles) directly.  It now works on
the net_2_0 profile too.

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

19 years ago2005-02-03 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 4 Feb 2005 04:34:30 +0000 (04:34 -0000)]
2005-02-03  Ben Maurer  <bmaurer@ximian.com>

* icall.c, class-internals.h, monodiet.c, class.c: Remove
mono_class_setup_properties where possible. Remove this ftn from
the header file, and make it static.

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

19 years ago2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 4 Feb 2005 00:52:45 +0000 (00:52 -0000)]
2005-02-04  Lluis Sanchez Gual <lluis@novell.com>

* Makefile: Added resource file.

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

19 years ago2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 4 Feb 2005 00:52:22 +0000 (00:52 -0000)]
2005-02-04  Lluis Sanchez Gual <lluis@novell.com>

* HttpContext.cs: Added internal property to keep a reference to
the last accessed page. Page uses this to implement PreviousPage.

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

19 years ago2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 4 Feb 2005 00:51:40 +0000 (00:51 -0000)]
2005-02-04  Lluis Sanchez Gual  <lluis@novell.com>

* Button.cs: Implemented all missing 2.0 features.
* Table.cs: Render the table caption, when specified.
* Calendar.cs: Implemented most of missing 2.0 features.
* TableCell.cs: Fixed attributes.

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

19 years ago2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 4 Feb 2005 00:51:20 +0000 (00:51 -0000)]
2005-02-04  Lluis Sanchez Gual <lluis@novell.com>

* Page.cs: Implemented support for cross page postback. Implemented
support for postback with options. Fixed several method and property
signatures for 2.0.
* PostBackOptions.cs: Added some TODOs.

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

19 years ago2005-02-05 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 4 Feb 2005 00:50:21 +0000 (00:50 -0000)]
2005-02-05  Lluis Sanchez Gual <lluis@novell.com>

* AssemblyInfo.cs: Registered webform.js script.

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

19 years ago2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 4 Feb 2005 00:50:01 +0000 (00:50 -0000)]
2005-02-04  Lluis Sanchez Gual <lluis@novell.com>

* webform.js: Added webform script.

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

19 years ago2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 4 Feb 2005 00:04:05 +0000 (00:04 -0000)]
2005-01-28  Lluis Sanchez Gual <lluis@novell.com>

* TemplateControlCompiler.cs: When generating a property value,
check for TypeConverterAttribute in the PropertyInfo, not only in the
property type.
Implemented code generation using InstanceDescriptor, when the type
converter supports conversion to that type.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 22:00:41 +0000 (22:00 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* loader.c: Add missing setup_... call.

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

19 years ago- Added missing attributes
Peter Dennis Bartok [Thu, 3 Feb 2005 21:47:17 +0000 (21:47 -0000)]
- Added missing attributes

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 21:33:53 +0000 (21:33 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg (stmt): Add a missing _setup_... ().

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

19 years ago * Makefile.am (MPH_C_SOURCE): Move errno.c into MPH_C_SOURCE, so it's built
Jonathan Pryor [Thu, 3 Feb 2005 21:16:33 +0000 (21:16 -0000)]
  * Makefile.am (MPH_C_SOURCE): Move errno.c into MPH_C_SOURCE, so it's built
    on Windows as well as Unix.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 21:15:23 +0000 (21:15 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* aot.c: Save some parts of the class state to the AOT file and use it
to recompute that state when a class is initialized.

* mini.c: Install AOT hooks into the runtime.

* mini.h: Bump AOT file format version.

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

19 years ago * errno.c: Mono_Posix_Syscall_SetLastError should be in Stdlib, not Syscall,
Jonathan Pryor [Thu, 3 Feb 2005 21:12:02 +0000 (21:12 -0000)]
  * errno.c: Mono_Posix_Syscall_SetLastError should be in Stdlib, not Syscall,
    since it's part of ANSI C (and errno will be used from StdioFileStream).
    Add Mono_Posix_Stdlib_SetLastError.  Don't remove the Syscall version, as
    we don't want to break Mono 1.1.4/svn users the day after release. :-)

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 21:11:28 +0000 (21:11 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* class.c: Add missing setup_... calls.

* class.c (mono_class_init): Switch on lazy initialization of
the generic vtable.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 20:39:31 +0000 (20:39 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_class_init): Fix generics broken by the recent changes.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 20:33:33 +0000 (20:33 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* monodiet.c (handle_type): Add missing setup_... calls.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 20:22:21 +0000 (20:22 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* class.c: Back out garbage in previous patch.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 20:20:36 +0000 (20:20 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* class.c: Add missing setup_... calls.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 20:12:47 +0000 (20:12 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* class-internals.h (MonoClass): Add 'has_cctor' flag.

* class-internals.h (MonoCachedClassInfo): New structure.

* class.c: Initialize properties and events fields of MonoClass lazily.

* class.c: Add infrastructure for lazily initializing the methods and
vtable fields of MonoClass. Not yet used.

* class.c (mono_class_get_finalizer): New helper function.

* class.c: Add infrastructure for loading some class related data from
an AOT file.

* object.c: Add infrastructure for initializing the vtable from data
in the AOT file.

* gc.c (run_finalize): Use mono_class_get_finalizer ().

* class.c loader.c object.c icall.c gc.c reflection.c: Call the
appropriate initialization function before accessing parts of the
MonoClass structure.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 19:34:32 +0000 (19:34 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* monograph.c: Fix warnings.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 19:29:34 +0000 (19:29 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c: Fix warnings.

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

19 years ago2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 3 Feb 2005 16:45:15 +0000 (16:45 -0000)]
2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>

* Region.cs: revert Jackson's patch and fix this at libgdiplus level

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 16:35:57 +0000 (16:35 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_array): Add missing 'break'. Fixes #72169.

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

19 years agoSD samples should not requiere SWF
Jordi Mas i Hernandez [Thu, 3 Feb 2005 16:34:55 +0000 (16:34 -0000)]
SD samples should not requiere SWF

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 16:22:24 +0000 (16:22 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* mono-debug-debugger.c (get_exception_message): Use
mono_class_get_method_from_name_flags ().

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 15:33:54 +0000 (15:33 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Initialize pointer type locals correctly.
Fixes #72148.

* iltests.il: Add new test.

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

19 years ago2005-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 3 Feb 2005 15:33:37 +0000 (15:33 -0000)]
2005-02-03  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Initialize pointer type locals correctly.
Fixes #72148.

* iltests.il: Add new test.

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

19 years agoThu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 3 Feb 2005 14:10:48 +0000 (14:10 -0000)]
Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>

* Module.cs: removed the finalizer and the now unused Close() icall.

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

19 years agoThu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 3 Feb 2005 14:02:56 +0000 (14:02 -0000)]
Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>

* String.cs: provide a managed memcpy and memset method
for use both in corlib and from the JIT. Implement
some methods with the managed helpers and remove some icalls.

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

19 years agoListBox fixes
Jordi Mas i Hernandez [Thu, 3 Feb 2005 13:47:21 +0000 (13:47 -0000)]
ListBox fixes

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

19 years ago- Introduced static HandleData methods to allow class to be more
Peter Dennis Bartok [Thu, 3 Feb 2005 11:19:56 +0000 (11:19 -0000)]
- Introduced static HandleData methods to allow class to be more
  self-contained and track it's own HandleData objects
- Fixed up drivers to use new static HandleData methods

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

19 years ago2005-02-03 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 3 Feb 2005 10:03:46 +0000 (10:03 -0000)]
2005-02-03  Sureshkumar T  <tsureshkumar@novell.com>

* ForeignKeyConstraintTest.cs: TestCtor5: ad-hoc fixes for mono.
ms.net does not allow fkc.Table. LAMESPEC.

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

19 years ago2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 3 Feb 2005 09:55:41 +0000 (09:55 -0000)]
2005-02-03  Atsushi Enomoto  <atsushi@ximian.com>

* DataViewManagerTest.cs : (Ctor) okay, #7 is silly test.

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

19 years ago2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 3 Feb 2005 09:47:23 +0000 (09:47 -0000)]
2005-02-03  Atsushi Enomoto  <atsushi@ximian.com>

* DataViewManager.cs: misuse of ReadStartElement(string).
* DataRowView.cs : removed some MonoTODO.

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

19 years agoModified project file to reflect new changes
Manjula GHM [Thu, 3 Feb 2005 09:44:19 +0000 (09:44 -0000)]
Modified project file to reflect new changes

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

19 years agoAdded Microsoft.VisualBasic project file
Manjula GHM [Thu, 3 Feb 2005 09:41:33 +0000 (09:41 -0000)]
Added Microsoft.VisualBasic project file

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

19 years ago2005-02-03 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 3 Feb 2005 09:28:48 +0000 (09:28 -0000)]
2005-02-03  Sureshkumar T  <tsureshkumar@novell.com>

* SqlDateTime.cs : Parse : try with local culture first, then try
with invariant culture if it fails.

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

19 years agoModified Project and solution files to reflect new changes
Manjula GHM [Thu, 3 Feb 2005 09:26:45 +0000 (09:26 -0000)]
Modified Project and solution files to reflect new changes

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