]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
10 years agolib-fts: Call u_clean() at deinit to free up all of libicu's memory.
Timo Sirainen [Mon, 18 May 2015 10:51:24 +0000 (06:51 -0400)] 
lib-fts: Call u_clean() at deinit to free up all of libicu's memory.

10 years agolib-fts: test-fts-icu memory leak fix
Timo Sirainen [Mon, 18 May 2015 10:46:32 +0000 (06:46 -0400)] 
lib-fts: test-fts-icu memory leak fix

10 years agofts + lib-fts: Fixed crash with some search queries that contained uninitialized...
Timo Sirainen [Mon, 18 May 2015 10:37:28 +0000 (06:37 -0400)] 
fts + lib-fts: Fixed crash with some search queries that contained uninitialized search args.

10 years agolib-storage: Added mail_search_init/deinit_arg()
Timo Sirainen [Mon, 18 May 2015 10:36:56 +0000 (06:36 -0400)] 
lib-storage: Added mail_search_init/deinit_arg()
For forcibly initializing/deinitializing search args.

10 years agolib-storage: Cleanup - separate search arg values that are set by mail_search_init()
Timo Sirainen [Mon, 18 May 2015 10:21:50 +0000 (06:21 -0400)] 
lib-storage: Cleanup - separate search arg values that are set by mail_search_init()

10 years agolib-mail: Make sure iconv state is reset between MIME parts.
Timo Sirainen [Sat, 16 May 2015 21:51:50 +0000 (00:51 +0300)] 
lib-mail: Make sure iconv state is reset between MIME parts.

10 years agolib-fts: Rewrite ICU handling functions.
Timo Sirainen [Sat, 16 May 2015 15:47:20 +0000 (18:47 +0300)] 
lib-fts: Rewrite ICU handling functions.
Some of the changes:
 - Use buffers instead of allocating everything from data stack.
 - Optimistically attempt to write the data directly to the buffers without
first calculating their size. Grow the buffer if it doesn't fit first.
 - Use u_strFromUTF8Lenient() instead of u_strFromUTF8(). Our input is
already supposed to be valid UTF-8, although we don't check if all code
points are valid, while u_strFromUTF8() does check them and return failures.
We don't really care about if code points are valid or not and
u_strFromUTF8Lenient() passes through everything.

Added unit tests to make sure all the functions work as intended and all the
UTF-8 input passes through them successfully.

10 years agolib: Added buffer_get_writable_size()
Timo Sirainen [Sat, 16 May 2015 15:41:44 +0000 (18:41 +0300)] 
lib: Added buffer_get_writable_size()

10 years agofts: Avoid excessive data stack usage with lib-fts
Timo Sirainen [Sat, 16 May 2015 15:20:08 +0000 (18:20 +0300)] 
fts: Avoid excessive data stack usage with lib-fts

10 years agolib-charset: Fixed compile warning caused by earlier commit.
Timo Sirainen [Sat, 16 May 2015 10:50:48 +0000 (13:50 +0300)] 
lib-charset: Fixed compile warning caused by earlier commit.
This UNICODE_REPLACEMENT_CHAR_UTF8 part of the change was actually supposed
to be a separate commit..

10 years agolib: Added UNICODE_REPLACEMENT_CHAR_UTF8
Timo Sirainen [Sat, 16 May 2015 10:20:22 +0000 (13:20 +0300)] 
lib: Added UNICODE_REPLACEMENT_CHAR_UTF8

10 years agolib: Added p_memdup()
Timo Sirainen [Sat, 16 May 2015 09:51:08 +0000 (12:51 +0300)] 
lib: Added p_memdup()

10 years agolib-charset: Added a minimal unit test
Timo Sirainen [Sat, 16 May 2015 09:46:38 +0000 (12:46 +0300)] 
lib-charset: Added a minimal unit test

10 years agoimap: Fixed crash in FETCH RFC822* caused by earlier commit
Timo Sirainen [Sat, 16 May 2015 08:47:09 +0000 (11:47 +0300)] 
imap: Fixed crash in FETCH RFC822* caused by earlier commit

10 years agoreplication plugin: s/transction/transaction/ in debug log messages
Timo Sirainen [Fri, 15 May 2015 18:36:07 +0000 (21:36 +0300)] 
replication plugin: s/transction/transaction/ in debug log messages

10 years agodoveadm director flush: Unless -F parameter is used, do the flush by moving users.
Timo Sirainen [Fri, 15 May 2015 13:50:27 +0000 (16:50 +0300)] 
doveadm director flush: Unless -F parameter is used, do the flush by moving users.
User moving causes the users to be properly kicked out of the old backends
before new connections are made to the new backends. This way the user isn't
accessed simultaneously by different backends.

10 years agolib-master: Added data stack frames to handling IPC input.
Timo Sirainen [Fri, 15 May 2015 13:46:14 +0000 (16:46 +0300)] 
lib-master: Added data stack frames to handling IPC input.

10 years agodirector: Added HOST-RESET-USERS command to move users to their hash-assigned hosts.
Timo Sirainen [Fri, 15 May 2015 13:45:14 +0000 (16:45 +0300)] 
director: Added HOST-RESET-USERS command to move users to their hash-assigned hosts.

10 years agodirector: Moving a user to another host sometimes caused the move to fail.
Timo Sirainen [Fri, 15 May 2015 13:44:45 +0000 (16:44 +0300)] 
director: Moving a user to another host sometimes caused the move to fail.
It could have given "User hash .. is being redirected to two hosts" error
and afterwards moved the user back to its original host.

10 years agoimap: Added %{deleted}, %{expunged} and %{trashed} to imap_logout_format
Timo Sirainen [Fri, 15 May 2015 11:55:21 +0000 (14:55 +0300)] 
imap: Added %{deleted}, %{expunged} and %{trashed} to imap_logout_format

10 years agoAdded %{fetch_hdr/body_count/bytes} variables to imap_logout_format
Timo Sirainen [Fri, 15 May 2015 11:35:01 +0000 (14:35 +0300)] 
Added %{fetch_hdr/body_count/bytes} variables to imap_logout_format

10 years agolib-imap-storage: Added imap_msgpart_contains_body()
Timo Sirainen [Fri, 15 May 2015 11:34:54 +0000 (14:34 +0300)] 
lib-imap-storage: Added imap_msgpart_contains_body()

10 years agoAdded signature for changeset 917d027836d0
Timo Sirainen [Fri, 15 May 2015 11:03:02 +0000 (14:03 +0300)] 
Added signature for changeset 917d027836d0

10 years agoAdded tag 2.2.18 for changeset 917d027836d0
Timo Sirainen [Fri, 15 May 2015 11:02:58 +0000 (14:02 +0300)] 
Added tag 2.2.18 for changeset 917d027836d0

10 years agoReleased v2.2.18. 2.2.18
Timo Sirainen [Fri, 15 May 2015 11:02:58 +0000 (14:02 +0300)] 
Released v2.2.18.

10 years agoreplication plugin: Fixed handling EAGAIN errors when writing to replication-pipe.
Timo Sirainen [Fri, 15 May 2015 10:55:46 +0000 (13:55 +0300)] 
replication plugin: Fixed handling EAGAIN errors when writing to replication-pipe.

10 years agoreplication plugin: Added debug logging when mail_debug=yes
Timo Sirainen [Fri, 15 May 2015 10:54:49 +0000 (13:54 +0300)] 
replication plugin: Added debug logging when mail_debug=yes

10 years agoreplication plugin: A small optimization to check the user's "dsyncing" status only...
Timo Sirainen [Fri, 15 May 2015 10:48:45 +0000 (13:48 +0300)] 
replication plugin: A small optimization to check the user's "dsyncing" status only once.

10 years agopgsql: Don't crash at disconnect/deinit if there's an unfinished query.
Timo Sirainen [Fri, 15 May 2015 10:27:29 +0000 (13:27 +0300)] 
pgsql: Don't crash at disconnect/deinit if there's an unfinished query.

10 years agopgsql: Log a warning if DNS lookup takes too long. Don't include it in connect timeout.
Timo Sirainen [Fri, 15 May 2015 10:07:27 +0000 (13:07 +0300)] 
pgsql: Log a warning if DNS lookup takes too long. Don't include it in connect timeout.

10 years agoReverted d592417ec815 which added unnecessary code to Makefiles.
Timo Sirainen [Fri, 15 May 2015 09:48:07 +0000 (12:48 +0300)] 
Reverted d592417ec815 which added unnecessary code to Makefiles.
The original problem it tried to solve was properly fixed by 46969c4cc57e.
make will actually wait for processes to finish creating files before it
continues to the next program that wants to access the file. As long as the
dependencies are correct.

10 years agoquota: Fixed dependency tracking in Makefile
Timo Sirainen [Fri, 15 May 2015 09:43:13 +0000 (12:43 +0300)] 
quota: Fixed dependency tracking in Makefile
The earlier fix attempt was done by creating a .tmp file first, but that
didn't really solve anything.

10 years agosdbox: When hardlink-copying a mail in alt storage, keep it within the alt storage.
Timo Sirainen [Fri, 15 May 2015 08:15:50 +0000 (11:15 +0300)] 
sdbox: When hardlink-copying a mail in alt storage, keep it within the alt storage.
Also make sure that the alt-flag is set correctly no matter where we copy
the mail.

10 years agolib: Use /dev/zero instead of /dev/stderr in test-istream-unix unit test
Timo Sirainen [Thu, 14 May 2015 20:49:12 +0000 (23:49 +0300)] 
lib: Use /dev/zero instead of /dev/stderr in test-istream-unix unit test
Some distros don't seem to allow opening stderr.

10 years agolib-imap: Fixed crash in IDLE for non-TCP connections.
Timo Sirainen [Thu, 14 May 2015 18:44:50 +0000 (21:44 +0300)] 
lib-imap: Fixed crash in IDLE for non-TCP connections.

10 years agolib-fts: Fixed test-fts-filter when building without libstemmer
Timo Sirainen [Thu, 14 May 2015 11:02:13 +0000 (14:02 +0300)] 
lib-fts: Fixed test-fts-filter when building without libstemmer

10 years agoconfigure: Use consistent quotation for AC_DEFINEs as per autoconf recommendations.
Matti Hamalainen [Thu, 14 May 2015 09:36:38 +0000 (12:36 +0300)] 
configure: Use consistent quotation for AC_DEFINEs as per autoconf recommendations.
Also fix one minor typo.

10 years agopgsql: Include connect state string on connect failure errors.
Timo Sirainen [Thu, 14 May 2015 10:33:59 +0000 (13:33 +0300)] 
pgsql: Include connect state string on connect failure errors.

10 years agolib-lda: Added missing include file.
Timo Sirainen [Thu, 14 May 2015 08:27:04 +0000 (11:27 +0300)] 
lib-lda: Added missing include file.
This fixes building Pigeonhole in some systems.

10 years agodirector: UNIX auth sockets were wrongly detected as doveadm or ring sockets.
Timo Sirainen [Thu, 14 May 2015 08:26:00 +0000 (11:26 +0300)] 
director: UNIX auth sockets were wrongly detected as doveadm or ring sockets.
A workaround would be to use login/director-auth socket name instead of
login/director.

10 years agofts-lucene: Removed dead code
Timo Sirainen [Wed, 13 May 2015 18:35:56 +0000 (21:35 +0300)] 
fts-lucene: Removed dead code
Found by Coverity

10 years agolib-fts: Makefile compiling dependency fix
Timo Sirainen [Wed, 13 May 2015 17:47:35 +0000 (20:47 +0300)] 
lib-fts: Makefile compiling dependency fix

10 years agoAdded signature for changeset 166106aaefc5
Timo Sirainen [Wed, 13 May 2015 16:45:11 +0000 (19:45 +0300)] 
Added signature for changeset 166106aaefc5

10 years agoAdded tag 2.2.17 for changeset 166106aaefc5
Timo Sirainen [Wed, 13 May 2015 16:45:07 +0000 (19:45 +0300)] 
Added tag 2.2.17 for changeset 166106aaefc5

10 years agoReleased v2.2.17. 2.2.17
Timo Sirainen [Wed, 13 May 2015 16:45:07 +0000 (19:45 +0300)] 
Released v2.2.17.

10 years agolib-lda: Don't crash if postmaster_address is given as command line parameter.
Timo Sirainen [Wed, 13 May 2015 16:36:29 +0000 (19:36 +0300)] 
lib-lda: Don't crash if postmaster_address is given as command line parameter.

10 years agombox: If we notice our internal state is wrong, avoid further corruption by returning...
Timo Sirainen [Wed, 13 May 2015 16:26:45 +0000 (19:26 +0300)] 
mbox: If we notice our internal state is wrong, avoid further corruption by returning error.

10 years agombox: Fixed corruption in some usage patterns.
Timo Sirainen [Wed, 13 May 2015 16:24:55 +0000 (19:24 +0300)] 
mbox: Fixed corruption in some usage patterns.
Something like:
 - first mail is being expunged
 - other mails are being rewritten and they get their space from the
   expunged mail
 - there's not enough space for the last mail to get space
 - we add more space
 - we'll now need to use up the space. We can't just decide to mark the
   mails dirty.

10 years agofts-solr: Fixed memory leak at user deinit.
Timo Sirainen [Wed, 13 May 2015 14:16:21 +0000 (17:16 +0300)] 
fts-solr: Fixed memory leak at user deinit.

10 years agofts-solr: Crashfixes
Timo Sirainen [Wed, 13 May 2015 13:54:27 +0000 (16:54 +0300)] 
fts-solr: Crashfixes

10 years agofts-solr: Don't update "last indexed UID" if we couldn't actually add the mails to...
Timo Sirainen [Wed, 13 May 2015 13:46:14 +0000 (16:46 +0300)] 
fts-solr: Don't update "last indexed UID" if we couldn't actually add the mails to Solr.

10 years agodirector: Added "authreply" socket type.
Timo Sirainen [Wed, 13 May 2015 13:22:27 +0000 (16:22 +0300)] 
director: Added "authreply" socket type.
This allows defining a socket, which receives auth replies. Director then
adds the "host" field to it if it's missing and returns back the original
string. The idea is that eventually a director ring could be running
independently from Dovecot proxies.

10 years agodirector: Removed accidentally committed debug log message
Timo Sirainen [Wed, 13 May 2015 12:59:48 +0000 (15:59 +0300)] 
director: Removed accidentally committed debug log message

10 years agolib-master: If executing doveconf, use master_service_settings_input.service for...
Timo Sirainen [Wed, 13 May 2015 12:47:14 +0000 (15:47 +0300)] 
lib-master: If executing doveconf, use master_service_settings_input.service for filter
Instead of hardcoding to the master_service->name, which may be different.
This fixes reading protocol sieve {} settings when if managesieve was
reading settings via doveconf (= executed from command line).

10 years agodirector: Cleanup for director socket type configuration.
Timo Sirainen [Wed, 13 May 2015 12:33:27 +0000 (15:33 +0300)] 
director: Cleanup for director socket type configuration.
It's now possible to use any type of a socket for inet listeners by
specifying the name for the listener. The available types are: auth
(default), userdb, ring (= director<->director connection), admin/doveadm.
This change should be backwards compatible with previous configuration.
This setting also deprecates director_doveadm_port setting.

10 years agolib-master: Added master_service_get_socket_name()
Timo Sirainen [Wed, 13 May 2015 12:32:54 +0000 (15:32 +0300)] 
lib-master: Added master_service_get_socket_name()

10 years agodirector: Minor code cleanup - allow access to auth connection's ostream directly.
Timo Sirainen [Wed, 13 May 2015 10:57:24 +0000 (13:57 +0300)] 
director: Minor code cleanup - allow access to auth connection's ostream directly.

10 years agodirector: Reverted previous e178413a905d commit after all - do it a bit differently.
Timo Sirainen [Wed, 13 May 2015 10:15:57 +0000 (13:15 +0300)] 
director: Reverted previous e178413a905d commit after all - do it a bit differently.

10 years agoAdded quota-clone plugin.
Timo Sirainen [Wed, 13 May 2015 09:24:02 +0000 (12:24 +0300)] 
Added quota-clone plugin.

10 years agolib-sql: sqlite and cassandra libs were mixed up in the Makefile
Timo Sirainen [Wed, 13 May 2015 02:34:16 +0000 (05:34 +0300)] 
lib-sql: sqlite and cassandra libs were mixed up in the Makefile

10 years agodirector: Added a new DIRECTOR-LOOKUP command that auth connections can use.
Timo Sirainen [Wed, 13 May 2015 02:25:31 +0000 (05:25 +0300)] 
director: Added a new DIRECTOR-LOOKUP command that auth connections can use.
The parameters are the same as what auth lookup would receive from auth
process. So the idea is that a proxy could do an auth lookup, then forward
the reply to director, which would return back the updated reply with the
host field added.

10 years agodirector: Don't send DIRECTOR command infinitely in loop if that director got disconn...
Timo Sirainen [Wed, 13 May 2015 02:22:22 +0000 (05:22 +0300)] 
director: Don't send DIRECTOR command infinitely in loop if that director got disconnected.

10 years agodirector: Include useful statistics in process title.
Timo Sirainen [Wed, 13 May 2015 01:11:34 +0000 (04:11 +0300)] 
director: Include useful statistics in process title.

10 years agodirector: Fixed crash if director sent invalid data too early.
Timo Sirainen [Wed, 13 May 2015 01:10:53 +0000 (04:10 +0300)] 
director: Fixed crash if director sent invalid data too early.

10 years agodirector: If we disconnect a director, pass the reason all the way to deinit's debug...
Timo Sirainen [Wed, 13 May 2015 01:10:18 +0000 (04:10 +0300)] 
director: If we disconnect a director, pass the reason all the way to deinit's debug logging.

10 years agodirector: Improved debug logging about connecting to another director.
Timo Sirainen [Wed, 13 May 2015 01:07:46 +0000 (04:07 +0300)] 
director: Improved debug logging about connecting to another director.

10 years agoMake static analyzer happier.
Timo Sirainen [Tue, 12 May 2015 21:33:18 +0000 (00:33 +0300)] 
Make static analyzer happier.

10 years agoAdded signature for changeset 2c1ce55de520
Timo Sirainen [Tue, 12 May 2015 20:06:33 +0000 (23:06 +0300)] 
Added signature for changeset 2c1ce55de520

10 years agoAdded tag 2.2.17.rc2 for changeset 2c1ce55de520
Timo Sirainen [Tue, 12 May 2015 20:06:30 +0000 (23:06 +0300)] 
Added tag 2.2.17.rc2 for changeset 2c1ce55de520

10 years agoReleased v2.2.17.rc2. 2.2.17.rc2
Timo Sirainen [Tue, 12 May 2015 20:06:30 +0000 (23:06 +0300)] 
Released v2.2.17.rc2.

10 years agolib: connection API: Added delayed_unix_client_connected_callback setting.
Timo Sirainen [Tue, 12 May 2015 18:58:03 +0000 (21:58 +0300)] 
lib: connection API: Added delayed_unix_client_connected_callback setting.
092a51d80bad commit changed this functionality first to fix lib-http code,
but it broke other code. 1fac17a2bc53 reversed the original behavior.
This change allows either behavior optionally.

10 years agodoveadm fs: Improved error message logging.
Timo Sirainen [Tue, 12 May 2015 18:52:07 +0000 (21:52 +0300)] 
doveadm fs: Improved error message logging.

10 years agodoveadm dict iter: Added -1 parameter to enable DICT_ITERATE_FLAG_EXACT_KEY
Timo Sirainen [Tue, 12 May 2015 16:43:48 +0000 (19:43 +0300)] 
doveadm dict iter: Added -1 parameter to enable DICT_ITERATE_FLAG_EXACT_KEY

10 years agodict-sql: Fixed non-recursive iteration.
Timo Sirainen [Tue, 12 May 2015 16:43:25 +0000 (19:43 +0300)] 
dict-sql: Fixed non-recursive iteration.
If path has e.g. "a/$var/b/$var2" and we're iterating "a/", we shouldn't
return anything under "a/*/b/".

10 years agocassandra: Leave consistency to default if it's not specified in config.
Timo Sirainen [Tue, 12 May 2015 16:14:13 +0000 (19:14 +0300)] 
cassandra: Leave consistency to default if it's not specified in config.

10 years agolib: connection API was unnecessarily delaying client_connected() calls for UNIX...
Timo Sirainen [Tue, 12 May 2015 16:13:31 +0000 (19:13 +0300)] 
lib: connection API was unnecessarily delaying client_connected() calls for UNIX sockets.

10 years agodoveadm: Register builtin dict drivers always at init
Timo Sirainen [Tue, 12 May 2015 16:12:34 +0000 (19:12 +0300)] 
doveadm: Register builtin dict drivers always at init

10 years agolib-dict: Allow registering builtin dict drivers multiple times.
Timo Sirainen [Tue, 12 May 2015 16:12:11 +0000 (19:12 +0300)] 
lib-dict: Allow registering builtin dict drivers multiple times.

10 years agolib-sql: Don't crash in Cassandra if connection to it failed.
Timo Sirainen [Tue, 12 May 2015 15:16:54 +0000 (18:16 +0300)] 
lib-sql: Don't crash in Cassandra if connection to it failed.

10 years agolib-fts: ICU normalizer code cleanup.
Teemu Huovila [Tue, 12 May 2015 13:44:45 +0000 (16:44 +0300)] 
lib-fts: ICU normalizer code cleanup.

Fold some long lines. Rename the internal struct to be more
aligned with the other filters.

10 years agolib-fts: autogenerate C arrays using perl
Phil Carmody [Tue, 12 May 2015 13:12:29 +0000 (16:12 +0300)] 
lib-fts: autogenerate C arrays using perl

The sh script had bashisms, the awk script crashed mawk, so let's try perl...

Signed-off-by: Phil Carmody <phil@dovecot.fi>
10 years agofs-compress: Added NOPLUGIN_LDFLAGS to Makefile for helping with linking
Timo Sirainen [Tue, 12 May 2015 09:45:34 +0000 (12:45 +0300)] 
fs-compress: Added NOPLUGIN_LDFLAGS to Makefile for helping with linking

10 years agolib-fts: .sh scripts weren't executable - changed them to be run via bash directly.
Timo Sirainen [Tue, 12 May 2015 09:30:40 +0000 (12:30 +0300)] 
lib-fts: .sh scripts weren't executable - changed them to be run via bash directly.
Better to avoid relying on the executable bit.

10 years agolib-fts: Reverted e80969ea8684 which replaced .sh scripts with awk
Timo Sirainen [Tue, 12 May 2015 09:20:56 +0000 (12:20 +0300)] 
lib-fts: Reverted e80969ea8684 which replaced .sh scripts with awk
Bugs in older awk versions (used at least by Debian squeeze & wheezy) caused
awk to crash while processing the script.

10 years agoMakefile: Fixed build concurrency issues with lib-fts
Timo Sirainen [Mon, 11 May 2015 19:38:38 +0000 (22:38 +0300)] 
Makefile: Fixed build concurrency issues with lib-fts

10 years agolib-fts: Replaced word-boundary/break-data.sh with more portable awk scripts
Timo Sirainen [Mon, 11 May 2015 19:37:21 +0000 (22:37 +0300)] 
lib-fts: Replaced word-boundary/break-data.sh with more portable awk scripts
Patch by Michael Grimm.

10 years agolib-sql: Added support for Cassandra CQL as lib-sql backend.
Timo Sirainen [Mon, 11 May 2015 18:55:42 +0000 (21:55 +0300)] 
lib-sql: Added support for Cassandra CQL as lib-sql backend.
Implemented using DataStax's cpp-driver.

Many things are still unimplemented. Column name specific functionality
isn't even  supported by the Cassandra library. So this can currently mainly
be used as one of the dict backends for some simple functionality.

10 years agodict-sql: If DICT_ITERATE_FLAG_EXACT_KEY is used, use only the first found map.
Timo Sirainen [Mon, 11 May 2015 18:48:45 +0000 (21:48 +0300)] 
dict-sql: If DICT_ITERATE_FLAG_EXACT_KEY is used, use only the first found map.

10 years agolib-dict: Added DICT_ITERATE_FLAG_EXACT_KEY flag.
Timo Sirainen [Mon, 11 May 2015 16:12:45 +0000 (19:12 +0300)] 
lib-dict: Added DICT_ITERATE_FLAG_EXACT_KEY flag.
This is mainly useful with SQL for iterating through a result that has
multiple rows.

10 years agolib-fts: Fixed/improved test-fts-filter unit tests for previous changes.
Timo Sirainen [Mon, 11 May 2015 13:01:13 +0000 (16:01 +0300)] 
lib-fts: Fixed/improved test-fts-filter unit tests for previous changes.

10 years agolib-fts: normalizer-icu no longer returns empty tokens.
Timo Sirainen [Mon, 11 May 2015 13:00:53 +0000 (16:00 +0300)] 
lib-fts: normalizer-icu no longer returns empty tokens.

10 years agolib-fts: Added assert to fts_filter_filter() to make sure input token isn't empty
Timo Sirainen [Mon, 11 May 2015 13:00:21 +0000 (16:00 +0300)] 
lib-fts: Added assert to fts_filter_filter() to make sure input token isn't empty

10 years agolib-fts: Fixed assert-crash in fts-tokenizer-generic
Timo Sirainen [Mon, 11 May 2015 11:42:18 +0000 (14:42 +0300)] 
lib-fts: Fixed assert-crash in fts-tokenizer-generic

10 years agolib-fts: Test trailing "number." for TR29 in test-fts-tokenizer
Timo Sirainen [Mon, 11 May 2015 11:35:49 +0000 (14:35 +0300)] 
lib-fts: Test trailing "number." for TR29 in test-fts-tokenizer

10 years agolib-fts: Improved test-fts-tokenizer to run multiple text inputs
Timo Sirainen [Mon, 11 May 2015 11:34:50 +0000 (14:34 +0300)] 
lib-fts: Improved test-fts-tokenizer to run multiple text inputs

10 years agolmtp: Earlier compiler warning fix broke compiling completely..
Timo Sirainen [Mon, 11 May 2015 11:22:05 +0000 (14:22 +0300)] 
lmtp: Earlier compiler warning fix broke compiling completely..

10 years agolib-fts: Added asserts to make sure we don't return empty tokens.
Timo Sirainen [Mon, 11 May 2015 11:10:24 +0000 (14:10 +0300)] 
lib-fts: Added asserts to make sure we don't return empty tokens.

10 years agoCompiler warning fixes
Timo Sirainen [Mon, 11 May 2015 09:28:58 +0000 (12:28 +0300)] 
Compiler warning fixes

10 years agolmtp: chdir() to base_dir shouldn't fail - log an error if it does
Timo Sirainen [Mon, 11 May 2015 09:27:39 +0000 (12:27 +0300)] 
lmtp: chdir() to base_dir shouldn't fail - log an error if it does

10 years agolib-index: If header is corrupted after syncing, log the reason why.
Timo Sirainen [Sun, 10 May 2015 09:28:09 +0000 (12:28 +0300)] 
lib-index: If header is corrupted after syncing, log the reason why.