Paolo Molaro [Wed, 15 Mar 2006 15:33:10 +0000 (15:33 -0000)]
Wed Mar 15 16:31:38 CET 2006 Paolo Molaro <lupus@ximian.com>
* icall.c, threads-types.h, threads.c: implemented finalizer for
LocalDataStoreSlot.
svn path=/trunk/mono/; revision=58017
Vladimir Krasnov [Wed, 15 Mar 2006 15:25:55 +0000 (15:25 -0000)]
* ControlCollection.cs: fixed CopyTo method, fixes bug when if target index is not zero
svn path=/trunk/mcs/; revision=58016
Atsushi Eno [Wed, 15 Mar 2006 14:43:45 +0000 (14:43 -0000)]
2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
* XslTransformProcessor.cs,
Compiler.cs : eliminate ExpressionStore. Now sorting is done
inside XslSortEvaluator.
* XslSortEvaluator.cs : new file. It handles current node in XSLT
context. Fixed bug #77781.
* Expression.cs : extracted XPathSortElement, XPathSorters
and XPathSorter from CompiledExpression, and split
XPathSorters.Sort() into some methods. Those changes are to make
them reusable in XslSortEvaluator.
* System.Xml.dll.sources : added XslSortEvaluator.cs.
* knownFailures.txt : removed two xsl:sort+current() tests.
svn path=/trunk/mcs/; revision=58015
Vladimir Krasnov [Wed, 15 Mar 2006 13:15:29 +0000 (13:15 -0000)]
* ServletWorkerRequest.jvm.cs: fixed ctor, UrlDecode applied on requested url
fixed GetRawUrl, removed protocol, hostname and port
fixed GetUriPath, _requestUri is always initialized
svn path=/trunk/mcs/; revision=58013
Vladimir Krasnov [Wed, 15 Mar 2006 12:35:48 +0000 (12:35 -0000)]
* System.Web.Services.vmwcsproj: fixed links to Consts.cs, Locale.cs and MonoTODOAttribute.cs
svn path=/trunk/mcs/; revision=58012
Vladimir Krasnov [Wed, 15 Mar 2006 12:21:09 +0000 (12:21 -0000)]
* SoapExtension.cs: fixed ExecuteProcessMessage signature, added stream parameter in order to update SoapMessage stream
* SoapMessage.cs: removed unused ctor, added internal property to set SoapMessage's stream member
* HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs: updated usage of ExecuteProcessMessage
svn path=/trunk/mcs/; revision=58011
Zoltan Varga [Wed, 15 Mar 2006 12:18:22 +0000 (12:18 -0000)]
2006-03-15 Zoltan Varga <vargaz@gmail.com>
* jit-icalls.h: New file.
* Makefile.am mini.c jit-icalls.c: Use a proper include file for the jit
icalls and include that instead of including jit-icalls.c.
svn path=/trunk/mono/; revision=58010
Vladimir Krasnov [Wed, 15 Mar 2006 11:55:41 +0000 (11:55 -0000)]
* SoapServerMessage.cs: fixed SoapServerMessage constructors to remove quotes from SoapAction http header when initializing local action member
svn path=/trunk/mcs/; revision=58008
Dick Porter [Wed, 15 Mar 2006 11:51:24 +0000 (11:51 -0000)]
2006-03-15 Dick Porter <dick@ximian.com>
* events.c:
* io.c:
* mutexes.c:
* processes.c:
* semaphores.c:
* sockets.c:
* threads.c: Explicitly initialise the handle ops struct
svn path=/trunk/mono/; revision=58006
Vladimir Krasnov [Wed, 15 Mar 2006 11:48:55 +0000 (11:48 -0000)]
* HttpSoapWebServiceHandler.cs, SoapServerMessage.cs: fixed SoapMessage.ContentEncoding that used in ProcessMessage method in SoapExtension
svn path=/trunk/mcs/; revision=58001
Jackson Harper [Wed, 15 Mar 2006 11:31:18 +0000 (11:31 -0000)]
* TabControl.cs: Redraw the tabs when we resize so their newly
calculated sizes are drawn on screen.
svn path=/trunk/mcs/; revision=57996
Jackson Harper [Wed, 15 Mar 2006 11:00:41 +0000 (11:00 -0000)]
* X11Keyboard.cs: Begginnings of XIM support. We also now
* support
composite characters.
* XplatUIX11.cs: Keyboard driver needs to know about focus
* changes
- filter events so that composite characters can be created
patches by peter
* X11Structs.cs: Add XIMProperties enum.
svn path=/trunk/mcs/; revision=57995
Jackson Harper [Wed, 15 Mar 2006 10:57:41 +0000 (10:57 -0000)]
* X11Keyboard.cs: Begginnings of XIM support. We also now
* support
composite characters.
* XplatUIX11.cs: Keyboard driver needs to know about focus
* changes
- filter events so that composite characters can be created
patches by peter
* X11Structs.cs: Add XIMProperties enum.
svn path=/trunk/mcs/; revision=57994
Vladimir Krasnov [Wed, 15 Mar 2006 10:25:48 +0000 (10:25 -0000)]
* HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM, fixed if content length value is less that byte received
svn path=/trunk/mcs/; revision=57993
Atsushi Eno [Wed, 15 Mar 2006 09:09:34 +0000 (09:09 -0000)]
2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
* XslTransformProcessor.cs : in PushNodeset() avoid Clone(). It saves
extra cost, and might avoid possible bug in for-each and current()
evaluation.
svn path=/trunk/mcs/; revision=57992
Jackson Harper [Wed, 15 Mar 2006 07:42:01 +0000 (07:42 -0000)]
* X11Structs.cs: Add XIMProperties enum.
svn path=/trunk/mcs/; revision=57991
Carlos Alberto Cortez [Wed, 15 Mar 2006 07:35:21 +0000 (07:35 -0000)]
2006-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPort.cs: Add basic detection of serial ports and
default serial port.
svn path=/trunk/mcs/; revision=57990
Zoltan Varga [Wed, 15 Mar 2006 02:55:21 +0000 (02:55 -0000)]
2006-03-15 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_output_basic_block): Remove references to
OP_X86 opcodes.
svn path=/trunk/mono/; revision=57988
Peter Dennis Bartok [Wed, 15 Mar 2006 00:21:47 +0000 (00:21 -0000)]
2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (BringToFront, SendToBack): Don't use window or handle
unless it's created
svn path=/trunk/mcs/; revision=57986
Zoltan Varga [Wed, 15 Mar 2006 00:04:16 +0000 (00:04 -0000)]
2006-03-15 Zoltan Varga <vargaz@gmail.com>
* main.c (typedef_flags): Decode TYPE_ATTRIBUTE_FORWARDER.
svn path=/trunk/mono/; revision=57985
Zoltan Varga [Wed, 15 Mar 2006 00:03:37 +0000 (00:03 -0000)]
2006-03-15 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=57984
Zoltan Varga [Wed, 15 Mar 2006 00:03:10 +0000 (00:03 -0000)]
2006-03-15 Zoltan Varga <vargaz@gmail.com>
* AssemblyBuilder.cs (AddTypeForwarder): New internal method for
adding type forwarders to an assembly.
svn path=/trunk/mcs/; revision=57983
Zoltan Varga [Wed, 15 Mar 2006 00:02:24 +0000 (00:02 -0000)]
2006-03-15 Zoltan Varga <vargaz@gmail.com>
* metadata.c (mono_type_size): Add a fixme.
(mono_type_stack_size): Ditto.
* object-internals.h (MonoReflectionAssemblyBuilder): Added
'type_forwarders' field.
* tabledefs.h (TYPE_ATTRIBUTE_FORWARDER): Added new (undocumented) type
attribute from net 2.0.
* object.c (mono_vtable_get_static_field_data): Moved this to object.c
from class.c.
* class.c (mono_class_setup_fields): Fix a warning.
* class.c (mono_class_from_name): Add support for assemblyref entries
in the EXPORTEDTYPE table.
* reflection.c: Add support for handling type forwarders under net 2.0.
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
svn path=/trunk/mono/; revision=57982
Zoltan Varga [Tue, 14 Mar 2006 22:21:44 +0000 (22:21 -0000)]
2006-03-14 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Avoid
overwriting entries in ModuleBuild->types, also clean up the code
a little. Fixes #77774.
svn path=/trunk/mono/; revision=57978
Peter Dennis Bartok [Tue, 14 Mar 2006 21:56:36 +0000 (21:56 -0000)]
2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (PerformLayout): We don't need to consider visiblity
for anchoring, only for docking. This fixes 'whacky' alignment
in listbox and other controls that use implicit scrollbars after
the previous PerformLayout patch
* ListBox.cs: Switched to use implicit scrollbars
svn path=/trunk/mcs/; revision=57977
Mike Kestner [Tue, 14 Mar 2006 21:45:10 +0000 (21:45 -0000)]
2006-03-14 Mike Kestner <mkestner@novell.com>
* ToolBar.cs:
* VScrollBar.cs:
- chain up the "new event" overrides to base and use
OnEvent to raise them. Part of fix for bug #76509.
svn path=/trunk/mcs/; revision=57976
Zoltan Varga [Tue, 14 Mar 2006 20:19:39 +0000 (20:19 -0000)]
2006-03-14 Zoltan Varga <vargaz@gmail.com>
* mini-x86.h mini-codegen.c: Don't constrain byte regs to EAX.
svn path=/trunk/mono/; revision=57974
Paolo Molaro [Tue, 14 Mar 2006 19:42:32 +0000 (19:42 -0000)]
Tue Mar 14 20:23:53 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: when checking for member accessibility, also check for
friend assemblies and for explicit interface implementations.
svn path=/trunk/mono/; revision=57973
Paolo Molaro [Tue, 14 Mar 2006 19:22:40 +0000 (19:22 -0000)]
Tue Mar 14 20:21:18 CET 2006 Paolo Molaro <lupus@ximian.com>
* domain.c, assembly.c, metadata-internals.h, class-internals.h:
load friend assembly info when present.
svn path=/trunk/mono/; revision=57972
Zoltan Varga [Tue, 14 Mar 2006 18:58:09 +0000 (18:58 -0000)]
2006-03-14 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c (mono_local_regalloc): Remove incorrect g_free () calls.
svn path=/trunk/mono/; revision=57971
Alexander Olk [Tue, 14 Mar 2006 18:48:29 +0000 (18:48 -0000)]
2006-03-14 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Do not select an item in the parent directory
on backspace
svn path=/trunk/mcs/; revision=57970
Chris Toshok [Tue, 14 Mar 2006 18:45:08 +0000 (18:45 -0000)]
bored, more compare work in webparts.
svn path=/trunk/mcs/; revision=57969
Sebastien Pouliot [Tue, 14 Mar 2006 18:13:45 +0000 (18:13 -0000)]
TestMatrix.cs: Added new test cases to test libgdiplus validations.
svn path=/trunk/mcs/; revision=57968
Zoltan Varga [Tue, 14 Mar 2006 17:55:26 +0000 (17:55 -0000)]
2006-03-14 Zoltan Varga <vargaz@gmail.com>
* cpu-arm.md cpu-g4.md: Remove x86_ opcodes.
svn path=/trunk/mono/; revision=57965
Zoltan Varga [Tue, 14 Mar 2006 17:37:29 +0000 (17:37 -0000)]
2006-03-14 Zoltan Varga <vargaz@gmail.com>
* mini-x86.h (MONO_ARCH_INST_FIXED_REG): Reorganize the comparisons so
common cases are done first.
* mini-ops.h: Only define platform specific opcodes on the given platform.
* mini.h regalloc.h mini-codegen.c: Merge optimizations from the linear-il
branch.
svn path=/trunk/mono/; revision=57962
Kamil Skalski [Tue, 14 Mar 2006 17:31:40 +0000 (17:31 -0000)]
Add option to specify busy timeout in underlying sqlite structure
svn path=/trunk/mcs/; revision=57961
Martin Baulig [Tue, 14 Mar 2006 17:30:03 +0000 (17:30 -0000)]
Updated.
svn path=/trunk/mcs/; revision=57960
Martin Baulig [Tue, 14 Mar 2006 17:29:34 +0000 (17:29 -0000)]
2006-03-14 Martin Baulig <martin@ximian.com>
Revert Paolo's change from r57348:
* mini.h: don't use gboolean for bitfields.
* mini.c: verifier changes for fields and methods accessibility.
svn path=/trunk/mono/; revision=57959
Dick Porter [Tue, 14 Mar 2006 17:02:39 +0000 (17:02 -0000)]
2006-03-14 Dick Porter <dick@ximian.com>
* handles-private.h:
* wapi-private.h:
* wait.c:
* handles.c: Add a 'prewait' stage to the handle waiting, to give
waiting threads a chance to check for bogus states before
blocking.
* mutexes.c (namedmutex_prewait): Use the prewait stage to check
for named mutexes that have been abandoned in a locked state (eg
if a process exited abnormally while owning the mutex) and
override it if needed.
svn path=/trunk/mono/; revision=57957
Raja R Harinath [Tue, 14 Mar 2006 15:56:18 +0000 (15:56 -0000)]
Fix crasher on gtest-158.cs.
* metadata.c (mono_metadata_parse_type_full): Avoid canonicalizing
the return value if the MonoClass we want is yet in an
inconsistent state.
* class.c (mono_class_create_from_typedef): Add an comment
explaining an order dependency between mono_class_setup_parent and
mono_class_setup_mono_type.
This also reverts r57951, or re-applies r57890 -- however you want to see it :-)
svn path=/trunk/mono/; revision=57954
Martin Baulig [Tue, 14 Mar 2006 13:18:15 +0000 (13:18 -0000)]
2006-03-14 Martin Baulig <martin@ximian.com>
* class.c: Reverted Paolo's fix from r57890.
svn path=/trunk/mono/; revision=57951
Peter Dennis Bartok [Tue, 14 Mar 2006 10:13:20 +0000 (10:13 -0000)]
2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (PerformLayout): It would seem that we considered
invisible windows for our layout. Not quite the right thing
to do. Now we don't any longer, thereby fixing bug #76889.
svn path=/trunk/mcs/; revision=57946
Carlos Alberto Cortez [Tue, 14 Mar 2006 09:03:03 +0000 (09:03 -0000)]
2006-03-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPort.cs:
* SerialPortStream.cs: Change SerialPortStream ctor
parameters and fix some related values.
svn path=/trunk/mcs/; revision=57944
Peter Dennis Bartok [Tue, 14 Mar 2006 07:17:13 +0000 (07:17 -0000)]
2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (CanFocus): I goofed. A control can have focus
even though it's not selectable. Made it match MS docs.
svn path=/trunk/mcs/; revision=57943
Atsushi Eno [Tue, 14 Mar 2006 07:14:35 +0000 (07:14 -0000)]
2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
* iterator.cs : yield break is allowed in try statement which has
catch clauses. Fixed bug #77767.
* test-496.cs,
gtest-256.cs: test for bug #77767.
svn path=/trunk/mcs/; revision=57942
Peter Dennis Bartok [Tue, 14 Mar 2006 06:25:28 +0000 (06:25 -0000)]
2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
* System.Windows.Forms.dll.sources: Added ProgressBarStyle.cs
2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
* ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
center by default (fixes #76895)
* ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
all uses of Border3DSides.All with the explicit ORd together
Left|Right|Top|Bottom because I assume that nobody was aware
that All also implies a center fill. Most places I checked had
a fill right above.
* ProgressBarStyle.cs: Added
svn path=/trunk/mcs/; revision=57941
Mike Kestner [Tue, 14 Mar 2006 05:58:58 +0000 (05:58 -0000)]
2006-03-13 Mike Kestner <mkestner@novell.com>
* ListView.cs: fix breakage in drag shadow header positioning
from Peter's csc compilation fix.
svn path=/trunk/mcs/; revision=57940
Mike Kestner [Tue, 14 Mar 2006 05:53:18 +0000 (05:53 -0000)]
2006-03-13 Mike Kestner <mkestner@novell.com>
* ListView.cs: fix NRE produced by backspacing twice in a focused
FileDialog.
svn path=/trunk/mcs/; revision=57939
Robert Jordan [Tue, 14 Mar 2006 02:13:36 +0000 (02:13 -0000)]
2006-03-14 Robert Jordan <robertj@gmx.net>
* ResourceManagerTest.cs: Reactivated tests. eol-style.
svn path=/trunk/mcs/; revision=57938
Robert Jordan [Tue, 14 Mar 2006 02:04:40 +0000 (02:04 -0000)]
2006-03-14 Robert Jordan <robertj@gmx.net>
* ResourceManager.cs: Don't stop the resource set lookup until
the invariant culture is reached. Fixes bug #77242.
svn path=/trunk/mcs/; revision=57937
Robert Jordan [Tue, 14 Mar 2006 01:12:34 +0000 (01:12 -0000)]
2006-03-14 Robert Jordan <robertj@gmx.net>
* CachedVaryBy.cs: Fixed VaryByParam="*". Replaced request.Param
with QueryString and Form lookups. Made the param name output case
insensitive. Fixes bug #77757.
svn path=/trunk/mcs/; revision=57935
Chris Toshok [Tue, 14 Mar 2006 01:00:39 +0000 (01:00 -0000)]
some interface rework
svn path=/trunk/mcs/; revision=57934
Chris Toshok [Tue, 14 Mar 2006 00:41:16 +0000 (00:41 -0000)]
* HtmlTextWriterTag.cs: no [Serializable] in 2.0.
* HtmlTextWriterAttribute.cs: same.
* HtmlTextWriterStyle.cs: same.
* VirtualReferenceType.cs: new enum.
2006-03-13 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=57933
Peter Dennis Bartok [Tue, 14 Mar 2006 00:10:10 +0000 (00:10 -0000)]
2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
* PrintingServicesUnix.cs: Handle not having a printer
svn path=/trunk/mcs/; revision=57931
Chris Toshok [Tue, 14 Mar 2006 00:07:04 +0000 (00:07 -0000)]
remove unused file
svn path=/trunk/mcs/; revision=57930
Chris Toshok [Mon, 13 Mar 2006 23:54:45 +0000 (23:54 -0000)]
add test for master page references in other directories
svn path=/trunk/mcs/; revision=57929
Chris Toshok [Mon, 13 Mar 2006 23:49:59 +0000 (23:49 -0000)]
2006-03-13 Chris Toshok <toshok@ximian.com>
* BaseCompareValidator.cs (Convert): make the
ValidationDataType.String case a bit more compact.
svn path=/trunk/mcs/; revision=57928
Chris Toshok [Mon, 13 Mar 2006 23:18:54 +0000 (23:18 -0000)]
2006-03-13 Chris Toshok <toshok@ximian.com>
* WebUIValidation.js (CompareValidatorEvaluateIsValid): implement.
svn path=/trunk/mcs/; revision=57925
Chris Toshok [Mon, 13 Mar 2006 23:18:27 +0000 (23:18 -0000)]
add test for client side compare validator
svn path=/trunk/mcs/; revision=57924
Gonzalo Paniagua Javier [Mon, 13 Mar 2006 22:57:58 +0000 (22:57 -0000)]
2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWebRequest.cs: send the request if ContentLength is set for
POST/PUT, the request stream has that exact amount of bytes in it and
we're trying to get the response stream.
This way, closing the request stream is not needed in order to actually
send the request. Fixes bug #77753.
* WebConnectionStream.cs: throw if the number of bytes written is
greater than the specified request content length.
svn path=/trunk/mcs/; revision=57920
Mike Kestner [Mon, 13 Mar 2006 22:50:18 +0000 (22:50 -0000)]
2006-03-13 Mike Kestner <mkestner@novell.com>
* ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
svn path=/trunk/mcs/; revision=57919
Miguel de Icaza [Mon, 13 Mar 2006 22:21:27 +0000 (22:21 -0000)]
Fix suggested by Axel T Schreiner on #77758
svn path=/trunk/mcs/; revision=57917
Marek Safar [Mon, 13 Mar 2006 22:17:21 +0000 (22:17 -0000)]
2006-03-13 Marek Safar <marek.safar@seznam.cz>
A fix for #77593, #77574.
* class.cs (MethodCore.CheckBase): Another if for operator.
svn path=/trunk/mcs/; revision=57916
Peter Dennis Bartok [Mon, 13 Mar 2006 22:15:49 +0000 (22:15 -0000)]
2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
* Hwnd.cs: Added fixed_size field to track windows whose size cannot
be changed
* XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
the allowed size before making programmatic size changes
svn path=/trunk/mcs/; revision=57915
Neale Ferguson [Mon, 13 Mar 2006 22:03:39 +0000 (22:03 -0000)]
* s390x-codegen.h: Fix immediate checks.
svn path=/trunk/mono/; revision=57914
Peter Dennis Bartok [Mon, 13 Mar 2006 22:01:51 +0000 (22:01 -0000)]
2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
set, metacity is broken and will still use the emty sizes in
the struct. (Fix for #77089)
svn path=/trunk/mcs/; revision=57913
Neale Ferguson [Mon, 13 Mar 2006 21:34:31 +0000 (21:34 -0000)]
* mini-s390x.h: Fix calls to mono_call_inst_add_outarg_reg.
* mini-s390x.c: Fix conv_r_un.
* cpu-s390x.md: Fix lengths.
svn path=/trunk/mono/; revision=57911
Chris Toshok [Mon, 13 Mar 2006 21:29:02 +0000 (21:29 -0000)]
2006-03-13 Chris Toshok <toshok@ximian.com>
* TemplateControlCompiler.cs (InitMethod): when generating the
call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
argument to it. Only do that if the class we're compiling is
actually a subclass of Page. If it's not, pass this.Page.
svn path=/trunk/mcs/; revision=57910
Chris Toshok [Mon, 13 Mar 2006 21:27:00 +0000 (21:27 -0000)]
2006-03-13 Chris Toshok <toshok@ximian.com>
* UserControl.cs: rework InitializeAsUserControl and
InitializeAsUserControlInternal - the Internal variety doesn't set
this.page to null now.
* MasterPage.cs (CreateMasterPage): map the masterPageFile path,
and also remove a line of spew.
svn path=/trunk/mcs/; revision=57909
Miguel de Icaza [Mon, 13 Mar 2006 20:58:14 +0000 (20:58 -0000)]
Update
svn path=/trunk/mono/; revision=57908
Miguel de Icaza [Mon, 13 Mar 2006 20:58:07 +0000 (20:58 -0000)]
2006-03-13 Miguel de Icaza <miguel@novell.com>
* MacPack.cs: Remove Mono.GetOptions to provide better handling of
the command line and better error reporting.
svn path=/trunk/mcs/; revision=57907
Gonzalo Paniagua Javier [Mon, 13 Mar 2006 20:56:16 +0000 (20:56 -0000)]
2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ListBox.cs:
(RenderContents): don't call base.RenderContents. Fixes bug #77740.
Patch by Hubert Fongarnand.
svn path=/trunk/mcs/; revision=57905
Marek Safar [Mon, 13 Mar 2006 20:55:53 +0000 (20:55 -0000)]
manually synchronized with 56802
svn path=/trunk/mcs/; revision=57904
Peter Dennis Bartok [Mon, 13 Mar 2006 20:48:49 +0000 (20:48 -0000)]
2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIStructs.cs: Split WindowStyles into WindowStyles and
WindowExStyles and marked both enums as Flags
* Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
to match WindowStyles split
* XplatUIX11.cs:
- SetWMStyles: Added cehck to not apply WM attributes to Child windows
- Updated to match WindowStyles split
* XplatUIWin32.cs:
- Fixed FosterParent creation, was using ExStyle on the Style field
(This should help with Popup focus issues)
- Updated to match WindowStyles split
svn path=/trunk/mcs/; revision=57903
Neale Ferguson [Mon, 13 Mar 2006 20:42:56 +0000 (20:42 -0000)]
* mini-s390.h: Fix calls to mono_call_inst_add_outarg_reg.
svn path=/trunk/mono/; revision=57902
Paolo Molaro [Mon, 13 Mar 2006 20:14:04 +0000 (20:14 -0000)]
Mon Mar 13 21:13:27 CET 2006 Paolo Molaro <lupus@ximian.com>
* class.c: documentation updates and events bug fix.
svn path=/trunk/mono/; revision=57901
Marek Safar [Mon, 13 Mar 2006 19:45:03 +0000 (19:45 -0000)]
manually synchronized with 56802
svn path=/trunk/mcs/; revision=57899
Marek Safar [Mon, 13 Mar 2006 19:25:48 +0000 (19:25 -0000)]
manually synchronized with 56802
svn path=/trunk/mcs/; revision=57897
Sebastien Pouliot [Mon, 13 Mar 2006 18:29:05 +0000 (18:29 -0000)]
2006-03-13 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added new test cases for SetMarkers,
ClearMarkers, CloseFigure and CloseAllFigures on an empty path.
svn path=/trunk/mcs/; revision=57896
Vladimir Krasnov [Mon, 13 Mar 2006 17:33:02 +0000 (17:33 -0000)]
* FontInfo.cs: fixed CopyFrom, this method should not reset the received fontinfo if it is the same instance
fixed ToString, corrected output where only font size specified
svn path=/trunk/mcs/; revision=57894
Paolo Molaro [Mon, 13 Mar 2006 16:28:49 +0000 (16:28 -0000)]
Mon Mar 13 17:28:07 CET 2006 Paolo Molaro <lupus@ximian.com>
* class.c: some cleanup, locking fixes.
svn path=/trunk/mono/; revision=57893
Boris Kirzner [Mon, 13 Mar 2006 13:07:35 +0000 (13:07 -0000)]
Added automated testing support for TARGET_JVM
svn path=/trunk/mcs/; revision=57892
Jackson Harper [Mon, 13 Mar 2006 11:22:14 +0000 (11:22 -0000)]
* MdiWindowManager.cs: Use the system menu height. Fixes some
strange sizing issues.
svn path=/trunk/mcs/; revision=57891
Paolo Molaro [Mon, 13 Mar 2006 09:55:39 +0000 (09:55 -0000)]
Mon Mar 13 10:46:17 CET 2006 Paolo Molaro <lupus@ximian.com>
* class.c: fix the generics code to setup nested
type info to the instantiated type (bug #77770).
svn path=/trunk/mono/; revision=57890
Vladimir Krasnov [Mon, 13 Mar 2006 09:26:51 +0000 (09:26 -0000)]
* Style.cs: fixed WriteStyleAttributes to set border style to solid, if it not set but the border has width
fixes in CopyFrom, MergeWith correct unit compare when it has zero value
svn path=/trunk/mcs/; revision=57889
Peter Dennis Bartok [Mon, 13 Mar 2006 02:21:10 +0000 (02:21 -0000)]
2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
* TextBoxBase.cs:
- Scroll to caret after inserting text (#77672)
- Make scroll range one pixel higher, fixes off-by-one error (and
makes underlines visible on the last line)
svn path=/trunk/mcs/; revision=57887
Peter Dennis Bartok [Mon, 13 Mar 2006 00:36:01 +0000 (00:36 -0000)]
2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
the keyboard state from being stuck with keys in 'pressed' state when
focus is switched away via keyboard
* X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
reset the keyboard if no X11 KeyUp events are expected to come
* X11Structs.cs: Switched type of Visible to bool to match driver
svn path=/trunk/mcs/; revision=57886
Peter Dennis Bartok [Sun, 12 Mar 2006 23:30:48 +0000 (23:30 -0000)]
2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- Switched caret to be just 1 pixel wide, matches MS and looks less
clunky
- Moved caret display 1 pixel down from the top of the control
to improve view
- InsertCharAtCharet: Update the selection start if moving the caret
(fixes bug #77696; based on patch suggested by kazuki@panicode.com)
- No longer always creating the caret when the caret methods are
called. Only the actual ShowCaret/HideCaret will do that now
- Only setting caret visible if the owner control has focus
- UpdateView: Added invalidation-shortcut logic for center and right
aligned text. Previously we'd update all according to the left
logic which caused drawing errors. Also fixed height of invalidated
areas, now properly invalidating the whole area (was off-by-one)
- owner_HandleCreated: Always generate the document when the
handle is created; this ensures that
* TextBoxBase.cs:
- Fixed situation where caret would disappear under the right
window border, also improved scrolling behaviour on left-
aligned textboxes
- Fixed right-aligned textboxes to have a border to the
right instead of the caret being under the right border
* XplatUIX11.cs:
- Switched from 'nested' to simple visible/not visible tracking
for caret (part of fix for #77671)
- No longer passing through translated FocusIn/FocusOut messages
since we were notifying too often and the wrong windows. Instead
we just notify our focussed window of receiving or loosing focus
* XplatUIWin32.cs: Switched from 'nested' show/hide
counting for caret to simple visible yes/no behaviour (part of
fix for #77671)
svn path=/trunk/mcs/; revision=57885
Marek Safar [Sun, 12 Mar 2006 23:16:05 +0000 (23:16 -0000)]
manually synchronized with 56802
svn path=/trunk/mcs/; revision=57884
Miguel de Icaza [Sun, 12 Mar 2006 21:04:08 +0000 (21:04 -0000)]
Patch from Robert Jordan for bug 77253, 2006-01-14 Robert Jordan <robertj@gmx.net>
* ResXResourceReader.cs: Fix for bug #77253. Thanks to Marek Habersack
(grendello@gmail.com).
svn path=/trunk/mcs/; revision=57882
Miguel de Icaza [Sun, 12 Mar 2006 20:58:43 +0000 (20:58 -0000)]
2006-03-12 Robert Jordan <robertj@gmx.net>
* UnixRegistryApi.cs (DeleteValue): Avoid crash, fixes bug
#77772
svn path=/trunk/mcs/; revision=57881
Martin Baulig [Sun, 12 Mar 2006 19:59:55 +0000 (19:59 -0000)]
2006-03-09 Martin Baulig <martin@ximian.com>
* generic.cs (ConstraintChecker.HasDefaultConstructor): Call
TypeManager.DropGenericTypeArguments() on the `atype'; fixes #77548.
svn path=/trunk/mcs/; revision=57879
Zoltan Varga [Sun, 12 Mar 2006 18:32:58 +0000 (18:32 -0000)]
2006-03-12 Zoltan Varga <vargaz@gmail.com>
* TypeTest.cs: Add test for #74947.
svn path=/trunk/mcs/; revision=57877
Zoltan Varga [Sun, 12 Mar 2006 18:32:10 +0000 (18:32 -0000)]
2006-03-12 Zoltan Varga <vargaz@gmail.com>
* Binder.cs: Applied patch from Ben to fix #74947.
svn path=/trunk/mcs/; revision=57876
Zoltan Varga [Sun, 12 Mar 2006 18:00:09 +0000 (18:00 -0000)]
2006-03-12 Zoltan Varga <vargaz@gmail.com>
* List.cs: Applied patch from <kazuki@panicode.com>. Fixes #77504.
svn path=/trunk/mcs/; revision=57874
Vladimir Krasnov [Sun, 12 Mar 2006 17:01:29 +0000 (17:01 -0000)]
* DataGrid.cs: in AddColumnsFromSource method fixed columns from properties of custom class
fixed InitializeNumericPager, pager numbers should be a Label control
fixed CreateControlHierarchy, corrected dataset index of items if paging is enabled
svn path=/trunk/mcs/; revision=57872
Marek Safar [Sun, 12 Mar 2006 16:41:22 +0000 (16:41 -0000)]
manually synchronized with 56802
svn path=/trunk/mcs/; revision=57871
Paolo Molaro [Sun, 12 Mar 2006 16:32:21 +0000 (16:32 -0000)]
Sun Mar 12 17:31:22 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: nested types have access to all the nesting
levels, not just the enclosing types.
svn path=/trunk/mono/; revision=57870
Zoltan Varga [Sun, 12 Mar 2006 16:01:58 +0000 (16:01 -0000)]
2006-03-12 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_allocate_stack_slots_full): Fix handling of MONO_TYPE_GENERICINST.
* mini-ia64.c (get_call_info): Fix handling of MONO_TYPE_GENERICINST.
* inssel-ia64.brg (memset): Optimize memset a bit.
svn path=/trunk/mono/; revision=57869
Paolo Molaro [Sun, 12 Mar 2006 15:24:00 +0000 (15:24 -0000)]
Sun Mar 12 16:23:11 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: added a few more verification checks.
svn path=/trunk/mono/; revision=57868