Miguel de Icaza [Sat, 7 Jul 2007 17:26:04 +0000 (17:26 -0000)]
2007-07-07 Miguel de Icaza <miguel@novell.com>
* Mono.Cairo/Context.cs: From Alp Toker: Add new API call
IdentityMatrix.
svn path=/trunk/mcs/; revision=81567
Miguel de Icaza [Sat, 7 Jul 2007 17:25:18 +0000 (17:25 -0000)]
2007-07-07 Miguel de Icaza <miguel@novell.com>
* Mono.Cairo/Surface.cs: Integrate another cleanup from Alp.
svn path=/trunk/mcs/; revision=81566
Miguel de Icaza [Sat, 7 Jul 2007 17:24:37 +0000 (17:24 -0000)]
2007-07-07 Miguel de Icaza <miguel@novell.com>
* Mono.Cairo/SolidPattern.cs: Add helper APIs based on Alp's patch
based on F-Spot code.
svn path=/trunk/mcs/; revision=81565
Miguel de Icaza [Sat, 7 Jul 2007 17:22:58 +0000 (17:22 -0000)]
Indentation fixes
svn path=/trunk/mcs/; revision=81564
Miguel de Icaza [Sat, 7 Jul 2007 17:21:46 +0000 (17:21 -0000)]
Re-enable warning
svn path=/trunk/mcs/; revision=81563
Miguel de Icaza [Sat, 7 Jul 2007 17:18:37 +0000 (17:18 -0000)]
2007-07-07 Miguel de Icaza <miguel@novell.com>
Integrated various patches from Alp Toker:
* Mono.Cairo/FontFace.cs: Add to the build.
* Mono.Cairo/Context.cs: Add a number of methods that are
compatible with the public Cairo API, and add commented out
Obsoletes for the names that we had.
(MaskSurface): More descriptive parameters
(SetSourceRGB, SetSourceRGBA): Removed [Obsoletes] from as those
are the public Cairo names. Use the API directly without
creating a helper Color.
(FontFace): New property.
* Mono.Cairo/FontFace.cs: Partial integration of Alp's work for
FontFace. There are two differences: no support for owns flag,
and no automatic unreffing on the finalizer thread. Instead we
display an error message.
svn path=/trunk/mcs/; revision=81562
Miguel de Icaza [Sat, 7 Jul 2007 16:28:24 +0000 (16:28 -0000)]
2007-07-07 Miguel de Icaza <miguel@novell.com>
* NativeMethods.cs: Split the native methods into its own file.
svn path=/trunk/mcs/; revision=81561
Miguel de Icaza [Sat, 7 Jul 2007 16:26:07 +0000 (16:26 -0000)]
* Mono.Cairo/Context.cs: Integrate Alp's patch to not use ref in
the call to cairo_font_extents, but use out instead.
svn path=/trunk/mcs/; revision=81560
Miguel de Icaza [Sat, 7 Jul 2007 16:23:16 +0000 (16:23 -0000)]
2007-07-07 Miguel de Icaza <miguel@novell.com>
* Integrate Alp's patch to rename CairoAPI NativeMethod, in
accordance to 2.7.1 framework guidelines.
svn path=/trunk/mcs/; revision=81559
Miguel de Icaza [Sat, 7 Jul 2007 16:18:18 +0000 (16:18 -0000)]
2007-07-07 Miguel de Icaza <miguel@novell.com>
* Removed the ifdef CAIRO_1_2, the documentation already reflects
that things are only available on Cairo 1.2.
* Add new API calls to query Cairo for its version
svn path=/trunk/mcs/; revision=81558
Gert Driesen [Sat, 7 Jul 2007 14:31:09 +0000 (14:31 -0000)]
* MethodBuilder.cs: Code formatting. Spaces to tabs.
* TypeBuilder.cs: Same.
svn path=/trunk/mcs/; revision=81553
Gert Driesen [Sat, 7 Jul 2007 12:37:14 +0000 (12:37 -0000)]
* DateTime.cs: In ParseExact, throw ArgumentNullException if format
is null; throw FormatException if formats array is empty or if one of
items is null or a zero-length string.
* DateTimeTest.cs: Added test for bug #81778. Enabled test for bug
#47720. Added tests for ParseExact argument checks. No longer derive
from deprecated Assertion class. Code formatting.
svn path=/trunk/mcs/; revision=81552
Marek Safar [Sat, 7 Jul 2007 07:07:42 +0000 (07:07 -0000)]
More tests.
svn path=/trunk/mcs/; revision=81545
Bill Holmes [Sat, 7 Jul 2007 00:50:17 +0000 (00:50 -0000)]
2007-07-06 William Holmes <billholmes54@gmail.com>
* assembly.c: Added a continue statement in
* probe_for_partial_name when
parse_assembly_directory_name fails. Fixes : 82002
svn path=/trunk/mono/; revision=81538
Alan McGovern [Fri, 6 Jul 2007 21:11:28 +0000 (21:11 -0000)]
Patch for bug 81867
svn path=/trunk/mcs/; revision=81519
Jonathan Pobst [Fri, 6 Jul 2007 20:59:59 +0000 (20:59 -0000)]
2007-07-06 Jonathan Pobst <monkey@jpobst.com>
* ListControl.cs: Add 2.0 stuffs.
2007-07-06 Jonathan Pobst <monkey@jpobst.com>
* ListControl.cs: Add test for Formatting behavior.
svn path=/trunk/mcs/; revision=81515
Rodrigo Kumpera [Fri, 6 Jul 2007 19:51:47 +0000 (19:51 -0000)]
2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
* DoubleTest.cs : Added test Parse_TrailingGarbage, for strings with garbage at the end
svn path=/trunk/mcs/; revision=81505
Rodrigo Kumpera [Fri, 6 Jul 2007 19:48:37 +0000 (19:48 -0000)]
2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
* Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
instead of throwing FormatException. Fixes #81777
svn path=/trunk/mcs/; revision=81504
Jonathan Pobst [Fri, 6 Jul 2007 17:52:37 +0000 (17:52 -0000)]
2007-07-06 Jonathan Pobst <monkey@jpobst.com>
* Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
Refresh is overkill for just about every repaint request.
2007-07-06 Jonathan Pobst <monkey@jpobst.com>
* LabelTest.cs: Add test for Image[List|Index|Key].
svn path=/trunk/mcs/; revision=81500
Rodrigo Kumpera [Fri, 6 Jul 2007 17:51:57 +0000 (17:51 -0000)]
2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
* DoubleTest.cs (Parse): Added test for whitespace only
svn path=/trunk/mcs/; revision=81499
Rodrigo Kumpera [Fri, 6 Jul 2007 17:49:49 +0000 (17:49 -0000)]
2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
* Double.cs (Parse): Fix for whitespace only strings, it was returning zero
instead of throwing FormatException. Fixes #81630
svn path=/trunk/mcs/; revision=81498
Alan McGovern [Fri, 6 Jul 2007 17:21:02 +0000 (17:21 -0000)]
Fix for bug 81778
svn path=/trunk/mcs/; revision=81497
Jonathan Chambers [Fri, 6 Jul 2007 16:44:09 +0000 (16:44 -0000)]
2007-07-06 Jonathan Chambers <joncham@gmail.com>
* ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
* __ComObject.cs: Support ExtensibleClassFactory.
svn path=/trunk/mcs/; revision=81494
Miguel de Icaza [Fri, 6 Jul 2007 16:26:20 +0000 (16:26 -0000)]
Fix signature, fixes bug 82019, patch from Jason Madden
svn path=/trunk/mcs/; revision=81493
Miguel de Icaza [Fri, 6 Jul 2007 16:24:57 +0000 (16:24 -0000)]
Fix
svn path=/trunk/mono/; revision=81492
Miguel de Icaza [Fri, 6 Jul 2007 16:20:33 +0000 (16:20 -0000)]
How did this get there?
svn path=/trunk/mcs/; revision=81491
Miguel de Icaza [Fri, 6 Jul 2007 16:13:20 +0000 (16:13 -0000)]
Add support for building 2.1 as well
svn path=/trunk/mono/; revision=81490
Miguel de Icaza [Fri, 6 Jul 2007 16:11:10 +0000 (16:11 -0000)]
Add flag for 2.1
svn path=/trunk/mono/; revision=81488
Alan McGovern [Fri, 6 Jul 2007 16:10:16 +0000 (16:10 -0000)]
Committed patch for 81732
svn path=/trunk/mcs/; revision=81487
Atsushi Eno [Fri, 6 Jul 2007 15:25:05 +0000 (15:25 -0000)]
2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
* UriIdnScope.cs : new file (for net_2_1 profile).
svn path=/trunk/mcs/; revision=81480
Miguel de Icaza [Fri, 6 Jul 2007 15:04:40 +0000 (15:04 -0000)]
2007-05-26 John Luke <john.luke@gmail.com>
* Mono.Cairo/Cairo.cs:
* Mono.Cairo/Context.cs: fix call to cairo_get_font_matrix,
reported by patperry@stanford.edu (Patrick Perry) in bug#81626
svn path=/trunk/mcs/; revision=81479
Jonathan Pobst [Fri, 6 Jul 2007 14:42:46 +0000 (14:42 -0000)]
2007-07-06 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutTest.cs: I had marked CellBorderTest as WM dependent when it
failed on the buildbots. I just realized it was actually failing due to
a Label change I hadn't committed, which has now been committed.
svn path=/trunk/mcs/; revision=81477
Gert Driesen [Fri, 6 Jul 2007 14:38:44 +0000 (14:38 -0000)]
* TypeBuilder.cs: Throw InvalidOperationException when attempting to
construct non-abstract interface without base type. Modified SetParent
to match MS: in 2.0 profile, throw InvalidOperationException when
parent is null and TypeBuilder is non-abstract interface. When
parent is null and TypeBuilder is not an interface, then set object
as parent. In 1.0 profile, throw ArgumentNullException when parent is
null.
* TypeBuilderTest.cs: Improved tests for SetParent.
* ModuleBuilderTest.cs: Added test for creating non-abstract
interface.
svn path=/trunk/mcs/; revision=81476
Jonathan Pobst [Fri, 6 Jul 2007 14:31:05 +0000 (14:31 -0000)]
2007-07-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
so remove my custom Get method and fix the property getter.
svn path=/trunk/mcs/; revision=81475
Jonathan Pobst [Fri, 6 Jul 2007 14:27:41 +0000 (14:27 -0000)]
2007-07-06 Jonathan Pobst <monkey@jpobst.com>
* Label.cs: DefaultMargin for 2.0.
svn path=/trunk/mcs/; revision=81474
Jonathan Pobst [Fri, 6 Jul 2007 14:23:16 +0000 (14:23 -0000)]
2007-07-06 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Override IsInputCharInternal and return true. Fixes
reported issue where other controls with mnemonics would steal strokes
from a selected ComboBox.
svn path=/trunk/mcs/; revision=81473
Jonathan Pobst [Fri, 6 Jul 2007 13:19:34 +0000 (13:19 -0000)]
2007-07-06 Jonathan Pobst <monkey@jpobst.com>
* ScrollOrientation.cs: Make internal for 1.1.
* ScrollEventArgs.cs: Add 2.0 stuffs.
svn path=/trunk/mcs/; revision=81470
Rodrigo Kumpera [Fri, 6 Jul 2007 12:57:59 +0000 (12:57 -0000)]
2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (check_unmanaged_pointer_type): renamed to check_unverifiable_type
and added a verification for TYPEDBYREF.
* verify.c (verify_stack_type_compatibility): fix handling of byref types,
make native int interchangeable with int32 and some small cleanup and formating.
* verify.c (push_arg): only ldarg on invalid argument is valid (but not verifiable) and
handle byref of byref.
* verify.c (push_local): handle byref of byref.
* verify.c (do_binop): invalid mix of values is unverifiable
* verify.c (do_invoke_method): fixed the handling of bad params on stack and
added visibility checks
* verify.c (field related method): added visibility checks
* verify.c (do_push_field): cannot take the address of a temporary valuetype field
svn path=/trunk/mono/; revision=81468
Gert Driesen [Fri, 6 Jul 2007 12:10:23 +0000 (12:10 -0000)]
* TypeBuilder.cs: Implemented IsCOMObjectImpl.
* TypeBuilderTest.cs: Enabled test for IsCOMObject. Improved test
for IsImport.
* TypeTest.cs: Added tests for IsAbstract, IsCOMObject, IsImport,
IsInterface, IsPrimitive and IsValueType.
svn path=/trunk/mcs/; revision=81465
Gert Driesen [Fri, 6 Jul 2007 11:46:57 +0000 (11:46 -0000)]
* DecoderReplacementFallbackTest.cs: Fixed DontChangeReadOnlyCodePage-
DecoderFallback test to pass on systems where codepage 932 is valid.
Assert that exception is thrown by DecoderFallback property.
* EncoderReplacementFallbackTest.cs: Fixed DontChangeReadOnlyCodePage-
EncoderFallback test to pass on systems where codepage 932 is valid.
Assert that exception is thrown by EncoderFallback property.
svn path=/trunk/mcs/; revision=81463
Gert Driesen [Fri, 6 Jul 2007 09:52:25 +0000 (09:52 -0000)]
* TypeBuilderTest.cs: Added tests for bug #82018. Added tests for
MakeArrayType (2.0).
svn path=/trunk/mcs/; revision=81461
Zoltan Varga [Fri, 6 Jul 2007 07:27:14 +0000 (07:27 -0000)]
2007-07-06 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_string_to_utf16_copy): Null terminate the
string.
svn path=/trunk/mono/; revision=81457
Wade Berrier [Fri, 6 Jul 2007 01:48:18 +0000 (01:48 -0000)]
* scripts/mono-find-requires.in: add special 64bit case for ia64.
(rpm used to provide libname as well as libname()(64bit) on ia64, but
now it only provides the first.)
svn path=/trunk/mono/; revision=81450
Rodrigo Kumpera [Thu, 5 Jul 2007 22:54:40 +0000 (22:54 -0000)]
* AssemblyRunner.cs: bug fix: handles missing fields corrently
* make_test.sh: correct some tests based on fixed AssemblyRunner
2007-07-05 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=81444
Miguel de Icaza [Thu, 5 Jul 2007 22:05:52 +0000 (22:05 -0000)]
2007-07-05 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs (AsyncRequestState.Complete): Add the
try/catch for the callback here to ensure that we only call
complete_event.Set once.
(PipelineDone): This is where the core of the bug fix is: do not
call Complete() or call done.Set() (depending on the invocation
case) until we are actually done cleaning up the request.
The problem was that we signaled that we were done, but we had not
completed the shut down, so another thread could have been
scheduled on the same HttpApplication and had its variables be
modified as we completed the shutdown on the first thread.
This fixes #81400 which was a very long standing bug.
(Tick): Remove the pipeline check against null, this is not
necessary and it will help us find problems like this one in the
future.
Reverts patch r66072 which was a described as:
band-aid patch to help debugging hang running 2.0
tests.
svn path=/trunk/mcs/; revision=81442
Jonathan Pobst [Thu, 5 Jul 2007 21:54:52 +0000 (21:54 -0000)]
2007-07-05 Jonathan Pobst <monkey@jpobst.com>
[Various tests from my local tree]
* ButtonBaseTest.cs: Test for default Accessibility.State.
* LabelTest.cs: Test for default Margin.
* MenuStripTest.cs: Test for CanSelect.
* ScrollBarTest.cs: Test for 2.0 ScrollBarEventArgs.
* SplitContainerTests.cs: Uncomment some Dock and Location asserts.
* StatusStripTest.cs: Tests for default RenderMode and AccessibilityObject.
* ToolStripDropDownTest.cs: Tests for default TextDirection and AccessibilityObject.
* ToolStripItemTest.cs: Test for default TextDirection, ProcessMnemonic.
* ToolStripMenuItemTest.cs: Test for default ForeColor and AccessibilityObject.
* UserControlTest.cs: Test for AutoSize behavior.
svn path=/trunk/mcs/; revision=81441
Zoltan Varga [Thu, 5 Jul 2007 21:36:46 +0000 (21:36 -0000)]
2007-07-05 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_codegen): Add an assert.
* mini-x86.c (mono_arch_emit_prolog): Allocate space for the profiler method enter/
leave code.
* mini-amd64.c (mono_arch_emit_prolog): Likewise.
svn path=/trunk/mono/; revision=81439
Zoltan Varga [Thu, 5 Jul 2007 21:15:20 +0000 (21:15 -0000)]
2007-07-05 Zoltan Varga <vargaz@gmail.com>
* profiler.c (mono_profiler_load): Fix an off-by-one error.
svn path=/trunk/mono/; revision=81437
Jonathan Pobst [Thu, 5 Jul 2007 20:32:23 +0000 (20:32 -0000)]
2007-07-05 Jonathan Pobst <monkey@jpobst.com>
* ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
svn path=/trunk/mcs/; revision=81436
Zoltan Varga [Thu, 5 Jul 2007 20:23:08 +0000 (20:23 -0000)]
2007-07-05 Zoltan Varga <vargaz@gmail.com>
* pinvoke3.cs libtest.c: Add new test for returning unicode strings from a delegate.
svn path=/trunk/mono/; revision=81434
Zoltan Varga [Thu, 5 Jul 2007 20:14:13 +0000 (20:14 -0000)]
2007-07-05 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_string): When returning a string from managed code,
allways make a copy even for unicode strings. Fixes #81990.
svn path=/trunk/mono/; revision=81433
Carlos Alberto Cortez [Thu, 5 Jul 2007 20:02:04 +0000 (20:02 -0000)]
* ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
2007-07-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=81432
Sebastien Pouliot [Thu, 5 Jul 2007 19:59:05 +0000 (19:59 -0000)]
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Added more test cases for Reverse, the complex
ones don't work yet (see #81859).
svn path=/trunk/mcs/; revision=81431
Sebastien Pouliot [Thu, 5 Jul 2007 19:43:54 +0000 (19:43 -0000)]
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
* TestImageAttributes.cs: More complete test for small versus big
alpha uses in matrices.
svn path=/trunk/mcs/; revision=81429
Rodrigo Kumpera [Thu, 5 Jul 2007 18:48:23 +0000 (18:48 -0000)]
2007-07-05 Rodrigo Kumpera <rkumpera@novell.com>
* AssemblyRunner.cs: Allow running the test suite from the same VM instance
* make_tests.sh: improved the test-suite, now it works running under a VM, not just the verifier
* unverifiable_ldflda_other_class_on_simple_method.il: same
* unverifiable_ptr_nop.il: same
* unverifiable_ldsflda_other_class_field_on_cctor.il: same
* make_load_test.sh: same
* make_stack_0_test.sh: same
* make_obj_store_test.sh: same
* unverifiable_m_ptr_ldloc.il: same
* make_ret_test.sh: same
* make_store_test.sh: same
* unverifiable_ldsflda_other_class_on_simple_method.il: same
* make_access_test.sh: same
* unverifiable_ptr_ldloc.il: same
* invalid_call_no_method.il: same
* unverifiable_ldsfld_no_fld.il: same
* unverifiable_ldflda_owner_class_on_simple_method.il: same
* unverifiable_m_ptr_ldarg.il: same
* make_stack_merge_test.sh: same
* unverifiable_stack_2_ret.il: same
* unverifiable_ldflda_other_class_field_on_ctor.il: same
* unverifiable_ldflda_other_class_field_on_cctor.il: same
* make_field_store_test.sh: same
* invalid_backward_branch.il: same
* unverifiable_ldfld_initonly.il: same
* make_nested_access_test.sh: same
* invalid_stack_2_ret.il: same
* unverifiable_ldsflda_owner_class_on_simple_method.il: same
* unverifiable_ptr_ldarg.il: same
* valid_fld_initonly.il: same
* make_bin_test.sh: same
* make_field_valuetype_test.sh: new tests
svn path=/trunk/mono/; revision=81422
Gert Driesen [Thu, 5 Jul 2007 18:41:41 +0000 (18:41 -0000)]
* MethodInfoTest.cs: Added test for bug #81997. Code formatting.
svn path=/trunk/mcs/; revision=81421
Paolo Molaro [Thu, 5 Jul 2007 18:01:50 +0000 (18:01 -0000)]
Thu Jul 5 20:12:52 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: fixed memory corruption for localloc(0)
(bug #81852).
svn path=/trunk/mono/; revision=81413
Gert Driesen [Thu, 5 Jul 2007 17:39:44 +0000 (17:39 -0000)]
* CaseInsensitiveHashCodeProvider.cs: Lazy init Default instance and
reconstruct it if CurrentCulture changes.
* CaseInsensitiveHashCodeProviderTest.cs: Reworked test for Default
instance to pass on both Mono and MS. Added separate tests that
verify the specific Mono and MS behavior.
svn path=/trunk/mcs/; revision=81412
Gert Driesen [Thu, 5 Jul 2007 16:40:03 +0000 (16:40 -0000)]
* CaseInsensitiveHashCodeProvider.cs: In default ctor, do not save
TextInfo if current culture is invariant. Remoted private ctor.
In Default, always construct new instance since the current culture
may change.
* CaseInsensitiveHashCodeProviderTest.cs: Improved test for
Default property to show the a new intance is constructed. Added test
for DefaultInvariant. Improved serialization tests. Added ctor test
for null CultureInfo. Code formatting.
* CultureInfoTest.cs: Fixed UseUserOverride tests to pass on systems
where invariant culture is default locale.
svn path=/trunk/mcs/; revision=81408
Sebastien Pouliot [Thu, 5 Jul 2007 15:44:01 +0000 (15:44 -0000)]
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
* PrimalityTests.cs: Last attempt half-failed. For the time being we
need the initial workaround :(
svn path=/trunk/mcs/; revision=81406
Sebastien Pouliot [Thu, 5 Jul 2007 15:22:51 +0000 (15:22 -0000)]
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
* BigInteger.cs: Call PrimalityTests.Test instead of the Rabin-Miller
test. This will select the best algorithm to use based on the prime
candidate. Applied #69999 optimization (even if this code is commented
right now) so this old issue can be closed.
svn path=/trunk/mcs/; revision=81399
Sebastien Pouliot [Thu, 5 Jul 2007 15:21:01 +0000 (15:21 -0000)]
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
* PrimalityTests.cs: Added Test method that select which algorithm,
SPP or RabinMillerTest, to use based on the prime-candidate size.
Removed previous workaround (as this is both a workaround and a good
fix ;-).
svn path=/trunk/mcs/; revision=81398
Igor Zelmanovich [Thu, 5 Jul 2007 14:52:14 +0000 (14:52 -0000)]
prepare selenium test environment
svn path=/trunk/mcs/; revision=81397
Vladimir Krasnov [Thu, 5 Jul 2007 14:43:44 +0000 (14:43 -0000)]
* ListControl.cs:
* ListItem.cs:
* ListItemCollection.cs: controls based on ListControl should not save view state before than TrackViewState called
svn path=/trunk/mcs/; revision=81396
Sebastien Pouliot [Thu, 5 Jul 2007 14:38:05 +0000 (14:38 -0000)]
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
* PrimeTestingTest.cs: Re-enable failing 20 digits primes (now that
we have a workaround for them).
svn path=/trunk/mcs/; revision=81395
Sebastien Pouliot [Thu, 5 Jul 2007 14:36:50 +0000 (14:36 -0000)]
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
* BigInteger.cs: Reduce modulo steps in Multiply. Add #if/#else around
older, and commented, [Odd|Even]Pow methods.
svn path=/trunk/mcs/; revision=81394
Sebastien Pouliot [Thu, 5 Jul 2007 14:35:24 +0000 (14:35 -0000)]
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
* PrimalityTests.cs: Rewritten RabinMillerTest to be closer to the
original algorithm (easier to understand/debug). Added a workaround
for #81857 when the prime is small (less than 100 bits) so we can keep
the a (base) == 2 optimization for larger primes.
svn path=/trunk/mcs/; revision=81393
Igor Zelmanovich [Thu, 5 Jul 2007 13:05:27 +0000 (13:05 -0000)]
fixed project files
svn path=/trunk/mcs/; revision=81389
Vladimir Krasnov [Thu, 5 Jul 2007 12:39:13 +0000 (12:39 -0000)]
* WebControl.cs: fixed AddDisplayStyleAttribute, returns if ControlStyle is not created
svn path=/trunk/mcs/; revision=81388
Noam Lampert [Thu, 5 Jul 2007 12:18:42 +0000 (12:18 -0000)]
Remove some overrides in TARGET_JVM due to byte code compiler limitations
svn path=/trunk/mcs/; revision=81387
Igor Zelmanovich [Thu, 5 Jul 2007 11:07:34 +0000 (11:07 -0000)]
consider section 'system.web/deployment' is not supported for TARGET_J2EE
svn path=/trunk/mcs/; revision=81380
Igor Zelmanovich [Thu, 5 Jul 2007 11:04:18 +0000 (11:04 -0000)]
prepare test project
svn path=/trunk/mcs/; revision=81378
Carlos Alberto Cortez [Thu, 5 Jul 2007 08:37:38 +0000 (08:37 -0000)]
* ListView.cs: Implement the so-incredibly broken 2.0
VirtualItemsSelectionRangeChanged event.
2007-07-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=81376
Igor Zelmanovich [Thu, 5 Jul 2007 08:26:57 +0000 (08:26 -0000)]
added/fixed project files
svn path=/trunk/mcs/; revision=81375
Raja R Harinath [Thu, 5 Jul 2007 08:15:19 +0000 (08:15 -0000)]
Rename cs1624-3.cs to gcs1624.cs
svn path=/trunk/mcs/; revision=81374
Adar Wesley [Thu, 5 Jul 2007 08:05:03 +0000 (08:05 -0000)]
Script to run standalone functional tests using Selenium.
svn path=/trunk/mcs/; revision=81373
Carlos Alberto Cortez [Thu, 5 Jul 2007 06:55:33 +0000 (06:55 -0000)]
* ListView.cs: When enter is pressed and selection is non empty,
an OnItemActivate event must be fired.
2007-07-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=81372
Atsushi Eno [Thu, 5 Jul 2007 05:36:19 +0000 (05:36 -0000)]
2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
* mcs.1 : we do not use fixed Latin1 by default.
svn path=/trunk/mono/; revision=81371
Carlos Alberto Cortez [Thu, 5 Jul 2007 05:18:41 +0000 (05:18 -0000)]
2007-07-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Store the FocusedItem information as an
int instead of a ListViewItem (needed by VirtualMode).
Update the calls to SetFocusedItem to pass an index instead of
an item.
* ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
the Focused state from the owner ListView.
svn path=/trunk/mcs/; revision=81370
Carlos Alberto Cortez [Wed, 4 Jul 2007 23:42:15 +0000 (23:42 -0000)]
* ListViewItemTest.cs: Add tests for Focused property.
2007-07-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=81361
Carlos Alberto Cortez [Wed, 4 Jul 2007 23:41:04 +0000 (23:41 -0000)]
* ListView.cs: Set ListView.focused_item from ListViewItem.Focused
property. Also, invalidate previous focused item in the mentioned
property (match .Net).
2007-07-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=81360
Zoltan Varga [Wed, 4 Jul 2007 23:09:40 +0000 (23:09 -0000)]
2007-07-05 Zoltan Varga <vargaz@gmail.com>
* mini.c: Fix warnings.
svn path=/trunk/mono/; revision=81359
Sebastien Pouliot [Wed, 4 Jul 2007 21:34:56 +0000 (21:34 -0000)]
2007-07-04 Sebastien Pouliot <sebastien@ximian.com>
* BigIntegerTest.cs: A few more ModPow test cases to corner the
small value bug (looks like a bad Barrett reduction).
svn path=/trunk/mcs/; revision=81357
Atsushi Eno [Wed, 4 Jul 2007 18:37:29 +0000 (18:37 -0000)]
2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.Core.dll.sources : remove unused DTDValidatingReader2.cs
* DTDValidatingReader2.cs :
we can remove NET_2_1 from this unused code in SL.
svn path=/trunk/mcs/; revision=81350
Gert Driesen [Wed, 4 Jul 2007 18:11:30 +0000 (18:11 -0000)]
* MathTest.cs: No longer use Assertion as base class, and changed
asserts accordingly. Numbered tests. Added test for bug #82001.
Code formatting.
svn path=/trunk/mcs/; revision=81349
Dick Porter [Wed, 4 Jul 2007 16:20:26 +0000 (16:20 -0000)]
2007-07-04 Dick Porter <dick@ximian.com>
* Socket.cs: Don't set DontFragment by default for IPv6 sockets.
Fixes bug 81985.
svn path=/trunk/mcs/; revision=81344
Paolo Molaro [Wed, 4 Jul 2007 15:35:46 +0000 (15:35 -0000)]
Wed Jul 4 17:46:19 CEST 2007 Paolo Molaro <lupus@ximian.com>
* darwin_stop_world.c: use a larger array for GC_mach_threads
(it'll need to be enlarged dynamically, but it's with the world
stopped, bug #81974).
svn path=/trunk/mono/; revision=81341
Atsushi Eno [Wed, 4 Jul 2007 13:22:57 +0000 (13:22 -0000)]
2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
* Makefile
DummySystemXmlCore.cs
System.Xml.Core.dll.sources :
new files, to build System.Xml.Core.dll.
svn path=/trunk/mcs/; revision=81335
Paolo Molaro [Wed, 4 Jul 2007 13:20:39 +0000 (13:20 -0000)]
Update for sse2 opt flag.
svn path=/trunk/mono/; revision=81334
Paolo Molaro [Wed, 4 Jul 2007 13:20:11 +0000 (13:20 -0000)]
Wed Jul 4 15:30:36 CEST 2007 Paolo Molaro <lupus@ximian.com>
* optflags-def.h, mini-x86.c: added sse2 optimization flag and use it
to emit better double->int conversions.
svn path=/trunk/mono/; revision=81333
Atsushi Eno [Wed, 4 Jul 2007 13:19:57 +0000 (13:19 -0000)]
2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
* SubtreeXmlReader.cs XmlFilterReader.cs :
exclude xsd stuff from NET_2_1 profile.
* DTDAutomata.cs DTDObjectModel.cs DTDReader.cs
DTDValidatingReader2.cs XmlException.cs XmlReader.cs
XmlReaderSettings.cs XmlWriter.cs :
Make System.Xml.Core.dll build easier, using NET_2_1.
DTD support is simply cut at this stage (as it largely depends on
sys.xml.schema stuff).
svn path=/trunk/mcs/; revision=81332
Paolo Molaro [Wed, 4 Jul 2007 13:17:45 +0000 (13:17 -0000)]
Wed Jul 4 15:29:07 CEST 2007 Paolo Molaro <lupus@ximian.com>
* x86/x86-codegen.h: added minimal sse instructions currently
needed by the JIT.
svn path=/trunk/mono/; revision=81331
Sebastien Pouliot [Wed, 4 Jul 2007 12:29:22 +0000 (12:29 -0000)]
2007-07-04 Sebastien Pouliot <sebastien@ximian.com>
* PrimeTestingTest.cs: Add test cases for "small" primes between
10 and 300 digits. 3 cases are failing for 20 digits primes.
* BigIntegerTest.cs: Add test cases for small values with
IsProbablePrime. From bug #81857, subset from patch by Kazuki.
svn path=/trunk/mcs/; revision=81330
Sebastien Pouliot [Wed, 4 Jul 2007 12:27:36 +0000 (12:27 -0000)]
2007-07-04 Sebastien Pouliot <sebastien@ximian.com>
* BigInteger.cs: In some condition the optimized (4 variants) OddPow
expose a bug, mainly with small numbers. This simpler version, square
and multiply, doesn't expose as much the bug (almost all new prime
tests pass).
svn path=/trunk/mcs/; revision=81329
Igor Zelmanovich [Wed, 4 Jul 2007 11:42:16 +0000 (11:42 -0000)]
doesn't consider CompilationSection for TARGET_J2EE
svn path=/trunk/mcs/; revision=81328
Igor Zelmanovich [Wed, 4 Jul 2007 11:38:14 +0000 (11:38 -0000)]
refactoring: make it works for TARGET_J2EE
svn path=/trunk/mcs/; revision=81327
Marek Safar [Wed, 4 Jul 2007 10:30:47 +0000 (10:30 -0000)]
New tests.
svn path=/trunk/mcs/; revision=81326
Marek Safar [Wed, 4 Jul 2007 10:30:26 +0000 (10:30 -0000)]
2007-07-04 Marek Safar <marek.safar@gmail.com>
* ecore.cs (VarExpr.DoResolveLValue): More restriction checks.
* anonymous.cs,
* lambda.cs: Add custom error message type.
svn path=/trunk/mcs/; revision=81325
Paolo Molaro [Wed, 4 Jul 2007 09:48:40 +0000 (09:48 -0000)]
Test for bug #81997.
svn path=/trunk/mono/; revision=81324
Paolo Molaro [Wed, 4 Jul 2007 09:44:05 +0000 (09:44 -0000)]
Wed Jul 4 11:53:57 CEST 2007 Paolo Molaro <lupus@ximian.com>
* object.c: cleaned up mono_runtime_invoke_array () and fixed handling
of byref generic inst types (bug #81997).
svn path=/trunk/mono/; revision=81323