similar to: Swig mirror

Displaying 20 results from an estimated 10000 matches similar to: "Swig mirror"

2007 Jul 24
2
licensing requirements for using the SWIG bindings
Hi, I'm confused about my licensing obligation with respect to the Xapian SWIG bindings. I've got a python wrapper that sits above the standard Xapian Python/SWIG bindings, and I wasn't sure if the *intent* of the Xapian team is that my python wrapper - and any code that also uses my wrapper also falls under GPLv2. It seems unclear if the FSF's position on dynamic linking in
2007 Apr 26
1
Rules for running SWIG
With the new "stamp" rules for running SWIG, things don't seem to get rebuilt when I expect them to, e.g.: olly at ixion:~/svn/xapian/xapian-bindings/python $ make modern/xapian_wrap.cc make: Nothing to be done for `modern/xapian_wrap.cc'. olly at ixion:~/svn/xapian/xapian-bindings/python $ ls -l modern/xapian_wrap.cc ls: modern/xapian_wrap.cc: No such file or directory Problem
2007 Aug 23
0
Re: [Swig-devel] license issue
Just re-posting so swig-devel get so see it. It's an architectural solution whereby swig has the power to banish licensing conflicts that may exist between any imported library and the target system for which swig is generating a module. -----Original Message----- From: "Sam Liddicott" <sam@liddicott.com> To: "Alexander Lind" <malte@webstay.org>; "William
2016 Dec 04
1
swig-3.0.7 for xapian-bindings to tcl
I recently wrote a post on installing "Git for Windows" on a legacy XP SP3 Home box. http://nurmi-labs.blogspot.com/2016/11/git.html I added some missing files from the MSYS2 packages which were removed for the downloadable "Git for Windows" installer and a compiler and some additional libraries. For other utilities (bison, flex, info, m4, make, and csh/tcsh), and code I
2014 Feb 24
2
Summer of Code help
Hello Olly, I read about Xapian and SWIG and the bindings that Xapian has with other languages. According to what I've read, I understand that Xapian is a search engine library written in C/C++. It can be integrated with web applications which handle large amount of data. But since the web applications may be written in a variety of languages a binding is required for the web app to be able
2007 Jun 23
1
Test failures
Tinderbox is showing failures in Search::Xapian on atreus with g++ 4.1 (which looks like tests out of date at a *very* cursory examination, and in any case everyone should know about); I'm also getting different test failures on the same system -- valgrind (I assume) is finding potential memory leaks for every test against the remotetcp backend. (Incidentally, I've just installed
2018 Nov 12
0
Fwd: GoXapian
Hi Olly, I setup the environment for the golang branch and build it without problem. Cgo complain about the generated cc file and dosent regonize it as swig generated file... curious. There no more problem with the MSet and ESet and all class seem to be generated in Go correctly. I will try tomorrow to manually invoke swig over your .i file and see if the code is generated properly. The file
2014 Feb 27
2
Summer of Code help
I think there is a development in the bug #616. The exception obtained is: Exception in thread "main" java.lang.IllegalArgumentException: No enum class org.xapian.TermGenerator$flags with value 0 at org.xapian.TermGenerator$flags.swigToEnum(TermGenerator.java:143) at org.xapian.TermGenerator.setFlags(TermGenerator.java:71) at org.xapian.examples.SimpleIndex.main(SimpleIndex.java:54)
2012 Mar 19
1
Gsoc: SWIG-based Java Bindings
Hello all, I am interested in the project: SWIG-based java bindings. It says a few things of Java bindings generated by SWIG don't work. Could you point out which particular part does not work? -- Best Regards, Sabrina -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 04
0
Re: xapian python bindings
I'm cc:-ing my reply to xapian-devel, since others may have an opinion. In particular, James has probably done most work on the python bindings. On Fri, Jan 27, 2006 at 03:56:23PM -0800, Jason Toffaletti wrote: > I'm curious if boost::python has been considered for creating more > pythonic bindings to Xapian. I've used it to wrap several C++ libraries > and found the
2012 Apr 03
0
Swig for php
Hi I have an approach for handling php with swig. Swig needs to act like this when we use it for php - first it analyses the code - then it inserts the zend api instuctions into the code - finally it generates and compiles the zend extensions What do you think? I that couldn't work , please tell me how could I make that. Your sincerely Riadh -------------- next part
2007 Mar 03
1
Error handling in the bindings
Currently, the SWIG generated bindings catch exceptions raised by Xapian and rethrow them using the standard SWIG error types: for example, if any Xapian::DatabaseError exception is raised, SWIG will use its standard SWIG_IOError error type to report the error. In Python, this leads to code like the following: try: db.get_document(1) except RuntimeError, e: if
2007 Mar 03
1
Error handling in the bindings
Currently, the SWIG generated bindings catch exceptions raised by Xapian and rethrow them using the standard SWIG error types: for example, if any Xapian::DatabaseError exception is raised, SWIG will use its standard SWIG_IOError error type to report the error. In Python, this leads to code like the following: try: db.get_document(1) except RuntimeError, e: if
2006 Mar 07
1
How to rebuild python-bindings using SWIG
Dear xapian developers, I've added a function named "set_sort_by_relevance_then_value()". Now I want to rebuild python-bindings to include the new function and test if it works or not. I guess there is a way to rebuild all of the binding modules include the new function. I am not used to SWIG. I want to which files I need to change and how to build it. Thanks! Sungsoo Kim
2020 Feb 21
1
prioritizing aggregated DBs
Olly Betts <olly at survex.com> wrote: > On Wed, Feb 19, 2020 at 10:23:09AM +0000, Eric Wong wrote: > > Btw, is there a way to quickly figure out which sub-DB a retrieved > > document or mset item belongs to? > > Yes: https://trac.xapian.org/wiki/FAQ/MultiDatabaseDocumentID > > 1.4.12 added a Database::size() method which reports the number of > shards - for
2015 Aug 19
0
Perl bindings and MatchSpy
On Wed, Aug 19, 2015 at 05:31:31PM +0700, Andreas Marienborg wrote: > I?m cleaning up some code at my work place, and it turns out someone > had forked Search::Xapian and added MatchSpy bindings for it for one > of our internal projects. I was wondering if I should try to extract > this as a patch against the current Search::Xapian code, and submit > it, or if that is not
2017 Sep 12
0
perl bindings to Xapian::Query
On Tue, Sep 12, 2017 at 04:47:52PM -0400, Alex Aminoff wrote: >         my $filterepoch = time() - ($datefilter * 60 * 60 * 24); >         my $filterquery = > Xapian::Query->new(OP_VALUE_GE,I_DATE,$filterepoch); I think your issue here is that $filterepoch is a number rather than a string (a Perl scalar can have different representations internally). In t/valuerange.t this testcase
2018 Nov 11
2
Fwd: GoXapian
On Mon, Nov 05, 2018 at 09:04:23PM +0000, Olly Betts wrote: > Dave Courtois wrote: > > Hi there just a little word to tell you that Xapian 1.4.6 work in > > Golang 1.9. There is some issue with the MSet ESet, the namespace part > > of the name is drop by swig. There is also some error with define > > macro in .i files, but with minor change all work perfectly. I had a
2011 Feb 11
2
PHP Binding and SWIG Director for XapianMatchDecider
Hi, I try to use XapianMatchDecider to filtering results, but the code : $Decider = new MatchDecider_Search($XapianDatabase->_cPtr); $mset = $XapEnquire->get_mset(0, 3000, null, $Decider); Always return : PHP Fatal error: No matching function for overloaded 'Enquire_get_mset' in xapian.php on line 1082 I saw that SWIG was not supporting Directors for PHP, but now, it seems to
2018 Nov 05
0
Fwd: GoXapian
Dave Courtois wrote: > Hi there just a little word to tell you that Xapian 1.4.6 work in > Golang 1.9. There is some issue with the MSet ESet, the namespace part > of the name is drop by swig. There is also some error with define > macro in .i files, but with minor change all work perfectly. I made > use of it as a search engine (and db), for my Javascript framework > named