Commit Graph

41859 Commits

Author SHA1 Message Date
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
Niels Sascha Reedijk
5c4cfe702a Initial sync of Japanese from Pootle. 2012-02-28 14:44:56 +01:00
Niels Sascha Reedijk
9e4ccda8d7 Initial sync of Polish catalogs from Pootle. 2012-02-28 09:57:51 +01:00
Jérôme Duval
25d6ff130c PCI: use definitions for PCI status. 2012-02-27 22:00:54 +01:00
Jérôme Duval
9f6b2d77b7 PCI: add bridge control flags and use them. 2012-02-27 21:46:01 +01:00
Jérôme Duval
de49f7dda3 PCI: print human readable ranges for PCI-PCI bridge.
* pci_info: computes I/O, memory and prefetchable memory windows
  and displays them instead of raw register values.
2012-02-27 20:49:15 +01:00
Matt Madia
b034842c83 Updated to reflect the migration to Pootle.
For more info, see the mailing list:
http://www.freelists.org/post/haiku-i18n/All-languages-moved-to-Pootle
2012-02-26 16:59:38 +00:00