Commit Graph

6745 Commits

Author SHA1 Message Date
Stephan Aßmus
a8ed06f0c1 Patch by Clemens Zeidler:
* Enable the Synaptics driver again.
* After performing the checks for the Synaptics device, issue a reset to avoid
  the device being left in a weird state. This fixes at least the weird mouse
  in VMWare with enabled Synaptics driver. Please report if there are any other
  problems! :-)

Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 17:25:29 +00:00
Ingo Weinhold
3a28e9bb96 * On construction initialize fLastEventTime with the current system time.
Otherwise when restarting the input server the screen blanker would start
  immediately.
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 13:49:05 +00:00
Michael Lotz
f81f8ddb90 Fix search+replace error introduced with reworking debug output. This should
fix full/lowspeed devices behind high-speed hubs again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 13:19:32 +00:00
Michael Lotz
c43b256828 It turns out that on some BIOSes even if the handover is signaled as successful,
the BIOS doesn't remove it's SMIs. When then initializing the controller this
would trigger all sorts of stuff and for example freeze the system. We therefore
always force off the SMIs, even if the handover didn't fail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 13:04:30 +00:00
Axel Dörfler
c21f81c11a bonefish + axeld:
* There was one incorrect check in BufferQueue::Get() that happened because
  the wrong operator was used due to the uint32 cast operator.
* Consequently, we removed the uint32 cast operator, and changed the code
  to deal with this. Fortunately, no other bugs were observed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 12:00:36 +00:00
Stephan Aßmus
ab89b2f0c9 Patch by Olivier Coursiere: Reset the touchpad mode when closing the device.
Will be useful when (input) devices are closed during shutdown. (app_server
and input_server are never quit during shutdown, so the drivers are not closed
either.) Apparently, the touchpad will remain as configured before, on a soft
reset which confuses for example BeOS, when it's booted after Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 08:18:53 +00:00
Axel Dörfler
9200ccec5a * That must have been a BeOS limitation, at least our kernel sports the same
generic API for each architecture.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 08:01:23 +00:00
Rene Gollent
fcd5f6b97c Patch by Urias McCullough: Fix userlandfs build on ppc (unused variable warning/error). Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 02:43:35 +00:00
Axel Dörfler
bda94e2e25 * Locking order dictates that this lock is an inner lock, and shouldn't
be used everywhere.
* This also fixes a panic when deleting interfaces (an already deleted
  lock was unlocked).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 16:23:42 +00:00
Axel Dörfler
0a5c6763e3 * Now it works.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 14:43:48 +00:00
Axel Dörfler
e6a9468e2c * Improved tracing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 14:38:10 +00:00
Axel Dörfler
4f4312b1c7 * Fixed Canna (and bug #3660) for real this time.
* Cleaned up CannaLooper.cpp/h to mostly conform to our coding style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 13:35:46 +00:00
François Revol
97ca224359 Fixed googlefs,
- it now reports as Mozilla/5 compatible to get classed tags to better identify results and make sure the server doesn't fallback to html4
- fixed parsing
- the google servers are getting picky about http CRLF, so send them correctly.
Now it needs to be ported to the Haiku VFS...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 11:24:03 +00:00
Philippe Houdoin
b965b3f2c6 Fixed default fortunes file path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 00:02:49 +00:00
Philippe Houdoin
4402c73154 Fixed UDF drive_setup_addon install location.
Please review, as I clearly dunno what I'm doing here ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 23:51:47 +00:00
Philippe Houdoin
6c85866b82 Fixed system teams check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 23:36:31 +00:00
Axel Dörfler
5544769e7d * Forgot to update the Canna directory.
* This fixes bug #3660.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 17:52:49 +00:00
Ingo Weinhold
e66cd9d71b * For every request to userland we also send the team/thread/user/group ID of
the current thread, now. Implemented by introducing a new base class
  KernelRequest which has respective attributes.
* Server: RequestThreadContext does now also save the request that is being
  processed. Furthermore some space has been reserved for file system specific
  data, which can be initialized by the new
  FileSystem::InitRequestThreadContext().
* FUSE library: Implemented fuse_get_context() using the new
  RequestThreadContext feature.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 19:41:53 +00:00
Ingo Weinhold
a773113804 * Initialize fuse_config before parsing the arguments.
* Implemented fuse_is_lib_option() more correctly.
* Actually use the value of the "use_ino" option.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 17:46:09 +00:00
Axel Dörfler
3093705388 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 16:54:11 +00:00
Rene Gollent
0ae9a91575 gcc4 build fix - thanks to Artur Wyszynski for submitting. Closes ticket #3652.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 03:03:16 +00:00
Ingo Weinhold
39f2d9e66b Parse the FUSE library options. They aren't used yet, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 00:11:34 +00:00
David McPaul
81ed336ed1 Add AC-3 support, fix audio seeking
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 21:02:12 +00:00
David McPaul
653dac15d2 performance improvements
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 21:00:06 +00:00
David McPaul
a1f8af1f44 Audio output buffer must now equal AVCODEC_MAX_AUDIO_FRAME_SIZE
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 20:58:57 +00:00
Ingo Weinhold
a79773546f * Added minimal config.h.
* Added FUSE option parsing to the build -- small changes to get it building.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 23:18:14 +00:00
Ingo Weinhold
8553e89ea8 Copied from FUSE 2.7.4 vendor branch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 23:14:13 +00:00
David McPaul
e83fd628ae APE Reader from sources donated by SHINTA
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 06:55:56 +00:00
Ingo Weinhold
973032b8d7 Added TODO for Axel or whoever is interested. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 15:59:36 +00:00
Stephan Aßmus
38f4b2ae8e Patch by JiSheng Zhang, which fixes an interrupt flood on certain hardware
when the firewire bus manager is installed. (Fixes ticket #3595.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 08:03:06 +00:00
Stephan Aßmus
1719f7a63e Patch by JiSheng Zhang: Update the FireWire stack and tools to the current
FreeBSD version (r188928). Note to JiSheng: I did have to fix fwcontrol.c line
111, looked like a last minute change to me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-28 10:01:21 +00:00
Ingo Weinhold
1000f8b212 * Fixed double-lock in RemoveDir() spotted by Stippi.
* Added node monitoring support. For the changes we make at least. Changes made
  by other peer in network file systems are not recognized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-28 00:03:21 +00:00
Ingo Weinhold
c8722a1e82 * Removed WriteFSInfo(). It's used only for changing the volume name and we
can't implement that with the FUSE interface.
* We now mark nodes dirty after a write operation.
* Implemented Sync() by fsync()ing all dirty nodes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-27 15:56:52 +00:00
Gerasim Troeglazov
574e74d766 * Fix file mode for vnodes, set readonly as default. volume successfully mounted, but available only root directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-27 06:33:57 +00:00
Ingo Weinhold
3ed1a753c5 Make gcc 4 happy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 23:57:24 +00:00
Ingo Weinhold
40b0400da7 * Fixed incorrect loop check in _UnlockNodeChainInternal() nothing would ever
be unlocked.
* Fixed incorrect array indexing in _FindCommonAncestor().
* Fixed copy and paste bugs in _LockNodeChainsInternal().
* Added MultiNodeLocker class, a RAII frontend for _{Lock,Unlock}NodeChains().
* Implemented entry renaming and hard linking.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 23:52:35 +00:00
Rene Gollent
d7b73de2fd Fix logic error that was coincidentally also triggering a gcc4 warning/error on build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 22:45:19 +00:00
Ingo Weinhold
85ea1e09d3 * Refactored node locking methods. There's now a LockIterator class which helps
with locking.
* Implemented methods for locking two directories. It's a bit complex, since
  we need to enforce a global locking order on the node tree to avoid
  deadlocks. Untested yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 22:41:00 +00:00
Ingo Weinhold
edae667b94 * Removed the asynchronous I/O methods. We won't implement them for the time
being.
* Introduced locking for FileCookie.
* Implemented SetFlags() and FSync().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 17:23:37 +00:00
Axel Dörfler
5dac0ee0d9 * Removed the GLife entry for now. Maybe something is going to happen there? :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 15:03:29 +00:00
Gerasim Troeglazov
1d5db3c036 *fix prototype
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 05:28:47 +00:00
Rene Gollent
076cc460a0 Have BFS create the BEOS:APP_SIG index by default also. Otherwise launching applications by signature off any partition other than one created via the build system will fail by default (since that one currently adds the index manually in build_haiku_image).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 02:17:05 +00:00
Gerasim Troeglazov
2016e43e55 Clone of the Linux SimpleClock screensaver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 01:12:57 +00:00
Ingo Weinhold
b747212f50 Implemented WriteStat() (backend for chown(), chmod(), utime(), truncate()).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 01:12:11 +00:00
Ingo Weinhold
4ecbee4f94 * Our error codes are already negative, so return ENOSYS instead of -ENOSYS.
* fuse_fs_utimens(): Fall back to the utime() hook, if utimens() is not
  available.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 00:50:44 +00:00
Ingo Weinhold
3cf43c2651 Removed the fs_vnode_ops::create_dir() parameter for returning the ID of the
newly created dir. The VFS really doesn't need it and for some file systems
it might not be easy to get by. Several file systems (e.g. rootfs and fat)
were ignoring the parameter anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 00:16:34 +00:00
Karsten Heimrich
82d2e399b4 * port of known OSX screensaver done by Calum Robinson called Flurry (the default one on OSX)
* add to build but not to the image since

 - misses some configuration stuff
 - does not look as good as it could be because of missing double buffering
 - does crash screen_blanker on hide (as all GL screensaver did that i tested)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 23:49:41 +00:00
Ingo Weinhold
cd4ee847c4 * Added support for symlink and directory creation, as well as entry deletion
(directories and other nodes).
* Removed methods we can't possibly implement, since the FUSE interface doesn't
  provide them and we can't emulate them.
* A FUSEEntry does now also own a reference to its parent directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 23:33:18 +00:00
Stephan Aßmus
7aa46bb66b Changing BuyNow to DebugNow (part 2 of 2).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 11:40:26 +00:00
Stephan Aßmus
0f7b37bb12 Changed BuyNow to DebugNow (part 1 of 2).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 11:39:16 +00:00