Permalink
Commits on May 13, 2012
  1. Make sure unit tests get the extra libs they need

    Martin York Martin York
    Martin York authored and Martin York committed May 13, 2012
  2. Added specialization for application libraries

    Martin York Martin York
    Martin York authored and Martin York committed May 13, 2012
Commits on May 12, 2012
  1. When merging DOM a NULL on the src deletes the item in the dst.

    Martin York Martin York
    Martin York authored and Martin York committed May 12, 2012
  2. Change in how it works.

    Martin York Martin York
    Martin York authored and Martin York committed May 12, 2012
             All the macros now assume that the type they are working with is called `LocalType`
             This design changes is to minimise repetitive code.
             As this is a breaking change I am rolling the major version number.
             The previos version will be in a branch
    
             This means that code that looked like this:
    
                class MyClass
                {
                    int          member1;
                    double       member2;
                    std::string  member3;
    
                    friend class JsonSerializeTraits<MyClass>;
                };
    
                namespace ThorsAnvil { namespace Serialize { namespace Json {
    
                template<>
                class JsonSerializeTraits<MyClass>
                {
                    static ThorsAnvil::Serialize::Json::JsonSerializeType const  type    = Map;
    
                    THORSANVIL_SERIALIZE_JsonAttribute(MyClass, member1);
                    THORSANVIL_SERIALIZE_JsonAttribute(MyClass, member2);
                    THORSANVIL_SERIALIZE_JsonAttribute(MyClass, member3);
                    typedef boost::mps::vector<member1, member2, member3>   SerializeInfo;
                };
    
                }}}
             Now needs to look like this:
    
                class MyClass
                {
                    int          member1;
                    double       member2;
                    std::string  member3;
    
                    friend class JsonSerializeTraits<MyClass>;
                };
    
                namespace ThorsAnvil { namespace Serialize { namespace Json {
    
                template<>
                class JsonSerializeTraits<MyClass>
                {
                    // IMPORTANT:
                    // Added a typedef here
                    //
                    typedef MyClass LocalType;
                    static ThorsAnvil::Serialize::Json::JsonSerializeType const  type    = Map;
    
                    // Now each of these items just needs to mention the members.
                    // Thus making the macros easier to use.
                    THORSANVIL_SERIALIZE_JsonAttribute(member1);
                    THORSANVIL_SERIALIZE_JsonAttribute(member2);
                    THORSANVIL_SERIALIZE_JsonAttribute(member3);
                    typedef boost::mps::vector<member1, member2, member3>   SerializeInfo;
                };
    
                }}}
  3. Added utility to merge DOM

    Martin York Martin York
    Martin York authored and Martin York committed May 12, 2012
Commits on May 11, 2012
  1. Add the ability to stream JsonDOM to output stream.

    Martin York Martin York
    Martin York authored and Martin York committed May 11, 2012
Commits on May 10, 2012
  1. Put back flag that was removed

    Martin York Martin York
    Martin York authored and Martin York committed May 10, 2012
  2. Add support for serializing/de-serializing ENUM

    Martin York Martin York
    Martin York authored and Martin York committed May 10, 2012
Commits on May 9, 2012
  1. Improves error message presented to user

    Martin York Martin York
    Martin York authored and Martin York committed May 9, 2012
  2. Improvements to Makefile

    Martin York Martin York
    Martin York authored and Martin York committed May 9, 2012
Commits on May 8, 2012
  1. Make it compile on older compiler (used by Cruise control)

    Martin York Martin York
    Martin York authored and Martin York committed May 8, 2012
Commits on May 7, 2012
  1. Allow the destination to be overridden by external project

    Martin York Martin York
    Martin York authored and Martin York committed May 7, 2012
  2. Make sure we go back to root

    Martin York Martin York
    Martin York authored and Martin York committed May 7, 2012
  3. Minor fixes to unit test to compile with no warnings.

    Martin York Martin York
    Martin York authored and Martin York committed May 7, 2012
    Fixed setup to automatically create required dir
    Added missing header file
  4. Minor fixes to make it compile

    Martin York Martin York
    Martin York authored and Martin York committed May 7, 2012
  5. Get JSON to compile on Ubuntu-10.04

    Martin York Martin York
    Martin York authored and Martin York committed May 7, 2012
  6. Testing

    Martin York Martin York
    Martin York authored and Martin York committed May 7, 2012
Commits on Apr 24, 2012
  1. Merge branch 'master' of GitLoki:Loki-Astari/ThorsSerializer

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  2. Added functionality so a class can be serialized as either an Array o…

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
    …r Map
  3. Added functionality so a class can be serialized as either an Array o…

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
    …r Map
  4. Put back original test.cpp

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  5. Put back original test.cpp

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  6. COPYRIGHT

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  7. COPYRIGHT

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  8. Make comments readable on git-hub

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  9. Make comments readable on git-hub

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  10. Added more comments and README

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  11. Added more comments and README

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  12. Added test and code for list

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  13. Added test and code for list

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  14. Added test for deque

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  15. Added test for deque

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  16. Generalize the Vector specializations

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  17. Generalize the Vector specializations

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012
  18. Added test for set of map

    Martin York Martin York
    Martin York authored and Martin York committed Apr 24, 2012