Ingo Weinhold
b5c8eaec52
Added messaging service header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:23:20 +00:00
Ingo Weinhold
fbca78bb8b
Added messaging service syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:22:51 +00:00
Ingo Weinhold
65174bbf57
Added unregistration. Fixed MessagingService::RegisterService(): the semaphores weren't stored.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:22:03 +00:00
Ingo Weinhold
244ddcf058
Added _user_unregister_messaging_service(). Fixed second send_message() proto.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:19:03 +00:00
Ingo Weinhold
2c872c4fe5
Removed obsolete ancestor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 23:00:37 +00:00
Matthew Wilber
b28c58d13d
Fixed "HButton" typos
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 22:41:23 +00:00
beveloper
afeadaa239
Bumped release number for bebits release, a few bugfixes had been done since release 0.2, including the name change from OpenBeOS to Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 22:38:29 +00:00
Rudolf Cornelissen
a8c119773f
added acc function defines for DMA, for fill_rect.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 20:56:08 +00:00
Rudolf Cornelissen
105a3567a6
added fill_rect and fill_span functions (same). Not yet exported, not yet working either..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 20:52:37 +00:00
Ingo Weinhold
4cacc85bae
Prevent a linker error. It complains about multiple definitions of nothrow.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 19:56:19 +00:00
Ingo Weinhold
2d50eca728
Added the messaging service.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 19:54:46 +00:00
Ingo Weinhold
59b9b48bb3
Added a service that will be responsible for sending messages from kernel
...
to userland applications. A userland server (probably the registrar) will
register as the server responsible for delivering the messages. The
messages are passed to it via shared memory.
The advantage over sending the messages directly will be, that they won't
need to be dropped, if the receiver port is temporarily full.
Currently only the kernel side is implemented. Completely untested yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 19:54:19 +00:00
Ingo Weinhold
e81d2d2645
Added missing headers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 19:43:32 +00:00
DarkWyrm
c0dc91fc00
Since last checkin version had no description:
...
Huge amounts more debug output available
Resolved several timing issues
Fixed a major problem with sending mouse messages to the server when emulating the input server
There are still stability issues with initial startup
Still some drawing problems
It *works*!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 18:59:50 +00:00
DarkWyrm
2471ba9f3d
Cleaned up driver init section of Desktop -- worry about multiple drivers only with AccelerantDriver
...
RootLayer: debug output fixes and removed a compiler complaint
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 18:22:48 +00:00
Matthew Wilber
76f106fb04
Removed duplicate code in drawing functions, fixed drawing of text when button is default, fixed drawing of text when button is disabled.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 17:18:01 +00:00
Matthew Wilber
33413e498b
Fixed focus line drawing to draw the white underline and to not draw the focus line if the window containing the button is not active.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 15:46:43 +00:00
DarkWyrm
c36b4a4409
messaging fixes to RootLayer and ViewDriver
...
minor tweaks to ServerWindow
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 15:39:01 +00:00
Rudolf Cornelissen
d4a57f2736
added timeout and abort for DMA idle waits. This keeps the system responsive if the DMA engine fails, which is way better than a complete hang. Adding this because it's not impossible to create a situation that stalls DMA: for instance if a video app writes (way) outside it's allocated overlay buffers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 14:36:17 +00:00
DarkWyrm
7605e77d21
Added GetFamilyAndStyle
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 13:40:11 +00:00
Michael Pfeiffer
17f76af5ea
Set default values for printable/paper/physical rect.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 12:28:25 +00:00
beveloper
673bc6b1e1
It's no longer needed to link Media preferences against
...
the Haiku libmedia.so, the R5 and Zeta libmedia.so is
good enough. No private Haiku functions are used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 01:14:42 +00:00
Adi Oanca
63f09583e3
Oups. Layer::MoveBy/ResizeBy() escaped me. :-) The actions they used to perform are now executed only by RootLayer's thread.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 23:25:41 +00:00
Adi Oanca
7bcf57c75b
Another 2 constants
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 23:16:31 +00:00
François Revol
382acc8035
add --restore option (acts as untrash)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 23:00:57 +00:00
beveloper
1bcdd22cac
Made some coding style changes, no code changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 22:59:57 +00:00
François Revol
45410cd710
trash *g* unused var (fd)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 22:49:48 +00:00
Philippe Houdoin
5b2465501c
Sync with local (tiny) changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 22:34:46 +00:00
Adi Oanca
b4fe86df56
Yes... B_FULL_UPDATE_ON_RESIZE on Layer resize not with every redraw. :-D
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 21:51:39 +00:00
Philippe Houdoin
45ded7fef6
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 21:48:13 +00:00
Philippe Houdoin
5af2ee7384
Ooops, rollback, this stupid change was erronously still lying there...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 21:35:39 +00:00
Philippe Houdoin
5a9677b8ed
Fixed the "unused frame variable" warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 21:26:18 +00:00
Philippe Houdoin
ce0c82200a
Fixed the "no previous prototype" warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 21:23:33 +00:00
Adi Oanca
ed446d324d
ServerWindow.cpp:
...
* made MonitorWin thread wait until associated WinBorder is hidden
and RootLayer's lock is acquired.
RootLayer.cpp:
* added 2 public methods for calculating visible regions.
ALL:
* all previous 'Invalidate' methods now call RootLayer's ones.
That's it, all region calculations are done in the context of the
high priority thread: WorkingThread.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 20:51:12 +00:00
Rudolf Cornelissen
61e1618dce
completed DMA buffer state vars to be all there.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 19:24:37 +00:00
Rudolf Cornelissen
fc61675c5a
completed DMA buffer wraparounds. DMA acceleration is now stable on NV11 and NV43. Enjoy.. (still missing acc hooks will be setup asap.)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 19:22:45 +00:00
Ingo Weinhold
c3a3ddf246
Added KMessage, a data container pretty much like BMessage, but
...
append-only and hence has very compact storage and a comparatively small
footprint implementation. Can be used for kernel->userland messaging.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 19:19:36 +00:00
Adi Oanca
6c85f3d5e6
Added 2 more contants
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 18:58:22 +00:00
Ingo Weinhold
365eee4a8b
Don't include uname() when being built for Haiku. Actually the whole
...
file should not be included, but if simply left out, linking libnet will
fail, complaining about a missing _h_errnop().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:58:32 +00:00
Ingo Weinhold
902c72f6bb
Added small clipboard test. Didn't realize that something similar did already exist in src/apps/bin. But this one can write to the clipboard, too.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:51:37 +00:00
Ingo Weinhold
78b31a7c44
Removed unnecessary definition. Added debug macros.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:44:49 +00:00
Ingo Weinhold
f89474914e
Added debug output macros.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:43:40 +00:00
Ingo Weinhold
84de162be9
More debug output in case of failure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:38:20 +00:00
Ingo Weinhold
1e78d7ff9f
That may be the wrong place, but R5's libroot prints 'Abort' when abort() was called. That's at least a helpful clue, when you see your program terminate spontaneously.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:34:57 +00:00
Ingo Weinhold
14a8f01955
Also call the initialization function of an executable's image. I don't know for what reason it wasn't done before, but not doing it at all breaks C++ exceptions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:29:40 +00:00
Ingo Weinhold
3e35b88903
Rather keep the .eh_frame section, if we want exceptions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 16:29:21 +00:00
Michael Pfeiffer
fdb0d9ef11
Added ability to set a page margin (re-uses MarginView from PDF writer).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 14:26:52 +00:00
Axel Dörfler
ba6aff63d0
The userland build now includes GCC's crtbegin/end.o as needed, surrounded
...
by our crti.o/crtn.o. In the future, we really shouldn't use kernel build
rules for userland applications/libraries anymore...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 14:13:39 +00:00
Axel Dörfler
5af708a20c
Changed our nice crt0.c to something more GCC compatible; we're not calling
...
the global constructors/desctructors ourselves anymore, but let GCC do
that using crtbegin/end.o how it's thought to be done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 13:36:31 +00:00
Rudolf Cornelissen
34a71f30fe
updated a register's name to reflect what it does.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 11:09:53 +00:00