mono.git
16 years agoCharBucket consider Response Encoding.
Igor Zelmanovich [Tue, 4 Mar 2008 17:00:01 +0000 (17:00 -0000)]
CharBucket consider Response Encoding.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=97323

16 years agoformat view state hidden field.
Igor Zelmanovich [Tue, 4 Mar 2008 14:21:04 +0000 (14:21 -0000)]
format view state hidden field.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=97304

16 years agoensure SaveViewState return correct value
Igor Zelmanovich [Tue, 4 Mar 2008 13:31:32 +0000 (13:31 -0000)]
ensure SaveViewState return correct value

svn path=/branches/mainsoft/gh2.2/mcs/; revision=97295

16 years agoSYSTEM_WEB_EXTENSIONS:
Igor Zelmanovich [Tue, 4 Mar 2008 11:37:13 +0000 (11:37 -0000)]
SYSTEM_WEB_EXTENSIONS:
ensure namespace is registered
when declare script resources.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=97285

16 years agorevert changes from r 96616
Igor Zelmanovich [Tue, 4 Mar 2008 09:26:57 +0000 (09:26 -0000)]
revert changes from r 96616

svn path=/branches/mainsoft/gh2.2/mcs/; revision=97272

16 years agorefactoring: make the classes inheritable
Igor Zelmanovich [Tue, 4 Mar 2008 09:02:32 +0000 (09:02 -0000)]
refactoring: make the classes inheritable

svn path=/branches/mainsoft/gh2.2/mcs/; revision=97271

16 years agoFix of regression done by rev. 96745.
Arina Itkes [Sun, 2 Mar 2008 16:17:04 +0000 (16:17 -0000)]
Fix of regression done by rev. 96745.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=97133

16 years agomerge -r 97125:97126
Vladimir Krasnov [Sun, 2 Mar 2008 13:08:13 +0000 (13:08 -0000)]
merge -r 97125:97126

svn path=/branches/mainsoft/gh2.2/mcs/; revision=97127

16 years agomerge from
Roei Erez [Sun, 2 Mar 2008 09:49:32 +0000 (09:49 -0000)]
merge from

svn path=/branches/mainsoft/gh2.2/mcs/; revision=97117

16 years agoDateTime XML seralization bug
Roei Erez [Thu, 28 Feb 2008 12:29:07 +0000 (12:29 -0000)]
DateTime XML seralization bug

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96864

16 years ago2008-02-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 28 Feb 2008 09:44:08 +0000 (09:44 -0000)]
2008-02-28 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs:
fixed exception propagation in case of multiple control with same id
were found.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96847

16 years agoSocket stale checking is set to enabled by default. Added a possibility to configure...
Arina Itkes [Wed, 27 Feb 2008 10:59:06 +0000 (10:59 -0000)]
Socket stale checking is set to enabled by default. Added a possibility to configure "stale checking" flag and idle connections handling.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96750

16 years agoFix for bug 9811: When web method returns DataTable the method generated in proxy...
Arina Itkes [Wed, 27 Feb 2008 09:45:08 +0000 (09:45 -0000)]
Fix for bug 9811: When web method returns DataTable the method generated in proxy class should return DataSet.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96745

16 years agomerge -r96115:96041
Arina Itkes [Wed, 27 Feb 2008 09:09:47 +0000 (09:09 -0000)]
merge -r96115:96041

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96736

16 years agoset instance of IObjectsDeserializer into AppDomain
Igor Zelmanovich [Tue, 26 Feb 2008 10:28:02 +0000 (10:28 -0000)]
set instance of IObjectsDeserializer into AppDomain
for solving a problem in class deserialize within web application
bug #9966

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96616

16 years agoTARGET_J2EE:
Igor Zelmanovich [Mon, 25 Feb 2008 16:12:53 +0000 (16:12 -0000)]
TARGET_J2EE:
reset Params collection in SetWorkerRequest.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96568

16 years agomerge r96555:96556
Igor Zelmanovich [Mon, 25 Feb 2008 14:49:45 +0000 (14:49 -0000)]
merge r96555:96556

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96558

16 years agofixed bug 9959
Vladimir Krasnov [Mon, 25 Feb 2008 09:53:53 +0000 (09:53 -0000)]
fixed bug 9959

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96533

16 years ago* TemplateControl.jvm.cs: perforamce optimization in GetLocalResourceObject
Vladimir Krasnov [Sun, 24 Feb 2008 17:10:48 +0000 (17:10 -0000)]
* TemplateControl.jvm.cs: perforamce optimization in GetLocalResourceObject
* HttpContext.cs: made GetResourceObject method internal

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96517

16 years ago* AppResourcesCompiler.jvm.cs: performance improvement in GetCachedLocalResourcesAssembly
Vladimir Krasnov [Sun, 24 Feb 2008 16:55:22 +0000 (16:55 -0000)]
* AppResourcesCompiler.jvm.cs: performance improvement in GetCachedLocalResourcesAssembly

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96515

16 years agoTARGET_J2EE:
Igor Zelmanovich [Sun, 24 Feb 2008 08:41:31 +0000 (08:41 -0000)]
TARGET_J2EE:
viewstate hidden field is compatible to microsoft convention

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96497

16 years agoTARGET_J2EE:
Igor Zelmanovich [Sun, 24 Feb 2008 08:41:03 +0000 (08:41 -0000)]
TARGET_J2EE:
viewstate hidden field is compatible to microsoft convention

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96496

16 years ago* SqlProfileProvider.cs: exception on empty connection string
Vladimir Krasnov [Sat, 23 Feb 2008 22:01:52 +0000 (22:01 -0000)]
* SqlProfileProvider.cs: exception on empty connection string

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96491

16 years ago* SqlMembershipProvider.cs: exception on empty connection string
Vladimir Krasnov [Sat, 23 Feb 2008 21:59:32 +0000 (21:59 -0000)]
* SqlMembershipProvider.cs: exception on empty connection string

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96490

16 years agofixed CheckBox.cs, should not render RenderInput on selected radio button
Vladimir Krasnov [Sat, 23 Feb 2008 21:37:24 +0000 (21:37 -0000)]
fixed CheckBox.cs, should not render RenderInput on selected radio button

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96488

16 years agofixed RaisePostDataChangedEvent, multiple registrations allowed
Vladimir Krasnov [Sat, 23 Feb 2008 20:55:39 +0000 (20:55 -0000)]
fixed RaisePostDataChangedEvent, multiple registrations allowed

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96486

16 years agoreverted 96081
Vladimir Krasnov [Sat, 23 Feb 2008 20:46:36 +0000 (20:46 -0000)]
reverted 96081

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96485

16 years agoTARGET_J2EE:
Igor Zelmanovich [Thu, 21 Feb 2008 14:45:46 +0000 (14:45 -0000)]
TARGET_J2EE:
implement exception handling and propagation
on application level

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96351

16 years agobug 9857
Roei Erez [Wed, 20 Feb 2008 18:43:57 +0000 (18:43 -0000)]
bug 9857

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96285

16 years ago2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 20 Feb 2008 13:23:02 +0000 (13:23 -0000)]
2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>

* Login.cs: render id attribute of root element correctly.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96246

16 years agoset user is authenticated state in client
Igor Zelmanovich [Wed, 20 Feb 2008 12:12:17 +0000 (12:12 -0000)]
set user is authenticated state in client

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96241

16 years agosaving/reading state fix, removed call of ResponseStateManager
Vladimir Krasnov [Wed, 20 Feb 2008 10:40:01 +0000 (10:40 -0000)]
saving/reading state fix, removed call of ResponseStateManager

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96231

16 years agorefactoring
Igor Zelmanovich [Wed, 20 Feb 2008 08:52:57 +0000 (08:52 -0000)]
refactoring

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96227

16 years agorefactoring:
Igor Zelmanovich [Wed, 20 Feb 2008 08:48:30 +0000 (08:48 -0000)]
refactoring:
extract SaveStateInClient and GetStateFromClient to base class

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96226

16 years agoupgrade ProfileService up to used version of client scripts.
Igor Zelmanovich [Tue, 19 Feb 2008 17:17:16 +0000 (17:17 -0000)]
upgrade ProfileService up to used version of client scripts.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96168

16 years agoUpdate for Grasshopper 2.2
Noam Lampert [Mon, 18 Feb 2008 17:12:36 +0000 (17:12 -0000)]
Update for Grasshopper 2.2

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96082

16 years ago* Page.cs: fixed RegisterRequiresPostBack, performance improvement
Vladimir Krasnov [Mon, 18 Feb 2008 17:08:00 +0000 (17:08 -0000)]
* Page.cs: fixed RegisterRequiresPostBack, performance improvement

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96081

16 years agomerge -r96068:96069
Vladimir Krasnov [Mon, 18 Feb 2008 16:27:06 +0000 (16:27 -0000)]
merge -r96068:96069

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96070

16 years agoFix for the standalone tests: attribset_attribset24 and attribset_attribset40.
Arina Itkes [Mon, 18 Feb 2008 10:37:44 +0000 (10:37 -0000)]
Fix for the standalone tests: attribset_attribset24 and attribset_attribset40.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=96041

16 years agoadded TARGET_J2EE ifdef
Igor Zelmanovich [Sun, 17 Feb 2008 14:40:55 +0000 (14:40 -0000)]
added TARGET_J2EE ifdef

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95971

16 years agoprevent InvalidCastExseption
Igor Zelmanovich [Sun, 17 Feb 2008 07:31:26 +0000 (07:31 -0000)]
prevent InvalidCastExseption

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95957

16 years agoadd j2sehelpers reference
Roei Erez [Thu, 14 Feb 2008 17:25:21 +0000 (17:25 -0000)]
add j2sehelpers reference

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95664

16 years agofix prototype of GH implementation
Roei Erez [Thu, 14 Feb 2008 17:21:08 +0000 (17:21 -0000)]
fix prototype of GH implementation

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95659

16 years agoFix of test for bug 9912.
Arina Itkes [Thu, 14 Feb 2008 13:59:24 +0000 (13:59 -0000)]
Fix of test for bug 9912.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95628

16 years agoAdd mangling attribute
Leonid Freydovich [Wed, 13 Feb 2008 13:10:10 +0000 (13:10 -0000)]
Add mangling attribute

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95575

16 years agomerge -r95562:95563
Vladimir Krasnov [Wed, 13 Feb 2008 10:11:06 +0000 (10:11 -0000)]
merge -r95562:95563

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95564

16 years agoimplement IHttpExtendedWorkerRequest
Igor Zelmanovich [Tue, 12 Feb 2008 14:33:37 +0000 (14:33 -0000)]
implement IHttpExtendedWorkerRequest

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95503

16 years agoadd new internal interface for extending HttpWorkerRequest.
Igor Zelmanovich [Tue, 12 Feb 2008 14:30:39 +0000 (14:30 -0000)]
add new internal interface for extending HttpWorkerRequest.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95502

16 years agoTestFile3.xml and TestFile5.xml are used only for output and should not be committed...
Arina Itkes [Tue, 12 Feb 2008 12:19:06 +0000 (12:19 -0000)]
TestFile3.xml and TestFile5.xml are used only for output and should not be committed. I renamed them for future deleting.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95495

16 years agomerge -r95489:95490
Vladimir Krasnov [Tue, 12 Feb 2008 11:51:43 +0000 (11:51 -0000)]
merge -r95489:95490

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95492

16 years agomerge -r95483:95484
Vladimir Krasnov [Tue, 12 Feb 2008 11:51:00 +0000 (11:51 -0000)]
merge -r95483:95484

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95491

16 years agoimplement such JSF API for being compatible with using of log4j-1.2.13.jar with myfaces.
Igor Zelmanovich [Tue, 12 Feb 2008 10:01:23 +0000 (10:01 -0000)]
implement such JSF API for being compatible with using of log4j-1.2.13.jar with myfaces.
fix BUG #9871

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95487

16 years agomerge -r95484:95485
Konstantin Triger [Tue, 12 Feb 2008 09:45:14 +0000 (09:45 -0000)]
merge -r95484:95485

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95486

16 years agomerge r95480-95481
Igor Zelmanovich [Tue, 12 Feb 2008 09:03:31 +0000 (09:03 -0000)]
merge r95480-95481

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95483

16 years agoFix tests: end of line is "\r\n" when it runs on Windows.
Arina Itkes [Mon, 11 Feb 2008 16:10:56 +0000 (16:10 -0000)]
Fix tests: end of line is "\r\n" when it runs on Windows.

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95445

16 years agoadded TARGET_J2EE ifdef
Igor Zelmanovich [Mon, 11 Feb 2008 12:54:56 +0000 (12:54 -0000)]
added TARGET_J2EE ifdef

svn path=/branches/mainsoft/gh2.2/mcs/; revision=95433

16 years agoTARGET_JVM: printouts for debug purposes
Konstantin Triger [Sun, 10 Feb 2008 13:11:46 +0000 (13:11 -0000)]
TARGET_JVM: printouts for debug purposes

svn path=/trunk/mcs/; revision=95372

16 years ago2008-02-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 10 Feb 2008 13:07:51 +0000 (13:07 -0000)]
2008-02-10  Atsushi Enomoto  <atsushi@ximian.com>

* Consts.cs.in : now that we removed 3.5 profile, those versions are
  needed independently.

* AssemblyInfo.cs: use 3.5 version strings.

svn path=/trunk/mcs/; revision=95371

16 years agoprevent endless recursion in AncestorIterator while collecting results
Konstantin Triger [Sun, 10 Feb 2008 12:27:49 +0000 (12:27 -0000)]
prevent endless recursion in AncestorIterator while collecting results

svn path=/trunk/mcs/; revision=95369

16 years ago2008-02-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 10 Feb 2008 12:13:23 +0000 (12:13 -0000)]
2008-02-10  Atsushi Enomoto  <atsushi@ximian.com>

* Binding.cs : build fix (operator == is not overriden in 1.x. Do
  not compare struct with null in 2.0).

svn path=/trunk/mcs/; revision=95368

16 years agoadded TARGET_J2EE ifdef
Igor Zelmanovich [Sun, 10 Feb 2008 11:52:15 +0000 (11:52 -0000)]
added TARGET_J2EE ifdef

svn path=/trunk/mcs/; revision=95367

16 years ago2008-02-10 Luke Page <luke.a.page@gmail.com>
Luke Page [Sun, 10 Feb 2008 11:24:43 +0000 (11:24 -0000)]
2008-02-10  Luke Page <luke.a.page@gmail.com>

* MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
updates the provider and if not using a provider, uses the internal document
class implementation of password char. Also when showing text, uses display string
from the provider, instead of the actual text.

svn path=/trunk/mcs/; revision=95366

16 years agoignore null state in processRestoreState
Konstantin Triger [Sun, 10 Feb 2008 08:36:04 +0000 (08:36 -0000)]
ignore null state in processRestoreState

svn path=/trunk/mcs/; revision=95360

16 years agoTry Dpi instead of Font to see if it fixes buildbot.
Jonathan Pobst [Sun, 10 Feb 2008 04:05:55 +0000 (04:05 -0000)]
Try Dpi instead of Font to see if it fixes buildbot.

svn path=/trunk/mcs/; revision=95357

16 years ago2008-02-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 10 Feb 2008 03:54:55 +0000 (03:54 -0000)]
2008-02-09  Miguel de Icaza  <miguel@novell.com>

* Enumerable.cs (ToDictionary): Implement this overload.

svn path=/trunk/mcs/; revision=95356

16 years ago * Binding.cs: Ooooops, forgot to take into account the data_source
Carlos Alberto Cortez [Sun, 10 Feb 2008 02:59:06 +0000 (02:59 -0000)]
* Binding.cs: Ooooops, forgot to take into account the data_source
and binding_member_info null case (it was breaking the Binding tests).

2008-02-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=95355

16 years ago2008-02-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 10 Feb 2008 02:47:29 +0000 (02:47 -0000)]
2008-02-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: Implement support for data source changes exposed by
'PropertyNameChanged' events, and update the control property as
needed.

svn path=/trunk/mcs/; revision=95354

16 years ago2008-02-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 10 Feb 2008 02:16:24 +0000 (02:16 -0000)]
2008-02-10  Zoltan Varga  <vargaz@gmail.com>

* interpreter.cs (Eval): Remove a needless string allocation.

svn path=/trunk/mcs/; revision=95353

16 years ago2008-02-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 10 Feb 2008 01:28:19 +0000 (01:28 -0000)]
2008-02-09  Miguel de Icaza  <miguel@novell.com>

* XNamespace.cs: implement.

svn path=/trunk/mcs/; revision=95348

16 years agoThere is no such thing as a 3.5 build: 3.5 to us is merely new API entry points...
Miguel de Icaza [Sun, 10 Feb 2008 00:14:44 +0000 (00:14 -0000)]
There is no such thing as a 3.5 build:  3.5 to us is merely new API entry points which will be part of the standard 2.0 build

svn path=/trunk/mcs/; revision=95347

16 years ago2008-02-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 9 Feb 2008 22:56:18 +0000 (22:56 -0000)]
2008-02-10  Zoltan Varga  <vargaz@gmail.com>

* UnexceptionalStreamReader.cs (Read): Optimize this to avoid making a number of
calls + creation of a string for each character read.

svn path=/trunk/mcs/; revision=95346

16 years agoMake this more useful by not outputing messages
Miguel de Icaza [Sat, 9 Feb 2008 22:33:27 +0000 (22:33 -0000)]
Make this more useful by not outputing messages

svn path=/trunk/mcs/; revision=95345

16 years ago2008-02-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 9 Feb 2008 20:43:15 +0000 (20:43 -0000)]
2008-02-09  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_vtable_general): Add a missing call to
mono_class_setup_methods () which is needed in the AOT case.

svn path=/trunk/mono/; revision=95343

16 years ago2008-02-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 9 Feb 2008 20:42:35 +0000 (20:42 -0000)]
2008-02-09  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_method_code): Add an assert.

* mini-arm.h mini-arm.c exceptions-arm.c: Modify the exception throwing code and
the IMT code so it is AOT friendly. Enable AOT for methods which call interface
methods.

svn path=/trunk/mono/; revision=95342

16 years ago2008-02-09 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sat, 9 Feb 2008 13:43:40 +0000 (13:43 -0000)]
2008-02-09  Daniel Nauck  <dna@mono-project.de>

* HttpWebResponse.cs: convert UTC/GMT Expires DateTime from a cookie
into local time, also set the HttpOnly property if available.

svn path=/trunk/mcs/; revision=95334

16 years ago * Mono.Posix_test.dll.sources: Add Mono.Unix/UnixSignalTest.cs.
Jonathan Pryor [Sat, 9 Feb 2008 13:37:15 +0000 (13:37 -0000)]
* Mono.Posix_test.dll.sources: Add Mono.Unix/UnixSignalTest.cs.
* Test/Mono.Unix/UnixSignalTest.cs: Added; tests Mono.Unix.UnixSignal.

svn path=/trunk/mcs/; revision=95333

16 years ago2008-02-09 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sat, 9 Feb 2008 13:30:33 +0000 (13:30 -0000)]
2008-02-09  Daniel Nauck  <dna@mono-project.de>

* CookieContainerTest.cs: added some not working Add/Expired tests

svn path=/trunk/mcs/; revision=95332

16 years agoFixed compile error on 1.0 profile.
Daniel Nauck [Sat, 9 Feb 2008 13:18:34 +0000 (13:18 -0000)]
Fixed compile error on 1.0 profile.

svn path=/trunk/mcs/; revision=95331

16 years ago2008-02-09 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sat, 9 Feb 2008 11:49:28 +0000 (11:49 -0000)]
2008-02-09  Daniel Nauck  <dna@mono-project.de>

* Cookie.cs: implemented HttpOnly
* CookieTest.cs: added tests for public fields

svn path=/trunk/mcs/; revision=95323

16 years ago* AppSettingsExpressionBuilder.cs: Improve exception messages. Return
Gert Driesen [Sat, 9 Feb 2008 10:31:22 +0000 (10:31 -0000)]
* AppSettingsExpressionBuilder.cs: Improve exception messages. Return
"raw" appsetting value if targetType is null.
* AppSettingsExpressionBuilderTest.cs: Added and improved tests for
GetAppSetting overloads.

svn path=/trunk/mcs/; revision=95322

16 years ago2008-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 8 Feb 2008 22:50:37 +0000 (22:50 -0000)]
2008-02-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingTest.cs: Add new cases for DataSourceUpdateMode test,
and also add a 2.0 WriteValueTest test.

svn path=/trunk/mcs/; revision=95309

16 years ago2008-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 8 Feb 2008 22:48:53 +0000 (22:48 -0000)]
2008-02-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: Implement 2.0 WriteValue method.

svn path=/trunk/mcs/; revision=95308

16 years agouse Show, and ShowInTaskbar = false
Jonathan Pobst [Fri, 8 Feb 2008 21:48:24 +0000 (21:48 -0000)]
use Show, and ShowInTaskbar = false

svn path=/trunk/mcs/; revision=95306

16 years ago2008-02-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 8 Feb 2008 21:46:07 +0000 (21:46 -0000)]
2008-02-08  Jonathan Pobst  <monkey@jpobst.com>

* ComboBoxTest.cs: MethodScaleControl needs to take Font into
account, which PreferredHeight does.  Fixes a failing test.

svn path=/trunk/mcs/; revision=95305

16 years ago2008_02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 8 Feb 2008 20:17:45 +0000 (20:17 -0000)]
2008_02-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: Add setter and events for MockItem members -
we need them to test data binding.
* BindingTest.cs: Add tests for 2.0 members (ControlUpdateMode,
DataSourceUpdateMode, ReadValue), and for IsBinding property.
Mark as NotWorking IsBindingTest and DataSourceUpdateMode as they are
failing by now.

svn path=/trunk/mcs/; revision=95299

16 years ago2008-02-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 8 Feb 2008 19:39:04 +0000 (19:39 -0000)]
2008-02-08  Jonathan Pobst  <monkey@jpobst.com>

Commit patch from James Purcell for better AutoScale implementation:

* ScaleControl should call GetScaledBounds with the control's total size rather
than client size.  GetScaledBounds should handle ignoring the borders in its
calculations.  Cleaned up ScaleControl/GetScaledBounds overrides in controls
(for the most part they just call the base code now since that is fixed).
* Added ScaleChildrenInternal to allow controls to disable scaling of children
without having to override ScaleChildren (since none of .NET's controls do).
This is required for most controls in Mono that have scrollbars to prevent the
scrollbars from being moved/resized.
* Nested ContainerControls can have a different scale mode than their parent.
This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
designer produce different results both of which look incorrect).
* Default AutoScaleMode for ContainerControl should be Inherit.
* Simplified workaround for ComboBox scaling issue.
* 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
1.0 style auto scaling should scale the whole control's size instead of
ignoring the borders (except for Form) and the rounding is done differently to
preserve control alignment.
* ApplyAutoScaling (used for 1.0 style) should use the rounded result of
GetAutoScaleSize.
* Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
* CurrentAutoScaleDimensions should round the estimated character width instead
of truncating.
* ListBox's GetScaledBounds should always use the height it was set to instead
of the height that was passed in.  This prevents rounding errors from
accumulating quickly with IntegralHeight.
[Bug #359098]

2008-02-08  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Commit tests from James Purcell for his new
AutoScale implementation.  [Bug #359098]

svn path=/trunk/mcs/; revision=95295

16 years ago * mono-service.cs: The return value of UnixSignal.WaitAny() changed; cope.
Jonathan Pryor [Fri, 8 Feb 2008 17:19:18 +0000 (17:19 -0000)]
* mono-service.cs: The return value of UnixSignal.WaitAny() changed; cope.

svn path=/trunk/mcs/; revision=95284

16 years agoFixed broken test.
Marek Safar [Fri, 8 Feb 2008 17:15:06 +0000 (17:15 -0000)]
Fixed broken test.

svn path=/trunk/mcs/; revision=95282

16 years agoRemove duplicate entry.
Jonathan Pryor [Fri, 8 Feb 2008 17:07:49 +0000 (17:07 -0000)]
Remove duplicate entry.

svn path=/trunk/mcs/; revision=95278

16 years ago * UnixSignal.cs: UnixSignal.WaitAny() should have the same return type as
Jonathan Pryor [Fri, 8 Feb 2008 17:05:54 +0000 (17:05 -0000)]
* UnixSignal.cs: UnixSignal.WaitAny() should have the same return type as
  WaitHandle.WaitAny().  Oops.

svn path=/trunk/mcs/; revision=95277

16 years ago * signal.c: Mono_Unix_UnixSignal_WaitAny() semantic change: return the index
Jonathan Pryor [Fri, 8 Feb 2008 17:05:34 +0000 (17:05 -0000)]
* signal.c: Mono_Unix_UnixSignal_WaitAny() semantic change: return the index
  into the signals array of the first signaled signal if successful,
  otherwise return the timeout.

svn path=/trunk/mono/; revision=95276

16 years ago2008-02-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 8 Feb 2008 16:39:59 +0000 (16:39 -0000)]
2008-02-08  Sebastien Pouliot  <sebastien@ximian.com>

* Random.cs: Explain (and extend) special case in Next(min,max)

svn path=/trunk/mcs/; revision=95273

16 years ago2008-02-08 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Fri, 8 Feb 2008 16:29:03 +0000 (16:29 -0000)]
2008-02-08  Juraj Skripsky  <js@hotfeet.ch>

* Random.cs (Next): Use rounding (via implicit conversion) only on
positive values. Fixes bug 359918.

svn path=/trunk/mcs/; revision=95272

16 years ago2008-02-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 8 Feb 2008 15:59:36 +0000 (15:59 -0000)]
2008-02-08 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_type_get_stack_name): Added. Return the name for the
stack type of the given MonoType.

* verify.c (verify_type_compatibility_full): Handle the void type.

* verify.c (is_compatible_boxed_valuetype): Changed to fit the
way stack merging works.

* verify.c (store_local): Improved verification message.

* verify.c (do_branch_op): If the merging is invalid, the method
is unverifiable and not invalid. Improved error message.

* verify.c (merge_stacks): Properly merge a boxed valuetype and
a reference type diferent than System.Object. Improved error
message.

svn path=/trunk/mono/; revision=95268

16 years ago* Form.cs: Add a null check (darn it).
Andreia Gaita [Fri, 8 Feb 2008 15:43:19 +0000 (15:43 -0000)]
* Form.cs: Add a null check (darn it).

2008-02-08  Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mcs/; revision=95266

16 years ago2008-02-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 8 Feb 2008 15:41:45 +0000 (15:41 -0000)]
2008-02-08  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: always return a non-null value from
the Program property.

svn path=/trunk/mcs/; revision=95265

16 years ago2008-02-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 8 Feb 2008 15:30:44 +0000 (15:30 -0000)]
2008-02-08  Jonathan Pobst  <monkey@jpobst.com>

* MdiClient.cs: Make sure the requesting form actually owns the
control menu items before removing them.  Also, use
Suspend/ResumeLayout when adding or removing items so we only
layout once.
[Fixes bug #359887]

svn path=/trunk/mcs/; revision=95264

16 years ago2008-02-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 8 Feb 2008 14:49:37 +0000 (14:49 -0000)]
2008-02-08  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Guard against an NRE in ShowFocusCues.
[Fixes bug #359830]

svn path=/trunk/mcs/; revision=95260

16 years ago * UnixSignal.cs: Modification of Info->count should be thread safe.
Jonathan Pryor [Fri, 8 Feb 2008 14:34:22 +0000 (14:34 -0000)]
* UnixSignal.cs: Modification of Info->count should be thread safe.

svn path=/trunk/mcs/; revision=95259

16 years agowe pass Invoke tests
Jb Evain [Fri, 8 Feb 2008 14:30:46 +0000 (14:30 -0000)]
we pass Invoke tests

svn path=/trunk/mcs/; revision=95258