This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/xapian-core/tests/api_db.cc b/xapian-core/tests/api_db.cc | |
| index 0fd1e70..30da24d 100644 | |
| --- a/xapian-core/tests/api_db.cc | |
| +++ b/xapian-core/tests/api_db.cc | |
| @@ -226,7 +226,7 @@ DEFINE_TESTCASE(stubdb6, inmemory) { | |
| return true; | |
| } | |
| -#if 0 // the "force error" mechanism is no longer in place... | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/xapian-core/matcher/multimatch.cc b/xapian-core/matcher/multimatch.cc | |
| index 654908a..f3acb28 100644 | |
| --- a/xapian-core/matcher/multimatch.cc | |
| +++ b/xapian-core/matcher/multimatch.cc | |
| @@ -136,10 +136,10 @@ split_rset_by_db(const Xapian::RSet * rset, | |
| */ | |
| static void | |
| prepare_sub_matches(vector<intrusive_ptr<SubMatch> > & leaves, | |
| - Xapian::ErrorHandler * errorhandler, | |
| - Xapian::Weight::Internal & stats) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/xapian-core/api/omdatabase.cc b/xapian-core/api/omdatabase.cc | |
| index 8953cb6..211ed04 100644 | |
| --- a/xapian-core/api/omdatabase.cc | |
| +++ b/xapian-core/api/omdatabase.cc | |
| @@ -740,6 +740,17 @@ Database::get_uuid() const | |
| RETURN(uuid); | |
| } | |
| +void | |
| +Database::set_error_handler(ErrorHandler* error_handler_) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/xapian-core/Makefile.am b/xapian-core/Makefile.am | |
| index cf49159..96d84b6 100644 | |
| --- a/xapian-core/Makefile.am | |
| +++ b/xapian-core/Makefile.am | |
| @@ -140,3 +140,14 @@ xapian-config.1: xapian-config makemanpage | |
| endif | |
| MAINTAINERCLEANFILES += $(BUILT_SOURCES) | |
| + | |
| +.PHONY: check-syntax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| div.global-notice.warn { | |
| display: none; | |
| } | |
| span.setting_warning { | |
| display: none; | |
| } | |
| div.octofication { | |
| display: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Making all in java | |
| : # Make sure that we don't package stale generated sources in the | |
| : # case where SWIG changes its mind as to which files it generates. | |
| rm -f org/xapian/* | |
| .././install-sh -c -d org/xapian | |
| /opt/local/bin/perl '..'/swig-depcomp /Users/dcolish/workspace/xapian/swig/preinst-swig -Werror -I'.' -I/Users/dcolish/workspace/xapian/xapian-core/include -c++ -java -module Xapian -package org.xapian -outdir org/xapian -o xapian_wrap.cc './'java.i | |
| : # Insert code to automatically load the JNI library. | |
| /opt/local/bin/perl -pi -e 'print " System.loadLibrary(\"xapian_jni\");\n" if /^\s*swig_module_init/' org/xapian/XapianJNI.java | |
| : # Check that exactly the sources we expected were generated. | |
| /opt/local/bin/perl -e 'print "/Users/dcolish/workspace/\n" for sort @ARGV' org/xapian/*.java > org/xapian/list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Will either compute a passwordmaker style key from `sha256(mp + site + | |
| username)` or open a symmetrically keyed gpg file and lookup a specific | |
| site-key for the username and password. The keyfile must follow the following | |
| format:: | |
| foobar.com: | |
| username: johnuser | |
| password: megaleet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >>> from sys import stdout, stderr | |
| >>> import sys | |
| >>> id(sys.stdout) | |
| 4297499104 | |
| >>> id(stdout) | |
| 4297499104 | |
| >>> stdout = stderr | |
| >>> id(stdout) | |
| 4297499248 | |
| >>> id(stderr) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // | |
| // @name fixhub | |
| // @version 0.5 | |
| // @namespace lazar6@illinois.edu | |
| // @description https://github.com/davidlazar/fixhub | |
| // | |
| // @match *://github.com/* | |
| // | |
| // @resource fixhubCSS fixhub.css |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define XAPIAN_TERMITERATOR_PAIR_OUTPUT_TYPEMAP | |
| %typemap(out) std::pair<Xapian::TermIterator, Xapian::TermIterator> { | |
| jstring temp_string; | |
| const jclass clazz = jenv->FindClass("java/lang/String"); | |
| int n = 0; | |
| list<string> tmp_list; | |
| for (Xapian::TermIterator i = .first; i != .second; ++i) { | |
| tmp_list.push_back((*i).data()); |