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
This commit is contained in:
Adrien Destugues
2014-07-21 09:34:52 +02:00
parent fe8ce79e16
commit 043178a063
4 changed files with 47 additions and 10 deletions
+6 -4
View File
@@ -304,8 +304,8 @@ RemotePackageRepository HaikuPorts
gcc_x86-4.8.3_2014_05_28-1
gettext_x86-0.18.1.1-6
gettext_x86_libintl-0.18.1.1-6
giflib_x86-5.0.5-2
giflib_x86_devel-5.0.5-2
giflib_x86-5.1.0-1
giflib_x86_devel-5.1.0-1
glew_x86-1.10.0-4
glew_x86_devel-1.10.0-4
glew_x86_util-1.10.0-4
@@ -420,8 +420,8 @@ RemotePackageRepository HaikuPorts
rocksndiamonds_x86-3.3.1.2-1
sdl_gfx_x86-2.0.24-1
sdl_gfx_x86_devel-2.0.24-1
sdl_image_x86-1.2.12-1
sdl_image_x86_devel-1.2.12-1
sdl_image_x86-1.2.12-3
sdl_image_x86_devel-1.2.12-3
sdl_net_x86-1.2.8-4
sdl_net_x86_devel-1.2.8-4
sdl_mixer_x86-1.2.12-3
@@ -447,6 +447,7 @@ RemotePackageRepository HaikuPorts
tiff_x86-3.9.6-2
tiff_x86_devel-3.9.6-2
vcmi_x86-0.94-1
wizznic_x86-0.9.9-2
xz_utils_x86-5.0.5-3
xz_utils_x86_devel-5.0.5-3
zlib_x86-1.2.8-4
@@ -647,6 +648,7 @@ RemotePackageRepository HaikuPorts
vision
wget
which
wizznic_x86
wpa_supplicant
yab
yasm
+1 -1
View File
@@ -25,7 +25,7 @@
#include <AutoDeleter.h>
//#define TRACE_XSI_SEM
#define TRACE_XSI_SEM
#ifdef TRACE_XSI_SEM
# define TRACE(x) dprintf x
# define TRACE_ERROR(x) dprintf x
+7 -5
View File
@@ -185,16 +185,18 @@ const ExplodeTest kTestExplode[] =
{ "http", "", "", "www.host.tld",0, "/path", "query", "fragment" } },
{ "",
{ "", "", "", "", 0, "", "", ""} },
{ "HTTP://example.com.:80/%70a%74%68?a=%31#1%323",
{ "HTTP", "", "", "example.com.",80, "/%70a%74%68","a=%31","1%323"} },
{ "ldap://[2001:db8::7]/c=GB?objectClass?one",
{ "ldap", "", "", "[2001:db8::7]",389,"/c=GB", "objectClass?one", "" } },
{ "mailto:[email protected]",
{ "mailto", "", "", "", 0, "[email protected]", "", "" } },
{ "mailto:[email protected],[email protected]",
{ "mailto", "", "", "", 0, "", "[email protected],[email protected]", "" } },
{ "urn:oasis:names:specification:docbook:dtd:xml:4.1.2",
{ "urn", "", "", "", 0, "oasis:names:specification:docbook:dtd:xml:4.1.2", "", "" } }
{ "urn", "", "", "", 0, "oasis:names:specification:docbook:dtd:xml:4.1.2", "", "" } },
{ "http://www.goodsearch.com/login?return_path=/",
{ "http", "", "", "www.goodsearch.com", 0, "/login", "return_path=/", "" } },
{ "ldap://[2001:db8::7]/c=GB?objectClass?one",
{ "ldap", "", "", "[2001:db8::7]",389,"/c=GB", "objectClass?one", "" } },
{ "HTTP://example.com.:80/%70a%74%68?a=%31#1%323",
{ "HTTP", "", "", "example.com.",80, "/%70a%74%68","a=%31","1%323"} }
};
void UrlTest::ExplodeImplodeTest()
@@ -492,6 +492,38 @@ public:
};
// #pragma mark - ClippingStates
class ClippingStatesTest : public Test {
public:
ClippingStatesTest()
:
Test("Clipping in nested state")
{
}
virtual void Draw(BView* view, BRect updateRect)
{
BRect r (20, 20, 300, 300);
view->SetHighColor(ui_color(B_FAILURE_COLOR));
view->FillRect(r);
BAffineTransform transform;
transform.TranslateBy(20, 0);
view->SetTransform(transform);
// This should clip to exactly the area we filled red above.
r.OffsetBy(-20, 0);
BRegion clipping(r);
view->ConstrainClippingRegion(&clipping);
view->SetHighColor(ui_color(B_SUCCESS_COLOR));
view->FillRect(BRect(-1000, -1000, 1000, 1000));
}
};
// #pragma mark - Clipping
@@ -637,6 +669,7 @@ main(int argc, char** argv)
window->AddTest(new RectsTest());
window->AddTest(new BitmapClipTest());
window->AddTest(new ClippingStatesTest());
window->AddTest(new TextClippingTest());
window->AddTest(new AlphaMaskBitmapTest());
window->AddTest(new GradientTest());