Changeset 3365

Show
Ignore:
Timestamp:
06/14/08 19:27:34 (3 months ago)
Author:
dgollub
Message:

Moved (again) xmlformat in seperated module
Initial author: bricks - see r3362

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/formats/plain.c

    r3364 r3365  
    2424#include <opensync/opensync-serializer.h> 
    2525#include <opensync/opensync-format.h> 
    26 #include <opensync/opensync-merger.h> 
     26#include <opensync/opensync-xmlformat.h> 
    2727#include <glib.h> 
    2828 
  • trunk/formats/xmlformat-doc.c

    r3364 r3365  
    2424#include <opensync/opensync.h> 
    2525#include <opensync/opensync_internals.h> 
    26 #include <opensync/opensync-merger.h> 
     26#include <opensync/opensync-xmlformat.h> 
    2727#include <opensync/opensync-format.h> 
    2828 
  • trunk/formats/xmlformat.h

    r3364 r3365  
    3030#include <opensync/opensync.h> 
    3131#include <opensync/opensync_internals.h> 
    32 #include <opensync/opensync-merger.h> 
     32#include <opensync/opensync-xmlformat.h> 
    3333#include <opensync/opensync-serializer.h> 
    3434#include <opensync/opensync-format.h> 
  • trunk/opensync/CMakeLists.txt

    r3364 r3365  
    4444   merger/opensync_capability.c 
    4545   merger/opensync_merger.c 
    46    merger/opensync_xmlfield.c 
    47    merger/opensync_xmlfieldlist.c 
    48    merger/opensync_xmlformat.c 
    4946   module/opensync_module.c 
    5047   plugin/opensync_plugin_authentication.c 
     
    5855   plugin/opensync_sink.c 
    5956   version/opensync_version.c 
     57   xmlformat/opensync_xmlfield.c 
     58   xmlformat/opensync_xmlfieldlist.c 
     59   xmlformat/opensync_xmlformat.c 
    6060) 
    6161 
     
    8989  plugin 
    9090  version 
     91  xmlforrmat 
    9192DESTINATION ${OPENSYNC_INCLUDE_DIR}/opensync  
    9293PATTERN "*/*_internals.h" EXCLUDE  
     
    116117   opensync-time.h 
    117118   opensync-version.h 
     119   opensync-xmlformat.h 
    118120DESTINATION ${OPENSYNC_INCLUDE_DIR}/opensync ) 
    119121 
  • trunk/opensync/engine/opensync_engine.c

    r3364 r3365  
    3131#include "opensync-archive.h" 
    3232#include "opensync-merger.h" 
     33#include "opensync-xmlformat.h" 
    3334 
    3435#include "opensync_obj_engine.h" 
  • trunk/opensync/engine/opensync_obj_engine.c

    r3321 r3365  
    3131#include "opensync-merger.h" 
    3232#include "opensync-plugin.h" 
     33#include "opensync-xmlformat.h" 
    3334 
    3435#include "opensync_sink_engine_internals.h" 
  • trunk/opensync/merger/opensync-merger_internals.h

    r3364 r3365  
    2828#include "opensync_capabilities_internals.h" 
    2929#include "opensync_capability_internals.h" 
    30 #include "opensync_xmlformat_internals.h" 
    31 #include "opensync_xmlfield_internals.h" 
    32 #include "opensync_xmlfieldlist_internals.h" 
    3330#include "opensync_merger_internals.h" 
    3431 
  • trunk/opensync/merger/opensync_merger.c

    r3364 r3365  
    2424#include "opensync_internals.h" 
    2525 
     26#include "opensync-xmlformat.h" 
     27/* FIXME: osync_merge_merge() requires direct xmlNode access -> dirty! */  
     28#include "../xmlformat/opensync-xmlformat_internals.h" 
     29 
    2630#include "opensync-merger.h" 
    2731#include "opensync-merger_internals.h" 
     32 
    2833 
    2934/** 
     
    126131                ret = strcmp(osync_xmlfield_get_name(new_cur), osync_xmlfield_get_name(old_cur)); 
    127132                if(ret < 0) { 
    128                         if(new_cur->next != NULL) { 
     133                        if(osync_xmlfield_get_next(new_cur) != NULL) { 
    129134                                new_cur = osync_xmlfield_get_next(new_cur); 
    130135                                continue; 
  • trunk/opensync/opensync-merger.h

    r3364 r3365  
    2626#include "merger/opensync_capabilities.h" 
    2727#include "merger/opensync_capability.h" 
    28 #include "merger/opensync_xmlformat.h" 
    29 #include "merger/opensync_xmlfield.h" 
    30 #include "merger/opensync_xmlfieldlist.h" 
    3128#include "merger/opensync_merger.h" 
    3229 
  • trunk/opensync/xmlformat/opensync_xmlfield.c

    • Property svn:mergeinfo set
    r3364 r3365  
    2424#include "opensync_internals.h" 
    2525 
    26 #include "opensync-merger.h" 
    27 #include "opensync-merger_internals.h" 
     26#include "opensync-xmlformat.h" 
     27#include "opensync-xmlformat_internals.h" 
    2828 
    2929/** 
  • trunk/opensync/xmlformat/opensync_xmlfield.h

    • Property svn:mergeinfo set
  • trunk/opensync/xmlformat/opensync_xmlfield_internals.h

    • Property svn:mergeinfo set
  • trunk/opensync/xmlformat/opensync_xmlfieldlist.c

    • Property svn:mergeinfo set
    r3364 r3365  
    2424#include "opensync_internals.h" 
    2525 
    26 #include "opensync-merger.h" 
    27 #include "opensync-merger_internals.h" 
     26#include "opensync-xmlformat.h" 
     27#include "opensync-xmlformat_internals.h" 
    2828 
    2929/** 
  • trunk/opensync/xmlformat/opensync_xmlfieldlist.h

    • Property svn:mergeinfo set
  • trunk/opensync/xmlformat/opensync_xmlfieldlist_internals.h

    • Property svn:mergeinfo set
  • trunk/opensync/xmlformat/opensync_xmlformat.c

    • Property svn:mergeinfo set
    r3364 r3365  
    2424#include "opensync_internals.h" 
    2525 
    26 #include "opensync-merger.h" 
    27 #include "opensync-merger_internals.h" 
     26#include "opensync-xmlformat.h" 
     27#include "opensync-xmlformat_internals.h" 
    2828 
    2929/** 
  • trunk/opensync/xmlformat/opensync_xmlformat.h

    • Property svn:mergeinfo set
  • trunk/opensync/xmlformat/opensync_xmlformat_internals.h

    • Property svn:mergeinfo set