Commit Graph

56779 Commits

Author SHA1 Message Date
Adrien Destugues
0d7ac5eb20 Accidentally left tracing enabled. 2016-12-30 17:47:30 +01:00
Adrien Destugues
f621b750f6 BSoundFile: implement most of it.
Based on the amazing work of puckipedia, this gets BePac Deluxe to play
fine on Haiku (complete with sound effects and music).

This is based on his original patch, but the irrelevent parts (working
around bugs in ffmpeg that were fixed since then) are removed.

Fixes #9939.
2016-12-30 17:32:48 +01:00
Adrien Destugues
3a530660d0 ffmpeg: use stream frame count, if provided.
Not sure why that was commented out. Computing the frame count back from
the frame duration and stream duration can be inaccurate (especially for
long frame durations and/or short streams). It is important that the
stream ends exactly when expected. If it ends earlier than the announced
frame count, an app may be stuck forever waiting for the end, or would
interpret it as a read error. If it is too long, a buffer overflow may
occur.
2016-12-30 17:30:41 +01:00
Adrien Destugues
b480a593f2 ffmpeg: declare support for AIFF files in the MuxerTable.
There used to be endianness problems, but they have been fixed long ago.
It is important for some legacy apps, that these are properly recognized
as B_AIFF_FORMAT_TYPE.
2016-12-30 17:29:44 +01:00
Adrien Destugues
0963770f62 ffmpeg: update to version 0.10.16.
- This is the latest from the 0.10 branch.
- It includes several improvements and update to codecs, while keeping
  the old API.
- The patch to keep things working with gcc2 is getting quite huge.

Tested working with various files, no regressions spotted so far. Please
help complete the test set if you have files that stop working with this
version.
2016-12-30 16:30:58 +01:00
Jérôme Duval
0df7d0081b Only install libfluidsynth.so on x86_gcc2. 2016-12-30 11:32:04 +01:00
Dmytro Shynkevych
0e0f49e799 libroot: Implemented pthread barriers
This is an implementation of pthread barriers pursuant to the relevant specification.

Barriers are essentially a special case of conditional variables,
such that all threads waiting on one are woken up when the number of
waiters reaches a number provided at the initialization of the barrier.
In view of that, this implementation mimics the implementation of pthread_cond,
except it is more specialized and self-contained.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2016-12-30 11:32:04 +01:00
Adrien Destugues
efd1e1eee8 fix binutils package to provide correct version of libbfd 2016-12-30 11:08:19 +01:00
Adrien Destugues
d11c962bfc update sdl_ttf to remove libpng linkage 2016-12-30 10:11:44 +01:00
Adrien Destugues
4d4ccf444f Update sdl_image and sdl_sound for new libpng. 2016-12-30 09:24:54 +01:00
PulkoMandy
7056e542b7 Add forwarding header for BUrl. 2016-12-29 18:18:21 +01:00
Adrien Destugues
2c26ad4b39 move BUrl to the support kit
It is used by the media kit, which created a dependency from libmedia to
libbnetapi to openssl.
It is not entirely specific to the network kit, there are some use cases
that don't involve network at all.
2016-12-29 16:38:53 +01:00
Adrien Destugues
05d0fc8ec3 Fix more packages depending on libpng. 2016-12-29 11:48:28 +01:00
Murai Takashi
682adeb3aa IconButton.cpp: fix memory leak.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Ticket : #13127
2016-12-29 11:48:28 +01:00
Murai Takashi
b50d53dd19 NodePreloader.cpp: fix memory leak.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13115.
2016-12-29 11:48:28 +01:00
Automatic Committer
b4896fbf3b Update pci.ids from pciids.sourceforge.net 2016-12-29 05:20:14 +01:00
Axel Dörfler
2060602c78 Workspaces: Turn off wheel switch for replicant.
* It's turned off by default for the app, so I see no reason why the
  replicant should have it. It's annoying to use, as my touchpad
  obviously scrolls when moving the mouse while having a button pressed.
* A cleaner solution would be to read the settings once if there is no
  WorkspacesWindow, and use the setting from there instead.
2016-12-29 00:27:48 +01:00
Adrien Destugues
e8cfcb1f60 update netsurf, fontconfig, ffmpeg, cpctools
Should fix most dependencies to libpng (instead of libpng16).
2016-12-28 18:29:22 +01:00
Axel Dörfler
4068f2821a MediaPlayer: Make sure the window is on screen.
* The existing check in _ResizeWindow() was avoided when there
  is an initial frame to use (when launching with an audio file).
2016-12-28 17:43:19 +01:00
Axel Dörfler
707717e8be keystore_server: Use path as dummy checksum.
* Slighty better than nothing.
2016-12-28 17:41:04 +01:00
PulkoMandy
d249a6ae85 Update more packages from the buildbots. 2016-12-28 14:18:02 +01:00
Adrien Destugues
36928a386b Update BePDF to version 2.0.1~beta1
Many improvements over the 1.2 versions, this has been waiting outside
of the depot for way too long.
2016-12-28 11:26:08 +01:00
John Scipione
4cf48a7a44 App Server: Style fixes to DefaultWindowBehaviour
...take 2.

Replace 0.0f with 0 as per discussion on -commits
Break long line differently
Remove extra whitespace at the beginning of a line
2016-12-26 10:10:56 -08:00
PulkoMandy
6dc87739ba Update libssh2.
Should make mc installable again.
2016-12-26 18:27:39 +01:00
Rene Gollent
4ee47fe9e8 BListView: Cleanup, no functional change.
- Rename _FontChanged() to _UpdateItems() to more accurately reflect its
  purpose, as discussed on commits list. Adjust callers accordingly.
2016-12-25 16:16:43 -05:00
John Scipione
8f449285f2 App Server DefaultWindowBehaviour: style fixes only
Compare bitmasks against 0 explicitly
Replace integer constant 0 with floating point constant 0.0f

No logic reversals I promise
2016-12-24 19:01:47 -08:00
Adrien Destugues
0f83996ab0 Fix dependencies on libpng16.
The libpng16 package has no "libpng" anymore, only a "libpng16". Adjust
dependencies of Haiku and Haikuwebkit to this.
2016-12-24 18:18:33 +01:00
Jessica Hamilton
d2e18d6462 efi/video.cpp: style fix. 2016-12-23 18:58:26 +13:00
Jessica Hamilton
4419d699ec partitioning: pass along reference to parent when uninitializing.
* Fixes problems with setting the partition name after uninitializing
  a partition in DriveSetup. Previously, UninitializeJob() was
  followed by SetStringJob(), but the kernel was updating the
  change counter for the parent partition when uninitializing a
  partition, leading to SetStringJob() having an incorrect change
  counter for the parent partition. Now the parent change counter
  will be correct when SetStringJob() runs.
2016-12-23 18:53:15 +13:00
Jessica Hamilton
9ba5f87313 disk_systems: set filesystem name from partition name if exists.
* With GPT, partition entries store the name of the partition, so
  use the stored name to initialise the name for the file system
  when formatting.
2016-12-23 18:53:15 +13:00
Jessica Hamilton
e495a73b39 partitioning: set partition name in partition table if supported. 2016-12-23 18:53:15 +13:00
Jessica Hamilton
222c84407a gpt: return size of created strings in to_utf8/to_ucs2. 2016-12-23 18:53:15 +13:00
Murai Takashi
32624578b6 utility.cpp: Add encoding / decoding UTF-16LE. 2016-12-23 18:53:15 +13:00
PulkoMandy
95a4aac572 Update libxml2 and libpcre. 2016-12-22 20:17:36 +01:00
Automatic Committer
14eb2e8a14 Update pci.ids from pciids.sourceforge.net 2016-12-22 05:20:16 +01:00
Adrien Destugues
deb9517601 Update NetSurf to version 3.6 2016-12-21 22:35:49 +01:00
Alexander von Gluck IV
db1dfaf891 Revert "Add SoftwareUpdater to regular image"
This reverts commit 19d8d9fa39.
2016-12-21 13:16:26 -06:00
PulkoMandy
c9ee95694e More updated packages from the buildbots. 2016-12-21 07:21:54 +01:00
Rene Gollent
078b08e4ed BListView: Fix missing update for list items.
- According to the Be Book, one of BListItem::Update()'s responsibilities
  is updating the item's internal height/width. However, while we were
  providing such updates in the case of the item initially being added
  to the view, or when the list view's font was changed, we were not doing
  so on frame resize. This would lead to items having a stale width field
  in such a circumstance, leading to possibly incorrect behavior in apps
  relying on that field to be correct.
2016-12-20 22:33:26 -05:00
Jérôme Duval
a835815beb Sync x86_64 packages with Haikuports trunk.
bash_completion-2.3 is marked broken with "!any", which is now correctly
handled by haikuporter, thus implies a downgrade to the stable 2.1.
2016-12-20 21:49:46 +01:00
Humdinger
7b119fd1f5 Update package Sanity to v0.6 2016-12-20 16:38:31 +01:00
PulkoMandy
1d7f4f4d4d Update some packages from the buildbots
There are some delays in making the actual package repo generated by the
buildbot go live. Until then, I'm going to manually update the existing
repositories with the built packages, so people can start to experiment
with them and report any new issues.

There are more updates coming, but I'm doing them gradually so we can see
which set of packages triggers a regression, should one happen.
2016-12-19 21:12:05 +01:00
Jessica Hamilton
4ff3f10852 UEFI: improve setting up of the framebuffer.
* Even if we get dropped into the boot menu, we still want
  to have the framebuffer enabled, else we never switch
  back into graphics mode.
2016-12-19 20:18:31 +13:00
Humdinger
ebdee3ef35 Update BurnItNow package for gcc2hybrid 2016-12-18 19:20:00 +01:00
Dario Casalinuovo
51844723d3 MediaConnection: Remove redundant IsInput/IsOutput 2016-12-18 15:15:30 +01:00
Jérôme Duval
9969137ced fork(): Follow-up fix to 17b2a3cfc.
* Ingo rightly noticed that the defer_signals counter is reinitialized on
  thread's user area creation. Setting the flag THREAD_CREATION_FLAG_DEFER_SIGNALS
  indeed gives the expected behavior, deferring signals until undefer_signals() is
  called in the child thread. Thanks for the review and fix suggestion.
* Added a simple test showing the values of the defer_signals counter after fork().
2016-12-18 09:44:03 +01:00
Jessica Hamilton
941c240ab0 libroot/fork: fix gcc2 compilation. 2016-12-18 14:42:06 +13:00
Jessica Hamilton
80bc54a59a partitioning_systems/gpt: write the protective MBR & bootloader
* This fixes booting Haiku when creating a brand new GPT
  partition layout with the BIOS/MBR.
* This also fixes boot issues with UEFI based on OVMF, which
  rejects GPT partitions that don't have the protective MBR.
2016-12-18 14:42:05 +13:00
Jessica Hamilton
bad25b4baa disk_systems/gpt: Remove unused dependency on Header.cpp 2016-12-18 14:42:05 +13:00
Fredrik Holmqvist
9e487d8d74 UEFI: serial debugging support.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2016-12-18 14:41:54 +13:00