Ivan Zlatev [Sat, 1 Mar 2008 23:12:56 +0000 (23:12 -0000)]
2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
* CodeDomSerializerBase.cs, PropertyCodeDomSerializer.cs:
PropertySerializer shouldn't check for serialization visibility
as its duty is to serialize properies if invoked directly.
CodeDomSerializerBase.SerializeProperties should check the
visibility.
* CodeDomSerializer.cs: Fix deserialize to deserialize all
statements.
* CodeDomDesignerLoader.cs: Implement IDesignerSerializationService
using the ComponentSerializationService instead of calling
ourselves recursive.
* CodeDomComponentSerializationService.cs: A lot of bugfixes.
* DesignerSerializationManager.cs:
- Verify that we are not in session before creating a new one.
- Do not check whether we should
preserve names in GetInstance. This is only for CreateInstance.
- Fix a NRE if serialization providers are not initialized.
* CodeDomSerializationProvider.cs, CodeDomDesignerLoader.cs:
Refactor the codedom provider to a singleton, so that
CodeDomComponentSerializationService and others can share the
instance.
* SerializeAbsoluteContext.cs: ShouldSerialize should check if
the absolute context is of the same member not the opposite.
svn path=/trunk/mcs/; revision=97101
Zoltan Varga [Sat, 1 Mar 2008 22:02:36 +0000 (22:02 -0000)]
2008-03-01 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Report calling a static method using callvirt as
unverified.
svn path=/trunk/mono/; revision=97095
Ivan Zlatev [Sat, 1 Mar 2008 21:40:48 +0000 (21:40 -0000)]
2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
* Component.cs: Do not set the Site to null on disposing as this
is the Containers job. Instead try to remove from Container if sited.
svn path=/trunk/mcs/; revision=97093
Miguel de Icaza [Sat, 1 Mar 2008 06:27:00 +0000 (06:27 -0000)]
Use mono.pub key
svn path=/trunk/mono/; revision=97067
Miguel de Icaza [Sat, 1 Mar 2008 06:24:19 +0000 (06:24 -0000)]
Fixed
svn path=/trunk/mcs/; revision=97065
Marek Habersack [Sat, 1 Mar 2008 02:24:56 +0000 (02:24 -0000)]
2008-03-01 Marek Habersack <mhabersack@novell.com>
* SectionInformation.cs: added an internal property -
ConfigFilePath, used when deserializing a section in
ConfigurationSection.GetRuntimeObject.
* Configuration.cs: set SectionInformation.ConfigFilePath when
getting an instance of a section.
* ConfigurationSection.cs: support the 'configSource' attribute
when section is read through GetRuntimeObject.
svn path=/trunk/mcs/; revision=97049
Marek Habersack [Sat, 1 Mar 2008 00:06:24 +0000 (00:06 -0000)]
fix
svn path=/trunk/mono/; revision=97038
Marek Habersack [Sat, 1 Mar 2008 00:04:24 +0000 (00:04 -0000)]
Update for the recent changes in SettingsMapper
svn path=/trunk/mono/; revision=97036
Marek Habersack [Fri, 29 Feb 2008 23:49:18 +0000 (23:49 -0000)]
2008-03-01 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: SettingsMappingManager has been moved to
Mono.Web.
2008-03-01 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: SettingsMappingManager has been
moved to Mono.Web.dll
2008-03-01 Marek Habersack <mhabersack@novell.com>
* Makefile: added a dependency on Mono.Web.dll
* System.Web.dll.sources: removed SystemSettingsMapper public APIs
and moved them to the Mono.Web assembly.
2008-03-01 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: added
2008-03-01 Marek Habersack <mhabersack@novell.com>
* ISectionSettingsMapper.cs, MembershipSectionMapper.cs,
RoleManagerSectionMapper.cs, SettingsMapping.cs,
SettingsMappingManager.cs, SettingsMappingWhat.cs: moved to here
from System.Web
2008-03-01 Marek Habersack <mhabersack@novell.com>
* Mono.Web.dll.sources: added
* Makefile: added
svn path=/trunk/mcs/; revision=97035
Miguel de Icaza [Fri, 29 Feb 2008 22:35:41 +0000 (22:35 -0000)]
Revert the mcs switch, we will keep the old settings for now
svn path=/trunk/mono/; revision=97025
Miguel de Icaza [Fri, 29 Feb 2008 22:26:33 +0000 (22:26 -0000)]
svn path=/trunk/mono/; revision=97024
Ivan Zlatev [Fri, 29 Feb 2008 20:36:06 +0000 (20:36 -0000)]
2008-02-29 Ivan N. Zlatev <contact@i-nz.net>
* StringCollectionEditor.cs:
- Split the lines not based on Environment.NewLine as this is
not what is used by MWF on Windows.
- Ignore last empty line.
[Fixes bug #365948]
svn path=/trunk/mcs/; revision=97014
Ivan Zlatev [Fri, 29 Feb 2008 20:28:44 +0000 (20:28 -0000)]
2008-02-29 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Fix wrong array size initialization.
* GridEntry.cs: For MS compitability make all child properties
readonly if the parent is readonly. Ugh.
[Fixes bug #365945 and #365944]
svn path=/trunk/mcs/; revision=97011
Jonathan Pryor [Fri, 29 Feb 2008 19:44:30 +0000 (19:44 -0000)]
* wsdl.1: Fix groff comment (so that it doesn't appear in monodoc's
man-provider output).
svn path=/trunk/mono/; revision=97009
Marek Habersack [Fri, 29 Feb 2008 16:17:58 +0000 (16:17 -0000)]
2008-02-29 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: implement a mechanism to ignore certain virtual
paths when batch compiling. Helps applications which may have
.as?x files which won't work on mono for various reasons (one such
sample is mojoportal).
svn path=/trunk/mcs/; revision=96982
Zoltan Varga [Fri, 29 Feb 2008 16:07:20 +0000 (16:07 -0000)]
2008-02-29 Zoltan Varga <vargaz@gmail.com>
* report.cs (FeatureIsNotAvailable): Use 'mcs1' instead of 'mcs', and 'mcs'
instead of 'gmcs'.
svn path=/trunk/mcs/; revision=96981
Andreia Gaita [Fri, 29 Feb 2008 16:04:18 +0000 (16:04 -0000)]
* HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
relative to the history
2008-02-29 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96980
Zoltan Varga [Fri, 29 Feb 2008 15:18:10 +0000 (15:18 -0000)]
2008-02-29 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Remove OP_SPARC_INARG_VT, add a new OP_VTARG_ADDR opcode instead
to be in sync with the code on the linear IR branch.
* mini-sparc.c inssel-sparc.brg: Use OP_VTARG_ADDR.
svn path=/trunk/mono/; revision=96971
Marek Habersack [Fri, 29 Feb 2008 12:45:19 +0000 (12:45 -0000)]
2008-02-29 Marek Habersack <mhabersack@novell.com>
* machine.config: added an entry to ignore the browserCaps section.
svn path=/trunk/mono/; revision=96959
Zoltan Varga [Fri, 29 Feb 2008 11:58:11 +0000 (11:58 -0000)]
2008-02-29 Zoltan Varga <vargaz@gmail.com>
* inssel-s390.brg (OP_SETRET (freg)): Set dreg correctly.
svn path=/trunk/mono/; revision=96956
Andreia Gaita [Fri, 29 Feb 2008 00:32:52 +0000 (00:32 -0000)]
* HtmlElement.cs: More handlers for mouse and key events
2008-02-29 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96947
Miguel de Icaza [Thu, 28 Feb 2008 23:41:27 +0000 (23:41 -0000)]
Ran ispell-buffer, inspired by the email by Adrian Kuhn
svn path=/trunk/mcs/; revision=96938
Miguel de Icaza [Thu, 28 Feb 2008 22:04:03 +0000 (22:04 -0000)]
2008-02-28 Miguel de Icaza <miguel@novell.com>
* scripts/Makefile.am: Implement new defaults for the Mono 2.0
release, 2.0 profile executables are now the defaults (al, ilasm,
mkbundle, mono-api-info, monop, resgen, wsdl and mcs).
Old commands running under the 1.0 profile are still available
by having the number 1 appended to their command name (al1,
ilasm1, mcs1, mkbundle1, mono-api-info1, monop1, resgen1, wsdl1).
svn path=/trunk/mono/; revision=96927
Andreia Gaita [Thu, 28 Feb 2008 21:10:13 +0000 (21:10 -0000)]
* WebBrowserBase.cs: MouseClick sig changed.
* HtmlHistory.cs: Implement history navigation
* HtmlElement.cs: Add event handlers, and connect them.
2008-02-28 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96921
Andreia Gaita [Thu, 28 Feb 2008 21:08:29 +0000 (21:08 -0000)]
* Mono.Mozilla/DOM/EventListener.cs: Implementation of the
nsIDOMEventListener, so that events can be registered as-needed
for each dom object, instead of gluezilla firing everything up.
This class will eventually replace gluezilla's EventListener.
* Mono.Mozilla/DOM/Node.cs: Store the hashcode of the unmanaged
object before proxying so we can use it to match events to objects.
Implement event handling for dom objects. These events are registered
on the managed EventListener and go straight out to the caller (don't
go out through the Callback class).
* Mono.Mozilla/DOM/HTMLElement.cs,
Mono.Mozilla/DOM/Attribute.cs,
Mono.Mozilla/DOM/Element.cs: Use the hashcode stored on the
parent Node class instead of the local object hashcode (the
local object is a proxy, while the stored hashcode is from
the real object)
* Mono.Mozilla/DOM/Navigation.cs: Implement navigation through
the history.
* Mono.Mozilla/WebBrowser.cs: Move callback-related code to
the Callback class. Add support for registering and firing events
coming from the Callback class (generic window events, element
specific events come through the element it was registered on).
* Mono.Mozilla/Callback.cs: Cleaned up unused callbacks, moved
callback-related code from WebBrowser.cs to here to keep all
callback code together. All events coming through here are
window-related and get sent to the handlers registered through
the WebBrowser class/interface.
* Mono.Mozilla/ICallback.cs: Removed, unnecessary overhead.
* Mono.Mozilla/Base.cs: new pinvokes to support the string classes
* Mono.Mozilla/UniString.cs: Wrapper for mozilla's nsString class
* Mono.Mozilla/AsciiString.cs: Wrapper for mozilla's nsCString class
* Mono.Mozilla.dll.sources:
new files: AsciiString, UniString, EventListener, nsIDOMEvent,
nsIDOMEventListener, nsIDOMEventTarget, nsIDOMKeyEvent, nsIDOMMouseEvent,
nsIDOMUIEvent, NodeEventArgs, NodeEventHandler
removed: ICallback
2008-02-28 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96920
Paolo Molaro [Thu, 28 Feb 2008 18:11:08 +0000 (18:11 -0000)]
Thu Feb 28 19:52:30 CET 2008 Paolo Molaro <lupus@ximian.com>
* CounterCreationData.cs, PerformanceCounterCategory.cs,
PerformanceCounter.cs: bugfixes, icalls for categories,
more methods implemented.
svn path=/trunk/mcs/; revision=96911
Paolo Molaro [Thu, 28 Feb 2008 18:08:54 +0000 (18:08 -0000)]
Thu Feb 28 19:49:45 CET 2008 Paolo Molaro <lupus@ximian.com>
* icall-def.h, domain.c, mono-perfcounters-def.h, mono-perfcounters.c,
mono-perfcounters.h, class-internals.h: support for predefined
writable counters, query of categories and counters, bugfixes.
svn path=/trunk/mono/; revision=96910
Rodrigo Kumpera [Thu, 28 Feb 2008 17:10:30 +0000 (17:10 -0000)]
2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_refanytype): Verify the refanytype opcode.
* verify.c (mono_method_verify): Use do_refanytype.
svn path=/trunk/mono/; revision=96902
Rodrigo Kumpera [Thu, 28 Feb 2008 17:09:10 +0000 (17:09 -0000)]
2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_refanytype_null_stack_top.il: New test for refanytype opcode.
* invalid_refanytype_invalid_stack_top.il: Same.
* valid_refanytype.il: Same.
svn path=/trunk/mono/; revision=96901
Andreia Gaita [Thu, 28 Feb 2008 16:24:40 +0000 (16:24 -0000)]
* xpidlcs.pl: Add overrideable names (for renaming parameters that
clash with c# keywords). Turn DOMTimeStamp to int for now.
2008-02-28 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96900
Rodrigo Kumpera [Thu, 28 Feb 2008 16:18:19 +0000 (16:18 -0000)]
2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_mkrefany): Verify the mkrefany opcode.
* verify.c (mono_method_verify): Use do_mkrefany.
svn path=/trunk/mono/; revision=96898
Rodrigo Kumpera [Thu, 28 Feb 2008 16:16:36 +0000 (16:16 -0000)]
2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
* make_mkrefany.il: New test generator for mkrefany opcode.
* make_tests.sh: Added tests for mkrefany.
svn path=/trunk/mono/; revision=96897
Ivan Zlatev [Thu, 28 Feb 2008 14:57:21 +0000 (14:57 -0000)]
2008-02-28 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs:
- Use PropertyDescriptor.DisplayName instead of .Name for Label,
so that DisplayNameAttribute doesn't get ignored.
- Check for ParenthesizeNameAttribute and parenthesize the Label.
- Add support for PasswordPropertyTextAttribute
* PropertyGridView.cs: Check if an entry is a password.
[Fixes bugs #365589, #365586, #365588]
svn path=/trunk/mcs/; revision=96883
Andreia Gaita [Thu, 28 Feb 2008 14:35:14 +0000 (14:35 -0000)]
* PropertyGridView.cs: Revert the message filtering change, as we
need it to block after all. Remove block parameter, unnecessary.
2008-02-28 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96880
Marek Habersack [Thu, 28 Feb 2008 13:14:20 +0000 (13:14 -0000)]
2008-02-28 Marek Habersack <mhabersack@novell.com>
* HandlerFactoryConfiguration.cs: ignore case when matching
handler paths.
2008-02-28 Marek Habersack <mhabersack@novell.com>
* HttpHandlerAction.cs: ignore case when matching handler
paths. Fixes bug #364995
2008-02-28 Marek Habersack <mhabersack@novell.com>
* TemplateControlParser.cs: when registering a control, check for
the .ascx extension case-insensitively. Fixes bug #364995
svn path=/trunk/mcs/; revision=96870
Marek Habersack [Thu, 28 Feb 2008 11:50:46 +0000 (11:50 -0000)]
2008-02-28 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: make sure that data-bound attribute
assignments properly convert the Bind expression to the Eval
one. Fixes bug #362039
svn path=/trunk/mcs/; revision=96861
Igor Zelmanovich [Thu, 28 Feb 2008 11:20:48 +0000 (11:20 -0000)]
2008-02-28 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs:
fixed exception propagation in case of multiple control with same id
were found.
svn path=/trunk/mcs/; revision=96858
Marek Habersack [Thu, 28 Feb 2008 00:56:17 +0000 (00:56 -0000)]
Remove code that's no longer needed.
svn path=/trunk/mcs/; revision=96841
Marek Habersack [Thu, 28 Feb 2008 00:46:14 +0000 (00:46 -0000)]
2008-02-28 Marek Habersack <mhabersack@novell.com>
* HttpParamsCollection.cs: restore the GetValues overrides only to
make sure the collections are merged before invoking the base
implementation.
svn path=/trunk/mcs/; revision=96839
Marek Habersack [Thu, 28 Feb 2008 00:08:23 +0000 (00:08 -0000)]
2008-02-28 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: in 2.0+, aspx files which contain the Content
controls can contain only them, whitespace and directives. Fixes
bug #339747
svn path=/trunk/mcs/; revision=96837
Jonathan Pobst [Wed, 27 Feb 2008 19:31:09 +0000 (19:31 -0000)]
2008-02-27 Jonathan Pobst <monkey@jpobst.com>
* UserControl.cs: Better implementation of GetPreferredSize.
First step to fixing bug #361441.
2008-02-27 Jonathan Pobst <monkey@jpobst.com>
* UserControlTest.cs: Add test for PreferredSize.
svn path=/trunk/mcs/; revision=96816
Chris Toshok [Wed, 27 Feb 2008 18:40:57 +0000 (18:40 -0000)]
2008-02-27 Chris Toshok <toshok@ximian.com>
* mono-api-info.cs: include protected nested classes in the
output.
svn path=/trunk/mcs/; revision=96812
Paolo Molaro [Wed, 27 Feb 2008 18:14:57 +0000 (18:14 -0000)]
Wed Feb 27 20:00:04 CET 2008 Paolo Molaro <lupus@ximian.com>
* CounterSample.cs, CounterSampleCalculator.cs, PerformanceCounter.cs,
PerformanceCounterCategory.cs, PerformanceCounterCategoryType.cs:
beginning of the performance counter implementation.
svn path=/trunk/mcs/; revision=96810
Paolo Molaro [Wed, 27 Feb 2008 18:05:07 +0000 (18:05 -0000)]
Wed Feb 27 19:49:16 CET 2008 Paolo Molaro <lupus@ximian.com>
* Makefile.am, icall-def.h, icall.c, mono-perfcounters-def.h,
mono-perfcounters.c, mono-perfcounters.h: basic performance counter
implementation.
svn path=/trunk/mono/; revision=96808
Zoltan Varga [Wed, 27 Feb 2008 17:28:53 +0000 (17:28 -0000)]
2008-02-27 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_synchronized_wrapper): Fix the code which throws
the type load exception.
svn path=/trunk/mono/; revision=96805
Rodrigo Kumpera [Wed, 27 Feb 2008 16:53:01 +0000 (16:53 -0000)]
2008-02-27 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Added a few FIXME for method signatures
* verify.c (do_invoke_method): Use mono_method_get_signature_full instead
of mono_method_get_signature and get vararg call working. Removed unused
checks for return value.
* verify.c (do_refanyval): Verify the refanyval opcode.
* verify.c (mono_method_verify): Implemented verification of arglist and
use do_refanyval.
svn path=/trunk/mono/; revision=96799
Rodrigo Kumpera [Wed, 27 Feb 2008 16:48:36 +0000 (16:48 -0000)]
2008-02-27 Rodrigo Kumpera <rkumpera@novell.com>
* valid_vararg.il: New test for calling vararg methods.
svn path=/trunk/mono/; revision=96798
Rodrigo Kumpera [Wed, 27 Feb 2008 16:45:52 +0000 (16:45 -0000)]
2008-02-27 Rodrigo Kumpera <rkumpera@novell.com>
* valid_refanyval.il: New test for the refanyval opcode.
* invalid_refanyval_null_stack_top.il: Same.
* invalid_refanyval_invalid_stack_top.il: Same.
svn path=/trunk/mono/; revision=96797
Zoltan Varga [Wed, 27 Feb 2008 16:41:26 +0000 (16:41 -0000)]
2008-02-27 Zoltan Varga <vargaz@gmail.com>
* mini-mips.c: Use cfg->vret_addr instead of cfg->ret.
svn path=/trunk/mono/; revision=96796
Zoltan Varga [Wed, 27 Feb 2008 16:18:15 +0000 (16:18 -0000)]
2008-02-27 Zoltan Varga <vargaz@gmail.com>
* mini-s390x.c: Use cfg->vret_addr instead of cfg->ret.
svn path=/trunk/mono/; revision=96793
Rodrigo Kumpera [Wed, 27 Feb 2008 16:12:51 +0000 (16:12 -0000)]
2008-02-27 Rodrigo Kumpera <rkumpera@novell.com>
* valid_arglist.il: New test for the arglist opcode.
* invalid_arglist_method_not_vararg.il: Same.
svn path=/trunk/mono/; revision=96791
Zoltan Varga [Wed, 27 Feb 2008 16:09:09 +0000 (16:09 -0000)]
2008-02-27 Zoltan Varga <vargaz@gmail.com>
* mini-s390.c: Use cfg->vret_addr instead of cfg->ret.
svn path=/trunk/mono/; revision=96790
Zoltan Varga [Wed, 27 Feb 2008 16:08:06 +0000 (16:08 -0000)]
2008-02-27 Zoltan Varga <vargaz@gmail.com>
* mini-<ARCH>.h mini.c: Get rid of the MONO_ARCH_HAVE_CREATE_VARS define.
* mini-<ARCH>.c (mono_arch_create_vars): Define this for all architectures.
svn path=/trunk/mono/; revision=96789
Jb Evain [Wed, 27 Feb 2008 15:04:13 +0000 (15:04 -0000)]
notworking
svn path=/trunk/mcs/; revision=96782
Jb Evain [Wed, 27 Feb 2008 15:00:23 +0000 (15:00 -0000)]
more tests
svn path=/trunk/mcs/; revision=96781
Zoltan Varga [Wed, 27 Feb 2008 14:55:37 +0000 (14:55 -0000)]
2008-02-27 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Compile and run all tests using the 2.0 profile.
svn path=/trunk/mono/; revision=96780
Zoltan Varga [Wed, 27 Feb 2008 14:50:18 +0000 (14:50 -0000)]
2008-02-27 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Avoid invalid memory reads for methods without a
body.
svn path=/trunk/mono/; revision=96779
Zoltan Varga [Wed, 27 Feb 2008 14:49:21 +0000 (14:49 -0000)]
2008-02-27 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_methods): Move the check for synchronized methods on
vtypes to marshal.c.
* marshal.c (mono_marshal_get_synchronized_wrapper): Do the vtype check here so
it works for AOT as well.
svn path=/trunk/mono/; revision=96778
Zoltan Varga [Wed, 27 Feb 2008 14:48:48 +0000 (14:48 -0000)]
Add missing changelog entries.
svn path=/trunk/mono/; revision=96777
Roei Erez [Wed, 27 Feb 2008 14:46:20 +0000 (14:46 -0000)]
fix xml convert regarding roundtrip formatting
svn path=/trunk/mcs/; revision=96776
Jb Evain [Wed, 27 Feb 2008 14:06:10 +0000 (14:06 -0000)]
not working
svn path=/trunk/mcs/; revision=96770
Jb Evain [Wed, 27 Feb 2008 14:03:45 +0000 (14:03 -0000)]
we have tests for that now
svn path=/trunk/mcs/; revision=96769
Jb Evain [Wed, 27 Feb 2008 14:03:23 +0000 (14:03 -0000)]
assorted tests
svn path=/trunk/mcs/; revision=96768
Jb Evain [Wed, 27 Feb 2008 13:32:18 +0000 (13:32 -0000)]
oops
svn path=/trunk/mcs/; revision=96766
Jb Evain [Wed, 27 Feb 2008 13:29:58 +0000 (13:29 -0000)]
failing test
svn path=/trunk/mcs/; revision=96762
Zoltan Varga [Wed, 27 Feb 2008 13:05:03 +0000 (13:05 -0000)]
2007-11-14 Yoichi NAKAYAMA <nakayama@pixela.co.jp>
* inssel-mips.brg (OP_OUTARG_MEMBASE (CEE_LDIND_R4 (base))): Add missing
OP_LOADR4_MEMBASE emission.
* mini-codegen.c (mono_spillvar_offset_int): Remove assertion.
(mono_spillvar_offset_float): Ditto.
* mini-mips.c (mono_arch_emit_prolog): Ditto.
* inssel-long32-mips.brg: Fix wrong branching, reduce redundant code
emission.
* basic-long.cs: Add regression tests for them.
* mini-mips.c (add_float32_arg): Respect o32 calling convention in gr
use.
(mono_arch_allocate_vars): Fix representation of single-precision float
argument.
(mono_arch_output_basic_block): Ditto.
* inssel-mips.brg: Ditto, remove duplicate items.
* mini-mips.c (emit_load_volatile_arguments): New function to handle
arguments of tail calls as on other platforms.
(mono_arch_output_basic_block): Handle tail calls.
* inssel-mips.brg (OP_OUTARG_VT (CEE_LDOBJ (base))): Correct destination
register.
* objects.cs (test_5_pass_static_struct): Add test for it.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=96758
Zoltan Varga [Wed, 27 Feb 2008 13:00:36 +0000 (13:00 -0000)]
2007-MM-DD Yoichi NAKAYAMA <nakayama@pixela.co.jp>
* mono-membar.h: Memory barrier for mips.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=96756
Atsushi Eno [Wed, 27 Feb 2008 11:45:11 +0000 (11:45 -0000)]
2008-02-27 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs : in some MoveTo*() methods, it should allow any
destination node when "type" is XPathNodeType.All. Based on the
patch by Sanghyeon Seo, fixed bug #365112.
* XPathNavigatorTests.cs : added test for bug #365112.
svn path=/trunk/mcs/; revision=96753
Marek Safar [Wed, 27 Feb 2008 09:07:03 +0000 (09:07 -0000)]
2008-02-27 Marek Safar <marek.safar@gmail.com>
* ecore.cs: Clean-up and split BetterConversion.
svn path=/trunk/mcs/; revision=96735
Carlos Alberto Cortez [Wed, 27 Feb 2008 08:20:29 +0000 (08:20 -0000)]
* BindingTest.cs: Added a new test for 2.0 BindableComponent property
- again as not working ;-(. Also add a child class of ToolStripItem to
test this property.
* ControlBindingsCollectionTest.cs: Likewise.
2008-02-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=96732
Carlos Alberto Cortez [Wed, 27 Feb 2008 08:17:49 +0000 (08:17 -0000)]
2008-08-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: Actually implement data binding support for
classes implementing IBindableComponent.
* ControlBindingsCollection.cs: Likewise.
svn path=/trunk/mcs/; revision=96731
Carlos Alberto Cortez [Wed, 27 Feb 2008 06:48:35 +0000 (06:48 -0000)]
2008-02-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingTest.cs: Added a new test for 2.0 NullValue property - mark
as NotWorking by now ;-(. Also add an assertion for this new property
in CtorTest.
svn path=/trunk/mcs/; revision=96730
Marek Habersack [Wed, 27 Feb 2008 01:21:15 +0000 (01:21 -0000)]
2008-02-27 Marek Habersack <mhabersack@novell.com>
* AspComponentFoundry.cs: use BuildManager.GetCompiledType in the
LoadType method for the 2.0 profile.
svn path=/trunk/mcs/; revision=96719
Marek Habersack [Wed, 27 Feb 2008 00:55:40 +0000 (00:55 -0000)]
2008-02-27 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: error message output format changes.
2008-02-27 Marek Habersack <mhabersack@novell.com>
* CompilationException.cs: use a different format of ErrorMessage
for the 2.0+ profile.
svn path=/trunk/mcs/; revision=96717
Marek Habersack [Wed, 27 Feb 2008 00:50:18 +0000 (00:50 -0000)]
remove cwl
svn path=/trunk/mcs/; revision=96716
Marek Habersack [Wed, 27 Feb 2008 00:39:00 +0000 (00:39 -0000)]
2008-02-27 Marek Habersack <mhabersack@novell.com>
* CSharpCodeCompiler.cs: use asynchronous method of capturing mcs
output in the 2.0+ profile.
svn path=/trunk/mcs/; revision=96714
Andreia Gaita [Tue, 26 Feb 2008 22:16:14 +0000 (22:16 -0000)]
* PropertyGridView.cs: Use a message filter to check when to
close the dropdown
2008-02-26 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96700
Andreia Gaita [Tue, 26 Feb 2008 22:02:28 +0000 (22:02 -0000)]
* Application.cs: Change the message_filters loop so a filter
can be removed while looping.
2008-02-26 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96696
Jb Evain [Tue, 26 Feb 2008 21:21:43 +0000 (21:21 -0000)]
add some interesting Call tests, where I got the impl wrong
svn path=/trunk/mcs/; revision=96692
Ivan Zlatev [Tue, 26 Feb 2008 20:39:05 +0000 (20:39 -0000)]
2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
* PropertyDescriptor.cs:
- Implement CreateInstance and GetTypeFromName
and refactor GetEditor and Converter use them.
- Drop TypeDescriptor.GetTypeFromName as we also want to check the
ComponentType assembly, which it doesn't do.
* TypeDescriptor.cs: Make GetTypeFromName private as it is no longer
used from the outside.
* PropertyDescriptorTests.cs: Add Converter tests. Based on a
patch by Andy Hume <andyhume32@yahoo.co.uk> under the MIT/X11
license.
* System_test.dll.sources: Add Consts.cs so that tests can use it
(e.g for specifying assembly qualified type names in attributes).
svn path=/trunk/mcs/; revision=96687
Geoff Norton [Tue, 26 Feb 2008 20:23:32 +0000 (20:23 -0000)]
In System.Windows.Forms.CarbonInternal:
2008-02-26 Geoff Norton <gnorton@novell.com>
* WindowHandler.cs: Send WM_CLOSE instead of WM_DESTROY. Fixes
#364281
svn path=/trunk/mcs/; revision=96686
Gert Driesen [Tue, 26 Feb 2008 19:27:46 +0000 (19:27 -0000)]
* CharConverter.cs: Use trimmed value in FormatException.
* CharConverterTest.cs: Fixed test to pass on MS.
* PropertyDescriptorTest.cs: Added test for Attributes.
svn path=/trunk/mcs/; revision=96683
Rodrigo Kumpera [Tue, 26 Feb 2008 17:56:34 +0000 (17:56 -0000)]
2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>
* load-exceptions.cs: Fix the test for missing type situations.
svn path=/trunk/mono/; revision=96674
Ivan Zlatev [Tue, 26 Feb 2008 17:21:28 +0000 (17:21 -0000)]
2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: Optimization in ToggleValue so that it caches
the current value.
* PropertyGridView.cs: An optimization so that the property isn't
re-read twice for each StandardValue added to the drop-down menu.
Patch by Andy Hume <andyhume32@yahoo.co.uk> under the MIT/X11
license.
[Fixes bug #362755]
svn path=/trunk/mcs/; revision=96670
Paolo Molaro [Tue, 26 Feb 2008 16:51:52 +0000 (16:51 -0000)]
Tue Feb 26 18:37:13 CET 2008 Paolo Molaro <lupus@ximian.com>
* Stopwatch.cs: use an hires monotonic clock.
svn path=/trunk/mcs/; revision=96667
Jb Evain [Tue, 26 Feb 2008 16:30:37 +0000 (16:30 -0000)]
we pass this guy
svn path=/trunk/mcs/; revision=96664
Paolo Molaro [Tue, 26 Feb 2008 16:30:33 +0000 (16:30 -0000)]
Tue Feb 26 17:51:58 CET 2008 Paolo Molaro <lupus@ximian.com>
* Timer.cs: use a monotonic clock to schedule timers
(fixes part of bug#347476).
svn path=/trunk/mcs/; revision=96663
Jb Evain [Tue, 26 Feb 2008 16:30:07 +0000 (16:30 -0000)]
2008-02-26 Jb Evain <jbevain@novell.com>
* Expression.cs (Call): Guess the parameters type from the argument
types if needed.
svn path=/trunk/mcs/; revision=96662
Zoltan Varga [Tue, 26 Feb 2008 16:11:59 +0000 (16:11 -0000)]
2008-02-26 Zoltan Varga <vargaz@gmail.com>
* static-constructor.cs thread5.cs: Fix these so they works on the 2.0 profile too.
svn path=/trunk/mono/; revision=96659
Jonathan Pobst [Tue, 26 Feb 2008 16:06:40 +0000 (16:06 -0000)]
2008-02-26 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Apply patch from Justin Cherniak to match
MS better for ProductName, ProductVersion, and CompanyName.
[Fixes bug #361709]
svn path=/trunk/mcs/; revision=96658
Paolo Molaro [Tue, 26 Feb 2008 16:05:28 +0000 (16:05 -0000)]
Tue Feb 26 17:50:17 CET 2008 Paolo Molaro <lupus@ximian.com>
* DateTime.cs: instroduce a method that returns ticks monotonically.
svn path=/trunk/mcs/; revision=96657
Paolo Molaro [Tue, 26 Feb 2008 16:02:51 +0000 (16:02 -0000)]
Tue Feb 26 17:46:32 CET 2008 Paolo Molaro <lupus@ximian.com>
* monitor.c, threads.c, threadpool.c: replace the use of GetTickCount ()
with mono_msec_ticks () which is monotonic and doesn't cause bugs when
the system time is adjusted.
svn path=/trunk/mono/; revision=96656
Paolo Molaro [Tue, 26 Feb 2008 15:55:54 +0000 (15:55 -0000)]
Tue Feb 26 17:40:10 CET 2008 Paolo Molaro <lupus@ximian.com>
* icall.c, icall-def.h: use the new time functions (fixes the
non-monotonic behaviour of TickCount).
svn path=/trunk/mono/; revision=96654
Paolo Molaro [Tue, 26 Feb 2008 15:29:23 +0000 (15:29 -0000)]
Hopefully force the pickup of librt.
svn path=/trunk/mono/; revision=96653
Stephane Delcroix [Tue, 26 Feb 2008 15:09:02 +0000 (15:09 -0000)]
reverting my changes
svn path=/trunk/mcs/; revision=96651
Paolo Molaro [Tue, 26 Feb 2008 14:00:14 +0000 (14:00 -0000)]
Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
* mono-time.c, mono-time.h: new file with the implementation of the
time-related routines we need in mono. This includes an hires
monotonic clock and a proper monotonic replacement for GetTickCount ().
svn path=/trunk/mono/; revision=96646
Marek Habersack [Tue, 26 Feb 2008 13:56:15 +0000 (13:56 -0000)]
2008-02-26 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: a better error message.
* ControlBuilder.cs: if one of the parent builders is a
TemplateBuilder, use it as the naming container and use its
ContainerType property as the value of the BindingContainerType
property.
2008-02-26 Marek Habersack <mhabersack@novell.com>
* BuildProviderCollection.cs: be case-insensitive when looking for
the extension match.
2008-02-26 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: known file types extensions are now matched
case-insensitively.
svn path=/trunk/mcs/; revision=96644
Zoltan Varga [Tue, 26 Feb 2008 13:41:57 +0000 (13:41 -0000)]
2008-02-26 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_custom_attrs_from_builders): Revert the last change as
it breaks the build.
svn path=/trunk/mono/; revision=96641
Zoltan Varga [Tue, 26 Feb 2008 13:26:07 +0000 (13:26 -0000)]
2008-02-26 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Use gmcs for compiling the regression tests.
* *.2.cs *.2.il: Rename to *.cs and *.il.
svn path=/trunk/mono/; revision=96638
Zoltan Varga [Tue, 26 Feb 2008 13:14:24 +0000 (13:14 -0000)]
2008-02-26 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_custom_attrs_from_builders): Assert instead of a crash if the
cattr is not finished yet.
svn path=/trunk/mono/; revision=96635