#
67bc1521 |
|
12-Nov-2012 |
John Scipione <jscipione@gmail.com> |
Make about window a bit taller so it fits the average amount of text ... without scrolling. This completes my about window treatment for all replicants. It is my hope that BAboutWindow will be used by all apps that need an about dialog instead of using a BAlert.
|
#
96a5a088 |
|
12-Nov-2012 |
John Scipione <jscipione@gmail.com> |
Add the authors back to AboutWindow.h, also use <> style for email addresses
|
#
7031e2be |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Fix build, that's what I get for committing without testing first.
|
#
d1b2e338 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
There is nothing to translate in the initial copyright string, it is just '(c) %years% %holder%'
|
#
c73d4b3d |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Move AboutPosition() method up.
|
#
d156f976 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Get rid of the _Init() method in BAboutWindow, just the single constructor body.
|
#
97a81406 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Instead of destroying the BAboutWindow object on close, Hide() it, then on the destructor of the calling window call Quit() explicitly to destroy it.
|
#
04875296 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Add version variety to the end of the version string (alpha, beta, etc.)
|
#
0fbb37d2 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Move the app icon down a bit.
|
#
6cdd1023 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Get the icon and version from FindApp which works whether or not the app is currently running. This makes process controller show it's icon and version even though it lives in Deskbar.
|
#
a792461b |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Pass in 128 as an icon_size to GetTrackerIcon(), this makes it grab a nice 128x128 HVIF icon
|
#
12a9a71d |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Use a quit bool in B_ABOUT_REQUESTED to indicate that the about window has quit instead of using kAboutWindowClosed message. This prevents message signature clashes.
|
#
3fdab584 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Set the about window object to NULL on close or quit. Pass the BHandler object that opened the about window to BAboutWindow. When the window closes, send a kAboutWindowClosed message back to the handler. This allows the handler to set the variable to NULL. Implement the new about dialog constructor in all apps that use it. Remove the old constructor. This now works reliably for all cases I tested without crashing and does the right thing on close. The setup and teardown is a bit more complicated than I wanted though. Unfortunately this seems to be necessary when not using a BAlert. Fetching the app icon does not work reliably yet. This is because for replicants the app may not be running. I may have to pass the icon in instead of grabbing it from the signature.
|
#
5b0cd987 |
|
17-Aug-2012 |
John Scipione <jscipione@gmail.com> |
WIP: Create the about dialog once, hide and show, Quit() when object is destroyed.
|
#
0046f444 |
|
01-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Modify about window to take an app signature. * Grabs the app icon and version from the resource file. * Allow you to specify the copyright holder instead of hardcoding "Haiku, Inc." * Support multiple extra copyright fields. * Modify BAlert to take a custom icon. * Set the custom icon of the BAlert to the app icon. * Also set the app version. * Convert BAboutWindow to derive from BWindow * Place a 128x128 icon and fill out a scrolling BTextView with options such as authors, version history, copyright, license, etc. Still needs some work but is coming along. * Add the word Version to the version line, i8n'ed of course, and tweak the info box and default sizes.
|
#
2bcc7f40 |
|
16-Aug-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Simplify use of translated strings in BAboutWindow. * avoid duplicate initialization of variables by joining the expressions.
|
#
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.
|
#
eaa5e093 |
|
14-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix #8452 (app's crashing for non-existent system catalog) * make the system catalog a BCatalog instead of a BCatalogAddOn*, such that using a non-existing system catalog won't crash but simply return the untranslated string instead * rename MutableLocaleRoster::GetSystemCatalog() to LoadSystemCatalog() and adjust it to use BCatalog::SetTo() in order to replace the data used by the given catalog * adjust all users of gSystemCatalog accordingly
|
#
60f75e90 |
|
04-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Merge liblocale.so into libbe.so. * Make the locale kit a part of libbe. * Drop the LocaleBackend kludge used from within libbe (and from other places, too) in order to access system catalog strings. This is now done via gSystemCatalog, which is provided and initialized by libbe. * Drop all references to liblocale.so from all Jamfiles. * Add legacy symlink liblocale.so in order to keep optional packages that rely on it in a working state. TODO: the documentation hasn't been updated.
|
#
d1cf4099 |
|
17-Dec-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Enforced the newlines. Localized alert "title" and close button label. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39879 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ae52982 |
|
17-Dec-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Made BAboutWindow class localized. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39878 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
04e24ee5 |
|
13-Aug-2009 |
Ryan Leavengood <leavengood@gmail.com> |
Made some char* params const to fix a GCC4 warning in ShowImage (the only current client of this AFAIK.) They should have been const to begin with... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32297 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1e8da5fd |
|
12-Sep-2008 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
fAppName was leaked (CID 6). Also moved the initialization of fText to the end of the function, so that we avoid a BString::Adopt() call git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27447 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e6b421a9 |
|
29-Apr-2008 |
Jérôme Duval <korli@users.berlios.de> |
fix misuse of ... with B_UTF8_ELLIPSIS git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25261 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
48295d4b |
|
15-Jun-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
libshared.a doesn't deserve a src/ subdirectory. Moved to src/kits/shared. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
67bc15211fe106c057b3371a6157384ff72ef58f |
|
12-Nov-2012 |
John Scipione <jscipione@gmail.com> |
Make about window a bit taller so it fits the average amount of text ... without scrolling. This completes my about window treatment for all replicants. It is my hope that BAboutWindow will be used by all apps that need an about dialog instead of using a BAlert.
|
#
96a5a088ba7b83989262cc7e01034a589a068ccd |
|
12-Nov-2012 |
John Scipione <jscipione@gmail.com> |
Add the authors back to AboutWindow.h, also use <> style for email addresses
|
#
7031e2beb2b29121d7633928bf719d73aca679d8 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Fix build, that's what I get for committing without testing first.
|
#
d1b2e338efa3e5c11786c846de2f2a23cc27ba3a |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
There is nothing to translate in the initial copyright string, it is just '(c) %years% %holder%'
|
#
c73d4b3dc21ef6fb52f17c174d55fba92b54f3e9 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Move AboutPosition() method up.
|
#
d156f97655ce79535a29f528a3aed4a2de21e8ee |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Get rid of the _Init() method in BAboutWindow, just the single constructor body.
|
#
97a814061e5b6fc26fbfedf2efb859ec2bcf87a1 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Instead of destroying the BAboutWindow object on close, Hide() it, then on the destructor of the calling window call Quit() explicitly to destroy it.
|
#
04875296c4fe3e58628e4cbe0eb813cbdb40e6ca |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Add version variety to the end of the version string (alpha, beta, etc.)
|
#
0fbb37d23860526352b22a73c1816e41c7a2329c |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Move the app icon down a bit.
|
#
6cdd1023ab743a1deda5e6f48a248c4f00fc18e5 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Get the icon and version from FindApp which works whether or not the app is currently running. This makes process controller show it's icon and version even though it lives in Deskbar.
|
#
a792461b21227f9145c6baa604933d9d36fce504 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Pass in 128 as an icon_size to GetTrackerIcon(), this makes it grab a nice 128x128 HVIF icon
|
#
12a9a71db61beed2755d9916f454a61500613630 |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Use a quit bool in B_ABOUT_REQUESTED to indicate that the about window has quit instead of using kAboutWindowClosed message. This prevents message signature clashes.
|
#
3fdab584468f3b71e8a1ecc4238ed6699cfe78cd |
|
18-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Set the about window object to NULL on close or quit. Pass the BHandler object that opened the about window to BAboutWindow. When the window closes, send a kAboutWindowClosed message back to the handler. This allows the handler to set the variable to NULL. Implement the new about dialog constructor in all apps that use it. Remove the old constructor. This now works reliably for all cases I tested without crashing and does the right thing on close. The setup and teardown is a bit more complicated than I wanted though. Unfortunately this seems to be necessary when not using a BAlert. Fetching the app icon does not work reliably yet. This is because for replicants the app may not be running. I may have to pass the icon in instead of grabbing it from the signature.
|
#
5b0cd98792de98b6ef3f40c432f0971ca6a5d405 |
|
17-Aug-2012 |
John Scipione <jscipione@gmail.com> |
WIP: Create the about dialog once, hide and show, Quit() when object is destroyed.
|
#
0046f4443675694b16fda4829e6f838954bf23fa |
|
01-Aug-2012 |
John Scipione <jscipione@gmail.com> |
Modify about window to take an app signature. * Grabs the app icon and version from the resource file. * Allow you to specify the copyright holder instead of hardcoding "Haiku, Inc." * Support multiple extra copyright fields. * Modify BAlert to take a custom icon. * Set the custom icon of the BAlert to the app icon. * Also set the app version. * Convert BAboutWindow to derive from BWindow * Place a 128x128 icon and fill out a scrolling BTextView with options such as authors, version history, copyright, license, etc. Still needs some work but is coming along. * Add the word Version to the version line, i8n'ed of course, and tweak the info box and default sizes.
|
#
2bcc7f40c3c5bb7128139bd73c2efe3ce1a177dc |
|
16-Aug-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Simplify use of translated strings in BAboutWindow. * avoid duplicate initialization of variables by joining the expressions.
|
#
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.
|
#
eaa5e0936d94e7d0bb2e6066a87d485e7613414c |
|
14-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix #8452 (app's crashing for non-existent system catalog) * make the system catalog a BCatalog instead of a BCatalogAddOn*, such that using a non-existing system catalog won't crash but simply return the untranslated string instead * rename MutableLocaleRoster::GetSystemCatalog() to LoadSystemCatalog() and adjust it to use BCatalog::SetTo() in order to replace the data used by the given catalog * adjust all users of gSystemCatalog accordingly
|
#
60f75e901ce3063c63441ac644dd0e55a17d5d09 |
|
04-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Merge liblocale.so into libbe.so. * Make the locale kit a part of libbe. * Drop the LocaleBackend kludge used from within libbe (and from other places, too) in order to access system catalog strings. This is now done via gSystemCatalog, which is provided and initialized by libbe. * Drop all references to liblocale.so from all Jamfiles. * Add legacy symlink liblocale.so in order to keep optional packages that rely on it in a working state. TODO: the documentation hasn't been updated.
|
#
d1cf4099240720553dd0808d48fe52574325cf3b |
|
17-Dec-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Enforced the newlines. Localized alert "title" and close button label. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39879 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ae52982cc1f9b25ba00207a280a2e10ee1895af |
|
17-Dec-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Made BAboutWindow class localized. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39878 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
04e24ee5ba34be2d7730840ac8085077b4375bd1 |
|
13-Aug-2009 |
Ryan Leavengood <leavengood@gmail.com> |
Made some char* params const to fix a GCC4 warning in ShowImage (the only current client of this AFAIK.) They should have been const to begin with... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32297 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1e8da5fd150b0b340d5ab1ef8ea95ec77b7cba75 |
|
12-Sep-2008 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
fAppName was leaked (CID 6). Also moved the initialization of fText to the end of the function, so that we avoid a BString::Adopt() call git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27447 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e6b421a98eee762db7b1c0237e608356a2a26383 |
|
29-Apr-2008 |
Jérôme Duval <korli@users.berlios.de> |
fix misuse of ... with B_UTF8_ELLIPSIS git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25261 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
48295d4ba7e8018ec09721cd1ad190b73b6ef528 |
|
15-Jun-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
libshared.a doesn't deserve a src/ subdirectory. Moved to src/kits/shared. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|