(no commit message)
[oweals/gnunet.git] / TODO
diff --git a/TODO b/TODO
index d34756e00acf45de7d9ae62b1ecb1bc183accf7d..807a7c60235d58ad573d42d54bae4eb710083fec 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,26 +1,14 @@
 0.9.0pre1:
 * FS: [CG]
-  - test indexing
-  - test migration
+  - Migration test error scenarios:
+    * client fails to connect to FS service for download (requests never make it to FS)
+      FS was running initially, but is shut down around the time the source peer (!)
+      is supposed to die; the OTHER FS service (the one that was supposed to die) is still up!
   - TTL/priority calculations
   - hot-path routing, load considerations
-  - statistics
   - active reply route caching design & implementation of service; gap extension!
-  - Indexing:
-May 16 12:49:50 fs-13737 WARNING `open' failed on file `/home/grothoff/svn/gnunet/src/fs/H/\1a' at disk.c:1253 with error: No such file or directory
-May 16 12:49:50 fs-13737 WARNING Could not access indexed file `ENUTBMBR' at offset 2064384: No such file or directory
-    NOTE: corrupted filename in open message
-    NOTE: odd directory name in open message
-
-May 21 09:38:37 transport-26713 DEBUG Sending message of size 484 for `HLEV' to `fe80::230:48ff:febb:4bb3:10017' via plugin `tcp'
-May 21 09:38:37 transport-26713 INFO `connect' failed at connection.c:924 with error: Invalid argument
-May 21 09:38:37 tcp DEBUG Failed to create connection to `HLEV' at `[fe80::230:48ff:febb:4bb3]:10017'
-
-
-May 18 10:53:51 transport-8149 WARNING External protocol violation detected at plugin_transport_tcp.c:1275.
-
-* TBENCH: [MW]
-  - good to have for transport/DV evaluation! 
+* TRANSPORT:
+  - HTTP backend [MW]
 * DV: [Nate]
   - write DV API (need to move declarations from dv_api.c to gnunet_dv_service.h!)
   - implement DV service 
@@ -33,34 +21,57 @@ May 18 10:53:51 transport-8149 WARNING External protocol violation detected at p
 * UTIL:
   - only connect() sockets that are ready (select()) [Nils]
     [On W32, we need to select after calling socket before doing connect etc.]
-  - add support for UNIX domain sockets [CG]
 * GNUNET-GTK:
-  - use g_main_context_set_poll_func to integrate GTK with GNUnet Scheduler!? (YUCK!)
-  - OR: add scheduler API to enable integration with GTK main loop instead of doing our own select
-  - use g_main_context_pending, g_main_context_query / g_main_context_check / g_main_context_dispatch
-    and NEVER g_main_loop_run (can this be done? might be the clean way to do this! But how
-    to integrate this with "gtk_main"?  Docu says:
-    "It's OK to use the GLib main loop directly instead of gtk_main(), though it involves 
-     slightly more typing. See GMainLoop in the GLib documentation."
-    => so maybe it "just works"?
-* SETUP:
-  - design & implement new setup tool
+  - implement publish dialog
+    + add (single file)
+    + edit (meta data add, meta data del, meta data type population, keyword add (button, activate entry line), 
+            keyword remove, anonymity level, priority, index/insert, normalize keywords, 
+            previews, preview widget for file chooser!?)
+    + mark 'insert file' button inconsistent for directories
+    + up
+    + down
+    + left
+    + right
+    + delete
+    + open (import directory structure)
+    + cancel
+    + execute (publish)
+  - right-clicking on search result should open menu that allows:
+    + starting recursive download 
+    + aborting active download 
+    + copy URI to clipboard 
+    + save-as gnunet-directory
+  - directory support:
+    + download start: recursive/directory (!) & from-URI only
+    + download lost-parent (move to 'from-URI only' tab
+    + display content of directory
+    + open directory
+  - events:
+    + search resume
+    + search error
+    + download error
+    + download resume
 
 0.9.0pre2:
-* TRACEKIT: [MW]
-  - good to have for DV/DHT evaluation!
+* CORE:
+  - transport-level disconnect (i.e. TCP) does not cause core-level
+    disconnect in a timely fashion (waits for connection timeout);
+    need to figure a way to make it near-instant in those cases 
+    (i.e. rapid reduction in timeout on transport-level disconnect)
+  - encrypted P2P transmission (loopback) tops at 2 MB/s on my quad-core;
+    why is it so slow? Fix! (see core_api_reliability test)
+* TBENCH: [MW]
+  - good to have for transport/DV evaluation! 
 * DHT: [Nate]
   - implement DHT service 
   - implement testcases
   - implement performance tests
-* TRANSPORT:
-  - HTTP backend [MW]
 * ARM: [Safey]
   - better crash management (attach debugging support, capture and analyze
     debug output, detect random vs. deterministic crashes)
   - discover dependencies between services
-    => need UNIX domain sockets first!
   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
+  - add listen socket forwarding to child processes on supported platforms
 * FS: [CG]
   - datastore reservation (publishing)
   - location URIs (publish, search, download)
@@ -72,6 +83,7 @@ May 18 10:53:51 transport-8149 WARNING External protocol violation detected at p
     + DHT integration for search
     + CS-DHT-functions (DHT-put of LOC)
     + P2P-functions (DHT-get)
+  - listing of learned namespaces
   - collection API & tests
     + gnunet-pseudonym (collection support)
   - implement FS performance tests
@@ -79,10 +91,30 @@ May 18 10:53:51 transport-8149 WARNING External protocol violation detected at p
     + download
     + search
     + unindex
-* MIGRATION:
-  - improved content selection (not just 'get_random')
+* GNUNET-GTK:
+  - implement open directory dialog
+  - implement new-pseudonym dialog
+  - namespace search
+  - NS list in search dialog should use colors to offset our own namespaces from the others
+  - double-clicking on NS list in search dialog should move 'root' to keyword line
+  - right-clicking on NS list in search dialog should open menu that allows 
+    + viewing full meta data 
+    + deletion of namespace info
+  - implement API to get notifications about bandwidth assignments to individual peers
+  - implement API to get notifications about updates to liveness of individual peers (before disconnect)
+  - extend peer dialog with green-yellow-red connectivity status lights
+  - extend peer dialog with country flags and names
+  - implement statistics tabs
+  - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
+  - implement unindex operation (use dialog with all indexed files for selection)
+  - implement download by URI dialog; figure out where to display those downloads!
+  - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
+* SETUP:
+  - design & implement new setup tool
 
 0.9.0pre3:
+* TRACEKIT: [MW]
+  - good to have for DV/DHT evaluation!
 * Determine RC bugs and fix those!
 * DATASTORE:
   - GNUNET_DATASTORE_cancel method not tested