Commit Graph

47337 Commits

Author SHA1 Message Date
Murai Takashi
f92ba94cd3 nv_acc_dma.c: fix gcc6 build
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:37:39 -04:00
Murai Takashi
2df5a0bafe TIFFTranslator.cpp: fix gcc6 build
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:37:09 -04:00
Murai Takashi
3ab5be9f77 PicturePrinter.cpp: fix gcc6 build
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:26:00 -04:00
Murai Takashi
9e9c5cae83 DiscoveryAgent.cpp: fix gcc6 build
* Reindent souce code, to fix gcc6
  '-Werror=misleading-indentation' warnings.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:25:12 -04:00
Murai Takashi
6703dd2931 servers/app/drawing/interface/html5: fix gcc6 build. 2016-05-13 15:24:29 -04:00
Murai Takashi
ad9b83ad44 RemoteHWInterface.cpp: fix gcc6 build
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:24:04 -04:00
Murai Takashi
cc9bae8fb6 Angle.cpp: fix gcc6 build
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:23:11 -04:00
Murai Takashi
f739df8e3c SMTP.cpp: fix gcc6 build
* Add curly braces to fix '-Werror=misleading-indentation' warnings.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:20:30 -04:00
Murai Takashi
5e885c5f1c IMAPConnectionWorker.cpp: fix gcc6 build
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:20:01 -04:00
Augustin Cavalier
8f3b264a06 usb_audio: Change driver path to match Haiku conventions. 2016-05-13 14:45:19 -04:00
Automatic Committer
fa7ef76108 Update pci.ids from pciids.sourceforge.net 2016-05-12 05:20:18 +02:00
Alexander von Gluck IV
a32e815673 intel_extreme: Shorten graphics family names 2016-05-11 12:35:50 -05:00
Alexander von Gluck IV
9407ab29c4 intel_extreme: Rework PLL calculation
* More like linux, improved G4x calculations
* Reduce un-needed pll limit complexity
* Improved pll limits on ports based on type
2016-05-11 12:34:51 -05:00
Alexander von Gluck IV
95e38537e0 intel_extreme: Tab cleanup; no functional change.
* It seems like the Atom editor has been injecting
  spaces in strange spots.
* Clean up spaces. Should help gcc6 as well.
* Sorry for the mess! Atom is on probation.
2016-05-09 16:36:25 -05:00
Murai Takashi
ab9903c56a ringqueue.cpp: fix gcc6 build 2016-05-09 10:39:59 -05:00
Murai Takashi
5265115b17 Ports.cpp: fix gcc6 build
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.
2016-05-09 10:36:34 -05:00
Murai Takashi
50b0cba0c4 debugger: fix gcc6 build
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.

Signed-off-by: Rene Gollent <rene@gollent.com>
2016-05-08 17:21:39 -04:00
Alexander von Gluck IV
8fe5054828 intel_extreme: Extend DDI port probing to A-E
* The Linux code made this a bit hard to figure out via
  complex define functions, however there can be up to
  5 DDI ports (A-E)
2016-05-08 15:40:57 -05:00
Augustin Cavalier
88445a43e8 bluetooth_server: Attempt to fix the x86_64 build. 2016-05-07 22:00:46 -04:00
Augustin Cavalier
5559d51db7 bluetooth_server: Nuke the weird logging system, just use macros...
... just like everything else on Haiku does. Permanently enabled for the
time being. At least I can tell what's going on now.
2016-05-07 21:10:34 -04:00
Augustin Cavalier
b83e81795a bluetooth: Rename rdefs to be the same as binary names as is convention. 2016-05-07 20:22:21 -04:00
Augustin Cavalier
a563f9b38b preferences/bluetooth: More UI creation fixes.
Hopefully fixes a "pure virtual call" crash I was getting in UI kit
layout code in the InquiryPanel.
2016-05-07 20:18:19 -04:00
Augustin Cavalier
a9cf7e56e0 Nuke the "DUN" (Dial-Up Networking) preflet.
It literally did nothing except look nice^W^W^W^Wterrible, as it didn't
use the Layout Kit and it pre-dates the Haiku coding style (last "real"
modification was sometime before 2005). Supposedly it saved its settings
to disk but I can't find that.

See the "pppconfig" and "ppp_up" applications in src/bin/network for
something that actually works (though the modem stuff in the kernel PPP
stack hasn't been rewritten, so those are PPPoE only at the moment.)
2016-05-07 18:21:02 -04:00
Augustin Cavalier
685e5cbd2e virtualkeyboard: Delete some of the copied classes and use the originals.
The keyboard view class has too many modifications to be trivially merged.
2016-05-07 18:21:02 -04:00
Murai Takashi
70906e8f57 MediaJack.cpp: fix gcc6 build
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-05-07 22:47:08 +02:00
Dario Casalinuovo
b18c444994 BMediaEventLooper::SetBufferDuration: Clamp if negative
* For the sake of making the code more backward compatible,
and safer eventually.
2016-05-07 22:23:28 +02:00
Dario Casalinuovo
6d63bc5e60 launch_media_server: Use BLaunchRoster::Start
* Remove SyncToServices and the related code from BMediaRoster.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
f2bb946bd8 BMediaEventLooper: Handle events in past differently
* When the loop didn't handle an event in performance time, we will
attempt at reading the port only if there are messages using a null
timeout.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
e042d9ebff MediaEventLooper: Calculate lateness from the nearest value
* When the event is late there are two major situations, the first
is when the enqueue time is in past compared to the performance time.
The second happen when the performance time is in past compared to the
enqueue time. The purpose of this change is to calculate the lateness
considering always the nearest of the two values. This way the exceding
latency is trimmed out from the calculus depending on what the actual
source of delay is.
* There is a lot more that could be done by looking at the previous
lateness value.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
17078f9997 MixerCore: Use a normal acquire_sem call
* Make the thread really wake up only when requested.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
30456a328a media_reader/media_writer: Fix build issue and cleanup
* Remove references to the old project name.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
663ed1f6a0 MediaPlayer: Select previous item after item deletion
* Little usability improvement, avoid to select the item each time
in case the user want to delete more than one element.
* Minor cleanup included.
2016-05-07 22:22:55 +02:00
Jérôme Duval
f022c304b0 readdir_r(): uses the logic of readdir()...
to retrieve more than one entry.
* readdir_r() is now affected by rewinddir(), thus fixing #12755.
* extends dirent_test with readdir_r().
2016-05-07 16:40:53 +02:00
Augustin Cavalier
e20d72d947 preferences/bluetooth: Remove a bunch of needless debug statements. 2016-05-06 17:35:34 -04:00
Augustin Cavalier
aa0020bf07 preferences/bluetooth: Remove last non-layout code. 2016-05-06 17:35:34 -04:00
Augustin Cavalier
0cce7d31c5 bluetooth_server: Remove the "show debug console" item from the replicant.
Redundant (the Preferences dialog now has this), and unnecessary, as only
developers want it; it'll confuse end-users.
2016-05-06 17:35:34 -04:00
Augustin Cavalier
f7359bb49a preferences/bluetooth: Make the "show debug" menu item actually work. 2016-05-06 17:35:34 -04:00
Augustin Cavalier
f52a021a33 preferences/bluetooth: Add some missing NULL checks.
Fixes some more crashes when nothing is selected.
2016-05-06 17:35:34 -04:00
Augustin Cavalier
ebb0fb0364 bluetooth_server: Don't dereference before NULL check.
Fixes a crash when there are no local devices.
2016-05-06 17:35:34 -04:00
Augustin Cavalier
b984932928 bluetooth_server: Make the replicant remove itself if the server isn't running. 2016-05-06 17:35:34 -04:00
Augustin Cavalier
73f5ab0cf6 bluetooth_server: Don't show an error when the Prefs app couldn't start.
The only error I can think of (and the one that this displays) is that
the preflet is already running, which is not very helpful.
2016-05-06 17:35:34 -04:00
John Scipione
9d48ecb522 Bluetooth Window: Defaults and Revert on left
These buttons go to the left according to the ad-hoc rule we've
created for preflets. The right side is reserved for an Apply or OK
button and is left blank otherwise.
2016-05-06 09:51:41 -07:00
John Scipione
1231bfebe4 Bluetooth Window: Layout tweaks
SetBorder(B_NO_BORDER) on tabView.

Add a BSeparatorView to draw a line between tabs and bottom buttons
Inset by B_USE_WINDOW_SPACING around buttons.
(B_USE_DEFAULT_SPACING betwen buttons and the tabview)
2016-05-06 09:46:07 -07:00
Augustin Cavalier
f1d1e8297b preferences/bluetooth: Remove the unused 'View' menu. 2016-05-05 18:27:09 -04:00
Augustin Cavalier
9080758a24 preferences/bluetooth: Some coding style cleanup. 2016-05-05 18:25:25 -04:00
Augustin Cavalier
9f95282c84 preferences/bluetooth: Rephrase 'services not running' dialog. 2016-05-05 18:20:38 -04:00
Augustin Cavalier
ef3761dd07 preferences/bluetooth: Use BAboutWindow instead of BAlert.
Now the about window will actually fit on my screen vertically.
2016-05-05 18:09:58 -04:00
Augustin Cavalier
deaef0eb2e preferences/bluetooth: Use BLayoutBuilder instead of B*LayoutBuilder.
Fixes a bunch of window sizing issues and the weird space between
the window border and the contents.
2016-05-05 18:09:16 -04:00
Automatic Committer
fac6ada134 Update pci.ids from pciids.sourceforge.net 2016-05-05 05:20:17 +02:00
Murai Takashi
109459c8a5 MailProtocol.cpp: fix gcc6 build
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2016-05-03 21:01:48 +02:00
Jérôme Duval
ab7c65d33d arm: remove duplicate arch_get_thread_debug_cpu_state(). 2016-05-02 21:25:05 +02:00
Murai Takashi
56d0435fd2 LocaleRoster.cpp: fix gcc6 build
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2016-05-02 19:18:31 +02:00
Murai Takashi
33bb983188 netresolv: Fix gcc2 build
Change suppress warnings options to -Wno-sign-compare
since -Wno-error= can be used with gcc 4.2 or later.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2016-05-02 19:07:24 +02:00
Rene Gollent
6d4e35f60e BSocketMessenger: Fix size mismatch.
- The header size was accidentally being included in the flat buffer size,
  leading to a mismatch error when reading the incoming message.
2016-05-01 14:23:58 -04:00
Rene Gollent
6dd98243c2 BSocketMessenger: Style fixes. 2016-05-01 09:53:42 -04:00
Rene Gollent
493cced1ef libbnetapi: Add socket messenger class.
- Introduces new network API class BSocketMessenger, allowing one to send
  and receive BMessages across a network socket in a BMessenger-like
  fashion. Still very much WIP, hence currently not exposed via public headers.
  Based partly on previous work by Axel.
2016-04-30 18:32:50 -04:00
John Scipione
65d0cbfdaf BTabView: Draw bottom tab border in DrawTabs()
...instead of DrawBox().

Also use ceilf when calculating tab height to prevent non-integral height.

Fixes #12683

More Todo:

You have to understand way too much about how this class draws if you
want to have any hope of overriding one of its Draw... methods and have
it do what you expect.

e.g. The BeBook implies that the tabs are drawn first, then the box, but, we
draw them in the opposite order. Probably better this way but not intuitive.

There are a number of remaining questions:
1. Why don't we need to draw the bottom of tabs if B_FANCY_BORDER?
2. Why do we need to expand tab border horizontally if B_PLAIN_BORDER?
3. Why is the bottom border color (152, 152, 152) instead of (151, 151, 151)?

Add a bunch of TODOs for these questions and more.

There can be some unitiutive gaps between the box border and view
depending on if you choose B_FANCY_BORDER or B_PLAIN_BORDER.
You don't notice the gaps unless the view draws right on it's edge. Some
views, including in Devices and Media Prefs do this though. Media Prefs
further complicates matters by overriding BTabView.
2016-04-29 14:31:32 -07:00
John Scipione
76b2ce77bf BTabView: Remove borderOffset, no longer useful 2016-04-29 14:31:32 -07:00
John Scipione
1eb0579044 BTabView: Don't use std, just call std::nothrow 2016-04-29 14:31:32 -07:00
John Scipione
24cb14bc3d BTabView: Style fixes
Fix misleading indentation

remove extra newline

just a newline

selTabRect => selectedTabRect
2016-04-29 14:31:31 -07:00
John Scipione
3490eda827 ControlLook: Rename border param to borderStyle
border vs. borders is confusing.

BTabView: Rename border param to borderStyle

BTabView docs: rename border param to borderStyle

enumerate border styles in docs
2016-04-29 14:31:05 -07:00
Ingo Weinhold
262ddba25c Work around gcc 2 member template issue
Fixes the gcc 2 build.
2016-04-29 23:02:39 +02:00
Ingo Weinhold
fc76f5a866 Debugger: Support for reading symbols from core file images
* New class ElfSymbolLookup. Given a data source, the address of a
  symbol table, symbol hash table, string table, and a few more details
  it provides access to the symbol information.
* CoreFile: Add CreateSymbolLookup(). Creates an ElfSymbolLookup for a
  specified image.
* CoreFileDebuggerInterface: Implement GetSymbolInfos() for regular
  images (no commpage yet) via the new functionality.
2016-04-29 22:32:15 +02:00
Ingo Weinhold
a0c364c70d Core file images note: Add text delta field 2016-04-29 22:32:15 +02:00
Ingo Weinhold
9266cd66c7 extended_image_info: Add text_delta field
Needed to offset a symbol address read from the symbol table to the
actual load address.
2016-04-29 22:32:14 +02:00
Jérôme Duval
571a4030ea net_socket: check underflow condition happening on x86_64.
* move the test for the availability of the add_anillary_data function in the
protocol out of the loop, as suggested by Axel.
* fix #12737.
2016-04-29 17:34:48 +02:00
Jérôme Duval
29fa68b21c unix: fix x86_64 build with trace. 2016-04-29 17:34:48 +02:00
Rene Gollent
c9dd7d0ddf libbnetapi: Extend socket classes.
B{Abstract,Datagram,Secure}Socket:
- Add functionality to listen for and accept new connections, thus allowing
  one to use the socket classes for server functionality as well.

BSecureSocket:
- Adjust to take into account differences between how SSL needs to be called
  when accepting an incoming connection vs initiating an outbound one.
  The handshake on the accepted connection stills fails for unknown reasons
  at the moment though.

Note that these changes break the ABI, and thus any packages making use of
them directly will need a rebuild.
2016-04-28 22:30:40 -04:00
Alexander von Gluck IV
9503c26b5d intel_gart: Add SkyLake bridge ID's to match accelerant 2016-04-28 21:10:20 -05:00
Alexander von Gluck IV
1b9ee9d382 intel_gart: Add Atom DMI bridge ID's to match accelerant 2016-04-28 20:49:37 -05:00
Alexander von Gluck IV
dee0f365e1 intel_extreme: Improve LVDS panel detection robustness
* If older generation, check for mobile. If mobile GPU
  is found, make an assumption that a LVDS panel exists
  and attempt to leverage the vbios or VESA EDID.
2016-04-28 10:45:31 -05:00
Alexander von Gluck IV
42b7678198 netresolv: Fix build issues under Ubuntu 16.04 and OS X
* Either gcc or bison version changes are throwing a
  sign-compare Werror in the generateda irs nslexer.c
* This simply targets that Werror and disabled it in irs
2016-04-28 00:16:32 -05:00
Alexander von Gluck IV
00c9b19b31 intel_extrme: Add more Atom gpu PCI id's 2016-04-27 22:44:27 -05:00
Automatic Committer
e01b4d6a3f Update pci.ids from pciids.sourceforge.net 2016-04-28 05:20:21 +02:00
John Scipione
22097d7aee Style fixes to BPeropertyInfo class 2016-04-27 11:10:34 -07:00
Rene Gollent
e2d845a47f Debugger: Implement remainder of #12729.
UserInterfaceListener:
- Add request hook for writing a core file. Implement in TeamDebugger.

Jobs/WriteCoreFileJob:
- Add new job to actually dispatch the core file request via the debugger
  interface.

Team{::Listener}
- Add listener event + hook for notifications when a core file gets written.
  Implement in CLI.

CliContext:
- Add event flag for core file changed.

CommandLineUserInterface:
- Add 'write-core' command. This optionally takes a path to write the core to,
  otherwise one is automatically generated by, similarly to debug reports. As
  such, one can now generate cores for things like app_server and registrar
  crashes if desired, in addition to reports.
2016-04-26 22:36:26 -04:00
Rene Gollent
5c8966c740 Debugger: Fix crash regression.
- During the TargetHostInterface refactoring, a parameter was accidentally
  omitted for the debugger options in the command line and report interfaces,
  leading to a crash during TeamDebugger init.
2016-04-26 22:34:00 -04:00
Rene Gollent
bac2e686dc Debugger: Add core file request to DebuggerInterface.
{CoreFile,Local}DebuggerInterface:
- Add virtual hook for requesting a core dump of the current team. Implement
  accordingly in LocalDebuggerInterface, and add a no-op stub in
  CoreFileDebuggerInterface.
2016-04-26 21:48:44 -04:00
Ingo Weinhold
42f9500235 Debugger: CoreFile: read symbol and string table addresses 2016-04-27 02:17:15 +02:00
Ingo Weinhold
5cde7a856d Add symbol and string table addresses to core file 2016-04-27 02:16:54 +02:00
Ingo Weinhold
8c6cb8af01 runtime loader: Register extended image info with kernel
Add structure extended_image_info which extends image_info by the
fields symbol_table, symbol_hash, string_table.
2016-04-27 02:16:09 +02:00
Ingo Weinhold
82185a52e2 Future proofing core file format
* The Haiku specific notes contain a structure size field, now.
* Change the type of the count and size fields in the Haiku specific
  notes to uint32 also for 64 bit ELF. The size field for a note is a
  uint32 anyway.
2016-04-27 00:55:23 +02:00
Rene Gollent
63a0065c83 Debugger: Implement part of #12729.
TeamsWindow:
- Add a button allowing one to specify loading a core file in addition
  to attaching to/creating teams.
- Slight layout tweak.
2016-04-26 18:28:09 -04:00
Ingo Weinhold
6d5951d612 Debugger: Handle RefsReceived(), opening core files 2016-04-26 23:48:41 +02:00
Ingo Weinhold
b7e6e93165 MIME type for core files
Icon wanted!
2016-04-26 23:48:04 +02:00
Rene Gollent
ef969bcb59 Debugger: Fix incorrect behavior when asking to activat.
GraphicalUserInterface:
- The Show() method now checks if the team window is already visible. If
  it is, we instead call Activate() to focus it. Fixes the problem that
  attempting to attach to a team which we already had a running team
  debugger for would appear to do nothing, rather than focusing that window.
2016-04-25 21:56:10 -04:00
Rene Gollent
61f0bf59fb Debugger: Fix handling of team_id clashes.
TeamDebugger:
- Add accessor to query whether the debugger's interface is a post mortem core
  rather than a live team.

TargetHostInterface:
- When asked to locate a team debugger by team_id, as is done for attach
  requests to determine if we already have an existing instance attached, skip
  over post mortems. This takes care of the potential problem of detecting a
  core instance with the same team_id as a live team, and consequently refusing
  the attach request.
- When a team debugger quits, use its actual pointer to look it up rather than its
  team ID, as we could otherwise potentially remove the wrong one in the case of a
  clash.
2016-04-25 21:49:46 -04:00
Rene Gollent
2c4195e840 Debugger: Integrate core handling into TargetHostInterface.
{Local}TargetHostInterface:
- Add virtual method for requesting a debugger interface for a core file.
  Implement accordingly in LocalTargetHostInterface based on Ingo's
  previous implementation in the Debugger app.

TeamDebuggerOptions:
- Add an enum to define the type of team debugger request being made
  to explicitly make this clear rather than guessing based on the provided
  arguments. Set accordingly in the various cases.
- Add a parameter for the core file path.

Debugger:
- Refactor to fill in TeamDebuggerOptions appropriately for core file
  requests, and consequently simplify code.

This doesn't yet deal with the fact that a post-mortem team's ID can
clash with that of a live team, which may lead to issues when attempting
to attach to a live team in such a case.
2016-04-25 16:48:37 -04:00
Jérôme Duval
60ac5356ac Fix debug build of libtextencoding.so. 2016-04-25 19:08:01 +02:00
Ingo Weinhold
1a899ed474 Debugger: Beginning of core file support
* DebuggerInterface: Add method IsPostMortem() to be able to
  descriminate between live and post mortem debugging.
* Add DebuggerInterface implementation CoreFileDebuggerInterface which
  provides information from a core file.
* TeamDebugger: Don't start the debug event thread when debugging post
  mortem.
* Debugger: New command line variant "Debugger --core <file path>",
  which starts a team debugger using the core file.

There are a few issues:
* I didn't see an easy way to integrate with the new
  TargetHostInterface framework and I didn't want to get into Rene's
  way changing stuff. As a side effect core file debug windows are not
  counted and Debugger will quit when only those are left, respectively
  will additionally open a teams window on start-up.
* There aren't any symbols yet. We can't use the debug kit
  functionality, since it isn't bitness/endianess agnostic. So either
  it needs to be adjusted or ported over to Debugger.
2016-04-24 18:48:37 +02:00
Ingo Weinhold
3d26e83096 Debugger: TeamInfo: Add SetTo() version
... that doesn't expect a team_info.
2016-04-24 18:35:45 +02:00
Ingo Weinhold
86fe52b6bc Debugger: Add class CoreFile
Reads data from Haiku specific core files.
2016-04-24 18:34:51 +02:00
Ingo Weinhold
05c7cd7647 Debugger: Make ElfFile more flexible
* It was previously geared towards shared object files. Now it is
  fairly agostic and also accepts e.g. files without sections and
  different endianess.
* The handling of 32 vs. 64 bit files works a bit differently now.
  There're structs ElfClass32 and ElfClass64 now which provide the
  types for the respective bitness.
* Add a few more getters.
2016-04-24 18:34:07 +02:00
Ingo Weinhold
6dc2384f6e debug server: Offer option to write a core file
... when a team crashes/hits a debug event.
2016-04-24 18:24:50 +02:00
Ingo Weinhold
467fe4ca0c kernel: Add core dump facility
* Add function core_dump_write_core_file(). It writes a core file for
  the current thread's team. The file format is similar to that of
  other OSs (i.e. ELF with PT_LOAD segments and a PT_NOTE segment), but
  most of the notes are Haiku specific (infos for team, areas, images,
  threads). More data will probably need to be added.
* Add team flag TEAM_FLAG_DUMP_CORE, thread flag
  THREAD_FLAGS_TRAP_FOR_CORE_DUMP, and Team property coreDumpCondition,
  a condition variable available while a core dump is progress. A
  thread that finds its flag THREAD_FLAGS_TRAP_FOR_CORE_DUMP set before
  exiting the kernel to userland calls core_dump_trap_thread(), which
  blocks on the condition variable until the core dump has finished. We
  need the team's threads to stop so we can get their CPU state (and
  have a generally unchanging team state while writing the core file).
* Add user debugger message B_DEBUG_WRITE_CORE_FILE. It causes
  core_dump_write_core_file() to be called for the team.
* Dumping core as an immediate effect of a terminal signal has not been
  implemented yet, but that should be fairly straight forward.
2016-04-24 18:22:14 +02:00
Ingo Weinhold
ac1f1a926e kernel: +image_iterate_through_team_images()
Like image_iterate_through_images(), but iterates though the images of
the given team only.
2016-04-24 17:30:52 +02:00
Ingo Weinhold
99f00556a4 kernel: +arch_get_thread_debug_cpu_state()
Similar to arch_get_debug_cpu_state(), but the thread whose CPU state
to retrieve is specified. Works only for threads that aren't running,
and on x86-64 we can get the FPU state only when the thread was
interrupted in userland.
Not implemented for the incomplete architecture ports.
2016-04-24 17:29:28 +02:00
Ingo Weinhold
7a187cd629 _user_debug_thread(): Use new signal SIGNAL_DEBUG_THREAD
This resolves a TODO: We used thread_interrupt() to wake up the thread
from an interruptable wait. However, if the thread was already in the
kernel and about to start waiting, that would have no effect and the
thread would wait anyway. Now there's the new non-blockable signal
SIGNAL_DEBUG_THREAD, which is sent to the thread instead, making sure
that thread doesn't start waiting.
2016-04-24 11:54:17 +02:00
Alexander von Gluck IV
3218cf3b36 ohci: Fix x86_64 usb tracing 2016-04-23 14:26:22 -05:00
Alexander von Gluck IV
78fc8fe7a0 xhci: 1.1 spec actually specifies 1023 maximum scratch pads.
* While my test XHCI machine only requested 36, the spec for 1.1
  actually states the controller can now "request up to 1023"
2016-04-23 13:03:43 -05:00
Alexander von Gluck IV
cf9e522172 xhci: 1.1 spec bumped scratchpads to 36. Set to sane 48 max 2016-04-23 12:49:10 -05:00
Alexander von Gluck IV
1b6e91d3b9 xhci: Tab cleanup of hw defines. No functional change 2016-04-23 12:47:59 -05:00
Alexander von Gluck IV
23cd7065bd intel_extreme: Disable register dumps
* Could cause instability in rare cases.
2016-04-23 09:13:23 -05:00
Alexander von Gluck IV
8d1cb54aac intel_extreme: Add in some code for the lakes (unused) 2016-04-22 22:41:52 -05:00
Alexander von Gluck IV
db706cb504 bluetooth_server: Fix fatal warning under gcc2 2016-04-22 14:48:05 -05:00
Alexander von Gluck IV
e29ff32374 bluetooth_server: Fix multi-arch build 2016-04-22 14:32:51 -05:00
Dario Casalinuovo
20802959d3 shutdown_media_server: Rely on actual instance
* Makes the shutdown process to rely on the instance that was
running at the time the function is called. While it's unlikely
anyone will see any change from that, this way we will not conflict
in any case with the launch_daemon.
* The reply could have been confused in a remote situation, make
every request to use an it's own object.
* In launch_media_server there was a wrong variable redefinition
too.
2016-04-22 15:55:15 +02:00
Dario Casalinuovo
e4704eb6f9 MediaDefs/MediaRoster: Increase code consistency
* Also fix a possible issue with List::Get, the code returned
after a Get() error. While I doubt if this happens the next
items will be still valid, I prefer to continue until we reach
the end of the items, and in case of a SyncToRoster request we will
at least get the list empty. We might have a blocking call
on the other end, so it's our own duty to at least try to avoid
this in any case. As final result at least we will get the list
empty.
2016-04-22 15:53:34 +02:00
Dario Casalinuovo
76889670db shutdown_media_server: Finalize rework of synchronization
* When the user isn't requesting a custom notification, it will
be a BMediaRoster job to do it.
* Reintroduce BMediaRoster::SyncToServices, this time based on local
message passing rather than a global semaphore.
* SyncToServices is used in launch_media_server to make the process
more launch_daemon safe and faster in the average case.
* It was an error to add notifications in the media_server.
* Fixes #12717.
2016-04-21 19:02:27 +02:00
Automatic Committer
721adc92d3 Update pci.ids from pciids.sourceforge.net 2016-04-21 05:20:17 +02:00
Rene Gollent
c084d6c49a Debugger: Minor tweak.
LocalTargetHostInterface:
- Set interface's friendly name to include local hostname.
2016-04-20 20:50:02 -04:00
Rene Gollent
aed5c39d97 Debugger: Implement host interface roster listener.
TargetHostInterfaceRoster:
- Add Listener interface. For now, this simply notifies the listener of
  changes to the active debugger count.
- Adjust show new team window command to automatically fall back to the local
  interface window if one isn't specified. Fixes the Start New Team menu item
  in the TeamWindow. The latter will later be expanded to show the available
  interfaces to start a new team on in a submenu.

Debugger:
- Implement roster listener interface in order to know when to attempt
  application quit.

With this commit, all necessary work to isolate the application from the target
host is complete, and work on the actual remote interface and protocol can
begin.
2016-04-20 20:47:56 -04:00
Rene Gollent
8527cd4d28 Debugger: Add host listener implementation.
TargetHostInterfaceRoster:
- Implement TargetHostInterface's Listener interface. This allows us
  to more cheaply track the total number of running team debuggers,
  as well as automatically removing an interface that is destroyed.
2016-04-20 20:47:32 -04:00
Rene Gollent
5bb138f751 Debugger: Add listener interface for TargetHostInterface. 2016-04-20 20:47:30 -04:00
Rene Gollent
a1afac4dca Debugger: Rework to fully use TargetHostInterface.
Application objects:
- Rework and simplify to take into account that they will no longer be
  directly managing the team debugger list. Requests to start a new debugger
  are still funnelled through here however, and as such, said requests must
  now provide the appropriate target host to start with. Adjust StartTeamWindow
  and TeamsWindow accordingly.
- On global init, always create an instance of the local interface.

TargetHostInterface:
- Convert to BLooper and implement TeamDebugger's Listener interface.
  TargetHostInterfaces now directly manage their TeamDebugger instances,
  and consequently take over the equivalent duties that the main application
  previously had.
- Adjust signatures of Attach/CreateTeam to add const. Adjust
  LocalTargetHostInterface accordingly.
- Add accessor to determine if a given interface is local or not. Will be
  needed for the TeamDebugger's file manager eventually so it knows if it
  needs to request remote files if no matching local file is found.
- Add accessor to start a TeamDebugger instance, and corresponding options
  structure.

TargetHostInterfaceRoster:
- Minor adjustments to host interface initialization to take into account
  needing to start the looper.
- Add accessor for number of running team debuggers, for the main app to
  use when deciding to quit.

TeamDebugger:
- Add accessor for SettingsManager. Needed for the case of a restart request,
  as the host interfaces do not have direct access to it.

TeamsWindow:
- For now, always grab the local host interface when initializing the window.
  Once the remote interface is implemented, this will need to be adjusted, but
  the appropriate UI for creating/selecting it is needed first anyways.

With these changes, the main application is fully host-agnostic, and all
management of actual debuggers is delegated to their parent host interfaces.
There still needs to be a listener interface for the host interface and/or
roster though, so that the application can be made aware of when debuggers
quit, as this drives whether it's time to terminate the app or not.
2016-04-20 20:47:29 -04:00
Alexander von Gluck IV
f0f01d2a89 bluetooth: Fix preferences build? Works here (again) 2016-04-17 15:07:41 -05:00
Alexander von Gluck IV
30f6fed181 bluetooth: Fix preferences build 2016-04-17 13:38:04 -05:00
Alexander von Gluck IV
3b0f09dbfd intel_extreme: Fix blurry native LVDS mode
* Intel panel scaling was making native mode blury
* Resolutions < native result in a non-scaled screen for now.
* We should look into using the hardware scaler vs
  doing fake scaling.
* Resolves #12716
2016-04-15 18:05:04 -05:00
Automatic Committer
9537eae948 Update pci.ids from pciids.sourceforge.net 2016-04-14 05:20:21 +02:00
Rene Gollent
0a1838cb44 Debugger: Implement Create/Attach on LocalTargetHostInterface.
LocalTargetHostInterface:
- Implement the create and attach functionality. In theory, this completes
  everything that's needed in order to adjust the main application to do
  all debugger interface creation via the roster.
2016-04-13 20:10:19 -04:00
Rene Gollent
7dde731f40 Debugger: Add missing roster method implementations.
TargetHostInterfaceRoster:
- Implement counting/retrieving interfaces, as well as requesting the
  creation of a new instance.
2016-04-13 20:10:17 -04:00
John Scipione
fbf9ac1ce4 ScreenSaver: Center window on screen 2016-04-13 15:50:30 -07:00
John Scipione
a60b9ee3ac Screensaver: Set explicit min width for fSettingsView
Also make some new const variables to make some math more opaque
i.e. don't use as many magic constants.

This works great at 12pt font size, decenly at all other sizes. There is a
bit of jitter at 13pt and 24pt for some reason when moving from a default
settings view to another settings view.
2016-04-13 15:50:30 -07:00
John Scipione
4f0eceacb4 Screensaver: Move Puck up alphabetically 2016-04-13 15:50:30 -07:00
John Scipione
53dc6af917 Screensaver: Blackness not Darkness 2016-04-13 15:50:30 -07:00
John Scipione
e9208b6876 ScreenSaver: Rename BuildScreenSaverDefaultSettingsView
...to just DefaultSettingsView

It is just as obvious what it does in context, but shorter.

Rename the function it contains from
BuildDefaultScreenSaverSettingsView to
BuildDefaultSettingsView
2016-04-13 15:50:30 -07:00
John Scipione
3801c37b90 Screensaver: Update Default Settings View to use Layout
and standard insets so that they match other screen savers
2016-04-13 15:50:30 -07:00
John Scipione
63d59e1081 Nebula: Use default insets
Simplify layout
2016-04-13 15:50:11 -07:00
John Scipione
523f450de0 Nebula: Pass view Bounds() instead of Frame() into SettingsView
This was why the view was not where it should be.
2016-04-13 15:41:40 -07:00
John Scipione
e5147b1d89 Nebula: Set View color in constructor
We don't need to wait for AttachedToWindow for view color
unlike high and low color.
2016-04-13 15:40:23 -07:00
John Scipione
a6ab3387c7 Nebula: Style fixes
80 char limit
add/update some pragmas
2016-04-13 15:40:22 -07:00
John Scipione
ebfc2fc68e Gravity: Use LayoutBuilder directly on view 2016-04-13 14:22:47 -07:00
John Scipione
263e936e87 Gravity: Fixup scroll bar range 2016-04-13 14:13:23 -07:00
John Scipione
3456c51030 Gravity: remove extra spaces 2016-04-13 14:13:23 -07:00
John Scipione
a80db836bf Appearance: Backport changes from Gravity back to Appearance
Make the square a rectangle with Golden Ratio
Use Set*UIColor() instead of Set*Color(ui_color())
Use B_CONTROL_BORDER_COLOR instead of hardcoding
Sort out copyright -- Haiku, Inc. didn't exist before 2003
Use variable width spacing based on font size from ControlLook
Removed unnecessary #includes

Did a little pixel pushing to make sure that everything is spaced
nicely and to ensure everything lies on integer pixel boundries.
2016-04-12 20:54:43 -07:00
John Scipione
d1d1535a73 Gravity: Use Set*UIColor() instead of Set*Color(ui_color())
Thanks jessicah!
2016-04-12 20:14:29 -07:00
John Scipione
ad5c346a3f Gravity: Remove copy pasta in copyright 2016-04-12 20:07:22 -07:00
John Scipione
cd91a71562 Gravity: update copyright
This was meant to go in the last commit
2016-04-12 19:36:36 -07:00
John Scipione
4b83455774 Gravity: Add ColorItem and RainbowItem
instead of using boring StringItems

ColorItem draws a small colored rectangle left of the string
RainbowItem draws a rainbow colored rectangle left of the string
2016-04-12 19:31:00 -07:00
John Scipione
89972206d8 Gravity: spaces => tabs in Jamfile 2016-04-12 19:17:10 -07:00
Dario Casalinuovo
598880fc30 MixerCore: Remove wrong flag 2016-04-12 02:54:36 +02:00
Dario Casalinuovo
b0dd37b7a0 AudioMixer: Review and rework synchronization
* The event time is managed through the main node control
loop.
* Make the mix thread to activate only when needed.
* Make the locking more simple and remove a race condition,
this will make the thread to be more silent too.
2016-04-12 02:33:48 +02:00
Dario Casalinuovo
ec2c5619c1 AVFormatWriter: Add more error checking
* Check before to write chunks if the header was correctly
written, the same happens for track infos, even if the code
doesn't support it.
2016-04-12 02:26:15 +02:00
Dario Casalinuovo
9074223db0 media_server: Print unknown messages notice only when debugging
* Remove unneeded noise caused by progress notifications.
* Don't print the message to screen.
2016-04-12 02:26:14 +02:00
Rene Gollent
d9e4b4cec5 Debugger: Add initial version of TargetHostInterfaceRoster.
TargetHostInterfaceRoster:
- Provides a singleton interface to enumerate both the available interface
  types, and all currently running instances. This will provide clients like
  the TeamsWindow with a way to present the user with all available types,
  as well as the necessary information to configure/instantiate them.

TargetHostInterfaceInfo:
- Provides an information object for each available type of interface,
  including an optional description of the settings needed to configure it.
  Callers can then use this to provide a configuration UI as needed, and
  once complete, request a corresponding interface instance for the desired
  configuration.

{Local}TargetHostInterface:
- Add Settings parameter to Init(). Adjust LocalTargetHostInterface
  accordingly.

LocalTargetHostInterfaceInfo:
- Implementation of TargetHostInterfaceInfo for the local system case.
2016-04-10 17:03:10 -04:00
Rene Gollent
7442abd1c5 Debugger: Further additions to TargetHostInterface.
TargetHostInterface:
- Provide interface for tracking list of TeamDebuggers attached to this
  particular interface instance. Will eventually replace the current
  mechanism where the Debugger app tracks this directly.

LocalTargetHostInterface:
- Cleanups.
2016-04-10 17:03:07 -04:00
Alexander von Gluck IV
e91079d501 bluetooth/server: Don't show blackboard on start 2016-04-10 09:27:44 -05:00
Alexander von Gluck IV
94215f0da3 bluetooth: Give server a simpler tray icon 2016-04-10 08:53:00 -05:00
Alexander von Gluck IV
05e1165520 h2generic: Stop using btDebug + style fixes 2016-04-10 01:01:07 -05:00
Alexander von Gluck IV
c58e1d7feb l2cap: Fix x86_64 build and refactor trace 2016-04-10 00:49:32 -05:00
Alexander von Gluck IV
e1e291b063 bluetooth: Drop vanity trace colors 2016-04-10 00:49:31 -05:00
Jérôme Duval
9bab67590e Fixed package requirements for haiku x86 and x86_64. 2016-04-10 07:18:35 +02:00
Alexander von Gluck IV
1f2fa6cd09 bluetooth: Refactor debugging and trace calls
* The old debug system was too complex and made
  troubleshooring difficult. (it also was unique
  like a snowflake... which we don't want)
* Move to the classic TRACE / ERROR a large majority
  of the code has changed to.
* I like trace statements, but drop some obvious ones
* Fix style issues along the way
2016-04-09 23:40:54 -05:00
Alexander von Gluck IV
a4a85baea1 bluetooth/preflet: Fix x86_64 build 2016-04-09 21:43:53 -05:00
Alexander von Gluck IV
837845c53d bluetooth/hci: Add missing api_version 2016-04-09 21:35:55 -05:00
Alexander von Gluck IV
ebffd5b138 bluetooth/btCoreData: Add missing api_version 2016-04-09 21:34:29 -05:00
Alexander von Gluck IV
13afb4fb37 bluetooth/hci: x86_64 build fixes 2016-04-09 21:19:16 -05:00
Alexander von Gluck IV
73e3d8d20c bluetooth/btCoreData: x86_64 build fixes 2016-04-09 21:09:19 -05:00
Alexander von Gluck IV
f29863944e h2generic: Fix x86_64 build 2016-04-09 20:57:34 -05:00
Alexander von Gluck IV
b4a9d9a6d6 bluetooth: Fix x86_64 build of server 2016-04-09 20:25:33 -05:00
Alexander von Gluck IV
5bb75b4464 bluetooth: Quick style cleanup. No functional change 2016-04-09 19:29:05 -05:00
Jérôme Duval
c2dcd10688 Update ffmpeg packages for x86 and x86_64.
* add ffmpeg2 package for x86 for compatibility.
* specify required versions of ffmpeg and icu for haiku packages x86 and x86_64.
2016-04-10 00:48:18 +02:00
Jérôme Duval
d3c8f2b271 dvb: update build with ffmpeg 3.0. 2016-04-09 23:32:08 +02:00
Alexander von Gluck IV
03b9db1a1a Merge branch 'intel-extreme'
Rework of the intel-extreme driver. Don't expect anything special yet.
2016-04-09 14:12:52 -05:00
Alexander von Gluck IV
debb71f548 intel_extreme: Disable 'experimental' GPUs SNB or higher
* VESA under Intel GPU's is generally native resolution
* These never worked well pre-rewrite, so lets disable
  them for now.
* I'd like testers to enable them slowly and report
  problems as enhancements.
2016-04-09 14:08:27 -05:00
Alexander von Gluck IV
10f2e843a6 intel_extreme: Power up DDI 2016-04-09 14:02:09 -05:00
Alexander von Gluck IV
037ecca315 ahci: Reduce aggressiveness of port reset
* While no removeable media is present, ahci
  ports continuously reset.
* hrev49665 made the port resets slightly more
  agressive resulting in strange removeable media
  behaviour.
* Lots of red herrings made this one take a while
  to figure out.
* Resolves #12415
2016-04-08 22:09:12 -05:00
Alexander von Gluck IV
fb75d9606c ahci: Simplification of reset code
* This simplifies the reset process again while keeping
  my original cleanups.
* I think trying a software reset before a hardware
  reset is desireable, however lets work on base
  functionality first.
2016-04-08 22:09:12 -05:00
Alexander von Gluck IV
f8df3953f4 radeon_hd: Fix build. Port missed macros in AtomBIOS parser 2016-04-08 11:33:41 -05:00
Alexander von Gluck IV
190b33c4b0 radeon_hd: Add updated / missing atombios opcodes
* Newer cards introduce two new opcodes mul32 and div32
* Add completely missing processds opcode
2016-04-08 09:36:18 -05:00
Dario Casalinuovo
6266cf35de AVFormatWriter: Fix bad error checking
* Review by Markus Overhagen, Thanks!
* Renamed fHeaderWritten variable to fCodecOpened too
2016-04-07 20:00:25 +02:00
Dario Casalinuovo
f441a1e2ce BControllable: Fix real_time and perf_time mismatch
* It caused parameters to change with delay, because the
event has been enqueued in the event queue with real time.
* Please don't rely on system_time.
* Fixes #5106.
2016-04-07 16:01:40 +02:00
Automatic Committer
15b4841a94 Update pci.ids from pciids.sourceforge.net 2016-04-07 05:20:17 +02:00
John Scipione
cc067f16d4 SpiderSaver: Use DefaultItemSpacing 2016-04-06 13:39:29 -07:00
John Scipione
197c60bf3e SpiderSaver: Style fixes, move SpiderView into own files
Fixes after rebase to make the thing work, along with some style
fixes that got mixed in.
2016-04-06 13:39:29 -07:00
Dario Casalinuovo
2b05e191ce Revert "Force runtime_loader permissions during build"
This reverts commit f45b1ff242.
2016-04-06 12:12:25 +02:00
Dario Casalinuovo
cbada661c3 AVFormatWriter: Safeness after avformat_write_header fails
* The ffmpeg documentation explicit forbid to write the trailer
when the header write failed.
* Fixes #12678.
2016-04-06 00:35:44 +02:00
Dario Casalinuovo
f45b1ff242 Force runtime_loader permissions during build
* Fixes #12373.
2016-04-06 00:29:38 +02:00
Dario Casalinuovo
2f611cf798 BParameterGroup: Fix memory leak
* Fixes #12706.
* The issue has been reported by Cédric Degea with the fix
included. Thanks!
2016-04-06 00:28:42 +02:00
Dario Casalinuovo
99741be9f2 shutdown_media_server: Rework shutdown process
* Fixes issues with launch_daemon restart.
* Rely on what the actual response from the server is
instead to naively try to kill it.
* Remove snoozing and make the restart process very fast.
* Any app should rely on notifications anyway.
* Due to some reason a few months ago the media_addon_server
locked up very often making the notification service unreliable,
today this issue looks like solved. This made possible the recent
improvements.
2016-04-05 15:25:30 +02:00
Rene Gollent
8c7bdb72ae Debugger: Refactor TeamsWindow to use TargetHostInterface.
TeamsWindow:
- On startup, instantiate a LocalTargetHostInterface, and pass it
  to the TeamsListView.

TeamsListView:
- Refactor building and updating the teams list to work via TargetHost
  and its respective listener interface rather than the previous combination
  of be_roster and manual polling.
- Style fixes.
2016-04-04 22:17:07 -04:00
Rene Gollent
475ea59b5f Debugger: Fix handling of team creation events.
LocalTargetHostInterface:
- When receiving team creation events, check if the team in question actually
  contains a valid app image. The kernel's create notification is sent before
  the team is completely initialized, and consequently if our get_team_info()
  call gets in quickly enough, the images may not be loaded yet. If this
  situation is detected, add the team ID to a wait list.
- If we have waiting teams, listen for new messages with a short timeout. If no
  message is received within the timeout, walk our list of waiting teams and
  see if they are fully initialized yet, and if so, dispatch the appropriate
  event.
2016-04-04 22:17:06 -04:00
Dario Casalinuovo
11c7bd86e2 Replace synchronization semaphore with async messages
* Remove SyncToServices, I will probably readd it in future
but this time using a local synchronization service more than
relying on the media_server to release the semaphore.
* Due to some discussions today in mailing list I decided
to step back and retry the initial way to notify media rosters
about media services status. It is woking by using two different
notifications for reconnecting to the media_server and notifying
the local subscribers.
* This speed up the media services restart.
* Sorry for the noise and very thanks for reviewing my code to
everyone.
2016-04-05 00:41:20 +02:00
Dario Casalinuovo
16732ae7a4 VideoWindow consumer: Fix connection
* The integer overflowed for some reason.
* Fixes #9439.
2016-04-05 00:30:38 +02:00
Dario Casalinuovo
a0b3904a33 launch_media_server: Remove notifications handled elsewhere 2016-04-04 01:27:15 +02:00
Dario Casalinuovo
c131229f08 media_server: Add notifications 2016-04-04 01:27:12 +02:00
Dario Casalinuovo
53c3fa5137 Introduce functionality for syncing with the media services
* The global synchro semaphore is provided with the purpose of
being used to avoid threads lock up when the media_server is in
an undefined state. There's still room for improvements.
* BMediaRoster::SyncToServices lock up on a semaphore until
the multi_audio correctly connected to the mixer.
2016-04-04 01:27:09 +02:00
Dario Casalinuovo
866084f7a9 MediaPrefs: No need to start media services anymore
* This will cause troubles as the launch_daemon is
doing this job for us.
2016-04-04 01:26:49 +02:00
Dario Casalinuovo
77c6944c02 NodeManager: Use boolean expression 2016-04-04 01:26:28 +02:00
Dario Casalinuovo
1199f321ea media_server: Initial move to BServer 2016-04-04 01:26:27 +02:00
Rene Gollent
c6897b2871 Debugger: Start implementing host interface.
- Add new model class TargetHost for host-specific information such as
  the running team list.
- Add new interface class TargetHostInterface and implementing subclass
  LocalTargetHostInterface. Not yet complete/usable due to some as of yet
  unresolved issues with the involved system APIs.
2016-04-02 22:48:58 -04:00
Rene Gollent
2e7058114c Debugger: DebuggerInterface refactor.
DebuggerInterface:
- Refactor into abstract base class.
- Introduce interface configuration abstract base class.
- Move existing implementation into LocalDebuggerInterface and add
  corresponding configuration class.

Debugger:
- Adjust to instantiate LocalDebuggerInterface.

In and of itself no functional change, but paves the way for further
refactoring to make the debugger fully interface-agnostic (this isn't yet
the case for retrieving target system information such as the team listing,
and creating/attaching to teams).
2016-04-02 22:48:36 -04:00
Rene Gollent
6bef41c6a9 Debugger: Minor refactor.
TeamDebugger:
- Rather than instantiating the DebuggerInterface directly, we now
  expect it to be given to us externally. This allows TeamDebugger
  to be agnostic of where the team actually resides.

Debugger:
- Create and initialize DebuggerInterface before passing it on to
  TeamDebugger.

No functional change.
2016-04-02 15:05:19 -04:00
Rene Gollent
5632edebb4 Debugger: Resolve minor TODO. 2016-04-02 15:05:18 -04:00
John Scipione
7c6b944cea Screenshot: Fix argc count
... which I missed in my last commit, sorry for the noise.
2016-04-01 06:58:44 -07:00
John Scipione
ea810bf683 Screenshot: Ignore delay on Print Screen
The delay variable is only considered when you push the
"New screenshot" button as suggested by diver.

Fixes #11447
2016-03-31 15:55:25 -07:00
John Scipione
63fd7a2041 Screenshot: default space between buttons 2016-03-31 15:54:50 -07:00
John Scipione
bcd52c65cb Screenshot: Don't take screenshot of open menu
...take screenshot of window with the menu open instead.

menus are windows, this is an implementation detail.
2016-03-31 14:40:26 -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