mono.git
19 years ago2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 3 Jun 2005 09:09:38 +0000 (09:09 -0000)]
2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: column text editing
* DataGridTableStyle.cs: Respect columns styles created by the user
* DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
* DataGridBoolColumn.cs: bool column editing
* DataGrid.cs: fixes to scrolling, properties, etc
* DataGridTextBox.cs: handle keyboard
* DataGridColumnStyle.cs: fixes

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

19 years ago * ImageListStreamer.cs: Somewhat broken implementation of
Jackson Harper [Fri, 3 Jun 2005 08:49:58 +0000 (08:49 -0000)]
* ImageListStreamer.cs: Somewhat broken implementation of
GetObjectData. The RLE needs some work to match MS properly.

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

19 years ago2005-06-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Jun 2005 05:52:04 +0000 (05:52 -0000)]
2005-06-03  Martin Baulig  <martin@ximian.com>

* Makefile: Disable test-183; someone broke it.

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

19 years agoSomeone fix this.
Martin Baulig [Fri, 3 Jun 2005 05:35:06 +0000 (05:35 -0000)]
Someone fix this.

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

19 years ago2005-06-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Jun 2005 05:30:46 +0000 (05:30 -0000)]
2005-06-03  Martin Baulig  <martin@ximian.com>

* CharEnumerator.cs: Reverting Ben's latest change (r45312/45313)
for the moment since it breaks the build; see #75136.

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

19 years ago * X11Dnd.cs: Attempting to keep at least one file in MWF
Jackson Harper [Fri, 3 Jun 2005 04:34:54 +0000 (04:34 -0000)]
    * X11Dnd.cs: Attempting to keep at least one file in MWF
        monostyled.

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

19 years ago2005-06-02 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Jun 2005 04:01:31 +0000 (04:01 -0000)]
2005-06-02  Peter Bartok  <pbartok@novell.com>

* X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  that way

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

19 years ago- flush
Peter Dennis Bartok [Fri, 3 Jun 2005 03:32:26 +0000 (03:32 -0000)]
- flush

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

19 years ago2005-06-02 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Jun 2005 03:10:21 +0000 (03:10 -0000)]
2005-06-02  Peter Bartok  <pbartok@novell.com>

* Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
* XplatUI.cs: Added DoDragDrop() method
* XplatUIDriver.cs: Added DoDragDrop() method

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

19 years ago* System.Windows.Forms.dll.sources: Add X11Dnd.cs
Jackson Harper [Fri, 3 Jun 2005 02:10:14 +0000 (02:10 -0000)]
* System.Windows.Forms.dll.sources: Add X11Dnd.cs

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

19 years ago * Splitter.cs: Implement BorderStyle.
Jackson Harper [Fri, 3 Jun 2005 01:51:34 +0000 (01:51 -0000)]
    * Splitter.cs: Implement BorderStyle.

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

19 years ago XplatUIX11.cs: Tie into the X11Dnd subsystem.
Jackson Harper [Thu, 2 Jun 2005 23:41:14 +0000 (23:41 -0000)]
    XplatUIX11.cs: Tie into the X11Dnd subsystem.
        * X11Dnd.cs: New file. A subsystem that handles drag and drop on
        X11 using XDND.

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

19 years ago2005-06-02 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 2 Jun 2005 22:12:49 +0000 (22:12 -0000)]
2005-06-02  Peter Bartok  <pbartok@novell.com>

* DataObject.cs:
  - Added Data setter
  - Fixed broken insertion code for SetData, now also
    overwrites any existing entry of the same format name
* Hwnd.cs: Added list of pointers that automatically gets
  freed when the window is disposed
* XplatUI.cs: Call driver initialization method when loading
  a driver
* Control.cs:
  - OnDragLeave takes EventArgs, not DragEventArgs
  - Added setting of WS_EX_ACCEPTFILES style when dropping is
    supported
  - Forces style update when drop state changes
* XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  not perfect since we cannot (yet) call the IDataObject.GetData()
  method, we keep getting 0x80004005 error, dunno why)

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

19 years ago2005-06-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Jun 2005 20:37:32 +0000 (20:37 -0000)]
2005-06-02  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilder.cs (SetCustomAttribute): Handle the case when the
calling convention inside the DllImportAttribute is empty.

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

19 years ago2005-06-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Jun 2005 20:36:13 +0000 (20:36 -0000)]
2005-06-02  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_get_method_info): Fix the case when the
charset is empty.

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

19 years ago2005-06-02 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 2 Jun 2005 20:28:23 +0000 (20:28 -0000)]
2005-06-02  Peter Bartok  <pbartok@novell.com>

* DragEventArgs.cs: Make fields internal so we can cache the
  object and re-set the fields from XplatUI

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

19 years ago * StdioFileStream.cs: Remove FilePosition property & replace with
Jonathan Pryor [Thu, 2 Jun 2005 19:37:27 +0000 (19:37 -0000)]
  * StdioFileStream.cs: Remove FilePosition property & replace with
    SaveFilePosition/RestoreFilePosition methods.  Since FilePosition has a
    finalizer, it's not right to have implicitly created instances.
  * Stdlib.cs:
    - FilePosition: GC.SuppressFinalize() should be last in Dispose()
      (following .NET guidelines).
    - Syscall: Add locking around functions most likely to be thread unsafe.
      This should provide some level of thread-safety to managed code.
  * Syscall.cs: Add locking around functions most likely to be thread unsafe;
    add mkstemp(3) export.
  * UnixEnvironment.cs: GetUserShells should be atomic (from managed code).
  * UnixGroup.cs: GetLocalGroups should be atomic (from managed code).
  * UnixGroupInfo.cs: Add ToGroup() method to retrieve underlying Group info.
  * UnixUser.cs: GetLocalUsers should be atomic (from managed code).
  * UnixUserInfo.cs: Add ToPasswd () method to retrieve underlying Passwd info.
  * UnixDriveInfo.cs: GetDrives should be atomic (from managed code).

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

19 years ago * Control.cs: Add some internal methods so the DnD subsystem can
Jackson Harper [Thu, 2 Jun 2005 18:48:16 +0000 (18:48 -0000)]
    * Control.cs: Add some internal methods so the DnD subsystem can
        raise DnD events. Also call into the driver when AllowDrop is
set.
        * XplatUI.cs:
        * XplatUIDriver.cs: New method for setting whether or not a
        * window
        is allowed to accept drag and drop messages.

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

19 years ago2005-06-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 2 Jun 2005 16:53:33 +0000 (16:53 -0000)]
2005-06-02  Lluis Sanchez Gual  <lluis@novell.com>

* object.c: Added missing null check in
  mono_method_return_message_restore.

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

19 years agoi need a cold shower
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 16:15:10 +0000 (16:15 -0000)]
i need a cold shower

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 15:56:10 +0000 (15:56 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TypeTest.cs: new test for null in Type [] for GetConstructor().

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

19 years agowrong bug number
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 15:51:38 +0000 (15:51 -0000)]
wrong bug number

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 15:49:09 +0000 (15:49 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Type.cs: reverted wrong fix for bug #73100 in r45150. This makes SSL
support in System.Net work again.

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

19 years ago2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jun 2005 14:06:37 +0000 (14:06 -0000)]
2005-06-02  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaConstants.cs,
  XmlSchemaDataImporter.cs,
  XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
  George Barbarosie. Fixed bug #75121.
* XmlSchemaMapper.cs : it is not used anymore, so just removed.

* DataSetReadXmlSchemaTest.cs : testcase for bug #75121.

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

19 years ago2005-06-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Jun 2005 14:00:50 +0000 (14:00 -0000)]
2005-06-02  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_get_method_info): Handle the case when
dllentry is empty.

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

19 years ago2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jun 2005 11:41:00 +0000 (11:41 -0000)]
2005-06-02  Atsushi Enomoto <atsushi@ximian.com>

* XmlEntityReference.cs, XmlNode.cs : For entity references, BaseURI
  resolution should be different from that of parent since they might
  differ. Patch by Andrew Skiba.

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

19 years agoworkaround cygwin ambiguity
Andrew Skiba [Thu, 2 Jun 2005 11:29:03 +0000 (11:29 -0000)]
workaround cygwin ambiguity

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

19 years agoFix #75080, cs0119.cs.
Raja R Harinath [Thu, 2 Jun 2005 11:05:41 +0000 (11:05 -0000)]
Fix #75080, cs0119.cs.
* mcs/ecore.cs (Expression.ExprClassToResolveFlags): New.  Broken out of ...
(Expression.Resolve): ... this.  Use it.  Remove bogus code
allowing ExprClass.Type and ExprClass.Namespace for
ResolveFlags.VariableOrValue.
(Expression.Resolve) [1-argument variant]: Change default resolve
flags based on language version.
(Expression.Error_UnexpectedKind): Use a simple string array
rather than an ArrayList.
* mcs/expression.cs (TypeOf.DoResolve): Set eclass to ExprClass.Value,
not ExprClass.Type.
(TypeOfVoid.DoResolve): Likewise.
(MemberAccess.DoResolve) [3-argument variant]: Make private.  Drop
flags argument -- it always has the same value.
* errors/cs0119-2.cs: New test from #75080.

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

19 years ago2005-06-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 2 Jun 2005 10:12:56 +0000 (10:12 -0000)]
2005-06-02  Lluis Sanchez Gual  <lluis@novell.com>

* object.c: When creating the vtable for a proxy, take into account
all inherited interfaces, not only the ones registered in
iclass->interfaces. This fixs bug #74996.
Also, in mono_method_return_message_restore, verify that the array
of out args has the expected lengh.

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 07:48:30 +0000 (07:48 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* socket-io.c: update the timeout in Poll when the call is interrupte.

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 07:42:46 +0000 (07:42 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* socket-io.c: support abort/suspend in Select_internal after last
change.

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 07:30:40 +0000 (07:30 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpUtility.cs: modified HtmlDecode so that it does not need to call
Int32.Parse and handles improper &# sequences. Fixes bug #74907.

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

19 years agoremove
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 06:20:23 +0000 (06:20 -0000)]
remove

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 05:33:31 +0000 (05:33 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: remove warning.

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

19 years ago2005-06-01 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 2 Jun 2005 02:04:50 +0000 (02:04 -0000)]
2005-06-01  Ben Maurer  <bmaurer@ximian.com>

* mono-api-info.cs: Hack to support generics better

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

19 years agoDUH
Ben Maurer [Thu, 2 Jun 2005 01:52:52 +0000 (01:52 -0000)]
DUH

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

19 years ago2005-06-01 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 1 Jun 2005 22:31:39 +0000 (22:31 -0000)]
2005-06-01  Ben Maurer  <bmaurer@ximian.com>

* CharEnumerator.cs: add IEnumerable <char> support

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

19 years ago2005-06-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 1 Jun 2005 19:37:12 +0000 (19:37 -0000)]
2005-06-01  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilder.cs (SetCustomAttribute): Handle DllImportAttribute
as well.

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

19 years ago2005-06-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 1 Jun 2005 19:36:34 +0000 (19:36 -0000)]
2005-06-01  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeBuilder.cs: Add a decode_cattr helper method.

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

19 years ago2005-06-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Jun 2005 18:52:56 +0000 (18:52 -0000)]
2005-06-01  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionBuilder.cs: Removed unification stuff. This is done at a
lower level.
* SecurityManager.cs: Split loading PolicyLevel in two phases. The
PolicyHierarchy is now available after phase 1 which ensures we can
load permission from outside corlib.

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

19 years ago2005-06-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Jun 2005 18:52:46 +0000 (18:52 -0000)]
2005-06-01  Sebastien Pouliot  <sebastien@ximian.com>

* DefaultPolicies.cs: Added a method to create the default FullTrust
assemblies in the policy configuration files.
* PolicyLevel.cs: Splitted loading/initializing of PolicyLevel so it's
now possible to load permissions outside corlib when resolving a
policy. However FullTrustAssemblies is still ignored at this stage.

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

19 years ago2005-06-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 1 Jun 2005 15:49:33 +0000 (15:49 -0000)]
2005-06-01  Lluis Sanchez Gual  <lluis@novell.com>

* TransportHeaders.cs: This collection turns out to be case insensitive
AND culture insensitive.

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

19 years ago2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Jun 2005 14:10:17 +0000 (14:10 -0000)]
2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c:
* socket-io.[ch]: Select_internal uses poll() now when available, thus
removing the 1024 limit from select(). Runtime part of the fix for
bug #71203.

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

19 years ago2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Jun 2005 14:10:13 +0000 (14:10 -0000)]
2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: adapted Select to the new Select_internal that uses poll()
instead of select(). Managed part of the fix for bug #71203.

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

19 years ago2005-06-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Jun 2005 12:30:57 +0000 (12:30 -0000)]
2005-06-01  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryServicesPermissionTest.cs: IsSubset(null) has a different
result in 2.0 compared to 1.x.

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

19 years agoTODO list
Andrew Skiba [Wed, 1 Jun 2005 12:23:45 +0000 (12:23 -0000)]
TODO list

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

19 years agotouch the catalog to avoid unnecessary unzip operation
Andrew Skiba [Wed, 1 Jun 2005 12:07:15 +0000 (12:07 -0000)]
touch the catalog to avoid unnecessary unzip operation

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

19 years agolist of failures for _current_ GH and mono
Andrew Skiba [Wed, 1 Jun 2005 12:06:14 +0000 (12:06 -0000)]
list of failures for _current_ GH and mono

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

19 years ago2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 1 Jun 2005 09:46:54 +0000 (09:46 -0000)]
2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>

* ScrollBar.cs: Make sure that values sent in Scroll events
are always between Maximum and Minimum.

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

19 years ago2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Jun 2005 09:06:08 +0000 (09:06 -0000)]
2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
the build.

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

19 years ago2005-06-01 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 1 Jun 2005 08:29:39 +0000 (08:29 -0000)]
2005-06-01  Sureshkumar T  <tsureshkumar@novell.com>

* SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
framework type to pass to TDS layer. Fixes bug #75044.

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

19 years agotestsuite is ready for use
Andrew Skiba [Wed, 1 Jun 2005 08:12:24 +0000 (08:12 -0000)]
testsuite is ready for use

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

19 years ago* mono-service.cs (MonoServiceRunner.Main): Replace LockFlags with
Raja R Harinath [Wed, 1 Jun 2005 07:55:04 +0000 (07:55 -0000)]
* mono-service.cs (MonoServiceRunner.Main): Replace LockFlags with
LockfCommand to reflect the rename in Mono.Posix.dll.

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

19 years ago2005-06-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 1 Jun 2005 07:34:35 +0000 (07:34 -0000)]
2005-06-01  Marek Safar  <marek.safar@seznam.cz>

* Menu.cs: Call MenuChanged when menuitem visibility has been
changed.
* MenuItem.cs: Rebuild menu when item is (not) visible.
* MainMenu.cs: MainMenu has special MenuChanged.
* Theme.cs: Caption and FrameBorderSize are not fixed.
* XplatUI.cs: Added CaptionHeight,FrameBorderSize.
* XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
* XplatUIX11.cs,
* XplatUIOSX: Caption and FrameBorderSize not implemented yet.
* XplatUIWin32.cs: Get Caption and FrameBorderSize from system.

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

19 years ago2005-06-01 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 1 Jun 2005 04:33:12 +0000 (04:33 -0000)]
2005-06-01  Sureshkumar T  <tsureshkumar@novell.com>

* Tds50.cs: add a special case for datetime parameters to convert
to invariant culture. fixes bug #74910.

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

19 years ago * Stdlib.cs: Add comment for atexit(3) so I don't try to add it.
Jonathan Pryor [Wed, 1 Jun 2005 00:30:40 +0000 (00:30 -0000)]
* Stdlib.cs: Add comment for atexit(3) so I don't try to add it.
* Syscall.cs: Add fcntl(2) overload which takes DirectoryNotifyFlags (so
  that *something* accepts a DirectoryNotifyFlags); Fix IncludeAttribute
header files (">sys/poll.h" doesn't exist);
  Add additional <sys/mman.h> functions mmap, munmap, msync, mlock, munlock,
  mlockall, munlockall, mremap, mincore, remap_file_pages.
* UnixConvert.cs: Add conversion functions for MmapFlags, MmapProt, MsyncFlags,
  MlockallFlags, MremapFlags.

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

19 years ago * sys-mman.c: Add wrappers for mmap, munmap, mprotect, msync, mlock,
Jonathan Pryor [Wed, 1 Jun 2005 00:23:52 +0000 (00:23 -0000)]
* sys-mman.c: Add wrappers for mmap, munmap, mprotect, msync, mlock,
  munlock, mremap, mincore, remap_file_pages.
* map-icalls.h: Update to latest shared interface.
* map.c, map.h: Add {To,From} pairs for MmapFlags, MmapProt, MsyncFlags,
  MlockallFlags, MremapFlags.
* mph.h: Add mph_return_*_if_ssize_t_overflow macros.

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

19 years ago * unistd.c: Oops -- deal with s/LockFlags/LockfCommand/ change.
Jonathan Pryor [Wed, 1 Jun 2005 00:19:54 +0000 (00:19 -0000)]
* unistd.c: Oops -- deal with s/LockFlags/LockfCommand/ change.

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

19 years agoFlush (oops).
Jonathan Pryor [Tue, 31 May 2005 23:26:49 +0000 (23:26 -0000)]
Flush (oops).

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

19 years agoFlush (oops).
Jonathan Pryor [Tue, 31 May 2005 23:26:17 +0000 (23:26 -0000)]
Flush (oops).

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

19 years ago * map.h, map.c, map-icalls.h: Rename LockFlags to LockfCommand.
Jonathan Pryor [Tue, 31 May 2005 23:24:31 +0000 (23:24 -0000)]
* map.h, map.c, map-icalls.h: Rename LockFlags to LockfCommand.

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

19 years ago * Syscall.cs, UnixConvert.cs: Rename LockFlags to LockfCommand. This is a more
Jonathan Pryor [Tue, 31 May 2005 23:23:49 +0000 (23:23 -0000)]
* Syscall.cs, UnixConvert.cs: Rename LockFlags to LockfCommand.  This is a more
  consistent naming, and it's more correct (they weren't flags in the first place).

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

19 years ago2005-05-31 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 31 May 2005 20:05:51 +0000 (20:05 -0000)]
2005-05-31  Lluis Sanchez Gual  <lluis@novell.com>

* TcpServerTransportSink.cs: Remove the channel uri from the
received uri.

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

19 years ago2005-05-31 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 31 May 2005 20:04:47 +0000 (20:04 -0000)]
2005-05-31  Lluis Sanchez Gual  <lluis@novell.com>

* TransportHeaders.cs: This collection turns out to be case insensitive.

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

19 years ago2005-05-31 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 31 May 2005 20:04:21 +0000 (20:04 -0000)]
2005-05-31  Lluis Sanchez Gual  <lluis@novell.com>

* ReturnMessage.cs: Added some null checks.
* MethodReturnMessageWrapper.cs: Added some null checks. Fixed
incorrect cast in the constructor.

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

19 years ago2005-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 31 May 2005 19:18:32 +0000 (19:18 -0000)]
2005-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Win32Exception.cs: add 10049 WSAEADDRNOTAVAIL. Fixes bug #75106.

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

19 years agoRemove __SECURITY_BOOTSTRAP_DB from Makefile as this cause errors with CSC if/when...
Sebastien Pouliot [Tue, 31 May 2005 17:34:53 +0000 (17:34 -0000)]
Remove __SECURITY_BOOTSTRAP_DB from Makefile as this cause errors with CSC if/when we add permissions

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

19 years ago * tools/Makefile (SUBDIRS): Add mono-shlib-cop to the build.
Jonathan Pryor [Tue, 31 May 2005 15:37:58 +0000 (15:37 -0000)]
  * tools/Makefile (SUBDIRS): Add mono-shlib-cop to the build.
  * tools/mono-shlib-cop: Added.
  * tools/mono-shlib-cop/ChangeLog: Added.
  * tools/mono-shlib-cop/mono-shlib-cop.exe.sources: Added.
  * tools/mono-shlib-cop/mono-shlib-cop.cs: Added.
  * tools/mono-shlib-cop/Makefile: Added.
  * tools/mono-shlib-cop/README: Added.

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

19 years ago2005-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 31 May 2005 13:37:32 +0000 (13:37 -0000)]
2005-05-31  Atsushi Enomoto <atsushi@ximian.com>

* DTDReader.cs :
  make sure to close parser input before parser stack pop.
* DTDValidatingReader.cs : ditto.
* DTDObjectModel.cs : Fixed another incorrect null BaseURI check.

* XmlValidatingReaderTests.cs : let's test external DTD as well.

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

19 years ago2005-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 31 May 2005 13:08:00 +0000 (13:08 -0000)]
2005-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDsigC14NWithCommentsTransformTest.cs : added File.Delete()
  sanity check on CleanUp().

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

19 years agoDataRow.cs : SetParentRow on Detached row with no Default version throws an exception...
Boris Kirzner [Tue, 31 May 2005 12:01:30 +0000 (12:01 -0000)]
DataRow.cs : SetParentRow on Detached row with no Default version throws an exception. Added RowNotInTableException_Generate.cs test

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

19 years ago2005-05-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 May 2005 11:56:25 +0000 (11:56 -0000)]
2005-05-31  Sebastien Pouliot  <sebastien@ximian.com>

* ServiceControllerPermission.cs: Accept empty service name before 2.0

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

19 years ago2005-05-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 May 2005 11:54:37 +0000 (11:54 -0000)]
2005-05-31  Sebastien Pouliot  <sebastien@ximian.com>

* ServiceControllerPermissionAttributeTest.cs: Character #133 isn't
valid in machine names for 2.0. An empt service name is acceptable
before 2.0.
* ServiceControllerPermissionTest.cs: 2.0 has better parameters
checking (since FDBK15131 was fixed).

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

19 years ago2005-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 31 May 2005 11:41:54 +0000 (11:41 -0000)]
2005-05-31  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs : Last BaseURI exposed this hidden bug via
  sys.security tests.

* XmlValidatingReaderTests.cs : added ResolveEntityAndBaseURI() which
  is imported from sys.security.

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

19 years ago2005-05-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 May 2005 11:19:51 +0000 (11:19 -0000)]
2005-05-31  Sebastien Pouliot  <sebastien@ximian.com>

* PerformanceCounterPermissionEntry.cs: Added more 2.0 validations for
machine names and PerformanceCounterPermissionAccess.

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

19 years ago2005-05-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 May 2005 11:18:16 +0000 (11:18 -0000)]
2005-05-31  Sebastien Pouliot  <sebastien@ximian.com>

* ResourcePermissionBaseTest.cs: Fx 2.0 now has better arguments
checking (i.e. FDBK15131 was fixed).

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

19 years ago2005-05-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 May 2005 11:16:20 +0000 (11:16 -0000)]
2005-05-31  Sebastien Pouliot  <sebastien@ximian.com>

* EventLogPermissionAttributeTest.cs: Character #133 is refused into
machine names for 2.0.
* EventLogPermissionTest.csFx 2.0 now has better arguments checking
(i.e. FDBK15131 was fixed).
* PerformanceCounterPermissionAttributeTest.cs
* PerformanceCounterPermissionTest.cs: Fx 2.0 now has better arguments
checking (i.e. FDBK15131 was fixed).

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

19 years ago2005-05-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 May 2005 11:12:55 +0000 (11:12 -0000)]
2005-05-31  Sebastien Pouliot  <sebastien@ximian.com>

* ResourcePermissionBase.cs: Added more parameter checking for 2.0
* PermissionHelper.cs: Identity permissions can be unrestricted in 2.0

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

19 years ago2005-05-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 May 2005 10:59:45 +0000 (10:59 -0000)]
2005-05-31  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryServicesPermissionTest.cs: Fx 2.0 now has better arguments
checking (i.e. FDBK15131 was fixed).

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

19 years agoFix #75081.
Raja R Harinath [Tue, 31 May 2005 10:38:38 +0000 (10:38 -0000)]
Fix #75081.
* ecore.cs (Expression.ResolveLValue): Add a Location parameter.
Use it in the error message.
* assign.cs, expression.cs, statement.cs: Update.

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

19 years ago* cs1589.cs, cs1590.cs, cs1590-2.cs, cs1590-3.cs, cs1592.cs:
Raja R Harinath [Tue, 31 May 2005 10:03:10 +0000 (10:03 -0000)]
* cs1589.cs, cs1590.cs, cs1590-2.cs, cs1590-3.cs, cs1592.cs:
Output to 'dummy.xml'.

Also changed svn:ignore to only ignore 'dummy.xml' rather than '*.xml'.

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

19 years ago2005-05-31 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 31 May 2005 10:01:08 +0000 (10:01 -0000)]
2005-05-31  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcParameter.cs: setBuffer (): for numeric type, the buffer
parameter should be a packed decimal struct. fixes bug #75041.

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

19 years ago2005-05-31 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 31 May 2005 08:30:34 +0000 (08:30 -0000)]
2005-05-31  Lluis Sanchez Gual  <lluis@novell.com>

* TcpServerChannel.cs: Use IP address in object uris by default.
Fixes bug #54234. Removed unused field.
* TcpClientTransportSink.cs: Fix warning.

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

19 years ago DataFormat.cs: We can't statically initialize this stuff because
Jackson Harper [Tue, 31 May 2005 05:01:15 +0000 (05:01 -0000)]
    DataFormat.cs: We can't statically initialize this stuff because
        it calls into the xplatui and could create a loop. So we lazy
init
        it.

M    ChangeLog
M    DataFormats.cs

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

19 years ago2005-05-31 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Tue, 31 May 2005 04:30:20 +0000 (04:30 -0000)]
2005-05-31  Cesar Lopez Nataren  <cnataren@novell.com>

* SemanticAnalizer.cs: Add the global, non-constructable RegExp
constructor object to obj_ctrs so we can type-check its property
access as well as fixing the break showed at #74681 now the raise
the proper error code. Renamed method object_contains_method to
object_contains, and now we filter on instance members too.
* expression.cs: use new API from SemanticAnalizer.

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

19 years ago2005-05-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 30 May 2005 21:47:45 +0000 (21:47 -0000)]
2005-05-31  Zoltan Varga  <vargaz@freemail.hu>

* mini-ia64.c: Ongoing IA64 work.

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

19 years ago2005-05-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 30 May 2005 20:19:57 +0000 (20:19 -0000)]
2005-05-30  Zoltan Varga  <vargaz@freemail.hu>

* atomic.h: Add IA64 atomic ops.

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

19 years ago2005-05-30 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 30 May 2005 19:58:22 +0000 (19:58 -0000)]
2005-05-30  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: Don't show static constructors: they are cctors,
which are uninteresting.

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

19 years agothis is a static buffer now
Gonzalo Paniagua Javier [Mon, 30 May 2005 19:13:40 +0000 (19:13 -0000)]
this is a static buffer now

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

19 years ago2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 30 May 2005 18:52:01 +0000 (18:52 -0000)]
2005-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* corlib_test.dll.sources: Added (re-added?) the System.Activator unit
tests.

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

19 years ago2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 30 May 2005 18:50:25 +0000 (18:50 -0000)]
2005-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSetTest.cs: Added unification tests for permissions inside
an ECMA signed assembly.

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

19 years ago2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 30 May 2005 18:49:01 +0000 (18:49 -0000)]
2005-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* ActivatorTest.cs: Updated current tests (which weren't executed
since ...) and added more to test exceptions and unification.

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

19 years ago2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 30 May 2005 18:48:24 +0000 (18:48 -0000)]
2005-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* Activator.cs: Added missing validation on parameters.

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

19 years ago2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 30 May 2005 18:47:17 +0000 (18:47 -0000)]
2005-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* PrintingPermissionTest.cs: Added tests for unification as this
assembly is signed by the "MS final" key (not the ECMA key).

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

19 years ago2005-05-30 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 30 May 2005 17:38:15 +0000 (17:38 -0000)]
2005-05-30  Ben Maurer  <bmaurer@ximian.com>

* Syscall.cs (UnixEpoch): The DateTime for the start of the epoch
may not have the same offset from GMT as does the result of
addition. Therefore, do not convert the static reference point,
rather convert the date we generate. Fixes bug 74266. Patch from
fabrice@bellet.info (Fabrice Bellet).

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

19 years ago2005-05-30 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 30 May 2005 16:48:54 +0000 (16:48 -0000)]
2005-05-30  Cesar Lopez Nataren  <cnataren@novell.com>

* Literal.cs: (RegExpLiteral.Emit): Take care of attributes. "g" is
global, "i" is case-insensitive and "m" is multi-line.

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

19 years ago"no regression" policy support
Andrew Skiba [Mon, 30 May 2005 16:22:15 +0000 (16:22 -0000)]
"no regression" policy support

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

19 years ago2005-05-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 30 May 2005 14:09:48 +0000 (14:09 -0000)]
2005-05-30  Zoltan Varga  <vargaz@freemail.hu>

* ia64/codegen.c: Fix it after latest changes.

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

19 years agoAdded copyright info to TARGET_JVM code base
Boris Kirzner [Mon, 30 May 2005 11:55:41 +0000 (11:55 -0000)]
Added copyright info to TARGET_JVM code base

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

19 years agoIn mcs:
Raja R Harinath [Mon, 30 May 2005 10:38:32 +0000 (10:38 -0000)]
In mcs:
Fix #75088.
* ecore.cs (Expression.MemberLookupFailed): Add CS0122 check in
the "almostMatchedMember" case too.
* typemanager.cs (Closure.CheckValidFamilyAccess): Add anything
that failed the accessibility checks to 'almost_match'.

In errors:
* cs0122-16.cs: New test from #75088.

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