Commit Graph
55401 Commits
Author SHA1 Message Date
John Scipione c4ec640b46 WindowInfo: spaces => tabs 2016-03-31 14:39:49 -07:00
Dario Casalinuovo cb80fc94c2 NodeManager: Allow to overwrite the system clock
* This is another brick into making the media_addon_server survive
to media_server crashes and vice versa.
2016-03-31 18:06:20 +02:00
Dario Casalinuovo 7eaa054b87 StreamerPlugin: Use BDataIO as base interface
* There's no need to force the streamer plugin to use a
BMediaIO. This class is supplied to accomodate more smart uses,
but in certain cases it makes just things more complex. If a
plugin doesn't need to have an internal caching method, then it
will be simpler to implement a block-consuming BDataIO and let
the internal BMediaIOWrapper to deal with caching.
2016-03-31 18:06:19 +02:00
Automatic Committer e38a85b86a Update pci.ids from pciids.sourceforge.net 2016-03-31 05:20:18 +02:00
John Scipione 1e7a0406dc DataTranslation: Fix crash
just noticed this crash...

when fConfigView gets deleted by selecting a translator it
deletes its child fInfoText but we were leaving the pointer
alone.

Afterwords if you changed the panel text color in Appearance
a message gets sent that checks to see if the fInfoView
pointer is NULL, and since it isn't, procedes to dereference
the pointer and *boom* the app crashes.

Fix this by setting the fInfoText pointer to NULL when fConfig
view gets deleted. That way when you change the panel text
color it doesn't attempt to dereference the stale pointer
and everything works as it should.
2016-03-30 16:48:59 -07:00
John Scipione b90d36ccd6 DataTranslations: Make window not resize
As you scroll through the list of translators keep the window width
constant by setting a minimum width. A little too narrow at 8pt,
and the window is too wide at 24pt, but at 12pt it is just right.
(at least for 1024x768).

The window width and height were not chosen arbitrarily, 598px
is just about 600px and almost exactly fits the width of our
widest translator (PNG translator). The height is 369px which comes
from the golden ratio of 1.62:1. The width of the translators are
set to exactly match this at 12pt font size. This way you don't get
any unexpected window resizing. At other font sizes the window does
resize, but, the contents still fit (mostly) nicely.

See screenshot for details:
http://insightfactory.tumblr.com/image/141980518317
2016-03-30 16:11:52 -07:00
John Scipione 571cffc10e DataTranslation: Style fixes 2016-03-30 14:41:51 -07:00
John Scipione abfb31b6d0 WebPTranslator: style fixes only 2016-03-30 14:41:51 -07:00
John Scipione e465dcb609 WebPTranslator: Make menu fields variable width 2016-03-30 14:41:51 -07:00
John Scipione d9975fafd8 WebPTranslator: Remove leading spaces 2016-03-30 14:41:51 -07:00
John Scipione d712965dd0 PSDTranslator: Make menu fields variable width 2016-03-30 14:41:51 -07:00
John Scipione 613b939283 GIFTranslator: Make menu fields variable width 2016-03-30 14:41:51 -07:00
Adrien Destugues 8948853269 Netboot: remove rtl8169 driver from boot archive
This driver was replaced by rtl81xx. Having both in the image results
in conflicts and non-working ethernet.
2016-03-29 22:46:24 +02:00
Adrien Destugues 9d08351025 NetBoot: add the notification module to boot symlinks
- There is no point in having it in the boot image if it can't be used.
- This however does not get the system booting.
2016-03-29 22:46:24 +02:00
Dario Casalinuovo d17cbc473f BufferManager: Remove custom hash key 2016-03-28 21:05:27 +02:00
Axel Dörfler 67988f501a NodeMonitor: Resolve mount points for B_WATCH_CHILDREN.
* When a watched directory contains a mount point, we need to resolve
  the actual parent directory of the mount point in the file system to
  serve the monitor.
2016-03-28 14:31:27 +02:00
Axel Dörfler 6f7fc2204b NodeMonitor: Added B_WATCH_CHILDREN flag.
* Added a directory argument for notify_{stat/attribute}_changed().
* This allows to watch only a directory, and get the notifications for
  all of its files, not just add/remove entry notifications.
2016-03-28 14:31:27 +02:00
Dario Casalinuovo 55f28f1396 MediaPlayer: Fix logic inversion 2016-03-27 21:49:57 +02:00
Dario Casalinuovo b7f7c6e0a8 MediaPlayer: Fix style in Playlist.h 2016-03-27 21:34:19 +02:00
Dario Casalinuovo bcf30a5eb5 MediaPlayer: Add support code for url items
* It needs further work to avoid the AudioSupplier being
recreated every time. It makes the BMediaFile to redo the sniffing
process various times.
2016-03-27 21:34:19 +02:00
Dario Casalinuovo e00ede2b48 MediaPlayer: Add UrlPlaylistItem 2016-03-27 21:34:18 +02:00
Adrien Destugues 97dfeb9670 Make some headers C89 safe again
- Allows to use FindDirectory.h in C89 sourcecode (no C++ style comments
  allowed)
2016-03-27 16:58:38 +02:00
autonielx af6cb5f94e Update translations from Pootle 2016-03-26 07:28:31 +01:00
Dario Casalinuovo 9ab61bb71c PluginManager: Fix build for x86_64 2016-03-26 00:39:14 +01:00
Rene Gollent a204259b1c BShape: Fix issues for debug build.
As part of the refactoring that was done for app_server layer support,
the private shape_data struct was updated to derive from BReferenceable.
However, BShape's destructor was never updated to reflect this, and
consequently attempts to use a debug build of libbe would consistently
throw the user into the debugger due to BReferenceable's sanity check
against non-zero deletes that weren't on the stack.

It should be noted though that there are probably a few things that could
be factored out and/or simplified with that class in general, since e.g.
when copying its data from another shape_data instance, it uses C++ array
allocations, while when being manipulated by BShape directly, the latter
uses alloc/realloc/free.
2016-03-25 19:32:58 -04:00
Dario Casalinuovo 8c7679851f Move MediaIO in it's own header 2016-03-25 22:44:56 +01:00
Dario Casalinuovo 2250435e4c PluginManager: Add debug to wrapper 2016-03-25 22:23:35 +01:00
Dario Casalinuovo 25527aff5c MediaIOWrapper: IsEndless was not used the right way
* The idea is to just identify when a BMediaIO is able
to tell the whole size of the data, but caching needs
more complex policies to be successful.
2016-03-25 22:22:31 +01:00
Dario Casalinuovo 22c9314255 MediaExtractor/PluginManager: Add plugin deletion when extractor die 2016-03-25 22:20:35 +01:00
Dario Casalinuovo 3733e4b2ab PluginManager/AddOnManager: Add streamers support code 2016-03-25 22:20:03 +01:00
Dario Casalinuovo b777602827 MediaFile: Rework to support BUrl sources 2016-03-25 22:19:47 +01:00
Dario Casalinuovo 20ae088fa5 MediaWriter: Add new BUrl functionality 2016-03-25 22:19:03 +01:00
Dario Casalinuovo a2b3f12698 MediaExtractor: Adapt to new BUrl functionality 2016-03-25 22:18:15 +01:00
Dario Casalinuovo b1ccc05864 AddOnManager: Initial support for streamer addons 2016-03-25 22:17:13 +01:00
Dario Casalinuovo 63e1708eee Finalize StreamerPlugin
* Add cpp file.
* Make Sniff virtual.
2016-03-25 22:16:36 +01:00
Dario Casalinuovo 3d8e0d38e1 Add initial design of StreamerPlugin 2016-03-25 22:09:03 +01:00
Dario Casalinuovo 0d88bf3ac4 MediaIO: Review behavior regarding object inheritance 2016-03-25 22:07:50 +01:00
Dario Casalinuovo 050118ef53 Remove TODOs 2016-03-25 22:06:19 +01:00
Dario Casalinuovo 382c78dfac BMediaIOWrapper: Check if we can really seek the data. 2016-03-25 22:06:09 +01:00
Dario Casalinuovo 36ffce0a14 BMediaIOWrapper: Delete data in destructor 2016-03-25 22:05:07 +01:00
Dario Casalinuovo ef167f1150 BMediaIOWrapper: Refer on fallback buffer Position()
* Write the data into the fallback buffer when emulating
pseudo seeked writes.
2016-03-25 22:04:53 +01:00
Dario Casalinuovo deb9166054 PluginManager: Refactor of MediaIOWrapper
* Use BPositionIO version of Read/Write.
* Implementation of fallback buffering.
* Other cleanup.
2016-03-25 22:00:27 +01:00
Dario Casalinuovo 6efbc4bb54 BMediaFile: Move BBufferIO usage into the plugin manager
* Add InitCheck for the wrapper status.
2016-03-25 21:55:13 +01:00
Dario Casalinuovo a6b34a8c45 ffmpeg: Initial switch to BMediaIO 2016-03-25 21:54:54 +01:00
Dario Casalinuovo b42aac7bf5 PluginManager: Initial switch to BMediaIO 2016-03-25 21:54:46 +01:00
Dario Casalinuovo 7b79e0694e Add prototype BMediaIO interface 2016-03-25 21:54:24 +01:00
John Scipione 6a8276c464 BSlider: Remove non be_control_look drawing code 2016-03-22 12:00:37 -07:00
John Scipione 8e7b383abf Slider: Replace min_c and max_c with std::min and std::max 2016-03-22 12:00:37 -07:00
John Scipione 8be1a5f082 Slider: Style fixes
Pointer style
Newlines
Indentation
Compare against NULL or 0 explicitly
use single floating point precision for float literals (i.e. use 0.0f)
2016-03-22 12:00:36 -07:00
John Scipione 5f6a4730cb Appearance: Live update antialiasing text color
...when panel text color changes in addition to panel bg color.
2016-03-22 12:00:36 -07:00