Commit Graph

42628 Commits

Author SHA1 Message Date
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>
2012-06-29 01:37:33 +02:00
Jérôme Duval
342e3b2c1b Updated optional package for Freetype ppc.
* Fix the PPC build.
2012-06-27 00:07:10 +02:00
Axel Dörfler
ff09c7bfdf Now is transparent on the desktop as other replicants. 2012-06-26 23:48:01 +02:00
Philippe Saint-Pierre
b78760b964 Replace several hard-coded paths with find_directory calls 2012-06-25 21:09:55 -04:00
Rene Gollent
d6f3ff4030 Another build fix.
Incorrect URLs for SSL optional packages.
2012-06-25 19:31:40 -04:00
Rene Gollent
040969ac13 Merge branch 'master' of ssh://git.haiku-os.org/haiku 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).
2012-06-25 18:35:28 -04:00
Scott McCreary
14fc8a0138 Corrected build dates for gcc2 builds of sdl-sound and sdl-net 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..)
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
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)
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!
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)
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.
2012-06-24 16:47:18 -04:00
Humdinger
43ae772868 Style-fix I missed before. Thanks aldeck. 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
Humdinger
537a273cce Coding style changes, no functional change.
Hope all's OK, Filter.h is still mostly untouched as it's quite messy with
many exessive commenting.
2012-06-24 19:51:21 +02:00
Ryan Leavengood
9f5864ab09 Handle the scroll wheel changing over scrollbars.
* Extract the scrollbar change based on the mouse wheel delta into a protected
  method of BView.
* Call that method from BScrollBar's MessageReceived.

With this change it is now a bit easier to scroll horizontally around the
system by putting the mouse cursor over a horizontal scrollbar and using the
wheel.

Fixes #8631.
2012-06-24 10:50:42 -04:00
Michael Lotz
bfc18b1ecd Add missing space before opening brace. 2012-06-24 16:17:32 +02:00
Ryan Leavengood
9c7d5593e6 Update DejaVu fonts to version 2.33. 2012-06-24 00:13:53 -04:00
Fredrik Holmqvist
91102c544e Logging calculations was done outside the #def TRACE_VM_PAGE, but never printed.
Now done inside #def as well as this triggered unused variables warnings.
2012-06-23 22:43:24 +02:00
Humdinger
6f55e249df Fixed redrawing bug when coming out of fullscreen mode.
After coming back from fullscreen mode, horizontally scrolling a zoomed
image would draw vertical lines from the right border. Seems like an
off-by-one issue. This fixes it in my tests... hope it's properly done.
2012-06-23 20:53:42 +02:00
Humdinger
ccae01d421 Fixed issue when auto-showing toolbar in fullscreen mode.
If you've zoomed in fullscreen mode and moved the mouse to the top of the
screen, the toolbar didn't appear. You had to scroll up to the top of zoomed
image first. Using the screen coords instead of the view coords fixes this.
2012-06-23 20:16:58 +02:00