mono.git
16 years agoimplemented compression classes
Konstantin Triger [Thu, 3 Jan 2008 13:28:39 +0000 (13:28 -0000)]
implemented compression classes

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

16 years ago2008-01-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jan 2008 13:12:53 +0000 (13:12 -0000)]
2008-01-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #351257
  * cs-tokenizer.cs: Advance line number for '\r' correctly.

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

16 years ago2008-01-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Jan 2008 13:05:56 +0000 (13:05 -0000)]
2008-01-03  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionWriter.cs:
Properly emit null type constants. Fix #351141.
Patch by Rolf Kvinge <rkvinge@novell.com>.

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

16 years agoimplement
Igor Zelmanovich [Thu, 3 Jan 2008 12:25:11 +0000 (12:25 -0000)]
implement
GetRegisteredClientScriptBlocks,
GetRegisteredOnSubmitStatements,
GetRegisteredStartupScripts

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

16 years ago2008-01-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jan 2008 11:56:42 +0000 (11:56 -0000)]
2008-01-03  Marek Safar  <marek.safar@gmail.com>

A test for bug #351157

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

16 years ago2008-01-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jan 2008 11:56:14 +0000 (11:56 -0000)]
2008-01-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #351157
  * class.cs (Using): Fixed yet another broken cloning.

  (Block): Put back more sensible default value for statements.

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

16 years agoimplement GetRegisteredDisposeScripts()
Igor Zelmanovich [Thu, 3 Jan 2008 09:51:38 +0000 (09:51 -0000)]
implement GetRegisteredDisposeScripts()

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

16 years agoimplement GetRegisteredHiddenFields
Igor Zelmanovich [Thu, 3 Jan 2008 09:22:59 +0000 (09:22 -0000)]
implement GetRegisteredHiddenFields

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

16 years agoencode ExpandoAttribute if need.
Igor Zelmanovich [Thu, 3 Jan 2008 08:58:29 +0000 (08:58 -0000)]
encode ExpandoAttribute if need.

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

16 years agoinitialize wrapped list if need
Igor Zelmanovich [Thu, 3 Jan 2008 08:33:07 +0000 (08:33 -0000)]
initialize wrapped list if need

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

16 years ago* xpidl2cs.pl: Add more type conversions, don't output return
Andreia Gaita [Thu, 3 Jan 2008 02:42:19 +0000 (02:42 -0000)]
* xpidl2cs.pl: Add more type conversions, don't output return
parameters if method returns void, tweak parent interface parsing

2008-01-03  Andreia Gaita  <avidigal@novell.com>

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

16 years agoJAVAEE post build step change
Roei Erez [Wed, 2 Jan 2008 21:30:52 +0000 (21:30 -0000)]
JAVAEE post build step change

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

16 years ago2008-01-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 2 Jan 2008 20:52:10 +0000 (20:52 -0000)]
2008-01-02  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: added a wrapper class for server-side script
snippets, to keep track of locations.
Store main directive location for later use in DirectiveLocation
internal property.
2008-01-02  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: add line pragma wherever necessary.

* PageCompiler.cs: reorder the statements to match MS.NET output.
Output line pragma information for directive attributes.

* BaseCompiler.cs: add a set of AddLinePragma methods for various
CodeDOM elements.
Output line pragmas when adding server-side scripts to the CodeDOM
tree.

* AspGenerator.cs: use ServerSideScript to store script location
in the original file.

* UserControlCompiler.cs: output line pragmas for the init
method.

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 17:34:34 +0000 (17:34 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* RC2CryptoServiceProviderTest.cs: Fix Create[De|En]cryptor_KeyNull
test case not to fail about 1 out of 256 times under the 2.0 profile.
* TripleDESCryptoServiceProviderTest.cs: Fix Create[De|En]cryptor_KeyNull
test case not to fail about 1 out of 256 times under the 2.0 profile.

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

16 years agoimplement GetRegisteredExpandoAttributes()
Igor Zelmanovich [Wed, 2 Jan 2008 16:46:51 +0000 (16:46 -0000)]
implement GetRegisteredExpandoAttributes()

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

16 years agouse old flag for backward compat
Konstantin Triger [Wed, 2 Jan 2008 16:36:36 +0000 (16:36 -0000)]
use old flag for backward compat

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

16 years agoimplement GetRegisteredArrayDeclarations()
Igor Zelmanovich [Wed, 2 Jan 2008 15:33:23 +0000 (15:33 -0000)]
implement GetRegisteredArrayDeclarations()

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 15:17:59 +0000 (15:17 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* SecureStringTest.cs: Add test case for InsertAt (#350820)

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 15:14:10 +0000 (15:14 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* SecureString.cs: Fix InsertAt buffer calculation. Fix #350820

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

16 years agomake it compatible with Sys.Web.Extensions scripts
Igor Zelmanovich [Wed, 2 Jan 2008 15:04:04 +0000 (15:04 -0000)]
make it compatible with Sys.Web.Extensions scripts

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 14:44:42 +0000 (14:44 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* SecureStringTest.cs: Add test cases for Copy (#350840)

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

16 years ago2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Jan 2008 14:44:00 +0000 (14:44 -0000)]
2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>

* SecureString.cs: Don't forget length in Copy. Fix #350840

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

16 years ago* xpidl2cs.pl: Add support for getting idls from other paths, fix
Andreia Gaita [Wed, 2 Jan 2008 14:32:28 +0000 (14:32 -0000)]
* xpidl2cs.pl: Add support for getting idls from other paths, fix
script name bug.

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

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

16 years agoadded stubs for missing public API,
Igor Zelmanovich [Wed, 2 Jan 2008 14:19:16 +0000 (14:19 -0000)]
added stubs for missing public API,
source formatting

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

16 years agoadded new classes.
Igor Zelmanovich [Wed, 2 Jan 2008 14:10:01 +0000 (14:10 -0000)]
added new classes.

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

16 years agoadded new classes.
Igor Zelmanovich [Wed, 2 Jan 2008 14:07:48 +0000 (14:07 -0000)]
added new classes.

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

16 years ago2008-01-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 2 Jan 2008 10:38:28 +0000 (10:38 -0000)]
2008-01-02  Marek Habersack  <mhabersack@novell.com>

* Array.cs: fix a typo to unbreak the build.

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

16 years ago* HttpContext.cs: added resource manager caching in GetResourceObject
Vladimir Krasnov [Wed, 2 Jan 2008 10:16:34 +0000 (10:16 -0000)]
* HttpContext.cs: added resource manager caching in GetResourceObject
* HttpContext.jvm.cs: added resourceManagerCache storing in appdomain

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

16 years agoArray.cs: Slight improvement to the quicksort algorithm.
Scott Thomas [Wed, 2 Jan 2008 06:02:32 +0000 (06:02 -0000)]
Array.cs: Slight improvement to the quicksort algorithm.

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

16 years ago2008-01-01 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 1 Jan 2008 15:01:58 +0000 (15:01 -0000)]
2008-01-01 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs:
make SubmitDisabledControls and SetFocus works in multiform environment

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

16 years ago* codegen.cs: Allow AssemblyVersion with only major version component.
Gert Driesen [Tue, 1 Jan 2008 13:37:53 +0000 (13:37 -0000)]
* codegen.cs: Allow AssemblyVersion with only major version component.
Fixes bug #351055.
* test-607.cs: test for bug #351055.

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

16 years agoPage.ClientScript.RegisterForEventValidation is called from render phase
Igor Zelmanovich [Tue, 1 Jan 2008 13:36:06 +0000 (13:36 -0000)]
Page.ClientScript.RegisterForEventValidation is called from render phase

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

16 years ago* DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding expiration timespan
Vladimir Krasnov [Tue, 1 Jan 2008 12:49:43 +0000 (12:49 -0000)]
* DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding expiration timespan

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

16 years agotypo fix
Igor Zelmanovich [Tue, 1 Jan 2008 12:04:47 +0000 (12:04 -0000)]
typo fix

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

16 years agoResponseStateManager.getTreeStructureToRestore is called
Igor Zelmanovich [Tue, 1 Jan 2008 12:01:39 +0000 (12:01 -0000)]
ResponseStateManager.getTreeStructureToRestore is called
for compatibility with sun implementation.

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

16 years agofixed exception handling for TARGET_J2EE
Igor Zelmanovich [Tue, 1 Jan 2008 11:59:53 +0000 (11:59 -0000)]
fixed exception handling for TARGET_J2EE

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

16 years agomove JSF init to the Servlet.init
Konstantin Triger [Tue, 1 Jan 2008 09:58:22 +0000 (09:58 -0000)]
move JSF init to the Servlet.init

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

16 years agoupgrade to 3.5 version
Igor Zelmanovich [Tue, 1 Jan 2008 09:26:56 +0000 (09:26 -0000)]
upgrade to 3.5 version

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

16 years agoremoved #if NET_3_5,
Igor Zelmanovich [Tue, 1 Jan 2008 09:20:53 +0000 (09:20 -0000)]
removed #if NET_3_5,
upgraded to 3.5 version instead

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

16 years ago2007-12-31 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 1 Jan 2008 01:23:00 +0000 (01:23 -0000)]
2007-12-31  Jonathan Chambers  <joncham@gmail.com>

* mono.sln, libmono.vcproj, mono.vcproj, mono.def: Update .def
file and fix some eglib target settings.

Contributed under MIT/X11 license.

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

16 years ago2007-12-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 31 Dec 2007 20:49:12 +0000 (20:49 -0000)]
2007-12-31  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (token_bounds_check): added.

* verify.c (do_ldftn): added.

* verify.c (mono_method_verify): proper verificartion of ldftn.

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

16 years ago2007-12-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 31 Dec 2007 20:43:43 +0000 (20:43 -0000)]
2007-12-31 Rodrigo Kumpera <rkumpera@novell.com>

* invalid_ldftn_invalid_token_out_of_bounds.il: added.

* invalid_ldftn_invalid_token_type.il: added.

* make_ldftn_test.sh: added.

* make_test.sh: new tests for ldftn.

* AssemblyRunner.cs: added BadImageFormatException
to the list of invalid code errors. Removed
some dead code and an useless message.

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

16 years ago2007-12-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 31 Dec 2007 19:41:26 +0000 (19:41 -0000)]
2007-12-31  Rodrigo Kumpera  <rkumpera@novell.com>

* invalid-token.il, Makefile.am: Add test for loading
invalid tokens.

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

16 years ago2007-12-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 31 Dec 2007 18:35:12 +0000 (18:35 -0000)]
2007-12-31  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata.c (mono_metadata_decode_row): Assert if index is bigger
than the table row count. It's the resposibility of the caller to
make the bounds check and raise the correct error.

* metadata.c (mono_metadata_decode_row_col): Same.

* loader.c (mono_get_method_from_token): perform bounds check
on token for methoddef table.

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

16 years agomove RenderKitFactory to the base
Konstantin Triger [Mon, 31 Dec 2007 16:27:36 +0000 (16:27 -0000)]
move RenderKitFactory to the base

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

16 years agoformatting; use mainsoft.web.portal.multiform for isMultiForm decision
Konstantin Triger [Mon, 31 Dec 2007 16:16:03 +0000 (16:16 -0000)]
formatting; use mainsoft.web.portal.multiform for isMultiForm decision

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

16 years agoIn tests:
Rodrigo Kumpera [Mon, 31 Dec 2007 14:46:06 +0000 (14:46 -0000)]
In tests:
2007-12-31  Rodrigo Kumpera <rkumpera@novell.com>

* test-emitbyte.il: new test for .emitbyte directive

In codegen:
2007-12-31  Rodrigo Kumpera  <rkumpera@novell.com>

* EmiteByteInst.cs: added. Implements support
for the .emitbyte directive.

In .:
2007-12-31  Rodrigo Kumpera <rkumpera@novell.com>

* ilasm.exe.sources: added EmiteByteInst.cs.

In parser:
2007-12-31  Rodrigo Kumpera <rkumpera@novell.com>

* ILParser.jay: Implement .emitbyte directive

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

16 years agoIn codegen:
Rodrigo Kumpera [Mon, 31 Dec 2007 14:35:05 +0000 (14:35 -0000)]
In codegen:
2007-12-31  Rodrigo Kumpera  <rkumpera@novell.com>

* SwitchInstr.cs (Emit): Switch from using strings
to LabelInfo.

In parser:
2007-12-31  Rodrigo Kumpera  <rkumpera@novell.com>
* ILParser.jay: Create LabelInfo instances for switch labels,
this allows the code generator to spot invalid labels.
Fixes #350480.

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

16 years agoadd missing ';' in java script
Konstantin Triger [Mon, 31 Dec 2007 12:57:07 +0000 (12:57 -0000)]
add missing ';' in java script

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

16 years agoadjust rest services for 3.5 versions of client scripts
Igor Zelmanovich [Mon, 31 Dec 2007 12:29:04 +0000 (12:29 -0000)]
adjust rest services for 3.5 versions of client scripts

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

16 years ago* corlib_test.dll.sources: added Consts.cs.
Gert Driesen [Mon, 31 Dec 2007 10:34:33 +0000 (10:34 -0000)]
* corlib_test.dll.sources: added Consts.cs.

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

16 years ago* Consts.cs.in: Add corlib assembly name.
Gert Driesen [Mon, 31 Dec 2007 10:33:25 +0000 (10:33 -0000)]
* Consts.cs.in: Add corlib assembly name.

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

16 years agorefactored thread abort handling
Vladimir Krasnov [Mon, 31 Dec 2007 09:52:20 +0000 (09:52 -0000)]
refactored thread abort handling

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

16 years agofixed test
Igor Zelmanovich [Mon, 31 Dec 2007 09:13:27 +0000 (09:13 -0000)]
fixed test

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

16 years agoremoved TARGET_JVM
Igor Zelmanovich [Mon, 31 Dec 2007 09:12:55 +0000 (09:12 -0000)]
removed TARGET_JVM

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

16 years ago* Cache.cs: added DependencyCache property, a cache object for creating dependencies
Vladimir Krasnov [Mon, 31 Dec 2007 08:57:46 +0000 (08:57 -0000)]
* Cache.cs: added DependencyCache property, a cache object for creating dependencies
* DataSourceCacheManager.cs: fixed SetCachedObject, fixed CacheDependency keys
* HttpRuntime.cs: fixed HttpRuntime, added Cache.DependencyCache initialization

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

16 years ago2007-12-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 31 Dec 2007 05:16:19 +0000 (05:16 -0000)]
2007-12-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* CurrencyManagerTest.cs: In AddNew test, also check that
CurrencyManager is firing the 2.0 ListChanged event, as well as
passing the right ListChangedEventArgs.

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

16 years ago2007-12-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 31 Dec 2007 05:10:44 +0000 (05:10 -0000)]
2007-12-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
an item in the IBindingList source changes with
ListChangedType.ItemAdded. Ignore for now firing the event for other
changes, since we want to have tests for those cases as well.

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

16 years ago2007-12-30 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Sun, 30 Dec 2007 18:26:19 +0000 (18:26 -0000)]
2007-12-30  Andreia Gaita <avidigal@novell.com>

* build-csproj2k5: added output types
* SWF2K5.csproj: Updated project

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

16 years ago* System.Web.dll.sources: added AspNetDBSchemaChecker.cs
Vladimir Krasnov [Sun, 30 Dec 2007 16:07:38 +0000 (16:07 -0000)]
* System.Web.dll.sources: added AspNetDBSchemaChecker.cs
* System.Web20.csproj: added AspNetDBSchemaChecker.cs
* SqlProfileProvider.cs: added db schema checking
* SqliteMembershipProvider.cs, SqlRoleProvider.cs: added chema checking
* added AspNetDBSchemaChecker.cs: schema checker helper class

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

16 years ago2007-12-30 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 30 Dec 2007 13:26:06 +0000 (13:26 -0000)]
2007-12-30  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/CilWorker.cs:
Check for null arguments. Fix #350857.

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

16 years agoadded 3.5 version
Igor Zelmanovich [Sun, 30 Dec 2007 13:22:28 +0000 (13:22 -0000)]
added 3.5 version

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

16 years agoUpdateProgress resolve ClienID of associated UpdatePanel
Igor Zelmanovich [Sun, 30 Dec 2007 12:47:24 +0000 (12:47 -0000)]
UpdateProgress resolve ClienID of associated UpdatePanel

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

16 years agoOutputStreamWrapper is cached.
Igor Zelmanovich [Sun, 30 Dec 2007 11:07:04 +0000 (11:07 -0000)]
OutputStreamWrapper is cached.

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

16 years agofixed end lines
Igor Zelmanovich [Sun, 30 Dec 2007 11:06:23 +0000 (11:06 -0000)]
fixed end lines

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

16 years agooops, sorry about this; Thanks Robert for pointing this out
Miguel de Icaza [Sun, 30 Dec 2007 04:56:21 +0000 (04:56 -0000)]
oops, sorry about this;   Thanks Robert for pointing this out

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

16 years ago2007-12-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 29 Dec 2007 22:05:43 +0000 (22:05 -0000)]
2007-12-29  Miguel de Icaza  <miguel@novell.com>

* icall.c
(ves_icall_System_CurrentSystemTimeZone_GetTimeZoneData): Turn the
assert into a negative result, the managed code already coped with
that.

Some folks on Windows reported this error.

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

16 years ago* TypeBuilderTest.cs: Added tests for GetConstructor(s), GetEvent(s),
Gert Driesen [Sat, 29 Dec 2007 13:19:10 +0000 (13:19 -0000)]
* TypeBuilderTest.cs: Added tests for GetConstructor(s), GetEvent(s),
GetField(s), GetPropert(y/ies) and GetMethod(s) that verify our
behavior for inherited members. Most of these are marked NotWorking
until bug #322762 is fixed.

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

16 years ago2007-12-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Dec 2007 13:07:57 +0000 (13:07 -0000)]
2007-12-29  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_get_delegate_invoke_impl): Fix flushing of icache.

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

16 years ago2007-12-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 29 Dec 2007 11:16:44 +0000 (11:16 -0000)]
2007-12-29  Marek Safar  <marek.safar@gmail.com>

A test for bug #324654

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

16 years ago2007-12-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 29 Dec 2007 11:16:00 +0000 (11:16 -0000)]
2007-12-29  Marek Safar  <marek.safar@gmail.com>

A fix for bug #324654
  * class.cs: Use FullName property as member name.

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

16 years ago* BinaryFormatterTest.cs: Added test for inherited fields. Code formatting.
Gert Driesen [Sat, 29 Dec 2007 09:36:10 +0000 (09:36 -0000)]
* BinaryFormatterTest.cs: Added test for inherited fields. Code formatting.

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

16 years ago* ExternalExceptionTest.cs: Improved ctor test.
Gert Driesen [Sat, 29 Dec 2007 08:54:31 +0000 (08:54 -0000)]
* ExternalExceptionTest.cs: Improved ctor test.

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

16 years ago* xpidl2cs.pl: Generates c# interfaces from xpcom (mozilla)
Andreia Gaita [Fri, 28 Dec 2007 22:42:29 +0000 (22:42 -0000)]
* xpidl2cs.pl: Generates c# interfaces from xpcom (mozilla)
idl files.
From a given idl file, generates the corresponding cs file,
and recursively generates all the parents up to nsISupports.
Also generates all related interfaces that are used on methods
and properties.

2007-12-28  Andreia Gaita  <avidigal@novell.com>

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

16 years ago2007-12-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 28 Dec 2007 20:19:43 +0000 (20:19 -0000)]
2007-12-28  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
created.

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

16 years ago2007-12-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 19:55:02 +0000 (19:55 -0000)]
2007-12-28  Marek Safar  <marek.safar@gmail.com>

A test for bug #342117

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

16 years ago2007-12-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 19:54:07 +0000 (19:54 -0000)]
2007-12-28  Marek Safar  <marek.safar@gmail.com>

A fix for bug #342117
  * gegneric.cs (ConstraintChecker): Struct constraint also satisfies default
constructor constraint.

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

16 years ago2007-12-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 28 Dec 2007 17:41:46 +0000 (17:41 -0000)]
2007-12-28  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxTextRenderer.cs: Implement a cache for measuring each
character.  This is effective because the typical usage of a
TextBox is with a limited amount of fonts and characters, and
the current implementation of TextBox measures everything one
character at a time.  Another second or two speedup for bug #347238.

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

16 years ago2007-12-28 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Fri, 28 Dec 2007 16:40:17 +0000 (16:40 -0000)]
2007-12-28  Everaldo Canuto  <ecanuto@novell.com>

* configure.in: Add support for oprofile.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 16:40:11 +0000 (16:40 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A test for bug #338273

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 16:39:44 +0000 (16:39 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #338273
  * class.cs (ProbertyBase): Access modifier checks are required for overrides
  only.

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

16 years ago2007-12-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 28 Dec 2007 16:20:47 +0000 (16:20 -0000)]
2007-12-28  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Rewrite the Font getter to only query the parent's
Font property once instead of twice.  Since this operation is
recursive, the queries were growing exponentially as the control
tree got deeper.  Another second or two speedup for bug #347238.

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

16 years ago2007-12-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 28 Dec 2007 16:11:38 +0000 (16:11 -0000)]
2007-12-28  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Avoid setting a parent (and more importantly, updating
the zorder of all its children) if the parent is already correct in
WmShowWindow.  Decreases the startup time of the test case on bug
#347238 from 35 seconds to 11 seconds.

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

16 years agoNew test.
Marek Safar [Fri, 28 Dec 2007 12:42:25 +0000 (12:42 -0000)]
New test.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 12:40:29 +0000 (12:40 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #350839
  * ecore.cs (MethodroupExpr): Probing hacks are no longer required.

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

16 years ago2007-12-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Dec 2007 08:42:21 +0000 (08:42 -0000)]
2007-12-28  Atsushi Enomoto  <atsushi@ximian.com>

* ThreadTest.cs : made couple of tests fail under Windows and made
  corlib tests run without timtout.

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

16 years ago* driver.cs: Ignore the /nologo option instead of considering it to
Gert Driesen [Fri, 28 Dec 2007 08:27:35 +0000 (08:27 -0000)]
* driver.cs: Ignore the /nologo option instead of considering it to
be part of the assembly (file) name. Modified Uninstall to take ref
arguments for number of uninstalled assemblies and number of failures,
and bool for indicating whether it's being executed in list mode.
Depending on the command, report the number of assemblies that were
processed, uninstalled, installed and the number of failures. Updated
failure messages for install command to include path of assembly that
is being installed. In Uninstall, only increment failure count for a
no-match condition and only process first match when executing in list
mode. In InstallFromList and UninstallFromList, skip lines containing
only whitespace characters. In non-list mode, the uninstall command
reports success if there are no matches for the specified assembly
name. In list-mode, the uninstall command reports an error if there's
no match for at least one of the specified assembly names. The version
number of the assembly - that you want to uninstall or for which you
want a list of assemblies that are in the GAC - can be partial and
will then match the version numbers starting with that text. Removed
unused CombinePatchs method.

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

16 years ago* appdomain.c: Bump corlib version.
Gert Driesen [Fri, 28 Dec 2007 08:23:48 +0000 (08:23 -0000)]
* appdomain.c: Bump corlib version.
* icall.c:
(ves_icall_System_Reflection_Assembly_GetReferencedAssemblies): Use
CultureInfo.CreateCulture to create CultureInfo for name.
(fill_reflection_assembly_name): Use CultureInfo.CreateCulture to
create CultureInfo for name. Fixes bug #347174.

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

16 years ago* Environment.cs: Bump corlib version.
Gert Driesen [Fri, 28 Dec 2007 08:23:03 +0000 (08:23 -0000)]
* Environment.cs: Bump corlib version.
* CultureInfo.cs: Added internal CreateCulture method, which is used
by the runtime to creating CultureInfo instances for AssemblyName.
* AssemblyNameTest.cs: Improved culture test to cover bug #347174.
* Descriptors/mscorlib.xml: Preserve all for CultureInfo to prevent
linker from removing CreateCulture method that is only used by the
runtime.

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

16 years ago2007-12-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Dec 2007 05:23:45 +0000 (05:23 -0000)]
2007-12-28  Atsushi Enomoto  <atsushi@ximian.com>

* ThreadTest.cs : marked TestStart() as NotDotNet. It hangs.

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

16 years ago2007-12-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 28 Dec 2007 01:26:50 +0000 (01:26 -0000)]
2007-12-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Dnd.cs: When the dnd operation has started and we are
in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
This is done to match .Net, which doesn't send those messages after
dnd operation was completed/cancelled.
Fixes #349922.

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

16 years ago2007-12-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 28 Dec 2007 00:51:57 +0000 (00:51 -0000)]
2007-12-28  Marek Habersack  <mhabersack@novell.com>

* PageCompiler.cs: MS.NET compatibility: added the
__fileDependencies object to the generated class.
Refactored the output to match MS.NET more closely.
IHttpHandler or IHttpAsyncHandler are now added to the generated
class list of implemented interfaces.

* BaseCompiler.cs: Main class field references are prefixed with
'global::' now.
Refactored the output to match MS.NET more closely.

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

16 years ago2007-12-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 28 Dec 2007 00:40:31 +0000 (00:40 -0000)]
2007-12-28  Zoltan Varga  <vargaz@gmail.com>

* MemoryStreamTest.cs: Add new test.

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

16 years ago2007-12-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 28 Dec 2007 00:39:33 +0000 (00:39 -0000)]
2007-12-28  Zoltan Varga  <vargaz@gmail.com>

* MemoryStream.cs: Fix crash if internalBuffer is null. Avoid calling
unsafe icalls. Fixes #350860.

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

16 years ago2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 27 Dec 2007 22:46:27 +0000 (22:46 -0000)]
2007-12-27  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: added IL_CODE_FLAG_STACK_INITED and IL_CODE_STACK_MERGED
flags.

* verify.c (is_valid_branch_instruction): allow branching to the
first instruction of the protected block.

* verify.c (is_valid_cmp_branch_instruction): same.

* verify.c (stack_init): use IL_CODE_FLAG_STACK_INITED flag to
avoid double initialization.

* verify.c (merge_stacks): use IL_CODE_STACK_MERGED to
detect which cases the eval stack should just be copied.

* verify.c (mono_method_verify): check if the eval stack
is empty when entering a protected block.

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

16 years ago2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 27 Dec 2007 21:53:21 +0000 (21:53 -0000)]
2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>

* invalid_non_empty_stack_at_try_begin.il: added.

* valid_branch_to_first_intruction_of_try.il: added.

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

16 years ago2007-12-27 AdTsai (http://code.google.com/u/AdTsai/)
Miguel de Icaza [Thu, 27 Dec 2007 21:09:23 +0000 (21:09 -0000)]
2007-12-27  AdTsai (code.google.com/u/AdTsai/)

Reviewed by Ben Maurer, Miguel de Icaza, patches from Google's
GHOP:

http://code.google.com/p/google-highly-open-participation-mono/issues/detail?id=4

* statement.cs: Changed some Hashtables to use HybridDictionaries
instead. It was observed that some HashTables only contained a few
items in the vast majority of cases. Since HybridDictionary is
more efficient on small sets (<10 elements), "known_variables"
from class ExplicitBlock as well as "labels" and "constants " from
class Block were changed to HybridDictionaries.

Atsai results: (56216kb->54987kb)

Miguel results (bootstrap of mcs): 59819kb -> 59290kb

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

16 years agoForgot
Miguel de Icaza [Thu, 27 Dec 2007 20:56:05 +0000 (20:56 -0000)]
Forgot

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

16 years ago2007-12-27 AdTsai (http://code.google.com/u/AdTsai/)
Miguel de Icaza [Thu, 27 Dec 2007 20:54:16 +0000 (20:54 -0000)]
2007-12-27  AdTsai (code.google.com/u/AdTsai/)

Reviewed by Ben Maurer, Miguel de Icaza, patches from Google's
GHOP:

http://code.google.com/p/google-highly-open-participation-mono/issues/detail?id=4

* expression.cs: foreach loop to for loop, saved on allocation of
enumerator (59333kb->59141kb)

* statement.cs. Changed foreach loops to for loops, saved on
allocation of enumerator (59141kb->59006kb)

* decl.cs: ArrayLists in .NET 1.1 allocate 16 elements by default
when constructed with no specified capacity. This was causing a
few ArrayLists to allocate more memory than they would potentially
need in the Block class and MemberCache class. Setting the
ArrayLists to construct with a capacity of 1 saves some
memory. (56216kb->55585kb)

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

16 years agoproperly override NameValueCollection to support interop with it
Konstantin Triger [Thu, 27 Dec 2007 18:51:37 +0000 (18:51 -0000)]
properly override NameValueCollection to support interop with it

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