Commits

Author Commit Message Labels Comments Date
Don Williamson
Resolved the snprintf conflict for Visual Studio correctly: define to use _snprintf instead of requiring the user to provide an implementation themselves.
Don Williamson
Merge
Don Williamson
Simplification/optimisation: * Made CreateObject and DestroyObject global functions with no requirement that an object group exist to create objects. * Don't attach the reflection database to the object group and require that the user provide the pointer type instead of its hash. In most cases I was using GetType to get the type pointer in constant-time and passing the hash onto CreateObject. This would then do a redundant database lookup. In all other cases I was doing a database lookup to get the type pointer and then passing the hash onto CreateObject causing two lookups! This is one further step in the direction of breaking down the object model and making it less intrusive.
Xuejie Xiao
Use customized macro to distinguish clreflect scanning from clang compiling
Xuejie Xiao
Fix compiling on clang
Don Williamson
Renamed clcpp::internal::Construct/DestructObject to clcppConstruct/DestructObject. As this is stored many times as a string in the cppbin file, this cuts out a lot of bloat.
Don Williamson
Unify hard-coded function name identification in the map file parser.
Don Williamson
hextoi64 is always present.
Xuejie Xiao
Use msvc coding styles
Xuejie Xiao
* Fix clReflectScan parsing on MSVC * Use separate paths for different platforms, on my test machine, mac build would go to "cmake-build/Darwin-11.3.0/", windows build would go to "cmake-build/Windows-5.1"
Xuejie Xiao
Implement parsing for gcc on linux
Xuejie Xiao
Set clang parsing options for non-msvc platforms
Xuejie Xiao
Implement map parser for gcc on mac
Xuejie Xiao
Fix map generation cmd arguments on linux
Xuejie Xiao
* Add builtin support for clang parsing * Fix ASTConsumer compiling on GCC * Fix clReflectTest to generate map files for GCC
Don Williamson
* Fixed elaborated typedefs not being type-aliased correctly in clReflectScan. GetParameterInfo still needs more work... * Fixed typo in Win32 CppExport pointer export.
Don Williamson
Added missing release files.
Xuejie Xiao
Fix compiling on Linux platform
Xuejie Xiao
* Fix compiling for clReflectTest on GCC * Disable test for call functions since call functions are only available for msvc with 32-bit now * All the code is compiling without errors now, but it seems the header & builtin configurations with clang frontend still needs tweaking. I will do it in the next commit
Xuejie Xiao
* Fix compiling for clReflectExport * We temporarily disable map file support for GCC, when we finish implementing it we would re-enable this.
Xuejie Xiao
* Fix clReflectScan building on GCC * Fix an accidentally commented piece of code(sorry for this)
Xuejie Xiao
Fix building for clReflectUtil, clReflectMerge modules
Don Williamson
Update release directory with latest bin/code.
Don Williamson
Fixed cmake clang/llvm link directory for MSVC.
Don Williamson
Fixed tests not compiling.
Don Williamson
* Ported the windows/msvc platform to use the scan method of replacing addresses and hashes, unifying all platforms. * Deleted clcpp_expand. * Moved clcpp_unique/join into Core.h and made them uppercase. * Moved clcpp_export into Core.h, made uppercase and added CLCPP_NOINLINE, both implemented differently depending on platform. * Moved CLCPP_INVALID_ADDRESS and CLCPP_INVALID_HASH into clcpp.h where they are used. * Changed spaces to tabs and braces to non-K&R. Added some macro indents.
Don Williamson
Fix cast on initialisation of invalid address pointer in GetType.
Xuejie Xiao
Fix GetType and GetTypeNameHash functions to use invalid hash/address value.
Xuejie Xiao
Fix windows build
Xuejie Xiao
Remove unused define
  1. Prev
  2. Next