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
Stefano Ceccherini
36b83da43d
fBounds.top wasn't resetted when the label was cleared. Thanks to Korli for reporting this.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 09:11:25 +00:00
Stefano Ceccherini
491e6111d4
SetBorder() shouldn't crash if the BBox isn't attached.
...
Style changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 08:27:31 +00:00
Stefano Ceccherini
2ed35bc88c
Thanks to Axel's change, now we can pass the app_server's colormap to libbe. Methods like BScreen::ColorMap() and BScreen::ColorForIndex() work.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 04:36:00 +00:00
Axel Dörfler
2a1492f0fa
Moved the definition of the BlockAddressPool class into block_allocator.cpp, as it's
...
not used outside of it.
Added tracking for the last transaction in the block cache; that way it can test
if the last transaction has been closed before opening a new one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 02:14:28 +00:00
Axel Dörfler
584d673049
Fixed various bugs in the block allocator: new free ranges were never added
...
to the free list, so a new range was started for every allocation (!).
block_range::Free() did not update the chunk's used_mask correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 02:09:06 +00:00
DarkWyrm
36f5422d14
Serious cleanup:
...
Most files updated to style guidelines
Panel now updates cache size
temporarily disabled revert code while cleaning up the code
settings file is now a flattened BMessage for the app_server's sake
Unhacking some of the code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 22:35:44 +00:00
Axel Dörfler
1c12a6a33f
Inode::ShrinkStream() now evaluates the return values from some functions - dunno
...
if that's a good idea (it may still be a good idea to succeed for shrinking the
stream, even if not everything worked), but it looks better :-)
Improved debug output in case TrimPreallocation() fails.
Journal::FlushLogAndBlocks() no longer ends the current transaction if called
from within an ongoing transaction.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 17:33:56 +00:00
Axel Dörfler
78d6683c68
Changed the "help" command to be able to only show all commands starting with a certain string.
...
This helps to reduce the flood of commands for those blue screen "users" :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 17:16:40 +00:00
DarkWyrm
a2b336134d
Implemented handling for the different layouts
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 17:11:57 +00:00
Axel Dörfler
07339e709d
Ctrl-C now also works in the MiniTerminal.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 16:58:46 +00:00