42635 Commits

Author SHA1 Message Date
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
Scott McCreary
893996e358 Updated gcc2 packages for p7zip, mercurial, expat, cvs,
curl, bzr, apr, and apr-util
2012-06-25 21:12:03 +00:00
Scott McCreary
cc41587c17 Updated optionalpackages for apr, apr-util, curl,subversion, git, mercurial, openssh, sqlite,
cdrtools, man, p7zip, tar, libxml2, and yasm.
2012-06-25 21:11:56 +00:00
Scott McCreary
d1556a0e0f Updated optional packages for curl, freetype, libxml2, mercurial,
openssl, p7zip, sqlite and tar.
2012-06-25 21:11:49 +00:00
Philippe Saint-Pierre
c4e5472a71 FFMPEG: Remove unnecessary #include statements
They were included because of earlier tests.
Thanks Korli for the heads-up! (and sorry for the noise..)
hrev44265
2012-06-25 13:52:31 -04:00
Philippe Saint-Pierre
36784bbc2c StringForRate(): adjustments
* Make 1000.0f the default base
* Also use sizeof() in MediaPlayer to get the string size rather than hardcode.

Thanks Marcus
hrev44264
2012-06-25 13:43:53 -04:00
Philippe Saint-Pierre
8d87f2b43a StringForRate()
Introduce a function to generate the string representation of a bitrate
(kbps, mbps, gbps, etc..)

* Factor out the code from MediaPlayer InfoWindow
* Allow different bases (/1000 or /1024)
hrev44263
2012-06-25 13:29:22 -04:00
Philippe Saint-Pierre
9741d697e8 FFMPEG Copyright(): Fix memory leak
Fix a memory leak I introduced.  Followed Stippi's suggestion. Thanks!
hrev44262
2012-06-25 11:05:01 -04:00
Philippe Saint-Pierre
c589e68f42 MediaPlayer InfoWindow: Add Bitrate info, fix duration display
* The duration minutes didn't include a leading zero when necessary
* Added Bitrate info (#7782)
hrev44261
2012-06-24 20:49:34 -04:00
Philippe Saint-Pierre
4dea247cee ffmpeg: implement Copyright() (resolves TODO) + typo fix 2012-06-24 20:47:39 -04:00
Ryan Leavengood
2804cb332f Fix off-by-one error which caused scrolling artifacts.
Based on printf debugging the correct left value is actually -1, not 0, but
instead of hard-coding numbers it makes more sense to use the existing value.
I'm not sure if a -1 left value makes much sense, but overall this seems to
work and does not have the scrolling artifacts.

But overall I think ShowImage needs more layout management. Doing all this
moving and resizing manually is error prone.

Fixes #8648.
hrev44260
2012-06-24 16:47:18 -04:00
Humdinger
43ae772868 Style-fix I missed before. Thanks aldeck. hrev44259 2012-06-24 21:01:17 +02:00
Humdinger
67eb2a041e Reverting hrev44253. Didn't fix the issue, see #8648. 2012-06-24 20:58:18 +02:00