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
Jb Evain [Thu, 2 Apr 2009 22:30:20 +0000 (22:30 -0000)]
2009-04-03 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Metadata/BlobHeap.cs
* Mono.Cecil.Metadata/MetadataWriter.cs:
do a better job at emitting a blob heap.
svn path=/trunk/mcs/; revision=130908
Carlos Alberto Cortez [Thu, 2 Apr 2009 20:44:03 +0000 (20:44 -0000)]
2009-04-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ClipboardTest.cs: New rrich text format test, and also re-name the
previous test to be a little more informative. Also clear the data
we have put in the clipboard before returning.
svn path=/trunk/mcs/; revision=130903
Carlos Alberto Cortez [Thu, 2 Apr 2009 20:40:48 +0000 (20:40 -0000)]
2009-04-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs, X11Clipboard.cs: Text and Rtf formats must be
separated, and we cannot fallback on Text if Rtf is requested but not
present.
* Clipboard.cs: Actually use the format specified by our user when
putting data.
svn path=/trunk/mcs/; revision=130902
Zoltan Varga [Thu, 2 Apr 2009 19:56:47 +0000 (19:56 -0000)]
2009-04-02 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (llvm_sources): Enable this.
svn path=/trunk/mono/; revision=130899
Zoltan Varga [Thu, 2 Apr 2009 19:56:40 +0000 (19:56 -0000)]
2009-04-02 Zoltan Varga <vargaz@gmail.com>
* configure.in: Move the call to AC_PROG_CXX earlier and enable it again.
svn path=/trunk/mono/; revision=130898
Zoltan Varga [Thu, 2 Apr 2009 19:15:30 +0000 (19:15 -0000)]
2009-04-02 Zoltan Varga <vargaz@gmail.com>
* configure.in: Disable the call to AC_PROG_CXX for now.
svn path=/trunk/mono/; revision=130896
Zoltan Varga [Thu, 2 Apr 2009 19:06:12 +0000 (19:06 -0000)]
2009-04-02 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Add support for compiling with LLVM,
failing back to the JIT if something cannot be handled.
* mini-amd64.c (mono_arch_emit_call): Emit the arguments more simple when
compiling with LLVM.
* decompose.c (mono_decompose_opcode): Avoid decomposing some opcodes when
compiling with LLVM.
* method-to-ir.c (mono_method_to_ir): Avoid decomposing SWITCH when
compiling with LLVM.
* mini-ops.h: Add a few opcodes needed by LLVM.
* dwarfwriter.c (mono_dwarf_writer_emit_method): Avoid crashes if the method
has no unwind info.
* mini-llvm.c mini-llvm-cpp.cpp: New files containing the experimental llvm
backend.
svn path=/trunk/mono/; revision=130895
Zoltan Varga [Thu, 2 Apr 2009 19:06:05 +0000 (19:06 -0000)]
2009-04-02 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add an ENABLE_LLVM autoconf define.
svn path=/trunk/mono/; revision=130894
Zoltan Varga [Thu, 2 Apr 2009 19:05:58 +0000 (19:05 -0000)]
2009-04-02 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add --enable-llvm argument to enable the experimental
LLVM back end.
svn path=/trunk/mono/; revision=130893
Marek Habersack [Thu, 2 Apr 2009 18:59:04 +0000 (18:59 -0000)]
2009-04-02 Marek Habersack <mhabersack@novell.com>
* data/Makefile.am: added system.web.mvc.pc{.in}
* configure.in: added data/system.web.mvc.pc to AC_OUTPUT
* data/system.web.mvc.pc.in: added
svn path=/trunk/mono/; revision=130891
Jb Evain [Thu, 2 Apr 2009 17:39:17 +0000 (17:39 -0000)]
optimize a bit the fix to avoid double checking
svn path=/trunk/mcs/; revision=130886
Jb Evain [Thu, 2 Apr 2009 17:33:53 +0000 (17:33 -0000)]
2009-04-02 Jb Evain <jbevain@novell.com>
* DictionaryTest.cs: add test for bug #328036.
svn path=/trunk/mcs/; revision=130885
Jb Evain [Thu, 2 Apr 2009 17:33:12 +0000 (17:33 -0000)]
2009-04-02 Jb Evain <jbevain@novell.com>
* Dictionary.cs (ValueCollection.CopyTo): fix for copying to
an object array. Based on a patch by Tobias Grimm <mono@e-tobi.net>.
Fixes bug #328036.
svn path=/trunk/mcs/; revision=130884
Sebastien Pouliot [Thu, 2 Apr 2009 15:47:39 +0000 (15:47 -0000)]
2009-04-02 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: allow System.Runtime.Serialization to see
mscorlib's internals. Fix Encoding.get_CodeBase (and likely
others too)
svn path=/trunk/mcs/; revision=130879
Marek Habersack [Thu, 2 Apr 2009 15:25:03 +0000 (15:25 -0000)]
2009-04-02 Marek Habersack <mhabersack@novell.com>
* CompilationException.cs: skip warnings in ErrorMessage and
ErrorLines
* BuildManager.cs: when an error occurs while compiling the
requested virtual path, throw the exception, do not attempt to
build again.
* TemplateControlCompiler.cs: implemented missing converter for
the ExpandDepth property. Fixes bug #490860
2009-04-02 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: if there are more lines with errors, display
them all.
svn path=/trunk/mcs/; revision=130876