Jérôme Duval
da95c7c14b
added rmd160 checksum tool from http://www.nic.com/~cheah/rmd160.tar.gz
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-04 13:00:00 +00:00
DarkWyrm
4a03616356
Added a StringWidth method variant
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-04 09:40:32 +00:00
DarkWyrm
5e6d7d522d
Fixed a TODO - added a method for calling StringWidth with a ServerFont instead of DrawData
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-04 09:39:06 +00:00
Axel Dörfler
5514672d42
Added a syscall timing utility, similar to the one in NewOS.
...
Can also be run under R5 when TARGET_PLATFORM=r5 for comparison.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-04 01:03:44 +00:00
Stephan Aßmus
a3b4fd6b87
update the playground to my local changes, the textview test isintegrated with the build now
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-04 00:38:14 +00:00
Stephan Aßmus
fc72699071
added some safety checks, cosmetic changes - please note that it is safe to call delete with a NULL pointer, unlike free(), so please don't clutter the code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:54:44 +00:00
Stephan Aßmus
25ad8b2c74
replaced direct calling of Draw() with Invalidate() where appropriate
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:51:29 +00:00
Stephan Aßmus
dd3b1653a0
rearranged some functions, removed unused ones
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:50:14 +00:00
Stephan Aßmus
d3194176a3
added support for software cursor needed for single buffered mode
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:48:22 +00:00
Stephan Aßmus
9c796f60c2
rearranged some functions, removed unused ones
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:47:08 +00:00
Stephan Aßmus
b060f5e1eb
more correct implementation of B_OP_COPY, in that it blends against the current low color (as seen in text rendering on BeOS), of course this extends to anti-aliased lines on Haiku
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:45:16 +00:00
Stephan Aßmus
24bc7597eb
cosmetic
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:43:51 +00:00
Stephan Aßmus
265db80516
added a timeout for sending messages down to the client, it keeps app_server from hanging, though of course it doesn't fix the real problem, I have not had time to investigate the messaging, but this work around shows that the hang ups that I was seeing indeed happen in the messaging code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:42:37 +00:00
Stephan Aßmus
48c0335055
added a small safety check
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:40:29 +00:00
Stephan Aßmus
924b7ab22c
the clipping BRegion is now always allocated, added shortcut for determining if there is a valid clipping
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 21:39:03 +00:00
Stefano Ceccherini
d6b3de8ccb
Added a todo comment
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 12:07:44 +00:00
Axel Dörfler
367861b645
This fixes the bfs_shell build under Linux: replaced B_OK with FS_OK in
...
tracker.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 02:34:32 +00:00
Axel Dörfler
895e2a0375
Reenabled the Qemu workaround: the frame buffer is now cleared after a mode change.
...
After all, there might be real graphics card which behave the same??
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 02:06:08 +00:00
Axel Dörfler
1a802114af
Got the Visit() return value wrong: "true" means to abort visiting the
...
partitions, because the right entry was found - but we always want to
visist all partitions, anyway.
Also, if a partition has not been mounted yet, no mount point will be
printed.
The device string is still missing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 02:04:02 +00:00
Axel Dörfler
75e4e6ee69
Fixed a small bug: the proposed name of a file system was always "unnamed volume"
...
in case BPartition::Name() was NULL or empty (ContentName() was ignored).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 02:00:58 +00:00
Axel Dörfler
0953c83ebd
Fixed another bug: after a partition had been mounted, it was only marked
...
mounted, but no one told it about its volume ID - that caused "mountvolume"
not to be able to return a valid mount point.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 01:59:17 +00:00
Axel Dörfler
47729f044c
Fixed a possible bug in path_to_vnode(): if called before a root
...
file system has been mounted, it would have crashed (that for example
happened if you deleted the kernel settings file...).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 01:05:20 +00:00
Axel Dörfler
9c3942070a
Added mountvolume to the image.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 00:36:43 +00:00
Axel Dörfler
509676a027
Fixed mountvolume to make it compile and somewhat work (only tested listing volumes yet).
...
Added it to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 00:31:52 +00:00
Axel Dörfler
b07ce77575
BDiskDeviceList now has a default value for the "useOwnLocker" argument - it defaults
...
to using its own locker.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 00:28:31 +00:00
Stefano Ceccherini
48e740c514
Added a test for BTextView within our app_server
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 23:15:13 +00:00
Axel Dörfler
03989987d5
The ChannelSliderTest now always tests Stefano's implementation instead of R5's.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 22:35:01 +00:00
Andrew Bachmann
1ac083d932
add NETAPI_LIB and use it to build HP JetDirect printer transport
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 22:19:07 +00:00
Rudolf Cornelissen
85228960cf
forgot comment update in nv.settings for 2D/3D acc logging
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 18:09:27 +00:00
Rudolf Cornelissen
140867d32d
finalized doc for release 0.43 of nvidia driver
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 18:02:39 +00:00
Stefano Ceccherini
d15aa22b8e
Re-fixed widthbuffer locking. I obviously broke this when I made that change in InterfaceDefs.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 15:22:32 +00:00
Stefano Ceccherini
712ab9be40
Extended the screen test app: now we try to set the display_mode, and we also print the color_space with the other info.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 09:52:51 +00:00
Stefano Ceccherini
55814cfde4
Added a TODO item with a bad bug report
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 08:29:37 +00:00
Stefano Ceccherini
f812bf8b4c
Implemented server side support for BScreen::SetMode(). Note that setting the mode works, but rootlayer crashes afterwards. I guess I'll need to lock something. Adi ? Stephan ?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-01 06:26:49 +00:00
Stefano Ceccherini
314a102446
Implemented BPrivateScreen::SetMode()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-01 06:25:50 +00:00
Stefano Ceccherini
6c723eebfc
removed duplicate 'DataTranslations' application
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-01 05:58:14 +00:00
Jérôme Duval
ecbc8ec9c2
reversed cursor.x and cursor.y
...
cursor semaphore initial count is now zero
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-30 15:00:10 +00:00
Stefano Ceccherini
15074e0561
Added a test for BScreen (very very basic for now)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-30 14:01:36 +00:00
Stefano Ceccherini
fca6492ffe
Finally tested the code, there were a bunch of problems: fixed them all.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-30 07:04:45 +00:00
Stefano Ceccherini
6e927d6e3b
BScreens methods didn't work for a number of reasons: fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-30 07:04:27 +00:00
Stefano Ceccherini
1f41d635e9
B_ALL_WORKSPACES -> B_CURRENT_WORKSPACE
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-30 06:04:48 +00:00
Stefano Ceccherini
794ca5f2f8
Fixed a small bug. Still I can't unmount anything, though (I always get 'resource busy')
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-30 05:59:23 +00:00
Stefano Ceccherini
9c06e46d6a
fDriver wasn't apparently used anymore. Thanks Jerome. BTW we should remove it if it's useless
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-30 05:45:49 +00:00
Stefano Ceccherini
541a224df8
No need to include that stuff, a forward declaration will do
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-29 20:41:21 +00:00
Stefano Ceccherini
8829157fbf
Moved headers around
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-29 20:40:29 +00:00
Stefano Ceccherini
34c39bf046
BScreen's GetMode(), Frame() and ColorSpace() should work now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-29 20:32:05 +00:00
Stefano Ceccherini
718c1fc525
Removed unused stuff
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-29 20:30:41 +00:00
Stefano Ceccherini
4dbe8b9db6
Server-side code for BScreen::GetMode() (actually tweaked an old implementation)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-29 20:30:04 +00:00
Stefano Ceccherini
0405ef356f
Added AS_SCREEN_GET/SET_MODE
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-29 20:28:53 +00:00
Stefano Ceccherini
b99e13c914
applied patch by John Drinkwater: DataTranslations now only accepts valid translators
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-29 17:28:14 +00:00