mono.git
19 years ago * Stdlib.cs, Syscall.cs: Minimize duplicate declarations of
Jonathan Pryor [Sat, 1 Jan 2005 23:19:20 +0000 (23:19 -0000)]
* Stdlib.cs, Syscall.cs: Minimize duplicate declarations of
  "MonoPosixHelper" for use in DllImport statements.

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

19 years ago * Stdlib.cs: Don't use C# v2 features; fixes build under CSC.EXE.
Jonathan Pryor [Sat, 1 Jan 2005 18:32:49 +0000 (18:32 -0000)]
* Stdlib.cs: Don't use C# v2 features; fixes build under CSC.EXE.

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

19 years ago2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 31 Dec 2004 15:29:03 +0000 (15:29 -0000)]
2005-01-01  Atsushi Enomoto  <atsushi@ximian.com>

* Base64FormattingOptions.cs : it was not in System namespace.

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

19 years ago2004-12-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 31 Dec 2004 05:26:12 +0000 (05:26 -0000)]
2004-12-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* outline.cs : Add support for enums having types different than int.

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

19 years ago2004-12-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Dec 2004 23:48:50 +0000 (23:48 -0000)]
2004-12-31  Zoltan Varga  <vargaz@freemail.hu>

* debug-mini.c (encode_value): Fix off-by-one.

* aot.c (encode_value): Likewise.

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

19 years ago2004-12-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Dec 2004 23:10:42 +0000 (23:10 -0000)]
2004-12-31  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Disable AOT for methods containing LDPTR.

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

19 years ago2004-12-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Dec 2004 22:37:31 +0000 (22:37 -0000)]
2004-12-30  Zoltan Varga  <vargaz@freemail.hu>

* mini.c linear-scan.c: Add a workaround for the mcs crash when using
AOT.

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

19 years ago * Syscall.cs: Add [Obsolete] to Syscall, letting users know they should
Jonathan Pryor [Thu, 30 Dec 2004 21:30:01 +0000 (21:30 -0000)]
  * Syscall.cs: Add [Obsolete] to Syscall, letting users know they should
    use Mono.Unix.Syscall (and related types) instead.  Mono.Posix.Syscall
    is effectively unmaintained, and should not be used.

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

19 years ago2004-12-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Dec 2004 21:24:20 +0000 (21:24 -0000)]
2004-12-30  Zoltan Varga  <vargaz@freemail.hu>

* loader.c icall.c: Fix warnings.

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

19 years ago2004-12-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Dec 2004 21:10:38 +0000 (21:10 -0000)]
2004-12-30  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_aot_load_method): Free up patch info if no longer needed.

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

19 years ago * Stdlib.cs: On miguel's suggestion, rename Sighandler_t to SignalHandler.
Jonathan Pryor [Thu, 30 Dec 2004 20:50:31 +0000 (20:50 -0000)]
  * Stdlib.cs: On miguel's suggestion, rename Sighandler_t to SignalHandler.

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

19 years ago * Stdlib.cs: Implement all C89 <stdio.h> functions except for the scanf(3)
Jonathan Pryor [Thu, 30 Dec 2004 20:47:08 +0000 (20:47 -0000)]
  * Stdlib.cs: Implement all C89 <stdio.h> functions except for the scanf(3)
    family.  These are too dangerous to expose.

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

19 years ago * stdio.c: More wrapper functions. This should complete C89's <stdio.h>
Jonathan Pryor [Thu, 30 Dec 2004 20:19:22 +0000 (20:19 -0000)]
  * stdio.c: More wrapper functions.  This should complete C89's <stdio.h>
    requirements.

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

19 years ago * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
Jackson Harper [Thu, 30 Dec 2004 18:52:08 +0000 (18:52 -0000)]
* TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
* TreeNode.cs: When collapsing make sure to never collapse the
root node.

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

19 years ago2004-12-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Dec 2004 18:47:57 +0000 (18:47 -0000)]
2004-12-30  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (emit_method_info): Increase size of temp buffer.

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

19 years ago * sys-statvfs.c: Further proving that changing code without compiling is
Jonathan Pryor [Thu, 30 Dec 2004 18:39:22 +0000 (18:39 -0000)]
  * sys-statvfs.c: Further proving that changing code without compiling is
  dangerous business...  Compiler fix for OS X.

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

19 years agoAdd test-330
Duncan Mak [Thu, 30 Dec 2004 17:33:19 +0000 (17:33 -0000)]
Add test-330

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

19 years ago2004-12-29 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 30 Dec 2004 17:31:14 +0000 (17:31 -0000)]
2004-12-29  Duncan Mak  <duncan@ximian.com>

* cs0246-9.cs: Added to track bug #70758.

* cs1510-3.cs: Added to track bug #70402.

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

19 years ago2004-12-30 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 30 Dec 2004 17:28:22 +0000 (17:28 -0000)]
2004-12-30  Duncan Mak  <duncan@ximian.com>

* test-330.cs: New test for #70468.

* Makefile (TEST_SOURCES_common): Added test-330.cs

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

19 years ago2004-12-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Dec 2004 17:17:20 +0000 (17:17 -0000)]
2004-12-30  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c cpu-pentium.md mini.c: Load fp constants differently in
the AOT case.

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

19 years ago2004-12-30 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 30 Dec 2004 17:13:52 +0000 (17:13 -0000)]
2004-12-30  Duncan Mak  <duncan@ximian.com>

* typemanager.cs (TypeManager.CheckStructCycles): Don't crash here
if field.FieldBuilder is null. Fixes #70758.

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

19 years ago2004-12-30 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 30 Dec 2004 17:07:31 +0000 (17:07 -0000)]
2004-12-30  Duncan Mak  <duncan@ximian.com>

* convert.cs: Fixed some typos and update some of the names.
(ImplicitStandardConversionExists):
(TryImplicitIntConversion): if target_type is IConvertible,
IComparable or IFormattable, return true / a BoxedCast instead of
failing. This fixes #70468.

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

19 years ago* signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
Jonathan Pryor [Thu, 30 Dec 2004 16:22:04 +0000 (16:22 -0000)]
* signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!

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

19 years ago2004-12-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Dec 2004 14:58:07 +0000 (14:58 -0000)]
2004-12-30  Atsushi Enomoto  <atsushi@ximian.com>

* monop.cs : csc build fix (see bug #70185).

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

19 years ago * CdeclFunctions.cs: Remove warning about unused variable.
Jonathan Pryor [Thu, 30 Dec 2004 14:30:42 +0000 (14:30 -0000)]
  * CdeclFunctions.cs: Remove warning about unused variable.
  * Stdlib.cs: Make signal(2) sane and (hopefully) complete.
  * Syscall.cs: Fix cuserid Obsolete message to reference correct class name.
  * UnixProcess.cs: Remove warning about unused variable.
  * UnixMarshal.cs: Remove warnings about unused variables.

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

19 years ago * Makefile.am: Add signal.c to the build.
Jonathan Pryor [Thu, 30 Dec 2004 13:51:37 +0000 (13:51 -0000)]
  * Makefile.am: Add signal.c to the build.
  * signal.c: Added.  Contains helper functions to wrap signal(2).

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

19 years ago * Syscall.cs: All syscall_ functions should explicitly specify EntryPoint
Jonathan Pryor [Thu, 30 Dec 2004 13:01:43 +0000 (13:01 -0000)]
  * Syscall.cs: All syscall_ functions should explicitly specify EntryPoint
    so that an EntryPointNotFoundException is avoided.  Fixes 70706.

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

19 years ago * sys-statvfs.c: Fix Mac OS X build (statfs.f_frsize doesn't exist on OSX;
Jonathan Pryor [Thu, 30 Dec 2004 11:47:49 +0000 (11:47 -0000)]
* sys-statvfs.c: Fix Mac OS X build (statfs.f_frsize doesn't exist on OSX;
  f_fsid isn't an integral type; fstatfs needs to use fpathconf).

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

19 years ago2004-12-29 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 30 Dec 2004 06:29:32 +0000 (06:29 -0000)]
2004-12-29  Duncan Mak  <duncan@ximian.com>

          * expression.cs (Argument.Emit): Check that Expr is
          IMemoryLocation before casting to it, and report CS1510
          otherwise.

          This fixes #70402.

2004-12-29  Duncan Mak  <duncan@ximian.com>

          * cs1510-3.cs: Added to track bug #70402.

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

19 years agoFix the name in the error
Duncan Mak [Thu, 30 Dec 2004 04:43:01 +0000 (04:43 -0000)]
Fix the name in the error

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

19 years ago2004-12-29 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 30 Dec 2004 03:30:10 +0000 (03:30 -0000)]
2004-12-29  Duncan Mak  <duncan@ximian.com>

* man/monop.1: Add docs on the new "--search" flag.

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

19 years ago2004-12-29 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 30 Dec 2004 03:14:30 +0000 (03:14 -0000)]
2004-12-29  Duncan Mak  <duncan@ximian.com>

* monop.cs (SearchType): New method, returns a list of type names
that matches the method argument, either completely or partially.
(GetKnownAssemblyNames): Renamed from GetAssemblyNamesFromGAC, as
it now includes mscorlib in the return value.
(Main): Added new flags: "--search", "-s", "-k". These flags will
invoke SearchType. Prints out a list of Types and the location of
the Assembly containing the Type.

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

19 years ago2004-12-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Dec 2004 22:08:40 +0000 (22:08 -0000)]
2004-12-29  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke3.cs libtest.c: Add test for marshalling blittable structs
with delegates.

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

19 years ago2004-12-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Dec 2004 21:27:11 +0000 (21:27 -0000)]
2004-12-29  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_managed_wrapper): Fix returning of
blittable types. Fixes #70864.

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

19 years ago2004-12-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Dec 2004 21:25:25 +0000 (21:25 -0000)]
2004-12-29  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke3.cs libtest.c: Add test for marshalling of enums with delegates.

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

19 years ago * UnixPath.cs: Add ReadSymbolicLink(), which takes an intelligent approach
Jonathan Pryor [Wed, 29 Dec 2004 21:10:11 +0000 (21:10 -0000)]
  * UnixPath.cs: Add ReadSymbolicLink(), which takes an intelligent approach
    to reading symlinks (since their contents may be any size, we grow the
    buffer dynamically to fit them all, instead of assuming a maximum size).
  * UnixSymbolicLinkInfo.cs: Remove MaxContentsSize.

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

19 years ago * UnixPath.cs: Add check for when symlink points to a full path name.
Jonathan Pryor [Wed, 29 Dec 2004 20:06:22 +0000 (20:06 -0000)]
  * UnixPath.cs: Add check for when symlink points to a full path name.

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

19 years ago * unistd.c: Null-terminate the string returned by readlink(2). This works
Jonathan Pryor [Wed, 29 Dec 2004 19:36:19 +0000 (19:36 -0000)]
  * unistd.c: Null-terminate the string returned by readlink(2).  This works
    around a marshaler "issue".

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

19 years ago * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
Jackson Harper [Wed, 29 Dec 2004 18:47:43 +0000 (18:47 -0000)]
* TreeView.cs: Align lines to the bottom of plus minus boxes properly.

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

19 years ago * Syscall.cs: Fix Object.Equals implementations.
Jonathan Pryor [Wed, 29 Dec 2004 17:20:25 +0000 (17:20 -0000)]
  * Syscall.cs: Fix Object.Equals implementations.
  * UnixPath.cs: New & improved, with Testing!  GetRealPath() is changed so
    that it doesn't walk the entire path looking for symlinks, it just reads
    the leaf.  GetCompletRealPath() walks the entire path resolving symlinks.
    GetCanonicalPath() added, which "cleans up" a path (removing extraneous
    "." and ".." entries).
  * UnixSymbolicLinkInfo.cs: Rename ContentsLength -> MaxContentsSize.

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

19 years agoUpdate MonoStats.
Martin Baulig [Wed, 29 Dec 2004 10:01:01 +0000 (10:01 -0000)]
Update MonoStats.

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

19 years ago2004-12-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 29 Dec 2004 10:00:41 +0000 (10:00 -0000)]
2004-12-29  Martin Baulig  <martin@ximian.com>

* icall.c
(ves_icall_MonoGenericMethod_get_reflected_type): New interncall.

* reflection.c (mono_method_get_object): Create a
"System.Reflection.MonoGenericMethod" for inflated methods; don't
call mono_get_inflated_method().

* class-internals.h (MonoStats): Added `inflated_method_count_2'.

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

19 years ago2004-12-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 29 Dec 2004 09:56:54 +0000 (09:56 -0000)]
2004-12-29  Martin Baulig  <martin@ximian.com>

* MonoGenericMethod.cs: New file.

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

19 years ago2004-12-28 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 29 Dec 2004 04:19:23 +0000 (04:19 -0000)]
2004-12-28  Duncan Mak  <duncan@ximian.com>

* libodbc.cs: Change all the DllImport attributes to point to
"odbc32.dll" instead of "odbc32", because /etc/mono/config lists
"odbc32.dll" (all other entries in the file have the .dll suffix
as well, for consistency's sake, let's rename it here.)

This fixes #70727.

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

19 years ago2004-12-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Dec 2004 22:56:16 +0000 (22:56 -0000)]
2004-12-28  Zoltan Varga  <vargaz@freemail.hu>

* X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.

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

19 years ago- No longer uses owner var in CreateParams if that isn't assigned yet
Peter Dennis Bartok [Tue, 28 Dec 2004 22:31:38 +0000 (22:31 -0000)]
- No longer uses owner var in CreateParams if that isn't assigned yet

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

19 years ago- Added WM_HELP handler, now generates HelpRequested event
Peter Dennis Bartok [Tue, 28 Dec 2004 21:55:55 +0000 (21:55 -0000)]
- Added WM_HELP handler, now generates HelpRequested event
- Added HelpButton property and required support code
- Added HELPINFO structure for WM_HELP handling

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

19 years ago2004-12-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Dec 2004 21:11:05 +0000 (21:11 -0000)]
2004-12-28  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (emit_method_info): Fix build.

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

19 years ago * UnixFileSystemInfo.cs: Add a link(2) wrapper, CreateLink(). Strictly
Jonathan Pryor [Tue, 28 Dec 2004 20:04:35 +0000 (20:04 -0000)]
  * UnixFileSystemInfo.cs: Add a link(2) wrapper, CreateLink().  Strictly
    speaking it's only "safe" to do this on files, but an exception will be
    returned if the user tries to hard link directories (because of EPERM),
    unless the user is root, in which case it should be allowed anyway...

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

19 years ago * Mono.Posix.dll.sources: Add UnixDriveInfo and UnixPath.
Jonathan Pryor [Tue, 28 Dec 2004 19:54:39 +0000 (19:54 -0000)]
  * Mono.Posix.dll.sources: Add UnixDriveInfo and UnixPath.
  * CdeclFunctions.cs: Correct the comments for AMD64
  * UnixDirectoryInfo.cs: override Name; add Parent & Root properties;
    Correct Path usage (s/Path/FullPath/g).
  * UnixDriveInfo.cs: Added.  Based on .NET 2.0 System.IO.DriveInfo docs,
    provides statvfs(2) and getfsfile(3) information about a mounted volume.
    GetDrives() wraps getfsent(3), thus parsing /etc/fstab.
  * UnixFile.cs: Use UnixConver.ToOpenFlags, deleting the local version.
  * UnixFileInfo.cs: Use UnixConver.ToOpenFlags, deleting the local version;
    override Name; add DirectoryName and Directory properties;
  * UnixFileSystemInfo.cs: Make more .NET-like, using FullPath and
    OriginalPath protected members, abstract Name property; Add
    CreateSymbolicLink; Remove ReadLink (it's now
    UnixSymbolicLinkInfo.Contents); Use lstat(2) for Create(string), so we
    properly detect Symbolic Links.
  * UnixPath.cs: Added; Path manipulation utility functions.
  * UnixSymbolicLinkInfo.cs:
    - Seal the class;
    - override new abstract member Name;
    - rename ReadLink to ContentsPath (and Contents) properties
      (why "Contents"?  Because readlink(2) says "readlink places the
      contents of the symbolic link in the buffer...")
    - Add CreateSymbolicLinkTo(), which creates a symlink to the specified
      "normal" file

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

19 years ago * Stdlib.cs: Add syslog(3) to XPrintfFunctions; Add additional printf(3)
Jonathan Pryor [Tue, 28 Dec 2004 18:52:53 +0000 (18:52 -0000)]
  * Stdlib.cs: Add syslog(3) to XPrintfFunctions; Add additional printf(3)
    and fprintf(3) overload which properly escape the format string
    (by using "%s" as the format for the user-supplied message).
  * Syscall.cs: Add #regions for enummerations, structures, classes; Wrap
    syslog(3) and related enumerations; fix operator!= on Dirent, Group;
    wrap {f}statvfs(2); wrap <fstab.h> entries (getfsent(3), etc.).
  * UnixConvert.cs: Add Syslog-releated enumeration translation functions;
    Move ToOpenFlags here from UnixFile and UnixFileInfo.
  * UnixMarshal.cs: Missing P/Invoke methods throw
    EntryPointNotFoundException, not MissingMethodException; add
    EscapeFormatString, which escapes printf-style format strings so that they
    can be safely handed off to native code (avoiding stack overflow, etc);
    make CreateExceptionForError internal.

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

19 years ago2004-12-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Dec 2004 18:41:47 +0000 (18:41 -0000)]
2004-12-28  Zoltan Varga  <vargaz@freemail.hu>

* aot.c: Further rework of the AOT file format to reduce the size of
the method info data.

* mini.h: Bump AOT file format version.

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

19 years ago * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
Jonathan Pryor [Tue, 28 Dec 2004 18:00:09 +0000 (18:00 -0000)]
  * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
    against glib-2.0 (to use g_assert()).

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

19 years ago* configure.in: Add header & function checks for MonoPosixHelper.
Jonathan Pryor [Tue, 28 Dec 2004 17:09:17 +0000 (17:09 -0000)]
* configure.in: Add header & function checks for MonoPosixHelper.

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

19 years ago * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(3),
Jonathan Pryor [Tue, 28 Dec 2004 17:08:46 +0000 (17:08 -0000)]
  * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(3),
    getfsspec(3).
  * map.c: Add new conversion functions for SyslogOptions, SyslogFacility,
    SyslogLevel; see syslog(3) for details.
  * map.h: Add new conversion functions and values for SyslogOptions,
    SyslogFacility, SyslogLevel; see syslog(3) for details.
  * Makefile.am (MPH_SOURCE): add fstab.c, sys-statvfs.c, x-struct-str.c.
  * mph.h: Document location for Mac OS X man page documentation; add
    MPH_INTERNAL macro for intra-library function calls (for functions that
    shouldn't be exported from libMonoPosixHelper.so); declare
    _mph_copy_structure_strings().
  * pwd.c: Use _mph_copy_structure_strings() to copy strings embedded within
    struct passwd.
  * sys-statvfs.c: Added; wrap <sys/statvfs.h> functions statvfs(2),
    fstatvfs(2), and (to complicate things) implement (f)statvfs(2) in terms
    of (f)statfs(2) on Mac OS X (which lacks the -vfs calls).
  * x-struct-str.c: implements _mph_copy_structure_strings(), which is a
    generalized interface to copy strings between structures (as is needed in
    pwd.c and fstab.c).

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

19 years ago2004-12-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 28 Dec 2004 12:08:47 +0000 (12:08 -0000)]
2004-12-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: for Receive*/Send*, don't set the connected status to false
when the error is EINPROGRESS or EWOULDBLOCK.

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

19 years ago- Made DialogForm.owner variable internal
Peter Dennis Bartok [Tue, 28 Dec 2004 11:05:25 +0000 (11:05 -0000)]
- Made DialogForm.owner variable internal
- Added check to ensure owner form is set before setting owner properties
  in CreateParams

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

19 years ago2004-12-28 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 28 Dec 2004 06:14:37 +0000 (06:14 -0000)]
2004-12-28  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Implement mouse hovering.  Fix QDPoint struct to avoid
          swizzling.  Implement ClientToScreen and ScreenToClient.  Implement
          GetCursorPos.  Fix major visibility issues.  Rework the windowing
          system to support borderless/titleless windows (implements menus).
          Fix GetWindowPos.  Implement initial background color support for
          views.

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

19 years agoIn .:
Ben Maurer [Tue, 28 Dec 2004 03:08:17 +0000 (03:08 -0000)]
In .:
2004-12-27  Ben Maurer  <bmaurer@ximian.com>

* corlib_test.dll.sources: Add s.col.gen.stack test

In Test/System.Collections.Generic:
2004-12-27  Ben Maurer  <bmaurer@ximian.com>

* StackTest.cs: new Test.

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

19 years ago * Stack.cs: Stupid bug fixes.
Ben Maurer [Tue, 28 Dec 2004 03:06:50 +0000 (03:06 -0000)]
* Stack.cs: Stupid bug fixes.

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

19 years ago2004-12-27 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 28 Dec 2004 01:29:49 +0000 (01:29 -0000)]
2004-12-27  Ben Maurer  <bmaurer@ximian.com>

* Changelog: rename to ChangeLog
* */Makefile.am: build for 2.0
* */AssemblyInfo.cs: Different version for 2.0 to make the GAC happy.

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

19 years agouh add this
Ben Maurer [Mon, 27 Dec 2004 23:37:22 +0000 (23:37 -0000)]
uh add this

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

19 years ago2004-12-27 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 27 Dec 2004 23:35:31 +0000 (23:35 -0000)]
2004-12-27  Ben Maurer  <bmaurer@ximian.com>

* List.cs: My new (mostly untested ;-) impl of List
<T>. Implements most of the API.

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

19 years ago2004-12-27 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 27 Dec 2004 21:54:55 +0000 (21:54 -0000)]
2004-12-27  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* VBCodeCompiler.cs: Added /quiet argument to avoid the "Alpha message"

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

19 years ago- Switched from System.Windows.Forms to Managed.Windows.Forms to build with the manag...
Peter Dennis Bartok [Mon, 27 Dec 2004 21:08:43 +0000 (21:08 -0000)]
- Switched from System.Windows.Forms to Managed.Windows.Forms to build with the managed implementation
by default.

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

19 years ago- Make sure we have an owner before using the owner variable.
Peter Dennis Bartok [Mon, 27 Dec 2004 20:54:40 +0000 (20:54 -0000)]
- Make sure we have an owner before using the owner variable.
  Also, implemented proper default if no owner exists

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

19 years agoZoltan's fixes of SD marshalling in AMD64
Jordi Mas i Hernandez [Mon, 27 Dec 2004 17:31:16 +0000 (17:31 -0000)]
Zoltan's fixes of SD marshalling in AMD64

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

19 years ago- Added System.Windows.Forms.Design/
Peter Dennis Bartok [Mon, 27 Dec 2004 17:31:02 +0000 (17:31 -0000)]
- Added System.Windows.Forms.Design/
- Added several new files to the build file

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

19 years ago- Splitter added
Peter Dennis Bartok [Mon, 27 Dec 2004 17:25:21 +0000 (17:25 -0000)]
- Splitter added
- TextBox added
- Various empty classes added to allow switch to MWF

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

19 years agoComboBox DropDownList and fixes
Jordi Mas i Hernandez [Mon, 27 Dec 2004 15:23:20 +0000 (15:23 -0000)]
ComboBox DropDownList and fixes

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

19 years agoadd the combobox files
Jordi Mas i Hernandez [Mon, 27 Dec 2004 12:11:04 +0000 (12:11 -0000)]
add the combobox files

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

19 years ago2004-12-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 27 Dec 2004 08:31:04 +0000 (08:31 -0000)]
2004-12-27  Martin Baulig  <martin@ximian.com>

* mini.c (mini_get_method): New static method; call
mono_get_method_full() and mono_get_inflated_method().
(mono_method_to_ir): Use mini_get_method() instead of
mono_get_method_full().

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

19 years ago2004-12-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 27 Dec 2004 08:30:14 +0000 (08:30 -0000)]
2004-12-27  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoMethod): Added `is_inflated' flag.
(MonoMethodInflated): Added `inflated' field.

* class.c (mono_class_inflate_generic_method): Don't really
inflate the method here; just set the `is_inflated' flag in the
MonoMethod.
(mono_class_get_inflated_method): Actually inflate the method here
if it's not already inflated; we use the MonoMethodInflated's new
`inflated' field as a cache.

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

19 years ago2004-12-27 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 27 Dec 2004 05:58:29 +0000 (05:58 -0000)]
2004-12-27  Alp Toker <alp@atoker.com>

  * SqlSharpCli.cs: Math and Mono.Math clash. Refer to System.Math directly to
  unbreak the build. Another approach would be to move the using System
  statement within the namespace block. Both have caveats.

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

19 years agoadd this
John Luke [Sun, 26 Dec 2004 21:33:26 +0000 (21:33 -0000)]
add this

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

19 years ago2004-12-24 John Luke <john.luke@gmail.com>
John Luke [Sun, 26 Dec 2004 21:21:50 +0000 (21:21 -0000)]
2004-12-24  John Luke  <john.luke@gmail.com>

        * monop.cs: sort the types when printing an assembly
        handle -r:~/foo.dll by substituting for $HOME
        * TypeSorter.cs: IComparer to sort types by name

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

19 years ago2004-12-26 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 26 Dec 2004 20:31:40 +0000 (20:31 -0000)]
2004-12-26  Ben Maurer  <bmaurer@ximian.com>

* Queue.cs: New, non-linked-list based impl.

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

19 years ago2004-12-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 26 Dec 2004 20:04:05 +0000 (20:04 -0000)]
2004-12-26  Zoltan Varga  <vargaz@freemail.hu>

* SerialPort.cs: Fix build under csc.

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

19 years ago2004-12-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 26 Dec 2004 20:03:27 +0000 (20:03 -0000)]
2004-12-26  Zoltan Varga  <vargaz@freemail.hu>

* System.IO.Ports/ChangeLog: New file.

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

19 years ago2004-12-26 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Sun, 26 Dec 2004 17:13:31 +0000 (17:13 -0000)]
2004-12-26  Daniel Morgan <danielmorgan@verizon.net>

* SqlSharpCli.cs: change formatting style from vs.net default
to mono style, display results better aligned

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

19 years ago2004-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Dec 2004 16:39:07 +0000 (16:39 -0000)]
2004-12-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : ReadElementContentAsBinHex() was calling ..AsBase64().
* XmlValidatingReader.cs : In set_EntityHandling(), set that property
  of DTDValidatingReader.
* XmlNodeReader2.cs,
  XmlNodeReaderImpl.cs : added simplified implementation that splits
  entity handling and anything else.
* XQueryConvert.cs : implemented ShouldCheckValueFacets().
  Use Convert class instead of simple casts (check range).
* XmlReaderSettings.cs : added SetSchemas() for XPathNavigator.

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

19 years ago2004-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Dec 2004 16:37:59 +0000 (16:37 -0000)]
2004-12-26  Atsushi Enomoto  <atsushi@ximian.com>

* XPathNavigator.cs : Added CheckValidity() and ValueType.
  For SetTypedValue(), throw NotSupportedException instead of
  NotImplementedException.

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

19 years ago2004-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Dec 2004 16:37:32 +0000 (16:37 -0000)]
2004-12-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaSet.cs : added Remove(), RemoveRecursive(), Reprocess().
* XmlValueConverter.cs : implemented almost all the feature.
* XmlSchemaSimpleType.cs : fixed some built-in types.
* XmlSchemaType.cs : added ValueConverter property.

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

19 years agoComboBox work
Jordi Mas i Hernandez [Sun, 26 Dec 2004 16:32:22 +0000 (16:32 -0000)]
ComboBox work

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

19 years ago2004-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Dec 2004 16:26:30 +0000 (16:26 -0000)]
2004-12-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : XmlResolver.ResolveUri() may return null.

* XmlParserContext.cs : all the string properties must not be set as
  null. Thanks to Joshua.
* XmlTextReader.cs,
  DTDObjectModel.cs,
  DTDReader.cs : XmlResolver.ResolveUri() may return null.

* XsdValidatingReader.cs : XmlResolver.ResolveUri() may return null.

* XslFunction.cs,
  Compiler.cs : XmlResolver.ResolveUri() may return null.

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

19 years ago2004-12-26 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Sun, 26 Dec 2004 15:18:31 +0000 (15:18 -0000)]
2004-12-26  Patrik Torstensson  <patrik.torstensson@gmail.com>

* mini-x86.c (atomic ops): fixed bug interlocked bug #70784.

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

19 years ago2004-12-26 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Sun, 26 Dec 2004 15:14:15 +0000 (15:14 -0000)]
2004-12-26  Patrik Torstensson  <patrik.torstensson@gmail.com>

* interlocked.cs: added reg test for bug 70784

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

19 years ago2004-12-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 26 Dec 2004 13:07:18 +0000 (13:07 -0000)]
2004-12-26  Martin Baulig  <martin@ximian.com>

* class.c
(inflate_generic_class): Moved some code out of inflate_generic_type().
(mono_class_inflate_generic_method): If we're already inflated,
inflate the context and use the declaring method; ie. make sure
the declaring method of an inflated method is always the generic
method definition.
(mono_class_create_from_typedef): Create
`class->generic_container->context->gclass'.

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

19 years ago2004-12-25 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 25 Dec 2004 20:12:07 +0000 (20:12 -0000)]
2004-12-25  Ben Maurer  <bmaurer@ximian.com>

* monop.cs, outline.cs, monop-completion.sh: Add MIT/X11 License.

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

19 years ago2004-12-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 25 Dec 2004 16:17:28 +0000 (16:17 -0000)]
2004-12-25  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg (ldind_to_load_membase): Handle CEE_LDIND_I8.

* inssel-amd64.brg: Add some optimization rules.

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

19 years ago * metadata-internals.h, marshal.c, reflection.c: More
Ben Maurer [Fri, 24 Dec 2004 22:21:09 +0000 (22:21 -0000)]
* metadata-internals.h, marshal.c, reflection.c: More
MonoGHashTable->GHashTable.

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

19 years ago2004-12-24 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 24 Dec 2004 19:52:08 +0000 (19:52 -0000)]
2004-12-24  Ben Maurer  <bmaurer@ximian.com>

* domain-internals.h, class.c: Change MonoGHashTable's into
GHashTables for some cases where no gc stuff is used

All users: update apis

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

19 years ago2004-12-24 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 24 Dec 2004 18:26:02 +0000 (18:26 -0000)]
2004-12-24  Ben Maurer  <bmaurer@ximian.com>

* aot.c: Remove the use of MonoGHashTable and other GC stuff. The
standard not GC'd stuff is fine.

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

19 years ago2004-12-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 24 Dec 2004 01:20:04 +0000 (01:20 -0000)]
2004-12-24  Zoltan Varga  <vargaz@freemail.hu>

* aot.c: Rework the AOT file format to get rid of most of the global
symbols. This reduces the size of the mscorlib.dll.so by 1MB.

* mini.h: Bump AOT file format version.

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

19 years ago- Fixed visible property behaviour
Peter Dennis Bartok [Thu, 23 Dec 2004 22:10:29 +0000 (22:10 -0000)]
- Fixed visible property behaviour

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

19 years agoThu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 23 Dec 2004 19:59:37 +0000 (19:59 -0000)]
Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>

* serial.c: remove mono calls from here: they break the build
and they don't belong here.

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

19 years ago2004-12-23 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 23 Dec 2004 16:56:44 +0000 (16:56 -0000)]
2004-12-23  Ben Maurer  <bmaurer@ximian.com>
* io.c (io_ops): make this `const' so it is shareable (well, only
really shareable if it is statically linked...)

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

19 years ago2004-12-23 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 23 Dec 2004 16:53:20 +0000 (16:53 -0000)]
2004-12-23  Ben Maurer  <bmaurer@ximian.com>
* strtod.c: add `cosnt' to some arrays to get them on shareable pages.

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

19 years ago2004-12-23 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 23 Dec 2004 16:48:17 +0000 (16:48 -0000)]
2004-12-23  Ben Maurer  <bmaurer@ximian.com>

* metadata.c (builtin_types): Make this `const'. Makes this get
put into the shareable section.
(mono_metadata_init): Casts to make gcc happy.

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

19 years ago2004-12-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Dec 2004 16:26:13 +0000 (16:26 -0000)]
2004-12-23  Zoltan Varga  <vargaz@freemail.hu>

* cpu-pentium.md: Increase the maximum size of some instructions which
might involve a got access.

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