Ben Dyer
42f436d609
Prepend pyuavcan in source directory to sys.path
...
When running from the source directory, libuavcan_dsdlc should
use the version of pyuavcan in the source directory instead of
a globally installed version of pyuavcan.
Fixes UAVCAN/uavcan#18
2015-04-03 00:43:11 +11:00
Pavel Kirienko
79623033c1
Abandoning pragma once
2015-03-12 00:36:25 +03:00
Pavel Kirienko
632b668d44
Fixes #9
2015-01-19 16:17:43 +03:00
Pavel Kirienko
9d806c2be6
areClose(), isClose()
2014-08-28 20:25:27 +04:00
Pavel Kirienko
61c4f89ea3
Using proper float comparison everywhere
2014-08-27 19:13:45 +04:00
Pavel Kirienko
75153eb643
dsdlc: Fixed deoendency include order
2014-08-24 16:31:17 +04:00
Pavel Kirienko
5bfa1999f4
dsdlc/pyuavcan: nicer path formatting
2014-08-24 15:33:43 +04:00
Pavel Kirienko
c3bed4c825
libuavcan DSDLC template: suffix ULL instead of UL for 64-bit unsigned integers
2014-08-03 13:47:33 +04:00
Pavel Kirienko
86dc2b6edb
Remove irrelevant comment from DSDLC package
2014-07-25 14:35:31 +04:00
Pavel Kirienko
f51ee9cdec
DSDLC compiler fix for Windows - libuavcan_dsdl_compiler.pretty_filename()
2014-07-25 00:48:45 +04:00
Pavel Kirienko
c0d3b3f2b0
DSDLC fix for Windows
2014-07-25 00:34:38 +04:00
Pavel Kirienko
dca2611c31
Libuavcan DSDL compiler: Speed optimization - full generation takes less than a second (way faster than Mako)
2014-07-22 02:53:07 +04:00
Pavel Kirienko
5d7666f059
Libuavcan DSDL compiler: Using the built-in Pyratemp instead of Mako, so virtually we don't need any 3rd party dependencies anymore
2014-07-22 02:37:21 +04:00
Pavel Kirienko
e1eb7554cf
libuavcan: impl_constants.hpp renamed to build_config.hpp
2014-07-16 19:56:34 +04:00
Pavel Kirienko
975a11566d
libuavcan_dsdlc docstrings
2014-07-11 19:02:57 +04:00
Pavel Kirienko
907a797a54
Clarified help for libuavcan_dsdlc
2014-07-11 15:33:52 +04:00
Pavel Kirienko
ff7481334a
Python 2.7 compatibility
2014-06-16 00:48:47 +04:00
Pavel Kirienko
0440aa844d
DSDL signature in generated types is upper case
2014-04-19 22:15:26 +04:00
Pavel Kirienko
6aa9bd0c41
Removed enum constants from generated types
2014-04-19 15:26:39 +04:00
Pavel Kirienko
ed2ad4b4c9
Coding style fix in DSDL header template
2014-04-18 20:23:34 +04:00
Pavel Kirienko
1bac8d6561
Fixed unused variables in generated code
2014-04-18 18:21:03 +04:00
Pavel Kirienko
fe2b49b1ab
#undef in generated headers moved into the global scope
2014-04-18 18:05:24 +04:00
Pavel Kirienko
9a04bc6dbc
SciTools Understand warning fixes
2014-04-18 16:32:20 +04:00
Pavel Kirienko
d7ec6918be
dsdlc: YAML streamer specialization methods defined out-of-line
2014-04-09 19:28:26 +04:00
Pavel Kirienko
8cd94d152c
Methods of generated types defined out-of-line. This has been done in order to reduce code size on low optimization levels, though for whatever reason the code size INCREASED by 100 bytes on -Os (see STM32 test). Maybe this change should be reverted later.
2014-04-09 19:10:09 +04:00
Pavel Kirienko
693149cb2f
Better formatting of generated headers
2014-04-09 19:07:35 +04:00
Pavel Kirienko
e8fa4a2369
UAVCAN_EXPORT
2014-04-08 15:40:51 +04:00
Pavel Kirienko
0c4e76a557
Added future TODO for proper float comparison for generated types
2014-04-07 15:29:46 +04:00
Pavel Kirienko
5f8eb61a6f
Fixed installation rules
2014-03-31 23:53:42 +04:00
Pavel Kirienko
18e4d919c1
uavcan_dsdlc renamed to libuavcan_dsdlc
2014-03-29 14:54:26 +04:00
Pavel Kirienko
e212c6a9d5
Rewritten CMake installation directives, added setup.py for libuavcan_dsdl_compiler. uavcan_dsdlc should be lifted from libuavcan to a separate subproject in order to add support for other programming languages
2014-03-29 14:31:27 +04:00
Pavel Kirienko
4b1c4014c1
dsdlc fix - now works correctly under root
2014-03-28 20:13:34 +04:00
Pavel Kirienko
42b80da0dd
Style fix for generated code
2014-03-24 21:20:48 +04:00
Pavel Kirienko
314e117f7e
Fixed DSDL template to prevent name clashing with user defined types
2014-03-22 10:01:02 +04:00
Pavel Kirienko
8879230798
UAVCAN_PACK_STRUCTS is always defined
2014-03-18 20:06:35 +04:00
Pavel Kirienko
65cdbbdddb
Fixed unused arguments in generated data types
2014-03-15 13:59:30 +04:00
Pavel Kirienko
15cbf96378
Reorganized directory structure - directory 'internal' pulled up one level. No logical changes.
2014-03-14 15:01:20 +04:00
Pavel Kirienko
beaba20749
Simplified service types: the nested types Request/Response are templates now, but the containing type is not, so using 'typename' to refer to Request or Response is no longer necessary.
2014-03-12 21:20:05 +04:00
Pavel Kirienko
061dc8f513
Fixed linking of generated types - generated types are templates now, which allows to define static constant member in headers avoiding linking errors
2014-03-12 10:44:40 +04:00
Pavel Kirienko
befea376c2
Fixed inclusion loops
2014-03-11 21:00:28 +04:00
Pavel Kirienko
6eee97fb05
DSDLC default output directory name was changed to more obvious 'dsdlc_generated'
2014-03-11 20:16:58 +04:00
Pavel Kirienko
65a4dcc2cf
Superrefactoring - all time values were replaced with new safer classes from uavcan/time.hpp; generated types were moved away from anonymous namespaces because this makes it impossible to use a type from different compilation units. Some less vital fixes are to follow - see the next few commits
2014-03-11 14:41:48 +04:00
Pavel Kirienko
1f2b8bf006
Checking the max transfer payload length for generated types
2014-03-10 15:51:59 +04:00
Pavel Kirienko
ee7a847ce0
dsdlc template renamed to *.tmpl to enable proper syntax highlighting and avoid confusion with C++ headers
2014-03-10 15:48:27 +04:00
Pavel Kirienko
ce618f6436
Utils moved to uavcan/util/*
2014-03-09 21:46:21 +04:00
Pavel Kirienko
0aa76d71e3
Comparison operators for generated types
2014-03-09 21:28:46 +04:00
Pavel Kirienko
ee1de9ab2e
Streaming operator for generated types was moved into the type's namespace
2014-03-09 21:13:37 +04:00
Pavel Kirienko
4fef972c2a
DSDL compiler fix: detecting DTID collisions from all namespaces
2014-03-07 01:08:03 +04:00
Pavel Kirienko
4753d4ac79
YAML streaming for generated types
2014-03-07 00:43:36 +04:00
Pavel Kirienko
da6e25a708
dsdlc bugfix
2014-03-07 00:22:09 +04:00