2007-06-03 Christian Kellner <ckellner@openismus.com> * libmodest-dbus-client/libmodest-dbus-client.h: * libmodest-dbus-client/libmodest-dbus-client.c: (libmodest_dbus_client_delete_message): Implement deletion of messages (Client side). (modest_search_hit_free), (modest_search_hit_list_free): Utility functions to free the result hits. * src/dbus_api/modest-dbus-api.h: * src/dbus_api/modest-dbus-callbacks.c: (on_delete_message), (modest_dbus_req_handler): Implement deletion of messages (Server side). * tests/dbus_api/test_search.c: (main): Free the hits. * tests/dbus_api/Makefile.am: * tests/dbus_api/test_delete_message: Add little test for the message deletion logic pmo-trunk-r2054
2007-06-03 Christian Kellner <ckellner@openismus.com> * libmodest-dbus-client/libmodest-dbus-client.c: Removed debugging spew. * src/dbus_api/modest-dbus-callbacks.c: Added debugging info. * src/modest-search.c: (modest_search_all_accounts): Use tny_account_store_get_accounts () on the account store to get all accounts which is the way to get all accounts. * tests/dbus_api/test_search.c: (main): Make it possible to supply the search term on the command line. pmo-trunk-r2050
2007-06-03 Christian Kellner <ckellner@openismus.com> * libmodest-dbus-client/libmodest-dbus-client.c: * libmodest-dbus-client/libmodest-dbus-client.h: Implement searching for mesages over raw dbus. (Client side) * src/dbus_api/Makefile.am: * src/dbus_api/modest-dbus-api.h: * src/dbus_api/modest-dbus-callbacks.c: * src/dbus_api/modest-dbus-callbacks.h: Search framework (Server side). Also implement on_idle_open_message(). * src/maemo/modest-platform.c: (modest_platform_init): Prepare for raw dbus/osso rpc interaction. * src/modest-search.h: Changed minsize from unspecific guint to guint32. * src/modest-search.c: (add_header): Added strange hack which magically made tnymail work. (modest_search_folder), (modest_search_account), (modest_search_all_accounts): Implement helper functions to search all accounts, specific account and folder. * tests/dbus_api/Makefile.am: * tests/dbus_api/test_open_message.c: Read url to open from commandline. * tests/dbus_api/test_search.c: Implement small test for dbus search stuff pmo-trunk-r2049