Zoltan Varga [Tue, 10 Feb 2009 19:18:06 +0000 (19:18 -0000)]
2009-02-10 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_native_func_wrapper): Use get_cache to
lazily initialize the native wrapper cache.
(mono_marshal_get_native_wrapper): Put aot-ed native wrappers into a separate
cache, since they are different from the normal wrappers.
* image.c (mono_image_init): Initialize native_wrapper_cache lazily as well.
* metadata-internals.h (struct _MonoImage): Add a new wrapper for
AOT compiled native wrappers.
svn path=/trunk/mono/; revision=126498
Jonathan Pryor [Tue, 10 Feb 2009 19:09:24 +0000 (19:09 -0000)]
* System.Runtime.Serialization.dll.sources: Add
System.Xml/IFragmentCapableXmlDictionaryWriter.cs to the build.
* IFragmentCapableXmlDictionaryWriter.cs: Added.
svn path=/trunk/mcs/; revision=126493
Jonathan Pryor [Tue, 10 Feb 2009 18:16:14 +0000 (18:16 -0000)]
* Mono.Documentation/monodocer.cs: Cleanup: turn static data into
instance data (for future Threading changes, as only static data
will be tracked for thread-safety); use MDocCommand.Message() and
MDocCommand.Error() for message reporting; remove warnings.
svn path=/trunk/mcs/; revision=126485
Marek Habersack [Tue, 10 Feb 2009 18:12:15 +0000 (18:12 -0000)]
2009-02-10 Marek Habersack <mhabersack@novell.com>
* ImageButton.cs: AddAttributesToRender renders the onclick
attribute only if any of the following is true:
- OnClientClick is not empty
- Validation is enabled for the control
- PostBackUrl is used
PostBackOptions now indicate that control requires the javascript
protocol for the handler.
RaisePostBackEvent passes String.Empty as the argument.
Fixes bug #463939
2009-02-10 Marek Habersack <mhabersack@novell.com>
* ImageButtonTest.cs: added test for bug #46393
svn path=/trunk/mcs/; revision=126482
Mark Probst [Tue, 10 Feb 2009 14:59:00 +0000 (14:59 -0000)]
2009-02-10 Mark Probst <mark.probst@gmail.com>
* mini-x86.c (mono_arch_context_get_int_reg): Handle all registers
individually. Fixes #473482.
2009-02-10 Mark Probst <mark.probst@gmail.com>
* bug-473482.2.cs: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=126467
Marek Safar [Tue, 10 Feb 2009 14:43:14 +0000 (14:43 -0000)]
2009-02-10 Marek Safar <marek.safar@gmail.com>
* *.cs: Replace null-type with NullLiteral where appropriate.
svn path=/trunk/mcs/; revision=126464
Jeffrey Stedfast [Tue, 10 Feb 2009 14:29:46 +0000 (14:29 -0000)]
2009-02-10 Jeffrey Stedfast <fejj@novell.com>
* minizip/zip.c: Fix warnings about old-style paramater type
specifications.
* minizip/unzip.c Fix warnings about old-style paramater type
specifications.
svn path=/trunk/mono/; revision=126463
Jeffrey Stedfast [Tue, 10 Feb 2009 14:22:22 +0000 (14:22 -0000)]
2009-02-10 Jeffrey Stedfast <fejj@novell.com>
* minizip/unzip.c (unzlocal_DosDateToTmuDate): Fix ambiguous
else's.
(unzlocal_DosDateToTmuDate): Here too.
(unzlocal_CheckCurrentFileCoherencyHeader): And here.
svn path=/trunk/mono/; revision=126461
Jeffrey Stedfast [Tue, 10 Feb 2009 14:18:02 +0000 (14:18 -0000)]
2009-02-10 Jeffrey Stedfast <fejj@novell.com>
* old-map.c: Added prototypes to silence compile warnings. Looks
like this file is supposed to be autogenerated, so probably not
the right fix but I can't find the autogen script.
* map.h (helper_Mono_Posix_getpwnamuid): Added a prototype for
this - it doesn't seem to be used anywhere in mono, so
maybe it can be removed but I'm not positive.
(map_Mono_Posix_PollEvents): Added prototype.
(map_Mono_Posix_Signals): Added prototype.
* macros.c: #include "map.h" to silence compile warnings about no
previous prototypes.
svn path=/trunk/mono/; revision=126460
Carlos Alberto Cortez [Tue, 10 Feb 2009 10:33:28 +0000 (10:33 -0000)]
* TreeNode.cs: Don't return TreeView.BackColor when retrieving our own
BackColor property. This is what .net does in both 1.1 and 2.0.
* TreeView.cs: When selected_node is not the same as highlighted_node,
we need to handle the back color in a different way, trying to use the
node's BackColor if it's not Color.Empty.
Fixes #464200.
2009-02-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=126440
Carlos Alberto Cortez [Tue, 10 Feb 2009 09:12:02 +0000 (09:12 -0000)]
2009-02-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeView.cs: When canceling selection in our MouseUp handler,
invalidate also the previous selected node bounds.
Fixes #464191.
svn path=/trunk/mcs/; revision=126433
Gonzalo Paniagua Javier [Tue, 10 Feb 2009 07:35:08 +0000 (07:35 -0000)]
2009-02-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AppDomain.cs: this fixes the remoting tests.
Zoltan found out that there was a domain improperly using shadow
copy.
svn path=/trunk/mcs/; revision=126430
Gonzalo Paniagua Javier [Tue, 10 Feb 2009 06:10:49 +0000 (06:10 -0000)]
fix the windows build
svn path=/trunk/mono/; revision=126424
Atsushi Eno [Tue, 10 Feb 2009 04:09:27 +0000 (04:09 -0000)]
2009-02-10 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter2.cs : similar fix in WriteStartElement() to
previous change. Fixed bug #474091.
* XmlTextWriterTests.cs : added test for bug #474091.
svn path=/trunk/mcs/; revision=126417
Jeffrey Stedfast [Tue, 10 Feb 2009 01:32:54 +0000 (01:32 -0000)]
2009-02-09 Jeffrey Stedfast <fejj@novell.com>
* supportw.c (SetWindowPos): Fixed compile warnings about
printf-style formatters.
(SendMessageA): Same.
svn path=/trunk/mono/; revision=126409
Jeffrey Stedfast [Tue, 10 Feb 2009 01:32:19 +0000 (01:32 -0000)]
2009-02-09 Jeffrey Stedfast <fejj@novell.com>
* aot-compiler.c (arch_emit_plt_entry): Fixed to compile.
(mono_compile_assembly): Hush compile warnings about
uninitialized [tmp_]outfile_name variables in the !use_bin_writer
code path.
svn path=/trunk/mono/; revision=126408
Zoltan Varga [Tue, 10 Feb 2009 01:16:57 +0000 (01:16 -0000)]
2009-02-10 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_output_basic_block): Disable AOT for OP_JMP.
svn path=/trunk/mono/; revision=126406
Jeffrey Stedfast [Tue, 10 Feb 2009 01:08:46 +0000 (01:08 -0000)]
2009-02-09 Jeffrey Stedfast <fejj@novell.com>
* aot-compiler.c (arch_emit_plt_entry): Fixed to compile.
svn path=/trunk/mono/; revision=126405
Zoltan Varga [Tue, 10 Feb 2009 01:02:38 +0000 (01:02 -0000)]
2009-02-10 Zoltan Varga <vargaz@gmail.com>
* exceptions-arm.c (mono_arch_find_jit_info): Fix aot support.
* mini-arm.c: Checkin unwind related changes missing from an earlier commit.
svn path=/trunk/mono/; revision=126404
Zoltan Varga [Tue, 10 Feb 2009 01:00:15 +0000 (01:00 -0000)]
2009-02-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Fix arm support.
* image-writer.c: Move the R_ARM constants to image-writer.h. Export a
img_writer_emit_unset_mode () function.
svn path=/trunk/mono/; revision=126403
Geoff Norton [Tue, 10 Feb 2009 00:22:32 +0000 (00:22 -0000)]
2009-02-09 Geoff Norton <gnorton@novell.com>
* mini-s390.c: Fix the signature of emit_sig_cookie.
svn path=/trunk/mono/; revision=126400
Zoltan Varga [Tue, 10 Feb 2009 00:20:50 +0000 (00:20 -0000)]
Add missing files to the build.
svn path=/trunk/mono/; revision=126399
Zoltan Varga [Tue, 10 Feb 2009 00:20:33 +0000 (00:20 -0000)]
2009-02-10 Zoltan Varga <vargaz@gmail.com>
* unwind.c (mono_unwind_get_dwarf_data_align): New helper function.
(mono_unwind_get_dwarf_pc_reg): Ditto.
* aot-compiler.c (emit_dwarf_abbrev): Another large reorganization.
Move almost all platform specific code to a set of arch_ functions,
and document them to ease porting.
svn path=/trunk/mono/; revision=126398
Zoltan Varga [Mon, 9 Feb 2009 23:07:40 +0000 (23:07 -0000)]
2009-02-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_xdebug_init): Fix xdebug support.
svn path=/trunk/mono/; revision=126392
Marek Safar [Mon, 9 Feb 2009 23:05:38 +0000 (23:05 -0000)]
Enabled full verify for 2.0 profile
svn path=/trunk/mcs/; revision=126391
Marek Safar [Mon, 9 Feb 2009 23:05:03 +0000 (23:05 -0000)]
Update.
svn path=/trunk/mcs/; revision=126390
Marek Safar [Mon, 9 Feb 2009 23:04:38 +0000 (23:04 -0000)]
2009-02-09 Marek Safar <marek.safar@gmail.com>
* expression.cs: Initializer of reference argument use temporary
variable to be verifiable.
* parameter.cs: Share EmitLdArg.
svn path=/trunk/mcs/; revision=126389
Zoltan Varga [Mon, 9 Feb 2009 23:02:45 +0000 (23:02 -0000)]
2009-02-10 Zoltan Varga <vargaz@gmail.com>
* image-writer.h image-writer.c: New files, extracted from aot-compiler.c.
* aot-compiler.c: Extract the image writing functionality into a separate
module to reduce the size of this file.
svn path=/trunk/mono/; revision=126388
Jonathan Pryor [Mon, 9 Feb 2009 21:34:01 +0000 (21:34 -0000)]
* Documentation/en/Mono.Unix/UnixGroupInfo.xml: Document semantic
changes to UnixGroupInfo.GetMembers().
* Mono.Unix/UnixGroupInfo.cs (GetMembers): Skip group members which
aren't valid users on the system (thus removing a possible exception).
Patch thanks to Daniel PeƱalba.
svn path=/trunk/mcs/; revision=126381
Zoltan Varga [Mon, 9 Feb 2009 21:17:46 +0000 (21:17 -0000)]
2009-02-09 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (is_shared_got_patch): Add MONO_PATCH_INFO_IMAGE.
* aot-runtime.c (is_shared_got_patch): Ditto.
* aot-runtime.c (load_named_code): Cope with the fact that
decode_got_entry () won't decode the patch fully if its corresponding got
entry is already filled.
svn path=/trunk/mono/; revision=126377
Marek Habersack [Mon, 9 Feb 2009 21:08:40 +0000 (21:08 -0000)]
2009-02-09 Marek Habersack <mhabersack@novell.com>
* ObjectDataSourceViewTest.cs: added test for bug #471767
2009-02-09 Marek Habersack <mhabersack@novell.com>
* ObjectDataSourceView.cs: ExecuteSelect returns a single-item
array of objects containing the result, if the result isn't one of
DataSet, DataTable or IEnumerable. Fixes bug #471767
svn path=/trunk/mcs/; revision=126371
Jonathan Pryor [Mon, 9 Feb 2009 18:44:57 +0000 (18:44 -0000)]
* Makefile: Don't include mono-ecma-css.js as a resource.
* Monodoc/ecma-provider.cs: Insert helper.js, not mono-ecma-css.js.
* Monodoc/provider.cs: Surround the contents of `helper.js' with a
<script/> block so that valid HTMl is generated.
* Resources/helper.js: Remove <script/> block, so that `helper.js' is an
actual JavaScript file, not an SGML file w/ JavaScript content.
* Resources/mono-ecma-css.js: Remove; use Resources/helper.js instead.
svn path=/trunk/mcs/; revision=126359
Raja R Harinath [Mon, 9 Feb 2009 18:13:30 +0000 (18:13 -0000)]
* IUriData.cs, UriData.cs: New. Initial cut at UriParser protocol.
svn path=/trunk/mcs/; revision=126358
Raja R Harinath [Mon, 9 Feb 2009 18:13:02 +0000 (18:13 -0000)]
Make UriParser available in the NET_1_1 build
* UriParser.cs: Make visible as internal class in the NET_1_1 build.
* UriComponents.cs, UriFormats.cs, DefaultUriParser.cs: Likewise.
* GenericUriParser.cs, GenericUriParserOptions.cs: Likewise.
svn path=/trunk/mcs/; revision=126357
Raja R Harinath [Mon, 9 Feb 2009 18:12:34 +0000 (18:12 -0000)]
update known issues
svn path=/trunk/mcs/; revision=126356
Geoff Norton [Mon, 9 Feb 2009 17:28:57 +0000 (17:28 -0000)]
2009-02-09 Geoff Norton <gnorton@novell.com>
* appdomain.h:
* security-core-clr.c: Allow enabling core-clr from the embedding
API.
svn path=/trunk/mono/; revision=126351
Zoltan Varga [Mon, 9 Feb 2009 15:54:24 +0000 (15:54 -0000)]
2009-02-09 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_create_monitor_enter_trampoline_full):
Initialize *ji.
(mono_arch_create_monitor_exit_trampoline_full): Ditto.
svn path=/trunk/mono/; revision=126339
Zoltan Varga [Mon, 9 Feb 2009 15:50:18 +0000 (15:50 -0000)]
2009-02-09 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_create_monitor_enter_trampoline_full): Use 'code'
as the moving pointer instead of 'buf' for consistency with the rest of the
codebase.
(mono_arch_create_monitor_exit_trampoline): Ditto.
svn path=/trunk/mono/; revision=126338
Zoltan Varga [Mon, 9 Feb 2009 15:33:25 +0000 (15:33 -0000)]
2009-02-09 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_trampolines): Add throw_pending_exception/
generic_class_init trampolines.
(add_generic_class): Extract some code from add_generic_instances () into a
separate function so it can be called from other places too.
(compile_method): Call add_generic_class () for the classes of inflated methods
referenced by the method.
(can_encode_patch): Allow references to generic parameters.
* aot-runtime.c: Add support the patches required by the new trampolines.
* exceptions-amd64.c (mono_arch_get_throw_pending_exception_full): Add full-aot
support.
* tramp-amd64.c (mono_arch_create_generic_class_init_trampoline_full): Add
full-aot support.
* exceptions-amd64.c (mono_arch_get_throw_pending_exception_full): Rename
this from get_throw_pending_exception, make the signature full aot compatible.
svn path=/trunk/mono/; revision=126337
Marek Safar [Mon, 9 Feb 2009 10:38:32 +0000 (10:38 -0000)]
New test.
svn path=/trunk/mcs/; revision=126329
Marek Safar [Mon, 9 Feb 2009 10:38:10 +0000 (10:38 -0000)]
2009-02-09 Marek Safar <marek.safar@gmail.com>
A fix for bug #473559
* class.cs: Fixed: Not reporting error about nested class with the
same name.
svn path=/trunk/mcs/; revision=126328
Atsushi Eno [Mon, 9 Feb 2009 09:31:23 +0000 (09:31 -0000)]
2009-02-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlElementTest.cs: SetAttribute(name,value) should identify value
change for existing node, from new node insertion.
Fixed bug #464394.
* XmlElementTests.cs : added test for bug #464394.
svn path=/trunk/mcs/; revision=126323
Zoltan Varga [Mon, 9 Feb 2009 01:08:13 +0000 (01:08 -0000)]
2009-02-09 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_get_throw_pending_exception_full): Rename
this from get_throw_pending_exception, make the signature full aot compatible.
svn path=/trunk/mono/; revision=126301
Zoltan Varga [Mon, 9 Feb 2009 00:46:03 +0000 (00:46 -0000)]
2009-02-09 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (fullaotcheck): New target to run full-aot tests.
svn path=/trunk/mono/; revision=126300
Zoltan Varga [Mon, 9 Feb 2009 00:37:01 +0000 (00:37 -0000)]
2009-02-09 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (inline_method): Save/Restore cfg->ret_var_set too.
* exceptions.cs: Add a test.
svn path=/trunk/mono/; revision=126299
Gonzalo Paniagua Javier [Sun, 8 Feb 2009 23:11:03 +0000 (23:11 -0000)]
2009-02-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: lock SetResponseError.
svn path=/trunk/mcs/; revision=126292
Zoltan Varga [Sun, 8 Feb 2009 23:06:45 +0000 (23:06 -0000)]
2009-02-09 Zoltan Varga <vargaz@gmail.com>
* wait.c (WaitForMultipleObjectsEx): Initialize poll variable.
svn path=/trunk/mono/; revision=126290
Gonzalo Paniagua Javier [Sun, 8 Feb 2009 22:51:30 +0000 (22:51 -0000)]
2009-02-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpClientTransportSink.cs: if we get an WebException that does not
have a response, dispatch it to the sink.
svn path=/trunk/mcs/; revision=126288
Gert Driesen [Sun, 8 Feb 2009 19:43:44 +0000 (19:43 -0000)]
* DnsTest.cs: Use Assert syntax, and spaces to tabs. Added tests
for argument checks.
* Dns.cs: BeginGetHostAddresses - renamed argument to match MS,
reject "any" IP addresses. BeginGetHostEntry - renamed argument
to match MS, reject "any" IP addresses. GetHostEntry - reject
"any" IP addresses. GetHostAddresses - reject "any" IP addresses.
GetHostByName - use "hostName" as paramname in ANE.
svn path=/trunk/mcs/; revision=126281
Gert Driesen [Sun, 8 Feb 2009 18:05:07 +0000 (18:05 -0000)]
* Uri.cs: Moved UriKind check from TryCreate to exception-less .ctor,
and check accessibility of this .ctor from internal to private.
* UriTest3.cs: Added and improved tests for TryCreate. Added few
asserts for IsWellFormedUriString. Added .ctor tests.
svn path=/trunk/mcs/; revision=126272
Marek Safar [Sun, 8 Feb 2009 17:39:21 +0000 (17:39 -0000)]
Optmize modifiers setting
svn path=/trunk/mcs/; revision=126271
Gert Driesen [Sun, 8 Feb 2009 10:33:09 +0000 (10:33 -0000)]
* HttpWebRequestTest.cs: Added Not-Modified-Since test. Updated
bug numbers.
svn path=/trunk/mcs/; revision=126263
Ivan Zlatev [Sat, 7 Feb 2009 23:24:56 +0000 (23:24 -0000)]
2009-02-07 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: End or if end fails then cancel the current edit
operation before clearing the data source.
svn path=/trunk/mcs/; revision=126213
Ivan Zlatev [Sat, 7 Feb 2009 23:24:51 +0000 (23:24 -0000)]
2009-02-07 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Data-bind only after the handle is created.
[Fixes bug #473680]
svn path=/trunk/mcs/; revision=126212
Gonzalo Paniagua Javier [Sat, 7 Feb 2009 19:57:18 +0000 (19:57 -0000)]
2009-02-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* socket-io.c: when requesting all the local ips, if there are no
interfaces up and running, MS returns 127.0.0.1.
svn path=/trunk/mono/; revision=126203
Zoltan Varga [Sat, 7 Feb 2009 19:09:44 +0000 (19:09 -0000)]
2009-02-07 Zoltan Varga <vargaz@gmail.com>
* unwind.c (mono_unwind_frame): Eliminate the data_align_factor argument,
use the DWARF_DATA_ALIGN constant instead.
svn path=/trunk/mono/; revision=126199
Zoltan Varga [Sat, 7 Feb 2009 18:59:29 +0000 (18:59 -0000)]
2009-02-07 Zoltan Varga <vargaz@gmail.com>
* unwind.c (mono_unwind_frame): Eliminate the data_align_factor argument,
use the DWARF_DATA_ALIGN constant instead.
* exception-<ARCH>.c: Update after the above change.
svn path=/trunk/mono/; revision=126195
Zoltan Varga [Sat, 7 Feb 2009 18:56:37 +0000 (18:56 -0000)]
2009-02-07 Zoltan Varga <vargaz@gmail.com>
* exceptions-arm.c (mono_arch_find_jit_info): Transition this to use the
dwarf unwinder.
* mini-arm.c: Enable the dwarf unwinder.
svn path=/trunk/mono/; revision=126193
Gonzalo Paniagua Javier [Sat, 7 Feb 2009 18:54:03 +0000 (18:54 -0000)]
2009-02-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-perfcounters-def.h: processor time is an inverse time.
Fixes bug #468625.
svn path=/trunk/mono/; revision=126192
Zoltan Varga [Sat, 7 Feb 2009 17:43:57 +0000 (17:43 -0000)]
2009-02-07 Zoltan Varga <vargaz@gmail.com>
* Makefile: Add Test/resources/Fergie.GED to EXTRA_DIST.
svn path=/trunk/mcs/; revision=126190
Jordi Mas i Hernandez [Sat, 7 Feb 2009 15:02:50 +0000 (15:02 -0000)]
2009-02-07 Jordi Mas i Hernandez <jordimash@gmail.com>
* Mono.Cairo/NativeMethods.cs: class should be internal not public
svn path=/trunk/mcs/; revision=126187
Gonzalo Paniagua Javier [Sat, 7 Feb 2009 05:25:24 +0000 (05:25 -0000)]
2009-02-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* configure.in: include stdio so that NULL is defined when checking
for ifreq.
svn path=/trunk/mono/; revision=126164
Gonzalo Paniagua Javier [Sat, 7 Feb 2009 05:22:30 +0000 (05:22 -0000)]
2009-02-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Dns.cs: empty string for host (also 0.0.0.0) is just passed to the
runtime, which will then retrieve the local IP addresses. Fixes bug
#386637 part 2/2.
svn path=/trunk/mcs/; revision=126162
Gonzalo Paniagua Javier [Sat, 7 Feb 2009 05:20:52 +0000 (05:20 -0000)]
2009-02-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* socket-io.c: an empty host name returns the list of local IPs.
Fixes bug #386637 part 1/2.
svn path=/trunk/mono/; revision=126159
Zoltan Varga [Sat, 7 Feb 2009 03:47:43 +0000 (03:47 -0000)]
2009-02-07 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Use mono_class_get_vtable_entry ()
instead of mono_class_setup_vtable ().
svn path=/trunk/mono/; revision=126152
Zoltan Varga [Sat, 7 Feb 2009 03:23:01 +0000 (03:23 -0000)]
2009-02-07 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c (mono_arch_find_jit_info): Transition this to use the
dwarf unwinder.
* mini-x86.h: Enable the dwarf unwinder.
svn path=/trunk/mono/; revision=126151
Zoltan Varga [Sat, 7 Feb 2009 02:43:48 +0000 (02:43 -0000)]
2009-02-07 Zoltan Varga <vargaz@gmail.com>
* verify.c (mono_class_interface_implements_interface): Call
mono_class_setup_interfaces ().
(merge_stacks): Ditto.
svn path=/trunk/mono/; revision=126150
Carlos Alberto Cortez [Sat, 7 Feb 2009 00:13:48 +0000 (00:13 -0000)]
2009-02-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeView.cs: When handling the MouseMove event, check if
focused_node and selected_node fields are null - usually they are non
null, since we have always a selected node, but canceling selection by
handling BeforeSelect event leaves the two of them as null.
Fixes #470451.
svn path=/trunk/mcs/; revision=126139
Gonzalo Paniagua Javier [Fri, 6 Feb 2009 23:58:46 +0000 (23:58 -0000)]
remove warning
svn path=/trunk/mono/; revision=126137
Gonzalo Paniagua Javier [Fri, 6 Feb 2009 23:02:58 +0000 (23:02 -0000)]
test for bug 445326
svn path=/trunk/mcs/; revision=126133
Gonzalo Paniagua Javier [Fri, 6 Feb 2009 23:01:29 +0000 (23:01 -0000)]
2009-02-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* StreamReader.cs: when a LF ends a decoded buffer and is not followed
by a CR in the next decoded buffer, we didn't flush the string.
Fixes bug #445326.
svn path=/trunk/mcs/; revision=126131
Zoltan Varga [Fri, 6 Feb 2009 21:03:50 +0000 (21:03 -0000)]
2009-02-06 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_interfaces): New function to lazily initalize
klass->interfaces.
(mono_generic_class_get_class): Don't initalize klass->interfaces.
(mono_generic_class_get_class): Ditto.
svn path=/trunk/mono/; revision=126112
Miguel de Icaza [Fri, 6 Feb 2009 20:49:19 +0000 (20:49 -0000)]
2009-02-06 U-QUACK\miguel <miguel@quack>
* icall-defs.h: Include also the Encrypt/Decrypt string methods as
they live in security.c
* debug-mono-symfile.c (mono_debug_open_mono_symbols): Integrated
another bit from Paolo's code.
svn path=/trunk/mono/; revision=126110
Miguel de Icaza [Fri, 6 Feb 2009 20:23:22 +0000 (20:23 -0000)]
Alloca
svn path=/trunk/mono/; revision=126103
Gonzalo Paniagua Javier [Fri, 6 Feb 2009 20:18:50 +0000 (20:18 -0000)]
2009-02-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebRequest.cs: some servers have a comment after the directory
name. Fixes bugs #471149 and #471216.
svn path=/trunk/mcs/; revision=126101
Gonzalo Paniagua Javier [Fri, 6 Feb 2009 19:33:19 +0000 (19:33 -0000)]
2009-02-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConnectionStream.cs: set the content length to 0 when the
response is not supposed to have any content.
svn path=/trunk/mcs/; revision=126090
Scott Thomas [Fri, 6 Feb 2009 16:20:09 +0000 (16:20 -0000)]
Contributed under the MIT/X11 license. This patch cleans up some
generic variance code and fixes the variance rules. The spec,
SURPRISE SURPRISE, is totally wrong about variance rules. Luckily,
we figured out how it really ought to be. Also added some new
error tests and three new regular tests which are on the ignore
list for now until VM support lands.
svn path=/trunk/mcs/; revision=126062
Neville Gao [Fri, 6 Feb 2009 16:12:38 +0000 (16:12 -0000)]
Added events to support IScrollProvier accessibility.
svn path=/trunk/mcs/; revision=126060
Jb Evain [Fri, 6 Feb 2009 16:00:06 +0000 (16:00 -0000)]
2009-02-06 Jb Evain <jbevain@novell.com>
* AssemblyInfo.cs: allow System.Net to see mscorlib's internals,
as it needs Thread.Interrupt.
svn path=/trunk/mcs/; revision=126058
Zoltan Varga [Fri, 6 Feb 2009 15:57:51 +0000 (15:57 -0000)]
2009-02-06 Zoltan Varga <vargaz@gmail.com>
* object.c (build_imt_slots): Add a small optimization to avoid inflating
methods which will be discarded by add_imt_builder_entry ().
svn path=/trunk/mono/; revision=126057
Zoltan Varga [Fri, 6 Feb 2009 15:17:19 +0000 (15:17 -0000)]
2009-02-06 Zoltan Varga <vargaz@gmail.com>
* marshal.c (get_runtime_invoke_type): Avoid sharing enum types since they
need to be boxed.
svn path=/trunk/mono/; revision=126054
Marek Habersack [Fri, 6 Feb 2009 15:06:18 +0000 (15:06 -0000)]
2009-02-06 Marek Habersack <mhabersack@novell.com>
* Style.cs: if CssClass is null, return String.Empty. Fixes bug
#473303
Added a range check to the BorderStyle property.
2009-02-06 Marek Habersack <mhabersack@novell.com>
* StyleTest.cs: added tests for CssClass and BorderStyle.
Renamed the Style_CssClass method to Style_RegisteredCssClass.
svn path=/trunk/mcs/; revision=126051
Atsushi Eno [Fri, 6 Feb 2009 14:13:28 +0000 (14:13 -0000)]
2009-02-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter2.cs : in WriteStartAttribute(), fill namespace in
case it is null and the prefix has matching ns. Fixed bug #472634.
* XmlTextWriterTests.cs : added test for bug #472634.
svn path=/trunk/mcs/; revision=126047
Marek Habersack [Fri, 6 Feb 2009 14:08:59 +0000 (14:08 -0000)]
Reverting revision 126037, it's already taken care of in IsViewStateEnabled, thanks Gert for noticing it.
svn path=/trunk/mcs/; revision=126045
Marek Habersack [Fri, 6 Feb 2009 13:09:25 +0000 (13:09 -0000)]
2009-02-06 Marek Habersack <mhabersack@novell.com>
* Control.cs: partially restore the ViewStateShouldBeSaved method
in order to introduce a small optimization - when the control's
EnableViewState is false, there is no point in checking all the
child controls.
svn path=/trunk/mcs/; revision=126037
Marek Safar [Fri, 6 Feb 2009 12:49:11 +0000 (12:49 -0000)]
2009-02-06 Marek Safar <marek.safar@gmail.com>
* delegate.cs: Use cached Invoke method directly.
svn path=/trunk/mcs/; revision=126031
Atsushi Eno [Fri, 6 Feb 2009 11:52:22 +0000 (11:52 -0000)]
2009-02-06 Atsushi Enomoto <atsushi@ximian.com>
* ClientBase.cs : oops, should have tried build with net_2_1_raw.
svn path=/trunk/mcs/; revision=126028
Gert Driesen [Fri, 6 Feb 2009 11:34:39 +0000 (11:34 -0000)]
* Control.cs: Make IsViewStateEnabled available on 1.0 profile
and use it to determine if viewstate needs to be saved instead of
the newly introduced ViewStateShouldBeSaved. Remove
ViewStateShouldBeSaved.
svn path=/trunk/mcs/; revision=126025
Marek Safar [Fri, 6 Feb 2009 11:11:45 +0000 (11:11 -0000)]
Update.
svn path=/trunk/mcs/; revision=126022
Marek Safar [Fri, 6 Feb 2009 11:11:32 +0000 (11:11 -0000)]
2009-02-06 Marek Safar <marek.safar@gmail.com>
* expression.cs: Emit expression tree for hoisted variable access.
svn path=/trunk/mcs/; revision=126021
Atsushi Eno [Fri, 6 Feb 2009 10:27:01 +0000 (10:27 -0000)]
2009-02-06 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs, ClientBase.cs :
implement remaining ChannelBase members and made some required
changes in ClientRuntimeChannel.
svn path=/trunk/mcs/; revision=126017
Raja R Harinath [Fri, 6 Feb 2009 07:50:39 +0000 (07:50 -0000)]
Fix mcs/tests/test-7.cs
* mini-amd64.c (mono_arch_allocate_vars): Revert change from 2009-02-03.`
svn path=/trunk/mono/; revision=126006
Geoff Norton [Fri, 6 Feb 2009 07:02:03 +0000 (07:02 -0000)]
2009-02-05 Geoff Norton <gnorton@novell.com>
* WebClient_2_1.cs: Use g_timeout_add instead of g_idle_add here until
SyncContext is ready, as its less prone to starvation.
svn path=/trunk/mcs/; revision=126003
Miguel de Icaza [Fri, 6 Feb 2009 06:26:59 +0000 (06:26 -0000)]
2009-02-06 Miguel De Icaza <miguel@novell.com>
* Disable parallel marking on OSX as it hangs during collections
in the bootstrap stage of Mono.
As we find more platforms that hang, we should disable it there as
well.
svn path=/trunk/mono/; revision=126002
Scott Thomas [Fri, 6 Feb 2009 01:03:07 +0000 (01:03 -0000)]
Rolling back premature commit.
svn path=/trunk/mono/; revision=125977
Scott Thomas [Fri, 6 Feb 2009 00:52:27 +0000 (00:52 -0000)]
Contributed under the MIT/X11 license. This patch completes
runtime support for generic variance.
svn path=/trunk/mono/; revision=125976
Zoltan Varga [Thu, 5 Feb 2009 23:26:36 +0000 (23:26 -0000)]
Put back a '\n'.
svn path=/trunk/mono/; revision=125957
Zoltan Varga [Thu, 5 Feb 2009 23:25:12 +0000 (23:25 -0000)]
2009-02-06 Zoltan Varga <vargaz@gmail.com>
* mini.c (print_jit_stats): Remove some unused statistics.
svn path=/trunk/mono/; revision=125955
Zoltan Varga [Thu, 5 Feb 2009 23:18:25 +0000 (23:18 -0000)]
2009-02-06 Zoltan Varga <vargaz@gmail.com>
* loader.c: Add a statistics for the size of the memberref signature cache.
svn path=/trunk/mono/; revision=125954
Zoltan Varga [Thu, 5 Feb 2009 23:10:40 +0000 (23:10 -0000)]
2009-02-06 Zoltan Varga <vargaz@gmail.com>
* loader.c (find_cached_memberref_sig): New helper function.
(cache_memberref_sig): Ditto.
* loader.c: Cache the result of parsing memberref signatures, since otherwise
they will be parsed again for every generic instantiation, leading to unbounded
memory growth.
svn path=/trunk/mono/; revision=125953