mono.git
16 years agorefactoring
Igor Zelmanovich [Thu, 27 Dec 2007 13:39:56 +0000 (13:39 -0000)]
refactoring

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

16 years ago2007-12-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 27 Dec 2007 12:47:04 +0000 (12:47 -0000)]
2007-12-27  Marek Habersack  <mhabersack@novell.com>

* ProfileGroupSettingsCollection.cs: added an internal method to
add/overwrite new group settings. Used from
RootProfilePropertySettingsCollection.

* ProfileGroupSettings.cs: added the missing "name" property to
the properties collection.
Marked the propertySettingsProp property as the default
collection.
Added internal deserialization method, used from
RootProfilePropertySettingsCollection to support the 'group'
element.

* ProfileSection.cs: defaultProviderProp typo - the name of the
provider should be "AspNetSqlProfileProvider"

* RootProfilePropertySettingsCollection.cs: added
OnDeseerializeUnrecognizedElement to support the profile 'group'
element.
Added a missing Unmerge method.

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

16 years ago2007-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Dec 2007 11:44:16 +0000 (11:44 -0000)]
2007-12-27  Atsushi Enomoto  <atsushi@ximian.com>

* XslCompiledTransform.cs : when loading XmlReader as an input to
  Transform(), preserve whitespaces in the input document. Based on
  the patch by Tor Lillqvist (part of #349375 fix).

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

16 years ago1. refactoring
Igor Zelmanovich [Thu, 27 Dec 2007 10:43:48 +0000 (10:43 -0000)]
1. refactoring
2. implement state management on session

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 10:42:46 +0000 (10:42 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A test for bug #343465

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 10:42:06 +0000 (10:42 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #343465
  * class.cs: Explicit method name for nested types uses dots only.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 09:59:45 +0000 (09:59 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #343707
  * cs-tokenizer.cs: Advance line number for mixed CR/LF files correctly.

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

16 years ago2007-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Dec 2007 09:55:13 +0000 (09:55 -0000)]
2007-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RncParser.jay, RncTokenizer.cs : some changes to fill element
  locations in *.rnc. To make it possible, added some overrides to
  pass BaseUri to Parse() and ParseRnc().
  Allow null nameTable (just create a new instance).

* RelaxngPattern.cs : (RelaxngInclude) when a relative Uri is
  specified as its BaseUri, make it into an absolute path and
  then resolve the URI.

* NvdlRelaxngSupport.cs : pass baseUri to RncParser.

* xmltool.cs : use absolute path as the base uri for *.rnc.

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

16 years agoNew tests.
Marek Safar [Thu, 27 Dec 2007 09:37:12 +0000 (09:37 -0000)]
New tests.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 09:36:47 +0000 (09:36 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

* ecore.cs: Report type inference errors only when arguments count matches
parameter count.

* generic.cs (NullCoalescingOperator): Cannot be applied to null.

  * expression.cs, report.cs: New warning.

  * typemanager.cs: Catch anonymous method type too.

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

16 years agorelease faces factories on shutdown
Konstantin Triger [Thu, 27 Dec 2007 08:54:38 +0000 (08:54 -0000)]
release faces factories on shutdown

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

16 years ago2007-12-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 22:43:39 +0000 (22:43 -0000)]
2007-12-27  Zoltan Varga  <vargaz@gmail.com>

* Thread.cs: Change the type of synch_cs to an IntPtr to be in synch with the
unmanaged definition.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 21:16:51 +0000 (21:16 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
Fixes ##345627.

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

16 years ago2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 26 Dec 2007 15:24:35 +0000 (15:24 -0000)]
2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>

* TraceContext.cs:
* TraceData.cs:
make trace considers control state info.

2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs:
* Page.cs:
make Trace considers control state info.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 15:23:50 +0000 (15:23 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_register_thread): Use the new GC_register_my_thread () routine
from GC 7.0 if available.

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

16 years agocorrect CreateActionUrl for not application paths
Konstantin Triger [Wed, 26 Dec 2007 15:02:47 +0000 (15:02 -0000)]
correct CreateActionUrl for not application paths

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 14:34:36 +0000 (14:34 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* object.c: Remove an unused define.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 14:16:39 +0000 (14:16 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_compute_gc_descriptor): Fix a warning.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 14:12:47 +0000 (14:12 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_make_descr_for_array): Implement.

* null-gc.c (mono_gc_make_descr_for_array): Implement.

* object.c (mono_class_compute_gc_descriptor): Remove an #ifdef SGEN_GC.

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

16 years agoFix web services test page in java build
Sasha Kogan [Wed, 26 Dec 2007 13:23:31 +0000 (13:23 -0000)]
Fix web services test page in java build

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

16 years agoMake sure test assembly is in classpath
Noam Lampert [Wed, 26 Dec 2007 10:12:29 +0000 (10:12 -0000)]
Make sure test assembly is in classpath

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

16 years agofixed/redesigned ScriptManagerProxy
Igor Zelmanovich [Wed, 26 Dec 2007 09:56:18 +0000 (09:56 -0000)]
fixed/redesigned ScriptManagerProxy

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 00:47:20 +0000 (00:47 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* gc-internal.h: Change the signature of mono_gc_make_descr_for_string ()
to take the same arguments as the other make_descr functions.

* boehm-gc.c null-gc.c: Add implementation for make_descr functions.

* objects.c: Get rid of the MAKE_DESCRIPTOR macros, call make_descr functions
directly.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 23:40:47 +0000 (23:40 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_base_init): Moved the setting of GC_stackbottom here from
mini.c.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 23:40:08 +0000 (23:40 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Move the setting of GC_stackbottom to mono_gc_base_init ().

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 23:06:04 +0000 (23:06 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_compute_gc_descriptor): Move the GC_init_gcj_malloc ()
call to boehm-gc.c.

* boehm-gc.c (mono_gc_register_root): Fix a warning.

* null-gc.c (mono_gc_register_root): Fix a warning.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 22:56:55 +0000 (22:56 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (ALLOC_REFENTRY): Use mono_gc_alloc_fixed for boehm as well.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 22:46:49 +0000 (22:46 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Call mono_gc_base_init () instead of MONO_GC_PRE_INIT ().

* driver.c (mono_main): Ditto.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 22:45:33 +0000 (22:45 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_register_root): Moved definition here from gc_wrapper.h.
(mono_gc_base_init): Call GC_init ().

* null-gc.c: Define mono_gc_register_root () as a no-op.

* domain.c appdomain.c: Call mono_gc_base_init () instead of MONO_GC_PRE_INIT ().

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 22:43:08 +0000 (22:43 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* gc_wrapper.h: Get rid of the MONO_GC_PRE_INIT () macro and unify definition
of MONO_GC_REGISTER_ROOT.

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

16 years agoImprove deployment in builder environment
Noam Lampert [Tue, 25 Dec 2007 16:12:43 +0000 (16:12 -0000)]
Improve deployment in builder environment

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

16 years agoUpgrade test suite due to jsf integration
Igor Zelmanovich [Tue, 25 Dec 2007 14:56:58 +0000 (14:56 -0000)]
Upgrade test suite due to jsf integration

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

16 years agoadded TARGET_J2EE
Igor Zelmanovich [Tue, 25 Dec 2007 14:53:49 +0000 (14:53 -0000)]
added TARGET_J2EE

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

16 years agodo the IHttpExtendedHandler analyzis ourselves
Konstantin Triger [Tue, 25 Dec 2007 14:52:20 +0000 (14:52 -0000)]
do the IHttpExtendedHandler analyzis ourselves

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

16 years ago1. refactoring
Igor Zelmanovich [Tue, 25 Dec 2007 14:32:18 +0000 (14:32 -0000)]
1. refactoring
2. make Jsf handler IServiceProvider

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

16 years ago2007-12-25 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 25 Dec 2007 11:02:14 +0000 (11:02 -0000)]
2007-12-25 Igor Zelmanovich <igorz@mainsoft.com>

* HttpApplication.cs: initialize culture each request.
makes it consider culture settings from nested web.config

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

16 years ago* PropertyDescriptorCollection.cs: optimized Find method, removed culture sensitive...
Vladimir Krasnov [Tue, 25 Dec 2007 10:17:47 +0000 (10:17 -0000)]
* PropertyDescriptorCollection.cs: optimized Find method, removed culture sensitive string comparison
* PropertyDescriptorCollectionTests.cs: added test for Find method

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

16 years agotypo - pass the correct property to Attribute.GetCustomAttribute; Pass oroginal excep...
Konstantin Triger [Tue, 25 Dec 2007 07:12:08 +0000 (07:12 -0000)]
typo - pass the correct property to Attribute.GetCustomAttribute; Pass oroginal exception as inner

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

16 years ago* Mono.Mozilla/DOM/DOMHTMLDocument.cs,
Andreia Gaita [Tue, 25 Dec 2007 05:01:57 +0000 (05:01 -0000)]
* Mono.Mozilla/DOM/DOMHTMLDocument.cs,
  Mono.Mozilla/DOM/DOMObject.cs
  Mono.Mozilla/DOM/Navigation.cs:

Properly dispose unmanaged resources.
Use native mozilla dom interfaces through com directly instead
of going through the glue, as they are now proxies that invoke
the methods on the main mozilla ui properly (avoiding threading problems).
Check if library was properly initialized.
Add Go method - implements navigation
directly through COM instead of going through the glue.

* Mono.Mozilla/interfaces/nsIWebNavigation.cs: Use typed flags instead of
generic uint32. Remove comments about threading (as it is now safe to use
this interface)

* Mono.Mozilla/Base.cs: Return bool on initialization so I can track if
library was properly initialized from the interfaces that go directly
through COM and not through the glue

* Mono.Mozilla/WebBrowser.cs: Save initialization result so interfaces
don't get called if the library was not initialized.

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

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

16 years ago2007-12-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 24 Dec 2007 19:55:08 +0000 (19:55 -0000)]
2007-12-24  Miguel de Icaza  <miguel@novell.com>

* WebClient.cs: Do not validate method to be null, we do not do
that in OpenWrite, the detection is done later on.

Fixes #350622

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

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

* verify.c: add prototype for merge_stacks at top

* verify.c (do_switch): added.

* verify.c (merge_stacks): on some cases the stack merging
was not happening properly. Unequal stack sizes at merge
points should be invalid.

* verify.c (mono_method_verify): added more debug info on stack state.
verify switch properly.

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

16 years ago2007-12-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Dec 2007 17:09:21 +0000 (17:09 -0000)]
2007-12-24 Rodrigo Kumpera <rkumpera@novell.com>

* make_switch_test.sh: new test generator.

* make_exception_branch_test.sh: the filter
handler did not pop the exception argument.

* make_tests.sh: add tests for switch.

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

16 years agoNew test for groups with same name. Fix for JvmReMachine.
Arina Itkes [Mon, 24 Dec 2007 15:40:41 +0000 (15:40 -0000)]
New test for groups with same name. Fix for JvmReMachine.

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

16 years agoupdate test with jsf implementation
Igor Zelmanovich [Mon, 24 Dec 2007 14:45:36 +0000 (14:45 -0000)]
update test with jsf implementation

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

16 years ago2007-12-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 24 Dec 2007 14:37:15 +0000 (14:37 -0000)]
2007-12-24  Ivan N. Zlatev  <contact@i-nz.net>

        * CodeDomSerializerBase.cs: Check for a public ctor with no
        * params
        before returning a CodeCreateObject.
        * CodeDomSerializer.cs: Handle null return value
        from SerializeCreationExpression

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

16 years ago2007-12-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 24 Dec 2007 14:31:58 +0000 (14:31 -0000)]
2007-12-24  Ivan N. Zlatev  <contact@i-nz.net>

        * DesignerHost.cs: Report Errors.

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

16 years ago2007-12-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 24 Dec 2007 14:31:14 +0000 (14:31 -0000)]
2007-12-24  Ivan N. Zlatev  <contact@i-nz.net>

        * CodeDomSerializerBase.cs:
         - Refactor deserialization error reporting.
         - Return a CodeExpression if DeserializeExpression fails.
         - Add support for variable deserialization.
        * CollectionCodeDomSerializer.cs: Report Errors.
        * ComponentCodeDomSerializer.cs: Report Errors.

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

16 years agoadd support for string concat (+)
Konstantin Triger [Mon, 24 Dec 2007 12:59:33 +0000 (12:59 -0000)]
add support for string concat (+)

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

16 years ago* CheckoutException.cs: Provide customized message and error code
Gert Driesen [Mon, 24 Dec 2007 10:22:40 +0000 (10:22 -0000)]
* CheckoutException.cs: Provide customized message and error code
(2.0 only) for Canceled. Call base ctor in default ctor.
* CheckoutExceptionTest.cs: Added test for ctors and Canceled.
* System_test.dll.sources: Added CheckoutExceptionTest.cs.

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

16 years ago2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 24 Dec 2007 09:42:34 +0000 (09:42 -0000)]
2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>

* TreeView.cs: revert changes from r91230

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

16 years ago CheckoutException should not be initialized with ErrorCode = 0 by default.
Arina Itkes [Mon, 24 Dec 2007 09:00:53 +0000 (09:00 -0000)]
 CheckoutException should not be initialized with ErrorCode = 0 by default.

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

16 years ago* added AppSettingsExpressionBuilder.cs to project
Vladimir Krasnov [Mon, 24 Dec 2007 07:49:46 +0000 (07:49 -0000)]
* added AppSettingsExpressionBuilder.cs to project

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

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

* method-builder.h: New file, moved the mono_mb_ declarations here from
marshal.h.

* boehm-gc.c marshal.c: Include method-builder.h.

* marshal.c: Use mono_mb_emit_branch_label () in a few places.

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

16 years ago2007-12-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Dec 2007 00:32:56 +0000 (00:32 -0000)]
2007-12-24  Zoltan Varga  <vargaz@gmail.com>

* method-builder.h: New file, moved the mono_mb_ declarations here from
marshal.h.

* boehm-gc.c marshal.c: Include method-builder.h.

* marshal.c: Use mono_mb_emit_branch_label () in a few places.

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

16 years ago2007-12-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Dec 2007 23:48:30 +0000 (23:48 -0000)]
2007-12-24  Zoltan Varga  <vargaz@gmail.com>

* marshal.c: Remove some code which is now in method-builder.c.

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

16 years ago2007-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Dec 2007 22:01:31 +0000 (22:01 -0000)]
2007-12-23  Zoltan Varga  <vargaz@gmail.com>

* method-builder.c: New file, extraction of the method builder functionality
from marshal.c.

* marshal.c: Move the mb functions into method-builder.c.

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

16 years ago2007-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Dec 2007 21:47:34 +0000 (21:47 -0000)]
2007-12-23  Zoltan Varga  <vargaz@gmail.com>

* marshal.h marshal.c: Export some mono_mb_... functions.

* marshal.c: Use mono_mb_get_label () and mono_mb_patch_branch () in all places.

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

16 years ago2007-12-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 23 Dec 2007 21:44:04 +0000 (21:44 -0000)]
2007-12-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
calling GetItemAt for every MouseMove event by also taking into
account whether any mouse button is pressed (probably dragging);
if so, we can call GetItemAt, and if not, try to not call it
(GetItemAt can be quite expensive when used with a large number of items).

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

16 years ago2007-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Dec 2007 21:18:32 +0000 (21:18 -0000)]
2007-12-23  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_delegate_trampoline): Use mono_get_delegate_invoke ().

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

16 years ago2007-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Dec 2007 20:45:30 +0000 (20:45 -0000)]
2007-12-23  Zoltan Varga  <vargaz@gmail.com>

* loader.c (field_from_memberref): Remove the dynamic case, it is handled in
the caller.

* class.c (mono_class_get_full): Check the token type in the dynamic case.

* loader.c (mono_field_from_token): Ditto.

* loader.c (mono_get_method_from_token): Change the check so it checks memberref
type as well.

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

16 years ago2007-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Dec 2007 20:17:33 +0000 (20:17 -0000)]
2007-12-23  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_get_method_from_token): Check the token type in the dynamic case.
Fixes #342565.

* class-internals.h: Add new loader error type MONO_EXCEPTION_BAD_IMAGE plus
a helper function for setting it.

* loader.c (mono_loader_error_prepare_exception): Handle MONO_EXCEPTION_BAD_IMAGE.

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

16 years ago2007-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Dec 2007 17:29:35 +0000 (17:29 -0000)]
2007-12-23  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_klass_info): Avoid emitting info if one of the methods
in the vtable can't be encoded.
(compile_method): Ditto.

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

16 years agoRemove old 1.1 conf support in Java build
Noam Lampert [Sun, 23 Dec 2007 15:48:05 +0000 (15:48 -0000)]
Remove old 1.1 conf support in Java build

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

16 years ago2007-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Dec 2007 15:20:02 +0000 (15:20 -0000)]
2007-12-23  Zoltan Varga  <vargaz@gmail.com>

* assembly.c: Significally simplify code now that referenced assemblies are
loaded lazily. Get rid of the 'loading' hashtables. Hopefully fixes #347629.

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

16 years agorefactoring
Igor Zelmanovich [Sun, 23 Dec 2007 14:58:01 +0000 (14:58 -0000)]
refactoring

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

16 years ago2007-12-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 23 Dec 2007 14:42:13 +0000 (14:42 -0000)]
2007-12-23  Marek Safar  <marek.safar@gmail.com>

A test for bug #346379

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

16 years ago2007-12-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 23 Dec 2007 14:41:58 +0000 (14:41 -0000)]
2007-12-23  Marek Safar  <marek.safar@gmail.com>

A fix for bug #346379
  * expression.cs (UnaryMutator): Emit size of type for pointer mutator.

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

16 years ago* AppSettingsExpressionBuilder.cs: fixed GetAppSetting, should convert to property...
Vladimir Krasnov [Sun, 23 Dec 2007 14:02:37 +0000 (14:02 -0000)]
* AppSettingsExpressionBuilder.cs: fixed GetAppSetting, should convert to property type
* added AppSettingsExpressionBuilderTest.cs

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

16 years ago2007-12-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 23 Dec 2007 13:29:15 +0000 (13:29 -0000)]
2007-12-23  Marek Safar  <marek.safar@gmail.com>

A fix for bug #347359
  * expression.cs (Invocation): Don't resolve already resolved expression.

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

16 years agoremoved dependency on J2EE.Helpers
Igor Zelmanovich [Sun, 23 Dec 2007 12:55:13 +0000 (12:55 -0000)]
removed dependency on J2EE.Helpers

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

16 years agofor TARGET_J2EE only:
Igor Zelmanovich [Sun, 23 Dec 2007 12:53:36 +0000 (12:53 -0000)]
for TARGET_J2EE only:
implement integration with JSF.

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

16 years ago2007-12-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 23 Dec 2007 12:10:17 +0000 (12:10 -0000)]
2007-12-23  Marek Safar  <marek.safar@gmail.com>

A test for bug #347189

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

16 years ago2007-12-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 23 Dec 2007 12:09:55 +0000 (12:09 -0000)]
2007-12-23  Marek Safar  <marek.safar@gmail.com>

A fix for bug #347189
  * class.cs (FixedField): Use non-dependent code only in the define phase.

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

16 years agofor TARGET_J2EE only:
Igor Zelmanovich [Sun, 23 Dec 2007 12:08:33 +0000 (12:08 -0000)]
for TARGET_J2EE only:
implement integration with JSF.

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

16 years agoAllow compilation in Java
Noam Lampert [Sun, 23 Dec 2007 10:43:31 +0000 (10:43 -0000)]
Allow compilation in Java

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

16 years agofor TARGET_J2EE only:
Igor Zelmanovich [Sun, 23 Dec 2007 10:36:14 +0000 (10:36 -0000)]
for TARGET_J2EE only:
implement integration with JSF.

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

16 years ago2007-12-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 23 Dec 2007 10:17:27 +0000 (10:17 -0000)]
2007-12-23  Marek Safar  <marek.safar@gmail.com>

A test for bug #348076

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

16 years ago2007-12-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 23 Dec 2007 10:16:10 +0000 (10:16 -0000)]
2007-12-23  Marek Safar  <marek.safar@gmail.com>

A fix for bug #348076
  * ecore.cs (FieldExpr.DoResolve): Allow any variable based expression.

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

16 years agorefactoring
Igor Zelmanovich [Sun, 23 Dec 2007 08:42:23 +0000 (08:42 -0000)]
refactoring

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

16 years ago2007-12-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 23 Dec 2007 03:21:40 +0000 (03:21 -0000)]
2007-12-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement -finally- support for dnd, by calling
OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
authors list ;-).
* ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
simple calculation of distances for all the items in the owner
listview.

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

16 years ago2007-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Dec 2007 23:40:02 +0000 (23:40 -0000)]
2007-12-23  Zoltan Varga  <vargaz@gmail.com>

* threads.h: Don't include  the internal threads-types.h header file. Fixes
#349952.

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

16 years ago2007-12-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Dec 2007 23:30:20 +0000 (23:30 -0000)]
2007-12-23  Zoltan Varga  <vargaz@gmail.com>

* src/glib.h: Include <limits.h>. Fixes #350482.

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

16 years agoAdd early implementation (will be redone with 2.0 anyways) of IsolatedStorage
Miguel de Icaza [Sat, 22 Dec 2007 21:51:54 +0000 (21:51 -0000)]
Add early implementation (will be redone with 2.0 anyways) of IsolatedStorage

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

16 years agoNew test.
Marek Safar [Sat, 22 Dec 2007 19:32:50 +0000 (19:32 -0000)]
New test.

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

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

* ecore.cs (MethodGroupExpr.OverloadResolve): Set type arguments for
discovered extension methods.

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

16 years agoNew test.
Marek Safar [Sat, 22 Dec 2007 13:18:15 +0000 (13:18 -0000)]
New test.

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

16 years agoError message updates
Marek Safar [Sat, 22 Dec 2007 13:17:48 +0000 (13:17 -0000)]
Error message updates

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

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

* ecore.cs, namespace.cs, expression.cs: Removed broken ResolveGeneric
method.

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

16 years ago* Process.cs: In PriorityClass setter, first check whether value is
Gert Driesen [Sat, 22 Dec 2007 09:48:37 +0000 (09:48 -0000)]
* Process.cs: In PriorityClass setter, first check whether value is
valid and remove LAMESPEC since the documentation has been corrected
for .NET 3.5. Code formatting.
* ProcessTest.cs: Added tests for PriorityClass.

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

16 years ago2007-12-21 Geoff Norton <gnorton@novell.com>
Geoff Norton [Sat, 22 Dec 2007 00:22:45 +0000 (00:22 -0000)]
2007-12-21  Geoff Norton  <gnorton@novell.com>

        * XplatUICarbon.cs:  Ensure that we create WindowMapping handles
        for windows that are originally created as invisible.  Fixes missing
        main window in paint-mono.

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

16 years agoAdd support for OSX
Miguel de Icaza [Fri, 21 Dec 2007 22:58:18 +0000 (22:58 -0000)]
Add support for OSX

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

16 years agoupdate
Miguel de Icaza [Fri, 21 Dec 2007 22:40:19 +0000 (22:40 -0000)]
update

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

16 years agooff by one
Miguel de Icaza [Fri, 21 Dec 2007 22:34:49 +0000 (22:34 -0000)]
off by one

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

16 years agoRequire a prefix
Miguel de Icaza [Fri, 21 Dec 2007 22:33:55 +0000 (22:33 -0000)]
Require a prefix

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

16 years agoAdd docs
Miguel de Icaza [Fri, 21 Dec 2007 22:18:40 +0000 (22:18 -0000)]
Add docs

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

16 years ago2007-12-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 21 Dec 2007 22:18:20 +0000 (22:18 -0000)]
2007-12-21  Miguel de Icaza  <miguel@novell.com>

* report.cs (ErrorMessage): Add support for using colors on
terminals that support it.

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

16 years ago2007-12-21 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 21 Dec 2007 21:55:30 +0000 (21:55 -0000)]
2007-12-21  Geoff Norton  <gnorton@novell.com>

        * Dnd.cs: Flush the message queue during drag callbacks.  This allows
        queued paints to occur when we're dragging.

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

16 years ago2007-12-21 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 21 Dec 2007 21:27:37 +0000 (21:27 -0000)]
2007-12-21  Geoff Norton  <gnorton@novell.com>

        * Dnd.cs: Add support for D&D of objects internally and serialized
        objects across instances.

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

16 years ago2007-12-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 21 Dec 2007 20:59:53 +0000 (20:59 -0000)]
2007-12-21  Marek Habersack  <mhabersack@novell.com>

* BaseCompiler.cs: Refactoring. Move the provider creation code to
an internal static method, so that other piece of code which need
to create the provider can do it using the same code.
Added setters to several internal properties, so that they can be
shared with derivative classes.

* WebServiceCompiler.cs: adjust to the changes above. Fixes bug
#350398.

* CachingCompiler.cs: adjust to the changes above. Also some
refactoring.

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

16 years ago2007-12-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 21 Dec 2007 20:17:42 +0000 (20:17 -0000)]
2007-12-21  Zoltan Varga  <vargaz@gmail.com>

* mini.c (setup_jit_tls_data): Use the MONO_ARCH_INIT_TOP_LMF_ENTRY macro if
defined.

* mini-amd64.h mini-amd64.c exceptions-amd64.c tramp-amd64.c: Rename lmf->ebp to
lmf->rbp.

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