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

Mail: Accept dropped files on window

Currently only files dropped on the mail contents view are added as
attachments. Since dropped text files get inserted into the contents,
it only worked for non-text files.

With this change, the header area and the empty space of the tool bar
react to file drops as well.

* Accept dropped files on the whole window area
* Forward dropped files on the address text controls to the
main window (if they aren't people files)

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


# b02e6250 30-Dec-2018 Humdinger <humdingerb@gmail.com>

Mail: fix layout when resending

When resending a mail, don't put the To-field in the second column
after the From-field as it's done for incoming mail. To- and From-field
are the same layout as for creating a new mail.

Use the member fResending instead of the parameter "resending" the
THeaderView was called with.

Initialize fCcControl in ctor.


# dbbac331 05-Dec-2018 Humdinger <humdingerb@gmail.com>

Mail: save vertical space in the header when reading mail

The layout is unchanged for writing an email.

Changes when reading an email:

* decrease vertical spacing between rows
* move "To" to the right of "From" in the first row
* move "CC" to the right of "Date" in the second row
* move "Subject" down to the last, 3rd row

"CC" still only shows when it contains data.

This is a comparison of the old (left) and new (right) layout:
https://linx.li/new-mail.png

TODO:
It would be nice if the "To" and "CC" were right-aligned.

Change-Id: I89c758bc16af03838e6e3206b2983f451f6044b2
Reviewed-on: https://review.haiku-os.org/753
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 28da8a4c 16-Nov-2015 Axel Dörfler <axeld@pinc-software.de>

Mail: corrected spacing after window spacing change.

* The button panel shouldn't be indented at all.
* The header panel was intented twice, once by the surrounding layout,
once by its own.


# d4e348b0 19-Oct-2015 John Scipione <jscipione@gmail.com>

Mail: Implement select all hook for subject

This allows the Cmd+A key shortcut to select all text on
the subject control. You could already Select All from the
View menu but this is more convinient.

Fixes #12361


# 62c1b016 31-Aug-2015 Axel Dörfler <axeld@pinc-software.de>

Mail: temporary workaround for the label placing issue.

* Does not work for all font sizes.


# 4182c53b 31-Aug-2015 Axel Dörfler <axeld@pinc-software.de>

Mail: change look of disabled text controls.

* Added HeaderTextControl that draws the text in black, and uses the
panel background without a frame when it's disabled. Only the label
is still drawn as disabled.
* Changed AddressTextControl to behave in the same way.
* The date view is now a HeaderTextControl, too.
* Unfortunately, the label is not vertically aligned with the contents.


# 7bdee8be 31-Aug-2015 Axel Dörfler <axeld@pinc-software.de>

BEmailMessage: added missing const, Date() returns time_t.

* Added missing const to some getter methods.
* Date() now tries to parse the date of the mail, and return it as
a time_t; you can still retrieve the actual string via
HeaderField("Date") if you have to.
* Mail now shows the time in the local time zone, and with the
current locale.


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

Mail: fAccount text control is no longer used.


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

Mail: work in progress to use the layout API.


# 4c61114e 03-Jan-2014 Guillermo Bonvehi <gbonvehi@gmail.com>

Make sure Mail leaves enough space for all strings

* The code was assuming "Attachments" would be the longer word used, but
this doesn't always work outside of english. Actually search for the
longest string in the translations.
* Fixes #5285.
* It would be even better to convert the whole window to use layouts,
but this makes it useable until that's done.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>


# 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


# 2a95812e 10-Jun-2013 John Scipione <jscipione@gmail.com>

Mail: Tweak the height of the menu fields

Since hrev45725 we no longer resize fixed sized menu fields to their preferred
height in the constructor so as to be backwards compatible with the behavior on
BeOS R5. As a consequence though, the menu fields in Mail are now a bit too
tall so this commit tweaks the menu fields to be just a bit shorter matching
the height of the text controls.


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

Mail: some 64 bit fixes


# 5a6b8540 27-Mar-2013 Matt Madia <mattmadia@gmail.com>

Add Cc: text field to mails shown when it's not empty.

Patch by Sean Healy 'jalopeura'. Fixes #2446.


# 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.


# dfd93e23 19-Apr-2011 Siarzhuk Zharski <zharik@gmx.li>

Cosmetic fixes in localized strings. Pointed out by Sergei Reznikov (Diver). Thanks!



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


# 8859d46e 19-Apr-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Patch by Sean "jalopeura" Healy: save and restore account and encoding of draft mails.
This fix #4789. Thanks.


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


# 1ea9f437 01-Apr-2011 Jonas Sundström <jonas@kirilla.com>

Fix for #7372. Don't use an uninitialized buffer. Some BString replacement of C strings. Replace Mail's ReadAttrString() function with the BNode method. Define a B_MAIL_ATTR_BCC.

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


# 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


# df0ad9c1 14-Feb-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix account name in mail.
Work in progress: fetch next partial downloaded message.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40504 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


# d26fee1a 08-Feb-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Switch to the new MailProtocol and account API. Lot of other smaller adaption to the new mail server.

Remove button in the pref app removes the complete account because we don't have separate chains any more. The pref app stays a mess, needs some layout love! (I did it even look worse...)

The new account/mail settings classes know if they have been changed but the current pref panel does not use this feature very well. It always mark the settings as modified when the settings view is displayed or more precise when the settings view is detached from the pref window, this could be optimized. The according mail protocol is completely restarted when their settings changed.

Some system filters are now directly integrated in the mail protocols. Hopefully make things easier to understand.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40398 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


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

Humble beginnings of a code style correction.

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


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

Removal of non-Haiku ifdefs. Rephrasing 'BeOS attributes' as 'file attributes'.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34974 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


# cac9c31e 22-Feb-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Removed debug output.



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


# 73239809 22-Feb-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Fix displaying of the From: popup menu when composing a new message.

This actually show a bug in BPopUpMenu. It seesm to think that its size
includes the arrow at its right size and so it draws the menu item
string over it. Stippi?



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


# ac53f5c1 10-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* place the Encoding before the To. this fixes bug #1206


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


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

This fixes all the issues mentioned in #1207
* improved alignment of controls
* removed last separator from icon bar
* moved separator in sending mode so grouping of trash icon is like in
reading mode
* adjust window size constraints according to icon bar width
* fixed follow modes of menufields when resizing window (even on BeOS,
though a custom menu field is needed to take care of invalidation)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22128 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


# 62c1b01661ebd296b1404ccd4e9f18e0ed61f731 31-Aug-2015 Axel Dörfler <axeld@pinc-software.de>

Mail: temporary workaround for the label placing issue.

* Does not work for all font sizes.


# 4182c53bc4cf0e2e8e801c14f8da5cddf534a376 31-Aug-2015 Axel Dörfler <axeld@pinc-software.de>

Mail: change look of disabled text controls.

* Added HeaderTextControl that draws the text in black, and uses the
panel background without a frame when it's disabled. Only the label
is still drawn as disabled.
* Changed AddressTextControl to behave in the same way.
* The date view is now a HeaderTextControl, too.
* Unfortunately, the label is not vertically aligned with the contents.


# 7bdee8beab1ad3214daaf55b42c56cc3e698065f 31-Aug-2015 Axel Dörfler <axeld@pinc-software.de>

BEmailMessage: added missing const, Date() returns time_t.

* Added missing const to some getter methods.
* Date() now tries to parse the date of the mail, and return it as
a time_t; you can still retrieve the actual string via
HeaderField("Date") if you have to.
* Mail now shows the time in the local time zone, and with the
current locale.


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

Mail: fAccount text control is no longer used.


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

Mail: work in progress to use the layout API.


# 4c61114eff3498a5717b0dfe0959498175016f94 03-Jan-2014 Guillermo Bonvehi <gbonvehi@gmail.com>

Make sure Mail leaves enough space for all strings

* The code was assuming "Attachments" would be the longer word used, but
this doesn't always work outside of english. Actually search for the
longest string in the translations.
* Fixes #5285.
* It would be even better to convert the whole window to use layouts,
but this makes it useable until that's done.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>


# 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


# 2a95812e466a5357cc05bf29f1bed5c75d5222ca 10-Jun-2013 John Scipione <jscipione@gmail.com>

Mail: Tweak the height of the menu fields

Since hrev45725 we no longer resize fixed sized menu fields to their preferred
height in the constructor so as to be backwards compatible with the behavior on
BeOS R5. As a consequence though, the menu fields in Mail are now a bit too
tall so this commit tweaks the menu fields to be just a bit shorter matching
the height of the text controls.


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

Mail: some 64 bit fixes


# 5a6b854033916abf2f924f11d6ce8d52c14153bd 27-Mar-2013 Matt Madia <mattmadia@gmail.com>

Add Cc: text field to mails shown when it's not empty.

Patch by Sean Healy 'jalopeura'. Fixes #2446.


# 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.


# dfd93e239feee5d06878d0898dee28e6bb49dbb1 19-Apr-2011 Siarzhuk Zharski <zharik@gmx.li>

Cosmetic fixes in localized strings. Pointed out by Sergei Reznikov (Diver). Thanks!



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


# 8859d46e56da6a752c972f9049a11f6691cabd43 19-Apr-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Patch by Sean "jalopeura" Healy: save and restore account and encoding of draft mails.
This fix #4789. Thanks.


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


# 1ea9f437ea2a94167c336d78136c1f043671ff72 01-Apr-2011 Jonas Sundström <jonas@kirilla.com>

Fix for #7372. Don't use an uninitialized buffer. Some BString replacement of C strings. Replace Mail's ReadAttrString() function with the BNode method. Define a B_MAIL_ATTR_BCC.

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


# 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


# df0ad9c12a92a83718b4442e87034a8a2951efff 14-Feb-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix account name in mail.
Work in progress: fetch next partial downloaded message.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40504 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


# d26fee1afb9b3f3fdee2ca569b4944c3ad377d39 08-Feb-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Switch to the new MailProtocol and account API. Lot of other smaller adaption to the new mail server.

Remove button in the pref app removes the complete account because we don't have separate chains any more. The pref app stays a mess, needs some layout love! (I did it even look worse...)

The new account/mail settings classes know if they have been changed but the current pref panel does not use this feature very well. It always mark the settings as modified when the settings view is displayed or more precise when the settings view is detached from the pref window, this could be optimized. The according mail protocol is completely restarted when their settings changed.

Some system filters are now directly integrated in the mail protocols. Hopefully make things easier to understand.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40398 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


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

Humble beginnings of a code style correction.

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


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

Removal of non-Haiku ifdefs. Rephrasing 'BeOS attributes' as 'file attributes'.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34974 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


# cac9c31e537f389a7d536f11fc1fb06d6299ec84 22-Feb-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Removed debug output.



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


# 73239809437372523a658991b4579ccfa3a5b2e5 22-Feb-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Fix displaying of the From: popup menu when composing a new message.

This actually show a bug in BPopUpMenu. It seesm to think that its size
includes the arrow at its right size and so it draws the menu item
string over it. Stippi?



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


# ac53f5c1f1195946ea4b9d32f0462dcf397c5bbc 10-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* place the Encoding before the To. this fixes bug #1206


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


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

This fixes all the issues mentioned in #1207
* improved alignment of controls
* removed last separator from icon bar
* moved separator in sending mode so grouping of trash icon is like in
reading mode
* adjust window size constraints according to icon bar width
* fixed follow modes of menufields when resizing window (even on BeOS,
though a custom menu field is needed to take care of invalidation)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22128 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