Jonathan Pryor [Wed, 5 Jan 2005 13:30:33 +0000 (13:30 -0000)]
* serial.c: HPUX compiler fix.
* stdlib.c: Add C-defined macro wrappers.
svn path=/trunk/mono/; revision=38348
Peter Dennis Bartok [Wed, 5 Jan 2005 07:41:45 +0000 (07:41 -0000)]
- Framework code required to implement focus and activation handling;
still incomplete and with debug output
svn path=/trunk/mcs/; revision=38347
Peter Dennis Bartok [Wed, 5 Jan 2005 07:41:12 +0000 (07:41 -0000)]
- Framework code required to implement focus and activation handling;
still incomplete and with debug output
svn path=/trunk/mcs/; revision=38346
Peter Dennis Bartok [Wed, 5 Jan 2005 06:20:12 +0000 (06:20 -0000)]
- Change access level for Document property to match switch to
internal for TextControl
svn path=/trunk/mcs/; revision=38344
Peter Dennis Bartok [Wed, 5 Jan 2005 04:54:32 +0000 (04:54 -0000)]
- Added ComVisible attribute
svn path=/trunk/mcs/; revision=38342
Duncan Mak [Wed, 5 Jan 2005 04:53:21 +0000 (04:53 -0000)]
Fix my last ChangeLog entry
svn path=/trunk/mcs/; revision=38341
Nick Drochak [Tue, 4 Jan 2005 23:31:56 +0000 (23:31 -0000)]
2005-01-05 Nick Drochak <ndrochak@ieee.org>
* ComparerTest.cs: Modernize and fix line endings. Test is failing with
mono, see if this change has any effect.
svn path=/trunk/mcs/; revision=38337
Jackson Harper [Tue, 4 Jan 2005 23:27:17 +0000 (23:27 -0000)]
* X11Keyboard.cs: Remove unneeded var.
svn path=/trunk/mcs/; revision=38336
Jackson Harper [Tue, 4 Jan 2005 23:23:59 +0000 (23:23 -0000)]
* XplatUIX11.cs (DoEvents): Implement, Just cast aside all
events
but PAINT.
* XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
ClientMessage. This makes apps exit cleanly (more often).
svn path=/trunk/mcs/; revision=38335
Peter Dennis Bartok [Tue, 4 Jan 2005 23:20:37 +0000 (23:20 -0000)]
- Updated
svn path=/trunk/mcs/; revision=38334
Peter Dennis Bartok [Tue, 4 Jan 2005 22:58:15 +0000 (22:58 -0000)]
- Added ICommandExecutor.cs, IDataGridColumnStyleEditingNotificationService.cs,
IFeatureSupport.cs, IFileReaderService.cs, AmbientProperties.cs,
NavigateEventArgs.cs, NavigateEventHandler.cs, FeatureSupport.cs,
OSFeature.cs, ErrorBlinkStyle.cs, ListBindingConverter.cs
to System.Windows.Forms.dll.sources
svn path=/trunk/mcs/; revision=38333
Peter Dennis Bartok [Tue, 4 Jan 2005 22:57:05 +0000 (22:57 -0000)]
- Added various attributes
- Implemented FeatureSupport and added Themes feature support
to our theme interface
- Added ICommandExecutor.cs, IDataGridColumnStyleEditingNotificationService.cs,
IFeatureSupport.cs, IFileReaderService.cs, AmbientProperties.cs,
NavigateEventArgs.cs, NavigateEventHandler.cs, FeatureSupport.cs,
OSFeature.cs, ListBindingConverter.cs, ErrorBlinkStyle.cs
svn path=/trunk/mcs/; revision=38332
Jackson Harper [Tue, 4 Jan 2005 22:16:16 +0000 (22:16 -0000)]
* TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com)
for
handling focus, return correct colors and fonts,
* TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
handle selection, horizontal scrolling, and mouse interaction.
svn path=/trunk/mcs/; revision=38330
Jonathan Pryor [Tue, 4 Jan 2005 20:25:16 +0000 (20:25 -0000)]
* configure.in: Add check for vsnprintf.
svn path=/trunk/mono/; revision=38327
Jonathan Pryor [Tue, 4 Jan 2005 20:18:09 +0000 (20:18 -0000)]
* stdio.c: Add wrapper for C99's snprintf(3).
svn path=/trunk/mono/; revision=38326
Peter Dennis Bartok [Tue, 4 Jan 2005 19:31:18 +0000 (19:31 -0000)]
- Switched Line, LineTag and Document classes to internal
svn path=/trunk/mcs/; revision=38325
Sebastien Pouliot [Tue, 4 Jan 2005 19:28:46 +0000 (19:28 -0000)]
2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
* IsVolatile.cs: Fix errors in corcompare (HEAD versus 1.1 and 2.0).
It seems that the file was replaced for 2.0, which broke 1.1 build and
was then fixed (build-wise) but introduced corcompare errors on both
1.1 and 2.0. The MONO-1-0 branch wasn't affected.
svn path=/trunk/mcs/; revision=38324
Sebastien Pouliot [Tue, 4 Jan 2005 17:55:06 +0000 (17:55 -0000)]
2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
* CodeGroup.cs: Removed FIXME as this was fixed (when?) in [g]mcs.
svn path=/trunk/mcs/; revision=38320
Zoltan Varga [Tue, 4 Jan 2005 17:01:18 +0000 (17:01 -0000)]
2005-01-04 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.h (MONO_ARCH_ENABLE_EMIT_STATE_OPT): Enable this on x86.
svn path=/trunk/mono/; revision=38319
Zoltan Varga [Tue, 4 Jan 2005 17:00:44 +0000 (17:00 -0000)]
2005-01-04 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c cpu-pentium.md: More fixes for usage of global registers.
svn path=/trunk/mono/; revision=38318
Sebastien Pouliot [Tue, 4 Jan 2005 16:20:04 +0000 (16:20 -0000)]
2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
* CryptoStreamTest.cs: Undo some previous fixes that have changed from
2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
again with Dec.
svn path=/trunk/mcs/; revision=38317
Zoltan Varga [Tue, 4 Jan 2005 16:10:55 +0000 (16:10 -0000)]
2005-01-04 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c (mono_arch_local_regalloc): Port some regalloc fixes
related to global registers from the amd64 port.
svn path=/trunk/mono/; revision=38316
Jordi Mas i Hernandez [Tue, 4 Jan 2005 16:09:42 +0000 (16:09 -0000)]
More ComboBox work
svn path=/trunk/mcs/; revision=38315
Peter Dennis Bartok [Tue, 4 Jan 2005 15:55:36 +0000 (15:55 -0000)]
- Using proper font variable now
svn path=/trunk/mcs/; revision=38314
Rafael Teixeira [Tue, 4 Jan 2005 15:15:21 +0000 (15:15 -0000)]
2005-01-04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/OptionList.cs: Corrected wrong assumption on string length that caused a exception when a single-dash argument
was being normalized. Now a single-dash is returned a non-processed argument.
The app driver has to deal with it if it should carry any specific meaning. Bug # 70480
svn path=/trunk/mcs/; revision=38312
Sebastien Pouliot [Tue, 4 Jan 2005 14:18:58 +0000 (14:18 -0000)]
2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSetTest.cs, SecurityManagerTest.cs: Adjusted unit tests so
they now execute without errors on 2.0 Dec CTP.
svn path=/trunk/mcs/; revision=38311
Sebastien Pouliot [Tue, 4 Jan 2005 14:11:00 +0000 (14:11 -0000)]
2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
* GacIdentityPermissionTest.cs, IBuiltInPermissionTest.cs,
PublisherIdentityPermissionAttributeTest.cs,
PublisherIdentityPermissionTest.cs,
SiteIdentityPermissionAttributeTest.cs, SiteIdentityPermissionTest.cs,
StrongNameIdentityPermissionAttributeTest.cs,
StrongNameIdentityPermissionTest.cs,
UrlIdentityPermissionAttributeTest.cs, UrlIdentityPermissionTest.cs,
ZoneIdentityPermissionTest.cs: Adjusted unit tests so they now execute
without errors on 2.0 Dec CTP.
svn path=/trunk/mcs/; revision=38310
Raja R Harinath [Tue, 4 Jan 2005 14:07:35 +0000 (14:07 -0000)]
Fix for forthcoming type-lookup standard-conformance changes.
* StringTest.cs: Don't refer to System.Text.Encoding.ASCII.
Import the System.Text namespace and refer to Encoding.ASCII.
svn path=/trunk/mcs/; revision=38309
Jonathan Pryor [Tue, 4 Jan 2005 14:00:50 +0000 (14:00 -0000)]
* Makefile.am: Rewrite. Remove configure-generated warnings about
multiple _LIBADD and _SOURCES lines. Add support for Win32.
Win32 support is limited to ANSI C functions.
* stdio.c: Don't compile Unix wrappers on Win32.
svn path=/trunk/mono/; revision=38308
Raja R Harinath [Tue, 4 Jan 2005 13:51:10 +0000 (13:51 -0000)]
* Makefile.am (LIBS): Remove. Was overriding results of configure check.
(libMonoPosixHelper_la_LIBADD): List $(GLIB_LIBS) here.
svn path=/trunk/mono/; revision=38307
Raja R Harinath [Tue, 4 Jan 2005 13:50:42 +0000 (13:50 -0000)]
* runtime/Makefile.am (TEST_SUPPORT_FILES): Add $(tmpinst)/bin/mono.
($(tmpinst)/bin/mono): New.
svn path=/trunk/mono/; revision=38306
Jonathan Pryor [Tue, 4 Jan 2005 11:22:51 +0000 (11:22 -0000)]
* Makefile.am: Add libnsl to LIBS. Hopefully this will let sparc link.
* mph.h: Make MPH_INTERNAL conditional on __GNUC__.
svn path=/trunk/mono/; revision=38305
Raja R Harinath [Tue, 4 Jan 2005 09:08:23 +0000 (09:08 -0000)]
* Makefile (DIST_ONLY_SUBDIRS): Remove Managed.Windows.Forms.
svn path=/trunk/mcs/; revision=38304
Peter Dennis Bartok [Tue, 4 Jan 2005 07:16:45 +0000 (07:16 -0000)]
- Added new keyword where required
- Removed unused vars
- Added required overrides for TextControl
- Finished Text property implementation for Text control
- Finished Selection implementation for Text Control
svn path=/trunk/mcs/; revision=38303
Jordi Mas i Hernandez [Tue, 4 Jan 2005 05:51:41 +0000 (05:51 -0000)]
remove unused vars
svn path=/trunk/mcs/; revision=38302
Jackson Harper [Tue, 4 Jan 2005 05:39:29 +0000 (05:39 -0000)]
* ThemeWin32Classic.cs:
* X11Keyboard.cs: Remove unused vars.
svn path=/trunk/mcs/; revision=38301
Peter Dennis Bartok [Tue, 4 Jan 2005 03:54:27 +0000 (03:54 -0000)]
- TextBox and TextBoxBase improvements for Alignment, Selection and
Text property
svn path=/trunk/mcs/; revision=38300
Ben Maurer [Tue, 4 Jan 2005 01:58:21 +0000 (01:58 -0000)]
2005-01-03 Ben Maurer <bmaurer@ximian.com>
* configure.in: Add mono-nunit to output
svn path=/trunk/mono/; revision=38297
Zoltan Varga [Mon, 3 Jan 2005 22:27:24 +0000 (22:27 -0000)]
2005-01-03 Zoltan Varga <vargaz@freemail.hu>
* transform.c (generate): Handle MONO_CLASSCONST.
svn path=/trunk/mono/; revision=38296
Zoltan Varga [Mon, 3 Jan 2005 22:26:55 +0000 (22:26 -0000)]
2005-01-03 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Handle MONO_CLASSCONST.
svn path=/trunk/mono/; revision=38295
Zoltan Varga [Mon, 3 Jan 2005 22:24:19 +0000 (22:24 -0000)]
2005-01-03 Zoltan Varga <vargaz@freemail.hu>
* marshal.c: Use MONO_CLASSCONST instead of MONO_LDPTR in some places,
so methods containing these can be AOTed.
svn path=/trunk/mono/; revision=38294
Zoltan Varga [Mon, 3 Jan 2005 22:23:03 +0000 (22:23 -0000)]
2005-01-03 Zoltan Varga <vargaz@freemail.hu>
* cil-opcodes.xml opcode.def: Add mono_classconst.
svn path=/trunk/mono/; revision=38293
Jonathan Pryor [Mon, 3 Jan 2005 21:29:34 +0000 (21:29 -0000)]
* Makefile.am: Change build order so that support is built before runtime.
This is primarily so that I don't have to wait N hours for mcs to finish
building to find out if I broke the sparc build (again).
svn path=/trunk/mono/; revision=38292
Miguel de Icaza [Mon, 3 Jan 2005 21:02:36 +0000 (21:02 -0000)]
Update
svn path=/trunk/mcs/; revision=38291
Jackson Harper [Mon, 3 Jan 2005 19:21:09 +0000 (19:21 -0000)]
* TreeView.cs:
- Collapse and uncheck all nodes when CheckBoxes is disabled.
- Checkboxes are always aligned to the bottom of the node,
regardless of item height.
- Use the node bounds to draw the text so we can center it when
the item height is greater then the font height.
- Node::Bounds are only the text part of the node.
* TreeNode.cs: New method to combine collapsing and unchecking all
nodes recursively.
svn path=/trunk/mcs/; revision=38285
Sebastien Pouliot [Mon, 3 Jan 2005 19:05:46 +0000 (19:05 -0000)]
2005-01-03 Sebastien Pouliot <sebastien@ximian.com>
* DESCryptoServiceProvider.cs: Refactored ECB/ProcessBlock to allow
TripleDES to be more efficient by using the permutations itself.
* TripleDESCryptoServiceProvider.cs: Removed memory allocation in
Transform's ECB method. Changed code to directly call DES's
permutations. MACTripleDES is now 20% faster (didn't have any other
3DES benchmark on hand) and requires much less memory.
svn path=/trunk/mcs/; revision=38283
Jonathan Pryor [Mon, 3 Jan 2005 16:20:50 +0000 (16:20 -0000)]
* signal.c, stdio.c: Remove "function declaration isn't a prototype" warnings. * unistd.c: Check for presence of gethostname and sethostname.
svn path=/trunk/mono/; revision=38279
Jonathan Pryor [Mon, 3 Jan 2005 16:17:02 +0000 (16:17 -0000)]
* configure.in: Add checks for getdomainname and setdomainname.
svn path=/trunk/mono/; revision=38278
Jonathan Pryor [Mon, 3 Jan 2005 16:07:24 +0000 (16:07 -0000)]
* mph.h, x-struct-str.c: Add "const" to parameters to remove
"warning: passing arg [2|4]...discards qualifiers" message.
svn path=/trunk/mono/; revision=38277
Jonathan Pryor [Mon, 3 Jan 2005 16:01:35 +0000 (16:01 -0000)]
* fstab.c: Remove some sparc compiler warnings.
svn path=/trunk/mono/; revision=38276
Jonathan Pryor [Mon, 3 Jan 2005 14:28:18 +0000 (14:28 -0000)]
* Syscall.cs: Update endfsent() and setfsent() declarations, as these must
now be implemented in MonoPosixHelper.
svn path=/trunk/mcs/; revision=38274
Jonathan Pryor [Mon, 3 Jan 2005 14:23:57 +0000 (14:23 -0000)]
* fstab.c: Solaris doesn't support getfsent(3), but it provides equivalent
functionality in getvfsent(3C). Implement Solaris support.
svn path=/trunk/mono/; revision=38273
Jonathan Pryor [Mon, 3 Jan 2005 14:16:06 +0000 (14:16 -0000)]
* configure.in: Add checks for <fstab.h> and <sys/vfstab.h>.
svn path=/trunk/mono/; revision=38272
Sebastien Pouliot [Mon, 3 Jan 2005 13:33:51 +0000 (13:33 -0000)]
2005-01-03 Sebastien Pouliot <sebastien@ximian.com>
* DESCryptoServiceProvider.cs: Now using pre-computed tables (instead
of using a static constructor to compute them). Not much change
performance-wise unless you used DES but only "a little" ;-). The old
code (who computed the results) is still present but commented,
svn path=/trunk/mcs/; revision=38271
Sureshkumar T [Mon, 3 Jan 2005 12:31:29 +0000 (12:31 -0000)]
2005-01-03 Sureshkumar T <tsureshkumar@novell.com>
* SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
for each execute statement.
svn path=/trunk/mcs/; revision=38270
Nick Drochak [Mon, 3 Jan 2005 04:38:34 +0000 (04:38 -0000)]
2005-01-03 Nick Drochak <ndrochak@gol.com>
* BigIntegerTest.cs: Make tests pass on MS DotNet
svn path=/trunk/mcs/; revision=38264
Nick Drochak [Mon, 3 Jan 2005 04:29:52 +0000 (04:29 -0000)]
2005/01/03 Nick Drochak <ndrochak@ieee.org>
* System.Globalization/TextInfoTest.cs
* System/BitConverterTest.cs.orig
* System/ConvertTest.cs
* System/TypeTest.cs
* System/AppDomainSetupTest.cs
* System/StringTest.cs
* System/BitConverterTest.cs
* System/AppDomainTest.cs
* System.Threading/ThreadTest.cs
* System.Security.Policy/ZoneTest.cs
* System.Runtime.Remoting/SynchronizationAttributeTest.cs
* System.Security.Permissions/FileIOPermissionTest.cs
* System.Security.Permissions/FileIOPermissionAttributeTest.cs
* System.Security.Permissions/SecurityPermissionTest.cs
* System.Reflection.Emit/TypeBuilderTest.cs
* System.Reflection/AssemblyTest.cs:
Make tests pass on MS DotNet
svn path=/trunk/mcs/; revision=38263
Nick Drochak [Mon, 3 Jan 2005 04:18:10 +0000 (04:18 -0000)]
2005/01/03 Nick Drochak <ndrochak@ieee.org>
* library.make: Ingore tests that are not meant to be run on MS DotNet
svn path=/trunk/mcs/; revision=38262
Nick Drochak [Mon, 3 Jan 2005 03:37:42 +0000 (03:37 -0000)]
2005/01/03 Nick Drochak <ndrochak@ieee.org>
* Makefile: added empty target for run-test-ondotnet so cygwin test run will not abort
svn path=/trunk/mcs/; revision=38260
Nick Drochak [Mon, 3 Jan 2005 03:18:41 +0000 (03:18 -0000)]
2005/01/03 Nick Drochak <ndrochak@ieee.org>
* Makefile: added empty target for run-test-ondotnet so cygwin test run will not abort
svn path=/trunk/mcs/; revision=38258
Martin Baulig [Mon, 3 Jan 2005 02:13:46 +0000 (02:13 -0000)]
Update mono_stats.
svn path=/trunk/mono/; revision=38256
Martin Baulig [Mon, 3 Jan 2005 02:13:30 +0000 (02:13 -0000)]
2005-01-03 Martin Baulig <martin@ximian.com>
* loader.c (find_method): Removed the hack for generic instances.
(method_from_memberref): If our parent is a generic instance, pass
its generic type definition to find_method() and then inflate the
method.
(mono_get_method_constrained): Pass the generic type definition to
find_method() and inflate the method later.
* class-internals.h (MonoStats): Added `generic_class_count'.
* icall.c (ves_icall_MonoGenericMethod_get_reflected_type):
Renamed to ves_icall_MonoGenericMethod_get_ReflectedType().
* reflection.c (mono_custom_attrs_from_params): Don't ignore
generic type definitions.
svn path=/trunk/mono/; revision=38255
Martin Baulig [Mon, 3 Jan 2005 02:08:36 +0000 (02:08 -0000)]
2005-01-03 Martin Baulig <martin@ximian.com>
* MonoGenericMethod.cs
(MonoGenericMethod.get_reflected_type): Removed.
(MonoGenericMethod.ReflectedType): Make this an icall.
(MonoGenericCMethod.ReflectedType): Likewise.
svn path=/trunk/mcs/; revision=38254
Jackson Harper [Sun, 2 Jan 2005 23:41:01 +0000 (23:41 -0000)]
* TreeView.cs: Draw checkmarks, handle detecting check mark clicks
* TreeNode.cs: Add a bounding box for the checkbox, refresh the
tree when a check is changed. TODO: Only refresh the checked node.
svn path=/trunk/mcs/; revision=38243
Zoltan Varga [Sun, 2 Jan 2005 23:38:25 +0000 (23:38 -0000)]
2005-01-03 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c (mono_arch_local_regalloc): Fix some regalloc problems
with global registers.
(mono_arch_output_basic_block): Fix SWITCH in the AOT case.
svn path=/trunk/mono/; revision=38242
Zoltan Varga [Sun, 2 Jan 2005 23:01:22 +0000 (23:01 -0000)]
2005-01-03 Zoltan Varga <vargaz@freemail.hu>
* aot.c (emit_method_code): Fix the 'method emitted as' messages.
svn path=/trunk/mono/; revision=38240
Sebastien Pouliot [Sun, 2 Jan 2005 20:34:25 +0000 (20:34 -0000)]
* SHA256Managed.cs: Removed memory allocation in ProcessBlock method
(now global). This gives up to 5% performance increase when multiple
blocks are being used.
svn path=/trunk/mcs/; revision=38237
Sebastien Pouliot [Sun, 2 Jan 2005 19:00:16 +0000 (19:00 -0000)]
2005-01-02 Sebastien Pouliot <sebastien@ximian.com>
* SHA1CryptoServiceProvider.cs: Removed memory allocation in
ProcessBlock method (now global). This gives up to 8% performance
increase when multiple blocks are being used.
svn path=/trunk/mcs/; revision=38233
Ben Maurer [Sun, 2 Jan 2005 17:38:14 +0000 (17:38 -0000)]
2005-01-02 Ben Maurer <bmaurer@ximian.com>
* Int32.cs: NumberStyles.AllowExponent was supported by the
Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
70469.
svn path=/trunk/mcs/; revision=38231
Geoff Norton [Sun, 2 Jan 2005 17:22:51 +0000 (17:22 -0000)]
2005-01-02 Geoff Norton <gnorton@customerdna.com>
* GraphicsPath.cs: Fixed the AddPoints methods. Fixes bug #70916
svn path=/trunk/mcs/; revision=38230
Jonathan Pryor [Sun, 2 Jan 2005 16:08:51 +0000 (16:08 -0000)]
* stdio.c: More wrapper functions. I missed a few macros... This should
complete all macro's defined in <stdio.h> for C99.
svn path=/trunk/mono/; revision=38227
Zoltan Varga [Sun, 2 Jan 2005 15:27:03 +0000 (15:27 -0000)]
2005-01-02 Zoltan Varga <vargaz@freemail.hu>
* configure.in ikvm-jni Makefile.am: Remove ikvm-jni, since IKVM CVS
now includes its own version.
svn path=/trunk/mono/; revision=38226
Duncan Mak [Sun, 2 Jan 2005 09:16:02 +0000 (09:16 -0000)]
2005-01-01 Duncan Mak <duncan@ximian.com>
* monop.cs (SearchType): Filter out non-public members and return
the number of matches found. Use for loops instead of foreach
loops.
(Main): Jump to `found' if we find only one matching type.
svn path=/trunk/mcs/; revision=38224
Jonathan Pryor [Sat, 1 Jan 2005 23:19:20 +0000 (23:19 -0000)]
* Stdlib.cs, Syscall.cs: Minimize duplicate declarations of
"MonoPosixHelper" for use in DllImport statements.
svn path=/trunk/mcs/; revision=38223
Jonathan Pryor [Sat, 1 Jan 2005 18:32:49 +0000 (18:32 -0000)]
* Stdlib.cs: Don't use C# v2 features; fixes build under CSC.EXE.
svn path=/trunk/mcs/; revision=38222
Atsushi Eno [Fri, 31 Dec 2004 15:29:03 +0000 (15:29 -0000)]
2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
* Base64FormattingOptions.cs : it was not in System namespace.
svn path=/trunk/mcs/; revision=38216
Carlos Alberto Cortez [Fri, 31 Dec 2004 05:26:12 +0000 (05:26 -0000)]
2004-12-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* outline.cs : Add support for enums having types different than int.
svn path=/trunk/mcs/; revision=38215
Zoltan Varga [Thu, 30 Dec 2004 23:48:50 +0000 (23:48 -0000)]
2004-12-31 Zoltan Varga <vargaz@freemail.hu>
* debug-mini.c (encode_value): Fix off-by-one.
* aot.c (encode_value): Likewise.
svn path=/trunk/mono/; revision=38213
Zoltan Varga [Thu, 30 Dec 2004 23:10:42 +0000 (23:10 -0000)]
2004-12-31 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Disable AOT for methods containing LDPTR.
svn path=/trunk/mono/; revision=38210
Zoltan Varga [Thu, 30 Dec 2004 22:37:31 +0000 (22:37 -0000)]
2004-12-30 Zoltan Varga <vargaz@freemail.hu>
* mini.c linear-scan.c: Add a workaround for the mcs crash when using
AOT.
svn path=/trunk/mono/; revision=38209
Jonathan Pryor [Thu, 30 Dec 2004 21:30:01 +0000 (21:30 -0000)]
* Syscall.cs: Add [Obsolete] to Syscall, letting users know they should
use Mono.Unix.Syscall (and related types) instead. Mono.Posix.Syscall
is effectively unmaintained, and should not be used.
svn path=/trunk/mcs/; revision=38208
Zoltan Varga [Thu, 30 Dec 2004 21:24:20 +0000 (21:24 -0000)]
2004-12-30 Zoltan Varga <vargaz@freemail.hu>
* loader.c icall.c: Fix warnings.
svn path=/trunk/mono/; revision=38207
Zoltan Varga [Thu, 30 Dec 2004 21:10:38 +0000 (21:10 -0000)]
2004-12-30 Zoltan Varga <vargaz@freemail.hu>
* aot.c (mono_aot_load_method): Free up patch info if no longer needed.
svn path=/trunk/mono/; revision=38206
Jonathan Pryor [Thu, 30 Dec 2004 20:50:31 +0000 (20:50 -0000)]
* Stdlib.cs: On miguel's suggestion, rename Sighandler_t to SignalHandler.
svn path=/trunk/mcs/; revision=38205
Jonathan Pryor [Thu, 30 Dec 2004 20:47:08 +0000 (20:47 -0000)]
* Stdlib.cs: Implement all C89 <stdio.h> functions except for the scanf(3)
family. These are too dangerous to expose.
svn path=/trunk/mcs/; revision=38204
Jonathan Pryor [Thu, 30 Dec 2004 20:19:22 +0000 (20:19 -0000)]
* stdio.c: More wrapper functions. This should complete C89's <stdio.h>
requirements.
svn path=/trunk/mono/; revision=38202
Jackson Harper [Thu, 30 Dec 2004 18:52:08 +0000 (18:52 -0000)]
* TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
* TreeNode.cs: When collapsing make sure to never collapse the
root node.
svn path=/trunk/mcs/; revision=38196
Zoltan Varga [Thu, 30 Dec 2004 18:47:57 +0000 (18:47 -0000)]
2004-12-30 Zoltan Varga <vargaz@freemail.hu>
* aot.c (emit_method_info): Increase size of temp buffer.
svn path=/trunk/mono/; revision=38195
Jonathan Pryor [Thu, 30 Dec 2004 18:39:22 +0000 (18:39 -0000)]
* sys-statvfs.c: Further proving that changing code without compiling is
dangerous business... Compiler fix for OS X.
svn path=/trunk/mono/; revision=38194
Duncan Mak [Thu, 30 Dec 2004 17:33:19 +0000 (17:33 -0000)]
Add test-330
svn path=/trunk/mcs/; revision=38193
Duncan Mak [Thu, 30 Dec 2004 17:31:14 +0000 (17:31 -0000)]
2004-12-29 Duncan Mak <duncan@ximian.com>
* cs0246-9.cs: Added to track bug #70758.
* cs1510-3.cs: Added to track bug #70402.
svn path=/trunk/mcs/; revision=38192
Duncan Mak [Thu, 30 Dec 2004 17:28:22 +0000 (17:28 -0000)]
2004-12-30 Duncan Mak <duncan@ximian.com>
* test-330.cs: New test for #70468.
* Makefile (TEST_SOURCES_common): Added test-330.cs
svn path=/trunk/mcs/; revision=38191
Zoltan Varga [Thu, 30 Dec 2004 17:17:20 +0000 (17:17 -0000)]
2004-12-30 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c cpu-pentium.md mini.c: Load fp constants differently in
the AOT case.
svn path=/trunk/mono/; revision=38190
Duncan Mak [Thu, 30 Dec 2004 17:13:52 +0000 (17:13 -0000)]
2004-12-30 Duncan Mak <duncan@ximian.com>
* typemanager.cs (TypeManager.CheckStructCycles): Don't crash here
if field.FieldBuilder is null. Fixes #70758.
svn path=/trunk/mcs/; revision=38189
Duncan Mak [Thu, 30 Dec 2004 17:07:31 +0000 (17:07 -0000)]
2004-12-30 Duncan Mak <duncan@ximian.com>
* convert.cs: Fixed some typos and update some of the names.
(ImplicitStandardConversionExists):
(TryImplicitIntConversion): if target_type is IConvertible,
IComparable or IFormattable, return true / a BoxedCast instead of
failing. This fixes #70468.
svn path=/trunk/mcs/; revision=38188
Jonathan Pryor [Thu, 30 Dec 2004 16:22:04 +0000 (16:22 -0000)]
* signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
svn path=/trunk/mono/; revision=38186
Atsushi Eno [Thu, 30 Dec 2004 14:58:07 +0000 (14:58 -0000)]
2004-12-30 Atsushi Enomoto <atsushi@ximian.com>
* monop.cs : csc build fix (see bug #70185).
svn path=/trunk/mcs/; revision=38184
Jonathan Pryor [Thu, 30 Dec 2004 14:30:42 +0000 (14:30 -0000)]
* CdeclFunctions.cs: Remove warning about unused variable.
* Stdlib.cs: Make signal(2) sane and (hopefully) complete.
* Syscall.cs: Fix cuserid Obsolete message to reference correct class name.
* UnixProcess.cs: Remove warning about unused variable.
* UnixMarshal.cs: Remove warnings about unused variables.
svn path=/trunk/mcs/; revision=38182
Jonathan Pryor [Thu, 30 Dec 2004 13:51:37 +0000 (13:51 -0000)]
* Makefile.am: Add signal.c to the build.
* signal.c: Added. Contains helper functions to wrap signal(2).
svn path=/trunk/mono/; revision=38181
Jonathan Pryor [Thu, 30 Dec 2004 13:01:43 +0000 (13:01 -0000)]
* Syscall.cs: All syscall_ functions should explicitly specify EntryPoint
so that an EntryPointNotFoundException is avoided. Fixes 70706.
svn path=/trunk/mcs/; revision=38179