Commit Graph

  • 2db59a0835 Merge pull request #50 from sciyoshi/inplace-ops Daniel Grunwald 2016-06-20 19:29:22 +0200
  • 2e8d343b0f Add support for in-place numeric operators in py_class! Samuel Cormier-Iijima 2016-06-14 15:53:43 -0400
  • 72e1e05835 Merge pull request #49 from sciyoshi/rich-comparison Daniel Grunwald 2016-06-12 00:04:11 +0200
  • 291e08e29a Remove CompareOp::Other, change to __richcmp__, and add tests Samuel Cormier-Iijima 2016-06-06 20:43:16 -0400
  • 305bc4324d Add support for overloading comparison operators with __richcompare__ Samuel Cormier-Iijima 2016-06-06 16:08:48 -0400
  • 7c59d554ec Merge pull request #48 from sciyoshi/exception-macro Daniel Grunwald 2016-06-06 21:52:52 +0200
  • d77f93056e Add py_exception! macro for defining custom exception types Samuel Cormier-Iijima 2016-06-02 01:02:43 -0700
  • d7446cf38f Add back tuple extraction. Daniel Grunwald 2016-05-08 21:54:26 +0200
  • 0222176836 #40: split ExtractPyObject into two traits: Daniel Grunwald 2016-05-08 21:25:09 +0200
  • 1a6e26f3c3 impl ToPyObject+ExtractPyObject for Option<T> Daniel Grunwald 2016-05-08 17:51:16 +0200
  • 597893c621 py_class!: add __enter__ and __exit__ Daniel Grunwald 2016-05-08 17:28:26 +0200
  • 453c43203f py_class!: __lshift__, __rshift__, __and__, __xor__, __or__ Daniel Grunwald 2016-05-08 01:17:22 +0200
  • d26809122e Fix build with python 3. Daniel Grunwald 2016-05-08 01:04:07 +0200
  • 4535827f8e py_class!: __add__, __sub__, __mul__, __neg__, __pos__, __abs__, __invert__ Daniel Grunwald 2016-05-08 01:01:18 +0200
  • 04081bc8de __contains__: if extraction fails with TypeError, return False instead. Daniel Grunwald 2016-05-07 23:31:46 +0200
  • 9eafaebfa2 py_class!: add __contains__ and __reversed__ Daniel Grunwald 2016-05-07 23:19:26 +0200
  • 5886720c90 py_class!: add __setitem__ and __delitem__ Daniel Grunwald 2016-05-07 23:01:45 +0200
  • 806f212dc4 py_class!: Make the body to be parsed the first argument. Daniel Grunwald 2016-05-07 20:29:29 +0200
  • 20c2dcdba7 Simplify py_class_impl.py Daniel Grunwald 2016-05-07 19:49:07 +0200
  • 3de859373c py_class!: add __getitem__ Daniel Grunwald 2016-05-07 00:04:18 +0200
  • 713a5c53d3 py_class!: add __length_hint__, and map __len__ to both sq_length and mp_length. Daniel Grunwald 2016-05-06 23:16:06 +0200
  • 318d9a9ef3 py_class!: add __call__ slot Daniel Grunwald 2016-05-06 22:32:46 +0200
  • 78f673893d Make CallbackConverter output type an associated type. Daniel Grunwald 2016-05-06 22:11:56 +0200
  • d21143fa39 py_class!: add __bool__ slot Daniel Grunwald 2016-05-06 22:05:12 +0200
  • c06838a38e py_class!: add `__hash__` slot Daniel Grunwald 2016-05-06 21:41:05 +0200
  • 933e0ed11d Add documentation and tests for string conversion special methods. Daniel Grunwald 2016-05-06 21:24:32 +0200
  • 3d99a4ac3c Fix build with stable rust. Daniel Grunwald 2016-05-05 07:48:29 +0200
  • 9ab3e9ea4e char::REPLACEMENT_CHARACTER isn't stable yet Daniel Grunwald 2016-05-05 07:42:04 +0200
  • be0c1573aa py_class!: add support for __str__, __repr__, __unicode__ and __format__ Daniel Grunwald 2016-05-05 07:31:14 +0200
  • b37fa220df On Python 2.7, PyString now corresponds to `basestring` instead of `str`. Daniel Grunwald 2016-05-05 07:26:52 +0200
  • d68e664327 Add support for __iter__ and __next__ slots. Daniel Grunwald 2016-04-30 23:41:18 +0200
  • d826377d4f Merge pull request #45 from royalstream/royalstream-macos Daniel Grunwald 2016-04-17 23:46:18 +0200
  • 0445560241 Fix not(nightly) build Daniel Grunwald 2016-04-17 23:42:23 +0200
  • 9aec3f33f1 We only need num-traits, not the full num crate. Daniel Grunwald 2016-04-17 23:35:17 +0200
  • fffcf57834 Add support for __len__ special method. Daniel Grunwald 2016-04-17 23:26:33 +0200
  • a14e3d2b77 Share macro code between tp_new and other class methods. Daniel Grunwald 2016-04-17 18:04:58 +0200
  • 79707c03d2 Add BTree test extension Daniel Grunwald 2016-04-17 15:53:57 +0200
  • fb5e4a1521 Generate repetive portions of py_class_impl! macro Daniel Grunwald 2016-04-17 15:53:48 +0200
  • b721868c25 Document pitfalls with __traverse__ and RefCell. Daniel Grunwald 2016-04-17 14:03:51 +0200
  • 14bd89dec7 get_macos_linkmodel fix Steven Burns 2016-04-16 22:02:17 -0600
  • 4a01ed31fb Add documentation for __traverse__ and __clear__ Daniel Grunwald 2016-04-14 19:44:08 +0200
  • cd88d28973 Add __clear__() special method. Daniel Grunwald 2016-04-14 18:36:34 +0200
  • 2e977a9c21 gc integration: __traverse__ method Daniel Grunwald 2016-04-14 16:24:23 +0200
  • 271a44475d panic::recover -> panic::catch_unwind Daniel Grunwald 2016-04-14 12:02:35 +0200
  • cdf2dc8ff7 py_class!: add support for static class members Daniel Grunwald 2016-03-18 21:39:11 +0100
  • 3826b54a30 py_class!: Add support for class methods. Daniel Grunwald 2016-03-16 22:18:48 +0100
  • f89f957dd4 Add support for @staticmethod. Daniel Grunwald 2016-03-16 21:49:45 +0100
  • 80a4ad1466 Fix bug in py_class! when declaring an instance method with parameter list Daniel Grunwald 2016-03-16 21:36:18 +0100
  • 867666cb2b py_class! can't be nested within a function on stable rust Daniel Grunwald 2016-03-12 20:32:19 +0100
  • e608d5eabe Fix build with stable Rust. Daniel Grunwald 2016-03-12 20:20:41 +0100
  • b43fa55e01 Delete old 'rustobject' code Daniel Grunwald 2016-03-12 19:09:10 +0100
  • 337a90c2fb Reserve special method names Daniel Grunwald 2016-03-12 19:08:51 +0100
  • 0bd9e3ebd2 Adjust extension test cases. Daniel Grunwald 2016-03-12 18:14:21 +0100
  • cc81a01077 py_class!: add support for instance methods Daniel Grunwald 2016-03-12 17:58:50 +0100
  • ab83b4f4a1 #14; Convert Rust panic to Python SystemError Daniel Grunwald 2016-03-12 01:31:06 +0100
  • 309182cfe8 py_class!: Add support for "def __new__(cls)". Daniel Grunwald 2016-03-12 00:06:39 +0100
  • 547879ef0f Remove rustobject (PyRustObject, TypeBuilder). Daniel Grunwald 2016-03-09 01:07:50 +0100
  • 9b278ba56b Implement second form of py_fn!() (inline function definition) Daniel Grunwald 2016-03-07 23:48:44 +0100
  • 3af6e17841 WIP: big macro refactoring Daniel Grunwald 2016-03-07 23:22:44 +0100
  • be682d848f WIP: generalize py_argparse!() macro Daniel Grunwald 2016-03-06 13:33:57 +0100
  • 162e20d9e4 Fix build with rust-stable: we can't mark functions as public if we nest the impl block in fn init(). Daniel Grunwald 2016-03-06 11:02:48 +0100
  • 96ee652737 TypeBuilder: take &mut self instead of by-value self Daniel Grunwald 2016-03-06 10:29:28 +0100
  • 061e46bde8 Rename PyRustTypeBuilder -> TypeBuilder Daniel Grunwald 2016-03-06 06:33:16 +0100
  • acc5712536 Don't flatten the rustobject module + started implementing the py_class!() macro. Daniel Grunwald 2016-03-06 06:29:43 +0100
  • 506443210a Fix stable rust version in travis config Daniel Grunwald 2016-03-06 01:11:35 +0100
  • d705620502 Add support for Rust stable. Daniel Grunwald 2016-03-06 01:08:40 +0100
  • ad7f43efc7 Remove #![feature(optin_builtin_traits)] usage Daniel Grunwald 2016-03-06 00:22:16 +0100
  • 7c90651157 Make use of nightly const_fn + shared features optional. Daniel Grunwald 2016-03-06 00:03:17 +0100
  • 53353d374b Remove dependency on interpolate_idents. Daniel Grunwald 2016-03-05 23:20:53 +0100
  • a1654d5d65 cpython 0.0.5 Daniel Grunwald 2016-03-05 17:51:55 +0100
  • a4f946096c Add back accidentally removed #[macro_use] Daniel Grunwald 2016-03-05 17:44:30 +0100
  • 067f262876 Some documentation updates Daniel Grunwald 2016-03-05 17:41:04 +0100
  • ba325b10d4 python27-sys 0.1.1 and python3-sys 0.1.2 release Daniel Grunwald 2016-03-05 17:40:41 +0100
  • 5223cf4730 Fix build Daniel Grunwald 2016-03-05 15:57:48 +0100
  • e5f77018f1 Allow using py_fn!() as argument to PyRustTypeBuilder::set_new() Daniel Grunwald 2016-03-05 15:16:11 +0100
  • d22fbb31ce Refactor py_fn / py_method / py_class_method macros Daniel Grunwald 2016-03-05 15:05:41 +0100
  • c01a1e8306 Use std::ptr::Shared in PyObject to enable the null pointer optimization. Daniel Grunwald 2016-03-05 02:01:03 +0100
  • b617af7c5b Add PyTypeBuilder::set_new(). Daniel Grunwald 2016-03-05 01:16:54 +0100
  • 249be0da3a Use #[cfg] on expressions to avoid some code duplication Daniel Grunwald 2016-03-05 00:13:38 +0100
  • 1633e24127 Adjust check_symbols.py to changed rustc -Z ast-json output. Daniel Grunwald 2016-03-04 22:21:15 +0100
  • 109c704ad7 Fix "reexport of private crate" warning. Daniel Grunwald 2016-03-04 21:35:52 +0100
  • 8c398a66cf Merge pull request #37 from millerjs/master Daniel Grunwald 2016-01-29 19:25:35 +0100
  • 7092bd4362 remove duplicate word in docstring Joshua Miller 2016-01-28 21:13:39 -0600
  • 54aa17abf9 Enable testing with Python 3.5 Daniel Grunwald 2015-09-13 19:49:09 +0200
  • 7269dc64c2 python*-sys: use #![no_std] Daniel Grunwald 2016-01-22 20:38:34 +0100
  • 67282d2e23 Merge pull request #35 from mneumann/fix_doc Daniel Grunwald 2015-12-31 16:17:18 +0100
  • bab907b0be Correct the example in README.md Michael Neumann 2015-12-31 12:43:03 +0100
  • 168a060f4b Make PreparedString public. Daniel Grunwald 2015-12-20 13:59:03 +0100
  • e8a69d9431 Remove unused pkg_config dependency from python27-sys Daniel Grunwald 2015-12-20 13:57:26 +0100
  • 049bcb3278 libsyntax changed yet again Daniel Grunwald 2015-11-15 18:54:45 +0100
  • a133bc5c33 appveyor: fix install script Daniel Grunwald 2015-11-12 00:10:56 +0100
  • 4f6e674499 appveyor: use .msi instead of .tar.gz for installing rust so that we get rustc, std and cargo all in one package Daniel Grunwald 2015-11-12 00:09:00 +0100
  • 669cc56275 Let's see if a path dependency fixes #34. Daniel Grunwald 2015-11-11 23:40:31 +0100
  • 56eb23ccbe Use interpolate_idents 0.0.5 Daniel Grunwald 2015-11-11 23:40:05 +0100
  • a19b186bb4 Fix git URL in readme Daniel Grunwald 2015-11-07 17:19:46 +0100
  • e935111c9c Update interpolate_idents to my fork (adjusted for currently Rust nightlies). Daniel Grunwald 2015-11-07 17:10:20 +0100
  • c1682b68ac Add some tests for py_fn!() Daniel Grunwald 2015-11-07 16:52:20 +0100
  • 32086a0ef5 Add back PyIterator, PyListIterator etc. Daniel Grunwald 2015-10-29 02:36:50 +0100
  • 0a270a0583 Put Python argument at beginning of argument list. Daniel Grunwald 2015-10-26 23:52:18 +0100
  • 44611991c3 Remove 'p lifetime from PyObject (#15) Daniel Grunwald 2015-10-25 17:55:29 +0100