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
Rudolf Cornelissen
1a63a6982e
small cleanup (mostly comments updates)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 11:08:39 +00:00
Adi Oanca
27c5631fa3
Added support for sending BRegions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 09:48:10 +00:00
Adi Oanca
2a8a80a764
Added BPortLink class as friend
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 09:34:59 +00:00
Rudolf Cornelissen
f174c1bdce
another nice milestone: NV43 (GeForce PCIe 6600 GT tested) has acceleration up and running as well now!. Please note that the same restrictions apply here as I just mentioned for NV11: to be fixed asap of course ;-)
...
Jippieeee!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 23:01:06 +00:00
Rudolf Cornelissen
7b0775548b
2D acc milestone reached: NV11 DMA is now up and running!! Oh, there are still a few limitations: don't use overlay, don't use 800x600x8 bit mode, and don't work longer than it takes to get the DMA buffer totally filled up. (switching between workspaces with different settings resets the engine and the 'timer' starts anew...
...
General note: learn how nVidia's hardware hashtable implementation works!!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 22:28:31 +00:00
Axel Dörfler
9cc2fa71c5
The top-level stack frame now clears %ebp to mark the end.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 22:02:49 +00:00
Adi Oanca
864a2c6456
Window showing/hiding is now done in RootLayer::WorkingThread's context
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:18:25 +00:00
Adi Oanca
f6e53a25ec
No need to lock anymore when calling ServerWindow::SendMessageToClient()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:16:15 +00:00
Adi Oanca
6a257c30a9
Moved window moving code from ServerWindow. CPU consuming operations now run win WorkingThread's context. Added locking mechanism for WorkingThread. Removed locking arround ServerWindow::SendMessageToClient().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:13:00 +00:00
Adi Oanca
1cd22df0dc
Added 2 private methods for showing/hiding WinBorders. Added a BLocker member.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:09:06 +00:00
Adi Oanca
fde7aed2ee
Moved 'Invalidate' calls in RootLayer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:06:59 +00:00
Adi Oanca
855d9d8948
Added two constants for app_server internal communication
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:01:14 +00:00
Rudolf Cornelissen
8e3d3f5e18
added explicit clearing of the hashtable engine RAM. This sneaky thing won't get to me again: it keeps it's contents even over power-outages of upto say 15 seconds!!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 19:17:36 +00:00
Adi Oanca
6e8a11dda4
Keyboard messages are dispached to BWindow's handler if no focus view
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 17:58:09 +00:00
Ingo Weinhold
984c3a2ec3
It's already 2005, isn't it. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 15:18:34 +00:00
Ingo Weinhold
61a9031bd0
Added get_stack_frame().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 15:03:08 +00:00
DarkWyrm
56bead3235
Implemented ServerFont::SetFamilyAndStyle(id,id)
...
Other API tweaks to ServerFont
Style changes in ServerFont
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 13:13:08 +00:00
DarkWyrm
cef8b0ffcf
Style changes
...
API tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 13:11:46 +00:00
DarkWyrm
9e6e69ab9d
Finished most of the unimplemented methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 12:11:31 +00:00