History log of /haiku/src/tests/kits/interface/layout/LayoutTest1.cpp
Revision Date Author Comments
# 954c5e46 22-Oct-2011 Alex Wilson <yourpalal2@gmail.com>

Fix a bug in LayoutTest1, where we were getting the view of a view-less layout, and then calling methods on it, resulting in a (SURPRISE!) segfault.


# 09263953 06-Sep-2011 Alex Wilson <yourpalal2@gmail.com>

Fix problem in LayoutTest1 under gcc4. For some reason, toggledView was
being assigned to twice, while being passed to Add(). Under gcc4, the
second call to Add(toggledView = new TestView(), ...) was passing in the
original value of toggledView, not the new TestView, which caused a call
to debugger().


# b0b88407 30-Jun-2011 Alex Wilson <yourpalal2@gmail.com>

Update LayoutTest1.cpp to use the templatized layout builders, and compile while I'm at it.


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


# 39c99f86 03-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

The toggledView variable was assigned twice. The last assignment should
win. Interestingly with gcc 4 and optimizations enabled the same value
was passed twice to Add().


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


# 9ecf9d1c 26-Aug-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Merge from layout management branch.


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


# 954c5e46a180e1d40ab7345a1f29276b241853a3 22-Oct-2011 Alex Wilson <yourpalal2@gmail.com>

Fix a bug in LayoutTest1, where we were getting the view of a view-less layout, and then calling methods on it, resulting in a (SURPRISE!) segfault.


# 0926395334d7118dc5cd5e03d8224a10f888ce05 06-Sep-2011 Alex Wilson <yourpalal2@gmail.com>

Fix problem in LayoutTest1 under gcc4. For some reason, toggledView was
being assigned to twice, while being passed to Add(). Under gcc4, the
second call to Add(toggledView = new TestView(), ...) was passing in the
original value of toggledView, not the new TestView, which caused a call
to debugger().


# b0b88407018396e14d1465cf05eb2d4785c9a0cd 30-Jun-2011 Alex Wilson <yourpalal2@gmail.com>

Update LayoutTest1.cpp to use the templatized layout builders, and compile while I'm at it.


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


# 39c99f8644961df682b06508d30c9c8093f8b48e 03-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

The toggledView variable was assigned twice. The last assignment should
win. Interestingly with gcc 4 and optimizations enabled the same value
was passed twice to Add().


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


# 9ecf9d1c1d4888d341a6eac72112c72d1ae3a4cb 26-Aug-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Merge from layout management branch.


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