summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
AgeCommit message (Collapse)Author
1997-02-17(__getopt_long, __getopt_long_only, __optind, __optarg, __opterr, __optopt):Miles Bader
Macros removed.
1997-02-17(parser_parse_next, parser_init):Miles Bader
Remove __ prefixes from references to getopt functions and variables (OPT*). (argp_version_parser, parser_finalize): Use _ instead of gettext. (gettext): Macro removed.
1997-02-17Initial checkinMiles Bader
1997-02-16.Miles Bader
1997-02-16(__argp_input):Miles Bader
New macro.
1997-02-16(struct argp):Miles Bader
Add help_filter field. (struct argp_state): Add pstate field.
1997-02-16(struct group):Miles Bader
Add argp field. (convert_options): Set it. (__argp_input): New function. (parser_init): Set PARSER->state.pstate.
1997-02-16(hol_help):Miles Bader
Add STATE param. (argp_doc): Deal with help filters. Add STATE param. (struct hol_entry): Add argp field. (struct pentry_state): Add state field. (hol_add_cluster): Add ARGP argument. (print_header): Filter STR if necesary. (usage_argful_short_opt): Use space. (__argp_state_help): Call _help instead of __argp_help. (filter_doc): New function. (space): New function. (__argp_help): Now a wrapper that calls _help. (hol_entry_help): Add STATE param. Do user filtering if necessary. (struct hol_cluster): Add argp field. (make_hol): Make this first parameter ARGP instead of OPT. Set each entry's argp field. (argp_hol): Passin ARGP to make_hol, not ARGP->options. Pass ARGP to hol_add_cluster. (_help): Renamed from __argp_help. Add STATE argument, which pass on appropiately.
1997-02-16Frob a bunch to exercise new help filtering fature.Miles Bader
1997-02-14.Miles Bader
1997-02-14(hol_entry_help, __argp_help, argp_args_usage, argp_doc, usage_long_opt, arg,Miles Bader
hol_entry_help): Call gettext in appropriate places. [!_] (_): New macro. [!_ && HAVE_LIBINTL_H] <libintl.h>: New include.
1997-02-14(parser_finalize, argp_version_parser):Miles Bader
Call gettext in appropriate places.
1997-02-14Update to libc-970214 version.Miles Bader
1997-02-13.Miles Bader
1997-02-13[HAVE_CONFIG_H] <config.h>: New include.Miles Bader
1997-02-13Doc fix.Miles Bader
1997-02-13Update to libc-970212 versions.Miles Bader
1997-02-13.Miles Bader
1997-02-13<ctype.h>:Miles Bader
Include removed.
1997-02-13(_GNU_SOURCE): New macro.Miles Bader
[!isblank] (isblank): New macro. <ctype.h>: New include.
1997-02-12.Miles Bader
1997-02-12(parser_parse_next):Miles Bader
Decrement PARSER->state.next if we consumed an arg we didn't end up parsing. Set ARG_EBADKEY ourselves in all cases. (parser_parse_arg, parser_parse_opt): Get rid of ARG_EBADKEY param.
1997-02-12.Miles Bader
1997-02-12.Miles Bader
1997-02-12(__progname, __progname_full):Miles Bader
Decls removed. (__argp_failure, __argp_error, __argp_state_help): Use PROGRAM_INVOCATION_NAME instead of __PROGNAME_FULL. (__argp_error): Use STATE->name if it's available.
1997-02-12(__progname, __progname_full):Miles Bader
Decls removed. (argp_default_parser): Use PROGRAM_INVOCATION_NAME & PROGRAM_INVOCATION_SHORT_NAME instead of __PROGNAME_FULL & __PROGNAME.
1997-02-12(__progname_full):Miles Bader
Macro removed.
1997-02-12(options): Reformat.Miles Bader
(doc): Add some more gratuitous text.
1997-02-12.Miles Bader
1997-02-12(ARGP_KEY_END, ARGP_KEY_NO_ARGS, ARGP_KEY_INIT, ARGP_KEY_SUCCESS,Miles Bader
ARGP_KEY_ERROR): Change values.
1997-02-12.Miles Bader
1997-02-12(argp_args_usage): Don't trash memory.Miles Bader
1997-02-12(make_hol): Initialize clusters field.Miles Bader
(argp_args_usage, __argp_state_help): Make multiple-level args-docs work.
1997-02-12.Miles Bader
1997-02-12.Miles Bader
1997-02-12(args_doc): Add an alternative args pattern.Miles Bader
(parse_opt): Enforce it.
1997-02-12(argp_args_usage):Miles Bader
Add LEVELS & ADVANCE arguments, and implement multi-pattern output. (__argp_help): Print multiple argument patterns if there are any. (argp_args_levels): New function.
1997-02-12Doc fix.Miles Bader
1997-02-12(__argp_state_help): Use __argp_help, not argp_help.Miles Bader
1997-02-12(__argp_fmtstream_printf): Remove weak alias.Miles Bader
1997-02-12(__argp_parse): Renamed from argp_parse.Miles Bader
[weak_alias] (argp_parse): New weak alias. (argp_default_parser, parser_finalize): Use __argp_state_help, not argp_state_help. (argp_version_parser): Use __argp_error, not argp_error. (convert_options, calc_sizes): Use __option_is_end, not _option_is_end. (convert_options): Use __option_is_short, not _option_is_short.
1997-02-12.Miles Bader
1997-02-12(SRCS):Miles Bader
Add argp-fmtstream.c, argp-fs-xinl.c, and argp-xinl.c. Remove argp.c. (installhdrs): Define explicitly. (LCLHDRS): Define in terms of $(installhdrs) + others. (CFLAGs): Add -DHAVE_LINEWRAP_H & -DHAVE_CTHREADS_H.
1997-02-12Supplanted by argp-xinl.cMiles Bader
1997-02-12Initial checkin.Miles Bader
1997-02-12(__argp_parse, __argp_help, __argp_state_help, __argp_error, __argp_usage,Miles Bader
__argp_failure, __option_is_short, __option_is_end): New declarations. (argp_usage, _option_is_end, _option_is_short): Inline definitions replaced by __-prefixed versions, and protected by __OPTIMIZE__. [__OPTIMIZE__ && !_LIBC] (__argp_usage, __argp_state_help, __option_is_short, __option_is_end): Add redefs (& later undefs) of __ versions of inline definitions so they define the correct name for the environment (libc vs. non-libc), (struct argp_option, struct argp, struct argp_child, struct argp_state): Use __const instead of const. (argp_parse, argp_help, argp_state_help, argp_error, argp_usage, argp_failure, _option_is_short, _option_is_end): Use __P macro for function declarations. [HAVE_CONFIG_H] <config.h>: New include. [__GNU_LIBRARY__] <sys/cdefs.h>: New include. [!__const] (__const): New macro.
1997-02-12Largely rewritten to clean up the code, avoid using nested functions, andMiles Bader
adapt namespace and locking in preparation for moving into libc.
1997-02-12(argp_doc):Miles Bader
Use strchr instead of index. (__argp_error): Renamed from argp_error. (__argp_state_help, __argp_error, __argp_failure): Use __PROGNAME_FULL instead of PROGRAM_INVOCATION_NAME. (until_short): Return correct key. (__progname, __progname_full): New declarations. (__argp_failure): Renamed from argp_failure. [weak_alias] (argp_help, argp_state_help, argp_error, argp_failure): New weak aliases. (__argp_state_help): Renamed from argp_state_help. (hol_entry_cmp): Use __strcasecmp instead of strcasecmp. (hol_append): Use memcpy instead of bcopy. (__argp_help): Renamed from argp_help. (hol_entry_cmp, usage_argful_short_opt, usage_long_opt): Don't use ?: operator. (make_hol): Increment default group for option headers. Make static. (group_cmp): Put group 0 before other groups, not in the middle. (indent_to, arg, struct pentry_state, print_header, comma, hol_entry_help, hol_help, usage_argful_short_opt, usage_long_opt, hol_usage, argp_args_usage, argp_doc, argp_help): Use argp_fmtstream_t & associated functions instead of stdio streams. "argp-namefrob.h": New include. "argp-fmtstream.h": New include. <linewrap.h>: Include removd.
1997-02-11(argp_default_parser):Miles Bader
Use strrchr instead of rindex. (argp_parse): Use strchr instead of index, memset instead of bzero.
1997-02-09.Miles Bader