Activity log for bug #140509

Date Who What changed Old value New value Message
2007-09-17 19:16:41 Leszek Koltunski bug added bug
2013-02-06 20:12:32 George Gill description function om_connection_invalidate_cache() from src/obex-method.c is called ( among other places ) from om_chdir_to_uri do_make_directory do_unlink Why is that? I seems to me there is no reason to forget our cache in those cases. On the other hand, funtion om_connection_free() does NOT call om_connection_invalidate_cache(), but rather duplicates it's code with if (conn->current_listing) { gnome_vfs_file_info_list_free (conn->current_listing); } ***************************************************************************************************************************** Sorry for bitching so much. I am currently looking at how to cache all listings we did during current connection. Seems to me the best way is to change the ObexConnection struct to include the whole array of pairs gchar *current_dir; GList *current_listing; rather than just one such pair. function om_connection_invalidate_cache() from src/obex-method.c is called ( among other places ) from om_chdir_to_uri do_make_directory do_unlink Why is that? I seems to me there is no reason to forget our cache in those cases. On the other hand, funtion om_connection_free() does NOT call om_connection_invalidate_cache(), but rather duplicates it's code with         if (conn->current_listing) {                 gnome_vfs_file_info_list_free (conn->current_listing);         } ***************************************************************************************************************************** Sorry for complaining so much. I am currently looking at how to cache all listings we did during current connection. Seems to me the best way is to change the ObexConnection struct to include the whole array of pairs         gchar *current_dir;         GList *current_listing; rather than just one such pair.