History log of /haiku/src/apps/workspaces/Workspaces.cpp
Revision Date Author Comments
# 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>


# 9df5205c 04-Nov-2017 John Scipione <jscipione@gmail.com>

Workspaces: Make sure settings is set only once

... fixing oversight in hrev51512.

Erase the file and write all settings to disk each time.

When Workspaces is running in a window WorkspacesSettings
is destroyed first, then WorkspacesView is destroyed.
WorkspacesSettings saves all settings except for 'switch on
wheel', then WorkspacesView reads the settings in from
disk, tacks the switch on wheel setting on, then writes
the settings back to disk.

If WorkspacesView is a (Deskbar) replicant instead the
WorkspacesSettings steps are skipped. WorkspacesView reads
in the settings from disk, tacks 'switch on wheel' on, erases the
file, then saves all settings back to disk. Use ReplaceBool to
ensure that the 'switch on wheel' settings is added just once.

Create the file if it doesn't exist in either case.

Don't check Unflatten status because will fail on empty file.

SaveSettings on the view before opening Deskbar replicant
so that 'switch on wheel' gets loaded.


# cf6569ab 01-Nov-2017 John Scipione <jscipione@gmail.com>

Workspaces: Move fSwitchOnWheel setting to view

... and re-enable it. Off by default. The view controls just this
one setting while the window controls the rest. However they both
share a common settings file on disk. This means that a change in
one view's wheel setting will affect all others when relaunched,
but won't affect already running instances, this is intentional.

WorkspacesSettings::_Open() method has been moved to a static
function OpenSettingsFile() and is used both by WorkspacesSettings
and WorkspacesView classes.

The switch on wheel setting was disabled for view-only (replicant)
Workspaces instances in hrev50796, this seeks to restore it.

That commit says:
"A cleaner solution would be to read the settings once if there is
no WorkspacesWindow, and use the setting from there instead."

Instead of that, we read the setting from the file on disk and
write it to disk too bypassing the window entirely.

Used local pointer style.
Some style fixes mixed in.


# 2060602c 28-Dec-2016 Axel Dörfler <axeld@pinc-software.de>

Workspaces: Turn off wheel switch for replicant.

* It's turned off by default for the app, so I see no reason why the
replicant should have it. It's annoying to use, as my touchpad
obviously scrolls when moving the mouse while having a button pressed.
* A cleaner solution would be to read the settings once if there is no
WorkspacesWindow, and use the setting from there instead.


# 29089fe2 25-Sep-2016 Adrien Destugues <pulkomandy@pulkomandy.tk>

Workspaces: style fixes

As pointed out by Axel.


# 43caca96 24-Sep-2016 Adrien Destugues <pulkomandy@pulkomandy.tk>

Workspaces: fix the auto-raise functionality

- Remove hardcoded decorator border size, and get it from the system.
- Move the window at the right place when using the "zoom" button
(if the auto-raise setting is enabled).
- Make the auto-raise work even when the mouse is above the window
borders, not the active area. This works similarly to LaunchBox
auto-raise feature.

fixes #8188, #8194.

Manual rework of patches by Daniel Devine which were never merged and
didn't apply cleanly anymore.


# 5f73d500 06-Mar-2016 Humdinger <humdingerb@gmail.com>

Close Workspaces window with ESC

As discussed on the ML [1].
Try making the Workspaces window really big, hide window tab and border,
assign CTL + ^ to the Workspaces applet. Now you can quickly summon the
applet with CTRL + ^ and equally quickly dismiss it with ESC.

[1] http://www.freelists.org/post/haiku-development/Close-Workspaces-applet-with-ESC


# 8c5db364 20-Jan-2014 François Revol <revol@free.fr>

Workspaces: Add switch-on-wheel user setting

Currently only applies when in a window, not when replicated
(then it always switches).

Feel free to fix (need to create the settings object when replicated).


# 04756e00 19-Apr-2015 Murai Takashi <tmurai01@gmail.com>

Fix GCC 5 suggest parentheses warning.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 8f4cd9c9 05-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Improve Workspaces Zoom() implementation

* Do not move the window, this is annoying
* Instead of putting the window at a fixed size, keep the current width
and adjust the height so the preview has a correct aspect ratio.

Fixes #5034.


# 052e5d93 26-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Workspaces: remove "about" menu item.

The about box is kept, and can be shown from the replicants.

Fixes #8165.


# d3ce2feb 30-Dec-2013 François Revol <revol@free.fr>

Little optimization


# a82d922d 30-Dec-2013 François Revol <revol@free.fr>

workspaces: switch current workspace on mouse wheel

Gnome does that on the panel widget, at first it was annoying
but after a while it feels quite handy.


# 4b7e2196 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 31535ac6 01-May-2013 Adrien Destugues <pulkomandy@gmail.com>

Make BAboutWindow modal

�* Set its type to B_MODAL_WINDO, and also set B_NOT_MOVABLE
* Since this removes the window tab, add an "Ok" button to close the window
* Remove the GetWindow mess and just use it as any regular window
* Adjust all callers again

The AlertPosition method doesn't seem to work right, the window pops up
offset to the right. I also noticed that some of our calls to BAboutWindow
are actually not reacable because we removed Abutrequested from the apps.
Maybe we should clean them up (locale preflet and activity monitor are examples)

More annoying is the fact that opening a modal window from a deskbar replicant
is modal against the whole deskbar. Not sure what to do about that.


# fd19c736 30-Apr-2013 Adrien Destugues <pulkomandy@gmail.com>

Fix BAboutWindow lifecycle

BAboutWindow returned false in QuitRequested in order to hide instead of closing.
Not only this keeps a BLooper running for a rarely used window, but it also
prevents quitting an application in the window was not destroyed first.

* Remove aforementioned QuitRequested method,
* Add a static GetWindow method that returns the existing about window, if there
is one, or creates one if there is not. A boolean can be set to tell the caller
what happened,
* Adjust all callers to use that new method, instead of managing the window themselves.


# 7fe8b2bf 17-Dec-2012 John Scipione <jscipione@gmail.com>

Also lock fAboutWindow before Quit()ting in other apps


# df02847b 12-Nov-2012 John Scipione <jscipione@gmail.com>

Update Workspaces about dialog


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


# 84089207 06-Dec-2011 François Revol <revol@free.fr>

Fix rect calculation.

Not sure what the intended height is though. 16 or 17?


# 09a0999c 06-Dec-2011 François Revol <revol@free.fr>

Style fix

Yes, I do need to change my glasses.


# cee4855a 06-Dec-2011 François Revol <revol@free.fr>

Better calculation of the Deskbar replicant size

Patch by RQ from ticket #8156 that accounts for the workspaces layout.


# c5382e2c 30-Nov-2011 François Revol <revol@free.fr>

Style fix


# fc111138 29-Nov-2011 François Revol <revol@free.fr>

Add an option to live in the Deskbar

* Apply reworked version of the patch from "RQ" in #8156 that adds a "live in the deskbar" menu item.
* Also added a "Remove replicant" menu item for the replicant case.


# fedd3119 25-Nov-2011 Humdinger <humdingerb@gmail.com>

Corrected some typos and stuff pointed out by Rimas.


# 329daa44 04-Apr-2011 Joachim Seemer <humdingerb@googlemail.com>

Changed a few strings as discussed on the i18n mailing list. Added localization of license descriptions in AboutSystem.

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


# 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


# 97873fad 09-Jan-2011 Siarzhuk Zharski <zharik@gmx.li>

MIME type for Screen preflet changed globally: x-vnd.Be-SCRN -> x-vnd.Haiku-Screen
Pointed by Axel. Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40188 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


# 89666eef 29-Jun-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Jorma Karvonnen : localize Workspaces. Thanks !


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


# 7974d3dc 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# 0e02469e 16-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Made Workspaces' initial size and shape depend on screen size, screen proportions and the current layout of one's workspaces. Adjusted Zoom() to be proportional. Also added proportional resizing, which is optional currently, pressing shift while resizing.

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


# 9aad8c7d 24-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

Fix #4185 by making the border and title settings in the context menu positive
settings ("Show x"). This required changing various logic, some of which I
think was also wrong in the negative settings case. Now if you turn off the
border when the title is on, the title will come back when the border is turned
back on. But any changes in the title setting force the border back on. When
loading the settings the border setting takes precedence.

+alphabranch


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


# cfca1962 08-Aug-2009 Joachim Seemer <humdingerb@googlemail.com>

This doesn't solve #4185 (I'm too dumb, I've tried...). Just changed some strings to mesh with e.g. LaunchBox

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


# 79f3690f 29-Mar-2009 Stephan Aßmus <superstippi@gmx.de>

When embedded on the Desktop as a replicent, prevent the Desktop view from
painting over the workspaces view. The way this is currently handled in
app_server makes it flicker even in double buffered mode.


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


# 7e359a9b 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Having the first argument to main() non-int is an error in GCC 4.3.

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


# ff6ab522 15-Jan-2009 Axel Dörfler <axeld@pinc-software.de>

* We don't need the BeOS FrameMoved() work-around for Haiku.


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


# 4682283f 09-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* The BView archived the view's event mask - if the auto-raise feature was
enabled when the view got archived, the replicant inherited the event mask
of the view. We now make sure the event mask is always set to 0.
* This fixes bug #2566.
* Minor cleanup.


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


# 8a89ce7e 09-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* WorkspacesView::MouseDown() now only reacts on mouse buttons within the view
even if the auto raise feature is activated. This fixes bug #2173.


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


# badcd9db 14-Jul-2008 Axel Dörfler <axeld@pinc-software.de>

* Popup menu is now sticky - this should probably be the default of all menus
when "sticky menus" is selected in the menu preferences (just in case we still
have that setting...). Oh, this also fixes bug #2315.


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


# 62572b22 02-Jun-2008 Jérôme Duval <korli@users.berlios.de>

HasBorder and HasTitle are exclusive, fix bug #2325


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


# ac2042cb 14-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

* Moved about window into the view and made it accessible from the
replicant as well.
* Added a context menu that allows you to change how Workspaces looks
and behaves (previously accessible only using command line options).
* The settings changes are now remembered; we're now using a new
settings file (flattened BMessage), but can still read old settings
files if it exists.
* Renamed WorkspacesPreferences to WorkspacesSettings.


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


# 97b3cb26 14-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

* Workspaces can now be a replicant.
* The view must be a follow all view since the workspaces are handled
differently.
* No longer needs to use kWorkspacesWindowFlag; this makes it no longer
work on BeOS.


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


# f9bbab88 24-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* First steps towards a more flexible workspaces view handling: the
workspaces view can now be any view in the hierarchy.
* Added private view flag kWorkspacesViewFlag that identifies such a
view - note though, that you must not remove a view before closing or
hiding its window for now (and that you still need to set the
kWorkspacesWindowFlag, too).
* Fixed Workspaces check for valid screen coordinates; after a crash, it
managed to open its window offscreen for me.
* Added a ViewLayer method FindView() that finds a view with the
specified flags set.


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


# 1af35a24 14-Aug-2007 Axel Dörfler <axeld@pinc-software.de>

Added an auto-raise feature - works only, if the workspaces window is at a screen edge.
You can turn this feature on via the command line (--autoraise).


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


# 6bc5f9fd 25-Jan-2007 François Revol <revol@free.fr>

This should allow switching to previous or next workspace with Workspaces [-|+].
Idea taken from http://www.bebits.com/app/3379


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


# 646182be 27-Sep-2006 Axel Dörfler <axeld@pinc-software.de>

* When specifying invalid arguments, an error message is now printed. This fixes bug #714.
* Removed some useless information.


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


# a3fef6d1 13-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* added --notmovable option.
* the flags are no longer mutually exclusive.
* nicer about window.


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


# 604390bb 13-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

The saved position is now also invalid if it is less than zero.


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


# 16c5a624 20-Feb-2006 Jérôme Duval <korli@users.berlios.de>

workspaces window flag is in WindowPrivate.h


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


# 7b51c433 16-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

Moved the "Workspaces" application out of preferences - it's not a preferences application.


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


# 04756e005c52370c74434429229326424b0e814f 19-Apr-2015 Murai Takashi <tmurai01@gmail.com>

Fix GCC 5 suggest parentheses warning.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 8f4cd9c9767f3369b014b840e2c75473ef3f815d 05-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Improve Workspaces Zoom() implementation

* Do not move the window, this is annoying
* Instead of putting the window at a fixed size, keep the current width
and adjust the height so the preview has a correct aspect ratio.

Fixes #5034.


# 052e5d936f4f0056113c239045e9d97bafd84309 26-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

Workspaces: remove "about" menu item.

The about box is kept, and can be shown from the replicants.

Fixes #8165.


# d3ce2febd2b92719a84ebc13f1f7d58f69068edf 30-Dec-2013 François Revol <revol@free.fr>

Little optimization


# a82d922deb0614f1f3b51b3162d11ffd0c800cb6 30-Dec-2013 François Revol <revol@free.fr>

workspaces: switch current workspace on mouse wheel

Gnome does that on the panel widget, at first it was annoying
but after a while it feels quite handy.


# 4b7e219688450694efc9d1890f83f816758c16d3 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 31535ac63b726cbcd1933c5fa429543eca4e7509 01-May-2013 Adrien Destugues <pulkomandy@gmail.com>

Make BAboutWindow modal

�* Set its type to B_MODAL_WINDO, and also set B_NOT_MOVABLE
* Since this removes the window tab, add an "Ok" button to close the window
* Remove the GetWindow mess and just use it as any regular window
* Adjust all callers again

The AlertPosition method doesn't seem to work right, the window pops up
offset to the right. I also noticed that some of our calls to BAboutWindow
are actually not reacable because we removed Abutrequested from the apps.
Maybe we should clean them up (locale preflet and activity monitor are examples)

More annoying is the fact that opening a modal window from a deskbar replicant
is modal against the whole deskbar. Not sure what to do about that.


# fd19c7366df2134106131c370c99c3ed7f38757f 30-Apr-2013 Adrien Destugues <pulkomandy@gmail.com>

Fix BAboutWindow lifecycle

BAboutWindow returned false in QuitRequested in order to hide instead of closing.
Not only this keeps a BLooper running for a rarely used window, but it also
prevents quitting an application in the window was not destroyed first.

* Remove aforementioned QuitRequested method,
* Add a static GetWindow method that returns the existing about window, if there
is one, or creates one if there is not. A boolean can be set to tell the caller
what happened,
* Adjust all callers to use that new method, instead of managing the window themselves.


# 7fe8b2bf2a3e4b1c258ec9a4ec748f71d8a9e226 17-Dec-2012 John Scipione <jscipione@gmail.com>

Also lock fAboutWindow before Quit()ting in other apps


# df02847b499c7ff50601b932dcc099be216d1e73 12-Nov-2012 John Scipione <jscipione@gmail.com>

Update Workspaces about dialog


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


# 8408920712d392a61d087455dfab72743882ae74 06-Dec-2011 François Revol <revol@free.fr>

Fix rect calculation.

Not sure what the intended height is though. 16 or 17?


# 09a0999c682c15ec7809a1b2d4e88aa1a9d767d6 06-Dec-2011 François Revol <revol@free.fr>

Style fix

Yes, I do need to change my glasses.


# cee4855acbc8402e0ac54f390ec1d4335e32439d 06-Dec-2011 François Revol <revol@free.fr>

Better calculation of the Deskbar replicant size

Patch by RQ from ticket #8156 that accounts for the workspaces layout.


# c5382e2ca4dc2a9202f8a56894d05f9f47908477 30-Nov-2011 François Revol <revol@free.fr>

Style fix


# fc111138a9ca143e42ba94add2a3a2053b743b0c 29-Nov-2011 François Revol <revol@free.fr>

Add an option to live in the Deskbar

* Apply reworked version of the patch from "RQ" in #8156 that adds a "live in the deskbar" menu item.
* Also added a "Remove replicant" menu item for the replicant case.


# fedd3119866abc980b2a2e070386d0b5698a43ab 25-Nov-2011 Humdinger <humdingerb@gmail.com>

Corrected some typos and stuff pointed out by Rimas.


# 329daa448d02cf0f291a45f61a2e16c1b87834ea 04-Apr-2011 Joachim Seemer <humdingerb@googlemail.com>

Changed a few strings as discussed on the i18n mailing list. Added localization of license descriptions in AboutSystem.

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


# 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


# 97873fad0d68d566482d590598f269ef4e0c813e 09-Jan-2011 Siarzhuk Zharski <zharik@gmx.li>

MIME type for Screen preflet changed globally: x-vnd.Be-SCRN -> x-vnd.Haiku-Screen
Pointed by Axel. Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40188 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


# 89666eefae39f9e76fb77546c302ea2075946d25 29-Jun-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Jorma Karvonnen : localize Workspaces. Thanks !


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


# 7974d3dcf39ce78e5885b481eee12e561ad6e096 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# 0e02469e9c4fadd8468454e3e194c549b16c442c 16-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Made Workspaces' initial size and shape depend on screen size, screen proportions and the current layout of one's workspaces. Adjusted Zoom() to be proportional. Also added proportional resizing, which is optional currently, pressing shift while resizing.

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


# 9aad8c7d4b3fe9dd1f74d80fef2865117ebcecaf 24-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

Fix #4185 by making the border and title settings in the context menu positive
settings ("Show x"). This required changing various logic, some of which I
think was also wrong in the negative settings case. Now if you turn off the
border when the title is on, the title will come back when the border is turned
back on. But any changes in the title setting force the border back on. When
loading the settings the border setting takes precedence.

+alphabranch


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


# cfca1962f588a26a1f927434f347d0cea5b15832 08-Aug-2009 Joachim Seemer <humdingerb@googlemail.com>

This doesn't solve #4185 (I'm too dumb, I've tried...). Just changed some strings to mesh with e.g. LaunchBox

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


# 79f3690f4ae05b86f7405de517bda0b46aa9ea40 29-Mar-2009 Stephan Aßmus <superstippi@gmx.de>

When embedded on the Desktop as a replicent, prevent the Desktop view from
painting over the workspaces view. The way this is currently handled in
app_server makes it flicker even in double buffered mode.


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


# 7e359a9b53ad26fe9e41023a3d8c22cea04c750b 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Having the first argument to main() non-int is an error in GCC 4.3.

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


# ff6ab52278846ec47fbb84a0a4a231c1c6c45242 15-Jan-2009 Axel Dörfler <axeld@pinc-software.de>

* We don't need the BeOS FrameMoved() work-around for Haiku.


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


# 4682283fbdc7ccdabe67b2770bea780b2fd6e924 09-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* The BView archived the view's event mask - if the auto-raise feature was
enabled when the view got archived, the replicant inherited the event mask
of the view. We now make sure the event mask is always set to 0.
* This fixes bug #2566.
* Minor cleanup.


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


# 8a89ce7e9315aa81abf4701b8e03ce40a9500e69 09-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* WorkspacesView::MouseDown() now only reacts on mouse buttons within the view
even if the auto raise feature is activated. This fixes bug #2173.


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


# badcd9dbc731ee07918d19de5d834eb99d563e65 14-Jul-2008 Axel Dörfler <axeld@pinc-software.de>

* Popup menu is now sticky - this should probably be the default of all menus
when "sticky menus" is selected in the menu preferences (just in case we still
have that setting...). Oh, this also fixes bug #2315.


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


# 62572b22a6c8ae2be05664074ebe7f167ad5f8a7 02-Jun-2008 Jérôme Duval <korli@users.berlios.de>

HasBorder and HasTitle are exclusive, fix bug #2325


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


# ac2042cb709aeb8451a33b3ad472a28f39653823 14-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

* Moved about window into the view and made it accessible from the
replicant as well.
* Added a context menu that allows you to change how Workspaces looks
and behaves (previously accessible only using command line options).
* The settings changes are now remembered; we're now using a new
settings file (flattened BMessage), but can still read old settings
files if it exists.
* Renamed WorkspacesPreferences to WorkspacesSettings.


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


# 97b3cb26728a90b6ed50be480e0a8401b178704a 14-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

* Workspaces can now be a replicant.
* The view must be a follow all view since the workspaces are handled
differently.
* No longer needs to use kWorkspacesWindowFlag; this makes it no longer
work on BeOS.


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


# f9bbab8848383da363df67ea3e712c222d3708f0 24-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* First steps towards a more flexible workspaces view handling: the
workspaces view can now be any view in the hierarchy.
* Added private view flag kWorkspacesViewFlag that identifies such a
view - note though, that you must not remove a view before closing or
hiding its window for now (and that you still need to set the
kWorkspacesWindowFlag, too).
* Fixed Workspaces check for valid screen coordinates; after a crash, it
managed to open its window offscreen for me.
* Added a ViewLayer method FindView() that finds a view with the
specified flags set.


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


# 1af35a240d5b88031bb7ae206922471febc3d217 14-Aug-2007 Axel Dörfler <axeld@pinc-software.de>

Added an auto-raise feature - works only, if the workspaces window is at a screen edge.
You can turn this feature on via the command line (--autoraise).


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


# 6bc5f9fde1e2e9de4b67646b813c5a2dd894264e 25-Jan-2007 François Revol <revol@free.fr>

This should allow switching to previous or next workspace with Workspaces [-|+].
Idea taken from http://www.bebits.com/app/3379


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


# 646182be7176ec52f3d69b94d7c552b1496171b0 27-Sep-2006 Axel Dörfler <axeld@pinc-software.de>

* When specifying invalid arguments, an error message is now printed. This fixes bug #714.
* Removed some useless information.


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


# a3fef6d1fc3c505db3014349ae007045195d9789 13-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* added --notmovable option.
* the flags are no longer mutually exclusive.
* nicer about window.


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


# 604390bbb53c54131461de01cab42985cfbe4352 13-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

The saved position is now also invalid if it is less than zero.


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


# 16c5a6248ebb103f92b94f38afc839047f7cdce0 20-Feb-2006 Jérôme Duval <korli@users.berlios.de>

workspaces window flag is in WindowPrivate.h


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


# 7b51c43305254a07a09c45397b9c286a34396306 16-Feb-2006 Axel Dörfler <axeld@pinc-software.de>

Moved the "Workspaces" application out of preferences - it's not a preferences application.


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