summaryrefslogtreecommitdiff
path: root/src/ne_207.c
Commit message (Collapse)AuthorAgeFilesLines
* * src/ne_207.h (ne_207_create): Take a base URI argument.joe2006-01-021-10/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ne_207_start_response): Give parsed URI structure rather than raw string. * src/ne_207.c (struct ne_207_parser_s): Add URI base member. (end_element): Parse and resolve the href URI; pass resolved URI to start_response callback. (ne_207_create): Take a copy of given base URI. (ne_207_destroy): ... and free it. (start_response): Unparse the given URI. (ne_simple_request): Mock up a base URI. * src/ne_props.h (ne_props_result, ne_props_create_complex): Take URI structure rather than raw string. * src/ne_props.c (ne_prop_result_set_s): Store URI structure. (start_response): Take a copy of passed-in URI in propset; pass it back to creator callback. (free_propset): Free stored URI. (end_response): Pass stored URI to results callback. (ne_propfind_create): Create base URI to pass to ne_207_create. * src/ne_locks.h (ne_lock_result): Take a URI structure rather than raw string. * src/ne_locks.c (struct discover_ctx): Remove session member. (discover_results): Use given URI structure throughout. (ld_create): Copy URI structure directly to lock. (ne_lock_discover): No need to take a reference to the session. * src/Makefile.in: Update dependencies. * test/props.c (dummy_results, simple_results, tos_startresp): Adjust to take URI structure. (run_207_response): Initialize base URI to pass to ne_207_create. (pfind_simple): Only use URI path in result strings. * test/lock.c (discover_result, dummy_discover): Adjust to take URI structure. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@825 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_207.c (end_element, start_response, ne_simple_request):joe2005-10-291-9/+11
| | | | | | | Eliminate use of NE_FREE macro. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@747 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Implement support for internationalization of error message:joe2005-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/Makefile.in (NEON_BASEOBJS): Build ne_i18n.o. * src/ne_i18n.c: Include config.h, ne_i18n.h. (ne_i18n_init): Renamed from neon_i18n_init. * src/ne_i18n.h: Remove library-private definition of '_' and 'N_' macros. * src/ne_internal.h: New header; add definitions of _ and N_. * src/*.c: Update all sources to include ne_internal.h instead of ne_i18n.h. * po/: New directory. Add message catalog template and translated message catalogs extracted from sitecopy. * macros/neon-test.m4: Check for setlocale and locale.h. * test/common/tests.c: Include locale.h, ne_i18n.h. (main): Call setlocale and ne_i18n_init. * test/run.sh: By default disable i18n to allow checks for English error messages to succeed. * .release.sh: Compile the gmo files here. * macros/neon.m4 (NEON_I18N): Add macro. * configure.in: Use NEON_I18N. Define ALL_LINGUAS. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@680 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_207.h (ne_207_start_propstat): Specify that a NULL returnjoe2004-10-171-1/+5
| | | | | | | | | value means that the parse is aborted. * src/ne_207.c (start_element): Abort parsing as above. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@316 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Merge trunk up to current neon CVS HEAD.joe2004-10-021-5/+5
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@256 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Import neon-0.24.1.joe2004-10-021-4/+4
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.24.x@244 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Import neon 0.24.0 to begin 0.24.x branch.joe2004-10-021-0/+345
git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.24.x@243 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845