mono.git
21 years ago2003-01-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 10 Jan 2003 19:29:03 +0000 (19:29 -0000)]
2003-01-10  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilder.cs (DefineInitializedData): Call DefineNestedType()
instead of DefineType() so the auxiliary types do not pollute the
global namespace. This is consistent with the behaviour of MS .NET.

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

21 years ago2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Fri, 10 Jan 2003 19:08:56 +0000 (19:08 -0000)]
2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>

* DeviceSpecific.cs      : Dummy implementation.
* MobilePage.cs          : GetControlAdapter(MobileControl) - Stubbed.
* MobileControl.cs       : Adapter        { get; }      - Implemented
                         : BreakAfter     { get; set; } - Stubbed.
                         : DeviceSpecific { get; set; } - Stubbed.
                         : MobilePage     { get; }      - Stubbed.

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

21 years ago2003-01-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 10 Jan 2003 18:51:31 +0000 (18:51 -0000)]
2003-01-11  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlElementTests.cs : added TestInnerTextAndEvent test.
  (and many coding style fix.)
* XmlTextReaderTests.cs : tiny argument order fix for TestAttributeWithEntityReference test.

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

21 years ago2003-01-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 10 Jan 2003 18:50:39 +0000 (18:50 -0000)]
2003-01-11  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
* XmlTextReader.cs : some fix for ReadOuterXml().

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

21 years ago2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Fri, 10 Jan 2003 17:58:51 +0000 (17:58 -0000)]
2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>

* IObjectListFieldCollection.cs,
* IPageAdapter.cs,
* ITemplateable.cs                    : Added interface.
* ObjectListField.cs                  : Dummy implementation.

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

21 years ago2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Fri, 10 Jan 2003 17:30:32 +0000 (17:30 -0000)]
2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>

* MobileListItemType.cs,
* ObjectListViewMode.cs,
* WmlListFieldType.cs,    // Failed to locate enumeration!
* Wrapping.cs
                         : Added enumerations.

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

21 years ago2003-01-10 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 10 Jan 2003 17:23:22 +0000 (17:23 -0000)]
2003-01-10  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (emit_struct_conv): added support for EXPLICIT_LAYOUT

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

21 years agomore explicit layout related fixes
Dietmar Maurer [Fri, 10 Jan 2003 16:40:46 +0000 (16:40 -0000)]
more explicit layout related fixes

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

21 years ago2003-01-10 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 10 Jan 2003 16:31:27 +0000 (16:31 -0000)]
2003-01-10  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (emit_struct_conv): added an assertion for EXPLICIT_LAYOUT

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

21 years ago*** empty log message ***
Dietmar Maurer [Fri, 10 Jan 2003 16:19:43 +0000 (16:19 -0000)]
*** empty log message ***

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

21 years ago2003-01-10 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 10 Jan 2003 16:18:13 +0000 (16:18 -0000)]
2003-01-10  Dietmar Maurer  <dietmar@ximian.com>

* loader.c (mono_method_get_marshal_info): bug fix

* marshal.c (mono_marshal_get_ptr_to_struct): don't convert
structures with explicit layout

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

21 years agoAllow GUI front-ends to be used by default.
Jonathan Pryor [Fri, 10 Jan 2003 15:47:21 +0000 (15:47 -0000)]
Allow GUI front-ends to be used by default.

This allows ``type-reflector.exe'' (no arguments) to open a Gtk# window which
can be later used to open an Assembly.

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

21 years agoDon't require that types be specified on the command line if the displayer
Jonathan Pryor [Fri, 10 Jan 2003 15:08:10 +0000 (15:08 -0000)]
Don't require that types be specified on the command line if the displayer
doesn't require them.

For example, it's sensible for a GUI program to load without having any
assembly loaded, so there's no reason for assemblies/types to be specified.

This allows us to do:

    type-reflector --displayer=gtk

And get an empty Gtk# window (which can be later filled by using
File->Open...).

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

21 years agoFri Jan 10 16:03:30 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 10 Jan 2003 15:06:28 +0000 (15:06 -0000)]
Fri Jan 10 16:03:30 CET 2003 Paolo Molaro <lupus@ximian.com>

* ILGenerator.cs, MethodBuilder.cs, TypeBuilder.cs,
ConstructorBuilder.cs: some tweaks to reduce memory usage.

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

21 years agoFri Jan 10 15:58:09 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 10 Jan 2003 15:02:00 +0000 (15:02 -0000)]
Fri Jan 10 15:58:09 CET 2003 Paolo Molaro <lupus@ximian.com>

* profiler.c: made the output more readable (and sorted).
Added caller information for the allocation profiler.

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

21 years agoalso test isinst
Dietmar Maurer [Fri, 10 Jan 2003 14:57:05 +0000 (14:57 -0000)]
also test isinst

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

21 years agonew test
Dietmar Maurer [Fri, 10 Jan 2003 14:32:01 +0000 (14:32 -0000)]
new test

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

21 years agoBetter namespace partitioning. Instead of having all files in the same
Jonathan Pryor [Fri, 10 Jan 2003 14:16:07 +0000 (14:16 -0000)]
Better namespace partitioning.  Instead of having all files in the same
namespace, partition into namespaces according to purpose.  For example, all
formatters (CSharp, VB, Default, etc.) are moved to the
Mono.TypeReflector.Formatters namespace.

Similar things were done for finders and displayers.

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

21 years ago2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jan 2003 09:44:59 +0000 (09:44 -0000)]
2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* README.building: New file.
* makefile.gnu: install README.building file.

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

21 years ago2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jan 2003 08:41:11 +0000 (08:41 -0000)]
2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs: cast to Control if the container does not implement
INamingContainer.

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

21 years ago2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jan 2003 07:57:39 +0000 (07:57 -0000)]
2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: keep _lasterror if no context. Attach
application events *after* modules initialization (if not, User is not
set when the user handler is called).

* HttpApplicationFactory.cs: made all methods related to
AttachEvents static. I will fix OnStart/OnEnd for application and
session later.

* HttpRequest.cs: don't initialize cookies twice.

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

21 years ago2003-01-09 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 10 Jan 2003 03:04:20 +0000 (03:04 -0000)]
2003-01-09  Sebastien Pouliot  <spouliot@videotron.ca>

* AUTHORS: add myself to class library list

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

21 years ago2003-01-09 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 10 Jan 2003 02:33:04 +0000 (02:33 -0000)]
2003-01-09  Sebastien Pouliot  <spouliot@videotron.ca>

* RNGCryptoServiceProvider.cs: Changed methods interacting with
the runtime as Internal<MethodName>. This will allow to make the
class Windows-compatible by doing a switch at runtime.

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

21 years ago2003-01-09 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 10 Jan 2003 02:26:36 +0000 (02:26 -0000)]
2003-01-09  Sebastien Pouliot  <spouliot@videotron.ca>

* icall.c, rand.c, rand.h: Prepended RNG functions with Internal.

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

21 years ago2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jan 2003 02:12:25 +0000 (02:12 -0000)]
2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* makefile.gnu: added resource file.

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

21 years ago2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jan 2003 02:11:16 +0000 (02:11 -0000)]
2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AppDomain.cs: implemented DoCallBack method.
* MonoType.cs:
(GetConstructorImpl): when the flag is BindingFlags.Default, set it to
Public, Instance.

NUnit2 tests start moving.

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

21 years agoProvide a passable, if ugly, solution to the question posted to mono-list and
Jonathan Pryor [Fri, 10 Jan 2003 02:01:30 +0000 (02:01 -0000)]
Provide a passable, if ugly, solution to the question posted to mono-list and
mono-hackers: how to provide support for what the build platform provides.

For example, if you're on Windows and have System.Windows.Forms but not Gtk#,
the default compile should give you System.Windows.Forms support and console
output.

If you're on Linux with Gtk# and no System.Windows.Forms, you should get Gtk#
support from the default compile.

Next trick: default to the GUI displayer, not the console displayer, if
--displayer isn't specified.  I have no idea how to pull that off...

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

21 years ago2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jan 2003 01:16:10 +0000 (01:16 -0000)]
2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.

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

21 years ago2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jan 2003 01:13:49 +0000 (01:13 -0000)]
2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: make it fire the LoadData related events also for controls
such as ImageButton, whose variable(s) in the query string are of the
form ctrl_name.x and only fire them once per control.

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

21 years ago2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jan 2003 01:11:53 +0000 (01:11 -0000)]
2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs:
(ApplyAppPathModifiers): return the root directory for "".

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

21 years agoBig New Year patch:
Marco Ridoni [Fri, 10 Jan 2003 00:19:51 +0000 (00:19 -0000)]
Big New Year patch:
- Exit partly implemented (behaves like 'break' in C#)
- Arrays working (still very buggy and work only if declared
  statically - e.g. Dim MyArray(2,3) - but the plumbing is in place)
- Field and Local declarations have been re-coded in the grammar

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

21 years agoRemove dependence upon compiler symbols for GUI support (e.g. HAVE_GUI_GTK,
Jonathan Pryor [Thu, 9 Jan 2003 23:21:32 +0000 (23:21 -0000)]
Remove dependence upon compiler symbols for GUI support (e.g. HAVE_GUI_GTK,
HAVE_GUI_SWF) by placing this information within type-reflector.exe.config.

This also provides for user-provided formatters/finders/displayers.  They
merely need to write a class and add it to the appropriate section.

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

21 years ago2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Jan 2003 22:34:35 +0000 (22:34 -0000)]
2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Activator.cs: fixed bug #36052. Also added checks to avoid trying to
instantiate an abstract class.

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

21 years ago2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Jan 2003 22:32:02 +0000 (22:32 -0000)]
2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: added ves_icall_System_Activator_CreateInstanceInternal. Used
to get value types.

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

21 years agoSome fixes for jstrike to look at
Miguel de Icaza [Thu, 9 Jan 2003 22:25:56 +0000 (22:25 -0000)]
Some fixes for jstrike to look at

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

21 years ago2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Jan 2003 22:24:40 +0000 (22:24 -0000)]
2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ecore.cs:
* expression.cs:
* typemanager.cs: fixes to allow mcs compile corlib with the new
Type.IsSubclassOf fix.

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

21 years ago2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Jan 2003 22:21:52 +0000 (22:21 -0000)]
2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Type.cs:
(IsSubclassOf): return false when null. Use != instead of Equals.

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

21 years ago2003-01-09 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Thu, 9 Jan 2003 18:51:19 +0000 (18:51 -0000)]
2003-01-09 Gaurav Vaish <gvaish_mono AT lycos.com>

* MobileControl.cs       : Added some more properties (dummies).
* Alignment.cs,
* BooleanOption.cs,
* CommandFormat.cs,
* FontSize.cs,
* FormMethod.cs,
* ListDecoration.cs,
* ListSelectType.cs,
                         : Added enumerations.

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

21 years agoThu Jan 9 19:43:11 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 9 Jan 2003 18:46:35 +0000 (18:46 -0000)]
Thu Jan 9 19:43:11 CET 2003 Paolo Molaro <lupus@ximian.com>

* object.c, profiler.h, profiler.c, profiler-private.h:
Added object allocation profiler.

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

21 years ago2003-01-09 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Thu, 9 Jan 2003 18:12:19 +0000 (18:12 -0000)]
2003-01-09  Gaurav Vaish <gvaish_mono AT lycos.com>

* assemblies.xml     : Needed for Mobile controls enumerations.

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

21 years agoThu Jan 9 16:17:00 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 9 Jan 2003 15:23:01 +0000 (15:23 -0000)]
Thu Jan 9 16:17:00 CET 2003 Paolo Molaro <lupus@ximian.com>

* reflection.h, reflection.c: handle global methods.
Compress blob entries.

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

21 years agoCut&pasted code got the cut before the off-by-one fix.
Paolo Molaro [Thu, 9 Jan 2003 15:18:14 +0000 (15:18 -0000)]
Cut&pasted code got the cut before the off-by-one fix.

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

21 years agoThu Jan 9 15:54:53 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 9 Jan 2003 14:57:32 +0000 (14:57 -0000)]
Thu Jan 9 15:54:53 CET 2003 Paolo Molaro <lupus@ximian.com>

* marshal.c: fix compilation.

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

21 years agoFix.
Jaime Anguiano Olarra [Thu, 9 Jan 2003 14:56:40 +0000 (14:56 -0000)]
Fix.

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

21 years ago2003-01-09 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 9 Jan 2003 13:00:53 +0000 (13:00 -0000)]
2003-01-09  Dietmar Maurer  <dietmar@ximian.com>

* loader.c (mono_method_get_marshal_info): impl.

* metadata.c (mono_metadata_field_info): use mono_metadata_get_marshal_info

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

21 years ago2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Jan 2003 08:18:56 +0000 (08:18 -0000)]
2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: applied fix from Zoltan Varga that fixes Type.IsPrimitive
for reference types.

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

21 years ago2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Jan 2003 08:12:04 +0000 (08:12 -0000)]
2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.

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

21 years agoLots of changes all over the map. See ChangeLog for details.
Jonathan Pryor [Thu, 9 Jan 2003 02:44:32 +0000 (02:44 -0000)]
Lots of changes all over the map.  See ChangeLog for details.

The biggest change is a System.Windows.Forms front-end.  It doesn't look as
nice (visually) as the Gtk# front-end, but it's better because it works.
Mwa-ha-ha-ha.  Err, sorry.

To be more specific, the Gtk# front-end works, but (at present) it must build
the entire tree at once, during initialization.

The swf front-end doesn't.  When you attempt to expand a node, it's at *that*
point that it looks for sub-nodes, allowing you to use (for example) the
reflection finder (--finder=reflection) and start clicking lots of `+' signs
to get properties of properties of properties...  (Make sure verbose output is
enabled to see what I mean.)

This is the approach I want Gtk# to ultimately follow, as soon as I figure out
how to do that (read: Gtk# allows me to do it cleanly).

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

21 years ago2003-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 8 Jan 2003 22:38:38 +0000 (22:38 -0000)]
2003-01-08  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay (fixed_statement): take a type instead of a
pointer_type, so we can produce a better error message later.

* statement.cs (Fixed.Resolve): Flag types that are not pointers
as an error.

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

21 years agoAdd new error
Miguel de Icaza [Wed, 8 Jan 2003 22:32:01 +0000 (22:32 -0000)]
Add new error

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

21 years ago2003-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 8 Jan 2003 21:46:34 +0000 (21:46 -0000)]
2003-01-08  Miguel de Icaza  <miguel@ximian.com>

* statement.cs: First populate the pinned variables, then emit the
statement, then clear the variables.  Before I was emitting the
code once for each fixed piece.

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

21 years agoImprove test
Miguel de Icaza [Wed, 8 Jan 2003 21:40:55 +0000 (21:40 -0000)]
Improve test

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

21 years agoFixed typo.
Jaime Anguiano Olarra [Wed, 8 Jan 2003 21:08:56 +0000 (21:08 -0000)]
Fixed typo.

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

21 years agoWed Jan 8 20:11:46 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 8 Jan 2003 19:14:35 +0000 (19:14 -0000)]
Wed Jan 8 20:11:46 CET 2003 Paolo Molaro <lupus@ximian.com>

* loader.c: fixed off by one error in loaded parameter names.

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

21 years ago2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Jan 2003 18:58:38 +0000 (18:58 -0000)]
2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* IControlAdapter.cs     : Completed interface.
* MobileControl.cs       : Initial implementation.
* MobilePage.cs          : Dummy implementation.

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

21 years ago2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Jan 2003 18:55:19 +0000 (18:55 -0000)]
2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* TODOAttribute.cs         : Added MonoTODO Attribute
* ChangeLog                : Added file

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

21 years ago2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Jan 2003 18:23:43 +0000 (18:23 -0000)]
2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* .cvsignore                             : Ignores local files
* System.Web.Mobile.build                : The build file

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

21 years ago2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Jan 2003 18:10:03 +0000 (18:10 -0000)]
2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* System.Web.Mobile,
* System.Web.UI.MobileControls,
* System.Web.UI.MobileControls.Adapters  : Added directories

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

21 years agoPatch from Piers
Miguel de Icaza [Wed, 8 Jan 2003 18:00:00 +0000 (18:00 -0000)]
Patch from Piers

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

21 years ago2003-01-08 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 8 Jan 2003 17:38:59 +0000 (17:38 -0000)]
2003-01-08  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_icall_wrapper): like
mono_marshal_get_native_wrapper, but simpler and use a MonoMethodSignature
instead of a MonoMethod.

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

21 years ago2003-01-08 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 8 Jan 2003 15:59:42 +0000 (15:59 -0000)]
2003-01-08  Dick Porter  <dick@ximian.com>

* Win32Exception.cs (ComponentModel): Added EWOULDBLOCK

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

21 years ago2003-01-08 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 8 Jan 2003 15:57:30 +0000 (15:57 -0000)]
2003-01-08  Dick Porter  <dick@ximian.com>

* sockets.c: Fixed setting blocking mode to true (fixes bug 36388)

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

21 years ago (x86_unwind_native_frame): disable unnecessary assertion
Dietmar Maurer [Wed, 8 Jan 2003 15:39:10 +0000 (15:39 -0000)]
(x86_unwind_native_frame): disable unnecessary assertion

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

21 years ago2003-01-08 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 8 Jan 2003 12:40:08 +0000 (12:40 -0000)]
2003-01-08  Dietmar Maurer  <dietmar@ximian.com>

* exception.c (ves_icall_get_frame_info): skip one more frame and also
MONO_WRAPPER_RUNTIME_INVOKE wrappers

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

21 years ago2003-01-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 8 Jan 2003 11:42:49 +0000 (11:42 -0000)]
2003-01-08  Martin Baulig  <martin@ximian.com>

* statement.cs (FlowBranching.MergeChild): A break in a
SWITCH_SECTION does not leave a loop.  Fixes #36155.

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

21 years ago2003-01-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 8 Jan 2003 11:16:10 +0000 (11:16 -0000)]
2003-01-08  Martin Baulig  <martin@ximian.com>

* statement.cs (FlowBranching.CheckOutParameters): `struct_params'
lives in the same number space than `param_map'.  Fixes #36154.

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

21 years ago2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 8 Jan 2003 10:27:15 +0000 (10:27 -0000)]
2003-01-08  Gaurav Vaish <gvaish_mono AT lycos.com>

* System.Web.Mobile  : Added new directory

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jan 2003 05:57:24 +0000 (05:57 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: default value for ShowHeaders is true. Fixed style for
Header and Footer.
* DataGridColumn.cs: added SetOwner method.
* DataGridColumnCollection.cs: set the owner of the column when added.

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jan 2003 05:55:06 +0000 (05:55 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataBinder.cs:
(GetPropertyValue): don't try to get the property as indexed

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

21 years agoforgot this one
Gonzalo Paniagua Javier [Wed, 8 Jan 2003 05:53:06 +0000 (05:53 -0000)]
forgot this one

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jan 2003 05:52:24 +0000 (05:52 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jan 2003 05:51:16 +0000 (05:51 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jan 2003 00:25:42 +0000 (00:25 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspElements.cs: attributes without value lacked a space afterwards.

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 23:42:27 +0000 (23:42 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 23:21:44 +0000 (23:21 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BoundColumn.cs: typo.
* DataGrid.cs: use 'as' instead of casting. Typo.
* HyperLinkColumn.cs: call OnColumnChanged when any property change.
Mono-stylized.

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 23:18:02 +0000 (23:18 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataBinder.cs: use TypeDescriptor to get the properties and their
values.

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 23:16:13 +0000 (23:16 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TypeDescriptor.cs: use ICustomTypeDescriptor if the component
implements it. It's done for GetProperties and should be done for the
rest of methods present in ICustomTypeDescriptor.

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

21 years ago2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 23:14:02 +0000 (23:14 -0000)]
2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list: added System.Data/DataTablePropertyDescriptor.cs
* System.Data/DataColumnPropertyDescriptor.cs: fixed typo.
* System.Data/DataViewManagerListItemTypeDescriptor.cs: added new
internal property to get the DataViewManager and removed TablePD class.
* System.Data/DataTablePropertyDescriptor.cs: TablePD class is now this
one as suggested by danmorg.

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

21 years ago2003-01-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 7 Jan 2003 21:10:23 +0000 (21:10 -0000)]
2003-01-07  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay (constructor_declaration): Set the
Constructor.ModFlags before probing for it.  This makes the
compiler report 514, 515 and 132 (the code was there, but got
broken).

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

21 years agoFix test
Miguel de Icaza [Tue, 7 Jan 2003 21:02:30 +0000 (21:02 -0000)]
Fix test

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

21 years agoAdd new error
Miguel de Icaza [Tue, 7 Jan 2003 20:40:17 +0000 (20:40 -0000)]
Add new error

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

21 years ago2003-01-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 7 Jan 2003 20:23:07 +0000 (20:23 -0000)]
2003-01-07  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Goto.Resolve): Set `Returns' to ALWAYS.
(GotoDefault.Resolve): Set `Returns' to ALWAYS.
(GotoCase.Resolve): Set `Returns' to ALWAYS. Fixes the test-49 problem on windows

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

21 years ago2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 19:09:21 +0000 (19:09 -0000)]
2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TypeDescriptor.cs: moved code from GetProperties (object) to (Type).

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

21 years ago2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 19:07:45 +0000 (19:07 -0000)]
2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs: functions for columns don't return anything. Fixed
typo.

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

21 years ago2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 7 Jan 2003 17:39:01 +0000 (17:39 -0000)]
2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextReader.cs : bugfix for attributes related to creation of
  XmlAttribute *node*.

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

21 years ago2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 7 Jan 2003 17:38:23 +0000 (17:38 -0000)]
2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDocumentTests.cs : test for attribute value bugfix.

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

21 years agoTue Jan 7 18:32:24 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 7 Jan 2003 17:35:23 +0000 (17:35 -0000)]
Tue Jan 7 18:32:24 CET 2003 Paolo Molaro <lupus@ximian.com>

* enum.cs: create the enum static fields using the enum type.

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

21 years ago2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 7 Jan 2003 16:39:53 +0000 (16:39 -0000)]
2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextReaderTests.cs : test for attribute value bugfix.

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

21 years ago2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 7 Jan 2003 16:38:52 +0000 (16:38 -0000)]
2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextReader.cs : bugfix for attribute values which have entity
  references.

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

21 years ago2003-01-07 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 7 Jan 2003 16:18:55 +0000 (16:18 -0000)]
2003-01-07  Dietmar Maurer  <dietmar@ximian.com>

* exception.c (ves_icall_get_frame_info): fix bug 36382

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

21 years ago2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 15:51:49 +0000 (15:51 -0000)]
2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* decimal.c: fixed bug #36537.

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

21 years agoTue Jan 7 15:15:41 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 7 Jan 2003 14:18:48 +0000 (14:18 -0000)]
Tue Jan 7 15:15:41 CET 2003 Paolo Molaro <lupus@ximian.com>

* jit.c: handle wrapper_data in NEWOBJ/CALL.

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

21 years agoMon Jan 6 19:37:59 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 7 Jan 2003 14:17:16 +0000 (14:17 -0000)]
Mon Jan 6 19:37:59 CET 2003 Paolo Molaro <lupus@ximian.com>

* marshal.c: throw a missing method exception if a
P/Invoke method is not found.

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

21 years ago2003-01-07 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 7 Jan 2003 11:28:25 +0000 (11:28 -0000)]
2003-01-07  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): add check for NULL target in STFLD

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

21 years ago2003-01-07 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Tue, 7 Jan 2003 08:34:38 +0000 (08:34 -0000)]
2003-01-07 Gaurav Vaish <gvaish_mono AT lycos.com>

* DataBindingHandler.cs         : Implemented.

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

21 years ago2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 04:44:22 +0000 (04:44 -0000)]
2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HyperLink.cs: fixes bug #36336.

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

21 years ago2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 03:44:47 +0000 (03:44 -0000)]
2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataList.cs: fixed IRepeatInfoUser.GetItemStyle.

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

21 years agoadded XmlDiffLoader.cs
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 02:25:09 +0000 (02:25 -0000)]
added XmlDiffLoader.cs

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

21 years ago2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 01:35:11 +0000 (01:35 -0000)]
2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs: add data bound controls to code render function.

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

21 years ago2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jan 2003 00:14:04 +0000 (00:14 -0000)]
2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspComponentFoundry.cs: reworked to allow same prefix for multiple
controls. You can register 1 assembly plus any number of user controls
under the same prefix.

* AspGenerator.cs: don't add duplicate 'using' for the same namespace.
Hack to allow @Register access to assemblies in other places than bin
directory.

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