Commit Graph

16614 Commits

Author SHA1 Message Date
d239d2b112 move the bulk of the non-summary searching stuff here. we aggregate up to
2003-02-16  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-file.c
	(pas_backend_file_search_timeout): move the bulk of the
	non-summary searching stuff here.  we aggregate up to our
	threshold, then send them to the front end and register a timeout
	to do another batch.  This keeps us from totally spamming the UI,
	making things a bit more responsive.
	(pas_backend_file_search): set up the closure and call the timeout
	in an idle func.

svn path=/trunk/; revision=19920
2003-02-17 03:22:16 +00:00
8c40386245 indent properly.
2003-02-16  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-manager.c
	(e_select_names_manager_entry_new): indent properly.

svn path=/trunk/; revision=19919
2003-02-17 03:16:43 +00:00
0f7100a65c make this actually work: destroy the canvas item, memmove stuff around,
2003-02-16  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-reflow.c (item_removed): make this actually work:
	destroy the canvas item, memmove stuff around, change
	reflow->count, etc, etc.

svn path=/trunk/; revision=19918
2003-02-17 02:58:09 +00:00
baa50a5c89 enable this function to reflow the view from a particular column onward.
2003-02-16  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-reflow.c (reflow_columns): enable this function to
	reflow the view from a particular column onward.  This is useful
	if you have a huge model and the only changes are happening at the
	end (as is normally the case if you're appending to a large
	model.)
	(item_changed): calculate the height of the changed item here, so
	we aren't doing it as we reflow the model.  For now, reflow the
	entire model.  Further optimization can be done here.
	(item_removed): new function.  remove the item and reflow from the
	column that contained it.
	(items_inserted): calculate the heights of the new items, and
	calculate the lowest numbered column containing one of the
	inserted items.  reflow from there.
	(model_changed): calculate the heights of everything here.
	(comparison_changed): new function, clear the sorter and reflow.
	(disconnect_model): disconnect comparison_changed and
	model_item_removed.
	(connect_model): connect comparison_changed and
	model_item_removed.
	(adjustment_changed): use queue_incarnate here, instead of forcing
	the reflow model to incarnate as we scroll.  Not sure if this is
	actually the right solution, but it does make the scrollbar more
	responsive at the cost of redraw speed.

	* gal/widgets/e-reflow.h (struct _EReflow): add slots for the new
	signal ids, as well as "reflow_from_column".

	* gal/widgets/e-reflow-model.c (e_reflow_model_class_init): create
	the comparison_changed and model_item_removed signals.
	(e_reflow_model_comparison_changed): new function, emit the
	comparison_changed signal.
	(e_reflow_model_item_removed): new function, emit the
	model_item_removed signal.

	* gal/widgets/e-reflow-model.h: add comparison_changed and
	model_item_removed signals.

svn path=/trunk/; revision=19917
2003-02-17 02:38:15 +00:00
9e048335b6 disconnect search_started and search_result. (addressbook_compare): if
2003-02-16  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-reflow-adapter.c (unlink_model):
	disconnect search_started and search_result.
	(addressbook_compare): if we're loading, just compare model
	positions (so we just append while loading).
	(remove_card): use e_reflow_model_item_removed.
	(search_started): new function, set loading = TRUE.
	(search_result): new function, set loading = FALSE and emit
	"comparison_changed".
	(e_addressbook_reflow_adapter_init): init loading and the new
	signal ids.
	(e_addressbook_reflow_adapter_construct): connect "search_started"
	and "search_result".

	* gui/widgets/e-addressbook-model.h (struct
	_EAddressbookModelClass): add search_started signal.

	* gui/widgets/e-addressbook-model.c
	(e_addressbook_model_class_init): new signal "search_started".
	(book_view_loaded): emit "search_started" after "model_changed".
	(remove_card): simplify this, and use CARD_REMOVED all the time,
	instead of just in the single card case.

svn path=/trunk/; revision=19916
2003-02-17 02:00:32 +00:00
aba27fbc03 Added a (get-size ) function to fix bug #38073. (search_get_size):
2003-02-14  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-folder-search.c: Added a (get-size ) function to fix bug
	#38073.
	(search_get_size): Implemented.

svn path=/trunk/; revision=19915
2003-02-14 21:44:28 +00:00
8b79f2dff4 watch for <>'s too
svn path=/trunk/; revision=19914
2003-02-14 20:44:39 +00:00
e63ba441e6 Mark chars with the high-bit set as CTRL chars. (camel_url_web_end): If
2003-02-14  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-url-scanner.c (url_scanner_table_init): Mark chars with
	the high-bit set as CTRL chars.
	(camel_url_web_end): If the char before the start of the url is an
	open-brace, watch out for the matching close-brace.
	(camel_url_file_end): Same.

svn path=/trunk/; revision=19913
2003-02-14 20:42:51 +00:00
6545e80191 Same as the gpg and pkcs7 contexts.
2003-02-14  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-smime-context.c (smime_get_password): Same as the gpg and
	pkcs7 contexts.

	* camel-sasl-popb4smtp.c (popb4smtp_challenge): Updated for
	camel_session_get_password().

	* camel-pkcs7-context.c (get_password): Same as the gpg code.

	* camel-gpg-context.c (gpg_ctx_parse_status): Updated for
	camel_session_get_password().

	* providers/smtp/camel-smtp-transport.c (smtp_connect): No need to
	set USER_CANCEL exception here as it is done by
	camel_session_get_password(). Also updated for the new
	get_password() API change.

	* providers/imap/camel-imap-store.c (imap_auth_loop): Updated for
	camel_session_get_password() changes. We don't need to play the
	"bad passwd" game here too, do we? Bah, probably should but I
	don't feel like it for now. Maybe when we rewrite the IMAP
	provider.

	* camel-session.c (camel_session_get_password): Now takes a
	'reprompt' argument that will force user-input to be given even if
	we have the passwd cached.

	* providers/pop3/camel-pop3-store.c (pop3_connect): Instead of
	uncaching the passwd after we receive a -ERR from the POP server,
	set 'reprompt' to TRUE to force user-input for the next password
	prompt (ie, make sure the front-end knows not to just return the
	cached value). The front-end can then decide to fill-in the
	user-input field with the last passwd that the user supplied.
	(pop3_try_authenticate): Now takes a reprompt argument which we
	pass into camel_session_get_password().

svn path=/trunk/; revision=19912
2003-02-14 20:11:53 +00:00
4d98f14113 Change the logic here slightly. Instead of only reprompting the user if
2003-02-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c (do_get_pass): Change the logic here
	slightly. Instead of only reprompting the user if the cache is
	empty, also reprompt the user if the backend is forcing a
	reprompt.
	(request_password): If we have a cached passwd string for the
	account, fill-in the GtkEntry box with that value by
	default. This, together with the camel changes, fixes the
	"Evolution forgets my POP passwd if it gets a -ERR response during
	the login phase" bug.

svn path=/trunk/; revision=19911
2003-02-14 20:10:15 +00:00
b498fc007f Fix for Solaris Bug "31081 Mailer sender/Subject/Date fields blank for
2003-02-12 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>

        * gal/util/e-iconv.c: Fix for Solaris Bug "31081  Mailer
        sender/Subject/Date fields blank for Solaris 8 ko_KR.EUC locale." and
        partial fix for Solaris Bug "32747 additional issues with evolution
        beta2 in ja_JP.PCK locale"

svn path=/trunk/; revision=19909
2003-02-14 03:56:47 +00:00
aaa88bb0e4 (segv_redirect): New, SIGSEGV signal handler.
(setup_segv_redirect): New function to set it up.
(main): Call setup_segv_redirect().

svn path=/trunk/; revision=19907
2003-02-13 21:11:58 +00:00
35f5eebed7 Updated Ukrainian translation
svn path=/trunk/; revision=19906
2003-02-13 20:43:31 +00:00
31dc41be37 #include <stdio.h>
2003-02-13  Jeffrey Stedfast  <fejj@ximian.com>

	* e-searching-tokenizer.c: #include <stdio.h>

	* mail-config-factory.c: #include <string.h>

	* mail-config-druid.c (identity_prepare): Use
	gtk_editable_select_region() since gtk_entry_select_region() has
	been deprecated.
	(construct): Use gtk_window_set_resizable() instead of
	gtk_window_set_policy().
	(wizard_free): account_destroy() is no longer around, use
	g_object_unref() instead. (how did this even compile before?)

	* mail-account-gui.c (mail_account_gui_build_extra_conf): Use
	gtk_label_set_text_with_mnemonic() instead of
	gtk_label_parse_uline() as the latter has been deprecated.

svn path=/trunk/; revision=19905
2003-02-13 20:31:50 +00:00
afac6edb53 guard for null paths if save_id lookup fails.
2003-02-13  Mike Kestner  <mkestner@ximian.com>

	* e-tree-table-adapter.c (*_load_expanded_state): guard for
	null paths if save_id lookup fails.

svn path=/trunk/; revision=19904
2003-02-13 19:16:56 +00:00
b88c27e9b2 don't transform based on allocation position. Position isn't absolute now.
2003-02-13  Mike Kestner  <mkestner@ximian.com>

	* e-table-header-item.c (ethi_drag_motion): don't transform
	based on allocation position. Position isn't absolute now.

svn path=/trunk/; revision=19902
2003-02-13 18:02:52 +00:00
de7914dc3d Update Czech translation
svn path=/trunk/; revision=19901
2003-02-13 17:50:43 +00:00
9901ae486e kill a double unref on the pango_layout.
2003-02-13  Mike Kestner  <mkestner@ximian.com>

	* e-table-header-utils.c (e_table_header_draw_button): kill
	a double unref on the pango_layout.

svn path=/trunk/; revision=19900
2003-02-13 16:07:38 +00:00
a371f7b3fc Request a reflow on realization, so size and placement will be correct
2003-02-12  Hans Petter Jansson  <hpj@ximian.com>

	* e-table-click-to-add.c (etcta_realize): Request a reflow on
	realization, so size and placement will be correct initially.

svn path=/trunk/; revision=19899
2003-02-12 23:36:21 +00:00
1d869c5796 Get rid of the need for the GTK_WIDGET_DESTROYED() check.
2003-02-12  Jeffrey Stedfast  <fejj@ximian.com>

	* vfolder-rule.c (source_add): Get rid of the need for the
	GTK_WIDGET_DESTROYED() check.

svn path=/trunk/; revision=19898
2003-02-12 20:42:35 +00:00
1ebf9b6fd1 handle reverse searches (find_prev_in_range): reverse search impl
2003-02-12  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_find_next): handle reverse searches
	(find_prev_in_range): reverse search impl
	(et_real_construct): kill warnings

svn path=/trunk/; revision=19897
2003-02-12 20:26:15 +00:00
8fea59137c Removed unused variables.
2003-02-12  Jeffrey Stedfast  <fejj@ximian.com>

	* importers/netscape-importer.c: Removed unused variables.

	* importers/pine-importer.c: Removed unused variables.
	(parse_address): Removed - it's unused and we have CamelAddress
	available to us anyway.

	* importers/elm-importer.c: Removed unused variables.

	* importers/evolution-mbox-importer.c (load_file_fn): Removed an
	unused variable.

svn path=/trunk/; revision=19896
2003-02-12 20:16:36 +00:00
2231ebb3df Add missing file(s) and remove non-existant one(s).
2003-02-11  Abel Cheung  <maddog@linux.org.hk>

	* POTFILES.in: Add missing file(s) and remove non-existant one(s).

svn path=/trunk/; revision=19895
2003-02-12 19:19:03 +00:00
ad82875fbf work around broken models that insert children before parents. bad models.
2003-02-12  Mike Kestner  <mkestner@ximian.com>

	* e-tree-table-adapter.c (insert_node): work around broken models
	that insert children before parents.  bad models.
	(e_tree_table_adapter_load_expanded_state): don't update_node
	(e_tree_table_adapter_node_set_expanded): recursively expand
	parent if the node is not visible yet.
	(e_tree_table_adapter_set_sort_info): don't resort empty trees

svn path=/trunk/; revision=19894
2003-02-12 18:02:32 +00:00
26d83d9f3a (DEFAULT_USER_PATH): Look into evolution/$BASE_VERSION
instead of evolution-$BASE_VERSION.

svn path=/trunk/; revision=19893
2003-02-12 09:41:42 +00:00
a5c3ca6568 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
svn path=/trunk/; revision=19892
2003-02-12 05:39:22 +00:00
7b01b20f70 Enable printing for calendar and tasks.
2003-02-11  Hans Petter Jansson  <hpj@ximian.com>

	Enable printing for calendar and tasks.

	* gui/print.c: Set default font to be "Sans". Store the PrintConfig
	globally instead of PaperInfo (which doesn't exist anymore).
	(get_font_for_size): Don't use
	gnome_font_face_find_closest_from_weight_slant() anymore, since
	it's broken. Instead, use gnome_font_face_find() and put bold- and
	italicness in the name to look for. Descenders can now be negative,
	so have to take the absolute value to get font height.
	(print_comp): Use global, persistent print configuration.
	GnomePrintDialog is now a GtkDialog. Remove manual configuration
	parameter shuffling. Set up page using new methods.
	(print_calendar): Like print_comp(). For month view, force landscape
	mode by temporarily setting it in the config, and remove the old hack.
	(print_setup): Port. I'm not sure this works, but at least it
	compiles now. How do I test this code path?
	(print_day_view): Pass NULL for page denominator.
	(print_week_view): Ditto.
	(print_month_view): Ditto.
	(print_year_view): Ditto.
	(print_comp_item): Add missing gnome_print_beginpage(). How did this
	work before?

	* gui/tasks-control.c: Store the PrintConfig globally instead of
	passing individual parameters every time. Persistent too.
	(print_title): Look for "Sans Bold" instead of "Times" with
	GNOME_FONT_BOLD property. Don't use find_closest_from_weight_slant().
	(print_tasks): Set up page using new methods. GnomePrintMaster ->
	GnomePrintJob. Get params from global config instead of args.
	(tasks_control_print_cmd): Use global, persistent print configuration.
	Remove manual portrait/landscape hack. GnomePrintDialog is now a
	GtkDialog. Set params in global config instead of passing them to
	print_tasks().
	(tasks_control_print_preview_cmd): print_tasks() now takes fewer
	args.

svn path=/trunk/; revision=19889
2003-02-12 02:41:05 +00:00
2b010a5021 Don't use gtk_scrolled_window_set_scrollbar_spacing() anymore.
2003-02-11  Hans Petter Jansson  <hpj@ximian.com>

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
	Don't use gtk_scrolled_window_set_scrollbar_spacing() anymore.

svn path=/trunk/; revision=19888
2003-02-12 00:54:36 +00:00
1bf4369e83 Suggest people use 1.2.x instead of 1.0.x.
2003-02-11  Joe Shaw  <joe@ximian.com>

	* main.c (show_development_warning): Suggest people use 1.2.x instead
	of 1.0.x.

svn path=/trunk/; revision=19886
2003-02-11 22:24:00 +00:00
3fa465c9d7 Use gtk_window_set_resizable() instead of gtk_window_set_policy().
2003-02-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c (construct): Use
	gtk_window_set_resizable() instead of gtk_window_set_policy().

	* mail-config.c: Fix a bunch of warnings.
	(mail_config_signature_write): Removed.

	* mail-callbacks.c: Removed unused variables.

svn path=/trunk/; revision=19885
2003-02-11 22:14:49 +00:00
cdb6418008 Register a destroy virtual method. (mail_accounts_tab_destroy): Set
2003-02-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_accounts_tab_class_init): Register a
	destroy virtual method.
	(mail_accounts_tab_destroy): Set mail_display->destroyed = TRUE.

	* message-list.c (message_list_destroy): Set
	mail_display->destroyed = TRUE. This is a workaround for the
	GTK_OBJECT_DESTROYED() macro that we used to use before.

svn path=/trunk/; revision=19884
2003-02-11 21:20:43 +00:00
de02508770 Set mail_display->destroyed = TRUE. This is a workaround for the
2003-02-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (mail_display_destroy): Set
	mail_display->destroyed = TRUE. This is a workaround for the
	GTK_OBJECT_DESTROYED() macro that we used to use before.

svn path=/trunk/; revision=19883
2003-02-11 20:45:27 +00:00
39bc77da50 Instead of simply ignoring bad chars, return the sentinal invalid char
2003-02-11  Not Zed  <NotZed@Ximian.com>

        * e-trie.c (trie_utf8_getc): Instead of simply ignoring bad chars,
        return the sentinal invalid char 0xfffe, so that we properly track
        the start of sequences.

svn path=/trunk/; revision=19881
2003-02-11 10:51:41 +00:00
46e6fb3e66 Don't try to make an error string from an uninitialized GnomeVFSResult.
2003-02-10  Hans Petter Jansson  <hpj@ximian.com>

	* pcs/cal-backend-file.c (save): Don't try to make an error string
	from an uninitialized GnomeVFSResult.

svn path=/trunk/; revision=19880
2003-02-10 21:49:11 +00:00
36d90739a4 [ fixes bug #33066 ] new function (set_entry_changed_signals): call
2003-02-10  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #33066 ]
	* gui/contact-editor/e-contact-editor.c
	(set_urlentry_changed_signal_field): new function
	(set_entry_changed_signals): call
	set_urlentry_changed_signal_field for entry-web, entry-caluri, and
	entry-fburl.
	(fill_in_field): add handling for EUrlEntry's.
	(extract_field): same.
	(enable_widget): same.
	(e_contact_editor_create_date): show the widget.
	(e_contact_editor_create_web): same, create a url entry.
	(set_urlentry_changed_signal_field): new function

	* gui/contact-editor/contact-editor.glade: entry-web,
	entry-caluri, and entry-fburl are all custom widgets now.

svn path=/trunk/; revision=19879
2003-02-10 20:51:10 +00:00
0701addc19 Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): Same
2003-02-10  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (build_tree): Use g_signal_emit() rather than
	gtk_signal_emit().
	(build_flat): Same here.

	* mail-signature-editor.c: #include <string.h>

	* mail-vfolder.c: #include <string.h>

	* mail-session.c: #include <string.h>

	* mail-search.c: #include <string.h>

	* mail-mt.c: #include <string.h>

	* mail-ops.c (save_part_save): Use strcasecmp() instead of
	g_strcasecmp().

	* mail-local.c: #include <string.h>
	(reconfigure_folder_reconfigured): Use a GtkDialog instead of
	gnome_error_dialog().

	* mail-format.c (find_preferred_alternative): Use g_ascii_strdown
	since g_strdown is deprecated.
	(fake_mime_part_from_data): Removed, no longer used it seems.
	(destroy_part): Also removed.

	* mail-display.c (make_popup_window): Replace call to
	gtk_window_set_polociy() with gtk_window_set_resizable() instead.
	(popup_size_allocate_cb): Use gtk_window_set_position() with
	GTK_WIN_POS_MOUSE instead of calculating the position to put it
	in.

svn path=/trunk/; revision=19878
2003-02-10 19:50:55 +00:00
33841eb730 rewrite to use etta (find_next_in_range): helper func to search a range of
2003-02-10  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_find_next): rewrite to use etta
	(find_next_in_range): helper func to search a range of rows
	(find_next_callback): kill

svn path=/trunk/; revision=19875
2003-02-10 18:04:25 +00:00
24d00dba85 Split the ORBit IDL compilation rules to work properly with parallel
* importers/Makefile.am: Split the ORBit IDL compilation rules to
work properly with parallel makes.
(BUILT_SOURCES): Add this.
(CLEANFILES): Add this.

* Makefile.am: Split the ORBit IDL compilation rules to work
properly with parallel makes.
(BUILT_SOURCES): Add $(IDL_GENERATED) here.
(CLEANFILES): Remove from here.

svn path=/trunk/; revision=19874
2003-02-10 17:39:10 +00:00
29fb1732b2 Split the IDL generated rules so ${ORBIT_IDL}
doesn't get invoked multiple times in parallel.
(BUILT_SOURCES): Added this.
(CLEANFILES): And this.

svn path=/trunk/; revision=19873
2003-02-10 17:29:19 +00:00
efd467f902 Make the CORBA IDL compilation work with parallel makes. Likewise.
* gui/Makefile.am: Make the CORBA IDL compilation work with
parallel makes.
* gui/dialogs/Makefile.am: Likewise.
* gui/alarm-notify/Makefile.am: Likewise.

svn path=/trunk/; revision=19872
2003-02-10 17:28:37 +00:00
48c9c3dc71 (libeutil_static_la_DEPENDENCIES): Make
libeutil-static.la depend on libeutil.la so that parallel
compilations work; building them at the same time confuses
libtool.
(e-util-marshal.h, e-util-marshal.c): Use different tmp files so
these rules can happen in parallel.

svn path=/trunk/; revision=19871
2003-02-10 17:01:40 +00:00
24112a2779 Install load-pine-addressbook and load-gnomecard-addressbook into
* backend/ebook/Makefile.am: Install load-pine-addressbook and
load-gnomecard-addressbook into ${privdatadir}/tools.  Install
evolution-vcard-importer and evolution-ldif-importer into
${privlibexecdir}.

* backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in:
Removed.

* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in:
Removed.

* backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in:
New.  Specify an absolute path for the executable, using
@LIBEXECDIR@.
* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in:
Likewise.

svn path=/trunk/; revision=19870
2003-02-10 16:53:06 +00:00
c5e48bf9a5 (libical_static_la_DEPENDENCIES): Make
libical-static.la depend on libical-evolution.la so they they are
not built in parallel by a parallel make, since that would break
libtool.

svn path=/trunk/; revision=19869
2003-02-10 15:53:21 +00:00
13515cf674 Add LDFLAGS to ported libs
2003-02-10  Rodney Dawes  <dobey@ximian.com>

	* importers/Makefile.am: Add LDFLAGS to ported libs

svn path=/trunk/; revision=19867
2003-02-10 14:53:09 +00:00
e83af287b2 look in the http cache for images when saving (image_save_as): remove
2003-02-10  Larry Ewing  <lewing@ximian.com>

	* mail-display.c (save_url): look in the http cache for images
	when saving
	(image_save_as): remove random warning.
	(do_external_viewer): remove unused variable.
	(do_attachment_header): use g_ascii_strdown

svn path=/trunk/; revision=19864
2003-02-10 07:08:42 +00:00
29d288066b gone. (match_initials): gone. (book_query_sexp): remove the primary
2003-02-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-completion.c
	(sexp_initials): gone.
	(match_initials): gone.
	(book_query_sexp): remove the primary handling.
	(book_query_score): same.

	* backend/ebook/e-card.c (e_card_set_property):
	g_value_get_pointer => g_value_get_object for "category_list".

	* backend/ebook/e-book.c (struct _EBookPrivate): add a comment.

	* backend/pas/pas-backend-ldap.c (func_beginswith): performance at
	the cost of a tiny bit of correctness.  If the ldap server doesn't
	support evolutionPerson don't query on fileAs, use sn (since
	that's effectively what gets used in the display when fileAs isn't
	supported.)

svn path=/trunk/; revision=19863
2003-02-10 06:21:12 +00:00
0c46add40d lots of changes here. should be a big performance gain. god i hope this is
2003-02-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-completion.c: lots of
	changes here.  should be a big performance gain.  god i hope this
	is finally right.

svn path=/trunk/; revision=19860
2003-02-10 02:23:36 +00:00
18d96c5ff3 ignore test-completion.
2003-02-09  Chris Toshok  <toshok@ximian.com>

	* tests/.cvsignore: ignore test-completion.

	* tests/test-completion.c: new program, completion test.

	* tests/Makefile.am (noinst_PROGRAMS): add test-completion.

	* gal/e-text/Makefile.am: remove e-completion-test from the build
	here, moving it to ../../tests.

	* gal/e-text/e-completion.c (e_completion_class_init): we've
	removed the restart, cancel, clear, and lost signals.  Also, we've
	renamed some so it's easier to tell from the name which it is
	(virtual func or signal.)
	(e_completion_dispose): remove call to clear_search_stack, as we
	don't do auto-refinement anymore.
	(e_completion_clear): gone.
	(e_completion_push_search): gone.
	(e_completion_pop_search): gone.
	(e_completion_clear_search_stack): gone.
	(e_completion_refine_search): gone.
	(e_completion_unrefine_search): gone.
	(e_completion_begin_search): substantially clear this up, since we
	don't have the refinement stuff anymore.  Also, the call to
	request_completion is a virtual function call, not a signal.
	(e_completion_match_count): always return matches->len here, never
	match_count, which is gone (with the refinement stuff)
	(e_completion_foreach_match): remove the hit_count stuff.
	(e_completion_restart): gone.
	(e_completion_lost_match): gone.
	(e_completion_end_search): remove the sorting stuff from here (and
	the call to restart.)  the etable sorting stuff will have to take
	up the slack, but for now there's no reason to restart the search
	here.

	* gal/e-text/e-completion.h (struct _ECompletionClass): straighten
	out what's a virtual function and what's a signal, instead of
	using signals for both.  Also, remove the auto_refine stuff, as
	it's not used.

	* gal/e-text/e-completion-view.c (e_completion_view_size_request):
	make the damn drop down window bigger (100 pixels, or the
	requisition height, whichever is bigger.)
	(e_completion_view_disconnect): remove handling for signals that
	are gone.
	(restart_completion_cb): gone.
	(cancel_completion_cb): gone.
	(clear_completion_cb): gone.
	(lost_completion_cb): gone.
	(e_completion_view_construct): track new names of ECompletion
	signals.

	* gal/e-text/e-completion-view.h (struct _ECompletionView): remove
	restart_signal_id, cancel_signal_id, clear_signal_id, and
	lost_signal_id.

	* gal/e-text/e-entry.c (get_borders): new function, ala gtkentry.
	(canvas_size_request): use get_borders instead of computing it
	here.
	(e_entry_init): remove duplicate assignment of
	emulate_label_resize.
	(e_entry_show_popup): remove some ifdef'ed crap.
	(e_entry_start_completion): don't cancel the completion before
	starting again.  This keeps the popup from disappearing.

	* gal/e-text/e-completion-match.c (e_completion_match_construct):
	no more hit_count.

	* gal/e-text/e-completion-match.h (struct _ECompletionMatch):
	remove hit_count.

	* gal/e-text/e-completion-callbacks.[ch]: new class so we can use
	callbacks instead of subclassing.

svn path=/trunk/; revision=19859
2003-02-10 02:21:47 +00:00
23c65aa0bf Update Czech translation, remove some obsolete strings
svn path=/trunk/; revision=19858
2003-02-09 13:28:51 +00:00
40e78f6df8 Unmarked some strings which are unsuitable for translation
svn path=/trunk/; revision=19857
2003-02-09 09:57:18 +00:00