Commit Graph

46915 Commits

Author SHA1 Message Date
Alexander von Gluck IV
10f2e843a6 intel_extreme: Power up DDI 2016-04-09 14:02:09 -05:00
Alexander von Gluck IV
ca95e9dad9 intel_extreme: Add initial work for DDI ports 2016-03-15 18:12:28 -05:00
Alexander von Gluck IV
3d1bd895ad intel_extreme: Properly use VBIOS panel mode
* Move current_mode into the accelerant as the
  driver doesn't care.
* Record panel_mode in driver and present to accelerant
* eDP, if no EDID and mobile, leave edid incomplete.
  Mode set should notice that and fall back to panel_mode
2016-03-11 18:20:28 -06:00
Alexander von Gluck IV
a81f65eae5 Merge branch 'master' into intel-extreme 2016-03-09 17:11:08 -06:00
Augustin Cavalier
9bd7e4014f Tracker: Restore original PoseView/TitleView names except in BFilePanel.
Should've fixed #12635, but it doesn't. No idea why; perhaps
	request.AddSpecifier("Window", "/boot/home/Desktop");
doesn't work anymore?
2016-03-07 18:04:49 -05:00
Augustin Cavalier
80bc632afd BStatusBar: Restore the old blue-ish color from before the Set*Color changes. 2016-03-07 16:08:00 -05:00
Augustin Cavalier
361738c0ad Revert "PackageInstaller: Attempt to fix 64-bit build."
This reverts commit bb4cd92eae.

We probably should change this API before R2.
2016-03-07 15:52:22 -05:00
Augustin Cavalier
bb4cd92eae PackageInstaller: Attempt to fix 64-bit build. 2016-03-07 15:38:24 -05:00
Augustin Cavalier
d3626243b0 PackageInstaller: Fix layout in UninstallView, use BLayoutBuilder. 2016-03-07 15:19:42 -05:00
Augustin Cavalier
eaf0a567c5 PackageInstaller: Merge "InstalledPackages" and "PackageInstaller".
Now if you start LegacyPackageInstaller with no filenames passed, you get
the "installed packages" window, from which you can uninstall stuff.

Fixes #10612.
2016-03-07 15:08:58 -05:00
Humdinger
5f73d5000d Close Workspaces window with ESC
As discussed on the ML [1].
Try making the Workspaces window really big, hide window tab and border,
assign CTL + ^ to the Workspaces applet. Now you can quickly summon the
applet with CTRL + ^ and equally quickly dismiss it with ESC.

[1] http://www.freelists.org/post/haiku-development/Close-Workspaces-applet-with-ESC
2016-03-06 08:41:11 +01:00
Alexander von Gluck IV
be587ecfe0 radeon_hd: Clean up PCI ID names and add a few missing 2016-03-04 17:12:08 -06:00
Jérôme Duval
214f8799db try to fix gcc5 build on buildbot.
* I'd only reproduce the kernel build failure locally, weird.
2016-03-04 20:23:17 +01:00
Adrien Destugues
96e59cca3c SerialConnect: allow custom baudrates from the GUI 2016-03-04 20:01:58 +01:00
Adrien Destugues
3b4f50d3fb Style fix.
Thanks to axel for watching!
2016-03-04 20:01:58 +01:00
John Scipione
fad740e391 DeskCalc: Estimate n! using 9 term Stirling's
Approximation for n >= 1000

Factorial
Actual Value (truncated)
Approximation

1000!
4.0238726007709377354370243392300398571937E2567
4.0238726007709377354370243392307         E2567

10000!
2.8462596809170545189064132121198688901480E35659
2.8462596809170545189064132121197         E35659

100000!
2.824229407960347874293421578024535518477E456573
2.824229407960347874293421578024         E456573

Close enough!
2016-03-03 12:03:49 -08:00
John Scipione
261bdbab6d Use 5 factor Stirling's Series 2016-03-03 10:07:25 -08:00
John Scipione
fb4dcb4965 Use Stirling's approximation for n! 2016-03-03 10:07:25 -08:00
Rudolf Cornelissen
d20632f53c app_server: (hopefully) fixed overlay on CMAP8, fixed char leaking on 15 and 16bit depth. See ticket #12613 2016-03-03 16:39:54 +01:00
Automatic Committer
d05a2d9920 Update pci.ids from pciids.sourceforge.net 2016-03-03 05:20:23 +01:00
Alexander G. M. Smith
f765016ffd mail: Detect terminal input, end of file, better argument parsing.
* If the input is a terminal rather than a file or pipe, only then look
  for the single period on a line as end of text.  Also look for end of
  file as an end of the text, so that piped in text works.
* Parse multiple e-mail addresses properly, adding a comma between them
  (a space doesn't work).  Also allow mixing of "to" e-mail addresses
  and command line switches, previously all "to" addresses had to be
  at the end.
* Fewer blank lines in the output, make it look nicer, remove things
  like a redundant display of the body text before text was read.  Also
  no output text when just piping in a message.
* Avoid buffer overrun by using fgets instead of gets.
* Use stderr for text the user likely doesn't want to save, and for
  prompts that would be invisible if stdout was redirected to a file.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-03-02 22:11:15 -05:00
Adrien Destugues
93ea83e53d Allow custom baud rates for FTDI serial ports
- Termios: cf{get,set}{i,o}speed can handle arbitrary speed values.
- The value is stored in the appropriate fields of the termios structure
  in this case. The old constants (stored in the flags) are preserved
  for BeOS binary compatibility.
- Adjust the FTDI FT232* driver to accept custom rates, by replacing the
  hardcoded regster values with a function that will compute it
  according to FTDI documentation (confirmed giving the same values for
  the existing baudrates).
2016-02-27 19:08:53 +01:00
Adrien Destugues
44547a899c usb_serial: add PID for FTDI FT231X.
- Same driver as other FTDI chips, but less IO pins.
2016-02-27 15:56:33 +01:00
François Revol
e89ef1fef7 U-Boot: TRACE fdt_serial instead of dprintf
and disable it by default (it would hang on some platforms anyway).
2016-02-26 22:59:33 +01:00
François Revol
c82af4bebe U-Boot: try to use virtual-reg to get the UART
XXX: possibly only for _BOOT_MODE?
2016-02-26 22:58:45 +01:00
François Revol
14cfccd011 U-Boot: add a 'physical' arg to fdt_get_device_reg()
If false, try to use the virtual-reg property first.
2016-02-26 22:58:17 +01:00
François Revol
73ef47f70a loader: TRACE undefined symbols
While the kernel shouldn't have any, it happens on platforms missing new features.

Make it explicit.
2016-02-26 22:57:06 +01:00
François Revol
8c5db3649d Workspaces: Add switch-on-wheel user setting
Currently only applies when in a window, not when replicated
(then it always switches).

Feel free to fix (need to create the settings object when replicated).
2016-02-26 21:53:34 +01:00
Alexander von Gluck IV
236a3e937a intel_extrme: Better tracing, note when dp no-link 2016-02-23 17:50:39 -06:00
Alexander von Gluck IV
721ba9af43 intel_extreme: Clean up DisplayPort Port class
* DisplayPort != DigitalPort
* i2c needs wrapped in DP AUX transaction code
* Mode-setting comes with DP link training as well
* We need to try and share DP code with radeon_hd
2016-02-23 14:10:14 -06:00
Alexander von Gluck IV
9975620612 intel_extreme: Prepare for DisplayPort AUX comms 2016-02-23 13:39:10 -06:00
Jérôme Duval
269796df9d ffmpeg: add TODO on reimplementing deinterlace for ffmpeg 3. 2016-02-21 14:52:31 +01:00
Jérôme Duval
f97f2394ca ffmpeg: update build with version 3.0.
* untested.
2016-02-19 21:44:36 +01:00
Jérôme Duval
0d6b5d2667 via.accelerant: fix x86_64 build.
* untested.
2016-02-19 21:44:35 +01:00
Alexander von Gluck IV
bab64f65bb Merge remote-tracking branch 'upstream/master' into intel-extreme 2016-02-19 10:17:42 -06:00
Alexander von Gluck IV
c9c61669ea intel_extreme: Add general pipe configuration and adjust color space 2016-02-19 00:09:43 -06:00
Automatic Committer
a93682c096 Update pci.ids from pciids.sourceforge.net 2016-02-18 05:20:27 +01:00
Adrien Destugues
6071ca9209 Allow to build CharacterMap for the test_app_server.
- I needed to test missing glyphs, and none of the available test apps
  allowed to do so.
2016-02-14 21:12:33 +01:00
Adrien Destugues
42d17c1c2f Remove TODO, fixed by the previous commit. 2016-02-14 21:12:33 +01:00
Adrien Destugues
15325401ce app_server: do not return a glyph when nothing is found in the font.
- Fixes BFont::GetHasGlyphs, the "empty square" which was returned led
  it to think the font had glyphs for everything
- This means the "no character" empty square will not be drawn anymore,
  if we want it back, we will need to rework the implementation a bit
  more (either request it explicitly when there is a missing glyph, or
  return it as it was before but including an info that it is the
  "missing glyph")
- Maybe GetHasGlyphs should also bypass the font fallback system, and
  return what's actually in the requested font only.

This also fixes a locking problem in the GlyphLayoutEngine, the code
didn't handle the read/write lock properly and tried to ReadUnlock from
a place where only the write lock was held.
2016-02-14 21:12:33 +01:00
Adrien Destugues
884412df8e Fix test_app_server build, again
- Interface Kit tests use a View class which is not BView, and has no
SetViewUIColor.
- Libexpat is now in a separate package.
- Shouldn't we add this to the buildbots so we can cath the breakage?
2016-02-14 21:12:33 +01:00
Adrien Destugues
975ec13e71 Locale prefs: skip script-specific entries
Avoids showing the same language multiple times in the list, for example
when there are cyrillic and latin variants. It is still possible to pick
one of the variants, as they are also added as country-specific entries.

Fixes #9144.
2016-02-14 16:19:43 +01:00
Stéphane Aulery
006a34e40e CodingStyle checking tool directory:
- Don't crash when a [.svn] cache directory is missing
- Ignores the cache directories of the main VCS : bazaar, git, mercurial, svn

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #11532.
2016-02-14 14:34:38 +01:00
Alexander Sulfrian
632e56d8e5 URL linkification in People
url and email label are now marked as a link and open the address
in the browser/mail-app on click

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #3825

A few extra changes from the original patch:

- Remove "smart" parsing (detection of "ftp", etc) as it could lead to
ftp://ftp://url or other strangeness,
- Add gopher protocol, because mmu_man may have an home page there.
2016-02-14 14:28:38 +01:00
Adrien Destugues
a5a3b2d9a3 Bluetooth: fix thread safety issue.
Fixes #11428.
2016-02-14 14:07:21 +01:00
Avi Brenner
fb94ed118a ShowImage: Adds an option to launch tracker file info for currently viewed file.
Fixes #12241

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2016-02-14 13:49:34 +01:00
Adrien Destugues
da455572ed AVCodecDecoder: fix timing problems
A combination of two problems made things go wrong with the timestamp of
decoded audio.

1) The output buffer size is too small to hold the complete input.
swresample handles this by buffering the input for use the next time it
is called, however repeatedly doing this results in lots of buffering,
and our way to compute the output timestamp from the input does not take
it into account so it does weird things. Moreover, we would need to
empty the buffer by calling swr_convert with NULL input in that case.

Fix: make sure to not feed more data to swr_convert than it can output
in our buffer. This way, no buffering occurs, only the matrixing
conversion.

2) When using planar audio, the "frame size" is a bit different. Instead
of adding sample size * channel count to 1 pointer, we need to add
sample size * 1 to each channel buffer.

Fix: add the "fInputFrameSize" which takes this into account, instead of
misusing fOutputFrameSize for the input.

Fixes #12460.
2016-02-14 11:45:13 +01:00
Dario Casalinuovo
18e199bd7b video_mixer: Better to use array syntax 2016-02-13 16:52:59 +01:00
Dario Casalinuovo
127a93c293 video_mixer: Fix build
* Unfortunately it's crashing the media_addon_server
at startup.
2016-02-13 16:00:14 +01:00
Dario Casalinuovo
44200efd5d media_reader/media_writer: Fix build 2016-02-12 23:00:52 +01:00