50809 Commits

Author SHA1 Message Date
Adrien Destugues
807bd20a8f Allocate the default UrlContext as a BReferenceable
BUrlContext now inherits BReferenceable to make it easier to handle the
context lifespan. Make the default context an always-retained reference
to match this.

No functional change in normal conditions, however this avoids an assert
when BReferenceable is built in debug mode.
hrev47548
2014-07-22 17:27:50 +02:00
Jessica Hamilton
1a6ec00140 Re-enable TLS on x86_64 when cross-building.
Building gcc on x86_64 with TLS enabled has been fixed,
so this is to keep cross-builds and native builds in
sync.
hrev47547
2014-07-22 21:26:57 +12:00
Jessica Hamilton
3858b44850 Updated gcc & webkit packages for x86_64 with native TLS enabled. hrev47546 2014-07-22 07:57:11 +00:00
Arvind S Raj
6d345e6c9d Fixed hrev47542 changeset to become sh compatible.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
hrev47545
2014-07-22 14:45:19 +12:00
Augustin Cavalier
250e35c3bb HaikuPorts/x86_gcc2: add some native Haiku apps. hrev47544 2014-07-21 22:04:01 +02:00
Adrien Destugues
6a13b12a9b Write all HTTP headers to the socket in one go.
We don't have support for TCP_CORK, which would let the kernel handle
this, so this resulted in lots of very small packets being sent over the
network. Besides the performance issues, this confused aliceadsl.fr HTTP
server and prevented logging in to their website.

Fixes #10556.
hrev47543
2014-07-21 17:26:15 +02:00
Arvind S Raj
d1e057eefb Disable building gcc with TLS support since ARM build fails due to undefined references hrev47542 2014-07-22 02:03:32 +12:00
Jessica Hamilton
de21d557b7 No source package for gcc this time around (don't have the bandwidth). hrev47541 2014-07-21 22:46:20 +00:00
Jessica Hamilton
ad6f63ad7a Updated haikuwebkit-1.4.1 for x86 2014-07-21 22:33:27 +00:00
Jessica Hamilton
9808b33d28 Updated gcc package for x86, with proper TLS support enabled. 2014-07-21 21:52:26 +00:00
Jessica Hamilton
dc2f4e9a2f find_directory.cpp: improve #ifdef macros with comments 2014-07-21 21:52:23 +00:00
Adrien Destugues
9f7d29b05e Fix two problems with chunked gzipped HTTP replies.
* receiveEnd is set in a different place in case of chunked transfers,
which would cause the decompressor to never be flushed.
* In the case of chunked transfers, we call Flush() without any input
data (to flush only whatever is remaining in the decompression buffer).
This causes ZLib to return Z_BUF_ERROR which is translated to
B_BUFFER_OVERFLOW. This is a non-fatal error and is expected behavior in
that case. Don't handle this as an error, and do use the extracted data.

Fixes various cases of missing the last chunk of a page (pastie.org,
Google search results, and more).
hrev47540
2014-07-21 11:49:42 +02:00
Adrien Destugues
7cd7f2fbf3 Remove test that can't work.
I didn't mean to commit this. Sorry again.
hrev47539
2014-07-21 10:21:32 +02:00
Adrien Destugues
ba0b0f2319 Sorry, I didn't mean to commit this. hrev47538 2014-07-21 09:41:00 +02:00
Adrien Destugues
043178a063 Add WizzNic
* Update sdl_image_x86 to a version that can load PNG files
* Update giflib_x86 to match what's required by the new SDL_image
package
hrev47537
2014-07-21 09:34:52 +02:00
Adrien Destugues
fe8ce79e16 Update Web+ bookmark for nightly images
Moved from haiku-files to download.haiku-os.org.
Thanks to bbjimmy for reporting!
2014-07-21 08:11:15 +02:00
François Revol
449f7f5a7b Some more packages
- libao updated
- libid3tag (for MPD)
- pciutils (for flashrom)
- links
hrev47536
2014-07-21 01:20:27 +02:00
Jessica Hamilton
ea7e2601d4 runtime_loader: only add ABI directories to system library paths
It only makes sense to add the ABI directories to library paths
created by Haiku itself. E.g. on a gcc2h build, appending x86.

This also fixes build issues where LIBRARY_PATH is amended, and
the target binaries and libraries are in different locations.

Note: the develop lib directories were excluded, as runtime_loader
shouldn't be looking at these in the first place.
hrev47535
2014-07-21 11:12:11 +12:00
François Revol
ddf5c1d73f Add some newly built packages...
- acr (needed by mpd)
- dos2unix
- getconf (used by valgrind)
 (also used by autoconf to determine ARG_MAX faster than try-and-error)
- getopt (needed by acr)
- html_parser (used by netsurf for its git manifest)
- readline_x86
- srm
hrev47534
2014-07-20 23:21:30 +02:00
François Revol
0754c31959 Add a simple script to identify where packages come from
There is probably a simpler way, but it helps finding
which packages were installed manually.
hrev47533
2014-07-20 22:15:25 +02:00
Jonathan Schleifer
e0650f25c3 Build libsupc++-kernel without TLS hrev47532 2014-07-20 20:32:34 +02:00
François Revol
9794408527 Add qemacs package hrev47531 2014-07-20 01:58:49 +02:00
François Revol
d3a9193fe7 Add package for dmidecode hrev47530 2014-07-20 01:49:36 +02:00
François Revol
9584f0edd4 Add simh package hrev47529 2014-07-20 01:20:10 +02:00
François Revol
92a0f9b8ce Add a naive icon for QEmacs hrev47528 2014-07-19 23:52:58 +02:00
François Revol
57b86c9c7e Partially revert 55c4772c6a63b95a0a6e0321a8eeef22e278204e
It seems curl doesn't like the new ca_root_certificates package.
This breaks git clone and probably other things.
Maybe it has to do with the version string.

Since I can't seem to build a replacement curl, I'm reverting to the previous
ca_root_certificates so at least next nightly still works.
hrev47527
2014-07-19 19:40:28 +02:00
Augustin Cavalier
55c4772c6a HaikuPorts-x86_gcc2: add KDE's dependencies. hrev47526 2014-07-19 15:34:00 +02:00
autonielx
be4e542dc3 Update translations from Pootle hrev47525 2014-07-19 06:17:58 +02:00
François Revol
8d127fd854 Add a package for ocp (Open Cubic Player) hrev47524 2014-07-19 03:05:28 +00:00
François Revol
7d869803ce Update gettext packages
This fixes the PROVIDES for x86 and other stuff that
were changed before bumping the revision.
hrev47523
2014-07-19 01:47:46 +02:00
John Scipione
b8bcb08800 Tracker: Fix integer overflow
CID1108329
hrev47522
2014-07-18 17:58:12 -04:00
John Scipione
1e228168ec Tracker: Initialize view and low colors
CID610137 and CID610138
2014-07-18 17:58:11 -04:00
John Scipione
190fda60a6 Tracker: Check that LockLooper() succeeds
CID602486
2014-07-18 17:58:09 -04:00
John Scipione
a892df239f Tracker: Fix several unchecked return values
CID611191, CID611192, CID611193
2014-07-18 17:58:07 -04:00
John Scipione
5969c5d779 Tracker: Fix use after free
CID510586
2014-07-18 17:58:05 -04:00
John Scipione
1933335b06 Tracker: fix 2 uninitialized scalers
CID610119
2014-07-18 17:58:04 -04:00
John Scipione
ba24adb272 Tracker: fix 2 unbounded copies
CID609045
2014-07-18 17:58:02 -04:00
John Scipione
d308d1fa82 Tracker: fix unchecked dynamic_casts
CID603130, CID603131, CID603132
2014-07-18 17:58:01 -04:00
John Scipione
62de0e04be Tracker: fix unchecked return values
Check that LockLooper() succeeds

CID611190, CID611194, CID602477
2014-07-18 17:57:43 -04:00
John Scipione
dc3cfca45b Tracker: fix unused pointers
CID610474, CID610475
2014-07-18 17:53:03 -04:00
John Scipione
20e3467eae Tracker: fix dereference after NULL checks
CID600503, CID600504, CID600505
2014-07-18 17:52:37 -04:00
John Scipione
0db0308b08 Tracker: style fixes to PoseView.cpp
Compare with NULL explictly
2014-07-18 17:51:25 -04:00
John Scipione
565cd805b4 Tracker: whitespace fix, spaces to tab 2014-07-18 17:49:51 -04:00
John Scipione
4deecac061 Tracker: Fix BuildMimeTypeList(), styleish and correct
Thanks Axel for pointing out my error.
hrev47521
2014-07-18 17:18:12 -04:00
François Revol
da0fa55675 Update libmad packages
Fixes PROVIDES_devel
hrev47520
2014-07-18 20:38:31 +00:00
François Revol
07a6a6b311 Add libmpdclient package
Used by Music Player Daemon clients.
hrev47519
2014-07-18 20:21:40 +02:00
John Scipione
29c145bcbe Tracker: Check LockLooper() return value.
Fixes CID602468 and CID602469

Thanks waddlesplash for pointing this out.
hrev47518
2014-07-18 14:12:25 -04:00
François Revol
247a35bd0a Update mpg123 package
Fixes PROVIDES_devel and pkg-config files
hrev47517
2014-07-18 20:02:01 +02:00
John Scipione
b992df8968 Tracker: Don't crash clicking Open with... menu item
This bug was introduced in hrev47498

The reason Tracker crashed was because OpenWithContainerWindow
had a NULL TargetModel() which we were trying to dereference.

Fix this by creating an empty model in OpenWithContainerWindow. Add an
ASSERT to check that the TargetModel() is not NULL in the future.

Another way to fix this bug would have been to check that TargetModel() wasn't
NULL each time before we use it. I didn't go with that solution because we
assume TargetModel() is not NULL in a lot of places so it would be a lot of work
to check them all. I think it's better to give OpenWithContainerWindow a dummy
model even though it doesn't make sense for it to have one just so that we don't
crash when we try to dereference the pointer.
hrev47516
2014-07-18 10:58:30 -04:00
John Scipione
bb804d092e Tracker: Make sure count > 0
... in a more stylish way, no negative counts allowed.
2014-07-18 10:47:11 -04:00