Marek Safar [Mon, 17 Oct 2005 09:55:12 +0000 (09:55 -0000)]
update
svn path=/trunk/mcs/; revision=51792
Senganal T [Mon, 17 Oct 2005 09:23:19 +0000 (09:23 -0000)]
2005-10-17 Senganal T <tsenganal@novell.com>
* Test/ProviderTests/System.Data.SqlClient/SqlDataAdapterTest.cs :
- Added Testcase for bug #76433.
* In System.Data.Common/DbDataAdapter.cs :
- BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
as returned by database. Fixes bug#76433.
svn path=/trunk/mcs/; revision=51791
Jordi Mas i Hernandez [Mon, 17 Oct 2005 09:13:01 +0000 (09:13 -0000)]
2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
svn path=/trunk/mcs/; revision=51790
Marek Safar [Mon, 17 Oct 2005 08:47:13 +0000 (08:47 -0000)]
2005-10-17 Marek Safar <marek.safar@seznam.cz>
* test-10.cs: More explicit conversion tests.
svn path=/trunk/mcs/; revision=51789
Marek Safar [Mon, 17 Oct 2005 08:25:36 +0000 (08:25 -0000)]
new tests
svn path=/trunk/mcs/; revision=51788
Marek Safar [Mon, 17 Oct 2005 08:14:10 +0000 (08:14 -0000)]
2005-10-17 Marek Safar <marek.safar@seznam.cz>
Fix #76273.
* cfold.cs (BinaryFold): Reduce constant in enum conversion.
* constant.cs (Constant.TryReduce): Moved from Cast class.
(Reduce): Made little bit more OO and fixed missing conversions.
* ecore.cs (Reduce): Implemented.
(Binary.EnumLiftUp): New method to upgrade values to enum values.
* literal.cs (Reduce): Implemented.
svn path=/trunk/mcs/; revision=51787
Marek Safar [Mon, 17 Oct 2005 08:08:33 +0000 (08:08 -0000)]
Fixed Miguel's regression.
svn path=/trunk/mcs/; revision=51786
Ritvik Mayank [Mon, 17 Oct 2005 06:56:40 +0000 (06:56 -0000)]
Added test case for TabControl
svn path=/trunk/mcs/; revision=51785
Peter Dennis Bartok [Mon, 17 Oct 2005 01:51:58 +0000 (01:51 -0000)]
2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Re-implemented anchoring code. My first version was really broken.
This fixes bug #76033. Unlike the previous implementation we will
no longer have round errors since all numbers are calculated from
scratch every time. Removed various anchor-related obsolete vars.
- InitLayout no longer causes layout event firing and layout to be
performed
svn path=/trunk/mcs/; revision=51782
Miguel de Icaza [Mon, 17 Oct 2005 01:44:59 +0000 (01:44 -0000)]
Revert this until I track it down
svn path=/trunk/mcs/; revision=51780
Jackson Harper [Sun, 16 Oct 2005 20:35:09 +0000 (20:35 -0000)]
again
svn path=/trunk/mcs/; revision=51774
Jackson Harper [Sun, 16 Oct 2005 20:26:52 +0000 (20:26 -0000)]
* Hwnd.cs: Compute invalid area correctly (fixes my last commit
which was broken).
svn path=/trunk/mcs/; revision=51773
Jackson Harper [Sun, 16 Oct 2005 19:07:39 +0000 (19:07 -0000)]
* TabControl.cs: Remove debug code.
svn path=/trunk/mcs/; revision=51772
Jackson Harper [Sun, 16 Oct 2005 18:26:11 +0000 (18:26 -0000)]
* XEventQueue.cs: Increase the default queue size (very simple
apps needed to grow the queue).
* Hwnd.cs: No finalizer so we don't need to suppress
finalization. Compute the invalid area manually so a new rectangle
does not newto be created.
* ScrollableControl.cs: Don't set any params (otherwise visibility
isn't set correctly).
* MdiChildContext.cs: New constructor takes the mdi parent so it
doesn't have to be computed and avoids a crash on windows. Draw
the window icon properly, and allow the text to be seen.
* Form.cs: Use new MdiChildContext constructor. Make sure the
child context isn't null in wndproc.
* TabControl.cs: Don't set focus, this is muddling keyboard
behavoir. Expand the tab rows when a window size increase will
allow extra tabs to be seen. Don't allow tabs smaller than the
width of a window to be scrolled out of view.
* TreeNode.cs:
* TreeView.cs: Use measure string to calculate a nodes width, the
width is cached and only updated when the text or the font is
changed. Don't check for expand/collapse clicks on the first level
nodes if root lines are disabled.
svn path=/trunk/mcs/; revision=51769
Zoltan Varga [Sun, 16 Oct 2005 16:25:29 +0000 (16:25 -0000)]
2005-10-16 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.h mini-amd64.c exceptions-amd64.c: Add support for fp
elimination during exception handling. Enable fp elimination by
default.
svn path=/trunk/mono/; revision=51766
Zoltan Varga [Sun, 16 Oct 2005 15:23:36 +0000 (15:23 -0000)]
2005-10-16 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.h mini-amd64.c: Add preliminary support for frame pointer
elimination.
svn path=/trunk/mono/; revision=51765
Zoltan Varga [Sun, 16 Oct 2005 15:21:39 +0000 (15:21 -0000)]
2005-10-16 Zoltan Varga <vargaz@freemail.hu>
* amd64/amd64-codegen.h (AMD64_CALLEE_SAVED_REGS): Add %rbp.
svn path=/trunk/mono/; revision=51764
Ritvik Mayank [Sun, 16 Oct 2005 13:26:43 +0000 (13:26 -0000)]
Added test case for TrackBar
svn path=/trunk/mcs/; revision=51763
Gert Driesen [Sun, 16 Oct 2005 08:49:57 +0000 (08:49 -0000)]
* OracleException.cs: Pass message to base ctor, thereby avoiding
need to override Message property (and fixing API mismatch). Fixed
serialization by also adding code to si.
* OracleCommandBuilder.cs: Removed usage of DataSysDescription to
fix API mismatches.
svn path=/trunk/mcs/; revision=51762
Martin Baulig [Sun, 16 Oct 2005 00:57:52 +0000 (00:57 -0000)]
2005-10-16 Martin Baulig <martin@ximian.com>
* mini-exceptions.c
(mono_debugger_run_finally): New public method for the debugger.
svn path=/trunk/mono/; revision=51754
Gert Driesen [Sat, 15 Oct 2005 16:41:32 +0000 (16:41 -0000)]
* CodeGeneratorTestBase.cs: Generate now returns code that was output,
and takes CodeGeneratorOptions instance in order to support testing
bracing style.
* CodeGeneratorFromCompileUnitTest.cs: Added tests for C bracing style.
* CodeGeneratorFromNamespaceTest.cs: Added tests for C bracing style.
* CodeGeneratorFromExpressionTest.cs: Clean up.
* CodeGeneratorFromTypeTest.cs: Added tests for C bracing style.
* CodeGeneratorTestBase.cs: No longer keep instance of StringWriter to
allow GenerateCodeFromType to be executed multiple times with relying
on user to reset writer. Allow CodeGeneratorOptions to be passed in,
in order to support bracing style tests.
* CodeGeneratorFromTypeTestBase.cs: Modify Generate* methods to take
CodeGeneratorOptions instance and pass it on to GenerateCodeFromType.
* CodeGeneratorFromTypeTest.cs: Reworked tests to pass
CodeGeneratorOptions to Generate* methods.
* CodeGeneratorTestBase.cs: Generate now returns code that was output,
and take CodeGeneratorOptions instance in order to support testing
bracing style.
* CodeGeneratorFromCompileUnitTest.cs: Added tests for C bracing style.
* CodeGeneratorFromNamespaceTest.cs: Added tests for C bracing style.
* CodeGeneratorFromExpressionTest.cs: Clean up.
* CodeGeneratorFromTypeTest.cs: Added tests for C bracing style.
* CSharpCodeGenerator.cs: Support C bracing style. Fixes bug #76286.
svn path=/trunk/mcs/; revision=51753
Zoltan Varga [Sat, 15 Oct 2005 13:14:31 +0000 (13:14 -0000)]
2005-10-15 Zoltan Varga <vargaz@freemail.hu>
* Import 0.84 version of SharpZipLib and merge local changes. This is
needed by newer versions of IKVM.
svn path=/trunk/mcs/; revision=51752
Zoltan Varga [Sat, 15 Oct 2005 13:09:10 +0000 (13:09 -0000)]
Copy 0.84 to trunk.
svn path=/trunk/mcs/; revision=51751
Zoltan Varga [Sat, 15 Oct 2005 13:06:58 +0000 (13:06 -0000)]
2005-10-15 Zoltan Varga <vargaz@freemail.hu>
* ICSharpCode.SharpZipLib: Remove 0.6 version.
svn path=/trunk/mcs/; revision=51750
Ritvik Mayank [Sat, 15 Oct 2005 12:27:36 +0000 (12:27 -0000)]
TextBoxBase.cs: Fixes #76352
svn path=/trunk/mcs/; revision=51745
Atsushi Eno [Sat, 15 Oct 2005 10:38:59 +0000 (10:38 -0000)]
2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs : (DeleteRange, ReplaceRange) so they are not
likely to be implemented, thus MonoTODO.
svn path=/trunk/mcs/; revision=51743
Gert Driesen [Sat, 15 Oct 2005 09:00:27 +0000 (09:00 -0000)]
* TypeTest.cs: Added GetTypeCode test.
svn path=/trunk/mcs/; revision=51742
Ben Maurer [Sat, 15 Oct 2005 02:30:52 +0000 (02:30 -0000)]
keep ctest working (I use it out of habit :-)
svn path=/trunk/mcs/; revision=51739
Miguel de Icaza [Fri, 14 Oct 2005 22:39:42 +0000 (22:39 -0000)]
2005-10-14 Miguel de Icaza <miguel@novell.com>
* codegen.cs (Emit): Add support for generating the
RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true) if the
user did not specify it on all assemblies generated.
Closes #76364
More indentation police.
svn path=/trunk/mcs/; revision=51734
Miguel de Icaza [Fri, 14 Oct 2005 22:39:26 +0000 (22:39 -0000)]
Add new test
svn path=/trunk/mcs/; revision=51733
Zoltan Varga [Fri, 14 Oct 2005 22:07:26 +0000 (22:07 -0000)]
2005-10-15 Zoltan Varga <vargaz@freemail.hu>
* marshal.c: Add generics support to the ldfld/stfld wrappers. Fixes
#76436.
(mono_marshal_get_ldflda_wrapper): Fix a warning.
svn path=/trunk/mono/; revision=51732
Miguel de Icaza [Fri, 14 Oct 2005 21:29:42 +0000 (21:29 -0000)]
Also put these stylistic changes here
svn path=/trunk/mcs/; revision=51731
Miguel de Icaza [Fri, 14 Oct 2005 21:28:23 +0000 (21:28 -0000)]
Indentation
svn path=/trunk/mcs/; revision=51730
Miguel de Icaza [Fri, 14 Oct 2005 20:17:46 +0000 (20:17 -0000)]
2005-10-14 Miguel de Icaza <miguel@novell.com>
* ecore.cs (GetMemberType): Report the correct mapping for the MemberCore
All the other files: add space between the class name and the ':' in a class
declaration
svn path=/trunk/mcs/; revision=51728
Sebastien Pouliot [Fri, 14 Oct 2005 18:21:19 +0000 (18:21 -0000)]
2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
* ServerVariablesCollection.cs: Added a demand for
SerializationFormatter on GetObjectData method (even if it's not
really required in this case as it remove warnings from gendarme.
svn path=/trunk/mcs/; revision=51726
Atsushi Eno [Fri, 14 Oct 2005 17:55:50 +0000 (17:55 -0000)]
oops, extraneous changes are committed.
svn path=/trunk/mono/; revision=51725
Atsushi Eno [Fri, 14 Oct 2005 17:42:16 +0000 (17:42 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* cormissing.xsl, mono-api.xsl, mono-api-diff.cs, mono-api-info.cs :
added support for displaying generic contraint differences.
svn path=/trunk/mcs/; revision=51724
Atsushi Eno [Fri, 14 Oct 2005 17:41:18 +0000 (17:41 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* cormissing.js, cormissing.css, w.gif : added support files for
displaying generic constraint differences.
svn path=/trunk/mono/; revision=51723
Marek Safar [Fri, 14 Oct 2005 15:49:23 +0000 (15:49 -0000)]
new test
svn path=/trunk/mcs/; revision=51721
Atsushi Eno [Fri, 14 Oct 2005 13:53:35 +0000 (13:53 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : another crappy Windows dependent format.
* DateTimeTest.cs : another crappy Windows dependent format.
svn path=/trunk/mcs/; revision=51720
Sureshkumar T [Fri, 14 Oct 2005 13:47:12 +0000 (13:47 -0000)]
In Test/System.Data:
2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
* DataViewTest_IBindingList.cs (FindTest): mark working. According
to printed DataView, the index returned is correct.
In System.Data:
(IBindingList.Find): Implemented.
svn path=/trunk/mcs/; revision=51719
Jonathan Pryor [Fri, 14 Oct 2005 12:59:02 +0000 (12:59 -0000)]
* Stdlib.cs, Syscall.cs: Flush naming convention documentation.
svn path=/trunk/mcs/; revision=51718
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:32:39 +0000 (12:32 -0000)]
* DataGridBoolColumn.cs: fixes warning
2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=51717
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:18:06 +0000 (12:18 -0000)]
Add new unit test
svn path=/trunk/mcs/; revision=51716
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:11:53 +0000 (12:11 -0000)]
2005-11-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ControlPaintTest.cs: Adds ControlPaint test unit for testing Dark
and Light methods
svn path=/trunk/mcs/; revision=51715
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:10:06 +0000 (12:10 -0000)]
2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
to match more to match more precisely the MS Net behavior
svn path=/trunk/mcs/; revision=51714
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:04:45 +0000 (12:04 -0000)]
2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
* SystemColors.cs: Fixes the Win32 light and lightlight colours
svn path=/trunk/mcs/; revision=51713
Jonathan Pryor [Fri, 14 Oct 2005 12:03:56 +0000 (12:03 -0000)]
* NativeConvert.generated.cs: Flush currently generated version.
svn path=/trunk/mcs/; revision=51712
Jonathan Pryor [Fri, 14 Oct 2005 11:58:02 +0000 (11:58 -0000)]
* Makefile.am (MPH_UNIX_SOURCE): Add syslog.c.
* dirent.c, grp.c, pwd.c, signal.c, stdio.c, stdlib.c: Wrap functions which
return `void' so that they instead: (1) return `int', (2) clear errno
before calling the real function, and (3) return -1 if errno changed.
This must be done in native code because calling
Stdlib.SetLastError/Syscall.xxx
from managed code won't work reliably (since errno may change between the
SetLastError call and the actual Syscall invocation).
* unistd.c: Same as above, and allow fpathconf(3), pathconf(3), sysconf(3),
and confstr(3) callers to explicitly choose their own errno value.
* map.c, map.h: Handle enumeration name change in Mono.Unix.Native
(e.g. ConfStr --> ConfstrName, etc.). This is so that they follow the
established naming conventions.
* map-icalls.h: Add new icalls.
* syslog.c: Added; wraps <syslog.h> functions.
svn path=/trunk/mono/; revision=51711
Jonathan Pryor [Fri, 14 Oct 2005 11:57:34 +0000 (11:57 -0000)]
* Mono.Unix/Catalog.cs: Create a constructor and mark it [Obsolete]. It will be made
private after the next release.
* Mono.Unix/UnixFile.cs, UnixStream.cs: Deal with Mono.Unix.Native type name changes.
* Mono.Unix/UnixFileSystemInfo.cs: [Obsolete] more members; Deal with Mono.Unix.Native
type name changes.
* Mono.Unix/Syscall.cs: Create maps for PathConf, SysConf, ConfStr again; fpathconf(),
pathconf(), and sysconf() should call Native.Syscall since the
MonoPosixHelper.so helpers have changed.
* Mono.Unix.Native/make-map.cs: Fix documentation comment.
* Mono.Unix.Native/Stdlib.cs: Fix export of XprintfFunctions.syslog(); make SetLastError()
protected (normal user code shouldn't call it, as it isn't safe);
replace functions which return `void' with functions which return `int'
(adding them to MonoPosixHelper.so as well) -- since users can't reliably
use SetLastError(), they need the "normal" error detection mechanism;
correct the strlen(3) export.
* Mono.Unix.Native/Syscall.cs:
- s/PathConf/PathconfName/, s/SysConf/SysconfName/, s/ConfStr/ConfstrName/
to follow documented enumeration naming conventions.
- replace functions which return `void' with functions which return `int'
(adding them to MonoPosixHelper.so as well) -- since users can't reliably
use SetLastError(), they need the "normal" error detection mechanism;
svn path=/trunk/mcs/; revision=51710
Senganal T [Fri, 14 Oct 2005 09:09:47 +0000 (09:09 -0000)]
2005-10-14 Senganal T <tsenganal@novell.com>
* System.Data.Odbc/OdbcColumn.cs : Changed the mapping of OdbcType.Char to string
instead of char. Fixes bug #67269
svn path=/trunk/mcs/; revision=51707
Senganal T [Fri, 14 Oct 2005 08:56:22 +0000 (08:56 -0000)]
2005-10-14 Senganal T <tsenganal@novell.com>
* Test/ProviderTests/sql/mysql.sql: Added data for testing bug #75032
* Test/ProviderTests/System.Data.Odbc/OdbcDataReaderTest.cs: Added test for bug #75032
* System.Data.Odbc/OdbcDataReader.cs: Added Text and NText datatypes to the list
of datatypes checked by GetValue () method. Fixes bug #75032
svn path=/trunk/mcs/; revision=51706
Atsushi Eno [Fri, 14 Oct 2005 08:01:01 +0000 (08:01 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* cs-parser.jay, expression.cs : CS0214 was missing error location
for constants. Fixed bug #76404.
svn path=/trunk/mcs/; revision=51705
Atsushi Eno [Fri, 14 Oct 2005 07:58:16 +0000 (07:58 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : modified to use stackalloc for byte array.
svn path=/trunk/mcs/; revision=51704
Sureshkumar T [Fri, 14 Oct 2005 07:13:46 +0000 (07:13 -0000)]
* OdbcDataReader.cs (GetValue): Use SQL_CHAR for Numeric as
temporary fix.
svn path=/trunk/mcs/; revision=51703
Sureshkumar T [Fri, 14 Oct 2005 07:10:30 +0000 (07:10 -0000)]
2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
* OdbcParameter.cs (CopyValue): Add support for Numeric & Decimal
parameters.
svn path=/trunk/mcs/; revision=51702
Sureshkumar T [Fri, 14 Oct 2005 06:54:31 +0000 (06:54 -0000)]
(CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
svn path=/trunk/mcs/; revision=51701
Sureshkumar T [Fri, 14 Oct 2005 06:09:05 +0000 (06:09 -0000)]
In functions
(RowStateFilter): Fire ListChangedEvent.
(ApplyDefaultSort): Fire ListChangedEvent.
svn path=/trunk/mcs/; revision=51700
Sureshkumar T [Fri, 14 Oct 2005 05:43:18 +0000 (05:43 -0000)]
2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
* DataView.cs: Correct multiple throwing of events. Patch from
Marc Haisenko.
svn path=/trunk/mcs/; revision=51699
Peter Dennis Bartok [Fri, 14 Oct 2005 05:05:59 +0000 (05:05 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* Hwnd.cs: Added field to track if window is mapped
* XplatUIX11.cs:
- Unmap windows if they become 0-size, re-map when
they are >0 again; fixes #76035
- Re-set our error handler after initializing X11Desktop
to override any error handlers Gtk or whatever was called
may have set.
svn path=/trunk/mcs/; revision=51698
Peter Dennis Bartok [Fri, 14 Oct 2005 04:42:41 +0000 (04:42 -0000)]
- Remove debug output
svn path=/trunk/mcs/; revision=51697
Ben Maurer [Fri, 14 Oct 2005 04:32:02 +0000 (04:32 -0000)]
In System:
2005-10-14 Ben Maurer <bmaurer@ximian.com>
* DateTime.cs: Speed up when parsing date time objects by not
duplicating cultureinfo arrays.
In Test/System.Globalization:
2005-10-14 Ben Maurer <bmaurer@ximian.com>
* DateTimeFormatInfoTest.cs: New test to make sure we do not
return the same array from GetAllDateTimePatterns.
In System.Globalization:
2005-10-14 Ben Maurer <bmaurer@ximian.com>
* DateTimeFormatInfo.cs: Speed up GetAllDateTimePatterns by
caching the result and then cloning it.
svn path=/trunk/mcs/; revision=51696
Peter Dennis Bartok [Fri, 14 Oct 2005 04:27:46 +0000 (04:27 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* CheckedListBox.cs: Removed unused vars
* ListView.cs: Fixed signatures
* RichTextBox.cs: Removed unused vars
* TextBoxBase.cs: Removed unused vars
* XplatUIWin32.cs: Removed unused vars
* XplatUIX11.cs: Removed unused vars
* XplatUI.cs: Updated version and date to latest published
svn path=/trunk/mcs/; revision=51695
Peter Dennis Bartok [Fri, 14 Oct 2005 03:42:33 +0000 (03:42 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* System.Windows.Forms.dll.resources: Added cursors
* build-csproj: Updated to support resources
* SWF.csproj: Updated
* System.Windows.Forms.dll.sources: Removed blank line to support
build-csproj
* System.Windows.Forms_test.dll.sources: Added ControlStyleTest
svn path=/trunk/mcs/; revision=51694
Peter Dennis Bartok [Fri, 14 Oct 2005 03:41:10 +0000 (03:41 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* Cursor.cs: Added private .ctor to work around a bug in
resourceset (Thanks to Geoff Norton for the help on this)
* SplitterEventArgs.cs: Made fields accessible so we don't
waste boatloads of objects and can reuse the same one
in Splitter
* XplatUIWin32.cs(DrawReversibleLine): Now also considers
any captions and borders when generating screen coordinates
* Splitter.cs: Reimplemented control, now fully complete, uses
rubberband drawing, supports and obeys all properties, has
proper cursors
svn path=/trunk/mcs/; revision=51693
Peter Dennis Bartok [Fri, 14 Oct 2005 03:39:10 +0000 (03:39 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* SplitterNS.cur: Added
* SplitterWE.cur: Added
svn path=/trunk/mcs/; revision=51692
Geoff Norton [Fri, 14 Oct 2005 02:02:23 +0000 (02:02 -0000)]
2005-10-13 Geoff Norton <gnorton@customerdna.com>
* MacPack.cs:
PLIST: Support Application Icons
svn path=/trunk/mcs/; revision=51691
Zoltan Varga [Thu, 13 Oct 2005 21:46:25 +0000 (21:46 -0000)]
2005-10-13 Zoltan Varga <vargaz@gmail.com>
* Type.cs (GetTypeCode): Applied patch from
Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
passed in.
svn path=/trunk/mcs/; revision=51687
Peter Dennis Bartok [Thu, 13 Oct 2005 21:21:15 +0000 (21:21 -0000)]
- Fix the build
svn path=/trunk/mcs/; revision=51685
Gonzalo Paniagua Javier [Thu, 13 Oct 2005 21:05:41 +0000 (21:05 -0000)]
2005-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Stdlib.cs: add strlen() to fix the build.
svn path=/trunk/mcs/; revision=51684
Miguel de Icaza [Thu, 13 Oct 2005 19:14:07 +0000 (19:14 -0000)]
2005-10-12 Miguel de Icaza <miguel@novell.com>
* Form.cs (Form): Setup default values for autoscale and
autoscale_base_size; Make these instance variables, not static
variables.
(OnLoad): on the first load, adjust the size of the form.
svn path=/trunk/mcs/; revision=51683
Peter Dennis Bartok [Thu, 13 Oct 2005 19:04:46 +0000 (19:04 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
width argument to DrawReversibleRectangle()
* XplatUIWin32.cs, XplatUIX11.cs:
- Implemented width for DrawReversibleRectangle()
- Added logic to DrawReversibleRectangle that recognizes a zero
width or height and only draws a line in that situation
svn path=/trunk/mcs/; revision=51682
Jonathan Pryor [Thu, 13 Oct 2005 18:23:53 +0000 (18:23 -0000)]
* UnixMarshal.cs: More/better StringToAlloc/PtrToString which take a
System.Text.Encoding instance for proper string marshaling.
- PtrToString(string,Encoding) is particularly tricky due to variable
length encodings.
- Fix StringToAlloc so that it works properly with UTF-16 encodings
(we need a terminating null 16-bit word, not a null byte).
- StringToAlloc overload for doing substrings.
svn path=/trunk/mcs/; revision=51681
Carlos Alberto Cortez [Thu, 13 Oct 2005 08:31:48 +0000 (08:31 -0000)]
2005-10-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* assembly.c metadata-internals.h icall.c: Define an additional
parameter for mono_assembly_name_parse_full, so we can avoid creating
S.R.AssemblyName.Version when no version info wasn't passed.
svn path=/trunk/mono/; revision=51677
Peter Dennis Bartok [Thu, 13 Oct 2005 05:20:37 +0000 (05:20 -0000)]
- Setting eol-style
svn path=/trunk/mcs/; revision=51676
Peter Dennis Bartok [Thu, 13 Oct 2005 05:19:43 +0000 (05:19 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* EventsTab.cs: Made .ctor() private to fix signature
svn path=/trunk/mcs/; revision=51675
César Natarén [Thu, 13 Oct 2005 04:05:35 +0000 (04:05 -0000)]
handle /about
svn path=/trunk/mcs/; revision=51674
Peter Dennis Bartok [Thu, 13 Oct 2005 01:44:08 +0000 (01:44 -0000)]
2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
* XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
* XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
method (it uses our FosterParent window to get a graphics context)
svn path=/trunk/mcs/; revision=51673
Peter Dennis Bartok [Thu, 13 Oct 2005 00:30:42 +0000 (00:30 -0000)]
2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
and SetWindowBackground methods
* Control.cs:
- Setting proper ControlStyles
- We no longer call XplatUI.SetWindowBackground and XplatUI.
EraseWindowBackground, instead we draw the window background
ourselves in PaintControlBackground. This behaviour is
required to match MS, where, when OnPaintBackground is not
called, the background is not drawn.
- Removed unneeded Refresh() in set_Text
* Hwnd.cs: Dropped the ErasePending support. No longer needed
* XplatUIX11.cs:
- Created DeriveStyles method to translate from CreateParams to
FormBorderStyle and TitleStyle, also handles BorderStyle (which
matches FormBorderStyle enum values)
- Consolidated SetHwndStyles and CalculateWindowRect border/title
style calculations into single DeriveStyles method
- Fixed CreateWindow to (finally) use Gravity. This prevents X11
from redrawing the whole window on any resize or expose.
- Fixed CreateWindow usage of SetWindowValuemask. Before not
all styles were applied to our whole/client window appropriately
- Removed EraseWindowBackground() and SetWindowBackground() methods
- Removed handling of WM_ERASEBKGND message from DefWndProc, we
no longer clear/redraw the background through X
- Removed handling of erase_pending bit, we have no use for it (or
so it seems)
* XplatUIOSX.cs:
- Removed generation and handling of WM_ERASEBKGND message
- Removed EraseWindowBackground() and SetWindowBackground() methods
- Removed handling of hwnd.ErasePending flag
* XplatUIWin32.cs:
- Removed EraseWindowBackground() and SetWindowBackground() methods
- We no longer call EraseWindowBackground on PaintEventStart, we
ignore the fErase flag, erasing is handled in Control in the
background handler
* Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
svn path=/trunk/mcs/; revision=51670
Chris Toshok [Wed, 12 Oct 2005 21:59:36 +0000 (21:59 -0000)]
2005-10-12 Chris Toshok <toshok@ximian.com>
* ConfigurationPermission.cs: flesh out as per tests.
svn path=/trunk/mcs/; revision=51665
Chris Toshok [Wed, 12 Oct 2005 20:46:44 +0000 (20:46 -0000)]
2005-10-12 Chris Toshok <toshok@ximian.com>
* System.Configuration/ConfigurationPermissionTest.cs: turn the
Console.WriteLines into actual assertions.
svn path=/trunk/mcs/; revision=51663
Chris Toshok [Wed, 12 Oct 2005 20:34:59 +0000 (20:34 -0000)]
2005-10-12 Chris Toshok <toshok@ximian.com>
* System.Configuration/KeyValueConfigurationCollectionTest.cs: add
some duplicate add tests.
* System.Configuration/CommaDelimitedStringCollectionTest.cs:
correct for 2.0 RC.
* System.Configuration/KeyValueConfigurationElementTest.cs:
correct for 2.0 RC.
svn path=/trunk/mcs/; revision=51662
Jonathan Pryor [Wed, 12 Oct 2005 16:02:08 +0000 (16:02 -0000)]
* UnixStream.cs: Check for EROFS and EINVAL in Flush(). Snorp was getting
an exception when he created a UnixStream around a socket, because
sockets can't be flushed. It should be acceptable to create a UnixStream
around a socket, so don't throw an exception in this scenario.
svn path=/trunk/mcs/; revision=51658
Carlos Guzmán Álvarez [Wed, 12 Oct 2005 13:00:47 +0000 (13:00 -0000)]
Updated sources with latest fixes from Sourceforge
svn path=/trunk/mcs/; revision=51657
Sebastien Pouliot [Wed, 12 Oct 2005 12:57:18 +0000 (12:57 -0000)]
2005-10-12 Sebastien Pouliot <sebastien@ximian.com>
* mozroots.cs: Fix confirmations and "really" import the certificates.
svn path=/trunk/mcs/; revision=51656
Sebastien Pouliot [Wed, 12 Oct 2005 12:56:25 +0000 (12:56 -0000)]
merge my stuff into the man file
svn path=/trunk/mono/; revision=51655
Jonathan Chambers [Wed, 12 Oct 2005 12:03:19 +0000 (12:03 -0000)]
2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGrids.cs: Get sub properties
* PropertyGridView.cs: Fix drawing code
svn path=/trunk/mcs/; revision=51654
Alexandre Rocha Lima e Marcondes [Wed, 12 Oct 2005 04:52:22 +0000 (04:52 -0000)]
2005-10-12 Renato Suga <renato@psl-pr.softwarelivre.org>
* mb-parser.jay: foreach_statement now emits the correct error code for test ForEachC1.vb, which is an error test
svn path=/trunk/mcs/; revision=51651
Miguel de Icaza [Wed, 12 Oct 2005 02:15:28 +0000 (02:15 -0000)]
Add Mozroots man page
svn path=/trunk/mono/; revision=51647
César Natarén [Wed, 12 Oct 2005 00:39:40 +0000 (00:39 -0000)]
update error cause
svn path=/trunk/mcs/; revision=51646
César Natarén [Tue, 11 Oct 2005 23:32:19 +0000 (23:32 -0000)]
2005-10-11 Cesar Lopez Nataren <cnataren@novell.com>
* mjs-most.tests: Add js1_3/Script/in-001.js and js1_3/regress/in-001.js.
svn path=/trunk/mcs/; revision=51643
César Natarén [Tue, 11 Oct 2005 23:31:16 +0000 (23:31 -0000)]
2005-10-11 Cesar Lopez Nataren <cnataren@novell.com>
* CodeGenerator.cs (CodeGenerator): EmitRelationalComp handle 'in'
operator case.
svn path=/trunk/mcs/; revision=51642
César Natarén [Tue, 11 Oct 2005 22:14:11 +0000 (22:14 -0000)]
2005-10-11 Cesar Lopez Nataren <cnataren@novell.com>
* Add support for multiple files compilation. This involved addig
an extra pass into the AST for ensuring the resolve process, this
pass is named PopulateContext. The AST nodes that implement
ICanModifyContext call PopulateContext.
* IdentificationTable.cs: Added class Environment, which is a
symbol table which takes into account namespace info, this is for
package statement future implementation.
svn path=/trunk/mcs/; revision=51640
Sebastien Pouliot [Tue, 11 Oct 2005 20:30:16 +0000 (20:30 -0000)]
Added missing count for removed certificates and a message that the import process is complete
svn path=/trunk/mcs/; revision=51639
Chris Toshok [Tue, 11 Oct 2005 20:28:58 +0000 (20:28 -0000)]
2005-10-11 Chris Toshok <toshok@ximian.com>
* ConfigurationProperty.cs: don't use null to mean no default
value, use NoDefaultValue.
svn path=/trunk/mcs/; revision=51638
Sebastien Pouliot [Tue, 11 Oct 2005 20:24:11 +0000 (20:24 -0000)]
Add mozroots to the scripts
svn path=/trunk/mono/; revision=51637
Sebastien Pouliot [Tue, 11 Oct 2005 20:23:29 +0000 (20:23 -0000)]
2005-10-11 Sebastien Pouliot <sebastien@ximian.com>
* Makefile: Add mozroot to the build.
* mozroots.cs: A new command-line tool to download and import the list
of Mozilla's trusted root certificates into Mono's stores.
svn path=/trunk/mcs/; revision=51636
Chris Toshok [Tue, 11 Oct 2005 20:16:30 +0000 (20:16 -0000)]
2005-10-11 Chris Toshok <toshok@ximian.com>
* KeyValueConfigurationCollection.cs (GetElementKey): duh.
BaseGet calls GetElementKey, so we were hitting an infinite
recursion here. Use BaseIndexOf instead.
svn path=/trunk/mcs/; revision=51635
Gonzalo Paniagua Javier [Tue, 11 Oct 2005 20:03:01 +0000 (20:03 -0000)]
2005-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* io.c: removed NO_SIGPIPE macro.
* sockets.c: no need for MSG_NOSIGNAL or ignoring SIGPIPE.
svn path=/trunk/mono/; revision=51634
Chris Toshok [Tue, 11 Oct 2005 19:10:56 +0000 (19:10 -0000)]
add tests for collections with different add/remove/clear item names
svn path=/trunk/mcs/; revision=51630