Commit Graph

55290 Commits

Author SHA1 Message Date
Adrien Destugues
d958d336a8 Try to fix the ARM cross-tools build
* Gcc5 does not allow both --with-arch and --with-cpu anymore, so use just --with-cpu.
2016-03-04 20:04:41 +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
Jérôme Duval
319328002a Update gcc packages to 5.3.0. 2016-03-04 17:53:27 +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
Jérôme Duval
f1b2a12f3b Update binutils packages to 2.26.0. 2016-02-29 08:27:41 +01:00
Jérôme Duval
32bca998d6 Update make and nano packages. 2016-02-27 20:03:33 +01: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
Humdinger
c1462040e1 Added Weather package for 64bit 2016-02-27 09:46:13 +01:00
Jérôme Duval
675bb2c41c Update make package for x86_64. 2016-02-27 09:34:52 +01:00
autonielx
382bcbaba4 Update translations from Pootle 2016-02-27 06:35:46 +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
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
a35f84ac46 Update cmake packages for x86 and x86_64.
* Update gettext packages for x86.
2016-02-21 14:48:14 +01:00
Jérôme Duval
21378628c6 Update cmake, gettext and nano packages for x86_gcc2. 2016-02-21 00:11:32 +01:00
Jérôme Duval
ddb11721e9 Add gnutls and nettle packages for x86_64.
* update enca, gpgme, libgcrypt, libusb_compat, sqlite packages for x86_64.
2016-02-20 13:12:11 +01:00
Jérôme Duval
59bb34615f Update freetype packages for x86 and x86_gcc2. 2016-02-20 10:23:22 +01:00
autonielx
63a88dba7a Update translations from Pootle 2016-02-20 06:41:38 +01:00
Jérôme Duval
f369957d03 via.accelerant: move enums out of the struct. 2016-02-19 22:33:41 +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
Rudolf Cornelissen
d95b7ef60b Added via gfx driver back to the image, since ticket #1973 was solved. 2016-02-19 19:33:44 +01:00
Jérôme Duval
351848b372 Update ffmpeg, freetype, libgcrypt packages for x86_64.
* Add ffmpeg2 compat packages for x86_64.
2016-02-19 18:04:27 +01:00
Adrien Destugues
bb28d38bc7 libusb_compat, sane_backends: fix libusb dependency
* Wrong soname from old libusb package was used, making these packages
  not installable.
2016-02-18 22:07:08 +01:00
Automatic Committer
a93682c096 Update pci.ids from pciids.sourceforge.net 2016-02-18 05:20:27 +01:00
Adrien Destugues
d77a087ad2 HaikuWebKit 1.5.2 for x86_64. 2016-02-15 22:43:51 +01:00
Adrien Destugues
d373150fa1 Update libmodplug to fix crash in ffmpeg 2016-02-15 20:16:09 +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
Humdinger
e9eb82cc53 Updated all cdrtools packages to 3.02~a06-1 2016-02-14 19:02:47 +01:00
Humdinger
bb74b46df8 Add ponpokodiff package 2016-02-14 16:52:38 +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
Adrien Destugues
45569721aa HaikuWebKit 1.5.2. 2016-02-13 21:20:54 +01:00