Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Plugins
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Laurent Defert - 2006-02-25
Last edited by Robert Menes - 2012-01-04

FS#4728 - Contact plugin

Contact plugin.
Tested on archos recorder, recorder sim and x5 sim, but should work on all target.
Import VCF cards v3.0 when used as a viewer (v2 cards can also be imported but don’t support charset translation to utf8)
I only tested vcf cards from Kontact (KDE’s contact manager), so it might be buggy with other contacts manager vcard (just tell me, so I can correct errors).

The number of contact is limited to 64, as it’s the biggest value supported by the archos recorder. Feel free to send me the biggest values for others dap, in order to put this value to the maximum of each target.

Any bug report welcome!

Closed by  Robert Menes
2012-01-04 16:24
Reason for closing:  Out of Date
Additional comments about closing:  

Neglected and unloved since 2007; closed per author's request.

Laurent Defert commented on 2006-02-25 13:57

Compatibility with Evolutions’s Vcards added

Laurent Defert commented on 2006-02-25 19:49

Compute the max number of contacts at runtime
Switch to rockbox identation ;)

Laurent Defert commented on 2006-02-25 21:12

Use audio buffer when plugin buffer is full. (switch from a limitation of 106 contacts to 5652)
Finally, conform with rockbox coding rules.

Laurent Defert commented on 2006-03-27 15:54

Fix a last warning, and fix compilation a issue on some targets reported on IRC by b00st4.

Peter commented on 2006-05-19 21:38

Hi can anybody tell how get this code to work. I need to know how I can compile it (flags, etc.)

Peter commented on 2006-05-21 15:49

did it. works fine. Nice Work… thx

Julien commented on 2007-03-24 18:46

Can somebody explain to me where I have to export this file (to rockbox/viewers?)

Peter D'Hoye commented on 2007-07-31 21:03

This plugin no longer compiles cleanly.
If you update it I’ll consider committing it…

Laurent Defert commented on 2007-09-03 19:52

Updated
The file is a diff against R14596

Laurent Defert commented on 2007-09-03 23:24

Arg.. Ignore last comment (updated the first version of the plugin…)
New patch against R14599

PurlingNayuki commented on 2010-11-14 10:35

Compiling with r-27522 returns errors. Logs:
CC apps/plugins/contact.c
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:30: error: conflicting types for ‘rb’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:25: error: previous declaration of ‘rb’ was here
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:74: error: conflicting types for ‘memcpy’
/home/yzflcyq/pmp-firmware/firmware/libc/include/string.h:22: error: previous declaration of ‘memcpy’ was here
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘edit_birthday’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:96: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:97: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:98: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘display_contact’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:178: error: too few arguments to function ‘rb→do_menu’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘edit_contact_menu’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:186: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘new_contact’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:251: error: too many arguments to function ‘rb→splash’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘property_menu’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:294: error: too few arguments to function ‘rb→do_menu’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘display_contact_list’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:306: error: too few arguments to function ‘rb→do_menu’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘load_contact’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:446: error: too many arguments to function ‘rb→splash’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘save_contact’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:463: error: too few arguments to function ‘rb→creat’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘vcf_parse_name’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:496: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:502: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘vcf_parse_adress’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:525: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘load_vcard’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:548: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:551: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:554: error: ‘struct plugin_api’ has no member named ‘strncpy’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: In function ‘import_vcf_card’:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:573: error: too many arguments to function ‘rb→splash’
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c: At top level:
/home/yzflcyq/pmp-firmware/apps/plugins/contact.c:632: error: conflicting types for ‘plugin_start’
/home/yzflcyq/pmp-firmware/apps/plugin.h:956: error: previous declaration of ‘plugin_start’ was here
make: *** [/home/yzflcyq/pmp-firmware/Perfect-747/apps/plugins/contact.o] 错误 1

DEFERT commented on 2010-11-14 23:39

Well, this patch was first posted on 2006, then was updated on 2007, consider closing it now …

Robert Menes commented on 2012-01-04 16:23

Closing it; no one has worked on it in ages, and the original author’s even asking to close it.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing