Commit Graph

42181 Commits

Author SHA1 Message Date
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
Adrien Destugues - PulkoMandy
5e8f4256fe Revert part of r43092.
* Caching of CountItems() to avoid calling it at each loop iteration
 * Use of strcasecmp when comparing strings for exact equality
2012-03-03 22:44:35 +01:00
Niels Sascha Reedijk
ef3aa6274d Initial sync of 'el' from Pootle 2012-03-03 20:37:12 +01:00
Niels Sascha Reedijk
7d6033e13a Initial import of nb to Pootle 2012-03-03 20:32:40 +01:00
Jérôme Duval
38d688ccbe BHandler: hopefully fixes a regression introduced in hrev43777.
* BHandler scripting handles bad scripting syntax by returning the Messenger property.
* Thanks to Siarzhuk Zharski for pointing this out.
2012-03-03 20:09:30 +01:00
Niels Sascha Reedijk
79a6d5e3f9 Weekly updates of translations from Pootle. 2012-03-03 19:59:45 +01:00
Rene Gollent
8f5079af02 When changing the tab height, also update the layout insets if needed.
Fixes #8374.
2012-03-03 08:32:05 -05:00
JackBurton
9289418325 Fix Indentation 2012-03-03 10:24:06 +01:00
JackBurton
417c123cc4 Fix indentation 2012-03-03 10:06:42 +01: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