Marek Safar [Thu, 3 Nov 2005 15:48:50 +0000 (15:48 -0000)]
2005-11-03 Marek Safar <marek.safar@seznam.cz>
Fix #76599.
* expression.cs (ElementAccess.DoResolveLValue): Fixed buffer
access has to be fixed.
* typemanager.cs (IsUnmanagedType): Wrong common field type.
svn path=/trunk/mcs/; revision=52512
Marek Safar [Thu, 3 Nov 2005 15:33:08 +0000 (15:33 -0000)]
fixed text
svn path=/trunk/mcs/; revision=52510
Jonathan Pryor [Thu, 3 Nov 2005 12:14:52 +0000 (12:14 -0000)]
* FileTypes.cs, UnixFileSystemInfo.cs: s/FIFO/Fifo/ to follow .NET
naming conventions (as reported by FxCop).
svn path=/trunk/mcs/; revision=52509
Atsushi Eno [Thu, 3 Nov 2005 12:14:34 +0000 (12:14 -0000)]
2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
* marshal.c, icall.c : reverted sig->pinvoke changes which broke
Windows build (r51396-51397).
* mini.c : reverted sig->pinvoke changes (r51396-51397).
svn path=/trunk/mono/; revision=52508
Kornél Pál [Thu, 3 Nov 2005 12:09:54 +0000 (12:09 -0000)]
Consts.cs.in: Added VsFileVersion that is used by assemblies.
svn path=/trunk/mcs/; revision=52507
Konstantin Triger [Thu, 3 Nov 2005 11:19:37 +0000 (11:19 -0000)]
fixes to work with IBM GSSAPI
svn path=/trunk/mcs/; revision=52506
Peter Dennis Bartok [Thu, 3 Nov 2005 11:13:29 +0000 (11:13 -0000)]
2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- Added CaretSelection enum
- Added comparison methods to Marker struct, makes selection code
more readable
- Added SelectionStart and SelectionEnd as 'moveable' location for
the CaretDirection enum and handler
- Added selection_prev variable to track optimized invalidation for
word and line selection
- Added SelectionVisible property (returns true if there is a valid
selection)
- Switched CaretHasFocus to only display the caret if there is no
visible selection
- Avoiding StringBuilder.ToString to retrieve a single char, instead
using the direct character index; should be much faster
- Added various conditional debug statements
- Fixed invalidation calculation for selection ranges
- Added ExpandSelection() method to support word and line selection
- Switched SetSelectionToCaret to use new Marker compare overloads
- Added central IsWordSeparator() method to determine word
separators/whitespace and FindWordSeparator() to streamline common
usage of IsWordSeparator()
* TextBoxBase.cs:
- Removed unneeded grabbed variable, it was just mirroring
Control.Capture
- No longer firing OnTextChanged event when Text setter is called,
since the base will fire the event for us
- Added handling of Ctrl-Up/Down selection
- Added handling of Shift-Cursorkey selection
- Added handling for Ctrl-Delete and Ctrl-Backspace to remove
words
- Added handling of Shift and Ctrl-Shift-Home/End selection
- Removed some debug output
- Added handling for single/double/tripple-click to place caret/
select word/select line respectively (Fixes bug #76031)
- Added support for drag expansion of word/line selection
* RichTextBox.cs: Handle GotFocus event to trigger redrawing of
current selection
svn path=/trunk/mcs/; revision=52505
Konstantin Triger [Thu, 3 Nov 2005 11:12:30 +0000 (11:12 -0000)]
throw an exception if failed
svn path=/trunk/mcs/; revision=52504
Konstantin Triger [Thu, 3 Nov 2005 11:09:40 +0000 (11:09 -0000)]
ifdef the unsupported method
svn path=/trunk/mcs/; revision=52503
Martin Baulig [Thu, 3 Nov 2005 07:35:08 +0000 (07:35 -0000)]
New test for #76581.
svn path=/trunk/mcs/; revision=52502
Martin Baulig [Thu, 3 Nov 2005 07:33:25 +0000 (07:33 -0000)]
2005-11-03 Martin Baulig <martin@ximian.com>
* class.c (mono_class_setup_vtable_general): Also add generic
methods to the vtable; fixes #76581.
svn path=/trunk/mono/; revision=52501
Jackson Harper [Thu, 3 Nov 2005 01:28:36 +0000 (01:28 -0000)]
* X11Dnd.cs: If the drag is going to and from a MWF window just
copy the data instead of sending it out through the X Selection
mechanism.
svn path=/trunk/mcs/; revision=52500
Gonzalo Paniagua Javier [Wed, 2 Nov 2005 23:52:17 +0000 (23:52 -0000)]
2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
redirect or transfer and that causes a TAE to be thrown. Fixes
bug #76573.
svn path=/trunk/mcs/; revision=52499
Kornél Pál [Wed, 2 Nov 2005 23:43:36 +0000 (23:43 -0000)]
Consts.cs.in: Added RuntimeVersion numbers for 1.0 and 1.1 as well.
svn path=/trunk/mcs/; revision=52498
Jackson Harper [Wed, 2 Nov 2005 22:52:01 +0000 (22:52 -0000)]
* X11Dnd.cs:
* XplatUIX11.cs: When in a drag we don't want motion notify
messages to get passed on to the other controls. This prevents
mouse move messages from showing up in the drag source.
svn path=/trunk/mcs/; revision=52496
Jackson Harper [Wed, 2 Nov 2005 22:28:11 +0000 (22:28 -0000)]
* X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
the correct button is release to end a drag.
* XplatUIX11.cs: Make the button state internal so the drag system
can access it. Dragging needs to know about all button releases,
not just left button.
svn path=/trunk/mcs/; revision=52495
Miguel de Icaza [Wed, 2 Nov 2005 22:24:43 +0000 (22:24 -0000)]
2005-11-02 Miguel de Icaza <miguel@novell.com>
* Form.cs (Icon): If the icon is null, reset the icon to the
default value.
svn path=/trunk/mcs/; revision=52494
Jackson Harper [Wed, 2 Nov 2005 22:06:39 +0000 (22:06 -0000)]
* X11Dnd.cs: Remove unneeded call to XAllowEvents.
svn path=/trunk/mcs/; revision=52493
Miguel de Icaza [Wed, 2 Nov 2005 21:53:27 +0000 (21:53 -0000)]
Add test
svn path=/trunk/mcs/; revision=52492
Miguel de Icaza [Wed, 2 Nov 2005 21:47:55 +0000 (21:47 -0000)]
2005-11-02 Miguel de Icaza <miguel@novell.com>
* Cursor.cs: When writing the AND-mask bitmap do not include the
number of colors, but hardcode those to two (black and white),
fixes the loading of color cursors (Paint Dot Net).
* Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
turn off autoscaling.
* Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
svn path=/trunk/mcs/; revision=52491
Atsushi Eno [Wed, 2 Nov 2005 21:18:59 +0000 (21:18 -0000)]
2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
* util.c: actually etc should be $prefix/etc, not $prefix/lib/etc.
svn path=/trunk/mono/; revision=52490
Jackson Harper [Wed, 2 Nov 2005 21:17:21 +0000 (21:17 -0000)]
* X11Dnd.cs: Make sure to send a status message if the pointer
enters a control that can not accept a drop, otherwise the cursor
isn't updated correctly. Also tried to compress the lines of code
a bit.
svn path=/trunk/mcs/; revision=52489
Jackson Harper [Wed, 2 Nov 2005 20:53:46 +0000 (20:53 -0000)]
* X11Dnd.cs: Change cursors based on drag action. Also attempt to
set actions correctly. This isn't perfect as XDND and win32 have
some differences on how you allow actions. I'll clear this up by
adding a path for drag from MWF to MWF windows.
* XplatUIX11.cs: Hook into the dnd system.
svn path=/trunk/mcs/; revision=52488
Chris Toshok [Wed, 2 Nov 2005 17:11:17 +0000 (17:11 -0000)]
2005-11-02 Chris Toshok <toshok@ximian.com>
* System.Web.dll.sources: add
System.Web.Hosting/HostingEnvironment.cs
svn path=/trunk/mcs/; revision=52484
Chris Toshok [Wed, 2 Nov 2005 17:10:07 +0000 (17:10 -0000)]
2005-11-02 Chris Toshok <toshok@ximian.com>
* System.Web.dll.sources: add
System.Web.Hosting/HostingEnvironment.cs
svn path=/trunk/mcs/; revision=52483
Chris Toshok [Wed, 2 Nov 2005 17:09:50 +0000 (17:09 -0000)]
2005-11-02 Chris Toshok <toshok@ximian.com>
* HostingEnvironment.cs: completely NIE'ed implementation of
HostingEnvironment, just to get an MS example provider to compile.
svn path=/trunk/mcs/; revision=52482
Jonathan Pryor [Wed, 2 Nov 2005 16:38:18 +0000 (16:38 -0000)]
* Syscall.cs: Remove [CLSCompliant(false)] when it isn't needed.
svn path=/trunk/mcs/; revision=52481
Jonathan Pryor [Wed, 2 Nov 2005 16:30:02 +0000 (16:30 -0000)]
* UnixServerChannel.cs: Use Mono.Unix.Native.Syscall. Mono.Unix.Syscall is
obsolete, and will eventually disappear.
svn path=/trunk/mcs/; revision=52480
Jonathan Pryor [Wed, 2 Nov 2005 16:27:26 +0000 (16:27 -0000)]
* FileNameMarshaler.cs: Use UnixMarshal.FreeHeap(). Free() is obsolete.
svn path=/trunk/mcs/; revision=52479
Sebastien Pouliot [Wed, 2 Nov 2005 16:19:25 +0000 (16:19 -0000)]
Add CAS and unit tests for System.CodeDom.Compiler.Executor to the build
svn path=/trunk/mcs/; revision=52478
Sebastien Pouliot [Wed, 2 Nov 2005 16:17:52 +0000 (16:17 -0000)]
2005-11-02 Sebastien Pouliot <sebastien@ximian.com>
* Executor.cs: Reworked (for permissions) and fixed ExitCode (must be
called before Close).
svn path=/trunk/mcs/; revision=52477
Sebastien Pouliot [Wed, 2 Nov 2005 16:15:19 +0000 (16:15 -0000)]
2005-11-02 Sebastien Pouliot <sebastien@ximian.com>
* CodeCompilerCas.cs: New. CAS unit tests.
* ExecutorCas.cs: New. CAS unit tests.
* ExecutorTest.cs: New. Unit tests for Executor.
svn path=/trunk/mcs/; revision=52476
Jordi Mas i Hernandez [Wed, 2 Nov 2005 14:53:45 +0000 (14:53 -0000)]
2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
* ListView.cs: Fixes scroll bar visibility. Hide them if they were
previously shown but they are no longer need it. Very obvious when
browsing files with FileDialog.
svn path=/trunk/mcs/; revision=52475
Rafael Teixeira [Wed, 2 Nov 2005 13:22:00 +0000 (13:22 -0000)]
2005-11-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* typemanager.cs: avoiding some Null Pointer Exceptions in GetPertinentStandardModules
svn path=/trunk/mcs/; revision=52474
Atsushi Eno [Wed, 2 Nov 2005 09:31:40 +0000 (09:31 -0000)]
2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
* util.c: build fix.
svn path=/trunk/mono/; revision=52469
Peter Dennis Bartok [Wed, 2 Nov 2005 06:06:46 +0000 (06:06 -0000)]
2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: We always need to call OnPaintBackground. We pretty much
ignore AllPaintingInWmPaint and always do the painting there, whether
it's set or not, since we always ignore the WM_ERASEBKGND message
(which we don't generate on X11). This fixes #76616.
* Panel.cs: Removed unneeded background painting. This happens properly
in Control.cs already
svn path=/trunk/mcs/; revision=52468
Chris Toshok [Wed, 2 Nov 2005 02:09:27 +0000 (02:09 -0000)]
add VirtualPathUtility.cs and its test
svn path=/trunk/mcs/; revision=52466
Chris Toshok [Wed, 2 Nov 2005 02:08:21 +0000 (02:08 -0000)]
2005-11-01 Chris Toshok <toshok@ximian.com>
* VirtualPathUtilityTest.cs: new tests.
svn path=/trunk/mcs/; revision=52465
Chris Toshok [Wed, 2 Nov 2005 02:08:08 +0000 (02:08 -0000)]
2005-11-01 Chris Toshok <toshok@ximian.com>
* VirtualPathUtility.cs: new (partial implementation) to get some
MS provider examples compiling.
svn path=/trunk/mcs/; revision=52464
Peter Dennis Bartok [Tue, 1 Nov 2005 22:03:40 +0000 (22:03 -0000)]
2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
* Makefile, System.Windows.Forms.dll.resources, SWF.csproj: Added
DnDLink cursor
svn path=/trunk/mcs/; revision=52462
Peter Dennis Bartok [Tue, 1 Nov 2005 22:03:25 +0000 (22:03 -0000)]
2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
* DnDLink.cur: Added
svn path=/trunk/mcs/; revision=52461
Miguel de Icaza [Tue, 1 Nov 2005 21:02:21 +0000 (21:02 -0000)]
Make Mono relocatable
2005-11-01 Miguel de Icaza <miguel@novell.com>
* unix/util.c (set_dirs): Implement a relocatable version.
2005-10-25 Miguel de Icaza <miguel@novell.com>
* assembly.c (mono_assemblies_init): Do not set the Mono root dir
if it has been previously set (embedders).
Make mono_set_rootdir available also on Unix.
svn path=/trunk/mono/; revision=52460
Miguel de Icaza [Tue, 1 Nov 2005 20:18:01 +0000 (20:18 -0000)]
2005-11-01 Miguel de Icaza <miguel@novell.com>
* string-icalls.c (ves_icall_System_String_ctor_encoding): Make
sure that we lookup GetString method from the System.Text.Encoding
class, not the derived class or we get an empty method.
Fixed class #76612.
svn path=/trunk/mono/; revision=52459
Sebastien Pouliot [Tue, 1 Nov 2005 20:06:50 +0000 (20:06 -0000)]
Add CAS unit tests for System.CodeDom.Compiler.CodeGenerator
svn path=/trunk/mcs/; revision=52458
Sebastien Pouliot [Tue, 1 Nov 2005 20:06:17 +0000 (20:06 -0000)]
2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
* CodeGenerator.cs: Added/stubbed missing 2.0 stuff.
svn path=/trunk/mcs/; revision=52457
Sebastien Pouliot [Tue, 1 Nov 2005 20:05:52 +0000 (20:05 -0000)]
2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
* CodeGeneratorCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=52456
Atsushi Eno [Tue, 1 Nov 2005 19:06:20 +0000 (19:06 -0000)]
2005-11-01 Atsushi Enomoto <atsushi@ximian.com>
* CP949.cs : Now it contains both CP949 (UHC) and CP51949 (EUC) for
Korean encoding. This should fix bug #76588.
* Handler.cs : added 51949 (true euc-kr).
svn path=/trunk/mcs/; revision=52455
Marek Safar [Tue, 1 Nov 2005 17:42:39 +0000 (17:42 -0000)]
new tests
svn path=/trunk/mcs/; revision=52454
Marek Safar [Tue, 1 Nov 2005 17:32:48 +0000 (17:32 -0000)]
new test case
svn path=/trunk/mcs/; revision=52453
Marek Safar [Tue, 1 Nov 2005 17:27:35 +0000 (17:27 -0000)]
2005-11-01 Marek Safar <marek.safar@seznam.cz>
Fix #76590.
* ecore.cs (NullCast.Reduce): Implemented.
* expression.cs (ArrayCreation.CheckIndices): Correcly check
constant type.
* statement.cs (SwitchLabel.ResolveAndReduce): Catch null
properly.
(Foreach.Resolve): Catch null properly.
svn path=/trunk/mcs/; revision=52452
Gonzalo Paniagua Javier [Tue, 1 Nov 2005 17:18:55 +0000 (17:18 -0000)]
2005-11-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ApplicationHost.cs: use the AbsolutePath from the Uri to remove the
schema prefix if present.
svn path=/trunk/mcs/; revision=52451
Jonathan Pryor [Tue, 1 Nov 2005 15:48:33 +0000 (15:48 -0000)]
* UnixDirectoryInfo.cs, UnixDriveInfo.cs, UnixEnvironment.cs,
UnixFileSystemInfo.cs, UnixGroupInfo.cs, UnixProcess.cs, UnixUserInfoc.cs:
Obsolete statements now specify in what way the return type will change.
* IncludeAttribute.cs: Obsoleted. It's an error to use it now.
svn path=/trunk/mcs/; revision=52449
Vladimir Krasnov [Tue, 1 Nov 2005 15:42:56 +0000 (15:42 -0000)]
* StringFormat.jvm.cs: Refactoring
svn path=/trunk/mcs/; revision=52448
Sebastien Pouliot [Tue, 1 Nov 2005 15:28:38 +0000 (15:28 -0000)]
Added CAS unit tests for System.CodeDom.Compiler.CodeDomProvider
svn path=/trunk/mcs/; revision=52447
Sebastien Pouliot [Tue, 1 Nov 2005 15:27:56 +0000 (15:27 -0000)]
2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
CodeDomProvider.cs: Added missing 2.0 methods. Added CAS permissions.
Added protection against NullReferenceException when no config is
available.
svn path=/trunk/mcs/; revision=52446
Sebastien Pouliot [Tue, 1 Nov 2005 15:27:07 +0000 (15:27 -0000)]
2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
* CodeDomProviderCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=52445
Jonathan Pryor [Tue, 1 Nov 2005 15:25:10 +0000 (15:25 -0000)]
* Mono.Posix.dll.sources: Add new files: Mono.Unix/FileHandleOperations.cs,
Mono.Unix/UnixPipes.cs.
* Mono.Unix/FileAccessPattern.cs: Change enumeration names to match
Robert Love's more sensible names from his FileAdvise class used in Beagle
(UseSoon --> PreLoad, WillNotUse --> FlushCache).
* Mono.Unix/FileHandleOperations.cs: Added; contains AdviseFileAccessPattern()
(moved from UnixFile.cs).
* Mono.Unix/UnixDirectory.cs: Obsolete the class; use UnixDirectoryInfo instead.
* Mono.Unix/UnixDirectoryInfo.cs: Add GetCurrentDirectory(), SetCurrentDirectory().
* Mono.Unix/UnixFile.cs: Obsolete the class; use UnixFileInfo,
FileHandleOperations, or UnixPipes instead.
* Mono.Unix/UnixFileSystemInfo.cs: Add ToStat() method.
* Mono.Unix/UnixGroup.cs: Obsolete the class; use UnixGroupInfo instead.
* Mono.Unix/UnixGroupInfo.cs: Obsolete & Replace constructor, add
GetMemberNames(), GetLocalGroups().
* Mono.Unix/UnixPipes.cs: Added (type moved from UnixFile.cs).
* Mono.Unix/UnixStream.cs: AdviseFileAccessPattern() uses FileHandleOperations now.
* Mono.Unix/UnixSymbolicLinkInfo.cs: Implement TryReadLink() to avoid constant
buffer re-sizing. Stevens states that the file size of the symlink is the
number of bytes needed to hold the symlink, so this should be faster.
* Mono.Unix/UnixUser.cs: Obsolete the class; use UnixUserInfo instead.
* Mono.Unix/UnixUserInfo.cs: Obsolete & Replace constructor; add useful
static members from UnixUser such as GetLoginName(), GetLocalUsers(), etc.
svn path=/trunk/mcs/; revision=52444
Mike Kestner [Tue, 1 Nov 2005 15:20:04 +0000 (15:20 -0000)]
2005-10-31 Mike Kestner <mkestner@novell.com>
* Menu.cs: Add items to collection before setting their index.
* MenuItem.cs : add range checking with ArgumentException like MS.
[Fixes #76510]
svn path=/trunk/mcs/; revision=52443
Alexandre Rocha Lima e Marcondes [Tue, 1 Nov 2005 14:57:23 +0000 (14:57 -0000)]
2005-11-01 Aldo Monteiro do Nascimento <aldo@psl-pr.softwarelivre.org>
* mb-parser.jay: created a new parser rule to match a interface
declared inside another interface: "opt_interface_declaration"
* mb-parser.jay: when redeclare compiler constants no
compilation error is raised, and than the redeclaring works as expected.
svn path=/trunk/mcs/; revision=52442
Zoltan Varga [Tue, 1 Nov 2005 14:07:14 +0000 (14:07 -0000)]
2005-11-01 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c (print_stack_frame): Output to stderr.
(mono_handle_native_sigsegv): Ditto.
svn path=/trunk/mono/; revision=52441
Peter Dennis Bartok [Tue, 1 Nov 2005 05:13:06 +0000 (05:13 -0000)]
2005-10-31 Peter Dennis Bartok <pbartok@novell.com>
* DnDNo.cur: Added
* DnDCopy.cur: Added
* DnDMove.cur: Added
svn path=/trunk/mcs/; revision=52439
Peter Dennis Bartok [Tue, 1 Nov 2005 05:12:22 +0000 (05:12 -0000)]
2005-10-31 Peter Dennis Bartok <pbartok@novell.com>
* Makefile: Added new cursors; added dependency rule on
cursors to force rebuild when cursors are changed or added
* System.Windows.Forms.dll.resources: Added new cursors
svn path=/trunk/mcs/; revision=52438
Jackson Harper [Tue, 1 Nov 2005 01:58:06 +0000 (01:58 -0000)]
* ListBox.cs: Invalidate if the area is visible at all not just
contained in the visible rect. Fixes unselection of semi visible
items.
svn path=/trunk/mcs/; revision=52436
Sebastien Pouliot [Tue, 1 Nov 2005 01:50:46 +0000 (01:50 -0000)]
Add missing files to the build
svn path=/trunk/mcs/; revision=52435
Sebastien Pouliot [Tue, 1 Nov 2005 01:32:20 +0000 (01:32 -0000)]
Add System.Runtime.Versioning namespace with CAS and unit tests to the build.
svn path=/trunk/mcs/; revision=52434
Sebastien Pouliot [Tue, 1 Nov 2005 01:31:16 +0000 (01:31 -0000)]
2005-10-31 Sebastien Pouliot <sebastien@ximian.com>
* ResourceConsumptionAttribute.cs: New. 2.0 attribute.
* ResourceExposureAttribute.cs: New. 2.0 attribute.
* ResourceScope.cs: New. 2.0 enum.
* VersioningHelper.cs: New. 2.0 public helper class.
svn path=/trunk/mcs/; revision=52433
Sebastien Pouliot [Tue, 1 Nov 2005 01:31:01 +0000 (01:31 -0000)]
2005-10-31 Sebastien Pouliot <sebastien@ximian.com>
* ResourceConsumptionAttributeCas.cs: New. CAS unit tests.
* ResourceConsumptionAttributeTest.cs: New. Unit tests.
* ResourceExposureAttributeCas.cs: New. CAS unit tests.
* ResourceExposureAttributeTest.cs
* VersioningHelperCas.cs: New. CAS unit tests.
* VersioningHelperTest.cs
svn path=/trunk/mcs/; revision=52432
Jackson Harper [Tue, 1 Nov 2005 00:35:39 +0000 (00:35 -0000)]
* Control.cs: Consistently name the dnd methods. Make them
internal so we can override them to match some MS behavoir
internally.
* Win32DnD.cs: Use the new consistent names.
svn path=/trunk/mcs/; revision=52429
Alexandre Rocha Lima e Marcondes [Mon, 31 Oct 2005 22:55:13 +0000 (22:55 -0000)]
2005-10-31 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* ecore.cs: Fix UnboxCast Emit calling Activator.CreateInstance
when necessary.
svn path=/trunk/mcs/; revision=52427
Miguel de Icaza [Mon, 31 Oct 2005 22:44:02 +0000 (22:44 -0000)]
Reduce the pending stuff from corlib 2.x
2005-10-31 Miguel de Icaza <miguel@novell.com>
* HijriCalendar.cs, HebrewCalendar.cs, JulianCalendar.cs,
GregorianCalendar.cs, JapaneseCalendar.cs, Calendar.cs,
TaiwanCalendar.cs, HijriCalendar.cs: Add
CalendarAlgorithmType, MinSupportedDateTime, MaxSupportedDateTime
properties.
* Added ComVisibleAttribute in a bunch of places, using the fully
qualified name to speed up cut and paste.
svn path=/trunk/mcs/; revision=52426
Miguel de Icaza [Mon, 31 Oct 2005 22:34:16 +0000 (22:34 -0000)]
Add new files
svn path=/trunk/mcs/; revision=52425
Jackson Harper [Mon, 31 Oct 2005 22:21:51 +0000 (22:21 -0000)]
* TreeView.cs: Don't draw the selected node when we lose
focus.
svn path=/trunk/mcs/; revision=52424
Miguel de Icaza [Mon, 31 Oct 2005 21:23:48 +0000 (21:23 -0000)]
Add PersinalCalendar to the build
svn path=/trunk/mcs/; revision=52423
Miguel de Icaza [Mon, 31 Oct 2005 21:21:41 +0000 (21:21 -0000)]
PersianCalendar, patch from Roozbeh Pournader <roozbeh@farsiweb.info>
svn path=/trunk/mcs/; revision=52422
Chris Toshok [Mon, 31 Oct 2005 21:03:10 +0000 (21:03 -0000)]
move many 2.0-only classes into System.Web.Configuration_2.0
svn path=/trunk/mcs/; revision=52421
Jackson Harper [Mon, 31 Oct 2005 20:25:31 +0000 (20:25 -0000)]
* X11Dnd.cs: We still need to reset the state even though a full
reset isn't being done, otherwise status's still get sent all over
the place.
svn path=/trunk/mcs/; revision=52420
Jackson Harper [Mon, 31 Oct 2005 19:58:30 +0000 (19:58 -0000)]
* Control.cs: Make the dnd_aware flag internal so the dnd
subsystem can check it. Catch exceptions thrown in dnd handlers to
match MS behavoir.
* Hwnd.cs: Add a flag for whether or not a window is dnd aware.
* X11Dnd.cs: Handle null data in the converters. Set the XDND
version when sending a XdndEnter. Use the control/hwnd dnd_aware
flags to reduce the number of dnd enters/status's sent.
svn path=/trunk/mcs/; revision=52419
Gonzalo Paniagua Javier [Mon, 31 Oct 2005 19:58:01 +0000 (19:58 -0000)]
2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpContext.cs: added a new internal overload for
ClearError.
* System.Web.UI/Page.cs: add/remove the error before/after invoking
OnError.
Fixes bug #76595.
svn path=/trunk/mcs/; revision=52418
Chris Toshok [Mon, 31 Oct 2005 18:56:39 +0000 (18:56 -0000)]
start populating the new System.Web.Configuration_2.0 dir
svn path=/trunk/mcs/; revision=52416
Chris Toshok [Mon, 31 Oct 2005 18:48:16 +0000 (18:48 -0000)]
2005-10-31 Chris Toshok <toshok@ximian.com>
* IRemoteWebConfigurationHostServer.cs: fix interface.
svn path=/trunk/mcs/; revision=52415
Dick Porter [Mon, 31 Oct 2005 18:37:08 +0000 (18:37 -0000)]
2005-10-31 Dick Porter <dick@ximian.com>
* Win32Exception.cs: Add another error code.
svn path=/trunk/mcs/; revision=52414
Jackson Harper [Mon, 31 Oct 2005 17:22:05 +0000 (17:22 -0000)]
* X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
svn path=/trunk/mcs/; revision=52413
Konstantin Triger [Mon, 31 Oct 2005 15:08:21 +0000 (15:08 -0000)]
forward quadTo to curveTo
svn path=/trunk/mcs/; revision=52411
Jordi Mas i Hernandez [Mon, 31 Oct 2005 13:33:10 +0000 (13:33 -0000)]
In Test/System.Drawing.Imaging:
2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
* TestImageFormat.cs: New test unit
In System.Drawing.Imaging:
2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
* ImageFormat.cs: Fixes ToString method
In System.Drawing:
2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
* Image.cs: Default format for MemoryBMP should be Png
svn path=/trunk/mcs/; revision=52409
Jordi Mas i Hernandez [Mon, 31 Oct 2005 13:25:49 +0000 (13:25 -0000)]
2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
* PictureBox.cs: Fixes 76512
svn path=/trunk/mcs/; revision=52408
Zoltan Varga [Mon, 31 Oct 2005 13:14:29 +0000 (13:14 -0000)]
2005-10-31 Zoltan Varga <vargaz@freemail.hu>
* AssemblyInfo.cs: Fix compilation. Fixes #76449.
svn path=/trunk/mcs/; revision=52407
Alexandre Rocha Lima e Marcondes [Mon, 31 Oct 2005 11:31:38 +0000 (11:31 -0000)]
2005-10-29 Renato Suga<renato@psl-pr.softwarelivre.org>
* codegen.cs: Added static global ArrayList ArrListVersion to
keep the assembly's version numbers. reating a new Version(string str) is
not working. The Init() method was modified to correctly set the version value;
* attribute.cs: one of its constructor was modified to pass the
string version to CodeGen.ArrListVersion so that at Init () CodeGen sets
the correct version.
svn path=/trunk/mcs/; revision=52406
Zoltan Varga [Sun, 30 Oct 2005 19:33:12 +0000 (19:33 -0000)]
2005-10-30 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c (mono_arch_output_basic_block): Remove unused
OP_LCONV_TO_OVF_I implementation.
* mini-amd64.c: Add support for the throw->branch exception
optimization.
* branch-opts.c (mono_branch_optimize_exception_target): Allow the case
when the catch clause catches a more general exception, i.e. Object.
svn path=/trunk/mono/; revision=52402
Zoltan Varga [Sun, 30 Oct 2005 18:54:26 +0000 (18:54 -0000)]
2005-10-30 Zoltan Varga <vargaz@gmail.com>
* cpu-ia64.md: Remove unused opcodes.
* mini.c (GET_CONTEXT): Simplify this somewhat by removing arch
specific defines for architectures defining USE_SIGACTION.
svn path=/trunk/mono/; revision=52401
Zoltan Varga [Sun, 30 Oct 2005 18:07:43 +0000 (18:07 -0000)]
2005-10-30 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c: Fix some warnings.
svn path=/trunk/mono/; revision=52400
Zoltan Varga [Sun, 30 Oct 2005 18:06:59 +0000 (18:06 -0000)]
2005-10-30 Zoltan Varga <vargaz@gmail.com>
* ia64/ia64-codegen.h (ia64_m17): Fix a warning.
svn path=/trunk/mono/; revision=52399
Zoltan Varga [Sun, 30 Oct 2005 17:51:29 +0000 (17:51 -0000)]
2005-10-30 Zoltan Varga <vargaz@gmail.com>
* exceptions-ia64.c (mono_arch_ip_from_context): Fix this, the previous
version seemed to skip a frame.
svn path=/trunk/mono/; revision=52398
Zoltan Varga [Sun, 30 Oct 2005 17:10:39 +0000 (17:10 -0000)]
2005-10-30 Zoltan Varga <vargaz@freemail.hu>
* mini.c: Clean up the usage of sig->pinvoke flag. Now
only calls which are made to native code use this flag.
svn path=/trunk/mono/; revision=52397
Zoltan Varga [Sun, 30 Oct 2005 17:09:46 +0000 (17:09 -0000)]
2005-10-30 Zoltan Varga <vargaz@freemail.hu>
* marshal.c icall.c: Clean up the usage of sig->pinvoke flag. Now
only calls which are made to native code use this flag.
svn path=/trunk/mono/; revision=52396
Zoltan Varga [Sun, 30 Oct 2005 16:56:52 +0000 (16:56 -0000)]
2005-10-30 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_FieldInfo_GetUnmanagedMarshal): Remove the check for FieldBuilders as it is now done in managed code.
svn path=/trunk/mono/; revision=52395
Zoltan Varga [Sun, 30 Oct 2005 16:55:50 +0000 (16:55 -0000)]
2005-10-30 Zoltan Varga <vargaz@freemail.hu>
* FieldBuilder.cs: Add implementation of new UMarshal property.
svn path=/trunk/mcs/; revision=52394
Zoltan Varga [Sun, 30 Oct 2005 16:55:13 +0000 (16:55 -0000)]
2005-10-30 Zoltan Varga <vargaz@freemail.hu>
* FieldInfo.cs: Add an internal UMarshal property which can by
overriden in FieldBuilder.
svn path=/trunk/mcs/; revision=52393
Sebastien Pouliot [Sun, 30 Oct 2005 14:52:14 +0000 (14:52 -0000)]
2005-10-30 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSet.cs: Forgot to remove virtual from 2.0 IsSubsetOf.
svn path=/trunk/mcs/; revision=52392
Konstantin Triger [Sun, 30 Oct 2005 12:06:11 +0000 (12:06 -0000)]
handle no credentials case
svn path=/trunk/mcs/; revision=52391
Alexandre Rocha Lima e Marcondes [Sun, 30 Oct 2005 10:56:03 +0000 (10:56 -0000)]
2005-10-19 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* class.cs: Casting TypeContainer to Interface in order to call
the correct overload of RootContext.RegisterOrder.
svn path=/trunk/mcs/; revision=52390