42647 Commits

Author SHA1 Message Date
Pawel Dziepak
631d9e9867 nfs4: Add access() hook 2012-06-29 02:14:36 +02:00
Pawel Dziepak
a01e1e9961 nfs4: k- variants of socket functions are not really needed 2012-06-29 02:14:35 +02:00
Pawel Dziepak
60a8140ded nfs4: Add close() and free_cookie() hooks 2012-06-29 02:14:34 +02:00
Pawel Dziepak
2f2e57d035 nfs4: Add read() hook 2012-06-29 02:14:33 +02:00
Pawel Dziepak
2a292557d4 nfs4: Add open() hook 2012-06-29 02:14:33 +02:00
Pawel Dziepak
8d513ebcb5 nfs4: Fix FileInfo operator= memory leak 2012-06-29 02:14:32 +02:00
Pawel Dziepak
96b7b14a96 nfs4: Add get_vnode_name hook 2012-06-29 02:14:31 +02:00
Pawel Dziepak
87c6b83293 nfs4: Inodes should know their name and parent's filehandle 2012-06-29 02:14:30 +02:00
Pawel Dziepak
e8845bd5b7 nfs4: Add rewind_dir() hook 2012-06-29 02:14:29 +02:00
Pawel Dziepak
f29ac4afd9 nfs4: readdir() should not read more than requested
Additionally, file attribute decoding checks more strictly whether
received data are sane.
2012-06-29 02:14:28 +02:00
Pawel Dziepak
ed517d6c62 nfs4: Do not store pointer to parent in inodes 2012-06-29 02:14:27 +02:00
Pawel Dziepak
7bfa4fe805 nfs4: Add lookup() and get_vnode() hooks
get_vnode() needs a way to retrieve filehandle knowing only inode number.
Since NFS4 sever does not provide such services client manages its own mapping
between ino_t and filehandles.
2012-06-29 02:14:27 +02:00
Pawel Dziepak
aefd79e6a7 nfs4: The unary & operator is not really needed 2012-06-29 02:14:26 +02:00
Pawel Dziepak
4b48348f97 nfs4: Add read_dir() hook 2012-06-29 02:14:25 +02:00
Pawel Dziepak
821f13b077 nfs4: Add open_dir, close_dir and free_dir_cookie hooks 2012-06-29 02:14:24 +02:00
Pawel Dziepak
c1a7ba322d nfs4: Add unmount() and put_vnode() procedures 2012-06-29 02:14:23 +02:00
Pawel Dziepak
cbe0913aa0 nfs4: Fix RPC::ServerManager release bug
RPC::ServerManager did not check whether reference counter equals 0 before
destroying RPC::Server object.
2012-06-29 02:14:22 +02:00
Pawel Dziepak
212de72053 nfs4: Add basic nfs4_read_stat() procedure
Not all data are retrieved and there is a room for improvement in handling
situations when server does not provide necessary information.
2012-06-29 02:14:22 +02:00
Pawel Dziepak
d38e98d806 nfs4: Implement nfs4_mount() procedure 2012-06-29 02:14:21 +02:00
Pawel Dziepak
bf31ee39e5 nfs4: Add stub Inode class, fix and extend Filesystem class
Additionally PUTFH support is added to both RequestBuilder and
ReplyInterpreter.
2012-06-29 02:14:20 +02:00
Pawel Dziepak
45aa18ac4c nfs4: Add stub Filesystem class and Mount method 2012-06-29 02:14:19 +02:00
Pawel Dziepak
e552920f09 nfs4: Fix rpc listener thread cancelation
recv on UDP sockets is not interrupted when the socket is closed.
Additionaly, signals do not interrupt kernel threads, that is why
new function interrupt_thread was implemented in order to cancel
listener thread.
2012-06-29 02:14:18 +02:00
Pawel Dziepak
7fdee1565d nfs4: No need to cast from enum to int 2012-06-29 02:14:17 +02:00
Pawel Dziepak
196403c9ab nfs4: Add NFS4 reply interpreter
Currently supported operations are: ACCESS, GETATTR (partially), GETFH,
LOOKUP and PUTROOTFH.
2012-06-29 02:14:16 +02:00
Pawel Dziepak
d08c284cec nfs4: Add NFS4 request builder
Currently supports only the following operations: ACCESS, GETATTR, GETFH
LOOKUP and PUTROOTFH.
2012-06-29 02:14:16 +02:00
Pawel Dziepak
4aeb595207 nfs4: Add some NFS4 constants 2012-06-29 02:14:15 +02:00
Pawel Dziepak
3e945c7ff0 nfs4: Make mount() send null nfs4 call 2012-06-29 02:14:14 +02:00
Pawel Dziepak
b82f4c07eb nfs4: Make RPC::Reply decode RPC errors 2012-06-29 02:14:13 +02:00
Pawel Dziepak
5cdf02db09 nfs4: Add RPC::Server release and repair code 2012-06-29 02:14:12 +02:00
Pawel Dziepak
b35311f1ba nfs4: Add RPC main communication code
RPC::Server represents a server client is connected to.
RPC::RequestManager stores all call that have been sent but no answer was
received so far.
RPC::ServerManager is responsible for reusing connections to the servers
and closing them when no longer needed.
2012-06-29 02:14:11 +02:00
Pawel Dziepak
274145b3ea nfs4: Add ServerAddress comparators 2012-06-29 02:14:11 +02:00
Pawel Dziepak
bb7c7ca2c4 nfs4: Remove unnecessary 'Get' prefixes from accessor methods 2012-06-29 02:14:10 +02:00
Pawel Dziepak
da59bc46d9 nfs4: Add stub RPC reply code
RPC::Reply interprets incoming RPC replies. Currently only XID is
read.
2012-06-29 02:14:09 +02:00
Pawel Dziepak
313da82b9f nfs4: Add call generation code including authentication
RPC::Call generates a RPC call using provided RPC::Auth objects.
RPC::Auth supports AUTH_NONE and AUTH_SYS authentication protocols.
2012-06-29 02:14:08 +02:00
Pawel Dziepak
42b2ae1c80 nfs4: Add XDR encoder and decoder
Base classes XDR::Stream and classes XDR::WriteStream and XDR::ReadStream
are added. They implement encoding and decoding XDR (RFC 4506) streams.
All data types used by RPC and NFS4 are supported.
2012-06-29 02:14:07 +02:00
Pawel Dziepak
e4977f2046 nfs4: Add network code
Connection class supports sending and receiving RPC data using either
TCP or UDP as a transport protocol.
2012-06-29 02:14:06 +02:00
Pawel Dziepak
8fe02d0c04 nfs4: Initial commit
Empty file system with only mounting supported.
2012-06-29 02:14:05 +02:00
Pawel Dziepak
06e8742063 Fix #8643: AVLTreeMap strategy Auto discards const
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
hrev44273
2012-06-29 01:37:33 +02:00
Jérôme Duval
342e3b2c1b Updated optional package for Freetype ppc.
* Fix the PPC build.
hrev44272
2012-06-27 00:07:10 +02:00
Axel Dörfler
ff09c7bfdf Now is transparent on the desktop as other replicants. hrev44271 2012-06-26 23:48:01 +02:00
Philippe Saint-Pierre
b78760b964 Replace several hard-coded paths with find_directory calls hrev44270 2012-06-25 21:09:55 -04:00
Rene Gollent
d6f3ff4030 Another build fix.
Incorrect URLs for SSL optional packages.
hrev44269
2012-06-25 19:31:40 -04:00
Rene Gollent
040969ac13 Merge branch 'master' of ssh://git.haiku-os.org/haiku hrev44268 2012-06-25 18:39:18 -04:00
Rene Gollent
234eed6b0d Fix build.
gcc2 freetype package's name was wrong, and the uploaded package was in the wrong subdir.
2012-06-25 18:38:25 -04:00
Philippe Saint-Pierre
b271ff3f4e SoundRecorder: UI fixes
* Remove several hard-coded colors
* Reduce slightly the font size in the file info panel (#6909).
* Don't hardcode the font height, compute it
* Fix a bug where deploying the bottom panel makes the current
  window width the new minimum width
* Don't hardcode the bottom panel's height, compute it
  (allows better font size tolerance).
hrev44267
2012-06-25 18:35:28 -04:00
Scott McCreary
14fc8a0138 Corrected build dates for gcc2 builds of sdl-sound and sdl-net hrev44266 2012-06-25 21:12:37 +00:00
Scott McCreary
a420070ece Updated gcc2 packages for sdl and related libraries. 2012-06-25 21:12:30 +00:00
Scott McCreary
1ed63ff99d Updated filename for taglib 2012-06-25 21:12:23 +00:00
Scott McCreary
4daad1e105 Fixed url dates for gcc4 packages for bzr and cvs.
Updated taglib gcc4 package name to match typo from alpha3 release.
2012-06-25 21:12:17 +00:00
Scott McCreary
6ccbb9012f Fixed urls for a few gcc2 OptionalPacakges.
Changing talib back to 1.6.3 as 1.7.2 is failing to build with gcc4.
2012-06-25 21:12:10 +00:00