mono.git
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

17 years agoPatch #56.
Martin Baulig [Thu, 24 Aug 2006 18:00:37 +0000 (18:00 -0000)]
Patch #56.

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

17 years agoPatch #55.
Martin Baulig [Thu, 24 Aug 2006 18:00:21 +0000 (18:00 -0000)]
Patch #55.

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

17 years ago * MdiClient.cs:
Jackson Harper [Thu, 24 Aug 2006 17:39:21 +0000 (17:39 -0000)]
    * MdiClient.cs:
        * MdiWindowManager.cs: If the form is made a non-mdi window we
        need to remove the form closed event so that closing forms works
        correctly.

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

17 years ago * Control.cs: Make IsRecreating internal so that the driver can
Jackson Harper [Thu, 24 Aug 2006 17:03:59 +0000 (17:03 -0000)]
    * Control.cs: Make IsRecreating internal so that the driver can
        check it
        - Temporarily remove the Hide when controls are removed, its
        making a whole bunch of things not work because visibility isn't
        getting reset elsewhere correctly
        * Form.cs: Need to do a full handle recreation when the mdi
        * parent
        is set.
        * XplatUIX11.cs: If we are recreating handles don't dispose the
        HWNDs.  What was happening is the handles were being recreated
in
        SendWMDestroyMessages, but then flow continued on in that method
        and destroyed the new handles.

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

17 years agoSqlCommand, SqlParameter.cs: correctly resolve parameters without '@'
Konstantin Triger [Thu, 24 Aug 2006 16:10:47 +0000 (16:10 -0000)]
SqlCommand, SqlParameter.cs: correctly resolve parameters without '@'

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

17 years agoadd J2SE helpers, UTF8 BOM
Konstantin Triger [Thu, 24 Aug 2006 15:14:10 +0000 (15:14 -0000)]
add J2SE helpers, UTF8 BOM

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

17 years agoTARGET_JVM: handle special case for machine config
Konstantin Triger [Thu, 24 Aug 2006 15:13:28 +0000 (15:13 -0000)]
TARGET_JVM: handle special case for machine config

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

17 years agoTARGET_JVM does not support signing
Konstantin Triger [Thu, 24 Aug 2006 15:08:47 +0000 (15:08 -0000)]
TARGET_JVM does not support signing

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

17 years ago* DbProviderFactories.cs: added TARGET_JVM block to not supported functionality
Vladimir Krasnov [Thu, 24 Aug 2006 14:18:44 +0000 (14:18 -0000)]
* DbProviderFactories.cs: added TARGET_JVM block to not supported functionality

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

17 years agoSwitchesSection member fixed because of configuration section was moved
Vladimir Krasnov [Thu, 24 Aug 2006 14:08:07 +0000 (14:08 -0000)]
SwitchesSection member fixed because of configuration section was moved

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

17 years ago* AbstractDBConnection.cs: fixed GetSyntaxPatterns, configuration section moved
Vladimir Krasnov [Thu, 24 Aug 2006 14:06:35 +0000 (14:06 -0000)]
* AbstractDBConnection.cs: fixed GetSyntaxPatterns, configuration section moved

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

17 years agoThe PageMapper in TARGAT_JVM expects url and not the full path
Konstantin Triger [Thu, 24 Aug 2006 13:52:27 +0000 (13:52 -0000)]
The PageMapper in TARGAT_JVM expects url and not the full path

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

17 years agoPatch #54.
Martin Baulig [Thu, 24 Aug 2006 12:47:14 +0000 (12:47 -0000)]
Patch #54.

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

17 years ago2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Aug 2006 11:32:00 +0000 (11:32 -0000)]
2006-08-24  Atsushi Enomoto  <atsushi@ximian.com>

* Encoding.cs :
  Consider DecoderFallback and EncoderFallback in 2.0 Equals()
  and GetHashCode().
* UTF32Encoding.cs, UTF7Encoding.cs :
  Fixed GetHashCode() and Equals() as well.
  Added several missing overrides in 2.0.

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

17 years ago* Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string if compiled...
Vladimir Krasnov [Thu, 24 Aug 2006 11:05:18 +0000 (11:05 -0000)]
* Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string if compiled with .net aspx parser
fixed OnInit, GetStyleSheets may return null if no css files found by .net aspx parser

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

17 years ago* TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not always creates...
Vladimir Krasnov [Thu, 24 Aug 2006 10:58:15 +0000 (10:58 -0000)]
* TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not always creates ExtractTemplateValuesMethod delegate

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

17 years agorevert TARGET_JVM ifdef
Konstantin Triger [Thu, 24 Aug 2006 10:51:49 +0000 (10:51 -0000)]
revert TARGET_JVM ifdef

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

17 years agorevert TARGET_JVM ifdef
Konstantin Triger [Thu, 24 Aug 2006 10:51:12 +0000 (10:51 -0000)]
revert TARGET_JVM ifdef

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

17 years agocorrected public interface
Igor Zelmanovich [Thu, 24 Aug 2006 08:54:37 +0000 (08:54 -0000)]
corrected public interface

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

17 years agoeek, eek.
Atsushi Eno [Thu, 24 Aug 2006 07:58:15 +0000 (07:58 -0000)]
eek, eek.

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

17 years ago2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Aug 2006 07:54:29 +0000 (07:54 -0000)]
2006-08-24  Atsushi Enomoto  <atsushi@ximian.com>

* ByteEncoding.cs : Implemented IsAlwaysNormalized().
  (only SingleByte and FormC may return true for IsAlwaysNormalized
  on .NET.)
  Ask String.Normalize() for every possible single byte character
  which is valid for the encoding and see if it has changed the
  string (i.e. it returns the value based on the actual
  normalization.)

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

17 years ago2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Aug 2006 07:50:23 +0000 (07:50 -0000)]
2006-08-24  Atsushi Enomoto  <atsushi@ximian.com>

* Encoding.cs : implemented IsAlwaysNormalized().
* Latin1Encoding.cs : IsAlwaysNormalized() does not return false
  for FormC.

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

17 years agoUp
Miguel de Icaza [Thu, 24 Aug 2006 05:33:17 +0000 (05:33 -0000)]
Up

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

17 years ago2006-08-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 24 Aug 2006 05:32:27 +0000 (05:32 -0000)]
2006-08-24  Miguel de Icaza  <miguel@novell.com>

* src/gport.c: Path routines

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

17 years ago2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 24 Aug 2006 03:09:45 +0000 (03:09 -0000)]
2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
case, but there are many others.

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

17 years ago2006-08-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 23 Aug 2006 22:33:17 +0000 (22:33 -0000)]
2006-08-23  Miguel de Icaza  <miguel@novell.com>

        * src/gerror.c: Implement.

        * src/glist.c (g_list_sort): Remove routine instead of hoping
        * that
        it wont crash when we run it.

I did a small implementation of GIO/GChannel/GSource just to find
that we are no longer using that code (daemon.c)

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

17 years ago * Form.cs: MdiClient is always at the back of the bus
Jackson Harper [Wed, 23 Aug 2006 22:12:13 +0000 (22:12 -0000)]
    * Form.cs: MdiClient is always at the back of the bus
        * Control.cs: When the order of items in the collection is
        * changed
        we need to reset the all_controls array
        - do the same sorta setup thats done when adding a control when
          a
        control is set on the collection.

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

17 years ago2006-08-23 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 23 Aug 2006 21:19:57 +0000 (21:19 -0000)]
2006-08-23  Lluis Sanchez Gual  <lluis@novell.com>

* ObjRef.cs: Throw a TypeLoadException exception if the referenced
  type can't be found. That's better than a nullref.

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

17 years ago* gacutil.1 : Change automake usage example because we always use $(prefix)/lib
Wade Berrier [Wed, 23 Aug 2006 20:31:52 +0000 (20:31 -0000)]
* gacutil.1 : Change automake usage example because we always use $(prefix)/lib
for the gac, even on 64 bit systems.

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

17 years agoMinor adjustment for mono
Sebastien Pouliot [Wed, 23 Aug 2006 20:18:21 +0000 (20:18 -0000)]
Minor adjustment for mono

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 23 Aug 2006 20:16:37 +0000 (20:16 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs (get_Text): Return an empty array if our document
  is empty (fixes #79052)

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 23 Aug 2006 19:58:16 +0000 (19:58 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: We should call IsInputChar on only on WM_CHAR but not
  on WM_SYSCHAR messages (fixes #79053)

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

17 years ago2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Aug 2006 19:01:28 +0000 (19:01 -0000)]
2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWriter.cs: call WriteString instead of Write. Fixes the test.

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

17 years agorevert. It broke a test
Gonzalo Paniagua Javier [Wed, 23 Aug 2006 18:57:02 +0000 (18:57 -0000)]
revert. It broke a test

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

17 years ago2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Aug 2006 18:53:19 +0000 (18:53 -0000)]
2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TextBox.cs: render the name attribute even when ID is not set. Patch
by Alenxander Concha that fixes bug #79020.

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

17 years agoremove printf
Gonzalo Paniagua Javier [Wed, 23 Aug 2006 18:51:36 +0000 (18:51 -0000)]
remove printf

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

17 years ago2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Aug 2006 18:49:49 +0000 (18:49 -0000)]
2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.

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

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

* GDIPlusTest.cs: Added new test cases for TextureBrush functions.
* TextureBrushTest.cs: New. Unit tests for TextureBrush class.

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

17 years ago* RegistryKeyTest.cs: Modified GetValueNamesTest and GetSubKeyNamesTest
Gert Driesen [Wed, 23 Aug 2006 18:06:23 +0000 (18:06 -0000)]
* RegistryKeyTest.cs: Modified GetValueNamesTest and GetSubKeyNamesTest
to verify whether the buffer is cleared while iterating over values
and keys.
* Win32RegistryApi.cs: Use a StringBuilder instead of byte [] for
RegEnumKey. Fixed issue in GetSubKeyNames where buffer was not cleared
while iterating over subkeys.

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

17 years ago2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Aug 2006 18:02:14 +0000 (18:02 -0000)]
2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c: implement support for ShadowCopyFiles.

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

17 years ago * DataGrid.cs: fix flickering when scrolling vertically.
Chris Toshok [Wed, 23 Aug 2006 17:55:18 +0000 (17:55 -0000)]
* DataGrid.cs: fix flickering when scrolling vertically.

2006-08-23  Chris Toshok  <toshok@ximian.com>

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

17 years agooops
Chris Toshok [Wed, 23 Aug 2006 17:45:41 +0000 (17:45 -0000)]
oops

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

17 years ago * DataGrid.cs (EndEdit): only invalidate the row header when we
Chris Toshok [Wed, 23 Aug 2006 17:43:41 +0000 (17:43 -0000)]
* DataGrid.cs (EndEdit): only invalidate the row header when we
need to.

2006-08-23  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-08-23 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 23 Aug 2006 17:41:38 +0000 (17:41 -0000)]
2006-08-23  Chris Toshok  <toshok@ximian.com>

* ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
methods.  fixes the flicker when scrolling around.

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

17 years ago2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Aug 2006 17:37:53 +0000 (17:37 -0000)]
2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mono-stdlib.[ch]: mkstemp implementation.

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

17 years ago2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Aug 2006 17:31:43 +0000 (17:31 -0000)]
2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: check for mkstemp.

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

17 years agoWed Aug 23 19:24:00 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 23 Aug 2006 17:25:21 +0000 (17:25 -0000)]
Wed Aug 23 19:24:00 CEST 2006 Paolo Molaro <lupus@ximian.com>

* aot-compiler.c: added binary writer with ELF backend
implementation (only on Linux/x86 for now).

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

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

* FileDialog.cs: Making sure the control is created before we get a
  chance to use it with BeginInvoke (Fixes #79096)

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

17 years ago2006-08-23 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 23 Aug 2006 17:13:23 +0000 (17:13 -0000)]
2006-08-23  Chris Toshok  <toshok@ximian.com>

* ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
width to use when painting the rows.

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

17 years ago2006-08-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 23 Aug 2006 15:59:38 +0000 (15:59 -0000)]
2006-08-23  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs:
  - Throw ArgumentException if a negative value is passed to SelectionLength
  - Update the selection end if start is moved. end needs to be always
    after start. (Fixes #79095)
  - Track selection length; MS keeps the selection length even if start
    is changed; reset on all other operations affection selection

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

17 years agocorrected rendering of static and dynamic items
Igor Zelmanovich [Wed, 23 Aug 2006 15:32:14 +0000 (15:32 -0000)]
corrected rendering of static and dynamic items

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

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

* ConsoleCancelEventArgs.cs: fix my build.

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

17 years agofix default page resolution
Konstantin Triger [Wed, 23 Aug 2006 13:48:46 +0000 (13:48 -0000)]
fix default page resolution

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

17 years agofixed: AddAttributesToRender method calls FillStyleAttributes,
Igor Zelmanovich [Wed, 23 Aug 2006 13:28:22 +0000 (13:28 -0000)]
fixed: AddAttributesToRender method calls FillStyleAttributes,
text styles applied correct

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

17 years agofixed: when removed the names from the bag also removed FontStyles.Names flag from...
Igor Zelmanovich [Wed, 23 Aug 2006 13:12:09 +0000 (13:12 -0000)]
fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
refactoring: Name and Names properties has same source in bag.

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

17 years ago* Style.cs: restored r63894: for 1.x is refactoring only
Igor Zelmanovich [Wed, 23 Aug 2006 13:07:14 +0000 (13:07 -0000)]
* Style.cs: restored r63894: for 1.x is refactoring only

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

17 years ago* src/glist.c (g_list_insert_before): Avoid non-head declaration.
Raja R Harinath [Wed, 23 Aug 2006 13:01:13 +0000 (13:01 -0000)]
* src/glist.c (g_list_insert_before): Avoid non-head declaration.
Sheesh!  I can't get it right the first time, it appears :-)

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

17 years ago* test/slist.c (test_slist_insert_before): Add.
Raja R Harinath [Wed, 23 Aug 2006 12:48:03 +0000 (12:48 -0000)]
* test/slist.c (test_slist_insert_before): Add.
* src/gslist.c (g_slist_insert_before): Append if 'sibling' is null.

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

17 years ago* test/list.c (test_list_insert_before): Add test for return value
Raja R Harinath [Wed, 23 Aug 2006 12:36:14 +0000 (12:36 -0000)]
* test/list.c (test_list_insert_before): Add test for return value
of g_list_insert_before.
* test/Makefile.am (test_eglib_LDADD): Refer to the .la file so as
to rebuild test if eglib changes.
* src/glist.c (new_node, disconnect_node): New helpers that
maintain doubly-linked list invariants.
(g_list_prepend, g_list_append): Express in terms of new_node.
(g_list_insert_before): Likewise.  Fix return value when inserting
in the middle of the list.
(g_list_concat): Reorganize to make more compact.
(g_list_nth): Likewise.
(g_list_nth_data): Don't segfault if 'n' is too large.
(g_list_remove): Rewrite using _find and disconnect_node.
(g_list_remove_link): Don't traverse list: use disconnect_node.
(g_list_insert_sorted): Rewrite to make more compact.  Use new_node.
(g_list_copy): Likewise.
(_prepend, _concat): Remove.
* src/gslist.c (insert_after, find_prev, find_prev_link):
New helpers.
(g_slist_copy): Simplify slightly, using insert_after.
(g_slist_concat): Reorganize to make more compact.
(g_slist_find): Likewise.
(g_slist_insert_sorted): Likewise.
(g_slist_remove): Rewrite using find_prev.
(g_slist_remove_link): Rewrite using find_prev_link.
(g_slist_remove_all, g_slist_insert_before): New.

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

17 years ago* TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access modifiers check...
Vladimir Krasnov [Wed, 23 Aug 2006 12:19:14 +0000 (12:19 -0000)]
* TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access modifiers check on event handlers

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

17 years ago2006-08-23 Alp Toker <alp@atoker.com>
Alp Toker [Wed, 23 Aug 2006 11:46:44 +0000 (11:46 -0000)]
2006-08-23  Alp Toker  <alp@atoker.com>

  * cilc.cs: Relicense from GPL to MIT License

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