Commit Graph

41865 Commits

Author SHA1 Message Date
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
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
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
John Scipione
19d28b2205 Fix configure script to correctly detect case-sensitive file system 2012-03-05 23:13:13 -05: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
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
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
John Scipione
f0d84745df Implement a basic faccessat method. There are still a few missing pieces to it. 2012-03-02 21:04:05 -05:00
John Scipione
c72a1d4e6a Don't return 0 for the unimplemented *at() functions, set errno to ENOSYS (not implemented) and return -1 instead. 2012-03-02 21:04:04 -05:00
John Scipione
00f72094a1 Move futimesat() from fs.cpp to fs_darwin.cpp since it is implimented on FreeBSD. It is stubbed out for now. 2012-03-02 21:04:02 -05:00
John Scipione
9d6e5fdb65 Fix build by adding some Mac OS X specific files that implement fs function missing on that OS. The functions are stubbed out currently and have not been implemented. However, it does build now. I also added a weak attribute in driver_settings.cpp that I have no idea what does but was necessary to fix the build. 2012-03-02 21:04:00 -05:00
Rene Gollent
4183675895 Move black/white color constant definitions to header.
Previously, there were two instances of the actual variables, named in
ControlLook.cpp and Utilities.cpp. This caused clashes on gcc4 builds, leading
to various crashes during initialization. Instead we now declare them as
static constants in the header itself as is done for various other interface
color constants elsewhere. Fixes ticket #8358.
2012-03-02 20:39:12 -05:00
Alexander von Gluck IV
7c89d968b5 radeon_hd: Ensure vramBase is at 0.
* This value is card internal framebuffer offset
* 0 is the proper value, however it was causing issues for me
* The mode setting issues I saw before are now gone, and this
  seems to make mode setting more stable now.
2012-03-02 16:03:35 -06:00
Alexander von Gluck IV
7dd182106a radeon_hd: Fix invalid encoder state
* This was a *big* oops on my part.
* We were missing initial setup call for
  Kaleidoscope and DP Bridge encoders.
* If you were having radeon HD mode setting
  issues, try this change.
* Potential fix for #5722, #7397, #8059, #8151, #8282,
  #8289, #8310, #8322, #8331
2012-03-01 07:11:28 -06:00
Alexander von Gluck IV
ccb23a1eee radeon_hd: Improve dig encoder picking 2012-03-01 06:12:56 -06:00
Axel Dörfler
e7985acc3c Build fix -- accidently committed stuff that doesn't exist yet.
* Also removed debug leftover from register_additional_commands().
2012-03-01 09:34:46 +01:00
Jerome Duval
7633665c77 multi_audio: Changes to please GCC2
* avoid template function pointers
* use a default function pointer
2012-03-01 00:45:12 +01:00
Axel Dörfler
e9091262c5 Added "checkfs" as additional command for the bfs_shell. 2012-02-29 23:28:54 +01:00
Axel Dörfler
29ecf7b04e command_ioctl() leaked the root directory's file descriptor. 2012-02-29 23:27:46 +01:00
Axel Dörfler
360a644650 Implemented support for file system specific commands.
* File system specific shell implementations can now register any additional
  commands by implementing the register_additional_commands() function.
2012-02-29 22:12:37 +01:00
Humdinger
a697ddedc5 Cancel settings window on ESC, small cleanup. 2012-02-29 20:21:20 +01:00
Humdinger
ddec5397e4 Now sets back its settings when closing the settings window with "Cancel".
* Pulled reading and writing settings into private functions.
* Call _ReadSettings() when canceling settings window to revert to
  original settings.
2012-02-29 19:22:07 +01:00
Humdinger
98cce525f0 Clean up. No functional change. 2012-02-29 19:19:37 +01:00
Humdinger
a866fc60f9 Remodeled the settings window after MediaPlayer. 2012-02-29 19:17:46 +01:00
Humdinger
4c9dc4c642 Cosmetical improvements. 2012-02-29 18:58:28 +01:00
Humdinger
eb3fc7f079 Sentence case for file info window 2012-02-29 18:55:04 +01:00
Humdinger
108d2173b9 Tuned spacing in the settings layout a bit. 2012-02-29 18:53:15 +01:00
Humdinger
c2060a1f34 Added more translators, mostly GCI students. 2012-02-29 18:51:59 +01:00
Jerome Leveque
ea81d6eaf0 multi_audio: Add multiple Audio In Feature, implement listed TODO
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2012-02-29 00:36:05 +01:00
Alexander von Gluck IV
e766693eb0 radeon_hd: lvds, dvo, and hdmi encoder improvements
* Begin storing the lcd flags in lvds info call as the
  encoder needs them.
* Fill out laptop / lvds todo in encoder code.
* Stub out dvo encoder calls, not sure use cases for dvo.
2012-02-28 09:56:20 -06:00
Alexander von Gluck IV
64ff3d1891 radeon_hd: Pass dpms calls to encoders as well 2012-02-28 09:56:20 -06:00
Jerome Leveque
eaa6a6c40c multi_audio: Add support for input/output framerate change
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2012-02-28 21:39:03 +01:00
Jerome Leveque
fc581f23c9 ice1712: Add settings file features and fix coding rules 2012-02-28 20:54:28 +01:00
Jerome Leveque
5e9105aa28 ice1712: Fix operator priority with parenthesis 2012-02-28 20:54:06 +01:00