mono.git
17 years agoMon Oct 9 15:58:18 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Oct 2006 14:00:12 +0000 (14:00 -0000)]
Mon Oct 9 15:58:18 CEST 2006 Paolo Molaro <lupus@ximian.com>

* mini.h, aliasing.h, declsec.h, regalloc.h, trace.h: mark internal
functions with the internal attribute.

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

17 years agoMon Oct 9 15:52:45 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Oct 2006 13:54:41 +0000 (13:54 -0000)]
Mon Oct 9 15:52:45 CEST 2006 Paolo Molaro <lupus@ximian.com>

* aot-compiler.c: fclose the file descriptor in the profile read loop.

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

17 years ago2006-10-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 9 Oct 2006 13:52:03 +0000 (13:52 -0000)]
2006-10-09  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Samples/mcat.cs: small code style fix

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

17 years ago2006-10-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Oct 2006 13:51:55 +0000 (13:51 -0000)]
2006-10-09  Zoltan Varga  <vargaz@gmail.com>

* gc.c (finalizer_thread): Use a non-alertable wait here.

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

17 years agoinclude XslCompiledTransform.cs into a compilation
Konstantin Triger [Mon, 9 Oct 2006 13:15:57 +0000 (13:15 -0000)]
include XslCompiledTransform.cs into a compilation

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

17 years agoNew tests.
Martin Baulig [Mon, 9 Oct 2006 12:41:10 +0000 (12:41 -0000)]
New tests.

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

17 years ago2006-10-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Oct 2006 12:32:36 +0000 (12:32 -0000)]
2006-10-09  Zoltan Varga  <vargaz@gmail.com>

* class.c loader.c metadata.c: Revert the mono_metadata_decode_table_... changes,
until the correct solution is found.

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

17 years agoMon Oct 9 12:59:16 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Oct 2006 11:25:55 +0000 (11:25 -0000)]
Mon Oct 9 12:59:16 CEST 2006 Paolo Molaro <lupus@ximian.com>

* src/ghashtable.c: s/to_prime/g_spaced_primes_closest/g
and put the array in readonly memory.
* src/gstr.c: fixed the build and made array const.
* src/gmodule.c: fixed thinko.

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

17 years agofixed the build.
Paolo Molaro [Mon, 9 Oct 2006 09:56:09 +0000 (09:56 -0000)]
fixed the build.

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

17 years ago2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 9 Oct 2006 09:52:40 +0000 (09:52 -0000)]
2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>

* BoundField.cs: implemented ValidateSupportsCallback().

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

17 years ago2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 9 Oct 2006 09:41:44 +0000 (09:41 -0000)]
2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>

* CommandField.cs: ValidateSupportsCallback(): exception's message.

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

17 years ago2006-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 Oct 2006 05:20:57 +0000 (05:20 -0000)]
2006-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CssStyleCollection.cs: don't clear the collection of properties, but
create a new one.

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

17 years agoUpdate TODO, more progress in getting this to build
Miguel de Icaza [Sun, 8 Oct 2006 21:32:44 +0000 (21:32 -0000)]
Update TODO, more progress in getting this to build

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

17 years agoRemove cruft
Miguel de Icaza [Sun, 8 Oct 2006 21:30:29 +0000 (21:30 -0000)]
Remove cruft

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

17 years ago2006-10-08 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 8 Oct 2006 21:23:34 +0000 (21:23 -0000)]
2006-10-08  Marek Safar  <marek.safar@seznam.cz>

A fix for #77796
* convert.cs (ExplicitReferenceConversion): Only enum to enum value
conversion is allowed.

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

17 years agoUpdate, from build attempt, we are missing more stuff
Miguel de Icaza [Sun, 8 Oct 2006 21:20:08 +0000 (21:20 -0000)]
Update, from build attempt, we are missing more stuff

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

17 years agoAdd conditional to configure for eglib build
Miguel de Icaza [Sun, 8 Oct 2006 21:19:40 +0000 (21:19 -0000)]
Add conditional to configure for eglib build

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

17 years agoAdd conditional to configure for eglib build
Miguel de Icaza [Sun, 8 Oct 2006 21:19:34 +0000 (21:19 -0000)]
Add conditional to configure for eglib build

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

17 years agosvn path=/trunk/mono/; revision=66429
Miguel de Icaza [Sun, 8 Oct 2006 20:58:16 +0000 (20:58 -0000)]
svn path=/trunk/mono/; revision=66429

17 years agoGet a few stubs, so we can attempt to build Mono with eglib:
Miguel de Icaza [Sun, 8 Oct 2006 20:57:37 +0000 (20:57 -0000)]
Get a few stubs, so we can attempt to build Mono with eglib:

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

17 years agoAnother update
Miguel de Icaza [Sun, 8 Oct 2006 20:50:41 +0000 (20:50 -0000)]
Another update

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

17 years agoImplement G_STRLOC
Miguel de Icaza [Sun, 8 Oct 2006 20:50:23 +0000 (20:50 -0000)]
Implement G_STRLOC

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

17 years agoAdd copyright info
Miguel de Icaza [Sun, 8 Oct 2006 20:31:38 +0000 (20:31 -0000)]
Add copyright info

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

17 years agoAdd new mono-uri.c
Miguel de Icaza [Sun, 8 Oct 2006 20:29:42 +0000 (20:29 -0000)]
Add new mono-uri.c

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

17 years agoRemove derivative work of mono-uri.c
Miguel de Icaza [Sun, 8 Oct 2006 20:29:12 +0000 (20:29 -0000)]
Remove derivative work of mono-uri.c

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

17 years agoRemove derivative version of mono-uri.c
Miguel de Icaza [Sun, 8 Oct 2006 20:27:35 +0000 (20:27 -0000)]
Remove derivative version of mono-uri.c

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

17 years ago2006-10-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 8 Oct 2006 19:55:57 +0000 (19:55 -0000)]
2006-10-08  Miguel de Icaza  <miguel@novell.com>

* src/ghashtable.c (g_hash_table_new_alloc,
g_hash_table_new_full_alloc): Add new entry points that will be
used for GC-aware hashtables.

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

17 years ago2006-10-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 8 Oct 2006 17:11:09 +0000 (17:11 -0000)]
2006-10-08  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12.cs: Synch implementation with Mono.Security.dll. Fix bug
#79617.

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

17 years ago2006-10-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 8 Oct 2006 17:04:36 +0000 (17:04 -0000)]
2006-10-08  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12.cs: A String.Empty is different from a null password. Fix bug
#79617.

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

17 years ago2006-10-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 8 Oct 2006 17:04:01 +0000 (17:04 -0000)]
2006-10-08  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12Test.cs: Added OpenSSL generated test case with an empty
password (#79717). Changed results for existing test case with empty
password.

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

17 years ago2006-10-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 8 Oct 2006 16:21:36 +0000 (16:21 -0000)]
2006-10-08  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate2.cs: Ensure we can load certificates from read-only
files (fix bug #79616).

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

17 years ago2006-10-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 8 Oct 2006 16:06:08 +0000 (16:06 -0000)]
2006-10-08  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Ensure we can load certificates from read-only
files (fix bug #79616). Refactored to avoid code duplication.

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

17 years ago2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 8 Oct 2006 14:09:12 +0000 (14:09 -0000)]
2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: fixed: CurrentMode property.

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

17 years ago2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 8 Oct 2006 11:33:33 +0000 (11:33 -0000)]
2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs:
* GridView.cs:
* DetailsView.cs:
* PagerSettings.cs:
reverted r66222, problem solved in r66283: command buttons inherit ForeColor

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

17 years ago2006-10-08 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 8 Oct 2006 11:10:43 +0000 (11:10 -0000)]
2006-10-08  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Target.cs: Changed "" to String.Empty.
        * TaskEngine.cs: Don't try to convert a parameter to specific type if
        string was evaluated to String.Empty.
        * InternalLoggerException.cs:
        * InvalidProjectFileException.cs: Added LinkDemand before
        GetObjectData ().
        * ConsoleLogger.cs: Changed "" to String.Empty.
        * TargetCollection.cs: Fixed GetEnumerator () (stupid bug introduced
with change to generics).
        * Project.cs: Made Build () throw more meaningful exception.

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

17 years ago2006-10-08 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 8 Oct 2006 11:03:08 +0000 (11:03 -0000)]
2006-10-08  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * TaskLoggingHelper.cs: Changed "" to String.Empty.

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

17 years ago2006-10-08 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 8 Oct 2006 11:01:51 +0000 (11:01 -0000)]
2006-10-08  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * PoResourceWriter.cs: Changed "" to String.Empty.

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

17 years ago2006-10-08 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 8 Oct 2006 11:00:44 +0000 (11:00 -0000)]
2006-10-08  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * AssemblyLoadInfo.cs: Changed "" to String.Empty.

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

17 years ago2006-10-08 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 8 Oct 2006 10:59:48 +0000 (10:59 -0000)]
2006-10-08  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * LoggerException.cs: Added LinkDemand before GetObjectData (error
        reported by gendarme).

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

17 years ago2006-10-08 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 8 Oct 2006 10:57:42 +0000 (10:57 -0000)]
2006-10-08  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * xbuild/Microsoft.CSharp.targets: Added parameters that should be
        passed to Csc.

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

17 years agojust in case sign extension kicks in
Gonzalo Paniagua Javier [Sun, 8 Oct 2006 05:48:09 +0000 (05:48 -0000)]
just in case sign extension kicks in

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

17 years ago2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 8 Oct 2006 05:43:40 +0000 (05:43 -0000)]
2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/string-util.c:
* TODO:
* src/gstr.c:
* src/glib.h: implemented g_strescape.

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

17 years ago2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 8 Oct 2006 04:44:47 +0000 (04:44 -0000)]
2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/string-util.c:
* configure.ac:
* TODO:
* src/gstr.c:
* src/glib.h: implemented g_strlcpy.

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

17 years ago2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 8 Oct 2006 04:09:43 +0000 (04:09 -0000)]
2006-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/string-util.c:
* TODO:
* src/gstr.c:
* src/glib.h: implemented g_strdelimit.

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

17 years ago2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 Oct 2006 19:10:43 +0000 (19:10 -0000)]
2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/spawn.c: add search path flag when running ls.
* src/gspawn.c: g_spawn_command_line_sync searches the program in the
PATH if it's not an absolute path.

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

17 years ago2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 Oct 2006 18:50:15 +0000 (18:50 -0000)]
2006-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/string-util.c:
* src/glib.h: implement g_ascii_xdigit_value and tests.

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

17 years ago* Enum.cs: Use different exception message depending on whether the
Gert Driesen [Sat, 7 Oct 2006 16:52:59 +0000 (16:52 -0000)]
* Enum.cs: Use different exception message depending on whether the
type of the passed in value is an Enum or not. Avoid looking up the
enum's underlying type twice in case of "D" or "d" format specifier.
* EnumTest.cs: Improved TestFormat_Args tests to check whether correct
exception is thrown.

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

17 years ago* ChangeLog: forgot to commit ChangeLog.
Gert Driesen [Sat, 7 Oct 2006 14:01:26 +0000 (14:01 -0000)]
* ChangeLog: forgot to commit ChangeLog.

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

17 years ago* ServiceControllerTest.cs: Modifying ServiceService, DisplayName
Gert Driesen [Sat, 7 Oct 2006 11:59:34 +0000 (11:59 -0000)]
* ServiceControllerTest.cs: Modifying ServiceService, DisplayName
or MachineName does not cause cache to be cleared. Categorized as
"By Design" by MS.
* ServiceController.cs: Modifying ServiceService, DisplayName
or MachineName does not cause cache to be cleared. Categorized as
"By Design" by MS.

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

17 years ago2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 Oct 2006 23:33:48 +0000 (23:33 -0000)]
2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TermInfoDriver.cs: don't allow backspace if we're at the beginning
position for a ReadLine.

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

17 years ago2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 Oct 2006 23:25:13 +0000 (23:25 -0000)]
2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TermInfoDriver.cs: ironpython autocompletion works now.

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

17 years ago * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
Chris Toshok [Fri, 6 Oct 2006 21:23:57 +0000 (21:23 -0000)]
* XplatUIX11.cs: This is perhaps a dangerous change, but it seems
to have no evil effects.

- Stop selecting StructureNotifyMask on non-toplevel windows.

  The only way children should be resized is by using the SWF api,
  and we already send WM_WINDOWPOSCHANGED messages in those cases.
  Toplevel windows can be interacted with via the window manager,
  and so we keep the input mask there.

  The other event StructureNotifyMask gives us (that we care
  about) is DestroyNotify.  The code is already structured such
  that it assumes we won't be getting a DestroyNotify event for
  the window we pass to XDestroyWindow (which is what
  StructureNotifyMask is supposed to guarantee.)  So, that code
  shouldn't be affected by this either.

- Stop selecting VisibilityChangeMask altogether.

  We weren't doing anything with the resulting events anyway.

This vastly reduces the number of X requests and events we see
when resizing/laying out a large ui.

2006-10-06  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 6 Oct 2006 21:11:07 +0000 (21:11 -0000)]
2006-10-06  Miguel de Icaza  <miguel@novell.com>

* src/gstr.c (g_ascii_strdown): Implement.

* str/glib.c (g_log_set_handler): empty.
(g_printerr): empty.
(GMemVTable): define, empty, ignored.
(G_USEC_PER_SEC) :-)

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

17 years ago2006-10-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 6 Oct 2006 20:42:31 +0000 (20:42 -0000)]
2006-10-06  Chris Toshok  <toshok@ximian.com>

* ScrollableControl.cs (DisplayRectangle): we need to take into
account the DockPadding regardless of whether or not auto_scroll
== true.  rework this slightly to this effect, and fix bug #79606,
and part of #72499 (you can now see the drag handles and drag
toolbars around).

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

17 years ago2006-10-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 6 Oct 2006 20:30:29 +0000 (20:30 -0000)]
2006-10-06  Miguel de Icaza  <miguel@novell.com>

* src/gunicode.c (g_convert): Add bytes_read, bytes_written
support;   Small fixes to avoid valgrind errors.

(g_utf8_validate): Add, based on the libxml code.

gstr.c: implement g_strdown.

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

17 years agoFixed, please update your compiler-tester.
Marek Safar [Fri, 6 Oct 2006 20:11:10 +0000 (20:11 -0000)]
Fixed, please update your compiler-tester.

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

17 years ago2006-10-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 6 Oct 2006 20:09:55 +0000 (20:09 -0000)]
2006-10-06  Marek Safar  <marek.safar@seznam.cz>

* compiler-tester.cs: Positive test file can be now DLL.

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

17 years ago2006-10-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 6 Oct 2006 19:03:26 +0000 (19:03 -0000)]
2006-10-06  Marek Safar  <marek.safar@seznam.cz>

* ecore.cs (Expression.MemberLookup): Don't register any symbol for
error reporting when no error occurs.

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

17 years ago* ListViewItem.cs: Collections of selected and checked items are now
Gert Driesen [Fri, 6 Oct 2006 18:19:29 +0000 (18:19 -0000)]
* ListViewItem.cs: Collections of selected and checked items are now
dynamically rebuilt. Whenever an item is (un)checked or (de)selected
we mark the collection "dirty".
* ListView.cs: Marked collections readonly. Modified UpdateSelection
to only clear SelectedItems when a new item is selected and MultiSelect
is enabled. CheckedItems and SelectedItems now subscribe to Changed
event of ListViewItemCollection, and mark its list dirty whenever
that event is fire. This allows us to return selected/checked items
in the same order as they are in the Items collection. This matches
the MS behavior.
* ListViewCollectionsTest.cs: Added tests for bug #79415.
* ListViewTest.cs: Enabled test for bug #79416.

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

17 years agoUpdated.
Marek Safar [Fri, 6 Oct 2006 18:02:48 +0000 (18:02 -0000)]
Updated.

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

17 years ago * NotifyIcon.cs (HandleMouseUp): only show the context menu on
Chris Toshok [Fri, 6 Oct 2006 17:37:45 +0000 (17:37 -0000)]
* NotifyIcon.cs (HandleMouseUp): only show the context menu on
right mouse clicks.  Fixes bug #79593.

2006-10-06  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 6 Oct 2006 17:27:04 +0000 (17:27 -0000)]
2006-10-06  Chris Toshok  <toshok@ximian.com>

* Splitter.cs: doh, fix splitters that don't want to cancel the
movement when you drag them.  Also, impose the limits on the
values we send to the SplitterMovingEvent.  Fixes #79598.

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

17 years ago * TextBoxBase.cs: Ignore whether or not the scrollbar is
Jackson Harper [Fri, 6 Oct 2006 17:14:29 +0000 (17:14 -0000)]
    * TextBoxBase.cs: Ignore whether or not the scrollbar is
        * enabled,
        since we use this for auto scrolling also.

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

17 years ago2006-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Oct 2006 15:32:11 +0000 (15:32 -0000)]
2006-10-06  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_module_get_object): Avoid an assert when operating on
modules with no metadata. Fixes #79596.

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

17 years ago2006-10-06 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 6 Oct 2006 15:19:32 +0000 (15:19 -0000)]
2006-10-06  Jonathan Chambers  <joncham@gmail.com>

* ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.

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

17 years ago2006-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Oct 2006 15:05:37 +0000 (15:05 -0000)]
2006-10-06  Zoltan Varga  <vargaz@gmail.com>

* image.c (load_metadata_ptrs): Put back the error message when
the #- heap is encountered since the support is not complete yet.

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

17 years agoFri Oct 6 16:57:26 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Oct 2006 14:58:18 +0000 (14:58 -0000)]
Fri Oct 6 16:57:26 CEST 2006 Paolo Molaro <lupus@ximian.com>

* gc.c: do not allow the user to SuppressFinalize () a
delegate because it would leak the trampoline if present.

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

17 years agoAdd new test
Miguel de Icaza [Fri, 6 Oct 2006 14:37:23 +0000 (14:37 -0000)]
Add new test

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

17 years ago2006-10-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 6 Oct 2006 14:35:22 +0000 (14:35 -0000)]
2006-10-06  Miguel de Icaza  <miguel@novell.com>

* main.c (dis_directive_assembly): Fix the rendering of .locale to
be a data dump.

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

17 years agoFixed the build.
Paolo Molaro [Fri, 6 Oct 2006 14:30:45 +0000 (14:30 -0000)]
Fixed the build.

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

17 years ago2006-10-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 6 Oct 2006 14:22:38 +0000 (14:22 -0000)]
2006-10-06  Miguel de Icaza  <miguel@novell.com>

* AssemblyBuilder.cs: Am doing a try/catch for pulling the LCID
from the AssemblyCulture that is provided, as Microsoft allows
arbitrary locales (even non-existing ones) to be specified.

The .locale information is actually pulled from the AssemblyName,
not from this lcid.  But this LCID is used to encode the
resource.  In my exploration of this, we are setting this field,
even if CSC never sets the field itself (its always zero).

Maybe we should completely remove this.

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

17 years agoFri Oct 6 16:01:38 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Oct 2006 14:02:25 +0000 (14:02 -0000)]
Fri Oct 6 16:01:38 CEST 2006 Paolo Molaro <lupus@ximian.com>

* mini.c, jit-icalls.c, inssel-float.brg: beginnings of support
for soft-float.

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

17 years agoManual page updates
Miguel de Icaza [Fri, 6 Oct 2006 11:41:28 +0000 (11:41 -0000)]
Manual page updates

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

17 years ago2006-10-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 6 Oct 2006 11:31:49 +0000 (11:31 -0000)]
2006-10-06  Miguel de Icaza  <miguel@novell.com>

* io-portability.c (find_file): Rename from
MONO_IO_PORTABILITY_HELP to MONO_IOMAP.

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

17 years ago2006-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Oct 2006 11:04:43 +0000 (11:04 -0000)]
2006-10-06  Zoltan Varga  <vargaz@gmail.com>

* dump.c main.c: Applied patch from Jb. Allow dumping the PropertyPtr table.

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

17 years ago2006-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Oct 2006 11:03:56 +0000 (11:03 -0000)]
2006-10-06  Zoltan Varga  <vargaz@gmail.com>

* class.c metadata.c row-indexes.h blob.h: Applied patch from Jb. Add support for the
PropertyPtr table.

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

17 years agoNew tests.
Marek Safar [Fri, 6 Oct 2006 10:36:47 +0000 (10:36 -0000)]
New tests.

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

17 years ago2006-10-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 6 Oct 2006 10:36:24 +0000 (10:36 -0000)]
2006-10-06  Marek Safar  <marek.safar@seznam.cz>

* cfold.cs (ConstantFold.BinaryFold): Report an error when the conversion
does not exist.

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

17 years ago2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 6 Oct 2006 09:26:14 +0000 (09:26 -0000)]
2006-10-06  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItemTest.cs:
        * BuildPropertyTest.cs:
        * ProjectTest.cs:
        * BuildPropertyGroupCollectionTest.cs: Uncommented tests and added
        [Ignore] to them.

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

17 years ago2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 6 Oct 2006 09:23:17 +0000 (09:23 -0000)]
2006-10-06  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Items.cs: Added [Ignore]

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

17 years ago2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 6 Oct 2006 09:20:17 +0000 (09:20 -0000)]
2006-10-06  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * TaskLoggingHelperTest.cs:
        * CommandLineBuilderTest.cs: Added [Ignore].

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

17 years ago2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 6 Oct 2006 09:18:39 +0000 (09:18 -0000)]
2006-10-06  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * TaskLoggingHelper.cs: Made LogErrorFromException () show stack trace
        by default.

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

17 years ago2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 6 Oct 2006 09:15:27 +0000 (09:15 -0000)]
2006-10-06  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * MSBuild.cs: Added error logging.
        * Copy.cs: Fixed runtime cast exception.

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

17 years ago2006-10-06 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 6 Oct 2006 09:13:14 +0000 (09:13 -0000)]
2006-10-06  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Target.cs: Reformatted.
        * TaskEngine.cs: Removed redundant code.
        * BuildPropertyGroup.cs: Fixed Clear () and AddNewProperty ().
        * Engine.cs: Made BuildProjectFile () load project file if it's not
        loaded yet.

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

17 years agoFix #79584
Raja R Harinath [Fri, 6 Oct 2006 08:57:12 +0000 (08:57 -0000)]
Fix #79584
* mcs/class.cs (DefineTypeBuilder): Check circular dependencies before
setting the parent of the TypeBuilder.
(CheckRecursiveDefinition): Don't use 'BaseType', since
it may not be valid until after DefineTypeBuilder.  Use
'base_type' instead.
* errors/cs0146-5.cs: New test from #79584.

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

17 years ago2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 Oct 2006 05:42:14 +0000 (05:42 -0000)]
2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Image.cs: write 'alt' after 'src' so that the HyperLink test do not
fail.

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

17 years ago2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 Oct 2006 05:40:59 +0000 (05:40 -0000)]
2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CssStyleCollection.cs: 'style' can be modified on our back, so build
the style table every time instead of keeping one that is not in sync.
Fixes bug #79587.

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

17 years ago * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
Chris Toshok [Fri, 6 Oct 2006 02:28:20 +0000 (02:28 -0000)]
* DataGridBoolColumn.cs: Nuke the code from ConcedeFocus.  I'm
beginning to think that most datagrid column types don't need this
method.  Fixes bug #79392.

2006-10-05  Chris Toshok  <toshok@ximian.com>

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

17 years ago * DataGrid.cs: move back to a more lazy scheme for creating the
Chris Toshok [Fri, 6 Oct 2006 02:25:44 +0000 (02:25 -0000)]
* DataGrid.cs: move back to a more lazy scheme for creating the
CurrencyManager, so we aren't updating it every time you set
either DataSource or DataMember.  Also, don't call
RecreateDataGridRows if the currency manager hasn't changed.

2006-10-05  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 6 Oct 2006 02:21:37 +0000 (02:21 -0000)]
2006-10-05  Chris Toshok  <toshok@ximian.com>

* ComboBox.cs: by the time the OnSelectionChangeCommitted event is
emitted, SelectedIndex should already be updated.  Fixes bug
#78929.

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

17 years ago2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 Oct 2006 00:41:57 +0000 (00:41 -0000)]
2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AssemblyInfo.cs: use the ecma key for this assembly. Patch by Patrick
Earl.

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

17 years ago2006-10-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 5 Oct 2006 23:23:31 +0000 (23:23 -0000)]
2006-10-05  Miguel de Icaza  <miguel@novell.com>

* src/gunicode.c: Some work in progress to implement g_convert
(which is needed by g_locale_to_utf8).

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

17 years ago2006-09-05 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 5 Oct 2006 21:23:50 +0000 (21:23 -0000)]
2006-09-05  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * xbuild/Microsoft.CSharp.targets: Make $(OutputPath) directory before
        compiling and put output in this directory.

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

17 years ago2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 5 Oct 2006 18:08:33 +0000 (18:08 -0000)]
2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HyperLink.cs: don't render the img tag 'by hand' but use an Image
instead, which takes care of the 0/0px case. Also set the ToolTip
property. Fixes bug #79585.

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

17 years agoremove obsoleted files
Raja R Harinath [Thu, 5 Oct 2006 16:49:26 +0000 (16:49 -0000)]
remove obsoleted files

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

17 years ago2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 5 Oct 2006 16:11:39 +0000 (16:11 -0000)]
2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: optimization for previous patch

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

17 years ago2006-10-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 5 Oct 2006 16:08:10 +0000 (16:08 -0000)]
2006-10-05  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_method_signature): Fix a use of MONO_TABLE_METHOD missed earlier.

* metadata.c (mono_metadata_get_param_attrs): Ditto.

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

17 years agosvn path=/trunk/mcs/; revision=66294
Igor Zelmanovich [Thu, 5 Oct 2006 15:03:55 +0000 (15:03 -0000)]
svn path=/trunk/mcs/; revision=66294

17 years agosvn path=/trunk/mcs/; revision=66293
Igor Zelmanovich [Thu, 5 Oct 2006 15:02:19 +0000 (15:02 -0000)]
svn path=/trunk/mcs/; revision=66293

17 years ago2006-10-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 5 Oct 2006 14:54:02 +0000 (14:54 -0000)]
2006-10-05  Zoltan Varga  <vargaz@gmail.com>

* dump.c main.c: Allow dumping the *Ptr tables.

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