Commit Graph

50985 Commits

Author SHA1 Message Date
Adrien Destugues
b0ab67351d use unpacked scanlines when rendering gradients.
* There is no point in trying to pack the scanlines in a gradient, as it
is very likely that each pixel will have a different color.
* Moreover, the packed scanline generator will assume all pixels in the
* scanline have the same alpha value (for faster blending), and it may
* not be the case.

Fixes #2946.
Thanks to stippi and jessicah who helped tracking and understanding the issue.
2014-07-24 12:38:53 +02:00
Adrien Destugues
a694f30d6c Add more alpha gradient test cases
* Add a vertical linear gradient. This bypasses AGG and uses a faster
code path, which works.
* Add gradients drawn in a ClipToPicture() context. This uses an
* unpacked scanline rasterizer, which works.

This hints to the problem being the use of a packed scanline rasterizer,
with agg gradients touching the alpha channel.
2014-07-24 12:01:50 +02:00
Adrien Destugues
5f22a181ec Simplify code using BString features.
* No functional changes
* Why do in 10 lines what can be done in 1?
2014-07-24 09:46:24 +02:00
Adrien Destugues
ca38bad855 Missing parenthesis. 2014-07-24 09:26:09 +02:00
Jessica Hamilton
18eae6381e Bump revisions of gcc_x86 & haikuwebkit for gcc2h.
This will pull in the requirement for a newer haiku
revision, as the fix to WebPositive lies in haiku,
not haikuwebkit.
2014-07-24 02:33:52 +00:00
François Revol
aec644bf85 tty: Don't ignore errors when setting DTR
Instead we and the return value of both calls.

So if any fails we return an error.
2014-07-23 21:36:07 +02:00
François Revol
0be89c15ee tty: Add bitmask ioctls TIOCMBIS and TIOCMBIC
Equivalent to TIOCMSET + bitmask + TIOCMGET but with a single call.

Gnokii uses that.
2014-07-23 21:36:07 +02:00
John Scipione
970910c21e Runtime loader: Fix unchecked return value
Tested by running Attraction! from haikuware.com

CID 1228648
2014-07-23 14:44:36 -04:00
François Revol
741f2b55f2 glib2: updated package (fixed glib-gettextize) 2014-07-23 19:37:14 +02:00
François Revol
4e554681b7 Add a gcc2 version of libffi 2014-07-23 19:37:13 +02:00
John Scipione
3188d3d0bf Tracker: Remove logically dead code
Replace with an ASSERT that srcWindow != NULL by the time we've gotten
this far.

CID 1228649 and CID 1228650
2014-07-23 13:20:08 -04:00
Adrien Destugues
d1a5f90981 More test cases for gradients with alpha channel
* Swapping the opaque and transparent ends leads to different results,
* Linear gradients are also affected.
2014-07-23 17:59:37 +02:00
Adrien Destugues
5f6a39cabe Add testcase from #2946. 2014-07-23 16:24:08 +02:00
François Revol
ee58da76ed Add asciidoc and tig package 2014-07-23 15:01:27 +02:00
François Revol
c8826605df Guard header for use by assembler code
Somehow it ends up being used by shell.S for the verdex bootstrap.
2014-07-23 13:27:23 +02:00
François Revol
8bfb76fe23 Add a package for lynx
It's mostly because I need it for irssi docs.
2014-07-23 13:25:14 +02:00
Adrien Destugues
8fa9134445 Draw radial gradients using the proper radius. 2014-07-23 10:17:41 +02:00
Adrien Destugues
1f3acfaa51 Add a test for radial gradients.
* This shows that the radius is ignored and all gradients are drwan with
a radius of 100.
2014-07-23 10:17:25 +02:00
Adrien Destugues
15db99249a Simple test harness for app_server tests
This was developped for the transformations test, but can be used for
other tests too. Extract the relevant classes to a separate file.
2014-07-23 10:14:35 +02:00
Adrien Destugues
c5ed108884 Fix the test_app_server build. 2014-07-23 10:13:58 +02:00
Adrien Destugues
c5f7461870 Add avrdude package (with dependencies)
I confirmed that Akshay's patch to UHCI gets avrdude working with the
usbasp programmer.
2014-07-23 09:21:40 +02:00
Akshay Jaggi
15777340b1 Fix UHCI Short Packet Transfers 2014-07-23 09:21:39 +02:00
Axel Dörfler
7e4afecfd5 AboutSystem: minor coding style cleanup. 2014-07-23 00:39:42 +02:00
Augustin Cavalier
01133a682c AboutSystem: use parens instead of dashes to indicate nicknames
Having dashes is confusing because some people have dashes in their names,
so using parens eliminates the confusion.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2014-07-23 00:38:14 +02:00
Augustin Cavalier
5ccde6d3dd AboutSystem: move authors and translators info to Credits.h
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2014-07-23 00:37:58 +02:00
Adrien Destugues
6be2152bc4 libbind: allow underscores in domain names
As discussed in http://www.freelists.org/post/haiku-development/Proposal-adding-nochecknames-to-resolvconf-by-default

The underscore is handled like the hyphen, that is, it can only be in
the middle of a word. "a_b.com" is valid, but "a_.com" and "_a.com" are
not.

Patch is from http://lists.freebsd.org/pipermail/freebsd-arch/2003-March/000071.html
2014-07-22 18:08:24 +02:00
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.
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.
2014-07-22 21:26:57 +12:00
Jessica Hamilton
3858b44850 Updated gcc & webkit packages for x86_64 with native TLS enabled. 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>
2014-07-22 14:45:19 +12:00
Augustin Cavalier
250e35c3bb HaikuPorts/x86_gcc2: add some native Haiku apps. 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.
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 2014-07-22 02:03:32 +12:00
Jessica Hamilton
de21d557b7 No source package for gcc this time around (don't have the bandwidth). 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).
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.
2014-07-21 10:21:32 +02:00
Adrien Destugues
ba0b0f2319 Sorry, I didn't mean to commit this. 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
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
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.
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
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.
2014-07-20 22:15:25 +02:00
Jonathan Schleifer
e0650f25c3 Build libsupc++-kernel without TLS 2014-07-20 20:32:34 +02:00
François Revol
9794408527 Add qemacs package 2014-07-20 01:58:49 +02:00
François Revol
d3a9193fe7 Add package for dmidecode 2014-07-20 01:49:36 +02:00
François Revol
9584f0edd4 Add simh package 2014-07-20 01:20:10 +02:00