Chris Toshok [Wed, 25 Feb 2004 07:24:05 +0000 (07:24 +0000)]
don't leak uid.
2004-02-24 Chris Toshok <toshok@ximian.com>
* libedataserver/e-source-group.c
(e_source_group_new_from_xmldoc): don't leak uid.
Not Zed [Wed, 25 Feb 2004 03:47:04 +0000 (03:47 +0000)]
moved the RECNET flag into the folder area (bit 17-30).
2004-02-25 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-summary.h (CAMEL_IMAP_MESSAGE_RECENT):
moved the RECNET flag into the folder area (bit 17-30).
2004-02-24 Not Zed <NotZed@Ximian.com>
** See bug #53876.
* providers/imap/camel-imap-command.c (camel_imap_command): ref
the folder before unreffing store->current_folder, incase they're
the same. Do a select anyway.
* providers/imap/camel-imap-folder.c (imap_refresh_info): keep the
connect_lock for longer, imap_rescan for one assumes its locked.
Fixes a race selecting the folder for refresh.
Hans Petter Jansson [Wed, 25 Feb 2004 01:22:45 +0000 (01:22 +0000)]
Don't unref the *new* book after returning it to user. This was causing
2004-02-24 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book-async.c (_default_book_response_dtor): Don't
unref the *new* book after returning it to user. This was causing
hard to trace crashes.
* libebook/e-book.c (e_book_get_default_addressbook): Correctly
assert the pointer-to-pointer, not the pointed-to pointer.
Chris Toshok [Tue, 24 Feb 2004 23:44:39 +0000 (23:44 +0000)]
wrap spew in "#define d(x)". (e_vcard_attribute_add_value_decoded): same.
2004-02-23 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (parse): wrap spew in "#define d(x)".
(e_vcard_attribute_add_value_decoded): same.
(_evc_base64_encode_close): same.
(_evc_base64_encode_step): same.
* libebook/e-contact.c (e_contact_set_property): wrap spew in
"#define d(x)".
(e_contact_set): same.
(e_contact_get_email_list): nuke dead function.
* libebook/e-book.c (e_book_add_contact): wrap spew in "#define
d(x)" and reindent.
(e_book_response_add_contact): same.
(e_book_response_get_contact): same.
(e_book_response_get_book_view): same.
(e_book_response_get_contacts): reindent.
(e_book_response_get_changes): same.
(e_book_response_generic): same.
(e_book_response_open): same.
(e_book_response_remove): same.
* libebook/e-book-view-listener.c
(impl_BookViewListener_notify_contacts_added): wrap spew in
"#define d(x)".
(impl_BookViewListener_notify_contacts_removed): same.
(impl_BookViewListener_notify_contacts_changed): same.
(impl_BookViewListener_notify_sequence_complete): same.
(impl_BookViewListener_notify_progress): same.
* libebook/e-book-listener.c (impl_BookListener_respond_get_view):
wrap spew in "#define d(x)".
JP Rosevear [Tue, 24 Feb 2004 21:06:13 +0000 (21:06 +0000)]
make sure to distclean libdb
2004-02-23 JP Rosevear <jpr@ximian.com>
* Makefile.am: make sure to distclean libdb
* autogen.sh: require automake 1.6
* marshal.mk: make sure we use the srcdir as the location of the
list file
* libdb/dist/Makefile.in: add installcheck target that does
nothing, don't remove tags
* src/Makefile.am: add extra libical includes for srcdir !=
builddir
JP Rosevear [Tue, 24 Feb 2004 21:03:32 +0000 (21:03 +0000)]
additional includes for builddir != srcdir
2004-02-13 JP Rosevear <jpr@ximian.com>
* Makefile.am: additional includes for builddir != srcdir
JP Rosevear [Tue, 24 Feb 2004 21:02:17 +0000 (21:02 +0000)]
Add includes for srcdir != builddir
2004-02-23 JP Rosevear <jpr@ximian.com>
* backends/groupwise/Makefile.am: Add includes for srcdir !=
builddir
* backends/file/Makefile.am: ditto
* backends/contacts/Makefile.am: ditto
* libedata-cal/Makefile.am: ditto
* libecal/Makefile.am: di
JP Rosevear [Tue, 24 Feb 2004 21:00:00 +0000 (21:00 +0000)]
add extra includes for srcdir != builddir
2004-02-23 JP Rosevear <jpr@ximian.com>
* tests/vcard/Makefile.am: add extra includes for srcdir !=
builddir
* tests/ebook/Makefile.am: ditto
* libedata-book/Makefile.am: ditto
* libebook/Makefile.am: ditto
* backends/vcf/Makefile.am: ditto
* backends/ldap/Makefile.am: ditto
* backends/file/Makefile.am: ditto
Jeffrey Stedfast [Tue, 24 Feb 2004 20:52:44 +0000 (20:52 +0000)]
#include <signal.h>, we don't need limits.h
2004-02-24 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-process.c: #include <signal.h>, we don't need limits.h
Jeffrey Stedfast [Tue, 24 Feb 2004 17:00:02 +0000 (17:00 +0000)]
fixed the g_return_val_if_changed expr that I messed up. doh.
Jeffrey Stedfast [Tue, 24 Feb 2004 16:47:08 +0000 (16:47 +0000)]
New function to do what camel_store_uri_cmp() was supposed to do.
2004-02-24 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (camel_store_folder_uri_equal): New function to do
what camel_store_uri_cmp() was supposed to do.
Rodney Dawes [Tue, 24 Feb 2004 15:48:59 +0000 (15:48 +0000)]
If our folder has a subdir, but no actual children, then we need to unset
2004-02-23 Rodney Dawes <dobey@ximian.com>
* providers/local/camel-mbox-store.c (scan_dir): If our folder has
a subdir, but no actual children, then we need to unset the flag for
CAMEL_FOLDER_CHILDREN
Fixes #54470
Michael Zucci [Tue, 24 Feb 2004 14:01:29 +0000 (14:01 +0000)]
remove debug
Michael Zucci [Tue, 24 Feb 2004 14:00:31 +0000 (14:00 +0000)]
kill some debug
Michael Zucci [Tue, 24 Feb 2004 13:59:47 +0000 (13:59 +0000)]
kill sum debug
Jeffrey Stedfast [Mon, 23 Feb 2004 20:58:19 +0000 (20:58 +0000)]
Removed. Useless/broken function.
2004-02-23 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (camel_store_uri_cmp): Removed. Useless/broken
function.
Chris Toshok [Mon, 23 Feb 2004 18:38:53 +0000 (18:38 +0000)]
remove the test-im stuff for now
Chris Toshok [Mon, 23 Feb 2004 17:43:32 +0000 (17:43 +0000)]
add a utility so we can perform searches against addressbooks without
2004-02-23 Chris Toshok <toshok@ximian.com>
* tests/ebook/test-search.c: add a utility so we can perform
searches against addressbooks without having to bring up a gui.
* tests/ebook/Makefile.am (test_search_LDADD): add.
(noinst_PROGRAMS): add test-search
Francisco Javier F. Serrador [Mon, 23 Feb 2004 00:47:48 +0000 (00:47 +0000)]
Updated Spanish translation.
2004-02-23 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Ilkka Tuohela [Sun, 22 Feb 2004 19:50:08 +0000 (19:50 +0000)]
*** empty log message ***
Chris Toshok [Sat, 21 Feb 2004 01:20:46 +0000 (01:20 +0000)]
[ fixes bug #53994 ]
2004-02-20 Chris Toshok <toshok@ximian.com>
[ fixes bug #53994 ]
* libebook/e-book-query.c (e_book_query_get_type): new function,
supply e_book_query_copy as the CopyFunc, and e_book_query_unref
as the FreeFunc.
(e_book_query_copy): new function, just convert @q to a string and
reparse it, ala the EVCard copy function.
* libebook/e-book-query.h: add prototypes for
e_book_query_get_type and e_book_query_copy. also add
E_TYPE_BOOK_QUERY.
* libebook/e-contact.h: add
E_TYPE_CONTACT_{DATE,NAME,PHOTO,CERT,ADDRESS}.
Jeffrey Stedfast [Fri, 20 Feb 2004 19:25:34 +0000 (19:25 +0000)]
fixed
Jeffrey Stedfast [Fri, 20 Feb 2004 18:00:15 +0000 (18:00 +0000)]
Init list to NULL to prevent the crash in bug #54574.
2004-02-20 Jeffrey Stedfast <fejj@ximian.com>
* camel-provider.c (camel_provider_list): Init list to NULL to
prevent the crash in bug #54574.
Danilo Šegan [Fri, 20 Feb 2004 06:17:03 +0000 (06:17 +0000)]
Updated Serbian translation.
Chris Toshok [Fri, 20 Feb 2004 02:32:08 +0000 (02:32 +0000)]
wrap this file with #ifdef ENABLE_SMIME instead of #ifdef HAVE_NSS.
2004-02-19 Chris Toshok <toshok@ximian.com>
* camel-smime-context.c: wrap this file with #ifdef ENABLE_SMIME
instead of #ifdef HAVE_NSS.
Jeffrey Stedfast [Thu, 19 Feb 2004 18:58:18 +0000 (18:58 +0000)]
Add sanity checking to the folder name if we are going to create it, just
2004-02-19 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (get_folder): Add sanity
checking to the folder name if we are going to create it, just
like we do in create_folder().
Not Zed [Thu, 19 Feb 2004 07:27:49 +0000 (07:27 +0000)]
Fixes for api changes.
2004-02-19 Not Zed <NotZed@Ximian.com>
* providers/*/camel-*-provider.c
(camel_provider_module_init): Fixes for api changes.
* camel-provider.c (camel_provider_load): no longer take session
argument. the providers are global resources.
(camel_provider_init): dont return anything anymore. (error?)
call from camel_init now. Use a recursive lock too.
* camel-session.c (camel_session_register_provider)
(camel_session_list_providers, camel_session_get_provider): Moved
to camel-provider, camel_provider_register/list/get.
(vee_provider): moved to camel-provider.c
Jeffrey Stedfast [Wed, 18 Feb 2004 18:25:02 +0000 (18:25 +0000)]
s/parading/masquerading/
Jeffrey Stedfast [Wed, 18 Feb 2004 16:20:19 +0000 (16:20 +0000)]
Use the trust to decide the validity signature status. (Better way of
2004-02-18 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_verify): Use the trust to decide the
validity signature status. (Better way of solving yesterday's
problem)
* camel-cipher-context.h: Revert change from yesterday.
Rodrigo Moya [Wed, 18 Feb 2004 15:14:39 +0000 (15:14 +0000)]
added code to get the containers list and display all info for each
2004-02-18 Rodrigo Moya <rodrigo@ximian.com>
* soap-test.c: added code to get the containers list and display all
info for each container.
Rodrigo Moya [Wed, 18 Feb 2004 15:05:00 +0000 (15:05 +0000)]
free the value returned by soup_soap_parameter_get_property.
2004-02-18 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-item.c (e_gw_item_new_from_soap_parameter): free the value
returned by soup_soap_parameter_get_property.
Jeffrey Stedfast [Tue, 17 Feb 2004 19:45:48 +0000 (19:45 +0000)]
Set the trust.
2004-02-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_verify): Set the trust.
* camel-cipher-context.h: Add a trust metric to signatures.
Miloslav Trmac [Tue, 17 Feb 2004 15:56:55 +0000 (15:56 +0000)]
Update Czech translation
Harish Krishnaswamy [Tue, 17 Feb 2004 15:41:28 +0000 (15:41 +0000)]
: arguments to g_build_filename should be NULL terminated.
* libecal/e-cal.c :
(e_cal_new_system_calendar, e_cal_new_system_tasks) : arguments
to g_build_filename should be NULL terminated.
Not Zed [Tue, 17 Feb 2004 07:04:11 +0000 (07:04 +0000)]
implment, make sync a noop on vee stores. Speeds up exit, so we don't try
2004-02-17 Not Zed <NotZed@Ximian.com>
* camel-vee-store.c (vee_sync): implment, make sync a noop on vee
stores. Speeds up exit, so we don't try and sync and re-sync
folders multiple times.
Not Zed [Tue, 17 Feb 2004 04:52:46 +0000 (04:52 +0000)]
** See bug #53861.
2004-02-17 Not Zed <NotZed@Ximian.com>
** See bug #53861.
* providers/nntp/camel-nntp-summary.c (add_range_xover): Fix from
Edd Dumbill <edd@usefulinc.com> to avoid aborting on irrelevently
truncated lines.
JP Rosevear [Mon, 16 Feb 2004 15:59:45 +0000 (15:59 +0000)]
add e-cal-backend-groupwise.c
2004-02-16 JP Rosevear <jpr@ximian.com>
* POTFILES.in: add e-cal-backend-groupwise.c
Not Zed [Mon, 16 Feb 2004 09:38:24 +0000 (09:38 +0000)]
** See bug #51045.
2004-02-16 Not Zed <NotZed@Ximian.com>
** See bug #51045.
* providers/imap/camel-imap-store.c (fill_fi): similar to mbox
version.
(get_folder_counts): use fill_fi to try and get folder counts if
we're not doing the hard slog.
(get_one_folder_offline): use fill_fi to try to get folder counts
from open folders or summaries.
* providers/local/camel-maildir-store.c (fill_fi): similar to mbox
version.
(scan_dir): use fill_fi to get the unread count now.
* providers/local/camel-mbox-store.c (fill_fi): helper to lookup
unread count either from active folder or from summary file, if
it's available.
(scan_dir, get_folder_info): use helper above to get folder info.
* devel-docs/camel-folder-summary.txt: New document describing the
format/conventions in the CamelFolderSummary file.
* providers/nntp/camel-nntp-summary.c (summary_header_load/save):
* providers/imapp/camel-imapp-summary.c (summary_header_load/save):
* providers/imap/camel-imap-summary.c (summary_header_load/save):
Handle versions, per-class version number (1).
* providers/local/camel-mbox-summary.c (summary_header_load/save):
Handle versions properly, add a per-class version (1). Write out the
folder size as a size_t rather than 32 bit int.
* providers/local/camel-local-summary.c (summary_header_load/save):
read/write the per-class version number (1).
* camel-folder-summary.c (summary_header_load): do version
checking differently, allow the version to be bumped without
aborting the load. Added unread/deleted/junk counts to base
header.
(summary_header_save): Save out the new-format header. Version
bumped to 13.
* camel.c (camel_init): return 0 rather than spit a compiler warning.
* camel-file-utils.c (camel_file_util_encode_*_t): macro-ise the
type encoder/decoders. Also add size_t encoder/decoder.
Chris Toshok [Fri, 13 Feb 2004 20:09:06 +0000 (20:09 +0000)]
use libdb-4.1.la instead of libdb.a.
2004-02-13 Chris Toshok <toshok@ximian.com>
* libedataserver/Makefile.am (libedataserver_la_LIBADD): use
libdb-4.1.la instead of libdb.a.
* libdb/dist/configure.ac: remove all the static/shared logic and
force libtool to be used. also, remove -rpath from the SOFLAGS.
without -rpath and -static libtool builds the equivalent of a
noinst_ automake library.
* libdb/dist/configure: regen configure from configure.ac.
JP Rosevear [Fri, 13 Feb 2004 20:08:03 +0000 (20:08 +0000)]
add extra libical includes for srcdir != builddir
004-02-13 JP Rosevear <jpr@ximian.com>
* src/Makefile.am: add extra libical includes for srcdir !=
builddir
Jeffrey Stedfast [Fri, 13 Feb 2004 19:56:23 +0000 (19:56 +0000)]
added bug# to a changelog entry
Jeffrey Stedfast [Fri, 13 Feb 2004 19:45:31 +0000 (19:45 +0000)]
Same.
2004-02-13 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (get_folder_online): Same.
* providers/local/camel-mh-store.c (get_folder): Same as maildir
changes.
* providers/local/camel-maildir-store.c (get_folder): Make
exceptions strings consistanmt with the mbox exception strings
(and vise versa). Also handle the CAMEL_STORE_FOLDER_EXCL flag.
* providers/local/camel-mbox-store.c (get_folder): Check
CAMEL_STORE_FOLDER_EXCL flag.
* providers/local/camel-local-store.c (get_folder): Simplified by
using camel_mkdir instead of doing it manually.
* camel-store.c (camel_store_get_folder): If the folder exists in
the cache and the O_EXCL flag was passed, return NULL and set an
exception.
* camel-store.h: Added a new CAMEL_STORE_FOLDER_EXCL flag for use
with get_folder().
Chris Toshok [Thu, 12 Feb 2004 22:41:19 +0000 (22:41 +0000)]
unref the contacts and free the response.list.
2004-02-12 Chris Toshok <toshok@ximian.com>
* libebook/e-book-listener.c
(impl_BookListener_respond_get_contact_list): unref the contacts
and free the response.list.
* libebook/e-book.c (e_book_response_get_contacts): copy the GList
and ref the contacts in it.
Jeffrey Stedfast [Thu, 12 Feb 2004 21:34:15 +0000 (21:34 +0000)]
Since decoding a string doesn't allow strings longer than 65536, truncate
2004-02-12 Jeffrey Stedfast <fejj@ximian.com>
* camel-file-utils.c (camel_file_util_encode_string): Since
decoding a string doesn't allow strings longer than 65536,
truncate strings that are longer than 65536 here.
Chris Toshok [Thu, 12 Feb 2004 19:47:33 +0000 (19:47 +0000)]
quiet the compiler, and free the list of requested fields after the
2004-02-12 Chris Toshok <toshok@ximian.com>
* backends/contacts/e-cal-backend-contacts.c (book_record_new):
quiet the compiler, and free the list of requested fields after
the e_book_get_book_view call.
(e_cal_backend_contacts_init): use e_book_get_addressbooks instead
of using gconf and hardcoding the sourcelist xml key.
Chris Toshok [Thu, 12 Feb 2004 19:28:09 +0000 (19:28 +0000)]
use ORBIT_THREAD_HINT_ON_CONTEXT, and specify _ebook_context.
2004-02-12 Chris Toshok <toshok@ximian.com>
* libebook/e-book-listener.c (e_book_listener_new): use
ORBIT_THREAD_HINT_ON_CONTEXT, and specify _ebook_context.
* libebook/e-book.c (e_book_activate): init _ebook_context.
(startup_mainloop): fun the mainloop on _ebook_context.
Chris Toshok [Thu, 12 Feb 2004 19:26:27 +0000 (19:26 +0000)]
up our requirement to 2.9.8.
2004-02-12 Chris Toshok <toshok@ximian.com>
* configure.in (AM_PATH_ORBIT2): up our requirement to 2.9.8.
Chris Toshok [Wed, 11 Feb 2004 22:39:43 +0000 (22:39 +0000)]
fix typo.
2004-02-11 Chris Toshok <toshok@ximian.com>
* libebook/e-book-listener.c (e_book_listener_new): fix typo.
Vincent van Adrighem [Wed, 11 Feb 2004 21:07:02 +0000 (21:07 +0000)]
Translation updated by Tino Meinen.
2004-02-11 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
Marco Ciampa [Wed, 11 Feb 2004 19:09:50 +0000 (19:09 +0000)]
Updated italian translation
Chris Toshok [Wed, 11 Feb 2004 17:34:25 +0000 (17:34 +0000)]
nuke, moved to e-data-book-view.c.
2004-02-11 Chris Toshok <toshok@ximian.com>
* libedata-book/e-data-book.c (view_listener_died_cb): nuke, moved
to e-data-book-view.c.
(impl_GNOME_Evolution_Addressbook_Book_getBookView): remove the
call to ORBit_small_listen_for_broken. That's handled in
e-data-book-view.c too, and don't g_object_unref the view (it's a
BonoboObject anyway, and we can't unref it after the oneway corba
call like we could before when it wasn't oneway.)
(view_destroy): just call e_book_backend_remove_book_view.
* libedata-book/e-data-book-view.c (view_listener_died_cb): move
this here from e-data-book.c.
(e_data_book_view_construct): call ORBit_small_listen_for_broken
here.
(impl_GNOME_Evolution_Addressbook_BookView_dispose): call
ORBit_small_unlisten_for_broken, and unref the view.
(e_data_book_view_get_card_query): add arg check.
(e_data_book_view_get_backend): same.
(e_data_book_view_get_listener): same.
(e_data_book_view_class_init): fill in epv->dispose.
* libedata-book/e-book-backend.c (e_book_backend_get_book_views):
FALSE => NULL.
(e_book_backend_add_book_view): add a arg check.
(e_book_backend_remove_book_view): same.
(e_book_backend_init): don't use ref/unref for the EList
functions, since we use a weakref to manage the contents of the
list elsewhere.
* libebook/e-book-listener.c (impl_BookListener_respond_get_view):
release_unref after the signal. the callee must ref to keep the
book_view alive.
* libebook/e-book-view.c (e_book_view_do_added_event): don't free
up the response stuff here, it's handled in the listener code now.
(e_book_view_do_modified_event): same.
(e_book_view_do_removed_event): same.
(e_book_view_do_status_message_event): same.
(e_book_view_handle_response): add a comment about a useless (imo)
check. also, don't g_free (resp).
(e_book_view_construct):
(e_book_view_dispose): call BookView::dispose before we
release_unref it.
* libebook/e-book-view-listener.c (free_response): new method.
free up an EBookViewListenerResponse*.
(main_thread_get_response): call free_response on the response
after emitting the signal.
(e_book_view_listener_queue_response): just call free_response
here instead of duplicating its code.
* libebook/e-book.c (e_book_response_get_book_view): we don't want
to ref the listener here. *unref* it.
(e_book_get_addressbooks): check addressbook_sources, not
*addressbook_sources, in the precondition.
* idl/Evolution-DataServer-Addressbook.idl (BookView): add dispose
call.
Updated ja.po. T.Aihana [Wed, 11 Feb 2004 03:32:40 +0000 (03:32 +0000)]
2004-02-11 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Rodrigo Moya [Tue, 10 Feb 2004 14:53:10 +0000 (14:53 +0000)]
switch wrongly-placed creation/modification of objects.
2004-02-10 Rodrigo Moya <rodrigo@ximian.com>
* backends/file/e-cal-backend-file.c (e_cal_backend_file_receive_objects):
switch wrongly-placed creation/modification of objects.
Funda Wang [Tue, 10 Feb 2004 07:28:09 +0000 (07:28 +0000)]
Updated Simplified Chinese translation
Michael Meeks [Mon, 9 Feb 2004 20:35:22 +0000 (20:35 +0000)]
tolerate NULL book views.
2004-02-09 Michael Meeks <michael@ximian.com>
* libedata-book/e-data-book.c (view_destroy): tolerate NULL
book views.
2004-02-09 Michael Meeks <michael@ximian.com>
* libedataserver/e-list-iterator.c (e_list_iterator_new),
* libedataserver/e-list.c (e_list_get_iterator):
add preconditions for NULL list.
JP Rosevear [Mon, 9 Feb 2004 19:50:19 +0000 (19:50 +0000)]
bump version, libtool numbers
2004-02-09 JP Rosevear <jpr@ximian.com>
* configure.in: bump version, libtool numbers
Not Zed [Mon, 9 Feb 2004 11:50:41 +0000 (11:50 +0000)]
** See bug #53978.
2004-02-09 Not Zed <NotZed@Ximian.com>
** See bug #53978.
* providers/local/camel-mbox-store.c: added ".lock" to the list of
ignored extensions.
(ignore_file): ignore anything ending in ~ too.
Not Zed [Mon, 9 Feb 2004 11:46:35 +0000 (11:46 +0000)]
** See bug #51319.
2004-02-09 Not Zed <NotZed@Ximian.com>
** See bug #51319.
* providers/local/camel-local-folder.c
(camel_local_folder_construct): re-enable indexing when folder is
first opened. Also load defaults if no meta-data present.
Francisco Javier F. Serrador [Sun, 8 Feb 2004 22:03:57 +0000 (22:03 +0000)]
Updated Spanish translation.
2004-02-08 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Chris Toshok [Sun, 8 Feb 2004 20:56:45 +0000 (20:56 +0000)]
build test-ebook-async
2004-02-08 Chris Toshok <toshok@ximian.com>
* tests/ebook/Makefile.am (noinst_PROGRAMS): build
test-ebook-async
* tests/ebook/test-ebook-async.c: async version of test-ebook.c
* tests/ebook/test-ebook.c (main): remove the call to
bonobo_main_quit here - we don't need it.
Chris Toshok [Sun, 8 Feb 2004 20:54:54 +0000 (20:54 +0000)]
lock the idle mutex around this function, reset it to -1, and return
2004-02-08 Chris Toshok <toshok@ximian.com>
* libebook/e-book-async.c (main_thread_get_response): lock the
idle mutex around this function, reset it to -1, and return FALSE.
(push_response): abstract out all the g_async_queue_push stuff
from the various handlers. do proper locking, and register the
main thread idle handler if we need to.
(e_book_async_load_local_addressbook): new function. async
version of e_book_load_local_addressbok.
(*_handler): use push_response instead of g_async_queue_push.
(init_async): remove the timeout stuff. we register idle handlers
when we need to. no more polling the async queue.
* libebook/e-book-async.h: add prototype for
e_book_async_load_local_addressbook.
* libebook/e-book-view-listener.c (main_thread_get_response): new
function to read responses from the CORBA request threads.
(e_book_view_listener_queue_response): don't just emit a signal
here, as that causes the response to be handled on the request
thread, and hoists re-entrancy requirements on calling code.
instead, push the response onto the async queue.
(e_book_view_listener_new): initialize the
queue/idle_mutex/idle_id.
(e_book_view_listener_dispose): dispose of the idle foo/queue.
Chris Toshok [Sun, 8 Feb 2004 20:44:53 +0000 (20:44 +0000)]
don't free the closure/mutex inside the loop, then access it again right
2004-02-08 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_start_book_view): don't free the
closure/mutex inside the loop, then access it again right after
the loop. Should fix crashes when doing repeated searches (while
stopping them often), like when autocompleting.
Denis Lackovic [Sun, 8 Feb 2004 09:26:59 +0000 (09:26 +0000)]
*** empty log message ***
Jeffrey Stedfast [Sat, 7 Feb 2004 02:56:32 +0000 (02:56 +0000)]
Use strrchr, not strchr.
2004-02-06 Jeffrey Stedfast <fejj@ximian.com>
* camel-provider.c (camel_provider_init): Use strrchr, not strchr.
Kjartan Maraas [Fri, 6 Feb 2004 23:39:08 +0000 (23:39 +0000)]
Updated Norwegian translation.
2004-02-07 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian translation.
Hans Petter Jansson [Fri, 6 Feb 2004 22:08:29 +0000 (22:08 +0000)]
Don't allow end index to go below start index when extracting the region.
2004-02-06 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-address-western.c (e_address_western_extract_region):
Don't allow end index to go below start index when extracting the
region. Also handle the case where there is no whitespace after comma
more gracefully.
Jeffrey Stedfast [Fri, 6 Feb 2004 19:12:34 +0000 (19:12 +0000)]
Forget the need_id, not the userid. Fixes bug #53908.
2004-02-06 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_parse_status): Forget the need_id,
not the userid. Fixes bug #53908.
Jeffrey Stedfast [Fri, 6 Feb 2004 19:06:51 +0000 (19:06 +0000)]
Set a CAMEL_FOLDER_VIRTUAL bit on the special folder info so our UI can
2004-02-06 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (add_special_info): Set a CAMEL_FOLDER_VIRTUAL bit
on the special folder info so our UI can know if it is virtual or
not (meant for vTrash/vJunk).
(camel_store_get_folder_info): Don't add vTrash/vJunk if the
NO_VIRTUAL flag bit is set. Used by the subscriptions editor.
Rodrigo Moya [Fri, 6 Feb 2004 18:52:50 +0000 (18:52 +0000)]
adapted to changes in EGwItem.
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise-utils.c
(set_properties_from_cal_component, e_gw_item_to_cal_component):
adapted to changes in EGwItem.
Rodrigo Moya [Fri, 6 Feb 2004 18:52:26 +0000 (18:52 +0000)]
removed calendar specific code. (e_gw_connection_get_date_from_string):
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* Makefile.am:
* e-gw-connection.c: removed calendar specific code.
(e_gw_connection_get_date_from_string): use time_t's instead of
icaltimetype's.
(start_freebusy_session, close_freebusy_session,
e_gw_connection_get_freebusy_info): moved to the calendar backend.
(e_gw_connection_get_uri, e_gw_connection_get_session_id): new
functions.
(e_gw_parse_response_status): made public.
* e-gw-item.[ch]
(e_gw_item_get_creation_date, e_gw_set_creation_date,
e_gw_item_get_start_date, e_gw_item_set_start_date,
e_gw_item_get_end_date, e_gw_item_set_end_date,
e_gw_item_get_due_date, e_gw_item_set_due_date):
use time_t's not icaltimetype's.
(e_gw_item_append_to_soap_message): use the time_t's.
(e_gw_item_get_classification, e_gw_item_set_classification):
don't use ECalComponentClassification, but a string, which is what
the server returns.
(e_gw_item_dispose): free the classification, which is now a string.
(set_recipìent_list_from_soap_parameter): renamed from set_attendee_...
to not be calendar-specific.
(e_gw_item_new_from_soap_parameter): s/attendee/recipient.
Rodrigo Moya [Fri, 6 Feb 2004 17:19:45 +0000 (17:19 +0000)]
no need to make the thread joinable.
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal.c (e_cal_open_async): no need to make the thread joinable.
Miloslav Trmac [Fri, 6 Feb 2004 17:09:07 +0000 (17:09 +0000)]
Update Czech translation
Rodrigo Moya [Fri, 6 Feb 2004 16:31:09 +0000 (16:31 +0000)]
new files to contain all calendar-specific code from libegroupwise.
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise-utils.[ch]: new files
to contain all calendar-specific code from libegroupwise.
(e_gw_item_new_from_cal_component, e_gw_item_to_cal_component,
e_gw_connection_send_appointment): new functions.
* backends/groupwise/e-cal-backend-groupwise.c: include new header
file.
Rodrigo Moya [Fri, 6 Feb 2004 16:30:40 +0000 (16:30 +0000)]
removed all calendar-specific code. (e_gw_item_get_item_type,
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-item.[ch] (e_gw_item_new_from_cal_component,
e_gw_item_to_cal_component): removed all calendar-specific code.
(e_gw_item_get_item_type, e_gw_item_set_item_type,
e_gw_item_get_container_id, e_gw_item_set_container_id): new functions.
(e_gw_item_new_empty): new function to create empty EGwItem's.
* e-gw-connection.[ch] (e_gw_connection_send_appointment): removed
calendar-specific code.
Rodrigo Moya [Fri, 6 Feb 2004 15:57:16 +0000 (15:57 +0000)]
re-enabled create-account test program, it does not need the calendar
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* Makefile.am: re-enabled create-account test program, it does not need
the calendar libraries.
Rodrigo Moya [Fri, 6 Feb 2004 15:47:25 +0000 (15:47 +0000)]
moved to $top_srcdir/servers/groupwise.
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/create-account.c:
* backends/groupwise/soap-test.c:
* backends/groupwise/e-gw-*: moved to $top_srcdir/servers/groupwise.
* backends/groupwise/Makefile.am: removed files and don't build test
programs.
Rodrigo Moya [Fri, 6 Feb 2004 15:46:57 +0000 (15:46 +0000)]
added servers/ dir to build.
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* configure.in:
* Makefile.am:
* servers/Makefile.am: added servers/ dir to build.
Rodrigo Moya [Fri, 6 Feb 2004 15:46:24 +0000 (15:46 +0000)]
*** empty log message ***
Rodrigo Moya [Fri, 6 Feb 2004 15:46:00 +0000 (15:46 +0000)]
fixed typo in function name.
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-container.h: fixed typo in function name.
* e-gw-item.c (e_gw_item_to_cal_component): return NULL if the item
type is not supported.
* Makefile.am: disable test programs until we remove all calendar
dependencies.
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
Moved Groupwise API library to its own directory, for easy reuse in
both calendar and addressbook backends.
Rodrigo Moya [Fri, 6 Feb 2004 15:02:25 +0000 (15:02 +0000)]
Removed unneeded file
Rodrigo Moya [Fri, 6 Feb 2004 14:34:58 +0000 (14:34 +0000)]
"Status" is now "status".
2004-02-06 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-connection.c (parse_response_status):
"Status" is now "status".
Chris Toshok [Fri, 6 Feb 2004 09:37:31 +0000 (09:37 +0000)]
if bonobo hasn't been initialized, do it here. This should be enough to
2004-02-06 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_activate): if bonobo hasn't been
initialized, do it here. This should be enough to get
evolution-sharp based programs up and running.
(activate_factories_for_uri): include the bonobo exception text in
the console spew.
Chris Toshok [Fri, 6 Feb 2004 07:34:00 +0000 (07:34 +0000)]
[ along with previous fixes, this fixes #53129 ]
2004-02-05 Chris Toshok <toshok@ximian.com>
[ along with previous fixes, this fixes #53129 ]
* backends/ldap/e-book-backend-ldap.c (find_book_view): we no
longer use EBookBackendLDAPBookView.
Not Zed [Fri, 6 Feb 2004 06:31:02 +0000 (06:31 +0000)]
changed to return a boolean to indicate if the flags were actually changed
2004-02-06 Not Zed <NotZed@Ximian.com>
* camel-folder.c (camel_folder_set_message_flags): changed to
return a boolean to indicate if the flags were actually changed or
not. Fixed all implementors.
Chris Toshok [Thu, 5 Feb 2004 20:51:52 +0000 (20:51 +0000)]
switch from using bonobo_main to using a separate GMainLoop attached to
2004-02-05 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (startup_mainloop): switch from using
bonobo_main to using a separate GMainLoop attached to the default
context.
Artur Flinta [Thu, 5 Feb 2004 14:47:13 +0000 (14:47 +0000)]
Updated Polish translation by GNOME PL Team.
2004-02-05 Artur Flinta <aflinta@cvs.gnome.org>
* pl.po: Updated Polish translation by GNOME PL Team.
Laurent Dhima [Thu, 5 Feb 2004 10:47:18 +0000 (10:47 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Thu, 5 Feb 2004 10:43:36 +0000 (10:43 +0000)]
Updated
Not Zed [Thu, 5 Feb 2004 08:18:35 +0000 (08:18 +0000)]
rename .cmeta file too, and fix the recovery order.
2004-02-05 Not Zed <NotZed@Ximian.com>
* providers/local/camel-mbox-store.c (rename_folder): rename
.cmeta file too, and fix the recovery order.
* providers/local/camel-local-store.c (rename_folder): rename the
.cmeta file too.
* providers/local/camel-local-folder.c (local_rename): fix this to
use local_get_full_path stuff.
* camel-store.c (camel_store_rename_folder): fix umr's comparing
old and new names.
Not Zed [Thu, 5 Feb 2004 05:14:04 +0000 (05:14 +0000)]
** See bug #53553.
2004-02-05 Not Zed <NotZed@Ximian.com>
** See bug #53553.
* camel-provider.c (camel_provider_init): changed to return a
hashtable of url protocols to CamelProviderModule structs, rather
than simple strings.
* camel-session.c (get_provider): if we load a provider module,
mark it as loaded.
(ensure_loaded): Check the module loaded flag before trying to
load it.
* providers/local/libcamellocal.urls: Remove spoold from the list,
since it doesn't exist anymore. Actually fixes #53553, the rest
is to robustify the code.
2004-02-05 Not Zed <NotZed@Ximian.com>
* camel-session.c (CS_CLASS): dont typecheck cast.
* camel-store.c (camel_vjunk_folder_new): removed, use
vtrash_new(junk).
(setup_special): changed to get_special, with a type now, and
dont add vtrash folders to the sources.
(get_trash, get_junk): down to 1 liners, call get_special
* camel-vtrash-folder.c (CF_CLASS): dont use cast typecheck macros
here, makes debugging easier and removes redundant checks.
(camel_vtrash_folder_init): dont set flags here.
(camel_vtrash_folder_new): takes a new argument, type, for junk
folders too, removed name arg (taken from type).
(vtrash_transfer_messages_to): parameterise flag processing.
Jeffrey Stedfast [Wed, 4 Feb 2004 21:49:15 +0000 (21:49 +0000)]
Get rid of some unnecessary CAMEL_OBJECT() casts.
2004-02-04 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c: Get rid of some unnecessary
CAMEL_OBJECT() casts.
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): The
folder_name argument passed to this function is ALWAYS in the UNIX
path form (ie. using '/' as the dir sep) and so when getting the
short_name, don't use imap_store->dir_sep as the dir sep, always
use '/'. Fixes bug #53755 for the IMAP case.
JP Rosevear [Wed, 4 Feb 2004 21:31:37 +0000 (21:31 +0000)]
update proto
2004-02-04 JP Rosevear <jpr@ximian.com>
* libecal/e-cal.h: update proto
* libecal/e-cal.c (async_idle_cb): return FALSE to remove the idle
handler
(get_default): take an auth func and use it
(e_cal_open_default): ditto
JP Rosevear [Wed, 4 Feb 2004 21:07:45 +0000 (21:07 +0000)]
redo protos
2004-02-04 JP Rosevear <jpr@ximian.com>
* libecal/e-cal.h: redo protos
* libecal/e-cal.c (e_cal_open_default): open the default ecal
based on type
(e_cal_set_default): set the default based on type
(e_cal_set_default_source): ditto
(e_cal_get_sources): get the source list based on type
2004-02-04 JP Rosevear <jpr@ximian.com>
* src/libicalvcal/icalvcal.c (icalvcal_traverse_objects): just
return on unknown property
Jeffrey Stedfast [Wed, 4 Feb 2004 20:24:45 +0000 (20:24 +0000)]
Fix for bug #53755 (local folders case)
2004-02-04 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #53755 (local folders case)
* providers/local/camel-mbox-store.c (xrename): No longer takes an
exception arg, we just set errno. Our caller can take care of
setting an exception.
(rename_folder): Don't pass an exception to xrename(), we always
overwrote if an error occured it anyway.
(rename_folder): Rename the .sbd as well.
Ilkka Tuohela [Wed, 4 Feb 2004 19:34:02 +0000 (19:34 +0000)]
Updated finnish translation
Chris Toshok [Wed, 4 Feb 2004 18:43:49 +0000 (18:43 +0000)]
there's no reason to search for the card before removing it. the error
2004-02-04 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_remove_contacts): there's no reason to search
for the card before removing it. the error condition is the same
anyway, and it'll slow us down.
Chris Toshok [Wed, 4 Feb 2004 18:42:17 +0000 (18:42 +0000)]
[ fixes bug #53130 ]
2004-02-04 Chris Toshok <toshok@ximian.com>
[ fixes bug #53130 ]
* libedata-book/e-data-book-view.c (MAKE_REALLOC): this might end
up being a bad assumption, but since it's only used for string
sequences, assume it always will be. We need to make a deep copy
of the sequence. a memcpy isn't enough, as freeing the buffer
causes the child strings to be freed.
Chris Toshok [Wed, 4 Feb 2004 17:40:15 +0000 (17:40 +0000)]
remove the misleading "XXX more here" comment from here - there's nothing
2004-02-04 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_op_free): remove the misleading "XXX
more here" comment from here - there's nothing else to free here.
Chris Toshok [Wed, 4 Feb 2004 17:34:45 +0000 (17:34 +0000)]
lock the book's mutex before checking load_state. Also, set the load_state
2004-02-04 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_load_source): lock the book's mutex
before checking load_state. Also, set the load_state to
E_BOOK_URI_LOADING before we relinquish the lock. It will be
reset to URI_NOT_LOADED in fetch_corba_book if there's a problem.
(e_book_load_uri): remove the e_return_error_if_fail about
load_state. It'll be handled by e_book_load_source.
(fetch_corba_book): reset load_state to E_BOOK_URI_NOT_LOADED in
all the cases where we return FALSE.
* libebook/e-contact.c (e_contact_set_property): for GETSET
properties that aren't STRUCT's, it's a string, not a pointer.
(e_contact_get_property): same.
Rodrigo Moya [Wed, 4 Feb 2004 16:36:06 +0000 (16:36 +0000)]
new function created from e_cal_open, without signal emissions.
2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal.c (open_calendar): new function created from
e_cal_open, without signal emissions.
(e_cal_open): call open_calendar() and emit signals.
(e_cal_open_async): changed to use a thread instead
of an idle callback.
(open_async): converted to a GThreadFunc, call open_calendar and
setup idle callback to emit the "cal_opened" signal.
(async_idle_cb): idle callback, notify listeners with the
"cal_opened" signal and free ECalAsyncData.
* backends/file/e-cal-backend-file.c: store an ordered list of all
detached recurrences, as well as the hash table, for each object.
(free_object): free the recurrences list, and the object's data.
(add_component, remove_instance): add the recurrences to the
recurrences list also.
(e_cal_backend_file_modify_object): remove the recurrence from the
list also, and it to the list when adding it to the hash table.
(remove_object_instance_cb): remove the recurrences from the list
also.
(e_cal_backend_file_receive_objects): remove cancelled meetings from the
received toplevel component before merging it. Add/Update received
objects approppriately for PUBLISH/REQUEST/REPLY.