aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/templates/templates.c
Commit message (Collapse)AuthorAgeFilesLines
* message_list_get_selected: Give the returned array a free func.Matthew Barnes2013-06-151-1/+1
| | | | | | The returned UID array now has a built-in "free" function for its elements and should be released by callers with g_ptr_array_unref() rather than em_utils_uids_free() or some equivalent.
* Add e_mail_reader_ref_folder().Matthew Barnes2013-06-151-6/+9
| | | | Replaces e_mail_reader_get_folder().
* em_utils_edit_message: Change return type to EMsgComposer.Matthew Barnes2013-06-021-1/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2013-05-081-1/+1
|
* Bug #301323 - "Edit as new message" doesn't strip signature properlyMilan Crha2013-05-071-1/+1
|
* Bug #662568 - Use-after-free in Templates plugin signal handlersMilan Crha2013-03-251-2/+14
|
* Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.Matthew Barnes2013-01-201-4/+4
| | | | | Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
* Coding style and whitespace cleanup.Matthew Barnes2013-01-111-2/+4
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+1
|
* Bug #688199 - Replying via a template doesn't mark mail as read/repliedMilan Crha2012-11-131-2/+13
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-28/+45
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-3/+3
|
* Add e_mail_session_append_to_local_folder().Matthew Barnes2012-08-151-10/+6
| | | | | | Asynchronous + synchronous convenience functions. Uses the EMailLocalFolder enumeration to specify a well-known folder.
* Fix memory leaks around gtk_tree_model_get() functionMilan Crha2012-05-311-2/+10
|
* Bug #593444 - templates-plugin: minor tweak to configuration tabAshwini Oruganti2012-03-261-2/+2
|
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-2/+6
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-7/+9
| | | | | | | 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.
* Reorder accounts by drag-and-drop.Matthew Barnes2011-12-111-28/+70
| | | | | | | | | | | | | | | | | | | | | 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.
* Miscellaneous cleanups.Matthew Barnes2011-11-231-1/+1
|
* Tweak GSettings schemas.Matthew Barnes2011-11-231-1/+1
| | | | | | | | - Don't use the term "eplugin" for modules. - Use the term "plugin" instead of "eplugin" for plugins. - Split SpamAssassin settings into a separate schema.
* Make it fully buildRodrigo Moya2011-11-091-1/+1
|
* Migrate template plugin to GSettingsRodrigo Moya2011-11-031-20/+18
|
* Coding style and whitespace cleanup.Matthew Barnes2011-09-141-43/+72
|
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-06-301-1/+0
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-06-301-0/+4
|
* Reimplement part of the "templates" plugin.Matthew Barnes2011-06-301-19/+132
| | | | Now uses camel_folder_get_message().
* Miscellaneous cleanups.Matthew Barnes2011-06-301-13/+22
|
* Add a 'message_uid' param to em_utils_edit_message().Matthew Barnes2011-06-301-1/+1
| | | | | So we can remove the internal edit_message() function and do the work directly in em_utils_edit_message().
* Coding style cleanups.Matthew Barnes2011-06-301-2/+2
|
* Whitespace and coding style cleanups.Matthew Barnes2011-06-301-6/+6
|
* Adapt to CamelFolderInfo.name -> display_name.Matthew Barnes2011-06-301-4/+4
|
* Bug #641845 - Add default expansion variables to templates pluginDan Vrátil2011-06-301-97/+448
| | | | | Users can read values from original message in the template by $ORIG[header] and with a special value $ORIG[body].
* Fix few memory leaksMilan Crha2011-06-301-2/+0
|
* Bug #634403 - Mails Label popup menu is not updated properlyMilan Crha2011-06-301-0/+1
|
* Bug #633854 - [templates] Crash in build_template_menus_recurseMilan Crha2011-06-301-3/+10
|
* Avoid a crash when building templates menu.Matthew Barnes2011-06-301-0/+5
|
* Kill mail_append_mail().Matthew Barnes2010-11-101-1/+5
| | | | Use e_mail_folder_append_message() instead.
* Collect mail enum types in e-mail-enums.h.Matthew Barnes2010-10-191-3/+4
| | | | | | | | | And generate GTypes for each of them in e-mail-enumtypes.[ch]. Also, the glib-gen.mak script forced me to add a <mail/e-mail.h> top-level header, which really isn't a bad idea anyway. TODO: We should do this for calendar and addressbook too.
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-13/+26
| | | | | | | | | | | | | | | '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.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-1/+1
| | | | | | | | | | | Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession.
* Adapt to Camel API changes.Matthew Barnes2010-09-281-7/+8
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-3/+7
|
* Coding style cleanups.Matthew Barnes2010-09-131-12/+12
|
* Composer autosave cleanups.Matthew Barnes2010-08-311-2/+26
| | | | | | This simplifies the async autosave logic and improves error handling. Hoping this will solve bug #616987 but I've yet to reproduce it myself.
* Pass an EShell to EMsgComposer instances.Matthew Barnes2010-08-141-1/+5
| | | | Reduce the composer's dependency on e_shell_get_default().
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-3/+4
|
* Adapt to Camel API changes.Matthew Barnes2010-04-301-3/+7
|
* Camel is now GObject-based.Matthew Barnes2010-04-241-6/+6
|
* Use accessor functions instead direct access (GSEAL work)Javier Jardón2010-04-131-3/+3
| | | | | | | | | | | | | | | Still remaining: GtkAccessible::widget GtkAssistant::forward GtkAssistant::back GtkObject::flags GtkTreeStore::stamp The GtkAssistant fields are related to bug #596428. We don't need accessor functions so much as the enhancement described there implemented. https://bugzilla.gnome.org/show_bug.cgi?id=615613
* Only #include Camel's top-level header.Matthew Barnes2010-04-031-4/+0
|
* Add a EShellWindow::shell-view-created signal.Matthew Barnes2010-01-231-5/+17
| | | | | | | | | | | | | The signal uses the name of the newly created shell view as the detail, so for example "shell-view-created::mail" is emitted when the "mail" view is created. Also, add e_shell_window_peek_shell_view() to obtain a shell view if it exists but without instantiating it. Using these new tools, teach the templates plugin to wait for the user to switch to the "mail" view before connecting to its "update-actions" signal. Previously is was instantiating the "mail" view itself.
* Bug #603342 - Memory leak fixesMilan Crha2009-12-151-0/+1
|
* Expand the EMailReader interface so it's easier to use.Matthew Barnes2009-12-021-8/+6
| | | | | | | | Adds the following methods: CamelFolder * (*get_folder) (EMailReader *reader); const gchar * (*get_folder_uri) (EMailReader *reader); GPtrArray * (*get_selected_uids) (EMailReader *reader);
* Merge bits and pieces of the anjal-evo-2-30 branch.Matthew Barnes2009-12-011-4/+5
|
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-1/+0
| | | | | | | | | | The EError mechanism is used both for error dialogs as well as basic alerts or user prompts, so we should give it a more general name which matches this use. This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that were not actually being used. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Bug 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-15/+51
|
* Bug #575208 - Use complete template message with all attachmentsMilan Crha2009-10-241-61/+9
|
* Cleanup up templates using EPluginUI callback feature.Matthew Barnes2009-09-021-27/+10
|
* Bug 593675 - Freeze on startupMilan Crha2009-09-011-12/+41
|
* Fix compiler warnings and deprecated GTK+ API usage.Matthew Barnes2009-08-161-0/+3
|
* Remove debug messages.Matthew Barnes2009-08-101-4/+0
|
* Kill EMMenu and EMPopup.Matthew Barnes2009-08-101-153/+234
| | | | | Also finish adapting Templates plugin to EPluginUI. It was still leaning pretty hard on EMPopup.
* Fix excessive whitespace.Matthew Barnes2009-07-141-2/+0
|
* Get the "templates" plugin working again.Matthew Barnes2009-06-251-9/+9
|
* More code cleanup.Matthew Barnes2009-06-021-1/+1
|
* Whitespace cleanup.Matthew Barnes2009-05-291-8/+8
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-21/+21
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-271-31/+31
|
* Fix compiler warnings in plugins.Matthew Barnes2009-05-271-2/+2
|
* Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-1/+1
|
* Use consistent variable names for GtkUIManagerMatthew Barnes2009-04-281-2/+2
|
* ** Fix for bug #556284Bharath Acharya2008-10-161-36/+6
| | | | | | | | | | | | | | 2008-10-15 Bharath Acharya <abharath@novell.com> ** Fix for bug #556284 * templates.c: (reply_with_template), * (org_gnome_templates_popup), (action_template_cb): Fixes for fetching the store using mail_component_peek_local_store. Fixes the right-click crash issues caused on OS_WIN32 by Templates plugin. svn path=/trunk/; revision=36620
* License ChangesSankar P2008-09-151-19/+17
| | | | | | | | | | 2008-09-15 Sankar P <psankar@novell.com> License Changes * plugins/templates/templates.c: svn path=/trunk/; revision=36333
* Fix compiler warnings in some of the test programs.Matthew Barnes2008-09-011-1/+1
| | | | | | | | | | | | | | | 2008-09-01 Matthew Barnes <mbarnes@redhat.com> * configure.in: Fix compiler warnings in some of the test programs. * mail/em-composer-utils.c (edit_message): * plugins/email-custom-header/email-custom-header.c: * plugins/templates/templates.c: Don't mix declarations and code. svn path=/trunk/; revision=36242
* Templates EPlugin : Remove unused header files.Johnny Jacob2008-07-211-1/+0
| | | | svn path=/trunk/; revision=35805
* ** Fixes Bug #200147Bharath Acharya2008-07-211-0/+764
2008-07-18 Bharath Acharya <abharath@novell.com> ** Fixes Bug #200147 Basic functionality implemented by Diego Escalante Urrelo <diegoe@gnome.org> Everyone owes him a big mug of Beer for that. ** Added Templates plugin * Makefile.am: * apps-evolution-template-placeholders.schemas.in: * org-gnome-templates.eplug.xml: * templates.c: * templates.glade: svn path=/trunk/; revision=35780