mono.git
18 years agoFixing bug in prev commit
Eyal Alalouf [Tue, 30 Aug 2005 15:25:22 +0000 (15:25 -0000)]
Fixing bug in prev commit

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

18 years ago* PEAPI.cs (MetaData.WriteTildeStream): Change minor version to 1.
Ankit Jain [Tue, 30 Aug 2005 15:05:12 +0000 (15:05 -0000)]
* PEAPI.cs (MetaData.WriteTildeStream): Change minor version to 1.

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

18 years ago* test-anon-31.cs: New test for #75934.
Ankit Jain [Tue, 30 Aug 2005 14:58:25 +0000 (14:58 -0000)]
* test-anon-31.cs: New test for #75934.

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

18 years ago2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 30 Aug 2005 14:45:49 +0000 (14:45 -0000)]
2005-08-30  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomain.cs: Use the more concise property syntax for declarative
security.
* AppDomainManager.cs: Default HostSecurityManager is null.

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

18 years agoFix #75934.
Raja R Harinath [Tue, 30 Aug 2005 14:43:57 +0000 (14:43 -0000)]
Fix #75934.
* anonymous.cs (ScopeInfo.MakeFieldName): New helper.
(ScopeInfo.EmitScopeType): Use it to construct field names from
names of captured locals.

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

18 years ago2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 30 Aug 2005 14:39:03 +0000 (14:39 -0000)]
2005-08-30  Sebastien Pouliot  <sebastien@ximian.com>

* GenericPrincipalTest.cs: Roles are case insensitive.

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

18 years agoIn mcs:
Raja R Harinath [Tue, 30 Aug 2005 14:30:47 +0000 (14:30 -0000)]
In mcs:
Fix #75929.
* ecore.cs (BoxedCast.BoxedCast) [1-argument variant]: Remove.
* convert.cs (ImplicitReferenceConversion, TryImplicitIntConversion):
Pass 'target_type' to BoxedCast.  Don't default to 'object'.
(ExplicitConversion): Remove enum cases already handled by
implicit conversion.  Move implicit conversion check to the beginning.
* delegate.cs (DelegateCreation.ResolveMethodGroupExpr): Update.
* expression.cs (ArrayCreation.EmitDynamicInitializers):
Don't treat System.Enum as a struct.

In tests:
* test-451.cs: New test based on #75929.

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

18 years ago2005-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Aug 2005 14:27:10 +0000 (14:27 -0000)]
2005-08-30  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_allocate_stack_slots_full): Fix ia64 build.

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

18 years ago2005-08-30 Jb Evain <jbevain@gmail.com>
Jb Evain [Tue, 30 Aug 2005 14:20:04 +0000 (14:20 -0000)]
2005-08-30  Jb Evain  <jbevain@gmail.com>

* test-450.cs: new test for as expression in
custom attribute constructors.

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

18 years ago2005-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Aug 2005 14:17:02 +0000 (14:17 -0000)]
2005-08-30  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_get_inst_for_method): Special case Object:.ctor as well.

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

18 years ago2005-08-30 Jb Evain <jbevain@gmail.com>
Jb Evain [Tue, 30 Aug 2005 14:14:32 +0000 (14:14 -0000)]
2005-08-30  Jb Evain  <jbevain@gmail.com>

* attribute.cs: handles as expression in parameters.

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

18 years agoRevert 48609, 48610 as they introduce a regression: bug #75925
Miguel de Icaza [Tue, 30 Aug 2005 13:39:49 +0000 (13:39 -0000)]
Revert 48609, 48610 as they introduce a regression: bug #75925

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

18 years agoTARGET_J2EE compilation
Eyal Alalouf [Tue, 30 Aug 2005 13:39:38 +0000 (13:39 -0000)]
TARGET_J2EE compilation

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

18 years agoAdd new test for bug 75925
Miguel de Icaza [Tue, 30 Aug 2005 13:39:14 +0000 (13:39 -0000)]
Add new test for bug 75925

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

18 years agoTARGET_J2EE compilation
Eyal Alalouf [Tue, 30 Aug 2005 13:36:51 +0000 (13:36 -0000)]
TARGET_J2EE compilation

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

18 years agoTARGET_J2EE compilation
Eyal Alalouf [Tue, 30 Aug 2005 13:35:05 +0000 (13:35 -0000)]
TARGET_J2EE compilation

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

18 years ago2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 30 Aug 2005 11:50:32 +0000 (11:50 -0000)]
2005-08-30  Lluis Sanchez Gual  <lluis@novell.com>

* SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
  Don't use the obsolete IsSet method.
* Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
* CheckBox.cs: Implement some 2.0 methods.
* GridView.cs: Removed some "throw new NotImplementedException"

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

18 years agoLinearGradientBrush.jvm.cs: Refactoring, bug fix
Vladimir Krasnov [Tue, 30 Aug 2005 11:44:16 +0000 (11:44 -0000)]
LinearGradientBrush.jvm.cs: Refactoring, bug fix
GraphicsState.jvm.cs: fixed SaveState, ResetState

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

18 years agoBrush.jvm.cs: added brush transform field
Vladimir Krasnov [Tue, 30 Aug 2005 11:40:16 +0000 (11:40 -0000)]
Brush.jvm.cs: added brush transform field

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

18 years ago2005-08-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Aug 2005 11:14:21 +0000 (11:14 -0000)]
2005-08-30  Atsushi Enomoto  <atsushi@ximian.com>

* test-448.cs : test for #74927.

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

18 years agouse -target:foo style flags rather than /target:foo
Raja R Harinath [Tue, 30 Aug 2005 10:59:26 +0000 (10:59 -0000)]
use -target:foo style flags rather than /target:foo

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

18 years ago2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 30 Aug 2005 09:46:48 +0000 (09:46 -0000)]
2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* object.c: configuration file name is now based on the executable name,
not the image name. Fixes bug #75931.

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

18 years agoIn mcs:
Raja R Harinath [Tue, 30 Aug 2005 08:25:29 +0000 (08:25 -0000)]
In mcs:
Fix #75802.
* class.cs (TypeContainer.VerifyClsName): Don't use a
PartialContainer when verifying CLS compliance.
(AbstractPropertyEventMethod): Set Parent here, ...
(PropertyMethod): ... not here.

In tests:
* test-447.cs: New test from #75802.

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

18 years agoHandle trailing '#" for bool and date and minor fixes
Manjula GHM [Tue, 30 Aug 2005 07:29:34 +0000 (07:29 -0000)]
Handle trailing '#" for bool and date and minor fixes

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

18 years ago2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 30 Aug 2005 07:26:40 +0000 (07:26 -0000)]
2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>

* CreateParams.cs (ToString): Made output match MS
* Control.cs (Text): Don't set Text or Focus via XplatUI unless
    handle is already created (to avoid forcing window creation)
* XplatUIX11.cs: Set window text to caption after creating window,
  in case Text was set before window was created
* Form.cs: Use this.Text instead of a static string as caption

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

18 years agouse correct object in Widen
Konstantin Triger [Tue, 30 Aug 2005 06:54:58 +0000 (06:54 -0000)]
use correct object in Widen

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

18 years ago2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 30 Aug 2005 06:27:20 +0000 (06:27 -0000)]
2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>

* NotifyIcon.cs: Don't set the window to visible; this screws
  up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  OnPaint without a bitmap)
* XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  happen very often anyway; we could add the check to the WM_PAINT
  event generation code

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

18 years ago2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 30 Aug 2005 06:16:48 +0000 (06:16 -0000)]
2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>

* NotifyIcon.cs: Fill the icon area with a background color, to
  avoid 'residue' when transparent icons are drawn
* XplatUIX11.cs:
  - Handle whole_window == client_window when destroying windows
  - SystrayAdd(): Set client_window to whole_window value to
    get mouse and other events passed to NotifyIcon

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

18 years ago2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 30 Aug 2005 05:49:40 +0000 (05:49 -0000)]
2005-08-30  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs: Set proper default for Opacity property
* NotifyIcon.cs:
  - ShowSystray(): Don't bother creating telling the OS
    about the systray item if no icon is provided
  - Now handles WM_NCPAINT message to deal with whole/client window
    split
  - Create window as visible to not get caught by Expose optimization
* Hwnd.cs: Removed debug message
* ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
    PaintEventStart/End to use new client argument
* TextBoxBase.cs:
  - Commented out debug messages
  - Switched PaintEventStart/End to use new client argument
* XplatUI.cs: Added client window bool to PaintEventStart()/
  PaintEventEnd() calls, to support drawing in non-client areas
* XplatUIDriver.cs:
  - Added client window bool to PaintEventStart()/PaintEventEnd()
    calls, to support drawing in non-client areas
  - Added conditional compile to allow using MWF BeginInvoke
    on MS runtime
* XplatUIX11.cs:
  - Added some conditional debug output
  - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
    whole/client window split
  - Implemented handling of client argument to PaintEventStart()/End()
* Control.cs:
  - Throw exception if BeginInvoke() is called and the window handle
    or one of the window's parent handles is not created
  - Added conditional compile to allow using MWF BeginInvoke on
    MS runtime
  - get_Parent(): Only sets parent if handle is created. This avoids
    forcing window handle creation when parent is set.
  - Now fires Layout and Parent changed events in proper order
  - Switched to use Handle instead of window.Handle for Z-Order setting,
    the get_Parent() patch above causes us to possibly get null for 'window'
  - Implemented handling of client argument to PaintEventStart()/End()
  - Now reports back to windows that WM_SETCURSOR was handled (to avoid
    default handling)
  - Now sends a Refresh() to all child windows when Refresh() is called

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

18 years ago2005-08-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Aug 2005 04:59:57 +0000 (04:59 -0000)]
2005-08-30  Atsushi Enomoto  <atsushi@ximian.com>

in mcs:
* attribute.cs : escaped attribute name should not be allowed to be
  resolved (e.g. @class as classAttribute). Fixed bug #75930.

in errors:
* cs0246-13.cs : testcase for #75930.

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

18 years agoMake this build
Miguel de Icaza [Mon, 29 Aug 2005 22:36:14 +0000 (22:36 -0000)]
Make this build

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

18 years ago2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 29 Aug 2005 21:41:39 +0000 (21:41 -0000)]
2005-08-29  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs: Added (non-functional) Opacity property
* XplatUIWin32.cs (SystrayAdd): Removed bogus line of code

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

18 years ago2005-08-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Aug 2005 21:21:38 +0000 (21:21 -0000)]
2005-08-29  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.h mini-ia64.c: Implement frame pointer elimination. Keep
arguments in their original register.

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

18 years agoAdd new unit tests for X501Name
Sebastien Pouliot [Mon, 29 Aug 2005 20:40:55 +0000 (20:40 -0000)]
Add new unit tests for X501Name

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

18 years ago2005-08-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 29 Aug 2005 20:39:58 +0000 (20:39 -0000)]
2005-08-29  Sebastien Pouliot  <sebastien@ximian.com>

* X501NameTest.cs: Added test cases for quoted and escaped values.

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

18 years ago2005-08-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 29 Aug 2005 20:36:39 +0000 (20:36 -0000)]
2005-08-29  Sebastien Pouliot  <sebastien@ximian.com>

* X501Name.cs: Fixed quoted (bug #75780) and escaped values. Added
parsing for "direct" OID values. Plugged DC and UID with new X520
classes.
* X520Attributes.cs: Added support for SerialNumber (fix bug #75783),
DomainComponent, UserId and Oid.

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

18 years ago2005-08-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 29 Aug 2005 20:26:29 +0000 (20:26 -0000)]
2005-08-29  Chris Toshok  <toshok@ximian.com>

* TreeView.cs: Use the StateBag accessors Ben added, and implement
SkipLinkText and Visible.

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

18 years ago2005-08-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Aug 2005 20:26:08 +0000 (20:26 -0000)]
2005-08-29  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_thread_interrupt_checkpoint_call): Load the
flag using LDIND_U4 since it leads to smaller and faster code on ia64.

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

18 years ago2005-08-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 29 Aug 2005 19:50:35 +0000 (19:50 -0000)]
2005-08-29  Chris Toshok  <toshok@ximian.com>

* StateBag.cs (GetChar): add.

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

18 years ago2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Mon, 29 Aug 2005 19:40:37 +0000 (19:40 -0000)]
2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>

* System.Windows.Forms.dll.sources: Added ThemeNice.cs

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

18 years ago2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Mon, 29 Aug 2005 19:37:45 +0000 (19:37 -0000)]
2005-08-29  Alexander Olk  <xenomorph2@onlinehome.de>
* ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  use export MONO_THEME=nice to activate it.
  Currently supported controls:
  - Button
  - ComboBox
  - ScrollBar
  - TabControl (TabAlignment.Top only, other will follow)
* ThemeEngine.cs: Add theme nice
* ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  if enabled

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

18 years ago2005-08-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 29 Aug 2005 18:58:58 +0000 (18:58 -0000)]
2005-08-29  Chris Toshok  <toshok@ximian.com>

* TreeView.cs: fix typo in an attribute.

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

18 years ago2005-08-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 29 Aug 2005 18:40:01 +0000 (18:40 -0000)]
2005-08-29  Chris Toshok  <toshok@ximian.com>

* System.Web.dll.sources: add HtmlInputSubmit.cs

* System.Web_test.dll.sources: add HtmlInputSubmitTest.cs

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

18 years ago* PagedDataSource.cs: If it's not a list or collection we don't
Jackson Harper [Mon, 29 Aug 2005 18:26:43 +0000 (18:26 -0000)]
* PagedDataSource.cs: If it's not a list or collection we don't
        use a bounded enumerator.

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

18 years agoadd sample of callback usage
Chris Toshok [Mon, 29 Aug 2005 18:11:15 +0000 (18:11 -0000)]
add sample of callback usage

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

18 years ago2005-08-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 29 Aug 2005 18:05:53 +0000 (18:05 -0000)]
2005-08-29  Chris Toshok  <toshok@ximian.com>

* HtmlInputSubmitTest.cs: new, base-level tests.

* HtmlInputButtonTest.cs: add CausesValidation/ValidationGroup
view state tests.

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

18 years ago2005-08-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 29 Aug 2005 18:04:56 +0000 (18:04 -0000)]
2005-08-29  Chris Toshok  <toshok@ximian.com>

* HtmlInputSubmit.cs: new implementation.

* HtmlInputReset.cs (ValidationGroup): implement

* HtmlInputButton.cs (ValidationGroup): implement.

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

18 years ago2005-08-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 29 Aug 2005 17:51:21 +0000 (17:51 -0000)]
2005-08-29  Chris Toshok  <toshok@ximian.com>

* HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.

* HtmlForm.cs: same.

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

18 years ago2005-08-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 29 Aug 2005 17:50:35 +0000 (17:50 -0000)]
2005-08-29  Chris Toshok  <toshok@ximian.com>

* HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.

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

18 years ago2005-08-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 29 Aug 2005 17:50:13 +0000 (17:50 -0000)]
2005-08-29  Chris Toshok  <toshok@ximian.com>

* LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.

* CheckBox.cs: same.

* BaseValidator.cs: same.

* DropDownList.cs: same.

* ValidationSummary.cs: same.

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

18 years ago* get.c (dis_stringify_marshal_spec): Add new case for MONO_NATIVE_CUSTOM.
Ankit Jain [Mon, 29 Aug 2005 13:32:56 +0000 (13:32 -0000)]
* get.c (dis_stringify_marshal_spec): Add new case for MONO_NATIVE_CUSTOM.

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

18 years agoIn ilasm/codegen:
Ankit Jain [Mon, 29 Aug 2005 13:29:12 +0000 (13:29 -0000)]
In ilasm/codegen:
2005-08-29  Ankit Jain  <jankit@novell.com>

* InstrTable.cs (inst_table): Comment out stelem and ldelem opcodes.

In ilasm/scanner:
2005-08-29  Ankit Jain  <jankit@novell.com>

* ILTables.cs (keywords): Comment out lcid keyword. Its not recognised as a
  keyword by ilasm (ms.net) 1.1

In ilasm/parser:
2005-08-29  Ankit Jain  <jankit@novell.com>

* ILParser.jay : Comment out K_LCID token.

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

18 years ago* ILParser.jay (native_type | K_CUSTOM ..): Instantiate object of CustomMarshaller
Ankit Jain [Mon, 29 Aug 2005 13:26:28 +0000 (13:26 -0000)]
* ILParser.jay (native_type | K_CUSTOM ..): Instantiate object of CustomMarshaller
  class.

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

18 years ago* PEAPI.cs (CustomMarshaller.ctor): New.
Ankit Jain [Mon, 29 Aug 2005 13:25:19 +0000 (13:25 -0000)]
* PEAPI.cs (CustomMarshaller.ctor): New.
  (CustomMarshaller.ToBlob): Emit marshallerName and cookie strings with
  their lengths.

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

18 years agoadded tests for ProgressBar, ToolTip, RichTextBox and ToolBar
Ritvik Mayank [Mon, 29 Aug 2005 13:04:28 +0000 (13:04 -0000)]
added tests for ProgressBar, ToolTip, RichTextBox and ToolBar

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

18 years agoFix thinko.
Raja R Harinath [Mon, 29 Aug 2005 12:57:06 +0000 (12:57 -0000)]
Fix thinko.

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

18 years agoupdate
Raja R Harinath [Mon, 29 Aug 2005 12:53:44 +0000 (12:53 -0000)]
update

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

18 years agoIn mcs:
Raja R Harinath [Mon, 29 Aug 2005 12:53:26 +0000 (12:53 -0000)]
In mcs:
Fix #75927.
* convert.cs (ImplicitStandardConversionExists): Allow zero also
when converting a long constant to unsigned long.
* expression.cs (Invocation.OverloadResolve): Add sanity check to
detect where IsApplicable and VerifyArgumentsCompat disagree.

In tests:
* test-446.cs: New test from #75927.

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

18 years ago2005-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 29 Aug 2005 12:44:21 +0000 (12:44 -0000)]
2005-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HandlerFactoryConfiguration.cs: fix path matching so that
/xxx/WebResource.axd works. If we're going to match using a regexp,
generate it in the constructor, not on every request.

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

18 years agoIn mcs:
Raja R Harinath [Mon, 29 Aug 2005 10:32:25 +0000 (10:32 -0000)]
In mcs:
2005-08-29  Raja R Harinath  <rharinath@novell.com>
and Carlos Alberto Cortez  <carlos@unixmexico.org>

Fix #75848.
* class.cs (TypeContainer.CanElideInitializer): New helper.
(TypeContainer.EmitFieldInitializers): Use it to determine if we
can safely emitting the initializer of a field.

In tests:
* test-445.cs: New test from #75848.

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

18 years agoTARGET_JVM fixes
Eyal Alalouf [Mon, 29 Aug 2005 09:35:25 +0000 (09:35 -0000)]
TARGET_JVM fixes

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

18 years agoRemove UTF8 marker. The file is ASCII.
Raja R Harinath [Mon, 29 Aug 2005 09:34:57 +0000 (09:34 -0000)]
Remove UTF8 marker.  The file is ASCII.

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

18 years agoTARGET_JVM fixes
Eyal Alalouf [Mon, 29 Aug 2005 09:22:52 +0000 (09:22 -0000)]
TARGET_JVM fixes

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

18 years ago2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Aug 2005 05:56:29 +0000 (05:56 -0000)]
2005-08-25  Atsushi Enomoto  <atsushi@ximian.com>

in mcs:
* statement.cs : (Continue.Resolve()) Unlike break, continue is not
  allowed inside a switch (without loop). Fixed bug #75433.

in errors:
* cs0134-2.cs : testcase for bug #754333.

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

18 years ago2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 29 Aug 2005 02:56:04 +0000 (02:56 -0000)]
2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: don't duplicate the 'charset=' and don't send a
charset for unknown MIME types.
* StaticFileHandler.cs: set the Content-Length header here.
* HttpRequest.cs: prevent nullrefs when we have no 'charset='.

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

18 years ago2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Aug 2005 23:51:15 +0000 (23:51 -0000)]
2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
xsp will use sendfile().

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

18 years ago2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Aug 2005 23:43:48 +0000 (23:43 -0000)]
2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
but not used.  Call ResolveUrl when rendering the attributes instead.

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

18 years ago2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Aug 2005 23:40:12 +0000 (23:40 -0000)]
2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* UrlUtils.cs: removed 2 unused methods. IsRelativeUrl returns false if
there's a colon in the string, assuming it's the beginning of the ://
after the schema.

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

18 years ago2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Aug 2005 23:38:27 +0000 (23:38 -0000)]
2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlAnchorTest.cs: add test for HRef with an absolute URI.

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

18 years ago2005-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 28 Aug 2005 21:09:41 +0000 (21:09 -0000)]
2005-08-28  Zoltan Varga  <vargaz@gmail.com>

* mini-ops.h cpu-ia64.md inssel-ia64.brg mini-ia64.c: Optimize
memset/memcpy.

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

18 years ago2005-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 28 Aug 2005 21:09:15 +0000 (21:09 -0000)]
2005-08-28  Zoltan Varga  <vargaz@gmail.com>

* mini-ops.h cpu-ia64.md inssel-ia64.brg mini-ia64.c: Optimize
memset/memcpy.

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

18 years agonative
Ben Maurer [Sun, 28 Aug 2005 18:44:09 +0000 (18:44 -0000)]
native

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

18 years agoGraphics.jvm.cs: fixed .ctor (InterpolationMode)
Vladimir Krasnov [Sun, 28 Aug 2005 16:05:05 +0000 (16:05 -0000)]
Graphics.jvm.cs: fixed .ctor (InterpolationMode)

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

18 years agoGraphics.cs: Added tests for Graphics.Begin/EndContaioner,
Vladimir Krasnov [Sun, 28 Aug 2005 16:02:25 +0000 (16:02 -0000)]
Graphics.cs: Added tests for Graphics.Begin/EndContaioner,
Graphics.Save/Restore, Transforms

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

18 years agoDrawingTest.cs: Added special tolerance feature
Vladimir Krasnov [Sun, 28 Aug 2005 15:50:06 +0000 (15:50 -0000)]
DrawingTest.cs: Added special tolerance feature
fixed compare()
fixed constructor

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

18 years ago2005-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 28 Aug 2005 14:47:47 +0000 (14:47 -0000)]
2005-08-28  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Disable the MUL->MUL_IMM optimization
when ssapre is enabled.

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

18 years agoadjust stroke before widening
Konstantin Triger [Sun, 28 Aug 2005 14:37:40 +0000 (14:37 -0000)]
adjust stroke before widening

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

18 years ago2005-08-28 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sun, 28 Aug 2005 14:16:01 +0000 (14:16 -0000)]
2005-08-28  Iain McCoy  <iain@mccoy.id.au>

        * Test/ObjectWriter.cs, Test/Parser.cs: renamed to match the new world
        * Test/CodeWriter.cs, Test/ParserToCode.cs: renamed to match the new
        world
        * demo/TestVocab/ConsoleApp.cs,
        demo/TestVocab/ConsoleReader.cs,
        demo/TestVocab/ConsoleWriter.cs: fixed up incredibly broken tests for
        equality.
        * Test/Parser.cs, Test/ParserToCode.cs: added tests for objects as
        values of dependency properties

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

18 years agoCreate guid from the string fetched.
Boris Kirzner [Sun, 28 Aug 2005 13:56:57 +0000 (13:56 -0000)]
Create guid from the string fetched.

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

18 years agoDo not check for 'select ... from'.
Boris Kirzner [Sun, 28 Aug 2005 13:55:23 +0000 (13:55 -0000)]
Do not check for 'select ... from'.

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

18 years ago2005-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 28 Aug 2005 12:35:04 +0000 (12:35 -0000)]
2005-08-28  Zoltan Varga  <vargaz@gmail.com>

* inssel-long.brg: Fix bug in previous patch.

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

18 years ago2005-08-28 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sun, 28 Aug 2005 12:27:42 +0000 (12:27 -0000)]
2005-08-28  Iain McCoy  <iain@mccoy.id.au>

        * System.Windows.Serialization/Parser.cs: a bit more refactoring to
        reduce code duplication
        * Mono.Windows.Serialization/ParserToCode.cs: similarly, refactoring
        to reduce code duplication

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

18 years ago2005-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 28 Aug 2005 12:26:57 +0000 (12:26 -0000)]
2005-08-28  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c mini-ia64.h mini.c inssel-long.brg: Optimize
multiplication by a constant.

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

18 years ago2005-08-28 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sun, 28 Aug 2005 10:15:04 +0000 (10:15 -0000)]
2005-08-28  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/ParserConsumerBase.cs: move dispatching
        to handlers based on nodes returned from the parser into a base class
        * Mono.Windows.Serialization/ParserToCode.cs: use ParserConsumerBase
        * System.Windows.Serialization/Parser.cs: use ParserConsumerBase,
        added support for objects as values of dependency properties
        * demo/runtimetest.xaml: added a demonstration of objects as values of
        dependency properties

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

18 years agoImageCodecInfo.jvm.cs: Fixed Iterate
Vladimir Krasnov [Sun, 28 Aug 2005 10:12:28 +0000 (10:12 -0000)]
ImageCodecInfo.jvm.cs: Fixed Iterate

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

18 years agoGraphics.jvm.cs: Implemented BeginContainer, EndContainer,
Vladimir Krasnov [Sun, 28 Aug 2005 10:02:44 +0000 (10:02 -0000)]
Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
Save, Restore

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

18 years agosvn path=/trunk/mcs/; revision=49015
Vladimir Krasnov [Sun, 28 Aug 2005 10:00:37 +0000 (10:00 -0000)]
svn path=/trunk/mcs/; revision=49015

18 years agoSystem.Drawing.vmwcsproj: Added GraphicsContainer.jvm.cs, GraphicsState.jvm.cs
Vladimir Krasnov [Sun, 28 Aug 2005 09:59:27 +0000 (09:59 -0000)]
System.Drawing.vmwcsproj: Added GraphicsContainer.jvm.cs, GraphicsState.jvm.cs
Excluded: GraphicsContainer.cs, GraphicsState.cs
Fixed: const.cs.in

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

18 years ago* DateTimeConverterTests.cs: Added tests for DateTimeConverter.
Gert Driesen [Sun, 28 Aug 2005 07:36:26 +0000 (07:36 -0000)]
* DateTimeConverterTests.cs: Added tests for DateTimeConverter.
* DateTimeConverter.cs: ConvertTo must return zero-length string
for DateTime.MinValue. Use CultureInfo.GetFormat to obtain
DateTimeFormatInfo to match MS.NET.
* System_test.dll.sources: Added DateTimeConverterTests.cs.

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:41:51 +0000 (06:41 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* Page.cs: more random corcompare work.
(PageAdapter): implement.

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:26:34 +0000 (06:26 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* System.Web.dll.sources: add IAdaptableTextWriter.cs

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:25:40 +0000 (06:25 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* Page.cs (.ctor): set our initial ID to "__Page".
(SmartNavigation): obsolete in 2.0.
(FindControl): new implementation.  Just check our own ID against
the control we're looking for.  otherwise pass it along to
base.FindControl.
(GetPostBackClientHyperlink): obsolete in 2.0.

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:22:13 +0000 (06:22 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* ClientScriptManager.cs: public sealed in 2.0

* IAdaptableTextWriter.cs: new 2.0 interface.

* IHierarchyData.cs: fix return type for GetParent.

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:21:38 +0000 (06:21 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* SiteMapNode.cs: fix IHierarchyData.GetParent.

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:21:23 +0000 (06:21 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* XmlHierarchyData.cs: fix IHierarchyData.GetParent.

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:06:20 +0000 (06:06 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlHeadBuilder.cs: this is public.

* HtmlSelectBuilder.cs: in 2.0 this is public.

* HtmlInputButton.cs: fix boilerplate.

* HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
(IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
Page.Validation(ValidationGroup).

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:53:54 +0000 (05:53 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* System.Web_test.dll.sources: add HtmlInputPasswordTest.cs and
HtmlInputResetTest.cs

* System.Web.dll.sources: add HtmlInputPassword.cs and
HtmlInputReset.cs.

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:52:22 +0000 (05:52 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlInputResetTest.cs: new tests for HtmlInputReset.  Missing
event tests.

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:52:08 +0000 (05:52 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlInputReset.cs: mostly complete implementation.

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

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:25:29 +0000 (05:25 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlInputPassword.cs: doh, make this NET_2_0 only.

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