#
fb5c24d8 |
|
09-Oct-2021 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
MediaAddOn: missing const Pretty much all add-ons are setting this to point to a const string, so we should make sure that nothing tries to modify it.
|
#
b84955d4 |
|
23-Oct-2018 |
Barrett17 <b.vitruvio@gmail.com> |
media: Remove debug.h, finalize MediaDebug.h * Funny rust from 0 AD.
|
#
12ed45b6 |
|
18-May-2018 |
Murai Takashi <tmurai01@gmail.com> |
Media kit: Suppress -Werror=class-memaccess * Add media_format::Clear(), media_format::Unflatten(). * Replace memset() with media_format::Clear() * Replace memcpy() with media_format::Unflatten() Fix #14156 Change-Id: I38ebc2de4915b954a15b6f4f6b40d016506910e5
|
#
d4708399 |
|
10-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* The dormant_flavor_info copy constructor was broken, causing bug #5101. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34610 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9c3b4706 |
|
09-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Cleaned up the node manager, got rid of its use of Map, and List. * Fixed at least two reference counting problems, but nodes from killed teams still remain alive (will look into this at a later point). * GetLiveNodes() is now using transfer_area() as well. * Made all sizes in the SendTo*() and Query*() functions size_t. * Replaced reinterpret_casts with static_casts when casting void pointers. * Ordered the request/reply structures by target. * Tried to consolidate the use of add_on vs. addon. * More cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34591 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9dec2310 |
|
05-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
Sorry for this large commit in advance; it's not really possible to divide this into smaller parts: media_addon_server: * Removed (broken) use of (broken and inefficient) home-brewn Map, and List classes. This also fixes a crash on shutdown when used with the malloc_debug implementation. It's using stl::vector, and stl::map now instead. _shared_buffer_list: * Renamed _shared_buffer_list to SharedBufferList, and put it into the BPrivate namespace. Also, made a class out of it. * Separated shared buffer list creation from cloning. * Enlarged maximum number of buffers to something that is not that evil, but actually uses the space it has (ie. is a useful multiple of shared_buffer_info that fills a multiple of B_PAGE_SIZE as much as possible). * No longer drops into the debugger if the * The list that is currently used is very inefficient for the features it provides though (no change there). _buffer_id_cache: * Renamed to BufferCache, and put it into the private namespace * It now deletes its buffers on deletion; since the BBufferConsumer will be gone, too, at this point, there is little chance that there are still buffers in use. * Also, it's now using std::map instead of the (see above) Map class. BBuffer: * Got rid of the fBufferID member. Misc.: * Got rid of the global "team" variable; the media kit is now using the private app kit's current_team() now. * Added a lot of missing error checks (mostly memory allocations). * Renamed fields like "flavorid" to flavor_id, renamed "dfi_*" fields to something more detailed. * Moved ServerInterface.h from src/servers/media/ to headers/private/media. * Notifications.h was not self contained. * Added missing licenses. * Lots of cleanups, and coding style fixes. What this doesn't fix: * Bug #4954 which started all this (this comes next, though) * Deinitialization is broken, as the PortPool is uninitialized too early, and still used afterwards. * The strange add-on monitoring code in the media_addon_server git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34500 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ca14fe1 |
|
12-Mar-2008 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Fixed harmless copy & paste bug. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24382 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb5b2f6f |
|
11-Mar-2008 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Removed a lot of unsave memory handling. Check for memory allocation errors. Added limit to maximum flavor format count (300). No longer crashes when out_format_count is invalid for B_BUFFER_CONSUMER, or in_format_count is invalid for B_BUFFER_PRODUCER. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24366 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6e927a5f |
|
30-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
malloc.h ain't no standard header. Use stdlib.h instead. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22776 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d91580cd |
|
30-Aug-2003 |
beveloper <beveloper@nowhere.fake> |
removed/fixed warnings git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4418 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
255a01c7 |
|
14-Apr-2003 |
beveloper <beveloper@nowhere.fake> |
Added a new license to this file, as I'm the author. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3068 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d2ecd5a9 |
|
14-Mar-2003 |
beveloper <beveloper@nowhere.fake> |
code style cleanup git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2914 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
353b9f6b |
|
02-Dec-2002 |
beveloper <beveloper@nowhere.fake> |
changed map and list templates to be more useable, however, they will be rewritten soon. Changed debugging macros and use of them, too. Also replaced the linked lists in the BufferManager (which were complicated, but working ok) with template based ones. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2133 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6396865d |
|
19-Nov-2002 |
beveloper <beveloper@nowhere.fake> |
added automatic media_addon_server launching and termination. added detection of and cleanup after application crashes. if the media_addon_server crashes, it will be restarted. removed preleminary volume control functions. removed unneeded media_server functions. changed application registration to use port based messaging. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2027 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dfb2ad61 |
|
03-Nov-2002 |
beveloper <beveloper@nowhere.fake> |
code cleanup git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1833 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
570f7d04 |
|
10-Oct-2002 |
beveloper <beveloper@nowhere.fake> |
updated to include the same features/bugs as the screenshot in today's news. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16b7eea4 |
|
13-Aug-2002 |
beveloper <beveloper@nowhere.fake> |
Add some experimental media add-on instantiating support, more debugging and bugfixes git-svn-id: file:///srv/svn/repos/haiku/trunk/current@744 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
44213a4d |
|
12-Aug-2002 |
beveloper <beveloper@nowhere.fake> |
Changed to use the DormantNodeManager class. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@717 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7d3a9826 |
|
14-Jul-2002 |
beveloper <beveloper@nowhere.fake> |
I felt I had to do *something* git-svn-id: file:///srv/svn/repos/haiku/trunk/current@230 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0a483e72 |
|
11-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed includes. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@86 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a38012 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d470839990c0ef9b4f0f879e0e70099561db83c7 |
|
10-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* The dormant_flavor_info copy constructor was broken, causing bug #5101. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34610 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9c3b4706dd3ed8f9896031973852735223be485c |
|
09-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Cleaned up the node manager, got rid of its use of Map, and List. * Fixed at least two reference counting problems, but nodes from killed teams still remain alive (will look into this at a later point). * GetLiveNodes() is now using transfer_area() as well. * Made all sizes in the SendTo*() and Query*() functions size_t. * Replaced reinterpret_casts with static_casts when casting void pointers. * Ordered the request/reply structures by target. * Tried to consolidate the use of add_on vs. addon. * More cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34591 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9dec23104287e2fd592cc14148b43fb28a6e1d8e |
|
05-Dec-2009 |
Axel Dörfler <axeld@pinc-software.de> |
Sorry for this large commit in advance; it's not really possible to divide this into smaller parts: media_addon_server: * Removed (broken) use of (broken and inefficient) home-brewn Map, and List classes. This also fixes a crash on shutdown when used with the malloc_debug implementation. It's using stl::vector, and stl::map now instead. _shared_buffer_list: * Renamed _shared_buffer_list to SharedBufferList, and put it into the BPrivate namespace. Also, made a class out of it. * Separated shared buffer list creation from cloning. * Enlarged maximum number of buffers to something that is not that evil, but actually uses the space it has (ie. is a useful multiple of shared_buffer_info that fills a multiple of B_PAGE_SIZE as much as possible). * No longer drops into the debugger if the * The list that is currently used is very inefficient for the features it provides though (no change there). _buffer_id_cache: * Renamed to BufferCache, and put it into the private namespace * It now deletes its buffers on deletion; since the BBufferConsumer will be gone, too, at this point, there is little chance that there are still buffers in use. * Also, it's now using std::map instead of the (see above) Map class. BBuffer: * Got rid of the fBufferID member. Misc.: * Got rid of the global "team" variable; the media kit is now using the private app kit's current_team() now. * Added a lot of missing error checks (mostly memory allocations). * Renamed fields like "flavorid" to flavor_id, renamed "dfi_*" fields to something more detailed. * Moved ServerInterface.h from src/servers/media/ to headers/private/media. * Notifications.h was not self contained. * Added missing licenses. * Lots of cleanups, and coding style fixes. What this doesn't fix: * Bug #4954 which started all this (this comes next, though) * Deinitialization is broken, as the PortPool is uninitialized too early, and still used afterwards. * The strange add-on monitoring code in the media_addon_server git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34500 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ca14fe1a6fe366ef5c96b4f064f752deda52b3d |
|
12-Mar-2008 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Fixed harmless copy & paste bug. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24382 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb5b2f6fdef3e9f9234c59d2255d4fd7bcf25331 |
|
11-Mar-2008 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
Removed a lot of unsave memory handling. Check for memory allocation errors. Added limit to maximum flavor format count (300). No longer crashes when out_format_count is invalid for B_BUFFER_CONSUMER, or in_format_count is invalid for B_BUFFER_PRODUCER. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24366 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6e927a5fc080cb934e7584454f472cacf4c3e361 |
|
30-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
malloc.h ain't no standard header. Use stdlib.h instead. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22776 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d91580cd9a9f39e74f086d5ca31d997a56c111a9 |
|
30-Aug-2003 |
beveloper <beveloper@nowhere.fake> |
removed/fixed warnings git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4418 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
255a01c76a3ddc38d2c6cae806c4148b9bf022d4 |
|
14-Apr-2003 |
beveloper <beveloper@nowhere.fake> |
Added a new license to this file, as I'm the author. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3068 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d2ecd5a91c08b5d2ef2daab2a3ac8dba2e5abd9d |
|
14-Mar-2003 |
beveloper <beveloper@nowhere.fake> |
code style cleanup git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2914 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
353b9f6bcedb3fa9950f3f65c960e1deb700f84a |
|
02-Dec-2002 |
beveloper <beveloper@nowhere.fake> |
changed map and list templates to be more useable, however, they will be rewritten soon. Changed debugging macros and use of them, too. Also replaced the linked lists in the BufferManager (which were complicated, but working ok) with template based ones. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2133 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6396865dcd5051f2baa6b55017e220d9d0cf4b25 |
|
19-Nov-2002 |
beveloper <beveloper@nowhere.fake> |
added automatic media_addon_server launching and termination. added detection of and cleanup after application crashes. if the media_addon_server crashes, it will be restarted. removed preleminary volume control functions. removed unneeded media_server functions. changed application registration to use port based messaging. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2027 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dfb2ad6148f303a0ee57faecc282953d11156067 |
|
03-Nov-2002 |
beveloper <beveloper@nowhere.fake> |
code cleanup git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1833 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
570f7d0456164c9d2f22525c7eca167021e93770 |
|
10-Oct-2002 |
beveloper <beveloper@nowhere.fake> |
updated to include the same features/bugs as the screenshot in today's news. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16b7eea41a06da4167cfd3e28a18681ca29ff04f |
|
13-Aug-2002 |
beveloper <beveloper@nowhere.fake> |
Add some experimental media add-on instantiating support, more debugging and bugfixes git-svn-id: file:///srv/svn/repos/haiku/trunk/current@744 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
44213a4da5264efe8fc3a10262635e9acb8762af |
|
12-Aug-2002 |
beveloper <beveloper@nowhere.fake> |
Changed to use the DormantNodeManager class. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@717 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7d3a98264ae957b00626941fb1a8572cf0184d0a |
|
14-Jul-2002 |
beveloper <beveloper@nowhere.fake> |
I felt I had to do *something* git-svn-id: file:///srv/svn/repos/haiku/trunk/current@230 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0a483e722194fedf4b5a891c7902c73a4e4dd213 |
|
11-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed includes. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@86 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a380120846174213ccce9c4aab0dda17c72083 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|