Commit Graph

279 Commits (release/4.3a0)

Author SHA1 Message Date
Andrew Melim 84a806bf39 Final fixes made for wrap comments 2012-08-29 20:27:10 +00:00
Andrew Melim d0a1e662a7 Wrap comments are now EVEN better 2012-08-28 21:44:45 +00:00
Andrew Melim 7d9139a854 Fix wrap tests 2012-08-27 18:10:51 +00:00
Andrew Melim a6545b4e01 Fixed wrap tests and changed comments 2012-08-27 17:54:25 +00:00
Richard Roberts cbbf62aeeb Updated wrap unit tests 2012-08-22 22:40:38 +00:00
Richard Roberts d95ca7857b Updated wrap unit tests 2012-07-27 19:16:00 +00:00
Alex Cunningham 656f573c0a Removed from wrap the use of "using namespace xxx" statements - wasn't fully supported before, and now we have real namespace support 2012-07-23 18:24:43 +00:00
Alex Cunningham b7c2177f0b Generating code for global functions now works 2012-07-23 18:24:35 +00:00
Alex Cunningham ece5888cac Removed need in wrap to end namespaces in special non-standard tag - can now just use } 2012-07-23 14:09:44 +00:00
Alex Cunningham e7e564268d global function parsing now tested and working 2012-07-23 14:09:42 +00:00
Alex Cunningham 26fce2d400 Adding support for global functions - parsing works 2012-07-23 14:09:40 +00:00
Richard Roberts 8dbffd4629 Wrap generates Matlab namespaces, so now 'import gtsam.*' allows class names like Values, NonlinearFactor, to be used. Without import, syntax is gtsam.Values, etc. 2012-07-18 15:47:06 +00:00
Richard Roberts 90fd122876 Updated wrap expected files from double clear all bug fix 2012-07-17 22:10:39 +00:00
Alex Cunningham 4b772b43cf Simplified include handling in wrap: no more default includes, includes are not associated with a class or a namespace. 2012-07-17 18:30:02 +00:00
Richard Roberts 4bcc974cae Updated unit tests after changing namespace handling 2012-07-17 17:38:31 +00:00
Richard Roberts b1a58e4447 Updated expected wrap unit test files 2012-07-12 02:11:36 +00:00
Alex Cunningham 774fcb5ca9 Fixed include sorting bug in wrap 2012-07-11 15:58:01 +00:00
Alex Cunningham f3406f3bc9 Small change to wrap to avoid redundant includes in cpp file 2012-07-11 14:54:13 +00:00
Alex Cunningham 2e6de9e9a1 Fixed wrap unit test 2012-07-11 14:54:11 +00:00
Alex Cunningham 5d58dbd512 Fixed testWrap so that it passes, fixed dependency checking in codegen, fixed warnings 2012-07-10 14:21:58 +00:00
Alex Cunningham 6daa86f137 Fixed C++ versioning issue in wrap, now compiles and toolbox passes matlab tests, testWrap now compiles but does not pass 2012-07-10 14:21:56 +00:00
Alex Cunningham 9c876ed6b0 Wrap tests now pass with new file structure 2012-07-08 20:23:47 +00:00
Alex Cunningham fe133ef97c Updated expected files to match current wrap test 2012-07-05 17:14:40 +00:00
Andrew Melim 15b3dd9d5f adding new constructors for matlab wrap tests 2012-07-02 19:09:50 +00:00
Andrew Melim ead88ae35a Changes to wrap requested by frank. Wrap now allows for multiple includes. Changes to wrap tests 2012-07-02 18:18:11 +00:00
Alex Cunningham 7ba7aa6cfc Updated wrap unit tests for new wrap changes 2012-06-30 20:04:16 +00:00
Alex Cunningham 3ab79d1597 Fixed wrap test 2012-06-28 16:13:22 +00:00
Frank Dellaert 1b23ebbdbf Fixed wrap unit test after adding documentation 2012-06-24 14:49:35 +00:00
Alex Cunningham 3a9b647b8f Updated expected wrap values 2012-06-06 12:03:49 +00:00
Richard Roberts 90578e2532 Merge remote-tracking branch 'svn/trunk' into windows
Conflicts:
	gtsam.h
	wrap/CMakeLists.txt
2012-06-05 13:11:34 +00:00
Chris Beall 129e29d4b2 fix related to mex command 2012-06-04 22:09:33 +00:00
Alex Cunningham a07e4a7368 Fixed handling of char in wrap, updated README 2012-06-04 19:45:32 +00:00
Richard Roberts d636534e40 Updated wrap unit tests 2012-05-29 19:30:59 +00:00
Richard Roberts dc036a0891 Updated wrap unit tests 2012-05-29 19:29:29 +00:00
Richard Roberts ac150043bd Fixed wrap under windows 2012-05-23 21:23:27 +00:00
Alex Cunningham f8a03ddbca Added better support for "using namespace x" to wrap - only applies to classes *after* it is called 2012-05-04 19:14:58 +00:00
Alex Cunningham f2c7e891c4 Added 'unsigned char' as argument option to wrap, added make targets 2012-05-04 18:50:36 +00:00
Andrew Melim 1ea890f4e5 Fixed testWrap failures with the new wrapper 2012-03-30 18:06:58 +00:00
Andrew Melim a1da906d33 Memory leak fixed within wrap. Must call 'clear' before 'clear all' and 'clear classes'. Wrap now creates delete_classname files for all wrapped classes. MATLAB classes now derive from the handle superclass. 2012-03-30 05:34:23 +00:00
Alex Cunningham ded872af5f Forced wrap to always add a "generated by" header, updated expected test code 2012-02-06 19:45:40 +00:00
Alex Cunningham c901ceee27 wrap: forward declarations now allow for namespaces 2012-02-01 15:19:34 +00:00
Alex Cunningham a8607d284d Added wrap support for char as a argument or return value type 2012-01-23 18:28:11 +00:00
Alex Cunningham 500d509f81 Added another expected value for toolbox codegen 2012-01-15 19:09:36 +00:00
Alex Cunningham 94cbee4208 Updated expected toolbox code to match updated states 2012-01-15 19:09:34 +00:00
Frank Dellaert 0c03fd010d Constructors now check argument types to allow multiple constructors in MATLAB with the same number of arguments 2012-01-10 05:06:46 +00:00
Alex Cunningham 56bce0ca9f Added dependency checking to return values in wrap, as well as forward declarations 2011-12-15 21:23:20 +00:00
Alex Cunningham 44aff08d56 Added support for namespace includes to wrap 2011-12-15 19:39:14 +00:00
Alex Cunningham ea1f1e8b65 Parser now handles both namespace and class headers 2011-12-15 19:39:11 +00:00
Alex Cunningham dbc6a8aeec Reverted wrap argument change due to failing tests 2011-12-15 19:39:09 +00:00
Alex Cunningham 99338805c0 re-enabled test 2011-12-15 16:18:04 +00:00
Alex Cunningham 694320388f Moved includes outside of classes in wrap parser 2011-12-15 16:18:03 +00:00
Alex Cunningham 06dbc2b650 Changed namespace mechanism in wrap to "using namespace gtsam;" inside gtsam.h 2011-12-09 20:29:47 +00:00
Alex Cunningham 9dff4c35bd Added include overrides to parser 2011-12-09 15:44:35 +00:00
Alex Cunningham ead8247bd7 Added namespace support to return classes 2011-12-08 20:51:17 +00:00
Alex Cunningham 66711e1faa Added namespace support to arguments 2011-12-08 20:51:15 +00:00
Alex Cunningham 48a2056020 Added codegen for namespace handling, examples exercising namespaces 2011-12-08 20:51:13 +00:00
Alex Cunningham aa2eccbcb4 Parsing for namespaces now works in all tests 2011-12-08 20:51:08 +00:00
Alex Cunningham 90e9426d9c Added more tests for namespaces, parser now supports nested namespaces 2011-12-08 20:51:07 +00:00
Alex Cunningham 1aecb58807 Simple namespace works 2011-12-08 20:51:05 +00:00
Alex Cunningham 1130cf43e0 Limited namespace handling in wrap parser 2011-12-08 20:50:38 +00:00
Andrew Melim 56818da224 Added dependency checking to wrapper. Wrapper will now throw an exception if an object depends on another object which has not been wrapped. Tests for dependency checking added. Moved geometry.h to tests folder. 2011-12-07 17:55:38 +00:00
Alex Cunningham 92a0cf67c9 Fixed ambiguity issues with returning non-ptr classes, added new copies of functions to gtsam.h and depreciated old ones 2011-12-07 03:05:37 +00:00
Alex Cunningham f5f59bd213 Added better handling for pairs of classes with/without pointers 2011-12-07 03:05:33 +00:00
Alex Cunningham dcc3e8d0f1 wrap: fixed errors in static function matlab codegen, added mechanism to allow for returning classes without shared_ptr 2011-12-07 03:05:30 +00:00
Alex Cunningham eec3f0f370 Adding support for mex extensions in wrap, configure scripts slightly broken 2011-12-05 20:54:41 +00:00
Alex Cunningham a38b7245be added an (actual) makefile to parts generated by wrap 2011-12-05 20:54:37 +00:00
Alex Cunningham 3050dc2dde Added wrap components to "wrap" namespace, added options for installing wrap program 2011-12-02 16:43:15 +00:00
Alex Cunningham 221a6ad877 Added static function parsing to wrap, included Expmap/Logmap in geometric objects. Static functions appear to still crash matlab, however. 2011-12-02 02:32:18 +00:00
Alex Cunningham eb109c4dc5 Cleaned up debug code 2011-12-01 22:06:05 +00:00
Alex Cunningham 7e221aa7a1 Added comment support in wrap 2011-12-01 22:06:03 +00:00
Alex Cunningham 4b4815e97f Added more functions to wrap, started going though wrap tests 2011-12-01 18:57:32 +00:00
Alex Cunningham 9d7d563688 Fixed unit test for wrap 2011-11-04 15:10:38 +00:00
Frank Dellaert 4cab1e6722 More fine-tuning of documentation 2011-11-04 04:27:13 +00:00
Frank Dellaert 3ce23e1f71 Fixed wrap unit test by moving emitted comments or removing them 2011-11-03 23:13:09 +00:00
Alex Cunningham cd9d3a0796 Fixed wrap check tests 2011-10-31 23:44:31 +00:00
Alex Cunningham d678ed3051 Fixed compile problems in tests due to TupleValues constructors, fixed testWrap 2011-10-21 19:29:50 +00:00
Frank Dellaert 5fac2aa05a Fixed instance variable naming convention 2011-10-21 02:36:09 +00:00
Frank Dellaert 56d1d6ae34 Fixed some Doxygen problems with global replace 2011-10-14 03:23:14 +00:00
Alex Cunningham f4d9ca72a8 Added back the matlab interface to gtsam 2011-10-13 18:41:56 +00:00