Commit Graph

3582 Commits

Author SHA1 Message Date
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
Niels Sascha Reedijk 32af767502 Update build documentation to acknowledge the new 'jam install-networking' rule
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 18:09:15 +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
Marc Flerackers 12c3dcc26d This is the full header of BTextControl
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 10:09:19 +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 5657491aac changed format into ioFormat to indicate that this is a input and output parameter
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 14:48:52 +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 77584bdf01 Make a union struct to wrap all ioctl() args.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 01:12:24 +00:00
Philippe Houdoin ceeee96387 Add sis900 and rtl8139 network adapters drivers to the whole network build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 01:09:56 +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 58a5c4bb6e Rollback to original xBSD DNS resolver implementation _res global variable name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 00:10:13 +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
Philippe Houdoin c6f77f6c2c Trying to be quicker than shatty to add more ids, courtesy of pulse 1.07 on bebits.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 21:38:16 +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
Niels Sascha Reedijk 3ffe393cd6 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.:


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 19:01:09 +00:00
Philippe Houdoin 818066e6fc Fix a missing return carriage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 16:38:26 +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 57ec89d1b5 Removed definition of AR as 'ar t'. Default is 'ar ru', which should be just fine. If anyone experiences problems don't hesitate to tell me.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 18:30:05 +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
Ingo Weinhold 7bc56df125 CP = copyattr --data, under BeOS. Added general installation rules OBOSInstall, OBOSInstall{Abs,Rel}SymLink.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 18:13:22 +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
Philippe Houdoin 81fff049c0 Add BONE disabling instructions to avoid a quick KDL trip.
Re-enable being Net+ friendly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 01:15:37 +00:00
Axel Dörfler 154aaaf273 Removed B_NOT_SUPPORTED again - EOPNOTSUPP is a socket specific error code
and it should have read B_NOT_SUPPORTED_ON_SOCKET.
We could reintroduce it later (along with other missing network errors).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:38:45 +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