Commit Graph

7573 Commits

Author SHA1 Message Date
Axel Dörfler
5325a3e53d Fixed a major bug in the inode code: Inode::GetTree() was called completely
without any locking, but was not safe to be used this way.
Now, B+tree creation is done when the inode is created, and thus no further
locking is needed.
Although this reduces the speed when doing directory listings with many sub-
directories, any errors are reported upfront, and not only when you access
the tree directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:48:30 +00:00
Axel Dörfler
c46a51bb81 Fixed oddly indented comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:45:44 +00:00
Axel Dörfler
fd88c05421 Added a possible optimization to the list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:44:51 +00:00
Niels Sascha Reedijk
c1144286ba Update/add licence notice
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:23:49 +00:00
Jérôme Duval
63207ba7ae Removing yes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 18:37:24 +00:00
Jérôme Duval
de712a53c1 Adding top, clear, removing echo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 18:06:04 +00:00
Rudolf Cornelissen
6274eb68b3 fixed NM2070 hardcursor trouble: programming panel modelines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 17:50:22 +00:00
Rudolf Cornelissen
b133b8a180 fixed NM2070 hardcursor trouble: programming panel modelines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 17:38:38 +00:00
Rudolf Cornelissen
4b09e7a388 fixed NM2070 hardcursor trouble: programming panel modelines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 17:32:00 +00:00
Rudolf Cornelissen
2b9563f4fc centering update for external monitor only mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 12:28:04 +00:00
Rudolf Cornelissen
a38565b80b centering update for external monitor only mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 12:19:22 +00:00
Niels Sascha Reedijk
e3964db291 Summary: Merge with development branch
Patches applied:

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-7
   Created memory area for the framelist

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-8
   Fix the iobase offset, so that the thing actually is correct

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-9
   Device Address 0 is reserved. 1 is the one for root hub

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-10
   Changed packet to transfer

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-11
   Merge with Axels changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-28 07:50:37 +00:00
Niels Sascha Reedijk
0f6609e85c * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-5
Commit (in between) because of a switch of development-machines

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-6
   Implement basic hub init

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-7
   Implement a bit more of hub operation

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-8
   Device Adress 0 is reserved for the default pipe!

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-9
   Implement basic Pipe stuff

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-10
   Create basic chunk allocation

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-11
   Add Required util.c/util.h

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-12
   Provide locking for the stack and make AllocateChunk thread-safe

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-13
   Integrated util.c in stack class (cleans up a little)

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-14
   Improve Pipe and give the Busmanager its default pipe

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-15
   Make the Device class speed aware

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-16
   Make Chunk allocation code more dynamic

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-17
   Small test-commit to test if webdav is working -- ignore

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-18
   Changed Packets into Transfers

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-19
   Fix mistakes in host_controller.c

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-20
   Advanced a little more in the Pipe stuff

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-21
   Merge with mainline and add newlines at the end of files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-28 07:46:35 +00:00
haydentech
af79a4edf2 Fixed BBitmapStream return types that didn't match the class definition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 19:49:35 +00:00
Rudolf Cornelissen
4a5e90dce1 centering fix: _this_ time it actually works...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 19:41:33 +00:00
Rudolf Cornelissen
0f6e132ba8 panel centering update (fixed syncpol programming)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 19:23:02 +00:00
Rudolf Cornelissen
92c600065f centering update (fixed syncpol for flatpanels)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 19:06:30 +00:00
Stefano Ceccherini
0bedbce52c Fixes the build when TRACE_SCHEDULER is defined
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 14:46:10 +00:00
Stefano Ceccherini
f0fbfe24dc Some gcc 3 fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 08:37:19 +00:00
Stefano Ceccherini
215b13a369 A patch from Sergei Panteleev:
- for very high resolutions, the preview image wasn't drawn. Fixed.
- preview image wasn't drawn if you clicked the Return/Default buttons without applying the changes. Fixed.

Took the chance to cleanup some code a bit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 07:19:38 +00:00
Axel Dörfler
0692dc0cdd Fixes the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 17:00:27 +00:00
haydentech
49c997b9b1 The sys/types.h header define varies by platform, so check for both possibilities
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:54:54 +00:00
haydentech
0ddc8de6c6 Wrong variable used during unarchive
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:43:58 +00:00
haydentech
759fcf143d FontStyle::Name() was returning the path, not the name. It looked like an unfinished cut-n-paste from Path().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:41:29 +00:00
haydentech
5c210a480b gcc3 warning and error fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:38:58 +00:00
Philippe Houdoin
986f1ba65e Conform to 'okok' message protocol.
HP JetDirect related parameters should be added to the message in future.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 15:37:30 +00:00
Axel Dörfler
6d7ccae449 Separated exported from private functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 15:11:39 +00:00
Philippe Houdoin
14167249da Add USB device ID query and parsing.
Now returning an 'okok' 'ed messaged filled with USB printer information.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 15:09:53 +00:00
Philippe Houdoin
4c87a6fe46 BMessage passed to add-on's init_transport() should be set to 'okok' on success.
2 years before I think about inspecting the BMessage returned by Be's transport add-ons :-(


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 15:00:37 +00:00
Philippe Houdoin
9dad5a5bec Was missing, needed by "USB Port" print transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 14:57:57 +00:00
Jérôme Duval
5f79263af9 *** keyword substitution change ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 08:54:39 +00:00
Jérôme Duval
5ddc4cae1d Fix newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 08:48:50 +00:00
Jérôme Duval
9e0bed9949 Added gnu bc 1.06
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 08:28:32 +00:00
Jérôme Duval
f337194053 Added gnu bc 1.06
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 08:01:51 +00:00
Axel Dörfler
d9e5697c73 Selection changes via keyboard no longer copy DiskProbe's original behaviour,
but can be done like in BTextView.
Fixed a strange drawing bug that could happen on startup (R5): IsFocus()
could return false, even if the view had focus.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 23:44:41 +00:00
Philippe Houdoin
ead8e787ae Ooops, seems the auto-merge CVS feature didn't work at commit time!
Undelete timer.c.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 21:13:25 +00:00
Axel Dörfler
cc83827621 Could not delete a selection using backspace if that selection started
at the first character.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 19:58:30 +00:00
Rudolf Cornelissen
28ea1ff2ad NM2070 virtualspaces restrictions updates
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 19:43:16 +00:00
Philippe Houdoin
19d139a450 Package ipro1000 and rtl8169 sample settings files along these drivers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 19:35:44 +00:00
Axel Dörfler
5aacd7f134 Fixed the PPC kernel build; now in sync again with the changes made
to arch/thread.h and arch/smp.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 16:33:47 +00:00
mahlzeit
7513f62a98 Removed compiler warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 14:44:01 +00:00
Rudolf Cornelissen
d401e5be78 added full 2D acc for NM2070
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 12:22:34 +00:00
Rudolf Cornelissen
ab3108351c added full 2D acc for NM2070
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 12:12:05 +00:00
beveloper
cdbdde8526 sample settings file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 21:05:09 +00:00
beveloper
41a7b4b866 Made receive and transmit buffer count configureable.
Made MTU configureable for net_server users.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 21:04:24 +00:00
beveloper
6edb980aab small debugging output cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 21:02:36 +00:00
beveloper
38f6c508a9 Revisited the mtu handling. Poor net_server users can now force a lower
MTU by using a setting file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 18:05:38 +00:00
beveloper
87042aadbe made mtu configureable and lowered default to 1500
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 17:32:32 +00:00
beveloper
a236b9c6a1 removed event_restart_tx, as this is already handled in the device write hook
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 17:30:46 +00:00
Axel Dörfler
0865e4b204 Added syscall for rename_thread(), courtesy of Jack Burton.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 12:12:58 +00:00