Commit Graph

3348 Commits

Author SHA1 Message Date
beveloper
a0703a47ce fixed BSoundPlayer::Stop() bugs exposed by CL-Amp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 21:02:38 +00:00
beveloper
303c294d21 added more debug macros
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 19:02:14 +00:00
beveloper
cc2b59509b fixed format negotiation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 19:01:53 +00:00
beveloper
a8c2408c09 fixed format setup, CL-Amp works now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 19:00:34 +00:00
beveloper
69983609f2 fixed format negotiation and added some more debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 18:59:43 +00:00
haydentech
40ceba30d6 Janitorial work and gcc3-related fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 18:42:22 +00:00
haydentech
d2a9d5e5fe Namespace- and gcc3-related fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 18:34:34 +00:00
haydentech
f5bf638f01 gcc3-related fixes and general clean-up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 18:32:47 +00:00
haydentech
a0a3f269a4 Namespace- and gcc3-related fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 18:29:29 +00:00
ejakowatz
df1b8782c7 Fixes for bugs in BFlattenable convenience functions (revealed by the new
unit tests).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 04:38:17 +00:00
ejakowatz
c5d8f91d81 Unit tests for BFlattenable convenience functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 04:37:06 +00:00
Axel Dörfler
83d0693448 Added some debug output for unimplemented functionality. Cleaned up a bit,
but should probably rewritten - I think it's already too complex now to solve
that whole task.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 02:57:26 +00:00
beveloper
11b92ae72b next event calculation properly based on frames played in performace time now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 01:15:18 +00:00
beveloper
f180ef79b2 Fixed crash in Cortex caused by BMediaRoster::MakeTimeSourceFor()
returning NULL when asked for the system time source.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 00:06:49 +00:00
beveloper
2de73166b5 fixed crash inside string_for_format()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-02 23:54:17 +00:00
beveloper
5c2c238d91 fix detection of Firewire devices
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-02 21:58:11 +00:00
beveloper
4295907bd1 fixed (hopefully) all latency bugs
fixed BMediaRoster::MakeTimeSourceFor()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 22:09:26 +00:00
beveloper
4d48a4d093 fixed mixer target name
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 21:12:24 +00:00
beveloper
5917dd5b85 various timing related bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 17:18:24 +00:00
Axel Dörfler
8ea8d0c2bb Fixed queries a bit more (maybe even completely...). In several situations,
the old attribute value wasn't evaluated at all.
Also, Index::Update() got a type code of zero, instead of the real value
in situations where this didn't make any sense.
Minor cleanup in kernel_interface.cpp.
New method Volume::CheckForLiveQuery() that checks if there is a live query
depending on the specified attribute - not yet implemented, but already used;
always returns "true" right now, which doesn't cause any harm but reducing
the speed lightly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 02:55:33 +00:00
Axel Dörfler
cca15c0166 Added a little more debug output in BPlusTree::Find().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 02:49:38 +00:00
Philippe Houdoin
047625c2c5 Quick pseudo-target hack to build MediaKit only.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-30 23:04:41 +00:00
beveloper
2bff4d995e start node at correct performance time
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-30 20:41:04 +00:00
beveloper
1ab3e01897 bugfixes and debug information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-30 20:34:48 +00:00
Matthew Wilber
cb455797b8 Now, stxtinfo reads the "styles" attribute that StyleEdit uses. So, this program can now be used to see information about what text styles are used in a text file created by StyledEdit. Also, it still can read the Be styled text format that the STXTTranslator works with.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-30 00:19:47 +00:00
François Revol
d9d219a135 forgot some strings in string_for_format()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 18:15:23 +00:00
François Revol
9126f16df4 string_for_format implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 17:46:44 +00:00
beveloper
9bedd42cd1 many fixes to improve timing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 17:28:11 +00:00
ejakowatz
67833f26bc Fixed adding pointers. BMessage::AddPointer() was specifying const void*
as the template param (where everything else was using void*) and
BMessage::AddData() was adding the pointer to the pointer as the data.
Unit tests save the day again!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 06:28:28 +00:00
ejakowatz
8e8e1cf6c1 The libapptest.so and libapptest_r5.so addons were getting so big they
couldn't be loaded anymore (and were causing bdb to crash).  So a stub is
loaded instead (libappteststub/_r5.so) which links directly against the
actual libraries.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 05:25:44 +00:00
ejakowatz
7dc2890fbb Unit tests for the Pointer convenience functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 05:23:41 +00:00
Axel Dörfler
58453f3bbb Now sets the magic value in the check_control structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 01:04:22 +00:00
Axel Dörfler
c3f10b4674 Added a simple magic field mechanism to make chkbfs calls a little more safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 01:02:18 +00:00
ejakowatz
87142a1ecf Unit tests for convenience functions for BMessenger.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 23:37:54 +00:00
Axel Dörfler
f2024b1158 Fixed debug output in bfs_setflags().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 23:12:18 +00:00
Tyler Dauwalder
5b3f1d0cda DiskDevice API v2.4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:51:24 +00:00
Tyler Dauwalder
e62a550aa1 Removed as of DiskDevice API v2.4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:49:24 +00:00
Tyler Dauwalder
9f4ec30369 DiskDevice API v2.3.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:47:29 +00:00
Tyler Dauwalder
17dc6e0c84 DiskDevice API v2.2.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:46:11 +00:00
Tyler Dauwalder
40f3824020 DiskDevice API v2.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:43:58 +00:00
Tyler Dauwalder
800e59617f Removed as of v2.0 of the DiskDevice API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:41:28 +00:00
Tyler Dauwalder
fc14e78461 DiskDeviceAPI Protocols v2.3
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:40:29 +00:00
Tyler Dauwalder
4ca811957a DiskDeviceAPI Protocols v2.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:39:56 +00:00
ejakowatz
c48aa159a5 Minor tweaks to try and get the remote object stuff working again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 20:24:29 +00:00
ejakowatz
159d60f9fb Unit tests for plain C string convenience functions. Tweaks elsewhere to
deal with necessary modifications to test core.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 20:19:35 +00:00
Tyler Dauwalder
e4edcddbc5 Fixed nothrow declaration and definition to what I think should
be the proper values.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 07:35:04 +00:00
Axel Dörfler
a9aa5ee181 Implemented bfs_setflags().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 01:56:24 +00:00
Axel Dörfler
a13beecdee Removed the possibility to create a Semaphore object without specifying
a name - that's mostly done to:
1) force better fitting lock names
2) make the API consistent (the empty ReadWriteLock constructor doesn't
   initialize the lock anymore).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 01:34:18 +00:00
Axel Dörfler
20c74d7d25 Fixed reordering of initializer warning - should compile the fs_shell with
-Wall enabled...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 01:32:40 +00:00
Axel Dörfler
ae58716024 Fixed another bad bug caused by calling get_vnode() on a node currently
being constructed: bfs_read_node() created an Inode object independent from
the one set in new_vnode().
As a work-around (the new VFS layer will introduce some better methods here)
we are now using the bfs_inode.etc field as a pointer to our object - just
like BFS has thought to use this field. If bfs_read_vnode() has to wait for
the inode (because it is being constructed), it will use the "etc" pointer
and don't create it's own Inode object.
Almost all changes made change the API to take this case into account:
- new Inode constructor to be able to be created from a CachedBlock
- CachedBlock now has a Keep() method which suppresses the release_block()
  call when the object is destructed.
- a CachedBlock can now be constructed from the contents of another one (by
  calling the source's Keep() method).
- Inode::InitCheck() no longer checks the integrity of the bfs_inode - this
  is now done by bfs_inode::InitCheck() which is optionally called by the
  former (default).
- moved the inline CachedBlock methods out of the class definition (was
  too crowded to be readable).
- new Inode::Initialize() which is called by all Inode constructors
- an Inode object now sets a better name for its read/write lock.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 01:27:27 +00:00