Commit Graph

51189 Commits

Author SHA1 Message Date
Colin Günther
3bca609810 FFMPEG Plugin: Rename some variables in audio path.
- Make the difference between fDecodedData and fDecodedDataBuffer more clear.

- No functional change intended.
2014-08-21 00:47:02 +02:00
Colin Günther
85371234ea FFMPEG Plugin: Refactor audio decoding method into two.
- First method is solely responsible to fill the audio output buffer with
  already decoded audio frames.
  Second method is solely responsible for decoding the encoded audio data and
  put it in the decoded audio output buffer for further processing with the
  first method.
  This prepares auto detection of audio frame properties for audio formats
  where the properties are contained within the encoded audio frame (e.g. MP3),
  instead within the audio container format (e.g. WMA). Implementing auto
  detection is scheduled for a later commit though.

- Added documentation accordingly.

- No functional change intended.
2014-08-21 00:46:58 +02:00
Colin Günther
54b392b4cc FFMPEG Plugin: Some cleanups.
- Use name that correctly reflects the return value of avcodec_decode_video2().
- Make DO_PROFILING code path of AVCodecDecoder compile again.
- No functional change intended.
2014-08-21 00:46:54 +02:00
Adrien Destugues
37bea90971 Translate arrow keys to VT100 escape sequences
* I think this is what everyone expects.
2014-08-20 23:03:50 +02:00
Adrien Destugues
ec17ebde08 UHCI: Enable short packet detection for all transfers.
As suggested by akshay, there is no reason to do this only for control
transfers. All input transfers can have short packets and we want to
detect those and trigger the "end of transfer" code when a short packet
happens.

Fixes #11087.
2014-08-20 22:05:59 +02:00
Jérôme Duval
a59d618257 Add tinyxml packages 2014-08-20 21:43:08 +02:00
Jérôme Duval
ba38feb929 Add glew packages 2014-08-20 21:40:29 +02:00
Colin Günther
ddde2c69c3 TV app: Use bilinear filtering.
- This makes the video output looks more visual appealing. Without bilinear
  filtering you would see aliasing artifacts all over the place. Now it looks
  more harmonic.
2014-08-20 12:23:03 +02:00
Colin Günther
740ede8c95 dvb.media_addon: Let C++ use C99 math features.
- This get rids of the complain "'UINT64_C' was not declared in this scope" and
  allows us to remove the (now superflous) declaration of UINT64_C.
- No functional change intended.
2014-08-20 12:23:02 +02:00
Colin Günther
75bd62e868 FFMPEG Plugin: Fix playing video files.
- This should fix the bug where video files that played well before the recent
  changes to the FFMPEG Plugin didn't play anymore. Now we apply the essential
  video container properties (that were passed by with Setup()) to the
  AVCodecContext. Some video formats simply store those properties in the
  container only (e.g. AVI, WMV) and not in the video frames itself
  (e.g. MPEG2).
  Tested with several files from samples.ffmpeg.org and from the FATE suite of
  FFMPEG.
2014-08-20 11:14:47 +02:00
François Revol
d78faaaf70 pc_serial: replace contiguous area by arrays as buffers
We don't need to DMA unlike usb_serial.
2014-08-20 02:40:09 +02:00
François Revol
5925b1badc pc_serial: Remove read and write lock
As with hrev42089 for usb_serial.
2014-08-20 00:20:57 +02:00
Jérôme Duval
0bdabc362b openssl: security update
Fix for CVE-2014-3510
Fix for CVE-2014-3507
Fix for CVE-2014-3506
Fix for CVE-2014-3505
Fix for CVE-2014-3509
Fix for CVE-2014-3508
2014-08-20 00:04:14 +02:00
Alexander von Gluck IV
febaef90ec screen_info: Create BApplication to use BScreen
* BScreen uses AppServerLink, thanks PulkoMandy!
2014-08-19 13:28:54 -04:00
Alexander von Gluck IV
be84a96144 bin: Add screen_info command
* Provides basic information on attached BScreen's
* Only shows B_MAIN_SCREEN_ID at the moment as that's
  all we have available.
2014-08-19 12:50:39 -04:00
Alexander von Gluck IV
ea28139d84 docs: Update opengl readme info 2014-08-19 10:39:23 -04:00
Alexander von Gluck IV
4662c8c0a9 docs: opengl. Add some great documentation provided by Roudolf.
* Posted to the haiku-appserver ML, circa 2005.
* Covers a lot of intended uses of Be's accelerant API's in
  depth and compares them to moden cards
2014-08-19 10:28:53 -04:00
Adrien Destugues
f66aa8595c Enable C++11 for all ARM targets, not just beagle.
* Also clean up the flags definitions in the beagle target to avoid
repeating the flags 3 times.
2014-08-18 09:00:50 +02:00
Arvind S Raj
7a402b996e Reimplemented atomic_get_and_set in C++.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

* C++ code written by pdziepak.
2014-08-18 08:45:40 +02:00
Oliver Tappe
e81d40a7c8 Fix debug build.
* Restore missing definitions of std::nothrow and mynothrow that are
  required for the debug build.
* Additionally, cleanup function overrides provided by kernel_cpp,
  such that any exceptions in kernel, bootloader or runtime_loader will 
  trigger a panic.
2014-08-17 20:24:02 +02:00
Ithamar R. Adema
21af7e541f ARM: remove all references to sfdisk
sfdisk is no longer used by the ARM build, since we can handle
everything with mtools (using mpartition instead of sfdisk).
2014-08-17 14:34:25 +02:00
François Revol
ab325d984f pc_serial: Drop BeOS stuff
Even I don't use it anymore...
2014-08-17 01:47:00 +02:00
François Revol
2ab4db4781 pc_serial: Use two tty cookies 2014-08-17 01:46:53 +02:00
François Revol
c8b6d087f3 pc_serial: This one really is B31250 2014-08-17 00:41:12 +02:00
François Revol
8e03cf4b31 pc_serial: Fix TTYSETRTS
Same fix as hrev42151 for usb_serial:
When determining the bit to be set for RTS/DTR there was a missing comparison
to op which would've caused a wrong line state to be set.
2014-08-17 00:20:55 +02:00
François Revol
13b28a29b8 Add mpd package 2014-08-16 01:43:45 +02:00
François Revol
f0f22a195e Add taglib x86 packages 2014-08-16 01:03:10 +02:00
Oliver Tappe
60fbc937cb Update gcc4 packages to fix c++ headers.
This fixes libstdc++-related crashes introduced when switching to
gcc-syslibs.
2014-08-15 20:13:14 +02:00
Oliver Tappe
49438babd5 Rename repository with Haiku packages to 'Haiku'.
Thanks to Augustin for the hint.
2014-08-15 20:12:28 +02:00
François Revol
529af6e138 fluidsynth: Update package with fixed PROVIDES 2014-08-15 18:53:23 +02:00
François Revol
fa6ae8076a Add faad2 packages 2014-08-15 17:36:22 +02:00
François Revol
6c881c9125 Add fluidsynth packages 2014-08-15 17:01:13 +02:00
François Revol
b0725b38f8 Add libsndfile packages 2014-08-15 15:46:32 +02:00
François Revol
9526c2143f Add an icon for Time And Relative Dimentions In Space
(TARDIS)

Just in case someone ever plugs one to his Haiku laptop :D
2014-08-15 01:38:55 +02:00
Oliver Tappe
735ec4d986 Fix LocaleRosterData::CompareInfos.
* The given void pointers are pointers to the actual list items, which
  are pointers themselves, so there was an indirection missing
* Fix inverted sort order

This could have caused spurious crashes related to initialization of
the locale kit, most notably this was responsible for triggering a
crashing bug in the plaintext add-on that caused the x86 image
not being able to boot.
I will continue with trying to find the actual crash, too.
2014-08-14 17:28:15 +02:00
François Revol
8cb3428017 Add patchset as extension for text/x-patch
We don't have a separate type for them anyway.
2014-08-14 16:33:53 +02:00
François Revol
603f753a8d Add the kawoosh icon to RemoteDesktop
TODO: change it for one of the simpler and less connoted version
before the release.

(but yesterday's vote on IRC was highly in favor of this one :P)
2014-08-14 16:11:40 +02:00
François Revol
ee1c8dbda7 Don't show stem and leaves at 16x16 2014-08-14 15:54:36 +02:00
François Revol
4e4caf5906 Add stem and leaves to the Heidi icon 2014-08-14 15:50:34 +02:00
François Revol
5c25f8e561 Name objects in Heidi icon
Hopefully those are the correct botanical names.
2014-08-14 15:36:04 +02:00
Adrien Destugues
a1d09c7936 make PreviewView smaller.
The 160x120 preview size is a bad choice, because it makes XRoger crash
in an infinite recursion when trying to draw bezier arcs with custom
code (instead of using the BeAPI for that).

Use 120x90, just like BeOS, to maximise compatibility and avoid such
problems.

Fixes #10601.
2014-08-14 14:12:09 +02:00
Adrien Destugues
9bac05ae6c Make the "no preview" screen work in all cases
* HideNoPreview() was never called...
* Use a BCardLayout to make it easier to know which of the two screens
is shown.
2014-08-14 12:38:48 +02:00
Adrien Destugues
613468813b Convert PreviewView to layout kit
* Use a BGroupLayout with insets to make space for the monitor drawing
* Don't put the "no preview available" inside the view passed to
screensavers, this could confuse them
* Have the actual preview area (not including borders) be 160x120
2014-08-14 11:54:06 +02:00
Adrien Destugues
c8bd18f21f Make ScreenSaver preferences work again.
This reverts 0fb019bbf2. Making the window
a BDirectWindow isn't a good idea, especially if you want things other
than a direct rendering view in it. Moreover, this is completely
unneeded as GL works just as well in non-direct mode.
2014-08-14 11:41:21 +02:00
Adrien Destugues
1333f5f77b Fix GL screensavers in non-direct mode.
DirectDraw is called only in direct drawing mode (BDirectWindow). Our GL
kit also works fine (but slower) in indirect mode (standard BWindow, GL
stuff rendered offscreen then blitted). However, for this to work we
need the screensavers to actually do something. Use the
BScreenSaver::Draw method, which is called in either case.

This makes it possible to use indirect mode for the preview of GL
screensavers. The performance isn't really a problem on the very small
preview (160x200 pixels).

Fixes GLife and Gravity. Flurry still crashes Mesa.
2014-08-14 11:37:07 +02:00
Rene Gollent
36f126fd5a Debugger: Fix #11088.
- When walking through and querying volumes for a missing source file,
  store the error and report it back in the completion message rather
  than exiting the query worker. Otherwise, if something went wrong
  with the queries, it'd potentially occur that we'd never prompt the
  user to locate the file, as the UI would never be notified that
  the background work was complete.
2014-08-13 22:15:43 -04:00
François Revol
80835cb079 Add an icon for Heidi (unfinished)
Hopefully it'll be useful
2014-08-14 01:01:55 +02:00
François Revol
57e1c849e3 Rename the kawoosh RemoteDesktop icon
Indeed, we did.
2014-08-14 00:56:41 +02:00
François Revol
e434249ebb Add an icon for device files 2014-08-13 23:38:51 +02:00
François Revol
2213b9acc7 Add an icon for pipe files (But where's Mario?) 2014-08-13 23:26:29 +02:00