Commit Graph

12712 Commits

Author SHA1 Message Date
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
Jérôme Duval
4fadb30230 Fixed --> when at least two call forms are listed (thanks to axeld for reporting this)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 16:03:00 +00:00
Stefano Ceccherini
d4fe6ec1e7 Looks like our send_data() doesn't like to be called when a thread isn't running. Could just be that I'm not using it correctly, though. Menus now open under the 'real' haiku, though they still hang the window after some time
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 15:27:23 +00:00
Axel Dörfler
8b0b0568fd Made copy_from_start() more clear and probably faster.
Commented out a check that would prevent characters smaller than B_UTF8_ELLIPSIS
to be rendered (ie. the maximum width could be less than the ellipsisWidth but
greater than the complete string width for small strings).
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 14:38:29 +00:00
Axel Dörfler
e60b1ff1d8 Reserved space for the close and zoom buttons, even if they were absent.
Hack workaround: enlarged the text width a bit, because the title often appeared
truncated for no apparent reason.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 14:35:25 +00:00
Jérôme Duval
4a0c02c9d0 removed suffix in MANREFPRINTF (XML is only IDs based). this could break on non-XML outputs (we don't care).
added a para close tag when using refsect2



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 13:30:53 +00:00
Axel Dörfler
3ba7d6f350 Added AS_{GET|SET}_DESKTOP_COLOR.
(Incorrectly) implemented AS_GET_DESKTOP_COLOR - works for now.
Minor cleanup.
Is AS_SET_SCREEN_MODE used at all?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 13:24:40 +00:00
Stephan Aßmus
2f6a25d52d fixed build of fake_app_server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 10:32:24 +00:00
Jérôme Duval
52c423baef coreutils man documentation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 10:00:31 +00:00
Jérôme Duval
d4d6e6c0ae activated documentation/shell_tools
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 09:57:32 +00:00
Stefano Ceccherini
8eae8b05e8 Every BApplication (even applications which didn't use it) allocated a BPrivateScreen object. Now they are created/destroyed on demand (when a BScreen object is constructed), and reference counted, so that there is still only one per app. Note that since we are creating/deleting them, constructing a BScreen object can be more time consuming than before, but personally I find this approach much cleaner.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 07:36:41 +00:00
Axel Dörfler
e9b005131f Fixed some crashing bugs (that only appear under Haiku, because there is some
stuff missing - defensive programming rules :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 04:11:19 +00:00
Axel Dörfler
bd28b3c746 BAppServerLink is now using BApplication::fServerTo/From for its messaging.
Added LinkMsgReader::NeedsReply() method.
Completely redone ServerApp messaging: no more "replyport" from BAppServerLink; instead,
the registered client reply port is used. Fixed some more weak messaging stuff.
ServerApp now recognizes if an unknown message needs a reply, and sends it - for example,
the "Screen" preferences app no longer hangs, but crashes on start :)
Made LinkMsgReader::Read() virtual again, since it's needed by RAMLinkMsgReader.cpp.
Renamed BPortLink::GetNextReply() to GetNextMessage().
Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 04:01:59 +00:00
Axel Dörfler
be835bdf0b Fixed LinkMsgReader::ReadString() for empty strings I just broke before.
Extended the PortLinkTest application a bit (and updated it).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 03:29:10 +00:00
Axel Dörfler
0aa69a9cd4 Fixed the crashing bug when quitting the app_server.
The display driver is now owned by the Screen object.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 01:40:22 +00:00
Axel Dörfler
d673482488 Under Haiku, the "stub" driver is called "vesa", so we're trying to use this one.
Note, the special case can go as soon as we've moved the driver over to the new
driver architecture.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 01:39:14 +00:00
Axel Dörfler
ecc2961bee Fixed warnings and the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 01:23:44 +00:00
Axel Dörfler
9db6e5bc94 Fixed fake_app_server build due to the BPortLink changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 01:13:38 +00:00
Axel Dörfler
75936a02e4 BPortLink now has a FlushWithReply() method itself.
BPortLink::AttachString() now accepts a length argument, and will no longer
send a terminating null byte; LinkMsgReader::ReadString(), however, will
make sure the string read is null terminated.
Changed client communication code to use FlushWithReply() instead of Flush()
and GetNextReply() - there were many bugs and shortcomings in the code, I
hope I've fixed them all.
Converted ClientFontList.cpp to our coding style (but not completely, the
class members are missing).
Some more cleanup - I hope Adi will adopt our coding style one day!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 00:36:26 +00:00
Axel Dörfler
750b92faf3 Almost rewrote LinkMsgSender; it's now much cleaner and works better:
- StartMessage() can now get a size to make sure there is enough free space
- if StartMessage() is called with the current message behind a certain
  watermark, the buffer is flushed in order to prevent moving around messages
  in the buffer. The actual value should be tested in real life, though.
- enlarged maximum buffer size to 64k
- fixed bug: could use memcpy() to move overlapping memory around
- added a flag to Flush() that marks messages as needing a reply - the other
  way would be to mark the message "code" to contain this information

Some cleanup in LinkMsgReader.
BPortLink now has most methods as inlines.
The buffer sizes are now declared in a shared header, so that receiver and
sender are always equipped equally.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 22:36:03 +00:00