* Made the libbe_test environment basically working under Haiku - to actually

make it work, one would need to use versioning for all libbe symbols. This is
  worth an 8k price per file that links against libbe.so, so I didn't want to
  commit this as is. An alternative to this solution would be to write a
  separate application that is responsible for the app_server's window. Comments
  welcome.
* Removed BeOS compatbility of the libbe_test stuff.
* Renamed the libbe_test targets from *haiku* to *test*, ie. libbe_haiku.so is
  now called libbe_test.so, haiku_registrar is now test_registrar, etc.
* This also removes BeOS compatibility from tracker/FSUtils.cpp (all BeOS
  compatibility should be removed, but I don't want to make Alexandre more work
  in his branch, and it's not urgent at all).
* Replaced the former "run" scripts for the test environment with a single
  run script (see updated NOTES file).
* Removed the libbe_test target from some applications - this was only to help
  developing them under BeOS, and is thus no longer necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32521 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-08-19 14:17:13 +00:00
parent bdee02b5b0
commit 2c69b5b6c0
40 changed files with 129 additions and 1180 deletions
+7 -6
View File
@@ -18,13 +18,14 @@
namespace BPrivate {
// names
extern const char *kRegistrarSignature;
extern const char *kRosterThreadName;
extern const char *kRAppLooperPortName;
extern const char* kRegistrarSignature;
extern const char* kRosterThreadName;
extern const char* kRAppLooperPortName;
extern const char *get_roster_port_name();
extern const char* get_roster_port_name();
#define REGISTRAR_AUTHENTICATION_PORT_NAME "registrar: auth manager"
#define REGISTRAR_AUTHENTICATION_PORT_NAME "system:registrar:auth manager"
// message constants
@@ -122,7 +123,7 @@ enum {
B_REG_UPDATE_GROUP = 'rugr',
};
// B_REG_MIME_SET_PARAM "which" constants
// B_REG_MIME_SET_PARAM "which" constants
enum {
B_REG_MIME_APP_HINT = 'rgmh',
B_REG_MIME_ATTR_INFO = 'rgma',
+7 -2
View File
@@ -18,9 +18,14 @@
// Server port names. The input port is the port which is used to receive
// input messages from the Input Server. The other is the "main" port for
// the server and is utilized mostly by BApplication objects.
#define SERVER_PORT_NAME "haiku app_server"
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
# define SERVER_PORT_NAME "system:app_server"
#else
# define SERVER_PORT_NAME "haiku-test:app_server"
#endif
#if TEST_MODE
# define SERVER_INPUT_PORT "haiku input port"
# define SERVER_INPUT_PORT "haiku-test:input port"
#endif
#define AS_REQUEST_COLOR_KEY 0x00010000