Commit Graph

502 Commits

Author SHA1 Message Date
beveloper
8239aad969 Avoid crashing by returning a valid BView pointer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:05:15 +00:00
beveloper
626824eaaf Added reference counting of media add-on instances.
You can't create more node instances than "possible_count".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-22 01:11:07 +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
d15ef5ede9 Added app_server communications via BAppServerLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 13:10:19 +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
fab7424ce5 Checkin for Marc Flerackers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 11:12:54 +00:00
DarkWyrm
234928a23f Added UsePrivateHeaders for app kit - Application.cpp wasn't getting ServerProtocol.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 23:37:41 +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
eae2f2f089 Implemented app_server-related global functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 00:49:48 +00:00
DarkWyrm
402922f400 Added BPicture to IK for Marc Flerackers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 22:00:38 +00:00
beveloper
7379471718 OBEY possible_count
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 00:11:52 +00:00
mahlzeit
49fa1748f5 cleaned up midi1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:30:19 +00:00
mahlzeit
a06c9b684a implemented Tempo Change event
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:28:13 +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
beveloper
54187cc6e8 Global nodes can mow be released by the teams which created them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-16 03:52:52 +00:00
beveloper
86bce45b0c Removed time sourced from reference counting.
Releasing nodes works now, except if they have been instanciated globally.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 01:59:10 +00:00
DarkWyrm
6c69f6e9c3 Check-in for Adrian Oanca - some serious code coming in!!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 00:05:36 +00:00
beveloper
cf4e227786 fixing BMediaRoster::ReleaseNode()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 23:12:11 +00:00
beveloper
d2ecd5a91c code style cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:29:52 +00:00
beveloper
8b04ffc12d Reorganized BMediaRoster support functions.
Improved dormant node support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:09:27 +00:00
beveloper
742580b40f Improved error handling and timeouts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:06:23 +00:00
DarkWyrm
2d51f602e9 More tweaks to talk to server betted in the constructor
Fleshed out a couple message-handling routines to better be able to debug server


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 19:32:16 +00:00
DarkWyrm
ea4ea97733 Window now talks nice-nice to app_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 18:02:37 +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
ad41204bbc Filled in a few functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 14:56:20 +00:00
DarkWyrm
e30edc5826 Doh! Forgot the Create_Bitmap attachments. I need my coffee...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 14:00:19 +00:00
DarkWyrm
f4ccda5e46 Added bitmap allocation code which talks to the app_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 13:45:25 +00:00
beveloper
40f36b03c6 some cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 02:34:56 +00:00
DarkWyrm
0d97724c61 Modified to utilize member PortLink instead of creating new ones
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 01:21:54 +00:00
mahlzeit
263f2c6006 Added MIT license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-11 20:38:00 +00:00
mahlzeit
92185c23c0 End marker for sysex messages is now optional.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-10 14:55:22 +00:00
mahlzeit
e4fa49727a Milestone 2 is complete. You can now send and receive MIDI events.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-09 16:10:30 +00:00
DarkWyrm
a159d2c761 Added a BView stub
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-08 20:04: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
mahlzeit
44f46e0ce9 The thread, semaphore, and BLocker now have a name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 12:23:20 +00:00
mahlzeit
abe999d807 changed comment style
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 11:48:26 +00:00
DarkWyrm
4b6ed79e34 Finally got around to removing the memory leak.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-01 01:13:15 +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
Ingo Weinhold
0f04e70bd8 Added the GUI part of the dialog. Now it is fully functional (maybe not nice, but functional ;-).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:44:38 +00:00
Ingo Weinhold
d4ebd51785 We build a separate libdiskdevice.so now, which will be integrated into libopenbeos, when the GUI stuff there is working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:43:03 +00:00
Ingo Weinhold
9ca9a5bb49 Moved the hack making it possible to communicate with our registrar even, if not linking against libopenbeos from DiskDeviceTest to here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:41:21 +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