Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WT-2978 Python: make a pip-compatible installer. (#3320) | Don Anderson | 2017-03-17 | 2 | -0/+456 |
| | | | | | * Build a static library with -fPIC objects, suitable for pulling into a dynamic library. Distribute our SWIG results, rather than running SWIG on the target machine. * Added builtin support for snappy and zlib. Made it easy to manage the list of builtins. | ||||
* | WT-3092 Quiet a warning from autogen.sh (#3211) | Keith Bostic | 2016-12-23 | 1 | -1/+2 |
| | |||||
* | WT-3071 Fixed sign-conversion compiler errors in Java and Python SWIG code ↵ | Don Anderson | 2016-12-14 | 1 | -2/+3 |
| | | | | | | | | | | (#3194) Modified SWIG compilation for python to turn off sign conversion checks. There are a dozen or so sign conversion complaints in boiler-plate SWIG-Python utility functions that we can't do anything about. Since we'd like to build a tree with python enabled and sign conversions checks on everywhere else, this appears to be the best we can do. | ||||
* | WT-3053 Make Python use internal memory allocation again. (#3179) | Michael Cahill | 2016-12-06 | 1 | -11/+11 |
| | | | | | Since we aren't going to make allocation functions hidden, revert changes to the Python API in WT-3014 so it uses internal memory allocation functions, matching the Java API. | ||||
* | WT-3053 Revert: Python and Java support use internal WiredTiger functions ↵ | Alex Gorrod | 2016-12-06 | 1 | -13/+2 |
| | | | | (#3178) | ||||
* | WT-3053 Python and Java support use internal WiredTiger functions (#3174) | Keith Bostic | 2016-12-05 | 1 | -2/+13 |
| | | | | | | | | | | | | * WT-3053 Python and Java support use internal WiredTiger functions Remove calls to internal WiredTiger functions from the Java and Python APIs, meaning we no longer need to expose a few more internal WiredTiger functions. * Try using SWIGWIN instead of _MSC_VER for the swig windows #ifdef. * Another try at a Windows #ifdef in the SWIG code. | ||||
* | WT-3014 Add GCC/clang support for ELF symbol visibility. (#3138) | Keith Bostic | 2016-12-05 | 1 | -11/+11 |
| | | | | | * Rewrite the demo file system example to not require internal WiredTiger functions. * Replace calls to __wt_calloc/__wt_free with C library calloc/free/calls, avoid using internal WiredTiger functions. | ||||
* | WT-1517 Set the packing size = 1 by default in the fast path. | Michael Cahill | 2016-01-20 | 1 | -12/+4 |
| | | | | | | Don't add extra checks into regular processing: we already set size = 1 in normal processing of packing strings if no size is specified. Make the Python packing code match so all test cases pass. | ||||
* | Upgrade copyright notices from 2015 to 2016. | Keith Bostic | 2016-01-01 | 5 | -5/+5 |
| | |||||
* | WT-1985. Fixed a comment about 'U' unpacking so there is no confusion. | Don Anderson | 2015-07-13 | 1 | -1/+2 |
| | |||||
* | WT-1985. intpack-test.py and packing-test.py are now subsumed by | Don Anderson | 2015-07-07 | 2 | -114/+0 |
| | | | | test/suite/test_intpack.py and test_pack.py . | ||||
* | Wt-1985. Fixes required by new packing tests: | Don Anderson | 2015-07-07 | 1 | -9/+10 |
| | | | | | Specifying 'u' as a format can result in a 'U' format appearing in an index. The pack/unpack routines need to understand 'U'. | ||||
* | WT-1985. Fixed problems with integer packing in Python: | Don Anderson | 2015-06-30 | 2 | -0/+28 |
| | | | | | | | 1) Applied special case from C code for POS_2BYTE_MAX + 1. 2) Handle B/b format chars directly. Up to now these would have been encoded using default int encoding (so values above 63 get errors when encoding. | ||||
* | Merge branch 'develop' into encryption-api | Susan LoVerso | 2015-04-28 | 1 | -4/+10 |
|\ | | | | | | | | | | | | | Conflicts: dist/api_data.py src/config/config_def.c src/include/config.h | ||||
| * | Fix a typo, add what will be a description section for pydoc | Pat Gunn | 2015-04-25 | 1 | -4/+10 |
| | | |||||
* | | Merge branch 'develop' into encryption-api | Susan LoVerso | 2015-04-01 | 1 | -18/+31 |
|\ \ | |/ | |||||
| * | Add a __setitem__ to cursors in the Python API, remove lots of boilerplate ↵ | Michael Cahill | 2015-03-31 | 1 | -18/+31 |
| | | | | | | | | c.set_key ... c.set_value ... c.insert code. | ||||
* | | Merge branch 'develop' into encryption-api | Don Anderson | 2015-03-26 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | Conflicts: dist/s_string.ok | ||||
| * | Added -I include paths as needed to handle #include <3rdparty/...> | Don Anderson | 2015-03-25 | 1 | -1/+1 |
| | | |||||
* | | More plumbing. #1822 | Susan LoVerso | 2015-03-26 | 1 | -0/+2 |
|/ | |||||
* | Fixed python doc string in OVERRIDE_METHOD macro. | Don Anderson | 2015-01-22 | 1 | -1/+1 |
| | |||||
* | Prepend underscores to methods that could have name conflicts | Don Anderson | 2015-01-22 | 1 | -8/+34 |
| | | | | | | | | | with WT internal names. These methods were exposed for conflict because we created public C names by 'extending' classes in SWIG. SWIG's wrapper naming for such methods apparently follows a different convention than the usual "_wrap_<PythonName>_<FunctionName>", and uses "<CTypeName>_<FunctionName", e.g. "__wt_cursor_equals". Refs #1574. | ||||
* | Merge branch 'develop' into cursor-equal | Michael Cahill | 2015-01-17 | 1 | -3/+12 |
|\ | | | | | | | | | Conflicts: lang/python/wiredtiger.i | ||||
| * | Raise an exception for any error, including WT_NOTFOUND, | Don Anderson | 2015-01-12 | 1 | -2/+11 |
| | | | | | | | | returned from CURSOR->compare. | ||||
* | | Have WT_CURSOR::equals return 1 when cursors are equal, 0 when not. | Michael Cahill | 2015-01-17 | 1 | -7/+2 |
| | | |||||
* | | Rename WT_CURSOR compare_equal to be equals. | Alex Gorrod | 2015-01-14 | 1 | -6/+6 |
| | | | | | | | | | | | | | | While here, add a generic cursor equals stub in curstd, rather than redirecting via cursor function pointer lists. Implement the Java API wrapper. | ||||
* | | Add support for the WT_CURSOR.compare_equal method. | Keith Bostic | 2015-01-10 | 1 | -5/+31 |
|/ | |||||
* | Release Python's global lock (GIL) before sleeping to allow other | Don Anderson | 2015-01-08 | 1 | -0/+2 |
| | | | | threads to grab the lock as needed. | ||||
* | Copyright notices: add MongoDB, update to 2015. | Keith Bostic | 2015-01-04 | 7 | -0/+7 |
| | |||||
* | Remove tabs in comments. | Don Anderson | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | Some refactoring of python packing. | Don Anderson | 2014-12-16 | 2 | -31/+99 |
| | | | | | More checks for standalone unit tests. Refs #1429. | ||||
* | Change the Python scripts to follow Python indenting standards (4 space | Keith Bostic | 2014-12-03 | 4 | -180/+181 |
| | | | | indents, spaces only). | ||||
* | Allow unicode typed objects in Python with S/s formats. refs #1187. | Don Anderson | 2014-11-12 | 1 | -4/+8 |
| | | | | Includes tests that trigger the problem. | ||||
* | Fix the Python check for a verbose build: it can't be a connection method, ↵ | Michael Cahill | 2014-10-18 | 1 | -16/+21 |
| | | | | that's too late. | ||||
* | Add a "verbose=[transaction]" mode, output a message if a snapshot falls a ↵ | Michael Cahill | 2014-10-18 | 1 | -0/+6 |
| | | | | long way behind. Add a test case that generates this message. Remember the last operation on a session after it leaves the library. | ||||
* | Allow Python tests to detect whether verbose support is configured. | Michael Cahill | 2014-10-18 | 1 | -0/+8 |
| | |||||
* | Merge branch 'develop' into json-load | Alex Gorrod | 2014-10-15 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | Conflicts: dist/s_string.ok src/include/extern.h src/utilities/util_load.c | ||||
| * | Rename RELEASE to be RELEASE_INFO, avoid collision with MsBuild default | Keith Bostic | 2014-10-01 | 1 | -2/+2 |
| | | | | | | | | folder. | ||||
* | | Merge branch 'develop' into json-load | Alex Gorrod | 2014-09-19 | 2 | -14/+14 |
|\ \ | |/ | |||||
| * | Rearrange the Python build so we generate object files under the build ↵ | Michael Cahill | 2014-09-05 | 2 | -14/+14 |
| | | | | | | | | | | | | directory. Clean up manually: don't rely on setup.py. refs #1188 | ||||
| * | As far as I can tell, there's no "build" directory, so quit trying | Keith Bostic | 2014-09-04 | 1 | -1/+1 |
| | | | | | | | | to remove it, reference #1188. | ||||
| * | Add wiredtiger_wrap.o to the clean-local label. | Keith Bostic | 2014-09-04 | 1 | -1/+1 |
| | | |||||
| * | Don't remove the wiredtiger directory, it has source code, reference #1188. | Keith Bostic | 2014-09-04 | 1 | -1/+1 |
| | | |||||
* | | Add JSON loading to cursors and wt load utility. refs #740. | Don Anderson | 2014-08-06 | 1 | -5/+22 |
|/ | | | | | | | | | | | | | Allow set_key and set_value on JSON cursors. The argument is a string that is interpreted as JSON and must match the format created by a JSON dump cursor or the 'wt dump -j' command. Add -j option to 'wt load' utility to allow loading JSON. Small adjustment to Python interface so that JSON cursor key/values inputs are always treated as strings. Added doc and Python tests for JSON cursors and wt load -j. | ||||
* | Document EBUSY and update python. #1153 | Susan LoVerso | 2014-08-05 | 1 | -5/+5 |
| | |||||
* | Merge branch 'develop' into log-cursor | Susan LoVerso | 2014-07-31 | 1 | -4/+5 |
|\ | |||||
| * | Fix 0ffb202 and reinstate changes from e739089. | Susan LoVerso | 2014-07-30 | 1 | -1/+10 |
| | | |||||
| * | The change in 0ffb202, it's not sufficient. Yank the test, it's not | Keith Bostic | 2014-07-30 | 1 | -8/+0 |
| | | | | | | | | interesting enough to keep. | ||||
* | | Merge branch 'develop' into log-cursor | Susan LoVerso | 2014-07-30 | 1 | -0/+8 |
|\ \ | |/ | | | | | | | Conflicts: src/config/config_def.c | ||||
| * | Add a way to skip tests that rely on diagnostic builds. Use that for the ↵ | Michael Cahill | 2014-07-30 | 1 | -0/+8 |
| | | | | | | | | out-of-order bulk-load test. |