History log of /haiku/src/apps/people/AttributeTextControl.h
Revision Date Author Comments
# 632e56d8 06-Apr-2012 Alexander Sulfrian <alexander@sulfrian.net>

URL linkification in People

url and email label are now marked as a link and open the address
in the browser/mail-app on click

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

Fixes #3825

A few extra changes from the original patch:

- Remove "smart" parsing (detection of "ftp", etc) as it could lead to
ftp://ftp://url or other strangeness,
- Add gopher protocol, because mmu_man may have an home page there.


# 78a47132 09-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Made localizable attribute control's label formatting.


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


# bb5f99a5 07-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Reimplemented how People works. The previously hard-coded attribute list
is now only a fallback attribute list which is install in case the Person
MIME type has no attributes at all. Otherwise the GUI is completely driven
by the current Person attributes, as configured (and sorted) by FileTypes.
This has been on my mental TODO list since years. Finally one can add
a "Cell phone" attribute in Filetypes and actually see and edit it in
People. Or a birth day attribute. If I had read the previous code correctly,
it was only due to a bug that People did not remove those any attributes
on every launch.

I've tested this quite a bit, but it wouldn't hurt to test it some more.
The only "regression" I am aware of is that State and Zip code are not
in one line anymore. Perhaps this feature could be reintroduced by looking
at the display width and if two attributes are short, put them in one line...


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


# 78a471321cf364c6e4c74be53023839fe469ddf4 09-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Made localizable attribute control's label formatting.


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


# bb5f99a5a6ba465d3eb9cd70b1d7cc1ab505496e 07-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Reimplemented how People works. The previously hard-coded attribute list
is now only a fallback attribute list which is install in case the Person
MIME type has no attributes at all. Otherwise the GUI is completely driven
by the current Person attributes, as configured (and sorted) by FileTypes.
This has been on my mental TODO list since years. Finally one can add
a "Cell phone" attribute in Filetypes and actually see and edit it in
People. Or a birth day attribute. If I had read the previous code correctly,
it was only due to a bug that People did not remove those any attributes
on every launch.

I've tested this quite a bit, but it wouldn't hurt to test it some more.
The only "regression" I am aware of is that State and Zip code are not
in one line anymore. Perhaps this feature could be reintroduced by looking
at the display width and if two attributes are short, put them in one line...


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