Commit Graph

19019 Commits

Author SHA1 Message Date
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
Jérôme Duval
7b1b33ed8c update pci ids
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 22:15:06 +00:00
Axel Dörfler
6c3692dc87 Turns out our pulse mechanism was broken; we need to honour the rate set by
SetPulseRate() even if it is 0. BView::_Attach() and BView::SetFlags() now
just set the previous pulse rate again (which will start pulsing in case
there is no fPulseRunner yet).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 21:26:54 +00:00
Axel Dörfler
2a720453e1 One step closer to the Switcher - still doesn't work, though, but at least the
BWindow code looks okay now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 19:38:58 +00:00
Bruno G. Albuquerque
f212f3bad2 Fix build with TRACE enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 16:02:19 +00:00
Axel Dörfler
849de6ef97 Added another GetStyledText() function to force a specific encoding.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 12:04:02 +00:00
Axel Dörfler
691e54b4ab Minor fixes:
* the "state" variable was reset for each loop cycle.
* since the inner loop tested for "bytes" instead of "bytesLeft", convert_to_utf8()
  was called twice for each chunk read.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 12:02:06 +00:00
Axel Dörfler
d0fc29af1f StyledEdit now makes use of the new BTranslationUtils functions which
simplify the code quite a lot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 11:39:56 +00:00
Axel Dörfler
ac0ff19664 While investigating why our UTF-16 files are broken (with a smaller output buffer),
I noticed that "state" was never set, but as expected this doesn't help at all:
we just can't use iconv() this way, I'll open a bug for this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 11:18:33 +00:00
Axel Dörfler
4ea89ce5c8 Looks like Be and Andrew mixed up UCS-2 and UTF-16; I added the UTF-16 conversion as well
now (which has a marker at the beginning of the file, unlike UCS-2).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 11:08:39 +00:00
Axel Dörfler
471c6cea75 * Added the file_ascmagic() stuff from our text sniffer add-on (originally taken from
BSD's file utility) to identify text files.
* The translator now automatically decodes files based "be:encoding" (which can now
  also be a string type attribute), as well as whatever file_ascmagic() recognizes.
  IOW we can now finally read all text files we recognize as text files.
* Added an ioExtension to force a specific encoding for Translate() (called "be:encoding"
  as well).
* Enlarged the read buffer to 32768 bytes (instead of just 2048).
* Now fails when reading/writing files >4GB in STXT format (which doesn't support those)
* Translate() now writes the "be:encoding" attribute in case it detected the encoding
  itself.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 10:46:28 +00:00
Axel Dörfler
8acdd17f08 Added WriteStyledEditFile() variant that gets an encoding argument; it will automatically
encode the text in the BTextView accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 09:10:16 +00:00
Bruno G. Albuquerque
e62e6bd5a7 Implemented support for hardware cache flush. This is based on code I originally
did for yellowTAB GmbH when I worked for then and is being used under permission.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 01:39:59 +00:00
Marcus Overhagen
7f6c8fdc86 added ahci to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 01:11:19 +00:00
Marcus Overhagen
c6a23809ea add ahci driver to build system
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 00:40:11 +00:00
Marcus Overhagen
f39cc7fbeb added device detection
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 00:39:33 +00:00