122 Commits

Author SHA1 Message Date
Jean-Francois Dockes
e0aa229c28 python: make sure that all ways to get a doc attr use the same code 2016-08-12 18:01:37 +02:00
Jean-Francois Dockes
cce32c3e12 Python: implemented doc_subscript() so that doc["someattr"] actually works (as documented...) 2016-08-12 13:55:46 +02:00
Jean-Francois Dockes
0b0385e459 got rid of the STD_SHARED_XX std/tr1 defines 2016-07-13 15:12:25 +02:00
Jean-Francois Dockes
f6a999de84 logging now uses c++ streams 2016-07-12 09:41:04 +02:00
Jean-Francois Dockes
ac83ae85bc Python module: do not limit result fetching to the Xapian result count: it may be underestimated 2016-06-21 12:17:26 +02:00
Jean-Francois Dockes
ddc13de6d3 Updated the python external indexer sample 2016-06-01 09:47:20 +02:00
Jean-Francois Dockes
1796ba1a2e Python module Doc_setattr: miscplaced DECREF caused crashes 2016-06-01 09:39:24 +02:00
Jean-Francois Dockes
e711f1e1a9 add init check in recoll.Doc to avoid crash if connect() not called yet 2016-05-30 13:33:33 +02:00
Jean-Francois Dockes
e361661a60 Only create config on first param request so that getconfdir() does not need a full config build 2016-04-08 08:59:41 +02:00
Jean-Francois Dockes
a4fd4ee5be moved code around to make smallut and pathut less recoll-specific and reusable. No actual changes 2016-03-21 12:55:31 +01:00
Jean-Francois Dockes
863ca60d56 Allow out-of-tree builds 2015-11-23 11:22:25 +01:00
Jean-Francois Dockes
f344e8fedd first pass at converting the filters for python 2/3 compat 2015-11-06 16:49:03 +01:00
Jean-Francois Dockes
a411d4c964 Windows: small fixes for rclmpdf.py to work with alivate poppler 2015-10-01 16:36:29 +02:00
Jean-Francois Dockes
4d1f679eac Use std[::tr1]::shared_ptr instead of local RefCntr by default 2015-08-09 13:54:24 +02:00
Jean-Francois Dockes
5846cb7a7a Kio build + fix python build 2015-08-04 17:24:30 +02:00
Jean-Francois Dockes
7157b2c6cd recollindex and python module building and running 2015-08-02 17:40:51 +02:00
Jean-Francois Dockes
963072f05d Fix cygwin64 build. Closes issue #227 2015-02-23 10:14:03 +01:00
Jean-Francois Dockes
3fb7183eae Converted query language parser from the old regexp jungle to bison. Allow using parentheses for clearer syntax. 2015-01-29 16:15:17 +01:00
Jean-Francois Dockes
19da7020d6 Add new kind of aliases for field names, to be used only at query time 2014-07-23 16:52:08 +02:00
Jean-Francois Dockes
8c239bef6f python module: query_iter function must incref the query (problem surfaced because the query ref count is now correct following the previous incref fix 2014-07-16 14:29:18 +02:00
Jean-Francois Dockes
2408e9fd83 mode 2014-06-26 12:34:14 +02:00
Jean-Francois Dockes
0a7f5637eb Python module: stray INCREF on db object prevented descriptor and memory freeing. Fixed prototypes for db_close and query_close methods (fixes possible core dump) 2014-06-26 12:43:18 +02:00
Jean-Francois Dockes
12acdc4faf Allow access to Xapian docid for Recoll document in recollq and Python API. Add sample Python program to find document duplicates, using MD5 terms 2014-05-19 12:00:15 +02:00
Jean-Francois Dockes
09499112d7 updated to work with 1.19 2014-03-22 16:20:59 +01:00
Jean-Francois Dockes
457b481773 properly expand tilde when creating temp dir 2014-02-27 13:25:46 +01:00
Jean-Francois Dockes
126cecc968 adapted to work with recoll 2014-02-26 15:39:28 +01:00
Jean-Francois Dockes
9b06bd57f4 init from github/honza/mutt-notmuch-py 2014-02-26 15:13:54 +01:00
Jean-Francois Dockes
2893635d0c Fix Python module python 2.6 build and function 2014-01-23 21:13:04 +01:00
Jean-Francois Dockes
9b35509b45 python searchdata sample 2013-12-11 14:23:29 +01:00
Jean-Francois Dockes
3d3ee8e2e6 python rclconfig: do not generate exception for missing file 2013-11-12 14:40:24 +01:00
Jean-Francois Dockes
d228caa8de build both python and python3 recoll modules 2013-11-09 18:06:34 +01:00
Jean-Francois Dockes
2b81076348 python: makedocabstract failure should not cause exception 2013-11-07 18:24:57 +01:00
Jean-Francois Dockes
4b12c0d06c python module: return bytes not bytearray in binurl as python file open takes a bytes object. Fix misc small problems seen while implementing tests 2013-10-30 16:57:39 +01:00
Jean-Francois Dockes
33833c5b22 Python module: python3 compatibility 2013-10-30 10:38:02 +01:00
Jean-Francois Dockes
fe66206ee7 python: heed conftop/confmid in rclconfig.py 2013-10-29 14:23:02 +01:00
Jean-Francois Dockes
65f00ff711 python: highlighter would produce wrong end of span tag when user methods were not set 2013-10-29 09:13:49 +01:00
Jean-Francois Dockes
a15de0b9df added termMatch method to the Python API 2013-09-16 19:05:11 +02:00
Jean-Francois Dockes
367d5247fc need to build rclconfig as a confstack of conftrees 2013-06-10 14:00:33 +02:00
Jean-Francois Dockes
2b2cfdc33e look for rclconfig inside the recoll package 2013-06-09 11:35:40 +02:00
Jean-Francois Dockes
1f31f5c16e add configuration access module to the recoll python package. Allows external index info access for the Unity Lens 2013-06-09 11:18:48 +02:00
Jean-Francois Dockes
64bf013114 convert 8 bit strings to unicode before running the query 2013-06-06 13:24:35 +02:00
Jean-Francois Dockes
e7b3042310 the way we added the autophrase to the query (OR) created false matches. Use AND_MAYBE instead 2013-05-26 15:26:41 +02:00
Jean-Francois Dockes
3c80e51940 simplified temp file handling for compressed documents and, for querying, implemented caching for last file uncompressed 2013-03-06 18:52:57 +01:00
Jean-Francois Dockes
b0e296235f updated python searchdata object to match current C++ interface 2013-03-01 11:50:35 +01:00
Jean-Francois Dockes
7130edd5cb doc 2013-02-21 19:13:31 +01:00
Jean-Francois Dockes
1b38c5c98c replaced SCLT_EXCL clauses with general excl/neg flag 2013-01-05 18:15:54 +01:00
Jean-Francois Dockes
90bd9d466d python module mac compilation 2013-01-05 08:49:24 +01:00
Jean-Francois Dockes
59fe1ed5df get python setup.py to work when called directly 2012-12-31 12:14:05 +01:00
Jean-Francois Dockes
49ce79d6a6 build with lib moved to recoll subdir works for debian 2012-12-30 16:11:51 +01:00
Jean-Francois Dockes
8450b355e3 move librecoll to lib/recoll 2012-12-30 14:46:21 +01:00