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

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

  * cilc.cs: Add more GInterface support, both defining and implementing

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

17 years agofixed: when removed the names from the bag also removed FontStyles.Names flag from...
Igor Zelmanovich [Wed, 23 Aug 2006 09:11:39 +0000 (09:11 -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=64230

17 years agorestored r63894: for 1.x is refactoring only
Igor Zelmanovich [Wed, 23 Aug 2006 09:02:51 +0000 (09:02 -0000)]
restored r63894: for 1.x is refactoring only

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

17 years ago* ConfigurationSettings.cs: remove CONFIGURATION_2_0 #if since NET_2_0
Konstantin Triger [Wed, 23 Aug 2006 08:02:03 +0000 (08:02 -0000)]
* ConfigurationSettings.cs: remove CONFIGURATION_2_0 #if since NET_2_0
implies it.

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

17 years ago* ServiceDescriptionReflector.cs: remove CONFIGURATION_2_0 #if since NET_2_0
Konstantin Triger [Wed, 23 Aug 2006 07:57:52 +0000 (07:57 -0000)]
* ServiceDescriptionReflector.cs: remove CONFIGURATION_2_0 #if since NET_2_0
implies it.
* ServiceDescription.cs: Added TARGET_JVM to workaround lack of TARGET_JVM
support for 'new T()' in generics.

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

17 years ago* ConfigurationSection.cs: for net 1.1 SectionHandlers: return null in case
Konstantin Triger [Wed, 23 Aug 2006 07:41:15 +0000 (07:41 -0000)]
* ConfigurationSection.cs: for net 1.1 SectionHandlers: return null in case
RawXml is null, as net 1.1 does.

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

17 years agoPatch #53.
Martin Baulig [Wed, 23 Aug 2006 02:04:41 +0000 (02:04 -0000)]
Patch #53.

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

17 years agoPatch #52.
Martin Baulig [Wed, 23 Aug 2006 02:04:27 +0000 (02:04 -0000)]
Patch #52.

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

17 years agoPatch #51.
Martin Baulig [Wed, 23 Aug 2006 02:04:12 +0000 (02:04 -0000)]
Patch #51.

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

17 years agoPatch #50.
Martin Baulig [Wed, 23 Aug 2006 02:03:59 +0000 (02:03 -0000)]
Patch #50.

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

17 years ago2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 23 Aug 2006 02:03:14 +0000 (02:03 -0000)]
2006-08-22  Sebastien Pouliot  <sebastien@ximian.com>
* StringTest.cs: Add a missing test case and split some existing (to
use nunit2  syntax).

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

17 years ago2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 23 Aug 2006 02:03:01 +0000 (02:03 -0000)]
2006-08-22  Sebastien Pouliot  <sebastien@ximian.com>
* string-icalls.c: Add shortcut in ves_icall_System_String_ctor_charp
when value is NULL (and should remove CID #51).

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

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

* MethodImplOptions.cs, MethodCodeType.cs, LoadHint.cs,
CompilationRelaxations.cs: Add serializable.

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

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

* MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0

* Converter.cs: update signature to final.

* ModuleHandle.cs: Removed the [Obsolete] flags as they removed
those in the final 2.0

* DateTime.cs: Fixed the signature.

* Convert.cs: Removed API calls that were deprecated in final 2.0

* Enum.cs: Updated to use the obsoletes flagged in 2.0.

* ConsoleCancelEventArgs.cs: Updated to 2.0

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

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

* Hashtable.cs (PutImpl): Do not access the table twice, only
once.

(TestPrime): optimize, take the sqrt out of the loop.

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

17 years agoAdd a test case for bug #79125
Miguel de Icaza [Tue, 22 Aug 2006 21:59:41 +0000 (21:59 -0000)]
Add a test case for bug #79125

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

17 years ago2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Aug 2006 20:37:50 +0000 (20:37 -0000)]
2006-08-22  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
width out parameter.
* Image.cs: Cast the uint into an int for the Width property.

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

17 years ago - Use the original clip rectangle for checking if the area
Jackson Harper [Tue, 22 Aug 2006 20:14:00 +0000 (20:14 -0000)]
    - Use the original clip rectangle for checking if the area
          between
        the two scrollbars is visible, not the viewport adjusted
clipping
        rectangle.

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

17 years ago * TreeView.cs: Make sure both scrollbars get displayed and sized
Jackson Harper [Tue, 22 Aug 2006 20:01:58 +0000 (20:01 -0000)]
    * TreeView.cs: Make sure both scrollbars get displayed and sized
        correctly when the other bar is visible.

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

17 years ago * Binding.cs: We don't use IsBinding because it requires the
Jackson Harper [Tue, 22 Aug 2006 18:34:28 +0000 (18:34 -0000)]
    * Binding.cs: We don't use IsBinding because it requires the
        control to be created, which really shouldn't be necessary just
to
        set a property on the control.

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

17 years agosvn path=/trunk/mono/; revision=64203
Gonzalo Paniagua Javier [Tue, 22 Aug 2006 18:32:04 +0000 (18:32 -0000)]
svn path=/trunk/mono/; revision=64203

17 years agosvn path=/trunk/mono/; revision=64202
Gonzalo Paniagua Javier [Tue, 22 Aug 2006 18:31:19 +0000 (18:31 -0000)]
svn path=/trunk/mono/; revision=64202

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

* image.c: moved 2 functions to ../utils.

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

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

* Makefile.am:
* mono-path.[ch]: new files with functions to handle/resolve paths.

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

17 years ago2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Aug 2006 15:34:56 +0000 (15:34 -0000)]
2006-08-22  Sebastien Pouliot  <sebastien@ximian.com>
* DateTimeTest.cs: Split the X509Certificate test in two - so the 'Z'
literal case can be marked as NotWorking under 2.0 (anyway this doesn't
affect X.509 certificate parsing).

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

17 years agoAdd class used by VB
Miguel de Icaza [Tue, 22 Aug 2006 15:33:42 +0000 (15:33 -0000)]
Add class used by VB

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

17 years agofixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
Igor Zelmanovich [Tue, 22 Aug 2006 15:28:55 +0000 (15:28 -0000)]
fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
added ClearDefaults method for 2.0.

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

17 years agoPatch #49.
Martin Baulig [Tue, 22 Aug 2006 15:19:52 +0000 (15:19 -0000)]
Patch #49.

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

17 years agoTue Aug 22 17:16:53 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Aug 2006 15:18:01 +0000 (15:18 -0000)]
Tue Aug 22 17:16:53 CEST 2006 Paolo Molaro <lupus@ximian.com>

* Makefile.am: link to libgmodule (patch by Alexander Larsson
alexl@redhat.com).

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

17 years ago* System.Web20.vmwcsproj: added AssemblyInfo.cs
Vladimir Krasnov [Tue, 22 Aug 2006 14:58:50 +0000 (14:58 -0000)]
* System.Web20.vmwcsproj: added AssemblyInfo.cs

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

17 years agoTue Aug 22 15:53:29 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Aug 2006 13:54:44 +0000 (13:54 -0000)]
Tue Aug 22 15:53:29 CEST 2006 Paolo Molaro <lupus@ximian.com>

* gc.c: cope with the target object of a GC handle being NULL
(bug #78877).

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

17 years ago* ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value should be false
Vladimir Krasnov [Tue, 22 Aug 2006 13:01:15 +0000 (13:01 -0000)]
* ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value should be false

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