Commit Graph

18834 Commits

Author SHA1 Message Date
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
Marcus Overhagen
2313ae7997 Modified SetValue to do nothing when the value is already set.
This seems also be done it BeOS R5 and does remove the constant 
flickering in the MediaPlayer slider.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 22:32:35 +00:00
Marcus Overhagen
374fb579b1 remove debug output from interrupt handler
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 21:49:41 +00:00
Axel Dörfler
a803529b13 As Marcus noticed, some icons were gone after my last change; in fact no icons
were shown for all files without an own icon, and without one from its MIME type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 20:59:37 +00:00
Axel Dörfler
e30afed439 As per Ingo's request, I moved calling BRoster::Private::UpdateActiveApp() into
the app_server (and updated all comments that said otherwise).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 16:41:58 +00:00
François Revol
2740b98d3e Hey, we do seem to have a socket_module of some sort. Hope it works.
Added wrapper code for ksocket header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-19 03:24:13 +00:00
Marcus Overhagen
ef6a7a6308 reworked device identification, calmed down debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 22:44:11 +00:00
Michael Lotz
57205205ed Added the EHCI module to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 22:40:50 +00:00
Michael Lotz
a3dfc2743a * Implemented clearing port enabled change
* Fixed build with debug output turned on
* Cleaned up the uhci_hardware header a bit

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 22:28:34 +00:00
Michael Lotz
c4cce7277c * Revised locking of the USB stack classes
* Implemented the Hub destructor to properly free all of its child devices
* Added FreeDevice() and FreeAddress() to the BusManager class
* Added timeout to ControlPipe::SendRequest()
* Changed how the recursive device reporting works so that it respects the support descriptors of a driver
* Enabled driver rescanning for drivers that are not currently loaded but still registered (R5 only as the devfs function is yet missing from Haiku)
* Changed the way usb_ids are handed out so that free ones are reused instead of just running out of ids
* Fixed driver registration so that each driver is only added once (and devices are reported once per driver)
* Unified debug output and fixed some warnings with debug output turned on
* Fixed some style issues and removed stray whitespaces

Overall the USB stack should now be much more reliable. It should not crash on disconnects anymore and repluging of a device should be noticed by all drivers.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 22:25:02 +00:00
Marcus Overhagen
dff0f5c833 added ahci to bootlinks, so the system will try it during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 21:30:38 +00:00
Axel Dörfler
10da8181b5 * Moved non-public classes into the source file.
* Fixed vector icon drawing under Haiku; but it might now look strange in non-32 bit
  modes (background gets a slightly different color, but this might be an app_server
  bug).
* Got rid of the TSwitchManager::IdleTime()/Touch() stuff.
* Key repetitions are now accepted in the switcher, only the first (tab) key repetition
  to bring up the window is not.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 18:35:13 +00:00
Axel Dörfler
c2f641f2e5 Turns out the whole "active app" mechanism in the registrar wasn't used at all; the
Switcher now works as expected.
* Renamed TRoster::ActivateApp() to UpdateActiveApp(), as the app is already activated
  at that point (the registrar only keeps track of it).
* BWindow::DispatchMessage() now calls the new BRoster::Private::UpdateActiveApp()
  method when it receives a B_WINDOW_ACTIVATED message.
* Added BRoster::_UpdateActiveApp() which calls the new B_REG_UPDATE_ACTIVE_APP.
* Removed now unused B_REG_ACTIVATE_APP.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 17:45:08 +00:00
Axel Dörfler
badbad99a9 Messed up logic last time - the cursor should now work as expected again in BTextView.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 16:04:01 +00:00
François Revol
8c3e03d3c6 An old cli tool I wrote, controlls DPMS monitor caps and reports status.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 12:49:52 +00:00
Axel Dörfler
6261c369af * Fixed all those style issue mmu_man introduced over the years - thanks, man!
* Some possible errors weren't propagated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 11:12:16 +00:00
François Revol
1d03aaeea7 When an app sig has been given, use it instead of the mime type to open docs.
This way 'open application/x-vnd.Be-NPOS foo.html' would work as expected, 
instead of opening NetPos and open the file in the default browser.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 10:29:19 +00:00
DarkWyrm
a5360d40c6 Usability fixes:
Moved Dither Image to the View menu (where it really belongs)
Made some menu item labels less technical
A couple of capitalization fixes
Fixed layout problems in the Resize window


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 23:58:06 +00:00