History log of /haiku/src/servers/app/stackandtile/SATGroup.cpp
Revision Date Author Comments
# 779ab335 09-Dec-2020 X512 <danger_mail@list.ru>

use .IsSet() instead if .Get() != NULL

Change-Id: Ia2b7a719fd398e78cc3b11d4f7b02cb81179f65f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3488
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# d99d8dbd 27-Aug-2020 X512 <danger_mail@list.ru>

app_server memory management: use ObjectDeleter to mark ownership

Make object ownership explicit by use of ObjectDeleter where possible.

Change-Id: I499a00aa3390d1510ae284419e73faffa5166430
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2695
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>


# f0b2d33b 24-Jun-2015 Philippe Saint-Pierre <stpere@gmail.com>

CID 1273599: null dereference in SATGroup

And some additional style fixes.


# 8bcd6904 23-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

Call ReleaseReference when a BReference is not needed

Reduces complexity and is actualñly more readable.


# 84ed7b4b 23-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

SATGroup: fix misuse of BReferenceable object

LinearSpec is a BReferenceable, so it is not correct to allocate it as a
member of another object. Wrap it in a BReference to avoid the problem.

Fixes #11089.


# fb6ab24a 18-Jan-2014 John Scipione <jscipione@gmail.com>

Update S&T copyright headers


# 94d4c319 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Update S&T window group navigation

Partially fixes #9431

Cycle through tabs in current S&T group with option+tab and backwards
with option+shift+tab
Cycle through S&T groups with option+PgDn and backwards with option+PgUp

This change allows apps to once again use option+arrows when inside of a S&T group
The problem isn’t truely fixed though, just moved to different shortcuts that hopefully will
conflict in fewer applications.

I also made some improvements to how S&T cycling works.

A single window is now considered to be part of a S&T group for the purposes
of cycling through S&T groups.

We loop around when you get the last tab/group.

When you cycle through S&T groups it remembers the active tab in the group
instead of always activating the first tab.


# d6977957 10-Oct-2012 czeidler <haiku@clemens-zeidler.de>

The current solver don't like big values.
- Check the constraint values first.
- Some cleanup.


# 7dd16a4c 31-Aug-2012 czeidler <haiku@clemens-zeidler.de>

Fix crash when splitting a S&T group.

- Hold a ref to the old crossings till we cleaned up.
- Additionally use a safer method to delete constraints.
- Clean up.


# b22f5813 14-Feb-2012 czeidler <haiku@clemens-zeidler.de>

Fix crash in S&T.


# d240743e 28-Nov-2011 czeidler <haiku@clemens-zeidler.de>

- The SATGroup has been deleted to early, that probably causes #8103. Holding a reference on the WindowArea (which hold a ref to the group) extends the lifetime till we are done.
- Fix some stayBelowMouse flags.


# fcde9a32 09-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

When stacking windows, move the new window to the parent position and size. Simplify the part in S&T that took care of it before.



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


# e0bc3d9e 09-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

* Remove the bad designed GroupCookie class and move its functionality into the WindowArea. As an result each WindowArea only has one set of tabs and constraints.
* Fix group splitting.
* Style: win -> parentWindow



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


# 27f5d579 02-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix coding style pointed out by Axel. Thanks for the array trick haven't known this one :-)



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


# f0b2d33bcfe24860c28d5f60476bd5ad26ed747c 24-Jun-2015 Philippe Saint-Pierre <stpere@gmail.com>

CID 1273599: null dereference in SATGroup

And some additional style fixes.


# 8bcd69044c366974d40f1cd22577679cd7b991db 23-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

Call ReleaseReference when a BReference is not needed

Reduces complexity and is actualñly more readable.


# 84ed7b4bb4ad1c0f002ecc475e6f048904ffea58 23-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

SATGroup: fix misuse of BReferenceable object

LinearSpec is a BReferenceable, so it is not correct to allocate it as a
member of another object. Wrap it in a BReference to avoid the problem.

Fixes #11089.


# fb6ab24a07c7f4af3c5fec0f9abd083e6f8c098f 18-Jan-2014 John Scipione <jscipione@gmail.com>

Update S&T copyright headers


# 94d4c319129f9dd9e85fb7b3cebc1b09f61ae7e6 18-Jan-2014 John Scipione <jscipione@gmail.com>

App Server: Update S&T window group navigation

Partially fixes #9431

Cycle through tabs in current S&T group with option+tab and backwards
with option+shift+tab
Cycle through S&T groups with option+PgDn and backwards with option+PgUp

This change allows apps to once again use option+arrows when inside of a S&T group
The problem isn’t truely fixed though, just moved to different shortcuts that hopefully will
conflict in fewer applications.

I also made some improvements to how S&T cycling works.

A single window is now considered to be part of a S&T group for the purposes
of cycling through S&T groups.

We loop around when you get the last tab/group.

When you cycle through S&T groups it remembers the active tab in the group
instead of always activating the first tab.


# d6977957a0b9929114b5f3d128d686eafa53b016 10-Oct-2012 czeidler <haiku@clemens-zeidler.de>

The current solver don't like big values.
- Check the constraint values first.
- Some cleanup.


# 7dd16a4c95aa5f0ef5ad9dbc2abf652cf6105619 31-Aug-2012 czeidler <haiku@clemens-zeidler.de>

Fix crash when splitting a S&T group.

- Hold a ref to the old crossings till we cleaned up.
- Additionally use a safer method to delete constraints.
- Clean up.


# b22f58132daeb1bf18af3abb4b029e5a28b83ef2 14-Feb-2012 czeidler <haiku@clemens-zeidler.de>

Fix crash in S&T.


# d240743e9be7d720aadedd5a0185a61a907bca74 28-Nov-2011 czeidler <haiku@clemens-zeidler.de>

- The SATGroup has been deleted to early, that probably causes #8103. Holding a reference on the WindowArea (which hold a ref to the group) extends the lifetime till we are done.
- Fix some stayBelowMouse flags.


# fcde9a3249fb92ca05cbb44b4037b4486025d823 09-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

When stacking windows, move the new window to the parent position and size. Simplify the part in S&T that took care of it before.



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


# e0bc3d9e2bf8beeb2ea7159855079d2c747c7f35 09-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

* Remove the bad designed GroupCookie class and move its functionality into the WindowArea. As an result each WindowArea only has one set of tabs and constraints.
* Fix group splitting.
* Style: win -> parentWindow



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


# 27f5d579244cd1e43a1469782e08642fdc14b7f2 02-Aug-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix coding style pointed out by Axel. Thanks for the array trick haven't known this one :-)



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