Commit Graph

8927 Commits

Author SHA1 Message Date
Ingo Weinhold
8f1dc17d91 * Assignment operator didn't return *this.
* Fixed comparisson operators: The team ID is ignored.
* Fixed second synchronous SendMessage(). The reply argument is checked for
  NULL now, `if (error)' -> `if (error == B_OK)', and map B_BAD_TEAM_ID to
  B_BAD_PORT_ID, which is what the R5 implementation returns.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:55:55 +00:00
Ingo Weinhold
76858a334d BLooper::LockWithTimeout() was always using B_INFINITE_TIMEOUT.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:08:50 +00:00
ejakowatz
19ba51b74d More BLooper tests and minor tweaks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 20:19:53 +00:00
ejakowatz
04de1897ed More tests for BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:50:28 +00:00
ejakowatz
38f5ceca01 Some more BLooper unit tests, with some minor resulting tweaks to BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 06:18:27 +00:00
Ingo Weinhold
e1f41e5d53 BMessenger::Target() uses BLooperList now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:28:07 +00:00
Ingo Weinhold
0e1fa9f1ad LOCATE is now set for the /boot/home/config/lib copy of libopenbeos.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:27:01 +00:00
ejakowatz
e3684651de Finally figured out why the first assert in IsMessageWaiting5() always
worked under R5 but only sometimes for OBOS.  Answer: the OBOS
implementation of BLooper was attempting to lock itself prior to fetching
the message from the queue.  I moved the lock attempt after the fetch and
it worked the same.  I realized that if the system was loaded heavily
enough, the assert might still fail simply because the looper would not had
enough time to get to the fetch (thereby emptying the queue), making the
assert pretty useless.  Given that it was originally there as a probing
test (rather than as an integral part of the unit test), there is no real
need for it anyway, so it is no longer used.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 07:51:51 +00:00
ejakowatz
df226cd7b3 A new class to manage the list of loopers in a team. Provides the
functionality of the existing static BLooper functions (which now call
through to it) in a nicer package.  New code should use the global instance
of this (BPrivate::gLooperList) instead of the old BLooper functions (which
are officially deprecated).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:04:06 +00:00
ejakowatz
abb579331f Tweaks to deal with new repository hierarchy and use of unified CppUnit;
some bug fixes and a couple of new tests for BLooper.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 15:51:31 +00:00
beveloper
7d3a98264a I felt I had to do *something*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 00:33:52 +00:00
Ingo Weinhold
7561e939f5 Added libtranslation.so to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:38:56 +00:00
beveloper
b6de9d11ff removed compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 15:16:31 +00:00
beveloper
48ff964fe7 removed warnigs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:01:44 +00:00
beveloper
e020762819 finally get libmedia.so building :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 00:25:55 +00:00
Ingo Weinhold
35d696eaba Added the midi and screensaver kits to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@90 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:05:38 +00:00
Ingo Weinhold
0a483e7221 Fixed includes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@86 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:54:41 +00:00
Ingo Weinhold
19f0c92e2f Added the media kit to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@85 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:54:20 +00:00
ejakowatz
865f9d8e38 Fixes in BLooper and its tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@84 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 15:49:01 +00:00
beveloper
24509b3b8e Stop these files breaking the build, needs to be fixed later
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@72 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 01:09:21 +00:00
Ingo Weinhold
70c31e5157 Reflect the latest change to the UsePublicHeaders rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@43 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:36:50 +00:00
Ingo Weinhold
32bc7795b0 Adjusted the original SK Jamfile to work in its new friendly neighborhood.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@28 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:02:00 +00:00
Ingo Weinhold
736994efc9 Uncommented Storage Kit include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@27 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:00:19 +00:00
Ingo Weinhold
7e4c96cf79 SymLink.h included kernel_interface.h, which is a private header. Doh!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@24 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:56:30 +00:00
Ingo Weinhold
98602e0409 Adjusted to the new tree structure, though currently (?) not needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@19 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:41:59 +00:00
Ingo Weinhold
66f77d7bfd This one obviously got lost. Adjusted to the new tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@16 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:38:17 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00