Commit Graph
71287 Commits
Author SHA1 Message Date
Jonathan Pryor c1fdbfc6ea * scripts/Makefile.am: Add sqlmetal.
svn path=/trunk/mono/; revision=129196
2009-03-12 20:16:11 +00:00
Jb Evain 67320f10a5 2009-03-12 Jb Evain <[email protected]>
* cilstrip.cs: unwrap TargetInvocationException.


svn path=/trunk/mcs/; revision=129193
2009-03-12 20:05:47 +00:00
Jb Evain 5fb61f686b 2009-03-12 Jb Evain <[email protected]>
* Mono.Cecil/AssemblyStripper.cs (PatchHeap): don't crash
	if the assembly doesn't contain a specific metadata heap.


svn path=/trunk/mcs/; revision=129191
2009-03-12 19:58:16 +00:00
Jonathan Pryor 0dff9169b3 * Makefile: Add sqlmetal to the build.
* sqlmetal/ChangeLog, sqlmetal/Makefile, sqlmetal/sqlmetal.exe.config, 
	  sqlmetal/sqlmetal.exe.sources: Added; builds `sqlmetal.exe', which is 
	  the Mono version of DbLinq's DbMetal.exe program (which in turn is 
	  modeled on .NET's SQLMETAL tool), "tuned" to depend only on Mono's 
	  System.Data.Linq.

svn path=/trunk/mcs/; revision=129189
2009-03-12 19:48:29 +00:00
Jonathan Pryor b5f3e00eed * src/DbLinq/System.Data.Linq/Assembly/AssemblyInfo.cs: Allow
sqlmetal.exe to access the System.Data.Linq.dll internals, as
	  sqlmetal.exe is DbMetal.exe, and needs access to (normally public)
	  DbLinq.dll types.

svn path=/trunk/mcs/; revision=129187
2009-03-12 19:43:32 +00:00
Jonathan Pryor 76dcaa699e * System.Data.Linq.dll.sources: Sort filenames (to more easily see
which DbLinq files are being excluded from the build), and add
	  additional files to the build, specifically the *SchemaLoader and
	  *DataContext types.
	* src/**: Flush to DbLinq r1013 (which allows the *SchemaLoader and
	  *DataContext types to build under MONO_STRICT).

svn path=/trunk/mcs/; revision=129185
2009-03-12 19:37:33 +00:00
Jonathan Pryor ce2c2fc5a8 Flush (should have been doing this before...).
svn path=/trunk/mcs/; revision=129183
2009-03-12 19:35:24 +00:00
Dean Brettle c179d76e68 2009-03-12 Dean Brettle <[email protected]>
* nBrowser/Build.cs: made Browser() method thread-safe and moved the
	actual tree creation to a private InitializeTree() method for clarity.


svn path=/trunk/mcs/; revision=129176
2009-03-12 18:36:25 +00:00
Carlos Alberto Cortez 329e4d0d14 2009-03-12 Carlos Alberto Cortez <[email protected]>
* XplatUIX11.cs: In GetMessage when F1 gets pressed, besides sending a
	WM_HELP message for the associated window, don't call
	NativeWindow.WndProc *at all*, since this could send a WM_*
	key-related to Control.WndProc. Also, return the keypress message, in
	case it needs to be preprocessed for any menu.
	Fixes #478476.


svn path=/trunk/mcs/; revision=129170
2009-03-12 18:14:03 +00:00
Zoltan Varga 9d8de658a5 2009-03-12 Zoltan Varga <[email protected]>
* icall.c: Allocate the memory used by the mono_ptr_array macros using
	mono_gc_alloc_fixed () since it contains GC refs.

svn path=/trunk/mono/; revision=129166
2009-03-12 17:55:03 +00:00
Atsushi Eno a925966529 2009-03-12 Atsushi Enomoto <[email protected]>
* SerializationMap.cs : make generic type parsing sloppy.
          because we don't know some cryptic hash algorithm:
          http://jeffbarnes.net/portal/blogs/jeff_barnes/archive/2007/05/10/wcf-serialization-and-generics.aspx


svn path=/trunk/mcs/; revision=129155
2009-03-12 16:25:48 +00:00
Jb Evain 37bdbf1395 2009-03-12 Jb Evain <[email protected]>
* get.c (get_token): add support for METHOD_SPEC tokens.


svn path=/trunk/mono/; revision=129147
2009-03-12 14:34:10 +00:00
Marek Habersack 39c6840184 2009-03-12 Marek Habersack <[email protected]>
* BuildManager.cs, BuildManagerDirectoryBuilder.cs,
	BuildProvider.cs, TemplateBuildProvider.cs: dependencies are
	returned as an IDictionary <string, bool>. Dependencies must be
	compared case-insensitively.

svn path=/trunk/mcs/; revision=129142
2009-03-12 14:27:12 +00:00
Marek Habersack 709407a75f 2009-03-12 Marek Habersack <[email protected]>
* TemplateBuildProvider.cs: ExtractReferenceDependencies must also
	extract the value of the Page attribute.

svn path=/trunk/mcs/; revision=129141
2009-03-12 14:27:01 +00:00
Atsushi Eno 444737022e 2009-03-12 Atsushi Enomoto <[email protected]>
* SerializationMap.cs, KnownTypeCollection.cs :
	  support CollectionDataContract-based dictionary too.

	* XmlObjectSerializerTest.cs : added test for dictionary with
	  CollectionDataContractAttribute.


svn path=/trunk/mcs/; revision=129128
2009-03-12 09:29:40 +00:00
Atsushi Eno 2fc4ce96e5 2009-03-12 Atsushi Enomoto <[email protected]>
* SerializationMap.cs, KnownTypeCollection.cs :
	  added support for dictionary serialization (not for
	  CollectionDataContract-attributed dictionary yet).

	* XmlObjectSerializerTest.cs : added tests for IDictionary
	  serialization (both generic and non-generic).


svn path=/trunk/mcs/; revision=129125
2009-03-12 08:37:33 +00:00
Atsushi Eno d9e90b8d10 2009-03-12 Atsushi Enomoto <[email protected]>
* SerializationMap.cs : cosmetic !NET_2_1 fix (no effect).
	* KnownTypeCollection.cs : use ICollection<> and IList instead of
	  IEnumerable. This causes confusion for dictionary.


svn path=/trunk/mcs/; revision=129124
2009-03-12 04:31:01 +00:00
Jonathan Pryor 6aef4589ff Remove generated directories.
svn path=/trunk/mcs/; revision=129117
2009-03-12 00:49:24 +00:00
Jonathan Pryor 1bf78074ea Add the DbMetal and VisualMetal sources from DbLinq, so that we can add a
`sqlmetal' tool which uses the DbMetal sources.

svn path=/trunk/mcs/; revision=129116
2009-03-12 00:46:32 +00:00
Gonzalo Paniagua Javier 0fff03b008 2009-03-11 Gonzalo Paniagua Javier <[email protected]>
* InotifyWatcher.cs: don't send events when a directory is created
	unless it matches the pattern.  Fixes bug #484082.


svn path=/trunk/mcs/; revision=129112
2009-03-12 00:20:55 +00:00
Jonathan Pryor 31f53b4843 Flush. (Updates to sync with DbLinq r1009, fixes IVendor lookup within
System.Data.Linq.dll, add unit tests -- which aren't hooked up to Mono's build
system -- various bug fixes, etc.)

svn path=/trunk/mcs/; revision=129090
2009-03-11 20:06:10 +00:00
Marek Safar d1ec514016 New test.
svn path=/trunk/mcs/; revision=129086
2009-03-11 19:00:40 +00:00
Marek Safar e8ac873bbe 2009-03-11 Marek Safar <[email protected]>
A fix for bug #482996
	* anonymous.cs: Make sure we are not infering return type when
	checking type compatibility.


svn path=/trunk/mcs/; revision=129085
2009-03-11 18:55:51 +00:00
Zoltan Varga dfb2da7976 2009-03-11 Zoltan Varga <[email protected]>
* SortedListTest.cs: Add tests for #483985.

svn path=/trunk/mcs/; revision=129078
2009-03-11 16:51:19 +00:00
Rolf Bjarne Kvinge bbe5d30c03 2009-03-11 Rolf Bjarne Kvinge <[email protected]>
* WebClient_2_1.cs: OnOpenReadCompleted and OnDownloadStringCompleted:
	make sure we don't pass any exceptions back to native code.


svn path=/trunk/mcs/; revision=129077
2009-03-11 16:49:50 +00:00
Zoltan Varga bacf99dcd2 2009-03-11 Zoltan Varga <[email protected]>
* SortedList.cs: Add version checking to the Key/Value enumerators +
	implement support for Reset (). Fixes #483985.

svn path=/trunk/mcs/; revision=129076
2009-03-11 16:49:43 +00:00
Zoltan Varga 2ac318ebfe 2009-03-11 Zoltan Varga <[email protected]>
* BinderTests.cs: Add a test for #484294.

svn path=/trunk/mcs/; revision=129070
2009-03-11 15:14:36 +00:00
Zoltan Varga f92f37b5ba 2009-03-11 Zoltan Varga <[email protected]>
* Binder.cs: Allow conversions from T to T?. Fixes #484294.

svn path=/trunk/mcs/; revision=129069
2009-03-11 15:10:29 +00:00
Atsushi Eno f936428455 2009-03-11 Atsushi Enomoto <[email protected]>
* XmlFormatterSerializer.cs, XmlObjectSerializer.cs,
	  XmlFormatterDeserializer.cs, KnownTypeCollection.cs :
	  add more xsi:type to cover collection items.

	* XmlObjectSerializerTest.cs : test for generic IList of
	  DictionaryEntry. (no Hashtable serialization yet.)


svn path=/trunk/mcs/; revision=129068
2009-03-11 15:03:02 +00:00
Marek Safar 1f5e677800 This should not go in.
svn path=/trunk/mcs/; revision=129065
2009-03-11 14:28:58 +00:00
Zoltan Varga 309720b294 2009-03-11 Zoltan Varga <[email protected]>
* mini-amd64.c (mono_arch_output_basic_block): Fix % 1. Fixes #484323.

	* basic.cs: Add a test.

svn path=/trunk/mono/; revision=129063
2009-03-11 14:27:10 +00:00
Marek Safar e8b2549228 2009-03-11 Marek Safar <[email protected]>
* typemanager.cs, generic.cs, parameter.cs, decl.cs, const.cs,
	rootcontext.cs, namespace.cs, class.cs, delegate.cs, driver.cs,
	generic-mcs.cs, attribute.cs, codegen.cs: Maintain predefined
	attributes in their own structure. Needed when accessing their
	properties before they are resolved.


svn path=/trunk/mcs/; revision=129061
2009-03-11 14:18:02 +00:00
Mark Probst 9f363d6e61 Make sure x86 ATOMIC_CAS doesn't overwrite its own operands.
2009-03-11  Mark Probst  <[email protected]>

	* mini-x86.c (mono_arch_output_basic_block): Use different
	registers in case the ones we want to overwrite are used by the
	other operand.  Fixes regression in #480807.

svn path=/trunk/mono/; revision=129058
2009-03-11 14:15:49 +00:00
Atsushi Eno 9259c423b0 2009-03-11 Atsushi Enomoto <[email protected]>
* KnownTypeCollection.cs : fix generic argument names in xml.
	  They should use xmlized names instead of raw type name.
	* XmlFormatterDeserializer.cs : remove extra Console.WriteLine.

	* XmlObjectSerializerTest.cs : test for generic IList of KeyValuePair
	  (it is still different from full IDictionary support...!).


svn path=/trunk/mcs/; revision=129055
2009-03-11 11:52:34 +00:00
Atsushi Eno 4c9b51db6d 2009-03-11 Atsushi Enomoto <[email protected]>
* SerializationMap.cs : eliminate whitespace misuses.


svn path=/trunk/mcs/; revision=129053
2009-03-11 09:37:01 +00:00
Atsushi Eno db1aa31255 2009-03-11 Atsushi Enomoto <[email protected]>
* SerializationMap.cs : actually it could just be
          ICollection<T>.


svn path=/trunk/mcs/; revision=129051
2009-03-11 09:06:06 +00:00
Atsushi Eno 4906f1a6b3 2009-03-11 Atsushi Enomoto <[email protected]>
* SerializationMap.cs : implemented generic IList
          deserialization.


        * XmlObjectSerializerTest.cs : test for generic IList
          serialization.

        * Makefile: added -r:System.Core.



svn path=/trunk/mcs/; revision=129045
2009-03-11 06:26:09 +00:00
Jackson Harper 9818184c46 * Uri.cs: 2.1 Uris do get a UriTypeConverter.
svn path=/trunk/mcs/; revision=129023
2009-03-10 21:39:10 +00:00
Zoltan Varga 256ce3146e 2009-03-10 Zoltan Varga <[email protected]>
* aot-compiler.c (mono_compile_assembly): Make the output less verbose.

svn path=/trunk/mono/; revision=129022
2009-03-10 21:38:35 +00:00
Zoltan Varga 68f5bf552b 2009-03-10 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs: Add a test for #483852.

svn path=/trunk/mcs/; revision=129011
2009-03-10 19:51:16 +00:00
Zoltan Varga 023a1a8181 2009-03-10 Zoltan Varga <[email protected]>
* reflection.c (ensure_complete_type): New helper function to call
	type resolve handlers for unfinished dynamic types.
	(resolve_object): Call it for MonoClassFields. Fixes #483852.

svn path=/trunk/mono/; revision=129009
2009-03-10 19:45:41 +00:00
Atsushi Eno 92713f5d7c 2009-03-10 Atsushi Enomoto <[email protected]>
* KnownTypeCollection.cs : fix for generic serialization.

	* XmlObjectSerializerTest.cs : test for generic type serialization.


svn path=/trunk/mcs/; revision=129001
2009-03-10 18:21:07 +00:00
Miguel de Icaza cef6453d5b Clarify
svn path=/trunk/mono/; revision=128995
2009-03-10 17:20:50 +00:00
Zoltan Varga ab92e1dda4 2009-03-10 Zoltan Varga <[email protected]>
* README: Remove the comment about --with-moonlight being pre-alpha.

svn path=/trunk/mono/; revision=128990
2009-03-10 16:47:37 +00:00
Marek Habersack 3aa7a57e81 2009-03-10 Marek Habersack <[email protected]>
* UrlAuthorizationModule.cs: OnAuthorizeRequest must use the
	configuration from <location> elements in the config. Fixes bug
	#467221

svn path=/trunk/mcs/; revision=128972
2009-03-10 14:21:42 +00:00
Marek Habersack 9f34a3140d Cosmetics
svn path=/trunk/mcs/; revision=128971
2009-03-10 14:21:26 +00:00
Jb Evain e276786c9e 2009-03-10 Jb Evain <[email protected]>
* Mono.Tuner/MoonlightAssemblyStep.cs: don't remove
	the LoadReferencesStep for specific Moonlight tuning.


svn path=/trunk/mcs/; revision=128966
2009-03-10 12:31:57 +00:00
Atsushi Eno c59c5611fa 2009-03-10 Atsushi Enomoto <[email protected]>
* scripts/Makefile.am : added svcutil.


svn path=/trunk/mono/; revision=128954
2009-03-10 08:26:50 +00:00
Atsushi Eno 34386abbd0 2009-03-10 Atsushi Enomoto <[email protected]>
* Makefile: add svcutil to the build.


svn path=/trunk/mcs/; revision=128952
2009-03-10 08:24:57 +00:00
Zoltan Varga 944140d872 2009-03-10 Zoltan Varga <[email protected]>
* dwarfwriter.c (emit_line_number_info): The line number info for
	IL code was off by one. Fix that.

svn path=/trunk/mono/; revision=128931
2009-03-10 01:19:20 +00:00