History log of /haiku/src/apps/aboutsystem/HyperTextActions.cpp
Revision Date Author Comments
# aa7f93c5 24-Jan-2019 Rob Gill <rrobgill@protonmail.com>

src/apps Code formatting

* No functional changes

code formatting changes only

Change-Id: I046ae21d9b288126022fe0bc2ddf827843765e70
Reviewed-on: https://review.haiku-os.org/c/896
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>


# f232d9d2 08-Dec-2018 EXL <exlmotodev@gmail.com>

AboutSystem: Minor fix for opening links

It looks like it unfolds to:
> /bin/open /bin/open https://www.example.com

Instead of the expected:
> /bin/open https://www.example.com

See "src/kits/app/Roster.cpp", BRoster::ArgVector::Init() method:
// init vector
if (error == B_OK) {
fArgs[0] = fAppPath.Path(); // Here
if (argc > 0 && args != NULL) {
for (int i = 0; i < argc; i++)
fArgs[i + 1] = args[i];
if (hasDocArg)
fArgs[fArgc - 1] = fDocPath.Path();
}
// NULL terminate (e.g. required by load_image())
fArgs[fArgc] = NULL;
}

Change-Id: Ie7e7155377637b93cbc3c1d225cb91b5e0d2dd7d
Reviewed-on: https://review.haiku-os.org/754
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# b14a49c9 19-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added BTextView derived class HyperTextView, which allows for
associating text with an action performed when clicked. Very
bare-bones, but sufficient for our purposes.
* Turned all URLs into proper URLs (i.e. prepended "http://" where
missing).
* Added new AboutView::AddCopyrightEntry() versions. One can take an
additional licenses list, the other extracts all info from a supplied
BMessage.
* The displayed licenses and URLs are hyperlinks now. Clicking the
former opens the license file in /etc/licenses, the latter try to open
a browser (works with NetPositive at least).
* The "COPYRIGHTS" attribute of the executable can contain descriptions
of optional packages. Those are read, parsed, and added as copyright
entries.


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


# b14a49c9bd9e716b89430bd562c06ab2d92220dc 19-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added BTextView derived class HyperTextView, which allows for
associating text with an action performed when clicked. Very
bare-bones, but sufficient for our purposes.
* Turned all URLs into proper URLs (i.e. prepended "http://" where
missing).
* Added new AboutView::AddCopyrightEntry() versions. One can take an
additional licenses list, the other extracts all info from a supplied
BMessage.
* The displayed licenses and URLs are hyperlinks now. Clicking the
former opens the license file in /etc/licenses, the latter try to open
a browser (works with NetPositive at least).
* The "COPYRIGHTS" attribute of the executable can contain descriptions
of optional packages. Those are read, parsed, and added as copyright
entries.


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