Commit Graph

55790 Commits

Author SHA1 Message Date
Rene Gollent
fce4895d18 Debugger: Split into core library and application.
- Add subfolder src/kits/debugger which contains the debugger's core
  functionality and lower layers. Correspondingly add headers/private/debugger
  for shared headers to be used by clients such as the Debugger application
  and eventual remote_debug_server. Adjust various files to account for
  differences as a result of the split and moves.
- Add libdebugger.so to minimal Jamfile.
2016-06-04 13:18:39 -04:00
Rene Gollent
e6687e8f3d Debugger: Add dedicated functions for global {un}init.
- Add new source file DebuggerGlobals, which contains the relevant
  functions for initializing/destroying the various singleton rosters
  that the core subsystems rely upon. It is the app's responsibility
  to ensure these are called before anything else, and as final cleanup
  at exit.
- The GUI/CLI app objects now take care of initializing the settings factory
  and ValueHandlerRoster, as those are entirely app-specific.
- Refactor calls to init functions appropriately.
2016-06-04 13:18:37 -04:00
Rene Gollent
5c8ba745e5 Debugger: Refactor SettingsManager.
- SettingsManager is now a pure virtual interface. The debugger core provides
  a no-op implementation of it which is used by default if no explicit manager
  is provided by the client requesting a new TeamDebugger. This allows consumers
  of the debugger core that have no need for settings persistence such as the
  report generator to not have to care about that particular detail at all.
- Add subclass DebuggerSettingsManager which is essentially the previous
  existing implementation. This one will go with the application portion
  of the Debugger once the separation of app and lib has been completed.
  Adjust callers accordingly.
2016-06-04 13:18:35 -04:00
Dario Casalinuovo
0957c8215e rtsp_streamer run loop in a separate thread
* Other general improvements.
* Clarify the exit policy.
* Call NotifyError in shutdownStream.
2016-06-04 15:51:50 +02:00
Dario Casalinuovo
d004f81304 Style fixes 2016-06-04 15:51:50 +02:00
Alexander von Gluck IV
f76e95bde1 h2debug: Drop reserved debug define 2016-06-03 22:47:11 -05:00
Alexander von Gluck IV
7017be48e8 Revert "h2generic: don't mess with DEBUG."
This reverts commit 63806897ef.
As discussed on the ML. Doesn't align to our normal debug practices
2016-06-03 21:55:01 -05:00
Jérôme Duval
f4eec09155 Add lcms package for x86. 2016-06-03 16:45:52 +02:00
Jérôme Duval
63806897ef h2generic: don't mess with DEBUG. 2016-06-03 12:08:17 +02:00
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