Commit Graph

27 Commits

Author SHA1 Message Date
0274669179 Fix excessive whitespace. 2009-07-12 23:33:07 -04:00
8771a6de35 More code cleanup. 2009-06-01 19:09:19 -04:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
b4d7c0892e Bug 572977 – Use g_strerror() instead of strerror() 2009-05-02 23:11:12 -04:00
14fa5c8a8c Change License from GPL to LGPL. 2nd batch.
More changes to come.

svn path=/trunk/; revision=36247
2008-09-02 16:25:53 +00:00
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
e0d5ae3e97 ** Fixes bug #513951
2008-03-11  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #513951

	* addressbook/gui/component/addressbook-component.c (ensure_sources):
	* addressbook/gui/component/addressbook-migrate.c (addressbook_migrate):
	* calendar/gui/cal-search-bar.c (cal_search_bar_construct):
	* calendar/gui/migration.c (create_calendar_sources),
	(create_task_sources), (migrate_calendars), (migrate_tasks),
	(create_memo_sources):
	* calendar/gui/e-memos.c (e_memos_setup_view_menus):
	* calendar/gui/tasks-component.c (ensure_sources):
	* calendar/gui/gnome-cal.c (gnome_calendar_setup_view_menus):
	* calendar/gui/calendar-component.c (ensure_sources):
	* calendar/gui/memos-component.c (ensure_sources):
	* mail/mail-config.c (gconf_mime_types_changed):
	Adapt to new meaning of xxx_component_peek_base_directory().

	* addressbook/gui/component/addressbook-component.c
	(addressbook_component_init):
	* addressbook/gui/component/addressbook-migrate.c (create_groups):
	* calendar/gui/tasks-component.c (tasks_component_init):
	* calendar/gui/calendar-component.c (calendar_component_init):
	* calendar/gui/memos-component.c (memos_component_init):
	* composer/e-msg-composer.c (autosave_manager_query_load_orphans),
	(autosave_init_file):
	* e-util/e-mktemp.c (get_dir):
	* e-util/e-util.c (get_lock_filename):
	* mail/mail-component.c:
	* plugins/face/face.c (org_gnome_composer_face):
	* smime/lib/e-cert-db.c (initialize_nss):
	Use e_get_user_data_dir() instead of constructing the full path.

	* calendar/gui/migration.c (add_gw_esource):
	* composer/e-msg-composer.c (e_msg-composer_unrealize),
	(e_msg_composer_set_view_from), (e_msg_composer_set_view_replyto),
	(e_msg_composer_set_view_to), (e_msg_composer_set_view_postto),
	(e_msg_composer_set_view_cc), (e_msg_composer_set_view_bcc):
	* e-util/e-util.c (e_file_update_save_path), (e_file_get_save_path):
	Emit warnings if saving to GConf fails.

	* e-util/e-util.c (e_get_user_data_dir):
	New function returns the base directory for Evolution user data.
	This should be the /only/ place in the application where this
	directory is hard-coded.


svn path=/trunk/; revision=35175
2008-03-11 15:20:59 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
27f2852a27 Warning fixes. - NULL vs 0 - ANSIfication of declarations - missing
2007-10-26  Kjartan Maraas  <kmaraas@gnome.org>

	* e-config.c:
	* e-event.c:
	* e-gui-utils.c:
	* e-import.c:
	* e-menu.c:
	* e-mktemp.c: (get_dir):
	* e-popup.c:
	* e-profile-event.c: (e_profile_event_peek):
	* e-util.c: (get_font_options):
	* e-xml-utils.c: (e_xml_get_string_prop_by_name),
	(e_xml_get_string_prop_by_name_with_default),
	(e_xml_get_translated_string_prop_by_name):

	Warning fixes.
	- NULL vs 0
	- ANSIfication of declarations
	- missing include

svn path=/trunk/; revision=34428
2007-10-26 08:00:59 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
936745c109 Use g_build_filename to get the tempoary directory name. Fix #399307
2007-02-27  Jeff Cai <jeff.cai@sun.com>

        * e-mktemp.c: (get_dir):
        Use g_build_filename to get the tempoary directory name.
        Fix #399307


svn path=/trunk/; revision=33263
2007-02-28 02:41:29 +00:00
e459ad918e Delete e_mkdir_hier(), and use e_util_mkdir_hier() instead of it.
2006-01-10  Simon Zheng  <simon.zheng@sun.com>

        * e-mktemp.c (get_dir):
        * e-plugin.c:
        * e-util.[ch] (e_create_directory):
        (e_sort):
        Delete e_mkdir_hier(), and use e_util_mkdir_hier()
        instead of it.

        Delete e_strstrcasea(), and use e_util_strstrcase()
        instead of it.

        Delete e_strftime(), use the copy in evolution-data-server/
        libedataserver/e-data-server-util.c instead of it.

        Delete e_filename_make_safe(), and use the copy in
        evolution-data-server/libedataserver/e-data-server-util.c
        instead of it.

        Detelte e_utf8_strftime(), and use the copy in
        evolution-data-server/libedataserver/e-data-server-util.c
        instead of it.

svn path=/trunk/; revision=31117
2006-01-10 08:09:20 +00:00
656e89904c Use GLib API where applicable for portability.
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-mktemp.c: Use GLib API where applicable for portability.

svn path=/trunk/; revision=30823
2005-12-17 15:52:21 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
2005-06-17  Kaushal Kumar  <kakumar@novell.com>

        * Retired GAL from Head. The relevant files have moved inside
        evolution. Thanks to JP Rosevear for performing the cvs surgery. The
        files have been moved in the following order.

        evolution/e-util <- gal/gal/util
        evolution/a11y <-  gal/gal/a11y
        evolution/a11y/e-table <- gal/gal/a11y/e-table
        evolution/a11y/e-text <- gal/gal/a11y/e-text
        evolution/widgets/table <- gal/gal/e-table
        evolution/widgets/text <- gal/gal/e-text
        evolution/widgets/misc <- gal/gal/widgets
        evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
        evolution/widgets/menus <- gal/gal/menus

        Following is the summary of changes done to fix the build:-
        - New files added to cvs repository,
                - a11y/e-table/Makefile.am
                - a11y/e-text/Makefile.am
                - widgets/table/Makefile.am
                - widgets/text/Makefile.am
                - widgets/misc/pixmaps/Makefile.am
                - iconv-detect.h
                - iconv-detect.c
        - Updated configure.in.
        - Updated all the relevant Makefile.am files.
        - Updated the include paths to replace all gal references.
        - Updated the marshal list to suit gal files requirements.

svn path=/trunk/; revision=29522
2005-06-17 15:20:35 +00:00
ff09779a90 debugify a few more printfs
svn path=/trunk/; revision=26649
2004-07-14 15:45:07 +00:00
109c235bb2 un-const the return values, since they need to be freed (d): turn off
* e-mktemp.c (e_mktemp, e_mkdtemp): un-const the return values,
        since they need to be freed
        (d): turn off debugging
        (expire_dir_rec): remove debug printfs

svn path=/trunk/; revision=26647
2004-07-14 15:19:58 +00:00
3181ad6bfa ** See Bug #37329.
2004-02-27  Not Zed  <NotZed@Ximian.com>

        ** See Bug #37329.

        * e-mktemp.c (get_dir): setup a comjpile time option for storing
        in the homedir, and also just use the uid as the key for a /tmp
        dir option.
        (e_mktemp_cleanup): removed entirely.
        (e_mkstemp, e_mkdtemp, e_mktemp): dont save the file/dirname in a
        list anymore.
        (expire_dir_rec): expire old temp data from previous runs/old data
        lying around.  Based on access time.
        (get_dir): run an expirey every now and then.

svn path=/trunk/; revision=24941
2004-03-03 06:24:19 +00:00
167ff0651a We need to unlink the full paths in the tmpdirs, not just the base path.
2003-08-27  Jeffrey Stedfast  <fejj@ximian.com>

	* e-mktemp.c (e_mktemp_cleanup): We need to unlink the full paths
	in the tmpdirs, not just the base path.

svn path=/trunk/; revision=22391
2003-08-27 20:55:46 +00:00
64ea8d10a8 A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED and
2003-01-02  Jeffrey Stedfast  <fejj@ximian.com>

	A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED
	and -DGTK_DISABLE_DEPRECATED.

svn path=/trunk/; revision=19210
2003-01-02 21:32:14 +00:00
046de2dc3f #include <string.h> for strcmp.
2002-03-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-mktemp.c: #include <string.h> for strcmp.

svn path=/trunk/; revision=15907
2002-03-04 20:33:34 +00:00
10b85c3677 More fixing of the license texts.
svn path=/trunk/; revision=14242
2001-10-27 23:42:27 +00:00
02fecf70e2 Make sure the dir pointer is non-NULL before using it.
2001-09-13  Jeffrey Stedfast  <fejj@ximian.com>

	* e-mktemp.c (e_mktemp_cleanup): Make sure the dir pointer is
	non-NULL before using it.

svn path=/trunk/; revision=12807
2001-09-13 19:42:28 +00:00
ab8885da53 Fix the check for the case when mkdir() returns EEXIST to check S_ISDIR on
* e-mktemp.c (get_path): Fix the check for the case when mkdir()
	returns EEXIST to check S_ISDIR on the right structure component.
	Fixes bug #8775.

svn path=/trunk/; revision=12644
2001-09-05 23:37:01 +00:00
2854f067ae robustification
svn path=/trunk/; revision=12468
2001-08-24 23:49:49 +00:00
7c6273ec2e Added e-mktemp.[c,h] to the build.
2001-08-24  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Added e-mktemp.[c,h] to the build.

	* e-mktemp.c (e_mktemp): A new wrapper around mktemp so that we
	can keep track of temp files for later cleanup.
	(e_mkstemp): Same but obviously for the mkstemp call.
	(e_mkdtemp): And finally a mkdtemp wrapper.

svn path=/trunk/; revision=12460
2001-08-24 22:36:52 +00:00