History log of /haiku/src/apps/mail/Content.cpp
Revision Date Author Comments
# 623fc35a 06-Jul-2023 Humdinger <humdingerb@gmail.com>

Mail: Slightly improved attachment handling, layout, strings

* In case the dropped file is a symlink, attach the actual file instead.
* Don't add a file, if it's already in the list of attachments.
* Add file size in brackets after the filename in the list of attacments.
* Add some spacing before the "Attachments" label.
* Consistently use "attachment" instead of the mixed in "enclosure".
"Attachment" also seems a more common term for this.

Change-Id: Id36d900216ce25c96ac1815889b8c7b6ec0e5f2c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6699
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 229a173c 11-Feb-2023 Pascal Abresch <nep@packageloss.eu>

Mail: respect system text & Link color

Change-Id: I0e37f640decb69a43ee12389af36c70c3821d548
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6062
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>


# 2ca13760 20-Aug-2021 Coldfirex <sakison@gmail.com>

Mass updating of OpenBeOS text to Haiku

No functional code altered.

https://dev.haiku-os.org/ticket/17197

Change-Id: I75cc74f6be0ad968fd77c31fbe5b0f650a6fe9e0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4364
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# f67bf641 01-Apr-2021 Siddhant Gupta <siddhantgupta416@gmail.com>

mail: partial style cleanup

No functional changes

Change-Id: I8f2b18da4955ee48cba87359050fbe3fc8cdb9ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3830
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# bef15852 18-Jan-2020 Augustin Cavalier <waddlesplash@gmail.com>

Mail: Fix build following realloc() fix.


# c039c51d 07-Jan-2020 Zotyamester <szatmary.zoltan1222@gmail.com>

Mail: fix memory leak on realloc

Fixes #9873

Change-Id: I274fc61359c34ada1088994f65f3d3c762297176
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2069
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 66d438d1 17-Sep-2019 Humdinger <humdingerb@gmail.com>

Mail: change keyboard shortcuts / labels

1) People normally don't change their email account and Mail settings
often after the initial setup and short tweaking period. Using
keyboard shortcuts on those menu items is wasteful. Let's remove
them.

2) OTOH, I need to in/decrease the quoting level rather often (Mail
could probably be more intelligent here, too...).
Also, the current shortcuts for this ALT+' and ALT+SHIFT+' are awkward
and in some keymaps (German, for example) unreachable.
With the change in 1), ALT +/- becomes available, which is easily
reched with many keymaps AFAIK, and the numpad.

3) Rename the menu items "Quote" and "Remove quote" to
"Increase quote level" and "Decrease quote level", which is much
more correct. Also ties n nicely with the +/- shortcuts.

4) Rename the BMessage constants for consistency.

Change-Id: I2da21ed3aa465c30d09b2520288b64dea70feeec
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1868
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# a1ad8af6 24-May-2019 Augustin Cavalier <waddlesplash@gmail.com>

Change a number of sprintf to snprintf.

Fixes a number of -Werrors about format overflow from GCC 8.


# a31244d0 13-Feb-2019 Murai Takashi <tmurai01@gmail.com>

mail: Fix potential memory leak

Fix memory leak when realloc() failed.
Pointed out by Clang Static Analyzer.

Change-Id: I13f758c4d89275651e22785652d0880a6d5b1a8e
Reviewed-on: https://review.haiku-os.org/c/1064
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 54782f42 23-Dec-2018 Humdinger <humdingerb@gmail.com>

Mail: fixing unicode for szlig;

The unicode for szlig ("ß") when filtering HTML tags was wrong, showing
"ö" instead. Discovered by miqlas, pin-pointed by PulkoMandy.


# 1609bb2f 17-Dec-2018 Owen <owenca@users.noreply.github.com>

Mail: Fix infinite loop in FindURL.

Fixes #14746.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
One minor change from owenca's original patch: we can't return
immediately if urlString is NULL, as the caller probably wants
the urlLength.


# a4dcbfce 15-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

Mail: Detect URLs by parsing ahead instead of checking every character.

This is a *massive* performance improvement; some longer emails that
took 45+ seconds to load before now take < 1 second, at the cost
of a completely rewritten URL detector. This means some URLs that
were detected before (e.g. anything starting with "www", emails
without "mailto:", etc.) are now not detected, though support
for detecting them could be reinstated in the future.

Fixes #4816.


# fa19dd44 10-Dec-2015 looncraz <looncraz@looncraz.net>

apps: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0045-0075, 0077-0087 from looncraz, unmodified.


# fd79684a 09-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

BScrollView::SetBorders() added to disable borders.

* You can specify which borders will be drawn using the
BControlLook::B_TOP_BORDER, ... constants.
* Adapted Mail to no longer need the SetInsets() hack.


# df946869 30-Aug-2015 Axel Dörfler <axeld@pinc-software.de>

Mail: work in progress to use the layout API.


# 3aeed660 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# 37fa8227 10-Jan-2014 John Scipione <jscipione@gmail.com>

Mail: Make quote and unquote work better

Always quote and unquote starting from the beginning of the line
instead of the current cursor position.


# 4b7e2196 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 55a4a880 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

Mail: some 64 bit fixes


# 9abf41a7 25-Dec-2012 Philippe Saint-Pierre <stpere@gmail.com>

Mail: remove un-intended debugging code committed


# 5eea8a56 24-Dec-2012 Philippe Saint-Pierre <stpere@gmail.com>

Mail: coding styles fixes. should have no functional changes


# aed35104 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 5c6b9eb0 23-Feb-2012 Jerome Duval <jerome.duval@gmail.com>

Some fixes for GCC 4.6 warning: variable set but not used


# 7df4b413 15-Jan-2012 Aleksas Pantechovskis <alexp.frl@gmail.com>

Improve the auto-signature insertion algorithm

* Append the signature only after the e-mail Reader thread will finish
it's work. This prevent from inserting the signature in wrong place;
* Added extra lines between original e-mail quote and the signature for
more comfortable editing of replies.
* This fix was made during GCI2011;
* This fixes #4590.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# cd8bd6fa 12-Jan-2012 Aleksas Pantechovskis <alexp.frl@gmail.com>

Preserve/Restore e-mail reading position

* Introduce the "MAIL:read_pos" attribute of e-mail file node to
store the latest scroll position of the mail text view;
* Fixes #4302 (Mail should store and restore scroll offset);
* This feature was implemented during completing GCI2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# d79ded8a 02-Jan-2012 Philippe Saint-Pierre <stpere@gmail.com>

Mail: various checks of malloc returns + memory leak fix

CID 891.


# d01b42b9 19-Dec-2011 Aleksas Pantechovskis <alexp.frl@gmail.com>

Correct update of TextView text run on font change.

* Fixes #4698 - font preference changes were not applied
on the next message;
* The source of problem is resetting of the text run array after
applying new font with SetFontAndColor function. Proposed solution
updates the text run array items fonts directly without resetting
it them and without loosing any styling and color quiting
information;
* This is result of completing GCI 2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# aabb32e1 04-Dec-2011 Humdinger <humdingerb@gmail.com>

Make the enclosure string in the mail body translatable.


# b8d2bbd6 03-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

- Partial downloaded messages are now opened by Mail and not by the mail daemon. Mail request the body fetch and get notified when the daemon is done. During this time the Mail window title is showing "Downloading: subject". This fixes #7256.
- Some cleanup in Mail.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40789 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f97b68a1 14-Feb-2011 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by Diver that lets Mail properly render vector icons for the
attachments, and adds a few missing translated strings. Thanks!
* Some cleanups by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40495 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eddec292 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* applied patch by kaliber that fixes more than 100 warnings - thanks a lot!
Closes #6349

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37670 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4eb0cbb0 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8c9c8c0e 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36668 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5ef42fcc 09-Jan-2010 Jonas Sundström <jonas@kirilla.com>

Sentence-cased GUI strings, adapted from patch by Humdinger in #5169.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34973 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c8767bee 08-Jan-2010 Jonas Sundström <jonas@kirilla.com>

Localization to replace the hardcoded English/Japanese. I will follow up with a Japanese translation based on the previous code. Some of the old solution lingers in parts of the code. A small amount of clean-up and removal BeOS-specifics.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34956 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 63d557f0 15-Jul-2009 Michael Lotz <mmlr@mlotz.ch>

Fixing random GCC4 warnings. Mostly missing consts, some parentheses, some braces... Should all be harmless and not change anything.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31600 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 02de38b0 25-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed leaks. CID 893 and 894. There are still some leaks in this file, but the code is too complex and I won't touch it. I'd feel better if someone who knows it better would have a look

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27739 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7b8e0f2 09-Jun-2008 Axel Dörfler <axeld@pinc-software.de>

* Slightly improved invalid suffix removal from URLs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25872 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e06c7fe5 08-May-2008 Axel Dörfler <axeld@pinc-software.de>

* Added a quote_context structure that FillInQuoteTextRuns() can now optionally
use to keep track of the current context. This should not only make it faster,
but may also fix the occasionally seen bug of the previous solution.
* Added a simple diff mode coloring as well - only enabled when quote coloring
is enabled.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25364 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7ebe0d01 30-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

first part of a big cleanup of the Mail code
* separated window, app and context menu code
* got rid of all the global variables (which were accessed completely without
locking, and the code with regards to the preference window sill needs
fixing)
* extracted some defines and helper functions to MailSupport.cpp, though I later
saw Utilities.cpp...
* got rid of the FONT_SIZE define which was used in some (but not all) controls
to override the system font size
* worked in Header.cpp to get the controls layout font sensitive with correct
alignment too, some problems remain when resizing the window


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22122 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0995b563 18-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

* Renamed BeMail to Mail.
* The settings are still saved in "config/settings/BeMail Settings", though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20389 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd79684a5f6650a4c479e90da5b884a7923eb152 09-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

BScrollView::SetBorders() added to disable borders.

* You can specify which borders will be drawn using the
BControlLook::B_TOP_BORDER, ... constants.
* Adapted Mail to no longer need the SetInsets() hack.


# df946869a12e27082370ec23b9bfc3f2893fe8ab 30-Aug-2015 Axel Dörfler <axeld@pinc-software.de>

Mail: work in progress to use the layout API.


# 3aeed6607cd07762c0e709633c012b3a632dbad9 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# 37fa8227e32eb60e53013b19442820c7d2e77217 10-Jan-2014 John Scipione <jscipione@gmail.com>

Mail: Make quote and unquote work better

Always quote and unquote starting from the beginning of the line
instead of the current cursor position.


# 4b7e219688450694efc9d1890f83f816758c16d3 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 55a4a88045ee553e36e92406200079ea13b858d6 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

Mail: some 64 bit fixes


# 9abf41a7fe5d490686228dc4bc5f95a6bda15433 25-Dec-2012 Philippe Saint-Pierre <stpere@gmail.com>

Mail: remove un-intended debugging code committed


# 5eea8a566d49cf76059b9a1aee99531af2672dbd 24-Dec-2012 Philippe Saint-Pierre <stpere@gmail.com>

Mail: coding styles fixes. should have no functional changes


# aed35104852941f0f6f3d1dcc5338b5f337d0a3c 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 5c6b9eb00d0d623c12f72eb82a471cb4c71f4f33 23-Feb-2012 Jerome Duval <jerome.duval@gmail.com>

Some fixes for GCC 4.6 warning: variable set but not used


# 7df4b41328242918b7201d12d80a7fbc7f1e025e 15-Jan-2012 Aleksas Pantechovskis <alexp.frl@gmail.com>

Improve the auto-signature insertion algorithm

* Append the signature only after the e-mail Reader thread will finish
it's work. This prevent from inserting the signature in wrong place;
* Added extra lines between original e-mail quote and the signature for
more comfortable editing of replies.
* This fix was made during GCI2011;
* This fixes #4590.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# cd8bd6fa3fd3871812cc3e4027e15ca11e1adeaa 12-Jan-2012 Aleksas Pantechovskis <alexp.frl@gmail.com>

Preserve/Restore e-mail reading position

* Introduce the "MAIL:read_pos" attribute of e-mail file node to
store the latest scroll position of the mail text view;
* Fixes #4302 (Mail should store and restore scroll offset);
* This feature was implemented during completing GCI2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# d79ded8a44c4f6bcc36ef6c6a5861236345c19d9 02-Jan-2012 Philippe Saint-Pierre <stpere@gmail.com>

Mail: various checks of malloc returns + memory leak fix

CID 891.


# d01b42b97058e0cb5145a5b6599a0479d71e7f13 19-Dec-2011 Aleksas Pantechovskis <alexp.frl@gmail.com>

Correct update of TextView text run on font change.

* Fixes #4698 - font preference changes were not applied
on the next message;
* The source of problem is resetting of the text run array after
applying new font with SetFontAndColor function. Proposed solution
updates the text run array items fonts directly without resetting
it them and without loosing any styling and color quiting
information;
* This is result of completing GCI 2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# aabb32e118c42b120380a47e9dedeecf552b6ae8 04-Dec-2011 Humdinger <humdingerb@gmail.com>

Make the enclosure string in the mail body translatable.


# b8d2bbd6167a4b751f67b2a171d770695f5055ca 03-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

- Partial downloaded messages are now opened by Mail and not by the mail daemon. Mail request the body fetch and get notified when the daemon is done. During this time the Mail window title is showing "Downloading: subject". This fixes #7256.
- Some cleanup in Mail.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40789 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f97b68a1e07a356ed083fa30f5139c9105f5037a 14-Feb-2011 Axel Dörfler <axeld@pinc-software.de>

* Applied patch by Diver that lets Mail properly render vector icons for the
attachments, and adds a few missing translated strings. Thanks!
* Some cleanups by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40495 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eddec292d5dd8251a00851880e16e6a5c07c1e3f 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* applied patch by kaliber that fixes more than 100 warnings - thanks a lot!
Closes #6349

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37670 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4eb0cbb044cf538f18c0d252934a5bcaa33bfd34 07-May-2010 Matt Madia <mattmadia@gmail.com>

Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8c9c8c0e1fa2fa5881ffe1a8f4de8a182fa83861 06-May-2010 Matt Madia <mattmadia@gmail.com>

Updated to use B_TRANSLATE* macros. relates to #5408.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36668 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5ef42fcc608129b5db7af74c0010c1e48dba45fa 09-Jan-2010 Jonas Sundström <jonas@kirilla.com>

Sentence-cased GUI strings, adapted from patch by Humdinger in #5169.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34973 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c8767bee6f595855d7c1e7f5e41f451ce21cfa8d 08-Jan-2010 Jonas Sundström <jonas@kirilla.com>

Localization to replace the hardcoded English/Japanese. I will follow up with a Japanese translation based on the previous code. Some of the old solution lingers in parts of the code. A small amount of clean-up and removal BeOS-specifics.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34956 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 63d557f06f41c0aef30f8a0fcc5b8d2c47981b33 15-Jul-2009 Michael Lotz <mmlr@mlotz.ch>

Fixing random GCC4 warnings. Mostly missing consts, some parentheses, some braces... Should all be harmless and not change anything.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31600 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 02de38b077d3532e6f12428ecc3268fbce222b9a 25-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed leaks. CID 893 and 894. There are still some leaks in this file, but the code is too complex and I won't touch it. I'd feel better if someone who knows it better would have a look

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27739 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7b8e0f2679fe26d680135fb3311ec552d5a0e2c 09-Jun-2008 Axel Dörfler <axeld@pinc-software.de>

* Slightly improved invalid suffix removal from URLs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25872 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e06c7fe5d89709394d0cfc4697fff78eb6e1f693 08-May-2008 Axel Dörfler <axeld@pinc-software.de>

* Added a quote_context structure that FillInQuoteTextRuns() can now optionally
use to keep track of the current context. This should not only make it faster,
but may also fix the occasionally seen bug of the previous solution.
* Added a simple diff mode coloring as well - only enabled when quote coloring
is enabled.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25364 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7ebe0d01cf3a65f5a5e40f64ba26682e071deb7f 30-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

first part of a big cleanup of the Mail code
* separated window, app and context menu code
* got rid of all the global variables (which were accessed completely without
locking, and the code with regards to the preference window sill needs
fixing)
* extracted some defines and helper functions to MailSupport.cpp, though I later
saw Utilities.cpp...
* got rid of the FONT_SIZE define which was used in some (but not all) controls
to override the system font size
* worked in Header.cpp to get the controls layout font sensitive with correct
alignment too, some problems remain when resizing the window


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22122 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0995b563847c884054e912abbd2c5bc08d614f59 18-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

* Renamed BeMail to Mail.
* The settings are still saved in "config/settings/BeMail Settings", though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20389 a95241bf-73f2-0310-859d-f6bbb57e9c96