Kjartan Maraas [Thu, 5 Jan 2006 18:30:47 +0000 (18:30 +0000)]
Fixety fix
Kjartan Maraas [Thu, 5 Jan 2006 18:30:26 +0000 (18:30 +0000)]
Remove unused static function free_section().
2006-01-05 Kjartan Maraas <kmaraas@gnome.org>
* e-name-selector.c: Remove unused static function free_section().
Kjartan Maraas,,23491770 [Thu, 5 Jan 2006 18:29:02 +0000 (18:29 +0000)]
Return stuff from this non-void function. Move some vars inside #ifdef
2006-01-05 Kjartan Maraas,,
23491770 <kmaraas@gnome.org>
* camel-session.c: (camel_session_get_network_state): Return
stuff from this non-void function.
* providers/imap4/camel-imap4-store.c: (connect_to_server):
Move some vars inside #ifdef HAVE_SSL
* providers/local/camel-local-store.c: (xrename): Use NULL
not 0 as the last parameter to g_strconcat().
Kjartan Maraas [Thu, 5 Jan 2006 18:25:18 +0000 (18:25 +0000)]
Use g_return_val_if_fail() in a non-void function not g_return_if_fail()
2006-01-05 Kjartan Maraas <kmaraas@gnome.org>
* backends/http/e-cal-backend-http.c:
(notify_and_remove_from_cache): Use g_return_val_if_fail()
in a non-void function not g_return_if_fail()
* libecal/e-cal-component.c: (e_cal_component_get_id):
Same as above.
* libecal/e-cal-view-listener.c: (build_id_list): Fix
type in function parameter.
* tests/ecal/test-ecal.c: (all_tests): #if 0 out some
unused stuff.
* tests/ecal/test-recur.c: (main): Remove unused vars.
Tor Lillqvist [Wed, 4 Jan 2006 23:47:08 +0000 (23:47 +0000)]
As this (Win32-only) function is called from evo, too, it needs a third
2006-01-04 Tor Lillqvist <tml@novell.com>
* libedataserver/e-util.c (e_util_replace_prefix): As this
(Win32-only) function is called from evo, too, it needs a third
argument, the configure time prefix that it should replace,
instead of harcoding e-d-s's one. (Assuming e-d-s and evo are
configured with different temporary dirs as prefix, which is the
recommended way.)
* libedataserver/e-util.h: Update declaration correspondingly.
* src/server.c (libdir): Modify calls correspondingly.
In camel:
2006-01-04 Tor Lillqvist <tml@novell.com>
* camel-win32.c (setup): Modify calls to e_util_replace_prefix()
according to its changed interface.
* Makefile.am (INCLUDES): Need to pass also E_DATA_SERVER_PREFIX
to the compilation because of the above.
In calendar:
2006-01-04 Tor Lillqvist <tml@novell.com>
* backends/weather/e-weather-source-ccf.c (find_station_url):
Modify call to e_util_replace_prefix() according to its changed
interface.
* backends/weather/Makefile.am: Need to pass E_DATA_SERVER_PREFIX
because of the above.
Parthasarathi Susarla [Wed, 4 Jan 2006 18:16:09 +0000 (18:16 +0000)]
saves the summary to the disk (groupwise_sync): remove a lot of junk code
2006-01-04 Parthasarathi Susarla <sparthasarathi@novell.com>
* camel-groupwise-folder.c:
(groupwise_sync_summary): saves the summary to the disk
(groupwise_sync): remove a lot of junk code
(groupwise_folder_item_to_msg): fixes the html with embedded
images issue. See bug 320898
* camel-groupwise-store.c: remove printfs everywhere
* camel-groupwise-utils.c:
(strip_lt_gt): strips the < and > characters based on the
given offsets
Parthasarathi Susarla [Wed, 4 Jan 2006 16:48:35 +0000 (16:48 +0000)]
saves the summary to the disk (groupwise_sync): remove a lot of junk code
2006-01-04 Parthasarathi Susarla <sparthasarathi@novell.com>
* camel-groupwise-folder.c:
(groupwise_sync_summary): saves the summary to the disk
(groupwise_sync): remove a lot of junk code
(groupwise_folder_item_to_msg): fixes the html with embedded
images issue. See bug 320898
* camel-groupwise-store.c: remove printfs everywhere
* camel-groupwise-utils.c:
(strip_lt_gt): strips the < and > characters based on the
given offsets
Takeshi AIHANA [Wed, 4 Jan 2006 06:46:23 +0000 (06:46 +0000)]
Fixed formatting with strftime(3) in Japanese locale.
2006-01-04 Takeshi AIHANA <aihana@gnome.gr.jp>
* ja.po: Fixed formatting with strftime(3) in Japanese locale.
Takeshi AIHANA [Tue, 3 Jan 2006 16:57:04 +0000 (16:57 +0000)]
Fixed time format with strftime().
2006-01-03 Takeshi AIHANA <aihana@gnome.gr.jp>
* ja.po: Fixed time format with strftime().
Takeshi AIHANA [Tue, 3 Jan 2006 05:45:26 +0000 (05:45 +0000)]
Updated Japanese translation for v1.5.4.
2006-01-03 Takeshi AIHANA <aihana@gnome.gr.jp>
* ja.po: Updated Japanese translation for v1.5.4.
Harish Krishnaswamy [Mon, 2 Jan 2006 15:19:14 +0000 (15:19 +0000)]
Release updates, bump version libtool numbers. ***** Release 1.5.4 *****
2006-01-02 Harish Krishnaswamy <kharish@novell.com>
* NEWS, configure.in: Release updates, bump version
libtool numbers.
***** Release 1.5.4 *****
Chenthill Palanisamy [Mon, 2 Jan 2006 11:58:47 +0000 (11:58 +0000)]
fixes #325498
Srinivasa Ragavan [Mon, 2 Jan 2006 09:33:21 +0000 (09:33 +0000)]
Modified files libedataserverui/e-name-selector-entry.c and
2006-01-02 Srinivasa Ragavan <sragavan@novell.com>
* Modified files libedataserverui/e-name-selector-entry.c and
addressbook/libebook/e-destination.[ch]
Sushma Rai [Mon, 2 Jan 2006 06:51:31 +0000 (06:51 +0000)]
Added bug ID to the Changelog entry for LDAP mutex lock patch.
Kjartan Maraas [Mon, 2 Jan 2006 00:11:42 +0000 (00:11 +0000)]
Updated Norwegian bokmål translation. Same.
2006-01-02 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
* no.po: Same.
Åsmund Skjæveland [Sun, 1 Jan 2006 16:05:26 +0000 (16:05 +0000)]
Updated Norwegian Nynorsk translation.
2006-01-01 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Åsmund Skjæveland [Sat, 31 Dec 2005 12:01:47 +0000 (12:01 +0000)]
Updated Norwegian Nynorsk translation.
2005-12-31 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Åsmund Skjæveland [Sat, 31 Dec 2005 01:09:15 +0000 (01:09 +0000)]
Updated Norwegian Nynorsk translation.
2005-12-31 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Francisco Javier F. Serrador [Fri, 30 Dec 2005 17:47:21 +0000 (17:47 +0000)]
Updated Spanish translation.
2005-12-30 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Clytie Siddall [Wed, 28 Dec 2005 07:20:56 +0000 (07:20 +0000)]
vi.po: Updated Vietnamese translation.
Ankitkumar Rameshchandra Patel [Mon, 26 Dec 2005 12:03:27 +0000 (12:03 +0000)]
Updated Translation
Ilkka Tuohela [Mon, 26 Dec 2005 08:35:33 +0000 (08:35 +0000)]
Updated Finnish translation
Adam Weinberger [Mon, 26 Dec 2005 07:01:46 +0000 (07:01 +0000)]
Updated Canadian English translation.
2005-12-26 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Andre Klapper [Fri, 23 Dec 2005 03:32:27 +0000 (03:32 +0000)]
removed one typo. Fixes bug 305549.
2005-12-23 Andre Klapper <
a9016009@gmx.de>
* camel-local-provider.c: removed one typo. Fixes bug 305549.
Shreyas Srinivasan [Thu, 22 Dec 2005 01:48:30 +0000 (01:48 +0000)]
Network Manager Support
2005-12-22 Shreyas Srinivasan <sshreyas@novell.com>
* Network Manager Support
* camel-session.[h,c]: Add a gboolean network_state
which the shell uses to set the current network state.
Add new api's camel_session_get_network_state and
camel_session_set_network_state.
* camel-offline-folder.c: If network down then dont
sync folders while going offline and send clean as FALSE
to camel_service_disconnect.
* camel-disco-folder.c: If network down then dont
sync folders while going offline and send clean as FALSE
to camel_service_disconnect.
Chenthill Palanisamy [Wed, 21 Dec 2005 13:42:05 +0000 (13:42 +0000)]
fixes #305006
Sushma Rai [Wed, 21 Dec 2005 06:43:57 +0000 (06:43 +0000)]
minor fixes, calling e_source_list_sync and exposing
exchange_account_get_authtype() api.
Ankitkumar Rameshchandra Patel [Wed, 21 Dec 2005 05:47:50 +0000 (05:47 +0000)]
Updated Translation
Ignacio Casal Quinteiro [Tue, 20 Dec 2005 18:51:56 +0000 (18:51 +0000)]
*** empty log message ***
Parthasarathi Susarla [Tue, 20 Dec 2005 08:37:20 +0000 (08:37 +0000)]
return if priv is NULL
2005-12-20 Parthasarathi Susarla <sparthasarathi@novell.com>
* e-gw-connection.c: (reauthenticate): return if priv is NULL
Srinivasa Ragavan [Tue, 20 Dec 2005 08:13:56 +0000 (08:13 +0000)]
** Fixes bug #238979
2005-12-20 Srinivasa Ragavan <sragavan@novell.com>
** Fixes bug #238979
* e-name-selector-entry.c: (prepare_popup_destination),
(popup_activate_inline_expand), (populate_popup): Added code to
expand for Contact Lists inline for composer.
Sushma Rai [Mon, 19 Dec 2005 13:51:57 +0000 (13:51 +0000)]
Added APIs for setting and reading save_passwd flag form ExchangeAccount.
Sushma Rai [Mon, 19 Dec 2005 13:27:49 +0000 (13:27 +0000)]
Free E2kAutoconfig structure. Fixes #324483.
Takeshi AIHANA [Sun, 18 Dec 2005 08:11:14 +0000 (08:11 +0000)]
Updated Japanese translation for v1.5.3.
2005-12-18 Takeshi AIHANA <aihana@gnome.gr.jp>
* ja.po: Updated Japanese translation for v1.5.3.
Sushma Rai [Sat, 17 Dec 2005 07:23:12 +0000 (07:23 +0000)]
Using the integer varable "account_online" to store the mode which fixes the
problem of not loading the folders after creating an account, even if the user
is authenticated.
Sushma Rai [Sat, 17 Dec 2005 06:51:55 +0000 (06:51 +0000)]
Corrected the password key values so that password doesn't get propmted twice.
Veerapuram Varadhan [Fri, 16 Dec 2005 16:34:41 +0000 (16:34 +0000)]
Check for invalid combination of prefix and comma separation before
* libebook/e-name-western.c (e_name_western_reorder_asshole): Check for invalid combination of prefix and comma separation before reordering the name.
** Fixes #317411
Chenthill Palanisamy [Fri, 16 Dec 2005 10:30:43 +0000 (10:30 +0000)]
fixes #267330
Sushma Rai [Thu, 15 Dec 2005 11:38:41 +0000 (11:38 +0000)]
Fixes the problem of validating and authenticating user only on pressing
"Authenticate" button twice, even if the user gives the proper password.
Chenthill Palanisamy [Thu, 15 Dec 2005 11:23:34 +0000 (11:23 +0000)]
fixes #324009
Chenthill Palanisamy [Thu, 15 Dec 2005 07:44:28 +0000 (07:44 +0000)]
fixes #321739
Parthasarathi Susarla [Thu, 15 Dec 2005 05:35:28 +0000 (05:35 +0000)]
*** empty log message ***
Tor Lillqvist [Wed, 14 Dec 2005 21:31:52 +0000 (21:31 +0000)]
Fix #323106:
2005-12-14 Tor Lillqvist <tml@novell.com>
Fix #323106:
* camel-imap-store.c (camel_imap_store_summary_full_to_path,
camel_imap_store_summary_path_to_full): Remove extraneous
conversions from IMAP-UTF-7 to UTF-8 and back.
* camel-imap-command.c (imap_command_strdup_vprintf): Do the
conversion from UTF-8 to IMAP-UTF-7 only just before sending a
request. Do it also for %S formats, as that is what the CREATE
command uses. But %S is used also for other commands (like LOGIN
and LIST), so maybe we really would need a new format that would
be used *only* for mailbox (folder) names, assuming it's only
mailbox names that use the IMAP-UTF-7 encoding. Or is that what %F
is intended for? But why then does CREATE use %S?
Parthasarathi Susarla [Wed, 14 Dec 2005 15:28:37 +0000 (15:28 +0000)]
** See bug 317794 Do not convert folder names here, there are already
2005-12-14 Parthasarathi Susarla <sparthasarathi@novell.com>
** See bug 317794
* camel-groupwise-store-summary.c:
(camel_groupwise_store_summary_full_to_path):
(camel_groupwise_store_summary_path_to_full):
Do not convert folder names here, there are already converted
Chenthill Palanisamy [Wed, 14 Dec 2005 13:15:22 +0000 (13:15 +0000)]
use glib 2.8 functions for win32 only
Tor Lillqvist [Tue, 13 Dec 2005 14:11:49 +0000 (14:11 +0000)]
Guard agsinst priv->uri being NULL, too.
2005-12-13 Tor Lillqvist <tml@novell.com>
* e-gw-connection.c (e_gw_connection_dispose): Guard agsinst
priv->uri being NULL, too.
Tor Lillqvist [Tue, 13 Dec 2005 14:07:16 +0000 (14:07 +0000)]
Use g_get_host_name() when building against GLib >= 2.8, not just on
2005-12-13 Tor Lillqvist <tml@novell.com>
* libedataserver/e-uid.c (e_uid_new): Use g_get_host_name() when
building against GLib >= 2.8, not just on Win32.
Tor Lillqvist [Tue, 13 Dec 2005 14:03:56 +0000 (14:03 +0000)]
camel-nntp-grouplist.c Use gstdio wrappers.
2005-12-13 Tor Lillqvist <tml@novell.com>
* camel-nntp-grouplist.c
* camel-nntp-newsrc.c: Use gstdio wrappers.
Tor Lillqvist [Tue, 13 Dec 2005 13:59:46 +0000 (13:59 +0000)]
camel-groupwise-store.c Use gstdio wrappers. Use GDir instead of dirent
2005-12-13 Tor Lillqvist <tml@novell.com>
* camel-groupwise-store.c
* camel-groupwise-utils.c: Use gstdio wrappers. Use GDir instead
of dirent API.
Tor Lillqvist [Tue, 13 Dec 2005 13:54:59 +0000 (13:54 +0000)]
Include Winsock headers on Win32.
2005-12-13 Tor Lillqvist <tml@novell.com>
* camel-tcp-stream.h: Include Winsock headers on Win32.
* camel-tcp-stream-ssl.c (set_errno): Most of the network related
errno values don't exist in the Win32 C library, so use ifdef
around those cases.
(stream_read, stream_write): Check PR_GetError() instead of errno.
No ETIMEDOUT on Win32, so use the catch-all EIO instead.
(cert_fingerprint): The fingerprint is used as a file name, and
there can't be colons in file names on Win32, so use underscore
instead.
(camel_certdb_nss_cert_get, camel_certdb_nss_cert_set): Use gstdio
wrappers. Use g_get_home_dir() on Win32 instead of $HOME.
Tor Lillqvist [Tue, 13 Dec 2005 13:34:16 +0000 (13:34 +0000)]
camel-folder.c Just cosmetics.
2005-12-13 Tor Lillqvist <tml@novell.com>
* camel-folder.c
* camel-junk-plugin.c: Just cosmetics.
* camel-tcp-stream-raw.h (struct _CamelTcpStreamRaw): There is no
way to find out a socket's blockingness state on Win32, so keep
the state in a separate flag field on Win32.
* camel-tcp-stream-raw.c: Use socket API wrapper macros to hide
Unix/Winsock differences. Use camel_read_socket() and
camel_write_socket() to read and write from sockets. Use
ioctlsocket(FIONBIO) to set and clean nonblocking mode on Win32.
Tor Lillqvist [Tue, 13 Dec 2005 10:10:55 +0000 (10:10 +0000)]
Drop unused EVOLUTION_LOCALEDIR.
2005-12-13 Tor Lillqvist <tml@novell.com>
* libecal/Makefile.am (INCLUDES): Drop unused EVOLUTION_LOCALEDIR.
Tor Lillqvist [Tue, 13 Dec 2005 04:58:42 +0000 (04:58 +0000)]
Use gstdio wrappers. Use binary mode when opening files. Use
2005-12-13 Tor Lillqvist <tml@novell.com>
* camel-object.c: Use gstdio wrappers. Use binary mode when
opening files. Use g_path_get_dirname().
Use a separate have_owner boolean flag field to indicate whether
the pthread_t owner field is valid in the _CamelObjectBagKey
struct. There is no portable way to check a pthread_t for
uninitializedness. Remove the E_THREAD_NONE magic constant. Use
pthread_equal() to compare pthread_t values.
Tor Lillqvist [Tue, 13 Dec 2005 04:50:18 +0000 (04:50 +0000)]
Use g_usleep() instead of sleep() which isn't available (as such) on
2005-12-13 Tor Lillqvist <tml@novell.com>
* camel-lock.c: Use g_usleep() instead of sleep() which isn't
available (as such) on Win32. No locking implementation for Win32
yet (none of USE_DOT, USE_FCNTL or USE_FLOCK get defined on
Win32), I wonder whether it is necessary t ohave one? Is locking
used to guard against several threads in Evolution (or Evolution
and the E-D-S or E-E processes) accessing the same files
simultaneously, not just against other apps accessing them while
Evolution is?
Tor Lillqvist [Tue, 13 Dec 2005 04:37:10 +0000 (04:37 +0000)]
Use gstdio wrappers. Use g_filename_to_uri().
2005-12-13 Tor Lillqvist <tml@novell.com>
* camel-filter-driver.c: Use gstdio wrappers. Use
g_filename_to_uri().
* camel-filter-driver.c (pipe_to_system)
* camel-filter-search.c (run_command): Use
g_spawn_async_with_pipes() instead of manual fork/dup/exec dance.
Tor Lillqvist [Tue, 13 Dec 2005 03:54:29 +0000 (03:54 +0000)]
Drop unused CONNECTOR_LOCALEDIR.
2005-12-11 Tor Lillqvist <tml@novell.com>
* lib/Makefile.am: Drop unused CONNECTOR_LOCALEDIR.
* lib/e2k-autoconfig.c
* lib/e2k-context.c: Include appropriate headers on Win32.
* lib/e2k-autoconfig.c: Drop inclusion of
libedataserver/e-account.h and libedataserver/e-account-list.h,
that API is not used here.
(find_global_catalog): Add Win32 implementation.
(find_olson_timezone): Use g_win32_getlocale() on Win32 instead of
the usually nonexistent LANG environment variable.
(read_config): Form path to connector.conf at run-time for the
benefit of Win32 freely chosen end-user install location.
* lib/e2k-autoconfig.c
* lib/e2k-path.c
* storage/e-folder-exchange.c
* storage/exchange-hierarchy-foreign.c
* storage/exchange-hierarchy-webdav.c: Use gstdio wrappers.
* lib/e2k-context.c: Define strtok_r() using strtok() on Windows,
where strtok() is MT-safe. Wrap socket API calls with simple
macros for Unix/Winsock portability. Use
g_io_channel_win32_new_socket() on Windows.
* lib/e2k-global-catalog-ldap.h: Include winldap.h on Windows. Add
some OpenLDAP macros that aren't present in winldap.h.
* lib/e2k-global-catalog.c: Remove duplicate inclusion of ldap.h,
it's already included by e2k-global-catalog-ldap.h
(finalize): g_free() works fine on NULL pointers.
(connect_ldap, get_ldap_connection): Rename ldap_connect() to
connect_ldap() to avoid clash with the ldap_connect() function in
the LDAP API.
(connect_ldap): Use WINNT authentication on Windows.
* lib/e2k-path.c (find_folders_recursive):
* storage/exchange-account.c (setup_account_hierarchies): Use
g_dir* instead of dirent API for portability.
* storage/Makefile.am: Use NO_UNDEFINED (meaning -no-undefined on
Windows). Link with all needed libraries for the benefit of
-no-undefined.
* storage/e-folder-exchange.c (e_mkdir_hier) Remove duplicate
implementation, already have it as e_util_mkdir_hier() in
libedataserver/e-util.c.
(sanitize_path): Must return something in all cases, this function
is not void. Why did gcc let this through with just a warning?
* storage/e-folder-exchange.c
* storage/exchange-hierarchy-foreign.c: Use e_xml_parse_file()
instead of xmlParseFile(), as that doesn't take UTF-8 filenames on
Windows. Use e_xml_save_file() for the same reason.
* storage/e-folder-exchange.c (e_xml_get_child_by_name): Remove,
now in libedataserver/e-xml-utils.c.
* storage/exchange-account.c (exchange_account_set_password):
Do compile even if not HAVE_KRB5, but always return failure. Means
less ifdefs elsewhere.
(e_filename_make_safe): Remove this function which isn't used,
especially as there is an exact duplicate in evolution's
e-util/e-util.c. If it eventually is needed also somewhere in
e-d-s, move it to libedataserver instead.
Harish Krishnaswamy [Mon, 12 Dec 2005 16:41:59 +0000 (16:41 +0000)]
Release updates, bump version libtool numbers. ***** Release 1.5.3 *****
2005-12-12 Harish Krishnaswamy <kharish@novell.com>
* NEWS, configure.in: Release updates, bump version
libtool numbers.
***** Release 1.5.3 *****
Irene Huang [Mon, 12 Dec 2005 08:03:39 +0000 (08:03 +0000)]
If password exists, used the remembered password to do the
2005-12-12 Irene Huang <Irene.Huang@sun.com>
* lib/e2k-autoconfig.c: (e2k_validate_user): If password
exists, used the remembered password to do the
authentification. If validation failed, forget password.
Christophe Merlet [Sun, 11 Dec 2005 23:00:28 +0000 (23:00 +0000)]
Updated French Translation.
Miloslav Trmac [Sun, 11 Dec 2005 21:52:39 +0000 (21:52 +0000)]
Updated Czech translation.
2005-12-11 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
Ankitkumar Rameshchandra Patel [Sun, 11 Dec 2005 13:27:14 +0000 (13:27 +0000)]
Updated Gujarati Translation
Tor Lillqvist [Sun, 11 Dec 2005 08:06:56 +0000 (08:06 +0000)]
Include the Winsock2 headers on Win3.
2005-12-11 Tor Lillqvist <tml@novell.com>
* camel-net-utils.h: Include the Winsock2 headers on Win3.
Tor Lillqvist [Sun, 11 Dec 2005 08:05:29 +0000 (08:05 +0000)]
Implement gai_strerror() for Win32. (cs_waitinfo): Use select() instead of
2005-12-11 Tor Lillqvist <tml@novell.com>
* camel-net-utils.c (gai_strerror): Implement gai_strerror() for
Win32.
(cs_waitinfo): Use select() instead of poll() on Win32. Use
g_win32_error_message(WSAGetLastError()) for socket API error
messages on Win32.
Tor Lillqvist [Sun, 11 Dec 2005 07:58:09 +0000 (07:58 +0000)]
Use gstdio wrappers. Ifdef out implementation on Win32 for now. Will have
2005-12-11 Tor Lillqvist <tml@novell.com>
* camel-gpg-context.c: Use gstdio wrappers. Ifdef out
implementation on Win32 for now. Will have to come back to this
later. Probably running a gpg subprocess is not the right way to
do this on Windows.
(swrite): Use g_get_tmp_dir(), g_build_filename(), g_mkstemp().
Tor Lillqvist [Sun, 11 Dec 2005 07:42:42 +0000 (07:42 +0000)]
Use g_build_filename() and g_filename_to_uri().
2005-12-11 Tor Lillqvist <tml@novell.com>
* libecal/e-cal.c (set_local_attachment_store,
e_cal_new_system_calendar, e_cal_new_system_tasks,
e_cal_new_system_memos): Use g_build_filename() and
g_filename_to_uri().
Tor Lillqvist [Sun, 11 Dec 2005 07:34:12 +0000 (07:34 +0000)]
No need to have ifdefs for g_access() here, camel-private #defines
2005-12-11 Tor Lillqvist <tml@novell.com>
* camel-session.c (get_storage_path): No need to have ifdefs for
g_access() here, camel-private #defines g_access as access when
builing against an older GLib.
Sushma Rai [Sat, 10 Dec 2005 10:07:13 +0000 (10:07 +0000)]
Send the proper error code in case out exchange calendar authentication
failure. Removed redundant looping and unused code and setting connected
plag to FALSE on no password.
Tor Lillqvist [Fri, 9 Dec 2005 11:33:55 +0000 (11:33 +0000)]
Open file in binary mode. Compare localized strings using
2005-12-09 Tor Lillqvist <tml@novell.com>
* libecal/e-cal-util.c: Open file in binary mode. Compare
localized strings using e_util_utf8_strcasecmp() instead of
g_strcasecmp().
Tor Lillqvist [Fri, 9 Dec 2005 11:27:19 +0000 (11:27 +0000)]
Add localtime_r() and strtok_r() implementations for Win32.
2005-12-09 Tor Lillqvist <tml@novell.com>
* backends/weather/e-weather-source-ccf.c: Add localtime_r() and
strtok_r() implementations for Win32.
(find_station_url): Run-time lookup of the Locations.xml file on
Win32. Use e_xml_parse_file.
(tokenize): Remove unnecessary buffer allocation.
Tor Lillqvist [Fri, 9 Dec 2005 11:21:49 +0000 (11:21 +0000)]
Use gstdio wrappers. Use g_filename_from_uri() and g_file_get_contents().
2005-12-09 Tor Lillqvist <tml@novell.com>
* backends/groupwise/e-cal-backend-groupwise-utils.c: Use gstdio
wrappers. Use g_filename_from_uri() and g_file_get_contents().
Tor Lillqvist [Fri, 9 Dec 2005 10:56:46 +0000 (10:56 +0000)]
Use gstdio wrappers. Open files in binary mode. (is_helper): Use
2005-12-09 Tor Lillqvist <tml@novell.com>
* libedata-book/e-book-backend-summary.c: Use gstdio
wrappers. Open files in binary mode.
(is_helper): Use e_util_utf8_strcasecmp() instead of strcasecmp().
* libedata-book/e-book-backend-sexp.c (is_helper): Use
e_util_utf8_strcasecmp() instead of strcasecmp().
Tor Lillqvist [Fri, 9 Dec 2005 10:42:28 +0000 (10:42 +0000)]
Construct glade file names at run-time.
2005-12-09 Tor Lillqvist <tml@novell.com>
* e-name-selector-dialog.c (e_name_selector_dialog_init):
Construct glade file names at run-time.
Tor Lillqvist [Fri, 9 Dec 2005 10:40:37 +0000 (10:40 +0000)]
Construct glade file names at run-time.
2005-12-09 Tor Lillqvist <tml@novell.com>
* e-categories-dialog.c (load_properties_dialog,
e_categories_dialog_init): Construct glade file names at run-time.
Tor Lillqvist [Fri, 9 Dec 2005 10:35:36 +0000 (10:35 +0000)]
Use guint instead of uint.
2005-12-09 Tor Lillqvist <tml@novell.com>
* e-source-option-menu.c: Use guint instead of uint.
Tor Lillqvist [Fri, 9 Dec 2005 10:33:55 +0000 (10:33 +0000)]
Use pthread_equal() to compare pthread_t values.
2005-12-09 Tor Lillqvist <tml@novell.com>
* e-passwords.c (ep_msg_new): Use pthread_equal() to compare
pthread_t values.
Tor Lillqvist [Fri, 9 Dec 2005 10:31:38 +0000 (10:31 +0000)]
When building against GLib 2.8, use g_mkdir_with_parents().
2005-12-09 Tor Lillqvist <tml@novell.com>
* libedataserver/e-util.c (e_util_mkdir_hier): When building
against GLib 2.8, use g_mkdir_with_parents().
(e_util_utf8_strcasecmp): New function. Casefolds two UTF-8
strings, then does a linguistically correct comparison using
g_utf8_collate().
(e_filename_make_safe): New function, move here from
evolution/e-util/e-util.c.
(g_rename, g_stat): Win32-only fixed versions of these GLib
functions, just until the next GLib version including the same
fixes is out. This version of g_rename() overwrites existing
files, and this version of g_stat() strips trailing insignificant
slashes.
* libedataserver/e-util.h: Declare the new functions.
Parthasarathi Susarla [Fri, 9 Dec 2005 10:23:37 +0000 (10:23 +0000)]
** See bug 321830
2005-12-09 Parthasarathi Susarla <sparthasarathi@novell.com>
** See bug 321830
* camel-groupwise-folder.c: (gw_update_cache): Do not skip
caching sent items, they dont get displayed otherwise.
Tor Lillqvist [Fri, 9 Dec 2005 10:14:14 +0000 (10:14 +0000)]
Add some socket API wrappers to hide Unix/Winsock differences.
2005-12-09 Tor Lillqvist <tml@novell.com>
* libedataserver/e-msgport.c: Add some socket API wrappers to hide
Unix/Winsock differences.
Use separate flag fields to indicate whether we have a thread or
not in the EThread and EMutex structs. There is no portable way to
check a pthread_t for uninitializedness. Remove the E_THREAD_NONE
magic constant.
The portable way to check two pthread_t values for equality is
pthread_equal().
Use e_util_pthread_id() to get an "id" for the thread in debugging
output.
(e_pipe): New function, Win32 only. Creates a connected TCP socket
pair. Should have this in GLib, I guess. This code snippet is
essentially duplicated in
ORBit2/linc/src/linc-compat.c:link_pipe() and at least one other
place I don't recall now.
(e_msgport_prfd): Use PR_NewTCPSocketPair() instead of
PR_CreatePipe() on Win32, as we want sockets, not a pipe (file
descriptors).
Tor Lillqvist [Fri, 9 Dec 2005 07:57:08 +0000 (07:57 +0000)]
Just #define O_BINARY as 0 on Unix, less ifdefs that way. Should really do
2005-12-09 Tor Lillqvist <tml@novell.com>
* camel-mbox-folder.c: Just #define O_BINARY as 0 on Unix, less
ifdefs that way. Should really do this in some suitable header, of
course, and not duplicate here and there.
David Malcolm [Fri, 9 Dec 2005 07:46:20 +0000 (07:46 +0000)]
restore missing declarations for non-Win32 systems.
2005-12-09 David Malcolm <dmalcolm@redhat.com>
* camel-local-folder.c: restore missing declarations for non-Win32
systems.
* camel-mbox-folder.c: avoid use of O_BINARY on non-Win32 systems.
Tor Lillqvist [Thu, 8 Dec 2005 11:28:47 +0000 (11:28 +0000)]
Use gstdio wrappers. Use GLib portable path manipulation API. No symlinks
2005-12-08 Tor Lillqvist <tml@novell.com>
* *.c: Use gstdio wrappers. Use GLib portable path manipulation
API. No symlinks on Win32. Use GDir instead of dirent.
* camel-local-provider.c: Compile in only the mbox provider on Win32.
* camel-mbox-folder.c: Bypass locking so far on Win32. Should
implement, though, several threads in Evo might be accessing the
same mbox folder.
* camel-mbox-store.c: No inode numbers on Win32, but no symlinks
either, so bypass the code to avoid visiting the same folder
twice.
Tor Lillqvist [Thu, 8 Dec 2005 11:09:12 +0000 (11:09 +0000)]
Bypass the external command stuff on Win32.
2005-12-08 Tor Lillqvist <tml@novell.com>
* camel-imap4-store.c: Bypass the external command stuff on Win32.
* camel-imap4-summary.c: Use g_ascii_strncasecmp() instead of
strncasecmp().
Tor Lillqvist [Thu, 8 Dec 2005 11:05:45 +0000 (11:05 +0000)]
Improve ChangeLog entry.
Tor Lillqvist [Thu, 8 Dec 2005 11:04:40 +0000 (11:04 +0000)]
Drop unused <dirent.h>.
2005-12-08 Tor Lillqvist <tml@novell.com>
* camel-imap-folder.c: Drop unused <dirent.h>.
* camel-imap-message-cache.c: Use gstdio wrappers.
(camel_imap_message_cache_new): Use GDir instead of dirent API.
(insert_setup): Trailing periods in file names are silently
dropped on Win32, so on Win32, if the we would want to create a
file with a name ending with a perioud, append a tilde (just a
random choice). Open file in binary mode.
* camel-imap-provider.c: No external command possibility on Win32,
drop that part of the UI.
* camel-imap-store.c: Use gstdio wrappers.
* camel-imap-utils.c (find_folders_recursive): Use GDir instead of
dirent API.
Parthasarathi Susarla [Thu, 8 Dec 2005 08:59:32 +0000 (08:59 +0000)]
*** empty log message ***
Tor Lillqvist [Thu, 8 Dec 2005 08:10:40 +0000 (08:10 +0000)]
Don't use G_DIR_SEPARATOR or g_build_filename() to manipulate URIs. URIs
2005-12-08 Tor Lillqvist <tml@novell.com>
* libedataserver/e-source.c (e_source_build_absolute_uri): Don't
use G_DIR_SEPARATOR or g_build_filename() to manipulate URIs. URIs
always use slashes, not platform-dependent separators.
(e_source_set_name): Compare the strings, not the pointers.
Tor Lillqvist [Thu, 8 Dec 2005 07:59:00 +0000 (07:59 +0000)]
Compare the strings, not the pointers.
2005-12-08 Tor Lillqvist <tml@novell.com>
* libedataserver/e-source-group.c (e_source_group_set_name):
Compare the strings, not the pointers.
Tor Lillqvist [Thu, 8 Dec 2005 07:56:02 +0000 (07:56 +0000)]
Add NONE:INT.
2005-12-08 Tor Lillqvist <tml@novell.com>
* storage/e-shell-marshal.list: Add NONE:INT.
Tor Lillqvist [Thu, 8 Dec 2005 07:50:28 +0000 (07:50 +0000)]
Use gstdio wrappers.
2005-12-08 Tor Lillqvist <tml@novell.com>
* libedataserver/e-file-cache.c: Use gstdio wrappers.
Tor Lillqvist [Thu, 8 Dec 2005 07:47:15 +0000 (07:47 +0000)]
Use gstdio wrappers.
2005-12-08 Tor Lillqvist <tml@novell.com>
* libedataserver/e-db3-utils.c: Use gstdio wrappers.
Tor Lillqvist [Thu, 8 Dec 2005 07:43:36 +0000 (07:43 +0000)]
Add the new files. Install e-xml-utils.h.
2005-12-08 Tor Lillqvist <tml@novell.com>
* libedataserver/Makefile.am: Add the new files. Install
e-xml-utils.h.
Tor Lillqvist [Thu, 8 Dec 2005 07:36:07 +0000 (07:36 +0000)]
Use e_xml_parse_file() and e_xml_save_file(). As e_xml_save_file() does
2005-12-08 Tor Lillqvist <tml@novell.com>
* libedataserver/e-xml-hash-utils.c: Use e_xml_parse_file() and
e_xml_save_file(). As e_xml_save_file() does the very careful
saving using a temporary filename and then rename, don't need to
that here.
Tor Lillqvist [Thu, 8 Dec 2005 07:07:14 +0000 (07:07 +0000)]
libedataserver/e-xml-utils.c New files. (e_xml_parse_file): Replacement
2005-12-08 Tor Lillqvist <tml@novell.com>
* libedataserver/e-xml-utils.c
* libedataserver/e-xml-utils.h: New files.
(e_xml_parse_file): Replacement for xmlParseFile(). Needed because
the file names we handle on Win32 are in UTF-8, which libxml2
doesn't grok. So, when using GLib 2.8, we map the file with the
GMappedFile API and use xmlParseMemory(). When built against older
GLibs (which doesn't happen on Win32), just use xmlParseFile().
(e_xml_save_file, e_xml_get_child_by_name): Moved from Evolution's
e-xml-utils.c. Presumably should move all the rest of the
functions from there, too.
Jeff Cai [Thu, 8 Dec 2005 06:46:02 +0000 (06:46 +0000)]
if search expression of a vfolder is null, make it an empty string. Fix
2005-12-07 Jeff Cai <jeff.cai@sun.com>
* camel-vee-folder.c: (vee_search_by_expression),
(vee_search_by_uids):
if search expression of a vfolder is null, make it an empty string.
Fix #323433
Tor Lillqvist [Thu, 8 Dec 2005 06:41:55 +0000 (06:41 +0000)]
Win32 port: Include <winsock2.h>. Use g_htonl() and g_ntohl().
2005-12-08 Tor Lillqvist <tml@novell.com>
* camel-file-utils.c: Win32 port: Include <winsock2.h>. Use
g_htonl() and g_ntohl().
(camel_mkdir): Implement using g_mkdir_with_parents() when
compiling against GLib 2.8 or later.
(camel_file_util_safe_filename): Need to encode more unsafe chars
on Win32.
(camel_read, camel_write): Not cancellable on Win32. But then
these functions should be used only with regular files, not
sockets.
(camel_read_socket, camel_write_socket): New functions, to be used
for sockets. On Unix just call camel_read() and camel_write(). On
Win32 use recv() and write(). read() and write() can not be used
on sockets in Windows. read() and write() are in the C library,
which knows nothing about sockets.
(camel_file_util_savename): Clarify doc comment. Use
g_path_get_dirname() instead of looking for '/'. Use
g_path_get_basename(), and g_build_filename() to construct the
savename.
Tor Lillqvist [Thu, 8 Dec 2005 06:26:40 +0000 (06:26 +0000)]
Use gstdio wrappers for full non-ASCII filename support on Windows. Use
2005-12-08 Tor Lillqvist <tml@novell.com>
* backends/groupwise/e-cal-backend-groupwise.c: Use gstdio
wrappers for full non-ASCII filename support on Windows. Use
g_path_get_basename() instead of looking for '/'. Use
g_filename_to_uri() instead of prefixing "file://". Use
g_file_get_contents() or GMappedFile (if built against GLib >=
2.8) to read the attachment files.
Tor Lillqvist [Thu, 8 Dec 2005 06:17:19 +0000 (06:17 +0000)]
Use gstdio wrappers for full non-ASCII filename support on Windows. Use
2005-12-08 Tor Lillqvist <tml@novell.com>
* backends/file/e-cal-backend-file.c: Use gstdio wrappers for full
non-ASCII filename support on Windows. Use g_path_get_basename()
instead of looking for '/'. Use g_filename_to_uri() instead of
prefixing "file://". Use g_file_get_contents() or GMappedFile (if
built against GLib >= 2.8) to read the attachment files.
Tor Lillqvist [Thu, 8 Dec 2005 05:45:48 +0000 (05:45 +0000)]
Use g_get_tmp_dir() instead of hardcoding /tmp. Use g_filename_to_uri()
2005-12-08 Tor Lillqvist <tml@novell.com>
* tests/ebook/test-changes.c: Use g_get_tmp_dir() instead of
hardcoding /tmp. Use g_filename_to_uri() instead of just prefixing
file://.
Tor Lillqvist [Thu, 8 Dec 2005 05:35:43 +0000 (05:35 +0000)]
Use UTF-8 case folding and collation. Yeah, maybe this is over-engineering
2005-12-08 Tor Lillqvist <tml@novell.com>
* libebook/e-name-western.c (e_name_western_fixup): Use UTF-8 case
folding and collation. Yeah, maybe this is over-engineering for
this purpose...
Tor Lillqvist [Thu, 8 Dec 2005 05:34:56 +0000 (05:34 +0000)]
Add the incorrect ASCII-only spellings "fraulein" and "senor*" back in
2005-12-08 Tor Lillqvist <tml@novell.com>
* libebook/e-name-western-tables.h: Add the incorrect
ASCII-only spellings "fraulein" and "senor*" back in addition
to the correct ones.