pkg/abook.git
3 years agoready for upload master
Denis Briand [Fri, 4 Aug 2017 23:50:15 +0000 (01:50 +0200)]
ready for upload

3 years agoFix SIGSEGV with undefined USER environment variable
Denis Briand [Fri, 4 Aug 2017 23:45:23 +0000 (01:45 +0200)]
Fix SIGSEGV with undefined USER environment variable

3 years agobump standards version to 4.0.0
Denis Briand [Fri, 4 Aug 2017 21:29:05 +0000 (23:29 +0200)]
bump standards version to 4.0.0

4 years agodon't do -dbg package, let debhelper produce the automatic one debian/0.6.1-1
Rhonda D'Vine [Thu, 31 Dec 2015 22:06:29 +0000 (23:06 +0100)]
don't do -dbg package, let debhelper produce the automatic one

4 years agoremove repetitive lines
Denis Briand [Thu, 31 Dec 2015 13:43:51 +0000 (14:43 +0100)]
remove repetitive lines

4 years agoUpdate my name
Rhonda D'Vine [Wed, 30 Dec 2015 23:25:53 +0000 (00:25 +0100)]
Update my name

4 years agoreformat changelog entry
Rhonda D'Vine [Wed, 30 Dec 2015 23:21:41 +0000 (00:21 +0100)]
reformat changelog entry

4 years agoRevert "Add fix_spelling_error_in_binary.diff patch"
Denis Briand [Thu, 31 Dec 2015 13:14:11 +0000 (14:14 +0100)]
Revert "Add fix_spelling_error_in_binary.diff patch"

This reverts commit ca5c3086c7ff9c99645a66fd0c21167ef60ba0e9.

Conflicts:
debian/changelog

4 years agoremove trailing whitespaces and add a patch file on repos'
Denis Briand [Wed, 30 Dec 2015 03:45:08 +0000 (04:45 +0100)]
remove trailing whitespaces and add a patch file on repos'

4 years agoAdd fix_spelling_error_in_binary.diff patch
Denis Briand [Wed, 30 Dec 2015 03:17:22 +0000 (04:17 +0100)]
Add fix_spelling_error_in_binary.diff patch

4 years agoadd "debug package" into mc-dbg short description
Denis Briand [Wed, 30 Dec 2015 02:48:14 +0000 (03:48 +0100)]
add "debug package" into mc-dbg short description

4 years agoSwitch debian/copyright file to machine readable format.
Denis Briand [Wed, 30 Dec 2015 02:45:33 +0000 (03:45 +0100)]
Switch debian/copyright file to machine readable format.

4 years agoRename postinst and postrm files into abook.*
Denis Briand [Wed, 30 Dec 2015 01:56:25 +0000 (02:56 +0100)]
Rename postinst and postrm files into abook.*

4 years agoAdd debhelper token into maintainers scripts.
Denis Briand [Wed, 30 Dec 2015 01:52:41 +0000 (02:52 +0100)]
Add debhelper token into maintainers scripts.

4 years agoProvide debugging symbols with a new abook-dbg binary package
Denis Briand [Mon, 28 Dec 2015 01:17:21 +0000 (02:17 +0100)]
Provide debugging symbols with a new abook-dbg binary package

4 years agoRemove autotools-dev build dependency
Denis Briand [Mon, 28 Dec 2015 00:22:33 +0000 (01:22 +0100)]
Remove autotools-dev build dependency

4 years agoupdate changelog for removed patch
Denis Briand [Mon, 28 Dec 2015 00:07:02 +0000 (01:07 +0100)]
update changelog for removed patch

4 years agoUse dh-autoreconf
Denis Briand [Mon, 28 Dec 2015 00:05:24 +0000 (01:05 +0100)]
Use dh-autoreconf

4 years agoremove merged patch 03_datafile-f-switch.diff
Denis Briand [Sun, 27 Dec 2015 23:43:01 +0000 (00:43 +0100)]
remove merged patch 03_datafile-f-switch.diff

4 years agoMerge tag 'upstream/0.6.1'
Denis Briand [Sun, 27 Dec 2015 23:33:31 +0000 (00:33 +0100)]
Merge tag 'upstream/0.6.1'

Upstream version 0.6.1

4 years agoImported Upstream version 0.6.1 upstream upstream/0.6.1
Denis Briand [Sun, 27 Dec 2015 23:33:30 +0000 (00:33 +0100)]
Imported Upstream version 0.6.1

4 years agominor patch cosmetic changes
Denis Briand [Sun, 27 Dec 2015 23:09:08 +0000 (00:09 +0100)]
minor patch cosmetic changes

5 years agoAdd a closed bug (#771343)
Denis Briand [Mon, 28 Sep 2015 23:24:26 +0000 (01:24 +0200)]
Add a closed bug (#771343)

5 years agochange bug number syntax into changelog
Denis Briand [Mon, 28 Sep 2015 19:21:45 +0000 (21:21 +0200)]
change bug number syntax into changelog

5 years agodh --with autotools_dev
Rhonda D'Vine [Fri, 14 Aug 2015 09:57:35 +0000 (11:57 +0200)]
dh --with autotools_dev

5 years agoNew upstream release which incorporated patches 02_fix-manpage and 727245.
Rhonda D'Vine [Fri, 14 Aug 2015 09:40:51 +0000 (11:40 +0200)]
New upstream release which incorporated patches 02_fix-manpage and 727245.

5 years agoMerge remote-tracking branch 'origin/upstream'
Rhonda D'Vine [Fri, 14 Aug 2015 09:23:36 +0000 (11:23 +0200)]
Merge remote-tracking branch 'origin/upstream'

5 years agoImport upstream git
Rhonda D'Vine [Thu, 13 Aug 2015 15:13:45 +0000 (17:13 +0200)]
Import upstream git

5 years agoMerge remote-tracking branch 'upstream/master' into upstream
Rhonda D'Vine [Thu, 13 Aug 2015 15:08:37 +0000 (17:08 +0200)]
Merge remote-tracking branch 'upstream/master' into upstream

5 years agoMerge branch 'dh' debian/0.6.0_pre2-5
Rhonda D'Vine [Thu, 13 Aug 2015 14:58:30 +0000 (16:58 +0200)]
Merge branch 'dh'

5 years agofinalize the changelog dh
Rhonda D'Vine [Thu, 13 Aug 2015 14:48:02 +0000 (16:48 +0200)]
finalize the changelog

5 years agofix building
Rhonda D'Vine [Thu, 13 Aug 2015 14:41:12 +0000 (16:41 +0200)]
fix building

5 years agochangelog: missing entries
Raphaël Droz [Tue, 11 Aug 2015 14:46:29 +0000 (11:46 -0300)]
changelog: missing entries

5 years agoautotools: pre-release autoreconf update
Raphaël Droz [Tue, 11 Aug 2015 14:19:17 +0000 (11:19 -0300)]
autotools: pre-release autoreconf update

5 years agorelease: 0.6.1, pre-release version change commit
Raphaël Droz [Tue, 11 Aug 2015 14:18:45 +0000 (11:18 -0300)]
release: 0.6.1, pre-release version change commit

5 years agosyntax error
Denis Briand [Sun, 9 Aug 2015 15:17:39 +0000 (17:17 +0200)]
syntax error

5 years agorefresh patches
Denis Briand [Sun, 9 Aug 2015 15:12:22 +0000 (17:12 +0200)]
refresh patches

5 years agofix corruption of address book
Denis Briand [Sun, 9 Aug 2015 15:10:35 +0000 (17:10 +0200)]
fix corruption of address book

5 years agoupdate changelog with unstable updated version
Denis Briand [Sun, 9 Aug 2015 15:05:13 +0000 (17:05 +0200)]
update changelog with unstable updated version

5 years agoadd abook.install file to install some extra doc files
Denis Briand [Tue, 14 Jul 2015 17:22:29 +0000 (19:22 +0200)]
add abook.install file to install some extra doc files

5 years agoadd compat file
Denis Briand [Tue, 14 Jul 2015 16:28:24 +0000 (18:28 +0200)]
add compat file

5 years agoFix broken Vcs-git link (Closes: #791612)
Denis Briand [Tue, 14 Jul 2015 16:27:29 +0000 (18:27 +0200)]
Fix broken Vcs-git link (Closes: #791612)

5 years agoswitch to debhelper
Denis Briand [Sun, 12 Jul 2015 17:13:31 +0000 (19:13 +0200)]
switch to debhelper

5 years agoFix error into debian/postinst
Denis Briand [Sun, 12 Jul 2015 15:10:38 +0000 (17:10 +0200)]
Fix error into debian/postinst

5 years agoadd -std=gnu89 into CFLAGS
Denis Briand [Sun, 12 Jul 2015 15:08:05 +0000 (17:08 +0200)]
add -std=gnu89 into CFLAGS

5 years agoupdate changelog
Denis Briand [Mon, 6 Jul 2015 16:17:24 +0000 (18:17 +0200)]
update changelog

5 years agoSwitch to dpkg-source 3.0 (quilt) format and fix another lintian warning
Denis Briand [Mon, 6 Jul 2015 15:54:08 +0000 (17:54 +0200)]
Switch to dpkg-source 3.0 (quilt) format and fix another lintian warning

5 years agouse non-native package format
Denis Briand [Mon, 6 Jul 2015 15:12:26 +0000 (17:12 +0200)]
use non-native package format

5 years agouse dpkg-buildflags
Denis Briand [Mon, 6 Jul 2015 13:45:55 +0000 (15:45 +0200)]
use dpkg-buildflags

5 years agoset priority to high to prevent autoremove
Denis Briand [Mon, 6 Jul 2015 13:13:39 +0000 (15:13 +0200)]
set priority to high to prevent autoremove

5 years agoBump standards version to 3.9.6
Denis Briand [Mon, 6 Jul 2015 12:53:47 +0000 (14:53 +0200)]
Bump standards version to 3.9.6

5 years agoadd Denis Briand as co-maintainer
Denis Briand [Mon, 6 Jul 2015 12:50:36 +0000 (14:50 +0200)]
add Denis Briand as co-maintainer

5 years agoremove 04_clang-ftbfs patch.
Denis Briand [Mon, 6 Jul 2015 12:44:35 +0000 (14:44 +0200)]
remove 04_clang-ftbfs patch.

5 years agoFix FTBFS with clang
Arthur Marble [Tue, 30 Jun 2015 17:52:35 +0000 (19:52 +0200)]
Fix FTBFS with clang

5 years agoAdd -std=gnu89 to CFLAGS to fix FTBFS with gcc-5
Rhonda D'Vine [Tue, 30 Jun 2015 17:48:54 +0000 (19:48 +0200)]
Add -std=gnu89 to CFLAGS to fix FTBFS with gcc-5

5 years agoFix bogus free()s on error path
Peter Wu [Mon, 16 Feb 2015 18:41:57 +0000 (19:41 +0100)]
Fix bogus free()s on error path

ft contains integers and ft itself was just malloced. Do not corrupt the
heap...

5 years agoFix "Allocator sizeof operand mismatch"
Peter Wu [Mon, 16 Feb 2015 18:41:56 +0000 (19:41 +0100)]
Fix "Allocator sizeof operand mismatch"

sizeof should be used on the data that will be stored, not the pointer.
Luckily the pointers are larger than the actual data, so there is no
security issue here.

Remove sizeof(char) as it is equal to 1 by the C standard.

Caught by Clang Static Analyzer.

5 years agohtml: various fixes
Stéphane Aulery [Fri, 28 Nov 2014 16:17:48 +0000 (13:17 -0300)]
html: various fixes
  - html5 doctype
  - CSS in a <style> tag
  - finer style
  - utf-8 encoding specified
  - empty cells filled with &nbsp;

5 years agodoc: syntax typos in manpages
Stéphane Aulery [Fri, 28 Nov 2014 16:11:39 +0000 (13:11 -0300)]
doc: syntax typos in manpages

6 years agoadd-email: fixed a spurious "Valid sender address not found" in interactive-mode
Raphaël Droz [Thu, 16 Jan 2014 12:51:40 +0000 (13:51 +0100)]
add-email: fixed a spurious "Valid sender address not found" in interactive-mode
 when one of several emails addition is refused.

Original patch from Daniel <quite@hack.org>
Reported-by: Daniel <quite@hack.org>
6 years agoi18n: removed po/stamp-po from the repository
Raphaël Droz [Wed, 27 Nov 2013 16:53:02 +0000 (17:53 +0100)]
i18n: removed po/stamp-po from the repository
If present it'll most probably keep `make -C po install` from
 (re)generating gmo files (timestamp comparison).

6 years agobuild system: updating gnuconfig files to 2013-06-10
Raphaël Droz [Wed, 27 Nov 2013 13:18:12 +0000 (14:18 +0100)]
build system: updating gnuconfig files to 2013-06-10

6 years agoautotools update: 2/2: autofiles after running:
Raphaël Droz [Wed, 27 Nov 2013 13:10:45 +0000 (14:10 +0100)]
autotools update: 2/2: autofiles after running:
$ WANT_AUTOMAKE=1.13 autoreconf -vfim

Note: the gnuconfig files (config.guess and config.sub) provided are
 those from Gentoo's stable gnuconfig ebuild (from 2013-01-11).

6 years agoautotools update: 1/2: configure.ac compatibility with automake 1.13
Raphaël Droz [Wed, 27 Nov 2013 13:09:05 +0000 (14:09 +0100)]
autotools update: 1/2: configure.ac compatibility with automake 1.13

6 years agovcard built-in import: support of the BDAY (anniversary) vcard field
Gaetan Bisson [Tue, 26 Nov 2013 20:34:11 +0000 (21:34 +0100)]
vcard built-in import: support of the BDAY (anniversary) vcard field
vcard export: output BDAY and NICK vcard fields

6 years agovcard built-in import: fix segfaults when a subset of vcard ADR fields
Raphaël Droz [Tue, 26 Nov 2013 20:17:43 +0000 (21:17 +0100)]
vcard built-in import: fix segfaults when a subset of vcard ADR fields
 are provided (and/or a trailing semi-colon appended).

Reported-by: Gaetan Bisson <bisson@archlinux.org>
7 years agomisc: release notes updated
Raphaël Droz [Fri, 19 Apr 2013 16:30:56 +0000 (18:30 +0200)]
misc: release notes updated

7 years agocsv export: "allcsv" now outputs "custom" fields as well.
Raphaël Droz [Fri, 19 Apr 2013 16:20:13 +0000 (18:20 +0200)]
csv export: "allcsv" now outputs "custom" fields as well.

Fields using the "customN" scheme, defined using the "field" command
in the rc file, and using N between 1 and 5, are now part of the "allcsv" output.

7 years agocsv export: "allcsv" output changed
Raphaël Droz [Fri, 19 Apr 2013 15:32:39 +0000 (17:32 +0200)]
csv export: "allcsv" output changed
- fields name in the header are now lowercase
- "MOBILEPHONE" changed to "mobile"

7 years agoui: makes potentially destructive operations safe to wrong key presses.
Raphaël Droz [Thu, 18 Apr 2013 15:07:01 +0000 (17:07 +0200)]
ui: makes potentially destructive operations safe to wrong key presses.

When a deletion, a merge or a deduplication of entries is requested,
accounts (translated) key binding other than [y|n] as a "no" instead
of "yes" to avoid mistakes.

7 years agomouse: improve to new scrolling method implemented in 775cf2c
Raphaël Droz [Thu, 18 Apr 2013 15:03:24 +0000 (17:03 +0200)]
mouse: improve to new scrolling method implemented in 775cf2c
If the viewport reaches the top/bottom list limit, then further
scroll makes the cursor to move instead of the viewport.

7 years agoScroll whole list on mouse wheel action
Thorsten Wißmann [Sat, 12 May 2012 14:07:50 +0000 (16:07 +0200)]
Scroll whole list on mouse wheel action

This lets the whole list scroll on mouse action (button 5 and 6) instead
of just moving the selection. This also adds the scroll_speed option
that sets the number of lines the list is scrolled by.

7 years agomouse: added a hint about terminal ability to inhibit ncurses
Thorsten Wißmann [Wed, 23 Jan 2013 10:02:21 +0000 (11:02 +0100)]
mouse: added a hint about terminal ability to inhibit ncurses
 mouse events handling

7 years agoautotools update: 2/2: autofiles after `autoreconf -f`
Raphaël Droz [Sun, 20 Jan 2013 16:59:03 +0000 (17:59 +0100)]
autotools update: 2/2: autofiles after `autoreconf -f`

- Used autoconf-2.69, the version in the (currently frozen)
  Debian testing: wheezy
- Applied the externalization of gettext (intl/ files are not
  part of the repository anymore)
- autoheader pass: significantly reduced config.h.in

7 years agoautotools update: 1/2: main files
Raphaël Droz [Sun, 20 Jan 2013 16:54:28 +0000 (17:54 +0100)]
autotools update: 1/2: main files
* run autoupdate on configure.in
* renamed configure{.in => .ac}
* unbundle libintl: AM_GNU_GETTEXT([external])
* added a couple of files to .gitignore

7 years agoi18n: .pot and po files updated to latest code
Raphaël Droz [Sun, 20 Jan 2013 16:45:04 +0000 (17:45 +0100)]
i18n: .pot and po files updated to latest code

7 years agomiscellaneous fixes & doc: i18n, custom format and vcard
Raphaël Droz [Sun, 20 Jan 2013 16:20:44 +0000 (17:20 +0100)]
miscellaneous fixes & doc: i18n, custom format and vcard

* converted HOWTO.translating_abook to UTF-8, added a couple of lines
 about quickly installing and testing new translations and updated URL
 of some po-related softwares.

* fixed a trivial error with custom format strncpy() initialization

* vcard builtin import: removed variables unused since e3aa1d4

* vcard export: set a "PREF" EMAIL field attribute (not [yet]
  used by vcard import though)

* vcard libvformat import:
  - fixed segfault on 64bits arch where a va_list's NULL sentinel value
    must be properly casted [sizeof(int) != sizeof(char *)]
  - now really import multivalued fields (better use of libvformat):
    VFGP_FIND instead of VFGP_GET + vf_get_next_property()
  - use of abook_list instead of strconcat for multivalued fields
    (groups and emails)
  - no more duplicated phone numbers if one or more *PHONE/FAX is
    provided while no HOMEPHONE is available

7 years agovcard import: fixing the "ADR" field
Raphaël Droz [Sun, 13 Jan 2013 12:31:20 +0000 (13:31 +0100)]
vcard import: fixing the "ADR" field
* cleaner code for vcard_parse_address() (the abook's built-in vcard parser)
* vcard_parse_address() now parses "ADR" w.r.t. rfc6350
* fixed the libvformat-based "ADR" import in a similar way

7 years agovcard export: ADR field's components now respect the order
Sébastien Guillet [Sun, 13 Jan 2013 11:49:10 +0000 (12:49 +0100)]
vcard export: ADR field's components now respect the order
 defined by the rfc6350 section-6.3.1.

7 years ago* custom output format: fixes and enhancements
Raphaël Droz [Wed, 2 Jan 2013 13:56:45 +0000 (14:56 +0100)]
* custom output format: fixes and enhancements
 - support for the {groups} placeholder
 - support for escaped characters (\n, \t, ...)
 - removed the leading empty line from the output
 - fix segfaults when an empty or a special format string
  was provided
 - referenced --outformatstr in --help
 - code cleanup: use of built-in ITEM_FIELDS and standard_fields[]
  to fetch standard fields numbering

* vcard output: removed the leading empty line
(which is mutt-specific)

* colors: added the has_colors() ncurses check
before actually initializing colors.

* Changelog, RELEASE_NOTES, AUTHORS and THANKS files updated

7 years agoldif: removed ldif_fix_string()
Raphaël Droz [Wed, 19 Dec 2012 01:55:28 +0000 (02:55 +0100)]
ldif: removed ldif_fix_string()
WARNING: this will change the default output file
 encoding when importing a LDIF input!

- An LDIF input of UTF-8 entries is base64-encoded (RFC)
 str_parse_line() already supports that pretty well.
- But ldif_fix_string(), present since the initial
 CVS revision of abook, forces the conversion of utf-8
 wide-chars to latin1.
- And that's why iconv exists

=> so let's drop it unless someone complains for a good reason.

7 years agoldif: export all available emails for an entry
Raphaël Droz [Wed, 19 Dec 2012 01:53:05 +0000 (02:53 +0100)]
ldif: export all available emails for an entry

All available emails are now part of the LDIF output
in the form of multiple "email:" attributes.

7 years agoldif: deeply reworked LDIF fields processing!
Raphaël Droz [Wed, 19 Dec 2012 01:36:29 +0000 (02:36 +0100)]
ldif: deeply reworked LDIF fields processing!

* import: now relies on item_f*t() only when it's safe
  Internal field assignation used to be very wrong what made the
  LDIF import unreliable. This is not the case anymore
* import: ability to consider additional aliases of LDIF attributes,
  eg: "zip" for "postalcode", "fax" for "facsimiletelephonenumber", ...
* import: multiple emails support (up to 2, naturally)
* import/export: added support for "description" (NOTES),
  "anniversary" and "ou" (GROUPS)
* export: replaced the attribute named "xmozillaanyphone" by
  the _more standard_ "telephonenumber"

Code has been heavily commented and hopefully opens the way
 to a better and more extensible LDIF importer.

The last chunk of that patch is a bit unclear but very simple:
  LDIF export got rid of some uneeded indirections: there's no point
  in testing LDIF_ITEM_FIELDS and doing ldif_conv_table[] translations.
  Iterating over j until ITEM_FIELDS to grab names from
  ldif_field_names[j] is enough.

Other than new features, effective changes to LDIF export
 brought by this commit are:
* attribute order is changed (eg: the URL attribute will
  displayed after MOBILEPHONE)
* no more empty ",mail:" in the "dn:" when no email exists
* export now uses the "telephonenumber" attribute
  instead of "xmozillaanyphone" previously
The LDIF import may be (undetectably) slower.

That being said, the results a the below command are now
 far more reliable.
$ diff ~/.abook/addressbook
       <( ./abook --convert --infile ~/.abook/addressbook --outformat ldif | \
          ./abook --convert --informat ldif --outformat abook )

7 years agoldif: Don't arbitrarily reject LDIF records missing a
Raphaël Droz [Thu, 13 Dec 2012 17:00:35 +0000 (18:00 +0100)]
ldif: Don't arbitrarily reject LDIF records missing a
 "xmozillanickname" (NICK) field.

7 years agoldif: don't dump "email:" if the email field is empty.
Raphaël Droz [Thu, 13 Dec 2012 16:31:17 +0000 (17:31 +0100)]
ldif: don't dump "email:" if the email field is empty.

7 years agoldif: support parsing from stdin
Raphaël Droz [Thu, 13 Dec 2012 15:47:00 +0000 (16:47 +0100)]
ldif: support parsing from stdin

ldif parser used to seek in the file handler to grab multi-line
 strings, thus creating buggy records when input was stdin.
It now reads-ahead the next line in order to work consistently with
 unseekable streams like stdin.

7 years agoldif: cleanup ldif_convert()
Raphaël Droz [Thu, 13 Dec 2012 16:01:14 +0000 (17:01 +0100)]
ldif: cleanup ldif_convert()

* removed the "dirty hack" about LDIF_ITEM_FIELDS
* removed a useless free() causing segfaults
* don't process "objectclass" fields as we don't do anything about them

7 years agoldif: Don't process the whole list of ldif fields, once one
Christian Brabandt [Thu, 13 Dec 2012 15:57:32 +0000 (16:57 +0100)]
ldif:  Don't process the whole list of ldif fields, once one
 has been found matching.

See:
* http://permalink.gmane.org/gmane.comp.tools.abook.devel/40

7 years agoldif: According to RFC 2849, LDIF field names are not case-sensitive.
Christian Brabandt [Thu, 13 Dec 2012 11:46:14 +0000 (12:46 +0100)]
ldif: According to RFC 2849, LDIF field names are not case-sensitive.

See:
* http://permalink.gmane.org/gmane.comp.tools.abook.devel/39
* http://article.gmane.org/gmane.mail.mutt.user/39770

7 years agovformat: fixed a build failure when libvformat is not enabled.
Raphaël Droz [Wed, 12 Dec 2012 00:15:53 +0000 (01:15 +0100)]
vformat: fixed a build failure when libvformat is not enabled.
 (what is the default)

vcard.[ch] files shouldn't be included if they are unwanted.
 Makefile.am and configure.in have been fixed and auto'files
 regenerated.

Reported-by: Raniere <ra092767@ime.unicamp.br>
7 years agovformat: make use of libvformat to parse vcard input
Raphaël Droz [Wed, 7 Nov 2012 23:04:01 +0000 (00:04 +0100)]
vformat: make use of libvformat to parse vcard input

7 years agovformat: Makefile.in regenerated
Raphaël Droz [Wed, 7 Nov 2012 23:03:34 +0000 (00:03 +0100)]
vformat: Makefile.in regenerated

7 years agovformat: added new files to Makefile.am
Raphaël Droz [Wed, 7 Nov 2012 23:03:25 +0000 (00:03 +0100)]
vformat: added new files to Makefile.am

7 years agovformat: added abook's specific libvformat wrapper: vcard.[ch]
Raphaël Droz [Wed, 7 Nov 2012 23:03:06 +0000 (00:03 +0100)]
vformat: added abook's specific libvformat wrapper: vcard.[ch]

7 years agovformat: autoreconf
Raphaël Droz [Wed, 7 Nov 2012 18:43:08 +0000 (19:43 +0100)]
vformat: autoreconf

7 years agovformat: libvformat configure option added to configure.in
Raphaël Droz [Wed, 7 Nov 2012 18:42:56 +0000 (19:42 +0100)]
vformat: libvformat configure option added to configure.in

7 years agoUpdated to latest autotools: automake-1.11.6, autoconf-2.68 $ autoreconf -f
Raphaël Droz [Wed, 7 Nov 2012 18:20:02 +0000 (19:20 +0100)]
Updated to latest autotools: automake-1.11.6, autoconf-2.68 $ autoreconf -f

7 years agocommand-line containing --outformat is less-error prone.
Raphaël Droz [Mon, 3 Dec 2012 13:28:58 +0000 (14:28 +0100)]
command-line containing --outformat is less-error prone.

Since --convert isn't mandatory anymore for --outformat to be used
(what was conflicting with --mutt-query), we removed the call to
set_convert_var() in 141acfcc.

We now need to test that one of MODE_CONVERT and MODE_QUERY is 'on'
before allowing the use of --outformat.
$ abook --outformat anyformat < file # won't hang anymore

7 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)

7 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.