Commit Graph
8454 Commits
Author SHA1 Message Date
Axel Dörfler e057f978ce Inode::FillPendingRequests() could fill the requests in the wrong team context.
Now, it will only notify the read requests do gather the data.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 02:57:34 +00:00
Axel Dörfler 48f8c4e477 file_cache_create() fails when it's called before the vnode is created.
Inode::SetFileSize() now changes the size of the cache as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 01:40:44 +00:00
Axel Dörfler 41eca62b69 Fixed debug build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 01:38:44 +00:00
Axel Dörfler 8c6a62c60c Now implements bfs_write_pages().
Changed some debug stuff.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 01:38:02 +00:00
Jérôme Duval 378a243ecc move from use of boot_time to use of system_time_offset
remove _get_tzfilename


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 00:20:30 +00:00
Jérôme Duval 2ecad4070b now use _kern_get_tzfilename
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 00:19:22 +00:00
Jérôme Duval 177fdbb034 renamed rtc_boot_time to rtc_system_time_offset
move code from use of boot_time to use of system_time_offset
added _user_get_tzfilename


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 00:16:24 +00:00
Jérôme Duval e2383c107d fixed offset sign, gmt clock is working
this should be factored in kernel core to only have a system_time_offset


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 21:54:24 +00:00
Axel Dörfler 92a076fcce Journal::FlushLogAndBlocks() no longer uses Journal::Lock() but the lock directly.
That avoids starting a new transaction for no reason (which wouldn't do any harm,
but still, it's not necessary to do that at all).
log_entry::cached_blocks is no longer maintained or needed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 20:49:55 +00:00
Axel Dörfler 1d20e0608e Inode::Create() allowed to create a symlink "above" a file.
Also, it did not check the access permissions if the file already existed.
Removed check for INODE_NO_CACHE, as this no longer applies.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 20:30:24 +00:00
Axel Dörfler 8039d342ec path & toPath don't seem to be too clear. Fixed order or arguments to the
kernel syscall and renamed them to be less confusing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 20:29:07 +00:00
Axel Dörfler cd3931efde Added find_directory() test application. Unlike the other tests, it only
tests the libroot.so implementation, so it has to be run under Haiku to
test its implementation (it only prints out all directories, anyway).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:44:11 +00:00
Axel Dörfler 4cd43d200d Removed R5 compatibility stuff, as it's not needed in our libroot.
Moved test main() into separate file under tests/.
Fixed warnings, some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:42:38 +00:00
Jérôme Duval b39d4ade08 modified tzset to use the global tzfilename when no TZ env variable is found
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:35:13 +00:00
Jérôme Duval 56d0b9b6db added _get_tzfilename
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:33:43 +00:00
Jérôme Duval f92e8b3361 added a clockconfig bin tool
it is only tested on R5, but should make its way on Haiku too


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:26:28 +00:00
Jérôme Duval 377eab2488 added _user_set_tzfilename
moved set_tzfilename into _user_tzfilename


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:14:06 +00:00
Ingo Weinhold bd38d51e91 Don't build the userland add-ons here anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:49:13 +00:00
Ingo Weinhold 2406c27b43 Disabled building the DiskDevice stuff separately. The tests don't work at moment anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:43:47 +00:00
Ingo Weinhold 36fc85d5a2 Disabled DDM tests for the time being.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:40:45 +00:00
François Revol 64829f93ff add find_directory to libroot build... someone test it ?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:28:51 +00:00
François Revol 390738c37c Use correct syscall for Haiku; better error reporting; testing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:27:08 +00:00
Rudolf Cornelissen 34b765e03b updated settings file with more loggging options info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:12:32 +00:00
Rudolf Cornelissen 39c1c5d155 updated version number to 0.18
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 14:57:12 +00:00
Rudolf Cornelissen f1a659c05d updated doc for fixes done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 14:56:11 +00:00
Rudolf Cornelissen 2ed96bbc32 Fixed GET_TIMING_CONSTRAINTS and GET_ACCELERANT_DEVICE_INFO accelerant hooks to return valid data; updated modeline checking and
modification code (used by ProposeDisplayMode) to adhere to one more timing constraint.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 14:54:57 +00:00
François Revol 722a8c5d4d #define OSDIR to "beos" and use it, so we can later just change that
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 09:23:54 +00:00
François Revol d457be4f45 make use of COMPILE_FOR_R5, make some things static.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 09:04:53 +00:00
François Revol 04495f1467 C version of find_directory, still needs some rework.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 08:55:46 +00:00
shatty a2aa8e4a7f changed T_ATOMIZER_MODULE_NAME to B_ATOMIZER_MODULE_NAME for compiling under DEBUG
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 06:40:03 +00:00
shatty 5688ae7d7d Ingo claims VisitEachPartition is the same as VisitAll, so I fixed this compile problem by changing VisitAll into VisitEachPartition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 06:30:40 +00:00
shatty 7dda95376c use shared headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:43:21 +00:00
shatty 0c1783a5a5 suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:24:04 +00:00
shatty 41c695ceea build resources once, supress warnings for imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:17:21 +00:00
shatty d68a1a0505 supress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:13:50 +00:00
shatty 41e0a8a89a address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:11:24 +00:00
shatty ed41ab87f4 suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:50:39 +00:00
shatty 0caecf776c address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:39:03 +00:00
shatty 5975f4e98d jamfile simplification
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:38:16 +00:00
shatty 9e17ced40d suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:03:35 +00:00
shatty d0ff798a58 added casts for deleting void*, this should cause destructors to be invoked now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:00:30 +00:00
shatty c78143962a suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:50:13 +00:00
shatty a42857f183 suppress warnings in imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:47:41 +00:00
shatty 6e518ec4c2 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:45:00 +00:00
shatty f23d8db821 extract common elements and build once
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:31:59 +00:00
shatty 3bf2b70a08 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:00:59 +00:00
shatty 171f2ead33 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:41:57 +00:00
shatty 03f6835ae7 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:34:19 +00:00
shatty d335105c51 suppress warnings for imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:29:47 +00:00
shatty 3a83097201 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:17:56 +00:00