Commit Graph

13809 Commits

Author SHA1 Message Date
c5ac2a9e51 Check that there is a value to setup. Fixes #15470.
2002-04-10  Not Zed  <NotZed@Ximian.com>

        * filter-input.c (validate): Check that there is a value to
        setup.  Fixes #15470.

svn path=/trunk/; revision=16420
2002-04-10 10:27:39 +00:00
35cd31644f Make the folder_lock recursive. See bug #22363 for details. Basically,
2002-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-store.c (camel_store_init): Make the folder_lock
	recursive. See bug #22363 for details. Basically,
	get_folder_info() is requesting a diary folder which in turn
	connects which requests then calls get_folder() but deadlocks
	because get_folder_info already holds the lock.

svn path=/trunk/; revision=16419
2002-04-10 03:02:33 +00:00
63a8a94536 removed an extra printf
svn path=/trunk/; revision=16418
2002-04-09 23:53:20 +00:00
6b93328a40 Kludge around the brokeness that is GtkOptionMenu just like we kludge
2002-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (setup_service): Kludge around the brokeness
	that is GtkOptionMenu just like we kludge around it for the
	authtype option menu.

svn path=/trunk/; revision=16417
2002-04-09 23:52:46 +00:00
35d0d166f8 Change the logic for displaying a default window, so we don't end up with
* main.c (idle_cb): Change the logic for displaying a default
window, so we don't end up with two windows all the time.

svn path=/trunk/; revision=16416
2002-04-09 21:57:10 +00:00
0ed2607807 This needs to return a gboolean (TRUE). (rule_edit): Using
2002-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (double_click): This needs to return a gboolean
	(TRUE).
	(rule_edit): Using gnome_dialog_set_parent instead of
	gtk_widget_set_parent_window seems to fix bug #23226.

svn path=/trunk/; revision=16415
2002-04-09 21:51:07 +00:00
e5eb5e62f7 made the copmment clearer
svn path=/trunk/; revision=16413
2002-04-09 20:02:43 +00:00
3fca798afe Don't adjust the timezone offset if we used tm.tm_gmtoff because it is
2002-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-message.c (camel_mime_message_set_date): Don't adjust
	the timezone offset if we used tm.tm_gmtoff because it is already
	adjusted.

svn path=/trunk/; revision=16412
2002-04-09 19:57:09 +00:00
4ebf5cbd15 Oops. The previous change made the search bar widgets get packed in the
* e-search-bar.c (e_search_bar_construct, add_button): Oops. The
	previous change made the search bar widgets get packed in the
	wrong order. So use gtk_box_pack_end instead in add_button and add
	the two buttons in reverse order. It's all good now. Noticed by
	Ettore, who I then promptly blamed for it. Sorry Ettore!

svn path=/trunk/; revision=16411
2002-04-09 19:42:56 +00:00
574ee58b96 Update for new-and-improved consistent default folder uri.
* backend/ebook/e-book-util.c (e_book_load_default_book): Update
	for new-and-improved consistent default folder uri.

	* gui/component/addressbook.c (addressbook_load_default_book): Use
	e_book_load_default_book rather than duplicating most of its logic
	here.
	(load_uri_cb): Modify to work as a callback for
	addressbook_load_default_book as well as addressbook_load_uri.

svn path=/trunk/; revision=16409
2002-04-09 16:37:49 +00:00
ef108f7218 Added closing ) for "not starts with" subject rule. Added closing ) for
2002-04-10  Not Zed  <NotZed@Ximian.com>

        * filtertypes.xml: Added closing ) for "not starts with" subject
        rule.
        Added closing ) for all the other broken rules too ...

svn path=/trunk/; revision=16408
2002-04-09 16:36:49 +00:00
92d85ea01a Move <dirent.h> down the #include list so it compiles on Darwin.
* e-local-storage.c: Move <dirent.h> down the #include list so it
compiles on Darwin.

svn path=/trunk/; revision=16407
2002-04-09 16:30:53 +00:00
fb12a78742 Added closing ) for "not starts with" subject rule.
2002-04-10  Not Zed  <NotZed@Ximian.com>

        * filtertypes.xml: Added closing ) for "not starts with" subject
        rule.

svn path=/trunk/; revision=16406
2002-04-09 16:26:49 +00:00
a1720426f1 New. Check that things that need to be in the config db are. Right now it
* e-setup.c (e_setup_check_db): New. Check that things that need
	to be in the config db are. Right now it sets up the default
	folders.

	* e-shell.c (e_shell_construct): Call e_setup_check_db after
	getting the config db.

	* e-shell-constants.h: Add E_SUMMARY_URI, E_LOCAL_INBOX_URI, etc.

	* e-shortcuts.c (e_shortcuts_add_default_group): Use
	E_LOCAL_INBOX_URI, etc.

	* e-shell-view.c: #define FALLBACK_URI to E_SUMMARY_URI

svn path=/trunk/; revision=16405
2002-04-09 15:54:24 +00:00
c10d63c7c2 If the shell fails to display all of the requested URIs, fall back to
the default URI (Summary).

svn path=/trunk/; revision=16404
2002-04-09 15:33:45 +00:00
f61f9beaaf Oops. Add ChangeLog entries for some changes that accidentally escaped
into my last commit.

	* main.c (idle_cb): Check for "default:" URIs and treat them the
	same way as "evolution:" URIs.

	* e-shell.c (impl_Shell_handleURI): Handle "default:" URIs by
	looking up the default folders in the config db.

svn path=/trunk/; revision=16403
2002-04-09 15:11:24 +00:00
aa3031b8dc Fix bad xml.
* evolution-calendar.xml: Fix bad xml.

svn path=/trunk/; revision=16402
2002-04-09 15:08:03 +00:00
d6fa844c53 Add view_info arg but don't do anything with it.
* component-factory.c (create_view): Add view_info arg but don't
	do anything with it.

svn path=/trunk/; revision=16401
2002-04-09 15:06:10 +00:00
3bc71a52c1 Add view_info arg. If the view_info is non-empty and this is a calendar
* gui/component-factory.c (create_view): Add view_info arg. If the
	view_info is non-empty and this is a calendar folder, set the
	"view" property on the control's propertybag.

	* gui/control-factory.c (calendar_properties_init): Set up the
	"view" property.
	(get_prop, set_prop): handle the "view" property by
	getting/setting the GnomeCalendar's view. Unfortunately, this
	doesn't actually work. See #23208.

	* gui/calendar-commands.c (calendar_control_activate): Set the UI
	component's container before calling
	gnome_calendar_set_ui_component so that the search bar
	initialization will work.

svn path=/trunk/; revision=16400
2002-04-09 15:05:55 +00:00
b782a8c304 Add view_info arg, but don't do anything with it.
* gui/component/addressbook-component.c (create_view): Add
	view_info arg, but don't do anything with it.

svn path=/trunk/; revision=16399
2002-04-09 15:01:31 +00:00
651329fd27 Add view_info arg, but don't do anything with it.
* component-factory.c (create_view): Add view_info arg, but don't
	do anything with it.

svn path=/trunk/; revision=16398
2002-04-09 15:00:57 +00:00
2a3a53e9cf Add a "view_info" argument.
* Evolution-ShellComponent.idl (createView): Add a "view_info"
	argument.

	* e-shell-view.c (get_view_for_uri): if the URI contains a '#',
	split it into a URI and a "view_info" at that point. (Otherwise,
	pass "" for the view_info to ShellComponent_createView.) This can
	be used for things like specifying day/month/week view to the
	calendar.

	* e-shell.c (create_view): Ignore e_shell_view_display_uri's
	return code: it's possible/likely that the requested URL is remote
	and hasn't been filled in yet.
	(impl_Shell_handleURI): Don't use Shell_createNewView directly,
	call e_shell_create_view_from_uri_and_settings. (For the above fix
	and some others.)

	* evolution-shell-component.c (impl_createView): Add view_info.

	* evolution-shell-component-client.c
	(evolution_shell_component_client_create_view): Add view_info.

	* evolution-test-component.c (create_view_fn): add view_data.

	* e-corba-storage-registry.c
	(impl_StorageRegistry_getFolderByUri): kill a warning

svn path=/trunk/; revision=16397
2002-04-09 14:59:26 +00:00
73f6d42fbd Use decode rather than unformat - the e_destination was changed (long time
2002-04-09  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-hdrs.c (set_recipients_from_destv): Use decode
        rather than unformat - the e_destination was changed (long time
        ago) to rfc2047 encode the addresses, so we should decode
        likewise.  Should fix #16158.

        * e-msg-composer.c (next_word): g_utf8_next_char never returns
        NULL, it just skips to the next character.  So like normal string
        code, we just check for a nul explicitly.  Fixes a bug found while
        checking #16158.

svn path=/trunk/; revision=16396
2002-04-09 14:07:41 +00:00
1de8639166 Argh! get_folder_info owns and frees its *OWN* folder info, it shouldn't
2002-04-08  Not Zed  <NotZed@Ximian.com>

        * mail-send-recv.c (receive_update_got_folderinfo): Argh!
        get_folder_info owns and frees its *OWN* folder info, it shouldn't
        be free'd here!  See mail-ops.c:get_folderinfo_free.
        This should fix #17259 and friends.

svn path=/trunk/; revision=16395
2002-04-09 13:47:33 +00:00
d89f072f8d If we get multiple Content-Type header values, change subsequent headers
2002-04-09  Not Zed  <NotZed@Ximian.com>

        * camel-mime-part.c (construct_from_parser): If we get multiple
        Content-Type header values, change subsequent headers to
        X-Invalid-Content-Type so it doesn't wreck processing.  This fixes
        the reported case in #18929, but i dont know if it fixes the
        original posters problems.

2002-04-08  Not Zed  <NotZed@Ximian.com>

        * camel-vtrash-folder.c (vtrash_move_messages_to): If we find
        we're moving from the vtrash to another folder, we need to convert
        the uid from a vfolder uid to the source uid (+8).  Fix for
        #20886.  Also changed to batch multiple moves to different folders
        so they are done as efficiently as possible rather than one at a
        time.

        * camel-mime-utils.c (base64_decode_step): If we only get passed
        '=', we back track only if we actually output any data.  Fix for
        #21716.
        (quoted_decode): Pass out size_t instead of int, and use 0 instead
        of -1 for error since its not signed.  This will fix similar bug
        to above in different circumstances since the result is taken as
        unsigned.  This is only an internal func.
        (quoted_encode): Return size_t just for consistency.

        * camel-block-file.c (block_file_validate_root): Comment out the
        debug and move it into a warning when the validation fails.

svn path=/trunk/; revision=16394
2002-04-09 13:45:44 +00:00
b2c4de41b1 oops, I forgot to update the ChangeLog to be accurate for my last commit
svn path=/trunk/; revision=16393
2002-04-09 01:07:36 +00:00
a5bcf4fb3d Since bonobo doesn't seem to O_TRUNC the file stream before writing to it,
2002-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-signature-editor.c (menu_file_save_cb): Since bonobo
	doesn't seem to O_TRUNC the file stream before writing to it,
	write to a temp file first and then rename() it to the real
	filename. This also protects against losing data if the drive is
	full too. Also use a real mode, not 0, so that we can actually
	save/read the content ;-)

svn path=/trunk/; revision=16392
2002-04-09 00:59:46 +00:00
cc28f482cc Re-added the config wizard interfaces. Ettore accidently removed them
2002-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* GNOME_Evolution_Mail.oaf.in: Re-added the config wizard
	interfaces. Ettore accidently removed them thinking they were
	duplicates of the new mail-config interfaces.

	* mail-config.glade: Remove the OK, Apply, Cancel buttons from the
	keyboard shortcut tab in the composer_prefs dialog.

	* mail-account-gui.c: No need to check gui->source before using
	gui->source->url, since gui->source *has* to exist.

svn path=/trunk/; revision=16391
2002-04-08 20:00:46 +00:00
600e799994 Don't count our filler when encoding our line-length octet.
2002-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-utils.c (uuencode_close): Don't count our filler when
	encoding our line-length octet.

svn path=/trunk/; revision=16390
2002-04-08 17:34:12 +00:00
c357c63804 Fix "evolution evolution:/path/to/folder" to use default view
prefs.

	* e-shell.c (impl_Shell_createNewView): Use
	e_shell_create_view_from_uri_and_settings to create the new view
	based on saved view 0 instead of always using the initial
	evolution defaults.
	(e_shell_create_view_from_uri_and_settings): Renamed and
	simplified; the template_view argument was useless and
	settings_found would always be set to TRUE in the context it was
	being used it.
	(e_shell_restore_from_settings): Simplify for
	e_shell_create_view_from_uri_and_settings changes.

	* e-shell-view.c (e_shell_view_load_settings): Only load the
	DisplayedURI if the view isn't already displaying a URI. Also,
	pass an &ev to the first bonobo_config_get_long so we can tell if
	it failed and bail out.

	* e-shell-view.h: Remove a prototype for a non-existent function
	(e_shell_view_remove_control_for_uri).

	* main.c (idle_cb): Add some comments here and remove some dead
	code.

svn path=/trunk/; revision=16389
2002-04-08 15:30:02 +00:00
851c96fac4 added some debug printf's
svn path=/trunk/; revision=16388
2002-04-08 06:42:03 +00:00
63e4d8f682 Updated French translation.
svn path=/trunk/; revision=16386
2002-04-07 22:32:35 +00:00
ea2d36dfec Remove notes files.
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: Remove notes files.

svn path=/trunk/; revision=16385
2002-04-06 23:11:28 +00:00
6d0b1ca32d Oops.
svn path=/trunk/; revision=16382
2002-04-06 20:06:28 +00:00
fc6f6d7e03 Remove dead files.
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* pcs/cal-backend-db.[hc]: Remove dead files.

svn path=/trunk/; revision=16381
2002-04-06 20:05:57 +00:00
f9af4fd645 add config_item:type
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* gui/GNOME_Evolution_Calendar.oaf.in: add config_item:type

svn path=/trunk/; revision=16380
2002-04-06 20:05:18 +00:00
9f091c603f add config_item:priority
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* GNOME_Evolution_Summary.oaf.in.in: add config_item:priority

svn path=/trunk/; revision=16379
2002-04-06 20:04:23 +00:00
c5627ed278 add config_item:type
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* gui/component/GNOME_Evolution_Addressbook.oaf.in: add
	config_item:type

svn path=/trunk/; revision=16378
2002-04-06 20:03:39 +00:00
c5c38eb873 add config_item:type
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* GNOME_Evolution_Mail.oaf.in: add config_item:type

svn path=/trunk/; revision=16377
2002-04-06 20:02:47 +00:00
fc85f0ce45 set type (load_pages): get the oaf property for type and track the page
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* e-shell-settings-dialog.c (page_new): set type
	(load_pages): get the oaf property for type and track the page
	number of the highest priority for each type
	(destroy_type_entry): destroy hash func
	(impl_destroy): destroy the hash table
	(init): create private struct and hash table
	(e_shell_settings_dialog_show_type): show the page of the given
	type

	* e-shell-view-menu.c (command_settings): show the page for the
	current folder type by default

	* e-shell-settings-dialog.h: new proto

svn path=/trunk/; revision=16376
2002-04-06 20:00:51 +00:00
5be9af3b13 Construct the buttons earlier so that the option-menu-setup code that
* e-search-bar.c (e_search_bar_construct): Construct the buttons
	earlier so that the option-menu-setup code that tries to adjust
	the button sensitivity won't fail and g_warn.

svn path=/trunk/; revision=16375
2002-04-06 19:55:50 +00:00
f3a6f0a3a4 show a specific page number
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* e-multi-config-dialog.c (e_multi_config_dialog_show_page): show
	a specific page number

	* e-multi-config-dialog.h: new proto

svn path=/trunk/; revision=16374
2002-04-06 19:55:49 +00:00
c7b63d731c Oops.
svn path=/trunk/; revision=16373
2002-04-06 19:54:46 +00:00
9ffac35e80 Remove mail-summary.c
2002-04-06  JP Rosevear  <jpr@ximian.com>

	*  POTFILES.in: Remove mail-summary.c

svn path=/trunk/; revision=16372
2002-04-06 19:53:43 +00:00
2f2337bc47 Remove executive summary files.
2002-04-06  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: Remove executive summary files.

svn path=/trunk/; revision=16371
2002-04-06 16:05:25 +00:00
d235696811 Set the title of the dialog.
* e-shell-settings-dialog.c (init): Set the title of the dialog.

svn path=/trunk/; revision=16370
2002-04-06 12:05:08 +00:00
6a46aea720 Don't get the statuscode here anymore. (http_method_invoke): Use a
2002-04-05  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-http-stream.c (http_get_headers): Don't get the statuscode
	here anymore.
	(http_method_invoke): Use a User-Agent header and do basic proxy
	authentication.
	(stream_read): Handle redirects.
	(camel_http_stream_set_user_agent): New function to allow client
	to set the User-Agent string.
	(camel_http_stream_set_proxy): New function for setting the proxy
	server.
	(camel_http_stream_set_proxy_authrealm): New function for setting
	the proxy auth realm.
	(camel_http_stream_set_proxy_authpass): New function for setting
	the proxy auth password.

svn path=/trunk/; revision=16367
2002-04-06 01:15:53 +00:00
c2c91ffed7 Fixes bug #3980.
2002-04-05  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #3980.

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_cc): If a Cc list
	is set to something non-empty, make sure to show the Cc widgets.
	(e_msg_composer_hdrs_set_bcc): Same but for Bcc.
	(e_msg_composer_hdrs_set_reply_to): And here.

svn path=/trunk/; revision=16366
2002-04-05 23:50:14 +00:00
0c6bbddb63 comment out more unused camel files
2002-04-05  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: comment out more unused camel files

svn path=/trunk/; revision=16365
2002-04-05 21:23:30 +00:00
6e84e1af02 remove file that is not compiled (and hence not disted)
2002-04-05  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: remove file that is not compiled (and hence not
	disted)

svn path=/trunk/; revision=16364
2002-04-05 18:17:51 +00:00