Commit graph

27 commits

Author SHA1 Message Date
Ricardo Mones 39aff56f3f Honor GTK project name¹, except some files…
…where it refers to previous name of the project.

¹ https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html
2022-03-18 20:18:35 +01:00
Andrej Kacian 814b087c91 Fix several memory leaks around template parsing.
FLEX-generated quote_fmt_scan_string() allocates a buffer
(and actually returns a pointer to it, although its prototype
in quote_fmt.h says its return value is void), which needs
to be cleaned up afterwards.
2017-07-11 18:37:54 +02:00
Ricardo Mones ff9dc7bb11 Add some missing copyright 2014-06-24 19:37:28 +02:00
Colin Leroy daee52fe5a 2008-09-12 [colin] 3.5.0cvs103
* claws-mail.pc.in
	* src/Makefile.am
	* src/compose.c
	* src/compose.h
	* src/crash.c
	* src/folder_item_prefs.c
	* src/folder_item_prefs.h
	* src/main.c
	* src/prefs_account.c
	* src/prefs_common.c
	* src/prefs_common.h
	* src/prefs_folder_item.c
	* src/prefs_spelling.c
	* src/prefs_template.c
	* src/quote_fmt.h
	* src/quote_fmt_parse.y
	* src/toolbar.c
	* src/toolbar.h
	* src/gtk/Makefile.am
	* src/gtk/about.c
	* src/gtk/filesel.c
	* src/gtk/gtkaspell.c
	* src/gtk/gtkaspell.h
	* src/plugins/bogofilter/Makefile.am
	* src/plugins/dillo_viewer/Makefile.am
	* src/plugins/spamassassin/Makefile.am
	* src/plugins/trayicon/Makefile.am
		Switch spellchecker to Enchant
2008-09-12 16:11:51 +00:00
Tristan Chabredier 8c10a3ae90 2008-03-29 [wwp] 3.3.1cvs45
* src/prefs_account.c
	* src/prefs_common.c
	* src/prefs_folder_item.c
	* src/prefs_quote.c
	* src/quote_fmt.c
	* src/quote_fmt.h
		Fix compose template formats (in global preferences)
		being translated under specific conditions.
		Add a button to restore factory defaults for current
		language.
2008-03-29 16:17:20 +00:00
Tristan Chabredier 91f0b5d0d1 2008-03-06 [wwp] 3.3.1cvs12
* src/compose.c
	* src/folder_item_prefs.c
	* src/folder_item_prefs.h
	* src/prefs_account.c
	* src/prefs_folder_item.c
	* src/prefs_quote.c
	* src/prefs_template.c
	* src/quote_fmt.c
	* src/quote_fmt.h
	* src/common/template.c
	* src/common/template.h
		Global and per-folder templates can now override the from name (this
		doesn't change the account being used).
		Examples:
		 "My other name" <%account_email> (just changes the name)
		 my.faked.email@address.org (overrides the address too)
2008-03-06 12:56:39 +00:00
Tristan Chabredier eabf07ad5b Revert previous (mis-)commit. 2008-03-06 12:54:05 +00:00
Tristan Chabredier f8e6057fb2 Global and per-folder templates can now override the From name (this
doesn't change the account being used), satisfying bug #1456.
Examples:
 "My other name" <%account_email> (just changes the name)
 my.faked.email@address.org (overrides the address too)
2008-03-06 12:44:22 +00:00
Tristan Chabredier 7377cac0e0 2008-01-28 [wwp] 3.2.0cvs69
* src/compose.c
	* src/prefs_template.c
	* src/prefs_template.h
	* src/quote_fmt.c
	* src/quote_fmt.h
	* src/quote_fmt_lex.l
	* src/quote_fmt_parse.y
		Fix for bug #1493: count lines (\n chars) according to the way
		format body is passed (i.e. \-escaped or not).
2008-01-28 09:19:14 +00:00
Tristan Chabredier f9a3eda055 2007-10-17 [wwp] 3.0.2cvs79
* src/compose.c
	* src/quote_fmt.c
	* src/quote_fmt.h
	* src/quote_fmt_lex.l
	* src/quote_fmt_parse.y
		Templates can now attach files using |attach{filename}.
2007-10-17 14:57:18 +00:00
Paul Mangan 17aa9e3508 2007-09-23 [paul] 3.0.1cvs25
* src/prefs_account.c
	* src/prefs_folder_item.c
	* src/prefs_quote.c
	* src/quote_fmt.c
	* src/quote_fmt.h
		remove unnecessary frame from Templates options
		and improve the English of the check button label
2007-09-23 09:17:24 +00:00
Tristan Chabredier b9e0f6b753 2007-06-05 [wwp] 2.9.2cvs42
* src/prefs_account.c
	* src/prefs_folder_item.c
	* src/prefs_quote.c
	* src/quote_fmt.c
	* src/quote_fmt.h
		Per-folder templates can now be applied recursively.
		Always save per-folder templates (formats were erroneously
		saved only if they were enabled).
		Check for validity of quotation marks everywhere there
		are defined.
2007-06-05 17:28:28 +00:00
Tristan Chabredier 88609a1885 2007-05-30 [wwp] 2.9.2cvs19
* src/prefs_compose_writing.c
	* src/prefs_quote.c
	* src/procheader.c
	* src/quote_fmt.c
	* src/quote_fmt.h
		Internal API changes (factorize quote format
		prefs and checks).
2007-05-30 22:17:38 +00:00
Tristan Chabredier 4d8b5ea0e0 2007-05-23 [wwp] 2.9.2cvs13
* src/compose.c
	* src/prefs_compose_writing.c
	* src/prefs_quote.c
	* src/prefs_template.c
	* src/prefs_template.h
	* src/quote_fmt.c
	* src/quote_fmt.h
	* src/quote_fmt_lex.l
	* src/quote_fmt_parse.y
		Introduced new syntax elements (symbols and commands)
		in templates/quote_fmt. Compatibility w/ old
		symbols is kept.
		Updated and reworked the corresponding Information
		dialog.
		Display the line number in dialogs that talk about
		parser errors (in addition to the error message in
		output).
2007-05-23 17:19:50 +00:00
Tristan Chabredier a38d4b6a5c 2007-05-23 [wwp] 2.9.2cvs11
* src/compose.c
	* src/prefs_template.c
	* src/quote_fmt.h
	* src/quote_fmt_parse.y
		Fix 2.9.2cvs10, which broke --disable-aspell.
2007-05-23 07:51:42 +00:00
Tristan Chabredier 439319888c 2007-05-22 [wwp] 2.9.2cvs10
* src/compose.c
	* src/prefs_template.c
	* src/quote_fmt.c
	* src/quote_fmt.h
	* src/quote_fmt_lex.l
	* src/quote_fmt_parse.y
	* src/gtk/gtkaspell.c
	* src/gtk/gtkaspell.h
		Added template/quote format syntactical elements
		to show and query:
			- current dictionary
			  %T to show (shows empty if not set or not enabled),
			  ?T and !T to check if the default dictionary is
			  enabled and set
			- current account's default dictionary
			  %aT to show (empty if not set or not enabled),
			  ?aT and !aT to check if it's enabled and set
			- name completion for an address, from the address
			  book
			  %ABf, %ABt, %ABc respectively show the full name got
			  from the address book if From, To or Cc match a single
			  contact.
			  ?ABf, !ABf, ?ABt, !ABt, ?ABc and !ABc check if completion
			  matches any contact and if the full name is non-empty.
			  If From, To or Cc are lists of email addresses, only
			  the first address will be checked.
		In compose.c, fix msginfo's To, Cc and Newsgroup address lists,
		that could show a trailing ','.
		Also, template/quote_fmt parser now shows the line number in case
		of parser error.
2007-05-22 21:36:07 +00:00
Tristan Chabredier 48a5427593 2006-10-10 [wwp] 2.5.3cvs29
* src/compose.c
	* src/prefs_template.c
	* src/quote_fmt.c
	* src/quote_fmt.h
	* src/quote_fmt_lex.l
	* src/quote_fmt_parse.y
		Extend the quote parser a bit: allow to get access to
		basic (composing) account info.
2006-10-10 09:50:33 +00:00
Colin Leroy 52a9964824 2006-07-08 [colin] 2.3.1cvs76
* src/compose.c
		Svae RMID in drafted mails too
		Save quote_fmt vars for whole mails,
		don't reset at each quote_fmt_init:
		allows to use the same |i{var} in
		various template fields
	* src/prefs_template.c
	* src/quote_fmt.h
	* src/quote_fmt_parse.y
		Same
2006-07-08 22:15:33 +00:00
Tristan Chabredier 9383abf4af 2005-12-02 [wwp] 1.9.100cvs54
* src/quote_fmt.h
	* src/quote_fmt_parse.y
		fix misuse of gboolean*, use gboolean instead
		(thanks to Paul, Colin, for pointing out that scaring one)
2005-12-02 14:44:22 +00:00
Tristan Chabredier 85e4cd0924 2005-12-02 [wwp] 1.9.100cvs52
* src/compose.c
	* src/prefs_template.c
	* src/quote_fmt.h
	* src/quote_fmt_parse.y
		prevent from executing |p and |p templates commands when
		adding or replacing templates in prefs (avoids annoying and
		potentially dangerous behaviours)
2005-12-02 14:08:12 +00:00
Paul Mangan 29e6353885 sync with 0.9.11cvs17 HEAD 2004-06-25 08:05:09 +00:00
Paul Mangan 06656e67f1 sync with 0.9.10claws57 HEAD 2004-05-10 10:22:28 +00:00
Christoph Hohmann ff0896b7ef * src/Makefile.am
added quote_fmt.c
* src/prefs_common.[ch]
* src/prefs_template.c
* src/quote_fmt.c               *** NEW FILE ***
* src/quote_fmt.h
        move quote format symbol description code
        to it's own file because it is used from
        differnent code parts
        Rewrote symbol description GUI
          + use table
          + add separators
          + get data from array (no more long constant strings)
* src/quote_fmt_lex.l
* src/quote_fmt_parse.y
        Symbol for Literal % changed to \% instead of %%
        (More logical as \ is used for quoting for other symbols)
        Add |f and |p to include files and program output
        Examples:
            |f{/home/.../.signature}
            |p{date}
* po/de.po
        Correct wrong spelling for "Referenzen"
2002-02-22 03:08:20 +00:00
Paul Mangan 027dce92c3 sync with sylpheed 0.7.1 release 2002-02-11 13:43:37 +00:00
Darko Koruga cd2ce4c3f4 Use selected text on reply/forward. 2002-02-07 09:26:39 +00:00
Paul Mangan 820618c7d9 sync with sylpheed 0.6.4cvs18 2001-11-07 10:29:45 +00:00
Sergey Vlasov 0ea1927224 Fixed quote format parser compilation. 2001-06-06 14:21:52 +00:00
Renamed from src/quote_fmt_parse.h (Browse further)