Commit Graph

55926 Commits

Author SHA1 Message Date
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 <b.vitruvio@gmail.com>
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 <jscipione@gmail.com>
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 <b.vitruvio@gmail.com>
2016-06-27 23:31:11 +02:00
Murai Takashi
7627095fb0 multi.cpp: Fix clang warnings.
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-06-27 23:31:04 +02:00
Murai Takashi
c22c7edb58 PeakView.h: fix header guard spelling
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
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
Dario Casalinuovo
ad89985e7e PluginManager: Assign the BBufferIO pointer 2016-06-23 00:38:33 +02:00
Dario Casalinuovo
d56f636bf4 ape_reader: Refuse to work on streaming data
* The MACLib try to find the APE_DESCRIPTOR in the whole file, this
will not work for streams with a finite size.
2016-06-23 00:38:33 +02:00
Dario Casalinuovo
59ff587d70 Style fixes 2016-06-23 00:38:33 +02:00
Mark Hellegers
e1c98ceaf7 Add support for TLS SNI
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-06-20 19:42:24 -04:00
Augustin Cavalier
82f44f2db1 libbe_build: Fix the new "network" Jamfile.
Was introduced in fa2dd9c45f, but was
causing weird problems (leaving stray '.o's around the tree.) The problem
was that it didn't have a space before the semicolon on the "SubDir" line,
which also ate the following UseHeaders directive, which also meant
that running "jam" inside a subdirectory was broken between that commit
and this one.
2016-06-19 19:11:50 -04:00
looncraz
311c913251 WebPositive: Fix icon background.
Due to a minor change in the handling of default colors with layouts, the
colors were adopting the system/parent colors due to no colors being
specified by the class.

The icon now adopts the document background color and synchronizes with the
url input background.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Fixes #12672. I've had this patch in my inbox for a long time, and totally
forgot about committing it...
2016-06-19 18:51:46 -04:00
Murai Takashi
9ff9025759 XHCI: Increase fScratchpadCount size
* To fix clang's '-Wtautological-constant-out-of-range-compare' warnings in xhci.cpp.
* by korli: adjust trace print macro.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2016-06-19 11:52:18 +02:00
Jeroen Oortwijn
ef9b129675 bfs_fuse: Allow non-root to mount BFS partitions.
* Most FUSE options are only allowed for root, so don't add these options
  when user is not root.
* Fixes ticket #8254.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Coding style looks OK to me and there are multiple comments that
it works, so just merging it.
2016-06-18 22:11:21 -04:00
Augustin Cavalier
73e180c9b9 Revert "cppunit: Enable elf symbol patching for Haiku."
This reverts commit 56430ad800.

It builds on my machine, but apparently the buildbots choke on it...
2016-06-18 18:57:48 -04:00