mono.git
17 years agoUpdated
Aaron Bockover [Mon, 21 Aug 2006 00:00:00 +0000 (00:00 -0000)]
Updated

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

17 years ago2006-08-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 20 Aug 2006 21:13:50 +0000 (21:13 -0000)]
2006-08-20  Miguel de Icaza  <miguel@novell.com>

* HttpListener2Test.cs: Add test case for bug #79112

Question: why in the response I do not get my `Miguel is love' message?

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

17 years ago2006-08-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 20 Aug 2006 20:34:46 +0000 (20:34 -0000)]
2006-08-20  Miguel de Icaza  <miguel@novell.com>

* RequestStream.cs (Read): A bug fix for #79112 and what I
consider to be an important change.

The bug fix is that we update the "available" variable as soon as
we consume data from Read, this means that a second call into Read
wont block.   Available was only being updated on a secondary code
path, now we alwaysupdate it after using FillFromBuffer.

The second component is what I believe the right behavior should
be.  There was a check for "if count > available" that set count
to available in that case.   The idea was to limit the data read
from the buffer that belonged to this particular request, to allow
pipelining.

But this test was done after FillFromBuffer, which assumed that
all the data held in the buffer (the one used by FillFromBuffer)
must belong to the this request, and only future data did not.

I think my change is correct, but it assumes that the initialized
RequestStream will be used for other pipelined HTTP requests,
which is not something am 100% sure of, so Gonzalo needs to check
this.

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

17 years agoThis is not supported now
Miguel de Icaza [Sun, 20 Aug 2006 17:59:08 +0000 (17:59 -0000)]
This is not supported now

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

17 years agoMan page updates
Miguel de Icaza [Sun, 20 Aug 2006 17:41:34 +0000 (17:41 -0000)]
Man page updates

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

17 years agoFix formatting, per Gert's request
Miguel de Icaza [Sun, 20 Aug 2006 17:32:31 +0000 (17:32 -0000)]
Fix formatting, per Gert's request

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

17 years ago2006-08-20 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sun, 20 Aug 2006 17:24:39 +0000 (17:24 -0000)]
2006-08-20  Aaron Bockover  <abockover@novell.com>

    * src/gmisc.c: added g_setenv, g_getenv, g_unsetenv

    * src/gstr.c: added g_snprintf, g_sprintf, g_fprintf, g_printf

    * src/glib.h: added macros for above va_args printf functions

    * src/Makefile.am: added gmisc.c

    * test/whats-implemented: script to see what needs to be implemented

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

17 years ago * test/array.c (test_array_big): add a test from the glib
Chris Toshok [Sun, 20 Aug 2006 15:33:32 +0000 (15:33 -0000)]
* test/array.c (test_array_big): add a test from the glib
documentation.

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

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

17 years ago2006-08-20 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 20 Aug 2006 15:30:31 +0000 (15:30 -0000)]
2006-08-20  Chris Toshok  <toshok@ximian.com>

* test/tests.h: add array tests to the mix.

* test/array.c: a few array tests.

* src/glib.h: add array prototypes.

* src/garray.c: initial array foo.

* test/Makefile.am (SOURCES): add array.c

* src/Makefile.am (libeglib_la_SOURCES): add garray.c

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

17 years ago* BaseHttpServlet.cs: merged TLS fixes, workaround for thread problem
Vladimir Krasnov [Sun, 20 Aug 2006 15:20:55 +0000 (15:20 -0000)]
* BaseHttpServlet.cs: merged TLS fixes, workaround for thread problem

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

17 years ago* EventInstanceTest.cs: Added tests for EventInstance.
Gert Driesen [Sun, 20 Aug 2006 14:46:19 +0000 (14:46 -0000)]
* EventInstanceTest.cs: Added tests for EventInstance.
* EventLog.cs: Removed namespace import.
* EventInstance.cs: Added range checks and check whether specified
entry type is defined.
* System_test.dll.sources: Added EventInstanceTest.cs

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

17 years agosvn path=/trunk/mcs/; revision=64099
Yoni Klain [Sun, 20 Aug 2006 13:13:06 +0000 (13:13 -0000)]
svn path=/trunk/mcs/; revision=64099

17 years agoRequest for additional functionality
Yoni Klain [Sun, 20 Aug 2006 13:11:15 +0000 (13:11 -0000)]
Request for additional functionality

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

17 years ago* ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
Vladimir Krasnov [Sun, 20 Aug 2006 12:57:38 +0000 (12:57 -0000)]
* ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
* MasterPageParser.jvm.cs: fixed path resolving GetCompiledMasterInstance

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

17 years ago* PageMapper.cs: fixes for aspx parser 2.0
Vladimir Krasnov [Sun, 20 Aug 2006 12:49:54 +0000 (12:49 -0000)]
* PageMapper.cs: fixes for aspx parser 2.0

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

17 years agofixing NET_2_0 signature compliancy
Konstantin Triger [Sun, 20 Aug 2006 12:27:21 +0000 (12:27 -0000)]
fixing NET_2_0 signature compliancy

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

17 years ago2006-08-20 Joshua Tauberer <jt@occams.info>
Joshua Tauberer [Sun, 20 Aug 2006 12:27:11 +0000 (12:27 -0000)]
2006-08-20  Joshua Tauberer  <jt@occams.info>

    * SqliteConnection.cs: Changed Version property (which is
      read-only) from internal to public so users can know
      which version of Sqlite was actually connected to.

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

17 years ago* mono.1 : Document MONO_EVENTLOG_TYPE, replaces MONO_EVENTLOG_PATH.
Gert Driesen [Sun, 20 Aug 2006 11:56:20 +0000 (11:56 -0000)]
* mono.1 : Document MONO_EVENTLOG_TYPE, replaces MONO_EVENTLOG_PATH.

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

17 years ago* System.dll.sources: Added Win32EventLog.cs.
Gert Driesen [Sun, 20 Aug 2006 11:54:06 +0000 (11:54 -0000)]
* System.dll.sources: Added Win32EventLog.cs.
* EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
Obsolete attribute to correct property.
* EventSourceCreationData.cs: Updated copyright. For internal ctor,
set log name to "Application" if value is null or zero-length string.
* EventLogImpl.cs: EventImpl now acts as base class for event log
implemenations.
* NullEventLog.cs: Modified to implement new abstract methods of base
class. Removed factory class.
* EventLog.cs: EventLog implementation that delegates just about
everything to individual eventlog providers. To specify the event log
implementation to use, the MONO_EVENTLOG_TYPE environment variable can
be used. Possible values are:
- win32 : read/write entries using the native win32 eventlog
- local[:path] : read/write entries as files to a local directory
- null : silently ignore all entries
The default is "null" on unix (and versions of Windows before NT,
meaning Windows 98, ...), and "win32" on Windows NT (and higher).
When "the local" implementation is used, the directory in which to
store the event logs, event sources and entries can be specified as
part of MONO_EVENTLOG_TYPE environment variable using the syntax
"local:<path>" (eg. local:/home/myuser/mono/eventlog).
* LocalFileEventLog.cs: Event log implementation which uses a local
file store. The directory to use for persistence can be specified
as part of the MONO_EVENTLOG_TYPE environment variable (see above).
If that directory is not explicitly set, then the following directory
will be used for storing eventlog entries:
- windows       : %APPDATA%\mono\eventlog
- unix          : /var/lib/mono/eventlog
On unix, the directory permission for individual eventlog log
directories will be set to 777 (with +t bit) allowing everyone to
read and write eventlog entries while only allowing entries to be
deleted by the user(s) that created them.
Format of log files was modified to allow it contain all necessary
information for an event log entry.
* Win32EventLog.cs: Event log implementation for Windows NT and
higher which uses the Win32 native event log for reading/writing
eventlog entries, and which uses the registry to store event log and
event source registration information.
* EventLogEntryCollection.cs: Delegate implementation to event log
implementation. Use lazy init for enumerating entries. Cache current
item in 2.0 profile.
* EventLogTest.cs: Enable tests. On 2.0 profile, set MONO_EVENTLOG_TYPE
environment variable to force local file implementation to be used for
unit tests. This avoids permission issues for the unit tests, and
allows us to clean up the files/directory that are created during the
test run. Skip tests that cannot pass when the null implementation is
active (on 1.0 profile). Added tests for all WriteEntry and WriteEvent
(2.0 only) overloads, Clear, Entries, Exists and LogNameFromSourceName.

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

17 years agoreplace OnStateChanged with OnStateChange according to .net 2.0
Konstantin Triger [Sun, 20 Aug 2006 11:53:16 +0000 (11:53 -0000)]
replace  OnStateChanged with OnStateChange according to .net 2.0

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

17 years ago* RegistryValueOptions.dll: Added the real one (sorry!).
Gert Driesen [Sun, 20 Aug 2006 11:27:59 +0000 (11:27 -0000)]
* RegistryValueOptions.dll: Added the real one (sorry!).

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

17 years agoComment typofix
Alp Toker [Sun, 20 Aug 2006 11:19:16 +0000 (11:19 -0000)]
Comment typofix

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

17 years ago2006-08-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 20 Aug 2006 10:57:30 +0000 (10:57 -0000)]
2006-08-20  Atsushi Enomoto  <atsushi@ximian.com>

        * RegistryValueOptions.cs : build fix, easier than reverting
          all.

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

17 years ago * InvalidEnumArgumentException.cs: Beautify error message.
Gert Driesen [Sun, 20 Aug 2006 09:04:01 +0000 (09:04 -0000)]
 * InvalidEnumArgumentException.cs: Beautify error message.

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

17 years ago* IRegistryApi.cs: Modified GetValue to take RegistryValueOptions enum
Gert Driesen [Sun, 20 Aug 2006 07:03:46 +0000 (07:03 -0000)]
* IRegistryApi.cs: Modified GetValue to take RegistryValueOptions enum
and removed obsolete return_default_value argument.
* RegistryKey.cs: Added missing ComVisible attribute on SetValue.
Use new GetValue method on IRegistryApi that takes RegistryValueOptions
enum. Added GetValue overload that takes RegistryValueOptions (2.0).
* Win32RegistryApi.cs: Modified GetValue to take RegistryValueOptions
enum, and removed obsolete returnDefaultValue argument. Added support
for ExpandString value type. Do no expand if DoNotExpand... is set.
* UnixRegistryApi.cs: Modified KeyHandler.GetValue to take
RegistryValueOptions enum, and do no expand environment variables in
an ExpandString if DoNotExpandEnvironmentNames is set. Modified
UnixRegistryApi.GetValue to take RegistryValueOptions enum, and
removed obsolete return_default_value argument.
* RegistryKeyTest.cs: Added test for expanding environment variables.
* corlib.dll.sources: Added RegistryValueOptions.cs.

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

17 years ago2006-08-19 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sun, 20 Aug 2006 04:24:58 +0000 (04:24 -0000)]
2006-08-19  Aaron Bockover  <abockover@novell.com>

    * src/gstring.c: optimize and generalize reallocation by providing
    a GROW_IF_NECESSARY macro, do not use strcpy/strcat as they are
    very, very slow; GString is now much closer to GLib's implementation
    in terms of performance

    * test/string.c: added speed-specific tests to beat on reallocation code

    * test/test-both: run make if the test drivers don't exist

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

17 years agoAdd tests for attribute equality
Miguel de Icaza [Sun, 20 Aug 2006 04:17:02 +0000 (04:17 -0000)]
Add tests for attribute equality

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

17 years ago2006-08-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 20 Aug 2006 03:33:19 +0000 (03:33 -0000)]
2006-08-19  Miguel de Icaza  <miguel@novell.com>

* Attribute.cs: This needs to do a deep compare, not a shallow
one.   Ran into this bug with the VBNC compiler that compares two
separate attributes for equality using this.

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

17 years agoremove ;
Chris Toshok [Sun, 20 Aug 2006 02:26:16 +0000 (02:26 -0000)]
remove ;

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

17 years ago2006-08-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 20 Aug 2006 02:03:47 +0000 (02:03 -0000)]
2006-08-19  Miguel de Icaza  <miguel@novell.com>

* String.cs (StartsWith): Fix the overloaded constructor that
takes a CultureInfo, if that is null, it means to use the current
culture.

2006-08-19  Miguel de Icaza  <miguel@novell.com>

* StringTest.cs: Add test.

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

17 years ago2006-08-19 Jonathan Chambers <jonathan.chambers@gmail.com>
Jonathan Chambers [Sun, 20 Aug 2006 01:02:28 +0000 (01:02 -0000)]
2006-08-19  Jonathan Chambers  <jonathan.chambers@gmail.com>

* src/gmodule.c: Add gmodule support for windows and fix
windows build. Contribution is licensed as MIT/X11.

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

17 years ago2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 20 Aug 2006 00:05:48 +0000 (00:05 -0000)]
2006-08-19  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.

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

17 years agoafter much debate, it turns out that != is not the same as == ... go figure :-)
Aaron Bockover [Sat, 19 Aug 2006 23:47:27 +0000 (23:47 -0000)]
after much debate, it turns out that != is not the same as == ... go figure :-)

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

17 years agomissed some g_ptr_array_free calls
Aaron Bockover [Sat, 19 Aug 2006 23:08:28 +0000 (23:08 -0000)]
missed some g_ptr_array_free calls

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

17 years agoFix the leaks.
Duncan Mak [Sat, 19 Aug 2006 23:07:06 +0000 (23:07 -0000)]
Fix the leaks.

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

17 years ago2006-08-19 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sat, 19 Aug 2006 22:24:24 +0000 (22:24 -0000)]
2006-08-19  Aaron Bockover  <abockover@novell.com>

    * test/driver.c: Added --debug mode that allows for testing all paths
    of the driver without actually running real tests; runs only the 'fake'
    test, which does nothing; useful for running the driver through valgrind

    * test/Makefile.am:
    * test/tests.h:
    * test/fake.c: Added fake test for valgrinding the driver

    * test/ptrarray.c: update sort test

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

17 years ago2006-08-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 19 Aug 2006 22:04:01 +0000 (22:04 -0000)]
2006-08-19  Miguel de Icaza  <miguel@novell.com>

* TermInfoDriver.cs: Do not throw exceptions on the driver for
SetWindowSize and SetWindowPosition, they can be treated as nops.

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

17 years agoBug fix to my previous commit
Miguel de Icaza [Sat, 19 Aug 2006 22:01:40 +0000 (22:01 -0000)]
Bug fix to my previous commit

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

17 years ago2006-08-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 19 Aug 2006 21:59:21 +0000 (21:59 -0000)]
2006-08-19  Miguel de Icaza  <miguel@novell.com>

* CultureInfo.cs (GetCultureInfo): implement two of the 2.0
overloads, as the vb code depends on this.

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

17 years agoPatch #46.
Martin Baulig [Sat, 19 Aug 2006 21:53:31 +0000 (21:53 -0000)]
Patch #46.

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

17 years ago2006-08-18 Duncan Mak <duncan@a-chinaman.com>
Duncan Mak [Sat, 19 Aug 2006 21:48:16 +0000 (21:48 -0000)]
2006-08-18  Duncan Mak  <duncan@a-chinaman.com>

* src/glist.c (g_list_remove, g_list_remove_link): Implemented.

* src/gslist.c (g_slist_remove): Remember to set the next pointer
to NULL when the item to remove is the first item in the list.

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

17 years ago2006-08-19 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sat, 19 Aug 2006 21:21:54 +0000 (21:21 -0000)]
2006-08-19  Aaron Bockover  <abockover@novell.com>

    * test/test-both: added --help

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

17 years ago * XplatUIX11.cs: after further communication with pdb, we get the
Chris Toshok [Sat, 19 Aug 2006 21:03:27 +0000 (21:03 -0000)]
* XplatUIX11.cs: after further communication with pdb, we get the
best of both worlds.  SetZOrder working for un-Mapped windows, and
no X errors for un-mapped windows.

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

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

17 years ago2006-08-19 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sat, 19 Aug 2006 21:02:25 +0000 (21:02 -0000)]
2006-08-19  Aaron Bockover  <abockover@novell.com>

    * test/driver.c: added -n mode to show only raw global run times,
    which is useful for scripts (test-both --speed-compare)

    * test/test-both: added --speed-compare mode

    * test/README: updated with information on --speed-compare

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

17 years ago2006-08-19 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sat, 19 Aug 2006 20:07:35 +0000 (20:07 -0000)]
2006-08-19  Aaron Bockover  <abockover@novell.com>

    * test/test.c: do not print times if -t is not passed

    * test/driver.c: removed use of GList from the driver to avoid skews due
    to performance differences between GLib and EGLib

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

17 years agoFix the test to work with multiple iterations
Miguel de Icaza [Sat, 19 Aug 2006 19:38:44 +0000 (19:38 -0000)]
Fix the test to work with multiple iterations

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

17 years ago2006-08-19 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sat, 19 Aug 2006 19:33:12 +0000 (19:33 -0000)]
2006-08-19  Aaron Bockover  <abockover@novell.com>

    * test/test.c: Perform iterations at the test level, only output one
    report for all iterations of tests in a group to produce more usable
    output; add timing for the tests and group; added get_timestamp for
    easy code timing

    * test/test.h: Removed run_test as it should only be called from
    run_group, added get_timestamp

    * test/Makefile.am: Added -DDRIVER_NAME

    * test/test-both: simple script to run both drivers with the same options

    * test/driver.c: Iterations are now run at the test level, show a global
    status (OK/FAIL) indicator

    * test/README: Updated

    * configure.ac: Renamed from configure.in as configure.in naming
    convention is deprecated in favor of configure.ac

    * autogen.sh: s/configure.in/configure.ac/

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

17 years ago2006-08-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 19 Aug 2006 18:00:47 +0000 (18:00 -0000)]
2006-08-19  Miguel de Icaza  <miguel@novell.com>

* Makefile.am: Removed MAINTAINERCLEANFILES that was too
aggresive, it failed make distcheck and the resulting tarball was
not buildable.

* src/glib.h: remove the various GPOINTER_TO_*, G*_TO_POINTER,
GSIZE_FORMAT macros, and move them into src/eglib-config.h

Moved also gssize and gsize to be arch specific.   This should fix
the 32/64 problems that Jon Chambers reported.

* configure.in: test for pointer size, define the various values
depending on 32 vs 32/64 worlds, might need further porting in the
future.

Change package name to eglib

* test/slist.c, test/list.c, test/hashtable.c: Update tests to use
FAILURE macro.

* test/string-util.c: fix leak for valgrind tests.

* test/tests.h: New size test, for testing datatypes.

* test/sizes.c: New tests.

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

17 years ago2006-08-19 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 19 Aug 2006 17:14:29 +0000 (17:14 -0000)]
2006-08-19  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
as it was causing pdn toolbars to not have the correct stacking.

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

17 years ago2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 19 Aug 2006 16:41:55 +0000 (16:41 -0000)]
2006-08-18  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Added more test cases for Matrix functions.

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

17 years ago2006-08-19 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sat, 19 Aug 2006 06:08:53 +0000 (06:08 -0000)]
2006-08-19  Aaron Bockover  <abockover@novell.com>

    * test/README: Added quick guide on adding new tests/groups to the
    driver and some examples on how to perform various tests with the driver

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

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

* filewatcher.c: Avoid warnings when building, do not redefine
constants that are defined.

Remove warnings.

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

17 years agoremove unused comments
Miguel de Icaza [Sat, 19 Aug 2006 05:47:30 +0000 (05:47 -0000)]
remove unused comments

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

17 years agoPatch #45.
Martin Baulig [Sat, 19 Aug 2006 02:51:30 +0000 (02:51 -0000)]
Patch #45.

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

17 years agoPatch #44.
Martin Baulig [Sat, 19 Aug 2006 02:11:31 +0000 (02:11 -0000)]
Patch #44.

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

17 years agoAdapt to the new BTF (Bockover-Testing-Framework)
Miguel de Icaza [Sat, 19 Aug 2006 00:58:09 +0000 (00:58 -0000)]
Adapt to the new BTF (Bockover-Testing-Framework)

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

17 years ago2006-08-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 19 Aug 2006 00:55:57 +0000 (00:55 -0000)]
2006-08-18  Miguel de Icaza  <miguel@novell.com>

* src/gstring.c (g_string_truncate): Implement truncate.
(g_string_prepend): implement.

Fix various bugs uncovered by new tests.

* src/glib.h: introduce gssize type, the signed one.  Important.

* src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
defines that we can use to check on the host OS.

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

17 years agoPatch #43.
Martin Baulig [Sat, 19 Aug 2006 00:40:22 +0000 (00:40 -0000)]
Patch #43.

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

17 years ago2006-08-18 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sat, 19 Aug 2006 00:10:39 +0000 (00:10 -0000)]
2006-08-18  Aaron Bockover  <abockover@novell.com>

    * test/driver.c: Added getopt support and code timing, among other
    nice features to make testing/profiling easier

    * test/test.c: Add support for suppressing output (quiet) and
    define RESULT, FAILED, and OK

    * src/glib.h:
    * src/glist.c: Added g_list_nth_data implementation

    * test/slist.c:
    * test/string-util.c:
    * test/ptrarray.c:
    * test/string.c:
    * test/hashtable.c:
    * test/list.c: Use RESULT, FAILURE, and OK for tests

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

17 years ago * RadioButton.cs: Don't fire click when we get focus.
Jackson Harper [Fri, 18 Aug 2006 21:08:23 +0000 (21:08 -0000)]
    * RadioButton.cs: Don't fire click when we get focus.

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

17 years ago * Binding.cs: When validating if the value entered doesn't
Jackson Harper [Fri, 18 Aug 2006 20:58:18 +0000 (20:58 -0000)]
    * Binding.cs: When validating if the value entered doesn't
        * convert
        properly reset to the old value.

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

17 years agoFix build for the Windows guis
Miguel de Icaza [Fri, 18 Aug 2006 20:32:49 +0000 (20:32 -0000)]
Fix build for the Windows guis

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

17 years agoPatch #41.
Martin Baulig [Fri, 18 Aug 2006 19:26:53 +0000 (19:26 -0000)]
Patch #41.

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

17 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Aug 2006 19:25:39 +0000 (19:25 -0000)]
2006-08-18  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Don't run net 2.0 AOT tests.

* aot-compiler.c (compile_method): Skip methods with tail calls as well.
(mono_compile_assembly): Skip net 2.0 assemblies as well.

* aot-runtime.c (load_patch_info): Fix an uninitialized memory error.

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

17 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Aug 2006 19:25:08 +0000 (19:25 -0000)]
2006-08-18  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Don't run net 2.0 AOT tests.

* aot-compiler.c (compile_method): Skip methods with tail calls as well.
(mono_compile_assembly): Skip net 2.0 assemblies as well.

* aot-runtime.c (load_patch_info): Fix an uninitialized memory error.

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

17 years agoDo not distribute the mbas page
Miguel de Icaza [Fri, 18 Aug 2006 19:24:50 +0000 (19:24 -0000)]
Do not distribute the mbas page

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

17 years agoDeprecate
Miguel de Icaza [Fri, 18 Aug 2006 18:14:32 +0000 (18:14 -0000)]
Deprecate

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

17 years agoDeprecate
Miguel de Icaza [Fri, 18 Aug 2006 18:13:00 +0000 (18:13 -0000)]
Deprecate

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

17 years agoDeprecate
Miguel de Icaza [Fri, 18 Aug 2006 18:11:52 +0000 (18:11 -0000)]
Deprecate

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

17 years agoMove to new location
Miguel de Icaza [Fri, 18 Aug 2006 18:10:40 +0000 (18:10 -0000)]
Move to new location

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

17 years agoMove to new location
Miguel de Icaza [Fri, 18 Aug 2006 18:10:22 +0000 (18:10 -0000)]
Move to new location

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

17 years agoMove to new home
Miguel de Icaza [Fri, 18 Aug 2006 18:09:46 +0000 (18:09 -0000)]
Move to new home

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

17 years agoMove to new home
Miguel de Icaza [Fri, 18 Aug 2006 18:09:31 +0000 (18:09 -0000)]
Move to new home

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

17 years agoRemove mbas and the runtime from the Makefiles, step 1
Miguel de Icaza [Fri, 18 Aug 2006 18:08:07 +0000 (18:08 -0000)]
Remove mbas and the runtime from the Makefiles, step 1

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

17 years agoFri Aug 18 19:38:28 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 18 Aug 2006 17:41:45 +0000 (17:41 -0000)]
Fri Aug 18 19:38:28 CEST 2006 Paolo Molaro <lupus@ximian.com>

* aot-compiler.c: simplified and refactored the asm-writing code
to allow different backends.

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

17 years agoFirst steps to build this on Windows (for those who have been trying
Miguel de Icaza [Fri, 18 Aug 2006 16:37:42 +0000 (16:37 -0000)]
First steps to build this on Windows (for those who have been trying
to), updates the goals for the project.

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

17 years agoUpdate plans
Miguel de Icaza [Fri, 18 Aug 2006 16:18:22 +0000 (16:18 -0000)]
Update plans

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

17 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Aug 2006 15:46:49 +0000 (15:46 -0000)]
2006-08-18  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Use String.Empty instead of "" in a lot of places.

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

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

* Style.cs:
* ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
submitted for review and it only added tests for the 2.0 profile.

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

17 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Aug 2006 15:43:15 +0000 (15:43 -0000)]
2006-08-18  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Use String.Empty instead of "" in a lot of places.

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

17 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Aug 2006 15:27:05 +0000 (15:27 -0000)]
2006-08-18  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (EXTRA_DIST): Fix make dist.

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

17 years ago2006-08-18 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 18 Aug 2006 14:47:22 +0000 (14:47 -0000)]
2006-08-18  Mike Kestner  <mkestner@novell.com>

* ListView.cs : guard against negative ClientArea.Width in scrollbar
calculation.  Not sure why control should ever be setting a negative
width though.  Fixes #78931.

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

17 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Aug 2006 14:40:30 +0000 (14:40 -0000)]
2006-08-18  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_AOT_FILE_VERSION): Bump AOT file format version.

* aot-compiler.c aot-runtime.c: Reorg the GOT slot allocation code a
little. Share patches of type TYPE_FROM_HANDLE as well.

* mini.c (mono_patch_info_equal): New helper function.
(mono_patch_info_hash): Ditto.

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

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

* image.c: don't fail when the link points to an absolute path.

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

17 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Aug 2006 13:46:39 +0000 (13:46 -0000)]
2006-08-18  Zoltan Varga  <vargaz@gmail.com>

* libtool.m4: Removed, should not be in SVN.

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

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

* decimal.c: Remove dead code (unrequired check) in mono_decimalIncr.
Fix CID #3.

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

17 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Aug 2006 12:33:48 +0000 (12:33 -0000)]
2006-08-18  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_method_code): Fix s390 build.

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

17 years ago2006-08-18 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Fri, 18 Aug 2006 11:42:34 +0000 (11:42 -0000)]
2006-08-18  Aaron Bockover  <abockover@novell.com>

    * test/test.[ch]:
    * test/driver.c: Support pass/fail logging on tests to show group report

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

17 years ago2006-08-18 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Fri, 18 Aug 2006 11:24:35 +0000 (11:24 -0000)]
2006-08-18  Aaron Bockover  <abockover@novell.com>

    * test/test.c:
    * test/test.h: Added result() to be used in place of g_strdup_printf(),
    it's shorter to write and allows the duped string to be freed safely;
    added license header to file

    * test/driver.c: Added license header to file

    * test/string-util.c:
    * test/ptrarray.c:
    * test/string.c:
    * test/list.c: Use result() in place of g_strdup_printf(), it's nicer

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

17 years ago2006-08-18 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Fri, 18 Aug 2006 10:46:02 +0000 (10:46 -0000)]
2006-08-18  Aaron Bockover  <abockover@novell.com>

    * src/gptrarray.c: Implemented g_ptr_array_sort

    * test/ptrarray.c: Added sort test

    * test/driver.c: Added --help; support running N iterations and allow
    selecting which test groups to run; uses the test group table in tests.h

    * test/tests.h: Added group table

    * test/test.h:
    * test/test.c: Using a Group structure and table, removed run_groups
    as we only need run_group now

    * test/slist.h: Removed, not needed, tests/groups defined in tests.h

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

17 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Aug 2006 10:25:27 +0000 (10:25 -0000)]
2006-08-18  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_allocate_stack_slots_full): Fix yet another place where byref
is not handled because it is stored as a flag and not as a type ctor. Fixes
#79016.

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

17 years ago* Makefile (net_2_0_bootstrap_SUBDIRS): Add 'tools'.
Raja R Harinath [Fri, 18 Aug 2006 08:51:24 +0000 (08:51 -0000)]
* Makefile (net_2_0_bootstrap_SUBDIRS): Add 'tools'.

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

17 years ago2006-08-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 18 Aug 2006 06:14:32 +0000 (06:14 -0000)]
2006-08-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBoxTest.cs: Add tests for adding/modifying null items
in ObjectCollection.
* ListBox.cs: Likewise.

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

17 years ago2006-08-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 18 Aug 2006 06:12:18 +0000 (06:12 -0000)]
2006-08-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: Throw ArgumentNullException when adding/modifyng
null items in ObjectCollection class.
* ListBox.cs.: Likewise.

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

17 years agoUse Mono coding style
Miguel de Icaza [Fri, 18 Aug 2006 05:43:21 +0000 (05:43 -0000)]
Use Mono coding style

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

17 years agoRemove the g_list_* functions.
Duncan Mak [Fri, 18 Aug 2006 05:40:27 +0000 (05:40 -0000)]
Remove the g_list_* functions.

The remaining ones are:

15 g_list_remove
3  g_list_insert_before
2  g_list_sort
1  g_list_remove_link

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

17 years ago2006-08-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 18 Aug 2006 05:31:43 +0000 (05:31 -0000)]
2006-08-18  Miguel de Icaza  <miguel@novell.com>

* src/unicode.c: New file, to host unicode code, it will throw as
this code is no longer used in the Mono runtime anyways.

* src/glib.h: Use stdint.h types, a lot of the good stuff is
replicated by glib.

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

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

* ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  as the base method in ThemeWin32Classic should work fine.
  Fixed bug #78607.

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

17 years agomore
Gonzalo Paniagua Javier [Fri, 18 Aug 2006 04:55:28 +0000 (04:55 -0000)]
more

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

17 years ago2006-08-18 Duncan Mak <duncan@a-chinaman.com>
Duncan Mak [Fri, 18 Aug 2006 04:50:13 +0000 (04:50 -0000)]
2006-08-18  Duncan Mak  <duncan@a-chinaman.com>

* src/glist.c: Implemented. Missing remove,
remove_link and insert_before.

* test/list.c: Tests for GList.

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