History log of /haiku/src/libs/alm/SharedSolver.cpp
Revision Date Author Comments
# de679878 31-Aug-2012 czeidler <haiku@clemens-zeidler.de>

Ceil and floor min and max size respectively gives better results.


# 45f28e06 30-Apr-2012 Alex Wilson <yourpalal2@gmail.com>

Fix error in height calculation in alm/SharedSolver.


# c8b24e3e 29-Apr-2012 Alex Wilson <yourpalal2@gmail.com>

Fix BALMLayout archiving issues.

SharedSolver was archiving too many constraints, partly because of
multiple typos, also because it archived some which were just artifacts
of the layout process. These extra constraints are created when the
layout calls SetRange() on the left/top/right/bottom tabs during layout.

* LinearSpec/ActiveSetSolver had to be adjusted to get access to the
constraints added by the SetRange() calls.
* BALM::TabBase was adjusted to avoid a segfault during unarchiving,
caused by an unitialized member.
* ALMFriendLayoutTest was adjusted to include a more obvious custom
constraint for testing.


# 0a5e1307 01-Feb-2012 Alex Wilson <yourpalal2@gmail.com>

Make SharedSolver BArchivable to save extra user constraints.


# 35bf0b5c 31-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Add initial support for archiving a BALMLayout.

What's supported:
* basic archive/instantiate
* friend layouts
coming soon:
* saving of custom restraints
* archiving of BadLayoutPolicy


# 4878cc70 24-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Don't remove ourselves from a BLayoutContext when it is leaving.


# a9242e3d 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Properly handle unbounded results in SharedSolver::Validate{Min|Max}()


# 1cbe9514 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Refactor SharedSolver::Validate*() methods a bit more.


# 3ade12dd 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Make BALMLayout::BasePreferredSize() useful again.


# 93904ad0 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Have SharedSolver return the solver result from Validate*() methods.


# 82a09653 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Improve efficiency when validating an ALM layout.


# 419fe0b8 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Introduce SharedSolver class to improve BALMLayout's friend feature.


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

Ceil and floor min and max size respectively gives better results.


# 45f28e068b1bd0dff0155020c60d8703d4fe8d09 30-Apr-2012 Alex Wilson <yourpalal2@gmail.com>

Fix error in height calculation in alm/SharedSolver.


# c8b24e3eb51bac128f5eeb0a5a22a60b69a1a53e 29-Apr-2012 Alex Wilson <yourpalal2@gmail.com>

Fix BALMLayout archiving issues.

SharedSolver was archiving too many constraints, partly because of
multiple typos, also because it archived some which were just artifacts
of the layout process. These extra constraints are created when the
layout calls SetRange() on the left/top/right/bottom tabs during layout.

* LinearSpec/ActiveSetSolver had to be adjusted to get access to the
constraints added by the SetRange() calls.
* BALM::TabBase was adjusted to avoid a segfault during unarchiving,
caused by an unitialized member.
* ALMFriendLayoutTest was adjusted to include a more obvious custom
constraint for testing.


# 0a5e130725e2e8997bc0d9db9717f0a7874da8f3 01-Feb-2012 Alex Wilson <yourpalal2@gmail.com>

Make SharedSolver BArchivable to save extra user constraints.


# 35bf0b5c1c5f89dac389efde9bcf19e880fa04e4 31-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Add initial support for archiving a BALMLayout.

What's supported:
* basic archive/instantiate
* friend layouts
coming soon:
* saving of custom restraints
* archiving of BadLayoutPolicy


# 4878cc70e2078a5c4ffde670e7cd499cf034a787 24-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Don't remove ourselves from a BLayoutContext when it is leaving.


# a9242e3d98eaca6056ea744e6437b08029b16cf8 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Properly handle unbounded results in SharedSolver::Validate{Min|Max}()


# 1cbe95140ab8834273b1ddf2bf485ea69c1de4ca 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Refactor SharedSolver::Validate*() methods a bit more.


# 3ade12dd15a6bca049e0b24f9523d65d6ec70450 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Make BALMLayout::BasePreferredSize() useful again.


# 93904ad087035cc769a2f87b3fa997af31ab736b 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Have SharedSolver return the solver result from Validate*() methods.


# 82a0965357f6e9d59ddd9f3d4b01af9590df404c 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Improve efficiency when validating an ALM layout.


# 419fe0b8ae0e16d798868eeebf0282978deb224d 22-Jan-2012 Alex Wilson <yourpalal2@gmail.com>

Introduce SharedSolver class to improve BALMLayout's friend feature.