Changeset 146

Show
Ignore:
Timestamp:
04/23/06 16:48:43 (3 years ago)
Author:
abauer
Message:

Removed the addUTC option

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/6620-branch

    • Property svn:ignore changed from
      .cdtproject
      configure
      Makefile.in
      Doxyfile
      .project
      config.log
      config.status
      stamp-h1
      config.h
      config.h.in
      autom4te.cache
      libtool
      aclocal.m4
      Makefile
      libsyncml-1.0.pc
      build-stamp
      config.guess
      config.sub
      to
      .cdtproject
      configure
      Makefile.in
      Doxyfile
      .project
      config.log
      config.status
      stamp-h1
      config.h
      config.h.in
      autom4te.cache
      libtool
      aclocal.m4
      Makefile
      libsyncml-1.0.pc
      build-stamp
      config.guess
      config.sub
      debian
  • branches/6620-branch/libsyncml/parser/sml_xml_assm.c

    r138 r146  
    19301930        } 
    19311931         
    1932         //UTC 
    1933         /* Note: We dont check for devinf version 1.1 here, since there are some 
    1934          * (buggy) phones which _reqqire_ the utc tag even if it is devinf 1.0. */ 
    1935         if (devinf->supportsUTC) { 
     1932        //UTC (>= 1.1) 
     1933        if (devinf->supportsUTC && version != SML_DEVINF_VERSION_10) { 
    19361934                if (!_smlXmlAssemblerAddString(assm, SML_ELEMENT_UTC, "", error)) 
    19371935                        goto error_free_writer; 
    19381936        } 
    19391937         
    1940         //Large objs 
    1941         if (devinf->supportsLargeObjs) { 
     1938        //Large objs (>= 1.1) 
     1939        if (devinf->supportsLargeObjs && version != SML_DEVINF_VERSION_10) { 
    19421940                if (!_smlXmlAssemblerAddString(assm, SML_ELEMENT_SUPPORTLARGEOBJS, "", error)) 
    19431941                        goto error_free_writer; 
    19441942        } 
    19451943         
    1946         //Number of changes 
    1947         if (devinf->supportsNumberOfChanges) { 
     1944        //Number of changes (>= 1.1) 
     1945        if (devinf->supportsNumberOfChanges && version != SML_DEVINF_VERSION_10) { 
    19481946                if (!_smlXmlAssemblerAddString(assm, SML_ELEMENT_SUPPORTNUMBEROFCHANGES, "", error)) 
    19491947                        goto error_free_writer; 
  • branches/6620-branch/tools/syncml-http-server.c

    r127 r146  
    6363        fprintf (stderr, "[--allowLateStatus]\t\t\tAllows that a phone can send commands before statuses (Needed for some phones)\n\n"); 
    6464        fprintf (stderr, "[--maxObjSize <limit>]\t\t\tThe maximum size of a object that we can receive (Needed for some phones)\n\n"); 
    65         fprintf (stderr, "[--addUTC]\t\t\tAdd the UTC tag to the device information (Needed for some phones)\n\n"); 
    6665        fprintf (stderr, "[--noPendingReplies]\t\t\tRequire that no pending replies are allowed (Needed for some phones)\n"); 
    6766        fprintf (stderr, "Example: %s --port 9999 --sync vcal /events --sync vcard /addressbook --multi --san\n", name); 
     
    339338         
    340339        SmlError *error = NULL; 
    341         SmlBool addUTC = TRUE; 
    342340         
    343341        if (!g_thread_supported ()) g_thread_init (NULL); 
     
    373371                } else if (!strcmp (arg, "--allowLateStatus")) { 
    374372                        lateStatus = TRUE; 
    375                 } else if (!strcmp (arg, "--addUTC")) { 
    376                         addUTC = TRUE; 
    377373                } else if (!strcmp (arg, "--noPendingReplies")) { 
    378374                        noPending = TRUE; 
     
    413409        if (!devinf) 
    414410                goto error_free_manager; 
    415          
    416         smlDevInfSetSupportsUTC(devinf, addUTC); 
    417411                         
    418412        agent = smlDevInfAgentNew(devinf, &error); 
  • branches/6620-branch/tools/syncml-obex-client.c

    r127 r146  
    7272        fprintf (stderr, "[--recvLimit <limit>]\t\t\tLimit the size of the receiving buffer to this size (Needed for some phones)\n\n"); 
    7373        fprintf (stderr, "[--maxObjSize <limit>]\t\t\tThe maximum size of a object that we can receive (Needed for some phones)\n\n"); 
    74         fprintf (stderr, "[--addUTC]\t\t\tAdd the UTC tag to the device information (Needed for some phones)\n\n"); 
    7574        fprintf (stderr, "[--allowLateStatus]\t\t\tAllows that a phone can send commands before statuses (Needed for some phones)\n\n"); 
    7675        fprintf (stderr, "[--noPendingReplies]\t\t\tRequire that no pending replies are allowed (Needed for some phones)\n"); 
     
    400399         
    401400        SmlMimeType type = SML_MIMETYPE_XML; 
    402         SmlBool addUTC = FALSE; 
    403401         
    404402        SmlError *error = NULL; 
     
    473471                } else if (!strcmp (arg, "--noPendingReplies")) { 
    474472                        noPending = TRUE; 
    475                 } else if (!strcmp (arg, "--addUTC")) { 
    476                         addUTC = TRUE; 
    477473                } else if (!strcmp (arg, "--version")) { 
    478474                        i++; 
     
    526522        if (!devinf) 
    527523                goto error_free_manager; 
    528          
    529         smlDevInfSetSupportsUTC(devinf, addUTC); 
    530524         
    531525        agent = smlDevInfAgentNew(devinf, &error);