path: root/test/Makefile
diff options
authorMichael Drake <>2012-10-08 20:22:04 +0100
committerMichael Drake <>2012-10-08 20:22:04 +0100
commite9b207c658b1771d7e208535017cbbf33d9e0cf8 (patch)
treeb236e540ba8741b46524bd9811d419f9645837af /test/Makefile
parent1b9b870921c93a0e2835c19233c1d7e3b68f3888 (diff)
Port urldb to nsurl. Won't build since rest of NS needs ported to new urldb API.
+ urldb API now takes URLs as nsurl, rather than string. + urldb internally stores full URLs with nsurl ref. + urldb internally stores schemes as lwc_string. + Load and save of cookies and URL file may be slower since we now need to create a nsurl. + Everything else should be faster, and there should be much less allocating/freeing and much less parsing of the same url over and over again. + Updated urldbtest for new urldb API. + urldbtest now cleans up at the end + Added lwc_string itterator to end of urldbtest + Adding some broken URLs (such as http:domain/) will now work, since nsurl fixes (http://domain/) them.
Diffstat (limited to 'test/Makefile')
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index 43b45dda2..759d5f9c8 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -16,10 +16,11 @@ llcache_SRCS := content/fetch.c content/fetchers/curl.c \
urldbtest_SRCS := content/urldb.c utils/url.c utils/utils.c utils/log.c \
desktop/options.c utils/messages.c utils/hashtable.c \
- utils/filename.c test/urldbtest.c
+ utils/filename.c utils/nsurl.c utils/corestrings.c \
+ test/urldbtest.c
-urldbtest_CFLAGS := $(shell pkg-config --cflags libwapcaplet) -O2
-urldbtest_LDFLAGS := $(shell pkg-config --libs libwapcaplet)
+urldbtest_CFLAGS := $(shell pkg-config --cflags libwapcaplet libdom) -O2
+urldbtest_LDFLAGS := $(shell pkg-config --libs libwapcaplet libdom)
nsurl_SRCS := utils/log.c utils/nsurl.c test/nsurl.c
nsurl_CFLAGS := $(shell pkg-config --cflags libwapcaplet)