Commit Graph

19101 Commits

Author SHA1 Message Date
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
François Revol
4b05e55514 NFS now builds for Haiku. Still needs fixes to be able to mount.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 14:12:54 +00:00
Axel Dörfler
6a50382249 * Mixed consumer with consumerRef to identify the cache in the consumer list;
this fixes bug #227 again (which I recently opened again accidently).
* We actually switched the last consumer's source without having acquired its
  lock! This fixes some rare random app crashes as well as potential kernel
  crash ("cache to be deleted still has consumers").
* Some more comments to explain why things are done and can be done the way they
  are done :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 12:49:44 +00:00
DarkWyrm
a9ab9d2c21 Removed "Stippled Zooming" item and made dithering automatic in 8-bit screen mode
"Keep Proportions" in resizing window became "Keep Original Proportions", which was suggested by korli and is the best suggestion IMO
Bilinear scaling is on by default
I like ShowImage's menus now. :^)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 03:18:10 +00:00
François Revol
211a7c8308 Add googlefs to the image, and the needed socket module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 02:22:57 +00:00
François Revol
13ef648c91 Get googlefs in the build; and nfs (but disable it for now).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 02:12:47 +00:00
François Revol
8130aa42ac Disable the quite verbose debug, as I'm sure everyoen will want to test it :D
Btw, to try:
mkdir /google
mount -t googlefs /google
(in BeOS you must give a dev to mount, use /dev/zero to test)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 02:11:17 +00:00
François Revol
d256fad4bb \o/ \o/ This is the mighty GoogleFS for BeOS, now also for Haiku. \o/ \o/
Quick, before I loose googlefs.h again (bloody /bin/deres which overwrites foo.h for foo.rsrc !!!!)
A makefile is provided for BeOS/Zeta, the Jamfile currently only builds for Haiku. The makefile.ufs is for UserlandFS.
The source code is quite messy, beware.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 02:04:51 +00:00
François Revol
b3e65bfd2e Allow device-less mounts for things like googlefs...
Accept -o as -p; update usage text.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 00:35:17 +00:00
Axel Dörfler
eaac07392a * Fixed build under R5/Dano that was broken since Stippi added vector icon support.
* Separated Haiku's icon stuff a bit better, so that Tracker can still be built
  without having Haiku headers around.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 23:16:41 +00:00
Axel Dörfler
6486616423 * To get away with that empty mount menu, it now at least shows all mounted and
mountable volumes - there are no icons yet, and it will also not work at all,
  that is, you cannot mount/unmount any volumes yet.
* Got rid of _INCLUDES_CLASS_DEVICE_MAP in MountMenu.cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 23:01:42 +00:00
Axel Dörfler
dff7fdee70 Now it's self-containing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 22:59:28 +00:00