Commit Graph

13545 Commits

Author SHA1 Message Date
6441c1f05b Updated Slovenian translation
svn path=/trunk/; revision=15879
2002-03-01 01:08:47 +00:00
2b466c4caf If tab is hit and the cursor is still in the entry, move down into the
2002-02-28  Jon Trowbridge  <trow@ximian.com>

	* gal/e-text/e-completion-view.c
	(e_completion_view_key_press_handler): If tab is hit and the
	cursor is still in the entry, move down into the entry otherwise
	unbrowse.

svn path=/trunk/; revision=15878
2002-02-28 22:42:05 +00:00
8ad83fdce7 don't ref the view here, since it keeps the view alive until the search is
2002-02-28  Chris Toshok  <toshok@ximian.com>

        * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): don't
        ref the view here, since it keeps the view alive until the search
        is over, which we don't want.  we want the view's death to cancel
        the search.  This speeds up starting new searches after one is
        already active (since switching searches actually creates a new
        book view and destroys the old one.)
        (ldap_search_dtor): remove the matching unref here.  The unref as
        it was was incorrect anyway, and caused a crash (we needed
        search_op->view, not op->view.)

svn path=/trunk/; revision=15877
2002-02-28 21:51:17 +00:00
b6e3a133f2 New cool artwork from Jakub.
* about-box.png, splash.png: New cool artwork from Jakub.

svn path=/trunk/; revision=15875
2002-02-28 21:25:07 +00:00
1fb9d22a3a Changed offset variables from int's to off_t's since the system may
2002-02-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-parser.c: Changed offset variables from int's to
	off_t's since the system may support large files.

svn path=/trunk/; revision=15874
2002-02-28 20:56:42 +00:00
6b89252b9f Rearrange the save filter stuff so that we save raw streams for all mime
2002-02-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-part-utils.c
	(camel_mime_part_construct_content_from_parser): Rearrange the
	save filter stuff so that we save raw streams for all mime
	parts. If the mime part turns out to be a multupart, then don't
	bother saving the raw stream, we only need to save the raw stream
	for leaf parts.

svn path=/trunk/; revision=15873
2002-02-28 20:37:11 +00:00
c09b6f1f2b i2002-02-26 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_search): move
        card_count++ inside the if that checks to see if a card matches
        (and adds the card to the list).

svn path=/trunk/; revision=15872
2002-02-28 20:24:44 +00:00
2d731c96fc [fixes bug #20690] the data arg is not GList** anymore, it's
2002-02-27  Chris Toshok  <toshok@ximian.com>

        [fixes bug #20690]
        * backend/pas/pas-backend-ldap.c (func_and): the data arg is not
        GList** anymore, it's PASBackendLDAPSExpData*, so use
        ldap_data->list instead of *list.
        (func_or): same.
        (func_not): same.
        (func_contains): same.
        (func_is): same.
        (func_endswith): same.
        (func_beginswith): same, but also special case the beginswith
        "fileAs" query type (the one used by the alphabet buttons on the
        right hand side, so we can deal with entries that don't have
        fileAs attributes, and return meaningful responses.)
        (pas_backend_ldap_build_query): initialize the
        PASBackendLDAPSExpData struct and pass that instead of &list.
        Also, take the PASBackendLDAP arg to add to the struct in case we
        need it at some point in the future.
        (ldap_search_handler): pass in the PASBackendLDAP.

svn path=/trunk/; revision=15871
2002-02-28 20:20:42 +00:00
fe651a3d8f Updated Norwegian (bokmål) translation.
2002-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.

2002-02-27  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

svn path=/trunk/; revision=15869
2002-02-28 17:25:52 +00:00
dfee77a151 only save raw streams for leaf parts.
svn path=/trunk/; revision=15868
2002-02-28 03:09:07 +00:00
e1fa571225 Don't #include camel-mime-filter-save.h, we don't use it.
2002-02-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-folder-summary.h: Don't #include camel-mime-filter-save.h,
	we don't use it.

	* camel-file-utils.c: Fixed a few 'might be used uninitialized'
	warnings which were real problems.

	* camel-mime-part-utils.c
	(camel_mime_part_construct_content_from_parser): Save the raw mime
	stream for any/all signed parts.

	* camel-mime-part.c (camel_mime_part_init): Initialize our raw
	stream to NULL.
	(camel_mime_part_finalize): Unref our raw stream, if we have one.
	(write_to_stream): If we have a raw stream, write that out instead
	of re-encoding.

	* camel-mime-filter-save.[c,h]: Rewritten to save to a stream
	rather than a file.

svn path=/trunk/; revision=15867
2002-02-28 02:28:12 +00:00
7ac88d8631 Use the FOLD_SIZE as a recommended folding size, but add a new
2002-02-28  Not Zed  <NotZed@Ximian.com>

        * camel-mime-utils.c (header_fold): Use the FOLD_SIZE as a
        recommended folding size, but add a new FOLD_MAX_SIZE (=998, the
        smtp max line size) as the hard limit for any output.

svn path=/trunk/; revision=15866
2002-02-28 01:09:05 +00:00
1eedef0b86 Updated Slovenian translation
svn path=/trunk/; revision=15864
2002-02-27 23:47:44 +00:00
e83a759e4e New stream filter that chomps excess trailing whitespace from the end of
2002-02-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-filter-chomp.c (camel_mime_filter_chomp_new): New
	stream filter that chomps excess trailing whitespace from the end
	of the stream. This is needed to update the PGP/MIME code to
	comply with rfc3156.

	* camel-pgp-mime.c (camel_pgp_mime_part_verify): Don't attach a
	from filter, if it ain't from-filtered already, then we'll just be
	breaking stuff. To become rfc3156 compliant, add a chomp filter
	here.
	(camel_pgp_mime_part_sign): Add a chomp filter here too.

svn path=/trunk/; revision=15863
2002-02-27 23:45:28 +00:00
9cf2e39035 make a right click bring up the popup menu.
2002-02-27  Larry Ewing  <lewing@ximian.com>

	* misc/e-combo-button.c (impl_button_press_event): make a right
	click bring up the popup menu.

svn path=/trunk/; revision=15858
2002-02-27 20:17:08 +00:00
4f97b16f9c Updated Slovak translation.
2002-02-27  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.

svn path=/trunk/; revision=15854
2002-02-27 12:57:29 +00:00
0b0a2a0d6a Changed header formatted table to contain a pointer to an output function,
2002-02-27  Not Zed  <NotZed@Ximian.com>

        * camel-mime-part.c (init_header_name_table): Changed header
        formatted table to contain a pointer to an output function, and
        added in-reply-to and references headers.
        (write_references): New function to write out references header,
        folded properly.  It only approximates based on the last >, but it
        should be adequate and will also handle invalid headers.
        (write_fold): Function to write out headers folded.  Since this is
        the default it isn't required.
        (write_raw): Write out an already formatted header, e.g. most of
        the rest.
        (write_to_stream): Lookup header output function, if we have one,
        use that, otherwise fold header using basic (dumb) function.

        This is all for #14779.  A better fix is probably do have the
        headers always stored formatted, but that can wait.

svn path=/trunk/; revision=15852
2002-02-27 03:21:51 +00:00
22ac1344f7 Get the Content-Base if the header exists and use gtk_html_set_base to set
2002-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_text_html): Get the Content-Base if the
	header exists and use gtk_html_set_base to set this base url.

	* mail-display.c (on_link_clicked): No longer need to calculate
	the full url. This is now handled by GtkHTML.
	(on_set_base): Removed.
	(on_url_requested): No longer need to calculate the full url.
	(mail_display_initialize_gtkhtml): Don't connect to the set_base
	signal anymore. We don't care.

	* mail-display.h: No longer need base_url (it was broken anyway).

svn path=/trunk/; revision=15850
2002-02-27 00:01:09 +00:00
9001aaa2f3 [This gets rid of some spurious "could not find handler" messages
on exit.  What happened is that the signal would be disconnected
twice, once by cleanup_delayed_selection() and once by the
while_alive handler.]

* e-shell-view.c (destroy): Call cleanup_delayed_selection() here.
(e_shell_view_display_uri): Use gtk_signal_connect_full(), not
e_gtk_signal_connect_full_while_alive().

svn path=/trunk/; revision=15848
2002-02-26 22:21:33 +00:00
effbd15dbb display an error message if the call to gnome_calendar_open or
2002-02-26  Rodrigo Moya <rodrigo@ximian.com>

	* gui/control-factory.c (set_prop):
	* gui/tasks-control.c (tasks_control_set_property): display an error
	message if the call to gnome_calendar_open or e_tasks_open does not
	return TRUE. Fixes #20346.

svn path=/trunk/; revision=15845
2002-02-26 16:30:19 +00:00
3ca3e1aca1 updated Basque file
svn path=/trunk/; revision=15844
2002-02-26 16:25:42 +00:00
4803cb7c0d Updated Slovenian translation
svn path=/trunk/; revision=15843
2002-02-26 15:17:42 +00:00
cb65fdb7a9 Updated Slovenian translation
svn path=/trunk/; revision=15842
2002-02-26 12:46:38 +00:00
1b00ce5ca9 Copy values across to new part.
2002-02-26  Not Zed  <NotZed@Ximian.com>

        * filter-filter.c (option_activate): Copy values across to new
        part.

        * filter-rule.c (option_activate): copy values across to new part,
        if they are compatible.

        * filter-element.c (filter_element_copy_value): New function to
        copy values (where they can be) from one filter element to another.

        * filter-part.c (filter_part_copy_values): New function to copy
        values of a filter part.  #1359.

svn path=/trunk/; revision=15841
2002-02-26 02:27:22 +00:00
43a998d8cb Updated Slovenian translation
svn path=/trunk/; revision=15840
2002-02-26 00:37:26 +00:00
b0a253e060 If a related part is requested, remove it from the related undisplayed
2002-02-26  Not Zed  <NotZed@Ximian.com>

        * mail-display.c (on_url_requested): If a related part is
        requested, remove it from the related undisplayed list.

        * mail-format.c (handle_multipart_related): Check if related parts
        are displayed, if not, remove them.  For #2741.

svn path=/trunk/; revision=15837
2002-02-26 00:26:55 +00:00
822bc5f1d9 Allow all multiparts that contain message/rfc822 attachments.
2002-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-digest-folder.c (camel_digest_folder_new): Allow all
	multiparts that contain message/rfc822 attachments.
	(digest_get_uids): Only assign uids to message parts.

svn path=/trunk/; revision=15836
2002-02-25 21:26:24 +00:00
7330d192f0 [pullup from evolution-1-0-branch]
* gui/itip-utils.c (itip_send_comp): use
	GNOME_Evolution_Composer_setBody rather than _setMultipartType and
	_attachData now, to send a message containing just a text/calendar
	part. Fixes 14705. Mostly.
	(comp_content_type): Include the filename here since we can't add
	a Content-Disposition now.

svn path=/trunk/; revision=15834
2002-02-25 16:40:37 +00:00
c91f7c6b59 [pulled up from evolution-1-0-branch]
Mailer side of 14705.

	* Evolution-Composer.idl (setBody): Change setBodyText to setBody
	and take a MIME type as well.
	(show): Add an exception.

	* evolution-composer.c (impl_Composer_set_body, etc): Update for
	IDL change. While I'm here, fix this to DTRT with both plaintext
	and HTML bodies. (It claimed to take plain text before, but then
	passed it to the composer as HTML.)
	(impl_Composer_show): Raise an exception if setBody has been
	called, since the composer window will not display the real data
	in that case.

	* e-msg-composer.c (e_msg_composer_set_body): interface for
	impl_Composer_set_body.
	(build_message): If e_msg_composer_set_body has been called, use
	the body and MIME type supplied to it rather than the contents of
	the HTML editor.

svn path=/trunk/; revision=15833
2002-02-25 16:36:59 +00:00
387acacf48 change query_changed to search_activated.
2002-02-24  Chris Toshok  <toshok@ximian.com>

	* gui/cal-search-bar.c (cal_search_bar_class_init): change
	query_changed to search_activated.
	(cal_search_bar_search_activated): rename
	cal_search_bar_query_changed to this.

svn path=/trunk/; revision=15830
2002-02-25 11:08:27 +00:00
c08e6b2652 rename folder_browser_search_query_changed to this.
2002-02-24  Chris Toshok  <toshok@ximian.com>

        * folder-browser.c (folder_browser_search_do_search): rename
        folder_browser_search_query_changed to this.
        (folder_browser_gui_init): hook both query_changed and
        search_activated up to folder_browser_search_do_search, preserving
        current behavior.

svn path=/trunk/; revision=15829
2002-02-25 11:05:39 +00:00
bafc982da4 only handle the ESB_ADVANCED case here now. the actual query work is done
2002-02-24  Chris Toshok  <toshok@ximian.com>

        * gui/component/addressbook.c (addressbook_query_changed): only
        handle the ESB_ADVANCED case here now.  the actual query work is
        done in addressbook_search_activated.
        (addressbook_search_activated): split out all the searching
        functionality here.
        (addressbook_factory_new_control): hook up "search_activated" to
        addressbook_search_activated.

svn path=/trunk/; revision=15828
2002-02-25 11:01:20 +00:00
2641143369 preserve behavior - hook search_activated signal to the same function as
2002-02-24  Chris Toshok  <toshok@ximian.com>

        * e-filter-bar.c (init): preserve behavior - hook search_activated
        signal to the same function as query_changed.

        * e-search-bar.c (emit_search_activated): new function.
        (entry_activated_cb): use emit_search_activated instead of
        emit_query_changed.
        (subitem_activated_cb): same.
        (activate_button_clicked_cb): same.
        (class_init): add the search_activated signal.
        (idle_activate_hack): rename idle_change_hack to this, and
        emit_search_activated.
        (e_search_bar_construct): idle_change_hack -> idle_activate_hack.
        (e_search_bar_set_subitem_id): emit_search_activated instead of
        emit_query_changed.
        (e_search_bar_set_text): same.

        * e-search-bar.h (struct _ESearchBarClass): add a search_activated
        signal.

svn path=/trunk/; revision=15827
2002-02-25 10:56:33 +00:00
d1401d65e1 Updated French translation.
svn path=/trunk/; revision=15826
2002-02-25 08:31:07 +00:00
1636711c5a make the right auth page start up open.
2002-02-24  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-config.c
	(addressbook_source_dialog_set_source): make the right auth page
	start up open.

	* gui/component/addressbook-storage.c (addressbook_source_free):
	free the binddn.
	(addressbook_source_copy): copy the binddn;

svn path=/trunk/; revision=15819
2002-02-25 01:51:53 +00:00
77811d84a7 add $(sounds_DATA)
2002-02-24  jacob berkman  <jacob@ximian.com>

	* sounds/Makefile.am (EXTRA_DIST): add $(sounds_DATA)

svn path=/trunk/; revision=15817
2002-02-24 21:08:03 +00:00
6c606b06ba Small fix.
2002-02-24  Carlos Perelló Marín <carlos@gnome-db.org>

        * es.po: Small fix.

svn path=/trunk/; revision=15816
2002-02-24 16:03:04 +00:00
f6acf9b4f1 Fix license text.
svn path=/trunk/; revision=15813
2002-02-23 17:46:09 +00:00
be1585de31 Add year 2002 to the copyright.
* e-shell-about-box.c: Add year 2002 to the copyright.

svn path=/trunk/; revision=15812
2002-02-23 17:45:21 +00:00
ae33e0a13d Renamed from destroy'. (impl_right_click): Renamed from right_click'.
* e-storage-set-view.c (impl_destroy): Renamed from `destroy'.
(impl_right_click): Renamed from `right_click'.
(impl_cursor_activated): Renamed from `cursor_activated'.
(impl_tree_start_drag): Renamed from `tree_start_drag'.
(impl_tree_drag_begin): Renamed from `tree_drag_begin'.
(impl_tree_drag_end): Renamed from `tree_drag_end'.
(impl_tree_drag_data_get): Renamed from `tree_drag_data_get'.
(impl_tree_drag_data_delete): Renamed from
`tree_drag_data_delete'.
(impl_tree_drag_motion): Renamed from `tree_drag_motion'.
(impl_tree_drag_leave): Renamed from `tree_drag_leave'.
(impl_tree_drag_drop): Renamed from `tree_drag_drop'.
(impl_tree_drag_data_received): Renamed from
`tree_drag_data_received'.

svn path=/trunk/; revision=15811
2002-02-23 17:44:21 +00:00
67db4baf35 Sync with translation memory.
2002-02-23  Carlos Perelló Marín <carlos@gnome-db.org>

	* es.po: Sync with translation memory.

svn path=/trunk/; revision=15810
2002-02-23 13:05:27 +00:00
1755b16c23 [ Fixes bugs 20740, 16680, and god knows what else :) ] double the
2002-02-22  Chris Toshok  <toshok@ximian.com>

	[ Fixes bugs 20740, 16680, and god knows what else :) ]
	* gui/widgets/e-addressbook-model.c (create_card): double the
	allocated size every time we need more space instead of using a
	fixed size increment.  this helps huge queries.  Also, remove the
	gtk_object_get of "file_as", as it was dead code.
	(book_view_loaded): handle errors here (by popping up a dialog).

	* backend/pas/pas-backend-ldap.c (view_destroy): search_idle ->
	search_timeout.
	(build_card_from_entry): comment out some spew, and unref ecard
	when we're done to plug a memory leak.
	(send_pending_adds): send along to the client all the cards we've
	been saving up.
	(poll_ldap): use a timeout for ldap_result to keep the backend
	from blocking (and it turns out keep the frontend from hanging
	waiting on a ref to complete) on large db's with few matches.

	Also, add some fairly smart, self-tuning aggregating of cards.
	Keep track of the number of cards we've sent the last time through
	as well as this time, and estimate the number we want to aggregate
	the next time based on them (we average them at the moment),
	subject to maximum/minimum number of cards.  also, we have a
	maximum aggregation time, after which we force a flush if there
	are pending cards and recalculate our target pending number.
	there's a minimum wait time to possibly keep outselves from
	spamming the ui, although it's 0 at the moment.

	Lastly, make sure to only notify the GUI of status messages when
	we need to.  this results in a *huge* savings.
	(ldap_search_handler): initialize all the pending card stuff, and
	use a timeout instead of an idle function for poll_ldap.

	* backend/ebook/e-book-view-listener.c
	(e_book_view_listener_queue_response): performance optimization
	for large adds.  If we're a CardAddedEvent and there's an existing
	CardAddedEvent at the end of the queue, just concat the lists of
	cards together.  This is to keep the gui from falling further and
	further behind the ldap backend, which is merrily spewing updates
	at the gui.

svn path=/trunk/; revision=15807
2002-02-23 04:36:10 +00:00
c1fa893c2a Set the 'name' parameter on the Content-Type too. Fixes bug #20779.
2002-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-part.c (camel_mime_part_set_filename): Set the 'name'
	parameter on the Content-Type too. Fixes bug #20779.

svn path=/trunk/; revision=15805
2002-02-22 22:37:09 +00:00
54c650eaea [Fix #3029, Offline mode should be preserved across sessions.]
* main.c (idle_cb): Use the e_shell_new() API below so that we use
the saved offline settings at the next start-up if neither
--offline nor --online has been specified.

* e-shell.c (save_misc_settings): New function.  For now, just
save `/Shell/StartOffline' indicating whether the shell should
start in offline mode or not.
(e_shell_construct): Replace @start_online with
@startup_line_mode.
(e_shell_new): Likewise.

* e-shell.h: New enum EShellStartupLineMode.

svn path=/trunk/; revision=15804
2002-02-22 22:11:47 +00:00
51b03dbcdf New helper function to remove all the matching URIs from the history.
* e-shell-view.c (remove_uri_from_history): New helper function to
remove all the matching URIs from the history.
(history_uri_matching_func): Compare function for using
e_history_remove_matching.
(storage_set_removed_folder_callback): Call
`remove_uri_from_history()'.

* e-history.c (e_history_remove_matching): New.

svn path=/trunk/; revision=15803
2002-02-22 20:55:51 +00:00
d7ea6022c1 Fix for if the buffer ends with an email address (and no newline).
* e-html-utils.c (e_text_to_html_full): Fix for if the buffer ends
	with an email address (and no newline).

svn path=/trunk/; revision=15802
2002-02-22 19:57:17 +00:00
843b7d2c82 Removed, this wasn't working as intended and seemed to break other
2002-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (on_message_list_built): Removed, this wasn't
	working as intended and seemed to break other features.

svn path=/trunk/; revision=15801
2002-02-22 19:48:43 +00:00
4060f43d87 Remove meeting_widget.png from the build since it doesn't seem to be in
2002-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Remove meeting_widget.png from the build since it
	doesn't seem to be in cvs?

svn path=/trunk/; revision=15800
2002-02-22 19:34:55 +00:00
2c66be6ec9 New. (display_uri): Call it before returning so the navigation buttons
* e-shell-view.c (update_navigation_buttons): New.
(display_uri): Call it before returning so the navigation buttons
always have the right sensitivity.

* e-shell-folder-title-bar.c
(e_shell_folder_title_bar_update_navigation_buttons): New.
(add_navigation_buttons): Remove the "Back" label.

svn path=/trunk/; revision=15799
2002-02-22 19:27:52 +00:00
2dd28d3e91 [First cut at navigation (i.e. back/forward) buttons.]
* e-shell-view.c: New member `history' in `EShellViewPrivate'.
(init): Initialize.
(destroy): Unref.
(e_shell_view_display_uri): Make it a no-op if the URI is the same
as the current one.  Also, moved code into `display_uri' and use
it.
(back_clicked_callback): New, callback for the back button on the
folder title bar.
(forward_clicked_callback): Likewise for the forward button.

* e-history.c: New.
* e-history.h: New.

svn path=/trunk/; revision=15798
2002-02-22 18:47:40 +00:00