Atsushi Eno [Mon, 12 Jun 2006 23:26:54 +0000 (23:26 -0000)]
2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
* ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
Fixed bug #78609.
svn path=/trunk/mcs/; revision=61644
Wade Berrier [Mon, 12 Jun 2006 22:52:14 +0000 (22:52 -0000)]
* Makefile: Update for dialog-question3.png -> dialog-question.png rename
to fix 'make dist'
svn path=/trunk/mcs/; revision=61641
Gonzalo Paniagua Javier [Mon, 12 Jun 2006 22:51:32 +0000 (22:51 -0000)]
2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
svn path=/trunk/mcs/; revision=61640
Jackson Harper [Mon, 12 Jun 2006 22:46:42 +0000 (22:46 -0000)]
* KeysConverter.cs: Make sure we handle the Ctrl special case
if its the only key.
svn path=/trunk/mcs/; revision=61639
Jackson Harper [Mon, 12 Jun 2006 22:17:15 +0000 (22:17 -0000)]
* Theme.cs: Add a method to get the size of a managed window
toolbar button.
* InternalWindowManager.cs: Remove the ButtonSize property, this
should be retrieved from the theme.
* MdiWindowManager.cs: Get the button size from the theme
* ThemeWin32Classic.cs: Make the method to get the managed
* window
titlebar button size public.
- Handle the different button sizes of maximized toolwindows
(should match any maximized window).
- Get the titlebar height from the theme, not the WM (which gets
it from the theme).
svn path=/trunk/mcs/; revision=61638
Miguel de Icaza [Mon, 12 Jun 2006 22:12:24 +0000 (22:12 -0000)]
Correct typo
svn path=/trunk/mcs/; revision=61637
Jackson Harper [Mon, 12 Jun 2006 20:25:15 +0000 (20:25 -0000)]
- When doing PointToClient contain it in the workable desktop
area, this prevents windows from changing size when the cursor
is
pulled outside of the working area while sizing.
svn path=/trunk/mcs/; revision=61636
Jackson Harper [Mon, 12 Jun 2006 19:02:55 +0000 (19:02 -0000)]
* InternalWindowManager.cs: Handle NC Double Clicks, passing the
event down to the mdi window manager.
- Expose some extra stuff to base classes
- Make sure to end the Capture on an NC Mouse up, so that we can
get double clicks properly, and the sizing doens't stick.
* MdiWindowManager.cs: When we get a double click maximize the
window.
- Reset the cursor after handling mode changes.
svn path=/trunk/mcs/; revision=61635
Peter Dennis Bartok [Mon, 12 Jun 2006 18:03:36 +0000 (18:03 -0000)]
2006-06-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (WorkingArea): Read the actual workarea for the
current desktop, instead of just assuming a 0, 0 origin. This
is needed for our internal window manager, to know the top
margin of the desktop
svn path=/trunk/mcs/; revision=61633
Chris Toshok [Mon, 12 Jun 2006 16:29:36 +0000 (16:29 -0000)]
* DataGrid.cs (set_CurrentCell): concede focus as we move around.
we need this to get rid of the selected background in the bool
column.
(CancelEditing): move the ConcedeFocus call to above the Abort
call. Also, set is_changing to false and invalidate the row
header if we were changing before.
(ProcessKeyPreviewInternal): remove, since noone outside this
class calls it anymore. Roll the code into ProcessKeyPreview.
(EndEdit): remove the internal version.
(InvalidateCurrentRowHeader): make private.
* DataGridBoolColumn.cs: simplify this class a bunch. remove the
Keys.Escape handling (and with it the last call to
DataGrid.EndEdit from outside the class.)
2006-06-12 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=61630
Chris Toshok [Mon, 12 Jun 2006 15:42:06 +0000 (15:42 -0000)]
* DataGridTextBox.cs (.ctor): isedit defaults to false.
(OnKeyPress): set isedit to true.
(ProcessKeyMessage): remove Keys.Enter handling from here. it's
already handled by the grid.
svn path=/trunk/mcs/; revision=61629
Chris Toshok [Mon, 12 Jun 2006 15:35:20 +0000 (15:35 -0000)]
2006-06-12 Chris Toshok <toshok@ximian.com>
* DataGrid.cs (set_CurrentCell): more work here. it's still not
right. ugh.
(set_DataSource): SetDataSource always returns true, so stop
putting it in an if statement.
(EndEdit): get rid of some {}'s
(ProcessGridKey): return true in case Keys.Escape.
(ProcessKeyPreviewInternal): only handle KEYDOWN messages.
(ConnectListManagerEvents,DisconnectListManagerEvents): connect to
PositionChanged, stopped connecting to CurrentChanged.
(GetDataSource): simplify this a bunch.
(SetDataSource): change return type from bool to void.
(OnListManagerPositionChanged): rename OnListManagerCurrentChanged
to this, and make sure we don't set ListManager.Position inside
set_CurrentCell.
(OnListManagerItemChanged): if we're passed an actual index,
redraw that row.
* CurrencyManager.cs (set_Position): don't call PullData here.
svn path=/trunk/mcs/; revision=61628
Zoltan Varga [Mon, 12 Jun 2006 14:16:59 +0000 (14:16 -0000)]
2006-06-12 Zoltan Varga <vargaz@gmail.com>
* mini.c (remove_block_if_useless): Do not remove the bblock immediately
after the end of a try bblock, to prevent asserts in mini_method_compile ().
* iltests.il: Add a test for the above.
svn path=/trunk/mono/; revision=61627
Atsushi Eno [Mon, 12 Jun 2006 08:38:50 +0000 (08:38 -0000)]
2006-06-12 Atsushi Enomoto <atsushi@ximian.com>
* culture-info-table.h : oops, forgot to make it nsync with r61548.
svn path=/trunk/mono/; revision=61624
Andrew Skiba [Mon, 12 Jun 2006 07:53:52 +0000 (07:53 -0000)]
add an overload for RunUrl method with no delegates
svn path=/trunk/mcs/; revision=61623
Jonathan Chambers [Mon, 12 Jun 2006 00:54:02 +0000 (00:54 -0000)]
Fix for building mono in VS, and implement reading/writing USER/MACHINE level environment variables.
svn path=/trunk/mcs/; revision=61622
Jonathan Chambers [Mon, 12 Jun 2006 00:53:44 +0000 (00:53 -0000)]
Fix for building mono in VS, and implement reading/writing USER/MACHINE level environment variables.
svn path=/trunk/mono/; revision=61621
Konstantin Triger [Sun, 11 Jun 2006 07:53:47 +0000 (07:53 -0000)]
set the row index from GridRowView if CommandArgument does not contain this information
svn path=/trunk/mcs/; revision=61619
Konstantin Triger [Sun, 11 Jun 2006 07:44:32 +0000 (07:44 -0000)]
return documented default for OldValuesParameterFormatString
svn path=/trunk/mcs/; revision=61618
Zoltan Varga [Sat, 10 Jun 2006 13:34:28 +0000 (13:34 -0000)]
2006-06-10 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c (mono_arch_lowering_pass): Remove some code duplication.
svn path=/trunk/mono/; revision=61615
Zoltan Varga [Sat, 10 Jun 2006 13:26:58 +0000 (13:26 -0000)]
2006-06-10 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c inssel-ia64.brg: Implement the new net 2.0 Interlocked.Add
methods as instrinsics.
svn path=/trunk/mono/; revision=61614
Zoltan Varga [Sat, 10 Jun 2006 13:25:10 +0000 (13:25 -0000)]
2006-06-10 Zoltan Varga <vargaz@gmail.com>
* interlocked-2.2.cs: Make the return values positive.
svn path=/trunk/mono/; revision=61613
Atsushi Eno [Sat, 10 Jun 2006 06:44:22 +0000 (06:44 -0000)]
2006-06-10 Atsushi Enomoto <atsushi@ximian.com>
* SectionGroupInfo.cs : skip <dllmap> in configuration.
svn path=/trunk/mcs/; revision=61612
Wade Berrier [Fri, 9 Jun 2006 21:02:44 +0000 (21:02 -0000)]
* Makefile.am: Fix sources list for svn rename so that make dist succeeds
(simple-cee-ops.h ssapre-mini-ops.h)
svn path=/trunk/mono/; revision=61607
Jackson Harper [Fri, 9 Jun 2006 20:27:18 +0000 (20:27 -0000)]
- Don't need an internal constructor anymore.
svn path=/trunk/mcs/; revision=61605
Jackson Harper [Fri, 9 Jun 2006 20:13:23 +0000 (20:13 -0000)]
* Form.cs: Layout the MDI child windows when creating the parent
* form.
* MdiClient.cs: use the parent form width/height (if available)
when laying out the child windows, we do this because the
mdiclient isn't docked yet when the initial layout is done.
svn path=/trunk/mcs/; revision=61604
Neale Ferguson [Fri, 9 Jun 2006 19:53:21 +0000 (19:53 -0000)]
* mono/mini/mini-s390.c: Correct ATOMIC operations (incorrect register for CS
instruction).
* mono/mini/mini-s390.h: Simplify MCONTEXT_GET_BP.
* mono/io-layer/ChangeLog: Move comment from mono/mini
* mono/mini/ChangeLog: Correct comments
svn path=/trunk/mono/; revision=61603
Neale Ferguson [Fri, 9 Jun 2006 19:08:15 +0000 (19:08 -0000)]
* mini-exceptions.c (ves_icall_get_frame_info): Fix this function on s390/s390x.
* mono/io-layer/atomic.h: Fix atomic operations for s390x (not really broken
but changed to use full 64-bit opcodes).
* mono/mini/mini-s390x.c: Correct ATOMIC operations (incorrect register for CS
instruction).
* mono/mini/mini-s390x.h: Simplify MCONTEXT_GET_BP.
* mono/mini/cpu-s390x.md: Fix max. length values for a couple of instructions.
svn path=/trunk/mono/; revision=61602
Jackson Harper [Fri, 9 Jun 2006 17:41:55 +0000 (17:41 -0000)]
* TreeNode.cs: Recalculate the visible order before doing the
Expand/Collapse Below calls, because those calls generate an
expose.
- Reduce calls to the TreeView property, which is mildly
expensive
by using a local var.
svn path=/trunk/mcs/; revision=61600
Jonathan Chambers [Fri, 9 Jun 2006 12:35:48 +0000 (12:35 -0000)]
Minor fixes for building mono in Visual Studio.
svn path=/trunk/mono/; revision=61596
Sebastien Pouliot [Fri, 9 Jun 2006 12:29:43 +0000 (12:29 -0000)]
2006-06-09 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test cases for IsVisible methods.
svn path=/trunk/mcs/; revision=61595
Martin Baulig [Fri, 9 Jun 2006 12:01:22 +0000 (12:01 -0000)]
2006-06-09 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.c: Put this back and really fix it this
time. Sorry for all the trouble.
svn path=/trunk/mono/; revision=61594
Juraj Skripsky [Fri, 9 Jun 2006 09:17:40 +0000 (09:17 -0000)]
2006-06-09 Juraj Skripsky <js@hotfeet.ch>
* Tokenizer.cs (ProcessEscapes): Inspect the next character, not the one
after that.
2006-06-09 Juraj Skripsky <js@hotfeet.ch>
* DataTableTest.cs (SelectEscaping): Add tests for calling Select()
with escaped string literals.
svn path=/trunk/mcs/; revision=61593
Massimiliano Mantione [Fri, 9 Jun 2006 06:37:04 +0000 (06:37 -0000)]
* ssapre-cee-ops.h: Renamed as "simple-cee-ops.h"
* simple-cee-ops.h: Was "ssapre-cee-ops.h" (renamed).
* ssapre-mini-ops.h: Renamed as "simple-mini-ops.h"
* simple-mini-ops.h: Was "ssapre-mini-ops.h" (renamed).
* local-propagation.c: In mono_cprop_invalidate_values use a whitelist
of opcodes, so that bug 78549 should not happen again.
* ssapre.c: Updated to use the renamed files.
svn path=/trunk/mono/; revision=61592
César Natarén [Fri, 9 Jun 2006 05:57:15 +0000 (05:57 -0000)]
2006-06-08 Cesar Lopez Nataren <cesar.nataren@medsphere.com>
* Added the NPL license (as that's the header the original java
files have) header to Token.cs, TokenStream.cs, Parser.cs and
Decompiler.cs to avoid confusion. Also, the notice has always been
stated in mcs/LICENSE that:
"The Microsoft.JScript assembly is covered by the
MIT X11 and the Mozilla MPL license as it contains
ported pieces of code from Rhino, the Mozilla JavaScript
implementations"
And we include mcs/LICENSE.MPL
svn path=/trunk/mcs/; revision=61591
Gonzalo Paniagua Javier [Thu, 8 Jun 2006 21:30:49 +0000 (21:30 -0000)]
2006-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FileDialog.cs: handle access errors when trying to create a folder
or changing to a directory. No need to initialize out parameters.
svn path=/trunk/mcs/; revision=61590
Sebastien Pouliot [Thu, 8 Jun 2006 21:21:07 +0000 (21:21 -0000)]
2006-06-08 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPath.cs: Update/remove some MonoTODO on IsVisible methods.
svn path=/trunk/mcs/; revision=61589
Sebastien Pouliot [Thu, 8 Jun 2006 21:19:05 +0000 (21:19 -0000)]
2006-06-08 Sebastien Pouliot <sebastien@ximian.com>
* ClientRecordProtocol.cs: Avoid a NRE when the server request a
re-negotiation of the security parameters. Possible fix for #78597.
svn path=/trunk/mcs/; revision=61588
Alexander Olk [Thu, 8 Jun 2006 20:58:17 +0000 (20:58 -0000)]
* FileDialog.cs: Append a number when creating a new folder if the
folder already exists (use parenthesis instead of square brackets)
2006-06-08 Alexander Olk <alex.olk@googlemail.com>
svn path=/trunk/mcs/; revision=61587
Massimiliano Mantione [Thu, 8 Jun 2006 20:49:05 +0000 (20:49 -0000)]
* mini.c: Fixed bug 77996, and settled some debugging code.
svn path=/trunk/mono/; revision=61586
Alexander Olk [Thu, 8 Jun 2006 20:38:11 +0000 (20:38 -0000)]
2006-06-08 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs:
- Disabled registry support for windows and added better registry
error checking for other systems (need to investigate why it
works perfectly on my system)
- If a folder already exist show an error MessageBox instead of
trying to create an indexed name.
- Fixed a non intentional typo.
svn path=/trunk/mcs/; revision=61585
Gonzalo Paniagua Javier [Thu, 8 Jun 2006 20:14:42 +0000 (20:14 -0000)]
2006-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
svn path=/trunk/mcs/; revision=61584
Alexander Olk [Thu, 8 Jun 2006 19:54:24 +0000 (19:54 -0000)]
* FileDialog.cs: When creating a new folder don't crash if the
folder already exists.
2006-06-08 Alexander Olk <alex.olk@googlemail.com>
svn path=/trunk/mcs/; revision=61583
Zoltan Varga [Thu, 8 Jun 2006 19:10:41 +0000 (19:10 -0000)]
2006-06-08 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_output_basic_block): Fix a wrong reg-reg move
in OP_ATOMIC_EXCHANGE_I4.
svn path=/trunk/mono/; revision=61581
Alexander Olk [Thu, 8 Jun 2006 19:09:29 +0000 (19:09 -0000)]
* FileDialog.cs: Allmost a complete rewrite.
- added a "virtual" file system that handles the differences
between unix and windows file systems (especially the directory
structure). Moved most of the directory and file handling code
into the vfs.
Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
UnixFileSystem and FSEntry.
- Recently used folder/directory, size, location and used file names
(file name ComboBox) are now stored in the registry and get read
before the dialog shows up (fixes part 6 of bug #78446).
- Creation of new folders/directories is now possible (context menu
or ToolBar). Added TextEntryDialog for this that fills in the gap
until ListView.LabelEdit works.
- Fixed cursor handling (bug #78527) and focus handling for
PopupButtonPanel
- Various "Search in" ComboBox enhancements. The content of the
dropdown listbox now almost matches ms.
- Changed the behaviour when the user switches to SpecialFolder
Recent to show the ListView in View.Details.
- Beside using the ToolBar to change the View property of the
file ListView it is now possible to use the context menu too.
2006-06-08 Alexander Olk <alex.olk@googlemail.com>
svn path=/trunk/mcs/; revision=61580
Alexander Olk [Thu, 8 Jun 2006 17:38:02 +0000 (17:38 -0000)]
2006-06-08 Alexander Olk <alex.olk@googlemail.com>
* ComboBox.cs: Don't create a new ObjectCollection when an item
gets inserted. Just insert the item in the existing object_items
ArrayList.
svn path=/trunk/mcs/; revision=61579
Miguel de Icaza [Thu, 8 Jun 2006 17:33:58 +0000 (17:33 -0000)]
Revert until Martin is online to debug
svn path=/trunk/mono/; revision=61578
Miguel de Icaza [Thu, 8 Jun 2006 17:33:41 +0000 (17:33 -0000)]
Revert until Martin is online to debug
svn path=/trunk/mono/; revision=61577
Jackson Harper [Thu, 8 Jun 2006 16:33:28 +0000 (16:33 -0000)]
* OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
that the treeview and root node checks are done also, this fixes
a
regression i caused in the unit tests.
svn path=/trunk/mcs/; revision=61575
Chris Toshok [Thu, 8 Jun 2006 14:50:38 +0000 (14:50 -0000)]
2006-06-08 Chris Toshok <toshok@ximian.com>
* WebConfigurationHost.cs (InitForConfiguration): i know this is
going to bite me in the ass, but guard against configPath being ==
to "/", since this will result in an infinite loop.
(MapPath): fix a NRE.
svn path=/trunk/mcs/; revision=61574
Zoltan Varga [Thu, 8 Jun 2006 14:49:54 +0000 (14:49 -0000)]
2006-06-08 Zoltan Varga <vargaz@gmail.com>
* icall.c (mono_class_get_throw): Fix a warning.
(ves_icall_System_Reflection_Assembly_GetTypes): Allways throw
ReflectionTypeLoadException if needed. Fixes #78606.
* class.c (mono_class_setup_vtable_general): Handle loader errors a bit better.
(mono_class_init): Ditto.
* loader.c (mono_loader_set_error_assembly_load): Display a separate warning for
ref_only exceptions.
(mono_loader_clear_error): Make this work even if there is no error.
svn path=/trunk/mono/; revision=61573
Chris Toshok [Thu, 8 Jun 2006 14:48:28 +0000 (14:48 -0000)]
In System.Web.Services.Description:
2006-06-08 Chris Toshok <toshok@ximian.com>
* ExtensionManager.cs: remove the CONFIGURATION_2_0 from ifdefs.
NET_2_0 implies this now.
In System.Web.Services.Protocols:
2006-06-08 Chris Toshok <toshok@ximian.com>
* WebServiceHandlerFactory.cs: remove the CONFIGURATION_2_0 from
ifdefs. NET_2_0 implies this now.
* SoapExtension.cs: same.
* SoapDocumentationHandler.cs: same.
In .:
2006-06-08 Chris Toshok <toshok@ximian.com>
* Makefile (LIB_MCS_FLAGS): remove the CONFIGURATION_2_0 define.
NET_2_0 implies this now.
svn path=/trunk/mcs/; revision=61572
Sebastien Pouliot [Thu, 8 Jun 2006 14:06:34 +0000 (14:06 -0000)]
2006-06-06 Sebastien Pouliot <sebastien@ximian.com>
* notused.cs, reftype1-4.cs: Fix compiler warnings.
svn path=/trunk/mono/; revision=61569
Jonathan Chambers [Thu, 8 Jun 2006 13:18:24 +0000 (13:18 -0000)]
Forgot to commit ChangeLog
svn path=/trunk/mcs/; revision=61567
Jonathan Chambers [Thu, 8 Jun 2006 13:15:50 +0000 (13:15 -0000)]
Implement Marshal.GetComSlotForMethodInfo
svn path=/trunk/mcs/; revision=61566
Jonathan Chambers [Thu, 8 Jun 2006 13:15:26 +0000 (13:15 -0000)]
Implement Marshal.GetComSlotForMethodInfo
svn path=/trunk/mono/; revision=61565
Konstantin Triger [Thu, 8 Jun 2006 11:35:11 +0000 (11:35 -0000)]
load themes relative to context root
svn path=/trunk/mcs/; revision=61560
Ankit Jain [Thu, 8 Jun 2006 09:28:06 +0000 (09:28 -0000)]
* PEAPI.cs (PEFile.GetNextSectStart): Handle the case when (tide %
SectionAlignment) == 0 . Patch by Carlo Kok. Fixes bug #78182.
svn path=/trunk/mcs/; revision=61555
Martin Baulig [Thu, 8 Jun 2006 07:34:31 +0000 (07:34 -0000)]
2006-06-08 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.c: Put this back and fix it.
svn path=/trunk/mono/; revision=61554
Atsushi Eno [Thu, 8 Jun 2006 02:39:12 +0000 (02:39 -0000)]
2006-06-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter2.cs : if an attribute being written has the same
non-empty namespace URI as current default namespace, its prefix
should be written. Fixed bug #78598.
* XmlTextWriterTests.cs : added test for bug #78598.
svn path=/trunk/mcs/; revision=61550
Atsushi Eno [Thu, 8 Jun 2006 02:08:21 +0000 (02:08 -0000)]
2006-06-08 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeFormatInfoTest.cs : added test for bug #78569.
svn path=/trunk/mcs/; revision=61549
Atsushi Eno [Thu, 8 Jun 2006 01:53:28 +0000 (01:53 -0000)]
2006-06-08 Atsushi Enomoto <atsushi@ximian.com>
* en.xml, en-US.xml : move US-only date patterns from en.xml to
en-US.xml. Fixed bug #78569.
svn path=/trunk/mono/; revision=61548
Wade Berrier [Thu, 8 Jun 2006 00:50:52 +0000 (00:50 -0000)]
* Makefile: Make sure mainsoft NunitWeb files are included for make dist
svn path=/trunk/mcs/; revision=61547
Wade Berrier [Wed, 7 Jun 2006 22:27:29 +0000 (22:27 -0000)]
* RichTextBox.cs: More ISO8859-1 -> unicode
svn path=/trunk/mcs/; revision=61546
Zoltan Varga [Wed, 7 Jun 2006 21:19:46 +0000 (21:19 -0000)]
2006-06-07 Zoltan Varga <vargaz@gmail.com>
* class-internals.h: Add a new kind of loader error LOADER_ERROR_ASSEMBLY plus
a function for signalling it.
* class.c (mono_class_from_typeref): Use the new kind of loader error when
a referenced assembly is not found.
* loader.c (mono_loader_error_prepare_exception): Add support for
LOADER_ERROR_ASSEMBLY.
svn path=/trunk/mono/; revision=61545
Mike Kestner [Wed, 7 Jun 2006 20:03:33 +0000 (20:03 -0000)]
2006-06-07 Mike Kestner <mkestner@novell.com>
* ComboBox.cs : use items to hold highlight/selection so that
collection insertions don't require synchronization.
svn path=/trunk/mcs/; revision=61544
Wade Berrier [Wed, 7 Jun 2006 20:01:28 +0000 (20:01 -0000)]
* Makefile.am: add test-inline-call-stack-library.cs and test-inline-call-stack.cs
to EXTRA_DIST so that tests can be run from a dist tarball
svn path=/trunk/mono/; revision=61542
Jackson Harper [Wed, 7 Jun 2006 19:59:43 +0000 (19:59 -0000)]
* InternalWindowManager.cs: Simplify (and FIX) the window sizing
routine. We now always keep the sized edge at the cursor
instead
of computing movement and adjusting rects. There is one buglet
with this method though when the cursor is moved over area that
the window can not expand too (such as the toolbars on the
desktop).
svn path=/trunk/mcs/; revision=61540
Gonzalo Paniagua Javier [Wed, 7 Jun 2006 19:36:01 +0000 (19:36 -0000)]
2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
here. Fixes crash on startup in AlbumSurfer.
svn path=/trunk/mcs/; revision=61539
Peter Dennis Bartok [Wed, 7 Jun 2006 18:17:53 +0000 (18:17 -0000)]
2006-06-07 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
values
svn path=/trunk/mcs/; revision=61537
Gonzalo Paniagua Javier [Wed, 7 Jun 2006 17:53:31 +0000 (17:53 -0000)]
2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
statement to avoid calling XNextEvent which will block if another thread
took the event that we were expecting. Fixes bug #78605.
svn path=/trunk/mcs/; revision=61536
Wade Berrier [Wed, 7 Jun 2006 16:24:01 +0000 (16:24 -0000)]
* tramp-s390.c: Fix s390 build (add missing pointer declarations
in mono_debugger_create_notification_function)
svn path=/trunk/mono/; revision=61535
Mike Kestner [Wed, 7 Jun 2006 15:42:49 +0000 (15:42 -0000)]
2006-06-07 Mike Kestner <mkestner@novell.com>
* ListView.cs : isolated checkbox clicking from the selection logic.
Toggle check state on item doubleclicks. Really fixes #78454 part2.
svn path=/trunk/mcs/; revision=61534
Juraj Skripsky [Wed, 7 Jun 2006 15:25:12 +0000 (15:25 -0000)]
2006-06-07 Juraj Skripsky <js@hotfeet.ch>
* HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
page by showing multiple errors on separate lines.
svn path=/trunk/mcs/; revision=61533
Lluis Sanchez [Wed, 7 Jun 2006 14:33:48 +0000 (14:33 -0000)]
2006-06-07 Lluis Sanchez Gual <lluis@novell.com>
* XmlTypeMapMember.cs: Added GlobalIndex property.
* XmlTypeMapping.cs: When adding a member, initialize its GlobalIndex
property.
* SerializationCodeGenerator.cs:
* XmlSerializationWriterInterpreter.cs:
* XmlSerializationReaderInterpreter.cs: Use GlobalIndex instead of
Index to get/set the values from the input array, since some Index
values are shared between attribute and element members. Fixes
bug #78562.
svn path=/trunk/mcs/; revision=61531
Sebastien Pouliot [Wed, 7 Jun 2006 14:00:46 +0000 (14:00 -0000)]
2006-06-07 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test cases for IsOutlineVisible methods.
svn path=/trunk/mcs/; revision=61527
Sebastien Pouliot [Wed, 7 Jun 2006 13:59:36 +0000 (13:59 -0000)]
2006-06-07 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPath.cs: IsOutlineVisible throws ArgumentNullException
if a null pen is supplied. Update/remove some MonoTODO on
IsOutlineVisible methods.
svn path=/trunk/mcs/; revision=61526
Ankit Jain [Wed, 7 Jun 2006 13:43:58 +0000 (13:43 -0000)]
* err-abstract.il: Make the class abstract.
svn path=/trunk/mcs/; revision=61525
Ankit Jain [Wed, 7 Jun 2006 13:22:15 +0000 (13:22 -0000)]
In ilasm/tests:
* test-no-body.il: New. Test for method with no body.
* test-perm-pass-3.il: Make the class abstract.
In ilasm/codegen:
* TypeDef.cs (TypeDef.IsAbstract): New.
* MethodDef.cs (MethodDef.WriteCode): Parent type must also be abstract
for an abstract method. Abstract methods cannot have a body.
Report errors for body with different implementation attributes like
native/runtime/unmanaged etc.
If the method has no body, then emit a 'ret'.
In ilasm/errors:
* err-native.il:
* err-pinvoke-a.il:
* err-abstract.il:
* err-runtime.il:
* err-internalcall.il: New.
svn path=/trunk/mcs/; revision=61524
Kornél Pál [Wed, 7 Jun 2006 12:43:36 +0000 (12:43 -0000)]
mono-service.cs: Run service using AppDomain.ExecuteAssembly () to ensure EntryPoint signature compatibility with the runtime.
svn path=/trunk/mcs/; revision=61523
Ankit Jain [Wed, 7 Jun 2006 10:10:39 +0000 (10:10 -0000)]
In ilasm/codegen:
* TypeDef.cs (TypeDef.AddFieldDef):
(TypeDef.Define): Use Report.Warning instead of Console.Error.WriteLine
(TypeDef.AddMethodDef): Likewise. Also, use methoddef.Location .
* ExternTable.cs (ExternTable.GetTypeRef): Likewise.
* MethodDef.cs (MethodDef.StartLocation): New.
In ilasm:
* Report.cs (Report.FilePath): New, static property.
(Report.Error): Remove overload with file_path param.
(Report.Warning): New.
* Driver.cs (DriverMain.Run): Set Report.FilePath .
(DriverMain.ProcessFile): Update use of Report.Error .
In ilasm/parser:
* ILParser.jay : Update to use Report.Warning instead of
Console.Error.WriteLine
svn path=/trunk/mcs/; revision=61521
Kornél Pál [Wed, 7 Jun 2006 09:28:42 +0000 (09:28 -0000)]
Consts.cs.in: Removed RuntimeVersion as it should be the same as FxFileVersion. Use FxFileVersion for Environment.Version.; Environment.cs: Use Consts.FxFileVersion for Environment.Version as Consts.RuntimeVersion was removed.; AssemblyInfo.cs: Use Consts.FxFileVersion for AssemblyFileVersion.
svn path=/trunk/mcs/; revision=61520
Andrew Skiba [Wed, 7 Jun 2006 07:11:25 +0000 (07:11 -0000)]
add xml documentation for nunitweb framework
svn path=/trunk/mcs/; revision=61518
Carlos Alberto Cortez [Wed, 7 Jun 2006 00:41:46 +0000 (00:41 -0000)]
2006-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* FormTest.cs: Add SetDialogResult, to test Form.DialogResult
setter.
svn path=/trunk/mcs/; revision=61516
Carlos Alberto Cortez [Wed, 7 Jun 2006 00:37:09 +0000 (00:37 -0000)]
2006-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Form.cs: Check that the value passed to Form.DialogResult
is a valid enum value.
svn path=/trunk/mcs/; revision=61515
Gonzalo Paniagua Javier [Tue, 6 Jun 2006 22:40:39 +0000 (22:40 -0000)]
2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FileDialog.cs: disable the up button when in 'Recently Used' or 'My
Computer'. Clicking it in the network view goes to 'My Computer'.
Added CIFS filesystem type. Display the mount point of filesystems.
Avoid duplicate mount points (happens for me with CIFS);
svn path=/trunk/mcs/; revision=61513
Jackson Harper [Tue, 6 Jun 2006 22:32:49 +0000 (22:32 -0000)]
* InternalWindowManager.cs: Draw the maximized windows buttons
when resizing.
svn path=/trunk/mcs/; revision=61512
Gonzalo Paniagua Javier [Tue, 6 Jun 2006 22:26:16 +0000 (22:26 -0000)]
svn path=/trunk/mcs/; revision=61511
Gonzalo Paniagua Javier [Tue, 6 Jun 2006 22:21:44 +0000 (22:21 -0000)]
forgot this
svn path=/trunk/mcs/; revision=61510
Zoltan Varga [Tue, 6 Jun 2006 22:15:15 +0000 (22:15 -0000)]
2006-06-07 Zoltan Varga <vargaz@gmail.com>
* BinderTests.cs: Add test for BindingFlags.ExactBinding.
svn path=/trunk/mcs/; revision=61508
Zoltan Varga [Tue, 6 Jun 2006 22:14:41 +0000 (22:14 -0000)]
2006-06-07 Zoltan Varga <vargaz@gmail.com>
* Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
svn path=/trunk/mcs/; revision=61507
Mike Kestner [Tue, 6 Jun 2006 21:48:50 +0000 (21:48 -0000)]
2006-06-06 Mike Kestner <mkestner@novell.com>
* CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
Only invalidate checkbox on checkstate changes to avoid flicker.
* ListBox.cs : avoid unselect/select when clicking selected item.
avoid reselection flicker for already multiselected items.
Fixes #78382.
svn path=/trunk/mcs/; revision=61506
Jackson Harper [Tue, 6 Jun 2006 21:09:33 +0000 (21:09 -0000)]
* MdiWindowManager.cs: When the window is closed do an NCRecalc
* on
the parent form so that the menu is removed if needed.
svn path=/trunk/mcs/; revision=61505
Gonzalo Paniagua Javier [Tue, 6 Jun 2006 20:58:50 +0000 (20:58 -0000)]
2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* File.cs: never throw in Exists.
svn path=/trunk/mcs/; revision=61504
Mike Kestner [Tue, 6 Jun 2006 20:27:49 +0000 (20:27 -0000)]
2006-06-06 Mike Kestner <mkestner@novell.com>
* ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
svn path=/trunk/mcs/; revision=61503
Kornél Pál [Tue, 6 Jun 2006 20:00:08 +0000 (20:00 -0000)]
UnicodeEncoding.cs: Override GetString (byte [], int, int) in profile 1.x as well because performance improvement is worth the signature difference. (Fix regression of r61250.)
svn path=/trunk/mcs/; revision=61502
Zoltan Varga [Tue, 6 Jun 2006 19:00:05 +0000 (19:00 -0000)]
2006-06-06 Zoltan Varga <vargaz@gmail.com>
* mini.c (NEW_AOTCONST_TOKEN): Fix amd64 build.
svn path=/trunk/mono/; revision=61501
Zoltan Varga [Tue, 6 Jun 2006 18:25:12 +0000 (18:25 -0000)]
2006-06-06 Zoltan Varga <vargaz@gmail.com>
* mini.c (type_from_stack_type): Disable some changes which do not
seem to work.
* driver.c: Reenable opts.
svn path=/trunk/mono/; revision=61500
Mike Kestner [Tue, 6 Jun 2006 18:13:44 +0000 (18:13 -0000)]
2006-06-06 Mike Kestner <mkestner@novell.com>
* CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
svn path=/trunk/mcs/; revision=61499
Jackson Harper [Tue, 6 Jun 2006 17:48:17 +0000 (17:48 -0000)]
- Set the titlebar button locations as soon as they are created,
otherwise they are not set correctly on win32.
svn path=/trunk/mcs/; revision=61498