aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/ruby
Commit message (Collapse)AuthorAge
* ruby: handle return status of database closeGravatar Peter Wang2014-09-16
| | | | Throw an exception if notmuch_database_destroy fails.
* ruby: Add wrapper for notmuch_query_count_threadsGravatar Wael M. Nasreddine2014-05-18
|
* ruby bindings message: docstring typoGravatar Gaute Hope2014-02-21
|
* ruby: use in-tree notmuch libraryGravatar Felipe Contreras2013-05-23
| | | | | | | | | | | | Currently it simply finds any library available, and if notmuch is installed in the system, it would give priority to that library. Let's implement our own helper functions to link directly to the local library, and give priority to the local header file. Also, add an option to properly check if there are missing symbols. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* ruby: fix missing symbol UINT2FIX()Gravatar Felipe Contreras2013-05-23
| | | | | | | | It has never existed in Ruby (maybe JRuby). Fortunately the symbols are loaded lazily, so nobody would notice unless they try 'query::count_messages'. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* ruby: Add bindings for notmuch_thread_get_messagesGravatar Austin Clements2013-02-18
|
* ruby: extern linkage portability improvementGravatar Tomi 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.
* Revert "ruby: Add workarounds to use in-tree build not the installed one"Gravatar Felipe Contreras2012-05-25
| | | | | | | | This reverts commit 82b73ffd7380b85d259eeb91100dd6ac2d14223a. Only leave the copyright changes. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* ruby: Update for changes to notmuch_database_get_directoryGravatar Austin Clements2012-05-15
|
* ruby: Add wrapper for notmuch_query_set_omit_excluded()Gravatar Ali Polatel2012-05-08
|
* ruby: Add workarounds to use in-tree build not the installed oneGravatar Ali Polatel2012-05-08
| | | | | - Make mkmf use the notmuch.h under ../../lib - Use libnotmuch.a instead of linking to the installed libnotmuch.so
* ruby: Add wrapper for notmuch_query_add_tag_excludeGravatar Ali Polatel2012-05-08
|
* ruby: Add wrapper for notmuch_query_count_messagesGravatar Ali Polatel2012-05-08
|
* ruby: Update Ruby bindings for new notmuch_database_{open, create} signaturesGravatar Austin Clements2012-05-05
|
* ruby: Use notmuch_database_destroy instead of notmuch_database_closeGravatar Justus Winter2012-04-28
| | | | | | Adapt the ruby bindings to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* ruby: Fix macros, use quotingGravatar Ali Polatel2011-10-04
| | | | | | Fix Data_Get_Notmuch_* macro definitions broken by prev. commit Adequate quoting for Data_Get_Notmuch_* macros Remove duplicated RSTRING_PTR() macros, move it to defs.h
* ruby: Really add wrappers for database_find_message*Gravatar 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 styleGravatar Ali Polatel2011-10-04
| | | | No functional change, just indentation
* ruby: Add wrappers for database_find_message*Gravatar Ali Polatel2011-10-04
| | | | | | Two new wrappers: Notmuch::Database.find_message(id) => Notmuch::Message or nil Notmuch::Database.find_message_by_filename(path) => Notmuch::Message or nil
* ruby: New exception Notmuch::UnbalancedAtomicErrorGravatar Ali Polatel2011-09-24
| | | | | This exception wraps NOTMUCH_STATUS_UNBALANCED_ATOMIC which was added with the commit e59cc0031fbf84f49e32dedb9927f427d2c49309.
* ruby: Wrap notmuch_database_{begin,end}_atomicGravatar Ali 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!Gravatar 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 documentationGravatar Ali Polatel2011-07-29
| | | | It's Notmuch::FileNames not Notmuch::Filenames
* ruby: Remove the split file hack from rdoc.shGravatar Ali Polatel2011-07-29
|
* ruby: Add markers to method definitions to help rdocGravatar Ali 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 constantsGravatar Ali Polatel2011-07-29
|
* ruby: Document constants and exceptions right before definitionGravatar Ali Polatel2011-07-29
|
* ruby: Add list of classes to main documentationGravatar Ali Polatel2011-07-29
|
* ruby: Add generated files to .gitignoreGravatar Ali Polatel2011-02-03
|
* ruby: Add wrapper for message_get_filenamesGravatar Ali Polatel2011-01-25
|
* ruby: Add wrappers for maildir sync. interfaceGravatar Ali 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}Gravatar 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 onceGravatar Ali Polatel2010-06-06
| | | | | | Raise RuntimeError instead. Also revise Notmuch::Database a bit. Add Notmuch::Database.open singleton method.
* ruby: Use rb_scan_args()Gravatar Ali Polatel2010-06-06
|
* ruby: Kill garbage collection related cruft.Gravatar 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.
* ruby: First attempt at fixing gc for ruby-1.9Gravatar Ali Polatel2010-06-06
|
* ruby: fix documentation of DB.upgrade!Gravatar Ali Polatel2010-06-06
|
* Initial ruby bindingsGravatar Ali Polatel2010-06-06