Commit Graph
55885 Commits
Author SHA1 Message Date
Dario Casalinuovo 7a137e0f0c Remove live555_x86 source package 2016-07-07 23:36:35 +02:00
Dario Casalinuovo 2c19bcfa1c MediaPlayer: Sanitize supplier/mediaFile management
* Fix a leak.
2016-07-07 23:36:35 +02:00
Dario Casalinuovo 7e77623bef MediaPlayer: Remove unneeded MediaRoster locking.
* No idea why it was added in the first place, just
keep in mind BMediaRoster does things using ports and
there's no need of locking it.
* Style fixes along the way.
2016-07-07 23:36:35 +02:00
Automatic Committer b8c95f43e2 Update pci.ids from pciids.sourceforge.net 2016-07-07 05:20:17 +02:00
Joseph R. Prostko 849e97e4af Update Fossil packages for x86_gcc2, x86, and x86_64. 2016-07-06 21:58:26 -04:00
Jérôme Duval 572e244564 Update haikuwebkit package for x86_64.
* affected by haikuporter bug #83.
2016-07-06 09:18:38 +02:00
Alexander von Gluck IV 4b99d297b5 mediaplayer/consumer: Fix 64-bit debug tracing 2016-07-05 22:38:37 -05:00
Alexander von Gluck IV 7d842421ab media/ffmpeg: Fix a few parentheses warnings; no change 2016-07-05 22:02:04 -05:00
Alexander von Gluck IV d1175e07f8 media/ffmpeg: Fix a few minor x86_64 warnings 2016-07-05 21:51:59 -05:00
Axel Dörfler 7dc0c7b52d cddb_lookup: Support multiline track response.
* This fixes bug #12808.
* Also, don't accept track numbers above 99, as that's the maximum
  a CD supports.
2016-07-05 20:13:34 +02:00
Axel Dörfler 3008268c9d cddb_lookup: verbose now dumps server response.
* The pretty dump output is now only used for the -d and -i options.
2016-07-05 20:13:09 +02:00
Axel Dörfler df53a4bf21 cddb_lookup: Added options, allow dump/verbose output.
* Added option to dump the track info, and optionally not write the
  data back.
* Added option to use an alternative server.
* Added option to dump verbose track info.
* Added ability to query the CDDB without actual CD in the drive by
  providing category and CDDB ID.
* Added help text.
2016-07-05 20:12:31 +02:00
Axel Dörfler 768544f677 cddb_lookup: Cleanup.
* Use BNode::WriteAttrString() over WriteAttr().
* Use stderr for error output, print error codes when available.
* Use BObjectList instead of just a BList.
* No functional change intended.
2016-07-05 20:11:57 +02:00
Alexander von Gluck IV 9be1b5a16f ahci: Improve emulated SCSI vendor/model info
* Make some educated gusses on SCSI vendor/model
  information vs just blasting it across the fields.
* Should resolve a lot of the weird split SCSI vendor
  and model information of AHCI backed devices.
2016-07-04 15:05:39 -05:00
Rene Gollent 05fc1277c4 Debugger: Fix team restart request.
UserInterface:
- Add Clone() function to set of required virtuals. This asks the subclass
  to create a new instance of its respective type.

{CommandLine,Graphical,Report}UserInterface:
- Implement the above function.

TeamDebugger:
- Add accessor for the currently active UI.

TargetHostInterface:
- Set correct request type when setting up the options for a team restart.
- Ask the TeamDebugger for its user interface and clone it in order to fill
  in that aspect of the debug options. This fixes a regression introduced in
  commit 880a64, which inadvertently resulted in team restarts no longer
  working.
2016-07-03 13:53:51 -04:00
Humdinger 4221d035d8 Added packages
* Clipdinger (64bit)
* Quicklaunch (gcc4)
* WhereIsMyMouse
* Icebreaker
2016-07-03 18:09:26 +02:00
Murai Takashi f7fceb6920 RecorderWindow.cpp: fix comparison between pointer and integer
Signed-off-by: Dario Casalinuovo <[email protected]>
2016-07-03 15:31:58 +02:00
Dario Casalinuovo b4e751b890 http_streamer: Mutable flag is chosen at runtime
* BeOS Radio now works.
2016-07-03 15:29:56 +02:00
Dario Casalinuovo 9f2deec26f AdapterIO: Seeking and flags access improvements
* Backend seeking is done only if explictly requested in
BAdapterIO Seek.
2016-07-03 15:28:06 +02:00
Dario Casalinuovo d3630cbaec http_streamer: Refine init, set static timeout
* When in Open() the plugin wait for the first buffer
or return an error if timeout expires.
* Make size retrieve more reliable.
2016-07-02 21:19:27 +02:00
Dario Casalinuovo 3ad928de3f BAdapterIO: Refine size inheritance
* Wait evaluation is done considering both position
and buffer size.
* Set back position to 0 after seeking.
* Simplify EvaluatePosition to take advantage of inheritance.
* Use back position to determine the current size of the buffer.
* Add more debug tracing.
* Other minor fixes.
2016-07-02 21:19:27 +02:00
Dario Casalinuovo dc0aa64fb0 MediaPlayer: Make window modal and center on screen 2016-07-02 21:19:27 +02:00
Jérôme Duval e3d81394b6 XHCI: whitelist 0x9c31 Haswell/Panther Point.
* works nicely (~150 MB/s, 22GB read in about 145s, Linux does 410MB/s).
* also tested Fresco Logic FL1009 OK, but segfaults seem to happen once in a while.
2016-07-01 15:31:53 +02:00
Jérôme Duval 5c3f988250 listusb: fix 64-bit warnings. 2016-07-01 15:09:16 +02:00
Alexander von Gluck IV 30d631c821 radeon_hd: Add new Polaris GPU, untested 2016-06-30 15:09:59 -05:00
Alexander von Gluck IV c9e6b4e096 jam: Extend wget wait
* I shrunk this down, but it seems like packages.haiku-os.org
  is taking an long time to access some packages (>10 sec)
* This should help relability of package downloads until
  someone checks out why connections take so long
2016-06-30 15:09:17 -05:00
Dario Casalinuovo 8331697602 MediaPlayer: Remove forgot printfs 2016-06-30 17:00:35 +02:00
Dario Casalinuovo 1acb1f504d Style fixes 2016-06-30 16:54:40 +02:00
Dario Casalinuovo 93a1f9d274 http_streamer: Sync with BAdapterIO changes 2016-06-30 16:54:40 +02:00
Dario Casalinuovo 345dba5416 AdapterIO: Further development of the interface
* Implement Open/Close mechanism.
* Implement SetBuffer.
* Implement timeout handling.
* Improve Seek mechanism, this is now working by locking the
thread until the backend call SeekCompleted.
2016-06-30 16:54:40 +02:00
Dario Casalinuovo 92cb0c5d18 MediaPlayer: Add GUI to open network streams 2016-06-30 16:54:40 +02:00
Dario Casalinuovo 70efd0db0a MediaPlayer: Avoid to recreate the supplier more than needed
* MediaPlayer attempted to recreate each time the media supplier(s),
and implictly it recreated also the BMediaFile. This works fine with
local data that can be accessed fastly, but makes lots of troubles
with network streams such as BMediaIO. The result of this was that
the Streamer plugin has been recreated each time having memory and
network wasted other than performances.
* I tried to keep intact the previous logic, and it looks OK for me,
this has been done by moving out of the Controller the ownership of
the TrackSupplier and adding a little utility class that do the
releasing job previously done by the ObjectDeleter.
* Reviews are appreciated.
2016-06-30 16:54:40 +02:00
Jérôme Duval 936696c78a XHCI: fix handling of transfer events.
* previously processing of transfer began when an event on the transfer descriptor happened. Now wait until the last TRB to be processed to process and free the descriptor. Chains are probably not handled correcly yet, but usual transfers happen on a single TD.
* use a specific link pointer for transfer descriptor chains.
* tested on VirtualBox passthrough with mounting an external SSD enclosure. It doesn't scale well with SMP: 1CPU ~115MB/s, 2CPU ~65MB/s, 4 CPU ~50MB/s.
* whitelist controller Intel product ID 0x1e31 (found on VB5).
2016-06-30 12:16:58 +02:00
Automatic Committer 089305fcdc Update usb.ids from www.linux-usb.org 2016-06-30 05:20:22 +02:00
Automatic Committer b493343212 Update pci.ids from pciids.sourceforge.net 2016-06-30 05:20:21 +02:00
Murai Takashi d179e1fb74 PairsView.cpp: Fix mismatching alloc and dealloc
Fixes #12834

Signed-off-by: John Scipione <[email protected]>
2016-06-29 11:17:07 -07:00
Murai Takashi fc1d8972ac cddb_server.cpp: fix clang warnings
Since 'port' is int32, use INT32_MAX and INT32_MIN
instead of LONG_MAX and LONG_MIN.

Signed-off-by: Dario Casalinuovo <[email protected]>
2016-06-27 23:31:11 +02:00
Murai Takashi 7627095fb0 multi.cpp: Fix clang warnings.
Signed-off-by: Dario Casalinuovo <[email protected]>
2016-06-27 23:31:04 +02:00
Murai Takashi c22c7edb58 PeakView.h: fix header guard spelling
Signed-off-by: Dario Casalinuovo <[email protected]>
2016-06-26 14:21:01 +02:00
Dario Casalinuovo 241a32926b http_streamer: Handle Run() failed 2016-06-25 13:46:56 +02:00
Dario Casalinuovo 4dd09daff7 Streaming: Use const reference in place of copying
* Thanks to Markus for reporting.
2016-06-25 01:13:10 +02:00
Dario Casalinuovo 7f28cdba0c http_streamer: Check request after creation
* Thanks to DeadYak for the help.
2016-06-24 23:02:35 +02:00
Dario Casalinuovo 0ba82236bd Streaming: Remove any pointer BUrl argument
* There's no need to pass BUrl by pointer, this is
potentially dangerous and leaky without any advantage,
copying is definitely safer.
2016-06-24 19:00:38 +02:00
Automatic Committer 43a03ceb4a Update pci.ids from pciids.sourceforge.net 2016-06-23 05:20:17 +02:00
Dario Casalinuovo 40dca224fc http_streamer: Style fixes and cleanup 2016-06-23 00:38:50 +02:00
Dario Casalinuovo f1c771f8d1 HTTPMediaIO: Implement SetSize and GetSize
* SetSize requests are denied where GetSize return the request
lengths. Note that flags are changed accordingly.
2016-06-23 00:38:33 +02:00
Dario Casalinuovo bcab157e9d AdapterIO: Size could be 0
* Also avoid seeking completely when we are sure
we have to block.
2016-06-23 00:38:33 +02:00
Dario Casalinuovo 6b697577fe AdapterIO: Add debug 2016-06-23 00:38:33 +02:00
Dario Casalinuovo b13f52bf20 RTSPMediaIO: Improve thread control
* Instead to exit the thred we will wait until the live555
eventLoop quits peacefully.
* Better error handling.
* Implement SetSize as a not supported operation.
2016-06-23 00:38:33 +02:00
Dario Casalinuovo 6903cf9bda AdapterIO: Increase consistency
* Moved data locking in the internal buffer class, includes handling
of backend writes.
* Takes advantage of inheritance for getting the size. The choice is
made depending on the flags. This allow the implementer to easily
return a custom size by reimplementing GetSize. At the same time
a plain BAdapterIO can still have it's total size set, but the behavior
will change depending it's mutable or not.
* Some decisions are now made by considering everything in absolute
values.
* Other minor fixes.
2016-06-23 00:38:33 +02:00