aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/tools
Commit message (Collapse)AuthorAgeFilesLines
* Fix/mute issues found by Coverity scanMilan Crha2013-11-151-1/+1
| | | | | | | | | | | | This makes the code free of Coverity scan issues. It is sometimes quite pedantic and expects/suggests some coding habits, thus certain changes may look weird, but for a good thing, I hope. The code is also tagged with Coverity scan suppressions, to keep the code as is and hide the warning too. Also note that Coverity treats g_return_if_fail(), g_assert() and similar macros as unreliable, and it's true these can be disabled during the compile time, thus it brings in other set of 'weird' changes.
* Remove all g_type_init() calls.Matthew Barnes2013-09-281-2/+0
| | | | g_type_init() is deprecated in GLib 2.36.
* Miscellaneous cleanups.Matthew Barnes2013-09-081-3/+3
|
* evolution-addressbook-export: Remove main loop event flushing.Matthew Barnes2013-03-091-6/+0
| | | | | Not needed anymore since it finally dawned on me to use weak references in main loop event closures. The EBookClient now dies when it should.
* evolution-addressbook-export: Flush event sources before exiting.Matthew Barnes2013-02-261-0/+6
| | | | | | Flush any undispated event sources from the default main loop context. Since this program does not use a main loop, these event sources would otherwise leak.
* evolution-addressbook-export: Return nothing from action functions.Matthew Barnes2013-02-263-12/+8
| | | | The previous return value was not being checked anyway.
* evolution-addressbook-export: Add ESourceRegistry to ActionContext.Matthew Barnes2013-02-264-15/+15
|
* evolution-addressbook-export: Make ActionContext a struct.Matthew Barnes2013-02-264-37/+25
| | | | Defining this as a union makes the code needlessly verbose.
* evolution-addressbook-export: Remove --async option.Matthew Barnes2013-02-263-127/+15
| | | | Pointless option, does the same as "evolution-addressbook-export &".
* Use e_book_client_connect().Matthew Barnes2013-01-302-12/+15
| | | | Instead of e_client_utils_open_new() and e_book_client_new().
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-044-11/+4
|
* Adapt addressbook/tools to the new ESource API.Matthew Barnes2012-06-034-87/+124
|
* Adapt to libedataserver[ui] changes.Matthew Barnes2012-04-221-2/+2
|
* Bug 666675: Remove evolution-addressbook-cleanMatthew Barnes2011-12-232-37/+2
| | | | | References evolution-addressbook-import, which was removed in 2007. Clearly no point in keeping this script around.
* Simplify library dependency flags.Matthew Barnes2011-10-051-2/+2
| | | | | | | | | We have a confusing array of nearly-identical CFLAGS/LIBS definitions in configure.ac. Time to simplify. Instead let's just have one definition that includes all the libraries provided by Evolution-Data-Server (incl. Camel). That, in combination with GNOME_PLATFORM, gives us most of what we need for compliation and linking, and we can sprinkle definitions for additional library dependencies in Makefile.am's as needed.
* Bug 660799 - Bad GOptionEntry in evolution-addressbook-exportMatthew Barnes2011-10-041-1/+1
| | | | G_OPTION_FLAG_FILENAME is only for G_OPTION_ARG_CALLBACK options.
* Coding style and whitespace cleanup.Matthew Barnes2011-09-043-13/+23
|
* Do not use deprecated EBook/ECal APIMilan Crha2011-06-143-39/+69
|
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-283-3/+0
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-272-0/+4
|
* Coding style cleanups.Matthew Barnes2011-05-092-2/+2
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-081-1/+3
|
* Increase safety on WindowsFridrich Štrba2010-09-151-0/+36
| | | | Call SetDllDirectory() to reduce risk of DLL hijacking, and call SetProcessDEPPolicy() to reduce risk of rogue code execution.
* Bug #604670 - addressbook-export segfaults when specifying addressbookMilan Crha2010-01-141-0/+2
|
* Bug 598027 - Use vCard instead of VCardMatthew Barnes2009-10-111-2/+2
|
* Bug 596848 - Use per-target CPPFLAGS in automake filesH.Habighorst2009-10-011-3/+3
|
* Fix excessive whitespace.Matthew Barnes2009-07-132-14/+0
|
* Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am.Matthew Barnes2009-07-011-1/+1
|
* Use G_BEGIN_DECLS / G_END_DECLS macros.Matthew Barnes2009-06-191-7/+2
|
* Avoid the console popping while evolution running on windowsFridrich Strba2009-06-051-0/+4
|
* Whitespace cleanup.Matthew Barnes2009-05-291-2/+2
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-293-15/+15
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-294-4/+4
|
* Fix compiler warnings in addressbook.Matthew Barnes2009-05-261-2/+1
|
* Use Behdad's brilliant git.mk to generate .gitignore files.Matthew Barnes2009-05-021-0/+2
|
* Bug 580892 – Kill libgnomeui/gnome-app and gnome-app-helperMatthew Barnes2009-05-013-14/+8
| | | | | The only remaining case is widgets/test/test-dropdown-button.c, but this file will be removed when the kill-bonobo branch is merged.
* ** Fix for bug #511918Milan Crha2008-10-171-96/+85
| | | | | | | | | | | | | | 2008-10-17 Milan Crha <mcrha@redhat.com> ** Fix for bug #511918 * tools/evolution-addressbook-export-list-cards.c: (struct _EContactCSVFieldData), (csv_field_data[]), (e_contact_csv_get_data_type), (e_contact_csv_get): Use TRUE/FALSE texts for boolean values and do not free returned value for them, otherwise it crashes. svn path=/trunk/; revision=36632
* Change license from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-191-13/+12
| | | | svn path=/trunk/; revision=36381
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-031-13/+12
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* ** Fix for bug #534762Philip Withnall2008-08-272-2/+2
| | | | | | | | | | | 2008-08-27 Philip Withnall <philip@tecnocode.co.uk> ** Fix for bug #534762 Change "addressbook" to "address book" in translatable strings. svn path=/trunk/; revision=36117
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-272-24/+24
| | | | svn path=/trunk/; revision=36116
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-214-4/+4
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-1/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* Patch from Christian Krause <chkr@plauener.de>: Fix for bug #506772 ↵Suman Manjunath2008-01-071-1/+1
| | | | | | (Not-NULL check for a string array before finding its length), handle NULL filename strings before backup/restore/check operations in the backup-restore plugin. svn path=/trunk/; revision=34768
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-1/+1
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Remove dead files from source control. The dates below indicate whenMatthew Barnes2007-11-032-181/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-03 Matthew Barnes <mbarnes@redhat.com> ** Remove dead files from source control. The dates below indicate when the file was removed from Makefile.am. Fixes part of bug #478704. * addressbook/printing/e-contact-print-envelope.c (Apr 2007) * addressbook/printing/e-contact-print-envelope.h (Apr 2007) * addressbook/tools/evolution-addressbook-abuse.c (May 2004) * addressbook/tools/evolution-addressbook-import.c (no history) * calendar/gui/dialogs/calendar-setup.glade (Nov 2004) * calendar/gui/dialogs/meeting-page.etspec (Sep 2003) * calendar/gui/dialogs/new-calendar.glade (Jan 2003) * calendar/gui/dialogs/new-task-list.glade (Jan 2004) * calendar/gui/dialogs/url-editor-dialog.c (Dec 2005) * calendar/gui/dialogs/url-editor-dialog.glade (Dec 2005) * calendar/gui/dialogs/url-editor-dialog.h (Dec 2005) * calendar/gui/e-pub-utils.c (Dec 2005) * calendar/gui/e-pub-utils.h (Dec 2005) * calendar/gui/gnome-calendar-conduit.png (May 2000) * e-util/e-categories-master-list-wombat.c (Jun 2005) * e-util/e-categories-master-list-wombat.h (Jun 2005) * tools/evolution-launch-composer.c (Jun 2003) * configure.in: Remove plugins/mail-remote/Makefile from AC_OUTPUT. Fixes a distcheck error. * po/POTFILES.in: Remove files for mail-remote plugin. svn path=/trunk/; revision=34487
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-025-10/+10
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-5/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* Minor typos in strings.Claude Paroz2007-07-211-1/+1
| | | | svn path=/trunk/; revision=33825
* make the path to perl configurable and add addressbook/tools/csv2vcard toLaszlo (Laca) Peter2007-06-203-2/+3
| | | | | | | | | | | | | | | | | | | | 2007-06-20 Laszlo (Laca) Peter <laca@sun.com> * configure.in: make the path to perl configurable and add addressbook/tools/csv2vcard to AC_OUTPUT. Part of the fix for bug #433732 2007-06-20 Laszlo (Laca) Peter <laca@sun.com> ** Fix for bug #433732 * tools/Makefile.am: expand @PERL@ in evolution-addressbook-clean.in * tools/csv2vcard: rename to csv2vcard.in * tools/csv2vcard.in: make the path to perl configurable * tools/evolution-addressbook-clean.in: make the path to perl configurable svn path=/trunk/; revision=33711
* *tools/evolution-addressbook-export-list-cards.c: Fixes 394932.Wang Xin2007-05-081-2/+4
| | | | | | | | | | 2007-05-08 Wang Xin <jedy.wang@sun.com> *tools/evolution-addressbook-export-list-cards.c: Fixes 394932. svn path=/trunk/; revision=33493
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-51/+62
| | | | svn path=/trunk/; revision=33432
* ** Fix for bug #426743. Corrected typo "asychronous".Elizabeth Greene2007-04-101-1/+1
| | | | | | | | | | | 2007-04-10 Elizabeth Greene <nerdygirl_ellie@yahoo.com> ** Fix for bug #426743. * addressbook/tools/evolution-addressbook-export.c: Corrected typo "asychronous". svn path=/trunk/; revision=33415
* changing old evo1.4 path to current path. Fixes bug 307513. Committing onAli Akcaagac / Andre Klapper2006-01-091-1/+1
| | | | | | | | | 2006-01-09 Ali Akcaagac / Andre Klapper <a9016009@gmx.de> * tools/evolution-addressbook-clean.in: changing old evo1.4 path to current path. Fixes bug 307513. Committing on behalf of Ali Akcaagac. svn path=/trunk/; revision=31104
* Use gstdio wrappers. Use GDir API instead of dirent. Use GLib to convertTor Lillqvist2005-12-171-1/+2
| | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * tools/evolution-addressbook-export-list-folders.c: Use gstdio wrappers. Use GDir API instead of dirent. Use GLib to convert file names to URIs and back. Open files in binary mode. svn path=/trunk/; revision=30802
* Use gstdio wrappers. No fork() on Windows, but the fork-to-backgroundTor Lillqvist2005-12-171-2/+13
| | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * tools/evolution-addressbook-export-list-cards.c: Use gstdio wrappers. No fork() on Windows, but the fork-to-background functionality doesn't seem essential? svn path=/trunk/; revision=30801
* Fixes the crash while exporting contacts in csv format. Fixes #269870Sushma Rai2005-08-221-7/+11
| | | | svn path=/trunk/; revision=30194
* Fixes the bug #269870. Commiting Michael Meeks patch.Srinivasa Ragavan2005-07-291-1/+6
| | | | | | | | | 2005-07-29 Srinivasa Ragavan <sragavan@novell.com> * tools/evolution-addressbook-export-list-cards.c: (output_n_cards_file) Fixes the bug #269870. Commiting Michael Meeks patch. svn path=/trunk/; revision=29928
* Fixing bug 61068 (removing a white space in a string)Andre Klapper2005-01-031-1/+1
| | | | | | | | | 2004-12-21 Andre Klapper <a9016009@gmx.de> * tools/evolution-addressbook-export.c: Fixing bug 61068 (removing a white space in a string) svn path=/trunk/; revision=28211
* Fixing a typo (bug 61069).Andre Klapper2004-10-281-1/+1
| | | | | | | | | 2004-10-27 Andre Klapper <a9016009@gmx.de> * tools/evolution-addressbook-export.c: Fixing a typo (bug 61069). svn path=/trunk/; revision=27738
* Fixes #61978Pamplona Hackers2004-09-241-1/+1
| | | | | | | | | | | 2004-09-23 Pamplona Hackers <gnome-desarrollo@es.gnome.org> Fixes #61978 * tools/evolution-addressbook-export.c (main): use more meaningful error message. svn path=/trunk/; revision=27349
* Changed the string into proper grammar 'In normal mode, there should notFazlu & Hannah2004-09-241-1/+1
| | | | | | | | | | | 2004-09-23 Fazlu & Hannah <hannah_lins@yahoo.co.in> * tools/evolution-addressbook-export.c (main): Changed the string into proper grammar 'In normal mode, there should not need size option.' to 'In normal mode, there is no need for the size option.' svn path=/trunk/; revision=27347
* Change to privlibexec_PROGRAMSRodney Dawes2004-06-301-1/+1
| | | | | | | | | | 2004-06-29 Rodney Dawes <dobey@novell.com> * tools/Makefile.am (bin_PROGRAMS): Change to privlibexec_PROGRAMS Fixes #60832 svn path=/trunk/; revision=26549
* fix this for current build foo.Chris Toshok2004-05-254-410/+414
| | | | | | | | | | | | 2004-05-24 Chris Toshok <toshok@ximian.com> * tools/Makefile.am: fix this for current build foo. * tools/evolution-addressbook-export-list-folders.c, * tools/evolution-addressbook-export-list-cards.c, * tools/evolution-addressbook-export.c: revive this. svn path=/trunk/; revision=26065
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-071-1/+0
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * */Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23658
* convert 8 spaces to a tab.Chris Toshok2003-10-242-1/+3
| | | | | | | | | | | | | | | | | | | 2003-10-23 Chris Toshok <toshok@ximian.com> * tools/Makefile.am: convert 8 spaces to a tab. * tools/.cvsignore: ignore evolution-addressbook-abuse and evolution-addressbook-clean. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): add libevolution-smime.la. * gui/component/component-factory.c (factory): add the certificate manager config control stuff here, at least for now. * gui/component/GNOME_Evolution_Addressbook.server.in.in: same. svn path=/trunk/; revision=23048
* use the synchronous api for this. simplifies it a bunch.Chris Toshok2003-10-231-56/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-21 Chris Toshok <toshok@ximian.com> * tools/evolution-addressbook-abuse.c: use the synchronous api for this. simplifies it a bunch. 2003-10-21 Chris Toshok <toshok@ximian.com> * backend/pas/pas-book.c (impl_GNOME_Evolution_Addressbook_Book_remove): we can ill afford bad debug spew. (view_listener_died_cb): implement. (impl_GNOME_Evolution_Addressbook_Book_getBookView): hook up an ORBit_small connection listener on the view's listener. (pas_book_respond_create): use e_contact_get_const instead of e_contact_get here. fixes a leak. * backend/pas/pas-book-view.c (impl_GNOME_Evolution_Addressbook_BookView_stop): implement, call pas_backend_stop_book_view. (pas_book_view_get_listener): return the book view's listener. (pas_book_view_class_init): fill in epv->stop. (pas_book_view_init): use a #define for THRESHOLD_MAX instead of the constant. * backend/pas/pas-book-view.h: add prototype for pas_book_view_get_listener. * backend/pas/pas-backend.c (pas_backend_stop_book_view): implement. (pas_backend_remove_book_view): implement. * backend/pas/pas-backend.h: add prototype for stop_book_view and remove_book_view. * backend/pas/pas-backend-vcf.c (load_file): pass in the fd and use fdopen here. (foreach_build_list): don't creat EContacts here, because we'll just be converting them back to vcards anyway. (save_file): use char*'s instead of EContacts, and split entries with 2 blank lines. Also, hold the lock over the entire function. (do_create): hold the lock around uid generation and touching the hash table. (pas_backend_vcf_process_remove_contacts): same. (pas_backend_vcf_process_modify_contact): same. (pas_backend_vcf_stop_book_view): new function, but leave unimplemented for now. (pas_backend_vcf_load_uri): the uri contains the directory name, not the filename. (pas_backend_vcf_dispose): grab the lock here just for sanity's sake. Also reorder things a bit, and free the hashtable and mutex. (pas_backend_vcf_init): init the mutex. * backend/pas/pas-backend-summary.c (pas_backend_summary_add_contact): don't unref the contact here. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_stop_book_view): new function, but leave unimplemented for now. * backend/pas/pas-backend-file.c (build_summary): use an EContact for this call. (do_summary_query): nuke, the contents of this has been moved to start_book_view. (pas_backend_file_search_timeout): same. (pas_backend_file_search): same. (pas_backend_file_start_book_view): glom everything into here involving searching. This function could (and should) be renamed and reused from both this function and _get_contact_list. (pas_backend_file_stop_book_view): new function. (pas_backend_file_class_init): fill in backend->stop_book_view. * backend/pas/Makefile.am (LDAP_BACKEND): libpasldap.a -> libpasldap.la (noinst_LTLIBRARIES): *.a -> *.la. (libpas_la_SOURCES): same. (libpasfile_la_SOURCES): same. (libpasvcf_la_SOURCES): same. (libpasldap_la_SOURCES): same. * backend/idl/addressbook.idl: add BookView::stop. * backend/ebook/e-vcard.c (read_attribute_value): fix GString related leaks. (read_attribute_params): same. (parse): don't leak the EVCardAttributes corresponding to BEGIN/END:vCard. (free_gstring): new function (e_vcard_attribute_remove_values): free the decoded_values list, using free_gstring. * backend/ebook/e-book.c (e_book_response_get_book_view): ref the listener here. * backend/ebook/e-book-view.h: add prototype for e_book_view_stop. * backend/ebook/e-book-view.c (e_book_view_stop): new function. * backend/ebook/e-book-async.c (_get_book_view_response_dtor): unref the book view. svn path=/trunk/; revision=23000
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-225-4/+498
| | | | svn path=/trunk/; revision=22965
* remove duplicate HOME_COUNTRY field add.Gilbert Fang2003-04-301-2/+0
| | | | | | | | | 2003-04-29 Gilbert Fang <gilbert.fang@sun.com> * tools/evolution-addressbook-export-list-cards.c (set_pre_defined_field): remove duplicate HOME_COUNTRY field add. svn path=/trunk/; revision=21015
* [ fixes bug #41843] use e_card_simple_get_ecard_field instead ofChris Toshok2003-04-281-1/+1
| | | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41843] * tools/evolution-addressbook-export-list-cards.c (e_card_simple_csv_get_name): use e_card_simple_get_ecard_field instead of e_card_simple_get_name, so the return value won't be localized. svn path=/trunk/; revision=20978
* [ fixes bug #23036 ] : new and improved export utility.Gilbert Fang2003-04-086-0/+1160
2003-04-07 Gilbert Fang <gilbert.fang@sun.com> [ fixes bug #23036 ] * tools/evolution-addressbook-export.c, tools/evolution-addressbook-export-list-cards.c, tools/evolution-addressbook-export-list-folders.c: : new and improved export utility. svn path=/trunk/; revision=20709