From 09b3f55cb13fcd03506acf6136d6efd1633880ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 20 Oct 2005 13:17:18 +0000 Subject: [PATCH] replaced the NOTES files in each subfolder with a single NOTES file in the parent folder, and updates the NOTES to the current information git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14452 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/servers/app/NOTES | 17 +++++++++++++++++ src/tests/servers/app/bitmap_drawing/NOTES | 3 --- src/tests/servers/app/copy_bits/NOTES | 3 --- .../servers/app/newClipping/Clipping.proj | Bin 12308 -> 12308 bytes src/tests/servers/app/playground/NOTES | 3 --- .../servers/app/playground/ObjectView.cpp | 3 +++ .../servers/app/playground/ObjectWindow.cpp | 2 +- src/tests/servers/app/scrolling/NOTES | 3 --- src/tests/servers/app/textview/Jamfile | 4 ++-- 9 files changed, 23 insertions(+), 15 deletions(-) create mode 100644 src/tests/servers/app/NOTES delete mode 100644 src/tests/servers/app/bitmap_drawing/NOTES delete mode 100644 src/tests/servers/app/copy_bits/NOTES delete mode 100644 src/tests/servers/app/playground/NOTES delete mode 100644 src/tests/servers/app/scrolling/NOTES diff --git a/src/tests/servers/app/NOTES b/src/tests/servers/app/NOTES new file mode 100644 index 0000000000..b674e41eff --- /dev/null +++ b/src/tests/servers/app/NOTES @@ -0,0 +1,17 @@ +For the tests to run properly on BeOS, you need to prepare a few things. + +1.) make sure your target is "r5" (if your target is "bone", you need to adjust the "run" scripts) + +2.) build the Haiku registrar (from anywhere in the Haiku tree): +jam haiku_registrar + +3.) build the Haiku app_server (from anywhere in the Haiku tree): +jam haiku_app_server + +4.) make links to some Haiku libs in your ~/config/lib folder. The tests link to libopenbeos.so, haiku_app_server links to libhaikuappserver.so, libhwinterface.so, libhwinterfaceimpl.so, libpng.so and libfreetype.so. You will find these libs in the distro folder for your target after you build the haiku_app_server. + +5.) build the test app you want to run + +Each test app folder contains a script "run", which launches the Haiku app_server and a second later the test app which connects to it. + +Have fun! diff --git a/src/tests/servers/app/bitmap_drawing/NOTES b/src/tests/servers/app/bitmap_drawing/NOTES deleted file mode 100644 index 1b144f5a46..0000000000 --- a/src/tests/servers/app/bitmap_drawing/NOTES +++ /dev/null @@ -1,3 +0,0 @@ -For the test to run properly on BeOS, you need to make links to some Haiku libs in your ~/config/lib folder. The test itself links to libopenbeos.so, app_server additionally links to libappserver.so, libz.so, libpng.so and libfreetype.so. - -The script "run" launches the Haiku app_server and a second later the test app which connects to it. diff --git a/src/tests/servers/app/copy_bits/NOTES b/src/tests/servers/app/copy_bits/NOTES deleted file mode 100644 index 1b144f5a46..0000000000 --- a/src/tests/servers/app/copy_bits/NOTES +++ /dev/null @@ -1,3 +0,0 @@ -For the test to run properly on BeOS, you need to make links to some Haiku libs in your ~/config/lib folder. The test itself links to libopenbeos.so, app_server additionally links to libappserver.so, libz.so, libpng.so and libfreetype.so. - -The script "run" launches the Haiku app_server and a second later the test app which connects to it. diff --git a/src/tests/servers/app/newClipping/Clipping.proj b/src/tests/servers/app/newClipping/Clipping.proj index 66558fe0ec3c723fbad0d910f733be64aaeb3bab..01aaab23b722223180b7617fe17ee768aa487868 100644 GIT binary patch delta 194 zcmbP|FePEb0X7zo?@|qu7w|f6W@W#tqJL(!*k6}`qO^V53}BG5O6>3DT;7HPp!k>d z(hV)Q#ldWlZ(ol)14`%!U+-v0wxgA n0K`D)TR`a-kjDbV%plfwb93@vUA4)6x--S3G(o~Zzyu;1 ufY@oHTpCb%hA8VQkPr|c>zw>YSAFtDy?LU7uYoceK#Zi32Q0fCurrentMessage()->FindInt32("buttons", (int32*)&buttons); + Window()->CurrentMessage()->FindInt32("clicks", &clicks); +printf("ObjectView::MouseDown() - clicks: %ld\n", clicks); fScrolling = buttons & B_SECONDARY_MOUSE_BUTTON; SetMouseEventMask(B_POINTER_EVENTS, B_LOCK_WINDOW_FOCUS); diff --git a/src/tests/servers/app/playground/ObjectWindow.cpp b/src/tests/servers/app/playground/ObjectWindow.cpp index d4fa2b7cd4..7f18c8673c 100644 --- a/src/tests/servers/app/playground/ObjectWindow.cpp +++ b/src/tests/servers/app/playground/ObjectWindow.cpp @@ -44,7 +44,7 @@ enum { // constructor ObjectWindow::ObjectWindow(BRect frame, const char* name) : BWindow(frame, name, B_DOCUMENT_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL, - B_ASYNCHRONOUS_CONTROLS) + B_ASYNCHRONOUS_CONTROLS | B_NOT_ZOOMABLE) // : BWindow(frame, name, B_DOCUMENT_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL, // B_ASYNCHRONOUS_CONTROLS) // : BWindow(frame, name, B_FLOATING_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL, diff --git a/src/tests/servers/app/scrolling/NOTES b/src/tests/servers/app/scrolling/NOTES deleted file mode 100644 index 1b144f5a46..0000000000 --- a/src/tests/servers/app/scrolling/NOTES +++ /dev/null @@ -1,3 +0,0 @@ -For the test to run properly on BeOS, you need to make links to some Haiku libs in your ~/config/lib folder. The test itself links to libopenbeos.so, app_server additionally links to libappserver.so, libz.so, libpng.so and libfreetype.so. - -The script "run" launches the Haiku app_server and a second later the test app which connects to it. diff --git a/src/tests/servers/app/textview/Jamfile b/src/tests/servers/app/textview/Jamfile index edb5d5f3bd..e6cb253ba8 100644 --- a/src/tests/servers/app/textview/Jamfile +++ b/src/tests/servers/app/textview/Jamfile @@ -6,7 +6,7 @@ UseHeaders [ FDirName os interface ] ; SimpleTest TextView : main.cpp # for running in the Haiku app_server under R5: - : libopenbeos.so ; +# : libopenbeos.so ; # for running natively under R5 or Haiku: -# : libbe.so ; + : libbe.so ;