mono.git
16 years ago2008-01-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 4 Jan 2008 20:26:26 +0000 (20:26 -0000)]
2008-01-03  Jonathan Pobst  <monkey@jpobst.com>

* LineTag.cs: If the line doesn't have any characters, return
0 for GetCharIndex.  Fixes an AOORE exception after certain
caret movements.  Fixes bug #351683.

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

16 years ago2008-01-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jan 2008 17:48:46 +0000 (17:48 -0000)]
2008-01-04  Marek Safar  <marek.safar@gmail.com>

A test for bug #351481

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

16 years agoNew test.
Marek Safar [Fri, 4 Jan 2008 17:48:00 +0000 (17:48 -0000)]
New test.

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

16 years ago2008-01-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jan 2008 17:47:48 +0000 (17:47 -0000)]
2008-01-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #351481
  * expression.cs (MemberAccess.ResolveNamespaceOrType): Use correct
  declaring type for nested generic types.

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

16 years agoNew test
Marek Safar [Fri, 4 Jan 2008 15:33:31 +0000 (15:33 -0000)]
New test

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

16 years ago2008-01-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jan 2008 15:31:58 +0000 (15:31 -0000)]
2008-01-04  Marek Safar  <marek.safar@gmail.com>

  * namespace.cs, class.cs, decl.cs, cs-parser.jay: Use GetSignatureForError
  instead of ToString.

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

16 years ago2008-01-04 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 4 Jan 2008 15:27:30 +0000 (15:27 -0000)]
2008-01-04  Dick Porter  <dick@ximian.com>

* versioninfo.c (VerQueryValue): Returned buffer length counts
chars not bytes for string data.  Fixes bug 345972 again.
(get_enclosing_section_header): Make sure values read are treated
as LE.  Fixes crash on ppc reported in bug 345972.

2008-01-04  Dick Porter  <dick@ximian.com>

* process.c (process_module_string_read): Rename variable to
reflect correct usage, after fixing bug 345972.

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

16 years ago2008-01-04 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 4 Jan 2008 15:26:08 +0000 (15:26 -0000)]
2008-01-04  Dick Porter  <dick@ximian.com>

* Makefile.am: Make it work on automake-1.6

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

16 years ago2008-01-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 4 Jan 2008 15:11:57 +0000 (15:11 -0000)]
2008-01-03  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Apply patch from Luke Page so when backspace
is hit when there is selected text, only the selected text gets
deleted, not the character in front of the selection as well.
Fixes bug #351578.

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

16 years ago2008-01-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jan 2008 14:07:46 +0000 (14:07 -0000)]
2008-01-04  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/CilWorker.cs:
Allow ldarg/ldloc/stloc to take a integer
instead of the actual parameter or variable. Fix #350606.

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

16 years ago2008-01-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jan 2008 12:47:39 +0000 (12:47 -0000)]
2008-01-04  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/DefaultImporter.cs:
  Mono.Cecil/ReflectionHelper.cs:
Properly import nested types. Fix #351133.

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

16 years ago2008-01-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 4 Jan 2008 06:45:30 +0000 (06:45 -0000)]
2008-01-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: When the values are displayed, calculate the
ComboListBox scrollbar's LargeChange based on the visible area's
height and  the actuall ItemHeight, instead of calculating it
based on MaxDropItems value, since it's not used by our _current_
2.0 profile.
Fixes #332366.

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

16 years ago2008-01-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 4 Jan 2008 03:25:58 +0000 (03:25 -0000)]
2008-01-03  Jonathan Pobst  <monkey@jpobst.com>

* Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
Patch from Luke Page that fixes issues with font colors and styles
not showing up in a readonly RichTextBox.  Fixes bug #324354.

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

16 years ago2008-01-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 4 Jan 2008 01:15:44 +0000 (01:15 -0000)]
2008-01-03  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_type_create_fnptr_from_mono_method):
created a MonoType function pointer instance to be used during
verification. The verifier releases this memory at end.

* verify.c (mono_method_is_constructor): extracted repeated
checks for constructor into a single class.

* verify.c (do_push_field): use new extracted method
for constructor check.

* verify.c (do_newobj): same.

* verify.c (do_ldftn): renamed to do_load_function_ptr
and make it verify ldvirtftn too.

* verify.c (mono_method_verify: proper verification
of ldvirtftn. release created MonoMethod instances.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 4 Jan 2008 00:30:05 +0000 (00:30 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * ReflectionPropertyDescriptor.cs: Create Transactions with
        descriptions when setting/resetting the property.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 4 Jan 2008 00:02:56 +0000 (00:02 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * UndoEngine.cs: implemented.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 4 Jan 2008 00:00:11 +0000 (00:00 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * CodeDomComponentSerializationService.cs: implemented.
        * ComponentCodeDomSerializer.cs, CollectionCodeDomSerializer.cs,
        CodeDomSerializerBase.cs, CodeDomSerializer.cs,
        EventCodeDomSerializer.cs, RootCodeDomSerializer.cs,
        PropertyCodeDomSerializer.cs:
         - Change the serialization process logic not to require an
         ExpressionContext for full serialization of a component/instance.
         - Provide statement ordering hints for the RootCodeDomSerializer.
        * DesignerSerializationManager.cs: try-catch around
        * CreateInstance just in case.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 3 Jan 2008 23:45:41 +0000 (23:45 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * CodeDomDesignerLoader.cs: Check for duplicate names in
        IsValidName.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 3 Jan 2008 23:36:07 +0000 (23:36 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * ParentControlDesigner.cs: Create a Transaction when adding a
        component.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 3 Jan 2008 23:30:49 +0000 (23:30 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * DesignerHost.cs: Fix lastTransaction to be set properly.
        Handle current != raiser transaction commit case.

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

16 years ago2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 3 Jan 2008 23:22:55 +0000 (23:22 -0000)]
2008-01-04  Ivan N. Zlatev  <contact@i-nz.net>

        * SelectionService.cs: Remove the component from the current
        selection if it gets removed from the surface.

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

16 years ago2008-01-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 3 Jan 2008 22:33:45 +0000 (22:33 -0000)]
2008-01-03 Rodrigo Kumpera <rkumpera@novell.com>

* invalid_ldvirtftn_invalid_token_type.il: added.

* make_ldvirtftn_test.sh: added.

* invalid_ldvirtftn_invalid_token_out_of_bounds.il: added.

* make_ldftn_test.sh: changed to allow more tests.

* make_tests.sh: added new tests for ldvirtftn and
a buch more for ldftn.

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

16 years agoIn codegen:
Rodrigo Kumpera [Thu, 3 Jan 2008 21:52:54 +0000 (21:52 -0000)]
In codegen:
2008-01-03  Rodrigo Kumpera  <rkumpera@novell.com>

* EmiteByteInstr.cs: Fixed typo in class name.

In parser:
2008-01-03  Rodrigo Kumpera <rkumpera@novell.com>

* ILParser.jay: Fixed typo in EmitByteInstr class name.

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

16 years ago2008-01-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jan 2008 19:05:50 +0000 (19:05 -0000)]
2008-01-03  Zoltan Varga  <vargaz@gmail.com>

* Thread.cs (set_CurrentCulture): Avoid the serialization overhead if
the new culture is equal to the old one.

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

16 years ago* Component.cs: Moved Site property before Container to match MS. This
Gert Driesen [Thu, 3 Jan 2008 18:53:19 +0000 (18:53 -0000)]
* Component.cs: Moved Site property before Container to match MS. This
allows a unit test for ordered result of TypeDescriptor.GetProperties
to pass.
* TypeDescriptorProperties.cs: added test for order of
PropertyDescriptor instances returned by GetProperties.

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

16 years agoNew test.
Marek Safar [Thu, 3 Jan 2008 17:56:08 +0000 (17:56 -0000)]
New test.

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

16 years agoUpdate for latest changes in Grasshopper
Noam Lampert [Thu, 3 Jan 2008 17:50:13 +0000 (17:50 -0000)]
Update for latest changes in Grasshopper

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

16 years agofixed RegisterStartupScript
Igor Zelmanovich [Thu, 3 Jan 2008 17:43:09 +0000 (17:43 -0000)]
fixed RegisterStartupScript

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

16 years agoNew test.
Marek Safar [Thu, 3 Jan 2008 17:34:02 +0000 (17:34 -0000)]
New test.

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

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

A test for bug #351047

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

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

A fix for bug #351047
  * expression.cs (Binary.ResolveOperator): Allow equality operators between
  null and structs only when equality and inequality operators are defined
  either as an user-operators or predefined operators.

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

16 years agoUpdate project files for latest changes in Grasshopper.
Noam Lampert [Thu, 3 Jan 2008 17:20:42 +0000 (17:20 -0000)]
Update project files for latest changes in Grasshopper.

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

16 years ago2008-01-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 3 Jan 2008 16:46:00 +0000 (16:46 -0000)]
2008-01-03  Jonathan Pobst  <monkey@jpobst.com>

* Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
from Luke Page.  This one fixes bug #349926.

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

16 years agorevert version to 1.0.61025.0
Igor Zelmanovich [Thu, 3 Jan 2008 16:30:09 +0000 (16:30 -0000)]
revert version to 1.0.61025.0

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

16 years ago* TypeDescriptor.cs: fixed properties order in returning collections in PropertyDescr...
Vladimir Krasnov [Thu, 3 Jan 2008 16:25:53 +0000 (16:25 -0000)]
* TypeDescriptor.cs: fixed properties order in returning collections in PropertyDescriptorCollection

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

16 years agoNew test.
Marek Safar [Thu, 3 Jan 2008 14:42:56 +0000 (14:42 -0000)]
New test.

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

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

A fix for bug #351047
  * generic.cs, typemanager.cs, class.cs: New IsReferenceType helper method.

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

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