Commit Graph

12 Commits (a0be9de4905f396778034bdef7c259f6e3654608)

Author SHA1 Message Date
Varun Agrawal a0be9de490 Squashed 'wrap/' changes from 38a1bfa01..4cca84a07
4cca84a07 Merge pull request #170 from p-zach/docstrings
dd56512e3 Refactor and clean up extract_docstring
bf9e0c151 Merge pull request #171 from borglab/fix/ci
d25495646 Formatting and cleaning up
7bf44b52b test more recent versions of python
c0529799c update macos runner to macos-14
f02d577a9 Rename CMake option for clarity
ef9b37db7 Create Doxygen XML parser for Python docstrings
da6d69abd Add Cmake option for Python docstring generation
bb03b9681 Merge pull request #169 from borglab/pybind11-upgrade
a26cb2066 upgrade Pybind11 to 2.13.6

git-subtree-dir: wrap
git-subtree-split: 4cca84a07e01fb0c9280148af2bcf8031f88fb7d
2025-03-10 10:58:21 -04:00
Varun Agrawal 5a97336f74 Squashed 'wrap/' changes from cdcf23207..38a1bfa01
38a1bfa01 Merge pull request #166 from borglab/pybind-update
129e81b3e fix for compiling on Clang
dcdacc833 upgrade to pybind11 v2.13.1
16934a98d Merge pull request #165 from borglab/remove-matrix-assumptions
ff222ecf9 update DOCS.md
48232621e remove unused fixture
e60ed9f10 unit test showing better control of Vector and Matrix definitions
2559b4f95 remove special checks for Vector and Matrix, leaving the onus on the developer

git-subtree-dir: wrap
git-subtree-split: 38a1bfa0123e36561104502e86f89a569873638b
2024-06-28 11:03:51 -04:00
Varun Agrawal 3b969bf94c Squashed 'wrap/' changes from bd57210d9..cdcf23207
cdcf23207 Merge pull request #163 from borglab/dunder-methods
22d429cc2 use STL functions instead of container methods
abe8818ab update pyparsing to 3.1.1
a9e896d0c add unit tests
535fe4f14 wrap supported dunder methods
079687eac parse dunder methods in interface file

git-subtree-dir: wrap
git-subtree-split: cdcf23207fbb03457c5d9dbfc2b0b57e515b5f3d
2024-01-16 15:04:09 -05:00
Varun Agrawal c7abbad0bc Squashed 'wrap/' changes from 2f136936d..bd57210d9
bd57210d9 Merge pull request #162 from borglab/matlab-updates
1467cf23a small improvements to Matlab wrapper
ce4d872c3 support for Apple Silicon
246c723e2 Merge pull request #161 from borglab/fix-matlab-enum
4a4ddb912 allow optional std:: for pair
390cb8092 Merge pull request #160 from borglab/upgrade-pybind11
c48bfa418 upgrade pybind11 to v2.11.1
c941bdd48 update gitignore

git-subtree-dir: wrap
git-subtree-split: bd57210d9aa620babbffe7eeb43abd77fea641e3
2023-10-06 12:21:06 -04:00
Varun Agrawal 30a39a0bdb Squashed 'wrap/' changes from 520dbca0f..2f136936d
2f136936d Merge pull request #159 from borglab/fix-matlab-enum
d1da38776 fix pybind test
2a00e255b additional enum test and wrapper update to pass test
f0076ec18 fixp python enum fixture
a0c87e0df don't cast enum to shared ptr
a6ad343af improve enum wrapping
e0a504328 is_enum method in mixin
8d9d380c7 fix bug in fully qualified enum type
0491a8361 update docstrings to reflect update from basis to basic
d1fb05c41 improve docs and clean up
fdc1a00b8 rename Basis to Basic for basic c++ types
00ee34133 specify full namespace for enum-type arg
f86724e30 add docstrings
38fb0e3a3 docs for enum wrapping functions
9d3bd43c0 add test fixtures

git-subtree-dir: wrap
git-subtree-split: 2f136936dbc33d9c3875952d6f0b29c43b8e26b4
2023-05-24 12:12:22 -04:00
Varun Agrawal 6976cd6ea2 Squashed 'wrap/' changes from 076a5e3a9..520dbca0f
520dbca0f Merge pull request #158 from borglab/matlab-enum-support
661daf0dd fix python version specification
6f9111ddb fix python install
691e47734 update CI to newer OS versions
579539b1c finish wrapping
474aece68 fix issue in _collector_return
660c21bcc wrap enum types in cpp
1fa5c2756 begin updating generated cpp for enums
7b156a3f5 add wrap_enum and unwrap_enum helper functions
2a5423061 finish wrapping every part of enum.i
68cfa8a51 wrap enums inside classes
ce734fa9f wrap enums declared on their own
66c84e5cb unit test for enum wrapping in matlab
1cc126669 module docstring for matlab_wrapper/templates.py

git-subtree-dir: wrap
git-subtree-split: 520dbca0f2c3db4d30f0a0fd020a729cc0caa7b7
2023-05-22 15:25:54 -04:00
Varun Agrawal 53714794e2 Squashed 'wrap/' changes from ba3dcab16..076a5e3a9
076a5e3a9 Merge pull request #157 from borglab/upgrade
5e0caa63d fix matlab wrapper for std::optional
f4ea1c2fe update matlab.h and docs
de87ee0ff fix tests
06a16ce46 update matlab cmake script
0e84fa49c add boost serialization flag to wrapping script
4bb10411a use std pointers and make boost serialization optional
ec647385f clean up python wrapper more
a4da6a021 update tests
709b80d2f update python wrapper CMake
5b50739d6 update template files
bfc0bf57b update python wrapper to use only std and to optionally wrap serialization methods
de8c4153b remove use_boost arg from interface_parser
4dc835aec repurpose use_boost flag to use_boost_serialization

git-subtree-dir: wrap
git-subtree-split: 076a5e3a95e68f3900beee0d063322ec83e80ae3
2023-02-17 03:13:23 -05:00
Varun Agrawal 470f1a063e Squashed 'wrap/' changes from b3faf3fcd..ba3dcab16
ba3dcab16 Merge pull request #156 from borglab/fix/matlab-properties
feb4ee1b9 update docs
e57fec56b add unit test for templated class property

git-subtree-dir: wrap
git-subtree-split: ba3dcab16a8316634b56e3c4c6061531c91eb36c
2022-10-28 22:43:46 -04:00
Varun Agrawal e5dac42735 Squashed 'wrap/' changes from b37a1fec6..b3faf3fcd
b3faf3fcd Merge pull request #155 from borglab/fix/matlab-properties
292b35440 fix python test
53053173e fix properties block bug in Matlab and add test to capture it

git-subtree-dir: wrap
git-subtree-split: b3faf3fcd1e805828decf67fc32814f104c3c1c2
2022-10-28 17:56:52 -04:00
Varun Agrawal 41d0de3e92 Squashed 'wrap/' changes from ca357ccdd..b37a1fec6
b37a1fec6 Merge pull request #154 from borglab/matlab/properties
93dec957a convert class properties to type parser.Variable so that the property collector functions are written correctly
d84e07f56 fix bug with proper closing of global functions
5a8505235 define setter and getter collector functions for cpp file
5067655e2 abstract out unwrap_argument and collector_return to their own functions
1ce29d71d add properties to properties block of .m file and add setters and getters
0c3e5573d write properties in class comment
9d85f7b6a disable superfluous pylint warnings
b45994d34 Merge pull request #152 from borglab/pybind-2.10
76ba199a2 upgrade pybind to 2.10
16e4e674b Merge pull request #150 from borglab/feature/parent_class_template
c7d1a466f Merge pull request #151 from borglab/fix/function_template_parameter_namespace
7278a309d retain namespace for template arguments
18ae5fb04 implement parent class allowed to have template parameters
fd4437899 unit tests for parent classes allowed to have template parameters

git-subtree-dir: wrap
git-subtree-split: b37a1fec689d6a42837a3bfb4dc947674e72be54
2022-10-28 13:10:19 -04:00
Varun Agrawal ea30bc35d5 Squashed 'wrap/' changes from 56e7c0c81..24da9d1be
24da9d1be Merge pull request #146 from borglab/fix/matlab
3101236fe fix missing semi-colon for class forward declaration
e933e14a0 add missing boost header

git-subtree-dir: wrap
git-subtree-split: 24da9d1be2b26ecf9abbfd9153b24fbdcf007f4e
2022-03-20 22:01:12 -04:00
Varun Agrawal f1e11d0929 Squashed 'wrap/' changes from 767a74718..56e7c0c81
56e7c0c81 Merge pull request #145 from borglab/matlab/raw_ptr
2e82cd38d address review
58ff3b0a1 update tests and fixtures
dcb6ef80f fix matlab wrapper to properly handle raw pointers
2377b330f refactor argument list generation

git-subtree-dir: wrap
git-subtree-split: 56e7c0c81c6df4e08c3496cc6cc8e48d881c2a8c
2022-02-02 11:53:48 -05:00