History log of /haiku/src/apps/pulse/PulseApp.cpp
Revision Date Author Comments
# e04f6f31 27-Apr-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

Pulse: do not run the preferences and about windows in DeskBar process

Now Pulse can be both in a normal window and in DeskBar at the same
time. The Replicant starts the app if needed to show the settings and
about box there, instead of showing the window in the DeskBar process.

Fixes #6901

Change-Id: I3cede07df9216c54e4ad97b50618d42c2fa5e12e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/83
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 80cdc887 29-Jan-2019 Rob Gill <rrobgill@protonmail.com>

apps/pulse Fix PVS-2010

* Replace unformatted printf with puts

* removed extraneous spaces

Change-Id: I5c707a22dca703bf6a594ab6e85dc2c24bc3911a
Reviewed-on: https://review.haiku-os.org/c/966
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# efafab64 02-Nov-2018 Axel Dörfler <axeld@pinc-software.de>

Deskbar: Resizable tray

* Adds max width and height arguments to
instantiate_deskbar_(item|entry).
* Old applications just stay with a 16x16 scaled icon, though.
* All used apps within the repository are converted to the new call
besides the input_server input method icon (that will need further
API changes in the input_server).

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


# 8e96ec34 14-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

BWindow::MoveOnScreen() now has a flags field.

* You can now specify whether or not you want to resize the window,
and move it on screen, or center it.
* Removed PulseWindow::MoveOnScreen() method.


# 9c353c97 14-Feb-2015 Augustin Cavalier <waddlesplash@gmail.com>

Pulse: automatic whitespace cleanup.


# 1bc7045f 15-Dec-2013 Pawel Dziepak <pdziepak@quarnos.org>

kernel, libroot: Introduce new API for obtaining system info


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


# 560ff447 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

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


# 71302e7c 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal.

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


# 55f0b964 10-Mar-2011 Siarzhuk Zharski <zharik@gmx.li>

Applying revized localization patch prepared by Jorma Karvonen.
Fixes #7347. Thanks.

Additionally: single function for About alert added - replaces the triplication of
the same text in original code.



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


# be8fa2fb 02-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Update all applications in tree to use the new localizing system
* Remove the old one from the locale librairy, with some cleanup
Known regressions :
* readonlybootprompt will no longer update the locale settings : the
method used messed with internal undocumented things
* external localized apps (webpositive for example) will not run
anymore.


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


# eb161bde 19-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

BCatalog was used in the wrong way. Fixes ticket #6198.

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


# 42f6e06f 06-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Patch by Karvjorm to localize the Pulse demo application. This closes ticket #6110.

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


# 87df8902 14-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Don't use private BeOS syscalls.


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


# 021f3589 02-May-2009 Philippe Saint-Pierre <stpere@gmail.com>

Pulse couldn't work in mini-mode since it was reverting to normal mode in every cases except when successfully launched in deskbar
mode.

That was the cause of bug #3384.


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


# 4ccfb086 01-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* Fixed memory leak in CPUButton: the message runner was only deleted in the
destructor, but created everytime AttachedToWindow() was called.
* Minor cleanups.


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


# 0a7d4d99 01-Jul-2005 Axel Dörfler <axeld@pinc-software.de>

Moved the move-window-on-screen code into PulseWindow::MoveOnScreen().
When you change the appearance during runtime, the screen location is
now checked again.


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


# e8fbd252 14-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Now checks if the window is out of the screen frame and move the window
back into it, if necessary.
Some more cleanup.


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


# 80f47570 14-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Some cleanup.


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


# 285c5708 27-Sep-2002 shatty <shatty@nowhere.fake>

fixed newline at end of file.


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


# 52a38012 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


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


# 8e96ec340bee0b8279e3776c8cba1c3e37e7a956 14-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

BWindow::MoveOnScreen() now has a flags field.

* You can now specify whether or not you want to resize the window,
and move it on screen, or center it.
* Removed PulseWindow::MoveOnScreen() method.


# 9c353c978c076fa7b8c43d2baafc17e287377554 14-Feb-2015 Augustin Cavalier <waddlesplash@gmail.com>

Pulse: automatic whitespace cleanup.


# 1bc7045fdfb85e6151d01c73669be19627c4783b 15-Dec-2013 Pawel Dziepak <pdziepak@quarnos.org>

kernel, libroot: Introduce new API for obtaining system info


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


# 560ff4478d5c85455ea3e5ed5e392ef93132d545 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

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


# 71302e7c6dbf98040eb000175a2545d0de63fdc8 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal.

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


# 55f0b964a343fcf5f42e61b48f417e775f5ce8b0 10-Mar-2011 Siarzhuk Zharski <zharik@gmx.li>

Applying revized localization patch prepared by Jorma Karvonen.
Fixes #7347. Thanks.

Additionally: single function for About alert added - replaces the triplication of
the same text in original code.



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


# be8fa2fb3088ab1921612b60f352dd9334b40b3d 02-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Update all applications in tree to use the new localizing system
* Remove the old one from the locale librairy, with some cleanup
Known regressions :
* readonlybootprompt will no longer update the locale settings : the
method used messed with internal undocumented things
* external localized apps (webpositive for example) will not run
anymore.


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


# eb161bde338263235bed3e135050bca4712e6f74 19-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

BCatalog was used in the wrong way. Fixes ticket #6198.

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


# 42f6e06f3b27e99f8afd82abb3f6176f01fb72d7 06-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Patch by Karvjorm to localize the Pulse demo application. This closes ticket #6110.

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


# 87df8902ac30e7d6e528356fb82b187bed03a6c4 14-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Don't use private BeOS syscalls.


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


# 021f35891b3668fbd4b93e0bb3461d4c95211246 02-May-2009 Philippe Saint-Pierre <stpere@gmail.com>

Pulse couldn't work in mini-mode since it was reverting to normal mode in every cases except when successfully launched in deskbar
mode.

That was the cause of bug #3384.


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


# 4ccfb0866110b667a3384a7608663805f05da78d 01-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

* Fixed memory leak in CPUButton: the message runner was only deleted in the
destructor, but created everytime AttachedToWindow() was called.
* Minor cleanups.


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


# 0a7d4d9991b743aed5404bfff09f2a659da0a4ff 01-Jul-2005 Axel Dörfler <axeld@pinc-software.de>

Moved the move-window-on-screen code into PulseWindow::MoveOnScreen().
When you change the appearance during runtime, the screen location is
now checked again.


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


# e8fbd2527f74124c33be0309aea035b43e4d6dad 14-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Now checks if the window is out of the screen frame and move the window
back into it, if necessary.
Some more cleanup.


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


# 80f47570a5b87aa2b9dff4b7d67ea2b414887cd4 14-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Some cleanup.


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


# 285c5708a20c5b33515ef0d6c998b957f9e28e20 27-Sep-2002 shatty <shatty@nowhere.fake>

fixed newline at end of file.


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


# 52a380120846174213ccce9c4aab0dda17c72083 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


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