Changeset 146
- Timestamp:
- 04/23/06 16:48:43 (3 years ago)
- Files:
-
- branches/6620-branch (modified) (1 prop)
- branches/6620-branch/libsyncml/parser/sml_xml_assm.c (modified) (1 diff)
- branches/6620-branch/tools/syncml-http-server.c (modified) (4 diffs)
- branches/6620-branch/tools/syncml-obex-client.c (modified) (4 diffs)
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
- Property svn:ignore changed from
branches/6620-branch/libsyncml/parser/sml_xml_assm.c
r138 r146 1930 1930 } 1931 1931 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) { 1936 1934 if (!_smlXmlAssemblerAddString(assm, SML_ELEMENT_UTC, "", error)) 1937 1935 goto error_free_writer; 1938 1936 } 1939 1937 1940 //Large objs 1941 if (devinf->supportsLargeObjs ) {1938 //Large objs (>= 1.1) 1939 if (devinf->supportsLargeObjs && version != SML_DEVINF_VERSION_10) { 1942 1940 if (!_smlXmlAssemblerAddString(assm, SML_ELEMENT_SUPPORTLARGEOBJS, "", error)) 1943 1941 goto error_free_writer; 1944 1942 } 1945 1943 1946 //Number of changes 1947 if (devinf->supportsNumberOfChanges ) {1944 //Number of changes (>= 1.1) 1945 if (devinf->supportsNumberOfChanges && version != SML_DEVINF_VERSION_10) { 1948 1946 if (!_smlXmlAssemblerAddString(assm, SML_ELEMENT_SUPPORTNUMBEROFCHANGES, "", error)) 1949 1947 goto error_free_writer; branches/6620-branch/tools/syncml-http-server.c
r127 r146 63 63 fprintf (stderr, "[--allowLateStatus]\t\t\tAllows that a phone can send commands before statuses (Needed for some phones)\n\n"); 64 64 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");66 65 fprintf (stderr, "[--noPendingReplies]\t\t\tRequire that no pending replies are allowed (Needed for some phones)\n"); 67 66 fprintf (stderr, "Example: %s --port 9999 --sync vcal /events --sync vcard /addressbook --multi --san\n", name); … … 339 338 340 339 SmlError *error = NULL; 341 SmlBool addUTC = TRUE;342 340 343 341 if (!g_thread_supported ()) g_thread_init (NULL); … … 373 371 } else if (!strcmp (arg, "--allowLateStatus")) { 374 372 lateStatus = TRUE; 375 } else if (!strcmp (arg, "--addUTC")) {376 addUTC = TRUE;377 373 } else if (!strcmp (arg, "--noPendingReplies")) { 378 374 noPending = TRUE; … … 413 409 if (!devinf) 414 410 goto error_free_manager; 415 416 smlDevInfSetSupportsUTC(devinf, addUTC);417 411 418 412 agent = smlDevInfAgentNew(devinf, &error); branches/6620-branch/tools/syncml-obex-client.c
r127 r146 72 72 fprintf (stderr, "[--recvLimit <limit>]\t\t\tLimit the size of the receiving buffer to this size (Needed for some phones)\n\n"); 73 73 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");75 74 fprintf (stderr, "[--allowLateStatus]\t\t\tAllows that a phone can send commands before statuses (Needed for some phones)\n\n"); 76 75 fprintf (stderr, "[--noPendingReplies]\t\t\tRequire that no pending replies are allowed (Needed for some phones)\n"); … … 400 399 401 400 SmlMimeType type = SML_MIMETYPE_XML; 402 SmlBool addUTC = FALSE;403 401 404 402 SmlError *error = NULL; … … 473 471 } else if (!strcmp (arg, "--noPendingReplies")) { 474 472 noPending = TRUE; 475 } else if (!strcmp (arg, "--addUTC")) {476 addUTC = TRUE;477 473 } else if (!strcmp (arg, "--version")) { 478 474 i++; … … 526 522 if (!devinf) 527 523 goto error_free_manager; 528 529 smlDevInfSetSupportsUTC(devinf, addUTC);530 524 531 525 agent = smlDevInfAgentNew(devinf, &error);
