* no longer keep a separate time-backend, since the implementation needs to
access (data of) the locale backend anyway
* moved more stuff from localtime_fading_out.c to localtime.cpp
* added respective tests to locale_test
* added two more tests copied from glibc, test_time.c and tst-mktime.c
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38162 a95241bf-73f2-0310-859d-f6bbb57e9c96
* Added an ipv6_ prefix to all test apps, as their names clashed with existing
test apps.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38019 a95241bf-73f2-0310-859d-f6bbb57e9c96
* Automatically leave game mode if it's still active at exit
* Remove explicit game mode cleanup from testbed app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37822 a95241bf-73f2-0310-859d-f6bbb57e9c96
drawing a scaled picture at an offset. The offset
needs to be scaled too, but isn't right now.
* Fixed testDrawLargeBitmap. The bounds were negative.
* Added testFontRotation. Works fine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37818 a95241bf-73f2-0310-859d-f6bbb57e9c96
* The test now pass. But unarchiving still isn't working and restores the default collator instead of the archved one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37787 a95241bf-73f2-0310-859d-f6bbb57e9c96
* Fix archiving/unarchiving to provide at least a valid object. However, ICU archiving system doesn't look like it's working well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37784 a95241bf-73f2-0310-859d-f6bbb57e9c96
* support invocation of ctype/wctype macros with EOF/WEOF (-1), which would
access more or less random memory before - I don't know why this worked
more or less reliably for the POSIX locale, but it didn't for any other
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37730 a95241bf-73f2-0310-859d-f6bbb57e9c96
weird behavior when running in kernel.
* checksumfs_io(): Try to lock with timeout when the request is VIP. This
works around a potential quasi-deadlock: Most write support FS hooks
potentially allocate memory (e.g. in block_cache_get*()) while holding a
write lock to a node. When memory is low they have to wait for pages to
become available. The page writer might block on such node which in turn
would prevent modified pages from becoming eligible for recycling. Should
only in rare low memory cases have led to a problem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37687 a95241bf-73f2-0310-859d-f6bbb57e9c96
for multiple of kFileBlockMaxCount block counts.
* File::_GrowTree(): The inner loop of the level addition part was bogus.
Apparently I never tested with files >= 2 MB before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37683 a95241bf-73f2-0310-859d-f6bbb57e9c96
* _AllocateInGroup(): Fixed incorrect checks. The allocation group counts the
free, not the used blocks.
* _AllocateInBitmapBlock(): Fixed allocation loop. It was neither incrementing
the array pointer, nor resetting the bit offset.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37656 a95241bf-73f2-0310-859d-f6bbb57e9c96
zeroes.
* Compute and propagate the check sums of the written file data to the
underlying device.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37641 a95241bf-73f2-0310-859d-f6bbb57e9c96
Transaction sets the check sums for the changed blocks on the underlying
device, respectively reverts them on roll-back.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37639 a95241bf-73f2-0310-859d-f6bbb57e9c96
* Added some debug output.
* CheckSumCache::_GetBlock(): Fixed incorrect check. The method could return
an arbitrary block.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37638 a95241bf-73f2-0310-859d-f6bbb57e9c96
GSoC 2008. I've reworked them a bit to let them compile without warnings
(or at all), and give better error messages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37634 a95241bf-73f2-0310-859d-f6bbb57e9c96
It doesn't have the intended semantics (reverting the change). The caller
is now expected to roll back the transaction.
* AllocateExactly(): Don't try to revert a partially successful allocation.
The caller is expected to roll back the transaction.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37632 a95241bf-73f2-0310-859d-f6bbb57e9c96
- Simplified by using the new common _CreateNode(). Changed the constructors
slightly -- the block index is now set via a separate SetBlockIndex()
method.
- The block allocated for the node was not cleared. At least for directories
that is required, though.
* Added attribute support:
- Refactored/extended {open,create}_file() and DirCookie a bit, so they can
also be used for attributes/attribute directories.
- Implemented all relevant attribute FS hooks.
- Node::DeletingNode(): Changed interface (it creates the transaction(s) as
needed, now and doesn't return the error code anymore. The base class
implementation frees the attribute directory, the Directory implementation
also unlinks all entries and frees the entry tree.
* checksumfs_write_stat(): B_STAT_MODE was not handled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37626 a95241bf-73f2-0310-859d-f6bbb57e9c96
unmounting and remounting the number of free blocks could be off.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37588 a95241bf-73f2-0310-859d-f6bbb57e9c96