2001-01-25 Not Zed <NotZed@Ximian.com> * tests/folder/test3.c: Changed the subject search to handle case sensitive when it is mixed case. * Makefile.am (libcamel_la_SOURCES): Added camel-ssearch-private.c (noinst_HEADERS): Added camel-search-private.h * camel-folder-search.c (check_header): New function to do the work of the various header checks. (search_header_matches): (search_header_starts_with): (search_header_ends_with): (search_header_contains): Use check_header to do the work. (build_match_regex): Removed. * camel-search-private.c (header_soundex): New function to match words to phrases using soundex algorithm. * camel-filter-search.c (soundexcmp): Removed. (check_match): Moved to search-private.h 2001-01-24 Not Zed <NotZed@Ximian.com> * camel-search-private.c (camel_search_build_match_regex): Added extra flags, so the same function can be used for start/end/whole/partial matches. (camel_search_header_match): Convenience function to check a single header against all sorts of different matches. * providers/imap/camel-imap-search.c (imap_body_contains): Fix for e_sexp api changes. * camel-folder-search.c: Fix for e_sexp api changes. (search_header_contains): Free args/quit on unknown header. (search_header_matches): " (search_header_starts_with): " (search_header_ends_with): " (match_message): Add an exception argument. (search_body_contains): Free args/quit on fatal error. (message_body_contains): Removed (moved to camel-search-private.c), fixed callers. * camel-filter-search.c: Fix for e_sexp api changes. (build_match_regex, message_body_contains): Moved into camel-filter-private.c Fixed callers. (check_header): moved guts to camel-search-private, and changed to use regex's for everything. Just calls that with the right args. (check_header): GEts the header, decodes it, and checks for failure, and whatnot. (check_match): Removed. (header_soundex): Changed significantly. Now it soundexes each word in the header separately, and compares it to the first argument. * tests/folder/test9.c (main): Fix for api changes. (main): Added tests to see that invalid match and action rules are properly detected. * camel-filter-driver.c (camel_filter_driver_filter_mbox): Remove the 'finished message' bit. (camel_filter_driver_filter_message): Remove an accidentally checked in debug. (camel_filter_driver_filter_message): Fix for e-sexp api changes. svn path=/trunk/; revision=7796
155 lines
3.6 KiB
Makefile
155 lines
3.6 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
SUBDIRS = providers tests
|
|
|
|
libcamelincludedir = $(includedir)/camel
|
|
providerdir = $(libdir)/evolution/camel-providers/$(VERSION)
|
|
|
|
lib_LTLIBRARIES = libcamel.la
|
|
|
|
INCLUDES = -I.. -I$(srcdir)/.. -I$(includedir) \
|
|
-I$(top_srcdir)/intl \
|
|
-I$(top_srcdir)/e-util \
|
|
$(GLIB_CFLAGS) \
|
|
$(UNICODE_CFLAGS) \
|
|
-DCAMEL_PROVIDERDIR=\""$(providerdir)"\" \
|
|
-DG_LOG_DOMAIN=\"camel\"
|
|
|
|
libcamel_la_SOURCES = \
|
|
broken-date-parser.c \
|
|
camel-address.c \
|
|
camel-data-wrapper.c \
|
|
camel-exception.c \
|
|
camel-filter-driver.c \
|
|
camel-filter-search.c \
|
|
camel-folder-search.c \
|
|
camel-folder-summary.c \
|
|
camel-folder-thread.c \
|
|
camel-folder.c \
|
|
camel-internet-address.c \
|
|
camel-lock.c \
|
|
camel-medium.c \
|
|
camel-mime-filter-bestenc.c \
|
|
camel-mime-filter-basic.c \
|
|
camel-mime-filter-charset.c \
|
|
camel-mime-filter-crlf.c \
|
|
camel-mime-filter-from.c \
|
|
camel-mime-filter-index.c \
|
|
camel-mime-filter-linewrap.c \
|
|
camel-mime-filter-save.c \
|
|
camel-mime-filter.c \
|
|
camel-mime-message.c \
|
|
camel-mime-parser.c \
|
|
camel-mime-part-utils.c \
|
|
camel-mime-part.c \
|
|
camel-mime-utils.c \
|
|
camel-movemail.c \
|
|
camel-multipart.c \
|
|
camel-object.c \
|
|
camel-provider.c \
|
|
camel-remote-store.c \
|
|
camel-search-private.c \
|
|
camel-seekable-stream.c \
|
|
camel-seekable-substream.c \
|
|
camel-service.c \
|
|
camel-session.c \
|
|
camel-store.c \
|
|
camel-stream-buffer.c \
|
|
camel-stream-filter.c \
|
|
camel-stream-fs.c \
|
|
camel-stream-mem.c \
|
|
camel-stream-null.c \
|
|
camel-stream.c \
|
|
camel-transport.c \
|
|
camel-uid-cache.c \
|
|
camel-url.c \
|
|
camel-charset-map.c \
|
|
camel.c \
|
|
gstring-util.c \
|
|
hash-table-utils.c \
|
|
string-utils.c
|
|
|
|
libcamelinclude_HEADERS = \
|
|
broken-date-parser.h \
|
|
camel-address.h \
|
|
camel-charset-map.h \
|
|
camel-data-wrapper.h \
|
|
camel-exception-list.def \
|
|
camel-exception.h \
|
|
camel-filter-driver.h \
|
|
camel-filter-search.h \
|
|
camel-folder-search.h \
|
|
camel-folder-summary.h \
|
|
camel-folder-thread.h \
|
|
camel-folder.h \
|
|
camel-internet-address.h \
|
|
camel-lock.h \
|
|
camel-medium.h \
|
|
camel-mime-filter-bestenc.h \
|
|
camel-mime-filter-basic.h \
|
|
camel-mime-filter-charset.h \
|
|
camel-mime-filter-crlf.h \
|
|
camel-mime-filter-from.h \
|
|
camel-mime-filter-index.h \
|
|
camel-mime-filter-linewrap.h \
|
|
camel-mime-filter-save.h \
|
|
camel-mime-filter.h \
|
|
camel-mime-message.h \
|
|
camel-mime-parser.h \
|
|
camel-mime-part-utils.h \
|
|
camel-mime-part.h \
|
|
camel-mime-utils.h \
|
|
camel-movemail.h \
|
|
camel-multipart.h \
|
|
camel-object.h \
|
|
camel-provider.h \
|
|
camel-remote-store.h \
|
|
camel-seekable-stream.h \
|
|
camel-seekable-substream.h \
|
|
camel-service.h \
|
|
camel-session.h \
|
|
camel-store.h \
|
|
camel-stream-buffer.h \
|
|
camel-stream-filter.h \
|
|
camel-stream-fs.h \
|
|
camel-stream-mem.h \
|
|
camel-stream-null.h \
|
|
camel-stream.h \
|
|
camel-transport.h \
|
|
camel-types.h \
|
|
camel-uid-cache.h \
|
|
camel-url.h \
|
|
camel.h \
|
|
gstring-util.h \
|
|
hash-table-utils.h \
|
|
string-utils.h
|
|
|
|
libcamel_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
|
|
|
|
libcamel_la_LIBADD = $(top_builddir)/e-util/libeutil.la $(UNICODE_LIBS)
|
|
|
|
|
|
noinst_HEADERS = \
|
|
camel-charset-map-private.h \
|
|
camel-private.h \
|
|
camel-search-private.h
|
|
|
|
EXTRA_DIST = \
|
|
README
|
|
|
|
#noinst_PROGRAMS = \
|
|
# camel-mime-filter-from
|
|
#
|
|
#camel_mime_filter_from_SOURCES = \
|
|
# camel-mime-filter-from.c
|
|
#
|
|
#camel_mime_filter_from_LDADD = \
|
|
# ../camel/libcamel.la \
|
|
# ../e-util/libeutil.la \
|
|
# ../libibex/libibex.la \
|
|
# $(GNOME_LIBDIR) \
|
|
# $(GNOMEUI_LIBS) \
|
|
# $(INTLLIBS) \
|
|
# $(PTHREAD_LIB) \
|
|
# $(EXTRA_GNOME_LIBS)
|