Commit Graph

56031 Commits

Author SHA1 Message Date
Dario Casalinuovo
be67b1022b AdapterIO: Fix problem with RWLocker
* Originally this code didn't use an AutoLocker, when I changed it
I didn't realize I created an anonymous temporary inadvertently.
* Thanks to hamishm for catching this.
2016-06-02 22:57:57 +02:00
Dario Casalinuovo
4c7eafb74b Include testing version rtsp_streamer
* Rewritten from scratch to use live555 and BAdapterIO.
2016-06-02 19:11:38 +02:00
Dario Casalinuovo
228b5c174e Implement SetSize in AdapterIO
* Give this choice to inherited classes.
2016-06-02 19:06:10 +02:00
Dario Casalinuovo
5029fabd08 live555: Library order caused missing symbols 2016-06-02 19:06:06 +02:00
Jérôme Duval
f2e31bcc08 Add imagemagick, swig, some python packages for x86. 2016-06-02 14:26:44 +02:00
Automatic Committer
6b3fe8b8b2 Update pci.ids from pciids.sourceforge.net 2016-06-02 05:20:17 +02:00
Dario Casalinuovo
53058b8afc Fix x86_64 build 2016-05-31 03:26:36 +02:00
Dario Casalinuovo
fbabc74ddf http_streamer: General refactor making use of new API
* Use BUrlProtocolRoster instead of BFileRequest.
* Removed HTTPMediaIO custom code that now inherits
BAdapterIO and make the whole thing more simple.
* It work with some formats (flv, mp3, mkv) but ffmpeg fail
on others (mp4, 3gp).
* GetSize needs improvements.
2016-05-31 01:15:09 +02:00
Dario Casalinuovo
2a8ae5e815 ape_reader: Use the BPositionIO GetSize
* Avoid to seek to the end to know the total size.
2016-05-31 01:15:09 +02:00
Dario Casalinuovo
888469408c APEReader: Check initialization error 2016-05-31 01:15:09 +02:00
Dario Casalinuovo
2838795413 streamer_sniff_test: Little improvements
* Print tracks detected count.
* Delete media file before to exit.
2016-05-31 01:15:09 +02:00
Dario Casalinuovo
0a2584e464 PluginManager: Refactor to make use of new API
* General refactor, moved BDataIO emulation in a
BAdapterIO derived class, BDataIOAdapter.
* This allowed to simplify the wrapper that is now
considering everything to be seekable or pseudo-seekable.
2016-05-31 01:15:09 +02:00
Dario Casalinuovo
b660d95f88 Introduce BAdapterIO
* This class is provided as a safe multithreaded communication channel
between a BMediaIO-like interface and a Read/Write backend.
* Includes internal buffering and can be used to provide multithreaded
edit of the data.
* Current limitations include missing BOutputAdapter and
correct timeout handling.
* Future plans provide a BRemoteAdapterIO that using ports
and areas allow to easily send big data between processes.
2016-05-31 01:15:09 +02:00
Dario Casalinuovo
9217f5c5ed BMediaIO: Add GetFlags method to define properties 2016-05-31 01:15:09 +02:00
Dario Casalinuovo
ec24d0c9cc http_streamer enable building 2016-05-31 01:15:09 +02:00
Dario Casalinuovo
617b62c9d9 http_streamer: Add basic draft version 2016-05-31 01:15:09 +02:00
autonielx
17d8033336 Update translations from Pootle 2016-05-28 06:40:48 +02:00
Humdinger
0659b3c778 Updated QuickRes package.
Fixes QuickRes not being in Tracker's "Open with..." context menu.
2016-05-27 18:57:49 +02:00
Automatic Committer
a9469b09d8 Update pci.ids from pciids.sourceforge.net 2016-05-26 05:20:19 +02:00
Dario Casalinuovo
0e4c5de06d Add live555 packages for x86 and x86_64 2016-05-25 21:22:35 +02:00
Dario Casalinuovo
164ff9971e Add live555 source packages 2016-05-25 00:22:08 +02:00
Dario Casalinuovo
ec8626dea0 Add live555 BuildFeature 2016-05-24 23:20:57 +02:00
Dario Casalinuovo
8498eaf6cf Add live555 packages 2016-05-24 17:14:54 +02:00
Ingo Weinhold
6c06458f8a Debugger: CoreFileDebuggerInterface: Finish symbol support
If available, symbols are read from the respectice core file symbols
note. Otherwise, if available read symbols from ELF file. Finally fall
back to the dynamic symbol table from the core file image. Reusable
functionality is implemented in DebuggerInterface (GetElfSymbols()).
2016-05-22 22:10:49 +02:00
Ingo Weinhold
e07597abd9 Debugger: CoreFile: Load (commpage) symbols 2016-05-22 22:10:48 +02:00
Ingo Weinhold
c60453fd79 Core dump: Add symbols for commpage to core file 2016-05-22 22:10:48 +02:00
Ingo Weinhold
90f571868e kernel: Add elf_read_kernel_image_symbols()
Refactor new function out of _user_read_kernel_image_symbols(). Can be
used to get a kernel image's symbols from within the kernel as well.
2016-05-22 22:10:47 +02:00
Ingo Weinhold
2c50fbb8e1 Debugger: ElfFile: Provide access to symbol sections
* Add some helper methods for section access.
* Add method CreateSymbolLookup() that creates a ElfSymbolLookup for
  accessing the file's symbols.
2016-05-22 22:10:47 +02:00
Ingo Weinhold
22224d83ad Debugger: ElfSymbolLookup: Support specifying the symbol count
Getting the symbol count from the hash table is still an option.
2016-05-22 22:10:46 +02:00
Ingo Weinhold
a689b8f22e kernel: team_create_thread_start_internal(): Set text_delta
The commpage's symbol table entries are commpage start relative.
2016-05-22 22:09:53 +02:00
Rene Gollent
20df96b029 Debugger: Relocate value_handlers.
- As they are currently only used by the VariablesView, move ValueHandler
  and related code into user_interface/gui.
2016-05-22 15:57:13 -04:00
Rene Gollent
ec60909a20 Debugger: Reorganize settings classes.
- Refactor TeamUiSettingsFactory into an abstract base class with implementing
  subclass DebuggerUiSettingsFactory.
- Adjust SettingsManager to expect the UiSettingsFactory to be passed in as an
  initialization parameter, and refactor accordingly.
- Move GuiTeamUiSettings.* into a user_interface/gui subfolder.

No functional change, simply reorganization towards splitting the debugger's
core functionality into a separate library from the application to aid in
sharing with remote_debug_server.
2016-05-22 15:57:12 -04:00
Rene Gollent
880a646413 Debugger: Cleanup.
TargetHostInterface:
- Adjust _StartTeamDebugger to always require a user interface object to
  be passed in rather than implicitly falling back to GUI if unspecified.

Debugger:
- Refactor to be in compliance with the above.
2016-05-22 15:57:10 -04:00
François Revol
836a148321 dev-perso: also check for lowercase todo[.org] 2016-05-22 21:06:19 +02:00
autonielx
a59423af8d Update translations from Pootle 2016-05-21 06:36:56 +02:00
Dario Casalinuovo
2ceb090f2f media_kit: Follow up fix to use only portable codes
* My previous commit fixed x86_64 but broke all other archs.
2016-05-20 04:25:31 +02:00
Dario Casalinuovo
f4ba347b33 media_kit: Fix debug printf werrors
* When debugging was enabled in the media_kit those were
causing the build to fail complaining about werrors.
2016-05-20 03:36:50 +02:00
Automatic Committer
0b682c58db Update pci.ids from pciids.sourceforge.net 2016-05-19 05:20:17 +02:00
Dario Casalinuovo
9d6d0aea63 PluginManager: Missing return in printf 2016-05-19 02:11:02 +02:00
Dario Casalinuovo
e7a7cd4eda Add streamer_sniff_test
* This is a simple test that open an url for streaming using
BMediaFile, the purpose is to test if streamers sniffing work
well.
2016-05-19 02:08:39 +02:00
Dario Casalinuovo
51c8ec34d0 MediaKit and MediaPlayer Style Fixes
* Suggested by korli, thanks!
2016-05-17 02:02:37 +02:00
Dario Casalinuovo
6646363eba MediaExtractor: The source is always owned by BMediaFile
* While originally I think it was a good idea to make it own the source,
then I decided to uniform the code by making the BMediaFile to be the
only responsible of that.
2016-05-17 01:45:13 +02:00
Dario Casalinuovo
21cf69c709 AddOnManager::GetStreamers: Consider maxCount and outCount
* Fix a little issue when getting the plugin.
2016-05-16 19:57:07 +02:00
Dario Casalinuovo
dc94132564 BMediaFile: Set for deletion a source obtained from url
* Added some TODOs and comments for future things that
are not priority now.
2016-05-16 19:57:07 +02:00
Dario Casalinuovo
2583517316 MediaIO: Fix header typo 2016-05-16 19:57:07 +02:00
Humdinger
bd224d345e Update Filer package to v1.1.0
Changes:
* A new GUI that integrates Filer and AutoFiler settings.
* Change to the action names, rule settings have to be created anew.
* Some usability improvements like drag&drop support for AutoFiler folders and a
  tooltip for actions in the rule editing window.
* Apply changed settings, rules and monitored folders live.
* Add a button to manually start/stop AutoFiler.
* Add a dropzone and make it replicatable.
* Add an option to stop matching rules after the first match was found (idea and
  code by Pete Goodeve).
* Add user documentation.
2016-05-16 08:15:07 +02:00
Rene Gollent
b8a716965a BSocketMessenger: Further improvements.
- Messages that expect a reply are now tagged with a unique ID field to
  indicate that expectation to the receiving socket messenger.
- The messenger now maintains a map of received reply IDs and their
  corresponding messages, along with a message queue of other unsolicited
  replies.
- After successfully connecting, the messenger now spawns a thread
  whose sole responsibility is receiving and parsing all incoming messages,
  and consequently sorting them into the aforementioned data structures based
  on the presence of the reply ID. Callers who are awaiting either replies or
  other messages are signalled appropriately via a semaphore. This allows
  multiplexing of both types of messages on the same socket.
2016-05-14 21:31:24 -04:00
Augustin Cavalier
9c7d0c3157 FileTypes: Remove hardcoded message what from generic class.
As noted on the commits list.
2016-05-14 15:53:13 -04:00
Mark Hellegers
213ddbf656 ResourceFile: Handle version info in resource in other endianness than host.
Fixes #12779.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Includes some minor whitespace fixes by me.
2016-05-14 14:52:47 -04:00
Mark Hellegers
49448867f5 FileTypes: Enable save menu item when changing version information of a resource.
Fixes #12780.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Some minor whitespace nits were fixed by me.
2016-05-14 13:44:04 -04:00