Commit Graph

50964 Commits

Author SHA1 Message Date
François Revol
40dc5eb53e Change the marble to a coin on the ARAnyM icon
- makes it look like a coin like the original icon with a
recessed part,
- cleanup,
- add a bee shadow.
2014-08-07 11:23:29 +02:00
Adrien Destugues
fd8d809fa1 Style fix. 2014-08-07 10:33:23 +02:00
Adrien Destugues
6289332b7b Remove device ID known not to work.
Does not fix #10606. Let's at least leave VESA working for owners of
this card.
2014-08-07 09:34:37 +02:00
Adrien Destugues
9cd25f4c05 Build fix. 2014-08-07 09:06:29 +02:00
Adrien Destugues
15f61ef94c CID992461: Memory leak
Fixes #10362.
2014-08-07 08:48:29 +02:00
Puck Meerburg
5c2781ea61 Fix Coverity bug 992388: Missing break in switch
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #10342
2014-08-07 08:35:19 +02:00
Adrien Destugues
2afa6a58e1 Style and 80-column fixes. 2014-08-07 08:12:58 +02:00
Jessica Hamilton
4b0b03de1d Add BeCJK input method to HaikuPorts repository. 2014-08-07 17:28:43 +00:00
François Revol
f1d963a418 Offset the bee in ARAnyM icon so it's not blurry at 32x32 2014-08-07 02:16:34 +02:00
François Revol
3d21494d80 Add an icon for ARAnyM 2014-08-07 02:10:51 +02:00
François Revol
0dd565ee64 Harddisk icon variations with "Be" and Zeta logos
So many partitions around and they all looked the same...
2014-08-07 01:35:27 +02:00
Jessica Hamilton
297f6f3d28 Add canna input method to HaikuPorts repository 2014-08-07 10:00:47 +00:00
Oliver Tappe
63cc55477c Fix #11101: Broken Haiku repository creation.
* Invoking jam from Haiku's checkout directory (instead of the output
  directory) caused the repository creation to fail because of relative
  paths to package files being used. Now we make sure that HAIKU_TOP
  is an absolute path to avoid problems like these.
2014-08-06 23:49:00 +02:00
Akshay Jaggi
b1c9a1a31d Fix Short Packet EHCI Transfers
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #10867.
2014-08-06 22:19:31 +02:00
Colin Günther
6063c02ef9 FFMPEG Plugin: Fix bug and refactor input buffer padding.
- Fixes a bug using realloc with a memory area that is declared const which
  lead to a crash in MediaPlayer playing big_buck_bunny_720p_stereo.ogg.
- The refactoring introduces a strict separation between const memory areas
  (chunk data read from GetNextChunk()) and mutable memory areas
  (fVideoChunkBuffer) by using a copy operation instead of a casted
  assignment operation.
- Updated documentation accordingly.
- Besides fixing the bug, there is no functional change intended.
2014-08-06 14:28:40 +02:00
Colin Günther
6defcb6c6d FFMPEG Plugin: Refactor out loading next video chunk.
- Main reason for refactoring was to increase readability of
  _DecodeNextVideoFrame() by simplifying it. Refactoring was tested
  successfully for no functional change with mpeg2_decoder_test.
- Reindented the method definition in the header file so that the new method
  _LoadNextVideoChunkIfNeededAndUpdateStartTime() fits into 80 chars per line.
  Reindentdation is applied to methods only as the member variables have no
  space left for reindentation.
- Update documentation accordingly.
- Fix wording of audio part to audio path.
- No functional change intended.
2014-08-06 14:28:39 +02:00
Colin Günther
2d83b8419c FFMPEG Plugin: Implement video input buffer padding.
- Padding is required by FFMPEG for correct operation of all video decoders.
  FFMPEG performs some speed optimizations under the hood that may lead to
  reading over the end of the chunk buffer wouldn't there have been padding
  applied.
- Note: Padding is required for audio decoders, too. I will tackle this in some
  later commits. For the time being we have a degradation in code reuse, due to
  different memory ownership of chunk buffers in audio and video decoder path.
  Audio path must not care about freeing chunk buffers whereas video path must.
- Fix coding style and some typos.
- Update documentation accordingly.
2014-08-06 14:28:37 +02:00
François Revol
cb721c5963 Add a nasm test for ELF generation
We should probably only test this when targetting x86 arch...
2014-08-06 01:05:50 +02:00
Alexander von Gluck IV
14ed9dd5fc x86: Update tar package in repo to 1.27.1-2
* Tested functional
2014-08-05 18:23:55 +00:00
Adrien Destugues
47f04acb74 Hide the bookmark bar when there is no matching folder.
* Defaulting to the complete bookmark list doesn't make much sense
* Don't crash when not showing the bar
* Some style fixes.
2014-08-05 11:14:21 +02:00
Jérôme Duval
4dc5ce8fd8 mknod[at](): moves from unistd.h to sys/stat.h
* this solves #10883.
2014-08-04 19:03:08 +02:00
Colin Günther
a335ec823a FFMPEG Plugin: Implement flushing of video frames from decoder.
- Video frames still contained in the video decoder are now flushed when there
  are no encoded data chunks left (signaled by B_LAST_BUFFER_ERROR).
- New code was successfully tested with mpeg2_decoder_test. The last test image
  is now decoded, too, resulting in a bump of the expected number of decoded
  images.
- Refactor code to support flushing -and- keep the readability at a sane level.
- Remove some uncommented code for the sake of readability.
- Documentation updated accordingly.
2014-08-04 18:38:16 +02:00
Adrien Destugues
09785ce274 smpeg: update to a version with a working libstdc++ dependency.
Stop-gap solution to make smpeg installable until the separate libstdc++
package is available. Then it will hopefully have a reliable "compat"
version we can depend on.
2014-08-04 17:49:01 +02:00
Adrien Destugues
f0fbad6aa1 Add tests for data URIs. 2014-08-04 16:56:38 +02:00
Adrien Destugues
417351fceb HttpTest: use BReferenceable APIs for the BUrlContext. 2014-08-04 16:55:19 +02:00
Adrien Destugues
7bc2acc216 UrlRequest: fix race condition
* The thread could set fRunning to false before the caller had set it to
true, leading to a stalled request.
* Happened easily when testing "data" requests, which are fast since no
I/O is involved.
* Possibly also helps with stalled redirects on Google search I've been
seeing for some time.
2014-08-04 16:54:54 +02:00
Adrien Destugues
a4e5af66f1 Make URL decoding even more solid.
* Thanks to korli for pointing remaining issues.
2014-08-04 16:52:40 +02:00
Adrien Destugues
781c9f2a8f Data URIs: don't decodewith invalid length.. 2014-08-04 16:51:49 +02:00
Adrien Destugues
89b4e98a8f Move signal hack to BNetworkRequest
* This is used to unlock sockets when a read is pending after a close
* It is not needed on requests that don't use a socket.
2014-08-04 16:25:48 +02:00
Adrien Destugues
2f9b187497 Factor out a BNetworkRequest
* Shares common behavior between the Gopher and HTTP request handlers.
* Most of this can be used when implemeting other protocols.
2014-08-04 15:59:53 +02:00
Adrien Destugues
fedec7b31f Bookmark bar uses "Bookmark bar" subfolder
* Allows having a lot of bookmarks in the menu, and only the most often
used ones in the bar.
* If the "Bookmark bar" folder doesn't exist, the old behavior (using
the main Bookmarks folder for the bar as well as the menu) is used.
* If none of these exists, the bookmark bar will not be available (just
like the bookmark menu)

Fixes #11092.

We may want to update the default set of bookmark to include some links
in the bar.
2014-08-04 14:59:30 +02:00
Adrien Destugues
bcd6a67bc0 Don't advertise deflate compression support.
There is some misunderstanding on what the "deflate" is, and we can't
reliably decode it in all cases. So, don't advertise support for it and
let servers use gzip (or no compression) instead.

Fixes #11093
2014-08-04 14:32:06 +02:00
Colin Günther
6a18ef8358 MediaKit: Remove superflous code in mpeg2_decoder_test.
- Thanks to automatic video decoding parameter detection, we no longer need to
  manually hack the correct parameters for this test to succeed, jiha!
2014-08-04 12:25:27 +02:00
Colin Günther
62320bdea2 FFMPEG Plugin: Automatic detection of video decoding parameters.
- Kudos to Marcus Overhagen for laying out the general idea of automatic
  detection by sharing some of his dvb code examples with me.
- Simplify pixel format search code by removing the loop and let FFMPEG
  decide what pixel format to use based on the actual video data.
- Automatically detect the video frame rate based on the actual video data.
- Remove fOutputVideoFormat to avoid synchronizing values in two distinct
  places. The member variable fHeader is the main place for important decoder
  parameters now.
- Introduce fOutputColorSpace containing the color space that was previously
  tracked in the fOutputVideoFormat member variable.
- Update the documentation accordingly.
2014-08-04 12:25:26 +02:00
Colin Günther
160f00bca8 FFMPEG Plugin: Implement video frame rate calculation for decoder.
- The frame rate calculation is purely based on AVCodecContext fields. This way
  the frame rate can be calculated by the FFMPEG decoder based on the actual
  video data. This is useful for automatically detection of the correct
  decoding parameters (not implemented yet but scheduled for a later commit).
- Not used anywhere yet (scheduled for a later commit).
- Also some minor documentation updates.
2014-08-04 12:25:25 +02:00
Colin Günther
60909c1e19 FFMPEG Plugin: Implement and use calculation of bytes per row. 2014-08-04 12:25:23 +02:00
Colin Günther
4f4d98911a FFMPEG Plugin: Extract video aspect ratio calculation code.
- Also make use of the extracted code in the AVCodecDecoder class.
- Enhance some documentation and fix some coding style violations.
- No functional change intended.
2014-08-04 12:25:22 +02:00
François Revol
05f06a9065 Update this script to match pkgman behaviour
We don't need to move away older packages anymore.

Probably not useful either to stop Deskbar,
but let's just keep that for now.
2014-08-04 00:21:58 +02:00
Jérôme Duval
92d556084c USB_massbulk.h: use a proper naming for a public header. 2014-08-03 18:39:35 +02:00
Jérôme Duval
d9ecf5f373 usb_disk: extract specs into a public header. 2014-08-03 18:10:51 +02:00
Colin Günther
22ea661b82 MediaKit: Extend media_[audio|video]_header structures.
- This allows a BMediaDecoder (e.g. FFMPEG Plugin) to communicate back format
  changes to its clients.
  For a more thorough explanation and discussion see haiku-development mailing
  list: http://www.freelists.org/post/haiku-development/Request-for-protest-Media-Kit-Extend-media-header-struct

- Backwards compatibility is taken into account and preserved by reducing the
  relevant _reserved[] fields.

- Code changes that will actually make use of these extensions are due for the
  following commits. As these structure extensions affect several Haiku
  components (e.g. media_server, MediaPlayer, etc.) and third party apps (e.g.
  StampTV, etc.) I refrain from committing them in one batch with this commit.
  This should make it easier to track down bugs originating in this code
  change.
(cherry picked from commit 806b6888d2dcf84b4934f8f137a48d3381864d1c)
2014-08-03 00:45:58 +02:00
François Revol
ea0457cd02 Add musicpc package 2014-08-02 13:33:00 +02:00
Philippe Saint-Pierre
478d9536a6 Icon outline setting was ignored if no background image found
Might have been the cause behind #10019.
2014-08-01 18:09:30 -04:00
François Revol
1336892c8b Update yab_ide package 2014-08-01 22:40:08 +02:00
Adrien Destugues
7435d82fb3 Update to the fixed (again) curl package. 2014-08-01 17:53:37 +02:00
Adrien Destugues
f0245dc225 Replace broken curl and ca_root_certificates
* Remove unneeded path mashup in curl to find the ca_root_certificates
and use the file in .self/data/ssl. This makes it possible to rename the
package providing ca_root_certificates without everything exploding.
* Use a certificate file in the format cURL expects, not Mozilla source
file in NSS format.
2014-08-01 09:38:29 +02:00
Adrien Destugues
6bd0ac9489 Data URLs: parse the whole URL, not just the path.
The RFC for Data URLs specifies a nonstandard format, and because of
this it doesn't support queries and fragments. This allows the use of
the # and ? characters in the URL data. We didn't handle this properly,
which would lead to truncated data.
2014-08-01 09:38:28 +02:00
Adrien Destugues
eec762686b Safer URL decoding.
Some URLs may use the % character for other purposes than URL-encoding
(this is seen in some data URLs). Make sure we parse that properly, and
avoid a possible out of bounds access if the percent char is near the
end of the string.
2014-08-01 09:38:26 +02:00
François Revol
dcef881fe6 First try at an icon for Music Player Daemon
Actually a scaled copy-paste of App_MediaPlayer, Misc_Speaker
and App_TV_2 with a few tweaks.
2014-07-31 23:04:56 +02:00
François Revol
228df78b0e Update Boost packages to fix the _devel PROVIDES
I'm not building this again in a 1vcpu VM with not enough
disk space :-D
2014-07-31 17:35:01 +02:00