Jerome Leveque
57d2f931e0
ice1712: patch for initializing codec on delta1010.
2012-03-10 15:26:01 +01:00
Jerome Duval
5a58211db2
dvb.media_addon: only for x86 builds.
...
* only for x86 builds until we have a FFmpeg PPC package or headers only package.
2012-03-10 11:26:34 +01:00
Jerome Duval
dc18d9e793
ffmpeg: fixed headers dependency on libavcodec for gfx_*.cpp.
2012-03-09 22:54:51 +01:00
John Scipione
b6a1a815a1
Use a stack variable of MAXPATHLEN size to hold the full path to avoid having to manually malloc and free the variable.
2012-03-09 16:38:44 -05:00
Alexander von Gluck IV
8fb9e2dbb8
jam: Add clang binary optional package
...
* Created from haikuporter ticket #313
* Tested as functional under gcc4h
2012-03-09 15:07:46 -06:00
Axel Dörfler
87d5beae86
Made the duplicate_array endian safe. Cleanup.
...
* Renamed the sorted_array to duplicate_array (which was only a typedef
before), and moved it into the BPlusTree.cpp file, as its specific to
that one.
* Utilities.cpp is no longer needed.
* Introduced endian safe getters/setters so that little endian BFS volumes
should now work fine on a big endian architecture.
2012-03-09 21:18:35 +01:00
Axel Dörfler
6307c1ebb1
Minor whitespace cleanup.
2012-03-09 21:18:34 +01:00
John Scipione
d7f3dac1eb
Style fixes suggested by Axeld.
...
Added Ingo to the copyright
Updated copyright year to 2012 for my contribution.
2012-03-09 14:39:24 -05:00
John Scipione
9b4aba87f4
Merge in from master
2012-03-09 14:20:04 -05:00
John Scipione
3836fb6d2d
Fix flag checking in fs_darwin.cpp
...
Somehow this commit got left out in my earlier push.
2012-03-09 00:01:01 -05:00
John Scipione
81b45e484a
Fix build on Mac OS X 10.6 gcc2 and gcc4 and 10.7 gcc4 by adding some Mac OS X specific files that implement missing *at() functions.
...
Mac OS X 10.7 generates a gcc2 cross-compiler that fails when assigning NULL to a static method pointer so is still broken.
Added a weak attribute in driver_settings.cpp.
Move futimesat() from fs.cpp to fs_darwin.cpp since it is implimented on FreeBSD.
Implemented eaccess(), for the AT_EACCESS flag of faccessat()
Fix configure script to correctly detect case-sensitive file system
2012-03-08 23:28:49 -05:00
John Scipione
2f9bd2c090
Move the invalid fd check to after checking if fd == AT_FDCWD in the fchownat() function
2012-03-08 17:03:15 -05:00
John Scipione
adf4838afe
Implement the rest of chmod AT_SYMLINK_NOFOLLOW flag, fix the flag error detection code, a few comment changes.
2012-03-08 16:39:53 -05:00
John Scipione
9b54745611
Implement the AT_SYMLINK_NOFOLLOW flag to fchmodat() by calling open at fchmod emulating lchmod()
2012-03-08 15:56:01 -05:00
John Scipione
bffc978823
Fix build error and implement AT_SYMLINK_NO_FOLLOW in fstatat() by calling lstat()
2012-03-08 15:29:18 -05:00
John Scipione
6ad9d01a41
Check for valid flags in faccessat() and fchmodat() and implement AT_SYMLINK_NOFOLLOW in fatchownat() using lchown().
2012-03-08 15:20:27 -05:00
John Scipione
f2d343d416
Use S_ISDIR instead of S_IFDIR to check if the fd points to a directory and take AT_SYMLINK_NO_FOLLOW out of faccessat because IEEE Std 1003.1-2008 doesn't call for it even though Linux implements it.
2012-03-08 15:01:49 -05:00
John Scipione
981887153d
Error if file descriptor is negative after checking for AT_FDCWD
2012-03-08 14:33:51 -05:00
Alexander von Gluck IV
89a2b4812c
radeon_hd: Fix APU / DCE 5+ encoder mode switch
...
* Don't touch transmitter.
* Potential fix for #8331 and other HD 5xxx, 6xxx
mode setting issues.
* Missed in my backport drm commit:
3a47824d85eeca122895646f027dc63480994199
* Tested as non-impacting change on my APU
2012-03-08 09:29:27 -06:00
Alexander von Gluck IV
f070c3c311
radeon_hd: Decode encoder flags in debug.
...
* Should assist in troubleshooting.
2012-03-08 07:13:17 -06:00
Alexander von Gluck IV
0a92c1ea63
radeon_hd: White space / line length cleanup.
...
* No functional change.
2012-03-08 05:52:57 -06:00
Alexander von Gluck IV
63d0b67679
radeon_hd: Fill in a few analog encoder edge cases
...
* If TV, NTSC hardcoded for now. I plan to address
this with an accelerant config file at some point
2012-03-08 05:49:10 -06:00
Humdinger
34f10aee41
Added a hint that connection parameters are defaults.
2012-03-08 11:19:09 +01:00
John Scipione
5529a1c1e7
Refactor so that all methods call a common get_path method to grab the full path from the fd and relative path string
2012-03-07 19:06:06 -05:00
Jérôme Duval
7007402957
DVB: add a dependency on FFMpeg optional package
...
* MediaFormat.cpp includes avcodec.h from libavcodec without actually
using the library.
2012-03-07 02:05:50 +01:00
Jérôme Duval
e40d995cf4
FFMpeg plugin: now build against the optional package for 0.10
...
* added optional feature package for ffmpeg 0.10 gcc4 and gcc2
* increased probe buffer size to 8K for now.
* built the optional packages the default way, it might need adjustments
like dependencies on speex, ogg, theora, vorbis, which I left out for now.
2012-03-07 02:05:50 +01:00
Axel Dörfler
08601a8488
Added support for reporting invalid B+trees.
...
* Fixed the inode progress not being overwritten by the final stats.
* Minor cleanup.
2012-03-07 01:55:02 +01:00
Axel Dörfler
49a2067a17
When running checkfs, BPlusTree::Validate() is now called.
2012-03-07 01:55:02 +01:00
Axel Dörfler
82e06fff68
Implemented BPlusTree::Validate().
...
* Walks the complete B+tree and checks all nodes for validity
(duplicate/fragment as well), ie. if no key is larger than those of its
parent, and that the left/right links are valid.
* This does not yet support repairing of broken trees, though.
2012-03-07 01:55:01 +01:00
Axel Dörfler
29a73026aa
Added Volume::IsValidInodeBlock().
...
* The method checks whether a block may be occupied by an inode, ie. is neither
part of the bitmap nor of the log, and would also fit on the disk.
* Also made disk_super_block::IsValid() const.
2012-03-07 01:55:01 +01:00
Axel Dörfler
7707f8cec2
Fixed warning when compiled with DEBUG=1 but an empty D().
2012-03-07 01:55:00 +01:00
John Scipione
2e24957db9
insert a / between the directory path and relative path. in faccessat() use dirpath at the end, not path.
2012-03-06 17:33:36 -05:00
John Scipione
156eeb439b
Reverse logic when checking if dirst points to a directory.
2012-03-06 17:08:36 -05:00
John Scipione
a38ff2d402
Check if flags bitmap != 0, not that it does == 0
2012-03-06 16:37:53 -05:00
Humdinger
0a1b16486b
Small cosmetics of the boot loader.
...
* Updated copyright to 2012.
* Corrected capitalization of "Welcome To The..."
* Added info for serial debug "(115200, 8N1)"
2012-03-06 18:38:48 +01:00
Alexander von Gluck IV
628e4c98bd
radeon_hd: Better tracing for dig transmitter setup
...
* Help troubleshoot #8331
* Whitespace cleanup
2012-03-06 10:54:18 -06:00
John Scipione
19d28b2205
Fix configure script to correctly detect case-sensitive file system
2012-03-05 23:13:13 -05:00
Alexander von Gluck IV
33e204adee
jam: Add binary bootloader for Raspberry Pi
...
* Version 17-02-2012
* Used to initialize the Raspberry Pi GPU and boot it
* License is permissive, I've also included the
confirmation email on this license.
* Little bootloader documentation.
* Still nothing to get excited about, preliminary.
2012-03-05 20:44:54 -06:00
John Scipione
b51d823d92
Error if unsupported flag is passed to fstatat()
2012-03-05 20:23:43 -05:00
John Scipione
8c7f0a8967
Cleanup the flags and make them the same as FreeBSD
2012-03-05 20:17:26 -05:00
John Scipione
0ee852ad55
Explicitly check path against NULL instead of relying on boolality. Yes, I just made that word up.
2012-03-05 20:04:21 -05:00
John Scipione
95dd0de5ea
Rename to and from to old and new in order to be consistant with Linux.
2012-03-05 20:00:53 -05:00
John Scipione
c8dd9f3e8c
Fix memory leak for the full path including fd directory.
2012-03-05 19:47:25 -05:00
John Scipione
a598261fea
Implement linkat()
2012-03-05 19:24:58 -05:00
John Scipione
263ac66935
Implement renameat()
2012-03-05 18:56:59 -05:00
John Scipione
46804eff55
Remove extraneous line where I called just unlinkat()
2012-03-05 18:22:02 -05:00
John Scipione
6f0d1fc94a
Implement unlinkat()
2012-03-05 18:21:13 -05:00
John Scipione
8e094e5a5b
Implement symlinkat()
2012-03-05 18:09:34 -05:00
John Scipione
02e902bf28
Implement readlinkat()
2012-03-05 18:02:54 -05:00
Alexander von Gluck IV
b44d24c0ad
network status: Add notifications for major network events
...
* Add a notification if the network interface monitored by
the system tray icon has a major state change.
* This gives users a little feedback on connection state.
* User is only prompted once on each state change.
* TODO: change system tray icons to vector so we can scale
them up better.
2012-03-05 16:30:27 -06:00