]> git.deb.at Git - pkg/abook.git/log
pkg/abook.git
2 years agoUpload 0.6.1-2 to unstable master debian/0.6.1-2
Rhonda D'Vine [Sat, 27 Nov 2021 10:19:26 +0000 (11:19 +0100)]
Upload 0.6.1-2 to unstable

2 years agoBump watchfile version to 4
Rhonda D'Vine [Sat, 27 Nov 2021 10:14:21 +0000 (11:14 +0100)]
Bump watchfile version to 4

2 years agoConvert debian/po/{de,fr,sv}.po to utf8
Rhonda D'Vine [Fri, 26 Nov 2021 08:44:53 +0000 (09:44 +0100)]
Convert debian/po/{de,fr,sv}.po to utf8

3 years agoremove trailing whitespace
Rhonda D'Vine [Fri, 12 Nov 2021 11:33:12 +0000 (12:33 +0100)]
remove trailing whitespace

3 years agoMove VCS to salsa
Rhonda D'Vine [Fri, 12 Nov 2021 11:32:25 +0000 (12:32 +0100)]
Move VCS to salsa

3 years agoRemove B-D dh-autoreconf, not needed in compat 13
Rhonda D'Vine [Fri, 12 Nov 2021 11:30:21 +0000 (12:30 +0100)]
Remove B-D dh-autoreconf, not needed in compat 13

3 years agochange tabs to spaces
Rhonda D'Vine [Fri, 12 Nov 2021 11:29:49 +0000 (12:29 +0100)]
change tabs to spaces

3 years agoBump standards version to 4.6.0
Rhonda D'Vine [Fri, 12 Nov 2021 11:28:35 +0000 (12:28 +0100)]
Bump standards version to 4.6.0

3 years agoRevert "Fix FTBFS with clang (Closes: #756536)"
Rhonda D'Vine [Fri, 12 Nov 2021 11:23:11 +0000 (12:23 +0100)]
Revert "Fix FTBFS with clang (Closes: #756536)"

This reverts commit 4608c09338cbda50a6076ae82e1d20849656775e.

3 years agoBump debhelper-compat to 13
Rhonda D'Vine [Thu, 4 Nov 2021 10:59:22 +0000 (11:59 +0100)]
Bump debhelper-compat to 13

3 years agoFix FTBFS with clang (Closes: #756536)
Rhonda D'Vine [Thu, 4 Nov 2021 10:18:00 +0000 (11:18 +0100)]
Fix FTBFS with clang (Closes: #756536)

3 years agoPull in copyright file prepared by Bastian Germann
Rhonda D'Vine [Thu, 4 Nov 2021 10:13:05 +0000 (11:13 +0100)]
Pull in copyright file prepared by Bastian Germann

7 years agoready for upload
Denis Briand [Fri, 4 Aug 2017 23:50:15 +0000 (01:50 +0200)]
ready for upload

7 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

7 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

8 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

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

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

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

8 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

8 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'

8 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

8 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

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

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

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

8 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

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

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

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

8 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

8 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

8 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

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

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

9 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

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

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

9 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'

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

9 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

9 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'

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

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

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

9 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

9 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

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

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

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

9 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

9 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

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

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

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

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

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

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

9 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

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

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

9 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

9 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

9 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

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

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

9 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

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

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

9 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;

9 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

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

10 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

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

10 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

11 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

11 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>
11 years agomisc: release notes updated
Raphaël Droz [Fri, 19 Apr 2013 16:30:56 +0000 (18:30 +0200)]
misc: release notes updated

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

11 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"

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

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

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

11 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

11 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

11 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

11 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

11 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

11 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

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

11 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

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

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

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

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

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

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

11 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

11 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