Commit Graph

2066 Commits

Author SHA1 Message Date
Philippe Houdoin
bb1fc73715 Fixed BGLView constructor: name string argument wasn't qualified constant!
Fixed GCC4 warnings in GLInfo.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-12 03:01:48 +00:00
Stefano Ceccherini
4fd3a03652 Remove "CanControlFrameBuffer" again, since it wasn't the cause of the crash:
width and height were off by one, and ParticlesII was writing out of the
frame buffer. Some style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-10 18:46:52 +00:00
Stefano Ceccherini
804f3b726b Reverted r21451, otherwise ParticlesII crashes after a while, if the
accelerant doesn't support moving the frame buffer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-05 21:29:22 +00:00
Axel Dörfler
3471097486 * Improved the parsedate() test to produce a reliable test case (with a fixed
"now", and given expected results).
* Now only prints failures, unless you give a command argument (which just
  enables verbose output).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-05 09:47:20 +00:00
Stefano Ceccherini
36325c7fe5 Gcc4 fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-03 16:53:04 +00:00
Axel Dörfler
b9ee6b3700 * Changed text so that it's obvious those are supposed to be sticky.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-03 14:54:22 +00:00
Axel Dörfler
8318af01b9 * Added a basic tool tip API, and implementation.
* The BView API can probably be regarded as good enough; the implementation
  might need to be improved over time (also, some things as archivability
  aren't fully implemented yet). The ToolTip.h header should get public once
  finalized.
* Added new B_MOUSE_IDLE message that is sent to a BView after a certain
  time has passed (BToolTipManager::ShowDelay()).
* Added small test app (ToolTipTest) that shows what is already working.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-03 14:47:41 +00:00
Axel Dörfler
5d224e740d * Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 18:21:20 +00:00
Stephan Aßmus
5147963dcd headers/private/kernel/util/OpenHashTable.h, Hugo's version, is a bit nicer than
Tracker's OpenHashTable.h which it should eventually replace. We've renamed the
class to BOpenHashTable and changed the interface slightly so that HashTableLink
became superfluous.
Adapted all the code that used it. Since the OpenHashTables no longer clash,
this should fix the GCC4 build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 00:39:12 +00:00
Axel Dörfler
2a26c91105 * Fixed typo in usage text.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-26 11:56:02 +00:00
Oliver Tappe
5c454bb4ce * added another tiny glibc-test, testmb.c, which covers a couple of mb-/wc-related
functions (in a failed attempt to reproduce #4113)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 13:57:38 +00:00
Axel Dörfler
782bdb4030 * Added -i, --mount-image option to let it work on an image file that is
unmounted, and then remounted before each check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 16:16:44 +00:00
Stefano Ceccherini
2fb98dccf3 Added a test for BPicture 'SetFontFamilyAndStyle' which we don't handle yet
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-19 10:14:48 +00:00
Ingo Weinhold
050b103c26 Don't SubInclude the libntfs subdir again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 21:12:04 +00:00
Fredrik Modeen
d0da5b576f Fix compile of BeServed on Zeta but could not get it to work on Zeta - Windows xp combination. I will not do much more work on this. I have a pkg that I intend to make public.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 14:03:58 +00:00
Oliver Tappe
16d5c24e53 * merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 10:30:09 +00:00
Axel Dörfler
b49a46a7ff * Inode::_AddSmallData() now supports writing at an arbitrary position.
However, Inode::WriteAttribute() still has a number of problems when this is
  actually used; contents could get lost when an attribute is moved from the
  small data section to an attribute file, and the index might not be updated
  correctly when you write within the first 256 bytes, but not at position 0.
  Since these problems aren't exposed with how we're using BFS right now, it's
  not that bad, though (Inode::WriteAttribute() supports everything correctly
  that it had to under BeOS).
* Added test application for certain fs_attr functions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-29 10:40:01 +00:00
Fredrik Modeen
6f2bdd6354 Moved files not used by VS2008 think they are used by VS2002 or can be removed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-25 20:09:12 +00:00
Fredrik Modeen
c50a2db0af added some files I missed..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-25 20:07:23 +00:00
Fredrik Modeen
fda5049123 Ticket #2547 can now be closed. this makes all the Windows parts of BeServed build in VS2008.
As Olivier Coursière wrote in the ticket/Patch he did.
To install
copy the control panel application in the c:\windows\system32 directory 
run "BeServerd.exe -install" from the command line to install BeServed as a Windows service.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-25 19:56:19 +00:00
Fredrik Modeen
a555f61b61 Moved files not used by VS2008 think they are used by VS2002 or can be removed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-25 19:05:29 +00:00
Fredrik Modeen
beadef3853 Added VS2008 Project and sln (don't work with Express)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-24 23:14:10 +00:00
Fredrik Modeen
15773a7d63 Remove unwanted code, backup, files named old (when same exist but without old), suo files are changed and created when windows project are opened
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-24 22:32:57 +00:00
Oliver Tappe
ebe1a956f0 * fixed a warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-22 19:13:47 +00:00
Oliver Tappe
8ce2ca0fc7 * added a couple of wchar-related tests (from glibc-2.3.2) that expose
several problems in our wchar-support - the worst of which being that
  our compilers define wchar_t as short while the glibc-implementation
  is relying on it being 32-bits wide ...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-22 19:13:32 +00:00
Axel Dörfler
c0fba701e1 * Added dprintf_no_syslog() to our kernel emulation layer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-05 08:14:31 +00:00
Axel Dörfler
9b9bbca910 * Fixed Map::GetFileMap(), added some more tests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-04 12:11:37 +00:00
Axel Dörfler
503e56854f * Started a file_map test app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-04 10:50:09 +00:00
Axel Dörfler
5734ece852 * Improved output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-03 12:16:25 +00:00
Oliver Tappe
2dc3fd4652 * fixed gcc4-build of DriverSettingsTest
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 15:23:06 +00:00
Oliver Tappe
f36c9e44ac * added a couple more test dates that contain timezones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 15:22:04 +00:00
Oliver Tappe
2660bd9be1 * adjusted to allow for switching between alignments (and now makes use of
the layouting engine, too)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-14 17:39:00 +00:00
Axel Dörfler
f47bff0880 * Made the iso9660 file system buildable within the fs_shell (iso9660_shell).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 20:07:24 +00:00
Axel Dörfler
ce34c0c260 * Removed old BeOS ISO9660 file system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 20:06:50 +00:00
Oliver Tappe
5b3152c4fb * fix gcc4 build of translator add-on tests
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 19:01:32 +00:00
Oliver Tappe
bd3cb5f1b0 * added number format tests to build of locale kit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 18:59:35 +00:00
Stephan Aßmus
6ed1dfa1b0 GCC4 build fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 17:31:24 +00:00
Oliver Tappe
10169155a9 * fixed one more gcc4 warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 15:41:48 +00:00
Oliver Tappe
3a268d9080 * applied several fixes to make locale kit buildable with gcc4, too
* actually, all those fixes were already contained in PulkoMandys patch,
  but I just missed that :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 13:44:35 +00:00
Oliver Tappe
214cf2d02b * catalogTestAddOn was missing from LocaleKitTests
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 13:27:17 +00:00
Oliver Tappe
723383c0f4 Applied patch by PulkoMandy, adjusted and extended by myself:
* integrating most of the locale kit into the build (and image)
* removed LocaleBuild.h and _IMPEXP_LOCALE since that does not make
  sense for elf (which usually exports all symbols anyway)
* added a couple of locale kit related pseudo targets for convenience
Hey, some of that stuff already seems to work :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 21:56:16 +00:00
Oliver Tappe
c3ac87e8fc * Copied imported OpenTracker Locale Kit files from the vendor branch
into their new homes (at least for now, might need some adjustment).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 19:23:59 +00:00
Axel Dörfler
c9928eb11a * Moved random_file_actions to the other file system tests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 10:06:32 +00:00
Axel Dörfler
bf9f608567 * The multiple file creation was not correct, and could create way more files
than planned. Now, it always adds 10% to the max file/dir count unil 50% is
  reached.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 10:03:44 +00:00
Axel Dörfler
3ea61f1f22 * Add option -a to always check before contents are removed.
* Print the settings on start in verbose mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 10:01:11 +00:00
Axel Dörfler
636ccbf306 * Write the identifier as attribute to the file to make later checks possible.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 15:58:29 +00:00
Axel Dörfler
3b9dec1c07 * remove_dir() can no longer remove the base dir.
* Added a remove_dirs() that can reliably clean up the mess afterwards.
* Added option -b to set an alternative base dir.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 15:32:56 +00:00
Axel Dörfler
97f89e0360 * All files now get unique, and verifiable contents.
* Added argument -c|--check-interval to determine how often the file contents
  are checked.
* Added some statistics.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 13:01:54 +00:00
Axel Dörfler
59b3d28a25 * Wrote a test application trying to reproduce bug #2197, ie. modelled after
Mozilla's PR_NewTCPSocketPair() -- unfortunately, it doesn't seem to work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-21 21:01:25 +00:00
Axel Dörfler
d31093e866 * Start of a test application to hopefully be able to reproduce the remaining
BFS problems.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-21 15:36:24 +00:00
Ingo Weinhold
3c3d2b85cd * Moved the time_stats tool to src/bin/debug.
* Fixed some gcc 4 warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-18 10:08:06 +00:00
Ingo Weinhold
53cce89bf5 Fixed build. The tests actually reveal a problem in the IORequest
implementation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-07 16:01:29 +00:00
Oliver Tappe
411461b72a * removed unused variable
* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-07 15:11:03 +00:00
Ingo Weinhold
f1fdb02675 Added jamfile for building ntfs for userland.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 11:33:04 +00:00
Stephan Aßmus
457f9cf840 If you had added Benchmark as a target, your build would have been broken,
because I forgot to add these files in my last commit... sorry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 08:06:05 +00:00
Oliver Tappe
f57313518e * added a test for BTextView which exposes a couple of problems
with large contents


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 22:28:54 +00:00
Stephan Aßmus
0596ce4f66 One can now chose clipping or no clipping (--clipping or -c) and the drawing
mode. The ClippedLineTest is removed, since that was a dup of RandomLines
anyways.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 22:10:21 +00:00
Stephan Aßmus
418ce29089 Make Benchmark pick up the test you want to run from the command line args.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 15:41:41 +00:00
Stephan Aßmus
1f7211f99b Integrate a BColumnListView...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 19:53:14 +00:00
Stephan Aßmus
6d9903099d Patch by maxime.simon: Make Playground use a BColorControl instead of those
text controls for defining the color. Thanks a lot! (Also took the opportunity
to fix some coding style violations which had already been there.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 10:28:34 +00:00
Stephan Aßmus
7fd8106e2a Because I didn't remove all the old drawing code from all the controls, yet,
it's a lot of fun to compare the new and old look by pressing the Revert
button...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-23 12:28:21 +00:00
Stephan Aßmus
227e55e5aa Also allow looking at save file panels.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-23 11:14:55 +00:00
Stephan Aßmus
5b8725efcc * Added code for opening a BFilePanel.
* Made sure that the BButtons use the maximum available width. This makes the
  whole layout use the full available size.
* Added optional code to test layout item usage of BTextControl and BMenuField.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-22 11:29:40 +00:00
Ingo Weinhold
98092e9867 gcc 4 fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-18 22:43:47 +00:00
Ingo Weinhold
5c20c5a552 Replaced the mutex and read-write lock implementations by the kernel code,
too. It's slightly adjusted to use the thread blocking syscalls and a benaphore
style threads spinlock replacement. This solves the following problems:
* The static mutex/rwlock initializers are safe now.
* The rwlock implementation is compatible with the kernel implementation. E.g.
  a write lock owner can acquire a read lock, which would dead-lock before.
* We don't use semaphores anymore. With a userland BFS one could quite easily
  hit the global semaphore limit before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-18 02:03:41 +00:00
Ingo Weinhold
4a92b6134f _mutex_trylock():
* The loop is unnecessary, since the call doesn't block anyway, so it can't
  be interrupted.
* Set the holder, if KDEBUG is enabled. Otherwise the panic() in
  recursive_lock_unlock() would be triggered.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-16 03:34:08 +00:00
Ingo Weinhold
51ecdb00aa Replaced the recursive lock implementation by the kernel implementation
(slightly adjusted). It is completely based on mutexes, not needing any other
problematic features. Not sure why the previous implementation was doing it
differently.
This also adds the previously missing recursive_lock_trylock().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-09 01:48:28 +00:00
Ingo Weinhold
110ffb6a22 The userland version of BFS almost builds again. recursive_lock_trylock() is
not exported by the UserlandFS interface yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-09 01:34:49 +00:00
Ingo Weinhold
e3c89b1935 Removed superfluous strlcpy.c source. Haiku has strlcpy() in libroot.so
and the emulation library doesn't work on BeOS anymore anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-09 00:42:49 +00:00
Ingo Weinhold
1de1f379a1 * Replaced the dummy slab implementation with that of the UserlandFS.
* Correctly implemented object construction and destruction.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-09 00:34:55 +00:00
Ingo Weinhold
cc586449f7 * Split misc.cpp further.
* Removed user_strcpy() (it doesn't exist in the kernel) and reimplemented
  user_{memcpy,strlcpy}().
* Added kernel_debugger().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-09 00:23:33 +00:00
Ingo Weinhold
20bc371082 * Replaced the broken condition variable implementation (the
sConditionVariablesLock is needed) with the one I used for the UserlandFS,
  which is a slightly adjusted kernel version.
* Got rid of sThreadsLock. It's not necessary and didn't work like used anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-08 18:27:06 +00:00
Ingo Weinhold
52c8e07fde Broke kernelland_emu.cpp into several source files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-08 17:55:36 +00:00
Ingo Weinhold
aa085ffef9 * Removed UserlandFS shared Locker class. Instead use BLocker in userland and
RecursiveLock in the kernel.
* Several adjustments according to UserlandFS header changes.
* Re-added reiserfs to image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-05 23:27:35 +00:00
Ingo Weinhold
8dcef9a6ad * Made ASSERT definition conditional to avoid clashes.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-05 23:17:18 +00:00
Alexandre Deckner
f11e13ffa2 * Fix build of ShelfTest
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-03 12:36:41 +00:00
Ingo Weinhold
180e55a48b Added option "--multi", which creates another thread and crashes both, the
new thread and the main thread in this order. Allows to reproduce #2956
quite often.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-23 22:53:46 +00:00
Stephan Aßmus
c88313977f * Added test for more menu situations.
* Refactored hard-coded group insets.
* Geve second tab BView the standard gray background.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-15 15:06:06 +00:00
Stephan Aßmus
efa8a77d4a Show more controls.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 21:14:15 +00:00
Stephan Aßmus
bb17b6b92f Get a lot more views and controls on display.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 22:15:16 +00:00
Ingo Weinhold
06828840d7 * Link the test programs with --export-dynamic. This shows that my previous
assumption, that the program image is ignored when relocating symbols of
  dlopen()ed objects, is incorrect.
* Adjusted the tests that were failing due to that.
* The RTLD_NEXT test also fails with openSuse 10.3 -- apparently the semantics
  has changed between the Linux versions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 18:16:46 +00:00
Karsten Heimrich
2f475458bc * fix typo
* make the target a bit more visible



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 21:21:24 +00:00
Karsten Heimrich
9d95156703 * Add test for BScrollView SetBorder, which exposes some problems using the
layout version of that class. (drawing artefacts, wrong scrollbar placement)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 13:32:57 +00:00
Stefano Ceccherini
530ce9aaab added mbtest to the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-20 16:10:39 +00:00
Axel Dörfler
8e8b747220 * Fixed minor style issue :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-20 10:39:07 +00:00
Axel Dörfler
01b60f3d7e * Fixed one more case of a resulting 0 byte buffer. Also added a test case for
it to the test app. This finally fixes ticket #2594.
* Of course, I neither saw this one before, nor did I accidently reproduce it
  with a test :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-20 10:38:05 +00:00
Stephan Aßmus
a4ef4a4915 Beginnings of a test app that shows all Interface Kit controls in various
configurations so that one can work better on the look.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-20 09:27:41 +00:00
Axel Dörfler
15d2b7b29d * This test would have reproduced the "buffer > 0" ASSERT problem with the
previous release of BufferQueue. IOW #2594 should be fixed now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-18 23:27:39 +00:00
Axel Dörfler
124ee2f4ef * A new test app for the BufferQueue implementation - this currently fails.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-11 16:40:12 +00:00
Rene Gollent
1f7f1654fb The problem appears to be at the level of _PointerList_ itself. Also note, BList does not exhibit the issue.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-11 04:52:18 +00:00
Rene Gollent
4c1a09d0cf Added a test that exposes a problem in BObjectList/PointerList. If a list contains 17 items or greater, and you attempt to sort it with a sort function that always returns 1 regardless of the items being compared, it will crash 100% of the time. Looking into why next.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-11 04:43:53 +00:00
Karsten Heimrich
45735be6c9 * extend test with sliders containing min/ max labels
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-08 16:12:23 +00:00
Axel Dörfler
ea5c7202cb * If a window was hidden during resize/movement, it would still be in resizing
or moving mode when it was shown again. Added a test app HideAndShow which let
  you easily reproduce the faulty behaviour (with a previous version of the
  app_server, that is).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-05 10:32:30 +00:00
Philippe Houdoin
16edc24aba Ooops, typo spotted by Diego. Thanks proofreader(s).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-31 17:03:36 +00:00
Philippe Houdoin
0832f66cc5 Added a small faking OpenGL renderer add-on as a testbed for direct
mode threading/drawing issue.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-30 20:17:18 +00:00
Ingo Weinhold
e30bbad2c2 Added tests for RTLD_NEXT.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 21:58:06 +00:00
Ingo Weinhold
67ef7f5678 Added a small test suite for the runtime loader. The tests are designed
to succeed on Linux. FreeBSD fails some tests since it seems to have a
different load order (depth-first instead of breadth-first). Haiku fails
a lot of tests due to its POSIX non-compliant dlopen().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 02:04:53 +00:00
Axel Dörfler
a26045b7a6 * cache_detach_sub_transaction(), and cache_abort_sub_transaction() now support
discarded blocks correctly as well.
* cache_detach_sub_transaction() left cached_block::original_data unchanged even
  if the parent data was to become current (in case the sub transaction didn't
  change the block yet). This could cause outdated blocks to be written back.
* cache_detach_sub_transaction() also set cached_block::previous_transaction
  for all blocks, not just the ones with a previous transaction. This could
  cause blocks to be written twice for no reason.
* cache_start_sub_transaction() did not change the num_blocks count for
  discarded blocks.
* block_cache_discard() now panics if the block was already changed in the
  current transaction.
* Improved test application, added more tests, revealing the above bugs in
  cache_detach_sub_transaction().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-05 13:52:34 +00:00
Axel Dörfler
2ecc2162bb * Now also sets the mutex::holder field (only present when KDEBUG is defind),
to make ASSERT_LOCKED_MUTEX() work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-05 11:54:09 +00:00
Axel Dörfler
11ab7172d9 * Make static initializers sort of work in the test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-05 11:05:02 +00:00
Axel Dörfler
96e19c19fc * The first functions now handle the "discard" flag correctly (namely
cache_end_transaction(), and cache_start_sub_transaction()).
* Further work on the test application, it's now actually usable, first test
  passes.
* dump_block() did erroneously print 'B' for the dirty flag; now both dirty and
  discard have the 'D' (3rd and 5th column).
* block_cache::LowMemoryHandler() is now private (and got an underscore prefix).
* Minor cleanup, shuffled some methods around.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-04 22:40:11 +00:00
Axel Dörfler
167460c123 * Brought libkernelland_emu.so up-to-date again.
* Added Slab stubs (from tcp_shell).
* Added (yet untested) support for anonymous condition variables.
* Added low resource manager functions.
* Allows including thread.h now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-04 16:46:08 +00:00
Axel Dörfler
21b2687fab * No need to keep Michael's old VM stuff around.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-04 15:32:02 +00:00
Axel Dörfler
5b812019b4 * Added function block_cache_discard() that flushes blocks from the block cache,
discarding their changes. This functionality currently only works correctly
  when no transactions are used.
* Started test application for the block cache, doesn't do anything yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-04 14:49:33 +00:00
Stephan Aßmus
5ae0bbaad0 Added test for BWindow::FindView(BPoint).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-04 14:47:18 +00:00
Axel Dörfler
617fdc096a * Added "progress bars".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-01 12:51:20 +00:00
Axel Dörfler
2395e3a496 * Don't traverse symlinks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-01 12:35:28 +00:00
Axel Dörfler
5bc160ddb0 * The AdaptiveBuffering::_Write() method was exiting early, causing the possibly
random SHA hashes.
* Moved AdaptiveBuffering into its own file.
* Fixed updating a hash file.
* Implemented the "consistency_check" app that checks if a file has changed,
  and prints warnings if there are any.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-01 10:54:51 +00:00
Axel Dörfler
91af3542a4 * Now writes and updates the hash file.
* Unfortunately, there still seems to be a problem in the hash generation...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-31 22:30:41 +00:00
Axel Dörfler
d6013f6096 Work-in-progress:
* Started a file consistency checker; right now, it will just compute a SHA256
  hash value for every file, and dump it to stdout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-31 17:05:49 +00:00
Axel Dörfler
9aec3dd627 * Complete rename of randomread to random_read.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-31 14:51:27 +00:00
Axel Dörfler
144d884dad * Moved "randomread" out of the bfs directory, as it's not BFS specific.
* Also renamed it to random_read, but SVN needs two revisions for that...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-31 14:49:43 +00:00
Axel Dörfler
2e04b65212 * Added test application for the GCC2 demangler.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-30 18:12:20 +00:00
Ingo Weinhold
bc3955fea5 Preparations for removing __BEOS__ from the compiler defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-23 21:46:26 +00:00
Stephan Aßmus
c92e0a11c0 Fixed locations of binaries and some output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-23 16:56:14 +00:00
Stephan Aßmus
3f3c9fdd04 Fixes to make the app_server test env compile, but I have various other
fixes in my tree to make it compile on R5 still. I don't really want to
check this in, I'd rather adopt the buildsystem to make it run on Haiku
itself...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-23 16:55:17 +00:00
Stephan Aßmus
39f3b70eaa Simplification.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-23 16:52:44 +00:00
Axel Dörfler
c3657d1abd stippi+axeld:
* Made the StressTest app into a real stress test for the app_server, as the
  windows are now randomly changed, ie. moved, resized, hidden, activated, ...
* This already helped identifying two long-hiding bugs in the app_server code!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-17 15:46:45 +00:00
Axel Dörfler
58a77fd3c9 * Fixed the incorrect ASSERT that possibly dropped you into KDL while deleting
something (as reported by Marcus and Bruno on the mailing list).
* AllocationGroup::Allocate() would always invalidate the largest block if
  it did not cover the largest part of the group; now it only invalidates it
  if it has been cut before.
* Added small test app for the invalidation part.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-16 10:00:34 +00:00
Stephan Aßmus
5604c88c81 Created an icon for Playground.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 16:16:20 +00:00
Stephan Aßmus
bfaa132f3f Also test what happens when there is a view with an event mask. (Currently
shows a bug in the app_server event dispatching which is going to be fixed
next.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-13 23:08:53 +00:00
Stephan Aßmus
e0418bf91e Fixed wrong target name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-13 23:07:50 +00:00
Stephan Aßmus
61e7172dca Added a test application for view transit changes, including the problem
of stealing (not anymore) mouse messages that are important for maintaining
the correct transit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-12 19:32:41 +00:00
Ingo Weinhold
8037829025 Added option '-b' for setting the buffer size used for the scheduling
analysis.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-12 12:30:59 +00:00
Oliver Tappe
1af8bfdf87 * fixed output format and a warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-12 08:10:11 +00:00
Oliver Tappe
1c2b784cc6 * improved flexibility when doing broadcasts (the broadcasting
address can now be specified), in order to be able to do
  global broadcasts as well as network (IP-level) broadcasts

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-11 21:25:58 +00:00
Ingo Weinhold
c28bcbdf58 Added "--signal" option that performs the crash in a signal handler.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 00:47:36 +00:00
Karsten Heimrich
8e0559b5f7 * fix probable memory leaks, not in the image but anyway...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 11:54:05 +00:00
Ingo Weinhold
e9c4d47ad7 Added command line option "-d" to disable the debugger before crashing.
Shows that disable_debugger() isn't working ATM.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 19:54:12 +00:00
Stephan Aßmus
6152a5bc58 Added a test for BTextView. It is quite basic yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-21 21:37:22 +00:00
Stephan Aßmus
b2c4c4f1f7 * Added BRadioButton test (the class seems to work fine).
* Extended the BMenuField test to see what happens when the super item label
  changes (works fine now).
* Updated TODO.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-16 15:10:11 +00:00
Stefano Ceccherini
10d8f3749e added a test for BView::SetDiskMode()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-16 10:27:41 +00:00
Stefano Ceccherini
b482d05552 Fix gcc4 warning, small style changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-16 07:32:36 +00:00
Stephan Aßmus
7302e28d1b Added BTextControl test. BTextControl seems to need some love.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-13 19:50:01 +00:00
Stephan Aßmus
21527c4e77 Added BScrollBar test.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-13 19:21:55 +00:00
Michael Lotz
020f56a07f CID 323 and CID 324: Also check the results of these dynamic_casts, sorry for
not combining with the previous commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-13 12:36:17 +00:00
Michael Lotz
446d046c5e CID 325: Be defensive and check the results of the dynamic_casts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-13 12:28:46 +00:00
Axel Dörfler
90e8094e1e * Added test application for the AttributeIterator implementation. Note that
this test fails under BeOS, while it works just fine under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-12 12:23:39 +00:00
Salvatore Benedetto
7a32d7f588 * Adding unit test for xsi message queue
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-11 15:08:18 +00:00
Ingo Weinhold
91e9d17c3f Small test program timing our path resolution. Which sucks badly...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-08 00:50:27 +00:00
Ingo Weinhold
61713fc607 * More verbose usage text.
* Parse the command line options posixly correct. Running command lines
  that contained options was broken before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-07 14:22:53 +00:00
Michael Pfeiffer
b5c0078dc0 * Used wrong argument order for pixelChunk and rowAlignment in get_pixel_size_for(), so bitmap comparison was wrong for a color spaces with bytes per pixel != 4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-05 13:39:06 +00:00
Michael Pfeiffer
eaaafdc55f Fixed display artifacts when scrolling horizontally.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-05 13:33:13 +00:00
Michael Pfeiffer
e5f1745701 Removed debug output, it is not required anymore, as scrolling horizontally should work now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 20:32:31 +00:00
Michael Pfeiffer
2d201d5a3e Provided detailed information when two bitmaps are different.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 17:08:20 +00:00
Stefano Ceccherini
0fb4fa50cd Added a column where the picture generated bitmap is subtracted from the direct generated bitmapi (to be able to see small differences, is it correct or it doesn't work like this?). In many cases the result is a black rectangle (as it should), but some others don't look correct. Any idea ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 10:21:47 +00:00
Stefano Ceccherini
ed70c5f317 added test for push/pop state (very basic)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 10:20:07 +00:00
Stefano Ceccherini
15cf50e010 Added a test (not that cool) for SetDrawingMode(). For some reasons it fails, although the images look the same to me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 09:30:29 +00:00
Ingo Weinhold
f88e298ec7 * In the timing table user and kernel time were swapped.
* Scheduling analysis output:
  - Sort the threads by total run time.
  - Group the locking primitives a thread has waited on by common type
    and name. E.g. all "I/O request finished" condition variables are
    put in a single group. The sum wait time and wait count is printed
    for the group, so it is easy to see how often and how long the
    thread had waited for I/O.
  - Both the groups and their elements are sorted by wait time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 00:13:53 +00:00
Ingo Weinhold
49de5a2f65 * Added "-s" option, which uses the new scheduling analysis feature to
gather additional information on the threads that were running and
  what they were doing.
* Added "-o <output>" option for specifying a file to which to print the
  statistics to.
* Some beautifications (usage, help, etc.).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-03 15:15:19 +00:00