]> git.deb.at Git - pkg/abook.git/log
pkg/abook.git
11 years ago* exit() if an unsupported outformat is given after --mutt-query.
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)

11 years agovformat: vCard format can now be used in the context of --mutt-query
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.

12 years agoChangelog updated
Raphaël Droz [Wed, 24 Oct 2012 16:00:23 +0000 (18:00 +0200)]
Changelog updated

12 years agocustom output format (4/4): document custom output format in abook(1)
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)

12 years agocustom output format (3/4): added the --outformatstr option
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)

12 years agocustom output format (2/4): item-based and the other database-based output functions
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}"

12 years agocustom output format (1/4): created a parser for {placeholders}
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)

12 years agomutt-query (3/3): register the --mutt-query-format per-item filter and use it
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

12 years agomutt-query (2/3): moved mutt full database querying to mutt_query_export_database...
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

12 years agomutt-query (1/3): moved muttq_print_item() from abook.c to 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

12 years agoconvert (1/1): introduced prototypes for per-item filtering functions.
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)

12 years agoRemove duplicates
Fabio Zanini [Mon, 2 Jul 2012 11:34:30 +0000 (13:34 +0200)]
Remove duplicates

12 years agoMerge entries
Fabio Zanini [Mon, 2 Jul 2012 09:13:51 +0000 (11:13 +0200)]
Merge entries

12 years agoMutt groups support
Fabio Zanini [Sun, 1 Jul 2012 15:59:37 +0000 (17:59 +0200)]
Mutt groups support

12 years agoadded a 'git' entry in the Changelog
Raphaël Droz [Sun, 23 Sep 2012 14:01:21 +0000 (16:01 +0200)]
added a 'git' entry in the Changelog

12 years agoabook.1 manpage update about vcard support
Raphaël Droz [Sun, 23 Sep 2012 14:00:42 +0000 (16:00 +0200)]
abook.1 manpage update about vcard support

12 years agovCard parser: use item_fput() to store phone numbers into the right fields
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

12 years agovCard parser: handles the 'N'ame field as a fallback when no 'FN' is provided
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

12 years agoSearch the next match using the 'n' key as a synonym for '\\'.
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>
12 years agoAdd basic mouse support
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

12 years agoAdded sample config for color settings.
Fabio Zanini [Sun, 15 Apr 2012 10:41:08 +0000 (12:41 +0200)]
Added sample config for color settings.

12 years agoAdd basic color support
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

12 years agoFix the inclusion of strcasestr() used by the vCard parser.
Raphaël Droz [Sun, 29 Apr 2012 19:38:00 +0000 (21:38 +0200)]
Fix the inclusion of strcasestr() used by the vCard parser.

12 years agoFix vCard parser: we may parse some vCard v3 files.
Fabio Zanini [Thu, 5 Jan 2012 10:12:18 +0000 (11:12 +0100)]
Fix vCard parser: we may parse some vCard v3 files.

12 years agoFixed a bug where non-standard fields get deleted.
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>
12 years agoImport vCard file format.
Michael Krolikowski [Thu, 5 Jan 2012 22:20:57 +0000 (23:20 +0100)]
Import vCard file format.

12 years agoAutotools update to autoconf-2.68 / automake-1.11 / gettextize 0.18.1.
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.

13 years agoAdded a git ignore file
Raphaël Droz [Mon, 29 Aug 2011 15:26:36 +0000 (17:26 +0200)]
Added a git ignore file

14 years agoexport all email addresses to mutt aliases file. Idea and original
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.

14 years agocomplete german translation
Gerfried Fuchs [Mon, 15 Feb 2010 17:10:27 +0000 (17:10 +0000)]
complete german translation

18 years ago* Reorganized code.
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.

18 years agoUpdate (Michèle Garoche).
Cedric Duval [Fri, 8 Sep 2006 12:38:51 +0000 (12:38 +0000)]
Update (Michèle Garoche).

18 years agoGave phone field a width of 12, for consistency with sample.abookrc.
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.

18 years agoAdded anniversary as a default field (ie one that is available if the
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).

18 years ago* parse_date_string(): don't modify string argument in place, since most
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.

18 years agoFixed "out-of-screen" display.
Cedric Duval [Thu, 7 Sep 2006 23:17:53 +0000 (23:17 +0000)]
Fixed "out-of-screen" display.

18 years agoFixed dcgettext() definition (not used anywhere, but still...)
Cedric Duval [Thu, 7 Sep 2006 22:57:03 +0000 (22:57 +0000)]
Fixed dcgettext() definition (not used anywhere, but still...)

18 years agoUpdate po files with newest strings (date formats and bsdcal filter).
Cedric Duval [Thu, 7 Sep 2006 21:55:26 +0000 (21:55 +0000)]
Update po files with newest strings (date formats and bsdcal filter).

18 years agoDisplay dates according to current locale (as defined by LC_TIME).
Cedric Duval [Thu, 7 Sep 2006 21:49:14 +0000 (21:49 +0000)]
Display dates according to current locale (as defined by LC_TIME).

18 years ago- make sure that len - 1 is never < 0
Jaakko Heinonen [Wed, 6 Sep 2006 08:48:33 +0000 (08:48 +0000)]
- make sure that len - 1 is never < 0
- add some asserts

18 years agoApplied patch from Guillem Jover to add support for bsd calendar export.
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)

18 years agoHandle user aborting search (fixes Debian bug #386217).
Cedric Duval [Wed, 6 Sep 2006 02:24:33 +0000 (02:24 +0000)]
Handle user aborting search (fixes Debian bug #386217).

18 years agoTranslation update from Michèle Garoche.
Cedric Duval [Tue, 5 Sep 2006 09:44:05 +0000 (09:44 +0000)]
Translation update from Michèle Garoche.

18 years ago- move highlight_line
Jaakko Heinonen [Tue, 5 Sep 2006 08:21:35 +0000 (08:21 +0000)]
- move highlight_line

18 years ago- highlight_line should be static
Jaakko Heinonen [Tue, 5 Sep 2006 08:17:17 +0000 (08:17 +0000)]
- highlight_line should be static

18 years ago- prepare for 0.6.0pre2
Jaakko Heinonen [Tue, 5 Sep 2006 08:11:02 +0000 (08:11 +0000)]
- prepare for 0.6.0pre2

18 years agoTranslation update (Gerfried Fuchs).
Cedric Duval [Mon, 4 Sep 2006 19:02:47 +0000 (19:02 +0000)]
Translation update (Gerfried Fuchs).

18 years agoObsoleted the emailpos, extra_column, extra_alternative and extrapos
Cedric Duval [Mon, 4 Sep 2006 18:41:58 +0000 (18:41 +0000)]
Obsoleted the emailpos, extra_column, extra_alternative and extrapos
configuration options.

18 years agoNew index_format option.
Cedric Duval [Mon, 4 Sep 2006 18:29:24 +0000 (18:29 +0000)]
New index_format option.

18 years ago- update ANNOUNCE and THANKS
Jaakko Heinonen [Fri, 1 Sep 2006 13:29:55 +0000 (13:29 +0000)]
- update ANNOUNCE and THANKS

18 years ago* compatibility fix for autoconf < 2.60 (Cedric Duval)
Jaakko Heinonen [Fri, 1 Sep 2006 10:00:22 +0000 (10:00 +0000)]
* compatibility fix for autoconf < 2.60 (Cedric Duval)

18 years ago* fix incorrect key for opening web browser in the help screen
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

18 years ago* max_len should be size_t
Jaakko Heinonen [Wed, 30 Aug 2006 10:49:34 +0000 (10:49 +0000)]
* max_len should be size_t

18 years ago- AUTHORS update
Jaakko Heinonen [Wed, 30 Aug 2006 10:33:06 +0000 (10:33 +0000)]
- AUTHORS update

18 years agoclean up ISO 8601 string generation
Cedric Duval [Sat, 26 Aug 2006 19:16:41 +0000 (19:16 +0000)]
clean up ISO 8601 string generation

18 years ago* 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()

18 years agoItalian translation update.
Cedric Duval [Fri, 25 Aug 2006 23:26:55 +0000 (23:26 +0000)]
Italian translation update.

18 years agoSupport for 'date' field type.
Cedric Duval [Fri, 25 Aug 2006 22:51:00 +0000 (22:51 +0000)]
Support for 'date' field type.
ISO 8601 parsing from Jaakko.

18 years ago- correct a typo
Jaakko Heinonen [Fri, 25 Aug 2006 10:17:21 +0000 (10:17 +0000)]
- correct a typo

18 years ago* don't unlink empty datafile, just truncate
Jaakko Heinonen [Thu, 24 Aug 2006 09:47:55 +0000 (09:47 +0000)]
* don't unlink empty datafile, just truncate
* fix a comment typo

18 years ago* update BUGS ChangeLog TODO
Jaakko Heinonen [Thu, 24 Aug 2006 09:46:08 +0000 (09:46 +0000)]
* update BUGS ChangeLog TODO
* prepare for first 0.6 pre-release

18 years agoFixed a couple of translations in help.
Cedric Duval [Wed, 9 Aug 2006 21:58:04 +0000 (21:58 +0000)]
Fixed a couple of translations in help.

18 years agoFixed surname sort.
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.

18 years ago* sync with stable
Jaakko Heinonen [Tue, 8 Aug 2006 06:21:47 +0000 (06:21 +0000)]
* sync with stable

18 years agodb_email_get() now returns every email addresses (ie field type: email),
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.

18 years agoFixed legacy tabs not being translated.
Cedric Duval [Mon, 7 Aug 2006 15:06:53 +0000 (15:06 +0000)]
Fixed legacy tabs not being translated.

18 years agoFixed wrongly translated prefixed string.
Cedric Duval [Mon, 7 Aug 2006 15:05:45 +0000 (15:05 +0000)]
Fixed wrongly translated prefixed string.

18 years ago- fix compile warnings
Jaakko Heinonen [Mon, 7 Aug 2006 11:39:53 +0000 (11:39 +0000)]
- fix compile warnings

18 years agoUpdated french translation.
Cedric Duval [Sat, 5 Aug 2006 13:15:44 +0000 (13:15 +0000)]
Updated french translation.

18 years ago* Added a string as translatable (reported by C. Stazzone).
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.

18 years agoStrings issues should be reported to the abook-devel mailing list.
Cedric Duval [Fri, 4 Aug 2006 21:16:03 +0000 (21:16 +0000)]
Strings issues should be reported to the abook-devel mailing list.

18 years ago* Added new translation: italian
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

18 years ago* Fixed localedir not being expanded correctly with autoconf > 2.59
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)

18 years agoUpdated config.guess and config.sub.
Cedric Duval [Fri, 4 Aug 2006 20:18:23 +0000 (20:18 +0000)]
Updated config.guess and config.sub.

18 years ago- whitespace cleanups
Jaakko Heinonen [Mon, 10 Apr 2006 16:01:31 +0000 (16:01 +0000)]
- whitespace cleanups

18 years ago- fix localized keybindings with --disable-nls
Jaakko Heinonen [Mon, 10 Apr 2006 08:15:45 +0000 (08:15 +0000)]
- fix localized keybindings with --disable-nls

18 years ago- gnomecard filter fix from branch
Jaakko Heinonen [Tue, 14 Mar 2006 15:06:10 +0000 (15:06 +0000)]
- gnomecard filter fix from branch

19 years agoFixed erroneous boundary.
Cedric Duval [Mon, 31 Oct 2005 06:30:24 +0000 (06:30 +0000)]
Fixed erroneous boundary.

19 years agoFixed dangling pointers in database items after xrealloc'ing.
Cedric Duval [Mon, 31 Oct 2005 06:24:13 +0000 (06:24 +0000)]
Fixed dangling pointers in database items after xrealloc'ing.

19 years ago- don't use items variable outside of database.c
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

19 years ago- update 0.5.5 change log
Jaakko Heinonen [Wed, 26 Oct 2005 16:50:42 +0000 (16:50 +0000)]
- update 0.5.5 change log

19 years ago- attempt to save database more safely
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

19 years ago- possibly improve error reporting when tabs are too wide to display
Jaakko Heinonen [Wed, 26 Oct 2005 15:28:57 +0000 (15:28 +0000)]
- possibly improve error reporting when tabs are too wide to display

19 years agoSupport for dynamic views.
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.

19 years agoFix libintl build (thanks to TAKAHASHI Tamotsu).
Cedric Duval [Sat, 22 Oct 2005 19:55:21 +0000 (19:55 +0000)]
Fix libintl build (thanks to TAKAHASHI Tamotsu).

19 years agoFixed 'undo' command corrupting the database when used after changing of
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.

19 years agoInitial japanese translation (TAKAHASHI Tamotsu).
Cedric Duval [Tue, 18 Oct 2005 16:14:48 +0000 (16:14 +0000)]
Initial japanese translation (TAKAHASHI Tamotsu).

19 years ago- sync with 0.5.5pre1 release
Jaakko Heinonen [Tue, 18 Oct 2005 06:51:13 +0000 (06:51 +0000)]
- sync with 0.5.5pre1 release

19 years ago*** empty log message ***
Jaakko Heinonen [Wed, 5 Oct 2005 11:03:36 +0000 (11:03 +0000)]
*** empty log message ***

19 years ago- minor wanderlust cleanup
Jaakko Heinonen [Mon, 3 Oct 2005 10:03:54 +0000 (10:03 +0000)]
- minor wanderlust cleanup

19 years agoFixed incorrect handling of multibyte strings.
Cedric Duval [Mon, 3 Oct 2005 09:01:12 +0000 (09:01 +0000)]
Fixed incorrect handling of multibyte strings.

19 years agoMinor fix.
Cedric Duval [Mon, 3 Oct 2005 08:53:38 +0000 (08:53 +0000)]
Minor fix.

19 years agoFrench translation update.
Cedric Duval [Mon, 3 Oct 2005 08:48:45 +0000 (08:48 +0000)]
French translation update.

19 years ago- wanderlust export filter (Josef Schugt)
Jaakko Heinonen [Mon, 3 Oct 2005 05:22:49 +0000 (05:22 +0000)]
- wanderlust export filter (Josef Schugt)

19 years agoInitial german translation (Johannes Weißl).
Cedric Duval [Sun, 2 Oct 2005 23:02:03 +0000 (23:02 +0000)]
Initial german translation (Johannes Weißl).

19 years agoFixed typo.
Cedric Duval [Sun, 2 Oct 2005 22:16:58 +0000 (22:16 +0000)]
Fixed typo.

19 years agoMade string less ambiguous for translators.
Cedric Duval [Sun, 2 Oct 2005 22:13:25 +0000 (22:13 +0000)]
Made string less ambiguous for translators.

19 years ago- specify doc files so that CVS files are not packaged with "make dist"
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"

19 years ago- add translation HOWTO
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

19 years agoAll three are specified in the XSI Curses standard, but if we check for
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.