aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
Commit message (Collapse)AuthorAgeFilesLines
* Use e_source_registry_list_enabled() where appropriate.Matthew Barnes2013-03-173-14/+3
|
* Add argument checks to weekday functions.Matthew Barnes2013-03-151-0/+11
|
* Bug 676696 - Automatic EXIF image rotation doesn't workMatthew Barnes2013-03-151-0/+13
| | | | Requires WebKitGTK+ 2.0 to work again.
* EWebView: Whitespace cleanups.Matthew Barnes2013-03-151-2/+2
|
* client_cache_process_results: Fix runtime warnings.Matthew Barnes2013-03-151-1/+1
| | | | | | | | Use g_simple_async_result_complete_in_idle() so the queued results complete in the correct main loop context. Otherwise we get runtime warnings: "g_simple_async_result_complete() called from wrong context!"
* EContactStore: Remove unnecessary warnings.Matthew Barnes2013-03-122-14/+17
|
* Make ESpellEntry extensible.Matthew Barnes2013-03-121-1/+18
|
* ESpellEntry cleanups.Matthew Barnes2013-03-121-128/+200
|
* EUIManager: Fix a bad DocBook tag in comment.Matthew Barnes2013-03-091-2/+3
|
* Add weekday conversion functions.Matthew Barnes2013-03-092-0/+88
| | | | | e_weekday_to_tm_wday() e_weekday_from_tm_wday()
* Add more weekday arithmetic functions.Matthew Barnes2013-03-082-0/+71
| | | | | | | | | | These aren't as efficient as possible, but are as clear as possible. New functions: e_weekday_add_days() e_weekday_subtract_days() e_weekday_get_days_between()
* Rename functions in previous commit.Matthew Barnes2013-03-082-6/+6
| | | | | | | Changed my mind... got more to add. e_get_next_weekday() -> e_weekday_get_next() e_get_prev_weekday() -> e_weekday_get_prev()
* Add e_get_next_weekday() and e_get_prev_weekday().Matthew Barnes2013-03-072-0/+90
| | | | | | These just cycle over the GDateWeekday enum. Trivial functions, but they help make loops a little easier to read.
* Bug #695193 - Window size resets to default at exit with gtk 3.7.10+Fabien Tassin2013-03-071-5/+3
|
* e-util-enums.h: Add EDateWeekday enum.Matthew Barnes2013-03-061-0/+38
| | | | | | This enum type is intentionally compatible with GDateWeekday. It exists only because GLib does not provide a GEnumClass for GDateWeekday. If that ever changes, this enum can go away.
* Document the enum types in e-util-enums.h.Matthew Barnes2013-03-061-0/+27
|
* e-util.h: #include <e-util/e-util-enumtypes.h>Matthew Barnes2013-03-061-0/+1
| | | | So the generated GEnumClass types can be used outside of libeutil.
* Update API documentation.Matthew Barnes2013-03-0339-1600/+1465
|
* Use EClientComboBox where appropriate.Matthew Barnes2013-03-029-186/+251
| | | | Basically any place where we use both EClient and ESourceComboBox.
* Add EClientComboBox.Matthew Barnes2013-03-024-0/+556
|
* EClientSelector: Pre-fetch selected clients.Matthew Barnes2013-03-021-0/+51
|
* e_client_selector_get_client_sync(): Add argument guards.Matthew Barnes2013-03-021-0/+3
|
* e-client-selector.h: Add missing G_END_DECLS.Matthew Barnes2013-03-021-0/+2
|
* Never ever pre-fetch anything in EClientSelectorMilan Crha2013-03-011-36/+0
| | | | | | | | | | That's the worst idea for many reasons, couple examples: - password prompts after evolution's run for disabled (in selector) sources - too much unnecessary network I/O (most remote backends runs sync on open) - doesn't do what user told it to do (Unselected means unselected. Dot.) - unable to debug anything in factories when it misbehaves this way Next time ask peers, users and usability experts for their opinion, before doing such decision.
* EClientCache cleanups.Matthew Barnes2013-02-282-99/+105
|
* Add EPhotoCache.Matthew Barnes2013-02-274-0/+1026
| | | | | | Caches contact photos by email address. Replaces the disastrous implementation in e-mail-utils.c.
* Coding style and whitespace cleanup.Matthew Barnes2013-02-244-16/+19
|
* EClientCache: Use e_source_registry_dup_unique_display_name().Matthew Barnes2013-02-231-54/+50
| | | | Use a standard format for naming an ESource in user-visible messages.
* EClientSelector: Pre-fetch relevant EClient instance.Matthew Barnes2013-02-221-0/+36
| | | | | | Asyncrhonously fetch all relevant EClient instances during instance initialization to try and get them cached ahead of time, and so that all status icons are present when the tree view is shown.
* Autocompletion - do not use quick timeout when user types textMilan Crha2013-02-221-1/+1
| | | | | The quick timeout is used only when new items are found, do not use it when user types text, because it flickers.
* Speed-up auto-completion results showingMilan Crha2013-02-221-11/+22
| | | | | | The results were postponed to show as long as there were new notifications about added contacts, which could take quite long for many matched items. This shows the results with smaller timeout and without postponing.
* EClientSelector: Add a backend status icon.Matthew Barnes2013-02-212-0/+170
| | | | | | | Append a tree view column to display a symbolic icon hinting at backend status. Currently this only displays icons for online/offline and when the backend dies. I'd also like to add a spinner icon to indicate when we're processing a query and for other long-running activities.
* Add e_client_selector_ref_cached_client_by_iter().Matthew Barnes2013-02-212-0/+40
|
* Add e_source_selector_ref_source_by_iter().Matthew Barnes2013-02-212-0/+34
|
* ESourceSelector: Make source_selector_update_row() public.Matthew Barnes2013-02-212-83/+100
| | | | Gonna need to call this from the EClientSelector subclass.
* Add e_client_selector_is_backend_dead().Matthew Barnes2013-02-212-0/+39
| | | | | | | Returns TRUE if an EClient instance for the given source and the value of ESourceSelector's "extension-name" property was recently discarded after having emitted a "backend-died" signal, and a replacement EClient instance has not yet been created.
* Add e_client_cache_is_backend_dead().Matthew Barnes2013-02-212-0/+51
| | | | | | Returns TRUE if an EClient instance for the given source and extension name was recently discarded after having emitted a "backend-died" signal, and a replacement EClient instance has not yet been created.
* EClientCache: Don't emit signals while holding a lock.Matthew Barnes2013-02-211-2/+28
| | | | | Jeez, I should know this by now. Schedule an idle callback on the internal GMainContext to emit the signal like we do for other signals.
* EClientCache: Add a "client-notify" signal.Matthew Barnes2013-02-212-1/+104
| | | | Rebroadcasts a GObject::notify signal emitted by a cached EClient.
* EClientCache: Fix some signal handler ID variable names.Matthew Barnes2013-02-211-10/+10
|
* Show local images in Signature previewMilan Crha2013-02-211-2/+62
| | | | | | | WebKit deny in loading local URIs (file://...) when an HTML body is constructed from a string, not from a local file, thus fix the URIs into "evo-file://", which are passed into our request handlers, which can load the local files.
* EAttachment: Use Subject as fallback filename for message attachmentsMilan Crha2013-02-201-0/+21
|
* EAttachment: Decode part's file name before using itMilan Crha2013-02-201-2/+12
|
* Bug #674236 - Extra ref in e_action_combo_box_set_action()Milan Crha2013-02-191-2/+3
|
* Add EClientSelector.Matthew Barnes2013-02-194-0/+509
| | | | | | | | EClientSelector extends the functionality of ESourceSelector by utilizing an EClientCache to display status information about the backends associated with the displayed data sources. (No backend status is displayed just yet, but that's the plan.)
* EClientCache: Keep a strong reference on the ESourceRegistry.Matthew Barnes2013-02-181-20/+19
| | | | | | | | Changed my mind. There's some scenarios where a function depends on an ESourceRegistry but could also utilize an EClientCache, and it would be nice to just pass the EClientCache and extract the ESourceRegistry from it, so we need to make sure the ESourceRegistry will be there when it's needed and not quietly disappear.
* Add EClientCache.Matthew Barnes2013-02-175-0/+1228
| | | | | | | | | | | | | | | New class to help reduce code duplication and centralize some EClient handling policies. Benefits: - EClient instances can be shared across the entire application. - Centralized rebroadcasting of "backend-died" and "backend-error" signals emitted from cached EClient instances. - Automatic cache invalidation when backends crash. The EClient is discarded, and a new instance is created on the next request.
* Remove old GTK+ version checks.Matthew Barnes2013-02-161-2/+0
| | | | We require GTK+ 3.4, so no need to check for versions older than that.
* Bug #693132 - Editing a signature does not refresh preview after saveMilan Crha2013-02-041-0/+11
|
* Bug #689476 - Slow composer open (ENameSelector object leaks)Milan Crha2013-02-011-0/+10
|
* Fix up error handling around e_book/cal_client_connect_finish().Matthew Barnes2013-01-313-12/+4
|
* Remove e-client-utils.[ch].Matthew Barnes2013-01-304-483/+0
|
* Use e_book_client_connect().Matthew Barnes2013-01-303-34/+42
| | | | Instead of e_client_utils_open_new() and e_book_client_new().
* Remove usage of deprecated e_client_is_opened().Matthew Barnes2013-01-262-16/+5
| | | | e_client_is_opened() always returns TRUE, so skip it.
* E_CLIENT_ERROR_BUSY is no longer used.Matthew Barnes2013-01-251-25/+1
|
* Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.Matthew Barnes2013-01-2021-48/+48
| | | | | Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
* Use g_hash_table_add() when using a hash table as a set.Matthew Barnes2013-01-121-7/+11
| | | | | | | g_hash_table_add(table, key) uses less memory than g_hash_table_insert(table, key, GINT_TO_POINTER (1)). Also use g_hash_table_contains() when testing for membership.
* Bug #691470 - ENameSelectorEntry: Copy to clipboard issue with multi-byte ↵Milan Crha2013-01-121-11/+32
| | | | characters
* Reduce diff noise with webkit-composer branch.Matthew Barnes2013-01-113-15/+15
|
* Add single-include barriers to a few e-util headers.Matthew Barnes2013-01-114-0/+16
|
* Coding style and whitespace cleanup.Matthew Barnes2013-01-1111-37/+63
|
* Bug #690177 - Use trust-prompt for certificate verification in WebDAV backendsMilan Crha2013-01-101-10/+27
|
* Fix a tests build break in e-util/Milan Crha2012-12-171-1/+1
|
* e-config: Remove unused functions.Matthew Barnes2012-12-172-752/+26
| | | | | | | | | | | | e_config_add_skip_check() e_config_class_remove_factory() e_config_create_window() e_config_page_get() e_config_page_next() e_config_page_prev() e_config_set_page_is_finish() Also remove E_CONFIG_ASSISTANT and all the assistant support therein.
* e-passwords: Remove unused function parameters.Matthew Barnes2012-12-172-31/+24
|
* e-passwords: Remove unused functions.Matthew Barnes2012-12-172-98/+1
| | | | | | | e_passwords_cancel() e_passwords_clear_passwords() e_passwords_forget_passwords() e_passwords_shutdown()
* Remove unused marshallers.Matthew Barnes2012-12-171-7/+0
|
* Fix compiler warnings.Matthew Barnes2012-12-152-3/+3
|
* Finish adding symbols to libeutil API docs.Matthew Barnes2012-12-15139-1104/+1387
|
* e-util: Remove e-passwords-win32.c.Matthew Barnes2012-12-141-1064/+0
| | | | Let's not drag the old password keyfile along any further.
* e-misc-util.h: Fix quoted #includes.Matthew Barnes2012-12-141-2/+2
|
* e-util: Add xpm icons to EXTRA_DIST.Matthew Barnes2012-12-141-1/+2
|
* Move the contact map widgets to addressbook/gui/widgets.Matthew Barnes2012-12-138-1825/+0
| | | | | | | | | | | | Move the supporting widgets for the contact maps feature alongside EABContactDisplay. Removing them from libeutil helps isolate our usage of libchamplain so it's not imposed on the entire application, and even 3rd party software. That libchamplain is an optional dependency only further complicates the matter. Ideally I'd like to somehow isolate this feature in an extension module, but we currently lack sufficient hooks for such an extension. So this arrangement will have to suffice for now.
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-13478-283/+169300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Address couple issues found by a Coverity scanMilan Crha2012-11-301-1/+1
|
* Add the GdkDevice to ETextEventProcessorCommand.Matthew Barnes2012-11-292-0/+3
| | | | Will be needed for grabs in response to button events.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-114-4/+4
|
* Bug #656143 - Stop using deprecated Gtk[HV]Box(Class)Dominique Leuenberger2012-11-072-3/+3
|
* Add format checker (in compile time) to e_notice()Milan Crha2012-10-171-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-09-011-5/+11
|
* Bug #681877 - Postpone window changes saving for a secondMilan Crha2012-08-231-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-2013-184/+192
|
* Bug 681641 - Port to new documentation infrastructureJavier Jardón2012-08-111-1/+1
| | | | https://live.gnome.org/GnomeGoals/NewDocumentationInfrastructure
* Remove all GDK threads usage.Matthew Barnes2012-08-062-13/+4
| | | | | | | | | | | | According to [1], we don't need to worry about GDK's global lock since we don't call gdk_threads_init() or gdk_threads_set_lock_functions(). The GDK threads API is being aggressively deprecated by GTK+ developers so let's just abandon it entirely. I've never really understood when you're supposed to use it or not use it anyway, so it's good to be rid of this confusion. [1] https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00005.html
* Add e_source_util_remote_delete().Matthew Barnes2012-08-033-0/+90
| | | | | Wraps e_source_remote_delete() in an EActivity and submits errors to the given EAlertSink.
* e-source-utils.c cleanups.Matthew Barnes2012-08-032-38/+58
| | | | Also add missing error definitions.
* Make e_color_to_value() use e_rgba_to_value()Milan Crha2012-08-021-11/+10
|
* Bug #679404 - Read colors for message preview from Gtk themeDan Vrátil2012-07-272-0/+27
|
* e-system.error.xml: Add some generic errors from mail.error.xml.Matthew Barnes2012-07-261-0/+12
|
* e-system.error.xml: Fix indentation.Matthew Barnes2012-07-261-14/+14
|
* Use template files to generate GEnumClass types.Matthew Barnes2012-07-183-5/+83
|
* Fix icon size warning in EStockRequestDan Vrátil2012-07-171-6/+5
|
* Bug #677993 - Remember screen used in previous sessionMilan Crha2012-06-261-3/+11
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-251-1/+0
|
* Do not call g_object_notify() when property didn't changeMilan Crha2012-06-182-0/+21
|
* Remove the last remaining usage of GConfMilan Crha2012-06-151-1/+0
|
* Bug #677607 - Closing Mail Browser emits critical warningsDan Vrátil2012-06-131-2/+1
|
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-046-15/+9
|
* Adapt libeutil to the new ESource API.Matthew Barnes2012-06-037-587/+244
|
* Don't unref GAsyncResult in "finish" functions.Matthew Barnes2012-05-142-2/+0
|
* Fix some GSimpleAsyncResult reference leaks.Matthew Barnes2012-05-132-0/+4
|
* Use g_simple_async_result_set_check_cancellable().Matthew Barnes2012-05-133-10/+22
| | | | Always call it immediately after g_simple_async_result_new().
* Bug 675391 - Remove support for EVOLUTION_PLUGIN_PATH.Matthew Barnes2012-05-042-63/+17
| | | | | | | | | | | | | | This was a hidden feature to load EPlugins from a custom location by setting the EVOLUTION_PLUGIN_PATH environment variable. It defaulted to $HOME/.eplugins, which is in violation of the XDG Base Directory Specification. Since I've never ever heard of anyone using this and wasn't even aware of it myself, rather than migrating the folder to a standard-compliant location I'm just going to drop support for EVOLUTION_PLUGIN_PATH and put my money on no one noticing. The EPlugin framework is gradually being decommissioned anyway in favor of the simpler and more flexible EExtension framework in Evolution-Data-Server.
* Fix displaying icons in EWebView alertsDan Vrátil2012-05-031-1/+2
|
* Fix a build break in e-stock-request.c.Matthew Barnes2012-04-251-0/+1
| | | | atoi() needs <stdlib.h>
* Bug #674272 - Contacts preview differs with mailer running and notDan Vrátil2012-04-235-0/+568
| | | | | | This splits the giant EMailRequest to individual EFileRequest, EStockRequest, EHTTPRequest and EMailRequest, making the first two available globally from e-utils, the othe two are loaded only with mailer, since no other component uses them.
* Adapt to libedataserver[ui] changes.Matthew Barnes2012-04-221-1/+1
|
* Whitespace cleanup.Matthew Barnes2012-04-021-1/+1
| | | | | Replace 8-space indentation with tab characters, and various other automated cleanups.
* WebKit port - port addressbook, calendar and update composer to keep working ↵Dan Vrátil2012-03-291-0/+1
| | | | with GtkHtml
* EConfig: Support custom page skip callbacks.Matthew Barnes2012-03-082-1/+65
| | | | | | | | Add e_config_add_skip_check() to install a callback function to decide whether to skip a particular page in a GtkAssistant, useful if a page may be blank in certain conditions. This feature is not used in Evolution 3.4, but will be used in 3.5.
* EConfig: Miscellaneous cleanups.Matthew Barnes2012-03-071-31/+37
|
* Use libevolution-utils all over evolution.Srinivasa Ragavan2012-03-033-71/+1
|
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-032-2/+2
| | | | libevolution-utils.
* Fix errors where the math stuffs were used from e-util.Srinivasa Ragavan2012-03-031-0/+1
|
* Make libevolution-util compilable.Srinivasa Ragavan2012-03-032-240/+0
|
* Move EAlert* and e-xml-utils to libevolution-utils.Srinivasa Ragavan2012-03-039-2305/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-2014-77/+150
|
* Bug 670278 - Poorly worded "confirm overwrite" alertMatthew Barnes2012-02-171-3/+3
| | | | Reworded to match exactly what GtkFileChooser shows.
* Bug #591436 - Add -avoid-version to LDFLAGSH. Habighorst2012-02-151-1/+1
|
* EActivity cleanups.Matthew Barnes2012-01-251-5/+7
|
* Bug 668595 - Suppress bogus percentage in status messagesMatthew Barnes2012-01-251-0/+19
|
* Coding style and whitespace cleanup.Matthew Barnes2012-01-191-4/+4
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-1910-2101/+0
| | | | | | | These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.
* Bug #667185 - Menu items from plugins not translatedMilan Crha2012-01-052-0/+67
|
* Bug #665036 - Memory leaks spot in Contacts viewMilan Crha2012-01-041-0/+15
|
* Remove e_dialog_append_list_store_text().Matthew Barnes2011-12-242-24/+0
| | | | Silly function. Do it manually or use a GtkComboBoxText.
* Remove e_dialog_editable_get().Matthew Barnes2011-12-242-20/+0
| | | | | Silly function. Use gtk_entry_get_text() for a const string or else gtk_editable_get_chars() for an allocated string.
* Remove e_dialog_editable_set().Matthew Barnes2011-12-242-22/+0
| | | | Silly function. Use gtk_entry_set_text().
* Make sure EAlertDialog has at least one button, to be able to closed itMilan Crha2011-12-231-0/+14
| | | | | | This is a regression from commit 451179909849, which removes the default "Dismiss" action from each EAlert, but the EAlertDialog was using that button to allow users to close it.
* Fix leaks around categories editingMilan Crha2011-12-141-2/+5
| | | | Requires commit 768ca76 in evolution-data-server
* Reorder accounts by drag-and-drop.Matthew Barnes2011-12-111-0/+1
| | | | | | | | | | | | | | | | | | | | | This implements https://bugzilla.gnome.org/show_bug.cgi?id=663527#c3. Account reordering is now done by drag-and-drop instead of up/down buttons. Turned out to be a wee bit more complicated than I initially thought. This scraps EAccountManager and EAccountTreeView and replaces them with new classes centered around EMailAccountStore, which EMailSession owns. EMailAccountStore is the model behind the account list in Preferences. The folder tree model now uses it to sort its own top-level rows using gtk_tree_path_compare(). It also broadcasts account operations through signals so we don't have to rely so heavily on EAccountList signals, since EAccountList is going away soon. Also as part of this work, the e-mail-local.h and e-mail-store.h APIs have been merged into EMailSession and MailFolderCache.
* Bug #665149 - Do not ref window in e_restore_window()Milan Crha2011-12-051-4/+1
|
* Don't explicity show the window. We do gtk_widget_show where we'd wantSrinivasa Ragavan2011-12-011-1/+0
| | | | it. The capplet flickrs in Meego. Fixes Meego Bugzilla: #20191
* Bug #665103 - Blank composer/mail/network preferences windowsMilan Crha2011-11-291-1/+0
|
* Remove GConfBridge.Matthew Barnes2011-11-283-1502/+1
| | | | No longer needed.
* Add e_restore_window().Matthew Barnes2011-11-282-0/+233
| | | | | | Replaces gconf_bridge_bind_window(). Requires a GSettings path to a "org.gnome.evolution.window" schema.
* Miscellaneous cleanups.Matthew Barnes2011-11-232-2/+4
|
* Merge branch 'master' into wip/gsettingsMatthew Barnes2011-11-232-12/+1
|\ | | | | | | | | Conflicts: mail/e-mail-paned-view.c
| * EAlertBar: Add a close button to all alerts.Matthew Barnes2011-11-221-12/+0
| | | | | | | | | | Replaces the 'Dismiss' button. All alerts appearing in an alert bar should be dismissable (i.e. non-modal). For modal alerts use a dialog.
| * Add EMailReader:message-seen signal.Matthew Barnes2011-11-221-0/+1
| | | | | | | | Replaces e_mail_reader_mark_as_read().
* | Miscellaneous cleanups.Matthew Barnes2011-11-233-6/+9
| |
* | Fix compiler warnings.Matthew Barnes2011-11-231-2/+3
| |
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-11-174-85/+24
|\|
| * Bug #661126 - Meeting Free/busy dialog dates don't follow localeMilan Crha2011-11-162-0/+23
| |
| * Move some GBinding transform funcs to libedataserver.Matthew Barnes2011-11-162-85/+1
| | | | | | | | | | | | | | | | Removes: e_binding_transform_enum_value_to_nick() e_binding_transform_enum_nick_to_value() Those functions now live in libedataserver/e-data-server-util.h, which e-util.h already includes.
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-11-141-6/+23
|\|
| * EConfig: Debugability improvements.Matthew Barnes2011-11-131-5/+22
| |
| * a small changePunit Jain2011-11-101-1/+1
| |
* | Some build fixesRodrigo Moya2011-11-092-2/+1
| |
* | Almost no more GConf in e-utilRodrigo Moya2011-10-265-28/+25
|/
* Bug #660738 - Font changes ignored since 3.2Milan Crha2011-10-211-3/+13
|
* Bug #527614 - Valgrind shows a nice amount of lost memoryMilan Crha2011-10-202-0/+4
|
* Remove redundant ETypeFunc definition.Matthew Barnes2011-10-071-2/+0
| | | | This lives in libebackend/e-module.h now.
* Prefer g_simple_async_result_take_error().Matthew Barnes2011-10-061-2/+1
| | | | | | | | | Slightly more efficient and convenient than: g_simple_async_result_set_from_error (simple, error); g_error_free (error); One less GError to copy and destroy.
* Simplify library dependency flags.Matthew Barnes2011-10-051-6/+6
| | | | | | | | | We have a confusing array of nearly-identical CFLAGS/LIBS definitions in configure.ac. Time to simplify. Instead let's just have one definition that includes all the libraries provided by Evolution-Data-Server (incl. Camel). That, in combination with GNOME_PLATFORM, gives us most of what we need for compliation and linking, and we can sprinkle definitions for additional library dependencies in Makefile.am's as needed.
* Fix two little memory leaksDan Vrátil2011-10-011-1/+2
|
* Bug 659486 - EAlert default response is ignored by EAlertDialogMatthew Barnes2011-10-011-6/+22
|
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-0/+1
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* The EExtension framework is now in libebackend.Matthew Barnes2011-09-2610-949/+1
| | | | | | | | The EModule, EExtensible and EExtension classes as well as the e_type_traverse() function have been moved to Evolution-Data-Server's libebackend library to replace e-data-server-module.c. Now Evolution-Data-Server modules use the same framework as Evolution.
* Coding style and whitespace cleanup.Matthew Barnes2011-09-0429-401/+631
|
* Fix enum generation problems in glib-gen.mak.Matthew Barnes2011-08-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | Don't use pattern rules like %-enumtypes.h anymore because it matches installed header files like camel-enumtypes.h, so you get very strange things happening during the build like: .../camel/camel-enumtypes.h: e-util-enums.h glib-mkenums ... $^ > $@ when e-util-enums.h has a newer timestamp than camel-enumtypes.h. Instead, we'll use another variable name -- glib_enum_output -- to replace the %-enumtypes pattern rules like so: $(glib_enum_output).h: $(glib_enum_headers) glib-mkenums ... $^ > $@ $(glib_enum_output).c: $(glib_enum_headers) glib-mkenums ... $^ > $@ Also use $(AM_V_GEN) to get cleaner looking output while building.
* Coding style and whitespace cleanup.Matthew Barnes2011-08-132-38/+80
|
* EConfig: Broadcast abort/commit events by way of signals.Matthew Barnes2011-08-112-54/+58
| | | | | Remove the clumsy abortfunc and commitfunc callback arguments from e_config_add_items().
* EModule: Make all modules resident.Matthew Barnes2011-08-062-13/+30
| | | | | | Works around a design flaw in EExtension. See the comment in e-module.c for more details.
* Bug #655507 - Do not unload extensions, keep them preloadedMilan Crha2011-08-041-11/+13
|
* Bug 652958 - Evolution Account Assistant jumps stepsMatthew Barnes2011-07-012-8/+38
| | | | | | | The GTK+ patch in bug 653705 is also required for the Account Assistant to work properly under the new GtkAssistant design in GTK+ 3.1. This commit only deals with sidebar ordering issues.
* EConfig: More cleanups.Matthew Barnes2011-07-011-6/+19
|
* EConfig: Minor cleanups.Matthew Barnes2011-06-301-2/+2
|
* Do not use deprecated EBook/ECal APIMilan Crha2011-06-141-1/+2
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-141-1/+1
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-092-10/+13
|
* Bug #608203 - Left pane of mailer window is narrow at startupMilan Crha2011-06-061-0/+35
|
* Remove e_get_subscribable_accounts().Matthew Barnes2011-05-292-54/+0
| | | | Another EAccount utility function down...
* Including <glib-object.h> directly is rarely needed.Matthew Barnes2011-05-282-2/+0
|
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-2810-10/+0
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-2735-1/+110
|
* Bug 537691 - Account editor window HIGMatthew Barnes2011-05-231-18/+25
| | | | | | Change the OK button to Apply, and fix the padding around the window edges. People already bitching about the window being too tall are just gonna bitch louder now, but it does look better on normal size screens.
* Coding style and whitespace cleanup.Matthew Barnes2011-05-222-3/+8
|
* Bug 649990 - Remove get_font_options() from e-util.c.Matthew Barnes2011-05-172-126/+0
| | | | | | | | | Not only is get_font_options() no longer needed, it's actually doing the wrong thing by reading settings through GConfClient instead of GSettings. But it turns out, thanks to the tighter Cairo integration in GTK3, the widgets that call get_font_options() can be made to work correctly by simply removing this hack. Love it when that happens.
* Remove unused e_get_gnome2_user_dir().Matthew Barnes2011-05-162-27/+0
|
* Add e_activity_handle_cancellation().Matthew Barnes2011-05-123-3/+18
| | | | | | | | Convenience function for use in GAsyncReadyCallback functions. This acknowledges the cancellation, so that the activity's description changes from "(cancelling)" to "(cancelled)" and the description appears crossed out in the UI for a moment before disappearing.
* Coding style cleanups.Matthew Barnes2011-05-0913-94/+94
|
* MailFolderCache: Drop folder URI in "folder-changed" signal.Matthew Barnes2011-05-071-1/+1
| | | | | We already include a CamelStore and folder name string in the signal arguments, so it's trivial to reconstruct the URI if it's needed.
* Remove e_get_account_by_source_url().Matthew Barnes2011-05-062-69/+0
| | | | Function is no longer used, or wanted.
* Fix compiler warnings.Matthew Barnes2011-05-031-3/+0
| | | | Mostly dead assignments.
* EMailShellView: Open the selected folder ourselves.Matthew Barnes2011-05-031-1/+1
| | | | | | | | | | | | | | | | | This one's a little involved: - EMailShellView now obtains a CamelFolder itself in response to EMFolderTree::folder-selected signals. Uses EActivity to do so. - Revise EMFolderTree::folder-selected signal arguments to be more useful: emit a CamelStore object instead of a folder URI. - Also revise EMFolderTree::folder-activiated signal arguments the same way while we're at it. - Remove the "folder_uri" argument from e_mail_reader_set_folder(). If you have a CamelFolder object you can obtain the URI string by calling camel_folder_get_uri().
* Remove e_get_account_by_transport_url().Matthew Barnes2011-05-032-59/+0
| | | | Function is no longer used, or wanted.
* e_get_account_by_uid(): Also handle CamelTransport UIDs.Matthew Barnes2011-05-031-4/+21
| | | | | | | | | | | | | | Enhance e_get_account_by_uid() to also accept CamelTransport UIDs. The convention we use to distinguish them is simple: Given an EAccount UID: - The CamelStore UID is the EAccount UID verbatim. - The CamelTransport UID is the EAccount UID + "-transport". So just check for a "-transport" suffix and truncate it.
* Adapt to CamelService changes.Matthew Barnes2011-04-212-8/+10
|
* Bug 647708 - e_plugin_xml_prop() can return libxml2 allocated memoryMatthew Barnes2011-04-191-10/+9
| | | | | Always copy the xmlChar property into GLib-allocated memory. g_mem_is_system_malloc() has nothing to do with libxml2.
* Don't crash on missing EAlert definitions.Matthew Barnes2011-04-131-0/+1
|
* Remove the profiler plugin.Matthew Barnes2011-03-293-264/+0
| | | | | | | This plugin was for developers, but no one uses it anymore. Plus the only profiling hooks left in Evolution were in the MessageList widget, which performs fine. There's better ways to collect profiling data these days anyway (sysprof, systemtap, etc.).
* EAlertBar: Make warnings time out after 5 minutesMatthew Barnes2011-03-262-4/+46
| | | | | | Warnings are generally meant for transient errors. No need to leave them up indefinitely. Close them automatically if the user hasn't responded after a reasonable period of time has elapsed.
* Change the accelerator map file location.Matthew Barnes2011-03-251-9/+4
| | | | | | | | From: $HOME/.gnome2/accels/evolution To: $XDG_CONFIG_HOME/evolution/accels Custom keyboard accelerator maps is a well-hidden feature these days, especially in GNOME 3. Not worth migrating the old file.
* Fix alignment of extra widgets in EAlertDialogs.Matthew Barnes2011-03-252-2/+22
| | | | | | | Add e_alert_dialog_get_content_area(), which returns the GtkVBox containing the primary and secondary labels. Use this instead of gtk_dialog_get_content_area() to maintain the dialog's left margin beneath the image.
* Fix build break after recent eds changesMilan Crha2011-03-141-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-0622-101/+197
|
* Fix incorrect use of ngettext from a patch for bug #635414Milan Crha2011-02-281-4/+47
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-2511-67/+23
|
* Coding style and whitespace cleanup.Matthew Barnes2011-02-192-3/+9
|
* Bug #639483 - Category list includes weather informationMilan Crha2011-02-182-1/+34
|
* Slightly nicer EAlertDialog after move to gtk3Milan Crha2011-02-161-5/+12
|
* Fix few memory leaksMilan Crha2011-02-151-4/+5
|
* Remove NULL checks for GObject methods.Matthew Barnes2011-02-134-18/+6
| | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-02-091-3/+0
| | | | GCC learned how to find dead assignments.
* Bug #641011 - Ugly appointment editing windowsMilan Crha2011-02-031-0/+1
|
* More whitespace cleanup.Matthew Barnes2011-01-313-626/+626
|
* Coding style and whitespace cleanup.Matthew Barnes2011-01-303-4/+8
|
* Various critical warnings about comp-editor-pages and date editMilan Crha2011-01-252-0/+26
|
* Use latest gnome-desktop APIRodrigo Moya2011-01-251-1/+1
|
* Dialogs no longer have separators.Matthew Barnes2011-01-251-2/+1
|
* Drop backward-compatibility cruft.Matthew Barnes2011-01-258-218/+10
|
* Bug #634403 - Mails Label popup menu is not updated properlyMilan Crha2011-01-191-1/+3
|
* Fudge GtkScrollable for gtk2.Matthew Barnes2011-01-151-1/+13
| | | | | | Yes, the GtkScrollable interface is implemented by more than just GtkLayout, but it turns out GtkLayout is the only thing Evolution uses the GtkScrollable API for on the gtk3 branch.
* Fudge gtk_widget_get_preferred_size() for gtk2.Matthew Barnes2011-01-151-0/+5
| | | | | Easy enough to fake gtk_widget_get_preferred_size() in gtk2 using gtk_widget_size_request(). Reduces diff noise with gtk3 branch.
* Disconnect signal handlers from actions in alert_dispose()Milan Crha2010-12-211-2/+7
|
* Free/busy meeting view doesn't work due to non-working extensionMilan Crha2010-12-063-0/+9
|
* Localize few strings with ngettextMilan Crha2010-12-021-2/+4
| | | | Per request of bug #635414
* Bug #633779 - GtkComboBoxText issuesMilan Crha2010-11-181-0/+1
|
* Workaround crash when pasting nothing into html message composerMilan Crha2010-11-091-0/+2
|
* Move calendar preferences to the calendar module.Matthew Barnes2010-11-051-2/+2
| | | | | Continue replacing the use of calendar-config functions with GObject property bindings to EShellSettings properties.
* Add GBinding transform funcs for enum types.Matthew Barnes2010-11-052-0/+84
| | | | We'll want to store enum settings by their nicknames.
* Rename CalUnits to EDurationType.Matthew Barnes2010-11-051-0/+6
| | | | And move the definition to e-util-enums.h so we get a GType for it.
* Bug #629479 - Runtime critical warnings from e-print.cMilan Crha2010-11-021-10/+6
|
* Utilize the new ESourceSelector:primary-selection property.Matthew Barnes2010-11-022-6/+91
|
* EActivity: Add an "alert-sink" property.Matthew Barnes2010-11-012-20/+61
| | | | | | | This is just for convenience, EActivity does not use this property. Especially useful in async function callbacks when the operation failed and now you have to do something useful with the GError.
* Pass an EAlertSink to e_alert_sink_submit_alert().Matthew Barnes2010-11-014-26/+17
| | | | | | | Passing a random GtkWidget and then searching its ancestors for an EAlertSink turned out to be not as useful as I thought. Most of the time we know about and have access to the widget that implements EAlertSink, so just pass it directly as an EAlertSink.
* Bug 633172 - Folder->Subscriptions is always enabledMatthew Barnes2010-10-302-1/+56
|
* Adapt branch for building with GTK+ 2.22.Matthew Barnes2010-10-301-0/+19
|
* Workaround GtkComboBoxText/GtkComboBoxEntry in .ui filesMilan Crha2010-10-283-1/+75
|
* Bug #592045 - Use week-day names in abbreviated dateMilan Crha2010-10-271-5/+4
|
* Simplify EActivity.Matthew Barnes2010-10-238-530/+166
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* ESignatureList cleanups.Matthew Barnes2010-10-213-126/+159
|
* Deal with GtkComboBoxEntry removal in gtk+-3.0.Matthew Barnes2010-10-212-5/+26
|
* Bug 632641 - Handle combo box text API going awayMatthias Clasen2010-10-213-9/+28
|
* Bug #630504 - Precache collate keys before sorting in EReflowModelMilan Crha2010-10-202-5/+25
|
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-192-1/+180
|
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-1912-1334/+0
| | | | | | This marks the end of unintrusive error dialogs, which were too unintrusive. We now show errors directly in the main window using the EAlert / EAlertSink framework.
* EAlert: Allow arbitrary actions to be added.Matthew Barnes2010-10-194-96/+214
| | | | | | | | | | | | | | You can now amend the predefined actions in an EAlert by calling e_alert_add_action(). Useful for adding actions from an existing GtkUIManager. Call e_alert_peek_actions() to obtain a combined list of predefined and custom actions. These will typically serve as "related" actions for GtkButtons (cf. gtk_activatable_set_related_action()). Also, both EShellWindow and EShellView now implement EAlertSink. Use EShellWindow for application-wide alerts, EShellView for view-specific alerts.
* Bug #631968 - Date wrongly displayed as Tomorrow.Punit Jain2010-10-181-0/+2
| | | | Taking absolute value of diff.
* Replace EBinding with GBinding.Matthew Barnes2010-10-146-678/+77
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-136-252/+287
| | | | | | | | | | | | | | | 'Send' and 'Save Draft' are now asynchronous and run outside of Evolution's MailMsg infrastructure. Add an EActivityBar to the composer window so these asynchronous operations can be tracked and cancelled even in the absense of a main window. Also add an EAlertBar to the composer window so error messages can be shown directly in the window. Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit() and pass the EMsgComposer as the widget argument. The EMsgComposer will decide whether to show an EAlertDialog or use the EAlertBar, depending on the GtkMessageType of the alert.
* Bug #631320 - GtkObject is gone in GTK3Milan Crha2010-10-072-2/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2010-10-042-2/+1
|
* Messin around with EAlerts.Matthew Barnes2010-09-307-314/+592
| | | | | | | | | | | | | | | | | | | Trying out a new interface called EAlertSink. The idea is to centralize how errors are shown to the user. A GtkWindow subclass would implement the EAlertSink interface, which consists of a single method: void (*submit_alert) (EAlertSink *alert_sink, EAlert *alert); The subclass has complete control over what to do with the EAlert, although I imagine we'll wind up implementing various alert-handling policies as standalone widgets such as EAlertDialog. I'd like to try an EAlertInfoBar. Code that would otherwise display an error dialog itself would instead pass the EAlert to an appropriate EAlertSink and be done with it. Nothing is final yet. Still hacking on EAlert trying to find an API that feels right for these use cases.
* EAlert cleanups.Matthew Barnes2010-09-293-109/+57
| | | | Clean up the header, drop some unused cruft.
* Bump gtk+-2.0 requirement to 2.22.0.Matthew Barnes2010-09-291-176/+0
| | | | Remove backward-compatibility hacks for older GTK+ versions.
* Adapt to Camel API changes.Matthew Barnes2010-09-282-6/+5
|
* Add a GCancellable to EActivity.Matthew Barnes2010-09-195-156/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EActivity now uses a GCancellable to manage cancellations, instead of having its own redundant cancellation API. API changes are as follows: + e_activity_get_cancellable() + e_activity_set_cancellable() - e_activity_cancel() - e_activity_is_cancelled() - e_activity_get_allow_cancel() - e_activity_set_allow_cancel() EActivity's "cancelled" signal remains, but only as a repeater for GCancellable::cancelled signals. It should not be emitted directly. The presence of a GCancellable implies that cancellation is allowed. EActivity does not create its own default GCancellable, it has to be given one. If a CamelOperation (cast as a GCancellable) is given, EActivity will configure itself to listen for status updates from the CamelOperation and propagate the information to its own "primary-text" and "percent" properties. These changes allowed me to start cleaning up some of the incredibly convoluted logic in mail-mt.c -- in particular, mail_operation_status() is completely gone now. mail-mt.c is still in a transitional state -- much more significant changes coming soon.
* Use new GDK keysym names if available.Matthew Barnes2010-09-183-54/+216
| | | | | | | In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*. I've added backward-compatibility macors to gtk-compat.h, which can be dumped as soon as we require GTK+ >= 2.22.0.