Commit Graph

18962 Commits

Author SHA1 Message Date
Axel Dörfler
a9d09fc255 Added _kstatfs_() for binary compatibility with some BeOS apps (most notably, SoftwareValet).
We might want to remove it again once we have a replacement for it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 21:01:18 +00:00
François Revol
7b72625fe7 cleaned up includes; removed useless files; switched from Zeta's BVector to BList.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 20:45:25 +00:00
François Revol
8e9a5067ef more Zeta vs Haiku USB Kit cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 20:11:56 +00:00
François Revol
fc812aa9ae if the Jamfile in devices prefs is correct this is supposed to generate the 3 headers listing addons...
But it doesn't work yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 19:41:31 +00:00
François Revol
44ece1b56c I *love* Jam :D
still need to autogenerate some headers... (you still need to 'make' it first).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 19:06:18 +00:00
François Revol
634dc81de9 remove zeta-specific stuff from the use of USB Kit, USBKit.h is all we need.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 18:58:17 +00:00
François Revol
d8501937f6 update makefile to reflect tree change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 18:30:56 +00:00
François Revol
74ba589883 empty now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 18:28:25 +00:00
François Revol
601cedce6a move those down a bit to simplify jamfile writing (where are my wildcards ??)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 18:24:36 +00:00
Axel Dörfler
0a9c7fa8eb * Made the whole thing a bit more font sensitive - looks more or less good with an
18pt font, now.
* Added a few TODO items.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 17:57:14 +00:00
Axel Dörfler
15e334974b Calling ResizeToPreferred() on a BBox now honours its current size, IOW it won't get
any smaller due to this (before, a box without a label would resize itself to 0/0).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 17:27:32 +00:00
François Revol
f9c52afd6a Remove old usb kit fro Be in favor of the new rewritten one. At least we have one now :D
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 17:14:35 +00:00
Axel Dörfler
125809842e Added special VESA mode support to the Screen preferences: the "Refresh Rate:" menu field
will be hidden, and on resolution change, you get a message that tells you that the change
will take effect with the next reboot.
The "vesa" mode file will be written on exit if any changes were made.
This closes bug #547.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 17:14:32 +00:00
Axel Dörfler
fc317af25e Writing to attributes was deadlock prone; the BFS volume lock was acquired with
the BFS Journal lock held.
Since our get_vnode() is no longer unsafe (unlike Be's version of it), we can
get rid of the UNSAFE_GET_VNODE stuff, which also solves this bug.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 17:09:21 +00:00
Michael Lotz
3a630146d2 * Minor cleanup
* Fixed wrong wording in comment

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 16:44:37 +00:00
Michael Lotz
a0398f333c * Added configuration and interface strings to the output
* Added printing generic descriptors from 2000 sample code archive
* Added license header
* Adjusted style

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 16:40:36 +00:00
Michael Lotz
3c0b8e7fff Commiting reimplemented USBKit that is compatible with the old Be sample code version.
It is supposed to be cleaner and more object oriented. It also adds some features (like a string getter for the interface) that were appearantly left out in the Be implementation.
It is currently built as a small static library from src/libs.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 15:55:34 +00:00
François Revol
d86cd90850 gcc4 is also picky about writing to const variables... grr
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 14:38:42 +00:00
François Revol
eed616a9cd Cosmetic. As gcc4 doesn't seem to get multi-line strings, use multiple one-line-strings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 14:27:14 +00:00
Stefano Ceccherini
4446e07ae9 Use BMenu::RemoveItems() instead of looping... I hope I caught all
occurrences.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 11:22:12 +00:00
Waldemar Kornewald
aeb2c49f00 Little test commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 08:34:20 +00:00
Jérôme Duval
1056069a24 fix warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 20:39:18 +00:00
Jérôme Duval
ae5385c497 fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 20:25:08 +00:00
Axel Dörfler
3901c6aacf * "db/ds/dw/dl" now print all isprint() characters, not only isalnum().
* Also, the output no longer has the leading "0x" to ease reading.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 17:51:51 +00:00
Axel Dörfler
4108d5de80 Now checks if the address space pointer is NULL before dereferencing it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 16:57:47 +00:00
François Revol
2781a652ae Let it B, let it B...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 16:55:37 +00:00
François Revol
72abc68c9f we'll use B-prefixed classes there. make functions static.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 16:27:13 +00:00
François Revol
a081d007e8 the info.cpp sample from usbkit-99-03-23.tgz
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 16:08:31 +00:00
François Revol
9b84f25119 The original (sample code version) USB Kit from Be, as from ftp.be.com/samples/usb_kit/usbkit_99-03-23.tgz
Some files renamed. Won't build yet with our usb_raw driver due to different namings. classes need to be B-prefixed anyway. USBKit.h needs to be split like in zeta as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 15:59:44 +00:00
Michael Lotz
f891e74eee Fixed wrong usage of object types in OHCI. The types are bitmasks, not values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 15:19:01 +00:00
Axel Dörfler
9ecaa867f7 Applied patch by Vasilis Kaoutsis: now checks for the MSR feature as well; obviously
some Pentium 200 MMX pretend to support MTRRs.
This should fix bug #553.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 14:45:50 +00:00
Axel Dörfler
7954a14f87 Add a little hack to the "dw/db/ds/dl" commands that allows you to dump the contents
of a physical memory location.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 14:12:11 +00:00
Axel Dörfler
80bca3d3c8 Added NTFS file system add-on written by Troeglazov Gerasim (a.k.a. 3dEyes**).
It's based on ntfs-3g-0.20070102-BETA, and therefore under the GPL license.
Writing is currently disabled for safety reasons, and you'll have to mount
it manually, as the identify hooks are not yet implemented.
Thanks a lot for your work!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 08:13:07 +00:00
Axel Dörfler
61b44b9345 Fixed a bug introduced by DarkWyrm: he obviously missed that there are two locations
where you have to set the default value of a setting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 21:02:45 +00:00
DarkWyrm
2395270daa Label tweaks as agreed upon on list
"List folders first" and "Show Full Path" default to on now


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 20:50:14 +00:00
Axel Dörfler
9353267722 fs_unmount_volume() gets a path to the mount point, not the (eventual) device
behind the mount point; BPartition::Unmount() would never unmount a volume.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 18:44:20 +00:00
Axel Dörfler
83dd342c4a * Implemented the AutoMounter for Haiku - it's barely tested at this point, but
at least mounting/unmounting seems to work. This fixes bug #191.
* Also changed the way how Tracker automatically mounts/unmounts volumes: it now
  only differentiates between removable and fixed storage, not between initial
  scan at boot, and periodical scans during runtime. Also removed all HFS stuff.
* Got rid of _INCLUDES_CLASS_DEVICE_MAP for the BeOS build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 18:03:47 +00:00
François Revol
34b5fabe88 Fixed parsing of param string. It now starts mounting, but blocks waiting for a reply. Is udp working already ??
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 16:41:14 +00:00
Axel Dörfler
02f3505a31 The screen saver is now stopped before deleting its view...
Thanks to John Drinkwater and Fredrik Ekdahl for the hint!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 13:20:20 +00:00
François Revol
943a16689c hack around to get a string from params for now.
Cleaned up error handling in fs_mount.
Don't have time to test but it should now work under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 11:07:14 +00:00
François Revol
06615cfc7b hack around to pass a string for now...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 11:06:25 +00:00
Michael Pfeiffer
a565f1ff5d Next attempt to fix the build.
Of course forgot to check in the updated Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 09:33:54 +00:00
DarkWyrm
9e88e05b1f Fixed non-Haiku build targets for libicon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-21 03:19:27 +00:00
Michael Pfeiffer
602ac50b9f Fixed broken build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 22:51:56 +00:00
François Revol
ca9f61b3d8 Add mount_nfs to the build. this should probably go away, mount should be enough.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 20:24:46 +00:00
François Revol
3567f14ef5 It will probably build better with a jamfile :D
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 20:14:58 +00:00
François Revol
70210944a9 Move mount_nfs to network bins
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 20:03:38 +00:00
Michael Pfeiffer
fcccd8b759 Some printing related improvements:
* libprint based drivers can now show a preview window and show progress
  window while printing contributed in part by Hartmut Reh.
* Libprint and PCL6 driver bug fixes.
* Code clean-up (removed code duplications, coding style, copyright text)

Builds under Linux. Not tested under BeOS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 15:52:37 +00:00
François Revol
ea5771750d Add nfs to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 14:15:40 +00:00
François Revol
512153bc85 iAdd nfs to the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 14:13:45 +00:00