Axel Dörfler
60ec020574
Added a temporary fix to be able to boot using bootfs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 02:15:58 +00:00
DarkWyrm
de48335a77
Added handlers for a few unhandled and unimplemented BView calls
...
BView::GetMouse won't block the app for now, at least
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 02:01:28 +00:00
Axel Dörfler
b0e067b804
Fixed a bug in write_unicode_char() - it returned the size of the character
...
not how many bytes were actually written (which could differ with newlines
and indention).
Now use the new rgb_color == operator instead of a memcmp().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 02:00:16 +00:00
Stephan Aßmus
08f1d3c965
refactoring and cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 23:26:13 +00:00
Stephan Aßmus
34651df507
extracted general blending function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 23:24:02 +00:00
Stephan Aßmus
fd78338f60
current state of test app, contains some cleanup too
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 23:08:17 +00:00
Stephan Aßmus
f71ffba994
implemented more drawing modes, refactored a little, still work left to do...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 23:07:07 +00:00
Stephan Aßmus
95ff0e4fe8
Maybe I have actually nailed bitmap scaling, though I would think that the BView implementation doesn't exactly follow the Be Book. Could be I'm overlooking something. Anyways, Painter seems to behave like the original now. The previous revision had a compile error too for aliased drawing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 22:57:17 +00:00
François Revol
9ea9670834
handle pseudo-team 1 in listimage as well; (pets Axel) addr_t is nice but that ain't compile in R5; added search by team name in listarea as well
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 22:38:37 +00:00
Axel Dörfler
205c4c26e7
Use native types instead of "long".
...
Updated license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 20:59:00 +00:00
Axel Dörfler
5195a9a892
Added __errno_location() when building under Linux - we might adopt this
...
as standard, though (and keep errnop() for BeOS compatibility only).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 20:12:10 +00:00
Axel Dörfler
6f9587ddeb
The build target now defaults to "haiku", not $platform.
...
Updated the help text with respect to the bochs debug output hack.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 20:09:25 +00:00
Adi Oanca
84b62fccc0
* closing a window no longer takes you to debugger
...
* send mouse_[move/up/weel] only if the cursor is inside a window(not
above decorator)
* added WinBorder::MouseWheel()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 18:39:08 +00:00
Axel Dörfler
a829700f98
Added missing arch_system_info.h header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 18:00:33 +00:00
Axel Dörfler
2b9e2cec46
Fixed warning (GCC 3).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 17:58:58 +00:00
Axel Dörfler
dca263620a
Improved headers, updated license, made C++ safe.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 17:52:06 +00:00
Axel Dörfler
623d7696c0
Added a platform_register_boot_device() stub function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 17:40:46 +00:00
Adi Oanca
8357c93db5
Fixed that annoying cursor bug where the window dissapeared on moving
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 17:30:37 +00:00
Axel Dörfler
5629cb08f3
Have I already mentioned how amazing many bugs can be in such a short code snippet?
...
cache_io() should now finally work correctly in all cases.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 17:15:42 +00:00
Stephan Aßmus
30fd3eb18a
line profile is now cached by being a member of Painter, as was suggested by Maxim, it's too heavy an object for being created on the fly
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 15:23:23 +00:00
Stephan Aßmus
db94952b4f
updated info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:54:42 +00:00
Stephan Aßmus
8cd6385cfe
adopted for different PatternHandler version
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:27:08 +00:00
Stephan Aßmus
cb8e43abdf
now integrated with Haiku build system, so no more need for this
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:23:07 +00:00
Stephan Aßmus
2e4822e67d
new B_OP_ADD drawing mode
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:15:58 +00:00
Stephan Aßmus
9e89de2ca6
adopted to different PatternHandler version
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:14:50 +00:00
Stephan Aßmus
1b837c4b6b
there can only be one
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:13:10 +00:00
Stephan Aßmus
7ca3c69091
added some convinience functions to handle rgb_color additionally to RGBColor
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:10:11 +00:00
Stephan Aßmus
56b6de0768
it builds the Painter test app, feel free to review it for newbie mistakes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:08:02 +00:00
Stephan Aßmus
547fd34504
compile fix, changed member to be declared const
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 13:49:15 +00:00
Stephan Aßmus
838f42e799
Painter test code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:58:17 +00:00
Stephan Aßmus
ee5f6d23c2
adding the Painter test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:56:25 +00:00
Stephan Aßmus
0a86682dd0
this code is part of the Painter testing framework, and thus doesn't belong here
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:53:26 +00:00
Stephan Aßmus
18df650303
on the way of integrating Painter into build system, suppose this is where this file belongs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:45:26 +00:00
Stephan Aßmus
ba35b5d77d
this file has been moved to headers/private/servers/app
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:44:07 +00:00
Stephan Aßmus
85ba22e47d
on the way of integrating Painter into build system, suppose this is where this file belongs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:38:41 +00:00
Stephan Aßmus
655b08cd2d
should now handle out of memory situations...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:01:56 +00:00
DarkWyrm
7a5829aab1
Made modifications to send keyboard messages to client applications
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 18:59:41 +00:00
Adi Oanca
aea21365e7
Cursor operations are made through RootLayer's(ATM, the only one) CursorManager and visible settings directly call RootLayer's DisplayDriver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 18:00:05 +00:00
Adi Oanca
3b5df3c151
'cursormanager' not global anymore
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:55:50 +00:00
Adi Oanca
eb7b20d820
RootLayer now has a stack allocated CursorManager
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:54:03 +00:00
Adi Oanca
f9ef06250c
FindCursor is now public
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:52:53 +00:00
DarkWyrm
4e9042b685
Fix build
...
Remove a NULL pointer reference in debug code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:35:17 +00:00
Axel Dörfler
17351b0417
If we remove bochs support from the build system one day, make sure that
...
this file still does the right thing as suggested by Michael Pfeiffer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:32:06 +00:00
DarkWyrm
4b5bc01405
Send message to create top view immediately to prevent problems with graphics display
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:30:53 +00:00
Axel Dörfler
62f7d84a85
Fixed a bug reported by Ingo: attribute inodes didn't get a file cache attached,
...
but tried to use it anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:15:03 +00:00
Axel Dörfler
a4480535ad
No longer tries to update indices from deleted files. Added new method
...
Inode::IsDeleted().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:09:51 +00:00
Adi Oanca
4431e07a3a
a BList member is allocated on stack now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 16:46:36 +00:00
DarkWyrm
4e51dee8d0
don't prevent ReadyToRun from being called when running without the registrar
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 15:35:49 +00:00
DarkWyrm
0d9d87e7f2
Debug output tweaks and changed temporary cursor-related debugger calls to printf's to make other development less annoying
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 15:12:35 +00:00
Ingo Weinhold
327a7d825f
The FD supplied to _user_open() was not passed to file_open().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 14:59:05 +00:00