aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Bug 628522 - invalid access off end of array in e_bit_array_delete()David Woodhouse2010-09-171-2/+3
|
* Fix a crapload of run-time warnings.Matthew Barnes2010-09-152-5/+40
| | | | EConfig and EMAccountEditor are very, very brittle.
* Coding style cleanups.Matthew Barnes2010-09-131-1/+1
|
* Coding style and whitespace cleanups.Matthew Barnes2010-09-128-30/+43
|
* Re-work my GtkDialog:has-separator workaround.Matthew Barnes2010-09-111-2/+2
| | | | | | | If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is deprecated but the property is still present and defaults to TRUE), we still need to set the property to FALSE. So instead use g_object_set() up through GTK+ 2.90.6, after which the property itself is gone.
* Work around deprecation of gtk_dialog_set_has_separator()Matthew Barnes2010-09-111-0/+2
| | | | | | Unfortunately the default value for this property is TRUE (bzzt, WRONG!) so we can't just remove the function outright until we require GTK+ 2.22. It was deprecated in GTK+ 2.21.8.
* Various memory leaksMilan Crha2010-09-082-8/+9
|
* Bug 628653 - e_alert_new_valist memory leakMatthew Barnes2010-09-031-2/+9
|
* Minor whitespace cleanup.Matthew Barnes2010-09-031-5/+5
|
* Coding style and whitespace cleanup.Matthew Barnes2010-08-2926-585/+588
|
* GObject boilerplate cleanup.Matthew Barnes2010-08-2524-715/+228
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Whitespace and coding style cleanup.Matthew Barnes2010-08-141-1/+1
|
* fix bgo#625847 - make signatures work again.Michael Meeks2010-08-061-19/+18
|
* Migrate ~/.evolution to XDG base directories.Matthew Barnes2010-07-274-9/+38
| | | | | Migration runs just before the main loop starts. It's just a sequence of local directory and file renames.
* Bug 624525 - Variable name collision in gtk-compat macroMilan Crha2010-07-221-5/+5
|
* Bug #624891 - Various compiler warnings in git/masterMilan Crha2010-07-221-6/+4
|
* Bug 624128 - Folder -> Subscriptions is always enabledMatthew Barnes2010-07-122-0/+43
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-125-21/+28
|
* Bug #623204 - Be able to report detailed errors from backendsMilan Crha2010-07-091-1/+3
|
* Fix places where "~/.evolution" is hard-coded.Matthew Barnes2010-07-093-25/+9
| | | | | Also replace "$USER_DATA_DIR/cache" path constructions with e_get_user_cache_dir().
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-2/+2
|
* Work around sudden disappearance of GdkRegion in GTK+ 2.90.5.Matthew Barnes2010-06-301-0/+51
| | | | API was deprecated and removed in less than two hours! Sheesh!
* Bug 622535 - Account assistant loops on first runMatthew Barnes2010-06-261-62/+104
| | | | | | | | | | | The issue was EConfig's GtkAssistantPageFunc callback assumed the pages in the GtkAssistant were sorted, but that assumption breaks as EPlugins with custom EConfigItemFactoryFunc callbacks are introduced and EConfig has to rebuild its assistant pages. It's an unnecessary requirement anyway, since EConfig already keeps a sorted list of widgets internally. After correcting that assumption a number of hacks addressing previous page ordering bugs fell out.
* Revert "Bug 581032 – Some links can't be opened"Matthew Barnes2010-06-211-9/+2
| | | | | | | This reverts commit 8b32dcadba4c705af60b1e33b24f46d97f7181d6. Breaks opening more common URL-encoded links (see bug #621721). Will take a closer look at the test case in bug #581032.
* Coding style and whitespace cleanup.Matthew Barnes2010-06-202-9/+28
|
* [win32] add --register-handlers and --unregister-handlers optionsFridrich Štrba2010-06-182-0/+11
| | | | and don't tamper with registry unless asked for it explicitely.
* Fix all remaining GTK3 issues.Matthew Barnes2010-06-161-0/+1
| | | | | | | | | | | | Work around the issue of GnomeCanvasItem amending its own flags to GtkObject::flags (which is sealed) by giving it its own flags field. This breaks libgnomecanvas ABI and API, but I see no other way. This commit didn't work the first time because gnome-pilot libraries were still pulling in the system-wide libgnomecanvas, and that was interfereing with our bundled version which has a different ABI. But gnome-pilot integration was dropped in the previous commit, so everything is now using the bundled libgnomecanvas.
* Remove gnome-pilot integration.Matthew Barnes2010-06-165-688/+1
| | | | | | | | | | | | | | | | It just doesn't belong in Evolution anymore. We don't support syncing with more modern devices -- see Conduits or SyncEvolution for that -- so it does not make sense for older model Palm Pilot PDAs to be the lone exception. I have repackaged the Evolution-Data-Server conduit modules to be provided by gnome-pilot itself in bug #619315. This should provide eqivalent Palm Pilot syncing functionality; it's just being moved to gnome-pilot. This completely severs our dependency on deprecated GNOME 2.x libraries which were still being dragged in by way of gnome-pilot dependencies. It was also interfereing with our bundling of libgnomecanvas.
* Revert "Fix all remaining GTK3 issues."Matthew Barnes2010-06-151-1/+0
| | | | | | | This reverts commit fd8b55edaa88906b588aa07d9eadcacd34a7a774. Something in this commit seriously hosed ETable, making Evolution pretty much unusable. Reverting this until I can track down the problem.
* Fix all remaining GTK3 issues.Matthew Barnes2010-06-151-0/+1
| | | | | | Work around the issue of GnomeCanvasItem amending its own flags to GtkObject::flags (which is sealed) by giving it its own flags field. This breaks libgnomecanvas ABI and API, but I see no other way.
* fixed an error in previous commitChenthill Palanisamy2010-06-111-1/+1
|
* use gdk_drag_context_get_action instead of ↵Chenthill Palanisamy2010-06-101-0/+4
| | | | gdk_drag_context_get_selected_action for gtk version 2.21.1
* Check for gtk version below 2.21.1 for comptability with gseal changesChenthill Palanisamy2010-06-101-2/+3
|
* Coding style and whitespace cleanups.Matthew Barnes2010-06-071-37/+44
|
* Set the GTK+ backward compatibility check to 2.21.2.Matthew Barnes2010-06-051-1/+1
|
* More GTK3 preparation.Matthew Barnes2010-06-042-0/+22
| | | | | This uses the new gtk_assistant_commit() I had added to GTK+ for our EImportAssistant progress page.
* Convert "startup-wizard" to an EExtension.Matthew Barnes2010-06-032-12/+26
| | | | | | | | | | | | | | Convert the "startup-wizard" EPlugin to an EExtension, and fix up the importing UI a bit (but it still needs a lot more love). Importing progress is now shown directly in the GtkAssistant window. Define a new EConfigItem type (E_CONFIG_PAGE_PROGRESS) for creating progress pages in a GtkAssistant. Also, change EMAccountEditor semantics slightly: you now have to call e_config_create_window() manually after creating a new EMAccountEditor instance. This allows extra EConfigItems (specifications for the window content) to be added manually before the window is created.
* Revert "Bug #608203 - Left pane of mailer window is really narrow at startup"Matthew Barnes2010-05-291-28/+5
| | | | | | | This reverts commit 0cdd9484fec0b1fec0801df7d7e0b05c6544ba9b. Causes the Mail window to erroneously switch to Contacts when opening the Contacts window in express mode.
* Merge branch 'express2'Matthew Barnes2010-05-273-16/+83
|\
| * Coding style and whitespace cleanup.Matthew Barnes2010-05-252-4/+9
| |
| * Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-251-74/+62
| |\
| | * [win32] Try to get the default application registration rightFridrich Štrba2010-05-191-1/+2
| | |
| | * [win32] Implement --reinstall, --show-icons, --hide-icons optionsFridrich Štrba2010-05-181-68/+61
| | | | | | | | | | | | to be used by windows default application setting dialogue
| | * Ouch, fix a typo!Fridrich Štrba2010-05-171-1/+1
| | |
| | * [win32] Make Evolution actually appear in "Set Program Access andFridrich Štrba2010-05-171-12/+6
| | | | | | | | | | | | | | | | | | Defaults" dialogue and use quoted string instead of short path, since this is how the "Hotmail" e-mail provider is doing it (unlike what documentation says)
| * | Merge commit 'origin/express2' into express2Michael Meeks2010-05-193-1/+314
| |\ \
| | * | Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-173-1/+314
| | |\|
| | | * Initial implementation of setting evolution as default mail client and ↵Fridrich Štrba2010-05-133-1/+314
| | | | | | | | | | | | | | | | mailto handler.
| | | * Relocating EVOLUTION_BINDIR which will be used in pluginFridrich Štrba2010-04-233-0/+8
| | | | | | | | | | | | | | | | setting Evolution comme defaut mail application on windows.
| * | | Find a better transient parent if we are not passed a window; fixesMichael Meeks2010-05-191-0/+4
| |/ / | | | | | | | | | some transience issues in the calendar dialog re-layout.
| * | Relocating EVOLUTION_BINDIR which will be used in pluginFridrich Štrba2010-04-303-0/+8
| | | | | | | | | | | | setting Evolution comme defaut mail application on windows.
| * | Merge commit 'origin/gnome-2-30' into express2Michael Meeks2010-04-223-22/+49
| |\|
| | * Bug 616097 - Remembers page rangesMatthew Barnes2010-04-181-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exclude print settings that should not persist. This topic has a lot of grey areas and GTK+ offers no help, so we'll do this by popular demand. For starters, I'm excluding settings that have messed -me- up in the past: GTK_PRINT_SETTINGS_N_COPIES GTK_PRINT_SETTINGS_PAGE_RANGES GTK_PRINT_SETTINGS_PAGE_SET GTK_PRINT_SETTINGS_PRINT_PAGES
| | * Use newer GTK+ API to manage print settings.Matthew Barnes2010-04-181-16/+6
| | |
| | * Bug #608203 - Left pane of mailer window is really narrow at startupMilan Crha2010-04-141-5/+31
| | |
| | * Bug #610229 - Status bar progress goes beyond 100 percentagepunit2010-04-131-1/+1
| | |
| * | Hide EConfig sections that have no visible widgetsFederico Mena Quintero2010-04-141-15/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The EConfig code that creates widgets based on .eplug descriptions will already hide sections that end up containing no child widgets. Here we also make that code hide sections that end up containing only invisible child widgets. We will use this from the actual plugins, so that if they decide not to show any widgets in Express mode, then the corresponding configuration sections will not show up in the preferences dialog. EConfig types 'section' and 'section-table' have an internal factory function, which doesn't return the actual GtkFrame that they create. Instead, they return a GtkContainer which is the actual vbox or table used to insert child widgets. Here we modify the internal factory function to also return the actual GtkFrame that it creates, so that the calling code can hide *that* frame properly. Signed-off-by: Federico Mena Quintero <federico@novell.com>
| * | Merge gnome-2-30 into express2 to get bugfixesFederico Mena Quintero2010-04-101-0/+3
| |\| | | | | | | | | | | | | | | | Note that express2 got some documentation for EExtensible and friends, and that documentation is not in gnome-2-30 yet. We need to cherry-pick those commits into gnome-2-30 and elsewhere.
| | * Avoid warning about redefined localtime_rFridrich Štrba2010-04-081-0/+3
| | |
| | * Introduce a simple extension system for objects.Matthew Barnes2010-04-085-0/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces a simple means of extending Evolution objects. Any GObject subclass wishing to be extensible need only call g_type_add_interface_static (type, E_TYPE_EXTENSIBLE, NULL); when registering its GType, and then at some point during initialization call e_extensible_load_extensions() to load extensions for that subclass. Extensions are implemented by subclassing EExtension, setting the GType being extended in EExtensionClass, and making sure its own GType gets registered at startup. This usually done while loading a GTypeModule. e_extension_get_extensible() provides extensions access to the object being extended.
| * | Fix mismatched quotes.Matthew Barnes2010-04-073-8/+8
| | |
| * | More API documentation tweaking.Matthew Barnes2010-04-071-0/+1
| | |
| * | Demonstrate extending the EExtension API.Matthew Barnes2010-04-072-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce e_extensible_list_extensions(), which provides extensible objects access to their own extensions, or a subset of them. Convert EShellBackend to an abstract EExtension subtype. EShell will load its extensions with e_extensible_load_extensions(), and then obtain a list of EShellBackend extensions as follows: shell_backends = e_extensible_list_extensions ( E_EXTENSIBLE (shell), E_TYPE_SHELL_BACKEND); Because EShellBackend is abstract, its GType is skipped while traversing the GType hierarchy to find EShell extensions.
| * | Move "section" documentation out of header files.Matthew Barnes2010-04-0710-30/+30
| | |
| * | Document EExtensible and EExtension.Matthew Barnes2010-04-073-0/+86
| | | | | | | | | | | | | | | | | | The mechanism here is simple but hard to explain without leaning heavily on object-oriented jargon. Consider this a rough draft. Illustrations would certainly help clarify.
| * | Introduce a simple extension system for objects.Matthew Barnes2010-04-075-0/+400
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces a simple means of extending Evolution objects. Any GObject subclass wishing to be extensible need only call g_type_add_interface_static (type, E_TYPE_EXTENSIBLE, NULL); when registering its GType, and then at some point during initialization call e_extensible_load_extensions() to load extensions for that subclass. Extensions are implemented by subclassing EExtension, setting the GType being extended in EExtensionClass, and making sure its own GType gets registered at startup. This usually done while loading a GTypeModule. e_extension_get_extensible() provides extensions access to the object being extended.
| * Alter UI conditional syntax to be more familiar cpp style, whichMichael Meeks2010-03-241-14/+13
| | | | | | | | avoids the need for intltool changes.
* | [win32] Register evolution as able to handle ldif files tooFridrich Štrba2010-05-201-8/+107
| |
* | [win32} Register evolution as "Contacts" application and .vcf handlerFridrich Štrba2010-05-192-4/+152
| |
* | [win32] Try to get the default application registration rightFridrich Štrba2010-05-191-1/+2
| |
* | Bug #499320 - Preview before import from command lineMilan Crha2010-05-192-0/+32
| |
* | [win32] Implement --reinstall, --show-icons, --hide-icons optionsFridrich Štrba2010-05-181-68/+61
| | | | | | | | to be used by windows default application setting dialogue
* | Ouch, fix a typo!Fridrich Štrba2010-05-171-1/+1
| |
* | [win32] Make Evolution actually appear in "Set Program Access andFridrich Štrba2010-05-171-12/+6
| | | | | | | | | | | | Defaults" dialogue and use quoted string instead of short path, since this is how the "Hotmail" e-mail provider is doing it (unlike what documentation says)
* | Initial implementation of setting evolution as default mail client and ↵Fridrich Štrba2010-05-133-1/+314
| | | | | | | | mailto handler.
* | Adapt to Camel API changes.Matthew Barnes2010-05-083-39/+5
| | | | | | | | | | This also removes the boxed CamelObject GType, since CamelObject is an honest-to-goodness GObject now.
* | Coding style and whitespace cleanup.Matthew Barnes2010-05-022-3/+8
| |
* | Camel is now GObject-based.Matthew Barnes2010-04-242-8/+8
| |
* | Relocating EVOLUTION_BINDIR which will be used in pluginFridrich Štrba2010-04-233-0/+8
| | | | | | | | setting Evolution comme defaut mail application on windows.