Commit Graph

3468 Commits

Author SHA1 Message Date
beveloper
cb595db745 added an additional sanity check
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 14:55:46 +00:00
beveloper
7d970b3122 finally fixed the last major bug that was reponsible for plops
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 14:54:00 +00:00
beveloper
191033ef76 debugging improvement, fixed locking, fixed sample copy bug in channel 1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 11:36:39 +00:00
beveloper
356855c3f6 ugly workaround, create a new pool for each input mix buffer,
to avoid running out of default pool memory. It would be much
better if a pool would grow if more memory is requested than
available.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 01:17:52 +00:00
beveloper
dfe7be41fb small work around
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 01:15:49 +00:00
beveloper
d5848e21a4 rewrote start and stop handling to allow connecting an input without
having an output, followed by starting the node.
fix some bugs of handling an unconnected output
added better locking to the mix thread


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 00:31:36 +00:00
beveloper
90f98241f4 added some sanity checks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 00:29:08 +00:00
beveloper
8d28117ff7 multiple bugfixes, but still many pops in output audio stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 23:07:47 +00:00
beveloper
5ca6a7e85e renamed the media node
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 23:05:56 +00:00
beveloper
c47e5a5ae9 added format change function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 23:04:21 +00:00
beveloper
2560202bae additional helper functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 22:59:53 +00:00
beveloper
b3d75d0db3 removed leftover of debugging instrumentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 22:00:32 +00:00
beveloper
6b5e150832 most likely fixed downsampling bugs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 21:55:58 +00:00
DarkWyrm
a7699ce227 Added Stroke/FillRegion to DisplayDriver for convenience
Fixes to redraw code - buggy, but less so. :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 20:07:36 +00:00
DarkWyrm
de662b01c8 Window border movement fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 19:06:30 +00:00
Axel Dörfler
d98326b49f Removed some useless calls to get_sem_count().
Moved set_port_owner() around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 16:53:36 +00:00
Axel Dörfler
9163395ef6 read_port_etc() could pass PORT_FLAG_USE_USER_MEMCPY to acquire_sem_etc().
Small cleanup of {read|write}_port_etc().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 16:46:07 +00:00
Ingo Weinhold
18c5b0ca7b Added kernel utils test to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 15:52:24 +00:00
Ingo Weinhold
d2f5407bb8 Added an empty test for AVLTreeMap, but uncommented it, since it doesn't compile with our broken compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 15:51:58 +00:00
Michael Pfeiffer
b95bbcda0a Updated for version 2.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 06:36:06 +00:00
Michael Pfeiffer
2997e5ed52 Bug fix and removed installation of libpdf.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 06:31:00 +00:00
Michael Pfeiffer
93293bd797 ImageCache.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 06:27:37 +00:00
Axel Dörfler
2469f26dfc Implemented the basic hand-shaking mechanism; direct data exchange is
now working, but everything that would have to be temporarily buffered
is discarded right now (will use cbufs for this).
Pipes can now actually be created and removed - this didn't work before.
Changed some lock types to better suit their needs.
Small fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 04:38:04 +00:00
Axel Dörfler
9a7bfe0ec1 Added minor debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 04:23:24 +00:00
Axel Dörfler
8a32e4dc84 Replaced the "filetest" command with the "pipe_test" for the build, due to
limited space in the boot file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 04:22:06 +00:00
Axel Dörfler
32169869e8 Added a test for the pipe implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 04:17:31 +00:00
Axel Dörfler
1792510380 Fixed the pipe creation and made it secure against very fast threads, as
suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 02:44:20 +00:00
Axel Dörfler
f0df28e20e Now makes use of C++ features, still no reading or writing, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 23:04:36 +00:00
Axel Dörfler
2aa93388f3 C++ for the kernel added to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 23:03:45 +00:00
Axel Dörfler
fb68886768 C++ for the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 22:58:58 +00:00
Ingo Weinhold
cbbec57f71 Oops, our TOP is named OBOS_TOP.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 17:38:12 +00:00
Michael Pfeiffer
2a76289ea7 Bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 17:23:52 +00:00
Michael Pfeiffer
cfab67cd80 Updated version 2.0 bookmark file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 17:22:57 +00:00
Michael Pfeiffer
a952b1a530 Added ImageCache.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 17:20:57 +00:00
Michael Pfeiffer
3759446ddd Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 17:19:46 +00:00
Michael Pfeiffer
2e07400817 Link destionation includes rectangle on page.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 17:19:35 +00:00
Michael Pfeiffer
61594003dd Added option to show bookmarks expanded or collapsed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 17:19:17 +00:00
Axel Dörfler
9d1b8268b8 Removed unused headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 16:53:33 +00:00
Axel Dörfler
c05acf62ee Big cleanup of the cbuf implementation to fit better into our style guide.
Renamed cbuf_get_len() to cbuf_get_length().
Fixed a bug in cbuf_get_length() that would have returned an error code in
a size_t (now returns 0 in that case).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 16:42:31 +00:00
Stefano Ceccherini
15cfed465c Fixed sort_rects(). Rects are sorted by their top value, not by their left as I tought in the first place. I had already fixed or_region_no_x, I just forgot to update sort_rects().
Fixed a typing bug in PrintToStream().
Added a comment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 06:21:50 +00:00
Axel Dörfler
ebb226d544 Removed now unused headers (prototypes are now in builtin_fs.h).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:50:26 +00:00
Axel Dörfler
87357f1456 Added the pipefs to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:49:31 +00:00
Axel Dörfler
ba6ecd2852 Removed unused headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:49:13 +00:00
Axel Dörfler
e189e20f7e Simplified the vnode creation procedure.
Removed unused headers. Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:48:32 +00:00
Axel Dörfler
ecb21fa760 Now bootstraps the pipe file system.
Updated due to recursive_lock_init() change.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:46:27 +00:00
Axel Dörfler
5843ebfbda Added very basic pipefs implementation - only handles files right now
(creation, deletion), no reading/writing allowed (or even started),
no select support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:44:28 +00:00
Axel Dörfler
91caecf659 Now gives its tm rlock a name - note, this doesn't check the return code
of this function!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:28:12 +00:00
Axel Dörfler
a5bc38081e Will no longer fail if the recursive_lock couldn't be created - that does
*not* change the previous behaviour (well, I added some debug output), since
the former recursive_lock_create() did always return B_OK, no matter if the
lock could be initialized or not.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:27:12 +00:00
Axel Dörfler
783f7b5ccd Now gives its recursive lock a name and checks its return code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:25:24 +00:00
Axel Dörfler
b652f04990 Removed the pools.c file from the build, since it's a) not used anymore,
and b) doesn't compile due to the latest lock changes (see lock.c 1.7).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:24:37 +00:00
Axel Dörfler
68fe151fb9 Fixed the return code of recursive_lock_init() (formerly known as
recursive_lock_create()) - this reveals bugs in other parts of the system (VM),
but those won't be fixed for now (because of VM2).
Added the possibility of giving a recursive lock a name.
Moved the functions for benaphores and rw-locks to this file (they were
part of the lock.h header as defines).
Removed unused headers.
Small cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 03:22:57 +00:00
Axel Dörfler
e59c643b47 Implemented the pipe() command - ready for the upcoming pipefs implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 02:55:15 +00:00
haydentech
99966f7887 Namespace/gcc3 fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 15:39:32 +00:00
haydentech
5d5860e4f1 3 changes to remove infinite loops or crashes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 15:36:06 +00:00
Stefano Ceccherini
0147056b81 Added a partial implementation of BRegion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 10:09:01 +00:00
Matthew Wilber
d1de8bd2d4 info window now shows useful information about the currently open image. This information includes bitmap colorspace and dimensions, image type and translator name and version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 03:25:51 +00:00
beveloper
8df36cdd65 Added experimental copying of the left channel from either input 1 or 0,
there seem to be some resampling related bugs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 21:27:00 +00:00
haydentech
3aa0c906ba Fixed a crasher in setFocus() and some dead code in ResizeTo()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 20:50:42 +00:00
haydentech
97c931825e Plugged some holes in the last checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 19:40:45 +00:00
beveloper
78563dcaec use sample size when calculating channel offsets, no more buffer overruns
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 18:04:34 +00:00
beveloper
16cecbde36 some workarounds, fMixStartTime is now always 0,
delay mix thread if timesource has negative time,
calculate correct time and frame base for mix thread


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 16:21:41 +00:00
Jérôme Duval
c8c8057167 Here is an alpha version. Restart media services still crashes the app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 10:36:38 +00:00
beveloper
b9bc85776c added mixing thread, as well as start and stop
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:19:49 +00:00
Axel Dörfler
320b131c05 Now with all obstacles removed, added the bootloader heap test to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:15:43 +00:00
Axel Dörfler
db48f1ebbe Now it does also build on non-BeOS platforms...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:14:14 +00:00
Axel Dörfler
4182dd7c6e This fixes the incorrect inclusion of our stdio.h header - it will now include
the platform native stdio.h on BeOS and Linux.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:11:11 +00:00
Ingo Weinhold
0843d5108a Minor changes. The file for the file device lives now in ~/tmp instead of /tmp to be persistent.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:06:46 +00:00
Ingo Weinhold
7eb12758ed * Fixed the locking functions: A lock also requires a reference to be
kept.
* Fixed find_{disk_device,partition}().
* Implemented delete_partition(). The device/partition management functions
  should now be complete.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:04:55 +00:00
Ingo Weinhold
86e8beea7d Added boolean parameter to IsReadLocked() to specify when a write lock shall not be considered as read lock.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:00:34 +00:00
Ingo Weinhold
eba400a809 We need the virtualdrive header for the file disk device stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:58:25 +00:00
Ingo Weinhold
f5650b0a07 No real change. Added and removed debug output. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:57:33 +00:00
Ingo Weinhold
b23394f957 * Implemented what was left to do for KDiskDevice and KPartition
management regarding removal and deletion of objects.
* Fixed the file disk system related stuff. KFileDiskSystem now uses the
  virtualdrive driver. The former method was seemed simple and brilliant,
  but the B_SET_PARTITION ioctl wouldn't work.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:56:16 +00:00
Ingo Weinhold
7a424c3923 * Renamed virtualdrive.c to .cpp to be able to use the saner syntax.
* Improved the driver: It now publishes a control device and ten `data'
  devices. Via an ioctl one can assign an arbitrary file to a free data
  device. (The devices are published in /dev/misc instead of /dev/disk to
  prevent them from being scanned by the Tracker and DriveSetup.)
* Added a small command line tool to (un)register files that way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:45:03 +00:00
Axel Dörfler
cc74989eb6 Utilizes the new BuildPlatformTest rule - added a comment on how to build
this test correctly with the current posix headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 22:58:35 +00:00
beveloper
7b0daf5cca allocate mixer buffers of the correct size,
place incoming data in input specific mix buffer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 22:41:02 +00:00
beveloper
299d70ad2d added helper functions for buffer<->framerate<->duration conversions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 22:39:13 +00:00
Axel Dörfler
e548161b59 A Jamfile for the heapTest.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:11:25 +00:00
Axel Dörfler
4f621b0aa3 Jamfile to build the thing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:10:19 +00:00
Axel Dörfler
1f001dfa88 A test application for the boot loader heap allocator.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:09:30 +00:00
Axel Dörfler
1b4a09278b A simple heap implementation for the boot loader - already tested, and working well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:05:54 +00:00
DarkWyrm
a8c44e89f8 Added a *serious* speedup to window move code
Added a couple more empty message handlers to ServerWindow
Improved DefaultDecorator - works better now
DisplayDriver::CopyRegion added and implemented it for ViewDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 13:55:18 +00:00
Stefano Ceccherini
4f4f381f93 hrm... this should be rdef, not rsrc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 10:24:39 +00:00
Stefano Ceccherini
359a1af6c0 Some more cleanups... finally fixed the multi workspace refresh bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 10:01:58 +00:00
DarkWyrm
6ef98483f5 Removed some bugs to allow the server to run. We can now display (but not play with) a real BWindow!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 01:01:20 +00:00
DarkWyrm
44e0bbe4be Removed some compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 00:14:33 +00:00
Ingo Weinhold
b4ec16d069 Removed the disk scanner tests from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:54:02 +00:00
Ingo Weinhold
6ab18748f3 Removed invocations of UsePublicHeaders, which was a no-op anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:53:22 +00:00
DarkWyrm
6b76dd01f5 Can get replies as PortMessages now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 13:18:39 +00:00
Tyler Dauwalder
1fe39d4d37 Tests for the SinglyLinkedList class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:57:47 +00:00
Tyler Dauwalder
17befbdd60 Add-on for the KernelUtils test suite.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:57:01 +00:00
Tyler Dauwalder
97d879b51e Jamfile for the kernel utils tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:56:38 +00:00
shadow303
b511995b2f gcc3 fixes & other minor tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:54:52 +00:00
shadow303
3368f55060 Add partial handling of graphics messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:53:55 +00:00
shadow303
c27b0019d6 gcc3 cleanup & fix stupid mistake
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:48:28 +00:00
Matthew Wilber
ce5a2573d3 added beginnings of InfoWindow -- window that displays as much info as possible for currently open document
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:20:43 +00:00
Ingo Weinhold
24d57dc067 Added KFileDiskDevice and the file with the disk device type strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:28:04 +00:00
Ingo Weinhold
38cf1a986c Small fixes. Make use of the types of types defined in <DiskDeviceTypes.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:27:00 +00:00
Ingo Weinhold
1dc16d7092 Added BFS module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:17:26 +00:00
Ingo Weinhold
d6788c75c2 Dump()s the devices now and creates a file disk system.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:17:02 +00:00
Ingo Weinhold
4ab0785cd8 Ported the BFS module over to the new disk device manager API. It still lives here to not interfere with Axel's FS add-on. Should be merged some day.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:15:37 +00:00
Ingo Weinhold
e38b62f20d Fixed a bug I recently introduced.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:13:08 +00:00
Ingo Weinhold
62b9e141e1 Added a find_disk_system(). I first thought, this might be a good idea, but I'm not so sure anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:12:20 +00:00
Ingo Weinhold
9007acaee3 Added Dump(). Small fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:04:56 +00:00
Ingo Weinhold
fcf461b32c Implemented the scanning functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:03:58 +00:00
Ingo Weinhold
b22221ad17 Minor changes to the KDiskSystem interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:03:17 +00:00
Ingo Weinhold
38d5e95af9 Support for creating and deleting (the latter not yet implemented) file disk devices. Added file system addition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:00:20 +00:00
Ingo Weinhold
bdc530c737 Some small adjustments for KFileDiskDevice. Added Dump().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 22:57:42 +00:00
Ingo Weinhold
242a2cbef2 Define the values in the source file rather than in the header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 22:55:21 +00:00
Ingo Weinhold
17750c7774 Added a special disk device class, that is responsible for representing
files as disk devices. This will not only be great for testing the
file and partitioning system modules' writing capabilities, it will also
just be a nice feature to have.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 22:54:16 +00:00
DarkWyrm
cd902621dd Minor patch to unbreak the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 21:01:57 +00:00
Niels Sascha Reedijk
2c5845b559 Improved the way that version id's were parsed. Also added version id for the
rtl8139D. Phillipe, let's start testing!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 18:55:13 +00:00
DarkWyrm
21099b6971 Separated PortQueue and PortMessage into separate files.
Added read methods to PortMessage


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 17:17:40 +00:00
beveloper
aa1480c7be cleanup disassembly output by using local labels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-21 02:31:58 +00:00
Matthew Wilber
8cfb94cd04 removed tracker to app user feedback, added comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-21 02:15:47 +00:00
beveloper
50be0c99cf GCC is way too smart or buggy and will (at least in this case) remove (optimize away) non __volatile__ asm statements :(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-21 02:08:03 +00:00
beveloper
88777023cd support endian adjustment,
other small changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-21 01:57:39 +00:00
beveloper
526735b289 There we go, a dedicated byte swapping class for endian adjustment.
I even throw in a piece of premature optimization.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-21 01:56:30 +00:00
Matthew Wilber
ca699cf3d4 initial check in for Inspector - image viewer (and later on, hopefully documents in general viewer) for developers of Translators and users of the Translation Kit in general
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 22:23:58 +00:00
beveloper
a4b8db8530 identify mixer channels by a type number (0 to 31)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 21:39:01 +00:00
beveloper
c6f7aae127 synced
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 21:01:09 +00:00
beveloper
2e9d660756 mixer input buffer assignment and gain setting implemented
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 16:55:19 +00:00
Marc Flerackers
3c4f452b0c Fixed some allocation bugs, and a play bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 14:02:46 +00:00
Matthew Wilber
ce189e5c0b added Inspector
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 02:48:47 +00:00
Ingo Weinhold
37faaaded5 Made the (BHandler*, BLooper*,) constructor more robust. Now the looper list is locked and the looper checked for validity.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 00:18:56 +00:00
Ingo Weinhold
adf43596d6 Added missing includes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 23:58:57 +00:00
Axel Dörfler
f14bae95b6 Renamed "blocks" to "blocksRequested" in Inode::GrowStream() to make its
usage clearer. Also added a comment that explains why it's okay that
blocksNeeded and blocksRequested can be different.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 17:11:53 +00:00
beveloper
5ac4fbd70d clean up of debugging functions
FATAL is now replaced by ERROR and active at DEBUG=1 or above
TRACE is active at 2 or above
PRINT(level, ...) can be used for DEBUG= level or abode
INFO is removed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 14:53:41 +00:00
Niels Sascha Reedijk
93780ea379 Implemented free hook. The driver now cleanly works when the net_server is restarted via the Network preference panel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 14:52:59 +00:00
beveloper
e6c7c99fc9 added connecting/disconnecting of inputs/outputs
changed debug functions
added multiaudio format correction
added workaround for broken BeOS R5 media_format:SpecializeTo()
fixed AudioMixer::Connect function to use correct destination
added utility functions
fixed locking bugs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 14:09:00 +00:00
Philippe Houdoin
a91f266ff3 Hide the accept() trick more deeper: now the stack driver manage the trick himself.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 01:02:50 +00:00
Philippe Houdoin
5d7c65c278 Rollback to original xBSD DNS resolver implementation _res global variable name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 00:16:09 +00:00
Philippe Houdoin
662c015f8a Fix the undefined _res symbol linker error: we don't link anymore our own libnet.so
against default libs, which include BeOS's libnet.so)!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 23:30:42 +00:00
Philippe Houdoin
66914f157d Bad duplicate case line killed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 23:03:08 +00:00
Philippe Houdoin
e5fb9ab8da Trying to be quicker than shatty to add more ids, courtesy of pulse 1.08 on bebits.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 21:40:15 +00:00
Niels Sascha Reedijk
26e367740a Fix an issue where the _res symbol is undeclared due to another symbol with
the same name somewhere else( I think). At least it works now.  Renamed
to _resolve_configuration (probably will never clash with anything else ever)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 19:03:37 +00:00
Axel Dörfler
4a9d9dfa14 Added new RecursiveLock and RecursiveLocker classes.
Added file system global locking around creating, deleting, and renaming
inodes - that's not nice, but since we have only sequential journal access,
it won't hurt concurrency much. The locks are needed to prevent certain
things from happening like two threads could theoretically create the same
file twice (one of them would have failed, but relatively late in the process).
Anyway, a better locking scheme will be implemented at a later date, but maybe
not for R1.
Small cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 15:11:31 +00:00
Niels Sascha Reedijk
6ad250bc87 In theory the driver should now work. though I'm not really buying it yet, I
think that it shouldn't drop any packets anymore (only delay them)
- I implemented a packet wrap, so after 64k the driver will start over again
- I fixed a bug where packets with the largest ethernet frame size (1514)
  weren't accepted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 10:45:52 +00:00
Axel Dörfler
274e6fefaa Removed the new_vnode() timeout for busy vnodes.
Fixed the op-description send_notification() gives - notify_listener() now
only prints out the op value, since it will call send_notification() anyway.
The tracker doesn't try to query files on B_ATTR_CHANGED or when node == 0,
or name == NULL.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 00:01:12 +00:00
Axel Dörfler
55288b8eda Added a sys_open_entry_ref() call to the VFS layer.
Implemented the beginnings of a Tracker like mode in the fs_shell - started
and stopped using the new "tracker" command; it will get all notifications
the file system sends.
Right now it's very simple, it just opens the file, does a stat(), and closes
the file again, and guess what, I could reproduce our favourite problem with
it!! So it will be finally fixed in the next few days.
Some cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 22:02:23 +00:00
Ingo Weinhold
09eceed9b8 Added support for installing the networking stuff. Use: jam [un]install-networking.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 18:15:52 +00:00
Niels Sascha Reedijk
1a20f41c7e I DID IT
Sorry for the enthousiasm. For the first time in my life a made a driver
somewhat work. There's still a major list of things to do, but at least I
feel safer now that this is working. I can already do pings. Moreover, I'm
doing this commit with my own driver. I'm just ashamed for the major mistake
I made that took me so much time to find. I'm off sending this beast to
testers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 14:02:51 +00:00
Niels Sascha Reedijk
b1045c6e31 Fix dprintf warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 13:42:32 +00:00
Matthew Wilber
60afeeca54 initial check in for PPMTranslator from BeOS R5 sample-code folder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:17:30 +00:00
Matthew Wilber
fae8d042d5 added PPMTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:15:26 +00:00
Axel Dörfler
dcec969499 get_driver_settings_string() now returns the new B_BUFFER_OVERFLOW code
if the buffer is too small for the settings string.
Added/changed some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 22:17:09 +00:00
Axel Dörfler
5133bded7f Fixed some warnings that occured with -Wall - the tests should be compiled
with this by default, like the whole project, too.
Removed the B_FILE_NAME_LENGTH definition, since our headers are now correct.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 19:56:33 +00:00
Axel Dörfler
4a893da100 Added a license to the top of the file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 19:33:05 +00:00
Axel Dörfler
6ab6d0fda4 Changed one of the built-in settings strings to test the new '=' behaviour.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 17:13:56 +00:00
Axel Dörfler
b1b0cf9114 The '=' symbol can now be used without surrounding white space: it will
be accepted between the parameter name and its first value - but it will
be added to any other values for compatibility reasons.
put_string() now correctly quotes strings if needed - the new put_chars()
function puts out a string unchanged (both only used internally anyway).
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 17:13:10 +00:00
Marc Flerackers
7ea7a8928a BMenuField
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 08:32:55 +00:00
Marc Flerackers
53056ca585 *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 08:17:19 +00:00
Marc Flerackers
b7fdea42f4 *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 08:05:30 +00:00
Marc Flerackers
67105bd61c Fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 07:58:45 +00:00
Marc Flerackers
007ed8c58b Compilation fixes and BOutlineListView
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 07:55:04 +00:00
Marc Flerackers
43802569fe Fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 07:43:42 +00:00
Marc Flerackers
9cb2dbe29d Fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 07:27:24 +00:00
Marc Flerackers
0e06ebe5d7 Lots of changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 06:49:36 +00:00
Marc Flerackers
8053a364e1 Assynchronous mouse hooks and correct handling of BRadioButtons in BBox-en :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 06:37:33 +00:00
Marc Flerackers
64603764f9 *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 06:33:32 +00:00
Axel Dörfler
2c67210865 Added two more ToDo items so that I do not forget about them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 21:14:27 +00:00
Axel Dörfler
659b432cab Now also uses CHECK_MALLOC to enable memory checking instead of MALLOC_DEBUG
directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:27:53 +00:00
Axel Dörfler
e5c72c1505 Added the memory checking support in the Jamfile; use "CHECK_MALLOC=1 jam"
to activate it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:26:20 +00:00
Niels Sascha Reedijk
a068a53e10 Update TODO accordingly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:10:43 +00:00
Niels Sascha Reedijk
99e393eacc I have changed the way packet reception is handled. Instead of managing it at
the interrupt handler, now it is done in the read_hook itself. This means that
less memory is used because the packet reception isn't double-buffered anymore.
It also wasn't the performance it I'd expect it to be (probably thanks to BeOS
scheduling!). The problem with the strange loss of around 50% of the packets
remains.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:10:09 +00:00
beveloper
7ee2c8049c Internal API rewritten, BMediaNode and derived classes functionality implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 18:17:56 +00:00
Matthew Wilber
8636b80151 changed identify string from "TIFF Image*" to "TIFF image*" so that it is more like Be's
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 16:45:34 +00:00
Matthew Wilber
8397ee2c8b added support for Fax Group 3 TIFF images that use the EOL ends on a byte boundary option and changed identify string from "TIFF Image*" to "TIFF image*" (more like Be's)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 16:43:54 +00:00
Axel Dörfler
4a5e9fec88 Updated some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:23:38 +00:00
Axel Dörfler
7862de2e87 Removed the old driver_settings.c file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:22:50 +00:00
Axel Dörfler
5d25f8fb7b Added the new kernel_os_main.o to the kernel build.
Replaced the "hostname" app with the "tls_test" in the standard build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:17:01 +00:00
Axel Dörfler
1907b4d0ca Added libroot/os/driver_settings.c to the build - this is now also part
of the new kernel_os_main.o object file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:14:36 +00:00
Axel Dörfler
3e758cd63f Removed the core/driver_settings.c from the kernel build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:13:24 +00:00
Axel Dörfler
25ce6eff93 Added a driver_settings test application. It parses all settings in
~/config/settings/kernel/drivers first, and then (re)parses some built-in
settings strings.
Use "-v" to enable verbose output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:08:14 +00:00
Axel Dörfler
7fc8f0544e Fixed addition of empty parameters in certain situations.
Improved the output of get_driver_settings_string().
Small cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 13:03:49 +00:00
Axel Dörfler
b959dda1b7 This replaces kernel/core/driver_settings.c - its functionality will now
be available to userland applications as well.
Furthermore, the API & grammar has been extended. There is now a '=' allowed
between the key and its values. Also, '\n' can now be replaced with ';'. These
changes allow flat driver_settings strings.
It doesn't work perfectly right now, but it's a start. A test application
will be added soon, the kernel file will be removed soon as well, and the
build updated.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 04:06:43 +00:00
Matthew Wilber
239df88d60 added test for image that uses T4 fill EOL byte
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 02:43:54 +00:00
Matthew Wilber
b87195f2a4 added signed types, fixed printing for unsigned types, added more detail for some fields, other minor improvements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 02:42:04 +00:00
Ingo Weinhold
5e56ad436e Delete the disk device manager when done. This is not only good practice, but also allows the manager to unpublish all partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-14 00:13:06 +00:00
Ingo Weinhold
e5e5ddc13a ep_scan_partition(): Removed erroneous check for cookie (it's unused here), and fixed child index counting.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-14 00:12:12 +00:00
Ingo Weinhold
08427f8cfc Publish partitions in _ScanPartition() and unpublish them in the destructor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-14 00:08:56 +00:00
Ingo Weinhold
f7672ebc25 * Made {Publish,Unpublish}Device() virtual and implemented them in
KPartition and as no-ops in KDiskDevice.
* Prefixed partition names with "obos_" to not interfere with R5's
  partition names.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-14 00:06:57 +00:00
Ingo Weinhold
205248dd7a Didn't deal correctly with files containing more than one module. Fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:11:44 +00:00
Ingo Weinhold
5609b2963b Added "shared" headers for BObjectList.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:09:38 +00:00
Ingo Weinhold
2609ebac90 Several fixes necessary to get the partition scanning working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:08:10 +00:00
Ingo Weinhold
07d370e32a Added tiny disk device manager test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:05:48 +00:00
Ingo Weinhold
852d12ef4c Ported the intel partitioning system module to the new interface
(disk device manager) and moved it to a nicer place.
First tests look good, though my hard disk structure doesn't even
have extended partitions. Going to install Linux now...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:01:51 +00:00
shatty
be4ab5d842 use OBOS_CPU_TYPES so compiling with R5 header is still possible
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 19:45:16 +00:00
shatty
8af0e1199f not all iv_model2 are xeon so I changed it back to IV
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 18:26:16 +00:00
shatty
6bc3e59c35 added some more ids, courtesy of pulse 1.06 on bebits
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 18:11:10 +00:00
beveloper
890238390f implemented media_format Matches() and SpecializeTo()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 16:25:56 +00:00
beveloper
9a232d4e5c added DefaultMediaTheme.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 13:19:56 +00:00
beveloper
01fa698a92 implemented BParameter::SetValue() and BControllable::SetParameterValue()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 12:43:52 +00:00
beveloper
76af595aa9 initialize mNode variable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 12:07:58 +00:00
Axel Dörfler
6836c3cb8c Add a first non-functional version of the default media theme.
Implemented all needed functionality in BMediaTheme to use this default
theme - it's currently disabled, though (or should be).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 03:56:28 +00:00
beveloper
17488f48b1 Implemented BParameter::GetValue() and BControllable::GetParameterValue()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 00:42:55 +00:00
Philippe Houdoin
dbafe172c0 Import, on behalf of Niels Reedijk (SF ID: nielx), his RTL8139 network cards driver.
Add a Jamfile to build it (thanks to Axel's sis900 jamfile).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-12 23:39:38 +00:00
Ingo Weinhold
ef9b1b52ee Implemented a preliminary disk device scanning in KDiskDeviceManager.
Some changes to KPartition, KDiskDevice, KDiskSystem on this way.
Still missing is KPartition::Publish() and its invocation in
KDiskDeviceManager. Then everything should be in place to start with
porting the scanning parts of our disk system modules.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-12 22:21:10 +00:00
Axel Dörfler
f3df767f76 Added a BeOS compatible strdup() implementation; unlike other strdup()
implementations (and against its standard behaviour), it does now
handle a NULL string parameter gracefully.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-12 19:35:33 +00:00
Axel Dörfler
0c6fce04e6 Removed the BSD strdup() routine since it is not BeOS compatible.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-12 19:34:03 +00:00
Axel Dörfler
6b3445e288 Applied NewOS patch 17xx (its repository is currently down...): now sets
the fs register correctly - not that it should have much effect since it's
rarely used anyway (no reason to might be wrong, though) :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-12 03:41:38 +00:00
Axel Dörfler
241ca61820 Fixed a stupid typo that got in in the last minute.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-12 02:49:51 +00:00
beveloper
be2a24894f Mixer rewrite, work in progress.
Moved Input and Output handling into the MixerCore class,
format and connection negotiation remains in AudioMixer class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 23:46:33 +00:00
Ingo Weinhold
ac63679417 Small changes in the header, and implemented everything needed for scanning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 22:04:34 +00:00
Ingo Weinhold
1bf21e6a40 * Added CreateChild().
* Added Publish/UnpublishDevice(). Not implemented yet.
* small fixes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 22:03:26 +00:00
Ingo Weinhold
13a452eaee Added an Init() amd dealt with the PrettyName().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 22:00:59 +00:00
Ingo Weinhold
450c7dd609 Added basic disk system management.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 21:59:27 +00:00
DarkWyrm
e2242e6916 Added rcs, gzip, sed, and associated utilities.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 15:56:10 +00:00
haydentech
98833b15bf Cleaned-up the std namespace support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 14:34:51 +00:00
haydentech
2e9a7f0c99 Fix unintended code path when debug macros are turned off
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 14:29:46 +00:00
haydentech
93c891b0e6 Removed infinite loop in BSeparatorItem
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 14:19:43 +00:00
haydentech
b7b28df023 Conform more tightly with the BeBook, and fix a few crashing bugs in the process
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 14:13:29 +00:00
Stefano Ceccherini
303dc7b976 Switched to rdef resource format, should finally fix the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 06:28:13 +00:00
Axel Dörfler
9bf6c6c63d Work in progress of the BParameterWeb rework; almost every line has been
changed, sorry.
Fixed many bugs in the old implementation, this one is now also endian-aware,
is faster on many things, works with stampTV, ...
Cleaned up a lot, most of it now complies with our style guide. Added a bunch
of helper functions that makes the code much better (to read), and easier to
maintain.
It's not yet completed though - will do that soon.
Also still missing is any documentation about those classes - I will also
work on this.
The changes have to downsides, though:
- I broke compatibility with the R5 flattened format. It shouldn't be a big
  issue, since it was never thought to be put on disk - I will look into
  that, though.
- the previous implementation had a strange policy when the Unflatten()
  methods had reason to fail - it tried to read as much as possible instead
  of just failing and leaving an invalid object behind. The new implementation
  will just fail - the object you called Unflatten() from might not contain
  useful information after this, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 03:12:46 +00:00
Ingo Weinhold
ec9690ccf2 Added new files, and we now link against our kernelland_emu library, because modules are used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:47:10 +00:00
Ingo Weinhold
6778f21163 Some fixes in the header and a very basic implementation. In theory the functionality for scanning partitions is implemented, as well as loading/unloading the partition module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:40:09 +00:00
Ingo Weinhold
0b6c74bbe3 Implemented some more bits of KPartition. Added a very useful Open() method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:37:43 +00:00
Ingo Weinhold
f254d01839 Implemented KDiskSystem. Should be almost complete.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:36:31 +00:00
Ingo Weinhold
29a37d780d Implemented some basics of KDiskDeviceManager.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:35:57 +00:00
Ingo Weinhold
537635f1d1 Implemented basic parts of KDiskDevice.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:35:12 +00:00
Ingo Weinhold
be433342af A read-/write locker. Again, something that might also be useful elsewhere in the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:32:33 +00:00
Ingo Weinhold
86ea6f7f9b A slightly modified BLocker. We should provide something like this for the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:29:52 +00:00
Ingo Weinhold
1844af0bfa Mostly empty implementations for the disk device manager classes. Save KPartition which is partially done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 23:10:09 +00:00
Bruno G. Albuquerque
0be20072c4 Trying to commit it as a binary file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 12:51:15 +00:00
DarkWyrm
14f0c2cfa2 Removed a minor bug from the InitData server communication code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 12:36:56 +00:00
Stefano Ceccherini
518c1e3f62 When you changed the refresh rate for all workspaces, then selected "cancel" the changes didn't revert... Fixed. Some more cleanups. Some code (not compiled right now, it works partially) to change the way the example screen is rendered (bitmaps instead of drawing)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 09:34:12 +00:00
Axel Dörfler
c59538b901 Some cleanups, courtesy of Jack Burton.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-08 18:37:42 +00:00
Ingo Weinhold
d37e75d958 If our incomplete BMessage (missing sending of messages) is linked into libopenbeos, anything involving the registrar blocks on library initialization (more precisely anything linked against libopenbeos and started while the registrar is running).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-07 17:38:32 +00:00
Ingo Weinhold
ae76aede51 Added TestApp.{cpp,h}, since tests using the BTestApp class defined in
libcppunit.so don't work anymore with it, since it uses the BApplication
code of libbe.so. Several tests still fail now, but none crashes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-07 17:32:37 +00:00
beveloper
678c20170c added new mixer components
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-07 01:11:51 +00:00
beveloper
2eb7012d8e added missing header file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 20:21:54 +00:00
Ingo Weinhold
a3b4d9e9de Removed the tests for version 1.x of the DiskDevice API from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 15:48:40 +00:00
Ingo Weinhold
20ff45e32d Removed version 1.x of the DiskDevice API from the build. Will be replaced by version 2.x in the not so distant future.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 15:47:44 +00:00
Ingo Weinhold
7dec9ee920 Removed the disk_scanner add-ons from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 15:46:10 +00:00
Jérôme Duval
adc3b786d1 ok the right file this time ...
*Volume* methods implemented; tested with SoundPlayerTest.cpp; only valid when connected with R5 AudioMixer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 14:22:26 +00:00
Jérôme Duval
37ed595f3a *Volume* methods implemented; tested with SoundPlayerTest.cpp; only valid when connected with R5 AudioMixer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 13:56:44 +00:00
Marc Flerackers
1f46aaf9f1 Check-in for Stefano Ceccherini: cleanup the code a bit, removed the hardcode colors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 08:48:56 +00:00
beveloper
908eaf852b removed ASSERT
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 01:19:22 +00:00
beveloper
715be7e1d4 added symbols required by BeOS R5 emu10k.media_addon
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-05 18:01:00 +00:00
beveloper
545124e6a1 disable node stopping on the system mixer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-05 16:55:43 +00:00
Ingo Weinhold
0582df0213 Removed the old, nicely working, DiskDevice API support from the registrar. We're going to reimplement it in the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 21:31:00 +00:00
Ingo Weinhold
32453e90e0 Removed the old, nicely working, DiskDevice API support from the registrar. We're going to reimplement it in the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 21:20:23 +00:00
beveloper
fb71d3a960 fixed copy&paste errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 00:53:15 +00:00
beveloper
9b875fba0c added remaining float_to_*()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 00:41:02 +00:00
beveloper
88e430cbeb added remaining *_to_float()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 00:27:48 +00:00
beveloper
7ca83dacf0 added float_to_float resampling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 00:19:39 +00:00
beveloper
af995aeda6 added symbol Connected__15BBufferConsumerRC12media_sourceRC17media_destinationRC12media_formatP11media_input
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 23:52:14 +00:00
ejakowatz
0cc48ce6f9 Unit tests to ensure robust handling of bogus params to convenience funcs
plus fixes for the bugs they exposes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 23:22:08 +00:00
beveloper
575526ff34 added a resampling class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 22:51:00 +00:00
beveloper
b63f90a895 limit max latency
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 21:10:49 +00:00
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
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
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
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
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
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
Axel Dörfler
1d9fd63d3a The ReadWriteLock class now has an Initialize() method to initialize the
object after creation. This enables the Inode constructor to set a better
name for the lock.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 01:12:38 +00:00
Axel Dörfler
24d6529a93 Journal::LogBlocks() now calls cache_write() if the block is already in the
log entry - this is only necessary if the buffer is not the one of the
CachedBlock object.
Journal::TransactionDone() now properly aborts transactions if possible,
instead of just writing them to disk (does only work if the log entry
was not used by other transactions already).
Added a comment about how to speed up writing the log entries a bit more
(though it's not so easy to do, and might not be much faster).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 01:10:22 +00:00
Axel Dörfler
6c66b99b6b The fs-shell kernel's PANIC() now calls the userland debugger.
Fixed a wrong printf argument (block number is %Ld) in release_block().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 01:04:53 +00:00
Ingo Weinhold
5c35d41aab AddResources must precede the rule for building the target.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 15:20:14 +00:00
Tyler Dauwalder
968997db5f new(nothrow) is desired by SLList. My definition of nothrow is
a bit sketchy here, but will work for now until I figure out the
proper way to do it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 08:25:15 +00:00
Tyler Dauwalder
c6b0bb0480 Missed a #include <stdio.h>
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 08:23:59 +00:00
Tyler Dauwalder
9b6661b079 Added PartitionMap.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 08:10:56 +00:00
Tyler Dauwalder
0d383564c3 - Added beginnings of volume descriptor sequence walking code.
- Accounted for addition of "udf_" to beginning of on-disk structs.
- Accounted for Block<typename> to MemoryChunk change


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 08:06:43 +00:00
Tyler Dauwalder
81d91d069a Added DUMP() and PDUMP() macros.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 08:04:28 +00:00
Tyler Dauwalder
56f47960a3 - Prepended each struct name with "udf_" to clarify which structs are actually
on-disk data structures.
- More endian-neutrality conversions
- More dump() functions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 08:03:47 +00:00
Tyler Dauwalder
8a079cf89c Initial checkin. Provides mapping of partition numbers to udf_partition_descriptors.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 08:01:52 +00:00
Tyler Dauwalder
15eec8a161 Single-linked list courtesy Mr. Ingo Weinhold, here temporarily
until we get our kernel C++ utils library up and running.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 08:01:08 +00:00
Tyler Dauwalder
4627317bcd Initial checkin.
Slightly more typesafe static array type than built-in arrays,
with array length information stored implicitly (i.e. consuming no
physical space in the actual struct) via the arrayLength template
parameter.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 07:58:08 +00:00
Tyler Dauwalder
4873cabb06 Renamed Block to MemoryChunk, and got rid of the template
parameter in lieu of using reinterpret_cast, which turns out to
be cleaner all in all.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 07:57:02 +00:00
Matthew Wilber
b17c6f4bc0 added BApplication object to TranslationTest so that the call to system_colors() in TGATranslator would succeed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:48:53 +00:00
Matthew Wilber
fe2aacfad7 added BApplication object so that the system_colors() function call in BMPTranslator code would succeed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:48:00 +00:00
Matthew Wilber
8ec8ccef8e added constructor test where bitmap is passed, changed to use typedef when added tests to the suite to clean things up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:30:11 +00:00
Axel Dörfler
a476bfc5b1 Now waits for a whole second on the inode to become unbusy - just in case
there is a slow drive. Note, if the system is heavily used and the thread
waiting for the inode to become unbusy is a real time thread, that time
might be not enough - don't have a better solution at hand though (other
than waiting even longer).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 22:40:14 +00:00
Axel Dörfler
3cfd8472f9 Fixed the ominous "new_vnode() already exists with different cookie" bug,
thanks to Bruno for pointing me in the right direction (that has probably cost
him several hours of his life ;-))!
Yes, it was that complicated to fix it...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 22:36:23 +00:00
Matthew Wilber
96a13ed121 added checking for memory allocation failure in MakeConfigurationView
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 18:07:29 +00:00
Matthew Wilber
d7be1587b7 initial check in for stxtinfo, a command line program to display information about Be styled text data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 17:55:27 +00:00
Matthew Wilber
8ceceb19ed added stxtinfo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 17:53:26 +00:00
beveloper
8394328625 lots of boring comparisons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 14:44:28 +00:00
Matthew Wilber
fd6e40cd0e added GetConfigurationMessage test and removed an entry for a test file that doesn't exist
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 14:38:27 +00:00
beveloper
21871f384e various bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:58:06 +00:00
beveloper
a4289a95c0 fixed initialization, added debug macros
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:37:52 +00:00
beveloper
5b4256ce42 removed debugging code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:37:05 +00:00
Matthew Wilber
bedcc99335 added GetConfigurationMessage test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 03:26:49 +00:00
Axel Dörfler
b807dfb5b1 Updated the help text for "startquery" & "stopquery" to match reality better.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 02:19:06 +00:00
Axel Dörfler
6e14268838 The kernel now has support for setting port&token of a query.
The fs_shell is now able to start up to 10 concurrent live queries. Use
"stopquery" to stop them all or just one of them, "startquery" to initiate
one, and "lsquery" to display them all.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 02:16:54 +00:00
Axel Dörfler
b0ff9520c0 The Jamfile now compiles with -fcheck-memory if MALLOC_DEBUG is set. Of course,
jam itself will also be checked then, which cries out loud for a better way to
do this. But hey, it works :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 02:14:03 +00:00
Axel Dörfler
470a60786e Updated the ToDo list; thanks to Ingo I know now a little bit more about
float/double queries :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:51:19 +00:00
Axel Dörfler
6ac535c5c5 Fixed another bad bug in the block allocator: the size of the last block
of the block bitmap could be computed wrong - this could cause all sorts
of errors like: overwriting data, creating the "new_vnode with different
cookie" problem, etc.
Should really be the last bug in that piece of code ;-P


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:50:34 +00:00
Axel Dörfler
e1d37632bb Now takes changed function of Index::Update() into account - queries on
non-indexed attributes now finally work as they should.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:47:06 +00:00
Axel Dörfler
ab47860c37 Index::SetTo() now sets fName even if the index initialization failed (for
whatever reason).
Index::Update() is now allowed to be called for those indices - in this case
it will just update all live queries.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:45:09 +00:00
Axel Dörfler
09ed3db89a Some minor style changes/clean ups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:43:14 +00:00
ejakowatz
18a8d114f5 Tests for BString convenience functions, plus a fix to BMessageField for a
bug revealed by those tests.  Gotta love those unit tests!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:12:23 +00:00
Philippe Houdoin
1a3b3db436 Fix some typo in BUILD note.
Update headers to reflect the net_data* -> net_buffer* move


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:34:13 +00:00
Philippe Houdoin
82238517b4 net_data -> net_buffer update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:29:28 +00:00
Philippe Houdoin
5a52a89c28 net_data* -> net_buffer*
Remove some debug traces


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:27:18 +00:00
Philippe Houdoin
0a936c017d net_data* -> net_buffer*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:23:37 +00:00
Philippe Houdoin
d5b2863194 Rename net_data into net_buffer, which make more sense.
Add read_buffer() and write_buffer() to access/modify net_buffer data chunks.
Add a split_buffer() function, that will split at a specified offset. To be implemented.
Remove append_buffer(), prepend_buffer() and insert_buffer(), replace by all-purpose
add_to_buffer().
Rename remove_buffer() into remove_from_buffer(), to opposite add_to_buffer()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:22:39 +00:00
beveloper
4f09fa2ff1 various small bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 23:59:16 +00:00
beveloper
359ac30644 Added automatic loading of physical input and output nodes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 21:16:53 +00:00
Axel Dörfler
917d37106e The startquery command now stops an eventually running query (which now
makes several live queries at once impossible :-).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:59:47 +00:00
Axel Dörfler
a1fe805b79 new_vnode() now complains if the vnode already exists (and panics with when
it has a different data set).
Improved the kernel's PANIC() function (now accepts varargs).
sys_open_query() now has a flags field (that can be set to B_LIVE_QUERY).
The fs_shell now supports one live query; might be enhanced later to support
more than just one (concurrently).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:56:03 +00:00
Matthew Wilber
8e2f0a9a0a added checking and printing of magic number, printing of bounding rectangle, changed member names to be more descriptive
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:44:28 +00:00
Matthew Wilber
3650ecf0a6 added more Translate testing, added tests with RLE compression on and off using a BMessage to specify which option, added tests translating from "bits" to TGA
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:50:28 +00:00
beveloper
b74540ee0d The video demo node is not a physical input.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:50:11 +00:00
beveloper
e02a6254fc Removed connecting to soundcard, since the node is not registered
with the media_server inside the AutoStart() function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:31:47 +00:00
Matthew Wilber
c30acb53ce fix for the segment violation that is caused when the system color map is unavailable and set deleted pointers to NULL just to be safe
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:18:38 +00:00
Matthew Wilber
4409942491 added macro to eliminate the chance of typos in the name strings and thus fixed at least one copy/paste error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 01:34:46 +00:00
Matthew Wilber
610eca212f initial checkin for tiffinfo, a command line tool for displaying information about TIFF image files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:55:52 +00:00
Matthew Wilber
069801512a initial check in for bitsinfo, a command line tool for displaying information about Be bitmap images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:54:51 +00:00
Matthew Wilber
a5c45f9618 initial check in for translation tools directory, contains bitsinfo and tiffinfo tools
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:52:57 +00:00
Matthew Wilber
4e2b1a4594 added translation subdirectory for tools used in developing translators
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:51:23 +00:00
beveloper
c9c07d8183 The audio mixer is now started automatically by the media kit.
It will connect itself to the default audio output.
Memory leaks removed.
Code cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:52:34 +00:00
Matthew Wilber
c9088353af removed old tests (many of which didn't work) and replaced many of them with better, cleaner tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:09:06 +00:00
Matthew Wilber
f3aa49b1b1 improved performance of CompareFiles function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:03:40 +00:00
Matthew Wilber
9edca8f79e added more checking for corrupt headers, reduced code redundancy, made a number of small tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:02:19 +00:00
beveloper
c12232ddb5 added detection and loading of default inputs and outputs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 20:33:52 +00:00
beveloper
d8d1ef215b Fixed crash, a pointer was deleted twice. Small cleanup, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 00:16:23 +00:00
ejakowatz
2a5153718e Minor tweaks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:55:32 +00:00
beveloper
97bd102167 removed some of the debug messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:36:09 +00:00
beveloper
18eed37337 removed some of the debug messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:33:32 +00:00
ejakowatz
e5b24a582e Many tweaks, mostly to support the freakiness of doing Add/FindData() with
entry_refs and BMessages.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:14:41 +00:00
beveloper
f6ae82103c Fixed deadlock, the cookie is incremented by the node, not by the media kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:13:55 +00:00
ejakowatz
80e966963f Little tweaks and fixes too numerous to count, but mostly involved with
adding entry_refs and BMessages.  Lots of stuff for specifiers and also for
sending replies (with thanks to Mike Nordell).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:13:02 +00:00
ejakowatz
9abc4d2dcd Added params for specifying whether to copy the buffer on construction.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:07:30 +00:00
beveloper
1e6f362d07 this is a demo node
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:54:02 +00:00
beveloper
11bb5731c8 Added the tone producer add-on for testing and demo purposes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:51:47 +00:00
beveloper
1b14f4182f Allow 5 concurrent instances for testing,
changed name to indicate that this is a demo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:50:57 +00:00
beveloper
acd429ac89 Fixed clock rate calculation (multiple bugs).
Fixed sound stutter after start.
Added generic macros to deal with SIS7012 and Intel differences.
Fixed SIS7012 init (PICB register was written, instead of SR).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 20:44:12 +00:00
Matthew Wilber
f4949fca43 moved common translator tests into TranslatorTestAddOn.cpp to reduce duplicate code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-22 03:58:56 +00:00
Ingo Weinhold
ed1aa75a5d Fixed the build (missing sources in Jamfile and typo in SettingsView.h) and warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 20:20:56 +00:00
Ingo Weinhold
1eed0e99e9 Added missing inclusion of <unistd.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 19:32:56 +00:00
beveloper
d6f3c208b1 Adding the Video Producer Demo Media-Add-On, from BeOS sample code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 19:21:56 +00:00
Philippe Houdoin
01172d7460 Include "unistd.h" to get rmdir() definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 10:55:12 +00:00
Philippe Houdoin
96ad33048f Fix missing close() and read() definitions: #include unistd.h added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 10:43:57 +00:00
Tyler Dauwalder
6b3fa44dd0 Forgot to keep #ifndef DEBUG macros up to date.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 08:29:36 +00:00
Tyler Dauwalder
28f8fb21ea Added NULL class name argument to DEBUG_INIT() calls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:10:25 +00:00
Tyler Dauwalder
565457fd43 Added code to search out anchor volume pointers and dump out any
volume descriptor sequences found.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:09:50 +00:00
Tyler Dauwalder
6cbf5bf379 - Added option to include class name with DEBUG_INIT() to so it's clearer which
dump() or init_check() or what have you function is printing out debug info.
- Added DUMP_INIT() for dump() functions
- Added tabCount option for class DebugHelper.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:08:31 +00:00
Tyler Dauwalder
fbdfed8191 - Fixed union/struct bitfield tricks so they should actually work as desired now
- Started the mind numbing task of making all the disk structs endian-neutral
- Started the addition of dump() functions
- Updated descriptor_tag::init_check() to treat the location() field as a disk
  block instead of an absolute address.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:03:18 +00:00
Axel Dörfler
121a2e82c0 Really fixed build (while keeping the app in the build).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 03:35:56 +00:00
Bruno G. Albuquerque
7be092433c Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 03:00:38 +00:00
Matthew Wilber
bb0ced7d76 fixed output capability check, corrected some test image file names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:06:23 +00:00
Matthew Wilber
955d1422bc fixed TGA to TGA translation so that it no longer fails to write the entire file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:03:59 +00:00
Matthew Wilber
59cd2ee4ef added new line at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:02:10 +00:00
Philippe Houdoin
885d94cdfd Move device registration out of lookup_devices(), now living in register_device().
set_mtu() hook implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 23:41:42 +00:00
Philippe Houdoin
cf86e4612e Make loopback interface less... useless!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 23:25:22 +00:00
Philippe Houdoin
266a39bd55 Fix a output bug in dump_memory() where 0x7f was displayed as-is.
Add a better interface(s) reader thread handling.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:51:23 +00:00
Philippe Houdoin
8f16d01827 Fixed an undersized memory allocation, causing heap corruption :-(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:47:04 +00:00
Philippe Houdoin
6aad418382 Add send_signal_etc() to kernel functions userland support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:44:37 +00:00
Matthew Wilber
5fdd39d609 changed name of CheckBits function to CheckBits_Tiff to avoid problems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:39:43 +00:00
Matthew Wilber
8322820bd7 initial check in for TGATranslator tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:38:15 +00:00
Matthew Wilber
777439b112 added TGATranslator test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:37:03 +00:00
Philippe Houdoin
c6199df94e Fix unwanted C++ symbols mangling in the kernel module API userland emulation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 16:00:06 +00:00
Phil Greenway
c74b73a4ec Fixed the BMenu to work properly now. :D
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 10:56:01 +00:00
Matthew Wilber
72b7d6df5d fixed Identify test so that it is more convenient to modify the list of test images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 01:48:01 +00:00
Philippe Houdoin
0d42ecaf89 Add a short note on how to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 00:07:36 +00:00
Philippe Houdoin
301e81d7a5 Better checking these than lost them one day...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 00:03:46 +00:00
Phil Greenway
cf0ad7c0c5 Added the ability to load/save settings via flattened bmessages - saves current position
next is to save outlineview settings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-19 13:51:21 +00:00
Phil Greenway
94e5d19c14 Coded by Scott Dellinger (dellinsd@myrealbox.com)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-19 10:59:29 +00:00
Axel Dörfler
cb7bb042d1 Fixed a typo in the Jamfile that prevented "cpuinfo" to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-17 15:35:55 +00:00
beveloper
3b3c3547a5 Updated jamfiles to match recent cvs changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-16 23:31:38 +00:00
beveloper
6fc1b5bacd Fix sample rate calculation based on the AC-link clock rate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-15 19:20:14 +00:00
haydentech
30fd51473f Minor header-related changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 17:21:46 +00:00
haydentech
e1d7ae79b2 Conform to new scoping rules for variables defined in a for loop
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 15:24:36 +00:00
haydentech
cf8525ee3c Default args allowed only in header (not implementation) with gcc 3.X
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 15:23:06 +00:00
haydentech
5b75be9487 Default args allowed only in header (not implementation) with gcc 3.X
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 15:14:29 +00:00
Tyler Dauwalder
04579c0307 Removed automatic DEBUG definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:43:48 +00:00
Tyler Dauwalder
f896590804 Added DEBUG_INIT() categories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:42:29 +00:00
Tyler Dauwalder
778d70ca00 - Added category support
- Moved doxs from header to cpp file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:18:41 +00:00
Tyler Dauwalder
fd67013594 Apparently I'm not allowed to link kernel modules to libroot.so... :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:17:35 +00:00
Axel Dörfler
553f11cc8b The cpuinfo command is now locally built and added to the tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 15:26:28 +00:00
Axel Dörfler
897285de73 Removed x86 dependent "cpuinfo" command from the main build (it's now added
locally in the app/cpuinfo directory).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 15:25:04 +00:00
Axel Dörfler
8f048d2b40 Added missing arch_*() functions, removed the (empty) atomic_*() definitions,
since they are implemented in the libroot's os/arch directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 15:20:47 +00:00
Axel Dörfler
9cf09b95ed Now located in src/kernel/ldscripts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 02:22:10 +00:00
Axel Dörfler
7058303f99 Added add-on.ld and moved kernel.ld to the correct location.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 02:21:16 +00:00
Axel Dörfler
b263fa5a63 Added Jamfile and fixed all warnings that popped up when compiling with -Wall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 23:45:57 +00:00
Axel Dörfler
c0f1a43053 Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 23:11:21 +00:00
Tyler Dauwalder
be45fb85b6 Revamped debugging macros:
- Updated macro formatting to be more readable
- Changed semantics to be more to my liking
- Added neat-o automatic call-stack indenting
- Added more detailed macro docs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:45:41 +00:00
Tyler Dauwalder
a44384b038 Hadn't intended to lose a step of revision history along
with the rename from Debug.{h,cpp}. This is what the
first revision of UdfDebug.{h,cpp} should have looked
like. The new updated version shall follow in the next
revision.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:43:11 +00:00
Tyler Dauwalder
13d4aa9ef9 Debug.cpp => UdfDebug.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:34:25 +00:00
Tyler Dauwalder
ccbc83414f - Started udf_mount() implementation.
- Updated to use revamped debug macros


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:33:53 +00:00
Tyler Dauwalder
4ac730182d - Started on volume recognition; volume recognition sequence walking implemented.
- Updated to use revamped debugging macros.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:33:03 +00:00
Tyler Dauwalder
9feb1a7258 - Renamed vsd_header to volume_structure_descriptor_header
- Extern'ed previously un-extern'ed char* constants
- Added volume_structure_descriptor_header::id_matches()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:30:38 +00:00
Tyler Dauwalder
0a100e1176 Made Block a template class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:28:21 +00:00
Tyler Dauwalder
fe89a5bae9 Renamed Debug.{h,cpp} to UdfDebug.{h,cpp} to cut down on
the proliferation of files named Debug.*


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:27:28 +00:00
Axel Dörfler
f48e0d551d Updated ld-script location.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 01:00:20 +00:00
Axel Dörfler
e02284d547 Are now located in src/kernel/ldscripts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 00:51:11 +00:00
Axel Dörfler
87ea713dec This file isn't used anymore (the config will be created by the build process).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 00:46:39 +00:00
Axel Dörfler
a457ef3c93 Moved the ld-scripts all in one place, instead of spread all over the
repository.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 00:45:08 +00:00
Jérôme Duval
95531d1e1b Working SoundPlayer and SoundPlayerNode, it lacks volume methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 17:41:38 +00:00
Ingo Weinhold
7f879cccff Rename SystemMain to BuildPlatformMain.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 17:29:06 +00:00
beveloper
b42b9990d6 Added C-Media codec detection.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 12:59:55 +00:00
Axel Dörfler
d94f33a308 Accidently broke Jamfile in the last revision (missing comment).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 07:38:33 +00:00
Axel Dörfler
db44cc624c Fixed a typo: don't use copy&paste...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 05:52:41 +00:00
Axel Dörfler
23d0f041d6 Added ldscripts for other kernel stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 05:46:05 +00:00
Axel Dörfler
ed6b39346e Added dumb implementations for system_time() and TLS: system_time() currently
just returns the contents of the time base register, and the TLS implementation
is only working correctly for single threaded applications. Enough for testing,
at least.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 05:44:12 +00:00
Axel Dörfler
f45e90df37 Now accepts more PowerPC "standard" defines, which allows it to build here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 03:15:41 +00:00
Axel Dörfler
14fcd1e5aa The cpuinfo app is only added to the x86 build for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 03:13:19 +00:00
Axel Dörfler
f9959bb699 CFLAGS for the driver were dependent on the x86 architecture.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 03:05:46 +00:00
Axel Dörfler
1f78a92b12 Implemented the atomic functions to get in touch with PPC assembly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 02:17:54 +00:00
beveloper
9b91bd404b minor changes, improve clock detection
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 01:12:00 +00:00
beveloper
07ce4687df Added some Analog Devices codec initialization, should work for single
codec setups, master - slave setups are not implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 00:47:14 +00:00
beveloper
309774ea11 Added variable sample rate support for prorpietary AD1819A and AD1819B codecs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 23:27:02 +00:00
beveloper
741054220d remove the junk
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 22:26:56 +00:00
beveloper
13f96b477c Verified some codec IDs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 22:23:26 +00:00
beveloper
847993cd89 Even more init functions, but Analog Devices is still missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 20:12:24 +00:00
beveloper
151291b640 Added special SigmaTel initialization.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 17:55:25 +00:00
beveloper
fd65314748 removed comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 16:23:44 +00:00
beveloper
18e76fb3b1 Changed Sigmatel Codec IDs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 16:19:35 +00:00
beveloper
e3530e2c3c support for multiple frame rates
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-09 23:52:39 +00:00
beveloper
e301acb039 Simplified initialization.
More support for proplematic codecs, special inits (patches) still need to
be written after checking datasheets.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-09 22:16:34 +00:00
beveloper
5bf06a9e02 ac97 capabilities detection,
special Realtek ALC650 support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-08 22:27:59 +00:00
beveloper
dd04a5c6eb rewritten AC97 handling
trying to detect real codec rate
support for 44100 Hz is now default


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-08 00:22:14 +00:00
beveloper
bffd89a7fd added experimental media kit kernel add-ons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:54:58 +00:00
beveloper
1ed6c90897 quick & dirty workaround
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:53:36 +00:00
beveloper
b43f227373 experimental, do not use
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:50:13 +00:00
Tyler Dauwalder
edd2334c85 Finished off the majority of the ECMA-167 Part 4 structures
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 07:26:48 +00:00
Matthew Wilber
4b9f28b545 Added testing for 1-D Group 3 Fax compressed image
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 21:50:23 +00:00
Matthew Wilber
83b8537ccb fixed issue with PHOTO_WHITEISZERO inverted grayscale images, added support for 1-D Group 3 Fax compressed images, added support for fill order 2 for monochrome images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 21:47:42 +00:00
Daniel Reinhold
cb25a0921b implemented tcsetattr()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 09:11:25 +00:00
Daniel Reinhold
15474ec36c added stubs for the termios speed control functions
they are stubs because the BeOS does not support them


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 08:06:33 +00:00
Daniel Reinhold
f291226628 initial implementation of ttyname()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 07:13:44 +00:00
Daniel Reinhold
789a8d2791 add termios to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 03:29:59 +00:00
Daniel Reinhold
d122daf52a initial support for termios in libroot
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 03:25:10 +00:00
Daniel Reinhold
953aa0fc95 fleshed out some tty stuff...
isatty() is fixed - altho this is basically academic since we don't have any
drivers for terminal devices written yet (but at least the code is ready when we do)

also, ctermid() is implemented - which is of no big consequence


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-04 00:53:22 +00:00
Axel Dörfler
060ea25f57 Fixed makeflop on PPC (applied NewOS change 1778).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 17:24:23 +00:00
Axel Dörfler
7cbca7f74c boot headers have been moved.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:33:09 +00:00
Axel Dörfler
b977a6087c The stage2 boot loader now links against the new arch dependent boot_arch_stage2.o.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:32:35 +00:00
Axel Dörfler
75d416a23e Fixed Jamfile - it doesn't try to build all architectures anymore, but only
the one it can.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:29:04 +00:00
Axel Dörfler
d0c59e6faf boot headers have been moved.
Now builds a boot_arch_stage2.o object file that can be used by the architecture
independent Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:28:05 +00:00
Axel Dörfler
b2704e693c boot headers have been moved, some cleanups, dbg_save_registers() renamed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:20:38 +00:00
Axel Dörfler
c182223b6e Updated core/arch/ppc section to be up-to-date again. Note, this only let
it build again; it doesn't work yet at all (pretty similar to NewOS change 1772).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:15:41 +00:00
Axel Dörfler
eda9fea884 Fixed Jamfile to not use OBOS_TARGET_DIR any longer (but OBOS_ARCH instead).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:12:46 +00:00
Axel Dörfler
99b8586b91 boot headers have been moved.
Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:11:59 +00:00
Axel Dörfler
16b357f26a Renamed dbg_save_registers() to arch_dbg_save_registers() since it is implemented
in the arch dependent section.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:10:54 +00:00
Axel Dörfler
53a2f3f583 boot headers have been moved.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:09:41 +00:00
Axel Dörfler
4802643275 stage.2 header has been moved.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:09:01 +00:00
Axel Dörfler
64aebcff0e Added glibc's proprietary strchrnul() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:50:10 +00:00
Axel Dörfler
6e5e43433e atexit() is now thread-safe.
Now calls _IO_cleanup() instead of __cleanup() to be able to be compiled
against glibc stdio as well.
Renamed variables to be much nicer.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:47:56 +00:00
Axel Dörfler
f57208999e Renamed __cleanup() to _IO_cleanup() to be able to compile the glibc version
as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:40:53 +00:00
Axel Dörfler
2b64308b14 Removed an unused header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:39:26 +00:00
Axel Dörfler
80403b993b Fixed arch Jamfile to not use OBOS_TARGET_DIR any longer.
Added math-arch PPC files - general status: working but not optimized.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:38:58 +00:00
Axel Dörfler
a0c16735c9 Added a temporary isatty() implementation (just checks for the fd number for now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:36:24 +00:00
Axel Dörfler
be3d86f793 Added empty Jamfile for the PPC build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:31:22 +00:00
Axel Dörfler
4faf27e08b Moved the arch-dependent driver generation to the correct Jamfile (it's
now built locally in the arch driver itself).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:26:19 +00:00
Axel Dörfler
3c2a0bd1f3 Added empty Jamfile for the PPC build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:20:19 +00:00
Axel Dörfler
019bc8a760 Removed an unused header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:19:46 +00:00
Axel Dörfler
ec639282c8 Added files to build the PPC version. rldreloc.inc doesn't do anything
useful yet, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 13:47:03 +00:00
Axel Dörfler
8b75b64e81 Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 13:44:56 +00:00
Axel Dörfler
05928f80cd Cleanup of the null/zero drivers - removed unused includes, ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 03:02:48 +00:00
Jérôme Duval
c8093d3c8d ParameterWeb state is now saved and restored for each node.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-02 16:26:53 +00:00
shadow303
79441319f9 Fix FillArc and FillBezier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-30 00:36:09 +00:00
shadow303
7be0e66c42 Tweak the hack test of drawing routines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-30 00:35:18 +00:00
shadow303
c7b36220bb Fix ROUND macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-30 00:34:40 +00:00
Marc Flerackers
47bc8348ea *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 07:26:55 +00:00
Matthew Wilber
e12c41efa4 added Translate tests to translate TIFF images to Be Bitmap (bits) images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 01:23:27 +00:00
Matthew Wilber
d1363d0da5 moved CompareStreams function to TranslatorTestAddOn.cpp so that multiple translator tests could use it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 01:21:43 +00:00
Matthew Wilber
1f52e8a2df moved CompareStreams function from STXTTranslatorTest to this file so that multiple translators tests could use it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 01:21:09 +00:00
Tyler Dauwalder
25b288e0dd Initial checkin (and this time I better not be writing over somebody else's
files, damn it! :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 00:26:13 +00:00
Tyler Dauwalder
3807c90cf1 Added udf tests to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-29 00:11:29 +00:00
Tyler Dauwalder
a8850e00d1 Augmented 'quit' command for those of us who type 'exit' by habit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 23:32:55 +00:00
Tyler Dauwalder
4a547c1282 Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:59:34 +00:00
Tyler Dauwalder
cba5c5b207 Added udf.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:59:12 +00:00
Tyler Dauwalder
b93d2a8132 Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:53:46 +00:00
Tyler Dauwalder
388e593dfa Initial checkin. Other than a few bogus implementations to allow the
udf_shell to mount, everything is just skeleton functions currently.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:52:59 +00:00
Tyler Dauwalder
ad43fbba82 Borrowed straight up from bfs. These will disappear when I get off my
butt and move them to /headers/os/drivers and /src/kernel/core or
wherever we agreed to consolidate them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:51:12 +00:00
Tyler Dauwalder
29008bcfd8 Initial checkin. Currently does nothing particularly useful.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:47:29 +00:00
Tyler Dauwalder
70eaa1f5b5 Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:46:54 +00:00
Tyler Dauwalder
1a2f87c146 Initial checkin. Structures through ECMA-167 Part 3 (i.e. volume recognition)
mostly completed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:46:14 +00:00
Tyler Dauwalder
e75bed9707 Initial checkin. Inherited from bfs, then stripped bfs specific stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:45:11 +00:00
Axel Dörfler
a8130cded6 exit() now calls _thread_do_exit_notification().
Note, this is incompatible with the BeOS behaviour, which didn't call
the hooks when you exit()ed a program.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 11:11:26 +00:00
Axel Dörfler
c1615a93f0 No longer calls _thread_do_exit_notification() as exit() now does it.
Note, this is incompatible with the BeOS behaviour, which didn't call
the hooks when you exit()ed a program.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 11:10:09 +00:00
Matthew Wilber
a11d841c28 eliminated the debugging printf statements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 02:44:44 +00:00
Matthew Wilber
294675df12 added more images to the Identify() testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 02:38:57 +00:00
Matthew Wilber
58100bab8b changed the Identify string to report information about the type of the TIFF image
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 23:41:36 +00:00
Philippe Houdoin
2a93d8472f Fix unrecognized Pentium III models, and add newer AMD Athlon and Duron recognition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 21:28:47 +00:00
beveloper
c123bb9936 better in CVS than lost
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 16:09:01 +00:00
shatty
c5788c0416 slightly less awful scrollbars
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-24 08:09:50 +00:00
shatty
0873b6e545 move towards smarter scrollers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-24 07:55:28 +00:00
Matthew Wilber
39749b49af added support for reading uncompressed, packbits encoded, 4, 8-bit palette based TIFF images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-23 03:11:05 +00:00
Matthew Wilber
0a9c358574 removed unnecessary including of TIFFTranslator header to fix compliation of this test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-23 02:39:54 +00:00
shatty
442abe27a7 remove bemail
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 22:42:29 +00:00
shatty
4bf790524f basic application model stolen from styled edit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 09:21:48 +00:00
shatty
e648cd8a9d cosmetic cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 06:32:09 +00:00
shatty
5abaecfeb2 MuTerminal is coming to OBOS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 05:37:15 +00:00
Matthew Wilber
08c96d28c5 added support for reading 8, 4-bit uncompressed, packbits encoded grayscale TIFF images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 01:51:33 +00:00
Axel Dörfler
d9e72f220a Reenabled the broken assert in free() and applied Travis' NewOS patch 1764
(which fixes that assert).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 08:25:26 +00:00
Tyler Dauwalder
67d102db0b Added a (somewhat cryptic) usage note when run with '--help' argument
for slow learners like me.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 07:56:17 +00:00
Matthew Wilber
91ae8a2423 changed TiffDetails to a class so that clean up would be easier and added logic to handle palette images (though they will not open yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 03:41:33 +00:00
Matthew Wilber
5cd3d8f8e3 change TiffDetails to a class so that cleanup would be easier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 03:40:23 +00:00
Jérôme Duval
056e08e286 Cleanups
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 00:16:26 +00:00
Jérôme Duval
4395e32018 Bug fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 00:10:24 +00:00
Jérôme Duval
6d6c8c465a Added rev 10 for VT8233, debug traces
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-21 00:02:23 +00:00
Axel Dörfler
c1705065da Doh, forget to add the license and author information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-20 18:51:55 +00:00
Axel Dörfler
74b016ecad Added a basic pthread_mutex and pthread_mutexattr implementation which
will come in handy for the glibc stuff - and is great for our libroot.so,
too.
Everything should work except for: pthread_mutexattr_(set|get)prioceiling/
protocol(). That might be added at a later time, though, I don't consider
it a high priority.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-20 18:48:54 +00:00
Michael Pfeiffer
0008ea004e Link against static libpdf.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-20 14:15:34 +00:00
Matthew Wilber
ac914e611c Fixed Huffman decoding issue. The loop was exiting without waiting for a terminating code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 17:22:27 +00:00
Ingo Weinhold
3906f59e6a Removed the iso9660 module from the build. For the time being we can't use it anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 14:40:33 +00:00
DarkWyrm
511004cc7a Removed a couple problems caused by Adrian's recent changes in ServerProtocol.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 19:58:43 +00:00
Axel Dörfler
8120de4558 Implemented on_exit_thread() notification, making use of the new second
thread argument.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 09:41:10 +00:00
Axel Dörfler
08b73e5905 Added another argument parameter for the thread creation code. Helps
implementing a more efficient on_exit_thread().
Note, this extra parameter is currently only used for user space code,
not yet in the kernel; thus on_exit_thread() is not available in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 09:38:28 +00:00
Axel Dörfler
8b5c1ef5f6 Does now call _thread_on_exit_notification().
Note, this probably should be called in exit() not here (for now, I copied
the BeOS behaviour).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 09:34:49 +00:00
Axel Dörfler
f68d61b912 Added a test for the on_exit_thread() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 09:17:29 +00:00
Matthew Wilber
c61687ba31 Added support for Huffman compression, though, it doesn't work fully yet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 03:19:36 +00:00
shadow303
28adeff1cb Add some of the hardware acceleration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 00:40:26 +00:00
DarkWyrm
1b7390044f Checkin for Adrian Oanca
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-17 20:41:54 +00:00
beveloper
255a01c76a Added a new license to this file, as I'm the author.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 23:31:32 +00:00
shatty
293c3378f3 add newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 03:54:47 +00:00
shatty
fe5cc7b493 add newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 01:56:41 +00:00
Ingo Weinhold
150bfa3714 Added implementation of the node monitoring functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-13 15:02:24 +00:00
Matthew Wilber
2cb55578bd initial check in for structure used to decode Huffman encoded TIFF images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-13 04:10:36 +00:00
Jérôme Duval
822fd93938 Auvia driver for Via audio chipsets VT82C686 and VT8233/35
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-12 00:27:14 +00:00
Jérôme Duval
8959b6dde2 Added auvia
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-12 00:16:02 +00:00
Matthew Wilber
da10aec84a Added support for reading uncompressed / packbits compressed monochrome TIFF images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-08 03:10:01 +00:00
Matthew Wilber
08a14aa7fc removed StreamBuffer files from this directory so that they would only exist in one place: the TGATranslator directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-07 02:43:16 +00:00
Matthew Wilber
ac626b9112 updated so that StreamBuffer code only exists in TGATranslator directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-07 02:41:47 +00:00
Matthew Wilber
f44805d148 updated StreamBuffer with features used by TIFFTranslator, updated TGATranslator to use new version of this class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-07 02:40:41 +00:00
mahlzeit
41d848e7c0 simplified the app_version resource
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-06 12:26:49 +00:00