Eyal Alalouf [Thu, 23 Aug 2007 15:01:23 +0000 (15:01 -0000)]
Improve DateTime.Parse.
svn path=/trunk/mcs/; revision=84700
Juraj Skripsky [Thu, 23 Aug 2007 13:16:28 +0000 (13:16 -0000)]
2007-08-23 Juraj Skripsky <js@hotfeet.ch>
* Control.cs (InitControlsCache): Make the hash table case insensitive to
make FindControl compatible with MS.net again. Add LAMESPEC note.
svn path=/trunk/mcs/; revision=84694
Igor Zelmanovich [Thu, 23 Aug 2007 12:26:38 +0000 (12:26 -0000)]
2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
* Panel.cs: client script consider MultiForm environment.
svn path=/trunk/mcs/; revision=84693
Igor Zelmanovich [Thu, 23 Aug 2007 10:54:09 +0000 (10:54 -0000)]
consider HtmlEncoding when parsing hidden fields
svn path=/trunk/mcs/; revision=84686
Igor Zelmanovich [Thu, 23 Aug 2007 10:44:10 +0000 (10:44 -0000)]
2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
* AssemblyResourceLoader.cs: for SYSTEM_WEB_EXTENSIONS only:
fixed JSON serialization of resources.
svn path=/trunk/mcs/; revision=84685
Marek Habersack [Thu, 23 Aug 2007 10:30:37 +0000 (10:30 -0000)]
2007-08-23 Marek Habersack <mhabersack@novell.com>
* ProvidersHelper.cs: HttpApplication.LoadTypeFromPrivateBin
renamed to LoadTypeFromBin.
2007-08-23 Marek Habersack <mhabersack@novell.com>
* AppCodeCompiler.cs: use HttpApplication.BinDirectoryAssemblies
and HttpApplication.LoadTypeFromBin.
* BuildProvider.cs: use HttpApplication.BinDirectoryAssemblies in
AddAssembliesInBin.
2007-08-23 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: set AppDomainSetup.PrivateBinPath to "bin"
if running on Windows or with MONO_IOMAP in effect, and to
"Bin:bin" otherwise.
2007-08-23 Marek Habersack <mhabersack@novell.com>
* SimpleWebHandlerParser.cs: use
HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin and
LoadAssemblyFromBin.
Restore the old logic in GetTypeFromBin, also use
HttpApplication.BinDirectoryAssemblies there.
* TemplateParser.cs: use HttpApplication.BinDirectories to
interate over the list of bin dirs.
Use HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin.
2007-08-23 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: added a static array BinDirs which contains
the common bin directory names we can encounter.
Added internal static property IsRunningOnWindows.
Added internal enumerable property BinDirectories to iterate over
the full paths of the available binary directories.
Added internal enumerable property BinDirectoryAssemblies to
iterate over .dll files in the bin directories.
LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
LoadTypeFromBin uses BinDirectoryAssemblies.
* HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
interate over the list of bin dirs.
svn path=/trunk/mcs/; revision=84684
Igor Zelmanovich [Thu, 23 Aug 2007 09:22:21 +0000 (09:22 -0000)]
2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: encode values of hidden fields.
svn path=/trunk/mcs/; revision=84683
Robert Jordan [Thu, 23 Aug 2007 06:52:06 +0000 (06:52 -0000)]
Fix bug id.
svn path=/trunk/mcs/; revision=84682
Robert Jordan [Thu, 23 Aug 2007 06:47:58 +0000 (06:47 -0000)]
In System.Web/System.Web.Configuration:
2007-08-23 Robert Jordan <robertj@gmx.net>
* WebConfigurationSettings.cs: Move RemotingConfiguration to
System.Runtime.Remoting.Channels.Http/HttpRemotingHandlerFactory.cs.
Fixes #19384.
In System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http:
2007-08-23 Robert Jordan <robertj@gmx.net>
* HttpRemotingHandlerFactory.cs: configure Remoting because
System.Web doesn't anymore. Fixes #81831.
svn path=/trunk/mcs/; revision=84681
Robert Jordan [Thu, 23 Aug 2007 06:22:53 +0000 (06:22 -0000)]
2007-08-21 Robert Jordan <robertj@gmx.net>
* ValueCollectionParameterReader.cs (Read):
Add support for array parameters. Fixes #82519.
svn path=/trunk/mcs/; revision=84680
Robert Jordan [Thu, 23 Aug 2007 06:17:06 +0000 (06:17 -0000)]
2007-08-23 Robert Jordan <robertj@gmx.net>
* Process.cs: implement PriorityClass. Fixes #81756.
svn path=/trunk/mcs/; revision=84679
Robert Jordan [Thu, 23 Aug 2007 06:13:25 +0000 (06:13 -0000)]
In .:
2007-08-23 Robert Jordan <robertj@gmx.net>
* configure.in: add get|setpriority detection.
In mono/io-layer:
2007-08-23 Robert Jordan <robertj@gmx.net>
* processes.[c|h]: Implement Get|SetPriorityClass ().
Code is contributed under MIT/X11 license.
In mono/metadata:
2007-08-23 Robert Jordan <robertj@gmx.net>
* icall-def.h, process.*: implemented Get|SetPriorityClass icalls.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=84678
Robert Jordan [Thu, 23 Aug 2007 05:47:48 +0000 (05:47 -0000)]
2007-08-23 Robert Jordan <robertj@gmx.net>
* MarshalTest.cs: Added test for HGlobal allocations. See bug #82499.
svn path=/trunk/mcs/; revision=84677
Everaldo Canuto [Thu, 23 Aug 2007 00:30:30 +0000 (00:30 -0000)]
2007-08-22 Everaldo Canuto <ecanuto@novell.com>
* FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
code to this method. It is calling every time filter changes. This method
will help to fix the bug #80887.
svn path=/trunk/mcs/; revision=84674
Jonathan Pobst [Wed, 22 Aug 2007 21:48:16 +0000 (21:48 -0000)]
2007-08-22 Jonathan Pobst <monkey@jpobst.com>
* CheckBox.cs: Implement AutoSize calculation.
2007-08-22 Jonathan Pobst <monkey@jpobst.com>
* ComboBoxTest.cs: Add test for AutoSize behavior.
svn path=/trunk/mcs/; revision=84666
Jonathan Pobst [Wed, 22 Aug 2007 20:39:39 +0000 (20:39 -0000)]
2007-08-22 Jonathan Pobst <monkey@jpobst.com>
* CheckBox.cs: Use new 2.0 rendering for 2.0.
* Theme.cs: Method declarations for 2.0 rendering path.
* ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
2007-08-22 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: CheckBoxPainter.cs.
2007-08-22 Jonathan Pobst <monkey@jpobst.com>
* CheckBoxPainter.cs: Added.
2007-08-22 Jonathan Pobst <monkey@jpobst.com>
* ThemeElementsDefault.cs: Add accessor for CheckBoxPainter.
svn path=/trunk/mcs/; revision=84661
Martin Baulig [Wed, 22 Aug 2007 16:25:40 +0000 (16:25 -0000)]
2007-08-22 Martin Baulig <martin@ximian.com>
* pthread_stop_world.c
(GC_mono_debugger_add_all_threads): Removed.
(GC_mono_debugger_get_stack_ptr): New public function.
svn path=/trunk/mono/; revision=84647
Paolo Molaro [Wed, 22 Aug 2007 16:12:03 +0000 (16:12 -0000)]
Wed Aug 22 18:35:12 CEST 2007 Paolo Molaro <lupus@ximian.com>
* sgen-gc.h, sgen-gc.c: abstracted most of the OS-specific code.
svn path=/trunk/mono/; revision=84646
Martin Baulig [Wed, 22 Aug 2007 15:39:10 +0000 (15:39 -0000)]
2007-08-22 Martin Baulig <martin@ximian.com>
* debug-mini.h
(MonoDebuggerThreadInfo): New typedef.
(mono_debugger_thread_table): New global variable.
(mono_debugger_thread_created): New public function.
(mono_debugger_thread_cleanup): New public function.
* debug-debugger.h
(MonoDebuggerInfo):
- removed `get_current_thread' and `lookup_assembly'.
- removed `data_table'.
- added `thread_table'.
* mini.c
(mono_thread_start_cb): Call mono_debugger_thread_created().
(mono_thread_attach_cb): Likewise.
(mini_thread_cleanup): Call mono_debugger_thread_cleanup().
(mini_cleanup): Move mono_debug_cleanup() down, after free'ing the
initial domain.
* driver.c (mono_main): Move mono_debug_init() up, before calling
mini_init(); mono_debug_init_1() and mono_debug_init_2() are gone.
svn path=/trunk/mono/; revision=84634
Martin Baulig [Wed, 22 Aug 2007 15:38:52 +0000 (15:38 -0000)]
2007-08-22 Martin Baulig <martin@ximian.com>
* mono-debug.c: Store debugging info on a per-domain basis and
free it on domain unload. Add support for unloading symbol files.
* mono-debug.h
(MonoDebugList): New typedef.
(MonoSymbolTable):
- add `data_tables and `type_table'.
- replace 'symbol_files' and `num_symbol_files' with a
`MonoDebugList *'.
(mono_debug_data_table): Removed.
(mono_debug_list_add): New public function.
(mono_debug_list_remove): New public function.
(mono_debug_init_1): Renamed into mono_debug_init_corlib().
(mono_debug_init_2_memory): Renamed into
mono_debug_open_image_from_memory().
(mono_debug_close_image): New public function.
(mono_debug_domain_create): Likewise.
(mono_debug_domain_unload): Likewise.
(MONO_DEBUGGER_VERSION): Bump to 60.
* mono-debug-debugger.h
(MonoDebuggerEvent):
- remove `RELOAD_SYMTABS' and `METHOD_COMPILED'.
- rename `ADD_MODULE' into `LOAD_MODULE'; add `UNLOAD_MODULE'.
- add `DOMAIN_CREATE' and `DOMAIN_UNLOAD'.
- rename `THREAD_CREATED' and `THREAD_EXITED' into
`GC_THREAD_CREATED' and `GC_THREAD_EXITED'.
- re-add `THREAD_CREATED' and `THREAD_EXITED'; with different
meaning.
(mono_debugger_add_symbol_file): Removed.
(mono_debugger_add_type): Removed.
(mono_debugger_lookup_type): Removed.
(mono_debugger_lookup_assembly): Removed.
* domain.c
(mono_domain_create): Call mono_debug_domain_create().
(mono_init_internal): Call mono_debug_init_corlib().
* assembly.c
(mono_assembly_close): Call mono_debug_close_image().
svn path=/trunk/mono/; revision=84633
Paolo Molaro [Wed, 22 Aug 2007 15:02:51 +0000 (15:02 -0000)]
Wed Aug 22 17:26:02 CEST 2007 Paolo Molaro <lupus@ximian.com>
* sgen-gc.c: use the mono-mmap facilitites instead of hard-coding the
mmap call.
svn path=/trunk/mono/; revision=84632
Paolo Molaro [Wed, 22 Aug 2007 14:54:17 +0000 (14:54 -0000)]
Wed Aug 22 17:17:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
* sgen-gc.c: ensure section->pin_queue_end is initialized
correctly when non pinning objects in the section have been found.
svn path=/trunk/mono/; revision=84630
Paolo Molaro [Wed, 22 Aug 2007 13:43:24 +0000 (13:43 -0000)]
Fixed the g_strsplit call...
svn path=/trunk/mono/; revision=84616
Marek Habersack [Wed, 22 Aug 2007 13:03:54 +0000 (13:03 -0000)]
2007-08-22 Marek Habersack <mhabersack@novell.com>
* appdomain.c (set_domain_search_path): cope with PrivateBinPath
containing a list of directories separated by ':'. MSDN docs say
the directories should be separated with ';'. Part of a bugfix for
bug #81446
svn path=/trunk/mono/; revision=84614
Marek Safar [Wed, 22 Aug 2007 12:18:30 +0000 (12:18 -0000)]
2007-08-22 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs: More SelectionMany.
svn path=/trunk/mcs/; revision=84612
Atsushi Eno [Wed, 22 Aug 2007 10:36:47 +0000 (10:36 -0000)]
2007-08-22 Atsushi Enomoto <atsushi@ximian.com>
* ChannelServices.cs : implement ensureSecurity support in
RegisterChannel(IChannel,bool). Note that we don't have secure
channels in Sys.Runtime.Remoting.dll yet.
* ChannelServicesTest.cs : new test fixture.
* corlib_test.dll.sources : added ChannelServicesTest.cs.
svn path=/trunk/mcs/; revision=84605
Vladimir Krasnov [Wed, 22 Aug 2007 06:16:09 +0000 (06:16 -0000)]
* GenericProvider.cs: fixed broken functionality of keyMapping
svn path=/trunk/mcs/; revision=84603
Marek Habersack [Wed, 22 Aug 2007 00:07:57 +0000 (00:07 -0000)]
use Path.PathSeparator where appropriate
svn path=/trunk/mcs/; revision=84599
Carlos Alberto Cortez [Tue, 21 Aug 2007 21:54:59 +0000 (21:54 -0000)]
* ListViewGroupCollection.cs: Fix a typo of the previous patch.
2007-08-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=84598
Marek Habersack [Tue, 21 Aug 2007 21:13:54 +0000 (21:13 -0000)]
2007-08-21 Marek Habersack <mhabersack@novell.com>
* ApplicationHostTest.cs: adjust the test for the PrivateBinPath
changes.
2007-08-21 Marek Habersack <mhabersack@novell.com>
* ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
to get the provider settings type.
2007-08-21 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: watch for changes in all the
private binary directories for the current application domain.
* HttpApplication.cs: turn the PrivateBinPath property into an
internal enumerable, so that code throughout the assembly can
iterate over the list of private bin directories configured for
the application domain.
Added a new internal method LoadTypeFromPrivateBin, for sharing
with other parts of the assembly.
2007-08-21 Marek Habersack <mhabersack@novell.com>
* SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
enumerator when loading or adding assemblies from binary
directories. Remove unused PrivateBinPath property.
* ControlBuilder.cs: remove unused PrivateBinPath property.
* TemplateParser.cs: use HttpApplication.PrivateBinPath when
adding assemblis and loading types.
2007-08-21 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
a list of paths relative to AppDomainSetup.ApplicationBase, not a
full path.
We no longer check if the bin directories exist, the user can
create them while the application is running.
2007-08-21 Marek Habersack <mhabersack@novell.com>
* ObjectDataSourceView.cs: get rid of PrivateBinPath property,
it's unused.
2007-08-21 Marek Habersack <mhabersack@novell.com>
* BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
to look up assemblies in the binary path(s).
svn path=/trunk/mcs/; revision=84589
Carlos Alberto Cortez [Tue, 21 Aug 2007 18:18:55 +0000 (18:18 -0000)]
2007-08-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewGroupCollection.cs: Implement AddRange the right way, to
only call Redraw on the parent one time.
svn path=/trunk/mcs/; revision=84575
Paolo Molaro [Tue, 21 Aug 2007 17:45:13 +0000 (17:45 -0000)]
Tue Aug 21 20:08:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
* io.c: made convert_arg_to_utf8() and write_file() static.
Worked around gcc's incorrect warning.
svn path=/trunk/mono/; revision=84572
Rodrigo Kumpera [Tue, 21 Aug 2007 16:44:05 +0000 (16:44 -0000)]
2007-08-21 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_type_retrieve_from_typespec) : fixed the return type
it should MonoType and not MonoClass.
svn path=/trunk/mono/; revision=84566
Marek Safar [Tue, 21 Aug 2007 15:47:26 +0000 (15:47 -0000)]
2007-08-21 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Orderby clause
svn path=/trunk/mcs/; revision=84561
Marek Safar [Tue, 21 Aug 2007 15:46:31 +0000 (15:46 -0000)]
New test of orderby
svn path=/trunk/mcs/; revision=84560
Marek Safar [Tue, 21 Aug 2007 15:41:42 +0000 (15:41 -0000)]
2007-08-21 Marek Safar <marek.safar@gmail.com>
* AOrderedEnumerable: New abtract base.
* Enumerable.cs, Queryable.cs: Public methods update.
* InternalOrderedSequence.cs: Fixed ThenBy.
svn path=/trunk/mcs/; revision=84559
Igor Zelmanovich [Tue, 21 Aug 2007 15:29:24 +0000 (15:29 -0000)]
2007-08-21 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs: fixed onsubmit script for MultiForm environment
svn path=/trunk/mcs/; revision=84558
Igor Zelmanovich [Tue, 21 Aug 2007 15:26:18 +0000 (15:26 -0000)]
added #if !TERGET_J2EE
svn path=/trunk/mcs/; revision=84557
Rolf Bjarne Kvinge [Tue, 21 Aug 2007 15:23:46 +0000 (15:23 -0000)]
* Test/System.Windows.Forms/DataGridViewCellTest.cs: Added
GetClipboardContentTest, GetClipboardContentTestException.
* Test/System.Windows.Forms/DataGridViewClipboardHeaderTest.cs,
Test/System.Windows.Forms/DataGridViewClipboardTest.cs: Added.
* Test/System.Windows.Forms/DataGridViewColumnHeaderTest.cs: Added
GetClipboardContentTestException
* Test/System.Windows.Forms/DataGridViewRowHeaderTest.cs: Added
GetClipboardContentTestException/2.
* Test/System.Windows.Forms/DataGridViewTest.cs: Added
GetClipboardContentsDisabled, GetClipboardContents,
GetClipboardContents_HeadersAlways,
GetClipboardContents_HeadersNever and GenerateClipboardTest with
several helper functions.
* System.Windows.Forms_test.dll.sources: Added
DataGridViewClipboardHeaderTest.cs, DataGridViewClipboardTest.cs,
DataGridViewColumnHeaderTest.cs, DataGridViewRowHeaderTest.cs.
* System.Windows.Forms/DataGridViewRowHeaderCell.cs,
System.Windows.Forms/DataGridViewColumnHeaderCell.cs: Implemented
GetClipboardContent.
* System.Windows.Forms/DataGridViewCell.cs: Implemented
GetClipboardContent, GetEditedFormattedValue, GetFormattedValue.
* System.Windows.Forms/DataGridView.cs: Implemented
GetClipboardContent, TopLeftHeaderCell.
svn path=/trunk/mcs/; revision=84556
Jonathan Pobst [Tue, 21 Aug 2007 14:37:18 +0000 (14:37 -0000)]
2007-08-21 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutStyleCollection.cs: corcompare fix.
svn path=/trunk/mcs/; revision=84555
Rolf Bjarne Kvinge [Tue, 21 Aug 2007 14:32:04 +0000 (14:32 -0000)]
* Test/System.Windows.Forms/DataGridViewColumnCollectionTest.cs,
Test/System.Windows.Forms/DataGridViewComboBoxCellTest.cs,
Test/System.Windows.Forms/DataGridViewRowCollectionTest.cs,
Test/System.Windows.Forms/DataGridViewTextBoxColumnTest.cs,
Test/System.Windows.Forms/DataGridViewBandTest.cs: Fixed line
endings.
* Test/System.Windows.Forms/DataGridViewCommon.cs: Fixed line endings,
added CreateAndFillForClipboard.
svn path=/trunk/mcs/; revision=84554
Rolf Bjarne Kvinge [Tue, 21 Aug 2007 14:26:03 +0000 (14:26 -0000)]
* Test/System.Windows.Forms/DataObjectTest.cs: Added TestConvertible.
* System.Windows.Forms/DataObject.cs: Implemented retrieval of
convertible / not convertible objects.
svn path=/trunk/mcs/; revision=84553
Paolo Molaro [Tue, 21 Aug 2007 14:18:46 +0000 (14:18 -0000)]
Tue Aug 21 16:40:04 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-x86.c, inssel-x86.brg: group multiple stack adjustments
together when passing several arguments of type double (gives a small
speedup and saves a few bytes of generated code).
svn path=/trunk/mono/; revision=84552
Jb Evain [Tue, 21 Aug 2007 14:18:36 +0000 (14:18 -0000)]
re-install smcs.exe as well
svn path=/trunk/mcs/; revision=84551
Jonathan Pobst [Tue, 21 Aug 2007 13:53:06 +0000 (13:53 -0000)]
2007-08-21 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: When changing the item's text, invalidate before we resize
ourselves. This ensures the entire old bounds are repainted, in case our new
size is smaller. [Fixes bug #82518]
svn path=/trunk/mcs/; revision=84550
Atsushi Eno [Tue, 21 Aug 2007 13:10:37 +0000 (13:10 -0000)]
2007-08-21 Atsushi Enomoto <atsushi@ximian.com>
* XmlReflectionImporter.cs : do not reject XmlArrayAttribute on
byte[] (processed as primitive SchemaType). Fixed bug #81880.
* XmlReflectionImporterTest.cs : test for bug #81880.
svn path=/trunk/mcs/; revision=84548
Atsushi Eno [Tue, 21 Aug 2007 12:53:10 +0000 (12:53 -0000)]
2007-08-21 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationManager.cs : To open exe configuration, use
GetEntryAssembly() first, and GetCallingAssembly() only when
it was not found. Should fix bug #82071.
svn path=/trunk/mcs/; revision=84547
Jb Evain [Tue, 21 Aug 2007 12:28:05 +0000 (12:28 -0000)]
2007-08-21 Jb Evain <jbevain@novell.com>
* Makefile: tune on `all`, and only re-installed the tuned
assemblies on `install`.
svn path=/trunk/mcs/; revision=84545
Atsushi Eno [Tue, 21 Aug 2007 12:25:24 +0000 (12:25 -0000)]
2007-08-21 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaProviderAttribute.cs : added IsAny.
svn path=/trunk/mcs/; revision=84544
Atsushi Eno [Tue, 21 Aug 2007 12:21:01 +0000 (12:21 -0000)]
2007-08-21 Atsushi Enomoto <atsushi@ximian.com>
* XmlSerializationReader.cs :
implemented ReaderCount and CheckReaderCount().
svn path=/trunk/mcs/; revision=84543
Jb Evain [Tue, 21 Aug 2007 12:18:35 +0000 (12:18 -0000)]
fix by Marek, define NET_3_5 on 2.0 only
svn path=/trunk/mcs/; revision=84542
Jb Evain [Tue, 21 Aug 2007 12:14:34 +0000 (12:14 -0000)]
define NET_3_5 only when not targetting net_2_1
svn path=/trunk/mcs/; revision=84541
Marek Safar [Tue, 21 Aug 2007 11:38:46 +0000 (11:38 -0000)]
2007-08-21 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay, linq.cs: Implemented orderby clause.
svn path=/trunk/mcs/; revision=84539
Marek Safar [Tue, 21 Aug 2007 11:37:04 +0000 (11:37 -0000)]
2007-08-21 Marek Safar <marek.safar@gmail.com>
* anonymous.cs (AnonymousMethod): Generate private anonymous method
to fix problem with private arguments.
svn path=/trunk/mcs/; revision=84538
Atsushi Eno [Tue, 21 Aug 2007 11:32:27 +0000 (11:32 -0000)]
2007-08-21 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : for Euskara culture (eu_ES) do not trim dd which is
laid after 'ren' in the long format.
* culture-info-table.h : regenerated.
svn path=/trunk/mono/; revision=84537
Gert Driesen [Tue, 21 Aug 2007 11:27:38 +0000 (11:27 -0000)]
Set eol-style to native.
svn path=/trunk/mcs/; revision=84536
Gert Driesen [Tue, 21 Aug 2007 11:26:57 +0000 (11:26 -0000)]
* FileTest.cs: Added test for File.GetAttributes (and indirectly also
for SetAttributes). Removed use of deprecated Assertion class.
svn path=/trunk/mcs/; revision=84535
Atsushi Eno [Tue, 21 Aug 2007 09:24:42 +0000 (09:24 -0000)]
2007-08-21 Atsushi Enomoto <atsushi@ximian.com>
* MapCodeGenerator.cs : avoid possible duplicates in generated field
names. Fixed bug #82078.
* XmlCodeExporterTests.cs : test for bug #82078.
* 82078.xsd : new test file.
* Makefile : extra distfiles (82078.xsd).
svn path=/trunk/mcs/; revision=84531
Marek Safar [Tue, 21 Aug 2007 09:14:03 +0000 (09:14 -0000)]
2007-08-21 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs, Queryable.cs: Public methods update.
* InternalOrderedSequence.cs, OrderedSequence.cs: Derives from
IOrderedEnumerable<TElement>.
svn path=/trunk/mcs/; revision=84530
Marek Safar [Tue, 21 Aug 2007 09:12:22 +0000 (09:12 -0000)]
svn:eol-style
svn path=/trunk/mcs/; revision=84529
Atsushi Eno [Tue, 21 Aug 2007 06:56:09 +0000 (06:56 -0000)]
2007-08-21 Atsushi Enomoto <atsushi@ximian.com>
* XslFunctions.cs : fix wrong unboxing in extension functions.
Fixed bug #82493.
* XslTransformTests.cs : added test for bug #82493.
* 82394.xml, 82493.xsl : new test files.
* Makefile : extra distfiles (82493.xml/.xsl).
svn path=/trunk/mcs/; revision=84526
Massimiliano Mantione [Tue, 21 Aug 2007 05:53:28 +0000 (05:53 -0000)]
* bug-81466.il, bug-81466-lib.il, Makefile.am:
Added test for bug #81466.
svn path=/trunk/mono/; revision=84525
Everaldo Canuto [Mon, 20 Aug 2007 23:10:38 +0000 (23:10 -0000)]
2007-08-20 Everaldo Canuto <ecanuto@novell.com>
* XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
flag to make fast handle of mouse events, without this the mouse move is
handled in some manner, whether it is a mouse move or not. Fixes #81588.
svn path=/trunk/mcs/; revision=84518
Carlos Alberto Cortez [Mon, 20 Aug 2007 21:26:38 +0000 (21:26 -0000)]
* ListView.cs: When doing layout calculations don't use a ref
param to keep the current item; instead use its Index value (this
is specially important when doing the layout with Groups
and Items being sparse). Also don't take into account items added to
the Group but not yet added to the main ListView.Items collection.
2007-08-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=84509
Carlos Alberto Cortez [Mon, 20 Aug 2007 19:30:35 +0000 (19:30 -0000)]
* ListViewGroupCollection.cs: Forgot to mimic an issue
in the indexer (don't assign the ListView owner for new values).
2007-08-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=84493
Carlos Alberto Cortez [Mon, 20 Aug 2007 19:26:01 +0000 (19:26 -0000)]
2007-08-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewGroupCollectionTest.cs: New tests for the indexers.
svn path=/trunk/mcs/; revision=84492
Carlos Alberto Cortez [Mon, 20 Aug 2007 19:05:52 +0000 (19:05 -0000)]
2007-08-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewGroupCollection.cs: Make the string indexer use
the int based indexer to re-use code, instead of duplicate the code.
Also Redraw as needed and take into account null values.
svn path=/trunk/mcs/; revision=84487
Bill Holmes [Mon, 20 Aug 2007 18:48:55 +0000 (18:48 -0000)]
2007-08-20 William Holmes <billholmes54@gmail.com>
Implementing System.IO.File.Replace
*File.cs: Add implementation for IO.File.Replace methods.
*MonoIO.cs: Declared an internal call for ReplaceFile
*FileTest.cs: Added a test for IO.File.Replace.
Code is contributed under MIT/X11 license.
svn path=/trunk/mcs/; revision=84485
Bill Holmes [Mon, 20 Aug 2007 18:47:52 +0000 (18:47 -0000)]
2007-08-20 William Holmes <billholmes54@gmail.com>
Implementing System.IO.File.Replace
*file-io.c: Added ves_icall_System_IO_MonoIO_ReplaceFile
to call ReplaceFile Kernel32 on windows or in io-layer.
*file-io.h: Added deceleration for ves_icall_System_IO_MonoIO_ReplaceFile
*icall-def.h: Register ves_icall_System_IO_MonoIO_ReplaceFile
as an internal call.
*io.c: Added implementation for ReplaceFile.
*io.h: Added deceleration for ReplaceFile method.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=84484
Wade Berrier [Mon, 20 Aug 2007 18:42:13 +0000 (18:42 -0000)]
2007-08-20 Wade Berrier <wberrier@novell.com>
* processes.c: include sys/resource.h for rusage to fix
mac 10.3 build
svn path=/trunk/mono/; revision=84482
Gert Driesen [Mon, 20 Aug 2007 18:39:25 +0000 (18:39 -0000)]
Set eol-style.
svn path=/trunk/mcs/; revision=84481
Gert Driesen [Mon, 20 Aug 2007 18:37:49 +0000 (18:37 -0000)]
* EnumConverter.cs: Conversion to and from Enum [] is 2.0 only.
Modified conversion to string to support enum names and integral
values, and throw ArgumentException if value is not valid.
For conversion to InstanceDescriptor, use ConvertToString to get name
of field. Avoid endless loop when converting to Enum [].
* ToolboxItemFilterType.cs: Spaces to tabs.
* TypeConverter.cs: Improve exception messages (to match MS).
* EnumConverterTests.cs: Added tests for EnumConverter.
svn path=/trunk/mcs/; revision=84480
Jonathan Pobst [Mon, 20 Aug 2007 17:59:29 +0000 (17:59 -0000)]
2007-08-20 Jonathan Pobst <monkey@jpobst.com>
* StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
[Fixes bug #82481]
svn path=/trunk/mcs/; revision=84479
Marek Safar [Mon, 20 Aug 2007 17:40:28 +0000 (17:40 -0000)]
2007-08-20 Marek Safar <marek.safar@gmail.com>
* Consts.cs.in: Add NET_3_5 constants.
svn path=/trunk/mcs/; revision=84478
Marek Safar [Mon, 20 Aug 2007 17:38:42 +0000 (17:38 -0000)]
2007-08-20 Marek Safar <marek.safar@gmail.com>
* Makefile: Hardcoded 3.5 define for now.
svn path=/trunk/mcs/; revision=84477
Marek Safar [Mon, 20 Aug 2007 17:36:57 +0000 (17:36 -0000)]
2007-08-20 Marek Safar <marek.safar@gmail.com>
* AssemblyInfo.cs: Add a few more attributes.
svn path=/trunk/mcs/; revision=84476
Marek Safar [Mon, 20 Aug 2007 17:35:26 +0000 (17:35 -0000)]
svn:eolstyle
svn path=/trunk/mcs/; revision=84475
Jb Evain [Mon, 20 Aug 2007 16:46:46 +0000 (16:46 -0000)]
2007-08-20 Jb Evain <jbevain@novell.com>
* mini.c (mono_method_to_ir): fix leak on InvalidProgramException.
svn path=/trunk/mono/; revision=84471
Jb Evain [Mon, 20 Aug 2007 16:18:27 +0000 (16:18 -0000)]
in mono/mono/mini:
2007-08-20 Jb Evain <jbevain@novell.com>
* mini.c (mono_method_to_ir): throw MethodAccessException
and FieldAccessException instead of InvalidProgramException.
in mono/mono/metadata:
2007-08-20 Jb Evain <jbevain@novell.com>
* class-internals: add definitions for MONO_EXCEPTION_METHOD_ACCESS
and MONO_EXCEPTION_FIELD_ACCESS.
* debug-helpers.[c|h]: new mono_field_full_name function.
in mono/mono/tests:
2007-08-20 Jb Evain <jbevain@novell.com>
* field-access.il, method-access.il, Makefile.am: tests
for FieldAccessException and MethodAccessException.
svn path=/trunk/mono/; revision=84470
Jonathan Pobst [Mon, 20 Aug 2007 14:17:39 +0000 (14:17 -0000)]
2007-08-20 Jonathan Pobst <monkey@jpobst.com>
* ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
when other buttons are clicked or navigated to.
svn path=/trunk/mcs/; revision=84467
Mark Probst [Mon, 20 Aug 2007 14:05:53 +0000 (14:05 -0000)]
2007-08-20 Mark Probst <mark.probst@gmail.com>
* class.c: Removed class_security_level() and moved it to
security-core-clr.c.
* security-core-clr.c, security-core-clr.h: class_security_level()
is now public and renamed to mono_security_core_clr_class_level().
It also looks for security attributes in the classes a class is
nested in.
svn path=/trunk/mono/; revision=84466
Jb Evain [Mon, 20 Aug 2007 13:45:00 +0000 (13:45 -0000)]
System.Xml.Core contains unsage code as well
svn path=/trunk/mcs/; revision=84465
Jb Evain [Mon, 20 Aug 2007 13:30:28 +0000 (13:30 -0000)]
smcs contains unsafe code
svn path=/trunk/mcs/; revision=84464
Paolo Molaro [Mon, 20 Aug 2007 13:27:42 +0000 (13:27 -0000)]
Fixed the build...
svn path=/trunk/mono/; revision=84463
Mark Probst [Mon, 20 Aug 2007 13:01:11 +0000 (13:01 -0000)]
2007-08-20 Mark Probst <mark.probst@gmail.com>
* security-core-clr.c, security-core-clr.h: CoreCLR security
utility functions.
* Makefile.am: Added security-core-clr.[ch].
* security-manager.c, security-manager.h: Functions and enum for
setting and getting the security mode.
* class.c: CoreCLR security checks.
2007-08-20 Mark Probst <mark.probst@gmail.com>
* mini.c: CoreCLR security checks.
* mini.h: Removed MonoSecurityMode (moved to
metadata/security-manager.h) and mono_security_mode global var
(replaced by set/get functions in security-manager.h).
* driver.c: Added "core-clr-test" security mode for testing. Used
set-function for setting security mode.
svn path=/trunk/mono/; revision=84458
Paolo Molaro [Mon, 20 Aug 2007 13:00:20 +0000 (13:00 -0000)]
Mon Aug 20 15:23:01 CEST 2007 Paolo Molaro <lupus@ximian.com>
* configure.in: use more symbol renaming fo OSX (bug #82463).
svn path=/trunk/mono/; revision=84457
Mark Probst [Mon, 20 Aug 2007 12:59:59 +0000 (12:59 -0000)]
2007-08-20 Mark Probst <mark.probst@gmail.com>
* SecurityManager.cs: Changed arguments of MethodAccessException
to IntPtr, to avoid having to embed reference object values in the
native code.
svn path=/trunk/mcs/; revision=84456
Jb Evain [Mon, 20 Aug 2007 12:47:11 +0000 (12:47 -0000)]
2007-08-20 Jb Evain <jbevain@novell.com>
* AssemblyInfo.cs: agclr doesn't need to
be friend anymore.
svn path=/trunk/mcs/; revision=84455
Mark Probst [Mon, 20 Aug 2007 12:10:31 +0000 (12:10 -0000)]
2007-08-20 Mark Probst <mark.probst@gmail.com>
* SecurityManager.cs: Added two methods needed for CoreCLR
security.
svn path=/trunk/mcs/; revision=84452
Jb Evain [Mon, 20 Aug 2007 12:06:37 +0000 (12:06 -0000)]
2007-08-20 Jb Evain <jbevain@novell.com>
* AssemblyInfo.cs: System.Silverlight doesn't need to
be friend anymore.
svn path=/trunk/mcs/; revision=84451
Jb Evain [Mon, 20 Aug 2007 11:42:45 +0000 (11:42 -0000)]
2007-08-20 Jb Evain <jbevain@novell.com>
* scripts/smcs.in: use --runtime=moonlight instead of
forcing MONO_PATH.
svn path=/trunk/mono/; revision=84448
Marek Safar [Mon, 20 Aug 2007 11:38:25 +0000 (11:38 -0000)]
More tests.
svn path=/trunk/mcs/; revision=84447
Marek Safar [Mon, 20 Aug 2007 11:38:08 +0000 (11:38 -0000)]
2007-08-20 Marek Safar <marek.safar@gmail.com>
* linq.cs: Switch to lambda expressions.
svn path=/trunk/mcs/; revision=84446
Marek Safar [Mon, 20 Aug 2007 11:34:43 +0000 (11:34 -0000)]
2007-08-20 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: An anonymous type can be empty.
svn path=/trunk/mcs/; revision=84445
Rolf Bjarne Kvinge [Mon, 20 Aug 2007 11:30:12 +0000 (11:30 -0000)]
* System.Windows.Forms/XplatUIX11.cs: Treat toolwindows as if they had
no window manager, since it's XplatUIX11 that attaches them.
svn path=/trunk/mcs/; revision=84444
Marek Safar [Mon, 20 Aug 2007 11:27:39 +0000 (11:27 -0000)]
New test.
svn path=/trunk/mcs/; revision=84443
Marek Safar [Mon, 20 Aug 2007 11:27:12 +0000 (11:27 -0000)]
2007-08-20 Marek Safar <marek.safar@gmail.com>
* anonymous.cs (AnonymousTypeClass): An anonymous type can be empty.
* decl.cs (MemberName): Ignore generic type with no generic arguments.
* expression.cs (AnonymousTypeDeclaration): An anonymous type can be
empty. Add cloning suport.
* roottypes.cs (GetAnonymousType): Fixed argument comparison logic.
svn path=/trunk/mcs/; revision=84442
Marek Habersack [Mon, 20 Aug 2007 10:38:56 +0000 (10:38 -0000)]
2007-08-20 Marek Habersack <mhabersack@novell.com>
* MasterPage.cs: use the place holder IDs collection instead of
the placholder collection to see if we have the place holder in
the master page. Fixes bug #82485.
* MasterPageParser.cs: store the content place holder ids in the
internal cache to gain access to them when needed.
2007-08-20 Marek Habersack <mhabersack@novell.com>
* ContentPlaceHolderBuilder.cs: store place holder id in the
parser's internal place holder id list for later reference. Fixes
bug #82485.
svn path=/trunk/mcs/; revision=84441
Paolo Molaro [Mon, 20 Aug 2007 10:18:46 +0000 (10:18 -0000)]
Mon Aug 20 12:41:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
* Process.cs: implemented icall for system/user times.
svn path=/trunk/mcs/; revision=84440
Paolo Molaro [Mon, 20 Aug 2007 10:16:20 +0000 (10:16 -0000)]
Mon Aug 20 12:38:42 CEST 2007 Paolo Molaro <lupus@ximian.com>
* icall-def.h, process.c, process.h: implemented icall to get
user/system processor times.
svn path=/trunk/mono/; revision=84438