mono.git
17 years agoEnable NET_2_0 tests run for TARGET_JVM.
Boris Kirzner [Mon, 28 Aug 2006 12:20:11 +0000 (12:20 -0000)]
Enable NET_2_0 tests run for TARGET_JVM.

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

17 years ago* SqlMembershipProvider.cs: ensure GetUser() returns null if it cannot
Konstantin Triger [Mon, 28 Aug 2006 12:18:44 +0000 (12:18 -0000)]
* SqlMembershipProvider.cs: ensure GetUser() returns null if it cannot
retrieve user information

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

17 years agoMerked test as NotWorking.
Boris Kirzner [Mon, 28 Aug 2006 12:05:06 +0000 (12:05 -0000)]
Merked test as NotWorking.

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

17 years ago2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 Aug 2006 11:15:18 +0000 (11:15 -0000)]
2006-08-28  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocumentWriter2.cs : use String.Empty instead of null for
  localName for those nodes which does not have a name.

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

17 years agoFix array size for NET_2_0
Boris Kirzner [Mon, 28 Aug 2006 09:14:00 +0000 (09:14 -0000)]
Fix array size for NET_2_0

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

17 years agoAdd new test ClientScriptManagerTest.cs and resources: ClientScript.js , EventValidat...
Yoni Klain [Mon, 28 Aug 2006 09:10:52 +0000 (09:10 -0000)]
Add new test ClientScriptManagerTest.cs and resources: ClientScript.js , EventValidationTest1.aspx ,EventValidationTest2.aspx

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

17 years agouse SqlClientFactory in case the ProviderName is not specified
Konstantin Triger [Mon, 28 Aug 2006 08:16:05 +0000 (08:16 -0000)]
use SqlClientFactory in case the ProviderName is not specified

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

17 years agodeleted irrelevant marks
Hagit Yidov [Mon, 28 Aug 2006 08:05:40 +0000 (08:05 -0000)]
deleted irrelevant marks

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

17 years agorefactoring
Igor Zelmanovich [Mon, 28 Aug 2006 07:30:03 +0000 (07:30 -0000)]
refactoring

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

17 years agouse application server thread for processing request
Konstantin Triger [Mon, 28 Aug 2006 06:44:32 +0000 (06:44 -0000)]
use application server thread for processing request

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

17 years ago2006-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 28 Aug 2006 06:29:20 +0000 (06:29 -0000)]
2006-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TODO: Modified file.
* test/tests.h:
* test/pattern.c:
* test/dir.c:
* test/Makefile.am:
* src/Makefile.am:
* src/glib.h:
* src/gdir.c:
* src/gfile.c: implemented g_dir_*, unix version.

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

17 years agoColorTranslator.cs: Use ColorEmpty instead of creating a new Color instance.
Sebastien Pouliot [Mon, 28 Aug 2006 02:26:39 +0000 (02:26 -0000)]
ColorTranslator.cs: Use ColorEmpty instead of creating a new Color instance.

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

17 years ago2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 27 Aug 2006 23:43:19 +0000 (23:43 -0000)]
2006-08-27  Sebastien Pouliot  <sebastien@ximian.com>

* ColorConverter.cs: Add a new test case for a color with a integer
part that is too large to convert into an int.
* ColorTranslator.cs: Add more test cases for FromHtml method.

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

17 years ago2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 27 Aug 2006 23:43:01 +0000 (23:43 -0000)]
2006-08-27  Sebastien Pouliot  <sebastien@ximian.com>

* ColorConverter.cs: Catch the case where the integer part of the
color doesn't fit into a 32bit integer.
* ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml
method. Fixed string handling on FromHtml method. Fixed all parameter
names to match FX.

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

17 years ago * XEventQueue.cs: Added PostQuitState property
Peter Dennis Bartok [Sun, 27 Aug 2006 21:26:34 +0000 (21:26 -0000)]
* XEventQueue.cs: Added PostQuitState property

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

17 years ago2006-08-27 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sun, 27 Aug 2006 21:22:19 +0000 (21:22 -0000)]
2006-08-27  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  Prevent other threads from exiting when calling thread sets quit state.

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

17 years ago2006-08-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 27 Aug 2006 21:04:02 +0000 (21:04 -0000)]
2006-08-27  Chris Toshok  <toshok@ximian.com>

* AsyncMethodData.cs: add a slot for the window handle.

* XplatUIX11.cs (SendAsyncMethod): send the event to the right
window (the destination control's window, not the foster window).

* Control.cs (BeginInvokeInternal): store the window's handle in
the AsyncMethodData.

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sun, 27 Aug 2006 19:37:52 +0000 (19:37 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs:
  - PostQuitMessage: Removed resetting S.D display handle, we might have
    another loop started after calling PostQuitMessage (Fixes #79119)
  - Created destructor to reset S.D handle

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sun, 27 Aug 2006 18:56:35 +0000 (18:56 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sun, 27 Aug 2006 18:43:49 +0000 (18:43 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs (Insert): Update the caret position even if we don't
  have a handle yet, just don't call the driver in that case.
* TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  to the end of the new selection text (Fixes #79184)

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

17 years agoenable concurrent usage, refactoring
Konstantin Triger [Sun, 27 Aug 2006 15:31:03 +0000 (15:31 -0000)]
enable concurrent usage, refactoring

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

17 years agoenable concurrent usage, refactoring
Konstantin Triger [Sun, 27 Aug 2006 15:20:52 +0000 (15:20 -0000)]
enable concurrent usage, refactoring

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

17 years agofixed data binding
Igor Zelmanovich [Sun, 27 Aug 2006 14:20:21 +0000 (14:20 -0000)]
fixed data binding

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

17 years agoNew test was added
Igor Zelmanovich [Sun, 27 Aug 2006 13:40:17 +0000 (13:40 -0000)]
New test was added

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

17 years agofixed ToString method
Igor Zelmanovich [Sun, 27 Aug 2006 13:19:52 +0000 (13:19 -0000)]
fixed ToString method

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

17 years agoremove redundand interface derivation since already implemented by System.Attribute
Konstantin Triger [Sun, 27 Aug 2006 12:20:41 +0000 (12:20 -0000)]
remove redundand interface derivation since already implemented by System.Attribute

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

17 years agoTreeNodeBindingTest.cs, TreeNodeCollectionTest.cs, TreeNodeStyleCollectionTest.cs...
Hagit Yidov [Sun, 27 Aug 2006 11:36:26 +0000 (11:36 -0000)]
TreeNodeBindingTest.cs, TreeNodeCollectionTest.cs, TreeNodeStyleCollectionTest.cs, TreeNodeTest.cs, TreeViewTest.cs, , TreeNodeBindingCollectionTest.cs

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

17 years agotypo fix
Igor Zelmanovich [Sun, 27 Aug 2006 10:59:02 +0000 (10:59 -0000)]
typo fix

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

17 years agoTARGET_JVM: fix a typo
Konstantin Triger [Sun, 27 Aug 2006 10:53:09 +0000 (10:53 -0000)]
TARGET_JVM: fix a typo

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

17 years ago* NullEventLog.cs: Added dummy GetLogNames implementation.
Gert Driesen [Sun, 27 Aug 2006 09:38:11 +0000 (09:38 -0000)]
* NullEventLog.cs: Added dummy GetLogNames implementation.
* EventLogImpl.cs: Moved GetEventLogs implementation to base class.
Added abstract GetLogNames method. Added ValidateCustomerLogName
method which should be called by eventlog providers when creating a
new log to ensure the significant part of the log name is unique, does
not match any of the special log names and does not match an exist event
source.
* Win32EventLog.cs: Validate customer log name when creating new log.
Moved GetEventLogs implementation to base class. Added GetLogNames
method.
* LocalFileEventLog.cs: Merged CreateLogStore into CreateEventSource.
Validate customer log name when creating new log. Moved GetEventLogs
implementation to base class. Added GetLogNames method.
* EventLogTest.cs: Added tests for log name validation in
CreateEventSource.

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

17 years ago2006-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 27 Aug 2006 08:55:08 +0000 (08:55 -0000)]
2006-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* src/glib.h:
* test/Makefile.am: Modified file.
* test/tests.h:
* src/Makefile.am: Modified file.
* test/pattern.c:
* src/gpattern.c: implemented the 3 pattern matching functions used.

* test/ptrarray.c: fix the compare function to work with qsort.

* test/file.c:
* test/path.c:
* src/gspawn.c:
* src/gpath.c: made valgrind happy.

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

17 years ago* CreateUserWizardStep.cs: fixed validators message display
Vladimir Krasnov [Sun, 27 Aug 2006 07:14:37 +0000 (07:14 -0000)]
* CreateUserWizardStep.cs: fixed validators message display

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

17 years ago* SqlMembershipProvider.cs: fixed ValidateUser, bug when user not exists
Vladimir Krasnov [Sun, 27 Aug 2006 07:09:39 +0000 (07:09 -0000)]
* SqlMembershipProvider.cs: fixed ValidateUser, bug when user not exists

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

17 years agoRemoting 2.0 project file
Roei Erez [Sun, 27 Aug 2006 06:17:02 +0000 (06:17 -0000)]
Remoting 2.0 project file

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

17 years agosolution file for remoting
Roei Erez [Sun, 27 Aug 2006 06:14:39 +0000 (06:14 -0000)]
solution file for remoting

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sun, 27 Aug 2006 00:35:44 +0000 (00:35 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs (Activate): Only activate if the handle is created)
* Control.c:
  - Mark window as invisible when it's disposed
  - Check if window handle is created when setting window visible,
    instead of relying just on the is_created variable
  - Check if object is disposed when creating the control (Fixes #79155)

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 26 Aug 2006 23:51:35 +0000 (23:51 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  when allowing layout again. Otherwise we re-generate the anchoring
  distance to the border again and actually alter what the user wanted
  This is ugly, it'd be better if we used DisplayRectangle instead of
  ClientRectangle for Control.UpdateDistances, but that causes us to
  have other problems (initial anchoring positons would be wrong)
  (Fixes #78835)

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

17 years agosvn path=/trunk/mono/; revision=64420
Gonzalo Paniagua Javier [Sat, 26 Aug 2006 23:32:38 +0000 (23:32 -0000)]
svn path=/trunk/mono/; revision=64420

17 years ago2006-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 26 Aug 2006 23:32:25 +0000 (23:32 -0000)]
2006-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/file.c:
* src/glib.h:
* src/gfile.c:  implemented g_file_test. Changed the default mask to
.XXXXXX. Add tests.

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 26 Aug 2006 22:42:37 +0000 (22:42 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - The size and location setters shouldn't go directly to
    SetBoundsCore, but to SetBounds, which triggers layout on the
    parent, then calls SetBoundsCore. (Related to fix for #78835)
  - SetBounds: Moved actual location update code into this function
    from SetBoundsCore, to match MS. Added call to PerformLayout if
    we have a parent (to trigger resizing of anchored parents if the
    child size has changed (see testcase for #78835)
* ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  new control code
* ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable

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

17 years agoPatch #60.
Martin Baulig [Sat, 26 Aug 2006 20:54:27 +0000 (20:54 -0000)]
Patch #60.

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

17 years agoPatch #59.
Martin Baulig [Sat, 26 Aug 2006 20:54:07 +0000 (20:54 -0000)]
Patch #59.

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 26 Aug 2006 20:15:27 +0000 (20:15 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  System.Drawing when a toplevel window gets closed; there might
  be other toplevel windows belonging to the same app (Fixes #78052)

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

17 years ago It is now possible to select the font, size or style with the
Alexander Olk [Sat, 26 Aug 2006 19:21:41 +0000 (19:21 -0000)]
  It is now possible to select the font, size or style with the
  textboxes.

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

17 years ago2006-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 26 Aug 2006 16:53:41 +0000 (16:53 -0000)]
2006-08-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocument.cs : use XmlValidatingReader to load TextReader/Stream
  so that it could fill default and fixed attributes. This ends up
  to fix bug #79163 (it fills fixed "xmlns" attribute and thus
  the node's namespace URI becomes that of glade-2.0).

* XmlDocumentTests.cs : added test for bug #79163.

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

17 years ago use Desktop prefix only if a real folder doesn't exist anymore.
Alexander Olk [Sat, 26 Aug 2006 16:08:55 +0000 (16:08 -0000)]
  use Desktop prefix only if a real folder doesn't exist anymore.
* FontDialog.cs: Added char sets.

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

17 years ago2006-08-26 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 26 Aug 2006 14:37:11 +0000 (14:37 -0000)]
2006-08-26  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: After reading FileDialog settings from mwf_config
  use Desktop prefix only if a real folder doesn't exist anymore.

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

17 years ago* Win32EventLog.cs: Fixed error messages. Use RegisterEventSource
Gert Driesen [Sat, 26 Aug 2006 14:13:14 +0000 (14:13 -0000)]
* Win32EventLog.cs: Fixed error messages. Use RegisterEventSource
pinvoke when opening eventlog for writing entries.

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

17 years ago* Win32EventLog.cs: Added and documented workarounds for bug #79117
Gert Driesen [Sat, 26 Aug 2006 12:36:08 +0000 (12:36 -0000)]
* Win32EventLog.cs: Added and documented workarounds for bug #79117
and bug #79152.

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

17 years ago* src/sort.frag.h (digit): Declare here based on externally
Raja R Harinath [Sat, 26 Aug 2006 10:49:14 +0000 (10:49 -0000)]
* src/sort.frag.h (digit): Declare here based on externally
provided typedef 'list_node'.
(MAX_DIGITS): Use 'sizeof (list_node)'.
* src/gslist.c (list_node): Declare instead of 'digit'.
* src/glist.c: Likewise.

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

17 years ago* EventLogTest.cs: Use a dedicated temp directory for testing the
Gert Driesen [Sat, 26 Aug 2006 07:05:10 +0000 (07:05 -0000)]
* EventLogTest.cs: Use a dedicated temp directory for testing the
local file implementation (2.0 only).

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

17 years ago* test/slist.c (verify_sort): Verify the length of the list too.
Raja R Harinath [Sat, 26 Aug 2006 03:26:08 +0000 (03:26 -0000)]
* test/slist.c (verify_sort): Verify the length of the list too.
(test_slist_sort): Free the correct list.
* test/list.c: Likewise.
* src/sort.frag.h (MAX_DIGITS): Rename from N_DIGITS.
(combine_sort): Change 'max_pos' argument to more natural
'n_digits'.
(increment): Likewise.  Use 'n_digits' to avoid reading at an
offset that hasn't been initialized.
(do_sort): Remove memset.

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

17 years ago2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 26 Aug 2006 00:55:32 +0000 (00:55 -0000)]
2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TODO:
* test/file.c:
* src/glib.h:
* src/gfile.c: implement g_file_open_tmp.

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

17 years ago2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 26 Aug 2006 00:08:03 +0000 (00:08 -0000)]
2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TODO:
* src/glib.h:
* src/gdate.c: New file.
* src/gfile.c: New file.
* src/Makefile.am: implemented g_file_get_contents and
g_get_current_time.

* test/tests.h:
* test/file.c: New file.
* test/Makefile.am: tests for the above.

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

17 years agoFixed previous commit.
Kornél Pál [Fri, 25 Aug 2006 21:07:16 +0000 (21:07 -0000)]
Fixed previous commit.

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

17 years agoUse assembly name and file version constants.
Kornél Pál [Fri, 25 Aug 2006 20:32:53 +0000 (20:32 -0000)]
Use assembly name and file version constants.

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

17 years agoversion bump
Wade Berrier [Fri, 25 Aug 2006 19:30:01 +0000 (19:30 -0000)]
version bump

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

17 years ago* src/sort.frag.h: Add copyright notice and some explanation.
Raja R Harinath [Fri, 25 Aug 2006 19:03:26 +0000 (19:03 -0000)]
* src/sort.frag.h: Add copyright notice and some explanation.
(increment): Remove null check.
(combine_digits): Add 'list' argument to seed the summation.
(do_sort): Use the empty or singleton tail as the seed, rather
than calling 'increment'.

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

17 years ago2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Aug 2006 18:11:04 +0000 (18:11 -0000)]
2006-08-25  Sebastien Pouliot  <sebastien@ximian.com>
* FontConverter.cs: Fix compiler warnings.

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

17 years ago2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Aug 2006 17:34:00 +0000 (17:34 -0000)]
2006-08-25  Sebastien Pouliot  <sebastien@ximian.com>
* TestBitmap.cs: Add more details to pinpoint exact failure under OSX.

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

17 years ago2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Aug 2006 17:25:36 +0000 (17:25 -0000)]
2006-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Fix ImageAttributes test case.

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

17 years ago2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Aug 2006 17:24:40 +0000 (17:24 -0000)]
2006-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* ColorMatrix.cs: Add Alloc and Free method helpers for interop.
* ImageAttributes.cs: Fix all methods accepting a ColorMatrix (i.e.
which calls GdipSetImageAttributesColorMatrix) to use IntPtr instead
of the ColorMatrix itself.

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

17 years ago2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Aug 2006 17:24:20 +0000 (17:24 -0000)]
2006-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Change ColorMatrix to IntPtr in method
GdipSetImageAttributesColorMatrix definition.

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

17 years agoFri Aug 25 18:25:23 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 25 Aug 2006 16:27:00 +0000 (16:27 -0000)]
Fri Aug 25 18:25:23 CEST 2006 Paolo Molaro <lupus@ximian.com>

* icall.c: handle TypedReference in GetTypeCode (bug #79150).

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

17 years agoCommitted in wrong module, pff.
Gert Driesen [Fri, 25 Aug 2006 16:11:50 +0000 (16:11 -0000)]
Committed in wrong module, pff.

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

17 years ago* EventViewer.cs: Do not hide selection when focus is moved away from
Gert Driesen [Fri, 25 Aug 2006 15:58:38 +0000 (15:58 -0000)]
* EventViewer.cs: Do not hide selection when focus is moved away from
entry list.
* Makefile: Added 'test' target. Set MONO_EVENTLOG_TYPE environment
variable to make it easier to run tests.
* test.cs: Added test script for creating event sources and writing
some event entries.

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

17 years ago* LocalFileEventLog.cs: When event log store does not exist, then we
Gert Driesen [Fri, 25 Aug 2006 15:28:22 +0000 (15:28 -0000)]
* LocalFileEventLog.cs: When event log store does not exist, then we
do not need to perform a case-insensitive lookup of the log name.

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

17 years agoFix a typo. Cover one more possibility.
Raja R Harinath [Fri, 25 Aug 2006 14:48:13 +0000 (14:48 -0000)]
Fix a typo.  Cover one more possibility.

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

17 years ago* TODO: Remove 'List' entries.
Raja R Harinath [Fri, 25 Aug 2006 14:40:55 +0000 (14:40 -0000)]
* TODO: Remove 'List' entries.
* src/Makefile.am (libeglib_la_SOURCES): Add sort.frag.h.
* src/sort.frag.h: New.  Implements a "generic" bottom-up "counting"
mergesort that works both on singly- and doubly-linked lists.
* src/gslist.c (g_slist_sort): Use it.
* src/glist.c (g_list_sort): Likewise.
* src/glib.h (g_slist_sort, g_list_sort): Declare.
* test/slist.c, test/list.c: Add basic testcases.

And, the best part: it worked on the first try after fixing syntax errors :-)

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

17 years ago* Makefile: Use standalone makefile as we cannot rely on the mcs build
Gert Driesen [Fri, 25 Aug 2006 14:33:48 +0000 (14:33 -0000)]
* Makefile: Use standalone makefile as we cannot rely on the mcs build
system.

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

17 years agoInitial import of SWF based Event Viewer
Gert Driesen [Fri, 25 Aug 2006 14:31:27 +0000 (14:31 -0000)]
Initial import of SWF based Event Viewer

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

17 years ago2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Aug 2006 13:57:27 +0000 (13:57 -0000)]
2006-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* PrivateFontCollection.cs: Fix warning by reusing the full path.

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

17 years ago2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Aug 2006 13:01:01 +0000 (13:01 -0000)]
2006-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* TestBmpCodec.cs: Add pixel value tests to a well known bitmap.

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

17 years ago2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 09:57:30 +0000 (09:57 -0000)]
2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* src/gspawn.c: propagate errors from reads.
* src/gpath.c: an empty PATH is like a NULL one.

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

17 years ago2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 09:13:40 +0000 (09:13 -0000)]
2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/tests.h:
* test/timer.c:
* test/Makefile.am:
* TODO:
* src/glib.h:
* src/gtimer.c:
* src/Makefile.am: implemented GTimer.

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

17 years agoone less to go
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 08:17:28 +0000 (08:17 -0000)]
one less to go

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

17 years agodo not exit after the first read!
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 08:14:38 +0000 (08:14 -0000)]
do not exit after the first read!

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

17 years ago2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 08:09:25 +0000 (08:09 -0000)]
2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/tests.h:
* test/Makefile.am:
* test/spawn.c:
* src/gspawn.c:
* src/glib.h:
* src/Makefile.am: initial implemtation of g_spawn_command_line_sync.
Still need better error handling, but works for the most part.

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

17 years ago2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 07:09:59 +0000 (07:09 -0000)]
2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* src/garray.c: grow faster so that the 'big' test does not crawl.

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

17 years ago2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 06:38:41 +0000 (06:38 -0000)]
2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/shell.c:
* src/gqueue.c: plugged leaks.

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

17 years ago2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 06:13:03 +0000 (06:13 -0000)]
2006-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/path.c:
* src/gpath.c: when PATH is not defined, the current dir is used.
See execvp(3).

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

17 years agomake g_get_current_dir actually expand the buffer (infinite loop)
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 05:49:19 +0000 (05:49 -0000)]
make g_get_current_dir actually expand the buffer (infinite loop)

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

17 years agoInitial g_shell_parse_argv and tests
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 05:44:56 +0000 (05:44 -0000)]
Initial g_shell_parse_argv and tests

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

17 years ago2006-08-25 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 25 Aug 2006 03:51:20 +0000 (03:51 -0000)]
2006-08-25  Alp Toker  <alp@atoker.com>

* src/gstr.c: g_strv_length() should return guint, not gint
* src/glib.h: Add g_strv_length() prototype

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

17 years agoUse thread safe getpwent_r
Miguel de Icaza [Fri, 25 Aug 2006 03:40:00 +0000 (03:40 -0000)]
Use thread safe getpwent_r

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

17 years ago2006-08-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 25 Aug 2006 03:24:36 +0000 (03:24 -0000)]
2006-08-24  Miguel de Icaza  <miguel@novell.com>

* src/gpath.c (g_get_home_dir, g_get_tmp_dir, g_get_user_name,
g_get_prgname, g_set_prgname): implemented.

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

17 years ago2006-08-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 25 Aug 2006 02:59:15 +0000 (02:59 -0000)]
2006-08-24  Miguel de Icaza  <miguel@novell.com>

* test/ Fix leaks.

* src/gpath.c (g_get_current_dir): Implement.

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

17 years ago2006-08-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 25 Aug 2006 02:45:42 +0000 (02:45 -0000)]
2006-08-24  Miguel de Icaza  <miguel@novell.com>

* src/gpath.c (g_find_program_in_path, g_path_is_absolute): implement.

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

17 years agobleh
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 02:32:09 +0000 (02:32 -0000)]
bleh

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

17 years agoblah
Gonzalo Paniagua Javier [Fri, 25 Aug 2006 02:31:52 +0000 (02:31 -0000)]
blah

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

17 years agoNot used
Miguel de Icaza [Fri, 25 Aug 2006 02:17:34 +0000 (02:17 -0000)]
Not used

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

17 years ago2006-08-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 25 Aug 2006 02:11:03 +0000 (02:11 -0000)]
2006-08-24  Miguel de Icaza  <miguel@novell.com>

* src/gpath.c: Add g_path_get_dirname, g_path_get_basename

* src/gpath.c: Path routines

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

17 years agoGrammar and typo fixes
Alp Toker [Fri, 25 Aug 2006 01:32:45 +0000 (01:32 -0000)]
Grammar and typo fixes

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

17 years agoGrammar fix
Alp Toker [Fri, 25 Aug 2006 01:25:48 +0000 (01:25 -0000)]
Grammar fix

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 24 Aug 2006 21:26:26 +0000 (21:26 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  scrollbar from whacking it's buttons)

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

17 years ago2006-08-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 24 Aug 2006 20:34:04 +0000 (20:34 -0000)]
2006-08-24  Chris Toshok  <toshok@ximian.com>

* ScrollableControl.cs: fix #78271.  There's a lot of misc stuff
in this patch (aggregating setting Left/Top/Width/Height to
setting Bounds on the scrollbars), but the crux of the fix is in
Recalculate, where we scroll by the remaining scroll_position if
we're hiding a scrollbar.  The 2*$5 reward in the comment is
serious.

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

17 years ago2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 24 Aug 2006 18:59:00 +0000 (18:59 -0000)]
2006-08-24  Sebastien Pouliot  <sebastien@ximian.com>

* TestColorMatrix.cs: Add test cases for error handling inside ctor and
for testing each field with a different value.

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

17 years ago2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 24 Aug 2006 18:57:31 +0000 (18:57 -0000)]
2006-08-24  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Added more test cases for TextureBrush functions.
Added new test cases for ImageAttributes. Removed some assertion for
GpGraphicsPath (which returns different value on monobuild win32 bot
than my own machine, uninit field ?).

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

17 years ago2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 24 Aug 2006 18:52:24 +0000 (18:52 -0000)]
2006-08-24  Sebastien Pouliot  <sebastien@ximian.com>

* System.Drawing_test.dll.sources: Added unit tests for TextureBrush.

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

17 years ago2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 24 Aug 2006 18:51:37 +0000 (18:51 -0000)]
2006-08-24  Sebastien Pouliot  <sebastien@ximian.com>

* TextureBrush.cs: Remove private Image member as we cannot, without
cloning it (which removes the advantage of caching it), return it for
the Image property *and* we cannot dispose of it properly (Dispose
isn't overridden).

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