aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-22 11:53:26 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-22 11:53:26 +0000
commitd9a610d5d7c6d5c59f7c75385dcc9767c06bd5c3 (patch)
tree0e8e19c935735b4ab2cd2e6b884e70a451331ed3
parent171caf7cfe0ef1baf0bab83d9efbbfde8d672562 (diff)
downloadgnunet-d9a610d5d7c6d5c59f7c75385dcc9767c06bd5c3.tar.gz
gnunet-d9a610d5d7c6d5c59f7c75385dcc9767c06bd5c3.zip
moving block plugins to respective subsystem
-rw-r--r--TODO18
-rw-r--r--src/block/Makefile.am32
-rw-r--r--src/dht/Makefile.am18
-rw-r--r--src/dht/plugin_block_dht.c (renamed from src/block/plugin_block_dht.c)0
-rw-r--r--src/fs/Makefile.am18
-rw-r--r--src/fs/plugin_block_fs.c (renamed from src/block/plugin_block_fs.c)0
-rw-r--r--src/vpn/Makefile.am14
-rw-r--r--src/vpn/plugin_block_dns.c (renamed from src/block/plugin_block_dns.c)0
8 files changed, 55 insertions, 45 deletions
diff --git a/TODO b/TODO
index 3607193e3..3521304e3 100644
--- a/TODO
+++ b/TODO
@@ -1,22 +1,12 @@
10.9.0: 10.9.0:
2* GNUNET-GTK: [CG]
3 - provide context menus to allow aborts of downloads/uploads
4 - provide way to handle errors (search, download, publish errors)
5* new webpage: 2* new webpage:
6 - write chapter on DHT/block [Nate] 3 - write chapter on DHT/block [Nate]
7 - make a NICE download page
8* big code review 4* big code review
9* Determine RC bugs and fix those (release should have no known real bugs) 5* Determine RC bugs and fix those (release should have no known real bugs)
10* Transport: 6* Transport:
11 - When receiving SESSION_CONNECT: actually consider switching session 7 - When receiving SESSION_CONNECT: actually consider switching session
12 (test this!) 8 (test this!)
13* FS [CG] 9* FS [CG]
14 - implement multi-peer FS performance tests + gauger them!
15 + insert
16 + download
17 + search
18* blocks:
19 + should block plugins live in block/ or with fs/dht/vpn?
20 10
210.9.1: 110.9.1:
22* TRANSPORT: [MW] 12* TRANSPORT: [MW]
@@ -41,8 +31,10 @@
41 - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009) 31 - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
42 - use different queue prioritization for probe-downloads vs. normal downloads 32 - use different queue prioritization for probe-downloads vs. normal downloads
43 - re-implement gnunet-auto-share 33 - re-implement gnunet-auto-share
44 - implement 'GNUNET_FS_file_information_create_from_directory', avoiding 34 - implement multi-peer FS performance tests + gauger them!
45 code duplication with gnunet-gtk's similar code (!) 35 + insert
36 + download
37 + search
46* GNUNET-GTK: [CG] 38* GNUNET-GTK: [CG]
47 - add tool bar 39 - add tool bar
48 - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...) 40 - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
@@ -56,6 +48,8 @@
56 + normalize keywords (edit subdialog) 48 + normalize keywords (edit subdialog)
57 - implement download by URI dialog; figure out where to display those downloads! 49 - implement download by URI dialog; figure out where to display those downloads!
58 - add combo box to select desired mime type for search 50 - add combo box to select desired mime type for search
51 - provide context menus to allow aborts of downloads/uploads
52 - provide way to handle errors (search, download, publish errors)
59* ARM: [CG] 53* ARM: [CG]
60 - better tracking of which config changes actually need to cause process restarts by ARM. 54 - better tracking of which config changes actually need to cause process restarts by ARM.
61 - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?) 55 - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
diff --git a/src/block/Makefile.am b/src/block/Makefile.am
index cfbcb797f..39de6edf0 100644
--- a/src/block/Makefile.am
+++ b/src/block/Makefile.am
@@ -13,41 +13,9 @@ endif
13lib_LTLIBRARIES = libgnunetblock.la 13lib_LTLIBRARIES = libgnunetblock.la
14 14
15plugin_LTLIBRARIES = \ 15plugin_LTLIBRARIES = \
16 libgnunet_plugin_block_dht.la \
17 libgnunet_plugin_block_fs.la \
18 libgnunet_plugin_block_template.la \ 16 libgnunet_plugin_block_template.la \
19 libgnunet_plugin_block_dns.la \
20 libgnunet_plugin_block_test.la 17 libgnunet_plugin_block_test.la
21 18
22libgnunet_plugin_block_dht_la_SOURCES = \
23 plugin_block_dht.c
24libgnunet_plugin_block_dht_la_LIBADD = \
25 $(top_builddir)/src/hello/libgnunethello.la \
26 $(top_builddir)/src/block/libgnunetblock.la \
27 $(top_builddir)/src/util/libgnunetutil.la
28libgnunet_plugin_block_dht_la_LDFLAGS = \
29 $(GN_PLUGIN_LDFLAGS)
30libgnunet_plugin_block_dht_la_DEPENDENCIES = \
31 libgnunetblock.la
32
33
34libgnunet_plugin_block_fs_la_SOURCES = \
35 plugin_block_fs.c
36libgnunet_plugin_block_fs_la_LIBADD = \
37 $(top_builddir)/src/block/libgnunetblock.la \
38 $(top_builddir)/src/util/libgnunetutil.la
39libgnunet_plugin_block_fs_la_LDFLAGS = \
40 $(GN_PLUGIN_LDFLAGS)
41libgnunet_plugin_block_fs_la_DEPENDENCIES = \
42 libgnunetblock.la
43
44
45libgnunet_plugin_block_dns_la_SOURCES = \
46 plugin_block_dns.c
47libgnunet_plugin_block_dns_la_LIBADD = \
48 $(top_builddir)/src/util/libgnunetutil.la
49libgnunet_plugin_block_dns_la_LDFLAGS = \
50 $(GN_PLUGIN_LDFLAGS)
51 19
52libgnunet_plugin_block_template_la_SOURCES = \ 20libgnunet_plugin_block_template_la_SOURCES = \
53 plugin_block_template.c 21 plugin_block_template.c
diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am
index ad1d05d25..b2bbf5897 100644
--- a/src/dht/Makefile.am
+++ b/src/dht/Makefile.am
@@ -22,7 +22,6 @@ endif
22lib_LTLIBRARIES = \ 22lib_LTLIBRARIES = \
23 libgnunetdht.la 23 libgnunetdht.la
24 24
25
26libgnunetdht_la_SOURCES = \ 25libgnunetdht_la_SOURCES = \
27 dht_api.c dht.h 26 dht_api.c dht.h
28libgnunetdht_la_LIBADD = \ 27libgnunetdht_la_LIBADD = \
@@ -32,6 +31,23 @@ libgnunetdht_la_LDFLAGS = \
32 $(GN_LIB_LDFLAGS) $(WINFLAGS) \ 31 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
33 -version-info 0:0:0 32 -version-info 0:0:0
34 33
34
35plugin_LTLIBRARIES = \
36 libgnunet_plugin_block_dht.la
37
38libgnunet_plugin_block_dht_la_SOURCES = \
39 plugin_block_dht.c
40libgnunet_plugin_block_dht_la_LIBADD = \
41 $(top_builddir)/src/hello/libgnunethello.la \
42 $(top_builddir)/src/block/libgnunetblock.la \
43 $(top_builddir)/src/util/libgnunetutil.la
44libgnunet_plugin_block_dht_la_LDFLAGS = \
45 $(GN_PLUGIN_LDFLAGS)
46libgnunet_plugin_block_dht_la_DEPENDENCIES = \
47 $(top_builddir)/src/block/libgnunetblock.la
48
49
50
35bin_PROGRAMS = \ 51bin_PROGRAMS = \
36 gnunet-service-dht \ 52 gnunet-service-dht \
37 gnunet-dht-get \ 53 gnunet-dht-get \
diff --git a/src/block/plugin_block_dht.c b/src/dht/plugin_block_dht.c
index f574e6d06..f574e6d06 100644
--- a/src/block/plugin_block_dht.c
+++ b/src/dht/plugin_block_dht.c
diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am
index b1f15afa3..22201b45a 100644
--- a/src/fs/Makefile.am
+++ b/src/fs/Makefile.am
@@ -14,9 +14,14 @@ pkgcfgdir= $(pkgdatadir)/config.d/
14dist_pkgcfg_DATA = \ 14dist_pkgcfg_DATA = \
15 fs.conf 15 fs.conf
16 16
17plugindir = $(libdir)/gnunet
18
17 19
18lib_LTLIBRARIES = libgnunetfs.la 20lib_LTLIBRARIES = libgnunetfs.la
19 21
22plugin_LTLIBRARIES = \
23 libgnunet_plugin_block_fs.la
24
20noinst_LIBRARIES = libgnunetfstest.a 25noinst_LIBRARIES = libgnunetfstest.a
21 26
22libgnunetfs_la_SOURCES = \ 27libgnunetfs_la_SOURCES = \
@@ -151,6 +156,19 @@ gnunet_unindex_LDADD = \
151gnunet_unindex_DEPENDENCIES = \ 156gnunet_unindex_DEPENDENCIES = \
152 libgnunetfs.la 157 libgnunetfs.la
153 158
159
160libgnunet_plugin_block_fs_la_SOURCES = \
161 plugin_block_fs.c
162libgnunet_plugin_block_fs_la_LIBADD = \
163 $(top_builddir)/src/block/libgnunetblock.la \
164 $(top_builddir)/src/util/libgnunetutil.la
165libgnunet_plugin_block_fs_la_LDFLAGS = \
166 $(GN_PLUGIN_LDFLAGS)
167libgnunet_plugin_block_fs_la_DEPENDENCIES = \
168 $(top_builddir)/src/block/libgnunetblock.la
169
170
171
154if HAVE_BENCHMARKS 172if HAVE_BENCHMARKS
155 FS_BENCHMARKS = \ 173 FS_BENCHMARKS = \
156 perf_gnunet_service_fs_p2p \ 174 perf_gnunet_service_fs_p2p \
diff --git a/src/block/plugin_block_fs.c b/src/fs/plugin_block_fs.c
index c1b4ad7c8..c1b4ad7c8 100644
--- a/src/block/plugin_block_fs.c
+++ b/src/fs/plugin_block_fs.c
diff --git a/src/vpn/Makefile.am b/src/vpn/Makefile.am
index c6b390aca..e69c5643e 100644
--- a/src/vpn/Makefile.am
+++ b/src/vpn/Makefile.am
@@ -10,6 +10,8 @@ endif
10 10
11pkgcfgdir= $(pkgdatadir)/config.d/ 11pkgcfgdir= $(pkgdatadir)/config.d/
12 12
13plugindir = $(libdir)/gnunet
14
13dist_pkgcfg_DATA = \ 15dist_pkgcfg_DATA = \
14 vpn.conf 16 vpn.conf
15 17
@@ -72,6 +74,18 @@ gnunet_daemon_exit_LDADD = \
72 $(top_builddir)/src/mesh/libgnunetmesh.la \ 74 $(top_builddir)/src/mesh/libgnunetmesh.la \
73 $(GN_LIBINTL) 75 $(GN_LIBINTL)
74 76
77
78plugin_LTLIBRARIES = \
79 libgnunet_plugin_block_dns.la
80
81libgnunet_plugin_block_dns_la_SOURCES = \
82 plugin_block_dns.c
83libgnunet_plugin_block_dns_la_LIBADD = \
84 $(top_builddir)/src/util/libgnunetutil.la
85libgnunet_plugin_block_dns_la_LDFLAGS = \
86 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
87
88
75#check_PROGRAMS = \ 89#check_PROGRAMS = \
76# test_XXX 90# test_XXX
77 91
diff --git a/src/block/plugin_block_dns.c b/src/vpn/plugin_block_dns.c
index b33b3798a..b33b3798a 100644
--- a/src/block/plugin_block_dns.c
+++ b/src/vpn/plugin_block_dns.c