Commit Graph

267 Commits

Author SHA1 Message Date
Ingo Weinhold
0ffb21a672 * Moved everything into the BPrivate namespace.
* Replaced the constant kRosterPortName by a function returning that name
  (we need different port names under BeOS and Haiku, and already at
  libbe init time).
* The settings directory is obtained via find_directory() (critized by
  Axel :-).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:06:30 +00:00
Ingo Weinhold
9171d496e2 Added function is_running_on_haiku(), which returns at runtime whether we're running under Haiku.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:20:22 +00:00
DarkWyrm
c26e0fe214 Added codes to go along with the client-side BFont functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 23:29:13 +00:00
DarkWyrm
cd6f0b7869 Added codes to allow for initialization of system fonts
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 22:09:42 +00:00
Ingo Weinhold
5fa518561e Use new init_clipboard() function which initializes the global be_clipboard at libbe init time.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 00:50:26 +00:00
ejakowatz
f936fa1261 A number of bug fixes. In particular:
-	only one byte was being used for total data length in a data field
	which had 'maxi' size data (total data > 255 bytes), rather than the
	correct four bytes.
-	Seem to have finally nailed the proper algorithm for calculating data
	item padding (four size bytes + bytes of data, padded to 8-byte
	boundary) in all places.
-	Was passing the address of the padding string, rather than the string
	itself, when writing out NULL padding bytes
-	Was incorrectly clearing the MSG_FLAG_MINI_DATA bit when the number of
	data items or the size of the largest data item exceeding 256 bytes.
	Bit is now cleared when total size of all item data (including size
	bytes and padding, if applicable) exceeds 256 bytes
-	Modified SizePolicy::Padding(const T&) to use calc_padding() from
	MessageUtils.h/.cpp
-	Added SizePolicy::Padding(const Store&) to calculate padding for data
	field's entire data store


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-02 21:35:28 +00:00
DarkWyrm
67e2a74dc6 Separated functionality of PortLink into LinkMsg* to avoid some *serious* code duplication
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 01:18:38 +00:00
DarkWyrm
a3bd1e1ca5 Added class for requesting shared client-server memory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 18:13:33 +00:00
DarkWyrm
601a55f349 Added message codes to support the soon-coming ServerMemIO class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 22:59:03 +00:00
ejakowatz
974d454507 Fixed bug. BMessageBody's assignment operator was making a generic copy of the map which maintains the data -- meaning only pointers to contained BMessageFields were being copied. Added Clone() operation to BMessageField and Copy() to BMessageFieldStoragePolicy, along with a specialization of BMessageFieldStoragePolicy for BDataBuffer; a straight copy of the vector is sufficient for all other data types. This fixes issues with BMessage unittests where BMessage, entry_ref, BFlattenable, and raw data are exercises.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:25:09 +00:00
ejakowatz
02043d35db Added calc_padding() convenience function for calculating how much padding to add to a buffer in order for it to fall on a specified byte boundary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:06:32 +00:00
ejakowatz
72a804515c Fixed a couple of memory leaks and an incorrect index bounds check.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 23:54:02 +00:00
ejakowatz
a7529effe6 Fixed potential memory leak. If user tried to add data of type X when we already had data of type Y with the same name, a new BMessageField of type Y would be created and added to the field map, leaving the old type X field orphaned.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-20 18:14:05 +00:00
DarkWyrm
d0021b64bc Major API improvements by Pahtz
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-30 15:10:19 +00:00
Adi Oanca
19185de325 added AS_CLIENT_DEAD
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 10:13:08 +00:00
DarkWyrm
c73fb70eb7 Minor header tweaks relating to the message buffer size
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 13:36:48 +00:00
DarkWyrm
0223e22e5a Janitorial work, mostly.
Removed SetMsgCode()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 12:55:42 +00:00
Adi Oanca
aed7bd673a added a method to be abele to post messages to a BSession handler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-12 23:58:04 +00:00
Adi Oanca
46c1d3fef3 modified some methods to return 'void'
rendered BSession operationable, again...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-12 23:57:14 +00:00
DarkWyrm
018e96bd74 Fix for a data attachment bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 00:21:43 +00:00
DarkWyrm
fb7da50d34 Updates to sync with (hopefully) last messaging protocol tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 23:33:20 +00:00
Axel Dörfler
def04c5be3 Added missing newline.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 01:57:54 +00:00
DarkWyrm
836656bf86 API tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-10 02:33:38 +00:00
DarkWyrm
fe556d69c6 Added message code for getting UI colors as a ColorSet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:48:14 +00:00
DarkWyrm
7507620c3a Tweaked all messaging classes to comply with new message protocol policies
AppServerLink no longer inherits from BSession


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 19:06:34 +00:00
DarkWyrm
9e6ef5ce51 Added PortMessage::ReadString and PortLink::AttachString to support BSession-style string-attachments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 00:52:24 +00:00
DarkWyrm
e956d70682 Eliminated a memory-allocation bug
Added a sensible workaround for BSession message code packaging


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 23:28:05 +00:00
DarkWyrm
7b6beb9bde BSession is no longer a parent class
Removal of deprecated reply functions
Global protocol change - reply port is at the end of data, not the beginning
PortLink still uses the BSession messaging style


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 22:20:28 +00:00
DarkWyrm
5e69d02601 Moved BSession messaging code to ServerProtocol.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 00:02:19 +00:00
DarkWyrm
dba1a55db7 Added methods to get the sender and receiver ports
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-02 23:07:26 +00:00
DarkWyrm
594cf26a76 Conversion over to BSession API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-02 01:01:45 +00:00
Adi Oanca
88ad98dca8 added support for UInts and a new function: DropInputBuffer() used for basic synchronization
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:11:37 +00:00
Adi Oanca
cb51da76c9 added an new message
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:10:41 +00:00
DarkWyrm
46d99be13c Added message codes for creating and deleting BCursors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 18:34:53 +00:00
DarkWyrm
84d8b7c760 Added option to set cursor to the applicaiton's cursor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 17:53:08 +00:00
DarkWyrm
f02718d110 Added message code for supporting the R5 decor easter egg
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 12:57:10 +00:00
Adi Oanca
f90fc6a679 PortLink now uses a fixed buffer. Its base class is.... BSession...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:21:49 +00:00
Adi Oanca
3bbe920498 Added some new messages that are needed by BView
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:20:51 +00:00
Adi Oanca
445114208c Header file for the new communication class: BSession - it will replace PortLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:20:07 +00:00
ejakowatz
0784fd8bde Fixed bugs in (un)flattening code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 22:32:22 +00:00
Ingo Weinhold
66abd4d0a6 Fixed a few warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 21:36:38 +00:00
ejakowatz
19cdc4570f How the glaring fubar in MessagePrivate.h got past me is a mystery.
Nonetheless, here is new BMessenger-related goodness to smooth is all out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 23:33:02 +00:00
ejakowatz
e9e500cb9e Minor tweak to BHandler::UnlockLooper()
Added calls to _init_message_(), _delete_message_(), and
_msg_cache_cleanup() to InitTerminateLibBe.cpp
Finished first implementation of BMessage::SendReply(), BMessage::_send_(),
and BMessage::_send_message()
Add BMessage to app.src, removed BBlockCache from support.src.
New BMessage::Private class has functions for twiddling BMessage internals


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 07:55:52 +00:00
shadow303
17e6de7a37 gcc 3 fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:46:53 +00:00
DarkWyrm
5407fa5f84 Forgotten files. Oops. :P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-25 15:30:18 +00:00
DarkWyrm
a72997e0d4 Changes to support system cursors
Moved cursor_which defs to a separate file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-14 14:37:10 +00:00
shadow303
5c54c7191a Fix templates for PortLink & PortMessage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 23:16:15 +00:00
shadow303
d1acc68a9d Templatize PortLink & PortMessage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 01:49:58 +00:00
DarkWyrm
48326bef06 Added message codes for BWindow hook functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 20:20:35 +00:00
DarkWyrm
e76917c658 Added Read(int64*)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 20:13:23 +00:00
DarkWyrm
2a4311aea6 Added Read(bool*)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 17:41:44 +00:00
DarkWyrm
61480f2184 Simplified interface
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 16:51:51 +00:00
shadow303
c6decab16c Adjust message sizes for added view token
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 21:05:36 +00:00
shadow303
c6b1218b47 Make ReplyData public
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 21:04:37 +00:00
DarkWyrm
6b76dd01f5 Can get replies as PortMessages now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 13:18:39 +00:00
shadow303
34259581cf Add message lengths for some graphics messages, strip out \r characters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:56:42 +00:00
DarkWyrm
21099b6971 Separated PortQueue and PortMessage into separate files.
Added read methods to PortMessage


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 17:17:40 +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
18a8d114f5 Tests for BString convenience functions, plus a fix to BMessageField for a
bug revealed by those tests.  Gotta love those unit tests!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:12:23 +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
DarkWyrm
1b7390044f Checkin for Adrian Oanca
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-17 20:41:54 +00:00
shatty
fe5cc7b493 add newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 01:56:41 +00:00
DarkWyrm
919950e8bb Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-25 01:15:44 +00:00
DarkWyrm
ef941b9977 *Doh* Forgot the public:
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 15:37:21 +00:00
DarkWyrm
d31fa95485 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 15:18:59 +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
DarkWyrm
6cfd026383 Added BPicture definitions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 11:11:55 +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
edfec36839 AS_SET/GET_MOUSE_MODE were missing, which broke the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 07:59:03 +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
8eb9c15d4f Minor tweak.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 05:14:07 +00:00
DarkWyrm
0eadb1ac5c Checkin for Adrian Oanca - added some BWindow-specific message defs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 00:03:15 +00:00
DarkWyrm
781f2cb3d8 Added ReplyData destructor for easier reply handling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 18:00:51 +00:00
DarkWyrm
15222f63d0 Added BBitmap protocol messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 01:25:44 +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
fe67d1c1ad Retooled message defs into something respectable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 15:41:34 +00:00
DarkWyrm
99ddcf1a1b Tweaks to support all BApplication-related tasks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 21:30:32 +00:00
Ingo Weinhold
b393d4420b Added constant for the disk device rescan event.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 23:33:43 +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
DarkWyrm
c8563e149f Added newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 17:27:15 +00:00
Ingo Weinhold
44e2062426 Added constants for the Disk Device API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 21:06:56 +00:00
DarkWyrm
c773cf76b7 Added new FlushWithReply method. Mostly tested
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 00:31:58 +00:00
DarkWyrm
182af733e7 Initial checkin of official version of protocol file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 22:01:30 +00:00
DarkWyrm
15a224865b Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:47:47 +00:00
shadow303
5ea0e0a5d0 Change clipboard constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 20:55:41 +00:00
Tyler Dauwalder
6de29761ec Added Load/Save Recent Lists constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:38:50 +00:00
Tyler Dauwalder
4f935768b7 Added {Get,AddTo,Clear}Recent{Apps,Documents,Folders} message constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:47:18 +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
97b8908160 Added message constants for roster watching.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:03:54 +00:00
Ingo Weinhold
87c9902db3 Added B_REG_BROADCAST message code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:30:10 +00:00
Ingo Weinhold
4c0638893d Added registrar internal message code for the roster sanity event.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:05:39 +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
cd1a0ce832 Added message constants for the message runner support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:38:41 +00:00
Ingo Weinhold
ae56d39432 Added B_REG_SET_SIGNATURE.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 21:50:49 +00:00
Tyler Dauwalder
f8adf6ade1 Made kThreadLimit constant public
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 04:22:08 +00:00
Tyler Dauwalder
9f6eedfaf3 + Renamed and moved from src/servers/registrar/ThreadManager.{h,cpp}
+ Fixed iteration bugs
+ Added more complete debugging output


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:22:11 +00:00
DarkWyrm
8d22950d01 API and stability improvements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 22:34:20 +00:00
Tyler Dauwalder
555279ef59 Removed an old and inaccurate comment I just noticed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:24:56 +00:00
Tyler Dauwalder
a122f181c1 Update mime update constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:11:42 +00:00
Tyler Dauwalder
cd7adc0b06 RegistrarThread class, which is the base class for threads
spawned in the registrar.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:01:43 +00:00
Tyler Dauwalder
1bd963b6c2 + Added file-extension based mime type guessing
+ Added sniffer rule based mime type guessing
+ Added get_device_icon()
+ Added complete (synchronous, asynchronous; recursive,
  non-recursive; forcing, non-forcing; you name it we got it :-)
  update_mime_info() implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:36:03 +00:00
Ingo Weinhold
730441c856 Removed B_REG_MIME_UNSUPPORT_TYPE.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-30 20:01:30 +00:00
Tyler Dauwalder
58e3c56d45 Added B_REG_MIME_GET_SUPPORTING_APPS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 23:55:18 +00:00
Ingo Weinhold
821e6e16f2 Added B_REG_MIME_UNSUPPORT_TYPES message code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:48:41 +00:00
Tyler Dauwalder
ea1a165a95 Added B_REG_MIME_GET_INSTALLED[SUPER]_TYPES
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:54:01 +00:00
Tyler Dauwalder
19ac754088 Added B_REG_MIME_DELETE_PARAM
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:35:05 +00:00
Tyler Dauwalder
691354c6d0 Added B_REG_RESULT
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:34:45 +00:00
Tyler Dauwalder
c0de18bddf Added a number of Mime related definitions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 21:59:24 +00:00
ejakowatz
ebbcbbca01 Implemented count_loopers()/windows() and looper/window_at(). Minor
changes to BLooperList to accomodate.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 23:18:14 +00:00
Ingo Weinhold
4d7538b180 Moved some reusable code from BApplication to this shiny new place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:26:21 +00:00
Ingo Weinhold
f010066db3 More sugar: Added message constants for running app querying and activation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:17:08 +00:00
Ingo Weinhold
b194af1035 Added message and codes, a flat_app_info structure and the name of roster side created app looper ports.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:57:58 +00:00
Ingo Weinhold
e07bab9da6 Added message constants for the application registration.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:42:11 +00:00
Ingo Weinhold
e0cc8c68a4 The beginning of the registrar - API classes interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:37:39 +00:00
ejakowatz
df226cd7b3 A new class to manage the list of loopers in a team. Provides the
functionality of the existing static BLooper functions (which now call
through to it) in a nicer package.  New code should use the global instance
of this (BPrivate::gLooperList) instead of the old BLooper functions (which
are officially deprecated).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:04:06 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00