| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905407 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on a patch from: Julian Foad <julianfoad btopenworld.com>
* include/apr_getopt.h
(apr_getopt_err_fn_t): Clarify, mention what the arg parameter is.
(apr_getopt_init): Clarify how the error function is used.
* include/apr_poll.h
(apr_poll): Note that nsds is an output parameter.
* include/apr_support.h
(apr_wait_for_io_or_timeout): Document the arguments.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@377527 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
between extern "C" blocks and doxygen blocks, that we never include
other headers within our own header's extern "C" block, that we always
tag the entire file contents for doxygen (within the APR_HEADER_H
only-once block), and generally clean up doxygen so that it is all
consistent and generates respectable (although not yet 'great') results.
Major TODO after 0.9.2 releases; fill in the apr.h APR_HAVE/APR_HAS
and apr_type_t documentation!!!
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64397 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
No functional changes
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
No code changes.
(Note removal of #define duplication in apr_poll.h/apr_network_io.h of the
APR_POLL* values. This appears to have been an oversight and is now just
in apr_poll.h)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64009 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
still alot more #defines to go
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62990 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
command-line switches. Shouldn't break any existing users of this
structure. Reviewed by Greg Stein <gstein@lyra.org>
* apr_getopt.h (apr_getopt_option_t): add a new 'description' field
to the end of the structure.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62804 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
introduce an ->errarg to pass the first void* (e.g. stderr by default),
and change apr_getopt_init() to initialize those to fprintf(stderr,
so the -default- behavior is unchanged.
This is necessary to get away from unwise assumptions within library code.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62580 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Ian Holsman <ianh@cnet.com>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62158 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
This has started showing up with the recent POSIX/BSD/whatever preprocessor
defines for the R/W lock stuff.
Name the argument something else to shut up GCC.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61687 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
tree with C::Scan)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61179 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
APR_DECLARES() to the sources, based on compilation emits (there
are many that should be changed eventually, but the compiler will
emit errors if those sources are added for win32).
This change also splits libapr from apr, so the two projects are
compiled seperately. Both .dsp files must be kept up-to-date with
source file revisions.
Finally, libapr.def is no longer needed - so it is gone.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61072 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60874 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
of the data, so the const is proper. This also allows clients to pass const
data in.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60812 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) Reduce the dependencies between APR headers. This assists APR clients who
generate dependencies, and (used to) pick up "all" of the APR headers.
Basically, this was trimming back the headers to just what was needed.
Some unneeded system headers were removed, too. The most common headers
to put back in were: apr.h, apr_pools.h, and apr_errno.h.
*) move apr_pool_t declaration and a few pool functions from apr_general.h
to apr_pools.h.
*) move kill_conditions and process_chain from apr_pools.h to
apr_thread_proc.h.
*) move apr_note_subprocess() from apr_general.h to apr_thread_proc.h
*) add stdio.h to apr_pools.c (compensate for removal from apr_general.h)
*) add apr_lib.h to apr_strnatcmp.c (compensate for apr_strings.h no longer
including apr_lib.h)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60796 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60791 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from Karl Fogel <kfogel@collab.net>:
(apr_getopt_option_t): rename from apr_longopt_t, because more accurate.
(apr_initopt, apr_getopt_long, reverse): take "char *const *argv", act
on a copy instead of the original, since we may permute the array.
This is a compromise. The parameter must be compatible with the argv
value passed to main, since that is the primary purpose of the
function. But as has been pointed out, people might want to use the
function with arrays other than argv, and we shouldn't touch the
caller's data.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60790 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Greg Stein <gstein@lyra.org> and Karl Fogel <kfogel@collab.net>):
Simplify apr_getopt_long interface and add support for interleaving
options with arguments.
(apr_getopt_t, apr_initopt): Add "interleave" settable flag and
"skip_start" and "skip_end" fields to keep track of skipped non-option
arguments. Change argv to a char ** so that we can permute it.
(apr_long_option_t): Renamed to apr_longopt_t.
(apr_longopt_t): Rename "val" to "optch" and use for the short option
name as well as the result. "name" can now be NULL, and a structure
with an "optch" of 0 now terminates the list.
(reverse, permute, serr, cerr): New helper functions.
(apr_getopt_long): Rewrite for simplified interface and for
interleaved option support.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60788 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) Added new struct and typedef for apr_getopt_long_t.
*) Added prototype and inline documentation for new apr_getopt_long
function.
misc/unix/getopt.c:
*) Added new apr_getopt_long function to handle long option
processing.
*) Added static method pretty_path() to avoid duplicating code
*) modified apr_getopt to use pretty_path. Removed cut-and-paste code
as well as char *p.
Submitted by: B. W. Fitzpatrick <fitz@red-bean.com>
Reviewed by: Greg Stein
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60752 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60569 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60500 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
(Note: apr_initopt() and/or its callers still need tweaking.)
Submitted by: Bill Rowe
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60496 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60495 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_getopt_t->cont is not really necessary, but I don't yet see a reason
to kill it outright. Might come in handy later.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60494 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
or multiple argument parsers to play with the argument list.
This change forces the user to call apr_initopt followed by the usual
calls to apr_getopt, with one exception. The argument to a switch (-x)
option is passed to apr_getopt as the &((const char *) arg). Also, the
old int rv status/switch value is now simply the switch value, and the
status is returned as the ap_status_t result.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60491 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
see src/lib/apr/apr_compat.h for most details.
Also a few minor nits to get Win32 to build.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60481 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60413 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Obtained from:
Submitted by:
Reviewed by:
Fix the last of the tags APR_EXPORT_VAR and APR_IMPORT_VAR to the
accepted APR_VAR_EXPORT and APR_VAR_IMPORT. This patch finally
includes the apr.h.in file (newly added to my grepper).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60111 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
Obtained from:
Submitted by:
Reviewed by:
Just a few functions missing linkage specs.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60103 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
APR is -NOT- the Apache server, so the import/export declations
cannot use the same defined symbols. Other minor changes
API_THREAD_PROC is now APR_THREAD_PROC.
API_VAR_IMPORT/EXPORT are now APR_IMPORT/EXPORT_VAR, to allow
easier grepping.
The new compilation switches APR_STATIC and APR_EXPORT_SYMBOLS
allow the builder to select either static linked or the creation
of the export symbols for APR. The aprlib and aprlibdll .dsp
projects now include the later symbol.
More cleanups from recent commits are still needed, as well as
a thorough review of the distinction between APR_EXPORT and
APR_EXPORT_NONSTD. The later is used only for pure __cdecl
required functions, such as variable arguments (not va array
arguments, those are not an issue.)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60101 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
scripts to generate either plain text, html, or any other format perldoc
can generate. This also fixes the comments to say ap_pool instead of
ap_context.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59869 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
on Linux, but probably breaks somewhere.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59841 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
ap_getopt look more like the rest of the apor functions.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59703 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59688 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
and changing the names in the getopt.c file so that we are sure there is
no namespace collision between regular getopt's, and APR's getopt.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59483 13f79535-47bb-0310-9956-ffa450edef68
|
|
"libc.so.6: Warning: definition of 'optarg' overriding common
libapr(getopt.o): warning: common is here"
To make matters cleaner, I added an apr_getopt.h to go with the
various copies of getopt.c in the os subdirectories. In this header,
I renamed all getopt-API functions to "apr_<apiname>". This avoids
name clashes with system libraries.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59481 13f79535-47bb-0310-9956-ffa450edef68
|