#
f0650dc9 |
|
09-Dec-2015 |
looncraz <looncraz@looncraz.net> |
preferences: Convert to using Set*UIColor. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Patches 0023-0037 from looncraz, unmodified.
|
#
be741f6e |
|
13-Nov-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Minor cleanup of translator roster commit, updated copyright.
|
#
a1eccae9 |
|
08-Nov-2015 |
Markus Himmel <markus@himmel-villmar.de> |
Make sure images containing BTranslators are not unloaded early When a translator is uninstalled, BTranslatorPrivate::_RemoveTranslators is called. This method used to unload the image containing the translator after calling Release() on it resulting in several problems: - If the translator was still busy, e.g. translating something while being installed, it crashed since the image was unloaded even though its refcount was larger than 0. - Applications using code from one of the translators (e.g. its config view) would crash when the translator is uninstalled (this is bug #12005). This problem is now fixed. The roster keeps track of all translators whose image it manages (even if the translator was already removed from the roster). It also keeps a refcount to all images. When a translator's refcount drops to zero and it belonged to a roster at some point, it does not delete itself, but notifies the roster that it is ready to destruct, which then removes it from the roster if the translator is still in it, destroys the translator, decrements the refcount of the image and if the new refcount is zero, unloads the image. All of this is done in a message handler, since if the translator called TranslatorDeleted like before, the unloaded image would be referenced when the stack is walked up. Finally, the DataTranslations preflet is required to Acquire() the translator whose config view it is showing, because otherwise its refcount could be reduced to 0 and the image unloaded. BTranslatorRoster now enables users to acquire a translator by ID. By the time the translator has to be released, it might not be part of the roster anymore though. Since BTranslatorRoster tries not to give out raw pointers to the translators it manages, users who acquire a translator through a roster now are given a BTranslatorReleaseDelegate, which allows for releasing the BTranslator exactly once and then self-destructs. Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
|
#
eb88c867 |
|
14-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Move the info button's general informative text to the main view, and set as intro screen. Remove About window. Fix memory leak of config views. Replace the info BAlert's tab characters with a single space for more consistent spacing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41249 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b4ad591 |
|
13-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Make IconView icon_size:able. Adapt DataTranslations. Disable DataTranslation's info button on list deselection. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41248 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4b428674 |
|
12-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Make DataTranslations' IconView available privately in the interface kit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41244 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4cbdf747 |
|
16-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Build fix. (fwiw, both failed revisions built fine over here, with both gcc2 and gcc4.) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40987 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f4265833 |
|
16-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40985 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1f1606e7 |
|
17-Aug-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Update DataTranslations to use BGroupLayout and BGridLayout instead of BALMLayout. This works around a regression with some changes I'll be committing soon, although I'd still like to find the source of it... Also do some style cleanup and remove fTranslatorNameView var which was never actually displayed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38198 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f6e4cbb9 |
|
15-Oct-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class definitions). * Minor cleanup here and there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
797de116 |
|
01-May-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Loading and saving the settings was completely broken. I've moved to a different file and put the window position there; loading/saving of the translators settings looks broken in (or rather, missing from) the Translation Kit as well. * Now uses the new watching mechanism of BTranslatorRoster to keep track of new translators. * Installing translators now gives better error requests, it now no longer uses undocumented BTranslatorRoster functionality, but the new IsTranslator() method to check if a certain file is a translator. * Copying translators is disabled for now, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17292 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ac11f96 |
|
11-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed various minor font sensitivity/resize problems. * Fixed translator version info; didn't correctly displayed versions < 1. * Drastically improved looks of that info alert. * Nicer version alert. * Renamed class DataTranslationsView to TranslatorListView. * Added license. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16722 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a10cf76e |
|
24-Jun-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed src/prefs to "preferences", as the directory is usually called in BeOS. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13263 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb88c867c10e7917c245b90c1d5d5e27c0f0e42b |
|
14-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Move the info button's general informative text to the main view, and set as intro screen. Remove About window. Fix memory leak of config views. Replace the info BAlert's tab characters with a single space for more consistent spacing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41249 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b4ad591d884d9ddf12635bee76cc23daf25bf2f |
|
13-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Make IconView icon_size:able. Adapt DataTranslations. Disable DataTranslation's info button on list deselection. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41248 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4b428674959e4a798253ad564b6d339441a892b9 |
|
12-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Make DataTranslations' IconView available privately in the interface kit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41244 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4cbdf7476160daf7d55cab103258101cb847081c |
|
16-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Build fix. (fwiw, both failed revisions built fine over here, with both gcc2 and gcc4.) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40987 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f4265833aa1b34968af1cbeb7479784acf094d85 |
|
16-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40985 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1f1606e7455be02152a72b5f505213096937e1c4 |
|
17-Aug-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Update DataTranslations to use BGroupLayout and BGridLayout instead of BALMLayout. This works around a regression with some changes I'll be committing soon, although I'd still like to find the source of it... Also do some style cleanup and remove fTranslatorNameView var which was never actually displayed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38198 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f6e4cbb95290a74b33d012600438b84742b0e572 |
|
15-Oct-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class definitions). * Minor cleanup here and there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
797de116a2f37dea6d25d76b6580954f231113f3 |
|
01-May-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Loading and saving the settings was completely broken. I've moved to a different file and put the window position there; loading/saving of the translators settings looks broken in (or rather, missing from) the Translation Kit as well. * Now uses the new watching mechanism of BTranslatorRoster to keep track of new translators. * Installing translators now gives better error requests, it now no longer uses undocumented BTranslatorRoster functionality, but the new IsTranslator() method to check if a certain file is a translator. * Copying translators is disabled for now, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17292 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ac11f960a2b137821c95b996b8232863383bbbd |
|
11-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed various minor font sensitivity/resize problems. * Fixed translator version info; didn't correctly displayed versions < 1. * Drastically improved looks of that info alert. * Nicer version alert. * Renamed class DataTranslationsView to TranslatorListView. * Added license. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16722 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a10cf76ef5b9e8c726ebc47183abd6943023cf8f |
|
24-Jun-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed src/prefs to "preferences", as the directory is usually called in BeOS. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13263 a95241bf-73f2-0310-859d-f6bbb57e9c96
|