Changeset 3161
- Timestamp:
- 12/20/07 00:50:08
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/docs/devel/reference/tmpl/tny-account-store.sgml (modified) (1 diff)
- trunk/docs/devel/reference/tmpl/tny-account.sgml (modified) (1 diff)
- trunk/docs/devel/reference/tmpl/tny-device.sgml (modified) (1 diff)
- trunk/docs/devel/reference/tmpl/tny-send-queue.sgml (modified) (3 diffs)
- trunk/docs/devel/reference/tmpl/tny-shared.sgml (modified) (6 diffs)
- trunk/libtinymail/tny-account-store.c (modified) (4 diffs)
- trunk/libtinymail/tny-account.c (modified) (5 diffs)
- trunk/libtinymail/tny-combined-account.c (modified) (3 diffs)
- trunk/libtinymail/tny-connection-policy.c (modified) (1 diff)
- trunk/libtinymail/tny-device.c (modified) (1 diff)
- trunk/libtinymail/tny-folder-change.c (modified) (5 diffs)
- trunk/libtinymail/tny-folder-monitor.c (modified) (1 diff)
- trunk/libtinymail/tny-folder-stats.c (modified) (2 diffs)
- trunk/libtinymail/tny-folder-store-change.c (modified) (2 diffs)
- trunk/libtinymail/tny-folder-store-query.c (modified) (5 diffs)
- trunk/libtinymail/tny-folder-store.c (modified) (8 diffs)
- trunk/libtinymail/tny-folder.c (modified) (32 diffs)
- trunk/libtinymail/tny-fs-stream.c (modified) (2 diffs)
- trunk/libtinymail/tny-header.c (modified) (15 diffs)
- trunk/libtinymail/tny-iterator.c (modified) (2 diffs)
- trunk/libtinymail/tny-list.c (modified) (5 diffs)
- trunk/libtinymail/tny-merge-folder.c (modified) (2 diffs)
- trunk/libtinymail/tny-mime-part.c (modified) (13 diffs)
- trunk/libtinymail/tny-msg-receive-strategy.c (modified) (1 diff)
- trunk/libtinymail/tny-msg-remove-strategy.c (modified) (1 diff)
- trunk/libtinymail/tny-msg.c (modified) (3 diffs)
- trunk/libtinymail/tny-noop-lockable.c (modified) (1 diff)
- trunk/libtinymail/tny-pair.c (modified) (1 diff)
- trunk/libtinymail/tny-password-getter.c (modified) (2 diffs)
- trunk/libtinymail/tny-send-queue.c (modified) (6 diffs)
- trunk/libtinymail/tny-simple-list.c (modified) (1 diff)
- trunk/libtinymail/tny-status.c (modified) (4 diffs)
- trunk/libtinymail/tny-store-account.c (modified) (3 diffs)
- trunk/libtinymail/tny-transport-account.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-account-list-model.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-attach-list-model.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-attachment-mime-part-view.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-expander-mime-part-view.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-header-list-model.c (modified) (4 diffs)
- trunk/libtinymailui-gtk/tny-gtk-header-view.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-image-mime-part-view.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-lockable.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-mime-part-save-strategy.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-msg-view.c (modified) (3 diffs)
- trunk/libtinymailui-gtk/tny-gtk-msg-window.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-password-dialog.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-pixbuf-stream.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-text-buffer-stream.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-text-mime-part-view.c (modified) (2 diffs)
- trunk/libtinymailui/tny-mime-part-saver.c (modified) (1 diff)
- trunk/libtinymailui/tny-mime-part-view.c (modified) (1 diff)
- trunk/libtinymailui/tny-msg-view.c (modified) (3 diffs)
- trunk/libtinymailui/tny-platform-factory.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r3157 r3161 1 1 2007-12-19 Philip Van Hoof <pvanhoof@gnome.org> 2 2 3 * New documenta iton style, third commit (libtinymailui-gtk)3 * New documentation style, third commit (libtinymailui-gtk) 4 4 * Implemented support for LIST-EXTENDED's SUBSCRIBED parameter 5 5 * A fix in TnyGnomeDevice 6 6 * Experimental improvements for LIST 7 * Made the new documentation style backward compatible for gtk-doc 7 8 8 9 2007-12-18 Philip Van Hoof <pvanhoof@gnome.org> trunk/docs/devel/reference/tmpl/tny-account-store.sgml
r3151 r3161 49 49 50 50 </para> 51 52 @:53 51 54 52 @tnyaccountstore: the object which received the signal. trunk/docs/devel/reference/tmpl/tny-account.sgml
r3151 r3161 28 28 29 29 </para> 30 31 @: 30 32 31 33 @tnyaccount: the object which received the signal. trunk/docs/devel/reference/tmpl/tny-device.sgml
r3151 r3161 36 36 37 37 </para> 38 39 @:40 @:41 38 42 39 @tnydevice: the object which received the signal. trunk/docs/devel/reference/tmpl/tny-send-queue.sgml
r3151 r3161 40 40 </para> 41 41 42 @: 43 @: 44 @: 45 @: 46 42 47 @tnysendqueue: the object which received the signal. 43 48 @arg1: … … 49 54 50 55 </para> 56 57 @: 58 @: 59 @: 60 @: 61 @: 51 62 52 63 @tnysendqueue: the object which received the signal. … … 60 71 61 72 </para> 73 74 @: 75 @: 76 @: 77 @: 78 @: 62 79 63 80 @tnysendqueue: the object which received the signal. trunk/docs/devel/reference/tmpl/tny-shared.sgml
r3151 r3161 54 54 </para> 55 55 56 @ tnyaccountstore: the object which received the signal.56 @: 57 57 58 58 <!-- ##### STRUCT TnyAccountStoreIface ##### --> … … 259 259 </para> 260 260 261 @ :261 @tnyaccount: the object which received the signal. 262 262 263 263 <!-- ##### SIGNAL TnyAccount::connection-status-changed ##### --> … … 318 318 </para> 319 319 320 @ tnydevice: the object which received the signal.321 @ arg1:320 @: 321 @: 322 322 323 323 <!-- ##### STRUCT TnyDeviceIface ##### --> … … 490 490 </para> 491 491 492 @ :493 @ :494 @ :495 @ :492 @tnysendqueue: the object which received the signal. 493 @arg1: 494 @arg2: 495 @arg3: 496 496 497 497 <!-- ##### SIGNAL TnySendQueue::msg-sending ##### --> … … 500 500 </para> 501 501 502 @ :503 @ :504 @ :505 @ :506 @ :502 @tnysendqueue: the object which received the signal. 503 @arg1: 504 @arg2: 505 @arg3: 506 @arg4: 507 507 508 508 <!-- ##### SIGNAL TnySendQueue::msg-sent ##### --> … … 511 511 </para> 512 512 513 @ :514 @ :515 @ :516 @ :517 @ :513 @tnysendqueue: the object which received the signal. 514 @arg1: 515 @arg2: 516 @arg3: 517 @arg4: 518 518 519 519 <!-- ##### STRUCT TnySendQueueIface ##### --> trunk/libtinymail/tny-account-store.c
r3150 r3161 51 51 * @url_string. If found, the returned value must be unreferenced. 52 52 * 53 * returns (null-ok) (caller-owns): the found account or NULL53 * returns: (null-ok) (caller-owns): the found account or NULL 54 54 * since: 1.0 55 55 * audience: application-developer … … 84 84 * tny_account_store_alert: 85 85 * @self: a #TnyAccountStore 86 * @account (null-ok): The account or NULL86 * @account: (null-ok): The account or NULL 87 87 * @type: alert type 88 88 * @question: whether or not this is a question 89 * @error: A #GError with the alert89 * @error: (null-ok): A #GError with the alert 90 90 * 91 91 * This callback method must implements showing a message dialog appropriate … … 176 176 * must unreference the return value after use. 177 177 * 178 * returns (caller-owns): the device used by @self178 * returns: (caller-owns): the device used by @self 179 179 * since: 1.0 180 180 * audience: application-developer … … 363 363 * TnyAccountStore::connecting-started 364 364 * @self: the object on which the signal is emitted 365 * @user_data: user data set when the signal handler was connected.365 * @user_data: (null-ok): user data set when the signal handler was connected. 366 366 * 367 367 * Emitted when the store starts trying to connect the accounts. Usage of this trunk/libtinymail/tny-account.c
r3150 r3161 48 48 * value when you are finished with used it. 49 49 * 50 * returns (caller-owns): connection policy50 * returns: (caller-owns): connection policy 51 51 * since: 1.0 52 52 * audience: application-developer, platform-developer … … 135 135 * @domain: the domain of the #TnyStatus that will happen in @status_callback 136 136 * @code: the code of the #TnyStatus that will happen in @status_callback 137 * @status_callback: status callback handler138 * @status_user_data: the user-data to give to the @status_callback137 * @status_callback: (null-ok) status callback handler or NULL 138 * @status_user_data: (null-ok): the user-data to give to the @status_callback or NULL 139 139 * 140 140 * Starts an operation. This only works for methods that don't end with _async. … … 162 162 * tny_account_stop_operation: 163 163 * @self: a #TnyAccount 164 * @cancelled (out): NULL or byref whether the operation got canceled164 * @cancelled: (out): NULL or byref whether the operation got canceled 165 165 * 166 166 * Stop the current operation. This only works for methods that don't end … … 1049 1049 * @self: the object on which the signal is emitted 1050 1050 * @status: the #TnyConnectionStatus 1051 * @user_data: user data set when the signal handler was connected.1051 * @user_data: (null-ok): user data set when the signal handler was connected. 1052 1052 * 1053 1053 * Emitted when the connection status of an account changes. … … 1070 1070 * TnyAccount::changed 1071 1071 * @self: the object on which the signal is emitted 1072 * @user_data: user data set when the signal handler was connected.1072 * @user_data: (null-ok): user data set when the signal handler was connected. 1073 1073 * 1074 1074 * Emitted when one of the account's properties changes. trunk/libtinymail/tny-combined-account.c
r3150 r3161 389 389 * actual instances to read these properties. 390 390 * 391 * returns (caller-owns): A new account instance that decorates both @ta and @sa391 * returns: (caller-owns): A new account instance that decorates both @ta and @sa 392 392 * 393 393 * since: 1.0 … … 418 418 * the returned value if not needed anymore. 419 419 * 420 * returns (caller-owns): the transport account in @self420 * returns: (caller-owns): the transport account in @self 421 421 * since: 1.0 422 422 * complexity: low … … 438 438 * the returned value if not needed anymore. 439 439 * 440 * returns (caller-owns): the store account in @self440 * returns: (caller-owns): the store account in @self 441 441 * since: 1.0 442 442 * complexity: low trunk/libtinymail/tny-connection-policy.c
r3150 r3161 95 95 /** 96 96 * tny_connection_policy_on_disconnect: 97 * @self: A#TnyConnectionPolicy97 * @self: a #TnyConnectionPolicy 98 98 * @account: a #TnyAccount 99 99 * trunk/libtinymail/tny-device.c
r3150 r3161 200 200 * @self: the object on which the signal is emitted 201 201 * @arg1: Whether or not the device is now online 202 * @user_data: user data set when the signal handler was connected.202 * @user_data: (null-ok): user data set when the signal handler was connected. 203 203 * 204 204 * Emitted when the connection status of a device changes. trunk/libtinymail/tny-folder-change.c
r3150 r3161 83 83 * value must be unreferenced after use. 84 84 * 85 * returns (null-ok) (caller-owns): received message or NULL85 * returns: (null-ok) (caller-owns): received message or NULL 86 86 * since: 1.0 87 87 * audience: application-developer … … 377 377 * tny_folder_change_get_rename: 378 378 * @self: a #TnyFolderChange instance 379 * @oldname (null-ok) (out): a byref string or NULL379 * @oldname: (null-ok) (out): a byref string or NULL 380 380 * 381 381 * Get the new name of the folder in case of a rename. This will return NULL … … 385 385 * You must not free the returned value nor the @oldname pointer. 386 386 * 387 * return (null-ok): The new folder name or NULL387 * return: (null-ok): The new folder name or NULL 388 388 * since: 1.0 389 389 * audience: application-developer … … 441 441 * Creates a changeset for @folder 442 442 * 443 * returns (caller-owns): a new #TnyFolderChange instance443 * returns: (caller-owns): a new #TnyFolderChange instance 444 444 * since: 1.0 445 445 * audience: application-developer … … 464 464 * after use. 465 465 * 466 * returns (caller-owns): the #TnyFolder of this changeset466 * returns: (caller-owns): the #TnyFolder of this changeset 467 467 * since: 1.0 468 468 * audience: application-developer trunk/libtinymail/tny-folder-monitor.c
r3150 r3161 355 355 * Creates a folder monitor for @folder 356 356 * 357 * returns (caller-owns): a new #TnyFolderMonitor instance357 * returns: (caller-owns): a new #TnyFolderMonitor instance 358 358 * since: 1.0 359 359 * audience: application-developer trunk/libtinymail/tny-folder-stats.c
r3150 r3161 127 127 * Creates a stats object for @folder 128 128 * 129 * returns: a new #TnyFolderStats instance129 * returns: a new #TnyFolderStats 130 130 * since: 1.0 131 131 * audience: application-developer … … 149 149 * after use 150 150 * 151 * returns (caller-owns): the #TnyFolder instance related to @self151 * returns: (caller-owns): the #TnyFolder instance related to @self 152 152 * since: 1.0 153 153 * audience: application-developer trunk/libtinymail/tny-folder-store-change.c
r3150 r3161 249 249 * Creates a changeset for @folderstore 250 250 * 251 * returns (caller-owns): a new #TnyFolderStoreChange instance251 * returns: (caller-owns): a new #TnyFolderStoreChange instance 252 252 * since: 1.0 253 253 * audience: application-developer … … 271 271 * unreferenced after use 272 272 * 273 * returns (caller-owns): the #TnyFolderStore related to this changeset273 * returns: (caller-owns): the #TnyFolderStore related to this changeset 274 274 * since: 1.0 275 275 * audience: application-developer trunk/libtinymail/tny-folder-store-query.c
r3150 r3161 45 45 * Create a new #TnyFolderStoreQuery instance 46 46 * 47 * returns (caller-owns): a new #TnyFolderStoreQuery instance47 * returns: (caller-owns): a new #TnyFolderStoreQuery instance 48 48 * since: 1.0 49 49 * audience: application-developer … … 194 194 * tny_folder_store_query_add_item: 195 195 * @query: a #TnyFolderStoreQuery 196 * @pattern (null-ok): a regular expression or NULL196 * @pattern: (null-ok): a regular expression or NULL 197 197 * @options: a #TnyFolderStoreQueryOption enum 198 198 * … … 304 304 * after use. 305 305 * 306 * returns (caller-owns): a list of query items306 * returns: (caller-owns): a list of query items 307 307 * since: 1.0 308 308 * audience: tinymail-developer … … 339 339 * value. 340 340 * 341 * returns (null-ok): the compiled regular expression of a query item341 * returns: (null-ok): the compiled regular expression of a query item 342 342 * since: 1.0 343 343 * audience: tinymail-developer … … 357 357 * value. 358 358 * 359 * returns (null-ok): the pattern of the regular expression of a query item359 * returns: (null-ok): the pattern of the regular expression of a query item 360 360 * since: 1.0 361 361 * audience: tinymail-developer trunk/libtinymail/tny-folder-store.c
r3151 r3161 112 112 * @self: a #TnyFolderStore 113 113 * @folder: a #TnyFolder to remove 114 * @err: a #GError or NULL114 * @err: (null-ok): a #GError or NULL 115 115 * 116 116 * Removes a @folder from the folder store @self. You are responsible for … … 166 166 * @self: a #TnyFolderStore 167 167 * @name: The folder name to create 168 * @err (null-ok): a #GError or NULL168 * @err: (null-ok): a #GError or NULL 169 169 * 170 170 * Creates a new folder in @self. If not NULL, the value returned is the newly … … 180 180 * </programlisting></informalexample> 181 181 * 182 * returns (null-ok) (caller-owns): the folder that was created or NULL182 * returns: (null-ok) (caller-owns): the folder that was created or NULL 183 183 * since: 1.0 184 184 * audience: application-developer … … 212 212 * @self: a #TnyFolderStore that caused the callback 213 213 * @cancelled: if the operation got cancelled 214 * @new_folder (null-ok): a newly created #TnyFolder or NULL215 * @err (null-ok): if an error occurred216 * @user_data (null-ok): user data that was passed to the callbacks214 * @new_folder: (null-ok): a newly created #TnyFolder or NULL 215 * @err: (null-ok): if an error occurred 216 * @user_data: (null-ok): user data that was passed to the callbacks 217 217 * 218 218 * A folder store callback for when a folder creation was requested. If allocated, … … 233 233 * @self: a #TnyFolderStore 234 234 * @name: The folder name to create 235 * @callback (null-ok): a #TnyCreateFolderCallback or NULL236 * @status_callback (null-ok): a #TnyStatusCallback or NULL237 * @user_data (null-ok): user data that will be passed to the callbacks235 * @callback: (null-ok): a #TnyCreateFolderCallback or NULL 236 * @status_callback: (null-ok): a #TnyStatusCallback or NULL 237 * @user_data: (null-ok): user data that will be passed to the callbacks 238 238 * 239 239 * Creates a new folder in @self, asynchronously. … … 265 265 * @self: a #TnyFolderStore 266 266 * @list: a #TnyList to to which the folders will be prepended 267 * @query (null-ok): a #TnyFolderStoreQuery or NULL268 * @err (null-ok): a #GError or NULL267 * @query: (null-ok): a #TnyFolderStoreQuery or NULL 268 * @err: (null-ok): a #GError or NULL 269 269 * 270 270 * Get a list of child folders from @self. You can use @query to limit the list … … 319 319 * @self: a #TnyFolderStore that caused the callback 320 320 * @cancelled: if the operation got cancelled 321 * @list (null-ok): a #TnyList with fetched #TnyFolder instances or NULL322 * @err (null-ok): if an error occurred323 * @user_data (null-ok): user data that was passed to the callbacks321 * @list: (null-ok): a #TnyList with fetched #TnyFolder instances or NULL 322 * @err: (null-ok): if an error occurred 323 * @user_data: (null-ok): user data that was passed to the callbacks 324 324 * 325 325 * A folder store callback for when a list of folders was requested. If allocated, … … 341 341 * @self: a #TnyFolderStore 342 342 * @list: a #TnyList to to which the folders will be prepended 343 * @query (null-ok): A #TnyFolderStoreQuery object344 * @callback (null-ok): a #TnyGetFoldersCallback or NULL345 * @status_callback (null-ok): a #TnyStatusCallback or NULL346 * @user_data (null-ok): user data that will be passed to the callbacks343 * @query: (null-ok): A #TnyFolderStoreQuery object 344 * @callback: (null-ok): a #TnyGetFoldersCallback or NULL 345 * @status_callback: (null-ok): a #TnyStatusCallback or NULL 346 * @user_data: (null-ok): user data that will be passed to the callbacks 347 347 * 348 348 * Get a list of child folders from the folder store @self and call back when trunk/libtinymail/tny-folder.c
r3151 r3161 76 76 * the password of the IMAP account but can contain it. 77 77 * 78 * returns (null-ok) (caller-owns): The url string or NULL.78 * returns: (null-ok) (caller-owns): The url string or NULL. 79 79 * since: 1.0 80 80 * audience: application-developer … … 115 115 * this method you get a combined statistic, however. 116 116 * 117 * return (caller-owns): some statistics of the folder117 * return: (caller-owns): some statistics of the folder 118 118 * since: 1.0 119 119 * audience: application-developer … … 231 231 * must be unreferenced after use. 232 232 * 233 * returns (caller-owns): the strategy for receiving a message233 * returns: (caller-owns): the strategy for receiving a message 234 234 * since: 1.0 235 235 * audience: application-developer … … 306 306 * @new_name: the new name in @into 307 307 * @del: whether or not to delete the original location 308 * @err (null-ok): a #GError object or NULL308 * @err: (null-ok): a #GError object or NULL 309 309 * 310 310 * Copies @self to @into giving the new folder the name @new_name. Returns the … … 340 340 * be set in @err and no further action will be performed. 341 341 * 342 * returns (null-ok) (caller-owns): a new folder instance to whom was copied or NULL342 * returns: (null-ok) (caller-owns): a new folder instance to whom was copied or NULL 343 343 * since: 1.0 344 344 * audience: application-developer … … 379 379 * @self: a #TnyFolder that caused the callback 380 380 * @cancelled: if the operation got cancelled 381 * @into (null-ok): where @self got copied to382 * @new_folder (null-ok): the new folder in @into383 * @err (null-ok): if an error occurred384 * @user_data (null-ok): user data that was passed to the callbacks381 * @into: (null-ok): where @self got copied to 382 * @new_folder: (null-ok): the new folder in @into 383 * @err: (null-ok): if an error occurred 384 * @user_data: (null-ok): user data that was passed to the callbacks 385 385 * 386 386 * A folder callback for when a copy of a folder was requested. If allocated, … … 415 415 * @new_name: the new name in @into 416 416 * @del: whether or not to delete the original location 417 * @callback (null-ok): a #TnyCopyFolderCallback or NULL418 * @status_callback (null-ok): a #TnyStatusCallback or NULL419 * @user_data (null-ok): user data that will be passed to the callbacks417 * @callback: (null-ok): a #TnyCopyFolderCallback or NULL 418 * @status_callback: (null-ok): a #TnyStatusCallback or NULL 419 * @user_data: (null-ok): user data that will be passed to the callbacks 420 420 * 421 421 * See tny_folder_copy(). This is the asynchronous version of the same function. … … 487 487 * must be unreferenced after use. 488 488 * 489 * returns (caller-owns): the strategy for removing a message489 * returns: (caller-owns): the strategy for removing a message 490 490 * since: 1.0 491 491 * audience: application-developer … … 551 551 * @self: a #TnyFolder 552 552 * @expunge: also expunge deleted messages 553 * @err (null-ok): a #GError or NULL553 * @err: (null-ok): a #GError or NULL 554 554 * 555 555 * Persist changes made to a folder to its backing store, expunging deleted … … 588 588 * @self: a #TnyFolder 589 589 * @expunge: also expunge deleted messages 590 * @callback (null-ok): a #TnySyncFolderCallback or NULL590 * @callback: (null-ok): a #TnySyncFolderCallback or NULL 591 591 * @status_callback (null-ok): a #TnyStatusCallback or NULL 592 * @user_data (null-ok): user data that will be passed to the callbacks592 * @user_data: (null-ok): user data that will be passed to the callbacks 593 593 * 594 594 * The authors of Tinymail know that sync async sounds paradoxical. Though if … … 620 620 * @self: a #TnyFolder that caused the callback 621 621 * @cancelled: if the operation got cancelled 622 * @err (null-ok): if an error occurred623 * @user_data (null-ok): user data that was passed to the callbacks622 * @err: (null-ok): if an error occurred 623 * @user_data: (null-ok): user data that was passed to the callbacks 624 624 * 625 625 * A generic folder callback. If allocated, you must cleanup @user_data at the … … 635 635 * @self: a #TnyFolder 636 636 * @msg: a #TnyMsg 637 * @callback (null-ok): a #TnyFolderCallback or NULL638 * @status_callback (null-ok): a #TnyStatusCallback or NULL639 * @user_data (null-ok): user data that will be passed to the callbacks637 * @callback: (null-ok): a #TnyFolderCallback or NULL 638 * @status_callback: (null-ok): a #TnyStatusCallback or NULL 639 * @user_data: (null-ok): user data that will be passed to the callbacks 640 640 * 641 641 * Add a message to a @self. It's recommended to destroy @msg afterwards because … … 667 667 * @self: a #TnyFolder 668 668 * @msg: a #TnyMsg 669 * @err (null-ok): a #GError or NULL669 * @err: (null-ok): a #GError or NULL 670 670 * 671 671 * Add a message to a @self. It's recommended to destroy @msg afterwards because … … 696 696 * @self: a #TnyFolder 697 697 * @header: a #TnyHeader of the message to remove 698 * @err: a #GError or NULL698 * @err: (null-ok): a #GError or NULL 699 699 * 700 700 * Remove a message from a folder. It will use the #TnyMsgRemoveStrategy of … … 753 753 * @self: a #TnyFolder 754 754 * @headers: a #TnyList with #TnyHeader items of the messages to remove 755 * @err: a #GError or NULL755 * @err: (null-ok): a #GError or NULL 756 756 * 757 757 * Remove messages from a folder. It will use the #TnyMsgRemoveStrategy of … … 783 783 * tny_folder_refresh_async: 784 784 * @self: a #TnyFolder 785 * @callback (null-ok): a #TnyFolderCallback or NULL786 * @status_callback (null-ok): a #TnyStatusCallback or NULL787 * @user_data (null-ok): user data that will be passed to the callbacks785 * @callback: (null-ok): a #TnyFolderCallback or NULL 786 * @status_callback: (null-ok): a #TnyStatusCallback or NULL 787 * @user_data: (null-ok): user data that will be passed to the callbacks 788 788 * 789 789 * Refresh @self and callback when finished. This gets the summary information … … 855 855 * tny_folder_refresh: 856 856 * @self: a #TnyFolder 857 * @err: a #GError or NULL857 * @err: (null-ok): a #GError or NULL 858 858 * 859 859 * Refresh @self. This gets the summary information from the E-Mail service, … … 984 984 * the return value after use. 985 985 * 986 * returns (null-ok) (caller-owns): the account of this folder or NULL986 * returns: (null-ok) (caller-owns): the account of this folder or NULL 987 987 * since: 1.0 988 988 * audience: application-developer … … 1015 1015 * @folder_dst: a destination #TnyFolder 1016 1016 * @delete_originals: TRUE moves msgs, FALSE copies 1017 * @err: a #GError or NULL1017 * @err: (null-ok): a #GError or NULL 1018 1018 * 1019 1019 * Transfers messages of which the headers are in @header_list from @self to … … 1048 1048 * @self: a #TnyFolder that caused the callback 1049 1049 * @cancelled: if the operation got cancelled 1050 * @err (null-ok): if an error occurred1051 * @user_data (null-ok): user data that was passed to the callbacks1050 * @err: (null-ok): if an error occurred 1051 * @user_data: (null-ok): user data that was passed to the callbacks 1052 1052 * 1053 1053 * A folder callback for when a transfer of messages was requested. If allocated, … … 1068 1068 * @folder_dst: a destination #TnyFolder 1069 1069 * @delete_originals: TRUE moves msgs, FALSE copies 1070 * @callback (null-ok): a #TnyTransferMsgsCallback or NULL1071 * @status_callback (null-ok): a #TnyStatusCallback or NULL1072 * @user_data (null-ok): user data that will be passed to the callbacks1070 * @callback: (null-ok): a #TnyTransferMsgsCallback or NULL 1071 * @status_callback: (null-ok): a #TnyStatusCallback or NULL 1072 * @user_data: (null-ok): user data that will be passed to the callbacks 1073 1073 * 1074 1074 * Transfers messages of which the headers are in @header_list from @self to … … 1104 1104 * @self: a #TnyFolder 1105 1105 * @header: a #TnyHeader the message to get 1106 * @err: a #GError or NULL1106 * @err: (null-ok): a #GError or NULL 1107 1107 * 1108 1108 * Get a message in @self identified by @header. If not NULL, you must … … 1116 1116 * TnyMsg *message = tny_folder_get_msg (folder, header, NULL); 1117 1117 * tny_msg_view_set_msg (message_view, message); 1118 * g_object_unref ( G_OBJECT (message));1118 * g_object_unref (message); 1119 1119 * </programlisting></informalexample> 1120 1120 * … … 1127 1127 * updates from the observable folder. 1128 1128 * 1129 * returns (null-ok) (caller-owns): The message instance or NULL1129 * returns: (null-ok) (caller-owns): The message instance or NULL 1130 1130 * since: 1.0 1131 1131 * audience: application-developer … … 1159 1159 * @self: a #TnyFolder 1160 1160 * @url_string: the url string 1161 * @err: a #GError or NULL1161 * @err: (null-ok): a #GError or NULL 1162 1162 * 1163 1163 * Get the message in @self identified by @url_string. If not NULL, you must … … 1174 1174 * </programlisting></informalexample> 1175 1175 * 1176 * returns (null-ok) (caller-owns): The message instance or NULL1176 * returns: (null-ok) (caller-owns): The message instance or NULL 1177 1177 * since: 1.0 1178 1178 * audience: application-developer … … 1206 1206 * @self: a #TnyFolder that caused the callback 1207 1207 * @cancelled: if the operation got cancelled 1208 * @msg (null-ok): a #TnyMsg with the fetched message or NULL1209 * @err (null-ok): if an error occurred1210 * @user_data (null-ok): user data that was passed to the callbacks1208 * @msg: (null-ok): a #TnyMsg with the fetched message or NULL 1209 * @err: (null-ok): if an error occurred 1210 * @user_data: (null-ok): user data that was passed to the callbacks 1211 1211 * 1212 1212 * A folder callback for when a message fetch was requested. If allocated, you … … 1226 1226 * @self: a #TnyFolder 1227 1227 * @header: a #TnyHeader of the message to get 1228 * @callback (null-ok): a #TnyGetMsgCallback or NULL1229 * @status_callback (null-ok): a #TnyStatusCallback or NULL1230 * @user_data (null-ok): user data that will be passed to the callbacks1228 * @callback: (null-ok): a #TnyGetMsgCallback or NULL 1229 * @status_callback: (null-ok): a #TnyStatusCallback or NULL 1230 * @user_data: (null-ok): user data that will be passed to the callbacks 1231 1231 * 1232 1232 * Get a message in @self identified by @header asynchronously. … … 1275 1275 * @headers: A #TnyList where the headers will be prepended to 1276 1276 * @refresh: synchronize with the service first 1277 * @err: a #GError or NULL1277 * @err: (null-ok): a #GError or NULL 1278 1278 * 1279 1279 * Get the list of message header instances that are in @self. Also read … … 1323 1323 * @self: a #TnyFolder that caused the callback 1324 1324 * @cancelled: if the operation got cancelled 1325 * @headers (null-ok): a #TnyList with fetched #TnyHeader instances or NULL1326 * @err (null-ok): if an error occurred1327 * @user_data (null-ok): user data that was passed to the callbacks1325 * @headers: (null-ok): a #TnyList with fetched #TnyHeader instances or NULL 1326 * @err: (null-ok): if an error occurred 1327 * @user_data: (null-ok): user data that was passed to the callbacks 1328 1328 * 1329 1329 * A folder callback for when headers where requested. If allocated, you must … … 1344 1344 * @headers: A #TnyList where the headers will be prepended to 1345 1345 * @refresh: synchronize with the service first 1346 * @callback (null-ok): a #TnyGetHeadersCallback or NULL1347 * @status_callback (null-ok): a #TnyStatusCallback or NULL1348 * @user_data (null-ok): user data that will be passed to the callbacks1346 * @callback: (null-ok): a #TnyGetHeadersCallback or NULL 1347 * @status_callback: (null-ok): a #TnyStatusCallback or NULL 1348 * @user_data: (null-ok): user data that will be passed to the callbacks 1349 1349 * 1350 1350 * Get the list of message header instances that are in @self. Also read … … 1474 1474 * to be inside a folder store. This API will in that case return NULL. 1475 1475 * 1476 * returns (null-ok) (caller-owns): the folder store of this folder or NULL1476 * returns: (null-ok) (caller-owns): the folder store of this folder or NULL 1477 1477 * since: 1.0 1478 1478 * complexity: low trunk/libtinymail/tny-fs-stream.c
r3150 r3161 188 188 * kill your cat and dog (yes, both of them). 189 189 * 190 * returns (caller-owns): a new #TnyStream instance190 * returns: (caller-owns): a new #TnyStream instance 191 191 * since: 1.0 192 192 * audience: tinymail-developer … … 218 218 if (priv->fd != -1) { 219 219 fsync (priv->fd); 220 close (priv->fd); 220 close (priv->fd); 221 221 } 222 222 priv->fd = -1; trunk/libtinymail/tny-header.c
r3150 r3161 40 40 * tny_header_set_replyto: 41 41 * @self: a #TnyHeader 42 * @to (null-ok): the reply-to header or NULL42 * @to: (null-ok): the reply-to header or NULL 43 43 * 44 44 * Set the reply-to header … … 69 69 * Get the reply-to header 70 70 * 71 * returns (null-ok): reply-to header or NULL71 * returns: (null-ok): reply-to header or NULL 72 72 * since: 1.0 73 73 * audience: application-developer … … 87 87 * tny_header_set_bcc: 88 88 * @self: a #TnyHeader 89 * @bcc (null-ok): the BCC header in a comma separated list or NULL89 * @bcc: (null-ok): the BCC header in a comma separated list or NULL 90 90 * 91 91 * Set the BCC header. Look at the To header for more information … … 114 114 * tny_header_set_cc: 115 115 * @self: a #TnyHeader 116 * @cc (null-ok): the CC header in a comma separated list or NULL116 * @cc: (null-ok): the CC header in a comma separated list or NULL 117 117 * 118 118 * Set the CC header. Look at the To header for more information … … 141 141 * tny_header_set_from: 142 142 * @self: a #TnyHeader 143 * @from (null-ok): the from header or NULL143 * @from: (null-ok): the from header or NULL 144 144 * 145 145 * Set the from header … … 167 167 * tny_header_set_subject: 168 168 * @self: a #TnyHeader 169 * @subject (null-ok): the subject header or NULL169 * @subject: (null-ok): the subject header or NULL 170 170 * 171 171 * Set the subject header … … 193 193 * tny_header_set_to: 194 194 * @self: a #TnyHeader 195 * @to (null-ok): the To header in a comma separated list or NULL195 * @to: (null-ok): the To header in a comma separated list or NULL 196 196 * 197 197 * Set the To header. … … 227 227 * Get the CC header. The returned value should not be freed. 228 228 * 229 * returns (null-ok): CC header as a read-only string or NULL229 * returns: (null-ok): CC header as a read-only string or NULL 230 230 * since: 1.0 231 231 * audience: application-developer … … 248 248 * Get the BCC header. The returned value should not be freed. 249 249 * 250 * returns (null-ok): BCC header as a read-only string or NULL250 * returns: (null-ok): BCC header as a read-only string or NULL 251 251 * since: 1.0 252 252 * audience: application-developer … … 314 314 * IMAP and the UIDL in POP if UIDL is supported or the UID if not.
