platform/upstream/evolution-data-server.git
20 years agoadded servers/ dir to build.
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.

20 years ago*** empty log message ***
Rodrigo Moya [Fri, 6 Feb 2004 15:46:24 +0000 (15:46 +0000)]
*** empty log message ***

20 years agofixed typo in function name.
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.

20 years agoRemoved unneeded file
Rodrigo Moya [Fri, 6 Feb 2004 15:02:25 +0000 (15:02 +0000)]
Removed unneeded file

20 years ago"Status" is now "status".
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".

20 years agoif bonobo hasn't been initialized, do it here. This should be enough to
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.

20 years ago[ along with previous fixes, this fixes #53129 ]
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.

20 years agochanged to return a boolean to indicate if the flags were actually changed
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.

20 years agoswitch from using bonobo_main to using a separate GMainLoop attached to
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.

20 years agoUpdated Polish translation by GNOME PL Team.
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.

20 years agoUpdated Albanian translation
Laurent Dhima [Thu, 5 Feb 2004 10:47:18 +0000 (10:47 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Thu, 5 Feb 2004 10:43:36 +0000 (10:43 +0000)]
Updated

20 years agorename .cmeta file too, and fix the recovery order.
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.

20 years ago** See bug #53553.
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.

20 years agoGet rid of some unnecessary CAMEL_OBJECT() casts.
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.

20 years agoupdate proto
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

20 years agoredo protos
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

20 years agoFix for bug #53755 (local folders case)
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.

20 years agoUpdated finnish translation
Ilkka Tuohela [Wed, 4 Feb 2004 19:34:02 +0000 (19:34 +0000)]
Updated finnish translation

20 years agothere's no reason to search for the card before removing it. the error
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.

20 years ago[ fixes bug #53130 ]
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.

20 years agoremove the misleading "XXX more here" comment from here - there's nothing
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.

20 years agolock the book's mutex before checking load_state. Also, set the load_state
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.

20 years agonew function created from e_cal_open, without signal emissions.
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.

20 years agonew function created from e_cal_open, without signal emissions.
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.

20 years agog_object_unref the ECal, not the ECalAsyncData structure.
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.

20 years agoFix a slew of bad-allocation / exception handling / crasher bugs.
Michael Meeks [Wed, 4 Feb 2004 10:46:12 +0000 (10:46 +0000)]
Fix a slew of bad-allocation / exception handling / crasher bugs.

20 years agoUpdated SOAP API files
Rodrigo Moya [Wed, 4 Feb 2004 10:21:34 +0000 (10:21 +0000)]
Updated SOAP API files

20 years ago (store_sync): duh, actually pass expunge to folder_sync.
Michael Zucci [Wed, 4 Feb 2004 10:15:45 +0000 (10:15 +0000)]
    (store_sync): duh, actually pass expunge to folder_sync.

20 years agoadded 'expunge' parameter, easier 'empty trash on exit' call.
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.

20 years agoUpdated Polish translation by GNOME PL Team.
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.

20 years agochanged order around, first try to delete and only remove from the object
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.

20 years agoupdated last fix to use void* instead of gpointer
Jeffrey Stedfast [Wed, 4 Feb 2004 04:39:37 +0000 (04:39 +0000)]
updated last fix to use void* instead of gpointer

20 years agoUse macro casts from int to pointer.
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.

20 years agoDon't keep a global SoupMessage (e_cal_backend_http_fianlize): Abort the
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

20 years agouse "VCARD" instead of "vCard" because gnome-vfs is busted and doesn't use
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.

20 years agoNew test suite for url scanning.
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).

20 years agoDon't unref the soup message; that happens automatically after the
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

20 years agoadd libxml-2.0 as the e-source* stuff needs it.
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.

20 years agoadded get_deltas function as the callback to update cache. Removed
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.

20 years agoximian.com... ximian.com
Chris Toshok [Tue, 3 Feb 2004 15:35:43 +0000 (15:35 +0000)]
ximian.com... ximian.com

20 years agoE_GW_CONNECTION_BAD_PARAMETER -> E_GW_CONNECTION_STATUS_BAD_PARAMETER.
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.

20 years agothese are also of type STRING. if you want a GETSET field that's a struct,
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.

20 years agoclear attr->encoding_set and attr->encoding, since that is just cached
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.

20 years agomake sure to set attr->decoded_values to NULL as well. fixes oddness when
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.

20 years agoReturn NULL if image length is zero. (photo_setter): Warn and don't set
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.

20 years agoHandle NULL. (fn_setter): Handle NULL. (n_setter): Handle NULL.
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.

20 years agoFixes for bug #53091.
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.

20 years agoCopy the flags too. Fixes the local folder case of bug #53091.
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.

20 years agoadded new error code.
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.

20 years agoadd all retrieved items to the cache, since calendar and tasks both use
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.

20 years agofixed argument ordering in call to e_gw_message_write_string_parameter.
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.

20 years agochanged to have an ECalBackendGroupwise as argument, and only add to the
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.

20 years agochanged to have an ECalBackendGroupwise as argument, and only add to the
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.

20 years agoset altrep to NULL on ECalComponentText's.
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.

20 years agomoved calls to e_cal_component_set_new_vtype up, so that the internal
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.

20 years agofixed warning.
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.

20 years agopass the container_id to e_gw_connection_remove_item.
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.

20 years agoset the ESource's name to the name of the folder.
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.

20 years agounlock after taking a lock.
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.

20 years agoUpdated Irish translation
Alastair McKinstry [Mon, 2 Feb 2004 10:28:49 +0000 (10:28 +0000)]
Updated Irish translation

20 years agoorder the signals more sensibly
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

20 years agoUpdated Serbian translation.
Danilo Šegan [Sun, 1 Feb 2004 18:37:41 +0000 (18:37 +0000)]
Updated Serbian translation.

2004-02-01  Danilo Šegan  <dsegan@gmx.net>

* sr.po, sr@Latn.po: Updated Serbian translation.

* POTFILES.in: Removed src/GNOME_Evolution_DataServer.server.in.in.

20 years agoUpdated German translation / added missing file to POTFILES.in.
Christian Neumair [Sun, 1 Feb 2004 09:48:06 +0000 (09:48 +0000)]
Updated German translation / added missing file to POTFILES.in.

20 years agoreturn a proper GError and boolean
JP Rosevear [Sun, 1 Feb 2004 04:32:01 +0000 (04:32 +0000)]
return a proper GError and boolean

2004-01-31  JP Rosevear  <jpr@ximian.com>

* libecal/e-cal.c (e_cal_is_read_only): return a proper GError and
boolean

* backends/contacts/e-cal-backend-contacts.c
(e_cal_backend_contacts_get_type): remove debug statements

20 years agoUpdated Albanian translation
Laurent Dhima [Sun, 1 Feb 2004 01:05:16 +0000 (01:05 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Sun, 1 Feb 2004 01:03:17 +0000 (01:03 +0000)]
Updated

20 years agoSame as below.
Jeffrey Stedfast [Sat, 31 Jan 2004 21:07:58 +0000 (21:07 +0000)]
Same as below.

2004-01-31  Jeffrey Stedfast  <fejj@ximian.com>

* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Same
as below.

* providers/smtp/camel-smtp-transport.c (smtp_connect): Instead of
using the form %s@%s in the password prompt, use %s on host %s,
hopefully this will be less confusing to users who have usernames
of the form user@vhost.

20 years agoUpdated Korean translation.
Changwoo Ryu [Sat, 31 Jan 2004 15:23:47 +0000 (15:23 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoUpdated and revised Portuguese translation.
Duarte Loreto [Sat, 31 Jan 2004 13:54:44 +0000 (13:54 +0000)]
Updated and revised Portuguese translation.

2004-01-31  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated and revised Portuguese translation.

20 years agoAdd argument preconditions.
Hans Petter Jansson [Fri, 30 Jan 2004 23:52:09 +0000 (23:52 +0000)]
Add argument preconditions.

2004-01-30  Hans Petter Jansson  <hpj@ximian.com>

* libebook/e-book-async.c (e_book_async_load_source)
(e_book_async_load_uri)
(e_book_async_get_default_addressbook)
(e_book_async_get_supported_fields)
(e_book_async_get_supported_auth_methods)
(e_book_async_authenticate_user)
(e_book_async_get_contact)
(e_book_async_remove_contact)
(e_book_async_remove_contact_by_id)
(e_book_async_remove_contacts)
(e_book_async_add_contact)
(e_book_async_commit_contact)
(e_book_async_get_book_view)
(e_book_async_get_contacts): Add argument preconditions.

* libebook/e-contact.c (e_contact_new_from_vcard)
(e_contact_duplicate)
(e_contact_name_from_string)
(e_contact_name_copy)
(e_contact_date_from_string): Add argument preconditions.

20 years agoadd ref/unref around this function body so that we don't get unreffed by
Chris Toshok [Fri, 30 Jan 2004 23:14:19 +0000 (23:14 +0000)]
add ref/unref around this function body so that we don't get unreffed by

2004-01-30  Chris Toshok  <toshok@ximian.com>

* libedata-book/e-book-backend.c (e_book_backend_remove_client):
add ref/unref around this function body so that we don't get
unreffed by something below last_client_gone.

20 years agoFix spelling error in provider description
Rodney Dawes [Fri, 30 Jan 2004 22:16:05 +0000 (22:16 +0000)]
Fix spelling error in provider description

2004-01-30  Rodney Dawes <dobey@ximian.com>

* providers/groupwise/camel-groupwise-provider.c: Fix spelling error in
provider description

Fixes #53572

20 years agoProtect against multiple camel_init() calls. Remember if we've already
Jeffrey Stedfast [Fri, 30 Jan 2004 21:05:49 +0000 (21:05 +0000)]
Protect against multiple camel_init() calls. Remember if we've already

2004-01-30  Jeffrey Stedfast  <fejj@ximian.com>

* camel.c (camel_init): Protect against multiple camel_init()
calls. Remember if we've already been called.

20 years agoupdate for new office location, and change the FILE-AS/ORG fields to say
Chris Toshok [Fri, 30 Jan 2004 20:26:54 +0000 (20:26 +0000)]
update for new office location, and change the FILE-AS/ORG fields to say

2004-01-29  Chris Toshok  <toshok@ximian.com>

* libedata-book/ximian-vcard.h (XIMIAN_VCARD): update for new
office location, and change the FILE-AS/ORG fields to say Novell
Ximian Group.

20 years agorequire libsoup >= 2.1.6.
Rodrigo Moya [Fri, 30 Jan 2004 20:05:57 +0000 (20:05 +0000)]
require libsoup >= 2.1.6.

2004-01-30  Rodrigo Moya <rodrigo@ximian.com>

* configure.in: require libsoup >= 2.1.6.

20 years agofixes few critical error warnings
Radek Doulik [Fri, 30 Jan 2004 16:37:01 +0000 (16:37 +0000)]
fixes few critical error warnings

2004-01-30  Radek Doulik  <rodo@ximian.com>

* backends/contacts/e-cal-backend-contacts.c (contact_record_new):
make sure anniversary/birthday components were created before
using them
(contact_record_free): ditto
(contact_record_cb): ditto

20 years agofixes few crashers in ldap backend
Radek Doulik [Fri, 30 Jan 2004 16:32:17 +0000 (16:32 +0000)]
fixes few crashers in ldap backend

2004-01-30  Radek Doulik  <rodo@ximian.com>

* backends/ldap/e-book-backend-ldap.c (contact_list_dtor): don't
g_object_unref contact list, it contains strings which are freed
in e_data_book_respond_get_contact_list, the list is freed there
as well
(category_compare): make sure categories != NULL before calling
strcmp
(build_mods_from_contacts): make sure we don't introduce new empty
fields
(build_mods_from_contacts): make sure the ber_func and
compare_func are non NULL before calling them

20 years agoLOG_DOMAIN is ...http, not ...file.
Rodrigo Moya [Fri, 30 Jan 2004 14:52:09 +0000 (14:52 +0000)]
LOG_DOMAIN is ...http, not ...file.

2004-01-30  Rodrigo Moya <rodrigo@ximian.com>

* backends/http/Makefile.am: LOG_DOMAIN is ...http, not ...file.

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Fri, 30 Jan 2004 13:39:40 +0000 (13:39 +0000)]
Updated Norwegian translation.

2004-01-30  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

20 years agodon't start a new updload if we're already uploading.
Rodrigo Moya [Fri, 30 Jan 2004 13:01:18 +0000 (13:01 +0000)]
don't start a new updload if we're already uploading.

2004-01-30  Rodrigo Moya <rodrigo@ximian.com>

* backends/http/e-cal-backend-http.c (reaload_cb): don't start a new
updload if we're already uploading.

20 years agoTranslation updated by Mətin Əmirov.
Metin Amiroff [Fri, 30 Jan 2004 12:45:25 +0000 (12:45 +0000)]
Translation updated by Mətin Əmirov.

2004-01-30  Metin Amiroff  <metin@karegen.com>

* az.po: Translation updated by Mətin Əmirov.

20 years agoUpdate Czech translaiton
Miloslav Trmac [Fri, 30 Jan 2004 11:10:00 +0000 (11:10 +0000)]
Update Czech translaiton

20 years agocopy the old_name that comes in, since it might be the actual folder_name,
Not Zed [Fri, 30 Jan 2004 04:37:28 +0000 (04:37 +0000)]
copy the old_name that comes in, since it might be the actual folder_name,

2004-01-30  Not Zed  <NotZed@Ximian.com>

        * camel-store.c (camel_store_rename_folder): copy the old_name
        that comes in, since it might be the actual folder_name, which
        will go away during processing.  Related to #53123.

20 years agoClear the is_loading flag. (begin_retrieval_cb): Set the is_loading flag,
Hans Petter Jansson [Thu, 29 Jan 2004 21:50:23 +0000 (21:50 +0000)]
Clear the is_loading flag. (begin_retrieval_cb): Set the is_loading flag,

2004-01-29  Hans Petter Jansson  <hpj@ximian.com>

* backends/http/e-cal-backend-http.c (retrieval_done): Clear the
is_loading flag.
(begin_retrieval_cb): Set the is_loading flag, maybe start the reload
timeout.
(reload_cb): Implement.
(maybe_start_reload_timeout): Implement.
(e_cal_backend_http_open): Init reload timeout ID.

20 years agofixed potfile merge conflicts
Jeffrey Stedfast [Thu, 29 Jan 2004 21:30:56 +0000 (21:30 +0000)]
fixed potfile merge conflicts

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Thu, 29 Jan 2004 20:47:40 +0000 (20:47 +0000)]
Updated Spanish translation.

2004-01-29  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

20 years agoupdate for new office location, and change the FILE-AS/ORG fields to say
Chris Toshok [Thu, 29 Jan 2004 19:51:23 +0000 (19:51 +0000)]
update for new office location, and change the FILE-AS/ORG fields to say

2004-01-29  Chris Toshok  <toshok@ximian.com>

* libedata-book/ximian-vcard.h (XIMIAN_VCARD): update for new
office location, and change the FILE-AS/ORG fields to say Novell
Ximian Group.

20 years agowrite all properties to the message.
Rodrigo Moya [Thu, 29 Jan 2004 19:19:56 +0000 (19:19 +0000)]
write all properties to the message.

2004-01-29  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-gw-item.c (e_gw_item_append_to_soap_message):
write all properties to the message.

20 years agonew functions. (e_gw_item_new_from_cal_component): renamed. Don't keep the
Rodrigo Moya [Thu, 29 Jan 2004 18:49:55 +0000 (18:49 +0000)]
new functions. (e_gw_item_new_from_cal_component): renamed. Don't keep the

2004-01-29  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-gw-item.[ch] (e_gw_item_new_from_soap_parameter,
e_gw_item_to_cal_component, e_gw_item_get_id, e_gw_item_set_id,
e_gw_item_get_creation_date, e_gw_item_set_creation_date,
e_gw_item_get_start_date, e_gw_item_set_start_date,
e_gw_item_get_classification, e_gw_item_set_classification,
e_gw_item_get_accept_level, e_gw_item_set_accept_level,
e_gw_item_get_subject, e_gw_item_set_subject,
e_gw_item_get_priority, e_gw_item_set_priority,
e_gw_item_get_message, e_gw_item_set_message,
e_gw_item_get_completed, e_gw_item_set_completed,
e_gw_item_get_due_date, e_gw_item_set_due_date,
e_gw_item_get_end_date, e_gw_item_set_end_date,
e_gw_item_get_place, e_gw_item_set_place): new functions.
(e_gw_item_new_from_cal_component): renamed. Don't keep the
ECalComponent, there's no need for it.
(append_appointment_properties): don't use the private ECalComponent,
it's not stored anymore.
(e_gw_item_dispose): free all properties.
(e_gw_item_append_to_soap_message): added support for tasks.

* backends/groupwise/e-gw-connection.c (e_gw_connection_get_items):
(e_gw_connection_send_appointment): use
e_gw_item_new_from_cal_component.
(get_e_cal_component_from_soap_parameter, get_evo_date_from_string):
removed.
(e_gw_item_get_deltas, update_cache_item): disabled until migrated to
use EGwItem's.
(e_gw_connection_get_date_from_string): new function.

* backends/groupwise/e-gw-container.c (e_gw_container_finalize): fixed
warnings.

20 years agohonor the @only_if_exists arg before creating the db or directory. i.e.
Chris Toshok [Thu, 29 Jan 2004 17:48:01 +0000 (17:48 +0000)]
honor the @only_if_exists arg before creating the db or directory. i.e.

2004-01-29  Chris Toshok  <toshok@m198-139.dsl.rawbw.com>

* backends/file/e-book-backend-file.c
(e_book_backend_file_load_source): honor the @only_if_exists arg
before creating the db or directory.  i.e. fix this so it's not
completely broken.

20 years agofixed typo
Radek Doulik [Thu, 29 Jan 2004 16:28:56 +0000 (16:28 +0000)]
fixed typo

20 years agouse "CATEORIES" instead of null vcard_field_name (e_contact_set_property):
Radek Doulik [Thu, 29 Jan 2004 15:27:20 +0000 (15:27 +0000)]
use "CATEORIES" instead of null vcard_field_name (e_contact_set_property):

2004-01-28  Radek Doulik  <rodo@ximian.com>

* libebook/e-contact.c (e_contact_set_property): use "CATEORIES"
instead of null vcard_field_name
(e_contact_set_property): check for NULL string value, test for
single category

20 years ago** See bug #53269.
Not Zed [Thu, 29 Jan 2004 08:54:15 +0000 (08:54 +0000)]
** See bug #53269.

2004-01-29  Not Zed  <NotZed@Ximian.com>

        ** See bug #53269.

        * providers/nntp/camel-nntp-store.c
        (nntp_store_get_cached_folder_info): don't dereference last before
        checking if its null.

20 years agoadded a doc comment.
Not Zed [Thu, 29 Jan 2004 08:24:16 +0000 (08:24 +0000)]
added a doc comment.

2004-01-29  Not Zed  <NotZed@Ximian.com>

        * camel-object.c (camel_object_bag_rekey): added a doc comment.

        ** See bug #53520.

        * camel-session.c (get_service): free the url once done, it now
        gets copied by the service.

        * camel-service.c (construct): copy the url that comes in, don't
        just '0Wn34z' it.  clena up exception handling too.

20 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Thu, 29 Jan 2004 07:25:56 +0000 (07:25 +0000)]
Updated Polish translation by GNOME PL Team.

2004-01-29  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

20 years agooutput scan->name and scan->value for writing metadata, rather than
Not Zed [Thu, 29 Jan 2004 05:53:05 +0000 (05:53 +0000)]
output scan->name and scan->value for writing metadata, rather than

2004-01-29  Not Zed  <NotZed@Ximian.com>

        * camel-object.c (cobject_state_write): output scan->name and
        scan->value for writing metadata, rather than meta->name/value
        which just duplicates the last entry, related to #53195.

20 years agozero out passwd/user/host before freeing them.
Not Zed [Thu, 29 Jan 2004 05:18:33 +0000 (05:18 +0000)]
zero out passwd/user/host before freeing them.

2004-01-29  Not Zed  <NotZed@Ximian.com>

        * camel-url.c (camel_url_free): zero out passwd/user/host before
        freeing them.

20 years agoUpdate
Kjartan Maraas [Wed, 28 Jan 2004 19:34:30 +0000 (19:34 +0000)]
Update

20 years agoadded missing header.
Rodrigo Moya [Wed, 28 Jan 2004 18:03:55 +0000 (18:03 +0000)]
added missing header.

2004-01-28  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-gw-item.c: added missing header.