]>
git.deb.at Git - pkg/abook.git/log
Raphaël Droz [Tue, 6 Nov 2012 22:55:17 +0000 (23:55 +0100)]
* exit() if an unsupported outformat is given after --mutt-query.
* More documentation about (query + formats) possibilities
(comments + manpage)
Raphaël Droz [Tue, 6 Nov 2012 21:56:34 +0000 (22:56 +0100)]
vformat: vCard format can now be used in the context of --mutt-query
eg:
$ abook --mutt-query "Max" --outformat vcard
will only dump abook's entries matching "Max", using the vCard output format.
Raphaël Droz [Wed, 24 Oct 2012 16:00:23 +0000 (18:00 +0200)]
Changelog updated
Raphaël Droz [Wed, 24 Oct 2012 16:22:55 +0000 (18:22 +0200)]
custom output format (4/4): document custom output format in abook(1)
Raphaël Droz [Tue, 30 Aug 2011 14:27:44 +0000 (16:27 +0200)]
custom output format (3/4): added the --outformatstr option
* Allows the definition of a custom output format using placeholders.
* Registers the two functions: custom_export_database() and custom_print_item()
respectively for e_filters and u_filters.
--outformatstr only applies if --outformat=custom has been specified and
if we are querying the database (presence of the --mutt-query option)
If the first character of --outformatstr is a '!', then each entry
is checked before output: it will be full skipped if any of its fields
among those requested is NULL.
Example:
$ abook --mutt-query "Max" --outformat custom --outformatstr "!{nick}: {mobile}"
max: +336863331XX
While querying is no more mutt-centric the --mutt-query option name
has *not* been duplicated nor renamed, given its wide use.
(http://sourceforge.net/mailarchive/message.php?msg_id=
27849095 )
Raphaël Droz [Tue, 30 Aug 2011 14:20:39 +0000 (16:20 +0200)]
custom output format (2/4): item-based and the other database-based output functions
* custom_export_database() takes care of building a field_types pointer
from the format string by calling parse_custom_format().
* custom_export_item() output each entry according to the format string
itself + the associated *field_types.
The default value for custom_format is: "{nick} ({name}): {mobile}"
Raphaël Droz [Tue, 30 Aug 2011 13:57:52 +0000 (15:57 +0200)]
custom output format (1/4): created a parser for {placeholders}
This creates a field_types pointer from a string containing placeholders
where fields' names are allowed.
field_types *ft is terminated by the magic value 66 and is initialized
by parse_custom_format() (see the part 2/3)
Raphaël Droz [Tue, 30 Aug 2011 13:42:09 +0000 (15:42 +0200)]
mutt-query (3/3): register the --mutt-query-format per-item filter and use it
Raphaël Droz [Tue, 30 Aug 2011 13:31:31 +0000 (15:31 +0200)]
mutt-query (2/3): moved mutt full database querying to mutt_query_export_database() inside filter.c
Raphaël Droz [Tue, 30 Aug 2011 10:25:49 +0000 (12:25 +0200)]
mutt-query (1/3): moved muttq_print_item() from abook.c to filter.c
Raphaël Droz [Tue, 30 Aug 2011 09:53:36 +0000 (11:53 +0200)]
convert (1/1): introduced prototypes for per-item filtering functions.
Filtering and output on a per-entry basis rather than in a main-loop is
needed as soon as we want both query + formatting.
The abook_output_item_filter is aimed to store query-compatible output filters.
For most output formats generate a strict and standard-compliant output and won't
need this.
But the goal is the have a generic customizable format compatible with an
hypothetic --query switch.
As a future example, --mutt-query could be seen as:
--query --format="{email} {name}"
(see the 6 following patches)
Fabio Zanini [Mon, 2 Jul 2012 11:34:30 +0000 (13:34 +0200)]
Remove duplicates
Fabio Zanini [Mon, 2 Jul 2012 09:13:51 +0000 (11:13 +0200)]
Merge entries
Fabio Zanini [Sun, 1 Jul 2012 15:59:37 +0000 (17:59 +0200)]
Mutt groups support
Raphaël Droz [Sun, 23 Sep 2012 14:01:21 +0000 (16:01 +0200)]
added a 'git' entry in the Changelog
Raphaël Droz [Sun, 23 Sep 2012 14:00:42 +0000 (16:00 +0200)]
abook.1 manpage update about vcard support
Raphaël Droz [Sun, 23 Sep 2012 15:21:31 +0000 (17:21 +0200)]
vCard parser: use item_fput() to store phone numbers into the right fields
Raphaël Droz [Sun, 23 Sep 2012 13:43:24 +0000 (15:43 +0200)]
vCard parser: handles the 'N'ame field as a fallback when no 'FN' is provided
Hagen Fuchs [Mon, 30 Apr 2012 16:27:35 +0000 (18:27 +0200)]
Search the next match using the 'n' key as a synonym for '\\'.
See http://sourceforge.net/mailarchive/message.php?msg_id=
26773453
Signed-off-by: Roger <rogerx.oss@gmail.com>
Thorsten Wißmann [Sun, 8 Apr 2012 11:08:13 +0000 (13:08 +0200)]
Add basic mouse support
This adds the following optional mouse features:
* Select items in the main view by clicking and scrolling
* Go to the edit-form by double-clicking
* Edit fields by clicking on them
* Select tabs by clicking on them
* Return to main view/quit abook by clicking on the first row
Fabio Zanini [Sun, 15 Apr 2012 10:41:08 +0000 (12:41 +0200)]
Added sample config for color settings.
Thorsten Wißmann [Sun, 8 Apr 2012 11:15:57 +0000 (13:15 +0200)]
Add basic color support
This adds optional support for an colorized ui, providing configurable
and documented foreground/background colors for the:
* header * footer * odd list entries
* list-header * list-selection * even list entries
* tab-border * tab-label * field-name
* field-value
Raphaël Droz [Sun, 29 Apr 2012 19:38:00 +0000 (21:38 +0200)]
Fix the inclusion of strcasestr() used by the vCard parser.
Fabio Zanini [Thu, 5 Jan 2012 10:12:18 +0000 (11:12 +0100)]
Fix vCard parser: we may parse some vCard v3 files.
Jorrit Tijben [Mon, 30 Apr 2012 16:13:07 +0000 (18:13 +0200)]
Fixed a bug where non-standard fields get deleted.
See http://sourceforge.net/mailarchive/message.php?msg_id=
24506494
Signed-off-by: Roger <rogerx.oss@gmail.com>
Michael Krolikowski [Thu, 5 Jan 2012 22:20:57 +0000 (23:20 +0100)]
Import vCard file format.
Fabio Zanini [Tue, 6 Dec 2011 23:04:09 +0000 (00:04 +0100)]
Autotools update to autoconf-2.68 / automake-1.11 / gettextize 0.18.1.
Raphaël Droz [Mon, 29 Aug 2011 15:26:36 +0000 (17:26 +0200)]
Added a git ignore file
Gerfried Fuchs [Thu, 22 Jul 2010 20:29:18 +0000 (20:29 +0000)]
export all email addresses to mutt aliases file. Idea and original
approach done by Markus Schnalke, adapted and tweaked for 0.6 by myself.
Gerfried Fuchs [Mon, 15 Feb 2010 17:10:27 +0000 (17:10 +0000)]
complete german translation
Cedric Duval [Sun, 10 Sep 2006 21:38:30 +0000 (21:38 +0000)]
* Reorganized code.
* Support for %I (ISO8601) and %% (%).
* Fix for empty format string.
Cedric Duval [Fri, 8 Sep 2006 12:38:51 +0000 (12:38 +0000)]
Update (Michèle Garoche).
Cedric Duval [Fri, 8 Sep 2006 09:32:35 +0000 (09:32 +0000)]
Gave phone field a width of 12, for consistency with sample.abookrc.
Cedric Duval [Fri, 8 Sep 2006 09:25:02 +0000 (09:25 +0000)]
Added anniversary as a default field (ie one that is available if the
user did not enter any views configuration).
Cedric Duval [Fri, 8 Sep 2006 09:14:45 +0000 (09:14 +0000)]
* parse_date_string(): don't modify string argument in place, since most
if not all of the time this function is applied on a database entry.
Too prone to dangerous oversight.
* fixed bsdcal export not checking for validity of parsed date.
Cedric Duval [Thu, 7 Sep 2006 23:17:53 +0000 (23:17 +0000)]
Fixed "out-of-screen" display.
Cedric Duval [Thu, 7 Sep 2006 22:57:03 +0000 (22:57 +0000)]
Fixed dcgettext() definition (not used anywhere, but still...)
Cedric Duval [Thu, 7 Sep 2006 21:55:26 +0000 (21:55 +0000)]
Update po files with newest strings (date formats and bsdcal filter).
Cedric Duval [Thu, 7 Sep 2006 21:49:14 +0000 (21:49 +0000)]
Display dates according to current locale (as defined by LC_TIME).
Jaakko Heinonen [Wed, 6 Sep 2006 08:48:33 +0000 (08:48 +0000)]
- make sure that len - 1 is never < 0
- add some asserts
Cedric Duval [Wed, 6 Sep 2006 02:46:44 +0000 (02:46 +0000)]
Applied patch from Guillem Jover to add support for bsd calendar export.
(Debian bug #386217)
Cedric Duval [Wed, 6 Sep 2006 02:24:33 +0000 (02:24 +0000)]
Handle user aborting search (fixes Debian bug #386217).
Cedric Duval [Tue, 5 Sep 2006 09:44:05 +0000 (09:44 +0000)]
Translation update from Michèle Garoche.
Jaakko Heinonen [Tue, 5 Sep 2006 08:21:35 +0000 (08:21 +0000)]
- move highlight_line
Jaakko Heinonen [Tue, 5 Sep 2006 08:17:17 +0000 (08:17 +0000)]
- highlight_line should be static
Jaakko Heinonen [Tue, 5 Sep 2006 08:11:02 +0000 (08:11 +0000)]
- prepare for 0.6.0pre2
Cedric Duval [Mon, 4 Sep 2006 19:02:47 +0000 (19:02 +0000)]
Translation update (Gerfried Fuchs).
Cedric Duval [Mon, 4 Sep 2006 18:41:58 +0000 (18:41 +0000)]
Obsoleted the emailpos, extra_column, extra_alternative and extrapos
configuration options.
Cedric Duval [Mon, 4 Sep 2006 18:29:24 +0000 (18:29 +0000)]
New index_format option.
Jaakko Heinonen [Fri, 1 Sep 2006 13:29:55 +0000 (13:29 +0000)]
- update ANNOUNCE and THANKS
Jaakko Heinonen [Fri, 1 Sep 2006 10:00:22 +0000 (10:00 +0000)]
* compatibility fix for autoconf < 2.60 (Cedric Duval)
Jaakko Heinonen [Thu, 31 Aug 2006 05:20:57 +0000 (05:20 +0000)]
* fix incorrect key for opening web browser in the help screen
* update .pot and .po files accordingly
Jaakko Heinonen [Wed, 30 Aug 2006 10:49:34 +0000 (10:49 +0000)]
* max_len should be size_t
Jaakko Heinonen [Wed, 30 Aug 2006 10:33:06 +0000 (10:33 +0000)]
- AUTHORS update
Cedric Duval [Sat, 26 Aug 2006 19:16:41 +0000 (19:16 +0000)]
clean up ISO 8601 string generation
Jaakko Heinonen [Sat, 26 Aug 2006 18:17:14 +0000 (18:17 +0000)]
* clean up ISO 8601 string generation
* atoi() -> safe_atoi()
Cedric Duval [Fri, 25 Aug 2006 23:26:55 +0000 (23:26 +0000)]
Italian translation update.
Cedric Duval [Fri, 25 Aug 2006 22:51:00 +0000 (22:51 +0000)]
Support for 'date' field type.
ISO 8601 parsing from Jaakko.
Jaakko Heinonen [Fri, 25 Aug 2006 10:17:21 +0000 (10:17 +0000)]
- correct a typo
Jaakko Heinonen [Thu, 24 Aug 2006 09:47:55 +0000 (09:47 +0000)]
* don't unlink empty datafile, just truncate
* fix a comment typo
Jaakko Heinonen [Thu, 24 Aug 2006 09:46:08 +0000 (09:46 +0000)]
* update BUGS ChangeLog TODO
* prepare for first 0.6 pre-release
Cedric Duval [Wed, 9 Aug 2006 21:58:04 +0000 (21:58 +0000)]
Fixed a couple of translations in help.
Cedric Duval [Wed, 9 Aug 2006 21:54:56 +0000 (21:54 +0000)]
Fixed surname sort.
The NAME field is guaranteed to exist for every item, and besides,
a non-existence check would have to be made against -1, not 0.
Jaakko Heinonen [Tue, 8 Aug 2006 06:21:47 +0000 (06:21 +0000)]
* sync with stable
Cedric Duval [Mon, 7 Aug 2006 19:20:25 +0000 (19:20 +0000)]
db_email_get() now returns every email addresses (ie field type: email),
not just the addresses of the 'email' field.
Cedric Duval [Mon, 7 Aug 2006 15:06:53 +0000 (15:06 +0000)]
Fixed legacy tabs not being translated.
Cedric Duval [Mon, 7 Aug 2006 15:05:45 +0000 (15:05 +0000)]
Fixed wrongly translated prefixed string.
Jaakko Heinonen [Mon, 7 Aug 2006 11:39:53 +0000 (11:39 +0000)]
- fix compile warnings
Cedric Duval [Sat, 5 Aug 2006 13:15:44 +0000 (13:15 +0000)]
Updated french translation.
Cedric Duval [Sat, 5 Aug 2006 12:25:46 +0000 (12:25 +0000)]
* Added a string as translatable (reported by C. Stazzone).
* Updated translation files.
* Added translations for said string for de, fr, it, and sv
(checking with translators that it is ok).
* Really changed pointer for reporting strings bugs.
Cedric Duval [Fri, 4 Aug 2006 21:16:03 +0000 (21:16 +0000)]
Strings issues should be reported to the abook-devel mailing list.
Cedric Duval [Fri, 4 Aug 2006 20:47:06 +0000 (20:47 +0000)]
* Added new translation: italian
* Added name of italian translator to Changelog, and
also (overlooked) name of german translator
Cedric Duval [Fri, 4 Aug 2006 20:30:07 +0000 (20:30 +0000)]
* Fixed localedir not being expanded correctly with autoconf > 2.59
* Fixed warnings about datarootdir
* Re-ran autoreconf (2.60)
Cedric Duval [Fri, 4 Aug 2006 20:18:23 +0000 (20:18 +0000)]
Updated config.guess and config.sub.
Jaakko Heinonen [Mon, 10 Apr 2006 16:01:31 +0000 (16:01 +0000)]
- whitespace cleanups
Jaakko Heinonen [Mon, 10 Apr 2006 08:15:45 +0000 (08:15 +0000)]
- fix localized keybindings with --disable-nls
Jaakko Heinonen [Tue, 14 Mar 2006 15:06:10 +0000 (15:06 +0000)]
- gnomecard filter fix from branch
Cedric Duval [Mon, 31 Oct 2005 06:30:24 +0000 (06:30 +0000)]
Fixed erroneous boundary.
Cedric Duval [Mon, 31 Oct 2005 06:24:13 +0000 (06:24 +0000)]
Fixed dangling pointers in database items after xrealloc'ing.
Jaakko Heinonen [Wed, 26 Oct 2005 19:29:16 +0000 (19:29 +0000)]
- don't use items variable outside of database.c
- curitem is now directly used only from database.c and list.c
Jaakko Heinonen [Wed, 26 Oct 2005 16:50:42 +0000 (16:50 +0000)]
- update 0.5.5 change log
Jaakko Heinonen [Wed, 26 Oct 2005 16:38:35 +0000 (16:38 +0000)]
- attempt to save database more safely
- create a backup file when saving
Jaakko Heinonen [Wed, 26 Oct 2005 15:28:57 +0000 (15:28 +0000)]
- possibly improve error reporting when tabs are too wide to display
Cedric Duval [Tue, 25 Oct 2005 23:27:24 +0000 (23:27 +0000)]
Support for dynamic views.
* Two new configuration commands: 'field' and 'view'.
* A new configuration variable: 'preserve_fields'.
* In absence of user configuration, abook behaves and displays mostly like
previous releases.
* More abstraction for database access. db_field_get(), db_field_put(), etc.
* Functions for handling lists of strings (abook_list)
* Functions for conversting abook_lists to CSV and vice-versa.
* Arbitrary number of email addresses internally. Still limited to 9 for
practical reasons with the UI.
* Up to 35 fields per view.
* Escape as a modifier key in the editor.
* Addresses can be rolled both directions (esc-r).
* Fixed html produced by export filter.
* Updated abookrc man page and sample.abookrc accordingly.
Cedric Duval [Sat, 22 Oct 2005 19:55:21 +0000 (19:55 +0000)]
Fix libintl build (thanks to TAKAHASHI Tamotsu).
Cedric Duval [Thu, 20 Oct 2005 13:59:30 +0000 (13:59 +0000)]
Fixed 'undo' command corrupting the database when used after changing of
item within the editor.
Cedric Duval [Tue, 18 Oct 2005 16:14:48 +0000 (16:14 +0000)]
Initial japanese translation (TAKAHASHI Tamotsu).
Jaakko Heinonen [Tue, 18 Oct 2005 06:51:13 +0000 (06:51 +0000)]
- sync with 0.5.5pre1 release
Jaakko Heinonen [Wed, 5 Oct 2005 11:03:36 +0000 (11:03 +0000)]
*** empty log message ***
Jaakko Heinonen [Mon, 3 Oct 2005 10:03:54 +0000 (10:03 +0000)]
- minor wanderlust cleanup
Cedric Duval [Mon, 3 Oct 2005 09:01:12 +0000 (09:01 +0000)]
Fixed incorrect handling of multibyte strings.
Cedric Duval [Mon, 3 Oct 2005 08:53:38 +0000 (08:53 +0000)]
Minor fix.
Cedric Duval [Mon, 3 Oct 2005 08:48:45 +0000 (08:48 +0000)]
French translation update.
Jaakko Heinonen [Mon, 3 Oct 2005 05:22:49 +0000 (05:22 +0000)]
- wanderlust export filter (Josef Schugt)
Cedric Duval [Sun, 2 Oct 2005 23:02:03 +0000 (23:02 +0000)]
Initial german translation (Johannes Weißl).
Cedric Duval [Sun, 2 Oct 2005 22:16:58 +0000 (22:16 +0000)]
Fixed typo.
Cedric Duval [Sun, 2 Oct 2005 22:13:25 +0000 (22:13 +0000)]
Made string less ambiguous for translators.
Jaakko Heinonen [Fri, 30 Sep 2005 16:30:03 +0000 (16:30 +0000)]
- specify doc files so that CVS files are not packaged with "make dist"
Jaakko Heinonen [Fri, 30 Sep 2005 16:27:09 +0000 (16:27 +0000)]
- add translation HOWTO
- add doc directory to distribution
- automatic po update
filter.c:
- minor cleanup
Cedric Duval [Tue, 27 Sep 2005 16:50:04 +0000 (16:50 +0000)]
All three are specified in the XSI Curses standard, but if we check for
A_BOLD and A_NORMAL, it doesn't hurt to also check for A_DIM.