Stephane Delcroix [Tue, 18 Dec 2007 19:53:41 +0000 (19:53 -0000)]
2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffsetTest.cs: forcing the tests to fix the build. en-us
locale was expected, but invariantculture is the default on the buildbot
svn path=/trunk/mcs/; revision=91576
Ivan Zlatev [Tue, 18 Dec 2007 19:53:39 +0000 (19:53 -0000)]
2007-12-18 Ivan N. Zlatev <contact@i-nz.net>
* ControlCodeDomSerializer.cs: Add. Handles Resume/Suspend
layout serialization.
* ControlCollectionCodeDomSerializer.cs: Add.
* DesignerSerializationManager.cs: DesignerSerializerAttribute
should have higher precedence than the serializer providers.
svn path=/trunk/mcs/; revision=91575
Miguel de Icaza [Tue, 18 Dec 2007 18:11:19 +0000 (18:11 -0000)]
2007-12-18 Miguel de Icaza <miguel@novell.com>
* HttpCookieCollection.cs (Get): implement using the indexer to
share some code. Should fix #349564.
svn path=/trunk/mcs/; revision=91570
Jb Evain [Tue, 18 Dec 2007 15:32:54 +0000 (15:32 -0000)]
2007-12-18 Jb Evain <jbevain@novell.com>
* Enumerable.cs: refactor some more Max.
svn path=/trunk/mcs/; revision=91564
Rodrigo Kumpera [Tue, 18 Dec 2007 15:07:15 +0000 (15:07 -0000)]
2007-12-18 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (is_correct_leave): check for filter clauses.
* verify.c (do_filter): added.
* verify.c (mono_method_verify): property verification of leave.
svn path=/trunk/mono/; revision=91560
Rodrigo Kumpera [Tue, 18 Dec 2007 15:04:45 +0000 (15:04 -0000)]
2007-12-18 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for filter
* make_filter_test.sh: new test generator
svn path=/trunk/mono/; revision=91559
Stephane Delcroix [Tue, 18 Dec 2007 14:14:09 +0000 (14:14 -0000)]
2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
large chunks of System.DateTime code.
svn path=/trunk/mcs/; revision=91546
Stephane Delcroix [Tue, 18 Dec 2007 14:13:41 +0000 (14:13 -0000)]
2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffsetTest.cs: tests for ToString methods.
svn path=/trunk/mcs/; revision=91544
Mark Probst [Tue, 18 Dec 2007 13:24:49 +0000 (13:24 -0000)]
2007-12-18 Mark Probst <mark.probst@gmail.com>
* threads.c: Disable calls to _wapi_thread_signal_self() to fix
Win32 build, until we figure out how to do the proper thing on
Win32.
svn path=/trunk/mono/; revision=91537
Vladimir Krasnov [Tue, 18 Dec 2007 09:47:52 +0000 (09:47 -0000)]
* ListBoxTest.cs: added tests for ListControl's viewstate
svn path=/trunk/mcs/; revision=91519
Vladimir Krasnov [Tue, 18 Dec 2007 09:46:00 +0000 (09:46 -0000)]
* ListControl.cs: fixed Load/SaveViewState, removed selected indices storing
* ListItem.cs: fixed Load/SaveViewState, added selected state storing
* ListItemCollection.cs: fixed Load/SaveViewState, added flag to not rebuild the collection if wasnt changed
svn path=/trunk/mcs/; revision=91518
Stephane Delcroix [Tue, 18 Dec 2007 08:39:06 +0000 (08:39 -0000)]
2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
* IsolatedStorageFileEnumerator.cs: Ifdef'ing out too. Fixes the build.
svn path=/trunk/mcs/; revision=91512
Miguel de Icaza [Tue, 18 Dec 2007 05:59:49 +0000 (05:59 -0000)]
2007-12-18 Miguel de Icaza <miguel@novell.com>
* Ifdef out the large bodies of code that will just not work with
Silverlight, ran into this problem again trying to run
http://fluxtools.net/emailphotos
Its not worth trying to alter this implementation of
IsolatedStorage to work in both the regular and the Moonlight
profiles, instead am going to write a simple implementation while
we wait for the real 2.0 API to come out.
svn path=/trunk/mcs/; revision=91511
Jonathan Pryor [Mon, 17 Dec 2007 22:54:24 +0000 (22:54 -0000)]
* UnixEnvironment.cs: Update MachineName property accesor to use uname(2)
instead of gethostname(2), as gethostname(2) truncates the machine name to
16 characters, while uname(2) doesn't.
svn path=/trunk/mcs/; revision=91501
Jonathan Pryor [Mon, 17 Dec 2007 22:49:20 +0000 (22:49 -0000)]
* map.h: Flush; add Mono_Posix_Syscall__Utsname, Mono_Posix_Syscall_uname()
declarations.
* Makefile.am: Add sys-utsname.c to the build.
* sys-utsname.c: Added; binding for uname(2).
* mph.h: Change definition of _mph_copy_structure_strings() so that the
offset array specifies whether the string is a pointer (char*) or inline
array (char[]) within the structure. Necessary because most bound
structure string members are pointers, but `struct utsname' uses arrays.
* fstab.c, pwd.c: Update offset array generation due to above.
* x-struct-str.c: Update _mph_copy_structure_strings() as above.
svn path=/trunk/mono/; revision=91500
Jonathan Pryor [Mon, 17 Dec 2007 20:49:02 +0000 (20:49 -0000)]
* Syscall.cs: Bind uname(2).
svn path=/trunk/mcs/; revision=91491
Zoltan Varga [Mon, 17 Dec 2007 20:42:22 +0000 (20:42 -0000)]
2007-12-17 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (ves_icall_System_AppDomain_LoadAssembly): Fix a crash introduced
by the previous patch.
svn path=/trunk/mono/; revision=91490
Jonathan Pobst [Mon, 17 Dec 2007 19:20:12 +0000 (19:20 -0000)]
2007-12-17 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutPanel.cs: Remove some unused variables.
svn path=/trunk/mcs/; revision=91486
Atsushi Eno [Mon, 17 Dec 2007 19:11:46 +0000 (19:11 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngPattern.cs : (RelaxngInclude) when it is constructed from
the compact syntax, resolve included file as compact syntax too.
* RelaxngGrammar.cs : to make above possible, add a new
IsSourceCompactSyntax field that is to be set in RncParser.
* RncParser.jay : if the parsed pattern is grammar, set
IsSourceCompactSyntax so that "include" pattern is resolved to
parse compact syntax, not xml syntax.
svn path=/trunk/mcs/; revision=91484
Noam Lampert [Mon, 17 Dec 2007 19:07:30 +0000 (19:07 -0000)]
Revert commit 91482. Breaks compiler csc.exe of FW 2.0 without SP1
svn path=/trunk/mcs/; revision=91483
Noam Lampert [Mon, 17 Dec 2007 18:46:54 +0000 (18:46 -0000)]
Fix compilation errors discovered with csc.exe of FW 2.0 SP1
svn path=/trunk/mcs/; revision=91482
Zoltan Varga [Mon, 17 Dec 2007 17:48:27 +0000 (17:48 -0000)]
2007-12-17 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (ves_icall_System_AppDomain_LoadAssembly): Avoid calling
the assembly resolve handler for refonly assemblies.
svn path=/trunk/mono/; revision=91469
Jonathan Pobst [Mon, 17 Dec 2007 17:34:34 +0000 (17:34 -0000)]
2007-12-17 Jonathan Pobst <monkey@jpobst.com>
* DateTimePicker.cs: Commit patch from Luke Page that ensures
we don't end up at an invalid date when we click the up/down
spinner to change the month or year. Fixes bug #348682.
svn path=/trunk/mcs/; revision=91467
Jonathan Pobst [Mon, 17 Dec 2007 17:20:47 +0000 (17:20 -0000)]
2007-12-17 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Calling Exit in 2.0 should chain to the
Exit (CancelEventArgs) version so it can be cancelled.
* Form.cs: Create a flag to allow raising the Closing
events to be skipped. We raise them once in Application.Exit
and don't want to raise them again when the Form is actually
closed. [Fixes bug #349073]
svn path=/trunk/mcs/; revision=91465
Marek Habersack [Mon, 17 Dec 2007 16:50:49 +0000 (16:50 -0000)]
2007-12-17 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: support the 'Src' directive attribute on 2.0
profile as well as on the 1.1 one. Fixes bug #319016
svn path=/trunk/mcs/; revision=91462
Noam Lampert [Mon, 17 Dec 2007 15:55:39 +0000 (15:55 -0000)]
Enable java build
svn path=/trunk/mcs/; revision=91458
Noam Lampert [Mon, 17 Dec 2007 15:47:18 +0000 (15:47 -0000)]
Allow build in java
svn path=/trunk/mcs/; revision=91456
Jonathan Pryor [Mon, 17 Dec 2007 15:31:31 +0000 (15:31 -0000)]
* UnixDirectoryInfo.cs: Fix Parent property so that it properly handles
returning the parent of "/". UnixPath.GetDirectoryName() returns "" on
"error", not null; act accordingly.
* UnixDriveInfo.cs: Fix IsReady property so that it returns `false' if no
media is mounted. The presence of media is determined by comparing the
Statvfs.f_fsid value of the current and parent directories; if they
differ, it is assumed that media is present, and thus the directory is
ready. If they're identical, then media isn't present, and the directory
isn't ready.
* UnixPath.cs: UnixPath.GetDirectoryName("/mnt") should return "/", not "".
svn path=/trunk/mcs/; revision=91452
Mark Probst [Mon, 17 Dec 2007 14:50:40 +0000 (14:50 -0000)]
2007-12-17 Mark Probst <mark.probst@gmail.com>
* threads.c, thread-types.h, icall.c: New shutdown safeguards.
Make sure only one thread is allowed to commence shutdown, and
don't allow new threads to be started once shutdown is in
progress.
2007-12-17 Mark Probst <mark.probst@gmail.com>
* threads.c: Guard against a race condition involving
thread_hash_key that can occur during shutdown.
2007-12-17 Mark Probst <mark.probst@gmail.com>
* thread-exit.cs, Makefile.am: Test case for #347676.
svn path=/trunk/mono/; revision=91443
Arina Itkes [Mon, 17 Dec 2007 14:33:46 +0000 (14:33 -0000)]
Stubs for missed public APIs.
svn path=/trunk/mcs/; revision=91441
Gert Driesen [Mon, 17 Dec 2007 14:08:21 +0000 (14:08 -0000)]
* certmgr.cs: Fixed reflection magic to look for ServerCertificates in
SslStreamBase. This avoids breakage once patch for bug #349078 is
applied. Added support for removing CRL's from store.
svn path=/trunk/mcs/; revision=91440
Atsushi Eno [Mon, 17 Dec 2007 10:39:16 +0000 (10:39 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : added NET_3_5 members.
svn path=/trunk/mcs/; revision=91429
Jb Evain [Mon, 17 Dec 2007 09:43:05 +0000 (09:43 -0000)]
2007-12-17 Jb Evain <jbevain@novell.com>
* Makefile: build Mono.Cecil only in the default profile.
svn path=/trunk/mcs/; revision=91414
Jb Evain [Mon, 17 Dec 2007 09:41:37 +0000 (09:41 -0000)]
2007-12-17 Jb Evain <jbevain@novell.com>
* Mono.Cecil/IMemberDefinition.cs: make IMemberDefinition
implement ICustomAttributeProvider.
svn path=/trunk/mcs/; revision=91412
Atsushi Eno [Mon, 17 Dec 2007 08:51:58 +0000 (08:51 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : oops, extra removal that causes perf. loss.
svn path=/trunk/mcs/; revision=91406
Atsushi Eno [Mon, 17 Dec 2007 08:25:12 +0000 (08:25 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : be more strict to detect the end of
PredicateIterator. Fixed bug #349111.
* XslTransformTests.cs : added test for bug #349111.
svn path=/trunk/mcs/; revision=91405
Arina Itkes [Mon, 17 Dec 2007 08:03:34 +0000 (08:03 -0000)]
Visual Studio project file for the library.
svn path=/trunk/mcs/; revision=91404
Atsushi Eno [Mon, 17 Dec 2007 07:46:50 +0000 (07:46 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* GDIPlusTest.cs : fix test build.
svn path=/trunk/mcs/; revision=91403
Atsushi Eno [Mon, 17 Dec 2007 07:28:33 +0000 (07:28 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* Expression.cs : In any comparison expr, treat RTF as equivalent to
string type (as specified in XSLT 1.0 section 11.1: "An operation
is permitted on a result tree fragment only if that operation would
be permitted on a string." ...). Fixed bug #349035.
* XslTransformTests.cs : added test for bug #349035.
svn path=/trunk/mcs/; revision=91402
Atsushi Eno [Mon, 17 Dec 2007 06:31:49 +0000 (06:31 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* XslValueOf.cs : allow external elements in xsl:value-of.
Fixed bug #348786.
* XslTransformTests.cs : added test for bug #348786.
svn path=/trunk/mcs/; revision=91401
Jonathan Pobst [Sun, 16 Dec 2007 23:56:32 +0000 (23:56 -0000)]
2007-12-16 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDown.cs: Guard against an NRE when there
hasn't been a mainform set in the application context.
[Fixes bug #349108]
svn path=/trunk/mcs/; revision=91398
Miguel de Icaza [Sun, 16 Dec 2007 19:04:34 +0000 (19:04 -0000)]
2007-12-16 Miguel de Icaza <miguel@novell.com>
* Image.cs: Use the existing GdipPropertyItem.MarshalTo method to
conver the PropertyItem into a property item with Sequential
attached to it, and pass that to unmanaged code. Fixes #349103.
svn path=/trunk/mcs/; revision=91391
R. Tyler Ballance [Sun, 16 Dec 2007 16:05:18 +0000 (16:05 -0000)]
MonoTODO is cAsE SenSItIve stephane! :)
svn path=/trunk/mcs/; revision=91386
Stephane Delcroix [Sun, 16 Dec 2007 14:26:04 +0000 (14:26 -0000)]
tests & bugfixes
svn path=/trunk/mcs/; revision=91383
Stephane Delcroix [Sun, 16 Dec 2007 14:00:00 +0000 (14:00 -0000)]
2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffset.cs: almost complete implementation, still missing the
Parse* and ToString methods.
2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffsetTest.cs: first batch of tests.
svn path=/trunk/mcs/; revision=91382
Igor Zelmanovich [Sun, 16 Dec 2007 08:38:16 +0000 (08:38 -0000)]
2007-12-16 Igor Zelmanovich <igorz@mainsoft.com>
* HttpContext.cs: added IsProcessingInclude property.
* HttpServerUtility.cs: set IsProcessingInclude value within Execute.
2007-12-16 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: on CrossPagePostBack previous page is processed by Execute API,
that allow CurrentHandler property works correctly during Page processing.
svn path=/trunk/mcs/; revision=91373
Miguel de Icaza [Sun, 16 Dec 2007 06:17:17 +0000 (06:17 -0000)]
Fix indent
svn path=/trunk/mcs/; revision=91372
Miguel de Icaza [Sun, 16 Dec 2007 05:38:06 +0000 (05:38 -0000)]
2007-12-16 Miguel de Icaza <miguel@novell.com>
* WebClient.cs: Got the arguments in the wrong order, fix
svn path=/trunk/mcs/; revision=91371
Carlos Alberto Cortez [Sun, 16 Dec 2007 01:04:53 +0000 (01:04 -0000)]
2007-12-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItemTest.cs: Added new Constructor_Group test, that I
forgot to add after fixing a 2.0 bug.
svn path=/trunk/mcs/; revision=91370
Carlos Alberto Cortez [Sat, 15 Dec 2007 23:58:58 +0000 (23:58 -0000)]
2007-12-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: When SetBoundsCore gets called, besides
calling UpdateScrollBars, update the value of
last_visible_index, since we could need to show more items
than before, and we need to let the paint routines know that.
Fixes #344445.
svn path=/trunk/mcs/; revision=91369
Jb Evain [Sat, 15 Dec 2007 22:43:17 +0000 (22:43 -0000)]
2007-12-15 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Binary/AggressiveReflectionReader.cs: protect
against zeroed tokens.
svn path=/trunk/mcs/; revision=91366
Jb Evain [Sat, 15 Dec 2007 20:19:22 +0000 (20:19 -0000)]
alright alright
svn path=/trunk/mcs/; revision=91363
Jb Evain [Sat, 15 Dec 2007 20:01:25 +0000 (20:01 -0000)]
2007-12-15 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Binary/ImageReader.cs: fix crash when reading
some non .net binaries.
svn path=/trunk/mcs/; revision=91361
Jb Evain [Sat, 15 Dec 2007 19:57:41 +0000 (19:57 -0000)]
cleol
svn path=/trunk/mcs/; revision=91360
Zoltan Varga [Sat, 15 Dec 2007 19:02:09 +0000 (19:02 -0000)]
2007-12-15 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Fix a warning.
svn path=/trunk/mono/; revision=91357
Sebastien Pouliot [Sat, 15 Dec 2007 17:26:54 +0000 (17:26 -0000)]
2007-12-15 Sebastien Pouliot <sebastien@ximian.com>
* TlsServerCertificate.cs: Add support for wilcard (*) when matching
the target host with the certificate. Fix bug #346812
svn path=/trunk/mcs/; revision=91354
Miguel de Icaza [Sat, 15 Dec 2007 05:08:06 +0000 (05:08 -0000)]
2007-12-15 Miguel de Icaza <miguel@novell.com>
* generic.cs (NullCoalescingOperator.CloneTo): implement this one,
as this is also created from the parser. Fixes #349034
svn path=/trunk/mcs/; revision=91348
Marek Habersack [Sat, 15 Dec 2007 03:43:39 +0000 (03:43 -0000)]
2007-12-15 Marek Habersack <mhabersack@novell.com>
* web.config: compilation/compilers are no longer necessary.
svn path=/trunk/mono/; revision=91344
Marek Habersack [Sat, 15 Dec 2007 03:42:00 +0000 (03:42 -0000)]
2007-12-15 Marek Habersack <mhabersack@novell.com>
* SimpleWebHandlerParser.cs: Default value for Debug is taken from
the compilation config section.
* TemplateParser.cs: Added LoadConfigDefaults here, loads default
value for Debug from the compilation section.
Cache CompilationConfig in methods where it is accessed more than
once.
Default value for Debug in ProcessMainAttributes is taken from the
compilation config.
* PageParser.cs, TemplateControlParser.cs: LoadPagesConfigDefaults
renamed to LoadConfigDefaults.
2007-12-15 Marek Habersack <mhabersack@novell.com>
* AppCodeCompiler.cs: do not instantiate CodeDomProvider twice.
* BaseCompiler.cs: do not use CreateCompiler () in the 2.0
profile, it's obsoleted. CachingCompiler will use the
CodeDomProvider methods directly in that case.
* WebServiceCompiler.cs: Updated GetCompiledType to acquire
compiler information for the 2.0 profile from system.codeDom.
* CachingCompiler.cs: the Compile overloads do not use the
compiler instance, but call appropriate methods on the
CodeDomProvider instance directly.
Updated some Compile overloads to acquire compiler information for
the 2.0 profile from system.codeDom.
svn path=/trunk/mcs/; revision=91343
Marek Habersack [Sat, 15 Dec 2007 02:09:13 +0000 (02:09 -0000)]
fix the build
svn path=/trunk/mcs/; revision=91339
Marek Habersack [Sat, 15 Dec 2007 01:46:04 +0000 (01:46 -0000)]
2007-12-15 Marek Habersack <mhabersack@novell.com>
* System.dll.sources: added
System.CodeDom.Compiler/CompilerProviderOption.cs and
System.CodeDom.Compiler/CompilerProviderOptionsCollection.cs
2007-12-15 Marek Habersack <mhabersack@novell.com>
* CSharpCodeProvider.cs: added support for the 2.0sp1 constructor
which takes a Dictionary <string, string> parameter with compiler
provider options. If any options are present, the
generator/compiler are created using appropriate constructor
overload.
* CSharpCodeGenerator.cs: added support for the 2.0sp1 constructor
which takes a Dictionary <string, string> parameter with compiler
provider options.
* CSharpCodeCompiler.cs: added support for the 2.0sp1 constructor
which takes a Dictionary <string, string> parameter with compiler
provider options. The "CompilerVersion" option is supported, with
possible values "2.0" (currently maps to -langversion:Default) and
"3.5" (currently maps to -langversion:linq).
2007-12-15 Marek Habersack <mhabersack@novell.com>
* Compiler.cs: added support for the default collection of
<providerOption> child elements and corresponding public
properties (ProviderOptions and ProviderOptionsDictionary).
* CompilerInfo.cs: added ProviderOptions dictionary, to hold
values from the <providerOption> collection of the
system.codeDom/compilers/compiler/ element.
CodeDomProviderType throws an exception if the provider type
cannot be found, as per MSDN.
CreateProvider uses the new provider constructor which takes
provider options dictionary as its parameter, if found in the
provider type.
* CompilerCollection.cs: compiler defaults are initialized using
the provider options dictionary, with one option present -
"CompilerVersion" set to "2.0".
Two dictionaries to map languages and extensions to compiler
information objects added.
* CompilerProviderOption.cs: added - implements the
<providerOption> element.
* CompilerProviderOptionsCollection.cs: added - implements
collection for the 2.0sp1 <providerOption> child element of the
system.codeDom/compilers/compiler element.
svn path=/trunk/mcs/; revision=91337
Sebastien Pouliot [Fri, 14 Dec 2007 21:41:40 +0000 (21:41 -0000)]
2007-12-14 Sebastien Pouliot <sebastien@ximian.com>
* AuthorityKeyIdentifierExtension.cs: Don't throw on what we don't
yet support (e.g. authorityCertIssuer/authorityCertSerialNumber).
It's possible that a chain of certificate can be build without this
information. Fix #346821
svn path=/trunk/mcs/; revision=91330
Carlos Alberto Cortez [Fri, 14 Dec 2007 19:13:53 +0000 (19:13 -0000)]
* ListView.cs: Add DesignerSerializationVisibility attribute to
InsertionMark property.
* ListViewItem.cs: Add same attribute to Position property.
2007-12-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=91311
Carlos Alberto Cortez [Fri, 14 Dec 2007 18:09:06 +0000 (18:09 -0000)]
2007-12-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItemTest.cs: Contructor_Serializable test only applies for
the 2.0 profile.
svn path=/trunk/mcs/; revision=91306
Carlos Alberto Cortez [Fri, 14 Dec 2007 18:07:51 +0000 (18:07 -0000)]
2007-12-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
is 2.0 only.
svn path=/trunk/mcs/; revision=91305
Jonathan Pobst [Fri, 14 Dec 2007 16:15:49 +0000 (16:15 -0000)]
2007-12-14 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Don't draw the background on a
flat button if there is a background image.
[Fixes bug #348649]
svn path=/trunk/mcs/; revision=91296
Rodrigo Kumpera [Fri, 14 Dec 2007 15:24:32 +0000 (15:24 -0000)]
2007-12-14 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (is_correct_endfilter): added.
* verify.c (is_unverifiable_endfilter): added.
* verify.c (do_endfilter): added.
* verify.c (mono_method_verify): property verification of endfilter
and fixed a corner case or endfinally.
svn path=/trunk/mono/; revision=91292
Rodrigo Kumpera [Fri, 14 Dec 2007 15:21:53 +0000 (15:21 -0000)]
2007-12-14 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for endfilter
* make_endfilter_test.sh: new test generator
svn path=/trunk/mono/; revision=91291
Zoltan Varga [Fri, 14 Dec 2007 14:58:48 +0000 (14:58 -0000)]
2007-12-14 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Add OP_SWITCH.
* mini.c graph.c ssa.c aliasing.c mini-<ARCH>.c inssel-<ARCH>.brg: Avoid using
CEE_SWITCH in back-end code, use OP_SWITCH instead.
svn path=/trunk/mono/; revision=91289
Rodrigo Kumpera [Fri, 14 Dec 2007 14:36:00 +0000 (14:36 -0000)]
2007-12-14 Rodrigo Kumpera <rkumpera@novell.com>
* Makefile: add support to check strict tests.
* AssemblyRunner.cs: start using peverify as part of the
process. Support for strict tests.
svn path=/trunk/mono/; revision=91287
Rolf Bjarne Kvinge [Fri, 14 Dec 2007 13:54:23 +0000 (13:54 -0000)]
2007-12-14 Rolf Bjarne Kvinge <RKvinge@novell.com>
* VBCodeProvider.cs: Implement constructor added in 2.0SP1.
svn path=/trunk/mcs/; revision=91285
Juraj Skripsky [Fri, 14 Dec 2007 13:47:00 +0000 (13:47 -0000)]
2007-12-14 Juraj Skripsky <js@hotfeet.ch>
* TemplateControlCompiler.cs (AddExpressionAssign):
Make sure expression does not contain prefix.
* AppSettingsExpressionBuilder.cs: Pass type of property to
GetAppSetting, not type of declaring type.
svn path=/trunk/mcs/; revision=91283
Atsushi Eno [Fri, 14 Dec 2007 06:29:47 +0000 (06:29 -0000)]
2007-12-14 Atsushi Enomoto <atsushi@ximian.com>
* RdpPattern.cs : For ContainsText() (for interleave text/text
constraint check), element pattern should return false.
Fixed bug #347945.
* RelaxngReaderTests.cs : added test for bug #347945.
svn path=/trunk/mcs/; revision=91269
Carlos Alberto Cortez [Fri, 14 Dec 2007 00:51:12 +0000 (00:51 -0000)]
2007-12-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBoxTest.cs: Added test for the case when the selected item
is removed.
svn path=/trunk/mcs/; revision=91264
Carlos Alberto Cortez [Fri, 14 Dec 2007 00:50:10 +0000 (00:50 -0000)]
2007-12-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: If we remove the item currently selected,
remove it not only from SelectedItems, but also
resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
the items count decreased and focused_item has bigger value than that.
svn path=/trunk/mcs/; revision=91263
Rodrigo Kumpera [Thu, 13 Dec 2007 21:26:33 +0000 (21:26 -0000)]
2007-12-13 Rodrigo Kumpera <rkumpera@novell.com>
* verify.h: new flags to support fail fast of unverifiable code and
do non-strict verification. Non-strict verification is required to
have MS runtime compatibility. There are a huge amount of unverifiable
code that it accepts as verifiable. The strict mode verifies the code
as the specs says.
Non-strict mode will be required in cases where code needs to be
accepted as verifiable but fails under strict mode.
* pedump.c: added support to fail fast and non-strict verification.
* verify.c: added support for both fail fast and non-strict verification.
svn path=/trunk/mono/; revision=91253
Jonathan Pobst [Thu, 13 Dec 2007 20:04:14 +0000 (20:04 -0000)]
2007-12-13 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Perform our layout after we resize ourselves
if we had to adjust our AutoSize. Missed commit for bug
#346246.
svn path=/trunk/mcs/; revision=91251
Jonathan Pobst [Thu, 13 Dec 2007 17:36:25 +0000 (17:36 -0000)]
2007-12-13 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutPanel.cs: Override GetPreferredSizeCore so
we can provide an implementation of AutoSize.
[Fixes bug #346246]
2007-12-13 Jonathan Pobst <monkey@jpobst.com>
* TableLayout.cs: Use ExplicitBounds so that we get the user requested
size, not the AutoSize/Dock size. Make CalculateControlPositions
internal so that TableLayoutPanel can call it.
[Fixes bug #346246]
2007-12-13 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutTest.cs: Add tests for bug #346246.
svn path=/trunk/mcs/; revision=91245
Marek Habersack [Thu, 13 Dec 2007 15:38:53 +0000 (15:38 -0000)]
2007-12-13 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs, AspComponentFoundry.cs,
AssemblyBuilder.cs, AppResourcesCompiler.cs,
AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* MailAddress.cs, SmtpClient.cs, MailMessageWrapper.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
speed optimization - use String.Concat instead of String.Format in
some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* FileMatchingInfo.cs. MachineKeyRegistryStorage.cs: speed
optimization - use String.Concat instead of String.Format in some
cases.
svn path=/trunk/mcs/; revision=91234
Marek Habersack [Thu, 13 Dec 2007 13:50:10 +0000 (13:50 -0000)]
2007-12-13 Marek Habersack <mhabersack@novell.com>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
Page.cs: speed optimization - use String.Concat instead of
String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* Menu.cs, TreeView.cs: optimize use of String.Format in
OnPreRender.
Speed optimization - use String.Concat instead of String.Format in
some cases.
* GridView.cs, DetailsView.cs: optimize use of String.Format in
OnPreRender.
* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
optimization - use String.Concat instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* AssemblyResourceLoader.cs: speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* SessionId.cs:
speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
use String.Concat instead of String.Format in some cases.
2007-12-13 Marek Habersack <mhabersack@novell.com>
* ApplicationManager.cs, ApplicationHost.cs,
DefaultVirtualPathProvider.cs: speed optimization - use
String.Concat instead of String.Format in some cases.
svn path=/trunk/mcs/; revision=91230
Vladimir Krasnov [Thu, 13 Dec 2007 12:02:27 +0000 (12:02 -0000)]
* ImageCodec.jvm.cs: fixed bitmap resolution
svn path=/trunk/mcs/; revision=91222
Noam Lampert [Thu, 13 Dec 2007 12:01:56 +0000 (12:01 -0000)]
Build java configuration using RT of JRE 1.4.2 for support of older java systems
svn path=/trunk/mcs/; revision=91221
Igor Zelmanovich [Thu, 13 Dec 2007 09:08:54 +0000 (09:08 -0000)]
2007-12-13 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs:
* HttpContext.cs:
* HttpRequest.cs:
* HttpServerUtility.cs:
- When Transfer/Execute is called with preserveForm=true, transferred
page is not processed as PostBack but form collection is preserved.
- When Execute is called more than once, PreviousPage property is set
correct.
2007-12-13 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
- When Transfer/Execute is called with preserveForm=true, transferred
page is not processed as PostBack but form collection is preserved.
- When Execute is called more than once, PreviousPage property is set
correct.
svn path=/trunk/mcs/; revision=91202
Vladimir Krasnov [Thu, 13 Dec 2007 08:43:09 +0000 (08:43 -0000)]
* Menu.cs: fixed rendering without head tag on page
svn path=/trunk/mcs/; revision=91201
Geoff Norton [Thu, 13 Dec 2007 01:49:56 +0000 (01:49 -0000)]
i007-12-11 Geoff Norton <gnorton@novell.com>
* mini-s390x.c: Minor change to the MAX() define to allow
it to compile with other gcc versions.
svn path=/trunk/mono/; revision=91193
Carlos Alberto Cortez [Thu, 13 Dec 2007 01:02:09 +0000 (01:02 -0000)]
2007-12-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: Add the internal overload Sort (bool paint),
to indicate whether we actually need a paint or we will
call Refresh ourselves. This way we don't request a paint
_before_ having an updated and valid layout.
Fixes #347233.
svn path=/trunk/mcs/; revision=91191
Andreia Gaita [Wed, 12 Dec 2007 22:33:34 +0000 (22:33 -0000)]
* XPlatUIX11.cs: Send paint messages when updating a systray icon
* NotifyIcon.cs: Invalidate the window before doing a systray change so it is
properly invalidated.
Fixes #324237
2007-12-12 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=91183
Rodrigo Kumpera [Wed, 12 Dec 2007 19:38:37 +0000 (19:38 -0000)]
2007-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (is_correct_endfinally): added.
* verify.c (mono_method_verify): property verification of endfinally.
svn path=/trunk/mono/; revision=91176
Carlos Alberto Cortez [Wed, 12 Dec 2007 19:37:04 +0000 (19:37 -0000)]
2007-12-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: When using a .ctor taking a ListViewGroup,
don't simply assign it to our internal group field, but instead
use our Group property, which should do all the neccessary work
required to support groups. Fixes an issue reported to me (mail) by a
guy using this new feature.
svn path=/trunk/mcs/; revision=91175
Jonathan Pobst [Wed, 12 Dec 2007 19:32:32 +0000 (19:32 -0000)]
2007-12-11 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Use Scale instead of ScaleControl to ensure the
whole hierarchy gets scaled.
[Fixes bug #347282]
2007-12-11 Jonathan Pobst <monkey@jpobst.com>
* ControlTest.cs: Add a test for bug #347282.
svn path=/trunk/mcs/; revision=91174
Rodrigo Kumpera [Wed, 12 Dec 2007 19:26:40 +0000 (19:26 -0000)]
2007-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_filter_ends_at_endfilter_1.il: tests if the
filter block is limited by the start of the associated
handler clause or it is limited by the ocurrence of
endfilter. These 3 tests show that even if the endfilter
instruction must be the last, it doesn't define the end
of the filter block.
* invalid_filter_ends_at_endfilter_2.il: same
* invalid_filter_ends_at_endfilter_3.il: same
* make_test.sh: added tests for endfinally / endfault
* make_endfinally_test.sh: new test generator
svn path=/trunk/mono/; revision=91173
Jb Evain [Wed, 12 Dec 2007 18:20:54 +0000 (18:20 -0000)]
add test
svn path=/trunk/mcs/; revision=91166
Rodrigo Kumpera [Wed, 12 Dec 2007 18:20:04 +0000 (18:20 -0000)]
* verify.c (in_any_block): check for filter clauses.
* verify.c (is_correct_rethrow): added.
* verify.c (mono_method_verify): property verification of rethrow.
* metadata.h: added MONO_OFFSET_IN_FILTER macro.
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=91165
Jb Evain [Wed, 12 Dec 2007 18:17:55 +0000 (18:17 -0000)]
add test
svn path=/trunk/mcs/; revision=91164
Marek Habersack [Wed, 12 Dec 2007 17:05:14 +0000 (17:05 -0000)]
2007-12-12 Marek Habersack <mhabersack@novell.com>
* SettingsMappingManager.cs: use the 'settings.map.config' name
for the application-specific mapper configuration. This ensures
that the file won't be downloadable on systems which don't support
the mapping feature without the need to add the extra handler
entry to the app's Web.config file. Thanks to Joe Audette for the
idea.
svn path=/trunk/mcs/; revision=91160
Jb Evain [Wed, 12 Dec 2007 15:15:27 +0000 (15:15 -0000)]
remove non sensical code
svn path=/trunk/mcs/; revision=91155
Marek Habersack [Wed, 12 Dec 2007 13:15:12 +0000 (13:15 -0000)]
2007-12-12 Marek Habersack <mhabersack@novell.com>
* WebClient.cs: DownloadProgressChanged is available only in the
2.0+ profiles
svn path=/trunk/mcs/; revision=91152
Vladimir Krasnov [Wed, 12 Dec 2007 12:01:35 +0000 (12:01 -0000)]
* ProfileParser.jvm.cs: Profile types loading optimized
svn path=/trunk/mcs/; revision=91148
Jb Evain [Wed, 12 Dec 2007 10:32:35 +0000 (10:32 -0000)]
extract checks
svn path=/trunk/mcs/; revision=91146
Jb Evain [Wed, 12 Dec 2007 10:29:25 +0000 (10:29 -0000)]
delete
svn path=/trunk/mcs/; revision=91145