Source Activity

Syndicate content
Haiku's main repository
Updated: 56 min 13 sec ago

AVFormatWriter: Fix bad error checking

Thu, 2016-04-07 17:35
* Review by Markus Overhagen, Thanks! * Renamed fHeaderWritten variable to fCodecOpened too * Review by Markus Overhagen, Thanks! * Renamed fHeaderWritten variable to fCodecOpened too
Categories: Development

BControllable: Fix real_time and perf_time mismatch

Thu, 2016-04-07 13:57
* It caused parameters to change with delay, because the event has been enqueued in the event queue with real time. * Please don't rely on system_time. * Fixes #5106. * It caused parameters to change with delay, because the event has been enqueued in the event queue with real time. * Please don't rely on system_time. * Fixes #5106.
Categories: Development

Update pci.ids from pciids.sourceforge.net

Thu, 2016-04-07 03:20
Categories: Development

Debugger: Add initial version of TargetHostInterfaceRoster.

Thu, 2016-04-07 00:58
TargetHostInterfaceRoster: - Provides a singleton interface to enumerate both the available interface types, and all currently running instances. This will provide clients like the TeamsWindow with a way to present the user with all available types, as well as the necessary information to configure/instantiate them. TargetHostInterfaceInfo: - Provides an information object for each available type of interface, including an optional description of the settings needed to configure it. Callers can then use this to provide a configuration UI as needed, and once complete, request a corresponding interface instance for the desired configuration. {Local}TargetHostInterface: - Add Settings parameter to Init(). Adjust LocalTargetHostInterface accordingly. LocalTargetHostInterfaceInfo: - Implementation of TargetHostInterfaceInfo for the local system case. TargetHostInterfaceRoster: - Provides a singleton interface to enumerate both the available interface types, and all currently running instances. This will provide clients like the TeamsWindow with a way to present the user with all available types, as well as the necessary information to configure/instantiate them. TargetHostInterfaceInfo: - Provides an information object for each available type of interface, including an optional description of the settings needed to configure it. Callers can then use this to provide a configuration UI as needed, and once complete, request a corresponding interface instance for the desired configuration. {Local}TargetHostInterface: - Add Settings parameter to Init(). Adjust LocalTargetHostInterface accordingly. LocalTargetHostInterfaceInfo: - Implementation of TargetHostInterfaceInfo for the local system case.
Categories: Development

Debugger: Further additions to TargetHostInterface.

Thu, 2016-04-07 00:55
TargetHostInterface: - Provide interface for tracking list of TeamDebuggers attached to this particular interface instance. Will eventually replace the current mechanism where the Debugger app tracks this directly. LocalTargetHostInterface: - Cleanups. TargetHostInterface: - Provide interface for tracking list of TeamDebuggers attached to this particular interface instance. Will eventually replace the current mechanism where the Debugger app tracks this directly. LocalTargetHostInterface: - Cleanups.
Categories: Development

Revert "Force runtime_loader permissions during build"

Wed, 2016-04-06 10:12
This reverts commit f45b1ff2425b66fe59121b1fa64ea5f6c36324f8. This reverts commit f45b1ff2425b66fe59121b1fa64ea5f6c36324f8.
Categories: Development

AVFormatWriter: Safeness after avformat_write_header fails

Tue, 2016-04-05 22:35
* The ffmpeg documentation explicit forbid to write the trailer when the header write failed. * Fixes #12678. * The ffmpeg documentation explicit forbid to write the trailer when the header write failed. * Fixes #12678.
Categories: Development

Force runtime_loader permissions during build

Tue, 2016-04-05 22:29
* Fixes #12373. * Fixes #12373.
Categories: Development

SpiderSaver: Use DefaultItemSpacing

Tue, 2016-04-05 18:57
Categories: Development

BParameterGroup: Fix memory leak

Tue, 2016-04-05 16:11
* Fixes #12706. * The issue has been reported by Cédric Degea with the fix included. Thanks! * Fixes #12706. * The issue has been reported by Cédric Degea with the fix included. Thanks!
Categories: Development

shutdown_media_server: Rework shutdown process

Tue, 2016-04-05 13:19
* Fixes issues with launch_daemon restart. * Rely on what the actual response from the server is instead to naively try to kill it. * Remove snoozing and make the restart process very fast. * Any app should rely on notifications anyway. * Due to some reason a few months ago the media_addon_server locked up very often making the notification service unreliable, today this issue looks like solved. This made possible the recent improvements. * Fixes issues with launch_daemon restart. * Rely on what the actual response from the server is instead to naively try to kill it. * Remove snoozing and make the restart process very fast. * Any app should rely on notifications anyway. * Due to some reason a few months ago the media_addon_server locked up very often making the notification service unreliable, today this issue looks like solved. This made possible the recent improvements.
Categories: Development

Debugger: Refactor TeamsWindow to use TargetHostInterface.

Tue, 2016-04-05 02:03
TeamsWindow: - On startup, instantiate a LocalTargetHostInterface, and pass it to the TeamsListView. TeamsListView: - Refactor building and updating the teams list to work via TargetHost and its respective listener interface rather than the previous combination of be_roster and manual polling. - Style fixes. TeamsWindow: - On startup, instantiate a LocalTargetHostInterface, and pass it to the TeamsListView. TeamsListView: - Refactor building and updating the teams list to work via TargetHost and its respective listener interface rather than the previous combination of be_roster and manual polling. - Style fixes.
Categories: Development

Debugger: Fix handling of team creation events.

Tue, 2016-04-05 01:58
LocalTargetHostInterface: - When receiving team creation events, check if the team in question actually contains a valid app image. The kernel's create notification is sent before the team is completely initialized, and consequently if our get_team_info() call gets in quickly enough, the images may not be loaded yet. If this situation is detected, add the team ID to a wait list. - If we have waiting teams, listen for new messages with a short timeout. If no message is received within the timeout, walk our list of waiting teams and see if they are fully initialized yet, and if so, dispatch the appropriate event. LocalTargetHostInterface: - When receiving team creation events, check if the team in question actually contains a valid app image. The kernel's create notification is sent before the team is completely initialized, and consequently if our get_team_info() call gets in quickly enough, the images may not be loaded yet. If this situation is detected, add the team ID to a wait list. - If we have waiting teams, listen for new messages with a short timeout. If no message is received within the timeout, walk our list of waiting teams and see if they are fully initialized yet, and if so, dispatch the appropriate event.
Categories: Development

Replace synchronization semaphore with async messages

Mon, 2016-04-04 22:33
* Remove SyncToServices, I will probably readd it in future but this time using a local synchronization service more than relying on the media_server to release the semaphore. * Due to some discussions today in mailing list I decided to step back and retry the initial way to notify media rosters about media services status. It is woking by using two different notifications for reconnecting to the media_server and notifying the local subscribers. * This speed up the media services restart. * Sorry for the noise and very thanks for reviewing my code to everyone. * Remove SyncToServices, I will probably readd it in future but this time using a local synchronization service more than relying on the media_server to release the semaphore. * Due to some discussions today in mailing list I decided to step back and retry the initial way to notify media rosters about media services status. It is woking by using two different notifications for reconnecting to the media_server and notifying the local subscribers. * This speed up the media services restart. * Sorry for the noise and very thanks for reviewing my code to everyone.
Categories: Development

VideoWindow consumer: Fix connection

Mon, 2016-04-04 22:30
* The integer overflowed for some reason. * Fixes #9439. * The integer overflowed for some reason. * Fixes #9439.
Categories: Development

media_server: Add notifications

Sun, 2016-04-03 23:07
Categories: Development

MediaPrefs: No need to start media services anymore

Sun, 2016-04-03 22:39
* This will cause troubles as the launch_daemon is doing this job for us. * This will cause troubles as the launch_daemon is doing this job for us.
Categories: Development

Added package TakeNotes

Sun, 2016-04-03 17:12
Categories: Development