Marek Habersack [Fri, 24 Oct 2008 20:06:54 +0000 (20:06 -0000)]
2008-10-24 Marek Habersack <mhabersack@novell.com>
* CheckBox.cs: register for event validation in Render ().
svn path=/trunk/mcs/; revision=116986
Marek Habersack [Fri, 24 Oct 2008 19:36:59 +0000 (19:36 -0000)]
2008-10-24 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: pass content hash to
UserControlParser.GetCompiledType when compiling a control in
ParseControl.
* UserControlParser.cs: when compiling a control using a text
reader, append a unique suffix to the "file path" - that way
controls compiled from different input streams won't conflict with
each other in the compilation cache.
svn path=/trunk/mcs/; revision=116979
Rodrigo Kumpera [Fri, 24 Oct 2008 18:13:28 +0000 (18:13 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_create_from_typedef): Added Vector4i.
svn path=/trunk/mono/; revision=116968
Rodrigo Kumpera [Fri, 24 Oct 2008 18:13:20 +0000 (18:13 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c (vector4i_intrinsics): New table of intrinsic type.
svn path=/trunk/mono/; revision=116967
Rodrigo Kumpera [Fri, 24 Oct 2008 18:13:14 +0000 (18:13 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* mini-ops.h: Remove dword packed add/sub with saturation ops.
* cpu-x86.md: Remove dword packed add/sub with saturation ops.
* simd-intrinsics.c (vector4ui_intrinsics): Remove methods without
sse instructions.
* simd-intrinsics.c (vector8s_intrinsics): Fix ordering.
svn path=/trunk/mono/; revision=116966
Jonathan Pobst [Fri, 24 Oct 2008 17:36:41 +0000 (17:36 -0000)]
2008-10-24 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Fix item height calculation based off Font to match .Net.
[Fixes bug #436730]
svn path=/trunk/mcs/; revision=116965
Zoltan Varga [Fri, 24 Oct 2008 17:23:52 +0000 (17:23 -0000)]
2008-10-24 Zoltan Varga <vargaz@gmail.com>
* RxInterpreter.cs CILCompiler.cs gen-interp.cs: Fix the reading of short
values from the instruction stream.
svn path=/trunk/mcs/; revision=116964
Jonathan Pobst [Fri, 24 Oct 2008 16:03:47 +0000 (16:03 -0000)]
2008-10-24 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDownItem.cs: Call OnClick instead of base.OnClick so
overridden methods will get called.
* ToolStripItem.cs: Raise Click before MouseUp.
* ToolStripSplitButton.cs: Fix up some bounding rectangles to take
the item's location into account.
[Fixes bug #437683]
svn path=/trunk/mcs/; revision=116961
Paolo Molaro [Fri, 24 Oct 2008 14:20:51 +0000 (14:20 -0000)]
compilation fix.
svn path=/trunk/mono/; revision=116948
Mark Probst [Fri, 24 Oct 2008 13:50:22 +0000 (13:50 -0000)]
2008-10-24 Mark Probst <mark.probst@gmail.com>
* marshal.c (mono_marshal_get_synchronized_wrapper): Emit
ldtoken+GetTypeFromHandle instead of i4+icall so that the JIT
special-casing applies to eliminate the call completely.
2008-10-24 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c, mini.c: Special casing for the synchronized
wrapper for the ldtoken+GetTypeFromHandle case.
svn path=/trunk/mono/; revision=116944
Zoltan Varga [Fri, 24 Oct 2008 13:46:13 +0000 (13:46 -0000)]
2008-10-24 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_replace_ins): Move this to branch-opts.c.
svn path=/trunk/mono/; revision=116941
Zoltan Varga [Fri, 24 Oct 2008 13:43:41 +0000 (13:43 -0000)]
2008-10-24 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_replace_ins): Propagate has_array_access flag to the newly
created/split bblocks.
svn path=/trunk/mono/; revision=116940
Rodrigo Kumpera [Fri, 24 Oct 2008 13:37:08 +0000 (13:37 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* mini-ops.h: Add packed signed mul high.
* cpu-x86.md: Same.
* mini-x86.c (mono_arch_output_basic_block): Same.
* simd-methods.h: Add PackWithUnsignedSaturation and ShiftRightLogic.
* simd-intrinsics.c (vector8s_intrinsics): New table of intrinsic type.
svn path=/trunk/mono/; revision=116939
Rodrigo Kumpera [Fri, 24 Oct 2008 13:37:03 +0000 (13:37 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Tests for Vector16sb.
svn path=/trunk/mono/; revision=116938
Rodrigo Kumpera [Fri, 24 Oct 2008 13:36:54 +0000 (13:36 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_create_from_typedef): Added Vector8s.
svn path=/trunk/mono/; revision=116937
Rodrigo Kumpera [Fri, 24 Oct 2008 13:36:53 +0000 (13:36 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* x86/x86-codegen.h: Add signed packed mul high.
svn path=/trunk/mono/; revision=116936
Jonathan Pryor [Fri, 24 Oct 2008 13:23:12 +0000 (13:23 -0000)]
* docs (svn:ignore): Ignore generated files.
* docs/lang-csharp.source: Added; combined .source file for the C#
language specification and error reference.
* docs/Makefile: Support lang-csharp.source, mono-file-formats.*, etc.
*.tree/*.zip should be rebuilt when Makefile is changed.
* docs/mono-file-formats.config, docs/mono-file-formats.source: Added;
moving file format documentation out from mono-tools.* so that it's
easier to find.
* docs/mono-tools.config: Move mdoc(5), mono-config(5) to
mono-file-formats.config.
* docs/mono-tools.source, docs/Mono.source, docs/netdocs.source,
docs/Novell.source, docs/nunit-docs.source: Add /monodoc/node
information so that the documentation is inserted into the correct
location.
* docs/monodoc.xml: Vastly simplify the default monodoc.xml as
structure can be/has been pushed out into the .source files. This
should help simplify the life of downstream packagers who wish to
add additional documentation to monodoc.
* docs/ecma334.source, docs/cs-errors.source: Remove (replaced with
lang-csharp.source).
* tools/monodoc/Monodoc/provider.cs:
- Fix Node.Sort() so that it doesn't NRE if nodes == null.
- Fix Node.CompareTo() so that it can sort Nodes that haven't been
loaded yet.
- Add "libraries" as an alias for "root", so that .source files can
refer to the parent "libraries" (which would allow us to change
the location of "libraries" in the future, should we want to).
- If a /monodoc/source/@path refers to a nonexistant node, then
insert the contents under Various instead of ignoring it.
- Sort the top-level nodes.
- Sort the `parent` node after inserting children under it. This
allows multiple different .source files to insert nodes under the
same parent node and still have the child nodes sorted as most
mortals would expect.
- Support a //node/@parent attribute, which allows for creating
nodes underneath the specified parent node. This allows multiple
different .source files to contribute to the tree and depend upon
each other. Thus, instead of having a single monodoc.xml file
that needs to know the entire tree in advance, the entire tree can
be spread across multiple .source files and filled at runtime.
svn path=/trunk/mcs/; revision=116935
Rodrigo Kumpera [Fri, 24 Oct 2008 12:58:55 +0000 (12:58 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* Vector8us.cs: Add some missing SSE 4.1 comments.
svn path=/trunk/mcs/; revision=116931
Rodrigo Kumpera [Fri, 24 Oct 2008 12:58:53 +0000 (12:58 -0000)]
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* Mono.Simd.dll.sources: Added Vector18s.cs.
2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
* Vector8s.cs: New vector type.
svn path=/trunk/mcs/; revision=116930
Zoltan Varga [Fri, 24 Oct 2008 12:21:55 +0000 (12:21 -0000)]
2008-10-24 Zoltan Varga <vargaz@gmail.com>
* RxOp.cs: Add some missing unicode opcodes.
* gen-interp.cs RxInterpreter.cs: Generate Bitmap/UnicodeBitmap opcodes too.
* CILCompiler.cs (EmitEvalMethodBody): Add an 'end_pc' argument to mark the
end of the bytecode range which needs to be compiled. Use it to avoid
compiling the same bytecode multiple times in various opcodes. Fix
RxOp.Jump implementation. Add implementation for unicode opcodes.
svn path=/trunk/mcs/; revision=116926
Zoltan Varga [Fri, 24 Oct 2008 08:54:09 +0000 (08:54 -0000)]
2008-10-24 Zoltan Varga <vargaz@gmail.com>
* inssel.brg (stmt): Fix OP_HARD_NOP rule.
svn path=/trunk/mono/; revision=116915
Neville Gao [Fri, 24 Oct 2008 07:27:28 +0000 (07:27 -0000)]
NumericUpDown enabled to support accessibility.
svn path=/trunk/mcs/; revision=116912
Gonzalo Paniagua Javier [Fri, 24 Oct 2008 01:02:49 +0000 (01:02 -0000)]
remove temporary/generated files
svn path=/trunk/mono/; revision=116902
Rodrigo Kumpera [Fri, 24 Oct 2008 00:36:18 +0000 (00:36 -0000)]
2008-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* mini-ops.h: Add packed signed min, max and compare greater.
* cpu-x86.md: Same.
* mini-x86.c (mono_arch_output_basic_block): Same. Add packed add/sub with
saturation.
* simd-methods.h: Add CompareGreaterThan.
* simd-methods.h: Remove CompareEquals.
* simd-intrinsics.c: Add new TODO entry and some cosmetic changes.
* simd-intrinsics.c (vector16sb_intrinsics): New table of intrinsic type.
* simd-intrinsics.c (vector4f_intrinsics): Rename CompareEquals to
CompareEqual.
svn path=/trunk/mono/; revision=116899
Rodrigo Kumpera [Fri, 24 Oct 2008 00:36:12 +0000 (00:36 -0000)]
2008-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix tests due to change in the API.
svn path=/trunk/mono/; revision=116898
Rodrigo Kumpera [Fri, 24 Oct 2008 00:35:57 +0000 (00:35 -0000)]
2008-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_create_from_typedef): Added Vector16sb.
svn path=/trunk/mono/; revision=116897
Rodrigo Kumpera [Fri, 24 Oct 2008 00:35:54 +0000 (00:35 -0000)]
2008-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* x86/x86-codegen.h: Add signed packed max, min, add/sub with saturation
and compare greater.
svn path=/trunk/mono/; revision=116896
Rodrigo Kumpera [Fri, 24 Oct 2008 00:03:41 +0000 (00:03 -0000)]
2008-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16b.cs: Remove methods without sse equivalent.
* Vector16b.cs (SumOfAbsoluteDifferences) Fix the signature.
svn path=/trunk/mcs/; revision=116894
Rodrigo Kumpera [Fri, 24 Oct 2008 00:03:39 +0000 (00:03 -0000)]
2008-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16sb.cs: New vector type.
2008-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* Mono.Simd.dll.sources: Added Vector16sb.cs.
svn path=/trunk/mcs/; revision=116893
Gonzalo Paniagua Javier [Thu, 23 Oct 2008 20:24:30 +0000 (20:24 -0000)]
2008-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* icall.c: get rid of annoying warning.
svn path=/trunk/mono/; revision=116878
Jonathan Pryor [Thu, 23 Oct 2008 20:16:25 +0000 (20:16 -0000)]
* Mono.Options/Options.cs: Options.cs: Use the underlying target type
in the error message, because "Could not convert string `' to type
Nullable`1..." is not nearly as helpful as "Could not convert
string `' to type Int32...".
* Test/Mono.Options/OptionSetTest.cs: Add a test for the underlying
target type within the exception message.
svn path=/trunk/mcs/; revision=116877
Gonzalo Paniagua Javier [Thu, 23 Oct 2008 19:41:51 +0000 (19:41 -0000)]
2008-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.c: in 1.x, if you change the background status of the
threadpool thread, it's not reset.
Remove unnecessary calls to SetState.
svn path=/trunk/mono/; revision=116871
Gonzalo Paniagua Javier [Thu, 23 Oct 2008 19:11:33 +0000 (19:11 -0000)]
2008-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: don't call ProxyRequest twice.
* WebConnectionData.cs: remove unused fields.
* WebConnection.cs:
* WebConnectionStream.cs: when setting the input buffer, check to see
if the entire response is already there and free up the request slot.
Fixes bug #423156.
* ResponseStream.cs:
* HttpListenerResponse.cs: buffer the headers so that they are sent
together with the data on the first Write (if any). The fix above
didn't work with our HttpListener without this.
svn path=/trunk/mcs/; revision=116868
Carlos Alberto Cortez [Thu, 23 Oct 2008 19:05:58 +0000 (19:05 -0000)]
2008-10-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TextBox.cs: Check that we actually have items no navigate, select
text when pressing enter, as well as handle direction keys only if
mode is different to Suggest or the suggest listbox is visible.
svn path=/trunk/mcs/; revision=116866
Marek Habersack [Thu, 23 Oct 2008 16:09:10 +0000 (16:09 -0000)]
2008-10-23 Marek Habersack <mhabersack@novell.com>
* TemplateControlParser.cs: added internal method
AddControlImports which adds namespaces named in the
pages/controls section of web.config
* MasterPageParser.cs: unconditionally add namespaces named in the
pages/controls section of web.config.
* PageParser.cs: add namespaces named in the pages/controls
section of web.config to the page whenever it uses a master page.
svn path=/trunk/mcs/; revision=116858
Atsushi Eno [Thu, 23 Oct 2008 11:03:04 +0000 (11:03 -0000)]
2008-10-23 Atsushi Enomoto <atsushi@ximian.com>
* UrlPattern.cs : fixed possible out-of-range case ("tableName/" in
DynamicData).
* RouteTest.cs :
add one more case that used to cause out-of-range error.
svn path=/trunk/mcs/; revision=116843
Atsushi Eno [Thu, 23 Oct 2008 10:38:27 +0000 (10:38 -0000)]
2008-10-23 Atsushi Enomoto <atsushi@ximian.com>
* data/config.xml : add sections for DynamicData feature.
svn path=/trunk/mcs/; revision=116840
Jonathan Pryor [Thu, 23 Oct 2008 04:14:56 +0000 (04:14 -0000)]
* Documentation/en/Mono.Options/OptionSet.xml: Document the support for
nullable types.
* Mono.Options/Option.cs: Add support for nullable types to Options.Parse<T>().
Namespace "harmonization" with NDesk.Options so that the same source
file can be used in each project.
* Test/Mono.Options/OptionContextTest.cs,
Test/Mono.Options/OptionSetTest.cs, Test/Mono.Options/OptionTest.cs,
Test/Mono.Options/Utils.cs:
Namespace "harmonization" with Mono.Options, so that we can use
identical source in each place, thus minimizing the maintenance
burden.
* Test/Mono.Options/OptionSetTest.cs: Add tests for nullable type
support.
svn path=/trunk/mcs/; revision=116837
Gonzalo Paniagua Javier [Thu, 23 Oct 2008 04:02:04 +0000 (04:02 -0000)]
add comment
svn path=/trunk/mcs/; revision=116836
Andreia Gaita [Thu, 23 Oct 2008 03:48:37 +0000 (03:48 -0000)]
* Mono.Mozilla/DOM/Node.cs,
* Mono.Mozilla/DOM/Window.cs: Fix yet more equality operators
2008-10-23 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=116834
Andreia Gaita [Thu, 23 Oct 2008 02:40:27 +0000 (02:40 -0000)]
* Mono.Mozilla/DOM/Document.cs,
Mono.Mozilla/DOM/Node.cs,
Mono.Mozilla/DOM/NodeList.cs,
Mono.Mozilla/DOM/Stylesheet.cs:
Use GetTypedNode to properly the right wrappers for nodes (fixes #428712)
2008-10-23 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=116830
Andreia Gaita [Thu, 23 Oct 2008 02:37:23 +0000 (02:37 -0000)]
* System.Windows.Forms/WebBrowser.cs: Use the new ContentStream
property to retrieve a stream encoded from the document content
* Mono.Mozilla/DOM/Element.cs,
Mono.Mozilla/DOM/DocumentEncoder.cs,
Mono.Mozilla/DOM/HTMLElement.cs,
Mono.Mozilla/DOM/Stream.cs,
Mono.Mozilla/WebBrowser.cs,
Mono.Mozilla/interfaces/nsIInputStream.cs,
Mono.WebBrowser.dll.sources,
Mono.WebBrowser/DOM/IElement.cs,
Mono.WebBrowser2K5.csproj:
Separated the DocumentEncoder service in a separate class so
it's easier to invoke, and added stream encoding (partial fix
for bug #377863)
* Mono.Mozilla/DOM/DOMObject.cs: Element wrapper creation now
goes through a common method that properly creates a wrapper
according to the node type (partial fix for #428712)
2008-10-23 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=116829
Andreia Gaita [Thu, 23 Oct 2008 02:19:05 +0000 (02:19 -0000)]
* HtmlDocument.cs,
HtmlElement.cs,
HtmlWindow.cs: Fix GetHashcode for null objects
2008-10-23 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=116827
Andreia Gaita [Thu, 23 Oct 2008 02:15:47 +0000 (02:15 -0000)]
* SWF.csproj, SWF2k5.csproj: Update project files
2008-10-23 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=116826
Andreia Gaita [Thu, 23 Oct 2008 02:11:32 +0000 (02:11 -0000)]
* Mono.Mozilla/DOM/Node.cs,
Mono.Mozilla/DOM/Window.cs: Fix overrides
2008-10-22 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=116825
Marek Habersack [Thu, 23 Oct 2008 00:13:01 +0000 (00:13 -0000)]
2008-10-23 Marek Habersack <mhabersack@novell.com>
* StateManagedCollection.cs: modified {Load,Save}ViewState to
properly store/recreate the collection of controls and to use a
more consistent structure for the state.
svn path=/trunk/mcs/; revision=116818
Jonathan Pryor [Wed, 22 Oct 2008 22:13:19 +0000 (22:13 -0000)]
* Makefile: Correct path names.
* Mono.Documentation/monodocer.cs: Better support nested types.
* Test/DocTest-v1.cs: Add 4 levels of nested types.
* Test/en.expected.importslashdoc/index.xml,
Test/en.expected.importslashdoc/Mono.DocTest/Widget.xml,
Test/en.expected.importslashdoc/Mono.DocTest/Widget+NestedClass+Double+Triple+Quadruple.xml,
Test/en.expected.importslashdoc/Mono.DocTest/Widget+NestedClass+Double+Triple.xml,
Test/en.expected.importslashdoc/Mono.DocTest/Widget+NestedClass+Double.xml,
Test/en.expected.since/index.xml,
Test/en.expected.since/Mono.DocTest/Widget.xml,
Test/en.expected.since/Mono.DocTest/Widget+NestedClass+Double+Triple+Quadruple.xml,
Test/en.expected.since/Mono.DocTest/Widget+NestedClass+Double+Triple.xml,
Test/en.expected.since/Mono.DocTest/Widget+NestedClass+Double.xml,
Test/en.expected/index.xml,
Test/en.expected/Mono.DocTest/Widget.xml,
Test/en.expected/Mono.DocTest/Widget+NestedClass+Double+Triple+Quadruple.xml,
Test/en.expected/Mono.DocTest/Widget+NestedClass+Double+Triple.xml,
Test/en.expected/Mono.DocTest/Widget+NestedClass+Double.xml,
Test/html.expected/index.html,
Test/html.expected/Mono.DocTest/index.html,
Test/html.expected/Mono.DocTest/Widget.html,
Test/html.expected/Mono.DocTest/Widget+NestedClass+Double+Triple+Quadruple.html,
Test/html.expected/Mono.DocTest/Widget+NestedClass+Double+Triple.html,
Test/html.expected/Mono.DocTest/Widget+NestedClass+Double.html,
Test/msxdoc-expected.importslashdoc.xml: Flush.
svn path=/trunk/mcs/; revision=116807
Gonzalo Paniagua Javier [Wed, 22 Oct 2008 21:33:51 +0000 (21:33 -0000)]
update
svn path=/trunk/mono/; revision=116804
Gonzalo Paniagua Javier [Wed, 22 Oct 2008 21:32:35 +0000 (21:32 -0000)]
forgot this in my previous commit
svn path=/trunk/mono/; revision=116803
Gonzalo Paniagua Javier [Wed, 22 Oct 2008 21:23:52 +0000 (21:23 -0000)]
2008-10-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.c: asynchronously create a set of idle threads upon first
use of the threadpool. SetMinThreads will now start the appropriate
number of idle threads if they are not already running. The default is
1 threadpool thread per CPU. Increased the maximum number of threads
per CPU to 10.
svn path=/trunk/mono/; revision=116802
Martin Baulig [Wed, 22 Oct 2008 20:42:28 +0000 (20:42 -0000)]
2008-10-22 Martin Baulig <martin@ximian.com>
Revert r116521 from Zoltan, it breaks the debugger:
* class.c (mono_class_get_virtual_methods): New helper function to iterate
over the virtual methods of a class using metadata if possible, avoiding the
creation of MonoMethod's for non-virtual methods.
* class.c (mono_class_setup_vtable_general): Rewrite this to use
get_virtual_methods () to iterate over the virtual methods of classes.
svn path=/trunk/mono/; revision=116799
Jb Evain [Wed, 22 Oct 2008 20:12:05 +0000 (20:12 -0000)]
revert that as well
svn path=/trunk/mcs/; revision=116797
Zoltan Varga [Wed, 22 Oct 2008 19:44:24 +0000 (19:44 -0000)]
2008-10-22 Zoltan Varga <vargaz@gmail.com>
* scripts/Makefile.am: Add gacutil1 script.
svn path=/trunk/mono/; revision=116796
Zoltan Varga [Wed, 22 Oct 2008 19:42:38 +0000 (19:42 -0000)]
Revert the previous change.
svn path=/trunk/mcs/; revision=116795
Zoltan Varga [Wed, 22 Oct 2008 19:27:17 +0000 (19:27 -0000)]
2008-10-22 Zoltan Varga <vargaz@gmail.com>
* Makefile (PROGRAM): Always install into the appropriate profile
dir.
svn path=/trunk/mcs/; revision=116794
Zoltan Varga [Wed, 22 Oct 2008 19:25:30 +0000 (19:25 -0000)]
2008-10-22 Zoltan Varga <vargaz@gmail.com>
* Makefile (net_2_0_dirs): Add linker.
svn path=/trunk/mcs/; revision=116793
Gonzalo Paniagua Javier [Wed, 22 Oct 2008 19:24:54 +0000 (19:24 -0000)]
2008-10-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threads.c: when creating a threadpool thread, set its state to
'background'.
* threadpool.c: reset the background state of a threadpool thread
after finishing each work item
Bug #437888 fixed.
svn path=/trunk/mono/; revision=116792
Zoltan Varga [Wed, 22 Oct 2008 18:16:45 +0000 (18:16 -0000)]
2008-10-22 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_vtable_entry): Add an optimization for szarrays.
svn path=/trunk/mono/; revision=116778
Zoltan Varga [Wed, 22 Oct 2008 18:07:52 +0000 (18:07 -0000)]
2008-10-22 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_vtable_general): Add an optimized version for
generic instances which works by inflating the methods in the container
class's vtable.
svn path=/trunk/mono/; revision=116773
Zoltan Varga [Wed, 22 Oct 2008 17:44:31 +0000 (17:44 -0000)]
2008-10-22 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_inflate_generic_type_with_mempool_no_copy): New
variant which doesn't make a copy if no inflation was done.
(mono_class_setup_fields): Use it.
* metadata.c (mono_metadata_get_shared_type): New helper function to
return a shared instance of a given MonoType.
* class.c (mono_class_inflate_generic_type_with_mempool): Avoid making
a copy of most non-generic types.
svn path=/trunk/mono/; revision=116771
Andreia Gaita [Wed, 22 Oct 2008 16:03:10 +0000 (16:03 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/HtmlDocument.cs,
Managed.Windows.Forms/System.Windows.Forms/HtmlElement.cs,
Managed.Windows.Forms/System.Windows.Forms/HtmlWindow.cs,
Mono.WebBrowser/Mono.Mozilla/DOM/Document.cs,
Mono.WebBrowser/Mono.Mozilla/DOM/Element.cs,
Mono.WebBrowser/Mono.Mozilla/DOM/Node.cs,
Mono.WebBrowser/Mono.Mozilla/DOM/Window.cs,
Mono.WebBrowser/Mono.WebBrowser/DOM/IDocument.cs,
Mono.WebBrowser/Mono.WebBrowser/DOM/IElement.cs,
Mono.WebBrowser/Mono.WebBrowser/DOM/INode.cs,
Mono.WebBrowser/Mono.WebBrowser/DOM/IWindow.cs: Fix equality operators (fixes #428173)
2008-10-22 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=116757
Paolo Molaro [Wed, 22 Oct 2008 16:01:59 +0000 (16:01 -0000)]
Wed Oct 22 18:00:46 CEST 2008 Paolo Molaro <lupus@ximian.com>
* threadpool.c: remove one more GetSystemInfo () call.
svn path=/trunk/mono/; revision=116756
Paolo Molaro [Wed, 22 Oct 2008 15:51:45 +0000 (15:51 -0000)]
Wed Oct 22 17:45:48 CEST 2008 Paolo Molaro <lupus@ximian.com>
* mono-perfcounters.c, icall-def.h, environment.c, environment.h:
use the code in mono-proclib.h to get processor information.
svn path=/trunk/mono/; revision=116753
Paolo Molaro [Wed, 22 Oct 2008 15:44:24 +0000 (15:44 -0000)]
Wed Oct 22 17:43:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
* mono-proclib.c, mono-proclib.h: added functions to get info
about the processors in the system.
svn path=/trunk/mono/; revision=116751
Marek Habersack [Wed, 22 Oct 2008 15:19:50 +0000 (15:19 -0000)]
Add bug reference
svn path=/trunk/mcs/; revision=116749
Marek Habersack [Wed, 22 Oct 2008 15:17:44 +0000 (15:17 -0000)]
2008-10-22 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: use only the first matching method in
GetApplicationTypeEvents, since it will be the one coming from the
topmost type.
svn path=/trunk/mcs/; revision=116747
Paolo Molaro [Wed, 22 Oct 2008 14:47:37 +0000 (14:47 -0000)]
Wed Oct 22 16:45:20 CEST 2008 Paolo Molaro <lupus@ximian.com>
* mono-proclib.c, mono-mmap.c: basic support for OSX and
(untested) BSD systems.
svn path=/trunk/mono/; revision=116743
Gonzalo Paniagua Javier [Wed, 22 Oct 2008 03:12:27 +0000 (03:12 -0000)]
2008-10-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
* appdomain.c: fixed the logic that determines whether assemblies in a
directory are "shadow-copied" or not. Bug #433483 fixed.
svn path=/trunk/mono/; revision=116725
Rodrigo Kumpera [Wed, 22 Oct 2008 01:22:21 +0000 (01:22 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16b.cs: Added Load/StoreAligned with pointer args.
* Vector4f.cs: Added Load/StoreAligned with pointer args.
* Vector4ui.cs: Added Load/StoreAligned with pointer args.
* Vector8us.cs: Added Load/StoreAligned with pointer args.
svn path=/trunk/mcs/; revision=116722
Rodrigo Kumpera [Wed, 22 Oct 2008 01:22:19 +0000 (01:22 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4f.cs: Renamed CompareEquals to CompareEqual.
svn path=/trunk/mcs/; revision=116721
Rodrigo Kumpera [Wed, 22 Oct 2008 01:21:41 +0000 (01:21 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix name change in Vector4f::CompareEqual.
* simd-intrinsics.c (simd_intrinsic_emit_store_aligned): Don't use
inst_offset as this has invalid values for LDADDR.
svn path=/trunk/mono/; revision=116720
Marek Habersack [Wed, 22 Oct 2008 00:49:55 +0000 (00:49 -0000)]
Cleanup
svn path=/trunk/mcs/; revision=116714
Marek Habersack [Wed, 22 Oct 2008 00:46:42 +0000 (00:46 -0000)]
2008-10-22 Marek Habersack <mhabersack@novell.com>
* JsonDeserializer.cs: object can contain more than one unquoted
keys.
2008-10-22 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: added tests for deserialization of
objects with more than one unquoted key names.
svn path=/trunk/mcs/; revision=116713
Zoltan Varga [Tue, 21 Oct 2008 23:04:18 +0000 (23:04 -0000)]
2008-10-22 Zoltan Varga <vargaz@gmail.com>
* process.c (ves_icall_System_Diagnostics_Process_GetProcessData): Fix a
warning.
svn path=/trunk/mono/; revision=116694
Zoltan Varga [Tue, 21 Oct 2008 22:39:12 +0000 (22:39 -0000)]
Fix a bug in the previous change.
svn path=/trunk/mono/; revision=116689
Zoltan Varga [Tue, 21 Oct 2008 21:58:15 +0000 (21:58 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* mini.c method-to-ir.c: Use mono_field_get_name () for accessing field->name.
svn path=/trunk/mono/; revision=116681
Zoltan Varga [Tue, 21 Oct 2008 21:56:13 +0000 (21:56 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* marshal.c (runtime_invoke_signature_equal): Don't shared wrappers
returning a vtype.
* class.c debug-helpers.c object.c class-internals.h marshal.c icall.c
reflection.c: Use mono_field_get_name () for accessing a field's name.
svn path=/trunk/mono/; revision=116680
Rodrigo Kumpera [Tue, 21 Oct 2008 21:02:23 +0000 (21:02 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Test for SignedPackWithUnsignedSaturation.
* simd-intrinsics.c (vector4ui_intrinsics): Add SignedPackWithUnsignedSaturation.
svn path=/trunk/mono/; revision=116674
Rodrigo Kumpera [Tue, 21 Oct 2008 21:02:17 +0000 (21:02 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Test for SignedPackWithUnsignedSaturation.
svn path=/trunk/mono/; revision=116673
Jonathan Pobst [Tue, 21 Oct 2008 20:29:32 +0000 (20:29 -0000)]
2008-10-21 Jonathan Pobst <monkey@jpobst.com>
* XplatUIWin32.cs: Apply patch from John Mortlock that ensures
mouse_state gets set during WM_MOUSEMOVE and WM_NCMOUSEMOVE.
[Fixes bug #436772]
svn path=/trunk/mcs/; revision=116670
Rodrigo Kumpera [Tue, 21 Oct 2008 20:26:04 +0000 (20:26 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4ui.cs: Added SignedPackWithUnsignedSaturation.
svn path=/trunk/mcs/; revision=116669
Zoltan Varga [Tue, 21 Oct 2008 20:14:03 +0000 (20:14 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (MONO_CLASS_HAS_STATIC_METADATA): Move this here from
class.c
* class.c (mono_field_get_rva): Fix crash if this is called on a dynamic
field.
svn path=/trunk/mono/; revision=116668
Marek Habersack [Tue, 21 Oct 2008 20:11:08 +0000 (20:11 -0000)]
2008-10-21 Marek Habersack <mhabersack@novell.com>
* XmlDataSource.cs: DataFile may be an URL.
svn path=/trunk/mcs/; revision=116667
Jonathan Pobst [Tue, 21 Oct 2008 19:34:36 +0000 (19:34 -0000)]
2008-10-21 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Fire SelectedIndexChanged when the user selects the
same item with the mouse as was already selected.
[Fixes bug #436789]
svn path=/trunk/mcs/; revision=116664
Marek Habersack [Tue, 21 Oct 2008 18:59:25 +0000 (18:59 -0000)]
Cosmetics - use string.Length to check for empty string
svn path=/trunk/mcs/; revision=116661
Marek Habersack [Tue, 21 Oct 2008 18:40:56 +0000 (18:40 -0000)]
Revert r116595 - the 3.5 assemblies mustn't be included in the system web.config - it breaks all 2.0 applications
svn path=/trunk/mono/; revision=116660
Zoltan Varga [Tue, 21 Oct 2008 18:14:10 +0000 (18:14 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* loader.c (find_method_in_class): Reenable the metadata optimization by
not using it for generic instances.
svn path=/trunk/mono/; revision=116657
Zoltan Varga [Tue, 21 Oct 2008 18:07:49 +0000 (18:07 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (MonoFieldDefaultValue): Extract the rarely used
data/def_type fields from MonoClassField into a separate structure.
(struct MonoClassField): Remove data/def_type fields.
(struct _MonoClass): Add a 'field_def_values' array to store the default
values/RVA for fields.
* class.c reflection.c: Update after the changes.
svn path=/trunk/mono/; revision=116656
Zoltan Varga [Tue, 21 Oct 2008 17:56:50 +0000 (17:56 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_create_runtime_vtable): Use mono_field_get_data ()
for accessing field->data.
* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_InitializeArray): Ditto.
svn path=/trunk/mono/; revision=116655
Zoltan Varga [Tue, 21 Oct 2008 17:54:54 +0000 (17:54 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (initialize_array_data): Use mono_field_get_data ()
for accessing field->data.
svn path=/trunk/mono/; revision=116654
Zoltan Varga [Tue, 21 Oct 2008 17:49:43 +0000 (17:49 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* loader.c (find_method_in_class): Revert the last change for now as
it breaks Mono.C5 unit tests.
svn path=/trunk/mono/; revision=116653
Marek Habersack [Tue, 21 Oct 2008 17:21:15 +0000 (17:21 -0000)]
2008-10-21 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: if context.Session is null in get_Session,
throw an exception. Fixes bug #437289
2008-10-21 Marek Habersack <mhabersack@novell.com>
* SessionStateModule.cs: OnAcquireState should set up a session
only if the handler requires it. Fixes bug #437289
svn path=/trunk/mcs/; revision=116640
Zoltan Varga [Tue, 21 Oct 2008 16:27:33 +0000 (16:27 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (struct _MonoDynamicGenericClass): Add fields
'field_generic_types' and 'field_objects' which contain the information
previously stored in MonoInflatedField.
(MonoInflatedField): Delete.
(struct _MonoClassField): Delete 'generic_info' field.
* reflection.c: Store the information which was previously in
field->generic_info in MonoDynamicGenericClass instead.
* metadata.c (free_generic_class): Update after MonoDynamicGenericClass/
MonoClassField changes.
svn path=/trunk/mono/; revision=116627
Atsushi Eno [Tue, 21 Oct 2008 15:52:16 +0000 (15:52 -0000)]
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* LinqDataSource.cs : set ContextTypeName too when ContextType is set.
svn path=/trunk/mcs/; revision=116622
Zoltan Varga [Tue, 21 Oct 2008 15:19:28 +0000 (15:19 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_get_fieldref_token): For fields of non-dynamic
generic instances, compute the type from the generic definition instead of
looking in field->generic_info.
svn path=/trunk/mono/; revision=116618
Zoltan Varga [Tue, 21 Oct 2008 15:15:18 +0000 (15:15 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_get_fieldref_token): For fields of non-dynamic
generic instances, compute the type from the generic definition instead of
looking in field->generic_info.
* class.c (mono_class_setup_fields): Don't create a MonoInflatedField
for inflated fields, the only user was get_fieldref_token () which no
longer needs it.
svn path=/trunk/mono/; revision=116617
Paolo Molaro [Tue, 21 Oct 2008 15:10:55 +0000 (15:10 -0000)]
Tue Oct 21 17:07:55 CEST 2008 Paolo Molaro <lupus@ximian.com>
* marshal.c, method-builder.c: get rid of wrapper_hash and instead
store the value inside the data array of the MonoMethodWrapper.
This saves memory, is faster and fixes the lifetime issues (methods
were never removed from the hash previously). May also fix bug#436996.
svn path=/trunk/mono/; revision=116616
Zoltan Varga [Tue, 21 Oct 2008 15:04:04 +0000 (15:04 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Revert the last change as it seems to cause
crashes.
svn path=/trunk/mono/; revision=116615
Brad Taylor [Tue, 21 Oct 2008 14:06:51 +0000 (14:06 -0000)]
2008-10-21 Brad Taylor <brad@getcoded.net>
* TextControl.cs: Break out code to get the visible range into
GetVisibleLineIndexes to be used in UIA code.
* Line.cs:
* TextControl.cs:
* TextBoxBase.cs: Add comments indicating that the method or property
is used via reflection from UIA code.
svn path=/trunk/mcs/; revision=116612
Rodrigo Kumpera [Tue, 21 Oct 2008 12:35:28 +0000 (12:35 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* Vector8us.cs: Added SignedPackWithUnsignedSaturation.
svn path=/trunk/mcs/; revision=116610