Commit Graph

3650 Commits

Author SHA1 Message Date
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
Axel Dörfler
9de96ae6c6 Changed new codes after suggestions from Ingo and Marcus.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:08:33 +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
68145d0df8 Added some new B_* names for existing POSIX error codes - please review.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 20:37:43 +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
Niels Sascha Reedijk
1e90e22397 Updated build instructions. This may attract more testers of the network kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 04:44:15 +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
33aa726c5a Added extra new driver_settings API calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:46:13 +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