summaryrefslogtreecommitdiff
path: root/camel/camel-block-file.h
Commit message (Collapse)AuthorAgeFilesLines
* CamelBlockFile: Use GQueues instead of CamelDLists.Matthew Barnes2012-01-291-5/+1
| | | | GQueue has a more intuitive API.
* Collect Camel flags into enum types.Matthew Barnes2010-10-031-5/+9
| | | | | | | | | | | | | | Camel has many struct members and function parameters named 'flags'. Using a plain integer type for these can lead to confusion about which flag definitions are expected. This collects flag values into enumeration types, and changes the struct member or function parameter type from a plain integer type to the proper enumeration type. TODO: Collect enum types into a camel-enums.h file and let GObject generate GTypes for each of them so they can be used properly in GObject properties, GtkTreeModel columns, etc.
* Coding style cleanup.Matthew Barnes2010-10-031-3/+3
|
* Coding style cleanups.Matthew Barnes2010-09-131-6/+6
|
* Bug #612082 - Do not expose off_t in public API, use goffset insteadMilan Crha2010-07-131-1/+1
|
* Port Camel to GObject.Matthew Barnes2010-04-241-2/+39
|
* Merge more cleanup bits from camel-gobject.Matthew Barnes2010-04-211-1/+1
| | | | | | | | In particular, any method that takes a CamelException must return at least a gboolean indicating success or failure. This driven by the convention in GLib of allowing GError arguments to be NULL, in which case the function's return value is the only other way to report failure. GError will soon replace CamelException.
* Merge some cleanup bits from camel-gobject.Matthew Barnes2010-04-031-20/+28
| | | | This introduces some minor API breakage. Nothing major.
* Lock down Camel headers.Matthew Barnes2010-04-021-3/+7
| | | | | Henceforth only <camel/camel.h> may be included from outside of Camel. This also applies to Camel's own provider modules.
* Coding style and whitespace cleanups.Matthew Barnes2010-01-301-1/+1
|
* Fix compiler warnings in camel.Matthew Barnes2009-06-011-6/+6
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-281-22/+22
|
* ** Fixes bug #545877Matthew Barnes2008-08-061-2/+2
| | | | | | | | | | | 2008-08-06 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #545877 Use CamelDList instead of EDList throughout Camel. svn path=/trunk/; revision=9288
* ** Fixes bug #541347Matthew Barnes2008-07-201-0/+1
| | | | | | | | | | | | 2008-07-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #541347 * camel/camel-block-file.h: #include <sys/types.h> (in the proper order) svn path=/trunk/; revision=9144
* fixed copyright noticesJeffrey Stedfast2008-06-201-1/+1
| | | | svn path=/trunk/; revision=9009
* Fix FSF address (Tobias Mueller, #470445)Ross Burton2007-08-281-2/+2
| | | | svn path=/trunk/; revision=7999
* ** Fixes bug #418852Matthew Barnes2007-04-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #418852 * Note, these changes touch almost every file in Camel. * Replace C++ declaration guards (extern "C" { ... }) with G_BEGIN_DECLS / G_END_DECLS, or add them to headers with no declaration guards at all. * Use GLib's i18n support instead of Camel's (now deprecated). * Use quotes and brackets consistently in #include directives. * Remove CAMEL_EXPLICIT_TRANSLATION_DOMAIN from Makefiles. * Resurrect Camel's API documentation. * Fix documentation warnings identified by Gtk-Doc. * camel.h: Expose Camel's entire "core" (non-provider) API. * camel-i18n.h: Deprecate this API. Use GLib's i18n support instead. * camel-folder.h (camel_folder_get_message_flags): * camel-folder.h (camel_folder_set_message_flags): * camel-folder.h (camel_folder_get_message_user_flag): * camel-folder.h (camel_folder_set_message_user_flag): * camel-folder.h (camel_folder_get_message_user_tag): * camel-folder.h (camel_folder_set_message_user_tag): * camel-folder.h (camel_folder_get_unread_message_count): * camel-folder.h (camel_folder_ref_message_info): Add deprecation guards around these function declarations. svn path=/trunk/; revision=7720
* Modify License to LGPLHarish Krishnaswamy2005-08-311-2/+2
|
* merged notzed-camel-eds-branchMichael Zucci2004-12-021-1/+1
|
* ** for #40989Not Zed2003-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-17 Not Zed <NotZed@Ximian.com> ** for #40989 * camel-text-index.c (text_index_delete): delete the block file/key file directly, not just its files. * providers/local/camel-local-folder.c (local_delete): implement, just delete the index file if it exists. camel-store-delete-folder will delete other data (maybe it all should be done here). * camel-block-file.c (camel_key_file_finalise): keep lock around decrementing key file use count. (camel_key_file_delete): new function to delete the key file (& close it off). (key_file_use): if we've been deleted, always fail. (camel_block_file_finalise): only close the file if its a valid fd. (block_file_use): if we've been deleted, always fail. (camel_block_file_delete): delete the block file & close. (struct _CamelBlockFilePrivate): fix the !ENABLE_THREADS case to still compile this.
* When we add a new name, up all of the cache limits, because we're probablyNot Zed2002-03-251-0/+142
2002-03-25 Not Zed <NotZed@Ximian.com> * camel-text-index.c (text_index_add_name): When we add a new name, up all of the cache limits, because we're probably going to be adding more. (text_index_sync): Drop the cache limits back down again, we dont need them when looking words up. ** MERGE camel_index branch. * camel-text-index.[ch]: Added files i forgot to add (eep nearly lost all this work!) * camel-block-file.c (sync_nolock): Fix an infinite loop in syncing.