nicer
[oweals/gnunet.git] / TODO
diff --git a/TODO b/TODO
index aa8ba525cc3e031655488b5b3a30025ec6ce6d0f..9b7ad277aad569f36c172f210961fd7dd590fb3e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,99 +1,51 @@
 0.9.0pre1:
-* FS: [CG]
-  - test indexing
-  - test migration
-  - 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! 
-* DV: [Nate]
-  - write DV API (need to move declarations from dv_api.c to gnunet_dv_service.h!)
-  - implement DV service 
-  - implement DV library (looks done)
-  - implement DV transport plugin
-  - implement testcases 
-  - implement performance tests (needs tbench)
-* TOPOLOGY:
-  - needs more testing (especially F2F topology) & transport blacklisting
+* TRANSPORT:
+  - HTTP backend [MW]
+* CORE:
+  - derived key generation [Nils]
 * 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
+* BUGS:
+  Jun 27 11:51:54 core-7670 ERROR Assertion failed at gnunet-service-core.c:3616.
+  (transport notified us that we connected to ourselves!!!)
 
 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)
+  - 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)
+* STATISTICS:
+  - implement notification-based statistics API
+* PEERINFO [CG]
+  - better API for trust management (or move into FS!?)
+* TOPOLOGY:
+  - needs more testing (especially F2F topology) & transport blacklisting
+* TBENCH: [MW]
+  - good to have for transport/DV evaluation! 
+* DV: [Nate]
+  - implement performance tests (needs tbench)
 * DHT: [Nate]
   - implement DHT service 
   - implement testcases
   - implement performance tests
-* TRANSPORT:
-  - HTTP backend [MW]
-* ARM: [Safey]
+* MONKEY: [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!
+* ARM: [CG]
   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
+  - discover dependencies between services
 * FS: [CG]
+  - trust & peerinfo integration
+  - load considerations (migration, routing)
+  - bound our priorities based on priorities used by other peers
+  - artificial delays
+  - active reply route caching design & implementation of service; gap extension!
   - datastore reservation (publishing)
   - location URIs (publish, search, download)
   - unindex on index failure
@@ -104,26 +56,61 @@ 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)
+  - publishing a directory sets the embedded filename to "empty" 
+    (likely an issue with cutting off everything before '/' in the filename,
+     which in the case of a directory would leave nothing)
   - implement FS performance tests
     + insert
     + download
     + search
     + unindex
-* MIGRATION:
-  - improved content selection (not just 'get_random')
+* GNUNET-GTK: [CG]
+  - implement publish dialog details:
+    + open (import directory structure)
+    + normalize keywords (edit subdialog)
+    + set/view previews (edit subdialog)
+    + mark 'insert file' button inconsistent for directories (edit subdialog)
+  - right-clicking on search result should open menu that allows:
+    + starting recursive download 
+    + aborting active download 
+    + copy URI to clipboard 
+    + save-as gnunet-directory
+  - events:
+    + implement clear button in search tabs (to stop downloads)
+    + search resume
+    + search error
+    + download error
+    + download resume
+    + publish resume
+    + publish error
+  - 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
+  - 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
+  - handle 'lost parent' case for recursive downloads (need to move children!)
+
 
 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) 
-  - testbed with churn 
-  - implement testcases for distributed testing
   - test basic peer re-configure 
-  - test topology creation 
-  - test churn generation 
   - consider changing API for peer-group termination to 
     call continuation when done
 * NAT/UPNP: [MW]
@@ -134,16 +121,17 @@ May 16 12:49:50 fs-13737 WARNING Could not access indexed file `ENUTBMBR' at off
 * MYSQL database backends: [CG]
   - datacache
   - datastore
-* FS:
+* FS: [CG]
   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
   - add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
   - use different 'priority' for probe downloads vs. normal downloads
-* ARM:
+* ARM: [CG/Safey]
   - better tracking of which config changes actually need to cause process restarts by ARM.
+* SETUP:
+  - design & implement new setup tool
 
 0.9.0:
 * new webpage:
-  - expand bibliography
   - convert documentation pages to books
   - update books (especially for developers)
   - create good Drupal theme for GNUnet
@@ -198,9 +186,6 @@ Optimizations:
 * TRANSPORT:
   - need to periodically probe latency/transport cost changes & possibly switch transport
   - should use hash map to look up Neighbours (service AND plugins!)
-* DATASTORE (?):
-  - check for duplicates on insertion (currently, same content is frequently
-    stored again [seen with KBLOCKS and SBLOCKS]!)
 * PEERINFO:
   - merge multiple HELLOs of the same peer in the transmission queue
     (theoretically reduces overhead; bounds message queue size)