Commit Graph

12691 Commits

Author SHA1 Message Date
Axel Dörfler
183dee22cb Unlike R5, receive_data() could return an error code under Haiku - this
can now only happen if the thread is killed.
_user_receive_data() will now longer pass B_CAN_INTERRUPT to receive_data(),
but B_KILL_CAN_INTERRUPT - this should fix the problem Stefano experienced
with this function, even if I couldn't reproduce it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 11:14:37 +00:00
Stefano Ceccherini
96b5c85819 Implemented get_pixel_size_for(). I tested it a bit and it seems correct. I'd be glad if someone reviewed it, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 07:14:42 +00:00
Stefano Ceccherini
2c458b6dbf Now inits fInitialWorkspace correctly, calling current_workspace()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 06:26:03 +00:00
Stefano Ceccherini
29e6ad95d0 No need to explicitly Flush(), as it's done in BWindow after B_PULSE message handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 06:05:46 +00:00
Stefano Ceccherini
e93cd6508d system_colors() expects a colormap to be permanently stored within libbe, so we never delete the BPrivateScreen object
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 06:00:45 +00:00
Stefano Ceccherini
ac7ee5af14 removed COMPILE_FOR_R5. For BMenu it doesn't make any sense anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 05:58:58 +00:00
Andrew Bachmann
77fdc9ca01 fix partial initializer warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 21:09:48 +00:00
Axel Dörfler
e53168541f Instead of letting the window reroute the messages, I just learned the
target can also simply be set to the preferred handler by using the
BInvoker::SetTarget(NULL, Looper()) form.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 17:57:03 +00:00
Axel Dörfler
b4ca6a8fc1 Cut/Copy/Paste messages and B_SELECT_ALL are now sent to the window, which then
passes them to the focus view. Before, only the data view got those messages
(because they are accessible over the menu, and had the data view as target).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 17:50:51 +00:00
Stefano Ceccherini
798fedbf9f Forgotten stuff: use B_2D_ACCELERATION instead of the value directly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:56:46 +00:00
Stefano Ceccherini
b0250ddde2 use standard api where possible, small cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:51:23 +00:00
Stefano Ceccherini
2defb213d8 Accidentally commented out a funciton, better naming of a command
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:27:46 +00:00
Stefano Ceccherini
847254d8ee BWindowScreen didn't work on r5 anymore. Replaced some stuff with BScreen::ProposeMode()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:21:50 +00:00
Rudolf Cornelissen
5b7c606fd6 updated documentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:03:43 +00:00
Stefano Ceccherini
9b7978ffe6 No need to Lock()/Unlock() as Flush() does it already. Sync() wouldn't have unlocked the window in case FlushWithReply() wouldn't succeed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 15:08:00 +00:00
Stephan Aßmus
56efd1ace8 Sometimes I have seen crashes in BWindow::determine_target(), and this could very well fix it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 14:28:54 +00:00
Stefano Ceccherini
95c58faa2d Now we flush the command buffer after handling a B_PULSE message. This fixes the PulseTest (and probably some other things).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 13:23:53 +00:00
Stefano Ceccherini
a2e24cf5ce Added a test which our app_server/libbe does not pass yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 13:21:25 +00:00
Stephan Aßmus
9851ab5c1e The Haiku Logo is displayed on the Desktop. :-) Of course this will be removed as soon as Tracker runs. If you don't want it, you can disable it in RootLayer.h. Fixed a clipping bug with text rendering.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 13:00:17 +00:00
Rudolf Cornelissen
bdb153ee72 finished cardID updates, according to list nvidia dev website.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 11:21:47 +00:00
Rudolf Cornelissen
f5cdcc9e4d finished cardID updates, according to list nvidia dev website. Bumped version to 0.50.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 11:21:23 +00:00
Stephan Aßmus
b916304242 fixed build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 20:13:34 +00:00
Rudolf Cornelissen
7b7550f3c7 some more cardID stuff (more to come)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 18:46:07 +00:00
Rudolf Cornelissen
8403f5ff2f some more cardID stuff (more to come)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 18:45:53 +00:00
Adi Oanca
b81c5513c5 addapted code as a result of removing viewColor, background and overlay bitmap members from LayerData
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 16:20:38 +00:00
Adi Oanca
9080b4b47c viewColor, background and overlay bitmaps are not part of a view graphics state anymore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 16:05:34 +00:00
Adi Oanca
c24e9a8838 BView's color is not part of a graphic state
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 16:00:06 +00:00
Stefano Ceccherini
2c9931e911 no more friends for ServerWindow... Poor ServerWindow
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 15:56:55 +00:00
Adi Oanca
15409bba6e added a todo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 15:55:49 +00:00
David McPaul
215c91dfb1 Added mov_reader to media kit - Very Alpha
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 15:52:49 +00:00
Stefano Ceccherini
7cb5e7b146 removed another friendship
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 15:50:24 +00:00
Stefano Ceccherini
ddf2e6ea5f Removed unused message codes. Added a TODO item
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 15:35:43 +00:00
Stefano Ceccherini
e1bc5f2def Added Layer::Push/PopState() and moved their implementation from ServerWindow.cpp. We definitely need more encapsulation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 15:28:34 +00:00
Jérôme Duval
b00025db9c moved teapot.data to its usual place
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 09:15:25 +00:00
Jérôme Duval
c8c44fa029 added GLTeapot sample app
we still need opengl headers and libGL.so


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 09:07:17 +00:00
Stefano Ceccherini
f1496739a3 removed AS_SET_SCREEN_MODE handler
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 08:29:49 +00:00
Stefano Ceccherini
3cbe14a4ce Reimplemented set_screen_space() in function of BScreen::SetMode(). This way we can get rid of the extra AS_SET_SCREEN_MODE in the app server. "ported" mode2parms from BWindowScreen, which should be changed to use set_screen_space() instead of doing its own stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 08:14:41 +00:00
Stefano Ceccherini
698185b19a Removed a (no longer true) comment, added a TODO item
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 07:38:13 +00:00
Adi Oanca
4a7973e335 update
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 05:43:44 +00:00
Jérôme Duval
6102a61109 Fixed build for non haiku targets
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 20:31:09 +00:00
Jérôme Duval
57e2f323c7 Added SoundRecorder (inspired by SoundCapture from beos samples)
Alpha state


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 20:28:21 +00:00
Rudolf Cornelissen
79a70aa59c added/corrected card recognition for some cards, source is official nvidia doc on dev site
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 17:42:36 +00:00
Rudolf Cornelissen
9774e1cf33 added/corrected card recognition for some cards, source is official nvidia doc on dev site
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 17:42:18 +00:00
DarkWyrm
fda4af2667 Forgot to check this in. Added a code for _set_system_font()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 16:11:15 +00:00
DarkWyrm
4b31e304e7 More fixes to the prefs panel. In fact, for all practical purposes, it should be done.
Added private function _set_system_font_() to not use R5's hack


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 16:08:39 +00:00
Rudolf Cornelissen
c7acd48895 updated doc a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 14:41:08 +00:00
Rudolf Cornelissen
6dcf8a8bdf modified a few comments only . All my cards BTW are running OK (including NV43/PCIe), so it looks like a release can be about done.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 14:33:22 +00:00
Stefano Ceccherini
b71f118da9 Improved error checking, style changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 12:05:04 +00:00
Stefano Ceccherini
8083cebaaf Fixed warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 12:04:43 +00:00
DarkWyrm
e490eab9a0 Fixed the build -- updated the PortLink API to match Axel's changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 12:04:29 +00:00