Commit Graph

50656 Commits

Author SHA1 Message Date
Ingo Weinhold
2fc2aebcba PackageWriterImpl: Move _Finish() impl to match order in header 2014-07-08 22:00:35 +02:00
Ingo Weinhold
f5a20d5ff1 package kit: PackageFileHeapReader::Init(): Sanity checks
Make sure the compressed/uncompressed heap size and the chunk size
table look plausible, so we can rely on the values later. Fixes
potential crashes for corrupt packages.
2014-07-08 22:00:35 +02:00
Augustin Cavalier
d229332a33 CIDs 1162783 & 1162784: out-of-bounds access & write in MSI.
* The number of IO vectors is not 256 on x86, but rather 224 as set by
  NUM_IO_VECTORS in "arch_int.h".
* Jessicah mentioned hearing about MSI crashes before, but that was a
  few weeks ago.
* These were the only CIDs in the MSI code.

Signed-off-by: Michael Lotz <mmlr@mlotz.ch>
2014-07-08 20:39:37 +02:00
John Scipione
819b454750 PS/2 bus manager: style fixes only 2014-07-07 17:38:55 -04:00
Colin Günther
7a28891db4 Media Kit: Add MP3 audio stream decoder test.
- This test currently fails and thus showing that there is something wrong in
  the Media Kit.
- This test was first developed and tested on Haiku R1 Alpha 4.1 where
  every thing was hacked together to make this test succeed, thus showing that
  the current Media Kit state of affair has some issues and not this test :)
- The test comes with documentation (@see mp3_decoder_test.cpp).

Signed-off-by: Colin Günther <coling@gmx.de>
2014-07-06 13:51:35 +00:00
Colin Günther
c5954368ed Media Kit: Add MPEG2 video stream decoder test.
- This test currently fails and thus showing that there is something wrong in
  the Media Kit.
- This test was first developed and tested on Haiku R1 Alpha 4.1 where
  every thing was hacked together to make this test succeed, thus showing that
  the current Media Kit state of affair has some issues and not this test :)
- The test comes with documentation (@see mpeg2_decoder.test.cpp).

Signed-off-by: Colin Günther <coling@gmx.de>
2014-07-06 13:51:31 +00:00
Augustin Cavalier
d71c5a1ebf #10717: Addressing issues brought up by Axel and Gerasim
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-07-06 14:02:12 +12:00
Augustin Cavalier
ba38276d19 Ensure partition block size is not 0.
* I tried having this test in KDiskDeviceManager.cpp, but it
   failed booting in one case and did not solve the problem in another.
   I think this is because there is an Open() call here, and that rereads
   the blocksize.
 * Tested and it solved the problem for me.
 * Should fix #10717 and #9489 at least.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-07-06 10:24:14 +12:00
François Revol
6c2a6f092c clipboard: Hopefully fix 64bit build
Untested
2014-07-04 14:39:03 +02:00
François Revol
9220bcf1f6 Add /bin/clipboard to the regular images
Seemed to have gone missing in action somehow.
2014-07-04 13:58:58 +02:00
Jérôme Duval
756ed316a7 gcc_bootstrap: bump revision. 2014-07-04 00:08:07 +02:00
Arvind S Raj
c2da73b90e Corrected version of gcc_bootstrap to match the version in HaikuPorts recipe.
* There was a version mismatch between HaikuPorts gcc_bootstrap recipe
  and build/jam/repositories/HaikuPortsCross/arm which prevented
  building @bootstrap-raw for ARM. Thanks Ingo for helping out!
* Ditto for ppc, x86, x86_64.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2014-07-03 22:26:02 +02:00
Oliver Tappe
c90d405154 Disable TLS support on x86_64 explicitly.
* Building gcc-4.8.3 on x86_64 with TLS support fails with an internal
  compiler error. Until that problem is fixed, don't use TLS on x86_64,
  which (due to libstdc++ compatibility) requires the same for the
  host cross compiler.
2014-07-03 19:43:24 +02:00
Oliver Tappe
6f32bafa70 Use a specific packager for continuous integration builds. 2014-07-03 18:12:07 +02:00
Oliver Tappe
5de87ca904 Copy haikuports/FormatVersions onto the bootstrap image.
* Without it, haikuporter will believe there's a version mismatch
  between itself and the haikuports tree.
2014-07-03 18:12:07 +02:00
Ingo Weinhold
b04949711d BUrl::IsValid(): Replace with a slightly better dummy impl 2014-07-03 17:39:59 +02:00
Ingo Weinhold
c666db88ef BZlibCompressionAlgorithm: Missing NULL check 2014-07-03 17:39:59 +02:00
Ingo Weinhold
a5330a8e41 Remove private support kit BUrl
Use the public BUrl from the network kit instead.
2014-07-03 17:39:59 +02:00
Ingo Weinhold
72f6b787cf BUrl: Add missing functionality from support kit BUrl 2014-07-03 17:39:59 +02:00
Ingo Weinhold
2573655b79 Revert "Revert "HttpRequest: support gzip and deflate compression.""
This reverts commit 256080b112.

With the following changes:
* Adjusted to the BZlibCompressionAlgorithm API.
* Add some error handling.
2014-07-03 17:39:58 +02:00
Ingo Weinhold
c99f294eb0 BNetBuffer: Restore semantics after DynamicBuffer -> BDataIO 2014-07-03 17:39:58 +02:00
Ingo Weinhold
25d34313d0 DynamicBuffer::Read(): Small optimization (skip 0 case) 2014-07-03 17:39:58 +02:00
Ingo Weinhold
6926863e37 DynamicBuffer::Write(): Fix return type and semantics 2014-07-03 17:39:58 +02:00
Ingo Weinhold
7616c39db6 DynamicBuffer: dos2unix 2014-07-03 17:39:57 +02:00
Ingo Weinhold
739f15e144 Revert "Revert "DynamicBuffer: implement BDataIO""
This reverts commit 747b401e87.
2014-07-03 17:39:57 +02:00
Adrien Destugues
4260c14601 Release HaikuWebkit 1.4.1. 2014-07-03 11:10:23 +02:00
Adrien Destugues
9f9912d919 Update Sum-It package to a much smaller version built in release mode. 2014-07-03 08:19:19 +02:00
Augustin Cavalier
c441188551 Update Qt, Quassel, and QupZilla packages.
* Additionally, rename Qt from qt4 to libqt4.
* [zooey]: Corrected sorting order.

Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
2014-07-02 20:23:11 +02:00
Augustin Cavalier
6a6d640619 Remove duplicate "libpaper" entry.
Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
2014-07-02 20:23:11 +02:00
John Scipione
ba88ee2be4 Allow ol's to show numbers 2014-07-02 11:11:57 -04:00
John Scipione
425871d3af Update BWindow::Zoom() docs 2014-07-02 11:09:31 -04:00
Adrien Destugues
c1986edd36 Make Web+ use C++11.
* This is now required by HaikuWebKit headers.
* Should fix the x86_64 build.
2014-07-02 08:16:21 +02:00
Adrien Destugues
9522c1e4f2 Add unbootstrap, a script to remove _bootstrap from packages.
This needs to be run under haiku as it uses the package tool. It can be
used to remove the _bootstrap tagging from bootstrap packages and then
upload them to the repos as normal packages. The goal is to make
non-bootstrap builds work even for archs where the bootstrap isn't
working yet.

Packages built that way should be replaced as soon as better ones are
obtained by the proper bootstrapping process.
2014-07-02 08:16:20 +02:00
François Revol
7670cd86b4 Add WIP VirtualBox Guest Additions package
For now only clipboard sharing is supported. Run VBoxTray to activate it.

My first uploaded package :)
2014-07-02 00:10:26 +02:00
Ingo Weinhold
5c8bfe24ea compression_test: Add option for gzip format 2014-07-01 21:54:58 +02:00
Ingo Weinhold
72cf56a0fd BZlibCompressionAlgorithm: Basic support for gzip format 2014-07-01 21:54:58 +02:00
Adrien Destugues
3b19a78137 Update HaikuWebkit to 1.4.0 for x86_64
There are some known issues with this version (1.4.1 will follow soon), but at least it fixes the build.
2014-07-01 21:12:48 +00:00
Adrien Destugues
14d1df6644 Add gyp and python_setuptools packages.
Requested by Waddlesplash.
2014-07-01 16:45:24 +02:00
Oliver Tappe
8f49820300 Update python on x86_gcc2 to 2.6.9.
* This allows python_twisted to be installed on x86_gcc2, as it requires
  python >= 2.6.9.
2014-07-01 00:54:30 +02:00
John Scipione
844df0d7a4 ProcessController: Fix CID 701784
Unchecked return value  (CHECKED_RETURN)

If get_team_usage_info() fails set the times to 0.

Also remove unused get_team_info() call.
2014-06-30 17:23:41 -04:00
John Scipione
37add6e474 ProcessController: Check if pointers are NULL 2014-06-30 17:23:40 -04:00
John Scipione
98ec4e9467 ProcessController: style fixes to TeamBarMenuItem 2014-06-30 17:23:38 -04:00
Ingo Weinhold
b3263ad3e1 Switch package kit to BZlibCompressionAlgorithm
... and remove the Zlib{Compressor,Decompressor} API.
2014-06-30 21:55:41 +02:00
Ingo Weinhold
377ecc1e55 Test program for the B[Zlib]CompressionAlgorithm functionality 2014-06-30 21:55:41 +02:00
Ingo Weinhold
dcdc33b0af Add B[Zlib]CompressionAlgorithm
* BCompressionAlgorithm is a base class for classes that provide
  compression/decompression functionality. There are methods for
  compressing/decompressing a single buffer and factory methods for
  a compressing/decompressing input/output BDataIO.
* BZlibCompressionAlgorithm is a BCompressionAlgorithm implementation
  using zlib.
2014-06-30 21:55:41 +02:00
Ingo Weinhold
6a89a36aa0 Move package kit Zlib* classes to support kit
Also move to B* namespace and no longer expose the zlib dependency in
the headers.
2014-06-30 21:55:41 +02:00
Ingo Weinhold
b773d89eba BDataIO: Add Flush() 2014-06-30 21:55:40 +02:00
Ingo Weinhold
60ccc119b0 packagefs: CachedDataReader: Don't implement ReadData()
It's already done the same way in the base class.
2014-06-30 21:51:17 +02:00
Ingo Weinhold
0dab9e5cb4 package kit: ReaderImplBase: Remove superfluous scratch buffer 2014-06-30 21:51:16 +02:00
Ingo Weinhold
0a62e01902 PackageWriterImpl: Remove superfluous method 2014-06-30 21:51:16 +02:00