Zoltan Varga [Wed, 9 Jan 2008 23:59:18 +0000 (23:59 -0000)]
2008-01-10 Zoltan Varga <vargaz@gmail.com>
* mini.c (handle_delegate_ctor): Optimize away setting of NULL target.
svn path=/trunk/mono/; revision=92556
Andreia Gaita [Wed, 9 Jan 2008 23:10:41 +0000 (23:10 -0000)]
* Mono.Mozilla/Base.cs,
Mono.Mozilla/WebBrowser.cs,
Mono.WebBrowser/IWebBrowser.cs,
Mono.WebBrowser/Manager.cs:
Add initial support for specifying the toolkit the application is running
on (gtk or winforms). Knowing this allows gluezilla not to initialize
a gtk loop if the application is already running one (and is passing
gluezilla a gtk handle and not an X/HWND handle). This should make it
easy to also use gluezilla/Mono.Mozilla with gtk apps.
2008-01-09 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=92555
Jb Evain [Wed, 9 Jan 2008 23:09:09 +0000 (23:09 -0000)]
2008-01-10 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ReflectionHelper.cs: deal with complex arrays.
svn path=/trunk/mcs/; revision=92554
Andreia Gaita [Wed, 9 Jan 2008 22:54:32 +0000 (22:54 -0000)]
2008-01-09 Andreia Gaita <avidigal@novell.com>
* build-csproj2k5: take out weird characters creeping in, vstudio
doesn't appreciate them.
svn path=/trunk/mcs/; revision=92552
Zoltan Varga [Wed, 9 Jan 2008 22:38:22 +0000 (22:38 -0000)]
2008-01-10 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_class_native_size): Always set *align even if this is called
recursively.
svn path=/trunk/mono/; revision=92551
Zoltan Varga [Wed, 9 Jan 2008 21:26:29 +0000 (21:26 -0000)]
2008-01-09 Zoltan Varga <vargaz@gmail.com>
* verify.c (mono_verify_corlib): Remove this as it was not used and was
out-of-date.
svn path=/trunk/mono/; revision=92548
Dick Porter [Wed, 9 Jan 2008 21:13:05 +0000 (21:13 -0000)]
2008-01-09 Dick Porter <dick@ximian.com>
* versioninfo.c (get_ptr_from_rva, scan_resource_dir): Make it
work on big-endian systems.
(scan_resource_dir): Copy the resource directory entry and
byteswap if necessary so it works big-endian. This fixes bug
345972 for real this time.
(VerQueryValue): String values set the length to the number of
unicode chars, but the data length reported was already correct so
don't halve it again. Fixes the previous fix for bug 345972.
(GetFileVersionInfo): On big-endian systems, scan the resource
data and turn all unicode strings into UTF-16BE. FileVersionInfo
now works big-endian.
svn path=/trunk/mono/; revision=92547
Rodrigo Kumpera [Wed, 9 Jan 2008 20:31:56 +0000 (20:31 -0000)]
2008-01-09 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: removed some old unused tables. A huge bunch of small fixes
to things found while testing the verifier with mono basic.
* verify.c (dump_stack_value): dump null literal flag to.
* verify.c (verify_type_compatibility_full): fix comparison
for types that have a generic super type.
* verify.c (verify_stack_type_compatibility): fix compatibility
between null literals and reference types. fix compatibility between
boxed valuetypes and object. fix corner case test for enums.
* verify.c (do_cmp_op): proper verification of cgt.un in case
of reference types.
* verify.c (do_invoke_method): fix error message.
* verify.c (do_store_indirect
* verify.c (check_is_valid_type_for_field_ops): proper verification
of managed pointers to valuetypes and boxed valuetypes. proper verification
of null literals.
* verify.c (do_unbox_value): expect valuetypes to be always boxed. don't
allow token to be a reference type.
* verify.c (do_cast): proper handling of boxes valuetypes.
* verify.c (do_stelem): proper handling of storing a boxed valuetype
in object[].
* verify.c (mono_method_verify): pass the opcode to do_cmp_op
to handle cgt.un properly. Implement add/mul/sub ovf opcodes.
fixed the decoding of unbox_any
svn path=/trunk/mono/; revision=92545
Rodrigo Kumpera [Wed, 9 Jan 2008 20:30:44 +0000 (20:30 -0000)]
2008-01-09 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for add|sub|mul ovf;
* unverifiable_unbox_toke_is_reference_type.il: New test for regressions
found while validating vbnc.
* valid_stind_ref_with_boxed_value.il: same.
* valid_ldelema_enum_array.il: same.
svn path=/trunk/mono/; revision=92543
Jonathan Pobst [Wed, 9 Jan 2008 19:42:49 +0000 (19:42 -0000)]
2008-01-09 Jonathan Pobst <monkey@jpobst.com>
* Control.cs, Form.cs: Implement the necessary semantics for
ShowFocusCues. All paint code will need to check Control.ShowFocusCues
to determine if a focus rectangle should be drawn.
* PropertyGrid.cs: Fix property visibility to match override.
* ThemeWin32Classic.cs: Use ShowFocusCues for Button.
svn path=/trunk/mcs/; revision=92542
Jb Evain [Wed, 9 Jan 2008 19:36:05 +0000 (19:36 -0000)]
fix GetActionType for the non generic type
svn path=/trunk/mcs/; revision=92541
Marek Safar [Wed, 9 Jan 2008 18:54:57 +0000 (18:54 -0000)]
2008-01-09 Marek Safar <marek.safar@gmail.com>
* doc.cs: Report better /doc crash details.
svn path=/trunk/mcs/; revision=92539
Marek Safar [Wed, 9 Jan 2008 18:53:13 +0000 (18:53 -0000)]
New tests.
svn path=/trunk/mcs/; revision=92538
Marek Safar [Wed, 9 Jan 2008 18:52:20 +0000 (18:52 -0000)]
2008-01-08 Marek Safar <marek.safar@gmail.com>
A fix for bug #352536
* ecore.cs, assign.cs, codegen.cs: Check event assignments.
svn path=/trunk/mcs/; revision=92537
Jb Evain [Wed, 9 Jan 2008 18:43:19 +0000 (18:43 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* ExpressionTest.cs: tests for GetActionType.
svn path=/trunk/mcs/; revision=92534
Jb Evain [Wed, 9 Jan 2008 18:43:05 +0000 (18:43 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* Expression.cs: implement GetActionType.
svn path=/trunk/mcs/; revision=92533
Geoff Norton [Wed, 9 Jan 2008 18:39:57 +0000 (18:39 -0000)]
2008-01-09 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Scroll windows in the correct direction.
svn path=/trunk/mcs/; revision=92531
Atsushi Eno [Wed, 9 Jan 2008 18:16:30 +0000 (18:16 -0000)]
2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeTest.cs : mark KindPattern() as not working (wrt #352210).
svn path=/trunk/mcs/; revision=92530
Sebastien Pouliot [Wed, 9 Jan 2008 18:05:43 +0000 (18:05 -0000)]
2008-01-09 Sebastien Pouliot <sebastien@ximian.com>
* DateTimeTest.cs: In X509Certificate test case remove the Tick
assert (depends on timezone) and add a test for AdjustToUniversal
when using Z.
svn path=/trunk/mcs/; revision=92529
Atsushi Eno [Wed, 9 Jan 2008 17:12:55 +0000 (17:12 -0000)]
2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : revert the previous fix. It caused regression on
the buildbot.
* DateTimeTest.cs : the previous fix was reverted, so mark
corresponding test as NotWorking.
svn path=/trunk/mcs/; revision=92525
Jonathan Pobst [Wed, 9 Jan 2008 16:44:53 +0000 (16:44 -0000)]
2008-01-09 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
[Fixes bug #323552]
svn path=/trunk/mcs/; revision=92524
Jb Evain [Wed, 9 Jan 2008 16:17:30 +0000 (16:17 -0000)]
avoid another visual tree of tests
svn path=/trunk/mcs/; revision=92523
Jb Evain [Wed, 9 Jan 2008 16:15:13 +0000 (16:15 -0000)]
add file
svn path=/trunk/mcs/; revision=92522
Jb Evain [Wed, 9 Jan 2008 16:14:57 +0000 (16:14 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* ExpressionTest.cs: add new fixture of assorted tests for
Expression. Contains tests for GetFuncType for now.
svn path=/trunk/mcs/; revision=92521
Jb Evain [Wed, 9 Jan 2008 16:14:17 +0000 (16:14 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* Expression.cs: fix GetFuncType to return the correct type
depending on the asked arity.
svn path=/trunk/mcs/; revision=92520
Geoff Norton [Wed, 9 Jan 2008 16:02:44 +0000 (16:02 -0000)]
2008-01-09 Geoff Norton <gnorton@novell.com>
* WindowHandler.cs: Hide utility windows when the window is minimizing
or deactivating. Show them when the window is restored.
* ApplicationHandler.cs: Hide the utility windows when the app
deactivates. Restore them when we get focus back.
svn path=/trunk/mcs/; revision=92517
Geoff Norton [Wed, 9 Jan 2008 16:01:15 +0000 (16:01 -0000)]
2008-01-09 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Track all created utility windows so we can hide them
when the app is deactivated or spaces is enabled.
svn path=/trunk/mcs/; revision=92516
Jb Evain [Wed, 9 Jan 2008 15:53:09 +0000 (15:53 -0000)]
tabs instead of spaces
svn path=/trunk/mcs/; revision=92515
Jb Evain [Wed, 9 Jan 2008 15:52:22 +0000 (15:52 -0000)]
tabs instead of spaces
svn path=/trunk/mcs/; revision=92514
Juraj Skripsky [Wed, 9 Jan 2008 15:43:17 +0000 (15:43 -0000)]
This file is obsolete now.
I should have removed it in commit r91612.
svn path=/trunk/mcs/; revision=92513
Igor Zelmanovich [Wed, 9 Jan 2008 15:31:10 +0000 (15:31 -0000)]
2008-01-09 Igor Zelmanovich <igorz@mainsoft.com>
* WebUIValidation_2.0.js:
* webform.js:
make scripts compatible with MicrosoftAjaxLibrary.
svn path=/trunk/mcs/; revision=92512
Igor Zelmanovich [Wed, 9 Jan 2008 15:27:42 +0000 (15:27 -0000)]
2008-01-09 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
refactoring.
svn path=/trunk/mcs/; revision=92511
Zoltan Varga [Wed, 9 Jan 2008 15:05:38 +0000 (15:05 -0000)]
2008-01-09 Zoltan Varga <vargaz@freemail.hu>
* runtime/Makefile.am (mcs-compileall): Remove some whitespace after
a backslash.
svn path=/trunk/mono/; revision=92510
Jb Evain [Wed, 9 Jan 2008 14:09:55 +0000 (14:09 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* Expression.cs: ArrayLength: only accept single
dimensional array.
svn path=/trunk/mcs/; revision=92508
Jb Evain [Wed, 9 Jan 2008 14:04:52 +0000 (14:04 -0000)]
tabs instead of spaces
svn path=/trunk/mcs/; revision=92507
Jb Evain [Wed, 9 Jan 2008 14:03:30 +0000 (14:03 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* ExpressionTest_ArrayLength.cs: Fix Rank2String to pass on .net.
svn path=/trunk/mcs/; revision=92506
Jb Evain [Wed, 9 Jan 2008 13:58:40 +0000 (13:58 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* Expression.cs: throw ArgumentNullException when the type
parameter of Call is null.
svn path=/trunk/mcs/; revision=92505
Jb Evain [Wed, 9 Jan 2008 13:56:42 +0000 (13:56 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* Expression.cs: make the TypeAs test pass.
svn path=/trunk/mcs/; revision=92504
Jb Evain [Wed, 9 Jan 2008 13:50:00 +0000 (13:50 -0000)]
props
svn path=/trunk/mcs/; revision=92503
Jb Evain [Wed, 9 Jan 2008 13:46:50 +0000 (13:46 -0000)]
tabs instead of spaces
svn path=/trunk/mcs/; revision=92502
Jb Evain [Wed, 9 Jan 2008 13:45:34 +0000 (13:45 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* ExpressionTest_Call.cs: fix wrong test.
svn path=/trunk/mcs/; revision=92501
Jb Evain [Wed, 9 Jan 2008 13:43:41 +0000 (13:43 -0000)]
tabs instead of spaces
svn path=/trunk/mcs/; revision=92500
Jb Evain [Wed, 9 Jan 2008 13:42:31 +0000 (13:42 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* ExpressionTest_TypeAs.cs: correct wrong test for numerics.
Add test for nullable types.
svn path=/trunk/mcs/; revision=92499
Konstantin Triger [Wed, 9 Jan 2008 13:19:30 +0000 (13:19 -0000)]
implement BaseExternalContext
svn path=/trunk/mcs/; revision=92498
Jb Evain [Wed, 9 Jan 2008 11:44:43 +0000 (11:44 -0000)]
reformating
svn path=/trunk/mcs/; revision=92495
Jb Evain [Wed, 9 Jan 2008 11:43:29 +0000 (11:43 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* Makefile: remove -langversion:linq which is
default now.
svn path=/trunk/mcs/; revision=92494
Atsushi Eno [Wed, 9 Jan 2008 06:15:01 +0000 (06:15 -0000)]
2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : fixed bug #352210. Kind is unspecified by default,
while the tick is for local time by default. This fix also involved
special x509 handling.
* DateTimeTest.cs : added test for bug #352210. Renamed
RoundtripKindPattern() to KindPattern(), as it is not really about
roundtrip. Test tick value for 'Z' pattern (X509 cert) as well.
svn path=/trunk/mcs/; revision=92488
Carlos Alberto Cortez [Wed, 9 Jan 2008 05:09:51 +0000 (05:09 -0000)]
2008-01-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
extra separation pixel for the label rect origin if SmallImageList is
null, and thus we don't need that separation between icon and label
rects.
Patch by Ernesto Carrea.
Fixes # 340195.
svn path=/trunk/mcs/; revision=92487
Rodrigo Kumpera [Wed, 9 Jan 2008 04:07:29 +0000 (04:07 -0000)]
2008-01-09 Rodrigo Kumpera <rkumpera@novell.com>
* valid_isinst_with_boxed_valuetype.il: New test for regressions
found while validating vbnc.
* valid_ldfld_valuetype_by_ref.il: same.
* valid_ldfld_valuetype_by_value.il: same.
* valid_stelem_ref_boxed_value.il: same.
* valid_stloc_boxed_valuetype.il: same.
* valid_sub_class_of_generic_type_is_compatible.il: same.
* unverifiable_ldfld_valuetype_boxed.il: same.
* unverifiable_ldfld_reference_type_by_ref.il: same.
* make_test.sh: new tests for stfld and cgt.un.
svn path=/trunk/mono/; revision=92486
Zoltan Varga [Tue, 8 Jan 2008 18:31:49 +0000 (18:31 -0000)]
2008-01-08 Zoltan Varga <vargaz@gmail.com>
* boehm-gc.c (mono_gc_deregister_root): Fix the size passed to libgc.
svn path=/trunk/mono/; revision=92478
Marek Safar [Tue, 8 Jan 2008 17:36:57 +0000 (17:36 -0000)]
2008-01-08 Marek Safar <marek.safar@gmail.com>
* Array.cs (LastIndexOf<T>): Fixed bound checking.
svn path=/trunk/mcs/; revision=92473
Marek Safar [Tue, 8 Jan 2008 17:33:51 +0000 (17:33 -0000)]
2008-01-08 Marek Safar <marek.safar@gmail.com>
* ArrayTest.cs: Test both LastIndexOf versions for
ArgumentOutOfRangeException.
svn path=/trunk/mcs/; revision=92472
Igor Zelmanovich [Tue, 8 Jan 2008 16:32:40 +0000 (16:32 -0000)]
make WebForm_DoCallback useful within AJAX.
svn path=/trunk/mcs/; revision=92469
Zoltan Varga [Tue, 8 Jan 2008 16:29:09 +0000 (16:29 -0000)]
2008-01-08 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Fix possible reading of invalid memory in
the InitializeArray optimization.
svn path=/trunk/mono/; revision=92468
Marek Safar [Tue, 8 Jan 2008 16:03:24 +0000 (16:03 -0000)]
spaces to tabs
svn path=/trunk/mcs/; revision=92467
Marek Safar [Tue, 8 Jan 2008 15:17:16 +0000 (15:17 -0000)]
New tests.
svn path=/trunk/mcs/; revision=92461
Marek Safar [Tue, 8 Jan 2008 15:13:56 +0000 (15:13 -0000)]
2008-01-08 Marek Safar <marek.safar@gmail.com>
A fix for bug #352287
* ecore.cs, expression.cs: Do `this' access checking in all member access
expressions.
svn path=/trunk/mcs/; revision=92459
Marek Habersack [Tue, 8 Jan 2008 15:03:20 +0000 (15:03 -0000)]
2008-01-08 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: statements to assign
fields/properties from resources must be processed at the very end
of the control creation method. Some controls (like HyperLink) can
set their Text attribute using literal content. In such cases, in
order to properly localize the control, the value read from the
local page resources must be assigned after the literal value has
been added to the control. Fixes bug #323494
svn path=/trunk/mcs/; revision=92458
Rodrigo Kumpera [Tue, 8 Jan 2008 15:00:59 +0000 (15:00 -0000)]
2008-01-08 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_newobj): do delegate verification.
* verify.c (verify_delegate_compatibility): perform delegate
verification.
* verify.c (verify_ldftn_delegate): perform tests related to
ldftn delegates.
* verify.c (mono_delegate_signature_equal): perform the
slightly diferent signature comparison required by delegates.
* metadata.c (mono_metadata_type_equal_full): added and exported
as MONO_INTERNAL. This is a version of mono_metadata_type_equal that
allows signature only comparison.
* metadata-internal.h (mono_metadata_type_equal_full): added and exported
as MONO_INTERNAL.
svn path=/trunk/mono/; revision=92457
Jonathan Pobst [Tue, 8 Jan 2008 14:51:54 +0000 (14:51 -0000)]
2008-01-08 Jonathan Pobst <monkey@jpobst.com>
* StatusStrip.cs: Invalidate after completing a layout. The base
OnLayout does this, but we don't call the base.
* ToolStripItem.cs: Revert the previous change to invalidate after
the item moves.
[Fixes bug #351341 better.]
svn path=/trunk/mcs/; revision=92456
Rodrigo Kumpera [Tue, 8 Jan 2008 14:12:41 +0000 (14:12 -0000)]
2008-01-08 Rodrigo Kumpera <rkumpera@novell.com>
* make_delegate_test.sh: increased max stack for
ldvirtftn tests.
* make_tests.sh: added new tests for delegates
constructed with ldvirtftn.
svn path=/trunk/mono/; revision=92455
Marek Safar [Tue, 8 Jan 2008 14:04:22 +0000 (14:04 -0000)]
C# 3.0 updates
svn path=/trunk/mcs/; revision=92454
Marek Safar [Tue, 8 Jan 2008 13:56:19 +0000 (13:56 -0000)]
2008-01-08 Marek Safar <marek.safar@gmail.com>
* rootcontext.cs, driver.cs: Switch to linq mode by default.
* report.cs: Reset message stacks.
svn path=/trunk/mcs/; revision=92453
Sebastien Pouliot [Tue, 8 Jan 2008 13:55:14 +0000 (13:55 -0000)]
2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
* Font.cs: Fix GetHashCode to use the same values as Equals. Fix
bug #351647
svn path=/trunk/mcs/; revision=92452
Sebastien Pouliot [Tue, 8 Jan 2008 13:54:17 +0000 (13:54 -0000)]
2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
* TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
for bug #351647
svn path=/trunk/mcs/; revision=92451
Konstantin Triger [Tue, 8 Jan 2008 13:44:02 +0000 (13:44 -0000)]
make the behavior for SqlDataSourceView.FilterExpression comply with the behavior of ObjectDataSourceView.FilterExpression
svn path=/trunk/mcs/; revision=92450
Jb Evain [Tue, 8 Jan 2008 13:40:31 +0000 (13:40 -0000)]
fix build with csc
svn path=/trunk/mcs/; revision=92449
Stephane Delcroix [Tue, 8 Jan 2008 13:29:29 +0000 (13:29 -0000)]
2008-01-08 Stephane Delcroix <sdelcroix@novell.com>
* TimeZoneInfo.TransitionTime.cs: fully qualify System.DayOfWeek in
casting operation.
svn path=/trunk/mcs/; revision=92448
Marek Safar [Tue, 8 Jan 2008 11:25:22 +0000 (11:25 -0000)]
New test.
svn path=/trunk/mcs/; revision=92442
Marek Safar [Tue, 8 Jan 2008 11:25:03 +0000 (11:25 -0000)]
2008-01-08 Marek Safar <marek.safar@gmail.com>
* generic.cs (InferInPhases): Correctly calculate params position.
svn path=/trunk/mcs/; revision=92441
Marek Safar [Tue, 8 Jan 2008 10:55:10 +0000 (10:55 -0000)]
2008-01-08 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs: No need to parse full string when parsing lambda
arguments.
svn path=/trunk/mcs/; revision=92436
Igor Zelmanovich [Tue, 8 Jan 2008 10:08:03 +0000 (10:08 -0000)]
2008-01-08 Igor Zelmanovich <igorz@mainsoft.com>
* DetailsViewTest.cs:
* DropDownListTest.cs:
* FormViewTest.cs:
* GridViewTest.cs:
removed NotWorking attributes.
svn path=/trunk/mcs/; revision=92433
Igor Zelmanovich [Tue, 8 Jan 2008 09:54:28 +0000 (09:54 -0000)]
TARGET_J2EE:
refactoring, do not use TLS for Context and getFacesContext().
svn path=/trunk/mcs/; revision=92432
Igor Zelmanovich [Tue, 8 Jan 2008 08:22:03 +0000 (08:22 -0000)]
added #if TARGET_J2EE
svn path=/trunk/mcs/; revision=92431
Igor Zelmanovich [Tue, 8 Jan 2008 08:20:54 +0000 (08:20 -0000)]
GetService returns instance of the page if is.
svn path=/trunk/mcs/; revision=92430
Noam Lampert [Tue, 8 Jan 2008 07:28:08 +0000 (07:28 -0000)]
Fix java build
svn path=/trunk/mcs/; revision=92429
Juraj Skripsky [Tue, 8 Jan 2008 06:50:05 +0000 (06:50 -0000)]
2008-01-07 Juraj Skripsky <js@hotfeet.ch>
* NameObjectCollectionBase.cs: Add argument checking in CopyTo,
replace use of enumerator by for-loop. Check IsReadOnly in BaseSet()
only on the 2.0 profile.
2008-01-07 Gert Driesen <drieseng@users.sourceforge.net>
* NameObjectCollectionBaseTest.cs: Add tests for argument checking in
GetObjectData, Add, Clear, Remove, RemoveAt, Set and CopyTo.
svn path=/trunk/mcs/; revision=92428
Atsushi Eno [Tue, 8 Jan 2008 05:41:02 +0000 (05:41 -0000)]
2008-01-08 Arina Itkes <arinai@mainsoft.com>
* Methods.cs: Fix for compatibility with .NET:
In .NET if SOAPAction is set to empty string it is regarded like
clearly specified with empty string.
2008-01-08 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionReflectorTest.cs : added test for empty SOAP
action.
svn path=/trunk/mcs/; revision=92427
Atsushi Eno [Tue, 8 Jan 2008 05:02:44 +0000 (05:02 -0000)]
2008-01-08 Atsushi Enomoto <atsushi@ximian.com>
* XslKey.cs, XslStylesheet.cs, Compiler.cs : XSLT 1.0 does not
prohibit more than one xsl:key with the same QName, so do not use
the name as a 'key' in the table for xsl:key. Fixed bug #351939,
patch by Tor Lillqvist.
* XslTransformTests.cs : added test from bug #351939.
(by Tor Lillqvist)
svn path=/trunk/mcs/; revision=92426
Zoltan Varga [Tue, 8 Jan 2008 00:13:09 +0000 (00:13 -0000)]
2008-01-08 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (DISABLED_TESTS): Disable bug-77127.exe for now to make the
build green.
svn path=/trunk/mono/; revision=92424
Sebastien Pouliot [Mon, 7 Jan 2008 23:24:10 +0000 (23:24 -0000)]
2008-01-07 Sebastien Pouliot <sebastien@ximian.com>
* CultureInfoConverter.cs: Gendarme's AvoidToStringOnStringsRule in
ConvertFrom method.
* DesignerAttribute.cs: Gendarme's AvoidToStringOnStringsRule in
TypeId getter.
svn path=/trunk/mcs/; revision=92423
Sebastien Pouliot [Mon, 7 Jan 2008 23:23:39 +0000 (23:23 -0000)]
2008-01-07 Sebastien Pouliot <sebastien@ximian.com>
* CredentialCache.cs: Gendarme's AvoidToStringOnStringsRule in
CredentialCacheKey constructor. UseStringEmptyRule on CredentialCache
static ctor (3 times).
svn path=/trunk/mcs/; revision=92422
Andreia Gaita [Mon, 7 Jan 2008 22:40:01 +0000 (22:40 -0000)]
* build-csproj2k5: Added to generate Mono.Mozilla2K5.csproj from .sources
* Mono.Mozilla2K5.csproj: updated
* Makefile: run the build-csproj2k5
2008-01-07 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=92420
Zoltan Varga [Mon, 7 Jan 2008 22:23:12 +0000 (22:23 -0000)]
2008-01-07 Zoltan Varga <vargaz@gmail.com>
* mono-api-diff.cs: Check the names of method parameters as well.
svn path=/trunk/mcs/; revision=92419
Sebastien Pouliot [Mon, 7 Jan 2008 21:42:12 +0000 (21:42 -0000)]
2008-01-07 Sebastien Pouliot <sebastien@ximian.com>
* Identity.cs: Fix Disposed setter to use value (not true). Found
using Gendarme.
svn path=/trunk/mcs/; revision=92418
Rodrigo Kumpera [Mon, 7 Jan 2008 20:26:18 +0000 (20:26 -0000)]
2008-01-07 Rodrigo Kumpera <rkumpera@novell.com>
* make_delegate_test.sh: added.
* make_tests.sh: added new tests for delegates
constructed with ldftn.
svn path=/trunk/mono/; revision=92411
Massimiliano Mantione [Mon, 7 Jan 2008 19:56:58 +0000 (19:56 -0000)]
* mono-profiler-oprofile.c: Set HAS_OPROFILE to 0...
svn path=/trunk/mono/; revision=92410
Miguel de Icaza [Mon, 7 Jan 2008 19:29:58 +0000 (19:29 -0000)]
Further doc updates
svn path=/trunk/mcs/; revision=92408
Rodrigo Kumpera [Mon, 7 Jan 2008 19:05:03 +0000 (19:05 -0000)]
2008-01-07 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: added a bunch of stack_slot_* functions to
make access to stack slot type easier. This is required to
allow optional flags, like null literal, boxed value and
this pointer.
All access paths to IlStackDesc::stype have been changed
to use these new funcions.
Removed a bunch of unused functions and cleared all warnings.
This patch introduces the usage of the this pointer and
boxed value flags.
svn path=/trunk/mono/; revision=92407
Geoff Norton [Mon, 7 Jan 2008 18:14:10 +0000 (18:14 -0000)]
2008-01-07 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
not a notification to exit the application. Listen for WM_QUIT
instead.
svn path=/trunk/mcs/; revision=92404
Marek Safar [Mon, 7 Jan 2008 18:08:30 +0000 (18:08 -0000)]
New test.
svn path=/trunk/mcs/; revision=92403
Marek Safar [Mon, 7 Jan 2008 18:08:08 +0000 (18:08 -0000)]
2008-01-07 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs: Enabled lambda arguments micro-parser for all profiles.
* decl.cs (LookupNamespaceOrType): Don't cache names which caused an error.
* driver.cs: Updated --help option.
svn path=/trunk/mcs/; revision=92402
Andreia Gaita [Mon, 7 Jan 2008 17:56:47 +0000 (17:56 -0000)]
* HtmlDocument.cs: Fix case on GetElementById (interface changed)
2008-01-07 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=92401
Andreia Gaita [Mon, 7 Jan 2008 17:52:42 +0000 (17:52 -0000)]
* Mono.Mozilla.dll.sources: Added new classes (see below).
* Mono.Mozilla/DOM/DOMObject.cs:
- Store reference to the IWebBrowser control that created this (and
subclassed) object. This reference needs to be used in any gluezilla calls
that have to invoke methods on the mozilla ui thread (any Widget method,
whose ptr reference is stored in Base and indexed by IWebBrowser control).
- Tweak the Dispose pattern: subclasses don't have their own private
dispose field to keep track of whether they've been disposed already, this
base class takes care of that.
* Mono.Mozilla/DOM/DOMNode.cs:
- Initialize a proxy to the nsI object that this wrapper encapsulates.
- Cache all objects returned from this object in an hashtable, so that
1) we can keep track of all objects and release them earlier and
properly
2) we don't have to keep creating new objects everytime we get requests
for read-only stuff
- Implement FirstChild and LocalName
- Add Dispose pattern
* Mono.Mozilla/DOM/DOMHTMLElement.cs:
- Change the inheritance to DOMElement.
- Change the constructor to send the nsI object and IWebBrowser up the tree.
- Get a proxy to the nsI object.
- Add dispose pattern.
* Mono.Mozilla/DOM/DOMHTMLDocument.cs:
- Change the constructor to send the IWebBrowser instance up the tree.
- Add resources hashtable to keep track of already-fetched objects.
Particularly useful here since getElementById can be called n times, so it
would be complicated to keep track and dispose properly of all the objects.
- Implement DocumentElement
- Change Body and GetElementById to use resources cache
- Fix GetElementById case
* Mono.Mozilla/DOM/DOMElement.cs: Added. Inherits from DOMNode, so the
parent class also keeps track of the nsI object.
* Mono.Mozilla/DOM/DOMNodeList.cs: Added to support easy iteration of nodes.
* Mono.Mozilla/DOM/Navigation.cs: Tweak dispose pattern and constructor to
the new model.
* Mono.Mozilla/WebBrowser.cs: Fix the DOMHTMLDocument creation.
* Mono.WebBrowser/DOM/IDOMHTMLDocument.cs: Fix case on GetElementById, add
DocumentElement property.
* Mono.WebBrowser/DOM/IDOMNodeList.cs,
Mono.WebBrowser/DOM/IDOMElement.cs:
Added, no external functionality for now.
2008-01-07 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=92400
Jonathan Pobst [Mon, 7 Jan 2008 16:43:25 +0000 (16:43 -0000)]
2008-01-07 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: If the bounds of an item changes, invalidate it
so it can repaint at the correct location.
[Fixes bug #351341]
svn path=/trunk/mcs/; revision=92397
Igor Zelmanovich [Mon, 7 Jan 2008 15:54:28 +0000 (15:54 -0000)]
added reference to System.Web.Phantom
svn path=/trunk/mcs/; revision=92396
Igor Zelmanovich [Mon, 7 Jan 2008 15:51:57 +0000 (15:51 -0000)]
added IScriptManager interface
svn path=/trunk/mcs/; revision=92395
Marek Safar [Mon, 7 Jan 2008 15:28:19 +0000 (15:28 -0000)]
2008-01-07 Marek Safar <marek.safar@gmail.com>
* generic.cs (InferParamsTypeArguments): Removed.
(InferInPhases): Add params type inference.
(LowerBoundInference): Fixed scoring mechanism.
* cs-tokenizer.cs (PreProcessPragma): Use Location instead of line.
svn path=/trunk/mcs/; revision=92393
Massimiliano Mantione [Mon, 7 Jan 2008 15:10:41 +0000 (15:10 -0000)]
* mono-profiler-oprofile.c: First code drop of new logging profiler.
* Makefile.am: Added logging profiler, but commented in out to avoid
breaking the build on Windows.
svn path=/trunk/mono/; revision=92392
Igor Zelmanovich [Mon, 7 Jan 2008 14:32:14 +0000 (14:32 -0000)]
ScriptManager implements IScriptManager interface
and register itself with page with appropriate key
svn path=/trunk/mcs/; revision=92390