Martin Baulig [Wed, 18 Jan 2006 15:28:08 +0000 (15:28 -0000)]
2006-01-18 Martin Baulig <martin@ximian.com>
* compiler-tester.cs: Added a new "// Dependencies: " magical
comment to provide real dependency tracking.
svn path=/trunk/mcs/; revision=55727
Martin Baulig [Wed, 18 Jan 2006 15:27:08 +0000 (15:27 -0000)]
2006-01-18 Martin Baulig <martin@ximian.com>
* loader.c (find_method_in_class): Added `gboolean is_inflated'
argument; if false, we compare the uninstantiated signatures.
(method_from_memberref): Compare the uninstantiated signatures;
fixes #76417.
svn path=/trunk/mono/; revision=55726
Robert Jordan [Wed, 18 Jan 2006 15:20:23 +0000 (15:20 -0000)]
2006-01-18 Robert Jordan <robertj@gmx.net>
* boehm-gc.c, null-gc.c (mono_gc_weak_link_remove):
Clear the weak link. Fixes bug #77170.
* gc.c (mono_gchandle_free):
Reflect *-gc.c changes (tiny optimization).
svn path=/trunk/mono/; revision=55725
Atsushi Eno [Wed, 18 Jan 2006 14:17:13 +0000 (14:17 -0000)]
2006-01-18 Atsushi Enomoto <atsushi@ximian.com>
* ThreadTest.cs : mark not-working tests as [Ignore] since it blocks
run-test-ondotnet under 2.0 profile.
svn path=/trunk/mcs/; revision=55724
Robert Jordan [Wed, 18 Jan 2006 14:07:14 +0000 (14:07 -0000)]
2006-01-14 Robert Jordan <robertj@gmx.net>
* RegistryKeyTest.cs: Added unit test for bug #77212.
svn path=/trunk/mcs/; revision=55721
Robert Jordan [Wed, 18 Jan 2006 14:06:04 +0000 (14:06 -0000)]
2006-01-14 Robert Jordan <robertj@gmx.net>
* RegistryKey.cs: Added internal IsRoot accessor.
* Win32RegistryApi.cs: Fixed access to RegistryKey.Data.
Fixes bug #77212. Thanks to Don Edvalson (don@edvalson.net)
for spotting this out.
svn path=/trunk/mcs/; revision=55720
Zoltan Varga [Wed, 18 Jan 2006 13:49:40 +0000 (13:49 -0000)]
2006-01-18 Zoltan Varga <vargaz@gmail.com>
* metadata.c (mono_metadata_signature_dup): Applied patch from
Aras Pranckevicius (aras@otee.dk). Fix crash when compiled with MSVC.
Fixes #77288.
svn path=/trunk/mono/; revision=55718
Raja R Harinath [Wed, 18 Jan 2006 11:46:26 +0000 (11:46 -0000)]
Fix #76656, cs0231-2.cs.
* mcs/cs-parser.jay (formal_parameter_list): Make error case catch
more issues.
(parenthesized_expression_0): Add CS1026 check.
(invocation_expression): Remove unused { $$ = lexer.Location }.
* gmcs/cs-parser.jay: Likewise.
* errors/cs1026-2.cs: New test from #76656.
svn path=/trunk/mcs/; revision=55716
Ankit Jain [Wed, 18 Jan 2006 11:31:48 +0000 (11:31 -0000)]
* main.c (typedef_flags): Change 'special-name' to 'specialname'.
svn path=/trunk/mono/; revision=55715
Atsushi Eno [Wed, 18 Jan 2006 10:14:06 +0000 (10:14 -0000)]
2006-01-18 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : corlib_plattest dll is now profile-aware.
svn path=/trunk/mcs/; revision=55714
Raja R Harinath [Wed, 18 Jan 2006 09:45:44 +0000 (09:45 -0000)]
*** merged revisions from mcs: 55631, 55676
svn path=/trunk/mcs/; revision=55713
Atsushi Eno [Wed, 18 Jan 2006 09:09:41 +0000 (09:09 -0000)]
2006-01-18 Atsushi Enomoto <atsushi@ximian.com>
* Path.cs : (GetRandomFileName) use random buffer ;-) It somehow
caused infinite loop on Windows.
svn path=/trunk/mcs/; revision=55712
Konstantin Triger [Wed, 18 Jan 2006 08:57:28 +0000 (08:57 -0000)]
preserve emptiness in ColorFormatter
svn path=/trunk/mcs/; revision=55711
Boris Kirzner [Wed, 18 Jan 2006 08:51:22 +0000 (08:51 -0000)]
Added column and reference caching to ColumnReference.
svn path=/trunk/mcs/; revision=55710
Konstantin Triger [Wed, 18 Jan 2006 08:46:06 +0000 (08:46 -0000)]
preserve user logic when adding client validation
svn path=/trunk/mcs/; revision=55709
Konstantin Triger [Wed, 18 Jan 2006 08:38:04 +0000 (08:38 -0000)]
perform case insensitive compare; return correct key in default case
svn path=/trunk/mcs/; revision=55708
Atsushi Eno [Wed, 18 Jan 2006 08:07:28 +0000 (08:07 -0000)]
2006-01-18 Atsushi Enomoto <atsushi@ximian.com>
* DirectoryInfo.cs : on Windows top directory is something like c:\.
* DirectoryInfoTest.cs : don't expect "/" as a top directory on
Windows.
svn path=/trunk/mcs/; revision=55707
Atsushi Eno [Wed, 18 Jan 2006 06:27:40 +0000 (06:27 -0000)]
2006-01-18 Atsushi Enomoto <atsushi@ximian.com>
* MutexTest.cs : Marked TestWaitAndFoget1 as [Ignore]. Under
.NET 2.0 it breaks nunit-console (breaks its own AppDomain).
svn path=/trunk/mcs/; revision=55706
César Natarén [Wed, 18 Jan 2006 02:26:21 +0000 (02:26 -0000)]
2006-01-17 Cesar Lopez Nataren <cnataren@novell.com>
* Parser.cs: Propagate the proper parent. Fixes #75166.
svn path=/trunk/mcs/; revision=55705
Peter Dennis Bartok [Tue, 17 Jan 2006 23:21:26 +0000 (23:21 -0000)]
2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
* LinkLabel.cs: We need to update the hover drawing when
leaving the control as well.
svn path=/trunk/mcs/; revision=55703
Jordi Mas i Hernandez [Tue, 17 Jan 2006 23:10:15 +0000 (23:10 -0000)]
Clicking on non empty areas in the columns area was giving an exception
svn path=/trunk/mcs/; revision=55702
Jackson Harper [Tue, 17 Jan 2006 23:08:04 +0000 (23:08 -0000)]
* ThemeWin32Classic.cs:
* ListView.cs: Do not draw/clip the headers when the header
* style
is None.
svn path=/trunk/mcs/; revision=55701
Jordi Mas i Hernandez [Tue, 17 Jan 2006 21:52:54 +0000 (21:52 -0000)]
* DataGrid.cs: Fixes 77260
2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
svn path=/trunk/mcs/; revision=55699
Joshua Tauberer [Tue, 17 Jan 2006 21:38:03 +0000 (21:38 -0000)]
StreamReader.cs: Avoid two totally unnecessary string creations. (totally pedantic)
svn path=/trunk/mcs/; revision=55698
Jordi Mas i Hernandez [Tue, 17 Jan 2006 21:33:53 +0000 (21:33 -0000)]
2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
* DataGrid.cs: Clicking on a column on a empty grid was giving
an exception
svn path=/trunk/mcs/; revision=55697
Peter Dennis Bartok [Tue, 17 Jan 2006 21:11:58 +0000 (21:11 -0000)]
2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
* DataGrid.cs (OnKeyDown): Don't use the array if it's empty
or any keypress will crash the grid.
svn path=/trunk/mcs/; revision=55696
Chris Toshok [Tue, 17 Jan 2006 21:09:26 +0000 (21:09 -0000)]
2006-01-17 Chris Toshok <toshok@ximian.com>
* CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
CONFIGURATION_2_0 case.
* HttpRuntime.cs (MachineConfigurationDirectory): same.
svn path=/trunk/mcs/; revision=55695
Zoltan Varga [Tue, 17 Jan 2006 20:53:36 +0000 (20:53 -0000)]
2006-01-17 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_struct_conv): Allow fields with the same offset when
marshalling from native to managed code. Fixes #77230.
svn path=/trunk/mono/; revision=55693
César Natarén [Tue, 17 Jan 2006 18:26:19 +0000 (18:26 -0000)]
2006-01-17 Cesar Lopez Nataren <cnataren@novell.com>
* ast.cs: Added virtual method PropagateParent for recovering a
lost parent or set it up properly if previously set to null. Fixes
#75166.
* Statement.cs (If,Jump,Break.PropagateParent): recover
the proper parent.
svn path=/trunk/mcs/; revision=55688
Mike Kestner [Tue, 17 Jan 2006 17:49:31 +0000 (17:49 -0000)]
2006-01-17 Mike Kestner <mkestner@novell.com>
* MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
* ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
invisible/previously-visible items.
[Fixes #76909]
svn path=/trunk/mcs/; revision=55687
Alexander Olk [Tue, 17 Jan 2006 17:28:36 +0000 (17:28 -0000)]
2006-01-17 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs:
- Added CL_Draw_Button method; now other theme controls that are
not derived from button or do not have a button can draw buttons
too
- Updated ComboBox drawing
- Beautified RadioButton drawing
- Corrected drawing of bottom and left tabs
- Beautified DateTimePicker and MonthCalendar
- Added CPDrawButton and CPDrawRadioButton
svn path=/trunk/mcs/; revision=55685
César Natarén [Tue, 17 Jan 2006 17:15:59 +0000 (17:15 -0000)]
2006-01-17 Cesar Lopez Nataren <cnataren@novell.com>
* expression.cs (Binary.emit_access): Emit late binding code for
member's access that maps to MemberTypes (like Math.pow). Fixes
#72440.
svn path=/trunk/mcs/; revision=55683
Zoltan Varga [Tue, 17 Jan 2006 15:23:53 +0000 (15:23 -0000)]
2006-01-17 Zoltan Varga <vargaz@gmail.com>
* mini.h: Move mono_bitset_test_fast macro to monobitset.h where it belongs.
svn path=/trunk/mono/; revision=55681
Zoltan Varga [Tue, 17 Jan 2006 15:23:07 +0000 (15:23 -0000)]
2006-01-17 Zoltan Varga <vargaz@gmail.com>
* monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
from mini.h. Also fix it after the 64 bit changes.
svn path=/trunk/mono/; revision=55680
Atsushi Eno [Tue, 17 Jan 2006 12:09:08 +0000 (12:09 -0000)]
2006-01-17 Atsushi Enomoto <atsushi@ximian.com>
* DbcsEncoding.cs CP950.cs CP932.cs CP936.cs CP51932.cs CP949.cs :
Made all as really serializable. Removed references to DbcsConvert
and added GetConvert() methods instead.
svn path=/trunk/mcs/; revision=55677
Raja R Harinath [Tue, 17 Jan 2006 12:05:49 +0000 (12:05 -0000)]
Fix #76824.
* mcs/cs-parser.jay (statement_expression): Don't list out the
individual statement-expressions. Convert syntax error into
CS0201 check.
* errors/cs0201-2.cs, errors/cs0201-3.cs: New tests from #76824.
svn path=/trunk/mcs/; revision=55676
Senganal T [Tue, 17 Jan 2006 11:54:14 +0000 (11:54 -0000)]
2006-01-17 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataRowTest2.cs : added testcase for bug #77267
* System.Data/DataRow.cs:
ItemArray : Modified to raise RowInTableException only if
the concerned row has been removed from the table.Fixes
bug #77267
svn path=/trunk/mcs/; revision=55675
Atsushi Eno [Tue, 17 Jan 2006 11:45:48 +0000 (11:45 -0000)]
2006-01-17 Atsushi Enomoto <atsushi@ximian.com>
* MonoEncoding.cs, ByteEncoding.cs :
Marked as [Serializable].
* DbcsEncoding.cs ISO2022JP.cs GB18030Encoding.cs CP950.cs
CP932.cs CP936.cs CP51932.cs CP949.cs (All) :
Marked as [Serializable].
* CP1254.cs CP1255.cs CP28596.cs CP1256.cs CP28598.cs CP38598.cs
CP28599.cs (All) :
Marked as [Serializable].
* CP1251.cs CP28594.cs CP28595.cs CP1257.cs CP1258.cs CP57002.cs
CP874.cs CP20866.cs CP21866.cs (All) :
Marked as [Serializable].
* CP1145.cs CP1149.cs CP20420.cs CP20424.cs CP708.cs CP855.cs
CP875.cs CP1140.cs CP869.cs CP1144.cs CP1047.cs CP1148.cs
CP21025.cs CP870.cs CP20285.cs CP864.cs CP858.cs CP1143.cs
CP1026.cs CP37.cs CP1147.cs CP500.cs CP20280.cs CP20290.cs
CP20284.cs CP20278.cs CP857.cs CP1142.cs CP1146.cs CP20273.cs
CP852.cs CP862.cs CP20277.cs CP20871.cs CP866.cs CP20297.cs
CP1141.cs (All) :
Marked as [Serializable].
* CP1252.cs CP28592.cs CP437.cs CP861.cs CP10079.cs CP863.cs
CP865.cs CP28593.cs CP1253.cs CP28597.cs CP10000.cs CP850.cs
CP860.cs CP28605.cs CP1250.cs (All) :
Marked as [Serializable].
svn path=/trunk/mcs/; revision=55674
Ankit Jain [Tue, 17 Jan 2006 10:51:28 +0000 (10:51 -0000)]
* get.c (get_method_override): Use '.override method' syntax if the class or
or the method itself is generic.
* main.c (dis_code): Emit '.override' only, 'method' gets handled by get_method_override.
svn path=/trunk/mono/; revision=55672
Senganal T [Tue, 17 Jan 2006 09:07:43 +0000 (09:07 -0000)]
2006-01-17 Senganal T <tsenganal@novell.com>
* Test/ProviderTests/sqlserver.config : Modified the default login and password to 'monotester'
* Test/ProviderTests/System.Data.SqlClient/SqlCommandBuilderTest.cs : Added testcase for bug #77225
* System.Data.SqlClient/SqlCommandBuilder.cs
- Modified CreateNewCommand () : Clean up any existing parameter list
before reusing the command.Fixes #77225
svn path=/trunk/mcs/; revision=55668
Ankit Jain [Tue, 17 Jan 2006 07:34:20 +0000 (07:34 -0000)]
* get.c (init_key_table): Add keywords 'bestfit', 'charmaperror', 'off' & 'on'.
svn path=/trunk/mono/; revision=55667
Gonzalo Paniagua Javier [Tue, 17 Jan 2006 05:57:15 +0000 (05:57 -0000)]
2006-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: fix problem (Mac only) when more than one asynchronous
connect. Fixes bug #77020.
svn path=/trunk/mono/; revision=55665
Alp Toker [Tue, 17 Jan 2006 01:58:24 +0000 (01:58 -0000)]
2006-01-17 Alp Toker <alp@atoker.com>
* Samples/x11/compile.sh: Remove unused gtk-sharp reference
svn path=/trunk/mcs/; revision=55663
Jackson Harper [Mon, 16 Jan 2006 23:20:29 +0000 (23:20 -0000)]
* ComboBox.cs: Set the initial value of the scrollbar to the
current index. Reduce the numbers of refreshs and IndexOfs
called.
svn path=/trunk/mcs/; revision=55661
Chris Toshok [Mon, 16 Jan 2006 22:59:02 +0000 (22:59 -0000)]
2006-01-16 Chris Toshok <toshok@ximian.com>
* DelegatingConfigHost.cs: flesh out the rest of this
implementation.
svn path=/trunk/mcs/; revision=55660
Alp Toker [Mon, 16 Jan 2006 22:53:47 +0000 (22:53 -0000)]
2006-01-16 Alp Toker <alp@atoker.com>
* TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
try/catch
svn path=/trunk/mcs/; revision=55659
Zoltan Varga [Mon, 16 Jan 2006 21:38:04 +0000 (21:38 -0000)]
2006-01-16 Zoltan Varga <vargaz@gmail.com>
* mini.h (mono_bitset_test_fast): Disable the 'fast' implementation which
depends on implementation details of monobitset.
svn path=/trunk/mono/; revision=55656
Sebastien Pouliot [Mon, 16 Jan 2006 21:23:59 +0000 (21:23 -0000)]
2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPath.cs: Updated TODO description on GetBounds as it's now
only missing support for Pens (when used with libgidplus).
svn path=/trunk/mcs/; revision=55655
Sebastien Pouliot [Mon, 16 Jan 2006 21:22:40 +0000 (21:22 -0000)]
2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added test cases for GetBounds and re-activated
some parts of the tests that checked bounds (Add* tests).
svn path=/trunk/mcs/; revision=55654
Sebastien Pouliot [Mon, 16 Jan 2006 21:07:22 +0000 (21:07 -0000)]
2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
* TestRegion.cs: Mark a test case as NotWorking as it caused a
regression in SWF.
svn path=/trunk/mcs/; revision=55652
Chris Toshok [Mon, 16 Jan 2006 20:14:03 +0000 (20:14 -0000)]
2006-01-16 Chris Toshok <toshok@ximian.com>
* HttpApplicationFactory.cs: call WebConfigurationManager.Init in
the CONFIGURATION_2_0 case.
svn path=/trunk/mcs/; revision=55651
Chris Toshok [Mon, 16 Jan 2006 20:11:14 +0000 (20:11 -0000)]
2006-01-16 Chris Toshok <toshok@ximian.com>
* WebConfigurationManager.cs: implement a IConfigurationSystem for
use with WebConfigurationManager.
(GetSection): try to load the section
using GetWebApplicationSection before calling into
ConfigurationManager.GetSection.
(GetWebApplicationConfiguration): move common code to here.
(GetWebApplicationSection): use GetWebApplicationConfiguration.
(AppSettings): implement.
* WebConfigurationHost.cs (GetWebConfigFileName): add
"Web.Config", and move to an array/loop implementation. maybe we
should scan the directory and check ToLower() instead of
explicitly enumerating?
svn path=/trunk/mcs/; revision=55650
Chris Toshok [Mon, 16 Jan 2006 20:05:59 +0000 (20:05 -0000)]
2006-01-16 Chris Toshok <toshok@ximian.com>
* ConfigurationSettings.cs (AppSettings): move back to a 1.x
strategy in the 2.0 case. That is, don't hardcode the reference
to ConfigurationManager.AppSettings (yet). Eventually we can move
back to this code, once ConfigurationManager supports reading
web.config for settings.
svn path=/trunk/mcs/; revision=55649
Robert Jordan [Mon, 16 Jan 2006 19:24:18 +0000 (19:24 -0000)]
Reverted until I get more details. See #77242.
svn path=/trunk/mcs/; revision=55648
César Natarén [Mon, 16 Jan 2006 19:19:02 +0000 (19:19 -0000)]
update the error cause
svn path=/trunk/mcs/; revision=55647
Paolo Molaro [Mon, 16 Jan 2006 18:22:17 +0000 (18:22 -0000)]
Mon Jan 16 19:20:43 CET 2006 Paolo Molaro <lupus@ximian.com>
* class.c: fixed id assignement for nested interfaces (bug #77275).
Added also better info for --print-vtable debugging.
svn path=/trunk/mono/; revision=55645
Atsushi Eno [Mon, 16 Jan 2006 17:25:18 +0000 (17:25 -0000)]
2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngValidatingReader.cs : fixed warning.
* RdpObjects.cs : fixed warnings.
svn path=/trunk/mcs/; revision=55644
Atsushi Eno [Mon, 16 Jan 2006 17:17:15 +0000 (17:17 -0000)]
2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngValidatingReader.cs : just keep previous TextDeriv() result
for each pattern; they are mostly not reused. It makes validator
about 30% faster in certain validation and reduces memory use.
* RdpPatterns.cs : RdpOneOrMore.EmptyTextDeriv() should be "override".
RdpList.EmptyTextDeriv() (which was also virtual incorrectly) was
removed since the code was in wrong assumption.
* Util.cs : debug string now contains data and dataExcept info.
svn path=/trunk/mcs/; revision=55643
Boris Kirzner [Mon, 16 Jan 2006 16:20:35 +0000 (16:20 -0000)]
Drop dependend indexes on column removal.
svn path=/trunk/mcs/; revision=55636
Ankit Jain [Mon, 16 Jan 2006 15:06:09 +0000 (15:06 -0000)]
In ilasm/tests:
* test-int64.il: New. Test for large numeric values.
In ilasm/scanner:
* NumberHelper.cs (NumberHelper.Build): Try parsing numeric value as UInt64 or
double if Int64.Parse fails.
svn path=/trunk/mcs/; revision=55635
Ankit Jain [Mon, 16 Jan 2006 14:25:20 +0000 (14:25 -0000)]
* TypeDef.cs (TypeDef.IComparable): Implement IComparable interface.
* TypeManager.cs (TypeManager.DefineAll): Sort type_table before Define()'ing.
svn path=/trunk/mcs/; revision=55634
Zoltan Varga [Mon, 16 Jan 2006 14:09:54 +0000 (14:09 -0000)]
2006-01-16 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_get_ldelema_ins): Fix handling of 1 dimensional arrays.
Fixes #77271.
svn path=/trunk/mono/; revision=55632
Raja R Harinath [Mon, 16 Jan 2006 14:07:40 +0000 (14:07 -0000)]
In mcs:
Fix #76874.
* ecore.cs (MemberAccess.CheckIntermediateModification): Remove.
(UnboxCast.DoResolveLValue): New. Move CS0445 check from
CheckIntermediateModification.
(FieldExpr.DoResolve): Add new two-argument version that
allows us to resolve the InstanceExpression as an lvalue.
The one-argument variant is now just a wrapper.
(FieldExpr.DoResolveLValue): Use two-argument DoResolve.
Resolve the lhs as an lvalue if the it has a value type.
(FieldExpr.AssignToReadonly): Move CS1648 and CS1650 checks
from Assign.DoResolve.
(PropertyExpr.InstanceResolve): Allow InstanceExpression to be
resolved as an lvalue.
(PropertyExpr.DoResolve): Update.
(PropertyExpr.DoResolveLValue): Resolve the lhs as an lvalue if it
has a value type. Move CS1612 check here from
CheckIntermediateModification.
* assign.cs (Assign.DoResolve): Remove CS1648 and CS1650 checks.
* expression.cs (EmptyExpression.OutAccess): New. Used as the
'right_side' of a ResolveLValue on an 'out' argument.
(EmptyExpression.LValueMemberAccess): New. Used as the
'right_side' of a propagated ResolveLValue on a value type.
(LocalVariableReference.DoResolveBase): Recognize
EmptyExpression.OutAccess and EmptyExpression.LValueMemberAccess.
Add CS1654 check.
(Argument.Resolve): Use EmptyExpression.OutAccess rather than
EmptyExpression.Null.
In tests:
* test-488.cs: New test based on #76874.
In errors:
* cs1654.cs, cs1654-2, cs1656-4: New tests from #76874.
svn path=/trunk/mcs/; revision=55631
Ankit Jain [Mon, 16 Jan 2006 13:16:32 +0000 (13:16 -0000)]
* get.c (get_method_core): Handle a MemberRef with a TypeSpec parent.
Inflate MonoMethod after getting it from mono_get_method_full.
svn path=/trunk/mono/; revision=55630
Ankit Jain [Mon, 16 Jan 2006 11:36:11 +0000 (11:36 -0000)]
In ilasm/tests:
* test-array-2.il: New. Test for methodref to Array's methods.
eg. class test [,]::.ctor (int32, int32)
In ilasm/codegen:
* TypeRef.cs (TypeRef.CreateMethodRef): Return a TypeSpecMethodRef if
this is a modified (eg. []) type.
svn path=/trunk/mcs/; revision=55629
Ankit Jain [Mon, 16 Jan 2006 10:48:43 +0000 (10:48 -0000)]
In ilasm/scanner:
* ILTables.cs (keywords): Add 'bestfit', 'charmaperror', 'on' & 'off'.
In ilasm/parser:
* ILParser.jay (K_BESTFIT):
(K_CHARMAPERROR):
(K_ON):
(K_OFF): New tokens.
(pinv_attr | ..): Add rules for the new tokens.
In class/PEAPI:
* Metadata.cs (PInvokeAttr): Add 'bestfit_on', 'bestfit_off', 'bestfit_mask',
'charmaperror_on' & 'charmaperror_off'.
svn path=/trunk/mcs/; revision=55628
Atsushi Eno [Mon, 16 Jan 2006 10:24:12 +0000 (10:24 -0000)]
2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
* CP936.cs :
Implement GetCharCount(); it is too costy to use GetChars()
in GetCharCount(). Removed extra code in GetChars(). Check table
index range before accessing it by index.
* I18N.CJK.Test.cs : added test for bug #77238.
svn path=/trunk/mcs/; revision=55627
Atsushi Eno [Mon, 16 Jan 2006 09:41:40 +0000 (09:41 -0000)]
2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
* CP51932.cs :
In GetChars(), insufficient byte is not preserved.
Under 1.x profile it is just discarded.
Under 2.0 profile it is converted to \u30FB.
Fixed GetCharCount() to match GetChars().
* I18N.CJK.Test.cs : added test for bug #77223, #77224 and #77238.
svn path=/trunk/mcs/; revision=55626
Raja R Harinath [Mon, 16 Jan 2006 08:52:23 +0000 (08:52 -0000)]
Rename gtest-235-exe.cs to gtest-235.cs
svn path=/trunk/mcs/; revision=55625
Ankit Jain [Mon, 16 Jan 2006 07:48:48 +0000 (07:48 -0000)]
In ilasm/scanner:
* ILTables.cs (keywords): Add 'uint', this is a native UIntPtr type.
In ilasm/parser:
* ILParser.jay (K_UINT): New token.
(type | K_NATIVE K_UINT): New.
svn path=/trunk/mcs/; revision=55623
Ankit Jain [Mon, 16 Jan 2006 07:41:34 +0000 (07:41 -0000)]
* BaseTypeRef.cs (BaseTypeRef.Resolve): Make this abstract.
(BaseTypeRef.CreateMethodRef):
(BaseTypeRef.CreateFieldRef): Make protected and abstract.
* BaseClassRef.cs (BaseClassRef.Clone): Make this abstract.
Update all derived classes.
* PrimitiveTypeRef.cs (PrimitiveTypeRef.CreateMethodRef):
* GenericTypeInst.cs (GenericTypeInst.CreateMethodRef): Implement, but throw
exception as this method is not used.
svn path=/trunk/mcs/; revision=55622
Atsushi Eno [Mon, 16 Jan 2006 06:06:54 +0000 (06:06 -0000)]
2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : handle Ticks. Fixed bug #77252.
* XmlConvertTests.cs : added test for bug #77252.
svn path=/trunk/mcs/; revision=55620
Atsushi Eno [Mon, 16 Jan 2006 05:33:55 +0000 (05:33 -0000)]
2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
* CustomDataClassGenerator.cs :
When a DataRelation connects the same table as parent and child,
generate parent row property as BlahRowParent. Fixed bug #77248.
* bug77248.xsd : added.
* TypedDataSetGeneratorTest.cs : added test for bug #77248, but we
cannot enable it since it depends on mcs "installed".
svn path=/trunk/mcs/; revision=55619
Atsushi Eno [Mon, 16 Jan 2006 04:26:00 +0000 (04:26 -0000)]
2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
in mcs:
* typemanager.cs : added IsGenericParameter(). In mcs it always
return false.
* doc.cs : for generic parameters, use GenericParameterPosition,
not FullName.
in gmcs:
* typemanager.cs : added IsGenericParameter(). In gmcs it returns
Type.IsGenericParameter(). Fixed bug #77183.
* doc.cs : it is now identical to doc.cs in mcs.
in tests:
* gtest-xml-1-ref.xml, gtest-xml-1.cs : test for bug #77183.
svn path=/trunk/mcs/; revision=55618
Martin Baulig [Mon, 16 Jan 2006 01:04:54 +0000 (01:04 -0000)]
2006-01-16 Martin Baulig <martin@ximian.com>
* generic.cs (ConstraintChecker.CheckConstraint): Fix #77167.
svn path=/trunk/mcs/; revision=55614
Martin Baulig [Mon, 16 Jan 2006 00:53:05 +0000 (00:53 -0000)]
2006-01-16 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.CSharpSignature): Make this work for
ctors; fixes #77250.
svn path=/trunk/mcs/; revision=55613
Jordi Mas i Hernandez [Sun, 15 Jan 2006 21:20:28 +0000 (21:20 -0000)]
2006-01-15 Jordi Mas i Hernandez <jordimash@gmail.com>
* PrintingServicesUnix.cs: Allow setting the dpy's for the surface
svn path=/trunk/mcs/; revision=55609
Konstantin Triger [Sun, 15 Jan 2006 21:19:19 +0000 (21:19 -0000)]
merge -r 55606:55607
svn path=/trunk/mcs/; revision=55608
Jordi Mas i Hernandez [Sun, 15 Jan 2006 21:10:25 +0000 (21:10 -0000)]
2006-01-15 Jordi Mas i Hernandez <jordimash@gmail.com>
* Adds PrintingMargins.cs
svn path=/trunk/mcs/; revision=55606
Jordi Mas i Hernandez [Sun, 15 Jan 2006 21:08:20 +0000 (21:08 -0000)]
2006-01-15 Jordi Mas <jordimash@gmail.com>
* Adds GraphicsUnits.cs
svn path=/trunk/mcs/; revision=55605
Zoltan Varga [Sun, 15 Jan 2006 20:26:08 +0000 (20:26 -0000)]
2006-01-15 Zoltan Varga <vargaz@gmail.com>
* liveness.c: Update after monobitset changes.
svn path=/trunk/mono/; revision=55602
Zoltan Varga [Sun, 15 Jan 2006 20:25:22 +0000 (20:25 -0000)]
2006-01-15 Zoltan Varga <vargaz@gmail.com>
* monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
svn path=/trunk/mono/; revision=55601
Jonathan Pryor [Sun, 15 Jan 2006 18:29:30 +0000 (18:29 -0000)]
* UnixUserInfo.cs: The UnixUserInfo(Native.Passwd) constructor and
ToPasswd() should clone the underlying Native.Passwd, so
that it doesn't get changed from underneath it.
* UnixGroupInfo.cs: The UnixGroupInfo(Native.Group) constructor should also
clone the provided Native.Group instance.
svn path=/trunk/mcs/; revision=55600
Konstantin Triger [Sun, 15 Jan 2006 13:23:27 +0000 (13:23 -0000)]
fixing visibility bahavior
svn path=/trunk/mcs/; revision=55598
Atsushi Eno [Sun, 15 Jan 2006 13:01:30 +0000 (13:01 -0000)]
2006-01-15 Atsushi Enomoto <atsushi@ximian.com>
* RdpPatterns.cs : lazy evaluate Group branches. If left hand is
notAllowed, the returned value is always NotAllowed, no need to
compute another branch.
svn path=/trunk/mcs/; revision=55597
Jonathan Pryor [Sun, 15 Jan 2006 03:38:03 +0000 (03:38 -0000)]
* UnixGroupInfo.cs: ToGroup() should clone the underlying Native.Group, so
that it doesn't get changed from underneath it.
svn path=/trunk/mcs/; revision=55591
Alexander Olk [Sat, 14 Jan 2006 21:32:53 +0000 (21:32 -0000)]
2006-01-14 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: When the file listview is focused hitting the
backspace key moves the fileview to the parent directory
svn path=/trunk/mcs/; revision=55588
Zoltan Varga [Sat, 14 Jan 2006 21:02:21 +0000 (21:02 -0000)]
2006-01-14 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_compute_omit_fp): Fix a leak.
svn path=/trunk/mono/; revision=55583
Ankit Jain [Sat, 14 Jan 2006 20:36:55 +0000 (20:36 -0000)]
* get.c (get_method_override): Get full signature of the method.
* main.c (dis_code): Emit ".override method" for full signature
of the method.
svn path=/trunk/mono/; revision=55582
Ankit Jain [Sat, 14 Jan 2006 20:34:07 +0000 (20:34 -0000)]
In ilasm/tests:
* test-override-1.il:
* test-override-2.il: New. Test for 'full' syntax of specifying
overrides. (.override method ..full sig.. )
In ilasm/parser:
* ILParser.jay (method_decl): Add new "full" syntax specifying overrides.
svn path=/trunk/mcs/; revision=55581
Robert Jordan [Sat, 14 Jan 2006 10:15:26 +0000 (10:15 -0000)]
2006-01-13 Robert Jordan <robertj@gmx.net>
* corlib.dll.sources: Added System.Resources/ResourceManagerTest.cs
svn path=/trunk/mcs/; revision=55574
Robert Jordan [Sat, 14 Jan 2006 10:14:45 +0000 (10:14 -0000)]
2006-01-13 Robert Jordan <robertj@gmx.net>
* ResourceManager.cs: Fixed GetString/GetObject's recursion
which never fall back to the invariant or neutral culture if
the key was not found in a specific culture. Fixes bug #77242.
svn path=/trunk/mcs/; revision=55573
Robert Jordan [Sat, 14 Jan 2006 10:14:01 +0000 (10:14 -0000)]
2006-01-13 Robert Jordan <robertj@gmx.net>
* ResourceManagerTest.cs: New. Unit tests for ResourceManager.
See bug #77242.
svn path=/trunk/mcs/; revision=55572
Peter Dennis Bartok [Sat, 14 Jan 2006 06:53:16 +0000 (06:53 -0000)]
2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs:
- Added RecreateHandle call when changing taskbar visibility to
trigger reparenting in Win32 driver (Fixes #75719)
- If a window has minimize or maximize buttons, it cannot have
a help button
* XplatUIWin32.cs:
- CreateWindow: When no WS_EX_APPWINDOW style is found we parent
the toplevel form with FosterParent (A toolwindow not on the
taskbar) (Fixes #75719)
- Made FosterParent a toolwindow
svn path=/trunk/mcs/; revision=55571
César Natarén [Sat, 14 Jan 2006 01:53:09 +0000 (01:53 -0000)]
2006-01-13 Cesar Lopez Nataren <cnataren@novell.com>
* mjs-most.tests: Enable ecma/FunctionObjects/15.3.3.1-2.js,
ecma/Math/15.8.1.js, ecma/Number/15.7.3.1-3.js,
ecma/Number/15.7.3.2-4.js, ecma/Number/15.7.3.3-4.js,
ecma/Number/15.7.3.4-4.js, ecma/Number/15.7.3.5-4.js,
ecma/Number/15.7.3.6-4.js, ecma/Statements/12.6.3-1.js,
ecma/Statements/12.6.3-11.js, ecma/String/15.5.3.1-1.js,
ecma/String/15.5.4.8-3.js and js1_2/regress/regress-7703.js.
svn path=/trunk/mcs/; revision=55566
César Natarén [Sat, 14 Jan 2006 01:06:48 +0000 (01:06 -0000)]
2006-01-13 Cesar Lopez Nataren <cnataren@novell.com>
* mjs-most.fail: Delete ecma/Statements/12.6.3-10.js and
ecma/Statements/12.6.3-19.js as they no longer fail.
svn path=/trunk/mcs/; revision=55564
César Natarén [Sat, 14 Jan 2006 00:45:07 +0000 (00:45 -0000)]
2006-01-13 Cesar Lopez Nataren <cnataren@novell.com>
* ForIn.cs: implement for (x in obj) logic.
svn path=/trunk/mcs/; revision=55563
Ankit Jain [Fri, 13 Jan 2006 23:05:07 +0000 (23:05 -0000)]
* GenericParamRef.cs (GenericParamRef.Resolve): Apply modifications to the
cached type.
svn path=/trunk/mcs/; revision=55559
Chris Toshok [Fri, 13 Jan 2006 22:31:22 +0000 (22:31 -0000)]
2006-01-13 Chris Toshok <toshok@ximian.com>
* AppSettingsSection.cs (GetRuntimeObject): only access
Settings[key] once per iteration.
svn path=/trunk/mcs/; revision=55558
Ankit Jain [Fri, 13 Jan 2006 22:22:10 +0000 (22:22 -0000)]
In ilasm/tests:
* gen-instr1.il: New. Test for using GenericParams as operands to
type instructions.
In ilasm/codegen:
* GenericParamRef.cs (GenericParamRef.Resolve): Set PeapiType of the instance
to the cached one.
svn path=/trunk/mcs/; revision=55557