mono.git
21 years ago2002-10-03 ville <vi64pa@koti.soon.fi>
Rodrigo Moya [Thu, 3 Oct 2002 09:55:44 +0000 (09:55 -0000)]
2002-10-03  ville <vi64pa@koti.soon.fi>

* System.Data.SqlClient/AllTests.cs:
* System.Data.SqlClient/SqlByteTest.cs: added SqlByte test suite.

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

21 years ago2002-10-03 ville <vi64pa@koti.soon.fi>
Rodrigo Moya [Thu, 3 Oct 2002 09:46:00 +0000 (09:46 -0000)]
2002-10-03  ville <vi64pa@koti.soon.fi>

* System.Data.SqlClient/AllTests.cs:
* System.Data.SqlClient/SqlByteTest.cs: added SqlByte test suite.

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

21 years ago2002-10-03 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 3 Oct 2002 09:13:56 +0000 (09:13 -0000)]
2002-10-03  Dick Porter  <dick@ximian.com>

* socket-io.c: Implemented GetHostName_internal

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

21 years ago2002-10-03 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 3 Oct 2002 09:13:34 +0000 (09:13 -0000)]
2002-10-03  Dick Porter  <dick@ximian.com>

* Dns.cs: Fixed GetHostName()

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

21 years ago2002-10-03 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 3 Oct 2002 07:41:26 +0000 (07:41 -0000)]
2002-10-03  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (ves_array_element_address): added check for out of range index
(mono_analyze_stack): added fix for bug #31654

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

21 years ago2002-10-03 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 3 Oct 2002 05:45:23 +0000 (05:45 -0000)]
2002-10-03  Miguel de Icaza  <miguel@ximian.com>

* parameter.cs: Removed ResolveAndDefine, as it was not needed, as
that only turned off an error report, and did nothing else.

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

21 years agoAlso rename the constructor
Miguel de Icaza [Thu, 3 Oct 2002 05:41:03 +0000 (05:41 -0000)]
Also rename the constructor

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

21 years agoCorrect file
Miguel de Icaza [Thu, 3 Oct 2002 05:39:09 +0000 (05:39 -0000)]
Correct file

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

21 years agorename file
Miguel de Icaza [Thu, 3 Oct 2002 05:38:47 +0000 (05:38 -0000)]
rename file

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

21 years ago2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 3 Oct 2002 04:37:54 +0000 (04:37 -0000)]
2002-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list.unix: added new files in System.Configuration.

* System.Configuration/ConfigHelper.cs: New file. Contains some
helper functions for getting key-value collections from the config file.

* System.Configuration/ConfigXmlDocument.cs: wrapper around xml
elements to provide line number and file name info.
* System.Configuration/IConfigXmlNode.cs: used in ConfigXmlDocument
and ConfigurationException.

* System.Configuration/ConfigurationException.cs: get file name and line
number from the wrapped XmlNode. Display this info in Message.

* System.Configuration/NameValueFileSectionHandler.cs: new handler.
* System.Configuration/DictionarySectionHandler.cs:
* System.Configuration/NameValueSectionHandler.cs: modified to use the
helper methods in ConfigHelper.

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

21 years agoAdded a few \n to the --help output
Gonzalo Paniagua Javier [Thu, 3 Oct 2002 02:12:28 +0000 (02:12 -0000)]
Added a few \n to the --help output

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

21 years agoAdded Makefiles for monodoc and updated the README.
Nick Zigarovich [Wed, 2 Oct 2002 17:58:59 +0000 (17:58 -0000)]
Added Makefiles for monodoc and updated the README.

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

21 years ago2002-10-02 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 2 Oct 2002 17:00:17 +0000 (17:00 -0000)]
2002-10-02  Dick Porter  <dick@ximian.com>

* shared.c: Use mmap() instead of sysv shm for the shared data.

* wapi-private.h (_WAPI_HANDLE_VERSION): Reset back to 0, for the
new system

* daemon-private.h:
* daemon.c: mmap()ed regions survive fork, so just pass the
pointer to _wapi_daemon_main instead of mapping it again.

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

21 years agoUpdate faq
Miguel de Icaza [Wed, 2 Oct 2002 16:15:45 +0000 (16:15 -0000)]
Update faq

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

21 years ago2002-10-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 2 Oct 2002 16:13:41 +0000 (16:13 -0000)]
2002-10-02  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Handle and ignore /fullpaths

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

21 years agooops, revert broken patch
Miguel de Icaza [Wed, 2 Oct 2002 16:08:20 +0000 (16:08 -0000)]
oops, revert broken patch

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

21 years ago2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 2 Oct 2002 14:55:11 +0000 (14:55 -0000)]
2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Path.cs: fixes bug #28046.

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

21 years ago2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 2 Oct 2002 12:37:53 +0000 (12:37 -0000)]
2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mono-config.c:
(mono_config_parse_file): don't leak the text.

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

21 years ago2002-10-02 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 2 Oct 2002 11:39:34 +0000 (11:39 -0000)]
2002-10-02  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Added support for methods.

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

21 years agoFix for GetHostName. Now relies on native gethostname.
Mads Pultz [Wed, 2 Oct 2002 11:14:38 +0000 (11:14 -0000)]
Fix for GetHostName. Now relies on native gethostname.

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

21 years ago2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 2 Oct 2002 04:07:09 +0000 (04:07 -0000)]
2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpMethodNotAllowedHandler.cs:
* HttpRuntime.cs:
* StaticFileHandler.cs: Modified file.

* HttpUtility.cs: implemented all missing methods.

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

21 years ago2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 2 Oct 2002 04:04:58 +0000 (04:04 -0000)]
2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list.unix: added new files.
* System.Configuration/AppSettingsReader.cs: New file.
* System.Configuration/IConfigurationSystem.cs: New file.

* System.Configuration/IgnoreSectionHandler.cs:
* System.Configuration/NameValueSectionHandler.cs:
* System.Configuration/SingleTagSectionHandler.cs: little fixes.

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

21 years agoFlush
Miguel de Icaza [Wed, 2 Oct 2002 01:10:27 +0000 (01:10 -0000)]
Flush

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

21 years agoFlush changes
Miguel de Icaza [Wed, 2 Oct 2002 00:44:15 +0000 (00:44 -0000)]
Flush changes

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

21 years agoMore build fixes
Duncan Mak [Wed, 2 Oct 2002 00:11:58 +0000 (00:11 -0000)]
More build fixes

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

21 years ago2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 1 Oct 2002 23:14:53 +0000 (23:14 -0000)]
2002-10-01  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.OleDb/OleDbConnection.cs (Open): commented code from
last commit, which wasn't supposed to be in CVS yet.

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

21 years agoFlush
Duncan Mak [Tue, 1 Oct 2002 22:24:59 +0000 (22:24 -0000)]
Flush

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

21 years ago2002-10-01 Luis Fernandez <luifer@onetel.net.uk>
Rodrigo Moya [Tue, 1 Oct 2002 22:24:31 +0000 (22:24 -0000)]
2002-10-01  Luis Fernandez <luifer@onetel.net.uk>

* System.Data/DataColumn.cs:
* System.Data/DataRow.cs:
* System.Data/DataRowCollection.cs:
* System.Data/DataTable.cs: some fixes and implementation.

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

21 years ago2002-10-01 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 1 Oct 2002 22:19:18 +0000 (22:19 -0000)]
2002-10-01  Duncan Mak  <duncan@ximian.com>

* mono/os/Makefile.am: Add gc_wrapper.h.

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

21 years ago2002-10-01 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 1 Oct 2002 22:11:33 +0000 (22:11 -0000)]
2002-10-01  Duncan Mak  <duncan@ximian.com>

* runtime/Makefile.am: Fix the path for monoresgen.exe.

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

21 years ago2002-09-28 Vladimir Vukicevic� <vladimir@pobox.com>
Rodrigo Moya [Tue, 1 Oct 2002 22:09:43 +0000 (22:09 -0000)]
2002-09-28  Vladimir Vukicevic� <vladimir@pobox.com>

* System.Data.OleDb/OleDbConnection.cs: Close
reader properly in call to ExecuteScalar().

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

21 years agoBump release to 0.16
Miguel de Icaza [Tue, 1 Oct 2002 21:32:16 +0000 (21:32 -0000)]
Bump release to 0.16

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

21 years agoUpdate NEWS file
Miguel de Icaza [Tue, 1 Oct 2002 21:31:55 +0000 (21:31 -0000)]
Update NEWS file

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

21 years ago2002-10-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 1 Oct 2002 21:19:19 +0000 (21:19 -0000)]
2002-10-01  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Binary.ResolveOperator): Catch the case where
DoNumericPromotions returns true,

(Binary.DoNumericPromotions): Simplify the code, and the tests.

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

21 years agoremoved double topdir definition
Gonzalo Paniagua Javier [Tue, 1 Oct 2002 19:24:03 +0000 (19:24 -0000)]
removed double topdir definition

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

21 years agolittle fixes
Gonzalo Paniagua Javier [Tue, 1 Oct 2002 19:22:01 +0000 (19:22 -0000)]
little fixes

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

21 years agoSorry
Miguel de Icaza [Tue, 1 Oct 2002 19:13:26 +0000 (19:13 -0000)]
Sorry

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

21 years agoFix
Miguel de Icaza [Tue, 1 Oct 2002 19:06:01 +0000 (19:06 -0000)]
Fix

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

21 years agoAdd to the build
Miguel de Icaza [Tue, 1 Oct 2002 18:55:18 +0000 (18:55 -0000)]
Add to the build

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

21 years ago2002-10-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 1 Oct 2002 18:44:01 +0000 (18:44 -0000)]
2002-10-01  Martin Baulig  <martin@gnome.org>

* debug.c: Don't create an .il file for the dynamic symbol file.

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

21 years ago2002-10-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 1 Oct 2002 18:42:50 +0000 (18:42 -0000)]
2002-10-01  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Don't emit methods and line numbers for
the dynamic symbol file, just write the type table.  We can easily
have an external helper program which creates a symbol file for an
IL file.

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

21 years ago2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 1 Oct 2002 16:15:12 +0000 (16:15 -0000)]
2002-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoProperty.cs:
* PropertyInfo.cs: fixed bug #31535.

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

21 years ago2002-10-01 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 1 Oct 2002 15:59:52 +0000 (15:59 -0000)]
2002-10-01  Dick Porter  <dick@ximian.com>

* timed-thread.c: Kludge for CREATE_SUSPENDED thread creation.
Unfortunately libgc uses the same thread suspend technique that I
want to, and the two don't mix: libgc will deadlock when it tries
to stop the world if a thread has already been suspended by
someone else.  Just do the simple suspended create rather than the
general purpose thread suspension for now.

* threads.c: Pass create flags to the timed_thread create call, to
implement suspended thread creation.  ResumeThread() partially
implemented, to cope with the case where a newly created but
suspended thread is launched.

2002-10-01  Dick Porter  <dick@ximian.com>

* threads.c (ves_icall_System_Threading_Thread_Start_internal):
Only add the handle to the cleanup array when we're about to
launch the thread.  Bug 31425 deadlocked when the test was run on
mono under w32.

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

21 years ago2002-10-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 1 Oct 2002 13:38:49 +0000 (13:38 -0000)]
2002-10-01  Martin Baulig  <martin@gnome.org>

* debug.c (MonoDebuggerInfo): Added mono_runtime_invoke().

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

21 years ago2002-10-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 1 Oct 2002 13:37:49 +0000 (13:37 -0000)]
2002-10-01  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Added support for properties.

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

21 years ago2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 1 Oct 2002 09:18:23 +0000 (09:18 -0000)]
2002-10-01  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.SqlClient/AllTests.cs: added SqlBoolean test.

2002-10-01  ville <vi64pa@koti.soon.fi>

* System.Data.SqlClient/SqlBooleanTest.cs: new test suite for
SqlBoolean class.

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

21 years ago2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 30 Sep 2002 23:38:44 +0000 (23:38 -0000)]
2002-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list: added new files in System.Web.

* System.Web/HttpApplication.cs: use the static file handler.
* System.Web/HttpForbiddenHandler.cs: handler to forbid access.
* System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
allowed.

* System.Web/HttpUtility.cs: finished all UrlDecode methods.
* System.Web/MimeTypes.cs: map from file extension to MIME type.
* System.Web/StaticFileHandler.cs: serves static files

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

21 years ago2002-09-30 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 30 Sep 2002 14:43:10 +0000 (14:43 -0000)]
2002-09-30  Dick Porter  <dick@ximian.com>

* sockets.c (ioctlsocket): Set non-blocking mode in a better way,
with fcntl.

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

21 years ago2002-09-30 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 30 Sep 2002 14:42:48 +0000 (14:42 -0000)]
2002-09-30  Dick Porter  <dick@ximian.com>

* Win32Exception.cs: Sorted the errors, added EINPROGRESS

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

21 years ago2002-09-30 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 30 Sep 2002 13:58:49 +0000 (13:58 -0000)]
2002-09-30  Dietmar Maurer  <dietmar@ximian.com>

* monoburg.c (main): add option to specify default costs, added
experimental code to handle several input files.

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

21 years ago * Form.cs: Site property now calls base class
John Sohn [Mon, 30 Sep 2002 04:27:56 +0000 (04:27 -0000)]
* Form.cs: Site property now calls base class
* FormTest.cs: set label position on test form
* Label.cs: implemented more methods
* makefile: stub no longer links to gc library

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

21 years ago2002-09-29 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 29 Sep 2002 15:00:18 +0000 (15:00 -0000)]
2002-09-29  Nick Drochak  <ndrochak@gol.com>

* XmlTextReaderTest.cs (AssertEndDocument): Add messages for Asserts()
so we can tell where this is failing.

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

21 years ago2002-09-29 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 29 Sep 2002 14:42:31 +0000 (14:42 -0000)]
2002-09-29  Nick Drochak  <ndrochak@gol.com>

* DecimalTest.cs: Change from Assert() with == to AssertEquals(). This
gets the tests to pass on linux, but they shouldn't need that.  Now
to find out why.  This seems deep...

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

21 years ago2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 28 Sep 2002 07:44:14 +0000 (07:44 -0000)]
2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list: added PageHandlerFactory.

* System.Web/HttpApplication.cs:
* System.Web/HttpApplicationFactory.cs:
* System.Web/HttpRequest.cs:
* System.Web/HttpRuntime.cs:
* System.Web.Compilation/AspElements.cs:
* System.Web.Compilation/AspGenerator.cs:
* System.Web.Compilation/AspParser.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/TemplateFactory.cs: Modified file.
* System.Web.Configuration/HttpCapabilitiesBase.cs:
* System.Web.Hosting/SimpleWorkerRequest.cs:
* System.Web.UI/PageHandlerFactory.cs:
* System.Web.UI/PageParser.cs:
* System.Web.UI/TemplateControlParser.cs: we are now able to compile
pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.

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

21 years ago2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 28 Sep 2002 07:08:58 +0000 (07:08 -0000)]
2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ThreadPool.cs: set IsThreadPoolThread before starting the worker.

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

21 years ago2002-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 27 Sep 2002 23:28:45 +0000 (23:28 -0000)]
2002-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* StreamReader.cs: give more information when wrong parameters passed.

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

21 years ago2002-09-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 27 Sep 2002 19:11:06 +0000 (19:11 -0000)]
2002-09-27  Martin Baulig  <martin@gnome.org>

* debug.c (debug_load_method_lines): Don't use sigaction() on win32.

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

21 years agocygwin needs to link another library now
Dick Porter [Fri, 27 Sep 2002 18:04:02 +0000 (18:04 -0000)]
cygwin needs to link another library now

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

21 years agoFri Sep 27 18:55:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 27 Sep 2002 16:57:46 +0000 (16:57 -0000)]
Fri Sep 27 18:55:01 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: unaligned store fix from Mark Crichton
<crichton@gimp.org>.

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

21 years agoDum de dum, need to escape %.
Paolo Molaro [Fri, 27 Sep 2002 14:56:19 +0000 (14:56 -0000)]
Dum de dum, need to escape %.

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

21 years agoMake it print the unknown operator value.
Paolo Molaro [Fri, 27 Sep 2002 14:53:20 +0000 (14:53 -0000)]
Make it print the unknown operator value.

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

21 years ago2002-09-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 27 Sep 2002 14:51:16 +0000 (14:51 -0000)]
2002-09-27  Martin Baulig  <martin@gnome.org>

* Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.

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

21 years ago2002-09-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 27 Sep 2002 14:49:22 +0000 (14:49 -0000)]
2002-09-27  Martin Baulig  <martin@gnome.org>

* icall.c ("System.Reflection.Assembly::GetReferencedAssemblies"):
New interncall.

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

21 years ago2002-09-27 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 27 Sep 2002 13:54:16 +0000 (13:54 -0000)]
2002-09-27  Dick Porter  <dick@ximian.com>

* configure.in: Check for semaphore.h.  Patch for BSD from
jmmv@hispabsd.org (Julio Merino).

2002-09-27  Dick Porter  <dick@ximian.com>

* semaphores.c: Only include semaphore.h if it's present. Patch
for BSD from jmmv@hispabsd.org (Julio Merino).

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

21 years agoFri Sep 27 15:38:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 27 Sep 2002 13:42:47 +0000 (13:42 -0000)]
Fri Sep 27 15:38:31 CEST 2002 Paolo Molaro <lupus@ximian.com>

* assembly.h, assembly.c: use a sane API to hook into the assembly
loading process instead of a useless special-purpouse hack
(ngen needs a hook, too, for example).

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

21 years agoFri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 27 Sep 2002 13:09:06 +0000 (13:09 -0000)]
Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoCustomAttrs.cs: applied patch by "Si Jingnan"
<stonewell@21cn.com> to return also derived types.

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

21 years ago2002-09-27 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 27 Sep 2002 12:02:56 +0000 (12:02 -0000)]
2002-09-27  Dick Porter  <dick@ximian.com>

* processes.c: Pass environment and working directory to the
daemon when forking.  Don't let argv[0] be duplicated when looking
for the program name.  Implement EnumProcessModules (simple
version for now, lsof-style later if needed), GetModuleBaseName,
{Get,Set}ProcessWorkingSetSize (just faked, because the vm hints
aren't available on Linux).

* process-private.h: Store the process name, and the working set
min and max

* handles.c:
* handles-private.h: New functions to store and retrieve an array
of strings in the scratch space

* daemon.c: Don't miss deleting some handles when a client exits
(we used to rely on the client doing the final cleanup, but
obviously if the client is no longer there the daemon has to do
it).

Process forking now sets the environment and the working
directory.

* io.c: Don't confuse fd 0 with an unassigned handle struct

* atomic.h: Add a google cache alternative to the msdn URL

2002-09-27  Dick Porter  <dick@ximian.com>

* threads.c (mono_thread_init): Call GetCurrentProcess() so
io-layer can set up some process handle info.  Not needed on w32,
but doesn't hurt either.

* process.c: Pass the program name in the second parameter to
CreateProcess, so the path is searched.  Include the working
directory. Implemented process name, process enumeration, and some
process detail internal calls.

* icall.c: Added internal calls for process lookup, and some
process details

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

21 years ago2002-09-27 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 27 Sep 2002 11:44:02 +0000 (11:44 -0000)]
2002-09-27  Dick Porter  <dick@ximian.com>

* interp.c: Tell glib what the program name is, by passing it the
name of the managed file we're executing

2002-09-27  Dick Porter  <dick@ximian.com>

* mono.c: Tell glib what the program name is, by passing it the
name of the managed file we're executing

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

21 years ago2002-09-27 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 27 Sep 2002 11:39:50 +0000 (11:39 -0000)]
2002-09-27  Dick Porter  <dick@ximian.com>

* Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
Pass the working directory to Start.  Pass the program and args in
one string to be used with the second arg of CreateProcess, so it
will search the path.

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

21 years ago2002-09-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 27 Sep 2002 05:13:57 +0000 (05:13 -0000)]
2002-09-27  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (EventExpr.Emit): Instead of emitting an exception,
report error 70.

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

21 years ago2002-09-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 26 Sep 2002 21:45:46 +0000 (21:45 -0000)]
2002-09-26  Martin Baulig  <martin@gnome.org>

* trampoline.c (x86_magic_trampoline): Don't insert the breakpoint
trampoline into the vtable, also use it for non-virtual methods,
remove the breakpoint when done.

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

21 years ago2002-09-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 26 Sep 2002 20:31:18 +0000 (20:31 -0000)]
2002-09-26  Martin Baulig  <martin@gnome.org>

* debug.c (debug_load_method_lines): Block SIGCHLD while running
monodis.

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

21 years ago2002-09-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 26 Sep 2002 20:18:07 +0000 (20:18 -0000)]
2002-09-26  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (ConvertNumericExplicit): It is not enough that the
conversion exists, but it is also required that the conversion be
performed.  This manifested in "(Type64Enum) 2".

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

21 years agoIncremented version number.
Martin Baulig [Thu, 26 Sep 2002 19:41:44 +0000 (19:41 -0000)]
Incremented version number.

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

21 years ago2002-09-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 26 Sep 2002 19:41:20 +0000 (19:41 -0000)]
2002-09-26  Martin Baulig  <martin@gnome.org>

* debug.c: Reworked the whole debugging stuff.  We have now one
single `mono_debug_handle' which keeps a hashtable of
`AssemblyDebugInfo's (which may have different debugging formats).
The AssemblyDebugInfo is now created when the assembly is loaded,
but never when adding a class/type.

* mono.c: Initialize debugging stuff after corlib and the assembly
have been loaded.

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

21 years ago2002-09-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 26 Sep 2002 19:40:56 +0000 (19:40 -0000)]
2002-09-26  Martin Baulig  <martin@gnome.org>

* assembly.c (mono_install_open_assembly_hook): New global
function to install a function to be invoked each time a new
assembly is loaded.
(mono_assembly_open): Run this callback function if set.

* debug-mono-symfile.c: Put back line numbers for the dynamic
symbol file and also record the .il file as source file.  This
allows us to install the temporary symbol file as `file.dbg' just
like a compiler-generated one.

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

21 years agoCorrected typo in gc.c (BOHEM vs BOEHM)
Nick Zigarovich [Thu, 26 Sep 2002 19:40:15 +0000 (19:40 -0000)]
Corrected typo in gc.c (BOHEM vs BOEHM)

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

21 years ago2002-09-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 26 Sep 2002 18:33:24 +0000 (18:33 -0000)]
2002-09-26  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeManager.AddMethod): The fix is not to change
AddEnum, because that one was using a fully qualified name (every
DeclSpace derivative does), but to change the AddMethod routine
that was using an un-namespaced name.  This now correctly reports
the duplicated name.

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

21 years agoSmall hack to avoid the make -f makefile.gnu
Miguel de Icaza [Thu, 26 Sep 2002 18:22:30 +0000 (18:22 -0000)]
Small hack to avoid the make -f makefile.gnu

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

21 years ago2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 Sep 2002 18:01:06 +0000 (18:01 -0000)]
2002-09-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ApplicationHost.cs:
* SimpleWorkerRequest.cs: workaround for bug #31245.

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

21 years ago2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 Sep 2002 17:55:05 +0000 (17:55 -0000)]
2002-09-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Activator.cs: little fix in CreateInstance (Type, bool).

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

21 years ago2002-09-26 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 26 Sep 2002 13:35:51 +0000 (13:35 -0000)]
2002-09-26  Dietmar Maurer  <dietmar@ximian.com>

* monoburg.c (emit_state): include additional fields to handle
register allocation in dag_mode

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

21 years ago2002-09-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 26 Sep 2002 05:30:03 +0000 (05:30 -0000)]
2002-09-26  Miguel de Icaza  <miguel@ximian.com>

* class.cs: Revert patch until I can properly fix it.  The issue
is that we have a shared Type space across all namespaces
currently, which is wrong.

Options include making the Namespace a DeclSpace, and merge
current_namespace/current_container in the parser.

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

21 years agoFix the build
Miguel de Icaza [Thu, 26 Sep 2002 04:19:13 +0000 (04:19 -0000)]
Fix the build

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

21 years agooops
Gonzalo Paniagua Javier [Thu, 26 Sep 2002 01:36:38 +0000 (01:36 -0000)]
oops

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

21 years ago2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 Sep 2002 01:33:33 +0000 (01:33 -0000)]
2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: added some missing methods.
* HttpApplicationFactory.cs: get event handlers for the application.
* HttpAsyncResult.cs: little fixes.
* HttpRequest.cs: make Encoding work even with no worker request.

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

21 years ago2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 Sep 2002 00:56:48 +0000 (00:56 -0000)]
2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: implemented ObBubbleEvent.
* Page.cs: temporary workaround to make POST work with xsp server.

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

21 years ago2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 Sep 2002 00:51:05 +0000 (00:51 -0000)]
2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListControl.cs: fixed OnDataBinding.

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

21 years ago2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 25 Sep 2002 23:46:37 +0000 (23:46 -0000)]
2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: fixed bug #31235 by copying a few lines from GetMethods to
GetProperties. Also avoid calling g_slist_length in GetProperties and
GetMethods.

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

21 years ago2002-09-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 25 Sep 2002 22:34:49 +0000 (22:34 -0000)]
2002-09-25  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Improve error reporting when we get a different
kind of expression in local_variable_type and
local_variable_pointer_type.

Propagate this to avoid missleading errors being reported.

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

21 years agoAlways create a line entry for the last line.
Martin Baulig [Wed, 25 Sep 2002 21:49:31 +0000 (21:49 -0000)]
Always create a line entry for the last line.

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

21 years ago2002-09-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 25 Sep 2002 21:43:08 +0000 (21:43 -0000)]
2002-09-25  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.h (MonoSymbolFileMethodAddress): Use pointers
instead of guint64 for addresses and added prologue/epilogue info.

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

21 years ago2002-09-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 25 Sep 2002 21:41:33 +0000 (21:41 -0000)]
2002-09-25  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (ImplicitReferenceConversion): treat
TypeManager.value_type as a target just like object_type.   As
code like this:

ValueType v = 1;

Is valid, and needs to result in the int 1 being boxed before it
is assigned to the value type v.

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

21 years ago2002-09-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 25 Sep 2002 21:10:06 +0000 (21:10 -0000)]
2002-09-25  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeContainer.AddEnum): Use the basename, not the name
to validate the enumeration name.

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

21 years ago2002-09-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 25 Sep 2002 20:58:38 +0000 (20:58 -0000)]
2002-09-25  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (ArrayAccess.EmitAssign): Mimic the same test from
EmitDynamicInitializers for the criteria to use Ldelema.  Thanks
to hwang_rob@yahoo.ca for finding the bug and providing a patch.

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

21 years ago2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 25 Sep 2002 20:35:17 +0000 (20:35 -0000)]
2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* sockets.c:
(_wapi_recvfrom): added ECONNRESET to the switch.

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

21 years agoWed Sep 25 22:18:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 25 Sep 2002 20:21:28 +0000 (20:21 -0000)]
Wed Sep 25 22:18:03 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: avoid unaligned stores (bug spotted by
Mark Crichton  <crichton@gimp.org>).

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

21 years ago2002-09-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 25 Sep 2002 18:51:19 +0000 (18:51 -0000)]
2002-09-25  Martin Baulig  <martin@gnome.org>

* debug-private.h (DebugLineNumberInfo): Removed.  There's now a
MonoDebugLineNumberEntry type in debug-mono-symfile.h which we're
using instead of it.
(DebugMethodInfo): Removed `line_numbers'.

* debug.c: Reworked the line number generation; we're now using
the MonoDebugLineNumberEntry try for all debugging formats.  This
type also includes the line number and IL offset, this allows the
JIT to produce better line number info: we only emit line number
information for source lines which actually have code.

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

21 years ago2002-09-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 25 Sep 2002 18:50:48 +0000 (18:50 -0000)]
2002-09-25  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.h (MonoDebugLineNumberEntry): New type to
store line number info.  For the dynamic symbol file, we only need
to provide the JIT generated dynamic line number info for the dynamic
symbol file.

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

21 years agoMore assemblies
Miguel de Icaza [Wed, 25 Sep 2002 17:30:08 +0000 (17:30 -0000)]
More assemblies

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