Dirk-Jan C. Binnema
4ce44f6973
* add 'mu server', which starts a process that accepts some commands
...
specifically designed for communication with emacs
2011-09-03 10:41:24 +03:00
Dirk-Jan C. Binnema
fec0092312
* mu.cc: use mu_cmd_execute
2011-08-30 22:03:17 +03:00
Dirk-Jan C. Binnema
846d2da27f
* mu-threader, mu-util: cleanups
2011-08-30 22:02:49 +03:00
Dirk-Jan C. Binnema
6a13866235
* mu-store: many cleanups, fixes
2011-08-30 22:02:28 +03:00
Dirk-Jan C. Binnema
5e9ea1fa23
* mu-query*: take a store rather than a path as argument
2011-08-30 22:02:08 +03:00
Dirk-Jan C. Binnema
28377a6137
* mu-msg-iter.*: cleanups, some renaming
2011-08-30 22:01:30 +03:00
Dirk-Jan C. Binnema
c1d0ccc8de
* mu-index: take a MuStore rather than paths as arg
2011-08-30 22:00:52 +03:00
Dirk-Jan C. Binnema
1c4016b1ba
* mu-contacts: add mu_contacts_clear, whitespace fixes
2011-08-30 22:00:00 +03:00
Dirk-Jan C. Binnema
c9d4111915
* update test cases for other changes
2011-08-30 21:59:05 +03:00
Dirk-Jan C. Binnema
c7d7965f0d
* mu-config: move command handling to mu-cmd
2011-08-30 21:58:35 +03:00
Dirk-Jan C. Binnema
0861319091
* mu-cmd*: cleanup command handling
2011-08-30 21:57:59 +03:00
Dirk-Jan C. Binnema
a9ca0f207a
* Makefile.am: add new files, remove
2011-08-29 23:41:13 +03:00
Dirk-Jan C. Binnema
978c94a2ba
* mu-util: forward-port the MacOS/g_slice workaround
2011-08-29 23:40:34 +03:00
Dirk-Jan C. Binnema
ff7a40b3d9
* update test cases for other changes
2011-08-29 23:39:11 +03:00
Dirk-Jan C. Binnema
fbc786f2fc
* minor changes, trailing whitespace fixes
2011-08-29 23:38:55 +03:00
Dirk-Jan C. Binnema
93ec32dcbf
* mu-config.[ch]: support the new mu-server command
2011-08-29 23:36:36 +03:00
Dirk-Jan C. Binnema
e95908cd93
* add mu-server (previous commit) functions for parsing commands
2011-08-29 23:36:10 +03:00
Dirk-Jan C. Binnema
ce97c491eb
* mu-store refactoring
2011-08-29 23:35:12 +03:00
Dirk-Jan C. Binnema
26d9bc904d
* mu-cmd / mu-cmd-find: get thread info for s-exps output too
2011-08-20 11:58:16 +03:00
Dirk-Jan C. Binnema
7c4d3c6539
* mu-msg-sexp: get the thread info too
2011-08-20 11:57:13 +03:00
Dirk-Jan C. Binnema
56c6863c09
* mu-msg / mu-msg-file: move gmime init to mu_msg
...
we need gmime even for the MuMsgDoc backend, as there we are using gmime for
parsing address lists. using the function without 'init' caused crashes...
2011-08-20 11:55:27 +03:00
Dirk-Jan C. Binnema
a84d72e7cf
* mu-msg: update for other changes
2011-08-16 23:43:57 +03:00
Dirk-Jan C. Binnema
14aa3c132b
* add mu-flags unit tests
2011-08-16 23:43:36 +03:00
Dirk-Jan C. Binnema
557a5e291c
* mu mv updates:
...
- rename --printtarget into --print-target
- support 'delta' flags
- add --ignore-dups to silently ignore the src = target case
2011-08-16 23:42:47 +03:00
Dirk-Jan C. Binnema
7238e8fbe5
Merge branch 'master' into emu
2011-08-16 07:32:32 +03:00
Dirk-Jan C. Binnema
05532894a6
* mu-store, mu-msg-file: improve flagging
2011-08-16 00:45:42 +03:00
Dirk-Jan C. Binnema
ade551deb9
* mu-maildir, mu-util: error when source, target of move are the same
2011-08-16 00:08:35 +03:00
Dirk-Jan C. Binnema
dc9f120b55
* fix 'make distcheck' -- make thread test work regardless of indexing-order of files
2011-08-16 00:02:32 +03:00
Dirk-Jan C. Binnema
c2507b33cc
* mu-store.cc: optimize flag storing by pre-calculating the strings
2011-08-13 12:04:10 +03:00
Dirk-Jan C. Binnema
675b89708f
* restore flag:unread and some optimization
2011-08-13 10:40:31 +03:00
Dirk-Jan C. Binnema
53b5dfa2bc
* update maildir unit tests
2011-08-13 02:25:03 +03:00
Dirk-Jan C. Binnema
b0de0fdfea
* fix mu-msg-sexp.c for make line33
2011-08-13 02:24:42 +03:00
Dirk-Jan C. Binnema
49353e9685
* mu-cmd.c: support target-less moving (i.e.. flag setting)
2011-08-13 02:00:35 +03:00
Dirk-Jan C. Binnema
bad4973408
* mu-maildir.[ch]: re-implement message flag parsing, message moving
2011-08-13 02:00:04 +03:00
Dirk-Jan C. Binnema
2bdfb1159d
* mu-flags.[ch]: small updates
2011-08-13 01:59:02 +03:00
Dirk-Jan C. Binnema
a571a3f877
* MuMsgFlags => MuFlags
2011-08-11 22:44:23 +03:00
Dirk-Jan C. Binnema
49bcb3707a
* test-mu-maildir.c: add some test cases
2011-08-11 20:21:01 +03:00
Dirk-Jan C. Binnema
e55eb4ed25
* MuResult/MuExitCode => MuError
2011-08-11 20:20:22 +03:00
Dirk-Jan C. Binnema
925f6032b3
* mu-maildir.c: allow for names without !/:
2011-08-11 08:23:03 +03:00
Dirk-Jan C. Binnema
b1d0de2cab
* minor
2011-08-11 08:22:24 +03:00
Dirk-Jan C. Binnema
8f7ef5d748
* mu-msg-sexp.c: fix each_contact for cc10, line33 checks
2011-08-11 08:21:41 +03:00
Dirk-Jan C. Binnema
93753f56ba
* test-mu-store.c: fix test case (gboolean vs MuExitCode)
2011-08-10 23:58:36 +03:00
Dirk-Jan C. Binnema
ba93c7bef7
* cosmetics, minor
2011-08-10 23:58:06 +03:00
Dirk-Jan C. Binnema
48cf82f823
* mu-cmd.c, mu-config.c: enable 'mu add' and 'mu remove' and fix line33 check
2011-08-10 23:57:34 +03:00
Dirk-Jan C. Binnema
f6a4b7a480
* mu-cmd-find.c, mu-msg-sexp.c, mu-msg.c: refactor for 'make line33' check
2011-08-10 23:56:38 +03:00
Dirk-Jan C. Binnema
5ff92a2e4c
* mu-msg-flags.c: cosmetic
2011-08-09 22:53:10 +03:00
Dirk-Jan C. Binnema
56086b2f4b
* mu-msg-part.c, mu-runtime.c: updates for mu_util_create_dir_maybe change
2011-08-09 07:54:23 +03:00
Dirk-Jan C. Binnema
785a09ef76
* make mu_util_create_dir_maybe potentially not warn (useful when the logging
...
system is not initialized yet)
2011-08-09 07:53:50 +03:00
Dirk-Jan C. Binnema
a3b627f866
* mu-cmd: fix gboolean vs MuExitCode confusion
2011-08-09 07:52:55 +03:00
Dirk-Jan C. Binnema
5e6d896220
* mu-msg-sexp.c: updates, extensions to the format:
...
- add attachment info as list ((<index> <file> <mime-type>))
- add references as list
- add reply-to
- add in-reply-to
(all only for file-backed MuMsg)
2011-08-08 22:03:48 +03:00
Dirk-Jan C. Binnema
9fa841952f
* mu-msg-flags.c: be more strict for maildir flags; they must be uppercase
2011-08-08 21:58:24 +03:00
Dirk-Jan C. Binnema
f7c2ee5f49
* docu fixes
2011-08-08 21:57:48 +03:00
Dirk-Jan C. Binnema
136555bc50
* mu-msg-sexp.c: add attachment info to the s-expression
2011-08-06 10:44:57 +03:00
Dirk-Jan C. Binnema
19e247785e
* mu-msg-part.[ch]: cosmetics, minor
2011-08-06 10:43:57 +03:00
Dirk-Jan C. Binnema
8e6429a764
* mu-cmd.c: (mu mv) make --printtarget work even with target=/dev/null
2011-08-05 08:20:26 +03:00
Dirk-Jan C. Binnema
29afe28eb6
* cosmetics
2011-08-03 23:06:51 +03:00
Dirk-Jan C. Binnema
8e9bf21766
* mu-cmd-find.c: remove json output and add option to check for file readability
2011-08-03 23:06:18 +03:00
Dirk-Jan C. Binnema
42d69b7501
* mu-msg.[ch]: add mu_msg_is_readable
2011-08-03 23:03:58 +03:00
Dirk-Jan C. Binnema
d291c5a9f5
* some mu_store_store => mu_store_store_msg and the consequences
2011-08-03 23:03:22 +03:00
Dirk-Jan C. Binnema
82be4974b7
* add 'mu add' and 'mu remove' commands for adding, removing messages from the database
2011-08-03 23:00:48 +03:00
Dirk-Jan C. Binnema
bdf1237c34
* mu-mv: optionally, let it update the database (--updatedb) and print the
...
target file on stdout (--printtarget)
2011-08-02 21:27:32 +03:00
Dirk-Jan C. Binnema
2c1f3dafbd
* mu-cmd, mu-config: add --flags parameter to 'mu move', to change the message flags
2011-08-02 08:14:19 +03:00
Dirk-Jan C. Binnema
d203c26591
* mu-msg: add mu_msg_file_move_to_maildir which uses a path rather than a
...
MuMsg (cfg mu_msg_move_to_maildir)
2011-08-02 08:12:57 +03:00
Dirk-Jan C. Binnema
8722110864
* cosmetics
2011-08-02 08:11:50 +03:00
Dirk-Jan C. Binnema
47073006d2
* added the mu mv command for moving, removing messages (WIP)
2011-08-01 22:42:23 +03:00
Dirk-Jan C. Binnema
dabbfc3b62
* use the sexp export that moved to mu-msg-sexp
2011-07-31 12:17:14 +03:00
Dirk-Jan C. Binnema
5c2417a041
* minor stuff / cosmetics
2011-07-31 12:16:00 +03:00
Dirk-Jan C. Binnema
424d012085
* mu-str.h make mu_str_escape_c_literal optionionally quote "" its result
2011-07-31 12:14:22 +03:00
Dirk-Jan C. Binnema
0a6161a71c
* centralize formatstr parsing, cleanup
2011-07-27 08:20:06 +03:00
Dirk-Jan C. Binnema
50fad7dc39
* cosmetics
2011-07-26 08:43:33 +03:00
Dirk-Jan C. Binnema
9dad2d6175
* mu-cmd-find: improve --format=sexp output
2011-07-26 08:42:50 +03:00
Dirk-Jan C. Binnema
a2a491d7aa
* cosmetics
2011-07-25 08:22:58 +03:00
Dirk-Jan C. Binnema
618d7d5eb6
* mu-msg: add mu_msg_move_to_maildir, to move a message to different maildir
2011-07-25 08:19:58 +03:00
Dirk-Jan C. Binnema
7fef745d17
* update for new mu_runtime init stuff
2011-07-23 17:58:40 +03:00
Dirk-Jan C. Binnema
6af9b47405
* support different log files for different front ends (mu, mug, procmule etc.)
2011-07-23 17:56:25 +03:00
Dirk-Jan C. Binnema
6090bf8ad0
* cosmetic
2011-07-22 21:11:50 +03:00
Dirk-Jan C. Binnema
8bc7001cc7
* test-mu-date: added some unit tests
2011-07-21 21:58:56 +03:00
Dirk-Jan C. Binnema
37aaa18d6b
* cosmetics
2011-07-21 21:58:27 +03:00
Dirk-Jan C. Binnema
62616a2a2c
* tests: don't assume the whole lives in Helsinki, Finland
2011-07-21 08:20:10 +03:00
Dirk-Jan C. Binnema
f0833ca315
* some more timezone fixes for the unit tests
2011-07-21 00:58:40 +03:00
Dirk-Jan C. Binnema
e390743195
* updates for new APIs (mu-date.h)
2011-07-21 00:39:00 +03:00
Dirk-Jan C. Binnema
3c3f008c33
* mu-store: cleanup storing dates
2011-07-21 00:38:28 +03:00
Dirk-Jan C. Binnema
70e13d7e94
* mu-query: clean up date parsing, use the separate date functions in mu-date
2011-07-21 00:38:00 +03:00
Dirk-Jan C. Binnema
5bcb76e6f9
* mu-msg-file: fix line33 violation
2011-07-21 00:36:39 +03:00
Dirk-Jan C. Binnema
58227acda4
* mu-str.[ch]: remove date-related stuff (now in mu-date.[ch])
2011-07-21 00:35:43 +03:00
Dirk-Jan C. Binnema
fe245880fa
* mu-util: cosmetics
2011-07-21 00:35:14 +03:00
Dirk-Jan C. Binnema
a5b426a7a0
* mu-msg-fields: remove the silly 'pseudo field'
2011-07-21 00:33:09 +03:00
Dirk-Jan C. Binnema
ff8e055564
* mu-msg-doc: use the UTC-datestr from the database
2011-07-21 00:32:14 +03:00
Dirk-Jan C. Binnema
eb62f52e02
* mu-cmd/-cfind/-find: use the split-off date funcs
2011-07-21 00:31:17 +03:00
Dirk-Jan C. Binnema
d894621c7f
* mu-date.[ch]: split off date-related funcs in separate files
2011-07-21 00:29:12 +03:00
Dirk-Jan C. Binnema
edebc8d07b
* log index, cleanup separately, less confusing + cosmetic
2011-07-18 09:05:56 +03:00
Dirk-Jan C. Binnema
5695077514
* mu-msg-file.c, mu-str.[ch]: ensure we only return valid UTF8 (because GMime
...
returns invalid UTF8 from invalidly encoded messages in some cases)
2011-07-17 14:35:59 +03:00
Dirk-Jan C. Binnema
6c62a066c8
* make time & size checking a bit stricter, report errors to user
2011-07-16 12:50:17 +03:00
Dirk-Jan C. Binnema
199c6c9bd9
Revert "* mu-store: use strncpy instead of strcpy"
...
This reverts commit b2e9f43a05
.
2011-07-16 10:22:21 +03:00
Dirk-Jan C. Binnema
bdd3306dc1
Revert "* fix string storing"
...
This reverts commit 2156036616
.
2011-07-16 10:22:00 +03:00
Dirk-Jan C. Binnema
2156036616
* fix string storing
2011-07-16 10:16:10 +03:00
Dirk-Jan C. Binnema
f2de56d4ca
Merge branch 'procmule'
2011-07-15 23:53:23 +03:00
Dirk-Jan C. Binnema
b2e9f43a05
* mu-store: use strncpy instead of strcpy
2011-07-15 08:42:00 +03:00
Dirk-Jan C. Binnema
2b55256712
* mu-str.c: add some dummy bytes, so -Wstack-protector does not complain
2011-07-15 08:41:04 +03:00
Dirk-Jan C. Binnema
634fbb6cf7
* mu-msg.c: make mu_msg_contacts_foreach also work for the Xapian::Document backend
2011-07-14 22:20:40 +03:00
Dirk-Jan C. Binnema
eb8c818bdd
* update NEWS/TODO
2011-07-14 08:22:56 +03:00
Dirk-Jan C. Binnema
8b0a31e2a5
Merge branch 'master' into procmule
2011-07-13 23:33:33 +03:00
Dirk-Jan C. Binnema
3bf7c4d641
* test-mu-cmd-find.c: update unit test for --format=mutt-ab changes
2011-07-13 23:28:05 +03:00
Dirk-Jan C. Binnema
f9a55ad4aa
* mu-cmd-cfind.c: include a header-line for --format=mutt-ab (fixes issue #42 )
...
(thanks!)
2011-07-13 23:10:50 +03:00
Dirk-Jan C. Binnema
63a968ccae
* some more guile scripting stuff
2011-07-13 23:00:05 +03:00
Dirk-Jan C. Binnema
329a524af7
* mu-query: special-case the empty search expr to mean 'match-all'
2011-07-13 08:18:42 +03:00
Dirk-Jan C. Binnema
9e73fa863e
* clean up mu-query; don't preprocess twice...
2011-07-13 08:07:52 +03:00
Dirk-Jan C. Binnema
c023e2c38c
* some more work on the guile bindings; somewhat working, still WIP
2011-07-13 00:54:06 +03:00
Dirk-Jan C. Binnema
6e15e3a8e1
Merge branch 'master' into procmule
2011-07-10 20:11:35 +03:00
Dirk-Jan C. Binnema
e06f036c72
* add test mail to Makefile.am
2011-07-10 14:53:09 +03:00
Dirk-Jan C. Binnema
5441b1945f
* cleanup --exec implementation
2011-07-10 14:48:45 +03:00
Dirk-Jan C. Binnema
838bb25d4e
Merge branch 'master' into find-exec
2011-07-10 14:12:03 +03:00
Dirk-Jan C. Binnema
f59ca5af2d
* support special characters in X-Labels
2011-07-10 14:08:16 +03:00
Dirk-Jan C. Binnema
31d568e076
* rename the --separate option into --terminate (mu view), update test cases
2011-07-10 14:07:35 +03:00
Dirk-Jan C. Binnema
de150bd9f7
* rename the --separate option into --terminator (mu view)
2011-07-07 22:59:44 +03:00
Dirk-Jan C. Binnema
adbab879a2
* mu-cmd-find.c: turn the ^L-separator into a terminator.
2011-07-07 22:18:33 +03:00
Dirk-Jan C. Binnema
a31ea71e0a
* basic implementation of --exec for mu find (WIP)
2011-07-06 23:35:52 +03:00
Dirk-Jan C. Binnema
8b687e678c
* update test-cases
2011-07-06 02:14:53 +03:00
Dirk-Jan C. Binnema
74409c3404
* mu-msg-file: remove leading/trailing whitespace in tags
2011-07-06 02:14:33 +03:00
Dirk-Jan C. Binnema
0ec6df6369
* use the new strip option for list->str
2011-07-06 02:14:00 +03:00
Dirk-Jan C. Binnema
86d7968bc2
* make mu_msg_to_list optionally strip leading/trailing whitespace
2011-07-06 02:12:59 +03:00
Dirk-Jan C. Binnema
ca6212944c
* mu-cmd-find.c: some preparation for mu find --exec= (WIP)
2011-07-06 02:11:55 +03:00
Dirk-Jan C. Binnema
efc7ad8af4
* mu-msg-fields, mu-find.1: don't support references or tags in mu find output
...
for now
2011-07-06 02:10:58 +03:00
Dirk-Jan C. Binnema
88d761e6fb
* beginning of mu find --exec config (WIP)
2011-07-06 02:09:46 +03:00
Dirk-Jan C. Binnema
0b7693d077
* guilify mu; first steps, and a new toy called 'muile'
2011-07-05 00:18:43 +03:00
Dirk-Jan C. Binnema
5ad2319fe1
* refactor msg-sorting a bit
2011-07-02 12:50:29 +03:00
Dirk-Jan C. Binnema
58fdfa9bc1
* let mu_str_subject_normalize work with static strings as well
2011-07-02 12:48:46 +03:00
Dirk-Jan C. Binnema
a2bc4540e0
* implement sorting of threads on arbitrary fields (WIP)
2011-07-02 11:27:08 +03:00
Dirk-Jan C. Binnema
8a4c70c669
* threading: small updates, cleanups
2011-07-01 20:52:09 +03:00
Dirk-Jan C. Binnema
8955703828
* rename mu-threader-utils => mu-container + cleanups, documentation
2011-07-01 20:51:39 +03:00
Dirk-Jan C. Binnema
126fa0e74a
* make threading much faster, removing some safety checks
2011-07-01 01:20:05 +03:00
Dirk-Jan C. Binnema
eb7b7e4ea0
* mu-str: fix bug in mu_str_date_parse_hdwmy
2011-06-30 23:46:21 +03:00
Dirk-Jan C. Binnema
2d1f8366d5
* start using message threading (--threads/-t param for mu find)
2011-06-30 23:45:53 +03:00
Dirk-Jan C. Binnema
15ac5f04c9
* initial somewhat working implementation of message threading based on the
...
JWZ algorithm
2011-06-30 23:44:50 +03:00
Dirk-Jan C. Binnema
28db904fb2
* update/add unit tests for threading
2011-06-30 23:43:08 +03:00
Dirk-Jan C. Binnema
16d6a7bd45
* mu-msg-str.c: fix memory error in date parsing
2011-06-27 21:31:34 +03:00
Dirk-Jan C. Binnema
7da25411bf
* mu-msg-file: clean up references handling
2011-06-26 14:52:27 +03:00
Dirk-Jan C. Binnema
7994252527
* mu-msg-threader: set docid on previously seen virtual messages
2011-06-26 14:52:09 +03:00
Dirk-Jan C. Binnema
a3bd931aaf
* overhaul/clean-up container code, add path object; seems to work now
2011-06-26 13:12:40 +03:00
Dirk-Jan C. Binnema
9c6014e40b
* remove debug output, fix code for cc10, line33
2011-06-24 12:39:46 +03:00
Dirk-Jan C. Binnema
ffb6dfae8c
* handle duplicate-messages correctly + re-check children when they have changed
2011-06-24 12:09:18 +03:00
Dirk-Jan C. Binnema
f193a5636d
* mu-msg.h: cosmetic
2011-06-24 10:22:16 +03:00
Dirk-Jan C. Binnema
c8c1f50ac2
* mu-msg-threader.c: handle duplicate message-ids
2011-06-24 10:21:59 +03:00
Dirk-Jan C. Binnema
937fc20cab
* mu-msg-find: improve display of threaded messages
2011-06-24 10:21:41 +03:00
Dirk-Jan C. Binnema
95bb29b653
* update / add test cases for threading
2011-06-24 00:24:04 +03:00
Dirk-Jan C. Binnema
eb9b0c6de8
* update threading implementation (WIP still)
2011-06-24 00:21:54 +03:00
Dirk-Jan C. Binnema
707a1ea1c2
* mu-cmd-find.c, mu-cmd.c: make sure we pass 'make line33'
2011-06-19 21:24:08 +03:00
Dirk-Jan C. Binnema
a356dbec10
* update test case for the new thread param for queries
2011-06-19 21:05:12 +03:00
Dirk-Jan C. Binnema
0e4b4f7a55
* mu-msg-iter.{cc,h}: hook up the msg-iter with threading
2011-06-19 21:04:40 +03:00
Dirk-Jan C. Binnema
d28319bc27
* mu-find: enable threaded output
2011-06-19 21:04:03 +03:00
Dirk-Jan C. Binnema
9a5888f7c8
* enable the --threads/t argument for mu-find / queries
2011-06-19 21:03:33 +03:00
Dirk-Jan C. Binnema
1e945e301f
* semi-working message-threader (WIP)
2011-06-19 21:02:41 +03:00
Dirk-Jan C. Binnema
dfcbd854f0
* update test-cases
2011-06-18 18:49:46 +03:00
Dirk-Jan C. Binnema
e0c522c6a0
* mu-cmd-find: use the semi-working message threading
2011-06-18 18:49:33 +03:00
Dirk-Jan C. Binnema
f2a0e19626
* mu-msg: small improvements, cosmetics
2011-06-18 18:48:59 +03:00
Dirk-Jan C. Binnema
d2d94f291e
* mu-msg-iter: use the semi-working message-threading
2011-06-18 18:47:46 +03:00
Dirk-Jan C. Binnema
a3ec83b96d
* semi-working message-threading (WIP)
2011-06-18 18:47:13 +03:00
Dirk-Jan C. Binnema
d0d8356248
* mu-msg-file: ensure there are no duplicates in References: + Reply-To
2011-06-18 18:45:32 +03:00
Dirk-Jan C. Binnema
023efcc0ae
* store references in that cache, cleanup
2011-06-18 18:44:28 +03:00
Dirk-Jan C. Binnema
35f7e2cd95
* mu-str: add simplistic mu_str_subject_normalize (WIP)
2011-06-18 18:43:09 +03:00
Dirk-Jan C. Binnema
b08bf4a1ed
* mu-msg-doc: cosmetics, documentation
2011-06-18 18:42:24 +03:00
Dirk-Jan C. Binnema
8000b85f89
* mu-msg.h: update docstring
2011-06-16 10:24:52 +03:00
Dirk-Jan C. Binnema
a69cacf919
* WIP: mu-msg-threader, and hook it up with msg-iter
2011-06-16 10:23:11 +03:00
Dirk-Jan C. Binnema
583afc2749
* make mu-msg-file return references in same order as found in msgs; update
...
unit test
2011-06-16 10:21:35 +03:00
Dirk-Jan C. Binnema
9b0067aa4a
* add mailing list test msg for unit tests
2011-06-16 10:21:35 +03:00
Dirk-Jan C. Binnema
f14de4784b
* mu-msg-iter.cc: pre-fetch documents in an mset, makes search slightly faster
2011-06-16 10:18:34 +03:00
Dirk-Jan C. Binnema
4dfe33609b
* add mu_msg_iter_reset (to reset iter to the beginning), add tests
2011-06-16 10:18:34 +03:00
Dirk-Jan C. Binnema
4c1baccc86
* mu-msg-iter: remove offset/index, cosmetics
2011-06-16 10:18:34 +03:00
Dirk-Jan C. Binnema
eddf5a3965
* update mu-msg-iter (remove batching)
2011-06-16 10:18:34 +03:00
Dirk-Jan C. Binnema
794825e297
* remove the needless batching in mu-msg-iter, mu-query, update callers
2011-06-16 10:18:34 +03:00
Dirk-Jan C. Binnema
52b7ac738d
* add tags output to 'mu view'
2011-06-16 08:14:07 +03:00
Dirk-Jan C. Binnema
927737cc09
* test-mu-query.c: add some tests for querying tags
2011-06-16 07:59:23 +03:00
Dirk-Jan C. Binnema
e7f9e1d082
* mu-store.cc: handle a comma-separated list of tags as multiple terms for the doc
2011-06-16 07:59:00 +03:00
Dirk-Jan C. Binnema
a9161d1cd5
* add unit tests for reading tags
2011-06-16 00:49:30 +03:00
Dirk-Jan C. Binnema
95c67fdc39
* mu-msg-cache: add MU_MSG_FIELD_ID_TAGS
2011-06-16 00:49:04 +03:00
Dirk-Jan C. Binnema
9971c1e7ae
* add basic support for X-Label (WIP)
2011-06-16 00:26:30 +03:00
Dirk-Jan C. Binnema
2a36799054
* cosmetic
2011-06-15 23:52:41 +03:00
Dirk-Jan C. Binnema
76bef9f984
* mu-store.cc: support GSList* fields
2011-06-15 23:52:32 +03:00
Dirk-Jan C. Binnema
dab245d010
* make MU_MSG_FIELD_ID_REFS a GSList* field
2011-06-15 23:51:49 +03:00
Dirk-Jan C. Binnema
a98bff9493
* mu-msg: add support for GSList* fields
2011-06-15 23:51:16 +03:00
Dirk-Jan C. Binnema
663895f968
* add support for GSList* fields to MuMsgDoc and MuMsgFile
2011-06-15 23:50:17 +03:00
Dirk-Jan C. Binnema
1e629e45c7
* mu-msg-cache: add support for GSList* values
2011-06-15 23:48:54 +03:00
Dirk-Jan C. Binnema
2ef079968a
* add mu_str_from_list, mu_str_to_list and mu_str_list_free + unit tests
2011-06-15 23:44:52 +03:00
Dirk-Jan C. Binnema
de24a59d8c
* mu-cmd-find.c: fix compiler warning
2011-06-15 08:15:13 +03:00
Dirk-Jan C. Binnema
57ebeda135
* add optional separator (\f, form-feed) between multiple messages in 'mu
...
view' when using --separate (fixes issue #41 )
2011-06-14 00:08:13 +03:00
Dirk-Jan C. Binnema
8531a78301
* merge mu-output with mu-cmd-find
2011-06-02 11:18:47 +03:00
Dirk-Jan C. Binnema
ccbf76b793
* make the output of mu cfind/extract/view locale-encoded except for cfind
...
with --format=bbdb
2011-06-02 11:09:04 +03:00
Dirk-Jan C. Binnema
de539ea3f8
* cosmetics
2011-06-02 11:07:57 +03:00
Dirk-Jan C. Binnema
e16c95a883
* make mu find --format=plain output respect the locale
2011-06-01 21:56:09 +03:00
Dirk-Jan C. Binnema
4629e26609
* mu-str.c: convert strftime output to utf8 if needed
2011-06-01 21:55:32 +03:00
Dirk-Jan C. Binnema
7019bd9b86
* mu-util.[ch]: add mu_util_locale_is_utf8, handle invalid utf8 string more gracefully
2011-06-01 21:52:58 +03:00
Dirk-Jan C. Binnema
8b7d0f9b06
* mu-util.c: only convert if the locale is not already in UTF8
2011-05-31 23:23:50 +03:00
Dirk-Jan C. Binnema
096c92e5c2
* add mu_util_print_encoded, mu_util_printerr_encoded, mu_util_fputs_encoded,
...
for printing where the input (in utf8) is converted to the current locale
before printing (WIP)
2011-05-31 23:17:09 +03:00
Dirk-Jan C. Binnema
a34738c882
* mu-output: push cyclomatic complexity <= 10 to satisfy 'make cc10'
2011-05-29 13:58:17 +03:00
Dirk-Jan C. Binnema
0dcc122c0f
* add test mail
2011-05-29 13:57:27 +03:00
Dirk-Jan C. Binnema
61f462c4ad
* prepare for 0.9.6
2011-05-28 12:29:53 +03:00
Dirk-Jan C. Binnema
132f0d4b01
* mu-cmd-index: fix backspace printing (don't try to modify static str)
2011-05-26 23:39:33 +03:00
Dirk-Jan C. Binnema
ff8f5db9a8
* improved color impl for mu view
2011-05-26 23:38:30 +03:00
Dirk-Jan C. Binnema
0c462c9100
* mu-cmd-find: use color option with update mu-output
2011-05-26 23:37:49 +03:00
Dirk-Jan C. Binnema
82342041f1
* mu-cmd-extract.c: implement color output
2011-05-26 23:37:06 +03:00
Dirk-Jan C. Binnema
57c0ce07e1
* mu-cfind.c: improve color output impl
2011-05-26 23:36:22 +03:00
Dirk-Jan C. Binnema
c60e03a16d
* mu-config.[ch]: do tty-checking here (for --color), add mu_config_param_num
...
(for param-checking)
2011-05-26 23:35:34 +03:00
Dirk-Jan C. Binnema
a2907dc8e5
* mu-output: implement color output for 'mu find'
2011-05-26 23:33:36 +03:00
Dirk-Jan C. Binnema
fe32cf84b1
* mu-str.[ch], mu-util.[ch]: better, simpler ANSI colors through some #defines
2011-05-26 23:32:23 +03:00
Dirk-Jan C. Binnema
5bda5975c9
* mu-cmd-find, mu-output: don't use --summary-len anymore, use --summary
2011-05-25 22:03:43 +03:00
Dirk-Jan C. Binnema
c6d4200b0a
* mu-output: update for color output in some cases
2011-05-25 22:03:09 +03:00
Dirk-Jan C. Binnema
f1ad2ebc51
* update 'mu view' and 'mu cfind' to use colors in some cases
2011-05-25 22:02:24 +03:00
Dirk-Jan C. Binnema
2b56e46260
* mu-config: add the --color option, to enable color output in some cases (or, alternatively, set the MU_COLOR env var to non-empty)
2011-05-25 22:01:05 +03:00
Dirk-Jan C. Binnema
bc8c1a0289
* add mu_util_color_print for printing color (ANSI) to console
2011-05-25 21:59:34 +03:00
Dirk-Jan C. Binnema
4e904d7c73
* test-mu-cmd.c: updated testcase
2011-05-25 21:58:48 +03:00
Dirk-Jan C. Binnema
24f98ce433
* mu-str.c: fix leak in mu_str_guess_nick
2011-05-25 08:12:58 +03:00
Dirk-Jan C. Binnema
f22b506607
* test-mu-cmd.c, test-mu-contacts.c: fix tiny leaks in test cases
2011-05-25 08:12:27 +03:00
Dirk-Jan C. Binnema
3c20cfc4de
* mu-contacts.c, mu-msg.c: cosmetics
2011-05-25 08:11:50 +03:00
Dirk-Jan C. Binnema
03c94bd82d
* mu-contacts: fix leak in contact_info_new
2011-05-24 23:21:51 +03:00
Dirk-Jan C. Binnema
d2fa1c3596
* mu-str.c: fix out-of-bounds issue with mu_str_ascii_xapian_escape_in_place
2011-05-24 23:15:20 +03:00
Dirk-Jan C. Binnema
167b5b1148
* mu-cmd-index.c: fix progress output (fflush)
2011-05-24 22:41:53 +03:00
Dirk-Jan C. Binnema
0a2f4783af
* mu-maildir: add emacs indentation header
2011-05-24 22:40:20 +03:00
Dirk-Jan C. Binnema
22dc00358e
* mu-log.c: cleanup, don't use now-missing var
2011-05-24 22:39:28 +03:00
Dirk-Jan C. Binnema
b6291e1522
* mu-cmd-find, mu-cmd-cfind: make 'no matches found' uniform
2011-05-24 21:43:44 +03:00
Dirk-Jan C. Binnema
93522893bf
* mu-contacts: use encoded email address as group in gkeyfile (which valid as a
...
groupname), add real email as email= value; use g_keyfile_(get|set)_value
instead of string, so there is no utf-8 problems, just the raw data we got
as address
This should all allow for any kind of email address, even invalid
ones. switch order of name / address in mu_contacts_add
2011-05-24 21:41:52 +03:00
Dirk-Jan C. Binnema
271ec23b4e
* mu-util.h, mu-util-db.cc: make mu_util_xapian_clear also clear the contacts-cache
2011-05-24 21:36:55 +03:00
Dirk-Jan C. Binnema
73752ca4a9
* cosmetics
2011-05-24 21:35:36 +03:00
Dirk-Jan C. Binnema
2c24a43211
* cosmetics
2011-05-23 08:16:09 +03:00
Dirk-Jan C. Binnema
34683157d1
* minor updates / cleanups
2011-05-22 17:39:10 +03:00
Dirk-Jan C. Binnema
744b363d8e
* mu-cmd-extract.c: free list of indices after use
2011-05-22 14:50:03 +03:00
Dirk-Jan C. Binnema
c6812eeb8c
* cosmetics
2011-05-22 14:49:11 +03:00
Dirk-Jan C. Binnema
abf9c632e3
* cleanup some header files
2011-05-22 14:48:31 +03:00
Dirk-Jan C. Binnema
9454d31d50
* mu-str.c: clean up a bit
2011-05-22 13:45:10 +03:00
Dirk-Jan C. Binnema
782e165f9f
* mu-contacts.c: cosmetics
2011-05-22 13:44:34 +03:00
Dirk-Jan C. Binnema
b711e2b051
* mu-config: reindent, remove --xquery
2011-05-22 13:44:12 +03:00
Dirk-Jan C. Binnema
48d52daf0b
* extract based on filename regexp and document it
2011-05-22 13:42:19 +03:00
Dirk-Jan C. Binnema
f7a39155c8
* completely remove '--xquery', re-indent mu-config.c
2011-05-22 10:40:12 +03:00
Dirk-Jan C. Binnema
e478eeee6d
* reindentation, fix mu_str_ascii_xapian_escape_in_place for '..'
2011-05-22 10:27:12 +03:00
Dirk-Jan C. Binnema
000805ae1f
* mu-query: special-case 'now' and 'today' when used as start of range
2011-05-22 10:26:20 +03:00
Dirk-Jan C. Binnema
c23d6b4dc7
* mu-config.h: fix indentation
2011-05-22 10:25:21 +03:00
Dirk-Jan C. Binnema
e7804314e2
* mu-cmd.c, test-mu-cmd.c: add attachment info to 'mu view' + unit test
2011-05-21 20:20:38 +03:00
Dirk-Jan C. Binnema
c84baa1201
* mu-query.cc, mu-store.cc: cosmetics
2011-05-21 20:20:07 +03:00
Dirk-Jan C. Binnema
6f74e1a42e
* mu-str.c: hack mu_str_ascii_xapian_escape_in_place a bit further to work
...
with filenames (with '.')
2011-05-21 16:08:47 +03:00
Dirk-Jan C. Binnema
ec1b870ca1
* test-mu-query.c: add unit test for searching filenames
2011-05-21 16:07:44 +03:00
Dirk-Jan C. Binnema
0ab861985a
* mu-query.c,mu-store.cc: add support for storing/search message file attachments
2011-05-21 16:06:52 +03:00
Dirk-Jan C. Binnema
e4c5340b37
* mu-msg-part.h: make it C++-friendly
2011-05-21 16:06:11 +03:00
Dirk-Jan C. Binnema
899d2633f3
* mu-msg-field.[ch]: add attach/a MsgFieldId
2011-05-21 16:05:44 +03:00
Dirk-Jan C. Binnema
e103a23c1f
* add test-mu-cmd changes, missed from previous commit
2011-05-21 14:13:56 +03:00
Dirk-Jan C. Binnema
d81c994426
* test-mu-cmd.c: add tests for extra-by-filename for mu-extract
2011-05-21 14:13:15 +03:00
Dirk-Jan C. Binnema
6355e78bc1
* implement saving mime-part by file-name, improve error handling
2011-05-21 14:12:01 +03:00
Dirk-Jan C. Binnema
3d84650f42
* mu-util.c: don't write to stderr when opening fails in mu_util_create_writeable_fd
2011-05-21 14:11:23 +03:00
Dirk-Jan C. Binnema
fa3ee3c058
* make size, date ranges work even if specified e->b. add unit tests.
2011-05-21 09:14:02 +03:00
Dirk-Jan C. Binnema
e607aed8de
* add unit tests for wildcards, size: and date:
2011-05-20 21:32:44 +03:00
Dirk-Jan C. Binnema
620b7e2cae
* mu-store: add some debug stuff
2011-05-20 21:32:16 +03:00
Dirk-Jan C. Binnema
84662ef5f5
* mu-msg-str: deal with size 0, and add add 'b' for byte in size: query params
2011-05-20 21:31:08 +03:00