Commit Graph

4490 Commits

Author SHA1 Message Date
Axel Dörfler
e4cf172727 Since Ingo found out that BeOS requires the module name and its location
on disk to match to be able to find it, changed the ToDo: comment in the
affected function, and added a test call to vfs_get_module_name(); our
bootfs cannot handle the path depth/length required to be a useful module
host, so we still have our recursive search algorithm in place for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 04:06:14 +00:00
Axel Dörfler
ad304a7ef7 Implemented a new vfs_get_module_path() call that returns the module path
of a given module name.
vnode_path_to_vnode() can now return the type of the file, changed the parameter
order.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 04:02:34 +00:00
Axel Dörfler
5306fba3a1 Added the new vfs_get_module_path() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 04:01:07 +00:00
Axel Dörfler
d8018ea5b1 Fixed a build bug I introduced earlier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 03:54:36 +00:00
Axel Dörfler
2eb8498f76 Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 03:52:44 +00:00
Axel Dörfler
393d1e9163 Add some sources to the boot loader that are needed by the intel partition
module (even qsort()!).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:50:44 +00:00
Axel Dörfler
c754274e3a Added some more dummy stuff, so that the whole thing is linked correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:42:49 +00:00
Axel Dörfler
3a48e17b83 Added the intel partition module to the boot loader build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:41:57 +00:00
Axel Dörfler
b132797ec3 Made the module working in the boot loader.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:41:05 +00:00
Axel Dörfler
e5d542ba54 Moved the Partition class declaration to the source file.
Added some partition types.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:39:24 +00:00
Axel Dörfler
6eae77e068 Moved the Partition class declaration to the source file.
Refactored the code a bit (moved the scan algorithm to the Partition class, ...).
Implemented get_parent_partition() and added a stub for get_child_partition()
as needed by the intel partition module.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:38:45 +00:00
Axel Dörfler
e731e11702 Added the nothrow variants of the new operator.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:33:37 +00:00
beveloper
21b8eada67 more debug output at level 2
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:40:10 +00:00
beveloper
a0032ff0cf latency now depends on buffer duration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:39:35 +00:00
beveloper
951c57f390 used real buffer id (the buffer handling needs to be redone)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:38:38 +00:00
beveloper
d6fab5bcbb removed debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:38:03 +00:00
beveloper
4d2d96e050 new functions that work with pointer to the node, instead of sending messages
this should avoud deadlocks during execution of RegisterNode()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:37:20 +00:00
beveloper
71c77b48dd latency calculation is now done in realtime
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:36:21 +00:00
beveloper
1df08d394c added missing buffer header field, added comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:35:45 +00:00
beveloper
8d481eeefd cached BBuffer object are not allowed to be deleted until they are Recycled,
temporary changed to never delete them...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:35:06 +00:00
beveloper
344122f0e3 added comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:32:51 +00:00
beveloper
f91503b9d9 added a debbuging outputs, start threads always at high priority
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:32:17 +00:00
beveloper
e4981be8ac added PCI-to-PCI bridge cache flush
added 36898 clock rate


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:29:27 +00:00
beveloper
45a372ac3d enable debugging functions only when DEBUG defined
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:28:42 +00:00
beveloper
0effa723ea uncommented parameters, fixed defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:27:54 +00:00
beveloper
a4f5cfda31 detect double mode rates only if they are supported by the codec
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:27:10 +00:00
beveloper
da47592581 added two new functions that work with pointer to the node, instead of sending messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:25:52 +00:00
beveloper
d41287a6da Added BMediaRosterEx as friend class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:24:50 +00:00
beveloper
0b153628d8 added media demo nodes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:23:59 +00:00
DarkWyrm
23d3981b3b Size is now initialized before use in method Play
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:16:26 +00:00
DarkWyrm
ebeaac4396 Doh. Unvirtualization broke more than I thought. Reverting until I get more time to do properly....
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:08:01 +00:00
DarkWyrm
3794da7fb0 Un-virtualized internal methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:02:28 +00:00
Phil Greenway
92430c9c7e Added the frame to the modemwindow and the button placement.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 21:12:16 +00:00
Axel Dörfler
7cde8a9d7f Implemented __swap_int16/32/64() (float/double are missing right now, but should
be the same as __swap_int32/64()).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 17:22:15 +00:00
Waldemar Kornewald
bc981e9a90 Removed BLocker implementation from PPP and added disk_device_manager to source search path so that we reuse the existing files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 17:16:27 +00:00
Ingo Weinhold
340eed61d6 Moved definition of _FreeBlock to the source file and enabled its "magic{1,2}" fields on debug only.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 12:04:24 +00:00
Ingo Weinhold
1facca2109 Added BBlockCache to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 11:57:32 +00:00
Ingo Weinhold
369eef1343 Check in per Jeremy Rand: Adjusted implementation to behave like that in R5 -- no more tracking of excess blocks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 11:55:25 +00:00
Ingo Weinhold
bfdb37cc03 Check in per Jeremy Rand: Added BBlockCache unit tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 11:53:03 +00:00
DarkWyrm
6e3d9752e7 Implemented a couple more functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 03:17:33 +00:00
Waldemar Kornewald
5e97ad44cc Forgot to test if it builds. :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 23:58:58 +00:00
Waldemar Kornewald
283ad63871 Added some helper functions and improved PPPLCPExtension handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 23:54:35 +00:00
DarkWyrm
c7c8500780 Tweak to fix building from the current directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 21:13:38 +00:00
DarkWyrm
d7f34b0231 Minor tweaks and improvements to the DefaultDecorator
Made toggle for RootLayer debug output
Optimization for ViewDriver::CopyRegion with 1-rectangle regions
Fixes and tweaks to WinBorder::MouseMoved()
Toggled debug output in ServerApp
More useful comments in code in general


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 21:09:11 +00:00
Axel Dörfler
dbb3d1fc5b Fixed some warnings.
Added a comment about how to traverse the module path to find a given module -
could well be that we got that wrong (too loose, it will work perfectly, though,
just slower than it could be).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 17:35:05 +00:00
Axel Dörfler
080cec2518 Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 17:31:33 +00:00
Waldemar Kornewald
b8561cdd29 Added PPPLCPExtension (allows additional codes for LCP).
Added Control() op codes for report enabling/disabling.
Fixed memory leaks in StateMachine and LCP (packets were not freed).
Some minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 17:13:51 +00:00
Waldemar Kornewald
a602502a7e Finished first set of needed features (tests will follow as soon as the needed kernel modules are available).
Next step will be to add:
- Protocol-Field-Compression support (including PFC handler)
- MRU option handler
- ?simple authentication option handler (helper class)?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 01:00:12 +00:00
Stefano Ceccherini
8d1a0ee7c1 Fixed a bug in BRegion copy constructor. If one constructed a BRegion with
BRegion region(region), the region would have been put into an unitialized state. Took the chance to cleanup a bit the code, using some methods of clipping.h. Changed the way offset_rect works, and changed its name too. Added a note to Region.cpp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-05 10:16:34 +00:00
Axel Dörfler
e4bd4b6b58 Added the full monty to build the boot loader.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-05 02:01:43 +00:00