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
hrev12559
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
hrev12558
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
hrev12557
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
hrev12556
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
hrev12555
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
hrev12553
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
hrev12552
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
hrev12551
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
hrev12550
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
hrev12549
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
hrev12548
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
hrev12547
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
hrev12546
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
hrev12545
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
hrev12544
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
hrev12543
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
hrev12542
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
hrev12541
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
hrev12536
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
hrev12534
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
hrev12526
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
hrev12525
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
hrev12524
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
hrev12523
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
hrev12522
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
hrev12521
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
hrev12520
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
hrev12519
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
hrev12518
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
hrev12517
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
hrev12516
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
hrev12515
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
hrev12514
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
hrev12513
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
hrev12512
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
hrev12511
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
hrev12510
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
hrev12509
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
hrev12508
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
hrev12507
2005-04-29 17:28:14 +00:00
Axel Dörfler
d4112f6bc5
Applied some changes suggested by mmu_man, more to come, though:
...
- has_signals_pending() is not declared in Be headers, and it isn't declared in
our KernelExport.h anymore, too
- removed snooze_etc() from KernelExport.h, as it's already defined in OS.h
(and really exported by libroot.so).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12506 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12506
2005-04-29 11:41:12 +00:00
Stefano Ceccherini
7d84be4d67
Fixed some font sensitivity issues.
...
Fixed a small glitch in drawing.
Removed an unneeded Sync() in Draw().
Removed some unnecessary virtual method calls.
Improved drawing of the current slider's value.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12505 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12505
2005-04-29 10:11:54 +00:00
Stefano Ceccherini
e7467ada1a
Added synchronous mouse support (shouldn't I lock the window ? why does it work without locking ?), now the thumb bitmap is drawn with B_OP_OVER, thus eliminating a visual glitch.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12504 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12504
2005-04-29 08:12:25 +00:00
Axel Dörfler
55932743b4
Cleaned up, added a ToDo comment where it behaves (possibly) strange.
...
The properties are now the same as in the Be version - there is no reason (IMO) for usage
comments like these; it's a public class, and its scripting usage should be documented in
the BeBook, if anywhere.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12503 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12503
2005-04-29 00:58:39 +00:00
Axel Dörfler
aed75ba2f6
Added a SetViewColor() before and after AttachedToWindow().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12502 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12502
2005-04-29 00:30:24 +00:00
Axel Dörfler
8bdf4008fe
Added test for BCheckBox (message sending is actually not tested, though, only drawing)...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12501 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12501
2005-04-29 00:17:40 +00:00
Stephan Aßmus
1596a167c0
work around for layers not being moved that have not yet been added to the tree. See WinBorder::MoveTo for the explaination. The same problem should be at other places and most likely for normal views as well. This fixes BWindow::MoveXX() when it is not yet Show()n
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12500 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12500
2005-04-28 23:56:40 +00:00
Stephan Aßmus
879fd19be5
this has become playground...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12499 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12499
2005-04-28 23:20:18 +00:00
Axel Dörfler
80bd55147b
Many changes, it now does work okay on Haiku (tested with consoled only (both,
...
keyboard and mouse part), since for some reason, the app_server refuses to work
with the input_server for me now):
- keyboards are now actually detected, the keyboard device is only published if
there actually is a keyboard
- keyboard_close() no longer calls put_module() for the ISA bus manager; it's
sharing that resource with the mouse driver.
- rewrote the keyboard command handshake; now, the acknowledge byte is always
considered, and it's now also safe to call keyboard commands with the interrupt
handler installed (bytes read are now safely routed through the handler).
- keyboard_open() now also sets the PS/2 command byte to enable keyboard
interrupts (this may actually have been the source of all evil - ie. keyboard
not working after having touched the mouse)
- many commands now try again several times if they failed
- ps2_get_command_byte() is now safe to be called when the keyboard driver
is up and running, too (it's now locally buffered)
- more and better error checks
- possibly more I forgot about...
- general cleanup.
Note, there is still some functionality missing from the keyboard driver:
- ctrl/alt/del handling
- key repeat (delay, time, non-repeating)
Repeat stuff might better be moved to the input_server add-on, anyway, for
more flexibility and better performance.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12498 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12498
2005-04-28 19:04:06 +00:00
Adi Oanca
b9cc06b57c
Show workspace number in the upper left corner
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12497 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12497
2005-04-28 18:28:23 +00:00