Zoltan Varga [Tue, 7 Apr 2009 22:52:38 +0000 (22:52 -0000)]
2009-04-08 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Fix alignment in the LOCALLOC_IMM
opcode. Use pointer types in more places instead of casting them to
integers.
* mini-llvm-cpp.cpp (mono_llvm_create_ee): Create a pass manager to run
optimizations.
(mono_llvm_optimize_method): New helper function to optimize a method.
* method-to-ir.c (mono_emit_widen_call_res): Extract the call result
widening code so it could be called from more places.
(mono_method_to_ir): Call mono_emit_widne_call_res () in several more
code paths in the call opcodes.
svn path=/trunk/mono/; revision=131265
Rodrigo Kumpera [Tue, 7 Apr 2009 22:30:00 +0000 (22:30 -0000)]
2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (method_from_memberref): If ít's a memberref to a typespec inflate
the signature and search the inflated type.
We can't blindly search the generic type definition or expect that the signature
will be inflated as both options can happen. The only solution is to search the
inflated type against the inflated signature.
Fixes #492778.
svn path=/trunk/mono/; revision=131263
Miguel de Icaza [Tue, 7 Apr 2009 22:13:52 +0000 (22:13 -0000)]
Add to the build
svn path=/trunk/mcs/; revision=131262
Zoltan Varga [Tue, 7 Apr 2009 21:49:54 +0000 (21:49 -0000)]
2009-04-07 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (dis_one): Decode string arguments.
svn path=/trunk/mono/; revision=131261
Zoltan Varga [Tue, 7 Apr 2009 20:00:13 +0000 (20:00 -0000)]
2009-04-07 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py (ObjectPrinter.__init__): Update to latest archer api.
svn path=/trunk/mono/; revision=131255
Ankit Jain [Tue, 7 Apr 2009 19:04:23 +0000 (19:04 -0000)]
Fix bug #491828.
* ToolTask.cs (LogEventsFromTextOutput): Log even in case of
unrecognized errors.
svn path=/trunk/mcs/; revision=131250
Ankit Jain [Tue, 7 Apr 2009 18:34:18 +0000 (18:34 -0000)]
Fix bug #487155.
* StringHelper.cs: Handle octal values in strings.
Patch from Stephen Gennard (stephen@gennard.net)
svn path=/trunk/mcs/; revision=131249
Paolo Molaro [Tue, 7 Apr 2009 15:59:02 +0000 (15:59 -0000)]
Mon Apr 6 14:19:54 CEST 2009 Paolo Molaro <lupus@ximian.com>
* exceptions-amd64.c, mini-amd64.h: amd64 support code for continuations.
svn path=/trunk/mono/; revision=131239
Rodrigo Kumpera [Tue, 7 Apr 2009 15:00:14 +0000 (15:00 -0000)]
2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* pedump.c (dump_verify_info): Dump type name correctly.
svn path=/trunk/mono/; revision=131235
Rodrigo Kumpera [Tue, 7 Apr 2009 14:35:47 +0000 (14:35 -0000)]
2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* valid_eh_block_with_no_instructions_after.il: Regression test
for #492494.
svn path=/trunk/mono/; revision=131234
Rodrigo Kumpera [Tue, 7 Apr 2009 14:35:36 +0000 (14:35 -0000)]
2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_method_verify): Don't init code slots for exception boundaries if they
are larger than code size.
This can happen in valid code if the try/catch block is not followed by any instruction
and do a backward branch on the leave instruction.
Fixes #492494.
svn path=/trunk/mono/; revision=131233
Marek Habersack [Tue, 7 Apr 2009 13:05:43 +0000 (13:05 -0000)]
2009-04-07 Marek Habersack <mhabersack@novell.com>
* ScriptComponentDescriptor.cs: new values replace old in
AddEntry.
svn path=/trunk/mcs/; revision=131225
Atsushi Eno [Tue, 7 Apr 2009 12:11:53 +0000 (12:11 -0000)]
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
* TcpTransportBindingElement.cs : check build-ability before
actually building channels.
* ConnectionOrientedTransportBindingElement.cs : fixed build-ability
conditions according to MSDN.
* TcpTransportBindingElementTest.cs : more can-build tests.
* NetTcpBindingTest.cs : new test.
* System.ServiceModel_test.dll.sources: added NetTcpBindingTest.cs.
svn path=/trunk/mcs/; revision=131222
Atsushi Eno [Tue, 7 Apr 2009 12:07:05 +0000 (12:07 -0000)]
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : add duplex channels as channel candidates.
svn path=/trunk/mcs/; revision=131221
Atsushi Eno [Tue, 7 Apr 2009 12:05:46 +0000 (12:05 -0000)]
added IOnlineStatus.
svn path=/trunk/mcs/; revision=131220
Atsushi Eno [Tue, 7 Apr 2009 12:02:21 +0000 (12:02 -0000)]
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
* IPeerResolverContract.cs: fix SessionMode value.
(bah, bad manner; no ChangeLog previously.)
* CustomPeerResolverServiceTest.cs : added contract check.
svn path=/trunk/mcs/; revision=131219
Raja R Harinath [Tue, 7 Apr 2009 11:10:14 +0000 (11:10 -0000)]
disable nunit tests till they compile
svn path=/trunk/mcs/; revision=131217
Raja R Harinath [Tue, 7 Apr 2009 11:06:59 +0000 (11:06 -0000)]
Ensure Test/ exists in dist tarballs and checkouts
svn path=/trunk/mcs/; revision=131216
Marek Habersack [Tue, 7 Apr 2009 10:56:27 +0000 (10:56 -0000)]
2009-04-07 Marek Habersack <mhabersack@novell.com>
* Control.cs: ApplyTheme - make sure Page is not null before using
it. Fixes bug #492666
svn path=/trunk/mcs/; revision=131214
Marek Habersack [Tue, 7 Apr 2009 10:44:56 +0000 (10:44 -0000)]
2009-04-07 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: GenerateExpressionFromString doesn't
assume that the passed member is a property anymore. Fixes bug
#492252
svn path=/trunk/mcs/; revision=131210
Atsushi Eno [Tue, 7 Apr 2009 08:57:40 +0000 (08:57 -0000)]
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlDictionaryReaderQuotasElement.cs, NetTcpBindingElement.cs:
implement OnApplyConfiguration().
svn path=/trunk/mcs/; revision=131202
Marek Habersack [Tue, 7 Apr 2009 08:44:21 +0000 (08:44 -0000)]
Code formatting
svn path=/trunk/mcs/; revision=131201
Marek Habersack [Tue, 7 Apr 2009 07:05:06 +0000 (07:05 -0000)]
2009-04-07 Marek Habersack <mhabersack@novell.com>
* TreeView.js: removed nodeText parameter from the JS calls.
* TreeView.cs: encode | characters into U+007C, so that
RaiseCallbackEvent doesn't get confused.
Removed nodeText parameter from the JS calls.
svn path=/trunk/mcs/; revision=131196
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 06:56:55 +0000 (06:56 -0000)]
2009-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ClientProxyHandler.cs: set cacheability to public.
svn path=/trunk/mcs/; revision=131195
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 03:38:57 +0000 (03:38 -0000)]
remove CWL
svn path=/trunk/mcs/; revision=131187
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 03:38:00 +0000 (03:38 -0000)]
2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TreeNode.cs: reset the path data for all child nodes too.
* TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
node tree, set the correct index for the nodes so that the Path is
correct.
svn path=/trunk/mcs/; revision=131186
Jonathan Pryor [Tue, 7 Apr 2009 01:23:14 +0000 (01:23 -0000)]
* . (svn:ignore): Ignore generated files.
* AssemblyInfo.cs: Added; Assembly-level attributes for sqlmetal.exe.
* Makefile: Correct the "namespace" of the embedded resource files;
build NUnit tests for sqlmetal.exe.
* sqlmetal.exe.sources: Build against the local AssemblyInfo.cs, not
DbMetal's AssemblyInfo.cs file.
* sqlmetal_test.dll.sources: Added; source files for the NUnit test.
* Test/AssemblyInfo.cs: Added; Assembly-level attributes for the NUnit
test assembly.
svn path=/trunk/mcs/; revision=131184
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 00:05:35 +0000 (00:05 -0000)]
2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebRequest.cs: send REST after PASV to avoid some servers
forgetting aboout it.
Bug #491590 fixed.
svn path=/trunk/mcs/; revision=131180
Rodrigo Kumpera [Mon, 6 Apr 2009 22:54:50 +0000 (22:54 -0000)]
2009-04-06 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_throw_with_unboxed_generic_argument.il: Regression test
for #487738.
svn path=/trunk/mono/; revision=131175
Rodrigo Kumpera [Mon, 6 Apr 2009 22:54:34 +0000 (22:54 -0000)]
2009-04-06 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_throw): Don't allow an unboxed generic param ar argument.
Fixes #487738.
svn path=/trunk/mono/; revision=131174
Gonzalo Paniagua Javier [Mon, 6 Apr 2009 21:41:57 +0000 (21:41 -0000)]
Contribute
svn path=/trunk/mcs/; revision=131166
Carlos Alberto Cortez [Mon, 6 Apr 2009 21:08:30 +0000 (21:08 -0000)]
2009-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: In EnsureVisible avoid any direct access to items if we
are using virtual mode - otherwise use the bounds stored in a specific
item in a given index. This is specially important when using groups
or when items are re-arranged, since the position in the items
collection can be different than that one being displayed.
Fixes the rest of ##491978.
svn path=/trunk/mcs/; revision=131163
Sebastien Pouliot [Mon, 6 Apr 2009 20:53:24 +0000 (20:53 -0000)]
2009-04-06 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Remove AllowPartiallyTrustedCallers from NET_2_1
build (not in SL2) and open our internals to System.Xml.Serialization
(only in NET_2_1) since MS SL2 SDK requires it. Test case @
http://demos.devexpress.com/AgDataGridDemos/
svn path=/trunk/mcs/; revision=131162
Zoltan Varga [Mon, 6 Apr 2009 20:52:45 +0000 (20:52 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* test-xdb.py: New file, tester script for xdb.
svn path=/trunk/mono/; revision=131161
Zoltan Varga [Mon, 6 Apr 2009 20:52:39 +0000 (20:52 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py (stringify_class_name): Handle classes without a namespace
correctly.
svn path=/trunk/mono/; revision=131160
Zoltan Varga [Mon, 6 Apr 2009 20:44:24 +0000 (20:44 -0000)]
Add .so files generated by AOT.
svn path=/trunk/mono/; revision=131159
Zoltan Varga [Mon, 6 Apr 2009 20:42:42 +0000 (20:42 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py: Update after the changes to dwarfwriter.c.
svn path=/trunk/mono/; revision=131158
Zoltan Varga [Mon, 6 Apr 2009 20:42:33 +0000 (20:42 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c: Use _ to separate class name
components as gdb can't handle '.'. Represent reference variables
as 'class <NAME>&'.
svn path=/trunk/mono/; revision=131157
Jonathan Pryor [Mon, 6 Apr 2009 20:36:21 +0000 (20:36 -0000)]
* mdoc.5: Document //code/@src attribute.
svn path=/trunk/mono/; revision=131156
Sebastien Pouliot [Mon, 6 Apr 2009 19:53:11 +0000 (19:53 -0000)]
2009-04-06 Sebastien Pouliot <sebastien@ximian.com>
* security-core-clr.c: Fix typo while comparing second method names
in can_avoid_corlib_reflection_delegate_optimization
svn path=/trunk/mono/; revision=131152
Rodrigo Kumpera [Mon, 6 Apr 2009 19:43:07 +0000 (19:43 -0000)]
2009-04-06 Rodrigo Kumpera <rkumpera@novell.com>
* metadata.c (do_mono_metadata_parse_type): Fail if we are decoding
a MVAR using a class context.
Fixes #490335.
svn path=/trunk/mono/; revision=131149
Carlos Alberto Cortez [Mon, 6 Apr 2009 19:42:07 +0000 (19:42 -0000)]
2009-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ThemeWin32Classic.cs: Include the previous check for ListView in a
2.0 define as needed.
svn path=/trunk/mcs/; revision=131148
Carlos Alberto Cortez [Mon, 6 Apr 2009 18:48:59 +0000 (18:48 -0000)]
2009-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ThemeWin32Classic.cs: Don't draw ListView's gridlines if we are using groups.
Fixes part of #491978.
svn path=/trunk/mcs/; revision=131145
Carlos Alberto Cortez [Mon, 6 Apr 2009 18:26:24 +0000 (18:26 -0000)]
2009-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolTip.cs: New fields to store the title/icon information.
* ThemeWin32Classic.cs: Implement support for tooltip's title and
icon.
Fixes #491978.
svn path=/trunk/mcs/; revision=131143
Marek Habersack [Mon, 6 Apr 2009 18:03:04 +0000 (18:03 -0000)]
2009-04-06 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: make sure that precompiled is not null before
using it in GetPrecompiledType.
svn path=/trunk/mcs/; revision=131138
Marek Habersack [Mon, 6 Apr 2009 18:02:20 +0000 (18:02 -0000)]
2009-04-06 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: added a new internal static property
IsDebuggingEnabled
* HttpContext.cs: IsDebuggingEnabled now calls
HttpRuntime.IsDebuggingEnabled
2009-04-06 Marek Habersack <mhabersack@novell.com>
* Page.cs: ProcessRaiseCallbackEvent and ProcessGetCallbackResult
now return full exception trace if one is caught and we're running
in debugging mode.
2009-04-06 Marek Habersack <mhabersack@novell.com>
* TreeView.js: TreeView_ToggleExpand now takes more parameters - a
full definition of treeview's node contents.
Added new function, TreeView_PopulateNode, which partially takes
over role of the PopulateNode function generated in
TreeView.OnPreRender (see below). Fixes bug #492307
* TreeView.cs: RaiseCallbackEvent needs to recreate the event
target's parental tree all the way from the root to the node and
populate only the leaf (requested) node. This avoids calling the
TreeNodePopulate handler more times than needed. Fixes bug #492307
OnPreRender: moved the script code to constants and the script
body is now generated using StringBuilder instead of a series of
String.Format calls.
GetClientExpandEvent: adjusted code for new TreeView JavaScript
API.
svn path=/trunk/mcs/; revision=131137
Atsushi Eno [Mon, 6 Apr 2009 16:43:50 +0000 (16:43 -0000)]
2009-04-06 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDocumentFormatter.cs
Workspace.cs
Atom10FeedFormatter.cs
AtomPub10ServiceDocumentFormatter.cs
ResourceCollectionInfo.cs
CategoriesDocument.cs
ServiceDocument.cs : implemented most of reader parts.
* AtomPub10ServiceDocumentFormatterTest.cs : add ReadFrom() test.
svn path=/trunk/mcs/; revision=131133
Zoltan Varga [Mon, 6 Apr 2009 15:28:03 +0000 (15:28 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_compute_gc_descriptor): Make this non-static.
* domain-internals.h (struct _MonoJitInfo): Add a 'gc_info' field.
* gc-internal.h (MonoGCCallbacks): New stucture containing the callback
functions supplied by the JIT for the SGEN GC.
* sgen-gc.c: Call the callbacks supplied by the JIT to do stack marking.
svn path=/trunk/mono/; revision=131132
Zoltan Varga [Mon, 6 Apr 2009 15:24:48 +0000 (15:24 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* mini.h (MonoCompile): Add locals_min_stack_offset/locals_max_stack_offset.
* mini-amd64.c (mono_arch_allocate_vars): Save min/max stack offset.
* mini-gc.c: New file, contains the SGEN GC related parts of the JIT.
* gc-test.cs: New file with GC stack marking tests.
svn path=/trunk/mono/; revision=131131
Zoltan Varga [Mon, 6 Apr 2009 15:24:35 +0000 (15:24 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* mini.h (MonoCompile): Add locals_min_stack_offset/locals_max_stack_offset.
* mini-amd64.c (mono_arch_allocate_vars): Save min/max stack offset.
* mini-gc.c: New file, contains the SGEN GC related parts of the JIT.
* gc-test.cs: New file with GC stack marking tests.
svn path=/trunk/mono/; revision=131130
Zoltan Varga [Mon, 6 Apr 2009 15:14:46 +0000 (15:14 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_output_basic_block): Fix int->float conversion of
negative numbers for vfp.
* basic-float.cs: Add a test.
svn path=/trunk/mono/; revision=131127
Zoltan Varga [Mon, 6 Apr 2009 15:09:57 +0000 (15:09 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* arm/arm-vfp-codegen.h: Add ARM_FSITOS/ARM_FSITOD.
svn path=/trunk/mono/; revision=131125
Massimiliano Mantione [Mon, 6 Apr 2009 13:37:32 +0000 (13:37 -0000)]
Added monitor contention profiling.
svn path=/trunk/mono/; revision=131123
Massimiliano Mantione [Mon, 6 Apr 2009 13:37:26 +0000 (13:37 -0000)]
Added calls to profile monitor contentions.
svn path=/trunk/mono/; revision=131122
Massimiliano Mantione [Mon, 6 Apr 2009 13:37:14 +0000 (13:37 -0000)]
Added support for profiling monitor contentions.
svn path=/trunk/mono/; revision=131121
Paolo Molaro [Mon, 6 Apr 2009 12:38:44 +0000 (12:38 -0000)]
Mon Apr 6 14:37:32 CEST 2009 Paolo Molaro <lupus@ximian.com>
* Makefile, Mono.Tasklets: managed part of continuation support.
svn path=/trunk/mcs/; revision=131112
Atsushi Eno [Mon, 6 Apr 2009 12:37:50 +0000 (12:37 -0000)]
2009-04-06 Atsushi Enomoto <atsushi@ximian.com>
* Workspace.cs, ResourceCollectionInfo.cs,
CategoriesDocument.cs, ServiceDocument.cs : use common internal
SyndicationExtension class for extensions.
svn path=/trunk/mcs/; revision=131111
Paolo Molaro [Mon, 6 Apr 2009 12:13:24 +0000 (12:13 -0000)]
Mon Apr 6 14:12:10 CEST 2009 Paolo Molaro <lupus@ximian.com>
* exceptions-x86.c, mini-x86.h: x86 support code for continuations.
svn path=/trunk/mono/; revision=131110
Paolo Molaro [Mon, 6 Apr 2009 12:12:28 +0000 (12:12 -0000)]
Mon Apr 6 14:09:53 CEST 2009 Paolo Molaro <lupus@ximian.com>
* tasklets.h, tasklets.c, mini.h, mini.c, Makefile.am: arch-indep
part of tasklet/continuation support.
svn path=/trunk/mono/; revision=131109
Atsushi Eno [Mon, 6 Apr 2009 10:37:45 +0000 (10:37 -0000)]
2009-04-06 Atsushi Enomoto <atsushi@ximian.com>
* AtomPub10CategoriesDocumentFormatter.cs, Atom10FeedFormatter.cs,
CategoriesDocument.cs : ongoing implementation (handle categories).
* AtomPub10CategoriesDocumentFormatterTest.cs : new test.
* AtomPub10ServiceDocumentFormatterTest.cs : add reader tests.
* System.ServiceModel.Web_test.dll.sources : added
AtomPub10CategoriesDocumentFormatterTest.
svn path=/trunk/mcs/; revision=131105
Marek Safar [Mon, 6 Apr 2009 10:36:12 +0000 (10:36 -0000)]
New tests.
svn path=/trunk/mcs/; revision=131104
Marek Safar [Mon, 6 Apr 2009 10:35:45 +0000 (10:35 -0000)]
2009-04-06 Marek Safar <marek.safar@gmail.com>
A fix for bug #492329
* expression.cs (New): Load variable when assigning type parameter
to ref variable.
svn path=/trunk/mcs/; revision=131102
Marek Safar [Mon, 6 Apr 2009 09:04:19 +0000 (09:04 -0000)]
2009-04-06 Marek Safar <marek.safar@gmail.com>
A fix for bug #488960
* decl.cs: Compare MVAR types using non-null values.
svn path=/trunk/mcs/; revision=131098
Miguel de Icaza [Mon, 6 Apr 2009 00:11:54 +0000 (00:11 -0000)]
2009-04-05 Miguel de Icaza <miguel@novell.com>
* src/gpath.c: Avoid situations where we add the separator if one
of the elements is the separator.
svn path=/trunk/mono/; revision=131083
Jonathan Pryor [Sun, 5 Apr 2009 13:33:36 +0000 (13:33 -0000)]
* executable.make: Support HAS_NUNIT_TEST variable; if set, will build
an NUnit test assembly during 'make test' and will run the tests
within the NUnit test assembly during 'make run-test'.
* library.make: Split out NUnit test rules/logic into tests.make.
* Makefile: Distribute tests.make.
* README.makefiles: Document HAS_NUNIT_TEST for executable.make,
documenting how to have NUnit tests for executables.
* tests.make: Added; NUnit test logic rules.
svn path=/trunk/mcs/; revision=131072
Zoltan Varga [Sun, 5 Apr 2009 11:44:02 +0000 (11:44 -0000)]
2009-04-05 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Move the handling of
amd64 opcodes inside an ifdef.
svn path=/trunk/mono/; revision=131068
Zoltan Varga [Sun, 5 Apr 2009 11:39:19 +0000 (11:39 -0000)]
2009-04-04 Zoltan Varga <vargaz@gmail.com>
* mini-llvm-cpp.h: New header file for mini-llvm-cpp.cpp.
svn path=/trunk/mono/; revision=131067
Zoltan Varga [Sun, 5 Apr 2009 00:28:01 +0000 (00:28 -0000)]
2009-04-05 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py: Handle superclasses in the pretty printer.
svn path=/trunk/mono/; revision=131063
Zoltan Varga [Sun, 5 Apr 2009 00:27:55 +0000 (00:27 -0000)]
2009-04-05 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c: Emit inheritance information for classes, emit fields
of complex types.
svn path=/trunk/mono/; revision=131061
Zoltan Varga [Sat, 4 Apr 2009 23:57:27 +0000 (23:57 -0000)]
2009-04-05 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (emit_type): Emit the class info for classes.
svn path=/trunk/mono/; revision=131060
Gonzalo Paniagua Javier [Sat, 4 Apr 2009 20:30:28 +0000 (20:30 -0000)]
fix the 1.1 build
svn path=/trunk/mcs/; revision=131056
Gonzalo Paniagua Javier [Sat, 4 Apr 2009 19:53:26 +0000 (19:53 -0000)]
2009-04-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AssemblyResourceLoader.cs: MS sets cacheability to public. Add
Last-Modified header and return 304 if validating max-age=0 or
If-Modified-Since succeeds.
svn path=/trunk/mcs/; revision=131053
Miguel de Icaza [Fri, 3 Apr 2009 23:26:35 +0000 (23:26 -0000)]
2009-04-03 Miguel de Icaza <miguel@novell.com>
* mono-filemap.c: Move mono_file_unmap for the not-mmap case to
the mono-filemap.c file so it can be plugged in platform-specific
code as well.
svn path=/trunk/mono/; revision=131031
Rodrigo Kumpera [Fri, 3 Apr 2009 22:27:03 +0000 (22:27 -0000)]
2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Fix table offset calculation.
* cli-tables-tests.md: Add more tests for the module table.
svn path=/trunk/mono/; revision=131027
Rodrigo Kumpera [Fri, 3 Apr 2009 22:26:50 +0000 (22:26 -0000)]
2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the modules table.
svn path=/trunk/mono/; revision=131026
Rodrigo Kumpera [Fri, 3 Apr 2009 22:26:38 +0000 (22:26 -0000)]
2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
* strenc.h:
* strenc.c: Add mono_utf8_validate_and_len_with_bounds.
svn path=/trunk/mono/; revision=131025
Zoltan Varga [Fri, 3 Apr 2009 22:24:29 +0000 (22:24 -0000)]
2009-04-04 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (AM_CXXFLAGS): Add GLIB_CFLAGS to this.
* mini-llvm-cpp.h: New header file for mini-llvm-cpp.cpp.
* mini-llvm.c: Remove unused fields from EmitContext, fix memory leaks.
svn path=/trunk/mono/; revision=131024
Zoltan Varga [Fri, 3 Apr 2009 22:24:16 +0000 (22:24 -0000)]
2009-04-04 Zoltan Varga <vargaz@gmail.com>
* ssa.c (mono_ssa_compute): Fix some memory leaks.
svn path=/trunk/mono/; revision=131023
Andrés G. Aragoneses [Fri, 3 Apr 2009 21:55:50 +0000 (21:55 -0000)]
oops
svn path=/trunk/mono/; revision=131020
Andrés G. Aragoneses [Fri, 3 Apr 2009 21:42:37 +0000 (21:42 -0000)]
2009-04-03 Andrés G. Aragoneses <aaragoneses@novell.com>
* monolinker.1: Document -m modifier.
svn path=/trunk/mono/; revision=131017
Andrés G. Aragoneses [Fri, 3 Apr 2009 21:15:08 +0000 (21:15 -0000)]
2009-04-03 Andrés G. Aragoneses <aaragoneses@novell.com>
* Mono.Tuner/InjectSecurityAttributes.cs: Show a warning
when the secattr file is not found.
svn path=/trunk/mcs/; revision=131014
Gert Driesen [Fri, 3 Apr 2009 19:37:23 +0000 (19:37 -0000)]
* HttpRuntime.cs: Avoid ANE on Windows when HttpRuntime is used
outside of ASP.NET. Fixed compiler warning by setting
assemblyMappingEnabled.
svn path=/trunk/mcs/; revision=131007
Atsushi Eno [Fri, 3 Apr 2009 17:35:11 +0000 (17:35 -0000)]
2009-04-03 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDocumentFormatter.cs
Workspace.cs
AtomPub10ServiceDocumentFormatter.cs
ResourceCollectionInfo.cs
CategoriesDocument.cs
ServiceDocument.cs : ongoing implementation.
* System.ServiceModel.Web_test.dll.sources : added
ServiceDocumentTest and AtomPub10ServiceDocumentFormatterTest.
svn path=/trunk/mcs/; revision=130991
Marek Habersack [Fri, 3 Apr 2009 16:38:25 +0000 (16:38 -0000)]
2009-04-03 Marek Habersack <mhabersack@novell.com>
* LogicalTypeInfo.cs: don't throw NREX when the passed type
doesn't have a parameterless constructor in
ShouldGenerateScript. Fixes bug #485435
svn path=/trunk/mcs/; revision=130982
Marek Habersack [Fri, 3 Apr 2009 16:02:03 +0000 (16:02 -0000)]
2009-04-03 Marek Habersack <mhabersack@novell.com>
* WebUIValidation_2.0.js: CustomValidatorEvaluateIsValid calls the
client-side evaluation function even if ControlToValidate is not
set. Fixes bug #485458
svn path=/trunk/mcs/; revision=130979
Marek Habersack [Fri, 3 Apr 2009 14:49:12 +0000 (14:49 -0000)]
2009-04-03 Marek Habersack <mhabersack@novell.com>
* SessionSQLServerHandler.cs: recreate connection after database
became unavailable but the session handler is still alive. Fixes
bug #491508. Patch from Hubert Fongarnand
<informatique.internet@fiducial.fr>, thanks!
svn path=/trunk/mcs/; revision=130972
Marek Habersack [Fri, 3 Apr 2009 14:34:36 +0000 (14:34 -0000)]
2009-04-03 Marek Habersack <mhabersack@novell.com>
* AspParser.cs: local copy of checksum generated by the tokenizer
is made right after parsing is done.
* AspGenerator.cs: set tparser.MD5Checksum in Parse instead of in
InitParser. Avoids empty checksums in #pragma checksum.
svn path=/trunk/mcs/; revision=130971
Zoltan Varga [Fri, 3 Apr 2009 14:16:58 +0000 (14:16 -0000)]
2009-04-03 Zoltan Varga <vargaz@gmail.com>
* mini.c mini-amd64.c method-to-ir.c: Use COMPILE_LLVM in a few more places.
* mini-llvm.c: Update comments.
svn path=/trunk/mono/; revision=130969
Zoltan Varga [Fri, 3 Apr 2009 14:06:27 +0000 (14:06 -0000)]
2009-04-03 Zoltan Varga <vargaz@gmail.com>
* mini.h (COMPILE_LLVM): New macro.
* decompose.c (mono_decompose_opcode): Use the COMPILE_LLVM macro.
* ssa.c (mono_ssa_compute): Ditto.
* unwind.c (mono_unwind_get_ops_from_fde): New helper function to extract
the unwind ops from a DWARF FDE.
* mini-llvm.c: Implement generation of unwind info for LLVM compiled
methods by extracting the dwarf unwind ops from the unwind info generated
by LLVM.
svn path=/trunk/mono/; revision=130967
Jb Evain [Fri, 3 Apr 2009 10:58:05 +0000 (10:58 -0000)]
2009-04-03 Jb Evain <jbevain@novell.com>
* EnumerableTest.cs: test for bug 491841.
svn path=/trunk/mcs/; revision=130963
Jb Evain [Fri, 3 Apr 2009 10:48:28 +0000 (10:48 -0000)]
2009-04-03 Jb Evain <jbevain@novell.com>
* Enumerable.cs (Cast): fix for when casted enumerator is already
of the appropriate type.
svn path=/trunk/mcs/; revision=130961
Zoltan Varga [Fri, 3 Apr 2009 09:59:44 +0000 (09:59 -0000)]
2009-04-03 Zoltan Varga <vargaz@gmail.com>
* scripts/patch-quiet.sh: Process LTCXXCOMPILE too.
svn path=/trunk/mono/; revision=130958
Atsushi Eno [Fri, 3 Apr 2009 09:23:11 +0000 (09:23 -0000)]
add MIT lines.
svn path=/trunk/mcs/; revision=130955
Atsushi Eno [Fri, 3 Apr 2009 08:20:01 +0000 (08:20 -0000)]
2009-04-03 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDocumentFormatter.cs
InlineCategoriesDocument.cs
AtomPub10ServiceDocumentFormatter_1.cs
Workspace.cs
AtomPub10CategoriesDocumentFormatter.cs
ReferencedCategoriesDocument.cs
CategoriesDocumentFormatter.cs
AtomPub10ServiceDocumentFormatter.cs
ResourceCollectionInfo.cs
CategoriesDocument.cs
ServiceDocument.cs : stubs (new in 3.5 SP1).
* System.ServiceModel.Web.dll.sources : added 3.5 SP1 atompp stuff.
svn path=/trunk/mcs/; revision=130946
Federico Di Gregorio [Fri, 3 Apr 2009 07:37:19 +0000 (07:37 -0000)]
XDocumentType SYSTEMID fix
svn path=/trunk/mcs/; revision=130943
Jb Evain [Fri, 3 Apr 2009 07:21:25 +0000 (07:21 -0000)]
oos, forgot a part of the patch
svn path=/trunk/mcs/; revision=130942
Carlos Alberto Cortez [Fri, 3 Apr 2009 04:15:18 +0000 (04:15 -0000)]
2009-04-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: When removing a tab that was previously selected, set
internally the value of selected_index to -1, to avoid trying to
access the previous one when trying to set the new one (and was
already removed from the collection). This is what .net seems to do
too.
Fixes #490937.
svn path=/trunk/mcs/; revision=130931
Zoltan Varga [Thu, 2 Apr 2009 22:37:48 +0000 (22:37 -0000)]
2009-04-03 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Enable support for non-IMT virtual
calls.
* mini-amd64.c (mono_arch_get_vcall_slot): Handle more kinds of the SIB
addressing modes.
svn path=/trunk/mono/; revision=130911
Zoltan Varga [Thu, 2 Apr 2009 22:37:35 +0000 (22:37 -0000)]
2009-04-03 Zoltan Varga <vargaz@gmail.com>
* amd64/amd64-codegen.h: Add macros for decoding the SIB byte.
svn path=/trunk/mono/; revision=130910
Marek Habersack [Thu, 2 Apr 2009 22:35:28 +0000 (22:35 -0000)]
2009-04-03 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: added code in the static constructor
to enable retrieving application settings via
ApplicationSettingsBase from within asp.net applications. Fixes
bug #491531
* ApplicationSettingsConfigurationFileMap.cs: added.
2009-04-03 Marek Habersack <mhabersack@novell.com>
* CustomizableFileSettingsProvider.cs: added a way for System.Web
to specify path to the current Web.config. Fixes bug #491531
svn path=/trunk/mcs/; revision=130909