mono.git
21 years ago2002-07-31 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 31 Jul 2002 22:48:18 +0000 (22:48 -0000)]
2002-07-31  Rodrigo Moya <rodrigo@ximian.com>

* BaseChannelObjectWithProperties.cs: new stubs.

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

21 years agoAdded myself as author of this file :-)
Martin Baulig [Wed, 31 Jul 2002 19:34:42 +0000 (19:34 -0000)]
Added myself as author of this file :-)

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

21 years agoCommitting fix for Juli.
Duncan Mak [Wed, 31 Jul 2002 16:41:39 +0000 (16:41 -0000)]
Committing fix for Juli.

2002-07-30  Juli Mallett  <jmallett@FreeBSD.org>

* regex.cs: Fixed bug where the expression would not be
re-evaluated for grouping purposes when factory caches were
used, resulting in no groups being recognised after one call
with a given pattern and no change in options.

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

21 years ago2002-08-01 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 16:23:42 +0000 (16:23 -0000)]
2002-08-01  Duncan Mak  <duncan@ximian.com>

* BinaryServerFormatterSink.cs:
* SoapServerFormatterSink.cs: Fixed typo.

* IServerChannelSink.cs:
(ProcessMessage): Fixed definition.

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

21 years agoMore compilation fixes, sigh.
Duncan Mak [Wed, 31 Jul 2002 16:16:33 +0000 (16:16 -0000)]
More compilation fixes, sigh.

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

21 years agoSmall fix.
Martin Baulig [Wed, 31 Jul 2002 16:12:39 +0000 (16:12 -0000)]
Small fix.

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

21 years agoMake it compile with csc.
Martin Baulig [Wed, 31 Jul 2002 16:10:29 +0000 (16:10 -0000)]
Make it compile with csc.

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

21 years agoVarious compilation fixes.
Duncan Mak [Wed, 31 Jul 2002 16:06:49 +0000 (16:06 -0000)]
Various compilation fixes.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 15:58:34 +0000 (15:58 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* BinaryServerFormatterSink.cs:
* SoapServerFormatterSink.cs: Added.

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

21 years ago2002-07-31 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 31 Jul 2002 15:54:56 +0000 (15:54 -0000)]
2002-07-31  Martin Baulig  <martin@gnome.org>

* test-154.cs: New test for the flow analysis code.

* error-1.cs: Each method in this test must produce a compiler
error message.

* makefile (test-unsafe-mono): New target to compile and run all
the --unsafe tests wich MCS and the Mono runtime.

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

21 years ago2002-07-31 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 31 Jul 2002 15:51:25 +0000 (15:51 -0000)]
2002-07-31  Martin Baulig  <martin@gnome.org>

Implemented Control Flow Analysis.

* codegen.cs (EmitContext.DoFlowAnalysis): New public variable.
(EmitContext.CurrentBranching): Added.
(EmitContext.StartFlowBranching): Added.
(EmitContext.EndFlowBranching): Added.
(EmitContext.KillFlowBranching): Added.
(EmitContext.IsVariableAssigned): Added.
(EmitContext.SetVariableAssigned): Added.
(EmitContext.IsParameterAssigned): Added.
(EmitContext.SetParameterAssigned): Added.
(EmitContext.EmitTopBlock): Added `InternalParameters ip' argument.
Added control flow analysis stuff here.

* expression.cs (Unary.DoResolve): If the operator is Oper.AddressOf,
resolve the expression as lvalue.
(LocalVariableReference.DoResolve): Check whether the variable has
already been assigned.
(ParameterReference.DoResolveLValue): Override lvalue resolve to mark
the parameter as assigned here.
(ParameterReference.DoResolve): Check whether the parameter has already
been assigned.
(Argument.Resolve): If it's a `ref' or `out' argument, resolve the
expression as lvalue.

* statement.cs (FlowBranching): New class for the flow analysis code.
(Goto): Resolve the label in Resolve, not in Emit; added flow analysis.
(LabeledStatement.IsDefined): New public property.
(LabeledStatement.AddUsageVector): New public method to tell flow
analyis that the label may be reached via a forward jump.
(GotoCase): Lookup and resolve the label in Resolve, not in Emit; added
flow analysis.
(VariableInfo.Number): New public field.  This is used by flow analysis
to number all locals of a block.
(Block.CountVariables): New public property.  This is the number of
local variables in this block (including the locals from all parent
blocks).
(Block.EmitMeta): Number all the variables.

* statement.cs: Added flow analysis support to all classes.

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

21 years agoWed Jul 31 17:47:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Jul 2002 15:49:31 +0000 (15:49 -0000)]
Wed Jul 31 17:47:11 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: simplified some more branch code.

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

21 years ago2002-07-31 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 31 Jul 2002 15:32:44 +0000 (15:32 -0000)]
2002-07-31  Martin Baulig  <martin@gnome.org>

* driver.cs: Added "--mcs-debug" argument if MCS_DEBUG is defined.
To get debugging messages, compile mcs with /define:MCS_DEBUG and
then use this argument.

* report.cs (Report.Debug): Renamed to conditional to "MCS_DEBUG".

* makefile.gnu (MCS_FLAGS): Include $(MCS_DEFINES), the user may
use this to specify /define options.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 15:13:50 +0000 (15:13 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* BinaryServerFormatterSink.Protocol.cs:
* SoapServerFormatterSink.Protocol.cs: Added.

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

21 years agoWed Jul 31 16:50:42 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Jul 2002 14:53:29 +0000 (14:53 -0000)]
Wed Jul 31 16:50:42 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fixed indentation, simplified some code.

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

21 years agoWed Jul 31 16:49:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Jul 2002 14:51:36 +0000 (14:51 -0000)]
Wed Jul 31 16:49:29 CEST 2002 Paolo Molaro <lupus@ximian.com>

* loader.c: don't set the pinvoke bit on icalls.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 14:28:54 +0000 (14:28 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* IChannelReceiverHook.cs:
* IClientFormatterSink.cs: Various compilation fixes.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 14:23:55 +0000 (14:23 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* unix.args: Added interfaces and enumerations from
System.Runtime.Remoting.Channels.

* *.cs: Added all the interfaces in this namespace.

* ServerProcessing.cs: Added.

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

21 years agoWed Jul 31 14:29:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Jul 2002 12:32:39 +0000 (12:32 -0000)]
Wed Jul 31 14:29:43 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fix so that mint can at least get to executing Main().

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 11:58:25 +0000 (11:58 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* MethodCallMessageWrapper.cs:
* MethodReturnMessageWrapper.cs: Revert the last patch and made it
work. Thanks to Gonzalo for reminding me to chain the constructors.

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

21 years ago*** empty log message ***
Dietmar Maurer [Wed, 31 Jul 2002 11:54:37 +0000 (11:54 -0000)]
*** empty log message ***

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

21 years ago2002-07-31 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 31 Jul 2002 11:53:19 +0000 (11:53 -0000)]
2002-07-31  Dietmar Maurer  <dietmar@ximian.com>

* x86/tramp.c: (mono_create_method_pointer): return method->addr for pinvoke methods

* interp.c (ves_exec_method): bug fix - directly jump to handle_exception.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 11:11:54 +0000 (11:11 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* StreamReader.cs:
(Dispose): Added and implmented.

* StreamWriter.cs:
(Dispose): Fixed visibility.
(Initialize): Fixed visibility, made internal.

* BinaryReader.cs:
(Dispose): Fixed visibility.

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

21 years ago2002-07-31 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 31 Jul 2002 11:00:53 +0000 (11:00 -0000)]
2002-07-31  Dietmar Maurer  <dietmar@ximian.com>

* interp.c: use the new marshaling code. better delegate/remoting
support.

* debug-helpers.c (mono_method_full_name): only print a number to
indicate wrapper type (so that the output is more readable in traces).

* x86/tramp.c: remove code to handle PInvoke because this is no
longer needed.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 10:54:19 +0000 (10:54 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* MethodCallMessageWrapper.cs:
* MethodReturnMessageWrapper.cs: Remove reference to
InternalMessageWrapper. It's probably an MS private class, even
though it's visible in the documentation.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 10:40:33 +0000 (10:40 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* unix.args: Added new classes in
System.Runtime.Remoting.Contexts.

* InternalMessageWrapper.cs:
* MessageSurrogateFilter.cs:
* MethodCall.cs:
* MethodCallMessageWrapper.cs:
* MethodResponse.cs:
* MethodReturnMessageWrapper.cs:
* RemoteSurrogateSelector.cs: Added to CVS.

* MonoMethodMessage.cs:
* ReturnMessage.cs: Add set in the Uri property.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 07:51:18 +0000 (07:51 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* unix.args: Added new classes in
System.Runtime.Remoting.Contexts.

* SynchronizationAttribute.cs: Added more interfaces, it
implements them (via CorCompare), but they're not listed in the docs.

* ContextProperty.cs:
* CrossContextDelegate.cs: Added to CVS.

* ContextAttribute.cs: Added missing constructor.

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

21 years ago*** empty log message ***
Dennis Hayes [Wed, 31 Jul 2002 02:02:28 +0000 (02:02 -0000)]
*** empty log message ***

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

21 years ago2002-7-22 DennisHayes <dennish@raytek.com>
Dennis Hayes [Wed, 31 Jul 2002 02:01:05 +0000 (02:01 -0000)]
2002-7-22  DennisHayes <dennish@raytek.com>

* AccessibleNavigation.cs
* AccessibleObject.cs
* AccessibleSelection.cs
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingMemberInfo.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* CaptionButton.cs
* CharacterCasing.cs
* CheckBox.cs
* CheckedListBox.cs
* CheckState.cs
* Clipboard.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnClickEventHandler.cs
* ColumnHeader.cs
* ComboBox.cs
* CommonDialog.cs
* ContainerControl.cs
* ContentsResizedEventHandler.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlEventHandler.cs
* ControlPaint.cs
* ConvertEventHandler.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* DataFormats.cs
* DataGrid.cs
* DataGridBoolColumn.cs
* DataGridCell.cs
* DataGridColumnStyle.cs
* DataGridParentRowsLabelStyle.cs
* DataGridPreferredColumnWidthTypeConverter.cs
* DataGridTableStyle.cs
* DataGridTextBox.cs
* DataGridTextBoxColumn.cs
* DataObject.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DateRangeEventHandler.cs
* DateTimePicker.cs
* DialogResult.cs
* DockStyle.cs
* DomainUpDown.cs
* DragAction.cs
* DragDropEffects.cs
* DragEventArgs.cs
* DragEventHandler.cs
* DrawItemEventArgs.cs
* DrawItemEventHandler.cs
* DrawItemState.cs
* DrawMode.cs
* ErrorBlinkStyle.cs
* ErrorIconAlignment.cs
* ErrorProvider.cs
* FeatureSupport.cs
* FileDialog.cs
* FlatStyle.cs
* FontDialog.cs
* Form.cs
* FormBorderStyle.cs
* FormStartPosition.cs
* FormWindowState.cs
* FrameStyle.cs
* GiveFeedbackEventHandler.cs
* GridColumnStylesCollection.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* GroupBox.cs
* Help.cs
* HelpEventHandler.cs
* HelpProvider.cs
* HScrollBar.cs
* ImageIndexConverter.cs
* ImageList.cs
* ImageListStreamer.cs
* InputLanguage.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventHandler.cs
* InputLanguageCollection.cs
* InvalidateEventHandler.cs
* ItemChangedEventArgs.cs
* ItemChangedEventHandler.cs
* ItemCheckEventHandler.cs
* ItemDragEventHandler.cs
* KeyEventHandler.cs
* KeyPressEventArgs.cs
* KeyPressEventHandler.cs
* KeysConverter.cs
* Label.cs
* LabelEditEventHandler.cs
* LayoutEventHandler.cs
* LinkArea.cs
* LinkClickedEventHandler.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventHandler.cs
* ListBindingConverter.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* logfile.txt
* MainMenu.cs
* MeasureItemEventHandler.cs
* Menu.cs
* MenuItem.cs
* Message.cs
* MessageBox.cs
* MethodInvoker.cs
* MonthCalendar.cs
* MouseEventHandler.cs
* NativeWindow.cs
* NavigateEventHandler.cs
* NodeLabelEditEventHandler.cs
* NotifyIcon.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* PaintEventHandler.cs
* Panel.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* PrintPreviewControl.cs
* PrintPreviewDialog.cs
* ProgressBar.cs
* PropertyGrid.cs
* PropertyManager.cs
* PropertyTabChangedEventArgs.cs
* PropertyTabChangedEventHandler.cs
* PropertyValueChangedEventHandler.cs
* QueryAccessibilityHelpEventHandler.cs
* QueryContinueDragEventHandler.cs
* RadioButton.cs
* RichTextBox.cs
* SaveFileDialog.cs
* Screen.cs
* ScrollableControl.cs
* ScrollBar.cs
* ScrollEventArgs.cs
* ScrollEventHandler.cs
* SelectedGridItemChangedEventHandler.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* Splitter.cs
* SplitterEventHandler.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarDrawItemEventHandler.cs
* StatusBarPanel.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelClickEventHandler.cs
* StatusBarPanelCollection.cs
* SystemInformation.cs
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* Timer.cs
* ToolBar.cs
* ToolBarButton.cs
* ToolBarButtonClickEventHandler.cs
* ToolTip.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewCancelEventHandler.cs
* TreeViewEventHandler.cs
* TreeViewImageIndexConverter.cs
* UICuesEventArgs.cs
* UICuesEventHandler.cs
* UpDownBase.cs
* UpDownEventHandler.cs
* UserControl.cs
* VScrollBar.cs
* Fixed errors reported by verify.exe, mostly attribute errors.
* Added my name to author's list to files I edited in the last two weeks

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

21 years ago2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 31 Jul 2002 00:08:15 +0000 (00:08 -0000)]
2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Xml.cs: implemented document/transform load.

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

21 years ago2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 30 Jul 2002 23:21:29 +0000 (23:21 -0000)]
2002-07-30  Rodrigo Moya <rodrigo@ximian.com>

* OleDbDataReader.cs (FieldCount): implemented.
(IsClosed, Item, RecordsAffected): implemented some properties.

* libgda.cs: added GdaDataModel methods.

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

21 years ago2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 30 Jul 2002 23:10:53 +0000 (23:10 -0000)]
2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Calendar.cs: added myself to the list of authors.
* DropDownList.cs: fixed a few properties.
* ListControl.cs: fixed SelectedIndex.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 30 Jul 2002 19:05:13 +0000 (19:05 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* unix.args: Added new Exceptions, Interfaces and various
TypeEntries from System.Runtime.Remoting.

* TypeEntry.cs:
* ActivatedClientTypeEntry.cs:
* ActivatedServiceTypeEntry.cs:
* WellKnownClientTypeEntry.cs:
* WellKnownServiceTypeEntry.cs: Added all the classes derived from TypeEntry.

* RemotingException.cs:
* RemotingTimeoutException.cs:
* ServerException.cs: Added missing exceptions.

* IChannelInfo.cs:
* IEnvoyInfo.cs:
* IRemotingTypeInfo.cs: Added missing interfaces.

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

21 years ago * x86.brg: LOCALLOC fix for Windows
Sergey Chaban [Tue, 30 Jul 2002 17:55:12 +0000 (17:55 -0000)]
 * x86.brg: LOCALLOC fix for Windows

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

21 years ago2002-07-30 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 30 Jul 2002 17:38:51 +0000 (17:38 -0000)]
2002-07-30  Dietmar Maurer  <dietmar@ximian.com>

* class.c (mono_class_init): include method override patch from Paolo

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

21 years ago2002-07-31 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 30 Jul 2002 17:25:29 +0000 (17:25 -0000)]
2002-07-31  Nick Drochak  <ndrochak@gol.com>

* BufferTest.cs: Fixed noisy compiler warnings about unused vars.

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

21 years agoTue Jul 30 15:20:08 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 30 Jul 2002 13:22:10 +0000 (13:22 -0000)]
Tue Jul 30 15:20:08 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: fixed GetTypeCode().

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

21 years ago2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 30 Jul 2002 09:34:59 +0000 (09:34 -0000)]
2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Page.cs: request to render postback script can be
after form started rendering.

* System.Web.UI.WebControls/Calendar.cs: lots of fixes. Render days.
Still left to persist selected days when changing month.

* System.Web.UI.WebControls/Unit.cs: fixed Percentage and Pixel.

* System.Web.UI.WebControls/WebControl.cs: a few properties are now
using ControlStyle instead of ViewState to persist.

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

21 years agoo Added Discovery classes to list
Dave Bettin [Tue, 30 Jul 2002 04:49:53 +0000 (04:49 -0000)]
o Added Discovery classes to list
o Added Mono.System.Web.Services Visual Studio Project
o Added .cvsignore file

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

21 years agoo Added stubs for Discovery namespace
Dave Bettin [Tue, 30 Jul 2002 04:45:27 +0000 (04:45 -0000)]
o Added stubs for Discovery namespace

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

21 years ago2002-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 29 Jul 2002 20:12:52 +0000 (20:12 -0000)]
2002-07-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list:
* list.unix: added EnumConverter.cs

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

21 years ago2002-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 29 Jul 2002 20:11:17 +0000 (20:11 -0000)]
2002-07-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* EnumConverter.cs: new file.

* TypeConverter.cs: implemented a few simple methods.

* TypeDescriptor.cs:
(GetConverter): initial support for converters of well-known types.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 18:49:26 +0000 (18:49 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* statement.cs (Fixed): Moved all code that does variable lookups
and resolvings from Emit to Resolve.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 18:31:16 +0000 (18:31 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* statement.cs (For): Moved all code that does variable lookups
and resolvings from Emit to Resolve.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 18:21:14 +0000 (18:21 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* statement.cs (Using): Moved all code that does variable lookups
and resolvings from Emit to Resolve.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 17:53:45 +0000 (17:53 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* attribute.cs (Attribute.Resolve): Explicitly catch a
System.NullReferenceException when creating the
CustromAttributeBuilder and report a different warning message.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 17:28:28 +0000 (17:28 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* list: Removed, this isn't used anymore and people are already
getting confused which file to use.

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

21 years ago2002-07-30 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 29 Jul 2002 17:26:43 +0000 (17:26 -0000)]
2002-07-30  Duncan Mak  <duncan@ximian.com>

* LeaseState.cs: Fixed namespace.

* ITrackingHandler.cs: Added to CVS.

* ServerFault.cs:
* SoapFault.cs:
* SoapMessage.cs: Added missing classes.

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

21 years agoMake this compile with csc.
Martin Baulig [Mon, 29 Jul 2002 17:19:10 +0000 (17:19 -0000)]
Make this compile with csc.

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

21 years ago2002-07-29 Peter Williams <peterw@ximian.com>
Peter Williams [Mon, 29 Jul 2002 16:40:15 +0000 (16:40 -0000)]
2002-07-29  Peter Williams  <peterw@ximian.com>

* makefile.gnu: 'make install' wasn't actually working due to $@,
fix it.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 14:27:35 +0000 (14:27 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* support.cs (ParameterData.ParameterName): Added method to
get the name of a parameter.

* typemanager.cs (TypeManager.IsValueType): New public method.

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

21 years ago2002-07-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 29 Jul 2002 14:19:37 +0000 (14:19 -0000)]
2002-07-29  Dietmar Maurer  <dietmar@ximian.com>

* interp.c (main): install compile_method handler

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 12:58:07 +0000 (12:58 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* parameter.cs (Parameter.Modifier): Added `ISBYREF = 8'.  This
is a flag which specifies that it's either ref or out.
(Parameter.GetParameterInfo (DeclSpace, int, out bool)): Changed
the out parameter to `out Parameter.Modifier mod', also set the
Parameter.Modifier.ISBYREF flag on it if it's either ref or out.

* support.cs (InternalParameters.ParameterModifier): Distinguish
between Parameter.Modifier.OUT and Parameter.Modifier.REF, set the
Parameter.Modifier.ISBYREF flag if it's either ref or out.

* expression.cs (Argument.GetParameterModifier): Distinguish
between Parameter.Modifier.OUT and Parameter.Modifier.REF, set the
Parameter.Modifier.ISBYREF flag if it's either ref or out.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 11:21:42 +0000 (11:21 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* parameter.cs (Parameter.Modifier): Added `ISBYREF = OUT|REF'.
(Parameter.GetParameterInfo (DeclSpace, int, out bool)): Changed
the out parameter to `out Parameter.Modifier mod'.

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

21 years ago*** empty log message ***
Martin Baulig [Mon, 29 Jul 2002 11:21:27 +0000 (11:21 -0000)]
*** empty log message ***

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

21 years agoReverted this.
Martin Baulig [Mon, 29 Jul 2002 11:11:46 +0000 (11:11 -0000)]
Reverted this.
2002-07-27  Martin Baulig  <martin@gnome.org>

These two changes won't give us any performance or code-size
improvements, but they make my control flow analyis much simpler.

* statement.cs (While.Emit): Did some loop-inversion here; emit the
test, then the body of the while and then a jump back to the test.
(For.Emit): Did some loop-inversion here; emit the initialization,
then the test, then the body, then the incrementation and then a jump
back to the test.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 11:09:09 +0000 (11:09 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* expression.cs (ParameterReference.ParameterReference): Added
`Location loc' argument to the constructor.

* cs-parser.jay: Pass location to ParameterReference.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 11:02:38 +0000 (11:02 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* makefile: Put back test-152.cs.

* test-143.cs: Fixed a compilation error in this test.

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

21 years ago2002-07-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 29 Jul 2002 11:01:21 +0000 (11:01 -0000)]
2002-07-29  Martin Baulig  <martin@gnome.org>

* makefile.gnu: Don't force people to install.  The default must also
be `all' and not `install'.

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

21 years ago2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Mon, 29 Jul 2002 10:12:21 +0000 (10:12 -0000)]
2002-07-29  Rodrigo Moya <rodrigo@ximian.com>

* OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
a second argument (ArrayList results).
(NextResult): implemented.

* OleDbCommand.cs: don't store the ArrayList of results, since we'll
pass that to the OleDbDataReader.
(OleDbCommand constructor): don't create the ArrayList of results.
(GdaResults): removed property.
(ExecuteReader): create a temporary ArrayList and pass that to the
OleDbDataReader constructor.

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

21 years ago2002-07-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 29 Jul 2002 10:06:42 +0000 (10:06 -0000)]
2002-07-29  Dietmar Maurer  <dietmar@ximian.com>

* threads.c (ves_icall_System_Threading_Thread_Thread_internal):
use real delegate invoke function to make it work with multicast
delegates (fix bug# 28291).

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

21 years ago* IContributeServerContentSink.cs: Removed.
Duncan Mak [Mon, 29 Jul 2002 03:38:28 +0000 (03:38 -0000)]
* IContributeServerContentSink.cs: Removed.
* IContributeServerContextSink.cs: Replaces IContributeServerContentSink.

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

21 years ago2002-07-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 29 Jul 2002 01:53:47 +0000 (01:53 -0000)]
2002-07-28  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Try): Initialize the location.

* cs-parser.jay: pass location to Try.

* expression.cs (Unary.Reduce): Change the prototype to return
whether a constant fold could be performed or not.  The result is
returned in an out parameters.  In the case of Indirection and
AddressOf, we want to perform the full tests.

2002-07-26  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Statement.Emit): Flag dead code.

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

21 years ago2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 28 Jul 2002 23:28:55 +0000 (23:28 -0000)]
2002-07-28  Rodrigo Moya <rodrigo@ximian.com>

* OleDbCommand.cs (ExecuteReader):
(CreateParameter): implemented IDbCommand methods.
(CommandText): don't create many GdaCommand's, only one is needed.
(ExecuteNonQuery): set up the internal GDA command object.
(ExecuteReader): use correctly the unique GDA command object.

* libgda.cs: added new libgda calls.

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

21 years agoWrong changelog
Rodrigo Moya [Sun, 28 Jul 2002 23:27:26 +0000 (23:27 -0000)]
Wrong changelog

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

21 years ago2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 28 Jul 2002 22:55:32 +0000 (22:55 -0000)]
2002-07-27  Rodrigo Moya <rodrigo@ximian.com>

* OleDbConnection.cs (CreateCommand):
(BeginTransaction): implemented IDbConnection methods.

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

21 years ago2002-07-29 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 28 Jul 2002 20:16:23 +0000 (20:16 -0000)]
2002-07-29  Duncan Mak  <duncan@ximian.com>

* IContributeServerContentSink.cs: Removed.
* IContributeServerContextSink.cs: Replaces IContributeServerContentSink.

* ILease.cs: Add the method part of the interface and renamed the
CurrentState property to it proper name.

* SoapAttribute.cs: Fixed typo, renamed ReflectionInfo to ReflectInfo.

* SoapOption.cs: Fix the namespace.

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

21 years ago2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 18:37:57 +0000 (18:37 -0000)]
2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplication.cs: events were not being initialized.

* System.Web.Caching/CacheDefinitions.cs: fixed a couple of enums.

* System.Web.Caching/CacheDependency.cs: the class is sealed.

* System.Web.UI.WebControls/BaseValidator.cs: it works now.

* System.Web.UI.WebControls/DataGridColumn.cs: added attribute and
made it abstract.

* System.Web.UI.WebControls/RequiredFieldValidator.cs: fixed return
value in EvaluateIsValid.

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

21 years ago2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 18:37:31 +0000 (18:37 -0000)]
2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list:
* list.unix: added DerivedPropertyDescriptor.cs

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

21 years ago2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 18:36:22 +0000 (18:36 -0000)]
2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DerivedPropertyDescriptor.cs: New file.

* PropertyDescriptorCollection.cs: almost fully implemented.

* TypeDescriptor.cs: implemented a couple of GetProperties ().

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

21 years ago2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 18:29:53 +0000 (18:29 -0000)]
2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ColorTranslator.cs: use Color.Name.

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

21 years ago2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Jul 2002 05:19:09 +0000 (05:19 -0000)]
2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* File.cs:
(Create): allow file names without path.

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

21 years agoForce user to specify prefix
Alp Toker [Sun, 28 Jul 2002 04:24:00 +0000 (04:24 -0000)]
Force user to specify prefix

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

21 years agoForce user to specify prefix
Miguel de Icaza [Sun, 28 Jul 2002 04:13:29 +0000 (04:13 -0000)]
Force user to specify prefix

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

21 years ago2002-07-27 Andrew Birkett <andy@nobugs.org>
Andrew Birkett [Sat, 27 Jul 2002 20:31:30 +0000 (20:31 -0000)]
2002-07-27  Andrew Birkett  <andy@nobugs.org>

        * expression.cs (Unary.Reduce): Handle AddressOf and Indirection.

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

21 years agoupdate download page
Johannes Roith [Sat, 27 Jul 2002 17:44:09 +0000 (17:44 -0000)]
update download page

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

21 years ago2002-07-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 27 Jul 2002 17:20:03 +0000 (17:20 -0000)]
2002-07-27  Martin Baulig  <martin@gnome.org>

* class.cs (MethodData.Define): Put back call to
TypeManager.AddMethod(), accidentally commented this out.

* report.cs (Debug): New public method to print debugging information,
this is `[Conditional ("DEBUG")]'.

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

21 years agoFixed and put back my switch patch:
Martin Baulig [Sat, 27 Jul 2002 17:13:23 +0000 (17:13 -0000)]
Fixed and put back my switch patch:
2002-07-26  Martin Baulig  <martin@gnome.org>

* cs-parser.jay (CSharpParser): Added `Stack switch_stack'.
(switch_statement): Push the current_block to the switch_stack and
pop it again when we're done with the switch.
(switch_section): The new block is a child of the current_block.
Fixes bug #24007, added test-152.cs.

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

21 years ago2002-07-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 27 Jul 2002 14:37:07 +0000 (14:37 -0000)]
2002-07-27  Martin Baulig  <martin@gnome.org>

These two changes won't give us any performance or code-size
improvements, but they make my control flow analyis much simpler.

* statement.cs (While.Emit): Did some loop-inversion here; emit the
test, then the body of the while and then a jump back to the test.
(For.Emit): Did some loop-inversion here; emit the initialization,
then the test, then the body, then the incrementation and then a jump
back to the test.

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

21 years ago2002-07-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 27 Jul 2002 13:50:38 +0000 (13:50 -0000)]
2002-07-27  Martin Baulig  <martin@gnome.org>

* expression.cs (Invocation.EmitArguments): When calling a varargs
function with only its fixed arguments, we need to pass an empty
array.

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

21 years agoAdded "Mono 0.13 has been released" message so we know later on what has
Martin Baulig [Sat, 27 Jul 2002 13:47:28 +0000 (13:47 -0000)]
Added "Mono 0.13 has been released" message so we know later on what has
changed since this release.

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

21 years ago2002-07-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 27 Jul 2002 13:44:33 +0000 (13:44 -0000)]
2002-07-27  Martin Baulig  <martin@gnome.org>

* test-153.cs.cs: New test.

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

21 years ago2002-07-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 27 Jul 2002 13:39:06 +0000 (13:39 -0000)]
2002-07-27  Martin Baulig  <martin@gnome.org>

* test-113.cs: Made this test actually work.

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

21 years agoupdate
Dietmar Maurer [Sat, 27 Jul 2002 11:12:32 +0000 (11:12 -0000)]
update

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

21 years ago2002-07-27 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Sat, 27 Jul 2002 10:57:42 +0000 (10:57 -0000)]
2002-07-27  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_get_runtime_method): code cleanup

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

21 years ago2002-07-27 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Sat, 27 Jul 2002 10:50:52 +0000 (10:50 -0000)]
2002-07-27  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: we do not need to save EAX/ECX/EDX in stmt:

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

21 years agoForgot about this interface
Duncan Mak [Sat, 27 Jul 2002 03:54:47 +0000 (03:54 -0000)]
Forgot about this interface

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

21 years agoSystem.Web.Services/System.Web.Services.Description/ServiceDescription.cs
Miguel de Icaza [Fri, 26 Jul 2002 22:04:55 +0000 (22:04 -0000)]
System.Web.Services/System.Web.Services.Description/ServiceDescription.cs

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

21 years ago0.13
Miguel de Icaza [Fri, 26 Jul 2002 21:47:15 +0000 (21:47 -0000)]
0.13

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

21 years agoAdd missing #endregion
Miguel de Icaza [Fri, 26 Jul 2002 19:32:52 +0000 (19:32 -0000)]
Add missing #endregion

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

21 years ago2002-07-26 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 26 Jul 2002 17:31:50 +0000 (17:31 -0000)]
2002-07-26  Tim Coleman <tim@timcoleman.com>
        * ServiceDescription.cs:
                Changed the creation of the XmlSerializer after
                consulting the System.Xml.Serialization namespace
                and trying to serialize a document.  Now works somewhat!

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

21 years ago2002-07-26 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 26 Jul 2002 17:29:39 +0000 (17:29 -0000)]
2002-07-26  Tim Coleman <tim@timcoleman.com>
        * XmlTextWriter.cs:
                When given a textwriter, check to see if it has a
                null encoding. This was being done for other inputs
                than a textwriter.

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

21 years ago2002-07-26 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 26 Jul 2002 17:27:45 +0000 (17:27 -0000)]
2002-07-26  Tim Coleman <tim@timcoleman.com>
        * XmlSerializer.cs:
                The constructor now looks for an XmlRootAttribute attribute
                if one is not passed in.  Various changes to make it emit
                proper XML, such as handling an element without a namespace
                prefix, and using WriteEndDocument where it should be.

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

21 years agoWrote an INSTALL doc.
Alp Toker [Fri, 26 Jul 2002 16:40:43 +0000 (16:40 -0000)]
Wrote an INSTALL doc.

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

21 years ago2002-07-25 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 26 Jul 2002 14:32:33 +0000 (14:32 -0000)]
2002-07-25  Tim Coleman <tim@timcoleman.com>
        * list: add new classes

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

21 years ago2002-07-25 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 26 Jul 2002 14:31:43 +0000 (14:31 -0000)]
2002-07-25  Tim Coleman <tim@timcoleman.com>
        * SoapClientMethod.cs:
        * SoapServerProtocol.cs:
                Add new internal classes as discovered.
        * SoapClientMessage.cs:
        * SoapMessage.cs:
        * SoapServerMessage.cs:
        * WebClientAsyncResult.cs:
                Add internal constructor, as found on class
                status page; modify some properties.

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

21 years agoemit CEE_RET at the end of end_invoke
Dietmar Maurer [Fri, 26 Jul 2002 14:15:45 +0000 (14:15 -0000)]
emit CEE_RET at the end of end_invoke

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

21 years agoFri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jul 2002 13:47:28 +0000 (13:47 -0000)]
Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>

* FileStream.cs: patch from erik@bagfors.nu to add
Name property support.

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

21 years agoReverted my switch patch for the moment until we've done the release.
Martin Baulig [Fri, 26 Jul 2002 13:27:21 +0000 (13:27 -0000)]
Reverted my switch patch for the moment until we've done the release.

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

21 years agoFri Jul 26 11:58:22 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jul 2002 10:00:28 +0000 (10:00 -0000)]
Fri Jul 26 11:58:22 CEST 2002 Paolo Molaro <lupus@ximian.com>

* object.c: load constant strings.

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