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
Stefano Ceccherini
7475dcdf3a
Added an app server command to retrieve the color map. Made some adjustments to SystemPalette.cpp, implemented support for it in BPrivateScreen. Moved get_scs() a bit down to avoid a deadlock. Note that getting the colormap doesn't work due to port capacity limit (?)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 21:32:24 +00:00
Axel Dörfler
62fbf00df8
Added a simple mini test application for BPortLink.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 19:40:56 +00:00
Jérôme Duval
7e17503e5e
removed AddResource
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 16:21:21 +00:00
Jérôme Duval
18c3ce0778
added a resource parameter to Preference rule
...
updated Jamfiles to take this into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 16:19:59 +00:00
Jérôme Duval
87763db72b
links against our libs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 14:34:47 +00:00
Jérôme Duval
1992ebb39f
links against our libs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 14:31:09 +00:00
Axel Dörfler
c493c21745
Cleanup only.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 14:30:50 +00:00
Jérôme Duval
21984f2a72
links against our libs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 14:25:13 +00:00
Jérôme Duval
88c0001344
clean up (now uses our libs, haiku name)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 14:11:42 +00:00
Stefano Ceccherini
4ef10a59e4
Accidentally commented out RestoreFocus().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:58:51 +00:00
Jérôme Duval
3c109b50be
links against our libs
...
added strlcpy.c for r5 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:39:13 +00:00
Stefano Ceccherini
fd083d7eed
Use the private menu actions defines. Small cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:35:16 +00:00
Stefano Ceccherini
88da217a0b
Added a header with menu actions defines
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:34:50 +00:00
Stephan Aßmus
d5233162ca
removed no longer true stuff and some debug left overs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:30:56 +00:00
Stephan Aßmus
442992bf26
fixed some pretty bad bugs that prevented menus from working (they now do): The BMessage* in AddShortcut is taken in responsibility by the BWindow, so we cannot directly use the message from BMenuItem, the be_app was locked in InitData but never unlocked, it fixes BMenus only working once, and who knows what else it fixes. A little cleanup with _BCmdKey usage, also note that it is inefficient to RemoveItem()s from a list in the destructor of any class using a BList as data container! Simply delete the items and be done with it. The BList destructor will take care of the rest and free its storage in one go.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:19:28 +00:00
Stephan Aßmus
4ece454391
since the bitmap will be filled with content, we can use 0 as flags for the BBitmap constructor, which prevents it from unnecessarily filling with white
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:14:57 +00:00
Stephan Aßmus
8768dcd876
BMenu installed all previously added items each time a new item was added
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:13:43 +00:00
Jérôme Duval
e068395097
links against our libs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:13:18 +00:00
Stephan Aßmus
0b5938e995
added a TODO comment, I forgot to mention that anything but B_TRUNCATE_END is untested or broken
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:12:43 +00:00
Stephan Aßmus
590fdd3f2d
added B_QUIT_REQUESTED message
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:10:45 +00:00
Jérôme Duval
f13db7ba25
links against our libs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:10:15 +00:00
Jérôme Duval
2bc5183d59
links against our libs
...
multiple symbolspaces deactivated on haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 12:56:00 +00:00
Jérôme Duval
1100b1dd94
links against our libs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 12:48:08 +00:00
Jérôme Duval
f81e9b2072
links against our libs
...
multiple-symbols is deactivated for Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 12:44:27 +00:00
Jérôme Duval
516fd94698
simplified
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 12:43:32 +00:00
Jérôme Duval
fd635ec925
simplified
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 12:43:06 +00:00
Jérôme Duval
14ea127147
links against our libs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 12:42:31 +00:00
Jérôme Duval
597f9de634
links against our libs
...
deactivated -fmultiple-symbol-spaces when building for Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 12:19:45 +00:00
Jérôme Duval
251060985c
links against our libs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 11:45:58 +00:00
Jérôme Duval
bdf74dd16f
Expander now links against libbe.so and libtracker.so
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 11:33:14 +00:00
DarkWyrm
47a1e5d189
Implemented the settings functions
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 01:29:12 +00:00
Axel Dörfler
2cafbe7535
Since Bochs 2.2 can finally run the Haiku app_server, it is now enabled
...
by default. Select "safe mode" in the boot menu to get to the old consoled.
Note, if you're using VESA mode, make sure you run in 32 bit, or the
app_server will crash.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 00:54:23 +00:00
DarkWyrm
d506d0f84f
FBC fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-06 20:17:30 +00:00
DarkWyrm
383050e5a6
Minor tweaks to be able to declare this one done. :)
...
Removal of the obsolete OpenBeOS namespace
Added header
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-06 19:29:04 +00:00