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.
Rodrigo Moya [Wed, 4 Feb 2004 16:35:55 +0000 (16:35 +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.
Rodrigo Moya [Wed, 4 Feb 2004 12:48:36 +0000 (12:48 +0000)]
g_object_unref the ECal, not the ECalAsyncData structure.
2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal.c (open_async): g_object_unref the ECal, not the
ECalAsyncData structure.
Michael Meeks [Wed, 4 Feb 2004 10:46:12 +0000 (10:46 +0000)]
Fix a slew of bad-allocation / exception handling / crasher bugs.
Rodrigo Moya [Wed, 4 Feb 2004 10:21:34 +0000 (10:21 +0000)]
Updated SOAP API files
Michael Zucci [Wed, 4 Feb 2004 10:15:45 +0000 (10:15 +0000)]
(store_sync): duh, actually pass expunge to folder_sync.
Not Zed [Wed, 4 Feb 2004 10:13:02 +0000 (10:13 +0000)]
added 'expunge' parameter, easier 'empty trash on exit' call.
2004-02-04 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_sync): added 'expunge' parameter,
easier 'empty trash on exit' call.
2004-02-04 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c
(parse_list_response_as_folder_info): if we can't add the folder
to the summary {i.e. duplicate}, then ignore it. See #53836.
Artur Flinta [Wed, 4 Feb 2004 08:14:44 +0000 (08:14 +0000)]
Updated Polish translation by GNOME PL Team.
2004-02-04 Artur Flinta <aflinta@cvs.gnome.org>
* pl.po: Updated Polish translation by GNOME PL Team.
Not Zed [Wed, 4 Feb 2004 05:57:21 +0000 (05:57 +0000)]
changed order around, first try to delete and only remove from the object
2004-02-04 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_delete_folder): changed order around,
first try to delete and only remove from the object bag if the
delete worked. If vjunk/vtrash enabled, don't allow those to be
deleted.
(cs_delete_cached_folder): helper to delete the folder if its in
the cache, remove it from trash/junk, etc.
(camel_store_unsubscribe_folder): changed similarly to
delete_folder.
* camel-vee-store.c (vee_delete_folder): dont do any trash/junk
processing anymore.
2004-02-03 Not Zed <NotZed@Ximian.com>
* camel-store.c: use the folders object bag to manage the trash
folder and junk folders. Remove the init_trash and init_junk
stuff, just use get_trash and get_junk to mean the same thing.
Get rid of the hacked up vjunk and vtrash "uri" stuff too.
* camel-object.c (camel_object_bag_add): null out the pair->func,
otherwise we get an uninitalised memory read during unhook event.
Jeffrey Stedfast [Wed, 4 Feb 2004 04:39:37 +0000 (04:39 +0000)]
updated last fix to use void* instead of gpointer
Jeffrey Stedfast [Wed, 4 Feb 2004 04:07:39 +0000 (04:07 +0000)]
Use macro casts from int to pointer.
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* camel-vee-folder.c (vee_folder_build_folder): Use macro casts
from int to pointer.
* camel-folder.c (camel_folder_change_info_add_source): Same as below.
(camel_folder_change_info_add_source_list): Same.
* camel-folder-search.c (camel_folder_search_execute_expression):
Use GINT_TO_POINTER() to cast 1 to a pointer for
g_hash_table_insert().
* camel-vee-folder.c (vee_folder_remove_folder): 64bit fixes.
(folder_added_uid): Same.
(vee_folder_build_folder): Here too.
(folder_changed_add_uid): And here.
(folder_changed_remove_uid): Same.
Rodney Dawes [Tue, 3 Feb 2004 22:39:12 +0000 (22:39 +0000)]
Don't keep a global SoupMessage (e_cal_backend_http_fianlize): Abort the
2004-02-03 Rodney Dawes <dobey@ximian.com>
* backends/http/e-cal-backend-http.c: Don't keep a global SoupMessage
(e_cal_backend_http_fianlize): Abort the session, as we may have
multiple messages running
(webcal_to_http_method): Return a copy if we aren't parsing a webcal:,
as there is no need to return NULL, since we just check and copy the
original anyway
(retrieval_done): Handle redirection, and don't rely on a global
SoupMessage for things, and don't try to set the SoupMessage to NULL
(begin_retrieval_cb): Allow multiple messages, and disable automatic
redirect handling, as we need to handle it ourselves
(maybe_start_reload_timeout): We want minutes, not seconds, so we need
to multiply the refresh value by 60000 instead of 1000
Chris Toshok [Tue, 3 Feb 2004 20:11:51 +0000 (20:11 +0000)]
use "VCARD" instead of "vCard" because gnome-vfs is busted and doesn't use
2004-02-03 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_to_string_vcard_30): use "VCARD"
instead of "vCard" because gnome-vfs is busted and doesn't use a
case insensitive string check.
Jeffrey Stedfast [Tue, 3 Feb 2004 18:52:53 +0000 (18:52 +0000)]
New test suite for url scanning.
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* tests/misc/url-scan.c: New test suite for url scanning.
* camel-url-scanner.c: Added single/double quotes to url_braces[]
in case the user is quoting the url.
(camel_url_web_end): Add "-;:" to list of punctuation to strip off
the end of urls. Also fixed to handle user@domain's
(camel_url_addrspec_start): Strip open brace characters from the
beginning of the addr.
(camel_url_web_start): Make sure "www" wasn't part of something
not a url (like "Ewww.Gross") by check that pos[-1] is either an
open brace or whitespace.
(camel_url_addrspec_end): Don't allow toplevel domain addr-specs
(if we encounter something that looks like it is a toplevel domain
addr, it is more likely to be bogus than correct).
Dan Winship [Tue, 3 Feb 2004 18:15:38 +0000 (18:15 +0000)]
Don't unref the soup message; that happens automatically after the
* backends/http/e-cal-backend-http.c (e_cal_backend_http_finalize,
retrieval_done): Don't unref the soup message; that happens
automatically after the callback runs. #53645
Chris Toshok [Tue, 3 Feb 2004 17:23:47 +0000 (17:23 +0000)]
add libxml-2.0 as the e-source* stuff needs it.
2004-02-03 Chris Toshok <toshok@ximian.com>
* libedataserver/libedataserver-1.0.pc.in (Requires): add
libxml-2.0 as the e-source* stuff needs it.
Harish Krishnaswamy [Tue, 3 Feb 2004 16:25:49 +0000 (16:25 +0000)]
added get_deltas function as the callback to update cache. Removed
* backends/groupwise/e-cal-backend-groupwise.c :
added get_deltas function as the callback to update cache.
* backends/groupwise/e-gw-connection.[ch] (parse_response_status):
Removed UpdateCacheHandle structure as
the callback is now local to e-cal-backend-groupwise.c
(e_gw_connection_get_deltas) : modified the function to return
list of EGwItems.
(set_attendee_list_from_soap_parameter) : moved to EGwItem.
* backends/groupwise/e-gw-item.c : Added attendee_list to priv
structure and updated e_gw_item_dispose to free it.
(e_gw_item_new_from_soap_parameter) : added code to parse 'changes'
element in item.
Chris Toshok [Tue, 3 Feb 2004 15:35:43 +0000 (15:35 +0000)]
ximian.com... ximian.com
Chris Toshok [Tue, 3 Feb 2004 15:35:15 +0000 (15:35 +0000)]
E_GW_CONNECTION_BAD_PARAMETER -> E_GW_CONNECTION_STATUS_BAD_PARAMETER.
2004-02-03 Chris Toshok <toshok@m198-139.dsl.rawbw.com>
* backends/groupwise/e-gw-connection.c (parse_response_status):
E_GW_CONNECTION_BAD_PARAMETER ->
E_GW_CONNECTION_STATUS_BAD_PARAMETER.
Chris Toshok [Tue, 3 Feb 2004 01:20:56 +0000 (01:20 +0000)]
these are also of type STRING. if you want a GETSET field that's a struct,
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (GETSET_FIELD): these are also of type
STRING. if you want a GETSET field that's a struct, use
STRUCT_FIELD. Fixes a problem with FULL_NAME reflection for
evolution-sharp.
Chris Toshok [Mon, 2 Feb 2004 21:36:40 +0000 (21:36 +0000)]
clear attr->encoding_set and attr->encoding, since that is just cached
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_attribute_remove_params): clear
attr->encoding_set and attr->encoding, since that is just cached
information from the attribute parameters. Fixes a spurious
g_warning.
Chris Toshok [Mon, 2 Feb 2004 21:33:16 +0000 (21:33 +0000)]
make sure to set attr->decoded_values to NULL as well. fixes oddness when
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_attribute_remove_values): make sure
to set attr->decoded_values to NULL as well. fixes oddness when
overwriting the PHOTO attribute.
Hans Petter Jansson [Mon, 2 Feb 2004 21:23:09 +0000 (21:23 +0000)]
Return NULL if image length is zero. (photo_setter): Warn and don't set
2004-02-02 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-contact.c (photo_getter): Return NULL if image length is
zero.
(photo_setter): Warn and don't set photo if image length is zero.
Hans Petter Jansson [Mon, 2 Feb 2004 20:02:38 +0000 (20:02 +0000)]
Handle NULL. (fn_setter): Handle NULL. (n_setter): Handle NULL.
2004-02-02 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-contact.c (photo_setter): Handle NULL.
(fn_setter): Handle NULL.
(n_setter): Handle NULL.
(adr_setter): Handle NULL.
(date_getter): Return NULL if attr present, but no value.
(date_setter): Handle NULL.
(cert_setter): Handle NULL.
(e_contact_set_property): Don't pass NULL data to setters, remove the
attribute (if present) instead.
Jeffrey Stedfast [Mon, 2 Feb 2004 19:25:16 +0000 (19:25 +0000)]
Fixes for bug #53091.
2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #53091.
* providers/imap/camel-imap-store.c (create_folder): Set the new
folder's fi->flags to CAMEL_FOLDER_NOCHILDREN since we know it
doesn't have any (we just created it!).
(subscribe_folder): Same.
Jeffrey Stedfast [Mon, 2 Feb 2004 19:01:37 +0000 (19:01 +0000)]
Copy the flags too. Fixes the local folder case of bug #53091.
2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (folder_info_clone_rec): Copy the flags too. Fixes
the local folder case of bug #53091.
Rodrigo Moya [Mon, 2 Feb 2004 17:09:56 +0000 (17:09 +0000)]
added new error code.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-connection.[ch] (parse_response_status):
added new error code.
Rodrigo Moya [Mon, 2 Feb 2004 16:26:20 +0000 (16:26 +0000)]
add all retrieved items to the cache, since calendar and tasks both use
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
add all retrieved items to the cache, since calendar and tasks
both use the same cache file.
(e_cal_backend_groupwise_get_object,
e_cal_backend_groupwise_get_object_list): only return items of the
same kind as the backend.
(e_cal_backend_groupwise_create_object): only allow storing of
items of the same kind as the backend.
Rodrigo Moya [Mon, 2 Feb 2004 16:08:30 +0000 (16:08 +0000)]
fixed argument ordering in call to e_gw_message_write_string_parameter.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.c (e_gw_item_append_to_soap_message):
fixed argument ordering in call to e_gw_message_write_string_parameter.
Rodrigo Moya [Mon, 2 Feb 2004 15:56:02 +0000 (15:56 +0000)]
changed to have an ECalBackendGroupwise as argument, and only add to the
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
changed to have an ECalBackendGroupwise as argument, and only add
to the cache objects of the same kind as the backend.
(connect_to_server): pass the ECalBackendGroupwise to populate_cache.
Rodrigo Moya [Mon, 2 Feb 2004 15:53:43 +0000 (15:53 +0000)]
changed to have an ECalBackendGroupwise as argument, and only add to the
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
changed to have an ECalBackendGroupwise as argument, and only add
to the cache objects of the same kind as the backend.
(connect_to_server): pass the ECalBackendGroupwise to populate_cache.
Rodrigo Moya [Mon, 2 Feb 2004 15:40:21 +0000 (15:40 +0000)]
set altrep to NULL on ECalComponentText's.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.c (e_gw_item_to_calcomponent):
set altrep to NULL on ECalComponentText's.
Rodrigo Moya [Mon, 2 Feb 2004 15:15:34 +0000 (15:15 +0000)]
moved calls to e_cal_component_set_new_vtype up, so that the internal
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.c (e_gw_item_to_calcomponent): moved
calls to e_cal_component_set_new_vtype up, so that the internal
icalcomponent gets created. Added missing 'break' statement.
Rodrigo Moya [Mon, 2 Feb 2004 11:40:20 +0000 (11:40 +0000)]
fixed warning.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-connection.c
(e_gw_connection_get_freebusy_info): fixed warning.
Rodrigo Moya [Mon, 2 Feb 2004 11:38:29 +0000 (11:38 +0000)]
pass the container_id to e_gw_connection_remove_item.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_remove_object): pass the container_id to
e_gw_connection_remove_item.
Rodrigo Moya [Mon, 2 Feb 2004 11:05:00 +0000 (11:05 +0000)]
set the ESource's name to the name of the folder.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c (connect_to_server):
set the ESource's name to the name of the folder.
Michael Meeks [Mon, 2 Feb 2004 10:59:57 +0000 (10:59 +0000)]
unlock after taking a lock.
2004-02-02 Michael Meeks <michael@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_stop_book_view): unlock after
taking a lock.
Alastair McKinstry [Mon, 2 Feb 2004 10:28:49 +0000 (10:28 +0000)]
Updated Irish translation
JP Rosevear [Sun, 1 Feb 2004 20:51:23 +0000 (20:51 +0000)]
order the signals more sensibly
2004-02-01 JP Rosevear <jpr@ximian.com>
* libecal/e-cal.h: order the signals more sensibly
* libecal/e-cal.c (destroy_factories): use G_STRLOC
(categories_changed_cb): set the size of the array so the length
is set
(e_cal_init): remove extra listener args, listen for new signals
* libecal/e-cal-marshal.list: add signal marshaller
* libecal/e-cal-listener.h: add new signals, remove function
callback protos, update protos
* libecal/e-cal-listener.c (impl_notifyErrorOccurred): emit error
signal
(impl_notifyCategoriesChanged): emit categories changed signal
(e_cal_listener_init): remove dead initializations
(e_cal_listener_finalize): remove dead finalizations
(e_cal_listener_class_init): add category and error signals
(e_cal_listener_construct): remove error and category function
params
(e_cal_listener_new): ditto