Gonzalo Paniagua Javier [Mon, 10 Oct 2005 07:08:36 +0000 (07:08 -0000)]
2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
76373.
svn path=/trunk/mcs/; revision=51501
Miguel de Icaza [Sun, 9 Oct 2005 21:19:30 +0000 (21:19 -0000)]
2005-10-09 Miguel de Icaza <miguel@novell.com>
* Samples/gtk/sysdraw.cs: Fix the sample
svn path=/trunk/mcs/; revision=51498
Gonzalo Paniagua Javier [Sun, 9 Oct 2005 02:14:06 +0000 (02:14 -0000)]
added -z option
svn path=/trunk/mono/; revision=51486
Gonzalo Paniagua Javier [Sun, 9 Oct 2005 02:12:12 +0000 (02:12 -0000)]
2005-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TODO: remove obsolete stuff.
* mkbundle.cs: added -z option so that assemblies are deflated before
being embedded.
* template_z.c: template C code used when -z is used.
* Makefile: add new resource file.
svn path=/trunk/mcs/; revision=51485
Zoltan Varga [Sun, 9 Oct 2005 00:19:56 +0000 (00:19 -0000)]
2005-10-09 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c (mono_handle_exception_internal): Fix another bug
introduced by the previous patch.
svn path=/trunk/mono/; revision=51482
Joshua Tauberer [Sat, 8 Oct 2005 21:01:02 +0000 (21:01 -0000)]
2005-10-07 Joshua Tauberer <tauberer@for.net>
* XmlTextReader.cs: SkipTextDeclaration would not accept processing
instructions that began with the string 'xml', e.g. rejecting
'xml-stylesheet'.
svn path=/trunk/mcs/; revision=51480
Zoltan Varga [Sat, 8 Oct 2005 19:32:12 +0000 (19:32 -0000)]
2005-10-08 Zoltan Varga <vargaz@gmail.com>
* basic-float.cs: Add test for precision of float arithmetic.
* mini-ia64.c (mono_arch_output_basic_block): Convert to/from doubles
when loading/storing single values from/to memory.
svn path=/trunk/mono/; revision=51477
Zoltan Varga [Sat, 8 Oct 2005 18:50:09 +0000 (18:50 -0000)]
2005-10-08 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_compile_method_with_opt): Create the function
pointers in the correct domain.
svn path=/trunk/mono/; revision=51476
Zoltan Varga [Sat, 8 Oct 2005 18:48:38 +0000 (18:48 -0000)]
2005-10-08 Zoltan Varga <vargaz@gmail.com>
* appdomain-unload.cs: Allocate some MBR objects between unloads to
exercise more code.
svn path=/trunk/mono/; revision=51475
Jackson Harper [Sat, 8 Oct 2005 18:20:48 +0000 (18:20 -0000)]
* TreeView.cs: Don't try to find the clicked on node if there are
no nodes in the tree.
svn path=/trunk/mcs/; revision=51474
Zoltan Varga [Sat, 8 Oct 2005 17:44:32 +0000 (17:44 -0000)]
2005-10-08 Zoltan Varga <vargaz@gmail.com>
* XslTransformTests.cs: Remove test which depends on random GC
behaviour.
svn path=/trunk/mcs/; revision=51473
Zoltan Varga [Sat, 8 Oct 2005 15:42:21 +0000 (15:42 -0000)]
2005-10-08 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c (mono_handle_exception_internal): Fix bug
introduced by previous patch.
svn path=/trunk/mono/; revision=51471
Zoltan Varga [Sat, 8 Oct 2005 15:09:41 +0000 (15:09 -0000)]
2005-10-08 Zoltan Varga <vargaz@freemail.hu>
* profiler.c: Add support for allocations > 2GB. Fixes #74886.
svn path=/trunk/mono/; revision=51470
Gert Driesen [Sat, 8 Oct 2005 14:41:34 +0000 (14:41 -0000)]
* XPathNavigator.cs: Removed DebuggerDisplay attribute.
* XPathNodeIterator.cs: Removed DebuggerDisplay attribute.
svn path=/trunk/mcs/; revision=51469
Zoltan Varga [Sat, 8 Oct 2005 12:37:25 +0000 (12:37 -0000)]
2005-10-08 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c (mono_handle_exception_internal): Handle the case
when out_filter_idx is NULL.
svn path=/trunk/mono/; revision=51468
Zoltan Varga [Sat, 8 Oct 2005 12:36:09 +0000 (12:36 -0000)]
2005-10-08 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c: Don't run filter clauses twice during exception
handling. Fixes #75755.
svn path=/trunk/mono/; revision=51467
Gert Driesen [Sat, 8 Oct 2005 11:44:25 +0000 (11:44 -0000)]
* XPathNavigator.cs: [NET_2_0] Added DebuggerDisplay attribute,
added ReplaceRange and DeleteRange methods.
* XPathNodeIterator.cs: [NET_2_0] Added DebuggerDisplay attribute.
svn path=/trunk/mcs/; revision=51466
Gert Driesen [Sat, 8 Oct 2005 11:26:54 +0000 (11:26 -0000)]
* XsltSettings.cs: Marked sealed.
svn path=/trunk/mcs/; revision=51465
Gert Driesen [Sat, 8 Oct 2005 11:23:54 +0000 (11:23 -0000)]
* XmlAttribute.cs: InnerText and InnerXml do not override getters in
NET_2_0. Removed extra CLSCompliant attribute on SchemaInfo.
* XmlReaderSettings.cs: Marked sealed.
svn path=/trunk/mcs/; revision=51464
Sureshkumar T [Sat, 8 Oct 2005 10:08:20 +0000 (10:08 -0000)]
2005-10-08 Sureshkumar T <tsureshkumar@novell.com>
* System.Data.dll.sources: added
System.Data.Odbc/NativeBuffer.cs. native buffer pointer.
In System.Data.Odbc:
* OdbcParameter.cs: re-implemented the native buffer handling and
odbc type handling.
* OdbcCommand.cs (BindParameters): Copy the parameter Value after
binding.
* NativeBuffer.cs: A native buffer class to hold pointer to native
memory.
* OdbcTypeMap.cs (OdbcTypeMap): structure to hold different odbc
types and the default mapping.
* OdbcTypeConverter.cs: Simplified mapping between different odbc
types using switch-case.
* libodbc.cs (SQLBindParameter): use only one entry point and use
IntPtr instead of ref.
svn path=/trunk/mcs/; revision=51463
Gert Driesen [Sat, 8 Oct 2005 10:03:26 +0000 (10:03 -0000)]
* threads.c: remove debug output.
svn path=/trunk/mono/; revision=51462
Sureshkumar T [Sat, 8 Oct 2005 09:57:37 +0000 (09:57 -0000)]
In System.Data.Odbc:
2005-10-08 Sureshkumar T <tsureshkumar@novell.com>
* OdbcParameterTest.cs (OdbcTypeTest): Disconnected Tests for
OdbcParameter class.
In ProviderTests/sql:
2005-10-08 Sureshkumar T <tsureshkumar@novell.com>
* mysql.sql: impact from sqlserver.sql.
In ProviderTests/System.Data.Odbc:
2005-10-08 Sureshkumar T <tsureshkumar@novell.com>
* OdbcParameterTest.cs: Corrections.
svn path=/trunk/mcs/; revision=51461
Gert Driesen [Sat, 8 Oct 2005 09:41:12 +0000 (09:41 -0000)]
* WebConfigurationHost.cs: Added stubs for missing implementation
of IInternalConfigHost to fix build for 2.0 profile.
svn path=/trunk/mcs/; revision=51460
Alexander Olk [Sat, 8 Oct 2005 09:19:55 +0000 (09:19 -0000)]
* RichTextBox.cs:
restore
2005-10-08 Alexander Olk <alex.olk@googlemail.com>
svn path=/trunk/mcs/; revision=51459
Alexander Olk [Sat, 8 Oct 2005 09:12:44 +0000 (09:12 -0000)]
2005-10-08 Alexander Olk <alex.olk@googlemail.com>
* ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
ErrorProvider.cs:
Use ResPool for brushes and dispose System.Drawing objects that
are not used anymore.
svn path=/trunk/mcs/; revision=51458
Zoltan Varga [Sat, 8 Oct 2005 00:14:01 +0000 (00:14 -0000)]
2005-10-08 Zoltan Varga <vargaz@freemail.hu>
* threads.c (mono_thread_manage): Fix crashes if more than 64
threads need to be aborted. Hopefully fixes #75899.
svn path=/trunk/mono/; revision=51455
Zoltan Varga [Fri, 7 Oct 2005 22:46:13 +0000 (22:46 -0000)]
2005-10-08 Zoltan Varga <vargaz@freemail.hu>
* assembly.c (mono_stringify_assembly_name): New helper function.
* class.c: Use mono_stringify_assembly_name instead of the similar
static function.
* assembly.h assembly.c: Add support for calling a postload search
hook if an assembly cannot be loaded.
* appdomain.c: Register new search hooks which call the AssemblyResolve
events in AppDomain. Fixes #75231
svn path=/trunk/mono/; revision=51453
Zoltan Varga [Fri, 7 Oct 2005 22:45:36 +0000 (22:45 -0000)]
2005-10-08 Zoltan Varga <vargaz@freemail.hu>
* assembly.c (mono_stringify_assembly_name): New helper function.
* class.c: Use mono_stringify_assembly_name instead of the similar
static function.
* assembly.h assembly.c: Add support for calling a postload search
hook if an assembly cannot be loaded.
* appdomain.c: Register new search hooks which call the AssemblyResolve
events in AppDomain. Fixes #75231
svn path=/trunk/mono/; revision=51452
Chris Toshok [Fri, 7 Oct 2005 21:28:07 +0000 (21:28 -0000)]
2005-10-07 Chris Toshok <toshok@ximian.com>
* InternalConfigurationHost.cs: some interface work, adding in the
new methods.
* ConfigurationProperty.cs: remove debug spew.
* Configuration.cs: add NIE'd NamespaceDeclared property.
* ElementInformation.cs: add NIE'd Errors property.
* PropertyInformationCollection.cs: add NIE'd GetObjectData().
* ConfigurationManager.cs: quite a bit of new work here. Some
definie TODO's still though.
svn path=/trunk/mcs/; revision=51447
Chris Toshok [Fri, 7 Oct 2005 21:27:53 +0000 (21:27 -0000)]
2005-10-07 Chris Toshok <toshok@ximian.com>
* IInternalConfigHost.cs: add some missing properties/methods.
* IConfigurationManagerInternal.cs: add some missing properties.
* IInternalConfigClientHost.cs: add some missing methods.
* IInternalConfigRoot.cs: add a missing property.
svn path=/trunk/mcs/; revision=51446
Miguel de Icaza [Fri, 7 Oct 2005 21:26:01 +0000 (21:26 -0000)]
Update
svn path=/trunk/mono/; revision=51445
Miguel de Icaza [Fri, 7 Oct 2005 21:25:44 +0000 (21:25 -0000)]
Man
svn path=/trunk/mono/; revision=51444
Miguel de Icaza [Fri, 7 Oct 2005 21:25:31 +0000 (21:25 -0000)]
Patch incorporated from SUSE, Neale reviewed it
svn path=/trunk/mono/; revision=51443
Chris Toshok [Fri, 7 Oct 2005 21:23:27 +0000 (21:23 -0000)]
2005-10-07 Chris Toshok <toshok@ximian.com>
* ProviderCollection.cs: fix compiler warning with Hashtable ctor.
svn path=/trunk/mcs/; revision=51442
Chris Toshok [Fri, 7 Oct 2005 21:07:10 +0000 (21:07 -0000)]
2005-10-07 Chris Toshok <toshok@ximian.com>
* ConfigurationErrorsException.cs (.ctor): for the (string)
overload, chain up to the base (string) ctor.
svn path=/trunk/mcs/; revision=51441
Chris Toshok [Fri, 7 Oct 2005 21:06:27 +0000 (21:06 -0000)]
2005-10-07 Chris Toshok <toshok@ximian.com>
* ConfigurationElement.cs (ElementMap.ReflectProperties): make
sure the type of the default value is compatible with that of the
property itself, and throw ConfigurationErrorsException if they
don't match. Fixes t12.
svn path=/trunk/mcs/; revision=51439
Chris Toshok [Fri, 7 Oct 2005 21:00:47 +0000 (21:00 -0000)]
add both new tests
svn path=/trunk/mcs/; revision=51437
Chris Toshok [Fri, 7 Oct 2005 20:59:38 +0000 (20:59 -0000)]
add test for custom section where the default value's type doesn't match the property
svn path=/trunk/mcs/; revision=51436
Chris Toshok [Fri, 7 Oct 2005 20:57:43 +0000 (20:57 -0000)]
add test of custom section with validator and property attributes
svn path=/trunk/mcs/; revision=51435
Miguel de Icaza [Fri, 7 Oct 2005 20:36:01 +0000 (20:36 -0000)]
Patch incorporated from SUSE, Neale reviewed it
svn path=/trunk/mono/; revision=51434
Miguel de Icaza [Fri, 7 Oct 2005 20:35:15 +0000 (20:35 -0000)]
Patch incorporated from SUSE, Neale reviewed it
svn path=/trunk/mono/; revision=51433
Alexandre Rocha Lima e Marcondes [Fri, 7 Oct 2005 20:14:38 +0000 (20:14 -0000)]
2005-10-07 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* block.cs, statements.cs, expression.cs: Fix ForEach when iterating fields
* Some Test fixes
svn path=/trunk/mcs/; revision=51431
Jackson Harper [Fri, 7 Oct 2005 20:07:13 +0000 (20:07 -0000)]
* MdiChildContext.cs: Use the new borders instead of drawing them
ourselves.
svn path=/trunk/mcs/; revision=51430
Peter Dennis Bartok [Fri, 7 Oct 2005 19:20:49 +0000 (19:20 -0000)]
2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
* FontFamily.cs: Use Marshal.PtrToStringUni to do the string
conversion, it's less overhead than StringBuilder. (Part of the
bugfix for #74871 and #75534)
* gdipFunctions: Changed signature for GdipGetFamilyName to just
have an IntPtr for the buffer
svn path=/trunk/mcs/; revision=51428
Rafael Teixeira [Fri, 7 Oct 2005 18:39:15 +0000 (18:39 -0000)]
2005-10-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* in all versions of test-mbas.make at every depth added line:
RUNTIME_FLAGS = --debug
so that logs for individual test execution give ever so helpful
stacktraces WITH line-numbers when exceptions occur in the compiler.
svn path=/trunk/mcs/; revision=51426
Peter Dennis Bartok [Fri, 7 Oct 2005 18:33:58 +0000 (18:33 -0000)]
2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
* GenerateControlStyleTest.cs: Code to auto-generate the
source file ControlStyleTest.cs
* ControlStyleTest.cs: Tests for testing ControlStyles
svn path=/trunk/mcs/; revision=51424
Sebastien Pouliot [Fri, 7 Oct 2005 17:52:19 +0000 (17:52 -0000)]
Make sure that all CAS tests are ignored if the security manager is off
svn path=/trunk/mcs/; revision=51421
Jordi Mas i Hernandez [Fri, 7 Oct 2005 17:48:48 +0000 (17:48 -0000)]
2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
* Calling UpdateBounds after changing the window's BorderStyle
since the style can change the ClientSize
svn path=/trunk/mcs/; revision=51420
Martin Baulig [Fri, 7 Oct 2005 17:21:19 +0000 (17:21 -0000)]
2005-10-07 Martin Baulig <martin@ximian.com>
* mono-debug.c (mono_debug_add_method): Create a wrapper entry for
methods without debug info.
svn path=/trunk/mono/; revision=51417
Peter Dennis Bartok [Fri, 7 Oct 2005 16:55:41 +0000 (16:55 -0000)]
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Made PaintControlBackground virtual
* Panel.cs: Overriding PaintControlBackground instead of using paint
event; paint event method was interfering with 'real' users of the
event.
svn path=/trunk/mcs/; revision=51415
Zoltan Varga [Fri, 7 Oct 2005 16:31:07 +0000 (16:31 -0000)]
2005-10-07 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System.Runtime.CompilerServices/{RuntimeCompatibilityAttribute.cs, RuntimeWrappedException.cs}.
svn path=/trunk/mcs/; revision=51414
Zoltan Varga [Fri, 7 Oct 2005 16:29:55 +0000 (16:29 -0000)]
2005-10-07 Zoltan Varga <vargaz@gmail.com>
* RuntimeCompatibilityAttribute.cs RuntimeWrappedException.cs: New files.
svn path=/trunk/mcs/; revision=51413
Gonzalo Paniagua Javier [Fri, 7 Oct 2005 16:09:14 +0000 (16:09 -0000)]
2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseCas.cs:
* HttpRequestCas.cs: now that filters are implemented, remove the catch
for NotImplementedException.
svn path=/trunk/mcs/; revision=51410
Gonzalo Paniagua Javier [Fri, 7 Oct 2005 16:01:50 +0000 (16:01 -0000)]
2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs:
* HttpRequest.cs: buglets in error checking in Filter.
svn path=/trunk/mcs/; revision=51409
Zoltan Varga [Fri, 7 Oct 2005 15:35:05 +0000 (15:35 -0000)]
2005-10-07 Zoltan Varga <vargaz@gmail.com>
* DelegateTest.cs: New file.
svn path=/trunk/mcs/; revision=51408
Zoltan Varga [Fri, 7 Oct 2005 15:34:26 +0000 (15:34 -0000)]
2005-10-07 Zoltan Varga <vargaz@gmail.com>
* corlib_test.dll.sources: Add System/DelegateTest.cs
svn path=/trunk/mcs/; revision=51407
Zoltan Varga [Fri, 7 Oct 2005 15:32:43 +0000 (15:32 -0000)]
2005-10-07 Zoltan Varga <vargaz@gmail.com>
* Delegate.cs: Add support for delegate covariance and contravariance
from net 2.0.
svn path=/trunk/mcs/; revision=51406
Jordi Mas i Hernandez [Fri, 7 Oct 2005 14:50:41 +0000 (14:50 -0000)]
2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: remove border drawing since it is handled
by the base control class now and was causing double border drawing.
svn path=/trunk/mcs/; revision=51404
Raja R Harinath [Fri, 7 Oct 2005 14:20:16 +0000 (14:20 -0000)]
In mcs:
Fix #76323.
* convert.cs (ImplicitConversionStandard): Move conversion of
void* to arbitrary pointer types ...
(ExplicitConversionStandard): .. here.
* ecore.cs (Expression.Error_ValueCannotBeConverted): Fix CS0266
error to always print typenames.
In tests:
* test-460.cs: New test.
In errors:
* cs0266-8.cs: New test from #76323.
svn path=/trunk/mcs/; revision=51403
Zoltan Varga [Fri, 7 Oct 2005 14:10:04 +0000 (14:10 -0000)]
2005-10-07 Zoltan Varga <vargaz@gmail.com>
* remoting5.cs: Add test for ldflda on MBR objects.
svn path=/trunk/mono/; revision=51402
Zoltan Varga [Fri, 7 Oct 2005 14:08:25 +0000 (14:08 -0000)]
2005-10-07 Zoltan Varga <vargaz@gmail.com>
* aot.c: Add support for ldflda wrappers.
* mini.c (mono_method_to_ir): Use ldflda wrappers for CEE_LDFLDA. Fixes
#75902.
svn path=/trunk/mono/; revision=51401
Zoltan Varga [Fri, 7 Oct 2005 14:04:11 +0000 (14:04 -0000)]
2005-10-07 Zoltan Varga <vargaz@gmail.com>
* class-internals.h debug-helpers.c marshal.h marshal.c: Add ldflda
wrappers.
svn path=/trunk/mono/; revision=51400
Zoltan Varga [Fri, 7 Oct 2005 13:00:16 +0000 (13:00 -0000)]
2005-10-07 Zoltan Varga <vargaz@gmail.com>
* pinvoke.cs: Remove test loading cygwin1.dll under cygwin.
svn path=/trunk/mono/; revision=51398
Raja R Harinath [Fri, 7 Oct 2005 11:40:09 +0000 (11:40 -0000)]
* convert.cs (GetConversionOperator): Rename from
GetConversionOperators. Move operator selection code from ...
(UserDefinedConversion): ... here.
svn path=/trunk/mcs/; revision=51396
Chris Toshok [Fri, 7 Oct 2005 06:24:31 +0000 (06:24 -0000)]
2005-10-07 Chris Toshok <toshok@ximian.com>
* ConfigHelper.cs: remove some unused code.
* ConfigurationProperty.cs: disambiguate the ctor we chain to.
* ConfigurationElement.cs (ElementProperty): implement.
(ElementMap.ReflectProperties): make DefaultValidator the default
validator, not null.
svn path=/trunk/mcs/; revision=51395
Chris Toshok [Fri, 7 Oct 2005 05:40:24 +0000 (05:40 -0000)]
2005-10-07 Chris Toshok <toshok@ximian.com>
* ConfigHelper.cs: remove some unused code.
* ConfigurationProperty.cs: disambiguate the ctor we chain to.
* ConfigurationElement.cs (ElementProperty): implement.
(ElementMap.ReflectProperties): make DefaultValidator the default
validator, not null.
svn path=/trunk/mcs/; revision=51394
Gonzalo Paniagua Javier [Fri, 7 Oct 2005 04:29:23 +0000 (04:29 -0000)]
2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
bug #76359.
svn path=/trunk/mcs/; revision=51390
Chris Toshok [Fri, 7 Oct 2005 04:04:14 +0000 (04:04 -0000)]
2005-10-06 Chris Toshok <toshok@ximian.com>
* KeyValueConfigurationElement.cs: uncomment out some stuff.
(Properties): just return base.Properties. Not sure why they
override this, as the base class's implementation passes our test.
* KeyValueConfigurationCollection.cs (Add): for the keyValue
overload, call keyValue.Init as the unit test stack traces
indicates that's where it's called. For the string,string
overload, just call the keyValue overload instead of calling
BaseAdd.
(CreateNewElement): just use the name/value ctor, and specify ""
for each.
(GetElementKey): this function always returns "" for elements that
haven't been added to the collection. Once theyre added, it seems
to always return keyValue.Key.
(Properties): the unit tests show this returns a 0 length
collection.
svn path=/trunk/mcs/; revision=51389
Chris Toshok [Fri, 7 Oct 2005 03:20:30 +0000 (03:20 -0000)]
2005-10-06 Chris Toshok <toshok@ximian.com>
* System.Configuration_test.dll.sources: add the
KeyValueConfiguration*Test.cs files.
svn path=/trunk/mcs/; revision=51388
Chris Toshok [Fri, 7 Oct 2005 03:19:05 +0000 (03:19 -0000)]
2005-10-06 Chris Toshok <toshok@ximian.com>
* System.Configuration/KeyValueConfigurationCollectionTest.cs: new
tests.
* System.Configuration/KeyValueConfigurationElementTest.cs: new
tests.
svn path=/trunk/mcs/; revision=51387
Peter Dennis Bartok [Fri, 7 Oct 2005 02:58:58 +0000 (02:58 -0000)]
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Panel.cs: Redraw our background on paint. Not a pretty solution,
but it does seem to match MS behaviour. This fixes bug #75324
svn path=/trunk/mcs/; revision=51386
Peter Dennis Bartok [Fri, 7 Oct 2005 01:47:03 +0000 (01:47 -0000)]
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: A better DrawReversibleRectangle version, however
somewhat hackish looking
svn path=/trunk/mcs/; revision=51385
Peter Dennis Bartok [Fri, 7 Oct 2005 00:32:30 +0000 (00:32 -0000)]
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs:
- We now accept Enter even if AcceptEnter is false, if the containing
form does not have an AcceptButton configured (fixes bug #76355)
- Calculations are now fixed to no longer use Width/Height, but
ClientSize.Width/Height, since we now support borders (this was
a result of fixing borders and therefore bug #76166)
- We no longer show the horizontal scrollbar if TextBox.WordWrap is
true (fixes bug #76354)
svn path=/trunk/mcs/; revision=51383
Peter Dennis Bartok [Thu, 6 Oct 2005 22:58:29 +0000 (22:58 -0000)]
ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
setting borders
svn path=/trunk/mcs/; revision=51382
Peter Dennis Bartok [Thu, 6 Oct 2005 22:57:54 +0000 (22:57 -0000)]
* PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
ListBox.cs: Now uses Control.InternalBorderStyle for setting borders
svn path=/trunk/mcs/; revision=51381
Peter Dennis Bartok [Thu, 6 Oct 2005 22:57:19 +0000 (22:57 -0000)]
* ThemeWin32Classic.cs: Removed border calculations from ListView
drawing code
svn path=/trunk/mcs/; revision=51380
Peter Dennis Bartok [Thu, 6 Oct 2005 22:56:13 +0000 (22:56 -0000)]
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Defaulting BorderStyle and setting it in XplatUI when our window
is created
- Added enum check to InternalBorderStyle setter
* XplatUIX11.cs:
- Added drawing of window borders
- Now properly calculates WM decorations offset for toplevel
windows (fixes bug #74763)
* XplatUIWin32.cs:
- Implemented BorderStyles for windows (we're letting win32 draw
the border for us)
- Fixed the signature for SetWindowLong
* PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs:
Now uses Control.InternalBorderStyle for setting borders
* UpDownBase.cs: Remove drawing of borders, this is handled by
the driver, outside the client area
* ListView.cs: Removed bogus border calculations. The control should
be oblivious to borders, since those are not part of the client
area.
* X11DesktopColors.cs: Commented out (currently) unneeded variables
svn path=/trunk/mcs/; revision=51379
Gert Driesen [Thu, 6 Oct 2005 22:49:14 +0000 (22:49 -0000)]
* CodeGeneratorTypeOutputTest.cs: Added tests for CSharpCodeGenerator.GetTypeOutput.
* CodeTypeReferenceTest.cs: Added tests for multi-dimensional arrays.
* CSharpCodeGenerator.cs: Fixed supported for type arguments in
GetTypeOutput on 2.0 profile. Partial fix for bug #76286.
* CodeTypeReference.cs: Fixed Parse implementation on 1.0 profile.
Added MonoTODO's.
* System_test.dll.sources: Added CodeGeneratorTypeOutputTest.cs
from Test/Microsoft.CSharp.
svn path=/trunk/mcs/; revision=51378
Jackson Harper [Thu, 6 Oct 2005 22:18:28 +0000 (22:18 -0000)]
* MdiChildContext.cs: Clear out the old virtual position remove
all the unneeded calls to CreateGraphics.
svn path=/trunk/mcs/; revision=51377
Gonzalo Paniagua Javier [Thu, 6 Oct 2005 21:10:19 +0000 (21:10 -0000)]
2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* file-io.c: now that we return symlinks, use lstat and, when the file
is a symbolic link, stat, to get the file attributes. Also avoid the
conversion to/from utf16/external.
svn path=/trunk/mono/; revision=51368
Peter Dennis Bartok [Thu, 6 Oct 2005 21:09:10 +0000 (21:09 -0000)]
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs: Use proper color for highlighted text; fixes #76350
svn path=/trunk/mcs/; revision=51367
Peter Dennis Bartok [Thu, 6 Oct 2005 20:57:15 +0000 (20:57 -0000)]
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs:
- Added loading and setting of our new default icon
- Only set icon if window is already created
svn path=/trunk/mcs/; revision=51366
Peter Dennis Bartok [Thu, 6 Oct 2005 20:55:10 +0000 (20:55 -0000)]
2005-10-06 Peter Bartok <pbartok@novell.com>
* System.Windows.Forms.resx: Created and added mono default icon
* System.Windows.Forms.resources.prebuilt: Updated
svn path=/trunk/mcs/; revision=51365
Peter Dennis Bartok [Thu, 6 Oct 2005 20:06:58 +0000 (20:06 -0000)]
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Label.cs:
- Do not explicitly set the foreground and background colors, to
allow inheriting from parents (fixes #76302)
- Use Control's InternalBorderStyle property to deal with borders
svn path=/trunk/mcs/; revision=51362
Jackson Harper [Thu, 6 Oct 2005 19:19:53 +0000 (19:19 -0000)]
* MdiChildContext.cs: Use the new xplatui function to draw a
reversible rect.
svn path=/trunk/mcs/; revision=51359
Sebastien Pouliot [Thu, 6 Oct 2005 18:49:01 +0000 (18:49 -0000)]
2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
* FontInfo.cs: Gendarme strikes again. Sealed class have no need for
inheritance demands.
* FontUnit.cs: Structs are sealed so there's no need for inheritance
demands.
* Unit.cs: Structs are sealed so there's no need for inheritance
demands.
svn path=/trunk/mcs/; revision=51358
Jackson Harper [Thu, 6 Oct 2005 18:46:21 +0000 (18:46 -0000)]
* Form.cs: Add the parent before creating the child context cause
we need the parent when setting up the child.
svn path=/trunk/mcs/; revision=51357
Chris Lahey [Thu, 6 Oct 2005 18:37:04 +0000 (18:37 -0000)]
Fix Sqlite encoding bug.
svn path=/trunk/mcs/; revision=51356
Gonzalo Paniagua Javier [Thu, 6 Oct 2005 18:24:09 +0000 (18:24 -0000)]
2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PagedDataSource.cs: fix the upper bound for collection and ilist
enumarators.
svn path=/trunk/mcs/; revision=51354
Marek Safar [Thu, 6 Oct 2005 16:11:01 +0000 (16:11 -0000)]
2005-10-06 Marek Safar <marek.safar@seznam.cz>
* test-459.cs: New test.
svn path=/trunk/mcs/; revision=51350
Marek Safar [Thu, 6 Oct 2005 16:03:46 +0000 (16:03 -0000)]
2005-10-06 Marek Safar <marek.safar@seznam.cz>
* convert.cs(ExplicitConversionCore): Removed duplicate enum
conversion.
svn path=/trunk/mcs/; revision=51349
Dick Porter [Thu, 6 Oct 2005 16:02:11 +0000 (16:02 -0000)]
fix build
svn path=/trunk/mcs/; revision=51348
Raja R Harinath [Thu, 6 Oct 2005 15:51:12 +0000 (15:51 -0000)]
In gmcs:
Fix gtest-131.cs and gtest-211.cs.
* generic.cs (Nullable.LiftedBinaryOperator.EmitEquality):
Only emit code for a label if it is used. Unreachable code can
violate ECMA evaluation stack invariants.
In tests:
* gtest-211.cs: New test to check that we don't emit unreachable
code that violates execution stack invariants.
svn path=/trunk/mcs/; revision=51347
Sebastien Pouliot [Thu, 6 Oct 2005 15:50:50 +0000 (15:50 -0000)]
2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
* X509Chain.cs: Fixed the case where no chain is present (self signed)
svn path=/trunk/mcs/; revision=51346
Jonathan Pryor [Thu, 6 Oct 2005 15:33:42 +0000 (15:33 -0000)]
* Makefile.am (MPH_C_SOURCE): Add string.c.
* string.c: Added; exports strlen(3) wrapper.
* map-icalls.h: Prototype for strlen(3) wrapper.
svn path=/trunk/mono/; revision=51345
Jonathan Pryor [Thu, 6 Oct 2005 14:59:19 +0000 (14:59 -0000)]
* UnixDirectory.cs, UnixDirectoryInfo.cs UnixFile.cs, UnixFileSystemInfo.cs,
UnixGroupInfo.cs, UnixIOException.cs, UnixStream.cs, UnixUserInfo.cs:
API Review: Obsolete appropriate members and add appropriate overloads for
pending move to Mono.Unix.Native types.
* UnixMarshal.cs: API Review; add StringToAlloc().
svn path=/trunk/mcs/; revision=51341
Martin Baulig [Thu, 6 Oct 2005 14:38:58 +0000 (14:38 -0000)]
Documentation.
svn path=/trunk/mono/; revision=51340
Sebastien Pouliot [Thu, 6 Oct 2005 14:24:17 +0000 (14:24 -0000)]
2006-10-06 Sebastien Pouliot <sebastien@ximian.com>
* ASN1ConvertTest.cs: Adjusted big integer convertion test cases for
both a sign-extended result and a "normal" (not extended) result.
svn path=/trunk/mcs/; revision=51339
Sebastien Pouliot [Thu, 6 Oct 2005 14:22:56 +0000 (14:22 -0000)]
2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
* ASN1Convert.cs: Better handle big integer than cannot be interpreted
as a negative number (don't extend). Fix bug #75778.
svn path=/trunk/mcs/; revision=51338
Sebastien Pouliot [Thu, 6 Oct 2005 14:22:21 +0000 (14:22 -0000)]
2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
* ASN1Convert.cs: Better handle big integer than cannot be interpreted
as a negative number (don't extend). Fix bug #75778.
svn path=/trunk/mcs/; revision=51337