gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11969 - in gnunet: . src/fs src/include


From: gnunet
Subject: [GNUnet-SVN] r11969 - in gnunet: . src/fs src/include
Date: Sun, 27 Jun 2010 13:11:54 +0200

Author: grothoff
Date: 2010-06-27 13:11:54 +0200 (Sun, 27 Jun 2010)
New Revision: 11969

Modified:
   gnunet/TODO
   gnunet/src/fs/fs_download.c
   gnunet/src/include/gnunet_fs_service.h
Log:
communicate download activity status with each event

Modified: gnunet/TODO
===================================================================
--- gnunet/TODO 2010-06-27 11:01:27 UTC (rev 11968)
+++ gnunet/TODO 2010-06-27 11:11:54 UTC (rev 11969)
@@ -7,12 +7,19 @@
   - only connect() sockets that are ready (select()) [Nils]
     [On W32, we need to select after calling socket before doing connect etc.]
 * GNUNET-GTK: [CG]
-  - directory support:
-    + download start: recursive/directory (!) & from-URI only
-    + handle download lost-parent (move to 'from-URI only' tab)
-    + display content of directory
-    + open directory
+  - from-URI only tab:
+    + display from open directory (needs 'from-URI only' tab!)
+    + handle download lost-parent (move to 'from-URI only' tab!)
+  - recursive downloads:
+    + download start: recursive/directory (!)
+      * display directory content from download as part of search
+      * honor recursion option (may already be done, check!)
+  - TEST download-start from-URI only in event handler
 
+* BUGS:
+  Jun 27 11:51:54 core-7670 ERROR Assertion failed at 
gnunet-service-core.c:3616.
+
+
 0.9.0pre2:
 * CORE:
   - transport-level disconnect (i.e. TCP) does not cause core-level
@@ -79,6 +86,7 @@
     + copy URI to clipboard 
     + save-as gnunet-directory
   - events:
+    + implement clear button in search tabs (to stop downloads)
     + search resume
     + search error
     + download error

Modified: gnunet/src/fs/fs_download.c
===================================================================
--- gnunet/src/fs/fs_download.c 2010-06-27 11:01:27 UTC (rev 11968)
+++ gnunet/src/fs/fs_download.c 2010-06-27 11:11:54 UTC (rev 11969)
@@ -170,6 +170,7 @@
     = GNUNET_TIME_calculate_eta (dc->start_time,
                                 dc->completed,
                                 dc->length);
+  pi->value.download.is_active = (dc->client == NULL) ? GNUNET_NO : GNUNET_YES;
   if (0 == (dc->options & GNUNET_FS_DOWNLOAD_IS_PROBE))
     dc->client_info = dc->h->upcb (dc->h->upcb_cls,
                                   pi);

Modified: gnunet/src/include/gnunet_fs_service.h
===================================================================
--- gnunet/src/include/gnunet_fs_service.h      2010-06-27 11:01:27 UTC (rev 
11968)
+++ gnunet/src/include/gnunet_fs_service.h      2010-06-27 11:11:54 UTC (rev 
11969)
@@ -961,6 +961,11 @@
       uint32_t anonymity;
 
       /**
+       * Is the download currently active.
+       */
+      int is_active;
+
+      /**
        * Additional values for specific events.
        */
       union {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]