Added low-level clipping support to decorator preview
Added comments to clarify disabled cursor and color set support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10215 a95241bf-73f2-0310-859d-f6bbb57e9c96
_user_create_area() and _user_clone_area() now inherit the read/write protection
for the kernel, too - before, it was always mapped read/write in the kernel,
but there is no reason to do that.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10214 a95241bf-73f2-0310-859d-f6bbb57e9c96
Calls set_area_protection() after relocating the images to make them
read-only for real.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10212 a95241bf-73f2-0310-859d-f6bbb57e9c96
an off_t as size argument.
Implemented new function vm_cache_write_modified() which will write all
dirty pages of this cache back to disk (using the new vm_page_write_modified()
function).
Fixed warnings when compiled with debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10205 a95241bf-73f2-0310-859d-f6bbb57e9c96
pages in a cache back using the store's write method. Doesn't optimize
disk access yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10204 a95241bf-73f2-0310-859d-f6bbb57e9c96
While we can tolerate the device driver to ignore the bytes argument when we
read from the device, we cannot do this for writes - now the code actually
takes this into account. Also added a comment about what to do when our own
driver is fixed :)
Implemented file_cache_sync().
file_cache_set_size() now uses vm_cache::virtual_size instead of the now
removed vnode_store::size. Also, it now resizes the vm_cache as well, so
that any no longer used pages are freed.
write_to_cache() now puts all pages in the modified list, so that they
can be written back easily.
Improved debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10203 a95241bf-73f2-0310-859d-f6bbb57e9c96
vm_cache::virtual_size is now used by the file cache code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10202 a95241bf-73f2-0310-859d-f6bbb57e9c96
dec_vnode_ref_count() now deletes the cache *after* calling the file system's
remove/release vnode function. Also, it will now write back any pending
changes in that cache before removing it.
Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10201 a95241bf-73f2-0310-859d-f6bbb57e9c96
Changed size argument of vm_cache_resize() from size_t to off_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10200 a95241bf-73f2-0310-859d-f6bbb57e9c96
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
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
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
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
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
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
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
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
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
removed set_tzspecs, which was useless; now done in user_set_tzspecs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10176 a95241bf-73f2-0310-859d-f6bbb57e9c96
tzfilename is used to keep current timezone filename
isGMT is used to know how to handle rtc clock
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10175 a95241bf-73f2-0310-859d-f6bbb57e9c96