Commit Graph

41898 Commits

Author SHA1 Message Date
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
John Scipione
9970cc92bf Implemented eaccess(), the AT_EACCESS flag of faccessat(), fchmodat(), fchownat(), fstatat(), mkdirat(), mkfifoat(), mknodat(), and futimesat(). 2012-03-05 17:15:41 -05:00
Humdinger
935af17a2f Recompiled gcc2 version of optional package Clockwerk. 2012-03-04 20:25:18 +01:00
Michael Lotz
a16d549ade Add scripting property for toggling fullscreen. 2012-03-04 15:26:05 +01:00
Alexander von Gluck IV
fe4fdaad2e jam: Add board definition for Raspberry Pi
* used by HAIKU_BOOT_BOARD.
* gcc machine options from Raspberry Pi wiki.
* don't get too excited, or expect any Haiku
  love for it anytime soon.
2012-03-04 07:44:27 -06:00
Stephan Aßmus
a0e9f8e205 Fixed wrong assert and locking when using Workspace objects.
* The assert in the Workspace constructor was definitely for the
  wrong lock. One should be holding the all window lock either
  in read or write mode. The Desktop message loop lock should be
  unrelated.
* Added boolean to the constructor which controls the assert.
* Added documentation to Workspace class, since it's not at
  all obvious how this is intended to be used.
* Fixed ServerApp to lock the Desktop correctly when using
  Workspace desktop colors.
2012-03-04 14:32:07 +01:00
Adrien Destugues - PulkoMandy
d41ac61f73 The display line length constraint is different on <= G35 cards.
* Decide which constraint to use depending on the card model.
 * May fix #8001, only tested on my hardware which already worked...
2012-03-04 09:14:38 +01:00
John Scipione
62540ce5eb Check to see that fd points to a directory before resolving the full path. 2012-03-03 17:24:05 -05:00
Adrien Destugues - PulkoMandy
2d80a54724 Window title in Expanded Deskbar update properly
* Regression introduced by r43195
 * Fixes #8126
2012-03-03 22:59:55 +01:00