glib/tests
Tim Janik 92dfa96114 make struct _GPatternSpec and GMatchType private. (g_pattern_equal): new
Fri Oct 12 18:24:02 2001  Tim Janik  <timj@gtk.org>

        * glib/gpattern.[hc]: make struct _GPatternSpec and GMatchType
        private.
        (g_pattern_equal): new function to return equality of two patterns
        (required because GPatternSpec is private now).
        (g_pattern_spec_new): fix bug wrg wildcard counting which produced
        incorrect pattern specs (discovered by Matthias Clasen).
        optimized code so we just keep one compiled pattern string now.
        correctly canonicalize patterns. reduce string walks, optimize
        decision about MATCH_ALL vs. MATCH_ALL_TAIL.
        (g_pattern_match_string): call just g_pattern_match() with NULL
        reversed string.
        (g_pattern_match): allow NULL reversed strings now, reverse_dup
        strings on demand.

        * tests/patterntest.c (test_compilation): added an extended testcase
        for pattern matching from Matthias Clasen <matthiasc@poet.de>.

Sat Oct 13 06:58:23 2001  Tim Janik  <timj@gtk.org>

        * glib/tmpl/patterns.sgml: amended documentation.
2001-10-13 05:54:10 +00:00
..
markups back out change by mitch@convergence.de and apply patch in bug id #52067 2001-05-24 19:30:40 +00:00
.cvsignore make struct _GPatternSpec and GMatchType private. (g_pattern_equal): new 2001-10-13 05:54:10 +00:00
array-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
casefold.txt Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
casemap.txt Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
cxx-test.C Now that we check for a C++ compiler in configure.in anyway, I added a 2001-05-29 14:17:23 +00:00
date-test.c New gcompat.h header file as recommended by Havoc. 2000-12-24 12:11:06 +00:00
dirname-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
gen-casefold-txt.pl Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
gen-casemap-txt.pl Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
gio-test.c make it compile again 2001-07-20 17:13:52 +00:00
hash-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
iochannel-test-infile Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
iochannel-test.c Find test case for srcdir != builddir, miscellaneous cleanups. 2001-08-12 14:12:02 +00:00
libmoduletestplugin_a.c Determine the suffix of the shared librarries for this system. This is 2000-12-22 13:44:25 +00:00
libmoduletestplugin_b.c Determine the suffix of the shared librarries for this system. This is 2000-12-22 13:44:25 +00:00
list-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
mainloop-test.c make it compile again 2001-07-20 17:13:52 +00:00
Makefile.am make struct _GPatternSpec and GMatchType private. (g_pattern_equal): new 2001-10-13 05:54:10 +00:00
makefile.mingw.in Retract my change earlier today. Don't preset autoconf variables in a try 2001-09-26 20:35:51 +00:00
makefile.msc.in More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF, 2001-09-25 06:03:23 +00:00
markup-test.c Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. 2001-06-23 13:55:09 +00:00
module-test.c Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. 2001-06-23 13:55:09 +00:00
node-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
patterntest.c make struct _GPatternSpec and GMatchType private. (g_pattern_equal): new 2001-10-13 05:54:10 +00:00
qsort-test.c Add test case for the g_qsort_with_data func. It works. This fixes bug 2001-05-29 14:55:39 +00:00
queue-test.c Renamed g_queue_create to g_queue_new in conformance to all other GLib 2000-04-17 10:31:10 +00:00
rand-test.c Fix to stupid bug in g_random_boolean, also both functions now return 1 or 2001-05-31 08:12:35 +00:00
relation-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
run-markup-tests.sh Rearrange into other veriables, and include run-markup-tests.sh. 2000-12-08 21:04:52 +00:00
shell-test.c Implement and document g_ascii_isxxx. 2001-08-25 22:29:40 +00:00
slist-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
spawn-test.c After being away for about five months, I'm back working on this... For 2001-08-30 05:09:11 +00:00
strfunc-test.c Change so that it works on platforms where isalpha is a macro only, 2001-09-17 15:27:04 +00:00
string-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
testgdate.c Match also UNC paths on Win32. 2001-02-21 12:41:28 +00:00
testgdateparser.c Match also UNC paths on Win32. 2001-02-21 12:41:28 +00:00
testglib.c cast the string size to gulong and use %lu for printing to avoid 64bit 2001-09-29 09:42:20 +00:00
thread-test.c Renamed g_thread_create to g_thread_create_full and added macro 2001-05-18 08:44:57 +00:00
threadpool-test.c Renamed g_thread_create to g_thread_create_full and added macro 2001-05-18 08:44:57 +00:00
timeloop-basic.c Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. 2001-06-23 13:55:09 +00:00
timeloop-closure.c Implement. 2001-09-03 22:13:16 +00:00
timeloop.c Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. 2001-06-23 13:55:09 +00:00
tree-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
type-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
unicode-caseconv.c Add length arguments to g_utf8_{strup,strdown,casefold,collate_key}. 2001-07-07 02:42:49 +00:00
unicode-collate.c Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
unicode-encoding.c Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. 2001-06-23 13:55:09 +00:00
unicode-normalize.c Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
uri-test.c Convert G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI and 2001-10-01 20:40:05 +00:00
utf8.txt move $enable_debug down below checks for GCC to avoid setting CFLAGS 2001-01-05 21:22:47 +00:00