aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile84
-rw-r--r--default.bld21
-rw-r--r--src/experimental/cache.cpp (renamed from src/cache.cpp)0
-rw-r--r--src/experimental/cache.h (renamed from src/cache.h)0
-rw-r--r--src/experimental/cachecalc.cpp (renamed from src/cachecalc.cpp)0
-rw-r--r--src/experimental/cachecalc.h (renamed from src/cachecalc.h)0
-rw-r--r--src/experimental/cachestore.cpp (renamed from src/cachestore.cpp)0
-rw-r--r--src/experimental/cachestore.h (renamed from src/cachestore.h)0
-rw-r--r--src/experimental/cachestorefiles.cpp (renamed from src/cachestorefiles.cpp)0
-rw-r--r--src/experimental/cachestorefiles.h (renamed from src/cachestorefiles.h)0
-rw-r--r--src/experimental/cachestoremyriad.cpp (renamed from src/cachestoremyriad.cpp)0
-rw-r--r--src/experimental/cachestoremyriad.h (renamed from src/cachestoremyriad.h)0
-rw-r--r--src/experimental/fastcgi.cpp (renamed from src/fastcgi.cpp)0
-rw-r--r--src/experimental/fastcgi.h (renamed from src/fastcgi.h)0
-rw-r--r--src/experimental/httpget.cpp (renamed from src/httpget.cpp)0
-rw-r--r--src/experimental/httpget.h (renamed from src/httpget.h)0
-rw-r--r--src/experimental/lexer.cpp (renamed from src/lexer.cpp)0
-rw-r--r--src/experimental/lexer.h (renamed from src/lexer.h)0
-rw-r--r--src/experimental/parser.cpp (renamed from src/parser.cpp)0
-rw-r--r--src/experimental/parser.h (renamed from src/parser.h)0
-rw-r--r--src/experimental/random.cpp (renamed from src/random.cpp)0
-rw-r--r--src/experimental/random.h (renamed from src/random.h)0
-rw-r--r--src/experimental/randombase.cpp (renamed from src/randombase.cpp)0
-rw-r--r--src/experimental/randombase.h (renamed from src/randombase.h)0
-rw-r--r--src/experimental/randombasic.cpp (renamed from src/randombasic.cpp)0
-rw-r--r--src/experimental/randombasic.h (renamed from src/randombasic.h)0
-rw-r--r--src/experimental/regex.cpp (renamed from src/regex.cpp)0
-rw-r--r--src/experimental/regex.h (renamed from src/regex.h)0
-rw-r--r--src/experimental/regexengine.cpp (renamed from src/regexengine.cpp)0
-rw-r--r--src/experimental/regexengine.h (renamed from src/regexengine.h)0
-rw-r--r--src/experimental/xmlreader.cpp (renamed from src/xmlreader.cpp)0
-rw-r--r--src/experimental/xmlreader.h (renamed from src/xmlreader.h)0
-rw-r--r--src/linkmessage.cpp50
-rw-r--r--src/linkmessage.h48
-rw-r--r--src/set.cpp11
-rw-r--r--src/set.h44
-rw-r--r--src/stable/archival.cpp (renamed from src/archival.cpp)0
-rw-r--r--src/stable/archival.h (renamed from src/archival.h)0
-rw-r--r--src/stable/archive.cpp (renamed from src/archive.cpp)0
-rw-r--r--src/stable/archive.h (renamed from src/archive.h)0
-rw-r--r--src/stable/archivebase.cpp (renamed from src/archivebase.cpp)0
-rw-r--r--src/stable/archivebase.h (renamed from src/archivebase.h)0
-rw-r--r--src/stable/array.cpp (renamed from src/array.cpp)0
-rw-r--r--src/stable/array.h (renamed from src/array.h)0
-rw-r--r--src/stable/atom.cpp (renamed from src/atom.cpp)0
-rw-r--r--src/stable/atom.h (renamed from src/atom.h)0
-rw-r--r--src/stable/base64.cpp (renamed from src/base64.cpp)0
-rw-r--r--src/stable/base64.h (renamed from src/base64.h)0
-rw-r--r--src/stable/buffer.cpp (renamed from src/buffer.cpp)0
-rw-r--r--src/stable/buffer.h (renamed from src/buffer.h)0
-rw-r--r--src/stable/bzip2.cpp (renamed from src/bzip2.cpp)0
-rw-r--r--src/stable/bzip2.h (renamed from src/bzip2.h)0
-rw-r--r--src/stable/client.cpp (renamed from src/client.cpp)0
-rw-r--r--src/stable/client.h (renamed from src/client.h)0
-rw-r--r--src/stable/clientlink.cpp (renamed from src/clientlink.cpp)0
-rw-r--r--src/stable/clientlink.h (renamed from src/clientlink.h)0
-rw-r--r--src/stable/clientlinkfactory.cpp (renamed from src/clientlinkfactory.cpp)0
-rw-r--r--src/stable/clientlinkfactory.h (renamed from src/clientlinkfactory.h)0
-rw-r--r--src/stable/condition.cpp (renamed from src/condition.cpp)0
-rw-r--r--src/stable/condition.h (renamed from src/condition.h)0
-rw-r--r--src/stable/conduit.cpp (renamed from src/conduit.cpp)0
-rw-r--r--src/stable/conduit.h (renamed from src/conduit.h)0
-rw-r--r--src/stable/crypt.cpp (renamed from src/crypt.cpp)0
-rw-r--r--src/stable/crypt.h (renamed from src/crypt.h)0
-rw-r--r--src/stable/cryptohash.cpp (renamed from src/cryptohash.cpp)0
-rw-r--r--src/stable/cryptohash.h (renamed from src/cryptohash.h)0
-rw-r--r--src/stable/csvreader.cpp (renamed from src/csvreader.cpp)0
-rw-r--r--src/stable/csvreader.h (renamed from src/csvreader.h)0
-rw-r--r--src/stable/csvwriter.cpp (renamed from src/csvwriter.cpp)0
-rw-r--r--src/stable/csvwriter.h (renamed from src/csvwriter.h)0
-rw-r--r--src/stable/deflate.cpp (renamed from src/deflate.cpp)0
-rw-r--r--src/stable/deflate.h (renamed from src/deflate.h)0
-rw-r--r--src/stable/exceptionbase.cpp (renamed from src/exceptionbase.cpp)0
-rw-r--r--src/stable/exceptionbase.h (renamed from src/exceptionbase.h)0
-rw-r--r--src/stable/extratypes.h (renamed from src/extratypes.h)0
-rw-r--r--src/stable/file.cpp (renamed from src/file.cpp)0
-rw-r--r--src/stable/file.h (renamed from src/file.h)0
-rw-r--r--src/stable/filter.cpp (renamed from src/filter.cpp)0
-rw-r--r--src/stable/filter.h (renamed from src/filter.h)0
-rw-r--r--src/stable/fmt.h (renamed from src/fmt.h)0
-rw-r--r--src/stable/formatter.cpp (renamed from src/formatter.cpp)0
-rw-r--r--src/stable/formatter.h (renamed from src/formatter.h)0
-rw-r--r--src/stable/formula.cpp (renamed from src/formula.cpp)0
-rw-r--r--src/stable/formula.h (renamed from src/formula.h)0
-rw-r--r--src/stable/hash.cpp (renamed from src/hash.cpp)0
-rw-r--r--src/stable/hash.h (renamed from src/hash.h)0
-rw-r--r--src/stable/heap.cpp (renamed from src/heap.cpp)0
-rw-r--r--src/stable/heap.h (renamed from src/heap.h)0
-rw-r--r--src/stable/hex.cpp (renamed from src/hex.cpp)0
-rw-r--r--src/stable/hex.h (renamed from src/hex.h)0
-rw-r--r--src/stable/list.cpp (renamed from src/list.cpp)0
-rw-r--r--src/stable/list.h (renamed from src/list.h)0
-rw-r--r--src/stable/logger.cpp (renamed from src/logger.cpp)0
-rw-r--r--src/stable/logger.h (renamed from src/logger.h)0
-rw-r--r--src/stable/lzma.cpp (renamed from src/lzma.cpp)0
-rw-r--r--src/stable/lzma.h (renamed from src/lzma.h)0
-rw-r--r--src/stable/md5.cpp (renamed from src/md5.cpp)0
-rw-r--r--src/stable/md5.h (renamed from src/md5.h)0
-rw-r--r--src/stable/membuf.cpp (renamed from src/membuf.cpp)0
-rw-r--r--src/stable/membuf.h (renamed from src/membuf.h)0
-rw-r--r--src/stable/minicron.cpp (renamed from src/minicron.cpp)0
-rw-r--r--src/stable/minicron.h (renamed from src/minicron.h)0
-rw-r--r--src/stable/multiserver.cpp (renamed from src/multiserver.cpp)0
-rw-r--r--src/stable/multiserver.h (renamed from src/multiserver.h)0
-rw-r--r--src/stable/mutex.cpp (renamed from src/mutex.cpp)0
-rw-r--r--src/stable/mutex.h (renamed from src/mutex.h)0
-rw-r--r--src/stable/mutexlocker.cpp (renamed from src/mutexlocker.cpp)0
-rw-r--r--src/stable/mutexlocker.h (renamed from src/mutexlocker.h)0
-rw-r--r--src/stable/nullstream.cpp (renamed from src/nullstream.cpp)0
-rw-r--r--src/stable/nullstream.h (renamed from src/nullstream.h)0
-rw-r--r--src/stable/optparser.cpp (renamed from src/optparser.cpp)0
-rw-r--r--src/stable/optparser.h (renamed from src/optparser.h)0
-rw-r--r--src/stable/pearsonhash.cpp (renamed from src/pearsonhash.cpp)0
-rw-r--r--src/stable/pearsonhash.h (renamed from src/pearsonhash.h)0
-rw-r--r--src/stable/plugger.cpp (renamed from src/plugger.cpp)0
-rw-r--r--src/stable/plugger.h (renamed from src/plugger.h)0
-rw-r--r--src/stable/process.cpp (renamed from src/process.cpp)0
-rw-r--r--src/stable/process.h (renamed from src/process.h)0
-rw-r--r--src/stable/protocol.cpp (renamed from src/protocol.cpp)0
-rw-r--r--src/stable/protocol.h (renamed from src/protocol.h)0
-rw-r--r--src/stable/protocolhttp.cpp (renamed from src/protocolhttp.cpp)0
-rw-r--r--src/stable/protocolhttp.h (renamed from src/protocolhttp.h)0
-rw-r--r--src/stable/protocoltelnet.cpp (renamed from src/protocoltelnet.cpp)0
-rw-r--r--src/stable/protocoltelnet.h (renamed from src/protocoltelnet.h)0
-rw-r--r--src/stable/queue.cpp (renamed from src/queue.cpp)0
-rw-r--r--src/stable/queue.h (renamed from src/queue.h)0
-rw-r--r--src/stable/queuebuf.cpp (renamed from src/queuebuf.cpp)0
-rw-r--r--src/stable/queuebuf.h (renamed from src/queuebuf.h)0
-rw-r--r--src/stable/ringbuffer.cpp (renamed from src/ringbuffer.cpp)0
-rw-r--r--src/stable/ringbuffer.h (renamed from src/ringbuffer.h)0
-rw-r--r--src/stable/server.cpp (renamed from src/server.cpp)0
-rw-r--r--src/stable/server.h (renamed from src/server.h)0
-rw-r--r--src/stable/sha1.cpp (renamed from src/sha1.cpp)0
-rw-r--r--src/stable/sha1.h (renamed from src/sha1.h)0
-rw-r--r--src/stable/sharedcore.cpp (renamed from src/sharedcore.cpp)0
-rw-r--r--src/stable/sharedcore.h (renamed from src/sharedcore.h)0
-rw-r--r--src/stable/signals.cpp (renamed from src/signals.cpp)0
-rw-r--r--src/stable/singleton.h (renamed from src/singleton.h)0
-rw-r--r--src/stable/sio.cpp (renamed from src/sio.cpp)0
-rw-r--r--src/stable/sio.h (renamed from src/sio.h)0
-rw-r--r--src/stable/sptr.cpp (renamed from src/sptr.cpp)0
-rw-r--r--src/stable/sptr.h (renamed from src/sptr.h)0
-rw-r--r--src/stable/stack.cpp (renamed from src/stack.cpp)0
-rw-r--r--src/stable/stack.h (renamed from src/stack.h)0
-rw-r--r--src/stable/staticmembuf.cpp (renamed from src/staticmembuf.cpp)0
-rw-r--r--src/stable/staticmembuf.h (renamed from src/staticmembuf.h)0
-rw-r--r--src/stable/stdstream.cpp (renamed from src/stdstream.cpp)0
-rw-r--r--src/stable/stdstream.h (renamed from src/stdstream.h)0
-rw-r--r--src/stable/stream.cpp (renamed from src/stream.cpp)0
-rw-r--r--src/stable/stream.h (renamed from src/stream.h)0
-rw-r--r--src/stable/streamstack.cpp (renamed from src/streamstack.cpp)0
-rw-r--r--src/stable/streamstack.h (renamed from src/streamstack.h)0
-rw-r--r--src/stable/strfilter.h (renamed from src/strfilter.h)0
-rw-r--r--src/stable/string.cpp (renamed from src/string.cpp)0
-rw-r--r--src/stable/string.h (renamed from src/string.h)0
-rw-r--r--src/stable/substream.cpp (renamed from src/substream.cpp)0
-rw-r--r--src/stable/substream.h (renamed from src/substream.h)0
-rw-r--r--src/stable/synchroatom.h (renamed from src/synchroatom.h)0
-rw-r--r--src/stable/synchrocounter.cpp (renamed from src/synchrocounter.cpp)0
-rw-r--r--src/stable/synchrocounter.h (renamed from src/synchrocounter.h)0
-rw-r--r--src/stable/synchroheap.cpp (renamed from src/synchroheap.cpp)0
-rw-r--r--src/stable/synchroheap.h (renamed from src/synchroheap.h)0
-rw-r--r--src/stable/synchroqueue.h (renamed from src/synchroqueue.h)0
-rw-r--r--src/stable/taf.h (renamed from src/taf.h)0
-rw-r--r--src/stable/tafcomment.cpp (renamed from src/tafcomment.cpp)0
-rw-r--r--src/stable/tafcomment.h (renamed from src/tafcomment.h)0
-rw-r--r--src/stable/tafgroup.cpp (renamed from src/tafgroup.cpp)0
-rw-r--r--src/stable/tafgroup.h (renamed from src/tafgroup.h)0
-rw-r--r--src/stable/tafnode.cpp (renamed from src/tafnode.cpp)0
-rw-r--r--src/stable/tafnode.h (renamed from src/tafnode.h)0
-rw-r--r--src/stable/tafproperty.cpp (renamed from src/tafproperty.cpp)0
-rw-r--r--src/stable/tafproperty.h (renamed from src/tafproperty.h)0
-rw-r--r--src/stable/tafreader.cpp (renamed from src/tafreader.cpp)0
-rw-r--r--src/stable/tafreader.h (renamed from src/tafreader.h)0
-rw-r--r--src/stable/tafwriter.cpp (renamed from src/tafwriter.cpp)0
-rw-r--r--src/stable/tafwriter.h (renamed from src/tafwriter.h)0
-rw-r--r--src/stable/tcpserversocket.cpp (renamed from src/tcpserversocket.cpp)0
-rw-r--r--src/stable/tcpserversocket.h (renamed from src/tcpserversocket.h)0
-rw-r--r--src/stable/tcpsocket.cpp (renamed from src/tcpsocket.cpp)0
-rw-r--r--src/stable/tcpsocket.h (renamed from src/tcpsocket.h)0
-rw-r--r--src/stable/thread.cpp (renamed from src/thread.cpp)0
-rw-r--r--src/stable/thread.h (renamed from src/thread.h)0
-rw-r--r--src/stable/trace.cpp (renamed from src/trace.cpp)0
-rw-r--r--src/stable/trace.h (renamed from src/trace.h)0
-rw-r--r--src/stable/unitsuite.cpp (renamed from src/unitsuite.cpp)0
-rw-r--r--src/stable/unitsuite.h (renamed from src/unitsuite.h)0
-rw-r--r--src/stable/util.cpp (renamed from src/util.cpp)0
-rw-r--r--src/stable/util.h (renamed from src/util.h)0
-rw-r--r--src/stable/variant.cpp (renamed from src/variant.cpp)0
-rw-r--r--src/stable/variant.h (renamed from src/variant.h)0
-rw-r--r--src/unstable/bitstring.cpp (renamed from src/bitstring.cpp)0
-rw-r--r--src/unstable/bitstring.h (renamed from src/bitstring.h)0
-rw-r--r--src/unstable/fifo.cpp (renamed from src/fifo.cpp)0
-rw-r--r--src/unstable/fifo.h (renamed from src/fifo.h)0
-rw-r--r--src/unstable/itoserver.cpp (renamed from src/itoserver.cpp)0
-rw-r--r--src/unstable/itoserver.h (renamed from src/itoserver.h)2
-rw-r--r--src/unstable/minimacro.cpp (renamed from src/minimacro.cpp)0
-rw-r--r--src/unstable/minimacro.h (renamed from src/minimacro.h)0
-rw-r--r--src/unstable/myriad.cpp (renamed from src/myriad.cpp)0
-rw-r--r--src/unstable/myriad.h (renamed from src/myriad.h)0
-rw-r--r--src/unstable/myriadfs.cpp (renamed from src/myriadfs.cpp)0
-rw-r--r--src/unstable/myriadfs.h (renamed from src/myriadfs.h)0
-rw-r--r--src/unstable/myriadstream.cpp (renamed from src/myriadstream.cpp)0
-rw-r--r--src/unstable/myriadstream.h (renamed from src/myriadstream.h)0
-rw-r--r--src/unstable/newline.cpp (renamed from src/newline.cpp)0
-rw-r--r--src/unstable/newline.h (renamed from src/newline.h)0
-rw-r--r--src/unstable/udpsocket.cpp (renamed from src/udpsocket.cpp)0
-rw-r--r--src/unstable/udpsocket.h (renamed from src/udpsocket.h)0
-rw-r--r--src/unstable/url.cpp (renamed from src/url.cpp)0
-rw-r--r--src/unstable/url.h (renamed from src/url.h)0
-rw-r--r--src/unstable/urn.cpp (renamed from src/urn.cpp)0
-rw-r--r--src/unstable/urn.h (renamed from src/urn.h)0
-rw-r--r--src/unstable/utfstring.cpp (renamed from src/utfstring.cpp)0
-rw-r--r--src/unstable/utfstring.h (renamed from src/utfstring.h)0
-rw-r--r--src/unstable/uuid.cpp (renamed from src/uuid.cpp)0
-rw-r--r--src/unstable/uuid.h (renamed from src/uuid.h)0
-rw-r--r--tests/bnftest (renamed from bnftest)0
-rw-r--r--tests/bnftest.2 (renamed from bnftest.2)0
-rw-r--r--tests/test.utf16 (renamed from test.utf16)0
-rw-r--r--tests/test.utf16be (renamed from test.utf16be)0
-rw-r--r--tests/test.utf16le (renamed from test.utf16le)0
-rw-r--r--utf16.cpp42
222 files changed, 100 insertions, 202 deletions
diff --git a/Makefile b/Makefile
index 0b7716f..42218f0 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,85 @@
5# terms of the license contained in the file LICENSE. 5# terms of the license contained in the file LICENSE.
6# 6#
7 7
8.PHONY: build 8OBJECTS := $(patsubst %.cpp,%.o,$(wildcard src/stable/*.cpp src/unstable/*.cpp src/experimental/*.cpp))
9HEADERS := bu/signals.h bu/autoconfig.h bu/version.h bu/config.h $(foreach fn,$(wildcard src/stable/*.h src/unstable/*.h src/experimental/*.h),bu/$(notdir ${fn})) $(patsubst src/%,bu/%,$(wildcard src/compat/*.h))
10TOOLS := $(patsubst src/tools/%.cpp,%,$(wildcard src/tools/*.cpp))
11UNITS := $(patsubst src/unit/%.unit,unit/%,$(wildcard src/unit/*.unit))
12TESTS := $(patsubst src/tests/%.cpp,tests/%,$(wildcard src/tests/*.cpp))
13
14.PHONY: default all headers clean tests
15
16default: libbu++.a tools
17
18all: default tests
19
20tests: ${UNITS} ${TESTS}
21
22clean:
23 -rm ${HEADERS} ${OBJECTS} libbu++.a ${TOOLS} ${UNITS} ${TESTS}
24
25bu/signals.h bu/config.h bu/autoconfig.h bu/version.h: bu/%: src/%
26 ln -s ../$< $@
27
28$(foreach fn,$(wildcard src/stable/*.h),bu/$(notdir ${fn})): bu/%: src/stable/%
29 ln -s ../$< $@
30
31$(foreach fn,$(wildcard src/unstable/*.h),bu/$(notdir ${fn})): bu/%: src/unstable/%
32 ln -s ../$< $@
33
34$(foreach fn,$(wildcard src/experimental/*.h),bu/$(notdir ${fn})): bu/%: src/experimental/%
35 ln -s ../$< $@
36
37$(patsubst src/%,bu/%,$(wildcard src/compat/*.h)): bu/%: src/%
38 ln -s ../../$< $@
39
40autoconfig: autoconfig.cpp
41 ${CXX} -o autoconfig autoconfig.cpp
42
43src/autoconfig.h src/version.h: autoconfig
44 ./autoconfig $@
45
46src/signals.h: signals-pregen.h
47 cp $< $@
48
49headers: ${HEADERS}
50
51tools: ${TOOLS}
52
53${TOOLS}: %: src/tools/%.cpp libbu++.a
54
55$(filter-out viewcsv bin2cpp,${TOOLS}):
56 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++
57
58viewcsv:
59 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -lncurses
60
61bin2cpp:
62 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -lbz2 -lz -llzma
63
64${OBJECTS}: %.o: %.cpp
65 g++ -ggdb -W -Wall -I. $< -c -o $@
66
67$(patsubst %,src/%.cpp,${UNITS}): %.cpp: %.unit mkunit
68 ./mkunit $< $@
69
70${UNITS}: %: src/%.cpp
71 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++
72
73${TESTS}: %: src/%.cpp
74
75$(filter-out tests/bzip2 tests/deflate tests/lzma,${TESTS}):
76 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++
77
78tests/bzip2:
79 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -lbz2
80
81tests/deflate:
82 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -lz
83
84tests/lzma:
85 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -llzma
86
87libbu++.a: ${HEADERS} ${OBJECTS}
88 ar -r libbu++.a ${OBJECTS}
9 89
10build:
11 build
diff --git a/default.bld b/default.bld
index ce0ea80..831959e 100644
--- a/default.bld
+++ b/default.bld
@@ -73,8 +73,22 @@ target "autoconfig"
73 input "autoconfig.cpp"; 73 input "autoconfig.cpp";
74} 74}
75 75
76target [files("src/*.h").replace("src/", "bu/"), "bu/autoconfig.h", 76for base in ["stable", "unstable", "experimental"] do
77 "bu/version.h", "bu/signals.h"] 77{
78 target files("src/${base}/*.h").replace("src/${base}/", "bu/")
79 {
80 tag "header-links";
81 display "symlink";
82 input OUTPUT.replace("bu/","src/${base}/");
83 profile "build"
84 {
85 DIR = OUTPUT.dirName();
86 execute("mkdir -p ${DIR}; ln -s ../${INPUT} ${OUTPUT}");
87 }
88 }
89}
90
91target ["bu/config.h", "bu/autoconfig.h", "bu/version.h", "bu/signals.h"]
78{ 92{
79 tag "header-links"; 93 tag "header-links";
80 display "symlink"; 94 display "symlink";
@@ -110,7 +124,8 @@ target "header-links"
110 124
111target "libbu++.a" 125target "libbu++.a"
112{ 126{
113 input files("src/*.cpp", "src/compat/*.cpp"); 127 input files("src/stable/*.cpp", "src/unstable/*.cpp",
128 "src/experimental/*.cpp", "src/compat/*.cpp");
114 rule "lib"; 129 rule "lib";
115 CXXFLAGS += "-I. -fPIC"; 130 CXXFLAGS += "-I. -fPIC";
116} 131}
diff --git a/src/cache.cpp b/src/experimental/cache.cpp
index 52bd9fc..52bd9fc 100644
--- a/src/cache.cpp
+++ b/src/experimental/cache.cpp
diff --git a/src/cache.h b/src/experimental/cache.h
index 455cf1b..455cf1b 100644
--- a/src/cache.h
+++ b/src/experimental/cache.h
diff --git a/src/cachecalc.cpp b/src/experimental/cachecalc.cpp
index 7b8a10a..7b8a10a 100644
--- a/src/cachecalc.cpp
+++ b/src/experimental/cachecalc.cpp
diff --git a/src/cachecalc.h b/src/experimental/cachecalc.h
index 89cfadc..89cfadc 100644
--- a/src/cachecalc.h
+++ b/src/experimental/cachecalc.h
diff --git a/src/cachestore.cpp b/src/experimental/cachestore.cpp
index af49548..af49548 100644
--- a/src/cachestore.cpp
+++ b/src/experimental/cachestore.cpp
diff --git a/src/cachestore.h b/src/experimental/cachestore.h
index d0d91a2..d0d91a2 100644
--- a/src/cachestore.h
+++ b/src/experimental/cachestore.h
diff --git a/src/cachestorefiles.cpp b/src/experimental/cachestorefiles.cpp
index 66ce672..66ce672 100644
--- a/src/cachestorefiles.cpp
+++ b/src/experimental/cachestorefiles.cpp
diff --git a/src/cachestorefiles.h b/src/experimental/cachestorefiles.h
index 10b2c1b..10b2c1b 100644
--- a/src/cachestorefiles.h
+++ b/src/experimental/cachestorefiles.h
diff --git a/src/cachestoremyriad.cpp b/src/experimental/cachestoremyriad.cpp
index 9d00dce..9d00dce 100644
--- a/src/cachestoremyriad.cpp
+++ b/src/experimental/cachestoremyriad.cpp
diff --git a/src/cachestoremyriad.h b/src/experimental/cachestoremyriad.h
index e632a82..e632a82 100644
--- a/src/cachestoremyriad.h
+++ b/src/experimental/cachestoremyriad.h
diff --git a/src/fastcgi.cpp b/src/experimental/fastcgi.cpp
index 2f9161e..2f9161e 100644
--- a/src/fastcgi.cpp
+++ b/src/experimental/fastcgi.cpp
diff --git a/src/fastcgi.h b/src/experimental/fastcgi.h
index d290c40..d290c40 100644
--- a/src/fastcgi.h
+++ b/src/experimental/fastcgi.h
diff --git a/src/httpget.cpp b/src/experimental/httpget.cpp
index 99492a2..99492a2 100644
--- a/src/httpget.cpp
+++ b/src/experimental/httpget.cpp
diff --git a/src/httpget.h b/src/experimental/httpget.h
index a58e8ac..a58e8ac 100644
--- a/src/httpget.h
+++ b/src/experimental/httpget.h
diff --git a/src/lexer.cpp b/src/experimental/lexer.cpp
index 185456a..185456a 100644
--- a/src/lexer.cpp
+++ b/src/experimental/lexer.cpp
diff --git a/src/lexer.h b/src/experimental/lexer.h
index b057692..b057692 100644
--- a/src/lexer.h
+++ b/src/experimental/lexer.h
diff --git a/src/parser.cpp b/src/experimental/parser.cpp
index 4d9f793..4d9f793 100644
--- a/src/parser.cpp
+++ b/src/experimental/parser.cpp
diff --git a/src/parser.h b/src/experimental/parser.h
index a168c7b..a168c7b 100644
--- a/src/parser.h
+++ b/src/experimental/parser.h
diff --git a/src/random.cpp b/src/experimental/random.cpp
index e69de29..e69de29 100644
--- a/src/random.cpp
+++ b/src/experimental/random.cpp
diff --git a/src/random.h b/src/experimental/random.h
index e69de29..e69de29 100644
--- a/src/random.h
+++ b/src/experimental/random.h
diff --git a/src/randombase.cpp b/src/experimental/randombase.cpp
index e69de29..e69de29 100644
--- a/src/randombase.cpp
+++ b/src/experimental/randombase.cpp
diff --git a/src/randombase.h b/src/experimental/randombase.h
index e69de29..e69de29 100644
--- a/src/randombase.h
+++ b/src/experimental/randombase.h
diff --git a/src/randombasic.cpp b/src/experimental/randombasic.cpp
index e69de29..e69de29 100644
--- a/src/randombasic.cpp
+++ b/src/experimental/randombasic.cpp
diff --git a/src/randombasic.h b/src/experimental/randombasic.h
index e69de29..e69de29 100644
--- a/src/randombasic.h
+++ b/src/experimental/randombasic.h
diff --git a/src/regex.cpp b/src/experimental/regex.cpp
index af0d364..af0d364 100644
--- a/src/regex.cpp
+++ b/src/experimental/regex.cpp
diff --git a/src/regex.h b/src/experimental/regex.h
index f0aa5d5..f0aa5d5 100644
--- a/src/regex.h
+++ b/src/experimental/regex.h
diff --git a/src/regexengine.cpp b/src/experimental/regexengine.cpp
index 72bc381..72bc381 100644
--- a/src/regexengine.cpp
+++ b/src/experimental/regexengine.cpp
diff --git a/src/regexengine.h b/src/experimental/regexengine.h
index ec181c1..ec181c1 100644
--- a/src/regexengine.h
+++ b/src/experimental/regexengine.h
diff --git a/src/xmlreader.cpp b/src/experimental/xmlreader.cpp
index ba7fb3d..ba7fb3d 100644
--- a/src/xmlreader.cpp
+++ b/src/experimental/xmlreader.cpp
diff --git a/src/xmlreader.h b/src/experimental/xmlreader.h
index 7cb44c9..7cb44c9 100644
--- a/src/xmlreader.h
+++ b/src/experimental/xmlreader.h
diff --git a/src/linkmessage.cpp b/src/linkmessage.cpp
deleted file mode 100644
index cd024c0..0000000
--- a/src/linkmessage.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#include "bu/linkmessage.h"
9
10Bu::LinkMessage::LinkMessage( int nNewMsg )
11{
12 nMsg = nNewMsg;
13}
14
15Bu::LinkMessage::~LinkMessage()
16{
17}
18
19/*
20void LinkMessage::setBroadcast( bool bOn )
21{
22 bBroadcast = bOn;
23}
24
25bool LinkMessage::isBroadcast()
26{
27 return bBroadcast;
28}
29
30
31void LinkMessage::setFromID( int id )
32{
33 nFromLinkID = id;
34}
35
36int LinkMessage::getFromID()
37{
38 return nFromLinkID;
39}
40
41void LinkMessage::setToID( int id )
42{
43 nTargetLinkID = id;
44}
45
46int LinkMessage::getToID()
47{
48 return nTargetLinkID;
49}
50*/
diff --git a/src/linkmessage.h b/src/linkmessage.h
deleted file mode 100644
index 69423b3..0000000
--- a/src/linkmessage.h
+++ /dev/null
@@ -1,48 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8/**\file linkmessage.h
9 */
10
11#ifndef BU_LINKMESSAGE_H
12#define BU_LINKMESSAGE_H
13
14namespace Bu
15{
16 /**
17 * A message to be broadcast accross ProgramLinks in a ProgramChain. Generally
18 * one would make a subclass of this in order to transmit more useful
19 * information, but sometimes it isn't necesarry.
20 */
21 class LinkMessage
22 {
23 public:
24 /**
25 * Construct a blank LinkMessage.
26 */
27 LinkMessage() {};
28
29 /**
30 * Deconstruct a LinkMessage.
31 */
32 virtual ~LinkMessage();
33
34 /**
35 * Create a LinkMessage object with a specific message assosiated with it
36 * to start with.
37 *@param nNewMsg The message to use in the Message object.
38 */
39 LinkMessage( int nNewMsg );
40
41 /**
42 * The message contained in the Message object.
43 */
44 int nMsg;
45 };
46}
47
48#endif
diff --git a/src/set.cpp b/src/set.cpp
deleted file mode 100644
index e4e2849..0000000
--- a/src/set.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#include "bu/set.h"
9
10namespace Bu { subExceptionDef( SetException ) }
11
diff --git a/src/set.h b/src/set.h
deleted file mode 100644
index ac8dbd5..0000000
--- a/src/set.h
+++ /dev/null
@@ -1,44 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#ifndef BU_SET_H
9#define BU_SET_H
10
11#include <stddef.h>
12#include <string.h>
13#include <memory>
14#include <iostream>
15#include <list>
16#include <utility>
17#include "bu/exceptionbase.h"
18#include "bu/list.h"
19#include "bu/archive.h"
20
21#define bitsToBytes( n ) (n/32+(n%32>0 ? 1 : 0))
22
23namespace Bu
24{
25 subExceptionDecl( SetException )
26
27 /**
28 *@todo Set should be rewritten, possibly using a b-tree as ordered storage
29 * in the backend. It should use either a b-tree or array for storage and
30 * allow set intersections, unions, etc.
31 *@param key (typename) The datatype of the hashtable keys
32 *@param sizecalc (typename) Functor to compute new table size on rehash
33 *@param keyalloc (typename) Memory allocator for hashtable keys
34 *@param challoc (typename) Byte allocator for bitflags
35 *@ingroup Containers
36 */
37 template<typename key, typename sizecalc, typename keyalloc, typename challoc >
38 class Set
39 {
40 public:
41 };
42}
43
44#endif
diff --git a/src/archival.cpp b/src/stable/archival.cpp
index 687e8a3..687e8a3 100644
--- a/src/archival.cpp
+++ b/src/stable/archival.cpp
diff --git a/src/archival.h b/src/stable/archival.h
index 946167a..946167a 100644
--- a/src/archival.h
+++ b/src/stable/archival.h
diff --git a/src/archive.cpp b/src/stable/archive.cpp
index d300a87..d300a87 100644
--- a/src/archive.cpp
+++ b/src/stable/archive.cpp
diff --git a/src/archive.h b/src/stable/archive.h
index 61474a4..61474a4 100644
--- a/src/archive.h
+++ b/src/stable/archive.h
diff --git a/src/archivebase.cpp b/src/stable/archivebase.cpp
index d00b1a5..d00b1a5 100644
--- a/src/archivebase.cpp
+++ b/src/stable/archivebase.cpp
diff --git a/src/archivebase.h b/src/stable/archivebase.h
index 4745d91..4745d91 100644
--- a/src/archivebase.h
+++ b/src/stable/archivebase.h
diff --git a/src/array.cpp b/src/stable/array.cpp
index b776fed..b776fed 100644
--- a/src/array.cpp
+++ b/src/stable/array.cpp
diff --git a/src/array.h b/src/stable/array.h
index fcd800e..fcd800e 100644
--- a/src/array.h
+++ b/src/stable/array.h
diff --git a/src/atom.cpp b/src/stable/atom.cpp
index 3c77b90..3c77b90 100644
--- a/src/atom.cpp
+++ b/src/stable/atom.cpp
diff --git a/src/atom.h b/src/stable/atom.h
index fd88f2d..fd88f2d 100644
--- a/src/atom.h
+++ b/src/stable/atom.h
diff --git a/src/base64.cpp b/src/stable/base64.cpp
index 4d659f0..4d659f0 100644
--- a/src/base64.cpp
+++ b/src/stable/base64.cpp
diff --git a/src/base64.h b/src/stable/base64.h
index c081ac1..c081ac1 100644
--- a/src/base64.h
+++ b/src/stable/base64.h
diff --git a/src/buffer.cpp b/src/stable/buffer.cpp
index 47fab70..47fab70 100644
--- a/src/buffer.cpp
+++ b/src/stable/buffer.cpp
diff --git a/src/buffer.h b/src/stable/buffer.h
index 91ec9c2..91ec9c2 100644
--- a/src/buffer.h
+++ b/src/stable/buffer.h
diff --git a/src/bzip2.cpp b/src/stable/bzip2.cpp
index ca007b0..ca007b0 100644
--- a/src/bzip2.cpp
+++ b/src/stable/bzip2.cpp
diff --git a/src/bzip2.h b/src/stable/bzip2.h
index 9a8d172..9a8d172 100644
--- a/src/bzip2.h
+++ b/src/stable/bzip2.h
diff --git a/src/client.cpp b/src/stable/client.cpp
index 75f6158..75f6158 100644
--- a/src/client.cpp
+++ b/src/stable/client.cpp
diff --git a/src/client.h b/src/stable/client.h
index 119c2c1..119c2c1 100644
--- a/src/client.h
+++ b/src/stable/client.h
diff --git a/src/clientlink.cpp b/src/stable/clientlink.cpp
index ce8b2cb..ce8b2cb 100644
--- a/src/clientlink.cpp
+++ b/src/stable/clientlink.cpp
diff --git a/src/clientlink.h b/src/stable/clientlink.h
index e4618e7..e4618e7 100644
--- a/src/clientlink.h
+++ b/src/stable/clientlink.h
diff --git a/src/clientlinkfactory.cpp b/src/stable/clientlinkfactory.cpp
index f48e11e..f48e11e 100644
--- a/src/clientlinkfactory.cpp
+++ b/src/stable/clientlinkfactory.cpp
diff --git a/src/clientlinkfactory.h b/src/stable/clientlinkfactory.h
index 21d3363..21d3363 100644
--- a/src/clientlinkfactory.h
+++ b/src/stable/clientlinkfactory.h
diff --git a/src/condition.cpp b/src/stable/condition.cpp
index 2f55ce2..2f55ce2 100644
--- a/src/condition.cpp
+++ b/src/stable/condition.cpp
diff --git a/src/condition.h b/src/stable/condition.h
index 71634f5..71634f5 100644
--- a/src/condition.h
+++ b/src/stable/condition.h
diff --git a/src/conduit.cpp b/src/stable/conduit.cpp
index c9ccdc4..c9ccdc4 100644
--- a/src/conduit.cpp
+++ b/src/stable/conduit.cpp
diff --git a/src/conduit.h b/src/stable/conduit.h
index 9babaaf..9babaaf 100644
--- a/src/conduit.h
+++ b/src/stable/conduit.h
diff --git a/src/crypt.cpp b/src/stable/crypt.cpp
index eb87479..eb87479 100644
--- a/src/crypt.cpp
+++ b/src/stable/crypt.cpp
diff --git a/src/crypt.h b/src/stable/crypt.h
index a94402a..a94402a 100644
--- a/src/crypt.h
+++ b/src/stable/crypt.h
diff --git a/src/cryptohash.cpp b/src/stable/cryptohash.cpp
index ddd293c..ddd293c 100644
--- a/src/cryptohash.cpp
+++ b/src/stable/cryptohash.cpp
diff --git a/src/cryptohash.h b/src/stable/cryptohash.h
index bc5435f..bc5435f 100644
--- a/src/cryptohash.h
+++ b/src/stable/cryptohash.h
diff --git a/src/csvreader.cpp b/src/stable/csvreader.cpp
index 4da7883..4da7883 100644
--- a/src/csvreader.cpp
+++ b/src/stable/csvreader.cpp
diff --git a/src/csvreader.h b/src/stable/csvreader.h
index 2e9e7b0..2e9e7b0 100644
--- a/src/csvreader.h
+++ b/src/stable/csvreader.h
diff --git a/src/csvwriter.cpp b/src/stable/csvwriter.cpp
index d8910aa..d8910aa 100644
--- a/src/csvwriter.cpp
+++ b/src/stable/csvwriter.cpp
diff --git a/src/csvwriter.h b/src/stable/csvwriter.h
index 4291ed5..4291ed5 100644
--- a/src/csvwriter.h
+++ b/src/stable/csvwriter.h
diff --git a/src/deflate.cpp b/src/stable/deflate.cpp
index 704d172..704d172 100644
--- a/src/deflate.cpp
+++ b/src/stable/deflate.cpp
diff --git a/src/deflate.h b/src/stable/deflate.h
index f835cfc..f835cfc 100644
--- a/src/deflate.h
+++ b/src/stable/deflate.h
diff --git a/src/exceptionbase.cpp b/src/stable/exceptionbase.cpp
index 13a98db..13a98db 100644
--- a/src/exceptionbase.cpp
+++ b/src/stable/exceptionbase.cpp
diff --git a/src/exceptionbase.h b/src/stable/exceptionbase.h
index b6ad9ca..b6ad9ca 100644
--- a/src/exceptionbase.h
+++ b/src/stable/exceptionbase.h
diff --git a/src/extratypes.h b/src/stable/extratypes.h
index 656cd6d..656cd6d 100644
--- a/src/extratypes.h
+++ b/src/stable/extratypes.h
diff --git a/src/file.cpp b/src/stable/file.cpp
index 8c8f540..8c8f540 100644
--- a/src/file.cpp
+++ b/src/stable/file.cpp
diff --git a/src/file.h b/src/stable/file.h
index e3225fa..e3225fa 100644
--- a/src/file.h
+++ b/src/stable/file.h
diff --git a/src/filter.cpp b/src/stable/filter.cpp
index 3fe8f0e..3fe8f0e 100644
--- a/src/filter.cpp
+++ b/src/stable/filter.cpp
diff --git a/src/filter.h b/src/stable/filter.h
index 2c57805..2c57805 100644
--- a/src/filter.h
+++ b/src/stable/filter.h
diff --git a/src/fmt.h b/src/stable/fmt.h
index 15d8efc..15d8efc 100644
--- a/src/fmt.h
+++ b/src/stable/fmt.h
diff --git a/src/formatter.cpp b/src/stable/formatter.cpp
index f275d71..f275d71 100644
--- a/src/formatter.cpp
+++ b/src/stable/formatter.cpp
diff --git a/src/formatter.h b/src/stable/formatter.h
index a440ec3..a440ec3 100644
--- a/src/formatter.h
+++ b/src/stable/formatter.h
diff --git a/src/formula.cpp b/src/stable/formula.cpp
index ac435ed..ac435ed 100644
--- a/src/formula.cpp
+++ b/src/stable/formula.cpp
diff --git a/src/formula.h b/src/stable/formula.h
index 687e6c3..687e6c3 100644
--- a/src/formula.h
+++ b/src/stable/formula.h
diff --git a/src/hash.cpp b/src/stable/hash.cpp
index 59572ec..59572ec 100644
--- a/src/hash.cpp
+++ b/src/stable/hash.cpp
diff --git a/src/hash.h b/src/stable/hash.h
index 71aec73..71aec73 100644
--- a/src/hash.h
+++ b/src/stable/hash.h
diff --git a/src/heap.cpp b/src/stable/heap.cpp
index a2ffac2..a2ffac2 100644
--- a/src/heap.cpp
+++ b/src/stable/heap.cpp
diff --git a/src/heap.h b/src/stable/heap.h
index afe8be6..afe8be6 100644
--- a/src/heap.h
+++ b/src/stable/heap.h
diff --git a/src/hex.cpp b/src/stable/hex.cpp
index 2a04c6f..2a04c6f 100644
--- a/src/hex.cpp
+++ b/src/stable/hex.cpp
diff --git a/src/hex.h b/src/stable/hex.h
index 3595fae..3595fae 100644
--- a/src/hex.h
+++ b/src/stable/hex.h
diff --git a/src/list.cpp b/src/stable/list.cpp
index e05765e..e05765e 100644
--- a/src/list.cpp
+++ b/src/stable/list.cpp
diff --git a/src/list.h b/src/stable/list.h
index 21ba0b5..21ba0b5 100644
--- a/src/list.h
+++ b/src/stable/list.h
diff --git a/src/logger.cpp b/src/stable/logger.cpp
index 8e46390..8e46390 100644
--- a/src/logger.cpp
+++ b/src/stable/logger.cpp
diff --git a/src/logger.h b/src/stable/logger.h
index 5c1352b..5c1352b 100644
--- a/src/logger.h
+++ b/src/stable/logger.h
diff --git a/src/lzma.cpp b/src/stable/lzma.cpp
index 6ed0806..6ed0806 100644
--- a/src/lzma.cpp
+++ b/src/stable/lzma.cpp
diff --git a/src/lzma.h b/src/stable/lzma.h
index 090da8d..090da8d 100644
--- a/src/lzma.h
+++ b/src/stable/lzma.h
diff --git a/src/md5.cpp b/src/stable/md5.cpp
index 15cba17..15cba17 100644
--- a/src/md5.cpp
+++ b/src/stable/md5.cpp
diff --git a/src/md5.h b/src/stable/md5.h
index b7597fd..b7597fd 100644
--- a/src/md5.h
+++ b/src/stable/md5.h
diff --git a/src/membuf.cpp b/src/stable/membuf.cpp
index 14d0d58..14d0d58 100644
--- a/src/membuf.cpp
+++ b/src/stable/membuf.cpp
diff --git a/src/membuf.h b/src/stable/membuf.h
index 544dc83..544dc83 100644
--- a/src/membuf.h
+++ b/src/stable/membuf.h
diff --git a/src/minicron.cpp b/src/stable/minicron.cpp
index 95cf66b..95cf66b 100644
--- a/src/minicron.cpp
+++ b/src/stable/minicron.cpp
diff --git a/src/minicron.h b/src/stable/minicron.h
index 0d1cb62..0d1cb62 100644
--- a/src/minicron.h
+++ b/src/stable/minicron.h
diff --git a/src/multiserver.cpp b/src/stable/multiserver.cpp
index bd598ed..bd598ed 100644
--- a/src/multiserver.cpp
+++ b/src/stable/multiserver.cpp
diff --git a/src/multiserver.h b/src/stable/multiserver.h
index e3b3ec3..e3b3ec3 100644
--- a/src/multiserver.h
+++ b/src/stable/multiserver.h
diff --git a/src/mutex.cpp b/src/stable/mutex.cpp
index dbaaece..dbaaece 100644
--- a/src/mutex.cpp
+++ b/src/stable/mutex.cpp
diff --git a/src/mutex.h b/src/stable/mutex.h
index b5c8b7a..b5c8b7a 100644
--- a/src/mutex.h
+++ b/src/stable/mutex.h
diff --git a/src/mutexlocker.cpp b/src/stable/mutexlocker.cpp
index 90b730e..90b730e 100644
--- a/src/mutexlocker.cpp
+++ b/src/stable/mutexlocker.cpp
diff --git a/src/mutexlocker.h b/src/stable/mutexlocker.h
index 7c3c97e..7c3c97e 100644
--- a/src/mutexlocker.h
+++ b/src/stable/mutexlocker.h
diff --git a/src/nullstream.cpp b/src/stable/nullstream.cpp
index 9552cc5..9552cc5 100644
--- a/src/nullstream.cpp
+++ b/src/stable/nullstream.cpp
diff --git a/src/nullstream.h b/src/stable/nullstream.h
index 9b75332..9b75332 100644
--- a/src/nullstream.h
+++ b/src/stable/nullstream.h
diff --git a/src/optparser.cpp b/src/stable/optparser.cpp
index 050232c..050232c 100644
--- a/src/optparser.cpp
+++ b/src/stable/optparser.cpp
diff --git a/src/optparser.h b/src/stable/optparser.h
index f2fe531..f2fe531 100644
--- a/src/optparser.h
+++ b/src/stable/optparser.h
diff --git a/src/pearsonhash.cpp b/src/stable/pearsonhash.cpp
index d753d20..d753d20 100644
--- a/src/pearsonhash.cpp
+++ b/src/stable/pearsonhash.cpp
diff --git a/src/pearsonhash.h b/src/stable/pearsonhash.h
index 2a9cfa7..2a9cfa7 100644
--- a/src/pearsonhash.h
+++ b/src/stable/pearsonhash.h
diff --git a/src/plugger.cpp b/src/stable/plugger.cpp
index fb6850a..fb6850a 100644
--- a/src/plugger.cpp
+++ b/src/stable/plugger.cpp
diff --git a/src/plugger.h b/src/stable/plugger.h
index c22f964..c22f964 100644
--- a/src/plugger.h
+++ b/src/stable/plugger.h
diff --git a/src/process.cpp b/src/stable/process.cpp
index a98936e..a98936e 100644
--- a/src/process.cpp
+++ b/src/stable/process.cpp
diff --git a/src/process.h b/src/stable/process.h
index d6282e0..d6282e0 100644
--- a/src/process.h
+++ b/src/stable/process.h
diff --git a/src/protocol.cpp b/src/stable/protocol.cpp
index 2489d05..2489d05 100644
--- a/src/protocol.cpp
+++ b/src/stable/protocol.cpp
diff --git a/src/protocol.h b/src/stable/protocol.h
index 0058723..0058723 100644
--- a/src/protocol.h
+++ b/src/stable/protocol.h
diff --git a/src/protocolhttp.cpp b/src/stable/protocolhttp.cpp
index eaee9d0..eaee9d0 100644
--- a/src/protocolhttp.cpp
+++ b/src/stable/protocolhttp.cpp
diff --git a/src/protocolhttp.h b/src/stable/protocolhttp.h
index 153a00d..153a00d 100644
--- a/src/protocolhttp.h
+++ b/src/stable/protocolhttp.h
diff --git a/src/protocoltelnet.cpp b/src/stable/protocoltelnet.cpp
index 7e37cca..7e37cca 100644
--- a/src/protocoltelnet.cpp
+++ b/src/stable/protocoltelnet.cpp
diff --git a/src/protocoltelnet.h b/src/stable/protocoltelnet.h
index 74d6478..74d6478 100644
--- a/src/protocoltelnet.h
+++ b/src/stable/protocoltelnet.h
diff --git a/src/queue.cpp b/src/stable/queue.cpp
index 9d6edac..9d6edac 100644
--- a/src/queue.cpp
+++ b/src/stable/queue.cpp
diff --git a/src/queue.h b/src/stable/queue.h
index e5d9b5f..e5d9b5f 100644
--- a/src/queue.h
+++ b/src/stable/queue.h
diff --git a/src/queuebuf.cpp b/src/stable/queuebuf.cpp
index 98d8ee0..98d8ee0 100644
--- a/src/queuebuf.cpp
+++ b/src/stable/queuebuf.cpp
diff --git a/src/queuebuf.h b/src/stable/queuebuf.h
index 929ca35..929ca35 100644
--- a/src/queuebuf.h
+++ b/src/stable/queuebuf.h
diff --git a/src/ringbuffer.cpp b/src/stable/ringbuffer.cpp
index 99b1b1c..99b1b1c 100644
--- a/src/ringbuffer.cpp
+++ b/src/stable/ringbuffer.cpp
diff --git a/src/ringbuffer.h b/src/stable/ringbuffer.h
index f43773d..f43773d 100644
--- a/src/ringbuffer.h
+++ b/src/stable/ringbuffer.h
diff --git a/src/server.cpp b/src/stable/server.cpp
index 1972a3f..1972a3f 100644
--- a/src/server.cpp
+++ b/src/stable/server.cpp
diff --git a/src/server.h b/src/stable/server.h
index c59543a..c59543a 100644
--- a/src/server.h
+++ b/src/stable/server.h
diff --git a/src/sha1.cpp b/src/stable/sha1.cpp
index bfe4c5a..bfe4c5a 100644
--- a/src/sha1.cpp
+++ b/src/stable/sha1.cpp
diff --git a/src/sha1.h b/src/stable/sha1.h
index 1b7f6df..1b7f6df 100644
--- a/src/sha1.h
+++ b/src/stable/sha1.h
diff --git a/src/sharedcore.cpp b/src/stable/sharedcore.cpp
index 75f92eb..75f92eb 100644
--- a/src/sharedcore.cpp
+++ b/src/stable/sharedcore.cpp
diff --git a/src/sharedcore.h b/src/stable/sharedcore.h
index bf9395c..bf9395c 100644
--- a/src/sharedcore.h
+++ b/src/stable/sharedcore.h
diff --git a/src/signals.cpp b/src/stable/signals.cpp
index ffbc7ba..ffbc7ba 100644
--- a/src/signals.cpp
+++ b/src/stable/signals.cpp
diff --git a/src/singleton.h b/src/stable/singleton.h
index 13db01b..13db01b 100644
--- a/src/singleton.h
+++ b/src/stable/singleton.h
diff --git a/src/sio.cpp b/src/stable/sio.cpp
index 5f8e234..5f8e234 100644
--- a/src/sio.cpp
+++ b/src/stable/sio.cpp
diff --git a/src/sio.h b/src/stable/sio.h
index 9f2cd05..9f2cd05 100644
--- a/src/sio.h
+++ b/src/stable/sio.h
diff --git a/src/sptr.cpp b/src/stable/sptr.cpp
index ea21e3b..ea21e3b 100644
--- a/src/sptr.cpp
+++ b/src/stable/sptr.cpp
diff --git a/src/sptr.h b/src/stable/sptr.h
index 4eb5a52..4eb5a52 100644
--- a/src/sptr.h
+++ b/src/stable/sptr.h
diff --git a/src/stack.cpp b/src/stable/stack.cpp
index 73352d3..73352d3 100644
--- a/src/stack.cpp
+++ b/src/stable/stack.cpp
diff --git a/src/stack.h b/src/stable/stack.h
index 0d1ed3c..0d1ed3c 100644
--- a/src/stack.h
+++ b/src/stable/stack.h
diff --git a/src/staticmembuf.cpp b/src/stable/staticmembuf.cpp
index 74fae31..74fae31 100644
--- a/src/staticmembuf.cpp
+++ b/src/stable/staticmembuf.cpp
diff --git a/src/staticmembuf.h b/src/stable/staticmembuf.h
index f168de3..f168de3 100644
--- a/src/staticmembuf.h
+++ b/src/stable/staticmembuf.h
diff --git a/src/stdstream.cpp b/src/stable/stdstream.cpp
index b1d5d61..b1d5d61 100644
--- a/src/stdstream.cpp
+++ b/src/stable/stdstream.cpp
diff --git a/src/stdstream.h b/src/stable/stdstream.h
index ff6c774..ff6c774 100644
--- a/src/stdstream.h
+++ b/src/stable/stdstream.h
diff --git a/src/stream.cpp b/src/stable/stream.cpp
index 58641cc..58641cc 100644
--- a/src/stream.cpp
+++ b/src/stable/stream.cpp
diff --git a/src/stream.h b/src/stable/stream.h
index b35f6ee..b35f6ee 100644
--- a/src/stream.h
+++ b/src/stable/stream.h
diff --git a/src/streamstack.cpp b/src/stable/streamstack.cpp
index d45306d..d45306d 100644
--- a/src/streamstack.cpp
+++ b/src/stable/streamstack.cpp
diff --git a/src/streamstack.h b/src/stable/streamstack.h
index 846935b..846935b 100644
--- a/src/streamstack.h
+++ b/src/stable/streamstack.h
diff --git a/src/strfilter.h b/src/stable/strfilter.h
index 8da0a3f..8da0a3f 100644
--- a/src/strfilter.h
+++ b/src/stable/strfilter.h
diff --git a/src/string.cpp b/src/stable/string.cpp
index 1a9018b..1a9018b 100644
--- a/src/string.cpp
+++ b/src/stable/string.cpp
diff --git a/src/string.h b/src/stable/string.h
index a9006d1..a9006d1 100644
--- a/src/string.h
+++ b/src/stable/string.h
diff --git a/src/substream.cpp b/src/stable/substream.cpp
index c201752..c201752 100644
--- a/src/substream.cpp
+++ b/src/stable/substream.cpp
diff --git a/src/substream.h b/src/stable/substream.h
index 1db4d6c..1db4d6c 100644
--- a/src/substream.h
+++ b/src/stable/substream.h
diff --git a/src/synchroatom.h b/src/stable/synchroatom.h
index fb02054..fb02054 100644
--- a/src/synchroatom.h
+++ b/src/stable/synchroatom.h
diff --git a/src/synchrocounter.cpp b/src/stable/synchrocounter.cpp
index 48bbe21..48bbe21 100644
--- a/src/synchrocounter.cpp
+++ b/src/stable/synchrocounter.cpp
diff --git a/src/synchrocounter.h b/src/stable/synchrocounter.h
index d201bee..d201bee 100644
--- a/src/synchrocounter.h
+++ b/src/stable/synchrocounter.h
diff --git a/src/synchroheap.cpp b/src/stable/synchroheap.cpp
index 5dcce33..5dcce33 100644
--- a/src/synchroheap.cpp
+++ b/src/stable/synchroheap.cpp
diff --git a/src/synchroheap.h b/src/stable/synchroheap.h
index 4dd898d..4dd898d 100644
--- a/src/synchroheap.h
+++ b/src/stable/synchroheap.h
diff --git a/src/synchroqueue.h b/src/stable/synchroqueue.h
index 79d5e49..79d5e49 100644
--- a/src/synchroqueue.h
+++ b/src/stable/synchroqueue.h
diff --git a/src/taf.h b/src/stable/taf.h
index 951f80f..951f80f 100644
--- a/src/taf.h
+++ b/src/stable/taf.h
diff --git a/src/tafcomment.cpp b/src/stable/tafcomment.cpp
index c7096ca..c7096ca 100644
--- a/src/tafcomment.cpp
+++ b/src/stable/tafcomment.cpp
diff --git a/src/tafcomment.h b/src/stable/tafcomment.h
index 4efd548..4efd548 100644
--- a/src/tafcomment.h
+++ b/src/stable/tafcomment.h
diff --git a/src/tafgroup.cpp b/src/stable/tafgroup.cpp
index ee180c3..ee180c3 100644
--- a/src/tafgroup.cpp
+++ b/src/stable/tafgroup.cpp
diff --git a/src/tafgroup.h b/src/stable/tafgroup.h
index 119e827..119e827 100644
--- a/src/tafgroup.h
+++ b/src/stable/tafgroup.h
diff --git a/src/tafnode.cpp b/src/stable/tafnode.cpp
index 0757a46..0757a46 100644
--- a/src/tafnode.cpp
+++ b/src/stable/tafnode.cpp
diff --git a/src/tafnode.h b/src/stable/tafnode.h
index d7a9159..d7a9159 100644
--- a/src/tafnode.h
+++ b/src/stable/tafnode.h
diff --git a/src/tafproperty.cpp b/src/stable/tafproperty.cpp
index 4ef5c24..4ef5c24 100644
--- a/src/tafproperty.cpp
+++ b/src/stable/tafproperty.cpp
diff --git a/src/tafproperty.h b/src/stable/tafproperty.h
index 7091de5..7091de5 100644
--- a/src/tafproperty.h
+++ b/src/stable/tafproperty.h
diff --git a/src/tafreader.cpp b/src/stable/tafreader.cpp
index 6708c8c..6708c8c 100644
--- a/src/tafreader.cpp
+++ b/src/stable/tafreader.cpp
diff --git a/src/tafreader.h b/src/stable/tafreader.h
index 10ebfc0..10ebfc0 100644
--- a/src/tafreader.h
+++ b/src/stable/tafreader.h
diff --git a/src/tafwriter.cpp b/src/stable/tafwriter.cpp
index b24bd1e..b24bd1e 100644
--- a/src/tafwriter.cpp
+++ b/src/stable/tafwriter.cpp
diff --git a/src/tafwriter.h b/src/stable/tafwriter.h
index 3fd71de..3fd71de 100644
--- a/src/tafwriter.h
+++ b/src/stable/tafwriter.h
diff --git a/src/tcpserversocket.cpp b/src/stable/tcpserversocket.cpp
index a2fe6b4..a2fe6b4 100644
--- a/src/tcpserversocket.cpp
+++ b/src/stable/tcpserversocket.cpp
diff --git a/src/tcpserversocket.h b/src/stable/tcpserversocket.h
index efb7287..efb7287 100644
--- a/src/tcpserversocket.h
+++ b/src/stable/tcpserversocket.h
diff --git a/src/tcpsocket.cpp b/src/stable/tcpsocket.cpp
index b9b215c..b9b215c 100644
--- a/src/tcpsocket.cpp
+++ b/src/stable/tcpsocket.cpp
diff --git a/src/tcpsocket.h b/src/stable/tcpsocket.h
index 52218bd..52218bd 100644
--- a/src/tcpsocket.h
+++ b/src/stable/tcpsocket.h
diff --git a/src/thread.cpp b/src/stable/thread.cpp
index e4563a2..e4563a2 100644
--- a/src/thread.cpp
+++ b/src/stable/thread.cpp
diff --git a/src/thread.h b/src/stable/thread.h
index 70e6f5f..70e6f5f 100644
--- a/src/thread.h
+++ b/src/stable/thread.h
diff --git a/src/trace.cpp b/src/stable/trace.cpp
index 03181e9..03181e9 100644
--- a/src/trace.cpp
+++ b/src/stable/trace.cpp
diff --git a/src/trace.h b/src/stable/trace.h
index 51dfb8e..51dfb8e 100644
--- a/src/trace.h
+++ b/src/stable/trace.h
diff --git a/src/unitsuite.cpp b/src/stable/unitsuite.cpp
index db930a4..db930a4 100644
--- a/src/unitsuite.cpp
+++ b/src/stable/unitsuite.cpp
diff --git a/src/unitsuite.h b/src/stable/unitsuite.h
index 2250a4d..2250a4d 100644
--- a/src/unitsuite.h
+++ b/src/stable/unitsuite.h
diff --git a/src/util.cpp b/src/stable/util.cpp
index 6983dfd..6983dfd 100644
--- a/src/util.cpp
+++ b/src/stable/util.cpp
diff --git a/src/util.h b/src/stable/util.h
index 691184d..691184d 100644
--- a/src/util.h
+++ b/src/stable/util.h
diff --git a/src/variant.cpp b/src/stable/variant.cpp
index 5cdaa5b..5cdaa5b 100644
--- a/src/variant.cpp
+++ b/src/stable/variant.cpp
diff --git a/src/variant.h b/src/stable/variant.h
index 45e3339..45e3339 100644
--- a/src/variant.h
+++ b/src/stable/variant.h
diff --git a/src/bitstring.cpp b/src/unstable/bitstring.cpp
index bdd1bc2..bdd1bc2 100644
--- a/src/bitstring.cpp
+++ b/src/unstable/bitstring.cpp
diff --git a/src/bitstring.h b/src/unstable/bitstring.h
index 7a8fc48..7a8fc48 100644
--- a/src/bitstring.h
+++ b/src/unstable/bitstring.h
diff --git a/src/fifo.cpp b/src/unstable/fifo.cpp
index b0cf1c7..b0cf1c7 100644
--- a/src/fifo.cpp
+++ b/src/unstable/fifo.cpp
diff --git a/src/fifo.h b/src/unstable/fifo.h
index 18a70ba..18a70ba 100644
--- a/src/fifo.h
+++ b/src/unstable/fifo.h
diff --git a/src/itoserver.cpp b/src/unstable/itoserver.cpp
index c7165e2..c7165e2 100644
--- a/src/itoserver.cpp
+++ b/src/unstable/itoserver.cpp
diff --git a/src/itoserver.h b/src/unstable/itoserver.h
index b1f5479..81db4e2 100644
--- a/src/itoserver.h
+++ b/src/unstable/itoserver.h
@@ -19,7 +19,7 @@
19#include "bu/thread.h" 19#include "bu/thread.h"
20#include "bu/mutex.h" 20#include "bu/mutex.h"
21#include "bu/synchroqueue.h" 21#include "bu/synchroqueue.h"
22#include "bu/set.h" 22#include "bu/hash.h"
23 23
24#include "bu/clientlink.h" 24#include "bu/clientlink.h"
25#include "bu/clientlinkfactory.h" 25#include "bu/clientlinkfactory.h"
diff --git a/src/minimacro.cpp b/src/unstable/minimacro.cpp
index b6fd6a8..b6fd6a8 100644
--- a/src/minimacro.cpp
+++ b/src/unstable/minimacro.cpp
diff --git a/src/minimacro.h b/src/unstable/minimacro.h
index b6c7c13..b6c7c13 100644
--- a/src/minimacro.h
+++ b/src/unstable/minimacro.h
diff --git a/src/myriad.cpp b/src/unstable/myriad.cpp
index de44930..de44930 100644
--- a/src/myriad.cpp
+++ b/src/unstable/myriad.cpp
diff --git a/src/myriad.h b/src/unstable/myriad.h
index 3382ab5..3382ab5 100644
--- a/src/myriad.h
+++ b/src/unstable/myriad.h
diff --git a/src/myriadfs.cpp b/src/unstable/myriadfs.cpp
index 6884a31..6884a31 100644
--- a/src/myriadfs.cpp
+++ b/src/unstable/myriadfs.cpp
diff --git a/src/myriadfs.h b/src/unstable/myriadfs.h
index cc9961a..cc9961a 100644
--- a/src/myriadfs.h
+++ b/src/unstable/myriadfs.h
diff --git a/src/myriadstream.cpp b/src/unstable/myriadstream.cpp
index e6e94bc..e6e94bc 100644
--- a/src/myriadstream.cpp
+++ b/src/unstable/myriadstream.cpp
diff --git a/src/myriadstream.h b/src/unstable/myriadstream.h
index fdad669..fdad669 100644
--- a/src/myriadstream.h
+++ b/src/unstable/myriadstream.h
diff --git a/src/newline.cpp b/src/unstable/newline.cpp
index ffc9eb0..ffc9eb0 100644
--- a/src/newline.cpp
+++ b/src/unstable/newline.cpp
diff --git a/src/newline.h b/src/unstable/newline.h
index afe0a84..afe0a84 100644
--- a/src/newline.h
+++ b/src/unstable/newline.h
diff --git a/src/udpsocket.cpp b/src/unstable/udpsocket.cpp
index 702840a..702840a 100644
--- a/src/udpsocket.cpp
+++ b/src/unstable/udpsocket.cpp
diff --git a/src/udpsocket.h b/src/unstable/udpsocket.h
index f228f08..f228f08 100644
--- a/src/udpsocket.h
+++ b/src/unstable/udpsocket.h
diff --git a/src/url.cpp b/src/unstable/url.cpp
index 7b4a48e..7b4a48e 100644
--- a/src/url.cpp
+++ b/src/unstable/url.cpp
diff --git a/src/url.h b/src/unstable/url.h
index d751578..d751578 100644
--- a/src/url.h
+++ b/src/unstable/url.h
diff --git a/src/urn.cpp b/src/unstable/urn.cpp
index 106fb64..106fb64 100644
--- a/src/urn.cpp
+++ b/src/unstable/urn.cpp
diff --git a/src/urn.h b/src/unstable/urn.h
index 106fb64..106fb64 100644
--- a/src/urn.h
+++ b/src/unstable/urn.h
diff --git a/src/utfstring.cpp b/src/unstable/utfstring.cpp
index 19d3ddc..19d3ddc 100644
--- a/src/utfstring.cpp
+++ b/src/unstable/utfstring.cpp
diff --git a/src/utfstring.h b/src/unstable/utfstring.h
index 477e272..477e272 100644
--- a/src/utfstring.h
+++ b/src/unstable/utfstring.h
diff --git a/src/uuid.cpp b/src/unstable/uuid.cpp
index 088450b..088450b 100644
--- a/src/uuid.cpp
+++ b/src/unstable/uuid.cpp
diff --git a/src/uuid.h b/src/unstable/uuid.h
index 261f653..261f653 100644
--- a/src/uuid.h
+++ b/src/unstable/uuid.h
diff --git a/bnftest b/tests/bnftest
index 7e61b1a..7e61b1a 100644
--- a/bnftest
+++ b/tests/bnftest
diff --git a/bnftest.2 b/tests/bnftest.2
index 229943b..229943b 100644
--- a/bnftest.2
+++ b/tests/bnftest.2
diff --git a/test.utf16 b/tests/test.utf16
index 86a63c3..86a63c3 100644
--- a/test.utf16
+++ b/tests/test.utf16
diff --git a/test.utf16be b/tests/test.utf16be
index 136ad1a..136ad1a 100644
--- a/test.utf16be
+++ b/tests/test.utf16be
diff --git a/test.utf16le b/tests/test.utf16le
index 9f610d6..9f610d6 100644
--- a/test.utf16le
+++ b/tests/test.utf16le
diff --git a/utf16.cpp b/utf16.cpp
deleted file mode 100644
index eedb521..0000000
--- a/utf16.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
1#include <stdio.h>
2#include <stdint.h>
3
4void bitprint( uint16_t u )
5{
6 for( int i = 15; i >= 0; i-- )
7 printf("%c", (u&(1<<i))?'1':'0');
8 printf("\n");
9}
10
11void bitprint( uint32_t u )
12{
13 for( int i = 31; i >= 0; i-- )
14 printf("%c", (u&(1<<i))?'1':'0');
15 printf("\n");
16}
17
18void utoutf16( uint32_t in, uint16_t &outHi, uint16_t &outLo )
19{
20 outHi = (((in-0x10000)>>10)&0x3FF)| 0xD800u;
21 outLo = ((in-0x10000)&0x3FF)| 0xDC00u;
22 printf("0x%X == 0x%X, 0x%X\n", in, outHi, outLo );
23}
24
25int32_t utf16tou( uint16_t hi, uint16_t lo )
26{
27 return (((uint32_t)hi&0x3FF)<<10 | lo&0x3FF)+0x10000;
28}
29
30int main()
31{
32 bitprint( 0xD800u );
33 bitprint( 0xDC00u );
34 uint16_t hi, lo;
35 utoutf16( 0x1D11E, hi, lo ); // Cat face with wry smile
36 utoutf16( 0x10FFFD, hi, lo ); // Cat face with wry smile
37 utoutf16( 0x1F63C, hi, lo ); // Cat face with wry smile
38 bitprint( hi );
39 bitprint( lo );
40 printf("0x%X\n", utf16tou( hi, lo ) );
41 return 0;
42}