space
[oweals/gnunet.git] / TODO
diff --git a/TODO b/TODO
index 0e6f5846af20312e8490d8e4c2a335a178313a43..cdbf4efd3187d5e981b6aa0a7af6e4347ea66afb 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,77 +1,13 @@
 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== 
-
-* TESTING:
-1206      if ((ctx->timeout_task != GNUNET_SCHEDULER_NO_TASK) && (tc->reason != GNUNET_SCHEDULER_R│
-   │1207        {                                                                                     │
-  >│1208          GNUNET_SCHEDULER_cancel(ctx->d1->sched, ctx->timeout_task);                         │
-   │1209          ctx->timeout_task = GNUNET_SCHEDULER_NO_TASK;                                       │
-   │1210        }                                                                                     │
-
-(gdb) print tc->reason
-$5 = GNUNET_SCHEDULER_REASON_SHUTDOWN
-
-  #0  0x00d4c422 in __kernel_vsyscall ()
-#1  0x00148651 in raise () from /lib/tls/i686/cmov/libc.so.6
-#2  0x0014ba82 in abort () from /lib/tls/i686/cmov/libc.so.6
-#3  0x005fe4a5 in GNUNET_SCHEDULER_cancel (sched=0xbfb216ac, task=70) at scheduler.c:734
-#4  0x00114fdd in notify_connect_result (cls=0x8b582c8, tc=0xbfb21648) at testing.c:1208
-#5  0x005fde79 in run_ready (sched=0xbfb216ac) at scheduler.c:514
-#6  0x005fe315 in GNUNET_SCHEDULER_run (task=0x5fa53c <program_main>, task_cls=0xbfb217e4)
-    at scheduler.c:642
-
-
-* 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 
@@ -86,26 +22,70 @@ $5 = GNUNET_SCHEDULER_REASON_SHUTDOWN
     [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
+  - write main loop: 
+    + 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"?
+  - implement glade loader
+  - implement main quit handler (file-quit and main window close) 
+  - implement about menu handler
+  - add license to about dialog  
+  - add authors to about dialog
+  - add translators to about dialog 
+  - add documenters to about dialog
+  - add artists to about dialog
+  - test logo in about dialog
+  - test logo in main dialog (window icon)
+  - implement search dialog opening and actual 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
+  - double-clicking on search result in master list should open save-as dialog for CHK/LOC URIs
+  - right-clicking on search result should open menu that allows:
+    + viewing full meta data 
+    + starting download
+    + starting recursive download 
+    + aborting active download
+  - right-clicking on NS list in search dialog should open menu that allows 
+    + viewing full meta data 
+    + deletion of namespace info
+  - master should add tab to main notebook with label with 'new' icon that allows starting of a search (same as via menu)
+  - tabs in notebook should contain:
+    + "X" to allow closing of tabs
+    + "play" to allow resuming of search OR "pause" to allow pausing of search
+  - implement open directory dialog
+  - implement new-pseudonym dialog
+  - 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)
+  - pick appropriate sort-by columns for various tree view columns
+  - anonymity spin buttons should turn red on zero:
+    + search
+    + publish
+    + download
 
 0.9.0pre2:
-* TRACEKIT: [MW]
-  - good to have for DV/DHT evaluation!
+* 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)
@@ -130,11 +110,28 @@ $5 = GNUNET_SCHEDULER_REASON_SHUTDOWN
     + download
     + search
     + unindex
-* MIGRATION:
-  - improved content selection (not just 'get_random')
+* GNUNET-GTK:
+  - handle view-metadata toggle
+  - handle view-preview toggle
+  - 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)
+  - handle view-neighbours toggle
+  - extend peer dialog with green-yellow-red connectivity status lights
+  - implement statistics tabs
+  - handle view-statistics toggle
+  - 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)