Commit Graph

12055 Commits

Author SHA1 Message Date
Stephan Aßmus
a91f954cd8 this does not belong here
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 22:00:21 +00:00
Stephan Aßmus
b3b4f48527 removed const declaration to allow locking in DisplayDriverPainter, as I think access to this needs to be serialized
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 21:45:52 +00:00
Stephan Aßmus
7ad3536bb5 remove some views, the more we use, the more problems...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 21:27:35 +00:00
Stephan Aßmus
7940a07172 DisplayDriverPainter should now use the new AccelerantHWInterface when compiled for Haiku, added locking to the rest of the functions which access HWInterface instance
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 21:26:58 +00:00
Michael Lotz
bccfa80b9b Changed radeons memory manager to use areas instead of malloc. Now the radeon.driver should work without hacking the kernel heap bigger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 21:09:05 +00:00
Axel Dörfler
d19337ad86 The previous change overwrote the $defines variable, although both defines should
be there at the same time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 20:37:30 +00:00
Michael Lotz
da4526cdcf TEST_MODE is now disabled on Haiku too. So app_server is not a BApplication anymore and doesn't depend on itself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 19:50:39 +00:00
Michael Lotz
9775bf33cf TEST_MODE is now disabled on Haiku too. So app_server is not a BApplication anymore and doesn't depend on itself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 19:49:55 +00:00
Stephan Aßmus
9c59f2f207 fixed app_server build, though I don't exactly know why that fixes it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 18:32:43 +00:00
Stephan Aßmus
d3db964ed0 code refactoring, moved common stuff into the base class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 17:36:38 +00:00
Michael Lotz
b87be17fc8 Fixed the last remaining warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 17:31:31 +00:00
Michael Lotz
a398854794 Use _sPrintf in radeon_accelerant too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 17:12:31 +00:00
Axel Dörfler
74bc93bf37 DISPLAYDRIVER can now be overridden by a previous definition.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 16:57:50 +00:00
Axel Dörfler
490704cb78 Forgot to add libappserver.so.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 16:46:14 +00:00
Axel Dörfler
86e150e821 app_server.rsrc is no longer used (we already have the .rdef file).
Fixed the application signature in the .rdef file.
Removed some "how to write an .rdef file" comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 16:38:17 +00:00
Michael Lotz
b2c9e18270 Accelerant based implementations of HWInterface and RenderingBuffer. Untested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 16:31:46 +00:00
Stephan Aßmus
0985210969 added this very useful compare function
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 16:30:46 +00:00
Axel Dörfler
82aa535b3f Updated app_server Jamfile to be able to build a server that runs under Haiku
if $TARGET_PLATFORM requires this.
Note, "jam app_server" for R5 did not work for me before and does not work now
although the number of errors are reduced - whoever knows the requirements for
the app_server under R5 better than me, please fix this.
Added the app_server as well as some more drivers to the Haiku HD image. Since
RUN_WITHOUT_APP_SERVER is still defined, it won't work correctly, though.
For the time being, you need to manually alter this and the Bootscript in order
to run it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 16:21:55 +00:00
Axel Dörfler
0f89f0ae14 Fixed warnings, minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 15:58:27 +00:00
Axel Dörfler
b2b5acff33 Made DISPLAYDRIVER a true compile time option.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 15:39:08 +00:00
Axel Dörfler
7ffc4e7782 Enlarged buffer for _sPrintf() from 256 to 1024 bytes per call.
Minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 15:31:09 +00:00
Axel Dörfler
f235790dbe Prepared to include the app_server:
- all libraries needed for the app_server are now on the image
- the fonts will be installed (currently requires to have built the app_server before)
- includes MiniTerminal
- includes the radeon driver and accelerant (others will follow)
- creates beos/apps and beos/prefs directories


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 15:25:18 +00:00
Axel Dörfler
54c5b264e3 No longer use private syscall, but the Debug.h function directly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 15:15:12 +00:00
Axel Dörfler
78924f7e7b Now sets the process group of the terminal, so that signals are delivered (you can now Ctrl-C apps, at least in theory :)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 14:05:34 +00:00
Philippe Houdoin
ccaabbeff6 Long pending little changes that were dying for checkin in my local repository...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 09:49:58 +00:00
Stephan Aßmus
1a7fc52717 added some functions with optimized implementation, optimizes most frequent usage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 01:43:04 +00:00
Stephan Aßmus
74516f2ac3 added some functions with optimized implementation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 01:40:38 +00:00
Axel Dörfler
6e3baa44ff Fixed a bug in send_signal_etc(): when using the group-wide form (negative
process ID), it also searched for a group with a negative ID.
Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 22:00:36 +00:00
Axel Dörfler
29b183b12c select() doesn't care about obvious user errors: if it's called without
any chance to come back (without being signaled), it now will.
For example, this is used by the sleep command (which now actually works
as it should :)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 21:45:56 +00:00
Adi Oanca
eb6bc5d5ff Started to implement workspace support. Surprisingly, with this small change changing workspaces actualy works. An it works quite well I may add. :-) So happy the new window manager which I heavily tested actualy works inside app_server. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 21:32:24 +00:00
Adi Oanca
256c1b1502 Insignifican change. Read uint32 instead of int32.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 21:26:35 +00:00
Stephan Aßmus
e33b90ea35 implemented cursor support in the DisplayDriverPainter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 18:03:45 +00:00
Stephan Aßmus
31f3fbc45c moved original cursor stuff into DisplayDriverImpl, now DisplayDriver is pretty much all abstract
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 18:03:04 +00:00
Michael Lotz
ee897a16b0 Theoretically it should now be possible to open a MiniTerminal
with coordinates specified as arguments, but this somehow
(and why ever) does hinder /bin/sh from execution (under R5
at least). If someone could point me to the problem I'd be greatful.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 17:04:50 +00:00
Ingo Weinhold
ebc1161965 Added gdb's bfd and opcodes libraries and gdb itself to the build.
Everything compiles here, but I couldn't test it yet, since Haiku
doesn't seem to boot properly at the moment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:59:01 +00:00
Ingo Weinhold
4184510ecb Jamfile for gdb itself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:57:43 +00:00
Ingo Weinhold
f1bb97fc23 Added files generated by configure for x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:57:11 +00:00
Ingo Weinhold
8c9f956b79 Jamfile for gdb's opcodes library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:55:55 +00:00
Ingo Weinhold
b33773df35 Generated by configure.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:55:28 +00:00
Ingo Weinhold
25c32f636c Jamfile for gdb's bfd library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:54:45 +00:00
Ingo Weinhold
9231a159cf Added files generated by configure for x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:54:05 +00:00
Ingo Weinhold
faed617707 Implemented fork() support. We basically need to re-get the heap area
after fork()ing and recreate all semaphores we've been using. To do
the latter, we simply maintain a list of all locks.
fork()ing multithreaded teams can still be troublesome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:34:20 +00:00
Ingo Weinhold
576c52f8b1 Added the gcc printf format attribute for debug_printf(), so that gcc warns about format/parameter inconsistencies.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:25:57 +00:00
Ingo Weinhold
adc9b39a23 * Added printing a stack trace in case of a page fault. Must be enabled
explicitely when needed.
* Added a ToDo item to _user_resize_area().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:24:33 +00:00
Stephan Aßmus
e0bb2421ea whoa - how did this even work?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 14:29:18 +00:00
Stephan Aßmus
197f82a8fe sorry, forgot to commit the move of the locking implementation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 13:43:39 +00:00
Stephan Aßmus
181a984e2a implemented the rest of the drawing calls save for Stroke/FillShape, since I would have to ask what kind of data this function is being passed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 13:39:35 +00:00
Stephan Aßmus
02ec6ae825 Implemented and tested the color spaces B_RGB16, B_RGB15, B_CMAP8 and B_GRAY8. The trick is this: The Painter based implementation will most likely always use a double buffered approach. I simply made the back buffer, into which Painter draws, always B_RGBA32, while the front buffer can have any other format the drawing backend is supposed to support. In CopyBackToFront, the format conversion is handled. This gets us pretty far without actually doing very much, and I am not even sure if there should/can be a better implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 13:38:11 +00:00
Stephan Aßmus
c3bfa6fec9 avoid a crash if used without attached buffer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 13:33:15 +00:00
Stephan Aßmus
9543470f44 RootLayer thread can busy loop, and with this change, its easier to shoot app_server whereever it hurts most
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 11:13:19 +00:00