aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby/init.c
Commit message (Collapse)AuthorAge
* ruby: extern linkage portability improvementTomi Ollila2012-06-29
| | | | | | | | | | | | Some C compilers are stricter when it comes to (tentative) definition of a variable -- in those compilers introducing variable without 'extern' keyword always allocates new 'storage' to the variable and linking all these modules fails due to duplicate symbols. This is reimplementation of Charlie Allom's patch: id:"1336481467-66356-1-git-send-email-charlie@mediasp.com", written originally by Ali Polatel. This version has more accurate commit message.
* ruby: Add wrapper for notmuch_query_set_omit_excluded()Ali Polatel2012-05-08
|
* ruby: Add wrapper for notmuch_query_add_tag_excludeAli Polatel2012-05-08
|
* ruby: Add wrapper for notmuch_query_count_messagesAli Polatel2012-05-08
|
* ruby: Really add wrappers for database_find_message*Ali Polatel2011-10-04
| | | | | | Commit 898613116db746aa0f915ae43da8aba28545203d only added wrapper functions but did not register them. Register the functions in module's initialization function.
* ruby: be consistent with notmuch's coding styleAli Polatel2011-10-04
| | | | No functional change, just indentation
* ruby: New exception Notmuch::UnbalancedAtomicErrorAli Polatel2011-09-24
| | | | | This exception wraps NOTMUCH_STATUS_UNBALANCED_ATOMIC which was added with the commit e59cc0031fbf84f49e32dedb9927f427d2c49309.
* ruby: Wrap notmuch_database_{begin,end}_atomicAli Polatel2011-09-24
| | | | | | | | | | | Adding ruby wrappers for functions: - notmuch_database_begin_atomic() - notmuch_database_end_atomic() added by 957f1ba3fc1d737887029ff1787fc6bea94de00b New functions: Notmuch::Database.begin_atomic() Notmuch::Database.end_atomic()
* ruby: Rename destroy to destroy!Ali Polatel2011-09-24
| | | | | | | | | | | | | | | | | According to the common Ruby function naming convention, potentially dangerous functions or functions which operate on the object itself are suffixed with an exclamation mark. Both of these are true for object destroying functions. The following modules are affected: - Notmuch::Directory - Notmuch::FileNames - Notmuch::Query - Notmuch::Threads - Notmuch::Thread - Notmuch::Messages - Notmuch::Message - Notmuch::Tags
* ruby: Fix typo in documentationAli Polatel2011-07-29
| | | | It's Notmuch::FileNames not Notmuch::Filenames
* ruby: Add markers to method definitions to help rdocAli Polatel2011-07-29
| | | | | rdoc is dumb and needs markers in method definitions so that she can find which source file the method is defined in
* ruby: Document remaining undocumented constantsAli Polatel2011-07-29
|
* ruby: Document constants and exceptions right before definitionAli Polatel2011-07-29
|
* ruby: Add list of classes to main documentationAli Polatel2011-07-29
|
* ruby: Add wrapper for message_get_filenamesAli Polatel2011-01-25
|
* ruby: Add wrappers for maildir sync. interfaceAli Polatel2011-01-25
| | | | | | New wrappers: notmuch_message_maildir_flags_to_tags(): MESSAGE.maildir_flags_to_tags notmuch_message_tags_to_maildir_flags(): MESSAGE.tags_to_maildir_flags
* ruby: Add wrappers for query_get_s{ort,tring}Ali Polatel2011-01-25
| | | | | | New wrappers: notmuch_query_get_sort(): QUERY.sort notmuch_query_get_query_string(): QUERY.to_s
* ruby: Don't barf if an object is destroyed more than onceAli Polatel2010-06-06
| | | | | | Raise RuntimeError instead. Also revise Notmuch::Database a bit. Add Notmuch::Database.open singleton method.
* ruby: Kill garbage collection related cruft.Ali Polatel2010-06-06
| | | | | | | Let the user destroy objects that she wants explicitly. It's not possible to specify the order objects are garbage collected. See id:86y6f8v838.fsf@harikalardiyari.ev on ruby-talk for more information.
* Initial ruby bindingsAli Polatel2010-06-06