(no commit message)
[oweals/gnunet.git] / TODO
diff --git a/TODO b/TODO
index 9cf5a16450d9854fb5dc2efe2e93318372f866eb..807a7c60235d58ad573d42d54bae4eb710083fec 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,57 +1,14 @@
 0.9.0pre1:
 * FS: [CG]
-  - 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
-
-==14995== 8 bytes in 1 blocks are definitely lost in loss record 1 of 12
-==14995==    at 0x4024C4C: malloc (vg_replace_malloc.c:195)
-==14995==    by 0x4068F05: GNUNET_xmalloc_unchecked_ (common_allocation.c:92)
-==14995==    by 0x4068E33: GNUNET_xmalloc_ (common_allocation.c:61)
-==14995==    by 0x40519F5: GNUNET_DATASTORE_get_random (datastore_api.c:1102)
-==14995==    by 0x804ADCF: gather_migration_blocks (gnunet-service-fs.c:969)
-==14995==    by 0x40864C8: run_ready (scheduler.c:514)
-==14995==    by 0x4086970: GNUNET_SCHEDULER_run (scheduler.c:642)
-==14995==    by 0x408CF1B: GNUNET_SERVICE_run (service.c:1404)
-==14995==    by 0x804F725: main (gnunet-service-fs.c:3506)
-==14995== 
-==14995== 8 bytes in 1 blocks are definitely lost in loss record 2 of 12
-==14995==    at 0x4024C4C: malloc (vg_replace_malloc.c:195)
-==14995==    by 0x4068F05: GNUNET_xmalloc_unchecked_ (common_allocation.c:92)
-==14995==    by 0x4068E33: GNUNET_xmalloc_ (common_allocation.c:61)
-==14995==    by 0x4051ACB: GNUNET_DATASTORE_get (datastore_api.c:1160)
-==14995==    by 0x804F39A: handle_start_search (gnunet-service-fs.c:3352)
-==14995==    by 0x4087F9A: GNUNET_SERVER_inject (server.c:653)
-==14995==    by 0x40880A8: process_client_buffer (server.c:714)
-==14995==    by 0x4088529: restart_processing (server.c:848)
-==14995==    by 0x40864C8: run_ready (scheduler.c:514)
-==14995==    by 0x4086970: GNUNET_SCHEDULER_run (scheduler.c:642)
-==14995==    by 0x408CF1B: GNUNET_SERVICE_run (service.c:1404)
-==14995==    by 0x804F725: main (gnunet-service-fs.c:3506)
-==14995== 
-==14995== 120 bytes in 15 blocks are definitely lost in loss record 5 of 12
-==14995==    at 0x4024C4C: malloc (vg_replace_malloc.c:195)
-==14995==    by 0x4068F05: GNUNET_xmalloc_unchecked_ (common_allocation.c:92)
-==14995==    by 0x4068E33: GNUNET_xmalloc_ (common_allocation.c:61)
-==14995==    by 0x4050DA1: GNUNET_DATASTORE_put (datastore_api.c:695)
-==14995==    by 0x804DD79: handle_p2p_put (gnunet-service-fs.c:2591)
-==14995==    by 0x40588B8: main_notify_handler (core_api.c:468)
-==14995==    by 0x4067DAE: receive_task (client.c:499)
-==14995==    by 0x40864C8: run_ready (scheduler.c:514)
-==14995==    by 0x4086970: GNUNET_SCHEDULER_run (scheduler.c:642)
-==14995==    by 0x408CF1B: GNUNET_SERVICE_run (service.c:1404)
-==14995==    by 0x804F725: main (gnunet-service-fs.c:3506)
-==14995== 
-
-* 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 
@@ -64,34 +21,57 @@ May 16 12:49:50 fs-13737 WARNING Could not access indexed file `ENUTBMBR' at off
 * 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)
@@ -103,6 +83,7 @@ May 16 12:49:50 fs-13737 WARNING Could not access indexed file `ENUTBMBR' at off
     + 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
@@ -110,11 +91,33 @@ May 16 12:49:50 fs-13737 WARNING Could not access indexed file `ENUTBMBR' at off
     + 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
 * TESTING: [Nate]
   - modify configuration to allow controlling connections for non-local starts
   - testbed creation with topology (needs working F2F topology)