History log of /haiku/src/tests/kits/interface/Jamfile
Revision Date Author Comments
# 1e60bdea 30-Mar-2019 Augustin Cavalier <waddlesplash@gmail.com>

Remove all invocations of SetSubDirSupportedPlatformsBeOSCompatible.


# e89985cc 10-Feb-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix drawing of B_GRAY1 bitmaps.

- Colors were reversed
- Padding was not handled properly because of a roundeing error

Add a test that shows the issue (behavior confirmed against BeOS)

Change-Id: I4c6e954fb6bdab92ad4e0e96897e78b26eb4727b
Reviewed-on: https://review.haiku-os.org/c/1025
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>


# 4628b6de 11-Sep-2018 Augustin Cavalier <waddlesplash@gmail.com>

tests/interface: Add a (currently crashing) BMenu "concurrency" test.

Adds/removes items as rapidly as possible from the menu from the
main thread while the menu is open. That part works. Then it deletes
all of the BMenuItems and then closes the menu, which crashes,
as the BMenuItems do not notify the BMenu they are being deleted.

I tested this on BeOS and it seems that this model crashes there also
(looking through the code comments, it seems there are a number of
testcases found throughout the years like this.) Removing the items
before deleting them indeed fixes the crashes on both BeOS
and Haiku.

Change-Id: I8624f966bdc17030ddca05b97aa57b518ab420c5
Reviewed-on: https://review.haiku-os.org/540
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 58a62dd6 08-Aug-2018 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add unit test for BOutlineListView.

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


# dd582ff9 20-Aug-2017 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add a test for #13664

Interaction between ConstrainClippingRegion and transforms leads to
button frames and background not being drawn at all.

Also shows another problem with rounded corner buttons when mixed with
transforms.


# a361dc5a 01-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Update ChannelSliderTest to add limit labels for individual channels


# 52428806 10-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Test for #3970.

* This shows the problem in Haiku, it is not easily possible to change the
color of BStringItem.
* It also shows that the BeOS implementation doesn't restore the view
state after drawing items, so the last item in the list also draws
green, and selecting the first also makes it green.


# 48ea56bf 01-Oct-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Interface Kit tests: add test for BTextControl.

* Only tests very basic functionality, and size of the class, which must
not change for BeOS compatibility.
* Also add "manual" test for disabled and invalid controls (just check
it looks right)


# 5fae0bc1 19-Sep-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add some cppunit-based tests for BTextView.

Note that this does not reproduce #8447. I could not get more precise
details from involved people about how to reproduce this, and the patch
was already applied anyway, so I'm stopping my investigation for now.
Feel free to complete this with more test cases.


# 220d0402 31-Jul-2014 Oliver Tappe <zooey@hirschkaefer.de>

Use libstdc++, libsupc++ and libgcc from gcc_syslibs.

* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so
from the gcc_syslibs build feature for everything except x86_gcc2.
* Use libgcc_s.so from the gcc_syslibs build feature for everything but
x86_gcc2 (which still carries libgcc as part of libroot.so).
* Drop filtering of libgcc objects for libroot, as that is no longer
necessary since we're only using libgcc-as-single-object for libroot
with x86_gcc2, where the filtered object file doesn't exist. Should
the objects that used to be filtered cause any problems as part of
libgcc_s.so, we can always filter them as part of the gcc build.
* Use libsupc++.so from the gcc_syslibs build feature for everything but
x86_gcc2.
* Adjust all Jamfiles accordingly.
* Deactivate building of faked libstdc++.so for non-x86-gcc2. For
x86_gcc2, we still build libstdc++.so from the sources in the Haiku
source tree as part of the Haiku build .
* Put gcc_syslibs package onto the image, when needed.


# 9570413d 09-Jun-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix name conflict between two tests

* There is a SimpleTest in AlertTest.cpp, and an UnitTest in
balert/AlertTest.cpp. They ended up with the same grist as they are
built from the same jamfile. Rename one of them to avoid this.


# 0acae24e 29-Mar-2014 Axel Dörfler <axeld@pinc-software.de>

Added simple Alert test application.


# e71b4c11 17-Aug-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add a simple BWindowStack test app.



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


# b47e904c 12-Jun-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Add to the build



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


# 8806dfd0 01-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

Adding test that shows that B_TRUNCATE_BEGINNING mode is essentially broken.
Worse yet for a small enough length it actually crashes.


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


# 8318af01 03-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Added a basic tool tip API, and implementation.
* The BView API can probably be regarded as good enough; the implementation
might need to be improved over time (also, some things as archivability
aren't fully implemented yet). The ToolTip.h header should get public once
finalized.
* Added new B_MOUSE_IDLE message that is sent to a BView after a certain
time has passed (BToolTipManager::ShowDelay()).
* Added small test app (ToolTipTest) that shows what is already working.


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


# 16d5c24e 07-Jul-2009 Oliver Tappe <zooey@hirschkaefer.de>

* merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

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


# f5731351 05-Apr-2009 Oliver Tappe <zooey@hirschkaefer.de>

* added a test for BTextView which exposes a couple of problems
with large contents


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


# 9d951567 31-Jan-2009 Karsten Heimrich <host.haiku@gmx.de>

* Add test for BScrollView SetBorder, which exposes some problems using the
layout version of that class. (drawing artefacts, wrong scrollbar placement)


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


# a4ef4a49 20-Jan-2009 Stephan Aßmus <superstippi@gmx.de>

Beginnings of a test app that shows all Interface Kit controls in various
configurations so that one can work better on the look.


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


# 10d8f374 16-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

added a test for BView::SetDiskMode()

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


# 680a35bb 07-Jun-2008 Michael Lotz <mmlr@mlotz.ch>

Add a simple test that demonstrates that the Haiku app_server incorrectly
(or at least incompatibly) uses the user set clipping region when determining
whether or not to call Draw() on a view. Under BeOS when a some part of a view
is exposed it will always trigger a Draw(), even if the current clipping region
disallows drawing in the supplied update rect. Under Haiku however the view is
not considered for an update when the current clipping region does not
intersect with the newly exposed area.
Running this test app from the Terminal this behaviour can be seen. When
clicking inside the window a floating window pops up. When clicking again it
goes away and triggers a redraw. When hitting a key, a clipping region is set
that does not overlap with the floating window. After this clipping is set,
the view does not get any Draw() call anymore when the floating window goes
away.
This is the reason for the redraw issues in firefox, as firefox uses the
clipping region to constrain its asynchronous drawing, but does never reset
the clipping to NULL. As firefox just collects the update rects in Draw() and
then draws the contents itself, once the clipping region is set, many of the
Draw() calls don't get called and the interface parts are never redrawn.

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


# 8dd5c3f9 22-Feb-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Refactored BWidthBuffer test into something more useful.
Looks like the class has some problems (hangs while calculating width of
lines inside termcap, cf bug #1690


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


# 1fbd9939 29-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

NewRegion is gone.


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


# 16da0b3c 29-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Added test application for menu triggers.


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


# 82afdb09 11-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added test application for testing flattening and unflattening of
BPictures.


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


# 262fc999 02-Nov-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Moved PictureTest to its own folder, added some more files (WIP and not
yet
added to the image) written by Marc Flerackers, for a SVG -> BPicture
importer, will be used to show the SVG lion and butterfly (included in
this commit)


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


# e02e6ab8 02-Nov-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

renamed picture to pictureprint


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


# 2b77c6f6 22-Oct-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

a test application for BPicture, written by Lucasz

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


# 9d402220 21-Aug-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test for MenusBeginning/MenusEnded\


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


# 3bf5b314 29-Jun-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

A place for testing the layout management stuff.


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


# 8feaf19b 16-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

Added a short test app for the BStatusBar class.


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


# 6a32527a 07-Jun-2006 Jérôme Duval <korli@users.berlios.de>

fix for dano and added bshelf


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


# 503f85dc 03-Dec-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

forgot to commit this file, I noticed after a revert

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


# 155b583a 09-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed unit tests build for platforms libbe_test and r5. Only randomly tested
a few whether they actually work.
New pseudo target "unittests", which builds all unit tests for the currently
set TARGET_PLATFORM. They are placed in generated/tests/<platform>/unittests.


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


# ca9e5772 07-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true.
Library names are now mapped for all targets but "host" (not only for
"haiku") -- added one more level of indirection to achieve that.
(TARGET_LIBRARY_NAME_MAP -> *_LIBRARY_NAME_MAP_*).
* Renamed build/HaikuBuildCompatibility.h to BeOSBuildCompatibility.h
(auto-included when compiling something that uses the Be API for platform
"host" on anon-BeOS platform), and introduced build/HaikuBuildCompatibility.h,
which can be included when compiling something that can be built for both,
Haiku and BeOS compatible platforms.
* Introduced libhaikucompat.a, a library that adds a few functions existing
under Haiku, but not under BeOS.
* New rule AddSubDirSupportedPlatforms.
* Renamed libopenbeos.so to libbe_haiku.so.
* Introduced new target platform "libbe_test", which is basically equivalent
to a BeOS compatible host platform target, with the exception, that instead
of the host platform's libbe.so a special build of Haiku's libbe.so
(libbe_haiku.so (formerly known as libopenbeos.so)) is used. Furthermore
Haiku's public app, interface, storage, and support kit headers are used
when compiling. This replaces the less nice way in which the test app server
and applications for this test environment were built.
When building for platform "libbe_test", the library name "be" is
autotranslated to "libbe_haiku.so". Thus most applications don't need
special fiddling when them building them for the app server test environment;
usually an "AddSubDirSupportedPlatforms libbe_test ;" will suffice.
* Reduced the dependencies of <syscalls.h> and fixed problems caused by this
(e.g. source files not including the needed headers directly).



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


# 338b8dc3 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


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


# 5cf0a92a 29-Aug-2005 Jérôme Duval <korli@users.berlios.de>

tests for bfont


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


# 39b86d2a 29-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

The SliderTest now also uses our own BControl, as that doesn't invalidate the
whole frame in SetValue().


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


# d40d8724 28-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Extended test app a bit, added R5 version to the build for comparison.
Seems like Be's slider doesn't work that well for B_VERTICAL orientation either.


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


# f269841c 28-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Added a BSlider test application - our BSlider class needs definitely some work :-)


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


# a2e24cf5 11-Jun-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test which our app_server/libbe does not pass yet.

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


# 335b4769 17-May-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a small test for GetMouse().
Looks like that, when called with "true" as third parameter,
it "eats" all the input messages like B_MOUSE_UP/B_MOUSE_MOVED. That means our implementation isn't correct.

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


# 03989987 02-May-2005 Axel Dörfler <axeld@pinc-software.de>

The ChannelSliderTest now always tests Stefano's implementation instead of R5's.


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


# 15074e05 30-Apr-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test for BScreen (very very basic for now)

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


# 8bdf4008 28-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Added test for BCheckBox (message sending is actually not tested, though, only drawing)...


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


# 17ea072a 08-Apr-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

A test for BChannelSlider

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


# eca22332 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Added BAlert tests to Jamfile


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


# a2cae290 26-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Added test for GraphicsDefs.h constants.


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


# e2aecd09 18-Mar-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some tests for _BWidthBuffer_


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


# 8afcf72a 18-Feb-2004 Axel Dörfler <axeld@pinc-software.de>

Added a small visual test for the BScrollView class: it will create a window
with all possible different scrollview combinations (horiz/vert/border/highlight).
The Jamfile will build two versions, ScrollViewTest and ScrollViewTest_r5;
the former compiles our ScrollView.cpp in, while the latter just uses the
one in libbe.so.


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


# bc0ea15d 06-Aug-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

On behalf of Jeremy Rand, BRegion tests


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


# 6ab18748 23-Jun-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed invocations of UsePublicHeaders, which was a no-op anyway.


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


# eae45309 02-Dec-2002 jrand <jrand@nowhere.fake>

Add final test for BPolygon, update Marc's BPolygon implementation a bit
and integrate it into the build.


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


# f7081347 22-Nov-2002 jrand <jrand@nowhere.fake>

Adding the first tests for BPolygon.


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


# b1db9598 30-Oct-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

Add the picture tests to build


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


# 5025cfce 21-Sep-2002 jrand <jrand@nowhere.fake>

Adding final test for BDeskbar which tests adding and removing items from the deskbar.


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


# 7f3de5c3 12-Sep-2002 jrand <jrand@nowhere.fake>

Add tests for Location(), SetLocation(), Frame() etc


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


# 46231bee 11-Sep-2002 jrand <jrand@nowhere.fake>

Adding first test for BDeskbar.


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


# 80938855 02-Sep-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Added BBitmap tests to the build.


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


# 285a7bf0 13-Jul-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Tried to get the remaining tests added to the build.
* The support kit tests are commented out as they badly fail to compile.
* I tried the net kit tests, but had to stop very early as I didn't get it
compiled. David?
* Some BFS tests don't compile due to a missing header and the undefined
B_BAD_DATA. Axel?
...


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


# a361dc5a171f8e31177d586a1c94ad1752c56ead 01-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Update ChannelSliderTest to add limit labels for individual channels


# 524288065b175be47ff8b3b9268459ac9d73edb9 10-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Test for #3970.

* This shows the problem in Haiku, it is not easily possible to change the
color of BStringItem.
* It also shows that the BeOS implementation doesn't restore the view
state after drawing items, so the last item in the list also draws
green, and selecting the first also makes it green.


# 48ea56bf32984ba755591526b1f2a8ab82bc9eff 01-Oct-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Interface Kit tests: add test for BTextControl.

* Only tests very basic functionality, and size of the class, which must
not change for BeOS compatibility.
* Also add "manual" test for disabled and invalid controls (just check
it looks right)


# 5fae0bc1a2f74ccf56b7e3958149317d6af2cccc 19-Sep-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add some cppunit-based tests for BTextView.

Note that this does not reproduce #8447. I could not get more precise
details from involved people about how to reproduce this, and the patch
was already applied anyway, so I'm stopping my investigation for now.
Feel free to complete this with more test cases.


# 220d04022750f40f8bac8f01fa551211e28d04f2 31-Jul-2014 Oliver Tappe <zooey@hirschkaefer.de>

Use libstdc++, libsupc++ and libgcc from gcc_syslibs.

* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so
from the gcc_syslibs build feature for everything except x86_gcc2.
* Use libgcc_s.so from the gcc_syslibs build feature for everything but
x86_gcc2 (which still carries libgcc as part of libroot.so).
* Drop filtering of libgcc objects for libroot, as that is no longer
necessary since we're only using libgcc-as-single-object for libroot
with x86_gcc2, where the filtered object file doesn't exist. Should
the objects that used to be filtered cause any problems as part of
libgcc_s.so, we can always filter them as part of the gcc build.
* Use libsupc++.so from the gcc_syslibs build feature for everything but
x86_gcc2.
* Adjust all Jamfiles accordingly.
* Deactivate building of faked libstdc++.so for non-x86-gcc2. For
x86_gcc2, we still build libstdc++.so from the sources in the Haiku
source tree as part of the Haiku build .
* Put gcc_syslibs package onto the image, when needed.


# 9570413d2a76165a81430f0036ac89b533ebb375 09-Jun-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix name conflict between two tests

* There is a SimpleTest in AlertTest.cpp, and an UnitTest in
balert/AlertTest.cpp. They ended up with the same grist as they are
built from the same jamfile. Rename one of them to avoid this.


# 0acae24ee78e8c7595edb2626e46b30e2fb3b370 29-Mar-2014 Axel Dörfler <axeld@pinc-software.de>

Added simple Alert test application.


# e71b4c11de37a04f90ec6f45e8c7bf2e486dadd7 17-Aug-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add a simple BWindowStack test app.



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


# b47e904c1f52e5202cd48478aa305387a61507ad 12-Jun-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Add to the build



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


# 8806dfd0570c4a92e4b676ad9be0573711ed6cfb 01-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

Adding test that shows that B_TRUNCATE_BEGINNING mode is essentially broken.
Worse yet for a small enough length it actually crashes.


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


# 8318af01b99f0c1c6622b7bf33db02794b7eaa20 03-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Added a basic tool tip API, and implementation.
* The BView API can probably be regarded as good enough; the implementation
might need to be improved over time (also, some things as archivability
aren't fully implemented yet). The ToolTip.h header should get public once
finalized.
* Added new B_MOUSE_IDLE message that is sent to a BView after a certain
time has passed (BToolTipManager::ShowDelay()).
* Added small test app (ToolTipTest) that shows what is already working.


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


# 16d5c24e533eb14b7b8a99ee9f3ec9ba66335b1e 07-Jul-2009 Oliver Tappe <zooey@hirschkaefer.de>

* merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

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


# f57313518ec2611d2c0bb3c6615e6f964dea9c60 05-Apr-2009 Oliver Tappe <zooey@hirschkaefer.de>

* added a test for BTextView which exposes a couple of problems
with large contents


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


# 9d95156703970edbc449ef6690ddb80fc02db3a0 31-Jan-2009 Karsten Heimrich <host.haiku@gmx.de>

* Add test for BScrollView SetBorder, which exposes some problems using the
layout version of that class. (drawing artefacts, wrong scrollbar placement)


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


# a4ef4a49150f118d47324242917a596a3f8f8bd5 20-Jan-2009 Stephan Aßmus <superstippi@gmx.de>

Beginnings of a test app that shows all Interface Kit controls in various
configurations so that one can work better on the look.


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


# 10d8f3749ec989200635939f010b68b91dde7446 16-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

added a test for BView::SetDiskMode()

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


# 680a35bbdb0456c9ab8cbc707bf133571fcc7bbb 07-Jun-2008 Michael Lotz <mmlr@mlotz.ch>

Add a simple test that demonstrates that the Haiku app_server incorrectly
(or at least incompatibly) uses the user set clipping region when determining
whether or not to call Draw() on a view. Under BeOS when a some part of a view
is exposed it will always trigger a Draw(), even if the current clipping region
disallows drawing in the supplied update rect. Under Haiku however the view is
not considered for an update when the current clipping region does not
intersect with the newly exposed area.
Running this test app from the Terminal this behaviour can be seen. When
clicking inside the window a floating window pops up. When clicking again it
goes away and triggers a redraw. When hitting a key, a clipping region is set
that does not overlap with the floating window. After this clipping is set,
the view does not get any Draw() call anymore when the floating window goes
away.
This is the reason for the redraw issues in firefox, as firefox uses the
clipping region to constrain its asynchronous drawing, but does never reset
the clipping to NULL. As firefox just collects the update rects in Draw() and
then draws the contents itself, once the clipping region is set, many of the
Draw() calls don't get called and the interface parts are never redrawn.

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


# 8dd5c3f974dbad5cd672c44d2c746126d8e09ebb 22-Feb-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Refactored BWidthBuffer test into something more useful.
Looks like the class has some problems (hangs while calculating width of
lines inside termcap, cf bug #1690


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


# 1fbd9939b9791855ffb9a5afd25fa0bde43bd473 29-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

NewRegion is gone.


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


# 16da0b3cddd80ac5e81879fc1f3ec56ce95f330b 29-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Added test application for menu triggers.


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


# 82afdb09c8152910513c44ea2a0801060c31c662 11-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added test application for testing flattening and unflattening of
BPictures.


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


# 262fc9994c1b715640a4baf17f03680b507674dc 02-Nov-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Moved PictureTest to its own folder, added some more files (WIP and not
yet
added to the image) written by Marc Flerackers, for a SVG -> BPicture
importer, will be used to show the SVG lion and butterfly (included in
this commit)


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


# e02e6ab8f347bb01b380db42df23cc53d9764b4a 02-Nov-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

renamed picture to pictureprint


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


# 2b77c6f6514e35d86b23fdde920ffbf591713ba5 22-Oct-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

a test application for BPicture, written by Lucasz

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


# 9d402220eb103e7b60b1e1deeaf4cca8158c4ed9 21-Aug-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test for MenusBeginning/MenusEnded\


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


# 3bf5b314a965d74539001a8caa2e2f97bd4aa3ea 29-Jun-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

A place for testing the layout management stuff.


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


# 8feaf19bda3dfcbd7e368f078080d16e940790f3 16-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

Added a short test app for the BStatusBar class.


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


# 6a32527a14f22360e74f8d34b0aedf0614364fdb 07-Jun-2006 Jérôme Duval <korli@users.berlios.de>

fix for dano and added bshelf


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


# 503f85dc8a4974bba75fa5b3ce4ee41301ae658e 03-Dec-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

forgot to commit this file, I noticed after a revert

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


# 155b583ac369749fdfae25f419056389ec7eb16e 09-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed unit tests build for platforms libbe_test and r5. Only randomly tested
a few whether they actually work.
New pseudo target "unittests", which builds all unit tests for the currently
set TARGET_PLATFORM. They are placed in generated/tests/<platform>/unittests.


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


# ca9e5772c3fa971474035b57ee9226ccc429ebc9 07-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true.
Library names are now mapped for all targets but "host" (not only for
"haiku") -- added one more level of indirection to achieve that.
(TARGET_LIBRARY_NAME_MAP -> *_LIBRARY_NAME_MAP_*).
* Renamed build/HaikuBuildCompatibility.h to BeOSBuildCompatibility.h
(auto-included when compiling something that uses the Be API for platform
"host" on anon-BeOS platform), and introduced build/HaikuBuildCompatibility.h,
which can be included when compiling something that can be built for both,
Haiku and BeOS compatible platforms.
* Introduced libhaikucompat.a, a library that adds a few functions existing
under Haiku, but not under BeOS.
* New rule AddSubDirSupportedPlatforms.
* Renamed libopenbeos.so to libbe_haiku.so.
* Introduced new target platform "libbe_test", which is basically equivalent
to a BeOS compatible host platform target, with the exception, that instead
of the host platform's libbe.so a special build of Haiku's libbe.so
(libbe_haiku.so (formerly known as libopenbeos.so)) is used. Furthermore
Haiku's public app, interface, storage, and support kit headers are used
when compiling. This replaces the less nice way in which the test app server
and applications for this test environment were built.
When building for platform "libbe_test", the library name "be" is
autotranslated to "libbe_haiku.so". Thus most applications don't need
special fiddling when them building them for the app server test environment;
usually an "AddSubDirSupportedPlatforms libbe_test ;" will suffice.
* Reduced the dependencies of <syscalls.h> and fixed problems caused by this
(e.g. source files not including the needed headers directly).



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


# 338b8dc301721b1f472e8297a898d4eaa2f2ee3a 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


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


# 5cf0a92ad65e29e7c28b460a2802aecc3d421716 29-Aug-2005 Jérôme Duval <korli@users.berlios.de>

tests for bfont


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


# 39b86d2a8ef31c0d740f6a31a1c9fbbff277f974 29-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

The SliderTest now also uses our own BControl, as that doesn't invalidate the
whole frame in SetValue().


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


# d40d872486562f3e218cba74a025bb4211102eca 28-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Extended test app a bit, added R5 version to the build for comparison.
Seems like Be's slider doesn't work that well for B_VERTICAL orientation either.


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


# f269841c3b852dbec4a9142197cae87a87f1e8f6 28-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Added a BSlider test application - our BSlider class needs definitely some work :-)


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


# a2e24cf5ce7f5154f85ea9fb75d52356f5a2e492 11-Jun-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test which our app_server/libbe does not pass yet.

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


# 335b47697cec4e1cfcef8f102531b2da2120861c 17-May-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a small test for GetMouse().
Looks like that, when called with "true" as third parameter,
it "eats" all the input messages like B_MOUSE_UP/B_MOUSE_MOVED. That means our implementation isn't correct.

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


# 03989987d574113682d932dc298f99c80daf580b 02-May-2005 Axel Dörfler <axeld@pinc-software.de>

The ChannelSliderTest now always tests Stefano's implementation instead of R5's.


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


# 15074e05613bb25d762ca0dddc77712920d7197d 30-Apr-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test for BScreen (very very basic for now)

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


# 8bdf4008feb225e1d5c32b4e57490a1de81febf7 28-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Added test for BCheckBox (message sending is actually not tested, though, only drawing)...


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


# 17ea072acb5ddf8a63f47c4b6a4595fa80090214 08-Apr-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

A test for BChannelSlider

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


# eca22332b6be82057f6f34fcc558357ad3421ab5 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Added BAlert tests to Jamfile


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


# a2cae290693de0352b55909c55c7f1189b92b951 26-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Added test for GraphicsDefs.h constants.


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


# e2aecd091e2154801119765ee48ef8c570e4302b 18-Mar-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some tests for _BWidthBuffer_


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


# 8afcf72a6a60d5bb51bc343effadd9cc5eaa330e 18-Feb-2004 Axel Dörfler <axeld@pinc-software.de>

Added a small visual test for the BScrollView class: it will create a window
with all possible different scrollview combinations (horiz/vert/border/highlight).
The Jamfile will build two versions, ScrollViewTest and ScrollViewTest_r5;
the former compiles our ScrollView.cpp in, while the latter just uses the
one in libbe.so.


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


# bc0ea15dd4aa76ac7b62ea7e5b075bd0bc6b8c29 06-Aug-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

On behalf of Jeremy Rand, BRegion tests


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


# 6ab18748f3a2a740860dc1b705c3751245cab2c7 23-Jun-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed invocations of UsePublicHeaders, which was a no-op anyway.


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


# eae45309618e9db30cc56fccacb1d36fc043dc0f 02-Dec-2002 jrand <jrand@nowhere.fake>

Add final test for BPolygon, update Marc's BPolygon implementation a bit
and integrate it into the build.


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


# f7081347c543247e2c28d08eb3b036ad49b42e22 22-Nov-2002 jrand <jrand@nowhere.fake>

Adding the first tests for BPolygon.


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


# b1db9598c97a618c378e3a6af60d21c87ed6bbc5 30-Oct-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

Add the picture tests to build


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


# 5025cfce1b2ff2db1879f581bcbd66081f36a711 21-Sep-2002 jrand <jrand@nowhere.fake>

Adding final test for BDeskbar which tests adding and removing items from the deskbar.


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


# 7f3de5c3628a5f11246ed040178417d277298536 12-Sep-2002 jrand <jrand@nowhere.fake>

Add tests for Location(), SetLocation(), Frame() etc


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


# 46231bee2baef5d992ebe497b1f1ac9c54ae667b 11-Sep-2002 jrand <jrand@nowhere.fake>

Adding first test for BDeskbar.


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


# 80938855936bc98a4148c2f4574302275326937f 02-Sep-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Added BBitmap tests to the build.


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


# 285a7bf086759eb4a758c2ca46e63b79d98fe157 13-Jul-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Tried to get the remaining tests added to the build.
* The support kit tests are commented out as they badly fail to compile.
* I tried the net kit tests, but had to stop very early as I didn't get it
compiled. David?
* Some BFS tests don't compile due to a missing header and the undefined
B_BAD_DATA. Axel?
...


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