mono.git
17 years ago2007-01-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 26 Jan 2007 17:42:25 +0000 (17:42 -0000)]
2007-01-26  Jonathan Pobst  <monkey@jpobst.com>

* PaddingConverter.cs: Added.
* PaddingConverterTest.cs: Added.

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

17 years agoFri Jan 26 18:31:45 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 17:34:27 +0000 (17:34 -0000)]
Fri Jan 26 18:31:45 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.h, mini-trampolines.c, aliasing.c, mini-codegen.c,
debug-debugger.c, debug-debugger.h: warning fixes.
* driver.c: updated copyright year and made it fit in one line.

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

17 years ago2007-01-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Jan 2007 16:10:07 +0000 (16:10 -0000)]
2007-01-26  Robert Jordan  <robertj@gmx.net>

* mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
for Win32.

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

17 years ago2007-01-26 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 26 Jan 2007 14:27:47 +0000 (14:27 -0000)]
2007-01-26  Dick Porter  <dick@ximian.com>

* Socket.cs: There's no point checking the SO_ERROR status of a
socket after poll() or select() if we already know that connected
== true.

2007-01-26  Dick Porter  <dick@ximian.com>

* SocketTest.cs: New test for SO_ERROR reading, returning the same
value over and over.

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

17 years ago2007-01-26 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 26 Jan 2007 14:21:30 +0000 (14:21 -0000)]
2007-01-26  Dick Porter  <dick@ximian.com>

* socket-private.h:
* sockets.c (_wapi_getsockopt): Windows seems to not reset
SO_ERROR values when they're read, contrary to the documentation.
Fixes the new issues raised in bug 79878 (example in C showing
winsock behaviour attached to that bug.)

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

17 years agoDon't link to gmodule anymore.
Paolo Molaro [Fri, 26 Jan 2007 13:24:04 +0000 (13:24 -0000)]
Don't link to gmodule anymore.

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

17 years agoFri Jan 26 12:48:39 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 12:10:43 +0000 (12:10 -0000)]
Fri Jan 26 12:48:39 CET 2007 Paolo Molaro <lupus@ximian.com>

* aot-runtime.c: updated to use mono-dl instead of gmodule.

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

17 years agoFri Jan 26 12:49:23 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 12:10:30 +0000 (12:10 -0000)]
Fri Jan 26 12:49:23 CET 2007 Paolo Molaro <lupus@ximian.com>

* image.h, loader.c, metadata-internals.h: use mono-dl instead of
gmodule.

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

17 years agoFri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 12:07:32 +0000 (12:07 -0000)]
Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>

* mono-dl.h, mono-dl.c: make symbols internal and fixes.

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

17 years ago2007-01-26 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 26 Jan 2007 11:41:43 +0000 (11:41 -0000)]
2007-01-26  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* StatusBarTest.cs: Added a few more tests.

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

17 years agoFri Jan 26 12:37:14 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 11:37:28 +0000 (11:37 -0000)]
Fri Jan 26 12:37:14 CET 2007 Paolo Molaro <lupus@ximian.com>

* monograph.c: warning fixes.

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

17 years ago * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
Rolf Bjarne Kvinge [Fri, 26 Jan 2007 11:31:12 +0000 (11:31 -0000)]
* ThemeWin32Classic.cs: Only draw the text of a StatusBar if
ShowPanels is false (fixes #80600). Only draw up to 127 characters
of text (fixes #80601). For panels clip the text to draw to the
panel (fixes #80603).
2007-01-26  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years agoFri Jan 26 12:30:22 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 11:30:46 +0000 (11:30 -0000)]
Fri Jan 26 12:30:22 CET 2007 Paolo Molaro <lupus@ximian.com>

* get.c, dis-cil.c: warning fixes.

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

17 years agoFri Jan 26 12:00:45 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Jan 2007 11:01:27 +0000 (11:01 -0000)]
Fri Jan 26 12:00:45 CET 2007 Paolo Molaro <lupus@ximian.com>

* threadpool.c: made the code moving-GC safe.

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

17 years ago2007-01-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 26 Jan 2007 10:45:13 +0000 (10:45 -0000)]
2007-01-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildPropertyGroupTest.cs: Trivial test for SetProperty ().

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

17 years ago2007-01-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 26 Jan 2007 10:44:13 +0000 (10:44 -0000)]
2007-01-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildPropertyGroup.cs (SetProperty): Made it work with persisted
        properties.

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

17 years ago2007-01-26 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 26 Jan 2007 10:26:10 +0000 (10:26 -0000)]
2007-01-26  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ComboBox.cs: Fixed implementation of ResetText.

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

17 years ago2007-01-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 26 Jan 2007 02:00:40 +0000 (02:00 -0000)]
2007-01-25  Jonathan Pobst  <monkey@jpobst.com>

* ControlHandleTest.cs: Added.  Has tests to find exactly which
Methods and Properties create a Handle.  Not added to sources file
because it's written against MS, and we're probably missing some
methods/properties.

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

17 years agoFix for cases when the browser language is set to a neutral culture
Marek Habersack [Thu, 25 Jan 2007 22:24:54 +0000 (22:24 -0000)]
Fix for cases when the browser language is set to a neutral culture

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

17 years ago * TextControl.cs: For the last char of a line we need to use the
Jackson Harper [Thu, 25 Jan 2007 22:24:12 +0000 (22:24 -0000)]
    * TextControl.cs: For the last char of a line we need to use the
        line size, not that chars width, since it won't actually be
        computed since the right side of a char is based on the start of
        the left side of the next char, and the next char does not
exist.

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

17 years ago2007-01-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 25 Jan 2007 20:56:27 +0000 (20:56 -0000)]
2007-01-25  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripButtonTest.cs, ToolStripItemTest.cs, ToolStripLabelTest.cs:
Try to make some tests not Font/DPI dependent.

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Thu, 25 Jan 2007 20:45:53 +0000 (20:45 -0000)]
In System.Windows.Forms:
2007-01-25  Chris Toshok  <toshok@ximian.com>

* Splitter.cs: fix the new unit tests, and reindent some switch
statements.

In Test/System.Windows.Forms:
2007-01-25  Chris Toshok  <toshok@ximian.com>

* SplitterTest.cs: new tests.

In .:
2007-01-25  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms_test.dll.sources: add SplitterTest.cs

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

17 years ago2007-01-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 25 Jan 2007 19:44:15 +0000 (19:44 -0000)]
2007-01-25  Chris Toshok  <toshok@ximian.com>

* Calendar.cs, HijriCalendar.cs, ThaiBuddhistCalendar.cs,
HebrewCalendar.cs, GregorianCalendar.cs, KoreanCalendar.cs,
JulianCalendar.cs, PersianCalendar.cs:

more serialization fixes.  the M_TwoDigitYearMax field we use
appears to be called twoDigitYearMax in MS.NET.  rename it (and
fix all the Calendar subclasses to use this naming).  Likewise
with is_readonly (MS calls it m_isReadOnly).

Also, the m_currentEraValue field I had originally placed in
GregorianCalendar appears to be in Calendar (as running
nunit-2.2.8-2.0 shows.)

In GregorianCalendar, rename the M_CalendarType field to m_type
and remove the extra field I added.

The previous fix got nunit 2.4-2.0 running.  This change gets
versions 2.2.8 and 2.4 of nunit running against both 1.1 and 2.0
profiles.

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

17 years agoThu Jan 25 20:31:41 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Jan 2007 19:40:03 +0000 (19:40 -0000)]
Thu Jan 25 20:31:41 CET 2007 Paolo Molaro <lupus@ximian.com>

* assembly.c, boehm-gc.c, class-internals.h, class.c,
debug-mono-symfile.c, domain.c, locales.c, marshal.c, metadata.c,
monitor.c, mono-debug.c, mono-debug.h, object.c, profiler.c:
warning cleanup.
* reflection.c: warning cleanup, some threading and moving GC fixes.

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

17 years agoFixed a typo.
Eyal Alalouf [Thu, 25 Jan 2007 19:32:10 +0000 (19:32 -0000)]
Fixed a typo.

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

17 years ago * StreamReaderTest.cs: Added test for bug #75526.
Gert Driesen [Thu, 25 Jan 2007 19:26:30 +0000 (19:26 -0000)]
 * StreamReaderTest.cs: Added test for bug #75526.

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

17 years ago * ComboBoxTest.cs: Added tests for ResetText.
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 19:20:52 +0000 (19:20 -0000)]
* ComboBoxTest.cs: Added tests for ResetText.

2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years ago2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 19:10:17 +0000 (19:10 -0000)]
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ComboBox.cs: Implemented 2.0 methods and events.
* TextBoxBase.cs: Added OnTextUpdate, so that
ComboBox.ComboTextBox can inform ComboBox of it.

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

17 years ago2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jan 2007 18:46:31 +0000 (18:46 -0000)]
2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* System.Web.Services_test.dll.sources: added TypeTypeConverter.cs.

* TypeTypeConverter.cs :
  New internal stuff, TypeConverter for a type name.
* SoapExtensionTypeElement.cs :
  For Type property, use above. Part of #80619 fix.

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

17 years agoAdd support for multiple fomrs on the client side in case of TARGET_J2EE portal support.
Eyal Alalouf [Thu, 25 Jan 2007 18:12:05 +0000 (18:12 -0000)]
Add support for multiple fomrs on the client side in case of TARGET_J2EE portal support.

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

17 years agoWorkaround not supported in Grasshopper property System.ArgumentNullException.ParamName.
Ilya Kharmatsky [Thu, 25 Jan 2007 17:22:34 +0000 (17:22 -0000)]
Workaround not supported in Grasshopper property System.ArgumentNullException.ParamName.

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

17 years ago * TextControl.cs: Respect ShowSelection when deciding whether or
Jackson Harper [Thu, 25 Jan 2007 17:09:35 +0000 (17:09 -0000)]
    * TextControl.cs: Respect ShowSelection when deciding whether or
        not to display the caret, this allows comboboxes to have carets
        when the combotextbox does not have focus.

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

17 years agoWorkaround Grasshopper's bugs with 'Ignore' and 'NotWorking' attribute / category.
Ilya Kharmatsky [Thu, 25 Jan 2007 16:43:58 +0000 (16:43 -0000)]
Workaround Grasshopper's bugs with 'Ignore' and 'NotWorking' attribute / category.

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

17 years ago * TextBoxBase.cs: Don't antialias text. Makes it look way better
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 16:41:12 +0000 (16:41 -0000)]
* TextBoxBase.cs: Don't antialias text. Makes it look way better
on Windows (no difference on Linux).
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years agoWorkaround Grasshopper's bugs with 'Ignore' attributes.
Ilya Kharmatsky [Thu, 25 Jan 2007 16:40:24 +0000 (16:40 -0000)]
Workaround Grasshopper's bugs with 'Ignore' attributes.

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

17 years ago * TextControl.cs: Add a Suspend/Resume for updating, basically
Jackson Harper [Thu, 25 Jan 2007 16:39:01 +0000 (16:39 -0000)]
    * TextControl.cs: Add a Suspend/Resume for updating, basically
        * the
        same as the Suspend/Resume for recalc, except this will do
actual
        Invalidates.
        - New Undo manager, works much like the MS version.
        - Implemented Redo
        * TextBoxBase.cs: The Cut operation is undoable.

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

17 years agoAdded 'Ignore' attributes, under TARGET_JVM directive in order to workaround
Ilya Kharmatsky [Thu, 25 Jan 2007 16:37:25 +0000 (16:37 -0000)]
Added 'Ignore' attributes, under TARGET_JVM directive in order to workaround
Grasshopper's bugs.

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

17 years agoAdded 'Ignore' attribute under TARGET_JVM in order to workaround Grasshopper's bug.
Ilya Kharmatsky [Thu, 25 Jan 2007 16:33:09 +0000 (16:33 -0000)]
Added 'Ignore' attribute under TARGET_JVM in order to workaround Grasshopper's bug.

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

17 years ago2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 16:30:26 +0000 (16:30 -0000)]
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
we don't want to activate any windows. Fixes #79433.

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

17 years agoTest for the arm encoding bug.
Paolo Molaro [Thu, 25 Jan 2007 15:42:47 +0000 (15:42 -0000)]
Test for the arm encoding bug.

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

17 years agoThu Jan 25 16:22:36 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Jan 2007 15:28:48 +0000 (15:28 -0000)]
Thu Jan 25 16:22:36 CET 2007 Paolo Molaro <lupus@ximian.com>

* class.c, loader.c: create the needed Set/Get/Address array methods
as well as the .ctors in mono_class_init (), fixes bug #80567.

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

17 years ago2007-01-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 25 Jan 2007 15:15:10 +0000 (15:15 -0000)]
2007-01-25  Jonathan Pobst  <monkey@jpobst.com>

- ButtonBase.cs: Fix capitalization of parameter: disposing.
[Fixes bug #80609]

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

17 years ago2007-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jan 2007 14:56:27 +0000 (14:56 -0000)]
2007-01-25  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_output_basic_block): Fix #80507 for x86.

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

17 years ago2007-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jan 2007 14:44:45 +0000 (14:44 -0000)]
2007-01-25  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Fix #80507 for amd64.

* iltests.il: Add new test for bug #80507.

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

17 years ago2006-01-25 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Thu, 25 Jan 2007 13:15:08 +0000 (13:15 -0000)]
2006-01-25  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs:
- Move to using System.ComponentModel.EventHandlerList
- Replace Refresh with Invalidate
- Clear the mime filecache on closing
- Some other memory reducing work. After beeing closed FD now uses
  only about 300 KB for the fdo mime stuff plus the memory of the
  cached icons.
* Mime.cs: Changed coding style and removed unnecessary commented
code. Some more memory memory reducing work.

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

17 years ago2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 12:41:38 +0000 (12:41 -0000)]
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
a few other missing 2.0 properties.
* Theme.cs: Added DrawFlatStyleComboBox.
* ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.

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

17 years ago2007-01-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 25 Jan 2007 12:41:01 +0000 (12:41 -0000)]
2007-01-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ComboBoxTest.cs: Add tests for new properties.
* MdiFormTest.cs: Set ShowInTaskbar = false for main forms.

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

17 years agoAdded 'Ignore' attribute under TARGET_JVM directive.
Ilya Kharmatsky [Thu, 25 Jan 2007 11:26:04 +0000 (11:26 -0000)]
Added 'Ignore' attribute under TARGET_JVM directive.

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

17 years ago2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jan 2007 10:32:13 +0000 (10:32 -0000)]
2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : copy Kind in those members that return DateTime.
  Fixed bug #80614.

* DateTimeTest.cs : test for copying Kind property.

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

17 years agodescribe only supported bindings and never HttpPostLocalhost
Konstantin Triger [Thu, 25 Jan 2007 09:59:09 +0000 (09:59 -0000)]
describe only supported bindings and never HttpPostLocalhost

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

17 years ago2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jan 2007 09:57:57 +0000 (09:57 -0000)]
2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* SignedXml.cs : for DataObject, copy namespaces in Data into Object
  element itself. I haven't solved the puzzle on why it is needed
  though.

* SignedXmlTest.cs : enable SignElementWithPrefixedNamespace().

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

17 years agosupport test page using POST request
Konstantin Triger [Thu, 25 Jan 2007 09:53:00 +0000 (09:53 -0000)]
support test page using POST request

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

17 years agoUse System.IO tests for TARGET_JVM.
Boris Kirzner [Thu, 25 Jan 2007 09:48:45 +0000 (09:48 -0000)]
Use System.IO tests for TARGET_JVM.

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

17 years ago* LoginTest.cs: removed NotWorking attribute
Vladimir Krasnov [Thu, 25 Jan 2007 09:32:17 +0000 (09:32 -0000)]
* LoginTest.cs: removed NotWorking attribute

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

17 years agoMerge gh20preview2 branch (revisions 70670:71411)
Noam Lampert [Thu, 25 Jan 2007 08:46:55 +0000 (08:46 -0000)]
Merge gh20preview2 branch (revisions 70670:71411)

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

17 years ago2007-01-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Thu, 25 Jan 2007 06:12:54 +0000 (06:12 -0000)]
2007-01-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* StreamReader.cs: fix for bug #75526. We return earlier from Read () if
the underlying stream might block or end on the next read.

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

17 years agofix this in a better way
Chris Toshok [Thu, 25 Jan 2007 00:32:24 +0000 (00:32 -0000)]
fix this in a better way

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

17 years ago2007-01-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 25 Jan 2007 00:26:47 +0000 (00:26 -0000)]
2007-01-24  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: fix the wake_waiting logic - we always clear the
wake_waiting flag, not just when there's data to be read.  if we
don't, then future wakeup's won't reach us and we'll be doomed to
wait for the entire 1 second timeout forever (unless there are X
events to be had).

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

17 years agoNew tests and updates.
Marek Safar [Thu, 25 Jan 2007 00:20:04 +0000 (00:20 -0000)]
New tests and updates.

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

17 years ago2007-01-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 25 Jan 2007 00:18:28 +0000 (00:18 -0000)]
2007-01-25  Marek Safar  <marek.safar@gmail.com>

* expression.cs (CheckUselessComparison): Add additional check for char
constants.

* namespace.cs: Fixed typo.

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

17 years ago2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Jan 2007 23:46:05 +0000 (23:46 -0000)]
2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : GetTailContraction() was broken to pick correct
  contraction/special sortkey out and thus LastIndexOf() failed when
  it is involved. Fixed bug #80612.

* CompareInfoTest.cs : added test for bug #80612.

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

17 years agoWed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Jan 2007 22:24:14 +0000 (22:24 -0000)]
Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>

* mono-codeman.c: don't call mono_mprotect() on windows.

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

17 years agoAvoid declaration warning.
Paolo Molaro [Wed, 24 Jan 2007 22:16:31 +0000 (22:16 -0000)]
Avoid declaration warning.

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

17 years ago* FormTest.cs: Added NotWorking test for bug #80604.
Gert Driesen [Wed, 24 Jan 2007 21:04:43 +0000 (21:04 -0000)]
* FormTest.cs: Added NotWorking test for bug #80604.
* ColumnHeaderTest.cs: Added tests for bug #80607. Added test for
properties introduced in 2.0 profile.

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

17 years ago2007-01-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 24 Jan 2007 21:01:29 +0000 (21:01 -0000)]
2007-01-24  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
until you pass Items.Count, not Items.Count - 1 like 1.1.

2007-01-24  Jonathan Pobst  <monkey@jpobst.com>

* ComboBoxTest.cs: Add FindStringExactMaxExceptionNet20 test.
* FormTest.cs: Mark BehaviorResizeOnBorderStyleChangedNotVisible as NotWorking,
it's values match MS only.
* LabelTest.cs: Mark AutoSizeChangedChangedTest as Ignore for 2.0 until it is
reworked.
* ToolStripTextBoxTest.cs: Mark PropertyModified as Ignore until a bug in TextBox
is fixed.  Same for Constructor: A12.

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

17 years ago* ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
Gert Driesen [Wed, 24 Jan 2007 20:42:06 +0000 (20:42 -0000)]
* ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.

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

17 years ago2007-01-24 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 24 Jan 2007 20:16:32 +0000 (20:16 -0000)]
2007-01-24  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ControlTest.cs: Marked OnPaintDoubleBufferedTest as Interactive,
they'll only work if you actually have a display to show them on.

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

17 years agoWed Jan 24 21:00:40 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Jan 2007 20:01:27 +0000 (20:01 -0000)]
Wed Jan 24 21:00:40 CET 2007 Paolo Molaro <lupus@ximian.com>

* arm/arm-codegen.h: fixed encoding of short/byte load/store
instructions with negative immediate offsets.

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

17 years ago2007-01-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Wed, 24 Jan 2007 19:28:47 +0000 (19:28 -0000)]
2007-01-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * MonoLocationHelper.cs: Made class internal. It will be removed soon
        (all its functionality is in ToolLocationHelper and it wasn't
        documented yet)

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

17 years ago2006-01-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 24 Jan 2007 19:27:56 +0000 (19:27 -0000)]
2006-01-24  Chris Toshok  <toshok@ximian.com>

[ these fix nunit built with MS .net 2.0, running on mono.  nunit
apparently stores all manner of things in its resources ]

* NumberFormatInfo.cs: add unused nativeDigits and
digitSubstitution fields that MS serializes.

* DateTimeFormatInfo.cs: serialization fixes.  MS apparently
stores (and serializes) a couple of fields as ints, but exposes
them to programmers as Enum's.

* CompareInfo.cs: add unused m_name field that MS serializes.

* GregorianCalendar.cs: add a couple of unused fields that MS serializes.

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

17 years ago2007-01-24 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Wed, 24 Jan 2007 19:26:14 +0000 (19:26 -0000)]
2007-01-24  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * GetFrameworkPath.cs
        * GetFrameworkSdkPath.cs: Changed to use ToolLocationHelper instead of
        MonoLocationHelper.

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

17 years agorevert, this was a mistake
Miguel de Icaza [Wed, 24 Jan 2007 18:37:03 +0000 (18:37 -0000)]
revert, this was a mistake

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

17 years agofix
Miguel de Icaza [Wed, 24 Jan 2007 18:33:28 +0000 (18:33 -0000)]
fix

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

17 years agoWed Jan 24 19:10:28 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Jan 2007 18:10:54 +0000 (18:10 -0000)]
Wed Jan 24 19:10:28 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini-arm.h: use soft-float also on vfp for now.

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

17 years ago2007-01-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 24 Jan 2007 17:29:21 +0000 (17:29 -0000)]
2007-01-24  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripContainer.cs: The recent Dock fix exposed that I was
adding the panels in the wrong order.

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

17 years ago * TextBoxBase.cs: When we move the caret we also need to move
Jackson Harper [Wed, 24 Jan 2007 17:05:29 +0000 (17:05 -0000)]
    * TextBoxBase.cs: When we move the caret we also need to move
        * the
        selection, this fixes some random crashing after doing select
        text, unselect, delete a char, paste.

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

17 years ago * ToobarTest.cs: Comment DPI dependent asserts in ButtonSize test.
Everaldo Canuto [Wed, 24 Jan 2007 16:50:16 +0000 (16:50 -0000)]
* ToobarTest.cs: Comment DPI dependent asserts in ButtonSize test.

2007-01-23  Everaldo Canuto  <everaldo@simios.org>

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

17 years agoTypo fix
Miguel de Icaza [Wed, 24 Jan 2007 16:18:27 +0000 (16:18 -0000)]
Typo fix

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

17 years ago2007-01-24 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 24 Jan 2007 16:15:58 +0000 (16:15 -0000)]
2007-01-24  Dick Porter  <dick@ximian.com>

* IOControlCode.cs:
* SocketInformationOptions.cs:
* TransmitFileOptions.cs: Fix enum values

* AddressFamily.cs: Not Serializable in the 2.0 profile

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

17 years agoadded support for testing using POST requests
Konstantin Triger [Wed, 24 Jan 2007 16:13:34 +0000 (16:13 -0000)]
added support for testing using POST requests

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

17 years agoupdate supported protocols defaults
Konstantin Triger [Wed, 24 Jan 2007 16:07:37 +0000 (16:07 -0000)]
update supported protocols defaults

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

17 years ago2007-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Jan 2007 16:02:09 +0000 (16:02 -0000)]
2007-01-24  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_layout_fields): When force-aligning a field, make sure
we doesn't decrease its alignment. Should fix the sparc build.

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

17 years ago2007-01-24 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 24 Jan 2007 15:26:47 +0000 (15:26 -0000)]
2007-01-24  Dick Porter  <dick@ximian.com>

* NetworkStream.cs: 2.0 profile updates, based on a patch by
Sridhar Kulkarni (sridharkulkarni@gmail.com)

2007-01-24  Dick Porter  <dick@ximian.com>

* NetworkStreamTest.cs: Test 2.0 ReadTimeout property

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

17 years ago2007-01-24 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 24 Jan 2007 15:26:19 +0000 (15:26 -0000)]
2007-01-24  Dick Porter  <dick@ximian.com>

* socket-io.c
(ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal):
Create the returned object if we need to ignore an unsupported
socket option.  Fixes a segfault reported by Atsushi.

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

17 years agoFixed s390* build...
Paolo Molaro [Wed, 24 Jan 2007 15:21:02 +0000 (15:21 -0000)]
Fixed s390* build...

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

17 years agoTARGET_JVM: ifdef unsupported stuff
Konstantin Triger [Wed, 24 Jan 2007 14:32:12 +0000 (14:32 -0000)]
TARGET_JVM: ifdef unsupported stuff

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

17 years ago* TextBox.cs: implemented AutoCompleteType property, fixed AddAttributesToRender
Vladimir Krasnov [Wed, 24 Jan 2007 13:59:04 +0000 (13:59 -0000)]
* TextBox.cs: implemented AutoCompleteType property, fixed AddAttributesToRender
* TextBoxTest.cs: removed NotWorking attribute

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

17 years agoWed Jan 24 14:54:40 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Jan 2007 13:54:49 +0000 (13:54 -0000)]
Wed Jan 24 14:54:40 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: fix some more soft-float issues.

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

17 years ago2007-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Jan 2007 13:31:58 +0000 (13:31 -0000)]
2007-01-24  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.h (MONO_ARCH_FRAME_ALIGNMENT): Fix sparc build.

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

17 years ago * Page.cs: fixed CheckForValidationSupport, SupportsEventValidationAttribute should...
Vladimir Krasnov [Wed, 24 Jan 2007 12:58:50 +0000 (12:58 -0000)]
 * Page.cs: fixed CheckForValidationSupport, SupportsEventValidationAttribute should be checked at only one level\n * TableTest.cs: removed NotWorking attribute

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

17 years agoFix the build...
Paolo Molaro [Wed, 24 Jan 2007 11:10:01 +0000 (11:10 -0000)]
Fix the build...

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

17 years ago * mini-arch.h, , inssel-amd64.brg, mini-x86.c, inssel-x86.brg,
Massimiliano Mantione [Wed, 24 Jan 2007 10:52:55 +0000 (10:52 -0000)]
* mini-arch.h, , inssel-amd64.brg, mini-x86.c, inssel-x86.brg,
mini-ia64.c, mini-sparc.c, mini-alpha.c: Introduced
MONO_ARCH_LOCALLOC_ALIGNMEENT to fix bug 80498.

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

17 years agoWed Jan 24 12:04:39 GMT 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Jan 2007 10:19:17 +0000 (10:19 -0000)]
Wed Jan 24 12:04:39 GMT 2007 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: typo fix.

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

17 years ago2007-01-24 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 24 Jan 2007 10:14:45 +0000 (10:14 -0000)]
2007-01-24  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).

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

17 years agoFixed rendering problems in DetailsView control, related to an empty data source.
Ilya Kharmatsky [Wed, 24 Jan 2007 09:57:22 +0000 (09:57 -0000)]
Fixed rendering problems in DetailsView control, related to an empty data source.

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

17 years ago * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
Everaldo Canuto [Wed, 24 Jan 2007 04:03:33 +0000 (04:03 -0000)]
* Control.cs: In OnParentBackgroundImageChanged remove conditions to call
OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
* ToolBar.cs: Force redraw in BackgroundImageChanged.

2007-01-23  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2007-01-23 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 24 Jan 2007 01:37:52 +0000 (01:37 -0000)]
2007-01-23  Everaldo Canuto  <everaldo@simios.org>

* ToobarTest.cs: TooBar.ButtonSize tests added.

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

17 years ago2007-01-23 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 24 Jan 2007 01:36:56 +0000 (01:36 -0000)]
2007-01-23  Everaldo Canuto  <everaldo@simios.org>

* ToolBar.cs:
- Implement support for vertical toolbars. Fixes #80539;
- Call LayoutToolBar when resize, it fix some other problems in layout.
- Rename requested_height to requested_size, as we can have width on it
when toolbar is vertical.
- Create a private property "Vertical" that uses Dock to verify when
toolbar is vertical or not.
- Set ControlStyles when change Dock property.
- Refactory in LayoutToolBar to have better variables names and to support
vertical toolbars.
- Fixes default value for ButtonSize when button count is equal zero, size
must be (39, 36) test case writed.

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

17 years ago2007-01-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 24 Jan 2007 00:45:35 +0000 (00:45 -0000)]
2007-01-23  Miguel de Icaza  <miguel@novell.com>

* StreamReader.cs (Read): Fix this overload, we were just lucky
that it worked in the past.   Must trigger a load from the buffer
if we reached its end.

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

17 years ago2007-01-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 24 Jan 2007 00:29:39 +0000 (00:29 -0000)]
2007-01-23  Miguel de Icaza  <miguel@novell.com>

* constant.cs: Bloat removal, CheckRange and CheckUnsigned are
gone, instead we inline the test, preventing the needless casts to
longs, ulongs and doubles for the parameters, avoiding calls to
methods that overchecked stuff, and instead inlined things
nicely.

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