Ingo Weinhold
4f43c96006
* Dealt with a race condition on team exit. The death semaphore and
...
the thread count need to be accessed atomically.
* Made debugging through exec*() work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:28:24 +00:00
Ingo Weinhold
d2c78559a0
We now also support partial writes to the debugged team's memory.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:23:33 +00:00
Ingo Weinhold
edc2a86662
More debug output and a new ToDo item.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:22:27 +00:00
Stephan Aßmus
fa3717f73c
updated, because Painter now lives in app_server subfolder drawing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:56:50 +00:00
Stephan Aßmus
c0fe8a07c9
moved Painter into drawing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:55:49 +00:00
Stephan Aßmus
3ddd2fc70f
started to move files arround for better source structure, app_server still builds and runs fine, in case you were worried...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:48:49 +00:00
Stephan Aßmus
1f154920f6
step 3, exracted code from DisplayDriver into DisplayDriverImpl, adjusted the existing implementations to derive from the new class, got rid of some "friend" stuff along the way, essentially I made room for the new Painter based DisplayDriver implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:29:45 +00:00
Stephan Aßmus
10612543aa
step 3, exracted code from DisplayDriver into DisplayDriverImpl, adjusted the existing implementations to derive from the new class, got rid of some "friend" stuff along the way, essentially I made room for the new Painter based DisplayDriver implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:29:20 +00:00
Jérôme Duval
aab32edf08
updated stdbool.h
...
SupportDefs.h now includes stdbool.h
This can break in some cases
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:08:27 +00:00
Stephan Aßmus
f0a0f2a462
second step, all unused stuff is actually removed from DisplayDriver.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 13:28:12 +00:00
Stephan Aßmus
cd9401a70b
second step, all unused stuff is actually removed from DisplayDriver.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 13:27:20 +00:00
Jérôme Duval
8575beb8d6
by Stefano Ceccherini
...
Ifdeffed R5 specific stuff so DirectWindow.cpp and WindowScreen.cpp compile on
haiku too. That doesnt' mean they work there though.
This introduced some warnings which I didn't fix, as they'll go away later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 13:18:26 +00:00
Stephan Aßmus
f3b44aede9
as a first step, all appearently unused calls are commented outfrom DisplayDriver and derived classes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 13:15:33 +00:00
Stephan Aßmus
f595ecf898
as a first step, all appearently unused calls are commented outfrom DisplayDriver and derived classes, I moved many implementations arround to match the order of the declaration in the header, makes it easier to find stuff
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 13:14:59 +00:00
Axel Dörfler
b291a341f5
Updated license (this is actually a test commit).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 21:29:23 +00:00
Stephan Aßmus
8490b97156
I just realized I called it "windows", so now the app creates two windows...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 17:44:53 +00:00
Stephan Aßmus
1a6138742b
a simple test that runs a Haiku BApplication connecting with Haiku app_server, comes with a script that launches app_server too
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 17:36:50 +00:00
Nathan Whitehorn
e3c7dbaabf
Added support for both varieties of the Broadcom 4401-B0 10/100 NIC.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 17:21:51 +00:00
Stephan Aßmus
5f0b72b37b
updated to app server move
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 15:51:56 +00:00
Axel Dörfler
89501e16b9
Forgot to update fonts Jamfiles - ideally, these should be moved somewhere else,
...
maybe into the data/ directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 14:51:25 +00:00
Axel Dörfler
d13cff451b
No longer needed.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 14:47:35 +00:00
Axel Dörfler
33bbe22391
Moved app_server files to app/.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 14:45:52 +00:00
Axel Dörfler
7abf63d292
Moved app directory out of the way to ease moving.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 14:43:40 +00:00
Axel Dörfler
13b81f062e
Removed old app_server files. server/ will be moved on layer up next.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 14:31:53 +00:00
Stephan Aßmus
bdef3a8ede
spotted some potetial segfault bugs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 12:59:13 +00:00
Stephan Aßmus
592bc7d4a3
updated
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 23:13:29 +00:00
Stephan Aßmus
a0ee6395cd
updated
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 23:10:43 +00:00
Stephan Aßmus
50ffaefd89
added missing string rendering functions, for testing purposes mainly
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:35:38 +00:00
Stephan Aßmus
6fb68b835c
added missing string rendering functions, on Haiku, there should be support for drawing bitmaps in all colorspaces that BBitmap::ImportBits knows how to convert to B_RGB32
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:34:45 +00:00
Stephan Aßmus
8df0e71d06
support rendering strings up to a certain length, ie less then strlen
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:33:06 +00:00
Stephan Aßmus
5df6611a26
link with the objects needed for ServerFont
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:32:11 +00:00
Stephan Aßmus
2fc1fe2098
corrected code for general test
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:31:32 +00:00
Stephan Aßmus
f6e20515b3
refactored DrawBitmap to support a version BBitmaps and one for ServerBitmaps, implemented InvertRect, but that was a while ago, and I didn't test it
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 20:32:04 +00:00
Stephan Aßmus
a0c67cdb39
refactored DrawBitmap to support a version BBitmaps and one for ServerBitmaps, implemented InvertRect, but that was a while ago, and I didn't test it
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 20:31:33 +00:00
Axel Dörfler
ffc80308e6
Some arch functions are no longer used, but called directly (like find_thread(NULL)
...
instead of hoardGetThreadID()).
Removed unused arch functions.
__init_heap() now calls hoardHeap::initNumProcs(); it's no longer initialized
through a global constructor - that ensures that the heap can really be used
by libroot's constructors (although it did work before as well, somehow).
Moved the heap to 0x30000000 for now (limiting its size, but also ensuring free space
after it) - until the VM can avoid the free space after the heap.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 15:08:25 +00:00
Axel Dörfler
531cc7dc91
We now have a growing heap. hoardUnsbrk() is not yet implemented, though.
...
The new heap backend will probably be taken from the boot loader's heap
implementation (the free chunk stuff).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 14:15:32 +00:00
Axel Dörfler
d95383a3b9
Fixed various binary compatibility problems with R4.5.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 13:22:42 +00:00
Axel Dörfler
c4472a00b1
The heap is now initialized by libroot_init.c::initialize_before(), so
...
that we no longer need an initialize_after().
Put the architecture dependent hoard functions into the BPrivate namespace
as well. Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 01:47:21 +00:00
Axel Dörfler
162d278cbd
Now copies the boot_floppy's fortune command again.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 01:17:06 +00:00
Axel Dörfler
076c1b0ea4
Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 01:15:33 +00:00
Axel Dörfler
f557016851
Applied our coding style, but all clases into the BPrivate namespace.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 22:59:41 +00:00
Axel Dörfler
f05dec1ea0
Now creates the BEOS:APP_SIG index, so that starting applications
...
by signature always works.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 03:12:41 +00:00
Axel Dörfler
28fb0f9857
Added a very simple mkindex command - can only create string indexes for now
...
(and added support for that function in the emulated kernel).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 03:08:32 +00:00
Axel Dörfler
dfb8cfea3f
Fixed some obvious bugs: B_GET_PROPERTY shouldn't enter the debugger fow unknown
...
properties; it should pass on to the next handler (and only if there is none
reply with a B_MESSAGE_NOT_UNDERSTOOD).
Those B_MESSAGE_NOT_UNDERSTOOD are no longer the answer to a B_MESSAGE_NOT_UNDERSTOOD
message anymore, as this lead to an endless loop (for example when starting the
media_server).
Added some ToDo comments - someone please check what has to be done and fill it
out some more.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 02:42:19 +00:00
Axel Dörfler
0efd929e4d
Now always print its name first when issuing error messages.
...
fclose() is now actually called.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 02:35:55 +00:00
Axel Dörfler
5680579795
Added two output options: -o redirects output to the specified file,
...
-S will dump over the serial line (kernel debug output).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 02:20:41 +00:00
Marcus Overhagen
3f484ea41a
test checkin
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 01:01:57 +00:00
Adi Oanca
165177a105
Added support for Layers capturing the mouse (Mouse events). Changed WinBorder to use mouse events.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 20:29:24 +00:00
Adi Oanca
642d7ca95e
Implemented BView::SetEventMask()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 20:26:44 +00:00
Adi Oanca
be94b51d74
Added AS_LAYER_SET_EVENT_MASK
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 20:23:30 +00:00