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
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
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
Chris Toshok [Sun, 20 Aug 2006 02:26:16 +0000 (02:26 -0000)]
remove ;
svn path=/trunk/mono/; revision=64072
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
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
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
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
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
Duncan Mak [Sat, 19 Aug 2006 23:07:06 +0000 (23:07 -0000)]
Fix the leaks.
svn path=/trunk/mono/; revision=64065
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
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
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
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
Martin Baulig [Sat, 19 Aug 2006 21:53:31 +0000 (21:53 -0000)]
Patch #46.
svn path=/trunk/mcs/; revision=64059
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Sat, 19 Aug 2006 05:47:30 +0000 (05:47 -0000)]
remove unused comments
svn path=/trunk/mcs/; revision=64039
Martin Baulig [Sat, 19 Aug 2006 02:51:30 +0000 (02:51 -0000)]
Patch #45.
svn path=/trunk/mcs/; revision=64038
Martin Baulig [Sat, 19 Aug 2006 02:11:31 +0000 (02:11 -0000)]
Patch #44.
svn path=/trunk/mcs/; revision=64037
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
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
Martin Baulig [Sat, 19 Aug 2006 00:40:22 +0000 (00:40 -0000)]
Patch #43.
svn path=/trunk/mcs/; revision=64034
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
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
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
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
Martin Baulig [Fri, 18 Aug 2006 19:26:53 +0000 (19:26 -0000)]
Patch #41.
svn path=/trunk/mcs/; revision=64022
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
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
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
Miguel de Icaza [Fri, 18 Aug 2006 18:14:32 +0000 (18:14 -0000)]
Deprecate
svn path=/trunk/mcs/; revision=64014
Miguel de Icaza [Fri, 18 Aug 2006 18:13:00 +0000 (18:13 -0000)]
Deprecate
svn path=/trunk/mcs/; revision=64013
Miguel de Icaza [Fri, 18 Aug 2006 18:11:52 +0000 (18:11 -0000)]
Deprecate
svn path=/trunk/mcs/; revision=64012
Miguel de Icaza [Fri, 18 Aug 2006 18:10:40 +0000 (18:10 -0000)]
Move to new location
svn path=/trunk/mcs/; revision=64011
Miguel de Icaza [Fri, 18 Aug 2006 18:10:22 +0000 (18:10 -0000)]
Move to new location
svn path=/trunk/mcs/; revision=64010
Miguel de Icaza [Fri, 18 Aug 2006 18:09:46 +0000 (18:09 -0000)]
Move to new home
svn path=/trunk/mcs/; revision=64009
Miguel de Icaza [Fri, 18 Aug 2006 18:09:31 +0000 (18:09 -0000)]
Move to new home
svn path=/trunk/mcs/; revision=64008
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
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
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
Miguel de Icaza [Fri, 18 Aug 2006 16:18:22 +0000 (16:18 -0000)]
Update plans
svn path=/trunk/mono/; revision=63997
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 18 Aug 2006 05:43:21 +0000 (05:43 -0000)]
Use Mono coding style
svn path=/trunk/mono/; revision=63973
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
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
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
Gonzalo Paniagua Javier [Fri, 18 Aug 2006 04:55:28 +0000 (04:55 -0000)]
more
svn path=/trunk/mono/; revision=63968
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
Jackson Harper [Fri, 18 Aug 2006 04:48:25 +0000 (04:48 -0000)]
* FileDialog.cs: Paint the selection on the directory combobox
* the
same way as on MS.
svn path=/trunk/mcs/; revision=63966
Gonzalo Paniagua Javier [Fri, 18 Aug 2006 04:16:32 +0000 (04:16 -0000)]
fix my tests
svn path=/trunk/mono/; revision=63965
Aaron Bockover [Fri, 18 Aug 2006 03:57:07 +0000 (03:57 -0000)]
2006-08-17 Aaron Bockover <abockover@novell.com>
* src/gptrarray.c: Implemented g_ptr_array_remove and
g_ptr_array_remove_index
* test/other: Removed, rewritten in Makefile.am
* test/Makefile.am: Build test-eglib against local eglib and
test-glib against GLib 2.0 (replaces 'other')
* test/ptrarray.c: Added tests for g_ptr_array_remove and
g_ptr_array_remove_index
svn path=/trunk/mono/; revision=63964
Duncan Mak [Fri, 18 Aug 2006 03:19:07 +0000 (03:19 -0000)]
2006-08-17 Duncan Mak <duncan@a-chinaman.com>
* src/gslist.c: Added MIT license.
(g_slist_insert_sorted): Forgot the case where the data is
appended to the end of the list.
* test/slist.c (test_slist_insert_sorted): Fix the test.
svn path=/trunk/mono/; revision=63963
Jackson Harper [Fri, 18 Aug 2006 02:09:58 +0000 (02:09 -0000)]
* ErrorProvider.cs: Don't allow the error control to be
* selected.
* Control.cs: Don't send the SetFocus messages, the control
activation will do this, and if we do it blindly here validation
does not work.
svn path=/trunk/mcs/; revision=63962
Miguel de Icaza [Fri, 18 Aug 2006 00:43:54 +0000 (00:43 -0000)]
up
svn path=/trunk/mono/; revision=63961
Miguel de Icaza [Fri, 18 Aug 2006 00:37:22 +0000 (00:37 -0000)]
2006-08-17 Miguel de Icaza <miguel@novell.com>
* image.c (full_path): A new method used to obtain the actual path
of an assembly even in the presence of symbolic links.
This is necessary for the case where we are running a binary that
has been GACed, but we are using the "published" path name
($prefix/mono/1.0/blah.exe) which happens to point to the real
file in the GAC.
This was the source of the failure for the `xsp' command with the
recent AppDomain changes, as far as the runtime was concerned,
there were two different assemblies: $prefix/mono/1.0/blah.exe and
$prefix/mono/gac/blah/version/blah.exe.
(do_mono_image_open): use full path
svn path=/trunk/mono/; revision=63960
Miguel de Icaza [Thu, 17 Aug 2006 23:36:12 +0000 (23:36 -0000)]
2006-08-17 Miguel de Icaza <miguel@novell.com>
* cs-tokenizer.cs: Apply patch from Atsushi Enomoto that fixes
#52019 and #79064, the use of the \uXXXX sequence in source code
to represent unicode characters.
svn path=/trunk/mcs/; revision=63958
Miguel de Icaza [Thu, 17 Aug 2006 23:35:45 +0000 (23:35 -0000)]
Add test-530.cs
svn path=/trunk/mcs/; revision=63957
Miguel de Icaza [Thu, 17 Aug 2006 23:30:18 +0000 (23:30 -0000)]
Add
svn path=/trunk/mono/; revision=63956
Miguel de Icaza [Thu, 17 Aug 2006 22:55:40 +0000 (22:55 -0000)]
Update
svn path=/trunk/mono/; revision=63953
Aaron Bockover [Thu, 17 Aug 2006 22:54:55 +0000 (22:54 -0000)]
Removed evil trailing whitespace
svn path=/trunk/mono/; revision=63952
Aaron Bockover [Thu, 17 Aug 2006 22:52:23 +0000 (22:52 -0000)]
2006-08-17 Aaron Bockover <abockover@novell.com>
* src/gptrarray.c: Added g_ptr_array_set_size implementation
* test/ptrarray.c: Added test for g_ptr_array_set_size
svn path=/trunk/mono/; revision=63951
Miguel de Icaza [Thu, 17 Aug 2006 22:35:24 +0000 (22:35 -0000)]
2006-08-17 Miguel de Icaza <miguel@novell.com>
* src/glib.h: A handful of extra macros
* configure.in, src/eglib-config.h.in: Set some system-specific
settings that are probed at configure time.
svn path=/trunk/mono/; revision=63949
Gonzalo Paniagua Javier [Thu, 17 Aug 2006 22:28:01 +0000 (22:28 -0000)]
mo' stuff
svn path=/trunk/mono/; revision=63948
Aaron Bockover [Thu, 17 Aug 2006 21:49:00 +0000 (21:49 -0000)]
2006-08-17 Aaron Bockover <abockover@novell.com>
* src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
* src/glib.h: Added GPtrArray signatures
* src/Makefile.am: Added gptrarray.c to build
* test/ptrarray.c:
* test/tests.h:
* test/driver.c:
* test/Makefile.am: Add ptrarray tests for available functionality
svn path=/trunk/mono/; revision=63947
Zoltan Varga [Thu, 17 Aug 2006 20:49:25 +0000 (20:49 -0000)]
svn path=/trunk/mono/; revision=63943
Miguel de Icaza [Thu, 17 Aug 2006 20:34:32 +0000 (20:34 -0000)]
Add a way of runnig the tests with the real glib.
Remove all the extra .h files, and put all the test declarations in a single header file.
Move the test for gstring into string.c
svn path=/trunk/mono/; revision=63942
Zoltan Varga [Thu, 17 Aug 2006 20:23:43 +0000 (20:23 -0000)]
2006-08-17 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Implement sharing of GOT slots for classes/fields.
Also remove support for not PIC AOT.
* mini.h: Bump AOT file format version.
svn path=/trunk/mono/; revision=63941
Miguel de Icaza [Thu, 17 Aug 2006 20:19:25 +0000 (20:19 -0000)]
g_strjoin
svn path=/trunk/mono/; revision=63940
Jackson Harper [Thu, 17 Aug 2006 19:38:25 +0000 (19:38 -0000)]
* Control.cs:
* ContainerControl.cs: Make validation events fire in the
* correct
order. TODO: For some reason the first validation event is not
getting fired.
svn path=/trunk/mcs/; revision=63939
Aaron Bockover [Thu, 17 Aug 2006 19:33:29 +0000 (19:33 -0000)]
Renamed hash,str to hashtable,string-util
svn path=/trunk/mono/; revision=63938
Aaron Bockover [Thu, 17 Aug 2006 19:32:01 +0000 (19:32 -0000)]
2006-08-17 Aaron Bockover <abockover@novell.com>
* test/test.h:
* test/test.c: Added group iterator/test driver functionality
* test/driver.c: Added groups to run using new test functionality
* test/slist.h:
* test/hashtable.h:
* test/string-util.h: Test group definitions for string util/hashtable
* test/slist.c:
* test/str.c:
* test/hash.c: Added test definition table
* test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
* src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
* src/glib.h: Added missing function signatures
* src/Makefile.am: added -D_FORTIFY_SOURCE=2
svn path=/trunk/mono/; revision=63937
Mike Kestner [Thu, 17 Aug 2006 18:40:43 +0000 (18:40 -0000)]
2006-08-17 Mike Kestner <mkestner@novell.com>
* ComboBox.cs : some null guarding for ComboListBox.Scroll.
svn path=/trunk/mcs/; revision=63936
Jackson Harper [Thu, 17 Aug 2006 18:23:11 +0000 (18:23 -0000)]
* TreeView.cs: Specify treeview actions (old patch that didn't
* get
committed for some reason).
- Don't let the mouse wheel scroll us too far. Just want to
make
the bottom node visible, not scroll it all the ways to the top.
svn path=/trunk/mcs/; revision=63935