mono.git
17 years ago2006-12-31 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 2 Jan 2007 02:49:11 +0000 (02:49 -0000)]
2006-12-31  Everaldo Canuto  <everaldo@simios.org>

* ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
instead of line, it simplify draw operation and fix it using 3D
borders to mimic Win32.

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

17 years ago2007-01-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 2 Jan 2007 02:02:29 +0000 (02:02 -0000)]
2007-01-01  Miguel de Icaza  <miguel@novell.com>

* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
Clear the error before returning to unmanaged code to prevent the
runtime from being confused later on (fixes  80420).
(ves_icall_type_from_name): Always call mono_loader_clear_error
after parsing a type that could have failed.
(ves_icall_System_Reflection_Assembly_GetTypes): ditto.

* loader.c (mono_loader_clear_error): Fix indentation.

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

17 years ago2007-01-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 1 Jan 2007 22:39:12 +0000 (22:39 -0000)]
2007-01-01  Jonathan Pobst  <monkey@jpobst.com>

* StatusStrip.cs: Add implementation of the sizing grip.

* ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
StatusStrip rendering.

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

17 years ago2007-01-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Jan 2007 21:09:11 +0000 (21:09 -0000)]
2007-01-01  Miguel de Icaza  <miguel@novell.com>

* configure.in (darwin.CPPFLAGS): Temporary workaround for the bug
reported in 77324.  When we get a linker script for MacOS we can
take this out, but for now lets keep it in here.

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

17 years agoApplied os="!windows" for all the mappings in this file as these
Miguel de Icaza [Mon, 1 Jan 2007 20:51:47 +0000 (20:51 -0000)]
Applied os="!windows" for all the mappings in this file as these
mappings are designed to map Windows to Linux libraries and it
was breaking the Windows setup.

See bug 73391

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

17 years agoUpdate man page wording
Miguel de Icaza [Mon, 1 Jan 2007 20:22:20 +0000 (20:22 -0000)]
Update man page wording

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

17 years agoUpdated docs
Miguel de Icaza [Mon, 1 Jan 2007 20:14:28 +0000 (20:14 -0000)]
Updated docs

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

17 years ago2007-01-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Jan 2007 20:14:20 +0000 (20:14 -0000)]
2007-01-01  Miguel de Icaza  <miguel@novell.com>

* scripts/mono-service.in (debug): Add --debug, --no-daemonize and
make sure that this works with 2.0 (wrong binary was being
refereced).

Fixes: #80309

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

17 years agocorrect working with timeouts
Konstantin Triger [Mon, 1 Jan 2007 17:49:03 +0000 (17:49 -0000)]
correct working with timeouts

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

17 years agoensure we don't create session when it is not required
Konstantin Triger [Mon, 1 Jan 2007 17:45:58 +0000 (17:45 -0000)]
ensure we don't create session when it is not required

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

17 years ago2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 1 Jan 2007 16:37:54 +0000 (16:37 -0000)]
2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>

* AutoGeneratedField.cs: is editable in Insest mode.
* BoundField.cs: is editable in Insest mode.
* CheckBoxField.cs: is editable in Insest mode.
* DetailsView.cs: fixed DataBinding flow.

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

17 years ago2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 1 Jan 2007 16:13:44 +0000 (16:13 -0000)]
2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>

* BaseDataBoundControl.cs:
* CompositeDataBoundControl.cs: fixed DataBinding flow.

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

17 years agofixing overriding final method
Roei Erez [Mon, 1 Jan 2007 15:53:21 +0000 (15:53 -0000)]
fixing overriding final method

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

17 years agocorrect asserts in the test
Konstantin Triger [Mon, 1 Jan 2007 15:43:57 +0000 (15:43 -0000)]
correct asserts in the test

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

17 years agoRevert MenuAPI wrong commit
Everaldo Canuto [Mon, 1 Jan 2007 10:13:18 +0000 (10:13 -0000)]
Revert MenuAPI wrong commit

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

17 years agoClean code and fix identation
Everaldo Canuto [Mon, 1 Jan 2007 10:11:57 +0000 (10:11 -0000)]
Clean code and fix identation

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

17 years ago* ToolBarTest.cs: Enabled test for bug #80416.
Gert Driesen [Mon, 1 Jan 2007 10:07:37 +0000 (10:07 -0000)]
* ToolBarTest.cs: Enabled test for bug #80416.

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

17 years ago* Control.cs: fixed ResolveClientUrl, wrong when control that calls this method and...
Vladimir Krasnov [Mon, 1 Jan 2007 09:58:59 +0000 (09:58 -0000)]
* Control.cs: fixed ResolveClientUrl, wrong when control that calls this method and the page are in different folders

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

17 years ago2007-01-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Jan 2007 07:51:23 +0000 (07:51 -0000)]
2007-01-01  Miguel de Icaza  <miguel@novell.com>

* cs-tokenizer.cs: Accept Pc class characters (Connector
Punctuation) as valid identifiers.  Fixes #78259

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

17 years agoAdd new test for bug 78259
Miguel de Icaza [Mon, 1 Jan 2007 07:51:13 +0000 (07:51 -0000)]
Add new test for bug 78259

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

17 years ago2007-01-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Jan 2007 07:01:25 +0000 (07:01 -0000)]
2007-01-01  Miguel de Icaza  <miguel@novell.com>

* expression.cs (Invocation.DoResolve): Moved the check for the
use of `this' for doing method calls to the Invocation resolution
step, after overload resolution has taken place instead of doing
the check at the low-level `This.DoResolve' level.

The `This.DoResolve' happens before overload resolution, so it has
no way of knowing if the method that will be called will be
instace or static, triggering an erroneous report for cs0188 (Bug
78113).

We now do the check for instance method invocations after we know
what method will be called.

(This.CheckThisUsage): Move the actual use of this structure
checking into its own method and expose it.

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

17 years agoAdd new test
Miguel de Icaza [Mon, 1 Jan 2007 06:50:53 +0000 (06:50 -0000)]
Add new test

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

17 years agoAdd verbose description
Miguel de Icaza [Mon, 1 Jan 2007 06:25:11 +0000 (06:25 -0000)]
Add verbose description

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

17 years ago2007-01-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Jan 2007 05:56:21 +0000 (05:56 -0000)]
2007-01-01  Miguel de Icaza  <miguel@novell.com>

* Everywhere that called Error_ValueCannotBeConverted: pass a new
EmitContext.

Exceptions: Null.ConvertImplicitly,
Constant.ImplicitConversionRequired as there are too many call
sites for passing the ec.

* ecore.cs (Expression.Error_ValueCannotBeConverted): Take an
EmitContext, if the value is null, then we do not try to provide
the extra information from the error (If a userdefined conversion
exists, as UserDefinedConversion requires a non null-EmitContext).

Fixes: #80347

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

17 years agoAdd new test case
Miguel de Icaza [Mon, 1 Jan 2007 05:48:43 +0000 (05:48 -0000)]
Add new test case

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

17 years agoNote about PRODUCTION define
Miguel de Icaza [Mon, 1 Jan 2007 05:39:24 +0000 (05:39 -0000)]
Note about PRODUCTION define

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

17 years ago2006-12-31 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Jan 2007 04:40:13 +0000 (04:40 -0000)]
2006-12-31  Miguel de Icaza  <miguel@novell.com>

* io-portability.c (find_file): Do not abort if an empty filename
has been passed.  This fixes the case where MONO_IOMAP=all would
assert if Directory.Exists ("") was called.

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

17 years ago2006-12-31 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Jan 2007 04:40:01 +0000 (04:40 -0000)]
2006-12-31  Miguel de Icaza  <miguel@novell.com>

* exists.cs: Add new test case for MONO_IOMAP bug.

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

17 years agoSpelling fixes and updates
Miguel de Icaza [Mon, 1 Jan 2007 04:26:28 +0000 (04:26 -0000)]
Spelling fixes and updates

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

17 years ago * ControlEventTest.cs: add SizeChanged to the resize/layout event
Chris Toshok [Sun, 31 Dec 2006 23:36:19 +0000 (23:36 -0000)]
* ControlEventTest.cs: add SizeChanged to the resize/layout event
test.

2006-12-31  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-12-31 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 31 Dec 2006 23:34:36 +0000 (23:34 -0000)]
2006-12-31  Chris Toshok  <toshok@ximian.com>

* ControlTest.cs: new test for Anchor/Dock interactions.  Also add
tests for Control.SetTopLevel.

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

17 years ago2006-12-31 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 31 Dec 2006 23:18:35 +0000 (23:18 -0000)]
2006-12-31  Chris Toshok  <toshok@ximian.com>

* ToolBar.cs: don't assign to dock_style in the .ctor.  it doesn't
override the layout style (anchor/dock) of the control.  assign to
Dock instead.  Fixes bug #80416.

* ToolStrip.cs: same.

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

17 years ago2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 31 Dec 2006 19:59:05 +0000 (19:59 -0000)]
2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Page.cs:
* System.Web.UI.WebControls/LinkButton.cs: show the validation summary
when client validation and linkbuttons are used. Patch by Juraj
Skripsky.

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

17 years ago2006-12-31 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Sun, 31 Dec 2006 18:23:11 +0000 (18:23 -0000)]
2006-12-31  Andreia Gaita  <avidigal@novell.com>

* ContainerControl.cs: Use ContainerSelected flag to check if
a Container is directly selected, or if Select is called on a
non-container. If a container is directly selected, focus events
should not be raised.
Apply #80411 patch to throw exception on set_ActiveControl if
control is the same as the current one.

* Control.cs: Use ContainerSelected flag (see above).
Add invalidation check to raise event but not invalidate if
dimensions are 0.
Apply #80411 patch.

* ContainerControlTest.cs / FocusTest.cs: Moved Gert's
ActiveControl tests to FocusTest, for easier management.
Add Validation tests.

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

17 years ago2006-12-31 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Sun, 31 Dec 2006 17:49:13 +0000 (17:49 -0000)]
2006-12-31  Everaldo Canuto  <everaldo@simios.org>

* MenuAPI.cs: After click, dont close popup menu when menu is
ContextMenu. Fixes #80399.

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

17 years ago2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 31 Dec 2006 17:29:54 +0000 (17:29 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>

* TextBox.cs: consider ToolTip property

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

17 years ago* UpDownTest.cs: Added tests for DomainUpDown and NumericUpDown.
Gert Driesen [Sun, 31 Dec 2006 15:34:36 +0000 (15:34 -0000)]
* UpDownTest.cs: Added tests for DomainUpDown and NumericUpDown.

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

17 years agoRun unix2dos.
Eyal Alalouf [Sun, 31 Dec 2006 15:27:25 +0000 (15:27 -0000)]
Run unix2dos.

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

17 years ago2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 31 Dec 2006 15:22:15 +0000 (15:22 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>

* webform.js: WebForm_AutoFocus support for not focusable elements
by setting focus on first focusable child.

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

17 years ago2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 31 Dec 2006 14:44:01 +0000 (14:44 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>

* ContainedTable.cs:
* DataControlButton.cs:
* DetailsView.cs: fixed EnablePagingCallbacks
* DetailsView.js:
* GridView.cs:
* GridView.js: fixed EnableSortingAndPagingCallbacks

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

17 years ago* ProfileGroupBase.cs: fixed property name while getting from parent
Vladimir Krasnov [Sun, 31 Dec 2006 14:37:19 +0000 (14:37 -0000)]
* ProfileGroupBase.cs: fixed property name while getting from parent

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

17 years ago2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 31 Dec 2006 14:25:15 +0000 (14:25 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: fixed: EventValidation is not performed for CallBack request.

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

17 years ago2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 31 Dec 2006 14:17:22 +0000 (14:17 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>

* callback.js: fixed: support IE7, encodeURIComponent is used to
encode the form.

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

17 years ago* ToolBarTest.cs: Added test for bug #80416.
Gert Driesen [Sun, 31 Dec 2006 12:59:52 +0000 (12:59 -0000)]
* ToolBarTest.cs: Added test for bug #80416.

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

17 years ago* SettingsPropertyValue.cs: fixed PropertyValue property, added default value convert...
Vladimir Krasnov [Sun, 31 Dec 2006 12:46:45 +0000 (12:46 -0000)]
* SettingsPropertyValue.cs: fixed PropertyValue property, added default value convertation to property type

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

17 years ago* ContainerControlTest.cs: Added tests for ActiveControl.
Gert Driesen [Sun, 31 Dec 2006 10:12:43 +0000 (10:12 -0000)]
* ContainerControlTest.cs: Added tests for ActiveControl.

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

17 years agorevert the previous change. it's more 'right', but causes everything else to break
Chris Toshok [Sun, 31 Dec 2006 04:11:33 +0000 (04:11 -0000)]
revert the previous change.  it's more 'right', but causes everything else to break

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

17 years ago * ContainerControl.cs: make sure we throw the exception if the
Chris Toshok [Sun, 31 Dec 2006 02:54:32 +0000 (02:54 -0000)]
* ContainerControl.cs: make sure we throw the exception if the
container control doesn't contain the control we're setting
ActiveControl to.

2006-12-30  Chris Toshok  <toshok@ximian.com>

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

17 years agoIn Test/System.Windows.Forms:
Chris Toshok [Sat, 30 Dec 2006 23:19:45 +0000 (23:19 -0000)]
In Test/System.Windows.Forms:
* DefaultLayoutTest.cs: add some more variants for the test for
80336, and remove the NotWorking from the 80336 test.
* SendKeysTest.cs: mark these tests as not working with Xvfb so I
can exclude them.

In System.Windows.Forms:
2006-12-30  Chris Toshok  <toshok@ximian.com>

* Control.cs (SetTopLevel): fix the exception raised by
SetTopLevel for child controls.
(set_Anchor): call UpdateDistances when setting the anchor type.
This fixes bug #80336.

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

17 years ago2006-12-30 Alp Toker <alp@atoker.com>
Alp Toker [Sat, 30 Dec 2006 22:40:25 +0000 (22:40 -0000)]
2006-12-30  Alp Toker  <alp@atoker.com>

* Makefile: Enable CAIRO_1_2.

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

17 years ago2006-12-30 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 30 Dec 2006 21:54:03 +0000 (21:54 -0000)]
2006-12-30  Alexander Olk  <alex.olk@googlemail.com>

* ResourceManagerTest.cs: add one new test and remove NotWorking.
  All tests pass now.

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

17 years ago * ResourceManager.cs: Don't create the ResourceSets hashtable in the
Alexander Olk [Sat, 30 Dec 2006 21:51:30 +0000 (21:51 -0000)]
* ResourceManager.cs: Don't create the ResourceSets hashtable in the
protected ctor, instead move it to the public ctors. Fixes some not
working nunit tests. Also, return a closed ResourceSet instead of
creating a new one. Fixes one more test. If only BaseNameField is
provided, try to create a resource set from the BaseNameField. One
more test that passes now.
* ResourceSet.cs: Remove isDisposed. Not needed anymore.

2006-12-30  Alexander Olk  <alex.olk@googlemail.com>

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

17 years agodo the /exclude:Interactive thing in a way the existing library.make supports.
Chris Toshok [Sat, 30 Dec 2006 21:29:14 +0000 (21:29 -0000)]
do the /exclude:Interactive thing in a way the existing library.make supports.

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

17 years agoIn Test/System.Windows.Forms:
Chris Toshok [Sat, 30 Dec 2006 19:32:22 +0000 (19:32 -0000)]
In Test/System.Windows.Forms:
2006-12-30  Chris Toshok  <toshok@ximian.com>

* SendKeysTest.cs: mark these tests as Interactive since they
can't be run against Xvfb.

In .:
2006-12-30  Chris Toshok  <toshok@ximian.com>

* Makefile (TEST_HARNESS_LOCAL_EXCLUDES): exclude Interactive
tests.

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

17 years ago* flowanalysis.cs (MyBitVector): Document some invariants.
Raja R Harinath [Sat, 30 Dec 2006 19:21:22 +0000 (19:21 -0000)]
* flowanalysis.cs (MyBitVector): Document some invariants.
(MyBitVector.Or, MyBitVector.And): Reimplement the optimizations
introduced below, and add a couple of others,

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

17 years ago2006-12-30 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 30 Dec 2006 18:51:33 +0000 (18:51 -0000)]
2006-12-30  Miguel de Icaza  <miguel@novell.com>

* debug-debugger.c (mono_debugger_main): Rename "main" to
"main_method" to prevent a warning.

Remove a warning for unused field.

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

17 years agoNew tests.
Marek Safar [Sat, 30 Dec 2006 18:04:58 +0000 (18:04 -0000)]
New tests.

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

17 years ago2006-12-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 30 Dec 2006 18:04:17 +0000 (18:04 -0000)]
2006-12-30  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Better syntax errors handling.

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

17 years ago2006-12-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 30 Dec 2006 18:03:36 +0000 (18:03 -0000)]
2006-12-30  Marek Safar  <marek.safar@gmail.com>

* attribute.cs (GetMethodObsoleteAttribute): Uses new
GetPropertyFromAccessor and GetEventFromAccessor.

* class.cs (MethodCore.CheckBase): A new warning when obsolete member
overrides non-obsolete one.
(Indexer.Define): Error message has been moved to the parser.

* cs-parser.jay: Better syntax errors handling.

* delegate.cs (NewDelegate.DoResolve): Issue less confusing error message
when an invocation has no arguments.

* ecore.cs: Removed not used caching.

* expression.cs (IsSpecialMethodInvocation): Reuses TypeManager
implementation.

* report.cs: Add a new warning.

* support.cs (ReflectionParameters): Implements Equals, GetHashCode.

* typemanager.cs (enumeration_type): Removed.
(CSharpSignature): Reuses IsSpecialMethod.
(IsEqual): Hack for MS BCL.
(GetPropertyFromAccessor): New method.
(GetEventFromAccessor): New method.
(IsSpecialMethod): Fixed to handle more cases.

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

17 years ago2006-12-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 30 Dec 2006 17:56:00 +0000 (17:56 -0000)]
2006-12-30  Marek Safar  <marek.safar@gmail.com>

* String.cs: Character based method only.
(IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
(Substring): Returns same instance when index is 0.

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

17 years ago2006-12-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 30 Dec 2006 17:51:57 +0000 (17:51 -0000)]
2006-12-30  Marek Safar  <marek.safar@gmail.com>

* MonoProperty.cs: Cache frequently used properties.

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

17 years ago* MethodDataCollection.cs: Throw NotImplementedException in methods
Gert Driesen [Sat, 30 Dec 2006 17:45:35 +0000 (17:45 -0000)]
* MethodDataCollection.cs: Throw NotImplementedException in methods
and properties itself to improve Moma reports.
* ManagementClass.cs: Same.
* MethodData.cs: Same.
* ManagementObjectSearcher.cs: Same.
* ObjectQuery.cs: Same.
* ManagementQuery.cs: Same.

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

17 years ago2006-12-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 30 Dec 2006 16:07:56 +0000 (16:07 -0000)]
2006-12-30  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs (PreProcessDefinition, handle_preprocessing_directive):
Made white spaces array static.

* ecore.cs (RemoveGenericArity): Optimized.

* flowanalysis.cs (MyBitVector.Or, MyBitVector.And): Optimized (up to
10 times faster).
(MyBitVector.initialize_vector): Simplified.

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

17 years ago2006-12-30 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 30 Dec 2006 16:07:24 +0000 (16:07 -0000)]
2006-12-30  Alexander Olk  <alex.olk@googlemail.com>

* ResourceManager.cs: Iterate through the values of the ResourceSets
hashtable in ReleaseAllResources instead through the hashtable itself.

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

17 years ago* NewMonoXSD.cs : Silently ignore /nologo switch for compatibility
Gert Driesen [Sat, 30 Dec 2006 14:52:23 +0000 (14:52 -0000)]
* NewMonoXSD.cs : Silently ignore /nologo switch for compatibility
with MS.

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

17 years ago* ManagementObjectSearcher.cs: Stubbed out.
Gert Driesen [Sat, 30 Dec 2006 14:42:05 +0000 (14:42 -0000)]
* ManagementObjectSearcher.cs: Stubbed out.
* ManagementQuery.cs: Stubbed out.
* ObjectQuery.cs: Stubbed out.
* System.Management.dll.sources: Added ManagementObjectSearcher.cs,
ManagementQuery.cs, ObjectQuery.cs.

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

17 years ago* System.Management.dll.sources: Added CodeLanguage.cs,
Gert Driesen [Sat, 30 Dec 2006 14:26:26 +0000 (14:26 -0000)]
* System.Management.dll.sources: Added CodeLanguage.cs,
ManagementClass.cs, MethodData.cs, MethodDataCollection.cs.
* CodeLanguage.cs: Stubbed out.
* ManagementClass.cs: Stubbed out.
* MethodData.cs: Stubbed out.
* MethodDataCollection.cs: Stubbed out.

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

17 years ago2006-12-30 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 30 Dec 2006 11:02:56 +0000 (11:02 -0000)]
2006-12-30  Alexander Olk  <alex.olk@googlemail.com>

* gdipFunctions.cs: Don't create "millions" of byte arrays in
GdiPlusStreamHelper. Just create a default size array and resize it
only when needed. (as an example: the FileDialog sample created more
than 1700 new byte arrays on my system before the patch, now only 74)

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

17 years ago2006-12-30 Alp Toker <alp@atoker.com>
Alp Toker [Sat, 30 Dec 2006 03:28:46 +0000 (03:28 -0000)]
2006-12-30  Alp Toker  <alp@atoker.com>

* MathTest.cs: Add test case for new (2.0) Decimal.Ceiling.
Based on feedback on #80384.

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

17 years ago2006-12-30 Alp Toker <alp@atoker.com>
Alp Toker [Sat, 30 Dec 2006 03:28:04 +0000 (03:28 -0000)]
2006-12-30  Alp Toker  <alp@atoker.com>

* Decimal.cs:
* Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
Closes #80384.

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

17 years agotests for IsValidIdentifier method
Marek Habersack [Sat, 30 Dec 2006 02:16:12 +0000 (02:16 -0000)]
tests for IsValidIdentifier method

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

17 years agoImplement actual identifier checking
Marek Habersack [Sat, 30 Dec 2006 01:50:11 +0000 (01:50 -0000)]
Implement actual identifier checking

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

17 years ago* ResourceReader.cs: Support reading byte arrays in v2 resource files.
Gert Driesen [Fri, 29 Dec 2006 23:40:46 +0000 (23:40 -0000)]
* ResourceReader.cs: Support reading byte arrays in v2 resource files.
Patch provided by Red Forks. Fixes bug #79976.
* ResourceReaderTest.cs: Added test for reading byte array.
No longer derive from Assertion class.

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

17 years ago* CultureTest.cs: Added SetUp and TearDown. Spaces to tabs.
Gert Driesen [Fri, 29 Dec 2006 22:34:41 +0000 (22:34 -0000)]
* CultureTest.cs: Added SetUp and TearDown. Spaces to tabs.
* WriterTest.cs Added SetUp and TearDown. Spaces to tabs.

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

17 years ago* ResXResourceReader.cs: For invalid mime type, return value as string
Gert Driesen [Fri, 29 Dec 2006 22:25:50 +0000 (22:25 -0000)]
* ResXResourceReader.cs: For invalid mime type, return value as string
on 1.0 profile. This matches MS.
* CompatTest.cs: Fixed test for 2.0 profile and 1.0 profile. Enabled
test for 1.0 profile.

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

17 years ago* DataGridTest.cs: Fixed compiler warnings.
Gert Driesen [Fri, 29 Dec 2006 21:17:31 +0000 (21:17 -0000)]
* DataGridTest.cs: Fixed compiler warnings.

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

17 years ago* ControlTest.cs: Marked FontTest and ResetFontTest as NotWorking
Gert Driesen [Fri, 29 Dec 2006 21:16:26 +0000 (21:16 -0000)]
* ControlTest.cs: Marked FontTest and ResetFontTest as NotWorking
until Theme.DefaultFont change is approved.

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

17 years ago2006-12-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 29 Dec 2006 21:14:25 +0000 (21:14 -0000)]
2006-12-29  Robert Jordan  <robertj@gmx.net>

* TraceImpl.cs (Assert): Include line numbers in the stack trace
emitted by Assert (). Fixes bug #80400.

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

17 years ago* Theme.cs: For now, revert back to 8pt font.
Gert Driesen [Fri, 29 Dec 2006 21:05:37 +0000 (21:05 -0000)]
* Theme.cs: For now, revert back to 8pt font.

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

17 years ago* Theme.cs: Marked default_font as private, and initialize it in ctor
Gert Driesen [Fri, 29 Dec 2006 20:36:06 +0000 (20:36 -0000)]
* Theme.cs: Marked default_font as private, and initialize it in ctor
with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
on 2.0 profile.
* ThemeGtk.cs: Removed default_font intialization.
* ThemeWin32Classic.cs: Removed default_font initialization.
* ControlTest.cs: Added test for Font and ResetFont.
* DataGridTest.cs: Fixed CaptionFont test on 2.0 profile.

remark: corresponding ChangeLog entries were (by accident) committed earlier
today.

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

17 years ago2006-12-29 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 29 Dec 2006 18:44:07 +0000 (18:44 -0000)]
2006-12-29  Everaldo Canuto  <everaldo@simios.org>

* MenuAPI.cs: Set popup as active when open a ContextMenu.
Fixes #80395.

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

17 years agoIn Test/System.Windows.Forms:
Chris Toshok [Fri, 29 Dec 2006 18:28:47 +0000 (18:28 -0000)]
In Test/System.Windows.Forms:
2006-12-29  Chris Toshok  <toshok@ximian.com>

* ControlEventTest.cs: add a test to determine the ordering of
Layout/Resize events.

In System.Windows.Forms:
2006-12-29  Chris Toshok  <toshok@ximian.com>

* Control.cs: reorder the code in OnResize to give the same event
ordering as MS.

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

17 years agoRemove NIE for Mono reports.
Rolf Bjarne Kvinge [Fri, 29 Dec 2006 18:12:57 +0000 (18:12 -0000)]
Remove NIE for Mono reports.

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

17 years ago2006-12-29 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 29 Dec 2006 18:11:06 +0000 (18:11 -0000)]
2006-12-29  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
TileHorizontally and TileVertically.

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

17 years agoFix the monoburg invocation, the default cost should be 1, not -1
Miguel de Icaza [Fri, 29 Dec 2006 17:45:13 +0000 (17:45 -0000)]
Fix the monoburg invocation, the default cost  should be 1, not -1

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

17 years ago2006-12-29 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 29 Dec 2006 15:03:36 +0000 (15:03 -0000)]
2006-12-29  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ToolTask.cs (LogEventsFromTextOutput): This method is actually
        protected so we can't remove second parameter.

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

17 years ago2006-12-29 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 29 Dec 2006 14:12:29 +0000 (14:12 -0000)]
2006-12-29  Alexander Olk  <alex.olk@googlemail.com>

* ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
Corrected copyright and email adress.

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

17 years ago* TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
Gert Driesen [Fri, 29 Dec 2006 13:32:20 +0000 (13:32 -0000)]
* TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
of Exception in FullPath property if no TreeView is associated with
the TreeNode.
* TreeNodeTest.cs: Fixed FullPathException test on 2.0 profile.

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

17 years ago* SystemFontsTest.cs: Split DefaultFont test into two parts, since
Gert Driesen [Fri, 29 Dec 2006 11:42:19 +0000 (11:42 -0000)]
* SystemFontsTest.cs: Split DefaultFont test into two parts, since
on Linux MS Sans Sarif is mapped to other available font.

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

17 years ago* SystemFontsTest.cs: Added test for DefaultFont.
Gert Driesen [Fri, 29 Dec 2006 11:27:48 +0000 (11:27 -0000)]
* SystemFontsTest.cs: Added test for DefaultFont.

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

17 years ago* Brush.cs: Fixed line endings.
Gert Driesen [Fri, 29 Dec 2006 11:25:16 +0000 (11:25 -0000)]
* Brush.cs: Fixed line endings.
* BufferedGraphicsContext.cs: Fixed line endings.
* CharacterRange.cs: Fixed line endings.
* Graphics.cs: Fixed line endings.
* IDeviceContext.cs: Fixed line endings.
* SizeFConverter.cs: Fixed line endings.
* SystemBrushes.cs: Fixed line endings.
* SystemFonts.cs: Fixed line endings.
* SystemPens.cs: Fixed line endings.

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

17 years ago* ControlTest.cs: Improved DoubleBufferedTest.
Gert Driesen [Fri, 29 Dec 2006 10:09:34 +0000 (10:09 -0000)]
* ControlTest.cs: Improved DoubleBufferedTest.

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

17 years ago2006-12-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 29 Dec 2006 09:51:15 +0000 (09:51 -0000)]
2006-12-29  Marek Safar  <marek.safar@gmail.com>

* BitArray.cs: Performance improvements.

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

17 years ago* HttpWebRequest.jvm.cs: Fixed line endings.
Gert Driesen [Fri, 29 Dec 2006 09:31:51 +0000 (09:31 -0000)]
* HttpWebRequest.jvm.cs: Fixed line endings.
* HttpWebResponse.jvm.cs: Same.
* WebException.cs: Same.
* FtpWebRequest.cs: Same.
* VMWHttpProvider.jvm.cs: Same.

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

17 years ago* DnsPermissionAttribute.cs: Fixed line endings. Set eol-style.
Gert Driesen [Fri, 29 Dec 2006 09:16:25 +0000 (09:16 -0000)]
* DnsPermissionAttribute.cs: Fixed line endings. Set eol-style.
* HttpVersion.cs: Same.
* FtpWebResponse.cs: Same.
* HttpContinueDelegate.cs: Same.
* FtpAsyncResult.cs: Same.
* EndpointPermission.cs: Same.
* IPv6Address.cs: Same.
* FtpDataStream.cs: Same.
* SocketPermission.cs: Same.
* FileWebRequest.cs: Same.
* FileWebResponse.cs: Same.
* DnsPermission.cs: Same.
* ProtocolViolationException.cs: Same.
* MonoHttpDate.cs: Same.
* SocketPermissionAttribute.cs: Same.
* CookieException.cs: Same.
* WebResponse.cs: Same.
* DefaultCertificatePolicy.cs: Same.

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

17 years ago * Control.cs: fix a couple of place where we were creating handles
Chris Toshok [Fri, 29 Dec 2006 06:29:07 +0000 (06:29 -0000)]
* Control.cs: fix a couple of place where we were creating handles
more aggressively than we should be.  Fixes ControlRefresh unit
tests.

2006-12-28  Chris Toshok  <toshok@ximian.com>

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

17 years agoIn .:
Chris Toshok [Fri, 29 Dec 2006 06:07:22 +0000 (06:07 -0000)]
In .:
2006-12-28  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms_test.dll.sources: add DefaultLayoutTest and
remove DockingTests.

In Test/System.Windows.Forms:
2006-12-28  Chris Toshok  <toshok@ximian.com>

* ControlTest.cs: add a test to check whether parent.PerformLayout
is called from OnResized (it isn't).

* DefaultLayoutTest.cs: new file, add a bunch of anchor tests,
including the (not working) test case in bug #80336.  Move the
docking/undocking tests here.

In System.Windows.Forms:
2006-12-28  Chris Toshok  <toshok@ximian.com>

* Control.cs: contrary to what the comment said, Control.Dock does
not supercede Control.Anchor - the last one you assign to decides
the layout behavior.  so we need to keep track of which was the
last set.  Also, fix some of the affected property arguments in
PerformLayout calls, and remove an redundant parent.PerformLayout
call in OnResized.

Add a VisibleInternal property, which returns is_visible.  We
can/should get rid of all the usage of this field elsewhere.

In System.Windows.Forms.Layout:
2006-12-28  Chris Toshok  <toshok@ximian.com>

* DefaultLayout.cs: split out the various parts (docking,
anchoring) into separate methods.  make use of the
Control.ControlLayoutType property, as well as
Control.VisibleInternal (and fix a couple of unit tests which were
broken due to use of Visible here.)

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

17 years agoIn Test/System.Windows.Forms:
Rolf Bjarne Kvinge [Fri, 29 Dec 2006 00:24:57 +0000 (00:24 -0000)]
In Test/System.Windows.Forms:
* ControlTest.cs: More tests for double buffers.

2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

In System.Windows.Forms:
* Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
control style, not DoubleBuffer. Added UseDoubleBuffering property
that indicates whether doublebuffering is enabled and supported.
(comment from and code based on Gert Driesen's patch in #80324).
Fixes #80324.

2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years ago* IPAddress.cs: On 1.1, 4-byte addresses are not supported in the
Gert Driesen [Thu, 28 Dec 2006 21:18:12 +0000 (21:18 -0000)]
* IPAddress.cs: On 1.1, 4-byte addresses are not supported in the
ctor. Added null checks for the address passed in the ctors.
* IPAddressTest.cs: Added 4-byte and null address tests.

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

17 years agoUpdate
Miguel de Icaza [Thu, 28 Dec 2006 21:01:35 +0000 (21:01 -0000)]
Update

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