Commit Graph

65 Commits (67ab69d5bac6caca4caa4fa1870bd7aaf3ca7bf7)

Author SHA1 Message Date
dellaert 0a23529032 Everything compiles 2014-11-12 14:37:08 +01:00
dellaert 77935bd631 Massive edit: new Qualified type groups namespaces with name, eliminates a lot of clutter. 2014-11-12 02:49:23 +01:00
dellaert 2ab5e17cd8 Added tests for doubly templated class and typedef 2014-11-11 23:09:20 +01:00
dellaert b8d9d5b6ca Starting down the path of a templated method 2014-11-11 22:38:50 +01:00
dellaert c66d6bd1a4 Added templated class 2014-11-11 18:14:17 +01:00
dellaert 752d4800f1 Added new set of expected files in case serialize is turned off 2014-11-11 13:43:25 +01:00
dellaert 5048946ae9 Make sure it works for namespaces as well 2014-05-25 16:37:43 -04:00
dellaert 399c5e5551 Added test for overloaded global functions 2014-05-25 16:28:59 -04:00
dellaert 1129b384b2 Header order 2014-05-25 16:03:28 -04:00
Richard Roberts 2d60d2cdfa Fixed more unit tests 2013-08-06 18:04:40 +00:00
Alex Cunningham 23de91d44d serialization works for graph and PriorFactor. Added second flag for serialization: can add "void serializable()" or "void serialize()" to allow for either just exporting (necessary if no default constructor), or implementing the full serialization functions 2013-06-19 17:50:05 +00:00
Alex Cunningham c7576deb15 Added flag for serializable to parser, no codegen yet 2013-06-19 17:49:55 +00:00
Alex Cunningham 0030a28e45 all tests pass with new hack to parse pointers on arguments 2012-11-27 19:03:22 +00:00
Alex Cunningham ab7655e5eb Further debugging and tests of parsing issue with return type flags 2012-11-27 19:03:20 +00:00
Alex Cunningham d1b9185918 Trying more variations. Fixed small valgrind issue that didn't actually have an effect 2012-11-27 19:03:19 +00:00
Alex Cunningham 47fcb17ead Small variations on parser to try to debug problem 2012-11-27 19:03:18 +00:00
Alex Cunningham 16ad77cb53 Adding tests and notes to investigate errors parsing return types 2012-11-27 19:03:16 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +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 e7e564268d global function parsing now tested and working 2012-07-23 14:09:42 +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
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
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
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
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
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
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 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 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