Igor Zelmanovich [Sun, 1 Jul 2007 15:11:37 +0000 (15:11 -0000)]
improved partial rendering.
svn path=/trunk/mcs/; revision=81146
Gert Driesen [Sun, 1 Jul 2007 13:39:50 +0000 (13:39 -0000)]
* OleDbCommand.cs: 2.0 API fixes. Build fix.
svn path=/trunk/mcs/; revision=81145
Gert Driesen [Sun, 1 Jul 2007 12:51:16 +0000 (12:51 -0000)]
* OleDbDataReader.cs: Code formatting.
svn path=/trunk/mcs/; revision=81144
Gert Driesen [Sun, 1 Jul 2007 12:48:55 +0000 (12:48 -0000)]
Corresponding changelog entry.
svn path=/trunk/mcs/; revision=81143
Gert Driesen [Sun, 1 Jul 2007 12:48:34 +0000 (12:48 -0000)]
* OleDbCommand.cs: Code formatting.
* OleDbError.cs: Code formatting.
* OleDbErrorCollection.cs: Code formatting.
* OleDbException.cs: Code formatting.
* OleDbInfoMessageEventArgs.cs: Code formatting.
svn path=/trunk/mcs/; revision=81142
Gert Driesen [Sun, 1 Jul 2007 12:36:38 +0000 (12:36 -0000)]
* OleDbParameter.cs: Code formatting.
* OleDbParameterCollection.cs: Code formatting.
svn path=/trunk/mcs/; revision=81141
Noam Lampert [Sun, 1 Jul 2007 12:32:16 +0000 (12:32 -0000)]
Include new file XsltDeubggerWrapper
svn path=/trunk/mcs/; revision=81140
Igor Zelmanovich [Sun, 1 Jul 2007 10:58:58 +0000 (10:58 -0000)]
2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
* GridView.cs:
the Pager is created but unvisible for only one page.
the Patch submitted by Dumitru Ban [dban@dako.ro]
2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
* GridViewTest.cs:
Added new tests
svn path=/trunk/mcs/; revision=81139
Igor Zelmanovich [Sun, 1 Jul 2007 09:28:15 +0000 (09:28 -0000)]
2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
* FormView.cs:
* DetailView.cs:
* GridView.cs:
does not requires data binding if any ITemplate property is set.
2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
* FormViewTest.cs:
* DetailViewTest.cs:
* GridViewTest.cs:
Added new tests
svn path=/trunk/mcs/; revision=81138
Gert Driesen [Sun, 1 Jul 2007 09:03:56 +0000 (09:03 -0000)]
* DataRowCollection.cs: Only override Count on 2.0 profile.
svn path=/trunk/mcs/; revision=81137
Gert Driesen [Sun, 1 Jul 2007 08:54:00 +0000 (08:54 -0000)]
* RelatedDataView.cs: Fixed line endings.
* XmlDataInferenceLoader.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=81136
Gert Driesen [Sun, 1 Jul 2007 08:46:55 +0000 (08:46 -0000)]
Set eol-style.
svn path=/trunk/mcs/; revision=81135
Gert Driesen [Sun, 1 Jul 2007 08:46:06 +0000 (08:46 -0000)]
* ISqlNotificationReceiver.cs: Removed.
* SqlClientFactory.cs: Use SqlDataSourceEnumerator from S.D.Sql and
marked method todo. Avoid unnessary casts. Code formatting.
* SqlCommand.cs: Explicit interface implementation of IDbCommand not
necessary on 2.0 profile. Fixes API mismatches. Avoid unnecessary
casts. Code formatting.
* SqlConnection.cs: Also use RecommendAsConfigurable instead of
SettingBindableAttribute on 2.0. Use StateChange event from base class
on 2.0. Only explicitly implement IDbConnection methods on 1.0, since
these are implemented by base class on 2.0 profile. Removed extra
explicit implementation of IDisposable since the base class implements
this. Code formatting.
* SqlDataAdapter.cs: Dispose (bool) override not necessary on 2.0
profile. Stubbed ICloneable.Clone. Fixes API mismatches.
* SqlDataReader.cs: On 2.0, IDisposable.Dispose is implemented by
DbDataReader. Only 1.0 profile, explicitly implemented IEnumerable
GetEnumerator. Code formatting.
* SqlDataSourceEnumerator.cs: Removed.
* SQLDebugging.cs: Marked sealed on 2.0. Code formatting.
* SqlNotificationAuthType.cs: Removed.
* SqlNotificationInfo.cs: Added missing fields. Code formatting.
* SqlNotificationSource.cs: Added missing fields. Code formatting.
* SqlNotificationTransports.cs: Removed.
* SqlNotificationType.cs: Added missing Unknown field. Code formatting.
* SqlParameter.cs: Removed Browsable and EditorBrowsable attributes
from Precision and Scale. Fixes API mismatches. Code formatting fixes.
* SqlTransaction.cs: On 2.0 profile, Dispose method is exposed by
base class. Fixes API mismatches. Code formatting fixes.
* System.Data.dll.sources: Removed ISqlNotificationReceiver.cs,
SqlDataSourceEnumerator.cs, SqlNotificationAuthType.cs,
SqlNotificationTransports.cs.
svn path=/trunk/mcs/; revision=81134
Miguel de Icaza [Sat, 30 Jun 2007 23:45:34 +0000 (23:45 -0000)]
Surprisingly support for 2.0 Relative was not implemented nor tested.
2007-06-30 Miguel de Icaza <miguel@novell.com>
* Uri.cs (GetLeftPart): If the URI is relative this method throws
InvalidOperationException.
(ToString): do not use GetLeftPart here, instead escape the path.
(Parse): For relative uris, keep the string as the path.
svn path=/trunk/mcs/; revision=81132
Noam Lampert [Sat, 30 Jun 2007 22:35:29 +0000 (22:35 -0000)]
Remove reference to uncomitted code
svn path=/trunk/mcs/; revision=81131
Gert Driesen [Sat, 30 Jun 2007 14:52:39 +0000 (14:52 -0000)]
* DataTableCollection.cs: CopyTo is 2.0 only. Removed extra tabs,
and changed spaces to tabs.
svn path=/trunk/mcs/; revision=81111
Gert Driesen [Sat, 30 Jun 2007 14:48:31 +0000 (14:48 -0000)]
ChangeLog for revision 81109.
svn path=/trunk/mcs/; revision=81110
Gert Driesen [Sat, 30 Jun 2007 14:46:32 +0000 (14:46 -0000)]
* OdbcDataAdapter.cs: Only override Dispose on 1.0 profile. Added
stub for ICloneable.Clone.
* OdbcTransaction.cs: Dispose should be explicit interface impl., not
public. Connection is also public on 2.0 profile.
svn path=/trunk/mcs/; revision=81109
Gert Driesen [Sat, 30 Jun 2007 13:58:00 +0000 (13:58 -0000)]
* DbDataAdapter.cs: Marked ICloneable.Clone obsolete to match MS.
svn path=/trunk/mcs/; revision=81108
Gert Driesen [Sat, 30 Jun 2007 13:51:21 +0000 (13:51 -0000)]
* CodeIdentifier.cs: Default ctor is public on 1.0 profile too.
* CodeIdentifiers.cs: Ctor taking bool is 2.0 only.
svn path=/trunk/mcs/; revision=81107
Gert Driesen [Sat, 30 Jun 2007 13:44:53 +0000 (13:44 -0000)]
* XmlTextReaderTests.cs: Enable ProhibitDtd test on 1.0 profile too.
Fixed line endings.
* XmlTextReader.cs: Expose ProhibitDtd on 1.0 profile too.
svn path=/trunk/mcs/; revision=81106
Gert Driesen [Sat, 30 Jun 2007 13:37:26 +0000 (13:37 -0000)]
* NetworkAccess.cs: Only mark as flags enum on 2.0.
svn path=/trunk/mcs/; revision=81105
Gert Driesen [Sat, 30 Jun 2007 13:33:25 +0000 (13:33 -0000)]
* PropertyDescriptorCollection.cs: Added missing explicit interface
implementation of IEnumerable.GetEnumerator.
* TypeDescriptor.cs: Params modifier applies to 1.0 profile as well.
Spaces to tabs.
svn path=/trunk/mcs/; revision=81104
Gert Driesen [Sat, 30 Jun 2007 13:22:34 +0000 (13:22 -0000)]
* Uri.cs: Canonicalize is only obsolete from 2.0 onward. Fixed line
endings.
svn path=/trunk/mcs/; revision=81103
Gert Driesen [Sat, 30 Jun 2007 13:11:02 +0000 (13:11 -0000)]
* Margins.cs: Overloaded operators are 2.0 only.
svn path=/trunk/mcs/; revision=81102
Gert Driesen [Sat, 30 Jun 2007 13:06:34 +0000 (13:06 -0000)]
* ToolboxItem.cs: GetType (IDesignerHost) is 2.0 only.
svn path=/trunk/mcs/; revision=81101
Gert Driesen [Sat, 30 Jun 2007 12:21:29 +0000 (12:21 -0000)]
Forgot to commit.
svn path=/trunk/mcs/; revision=81100
Gert Driesen [Fri, 29 Jun 2007 20:01:05 +0000 (20:01 -0000)]
* cormissing.css: Add support for nested classes.
svn path=/trunk/mono/; revision=81067
Gert Driesen [Fri, 29 Jun 2007 19:58:51 +0000 (19:58 -0000)]
* mono-api.xsl: Added support for nested classes.
* mono-api-diff.cs: Renamed element used for nested classes from
nestedclass to class to avoid duplicating templates in xsl.
svn path=/trunk/mcs/; revision=81066
Jonathan Pryor [Fri, 29 Jun 2007 11:28:25 +0000 (11:28 -0000)]
* dirent.c, grp.c, pwd.c, stdio.c, syslog.c, unistd.c: Following in the
logic of the 2007-06-27 logic... Only return failure if an actual
DOCUMENTED error occurred. For many of these functions, there are no
docuemented errors, so they "can't fail," even if errno were set.
All praise the POSIX standard?
svn path=/trunk/mono/; revision=81037
Miguel de Icaza [Fri, 29 Jun 2007 00:31:35 +0000 (00:31 -0000)]
2007-06-28 Miguel de Icaza <miguel@novell.com>
* mini.c (mono_running_on_valgrind): Add support for reporting the
method and its boundaries to valgrind.
svn path=/trunk/mono/; revision=81014
Jonathan Pryor [Thu, 28 Jun 2007 20:54:22 +0000 (20:54 -0000)]
* configure.in: Add a check for `struct utimbuf'; needed by MonoPosixHelper.
* support/map.c, support/map.h: Refresh -- to add Utimbuf copy conversion functions.
- Includes latest-and-greatest create-native-map output.
- Mono's Reflection output has changed as well --
FieldInfo.GetValue().ToString("x") is now "correct" for the underlying
type, so `short' enums are 0x0000, etc.
- Member sorting is now case-insensitive.
svn path=/trunk/mono/; revision=81002
Jonathan Pryor [Thu, 28 Jun 2007 20:39:19 +0000 (20:39 -0000)]
* NativeConvert.generated.cs: Flush (add TryCopy() methods for Utimbuf).
* Syscall.cs: Map Utimbuf to `struct utimbuf'; needed so that Mono.Fuse can
rely on Mono.Posix.dll for copying all native types.
svn path=/trunk/mcs/; revision=81001
Noam Lampert [Thu, 28 Jun 2007 18:56:32 +0000 (18:56 -0000)]
Fix compilation for java
svn path=/trunk/mcs/; revision=80991
Noam Lampert [Thu, 28 Jun 2007 18:53:00 +0000 (18:53 -0000)]
Fix compilation in java
svn path=/trunk/mcs/; revision=80990
Atsushi Eno [Thu, 28 Jun 2007 16:44:07 +0000 (16:44 -0000)]
2007-06-28 Atsushi Enomoto <atsushi@ximian.com>
Yes, it is Hack Week, I had to start delayed though.
* System.Xml.dll.sources : added XsltDebuggerWrapper.cs, as initial
attempt to support external debugger.
* XslText.cs XslMessage.cs XslVariable.cs XslNotSupportedOperation.cs
XslNumber.cs XslElement.cs XslIf.cs XslCopyOf.cs XslFallback.cs
XslValueOf.cs XslComment.cs XslAttribute.cs XslApplyImports.cs
XslApplyTemplates.cs XslLiteralElement.cs XslCompiledElement.cs
XslTemplateContent.cs XslForEach.cs XslCallTemplate.cs
XslCopy.cs XslProcessingInstruction.cs XslChoose.cs :
minimum required injection for debugger.
initial attempt to hook debuggers.
* XsltDebuggerWrapper.cs : new.
* XslTransformProcessor.cs Compiler.cs : use above.
* XslCompiledTransform.cs XslTransform.cs : initial attempt to
support external debugger.
svn path=/trunk/mcs/; revision=80984
Igor Zelmanovich [Thu, 28 Jun 2007 15:52:48 +0000 (15:52 -0000)]
ScriptManager registers script includes after OnResolveScriptReference was called for all script references
svn path=/trunk/mcs/; revision=80981
Martin Baulig [Thu, 28 Jun 2007 15:20:02 +0000 (15:20 -0000)]
2007-06-28 Martin Baulig <martin@ximian.com>
* debug-debugger.h (MonoDebuggerInfo): Added `debugger_version'.
svn path=/trunk/mono/; revision=80977
Martin Baulig [Thu, 28 Jun 2007 15:19:26 +0000 (15:19 -0000)]
2007-06-28 Martin Baulig <martin@ximian.com>
* mono-debug.c (mono_debug_debugger_version): New public variable.
svn path=/trunk/mono/; revision=80976
Konstantin Triger [Thu, 28 Jun 2007 13:35:13 +0000 (13:35 -0000)]
correctly handle string escaping
svn path=/trunk/mcs/; revision=80971
Igor Zelmanovich [Thu, 28 Jun 2007 13:29:49 +0000 (13:29 -0000)]
optimized WriteCallbackOutput
svn path=/trunk/mcs/; revision=80970
Konstantin Triger [Thu, 28 Jun 2007 13:22:39 +0000 (13:22 -0000)]
correctly read \uXXXX escaped characters
svn path=/trunk/mcs/; revision=80969
Vladimir Krasnov [Thu, 28 Jun 2007 12:15:22 +0000 (12:15 -0000)]
* System.Web20.csproj: added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs to the project
* HttpResponse.cs: fixed AddHeadersNoCache, removed content-length header for TARGET_JVM
* HttpWorkerRequest.cs: made this class partial, moved TARGET_JVM stuff to .jvm part
* HttpWriter.cs: fixed write methods, output_stream can write char[] and string in TARGET_JVM
added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs
svn path=/trunk/mcs/; revision=80965
Igor Zelmanovich [Thu, 28 Jun 2007 12:05:09 +0000 (12:05 -0000)]
support scenario, when Update panel is created programmatically
svn path=/trunk/mcs/; revision=80964
Igor Zelmanovich [Thu, 28 Jun 2007 11:51:23 +0000 (11:51 -0000)]
optimized clipping at AsyncPostBack.
svn path=/trunk/mcs/; revision=80961
Vladimir Krasnov [Thu, 28 Jun 2007 11:41:26 +0000 (11:41 -0000)]
* BaseHttpServlet.cs: fixed service(), it does not creates output stream now
* ServletWorkerRequest.jvm.cs: fixed ctor, bool parameter can force using printWriter, used OutputStreamWrapper as OutputStream
* added OutputStreamWrapper class
svn path=/trunk/mcs/; revision=80960
Konstantin Triger [Thu, 28 Jun 2007 06:24:06 +0000 (06:24 -0000)]
provide default implementation for GetDataSetSchema/GetDataTableSchema
svn path=/trunk/mcs/; revision=80949
Konstantin Triger [Thu, 28 Jun 2007 06:21:12 +0000 (06:21 -0000)]
ensure correct behavior in case XmlSchemaProviderAttribute specified attibute does not return schemas
svn path=/trunk/mcs/; revision=80948
Igor Zelmanovich [Wed, 27 Jun 2007 15:04:55 +0000 (15:04 -0000)]
Implemented EnablePartialRendering and SupportsPartialRendering properties
svn path=/trunk/mcs/; revision=80871
Igor Zelmanovich [Wed, 27 Jun 2007 14:34:00 +0000 (14:34 -0000)]
implemented nested updatepanels support
svn path=/trunk/mcs/; revision=80870
Jonathan Pryor [Wed, 27 Jun 2007 13:43:21 +0000 (13:43 -0000)]
* grp.c, pwd.c: Only return failure if a documented errno is encountered.
This fixes UnixUserInfo.GetLocalUsers() and UnixGroupInfo.GetLocalGroups()
on systems missing the file /etc/default/nss (which generates ENOENT,
which isn't documented, so therefore it's not a "real" error).
* mph.h: Add mph_return_if_val_in_list5().
svn path=/trunk/mono/; revision=80868
Konstantin Triger [Wed, 27 Jun 2007 12:50:39 +0000 (12:50 -0000)]
add partial support for XmlSchemaProviderAttribute
svn path=/trunk/mcs/; revision=80864
Igor Zelmanovich [Wed, 27 Jun 2007 08:44:17 +0000 (08:44 -0000)]
Initial Timer implementation
svn path=/trunk/mcs/; revision=80855
Igor Zelmanovich [Wed, 27 Jun 2007 07:55:47 +0000 (07:55 -0000)]
Initial UpdateProgress implementation
svn path=/trunk/mcs/; revision=80854
Igor Zelmanovich [Wed, 27 Jun 2007 07:55:03 +0000 (07:55 -0000)]
added new tests
svn path=/trunk/mcs/; revision=80853
Noam Lampert [Tue, 26 Jun 2007 16:46:13 +0000 (16:46 -0000)]
Remove redundant TARGET_JVMs
svn path=/trunk/mcs/; revision=80795
Igor Zelmanovich [Tue, 26 Jun 2007 15:20:56 +0000 (15:20 -0000)]
Initial ScriptControl implementation
svn path=/trunk/mcs/; revision=80789
Igor Zelmanovich [Tue, 26 Jun 2007 14:40:13 +0000 (14:40 -0000)]
implemented RegisterScriptControl and RegisterExtenderControl
svn path=/trunk/mcs/; revision=80783
Sasha Kogan [Tue, 26 Jun 2007 13:51:22 +0000 (13:51 -0000)]
Replace MonoTODO with MonoNotSupported
svn path=/trunk/mcs/; revision=80781
Igor Zelmanovich [Tue, 26 Jun 2007 09:17:55 +0000 (09:17 -0000)]
Initial ScriptControlDescriptor implementation
svn path=/trunk/mcs/; revision=80771
Zoltan Varga [Mon, 25 Jun 2007 21:34:50 +0000 (21:34 -0000)]
2007-06-25 Zoltan Varga <vargaz@gmail.com>
* ssa.c (visit_inst): Add support for OP_BR. Fixes #81946.
* generic.2.cs: Add new test case.
svn path=/trunk/mono/; revision=80730
Carlos Alberto Cortez [Mon, 25 Jun 2007 18:33:10 +0000 (18:33 -0000)]
2007-06-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Implement 2.0 HitTest methods.
svn path=/trunk/mcs/; revision=80712
Gert Driesen [Mon, 25 Jun 2007 18:08:30 +0000 (18:08 -0000)]
* mono-api-diff.cs: For overloaded operators we need to include the return
type in the key to allow matching.
svn path=/trunk/mcs/; revision=80710
Gert Driesen [Mon, 25 Jun 2007 17:56:16 +0000 (17:56 -0000)]
* mono-api-diff.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=80705
Juraj Skripsky [Mon, 25 Jun 2007 17:11:48 +0000 (17:11 -0000)]
2007-06-25 Juraj Skripsky <js@hotfeet.ch>
* Cache.cs: Re-introduce "InvokePrivateCallbacks" accidentally
removed in r80321.
2007-06-25 Juraj Skripsky <js@hotfeet.ch>
* HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
"Cache.InvokePrivateCallbacks".
svn path=/trunk/mcs/; revision=80696
Martin Baulig [Mon, 25 Jun 2007 11:41:06 +0000 (11:41 -0000)]
Ooops; make this a pointer again.
svn path=/trunk/mono/; revision=80679
Martin Baulig [Mon, 25 Jun 2007 08:53:05 +0000 (08:53 -0000)]
2007-06-25 Martin Baulig <martin@ximian.com>
Merged the `debugger-dublin' branch.
* debug-mini.c
(mono_debugger_insert_method_breakpoint): New public method.
(mono_debugger_remove_method_breakpoint): Likewise.
(mono_debugger_check_breakpoints): New static method.
(mono_debug_close_method): Call mono_debugger_check_breakpoints().
* debug-debugger.h (MonoDebuggerInfo):
Renamed (to keep backward compatibility in the vtable):
`insert_breakpoint' -> `old_insert_breakpoint'.
`remove_breakpoint' -> `old_remove_breakpoint'.
`create_string' -> `old_create_string'.
`lookup_class' -> `old_lookup_class'.
`lookup_type' -> removed; changed into a dummy field.
`lookup_assembly' -> `old_lookup_assembly'.
Added (same functionality, but different signature):
`create_string', `lookup_class', `lookup_assembly'
Added new:
`get_method_addr_or_bpt', `remove_method_breakpoint',
`runtime_class_init'.
* debug-debugger.c: Merged the `debugger-dublin' branch.
svn path=/trunk/mono/; revision=80672
Carlos Alberto Cortez [Mon, 25 Jun 2007 00:57:21 +0000 (00:57 -0000)]
2007-06-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
item is under the pointer or not (sugar). Also remove the TODO
regarding to the cursor changes in OneClick activation.
* ThemeWin32Classic.cs: When HotTracking is true and we are drawing
the subitems use the parent's HotFont if UseItemStyleForSubItems is
true; otherwise don't show the underline style.
svn path=/trunk/mcs/; revision=80657
Carlos Alberto Cortez [Sun, 24 Jun 2007 19:35:31 +0000 (19:35 -0000)]
* ListView.cs: In ItemControl.ItemsMouseMove, refactor
the code to retrieve the item at position only one time. Also
change cursor when Activation is ItemActivation.OneClick as well
as invalidate the item if HotTracking is true (to show/hide the
underline style). Add an internal HotItemIndex property to retrieve
the current hot item's index.
* ListViewItem.cs: Add an internal HotFont property to cache the
font used when HotTracking is true and the pointer moves within the
item's borders.
* ThemeWin32Classic.cs: When drawing the item's text, use Font or
HotFont depending on the hot state of the item.
2007-06-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=80646
Miguel de Icaza [Sun, 24 Jun 2007 17:13:43 +0000 (17:13 -0000)]
Add
svn path=/trunk/mono/; revision=80636
Gert Driesen [Sun, 24 Jun 2007 14:20:09 +0000 (14:20 -0000)]
* DirectoryTest.cs: Restore original CurrentCulture on teardown.
* FileSystemInfoTest.cs: Restore original CurrentCulture on teardown.
Removed stray tabs. Code formatting.
* FileTest.cs: Restore original CurrentCulture on teardown. Removed
stray tabs. Changes spaces to tabs.
* ThreadTest.cs: Added tests for bug #81930.
* CultureInfoTest.cs: Added exception tests when invoking NumberFormat
or DateTimeFormat on a neutral culture. Added tests for bug #81930.
No longer derive from deprecated Assertion class. Added tests for
GetCultureInfo (2.0).
* ArrayTest.cs: Added test for bug #81941.
* ByteTest.cs: Restore original CurrentCulture in teardown.
* DecimalFormatterTest.cs: Restore original CurrentCulture in teardown.
Code formatting.
* DecimalTest.cs: Code formatting.
* DoubleFormatterTest.cs: Test relies on specific culture, so set it
up here. This worked before since the CurrentCulture was set in another
TestFixture, and the original one was not restored.
* FloatingPointFormatterTest.cs: Same.
* NumberFormatterTest.cs: Same. Removed stray tabs and fixes code
formatting.
* SingleFormatterTest.cs: Restore original culture on teardown. Code
formatting.
* SingleTest.cs: Same.
* StringComparerTest.cs: Restore original culture on teardown.
svn path=/trunk/mcs/; revision=80626
Gert Driesen [Sun, 24 Jun 2007 14:17:51 +0000 (14:17 -0000)]
* locales.c: When constructing DateTimeFormat or NumberFormat for
MonoCultureInfo, inherit readonly bit from MonoCultureInfo. The
MonoCultureInfo contructed from the current locale is always
read-only and has UseUserOverride set to true. All MonoCultureInfo
instances returned for GetCultures have both IsReadOnly and
UseUserOverride set to true. Fixes part of bug #81930.
svn path=/trunk/mono/; revision=80625
Igor Zelmanovich [Sun, 24 Jun 2007 13:29:34 +0000 (13:29 -0000)]
Initial ExtenderControl implementation
Implemented EnableScriptGlobalization feature
svn path=/trunk/mcs/; revision=80624
Zoltan Varga [Sun, 24 Jun 2007 13:23:14 +0000 (13:23 -0000)]
2007-06-24 Zoltan Varga <vargaz@gmail.com>
* Array.cs (get_swapper<T>): Use slow_swapper since every T[] is an object[].
Fixes #81941.
svn path=/trunk/mcs/; revision=80623
Igor Zelmanovich [Sun, 24 Jun 2007 13:08:28 +0000 (13:08 -0000)]
Initial ScriptBehaviorDescriptor implementation
svn path=/trunk/mcs/; revision=80622
Igor Zelmanovich [Sun, 24 Jun 2007 12:26:56 +0000 (12:26 -0000)]
Initial ScriptComponentDescriptor implementation
svn path=/trunk/mcs/; revision=80621
Igor Zelmanovich [Sun, 24 Jun 2007 12:25:27 +0000 (12:25 -0000)]
added DefaultSerializer property for internal use
svn path=/trunk/mcs/; revision=80620
Vladimir Krasnov [Sun, 24 Jun 2007 09:24:25 +0000 (09:24 -0000)]
* ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out parameter
svn path=/trunk/mcs/; revision=80617
Vladimir Krasnov [Sun, 24 Jun 2007 09:21:05 +0000 (09:21 -0000)]
fixed broken 1.1 compatibility
svn path=/trunk/mcs/; revision=80616
Vladimir Krasnov [Sun, 24 Jun 2007 09:06:39 +0000 (09:06 -0000)]
* FormsAuthentication.cs: improved performance of GetHexString()
svn path=/trunk/mcs/; revision=80615
Vladimir Krasnov [Sun, 24 Jun 2007 08:16:33 +0000 (08:16 -0000)]
* HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
svn path=/trunk/mcs/; revision=80614
Vladimir Krasnov [Sun, 24 Jun 2007 08:09:40 +0000 (08:09 -0000)]
* HttpHandlerAction.cs: fixed SplitPaths property to be thread safe
svn path=/trunk/mcs/; revision=80613
Vladimir Krasnov [Sun, 24 Jun 2007 07:56:34 +0000 (07:56 -0000)]
* CheckBox.cs: fixed Render, HasAttributes called instead Attributes.Count
svn path=/trunk/mcs/; revision=80612
Igor Zelmanovich [Sun, 24 Jun 2007 07:51:31 +0000 (07:51 -0000)]
2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
* GridView.cs: fixed AllowPaging feature:
When the AllowPaging is true the GridView control should automatically
hide the pager row when the data source contains fewer than 2 records.
patch Patch submitted by Dumitru Ban [dban@dako.ro]
svn path=/trunk/mcs/; revision=80611
Marek Safar [Sat, 23 Jun 2007 23:29:17 +0000 (23:29 -0000)]
Add more tests.
svn path=/trunk/mcs/; revision=80607
Marek Safar [Sat, 23 Jun 2007 23:28:33 +0000 (23:28 -0000)]
2007-06-24 Marek Safar <marek.safar@gmail.com>
A fix for bug #81938
* typemanager.cs (ChangeType): Fixed couple of char conversions.
* constant.cs: Tide up an exception message.
svn path=/trunk/mcs/; revision=80606
Marek Safar [Sat, 23 Jun 2007 21:37:08 +0000 (21:37 -0000)]
2007-06-23 Marek Safar <marek.safar@gmail.com>
* List.cs: Make CheckMatch static.
svn path=/trunk/mcs/; revision=80604
Zoltan Varga [Sat, 23 Jun 2007 15:35:08 +0000 (15:35 -0000)]
2007-06-23 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (peephole_pass_1): Optimize away moves at the beginning of the bb as
well.
(peephole_pass): Likewise.
svn path=/trunk/mono/; revision=80599
Rodrigo Kumpera [Sat, 23 Jun 2007 02:06:31 +0000 (02:06 -0000)]
2007-06-22 Rodrigo Kumpera <kumpera@gmail.com>
* unverifiable_ldflda_other_class_on_simple_method.il: test for load field address in .ctor
* unverifiable_ldsflda_other_class_on_simple_method.il: same
* unverifiable_ldsflda_other_class_field_on_cctor.il: same
* unverifiable_ldflda_other_class_field_on_cctor.il: same
* unverifiable_ldsflda_owner_class_on_simple_method.il: same
* unverifiable_ldflda_owner_class_on_simple_method.il: same
* valid_ldflda_owned_field_on_cctor.il: same
* valid_ldsflda_owned_field_on_cctor.il: same
* valid_local_ref_ref_store.il: valid local store that was not covered before
* unverifiable_ptr_nop.il: unmanaged pointer ops
* unverifiable_ptr_ldloc.il: same
* unverifiable_ptr_ldarg.il: same
* unverifiable_m_ptr_ldloc.il: same
* unverifiable_m_ptr_ldarg.il: same
svn path=/trunk/mono/; revision=80589
Marek Safar [Fri, 22 Jun 2007 21:47:36 +0000 (21:47 -0000)]
2007-06-22 Marek Safar <marek.safar@gmail.com>
* ecore.cs (SimpleName.DoSimpleNameResolve): Better error reporting when
an uninitialized variable is used.
* expression.cs (LocalVariableReference.DoResolve): Ditto.
svn path=/trunk/mcs/; revision=80588
Marek Safar [Fri, 22 Jun 2007 21:27:43 +0000 (21:27 -0000)]
Add new tests.
svn path=/trunk/mcs/; revision=80583
Carlos Alberto Cortez [Fri, 22 Jun 2007 18:55:14 +0000 (18:55 -0000)]
2007-06-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewTest.cs: Add test for 2.0 HotTracking.
svn path=/trunk/mcs/; revision=80568
Jonathan Chambers [Fri, 22 Jun 2007 18:45:29 +0000 (18:45 -0000)]
2007-06-22 Jonathan Chambers <joncham@gmail.com>
* __ComObject.cs: Move interface lookup to unmanaged.
2007-06-22 Jonathan Chambers <joncham@gmail.com>
* __ComObject.cs (ThrowExceptionForHR): Implement/consolidate.
* __ComObject.cs (GetExceptionForHR): Implement/consolidate.
svn path=/trunk/mcs/; revision=80567
Jonathan Chambers [Fri, 22 Jun 2007 18:44:23 +0000 (18:44 -0000)]
2007-06-22 Jonathan Chambers <joncham@gmail.com>
* icall-def.h: Update System.__ComObject icalls
* marshal.c: Avoid managed transition (and object creation)
when looking up COM interface in RCW.
* marshal.h: Ditto.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=80566
Carlos Alberto Cortez [Fri, 22 Jun 2007 18:37:21 +0000 (18:37 -0000)]
2007-06-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Implement 2.0 HotTracking property.
svn path=/trunk/mcs/; revision=80565
Gert Driesen [Fri, 22 Jun 2007 17:41:31 +0000 (17:41 -0000)]
* FileStreamTest.cs: Added test for bug #79250.
svn path=/trunk/mcs/; revision=80562
Rolf Bjarne Kvinge [Fri, 22 Jun 2007 16:10:33 +0000 (16:10 -0000)]
* VBCodeCompiler.cs: Throw a descriptive exception if we're trying to
compile anything on the 1.0 profile. Correctly parse vbnc error
messages (and don't return any messages if there weren't any
errors/warnings). Fixes #81872.
svn path=/trunk/mcs/; revision=80560
Zoltan Varga [Fri, 22 Jun 2007 14:38:56 +0000 (14:38 -0000)]
2007-06-22 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Cache in the method image for now
to avoid crashes during assembly unloading.
svn path=/trunk/mono/; revision=80557
Dick Porter [Fri, 22 Jun 2007 12:43:43 +0000 (12:43 -0000)]
2007-06-22 Dick Porter <dick@ximian.com>
* shared.c: The non-shared mutexes weren't being initialised properly
on macos. Fixes bug 81929.
svn path=/trunk/mono/; revision=80549
Raja R Harinath [Fri, 22 Jun 2007 12:36:53 +0000 (12:36 -0000)]
Fix MethodInfo.IsGenericMethodDefinition
* reflection.c (mono_reflection_bind_generic_method_parameters):
Rearrange code to ensure we always uses a generic method definition.
* class.c (mono_class_inflate_generic_method_full): Set
'generic_container' field only for generic method definitions.
* icall.c (ves_icall_MonoMethod_get_IsGenericMethodDefinition):
Use presense of 'generic_container' field as indication of being a
generic method definition.
svn path=/trunk/mono/; revision=80548