History log of /haiku/src/apps/launchbox/MainWindow.cpp
Revision Date Author Comments
# e680a439 13-Feb-2019 Yatendra Singh <yatendra1999luffy@gmail.com>

Launchbox: autostart on boot

Use launch daemon to autostart Launchbox if enabled in settings.

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


# ff5711ee 02-Mar-2014 Philippe Saint-Pierre <stpere@gmail.com>

LaunchBox: Add missing curly brackets (CID #991345)


# ac966d59 17-Feb-2013 Matt Madia <mattmadia@gmail.com>

LaunchBox: add Open containing folder option.

Contributed by abhiin1947. Fixes #7951.


# 8a24526e 13-Dec-2012 Philippe Saint-Pierre <stpere@gmail.com>

LaunchBox: remove redundant Locking. Thanks Stippi!


# 4d6bb87e 12-Dec-2012 Philippe Saint-Pierre <stpere@gmail.com>

LaunchBox: finish saving settings before closing the window (#6347)


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


# 03c2a138 27-Nov-2011 Humdinger <humdingerb@gmail.com>

Fixed typo spotted by helix84.


# 3f2e30c0 29-Oct-2011 Stephan Aßmus <superstippi@gmx.de>

Place the button description window near the mouse and to
the side of the pad window that has enough room (preferring
right/bottom side of pad). The algorithm doesn't strictly
prevent the window to be placed outside of the screen in any
and all situations, but it should work pretty well in
practice.


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


# bc096b82 24-Oct-2011 Joachim Seemer <humdingerb@googlemail.com>

Applied patch inserting newlines in error message. Closes #7953. Thanks diver.

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


# a1e3c32d 20-May-2011 Axel Dörfler <axeld@pinc-software.de>

* BIconButton now inherits from BControl, solving a TODO comment.
* I tried to reuse as much state from BControl as possible, so I removed a few
states.
* Also made the flags private, and added protected SetInside()/IsInside()
methods.
* Removed useless BIconButton::ID().
* Adjusted users.
* Minor cleanup, automatic white space cleanup.
-alpha


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


# dfd93e23 19-Apr-2011 Siarzhuk Zharski <zharik@gmx.li>

Cosmetic fixes in localized strings. Pointed out by Sergei Reznikov (Diver). Thanks!



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


# 62769fc6 26-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Follow-up on r41108. Removal of About-windows and menu items.

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


# c91a3f09 13-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

Fixes #7157.
- Masked strings are presented in more consistent way;
- Trailing spaces in localized strings are supressed.



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


# 0e07d4c0 24-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Mike Roll as part of GCI: i18n LaunchBox


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


# 5d2022c5 13-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

Fixed completely broken restoration of the path as the main means to refer to
an application location. It was basically always using the fallback of launching
apps by signature... Should fix #5458.


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


# bebd84f8 12-Jan-2010 Karsten Heimrich <host.haiku@gmx.de>

* Make sure frame is on screen on first start without settings.



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


# 9368e58b 18-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

* Re-enabled tool tips as those are now supported in Haiku.
* Make sure settings are saved rightaway whenever they change. (Solves a
ticket which I cannot seem to find right now.)
* Some improvements to the NamePanel layout/size (when setting descriptions).


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


# 8d186370 21-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Added setting for "Ignore Double Click". I assumed it to be the desired
behavior to ignore double clicks in case someone did it out of habbit, but
wouldn't expect an app to launch twice because of that. However, some people
may want the plain/straight button behavior, as testified in #3800. :-)


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


# a6099ca9 14-Oct-2008 Stephan Aßmus <superstippi@gmx.de>

* Implemented changing the icons size (several ones are supported from
16 x 16 to 64 x 64).
* Changed the layout code to have dynamic padding depending on main icon size.
* Fixed a problem with the "Auto Raise" feature where, when the pad was along
the bottom, you had to tip the top of the screen with the mouse for the pad
to raise...


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


# bacaf114 03-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Don't display error when BRoster::Launch() returns B_ALREADY_RUNNING...


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


# f946336f 31-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* Better error output in LaunchButton
* Load both the app signature and the entry_ref from the settings
in any case, but do not use the entry_ref if the entry does not exist
anymore.
* Prefer the entry_ref when launch something. This make it much easier
to launch a specific executable, especially if multiple copies exist on
the harddrive. If launching via ref failed, or no ref is provided in the
first place, fall back to launching by signature.
* Much improved error output when launching fails, now via BAlert.


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


# 6c14516a 28-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

* Now uses the B_ALL_WORKSPACES flag when it's supposed to show on all
workspaces.
* It uses the Haiku-specific B_SAME_POSITION_IN_ALL_WORKSPACES to behave
in the same way as before (which I couldn't really test, though).
* Some cleanup, removed extraneous white space.


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


# 227fb2b1 25-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

* use Ryan's new BAboutWindow class (also removed the hint that this app
originally was a birthday present for Ingo... hope he is Ok with that)
* fixed ticket #1424, now it uses three empty buttons for new pads
* cloned pads are now opened at an offset, otherwise one wouldn't have any
visual feedback that something happened with a cloned pad on top of the
original


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


# f32e3a29 10-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* implemented default buttons
* window size limits are correctly set
* one can now chose between horizontal and vertical layout
(brilliantly simple with the new layout system :-)


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


# 25648ff0 08-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* added LaunchBox, an application launcher with drag&drop support
* it has been rewritten from using liblayout to use the new Haiku
layout framework
* TODO: it should come with default settings
* TODO: the minimum window size is not yet set by the layout framework (?)


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


# ff5711ee19c5341871213a1caa1239b6afccb81a 02-Mar-2014 Philippe Saint-Pierre <stpere@gmail.com>

LaunchBox: Add missing curly brackets (CID #991345)


# ac966d59413e7f0f7395d42d499725f8d6414c3a 17-Feb-2013 Matt Madia <mattmadia@gmail.com>

LaunchBox: add Open containing folder option.

Contributed by abhiin1947. Fixes #7951.


# 8a24526e3fa84674a58568f204acafc08bffd219 13-Dec-2012 Philippe Saint-Pierre <stpere@gmail.com>

LaunchBox: remove redundant Locking. Thanks Stippi!


# 4d6bb87ea72eebfcda0c1733788503aa91f067f1 12-Dec-2012 Philippe Saint-Pierre <stpere@gmail.com>

LaunchBox: finish saving settings before closing the window (#6347)


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


# 03c2a1389581b5eebdeb73d3a6a7ac11acf7e008 27-Nov-2011 Humdinger <humdingerb@gmail.com>

Fixed typo spotted by helix84.


# 3f2e30c0a01399573013b982895f72ef70d0ea86 29-Oct-2011 Stephan Aßmus <superstippi@gmx.de>

Place the button description window near the mouse and to
the side of the pad window that has enough room (preferring
right/bottom side of pad). The algorithm doesn't strictly
prevent the window to be placed outside of the screen in any
and all situations, but it should work pretty well in
practice.


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


# bc096b828edf245b76127c39d4dc32e78f3c93d4 24-Oct-2011 Joachim Seemer <humdingerb@googlemail.com>

Applied patch inserting newlines in error message. Closes #7953. Thanks diver.

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


# a1e3c32da97b9b8c56f14d811ad63fe134c44aab 20-May-2011 Axel Dörfler <axeld@pinc-software.de>

* BIconButton now inherits from BControl, solving a TODO comment.
* I tried to reuse as much state from BControl as possible, so I removed a few
states.
* Also made the flags private, and added protected SetInside()/IsInside()
methods.
* Removed useless BIconButton::ID().
* Adjusted users.
* Minor cleanup, automatic white space cleanup.
-alpha


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


# dfd93e239feee5d06878d0898dee28e6bb49dbb1 19-Apr-2011 Siarzhuk Zharski <zharik@gmx.li>

Cosmetic fixes in localized strings. Pointed out by Sergei Reznikov (Diver). Thanks!



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


# 62769fc6d5b7ee60cea4d6e289316a5e20e0c5d4 26-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Follow-up on r41108. Removal of About-windows and menu items.

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


# c91a3f096999fa132672cafebcca82db75d22ec2 13-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

Fixes #7157.
- Masked strings are presented in more consistent way;
- Trailing spaces in localized strings are supressed.



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


# 0e07d4c078c779ba1e195d4c4e3881a2326270d1 24-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Mike Roll as part of GCI: i18n LaunchBox


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


# 5d2022c52149cb153fe09a61fb41e76eae0b21a7 13-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

Fixed completely broken restoration of the path as the main means to refer to
an application location. It was basically always using the fallback of launching
apps by signature... Should fix #5458.


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


# bebd84f847989d94329dd0eb8815e158213a06c0 12-Jan-2010 Karsten Heimrich <host.haiku@gmx.de>

* Make sure frame is on screen on first start without settings.



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


# 9368e58be42cdd06d03817d3815a12fbb69e7cfa 18-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

* Re-enabled tool tips as those are now supported in Haiku.
* Make sure settings are saved rightaway whenever they change. (Solves a
ticket which I cannot seem to find right now.)
* Some improvements to the NamePanel layout/size (when setting descriptions).


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


# 8d1863708046e19583d17c048b0ca3c7058d98fb 21-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Added setting for "Ignore Double Click". I assumed it to be the desired
behavior to ignore double clicks in case someone did it out of habbit, but
wouldn't expect an app to launch twice because of that. However, some people
may want the plain/straight button behavior, as testified in #3800. :-)


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


# a6099ca9e5e21e047567244f1b35f5636e5a94ff 14-Oct-2008 Stephan Aßmus <superstippi@gmx.de>

* Implemented changing the icons size (several ones are supported from
16 x 16 to 64 x 64).
* Changed the layout code to have dynamic padding depending on main icon size.
* Fixed a problem with the "Auto Raise" feature where, when the pad was along
the bottom, you had to tip the top of the screen with the mouse for the pad
to raise...


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


# bacaf1148cb6be32ebc9f57e3f99ca504be42973 03-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Don't display error when BRoster::Launch() returns B_ALREADY_RUNNING...


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


# f946336faa322a2c9df31efe318f89313c80a700 31-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* Better error output in LaunchButton
* Load both the app signature and the entry_ref from the settings
in any case, but do not use the entry_ref if the entry does not exist
anymore.
* Prefer the entry_ref when launch something. This make it much easier
to launch a specific executable, especially if multiple copies exist on
the harddrive. If launching via ref failed, or no ref is provided in the
first place, fall back to launching by signature.
* Much improved error output when launching fails, now via BAlert.


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


# 6c14516a18b14cf5574983ad0d188af9d22f3514 28-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

* Now uses the B_ALL_WORKSPACES flag when it's supposed to show on all
workspaces.
* It uses the Haiku-specific B_SAME_POSITION_IN_ALL_WORKSPACES to behave
in the same way as before (which I couldn't really test, though).
* Some cleanup, removed extraneous white space.


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


# 227fb2b11c9fa888bb04964c233e6398e7f5d36d 25-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

* use Ryan's new BAboutWindow class (also removed the hint that this app
originally was a birthday present for Ingo... hope he is Ok with that)
* fixed ticket #1424, now it uses three empty buttons for new pads
* cloned pads are now opened at an offset, otherwise one wouldn't have any
visual feedback that something happened with a cloned pad on top of the
original


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


# f32e3a29b0f8a02e74ae312e0df12d8477866a49 10-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* implemented default buttons
* window size limits are correctly set
* one can now chose between horizontal and vertical layout
(brilliantly simple with the new layout system :-)


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


# 25648ff02029112c6152fbbc43949cc81b195adf 08-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* added LaunchBox, an application launcher with drag&drop support
* it has been rewritten from using liblayout to use the new Haiku
layout framework
* TODO: it should come with default settings
* TODO: the minimum window size is not yet set by the layout framework (?)


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