Ingo Weinhold
d37e75d958
If our incomplete BMessage (missing sending of messages) is linked into libopenbeos, anything involving the registrar blocks on library initialization (more precisely anything linked against libopenbeos and started while the registrar is running).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-07 17:38:32 +00:00
ejakowatz
0cc48ce6f9
Unit tests to ensure robust handling of bogus params to convenience funcs
...
plus fixes for the bugs they exposes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 23:22:08 +00:00
ejakowatz
df1b8782c7
Fixes for bugs in BFlattenable convenience functions (revealed by the new
...
unit tests).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 04:38:17 +00:00
ejakowatz
67833f26bc
Fixed adding pointers. BMessage::AddPointer() was specifying const void*
...
as the template param (where everything else was using void*) and
BMessage::AddData() was adding the pointer to the pointer as the data.
Unit tests save the day again!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 06:28:28 +00:00
ejakowatz
80e966963f
Little tweaks and fixes too numerous to count, but mostly involved with
...
adding entry_refs and BMessages. Lots of stuff for specifiers and also for
sending replies (with thanks to Mike Nordell).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:13:02 +00:00
haydentech
30fd51473f
Minor header-related changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 17:21:46 +00:00
haydentech
cf8525ee3c
Default args allowed only in header (not implementation) with gcc 3.X
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 15:23:06 +00:00
Ingo Weinhold
1847fb9c71
Always save before checking in. UpdateActiveApp() comment has been changed slightly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-05 17:16:30 +00:00
Ingo Weinhold
c99847b4cd
Unimplemented ActivateApp(); it has to ask the app server instead. Moved its code to UpdateActiveApp(), which has exactly the matching semantics. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-05 17:15:13 +00:00
DarkWyrm
0f434a0aad
The mother of all commits. :P
...
Unremoved zlib and added libpng to public libs (C'mon DW, make up your mind... ;^)
Added screenshot support to app_server
Added full keyboard message support to app_server
Added UseLibraryHeaders and LibraryHeaders rules to jamrules
Updated ColorUtils to convert uint32 colors to rgb_colors
BAppServerLink now autolocks client-server communications on the client side (as it should)
app_server now also juliennes and makes french fries. Yum.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-30 00:17:50 +00:00
DarkWyrm
fec61feeb8
Initial checkin of PortQueue class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-25 01:16:34 +00:00
DarkWyrm
dc4e96ca20
Removed bug which caused goofy app signature names in app_server
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 19:36:04 +00:00
DarkWyrm
610785086b
Filled in AppServerLink
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 18:51:49 +00:00
DarkWyrm
f9439a60dc
Initial checkin of AreaLink
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 15:19:37 +00:00
DarkWyrm
c328988230
Effectively made Attach(*,size) a const function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 13:09:22 +00:00
ejakowatz
74d9216544
New tests for Add/Find/Replace/HasRef, and tweak in MessageTest.cpp to use
...
it. Also, minor fix in entry_ref handling in BMessage::AddData().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 06:02:27 +00:00
ejakowatz
e60c601e2d
Tweaks to make the tests work correctly and properly scope a BMessage
...
function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 05:37:07 +00:00
ejakowatz
9895f0ea8a
Some clean up and tweaks to the specifier handling code, plus the
...
beginnings of SendReply() functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 08:01:59 +00:00
ejakowatz
2be975a1ee
_get_object_token_ has found its permanent home in AppMisc.h, which the
...
other files were modified to include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 08:00:50 +00:00
ejakowatz
b1055b4c2d
This is all the code for the backing store for BMessage (BMessageBody &
...
BMessageField) for the "template madness" version. Also included is
BDataBuffer which is a little reference counting raw data container.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 07:58:17 +00:00
ejakowatz
9abaf1dfa7
Resolved conflict. DarkWyrm tweaked the old version (which I had #if 0'd
...
out all over the place). There is now a giant
#ifdef USING_TEMPLATE_MADNESS
separating the two versions. At some point, the common code should be
reconciled.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 05:02:31 +00:00
DarkWyrm
c503a7bc9c
Added BHandler tokens to app_server communications setup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 01:11:24 +00:00
DarkWyrm
e26cbbcf17
Implemented _get_object_token_ to allow app_server to receive BHandler tokens
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 00:59:20 +00:00
DarkWyrm
53ea435d7b
Multiple fixes and added to build. Not yet complete, but close
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-16 21:43:28 +00:00
DarkWyrm
71c040584c
FlushWithReply(ReplyData *) checks for non-NULL buffers - eliminates a memory leak
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 18:01:55 +00:00
DarkWyrm
ca34e8a04c
Added startup code to talk to app_server
...
We can now run simple applications with app_server!!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 17:17:17 +00:00
DarkWyrm
c51942ea6e
Removed fixed attachment limit
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-06 22:24:45 +00:00
DarkWyrm
364bb57e76
Updated sources to reflect changes in <ServerProtocol.h>
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 15:44:37 +00:00
DarkWyrm
16d1f45f81
Implemented IsCursorHidden
...
Removed PortLink usage where unnecessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 21:31:58 +00:00
Ingo Weinhold
de1a825ec8
Added missing file AppServerLink.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:13:31 +00:00
Ingo Weinhold
4b883396bd
Fixed warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 18:18:29 +00:00
Ingo Weinhold
2ed834e3f6
Cleaned up BRoster's friends mess. All access to private BRoster functionality is now done through the newly added BRoster::Private class, which is BRoster's only friend (poor BRoster ;-).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:29:21 +00:00
Ingo Weinhold
83969b9581
B_PATH_NAME_LENGTH + 1 -> B_PATH_NAME_LENGTH.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 23:47:30 +00:00
DarkWyrm
fe517480c3
More testing and fixes. Removed an attachment bug.
...
Port capacity checking a compile-time option.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:17:22 +00:00
DarkWyrm
51c9c2f980
Added new FlushWithReply method and some error checking. Mostly tested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 00:30:49 +00:00
shadow303
18d65fb5c0
Include ServerProtocol.h instead of using #define SET_CURSOR_BCURSOR
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-11 22:03:35 +00:00
DarkWyrm
7c7ee64a50
Partially implemented SetCursor
...
Completely implemented ShowCursor, HideCursor, ObscureCursor
Documented necessary steps for connect_to_app_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 22:22:22 +00:00
shadow303
af554d2ae4
Add Clipboard to build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:17:23 +00:00
shadow303
bcb5296173
Minor bug fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:16:58 +00:00
Tyler Dauwalder
1bde02ae7b
Fleshed out any missing pieces of BRoster::
...
- ClearRecent{Docs,Folders,Apps}
- AddToRecentApps()
- {Load,Save}RecentLists()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:36:08 +00:00
DarkWyrm
e4840f5bd2
Checkin for Gabe Yoder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-02 23:33:33 +00:00
Tyler Dauwalder
44db8a0885
+ Added {Get,Add,Clear}Recent{Apps,Documents,Folders} framework
...
+ Fleshed out {Get,Add}RecentApps calls
+ Updated argument names for GetRecent{Documents,Folders} to
versions used in R5 release notes in the Be Book.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:46:32 +00:00
ejakowatz
259a6f747a
Proxy for the connection to app_server; just a skeleton at this point.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 01:10:10 +00:00
DarkWyrm
b010ca6720
Checkin for Gabe Yoder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 00:08:45 +00:00
Ingo Weinhold
edb7407e80
Implemented {Start,Stop}Watching().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:04:40 +00:00
Ingo Weinhold
8c7ccd0bda
Implemented BRoster::Broadcast().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:30:53 +00:00
Ingo Weinhold
05d576c2e8
Added/fixed some doxygen comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:05:02 +00:00
Ingo Weinhold
6f1a85effd
Implemented BMessageRunner class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:41:13 +00:00
Ingo Weinhold
121f83dd58
Moved the miscellaneous app kit functions into the BPrivate namespace and added the function current_team() which returns the ID of the current team.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:40:21 +00:00
Ingo Weinhold
065aba535a
Added BMessageRunner to the build. Not implemented yet.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 21:56:36 +00:00