mono.git
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

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

* debug.h: Removed external declaration of all functions which
should only be called from the Mono Debugger and also made them
static.  Since the debugger gets their address from the
`MONO_DEBUGGER__debugger_info' vtable, there's no need to export
these functions.

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

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

Improved breakpoint support, we can now dynamically insert and
remove breakpoints at runtime and when called from withing the
Mono Debugger, we're using a special breakpoint trampoline.

* debug.h (mono_method_has_breakpoint): New method to check
whether to insert a breakpoint for a method.
(mono_insert_breakpoint): New method to insert a breakpoint.
(mono_insert_breakpoint_full): New method to insert a breakpoint,
takes a MonoMethodDesc.
(mono_remove_breakpoint): New method to remove a breakpoint.

* debug.c (mono_debugger_insert_breakpoint): New function for the
debugger.  Should only be called from the debugger.
(mono_debugger_remove_breakpoint): Likewise.

* mono.c (main): Use mono_insert_breakpoint() to insert breakpoints.

* trampoline.c (get_breakpoint_trampoline): New static function to
create a special breakpoint trampoline for the debugger.
(x86_magic_trampoline): If we're running inside the Mono Debugger
and a breakpoint was requested for the method, generate a special
breakpoint trampoline.

* jit.c (mono_debug_methods): Removed, use mono_insert_breakpoint()
to insert a breakpoint.
(mono_debug_last_breakpoint_address): Removed.
(match_debug_method): Removed, use mono_method_has_breakpoint().

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

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

* debug-mono-symfile.h: Incremented version number.

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

21 years agoUse g_message() here, not g_warning().
Martin Baulig [Wed, 25 Sep 2002 13:27:37 +0000 (13:27 -0000)]
Use g_message() here, not g_warning().

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

21 years agoWed Sep 25 12:04:08 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 25 Sep 2002 10:06:41 +0000 (10:06 -0000)]
Wed Sep 25 12:04:08 CEST 2002 Paolo Molaro <lupus@ximian.com>

* jit.c: reorder mono_runtime_cleanup () call since it needs the
engine still fully working.

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

21 years ago2002-09-25 Gaurav Vaish <gvaish_mono@lycos.com>
Gaurav Vaish [Wed, 25 Sep 2002 10:01:55 +0000 (10:01 -0000)]
2002-09-25     Gaurav Vaish <gvaish_mono@lycos.com>

* RegextEditorDialog.cs   : Added a few more methods.
* BaseDataListComponentEditor.cs
                          : Completed.
* DataListComponentEditor.cs
                          : Completed
* BaseDataListPageInternal.cs,
* GeneralPageDataListInternal.cs,
* FormatPageInternal.cs,
* BordersPageInternal.cs  : Added private classes. Initial implementation.

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

21 years ago2002-09-25 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 25 Sep 2002 08:03:19 +0000 (08:03 -0000)]
2002-09-25  Dietmar Maurer  <dietmar@ximian.com>

* added -p and -e options. monoburg is now able to work with DAGs.

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

21 years agoStupid off-by-one error fixed.
Mark Crichton [Wed, 25 Sep 2002 04:50:10 +0000 (04:50 -0000)]
Stupid off-by-one error fixed.

The problem was that I incremented gr as if we were on a PPC box.  Sparc
doesn't need such "alignment" of the registers.

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

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

* ecore.cs (TryImplicitIntConversion): When doing an
implicit-enumeration-conversion, check if the type is 64-bits and
perform a conversion before passing to EnumConstant.

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

21 years agoarch/sparc/tramp.c: Fixed once again. Now works, mostly.
Mark Crichton [Wed, 25 Sep 2002 01:52:30 +0000 (01:52 -0000)]
arch/sparc/tramp.c: Fixed once again.  Now works, mostly.
io-layer/atomic.h: It's sparc on gcc/solaris, and __sparc__ on gcc/linux.
           had to add an #ifdef.

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

21 years ago* Added tageditor, a context menu for inserting monodoc tags
Adam Treat [Tue, 24 Sep 2002 21:29:10 +0000 (21:29 -0000)]
* Added tageditor, a context menu for inserting monodoc tags

* Updated the GUI to handle the changes in the lib

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

21 years ago* Added emember.cs and seealso.cs which help to flesh out the dtd
Adam Treat [Tue, 24 Sep 2002 21:27:49 +0000 (21:27 -0000)]
* Added emember.cs and seealso.cs which help to flesh out the dtd

* Reworked Type.cs to support the full range of the monodoc.dtd

* Added support for the full monodoc.dtd to parser.cs

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

21 years agoSmall improvement.
Martin Baulig [Tue, 24 Sep 2002 20:32:46 +0000 (20:32 -0000)]
Small improvement.

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

21 years ago2002-09-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 24 Sep 2002 20:04:10 +0000 (20:04 -0000)]
2002-09-24  Martin Baulig  <martin@gnome.org>

* Assembly.cs (MonoDebugger_GetType): New method to get a Type
from its metadata token.  This should only be used by the debugger.

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

21 years ago2002-09-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 24 Sep 2002 20:02:35 +0000 (20:02 -0000)]
2002-09-24  Martin Baulig  <martin@gnome.org>

* debug.c (mono_debug_open): When we're invoked from inside the
Mono Debugger, set mono_debugger_class_init_func (exported in
metadata/class.c) to mono_add_type().
(mono_add_type): Call mono_debug_symfile_add_type().

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

21 years ago2002-09-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 24 Sep 2002 20:02:10 +0000 (20:02 -0000)]
2002-09-24  Martin Baulig  <martin@gnome.org>

* class.c (mono_debugger_class_init_func): New global function
pointer variable.
(mono_class_init): If mono_debugger_class_init_func is non-NULL,
call it.

* debug-mono-symfile.c (mono_debug_symfile_add_type): New
function.  This is called via the mono_debugger_class_init_func
hook to add all types to the dynamic type table.
(ves_icall_MonoDebugger_GetType): New interncall to get a class
from its metadata token.

* icall.c ("System.Reflection.Assembly::MonoDebugger_GetType"):
New interncall for the debugger.

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

21 years agoUpdate files
Miguel de Icaza [Tue, 24 Sep 2002 18:25:09 +0000 (18:25 -0000)]
Update files

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

21 years agoAdd WarningException.cs
Miguel de Icaza [Tue, 24 Sep 2002 18:23:42 +0000 (18:23 -0000)]
Add WarningException.cs

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

21 years ago2002-09-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 24 Sep 2002 15:21:19 +0000 (15:21 -0000)]
2002-09-24  Nick Drochak <ndrochak@gol.com>

* icall.c (ves_icall_System_Enum_ToObject): validate the type parameter
before using it in case it is null.

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

21 years ago2002-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 24 Sep 2002 15:05:32 +0000 (15:05 -0000)]
2002-09-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PathTest.cs: added test for null argument in IsPathRooted.

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

21 years agoDon't include static fields.
Martin Baulig [Tue, 24 Sep 2002 14:14:01 +0000 (14:14 -0000)]
Don't include static fields.

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

21 years ago2002-09-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 24 Sep 2002 14:11:07 +0000 (14:11 -0000)]
2002-09-24  Nick Drochak  <ndrochak@gol.com>

* ArrayList.cs: Make enumerator throw exception if the ArrayList is
mutated (Insert, Delete, etc.). Also, fix bug in InsertRange() when
this was passed as parameter.

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

21 years ago2002-09-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 24 Sep 2002 14:10:33 +0000 (14:10 -0000)]
2002-09-24  Nick Drochak  <ndrochak@gol.com>

* ArrayListTest.cs: Add test for InsertRange() for the case where an
ArrayList is passed to itself to be insterted.

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

21 years agoAdded support for structs and classes.
Martin Baulig [Tue, 24 Sep 2002 11:31:47 +0000 (11:31 -0000)]
Added support for structs and classes.

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

21 years agoTue Sep 24 13:24:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Sep 2002 11:27:44 +0000 (11:27 -0000)]
Tue Sep 24 13:24:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* metadata.c: allow custom modifiers in local var signatures
(bug spotted by Zoltan Varga).

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

21 years ago2002-09-24
Gaurav Vaish [Tue, 24 Sep 2002 11:20:57 +0000 (11:20 -0000)]
2002-09-24

* RegexTypeEditor.cs      : Completed
* RegexEditorDialog.cs    : Initial implementation.

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

21 years agoTue Sep 24 12:12:16 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Sep 2002 10:14:55 +0000 (10:14 -0000)]
Tue Sep 24 12:12:16 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.c: deal with the <Module> class that may have a NULL vtable.
Eliminate warnings.

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

21 years agoTue Sep 24 11:48:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Sep 2002 09:52:02 +0000 (09:52 -0000)]
Tue Sep 24 11:48:53 CEST 2002 Paolo Molaro <lupus@ximian.com>

* main.c: use mono_type_size () to get the size of
a blob of data for a type (Zoltan Varga spotted the bug).

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

21 years agoTue Sep 24 11:34:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Sep 2002 09:38:38 +0000 (09:38 -0000)]
Tue Sep 24 11:34:02 CEST 2002 Paolo Molaro <lupus@ximian.com>

* jit.c: avoid including cil-coff.h (again). Optimize typeof (type).
Run finalize on domain cleanup.
* mono.c: call setlocale ().
* trampoline.c: clearer error message for invalid trampoline.

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

21 years agoTue Sep 24 11:28:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Sep 2002 09:31:42 +0000 (09:31 -0000)]
Tue Sep 24 11:28:46 CEST 2002 Paolo Molaro <lupus@ximian.com>

* image.c, image.h: more strong name helpers.
* monosn.c: more work: convert pem keys to cryptoapi format.

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

21 years agoTue Sep 24 11:27:38 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Sep 2002 09:29:48 +0000 (09:29 -0000)]
Tue Sep 24 11:27:38 CEST 2002 Paolo Molaro <lupus@ximian.com>

* string-icalls.c: speedup IndexOf.

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

21 years ago2002-09-21 Zoltan Varga <vargaz@freemail.hu>
Paolo Molaro [Tue, 24 Sep 2002 09:20:39 +0000 (09:20 -0000)]
2002-09-21  Zoltan Varga  <vargaz@freemail.hu>

* CallConvCdecl.cs: new file

* CallConvFastcall.cs: new file

* CallConvThiscall.cs: new file

* CallConvStdcall.cs: new file

* RuntimeHelpers.cs: Implemented OffsetToStringData, GetObjectValue and
RunClassConstructor.

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