aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFiles
2013-11-14Upgrade grecsSergey Poznyakoff1
2012-08-14New option --done=expr supplies a cleanup expression.Sergey Poznyakoff5
This expression is run once, when the main loop has finished iterating over all nodes. * doc/cfpeek.1: Document the --done option. * doc/cfpeek.texi: Likewise. * NEWS: Update. * configure.ac: Version 1.1.90 * src/cfpeek.c (script_done_expr): New variable. (main): Call script_done before exiting. * src/cfpeek.h (script_done_expr): New extern (script_done, guile_done): New protos. * src/cmdline.opt (done): New option. * src/guile.c (guile_done): New function. * src/script.c (script_tab) <done>: New member. (script_tab): Fill in the new structure member. (script_done): New function.
2012-08-13Add support for DHCPD configuration files.Sergey Poznyakoff1
* doc/cfpeek.1: Document DHCPD parser. * doc/cfpeek.texi: Likewise. * grecs: Updgrade. * imprimatur: Upgrade. * src/cmdline.opt (--parser): New value: dhcdp.
2012-03-30Version 1.1release-1.1Sergey Poznyakoff1
Update docs.
2011-06-27Support for detailed input locations.Sergey Poznyakoff2
* gint: Upgrade. * grecs: Upgrade. * NEWS: Document changes. * src/cfpeek.c (_print_diag): Fix prototype. * src/guile.c (grecs-node-ident-locus) (grecs-node-value-locus): New functions. (grecs-node-locus): Take optional second argument. It it is #t, return full location. * tests/locus.at: Update.
2011-05-31Improve --format interface.Sergey Poznyakoff2
* src/cfpeek.c (up_option,parent_option): Remove. (locate_cmd,locate_instr): New types. (new_locate_instr,run_locate): New functions. (locate_list): New variable. (print_node): Call run_locate. Return if it returned NULL node. * src/cmdline.opt (set_child_option) (set_sibling_option,set_down_option): New functions. (set_up_option,set_parent_option): Rewrite. (format_flag_table)<down,sibling,child>: New options.
2011-05-31Improvements in scripting code.Sergey Poznyakoff5
* src/cfpeek.c (script_init_expr): New variable. * src/cfpeek.h: Likewise. * src/cmdline.opt: New option --init. * src/guile.c (guile_init): Eval script_init_expr, if defined. * src/script.c: Bugfixes: Use grecs_error for error reporting.
2011-05-27Fix builds without Guilerelease-1.0Sergey Poznyakoff1
* gint: Update. * configure.ac (GINT_INIT): Use doc-dsitrib option. * src/guile.c: Minor fix.
2011-05-27Add testsuiteSergey Poznyakoff2
* Makefile.am (SUBDIRS): Add tests. * configure.ac: Initialize test framework. * src/cmdline.opt: Print information about Guile and Grecs versions along with normal --version output. * src/Makefile.am (INCLUDES): Add $(top_srcdir), needed to locate gitid.h (MAINTAINERCLEANFILES): New variable. * tests: New directory. * tests/.gitignore: New file. * tests/Makefile.am: New file. * tests/atlocal.in: New file. * tests/gmatch.at: New file. * tests/guile-itr.at: New file. * tests/guile-list.at: New file. * tests/guile-list2.at: New file. * tests/list.at: New file. * tests/literal.at: New file. * tests/locus.at: New file. * tests/lookupfail.at: New file. * tests/parent.at: New file. * tests/path.at: New file. * tests/smatch.at: New file. * tests/testsuite.at: New file. * tests/up.at: New file. * tests/value.at: New file. * tests/version.at: New file.
2011-05-26Minor change.Sergey Poznyakoff1
* src/guile.c (scm_grecs_node_type): Use @cindex in the docstring.
2011-05-26Various fixes.Sergey Poznyakoff1
* grecs: Update. * configure.ac (GRECS_SETUP): Add syntax-doc flag. * doc/GNUmakefile (BUILT_SOURCES): Add scripting.texi. (scripting.texi): New rule. * doc/Makefile.am (BUILT_SOURCES): Remove scripting.texi. (scripting.texi): Move to GNUmakefile. * doc/cfpeek.texi: Update. * doc/macros.texi (runex): Remove @kbd * src/cmdline.opt (parse_options): Force default flags GRECS_NODE_FLAG_PATH|GRECS_NODE_FLAG_VALUE.
2011-05-26* src/cfpeek.c: Assume descend flag if no keys are given.Sergey Poznyakoff1
2011-05-26Rename the --expr option to --expression.Sergey Poznyakoff1
2011-05-26Finish documentation.Sergey Poznyakoff1
2011-05-25Update docs.Sergey Poznyakoff2
2011-05-24Improve docs. Add texinfo docs.Sergey Poznyakoff5
* doc/cfpeek.1: Complete. * doc/Makefile.am: Update. * doc/.gitignore: New file. * doc/Config: New file. * doc/cfpeek.texi: New file. * doc/check-docs.sh: New file. * doc/fdl.texi: New file. * doc/gendocs_template: New file. * doc/macros.texi: New file. * doc/mastermenu.el: New file. * doc/rendition.texi: New file. * doc/untabify.el: New file. * src/cfpeek.h: Define symbolic exit codes for program-specific exits. * src/cfpeek.c: Use symbolic exit codes. * src/guile.c (guile_apply): Exit on error.
2011-05-23Make program_name global.Sergey Poznyakoff2
2011-05-23UpdateSergey Poznyakoff1
2011-05-23Start writing docs.Sergey Poznyakoff2
* Makefile.am (SUBDIRS): Add doc. * configure.ac (AC_CONFIG_FILES): Add doc/Makefile. * doc/Makefile.am: New file. * doc/cfpeek.1: New file. * grecs: Update. * src/cfpeek.c (flags): Don't initialize. * src/cmdline.opt (parse_options): Initialize flags.
2011-05-22Minor fixes.Sergey Poznyakoff4
* src/Makefile.am (EXTRA_DIST): Add cmdline.opt * src/cfpeek.c (main): Don't set grecs_preprocessor. * src/cmdline.opt: Set grecs_preprocessor to the default value only if it has not been set or unset explicitly and the default parser is selected. * src/guile.c (grecs-node-ident): New function.
2011-05-20Add more Scheme interfaces.Sergey Poznyakoff1
* src/guile.c (grecs-node-root, grecs-node-head) (grecs-node-tail,grecs-node-path) (grecs-node-locus,grecs-find-node) (grecs-match-first,grecs-match-next): New functions.
2011-05-20Minor improvements.Sergey Poznyakoff3
* src/cfpeek.c (all_option): Remove. (main): If no paths are given, scan entire tree. * src/cmdline.opt: Remove the --all option. * src/guile.c (_guile_node_print): Do not descend into subnodes. * grecs: Update.
2011-05-20Implement --exprSergey Poznyakoff1
2011-05-20Implement scripting.Sergey Poznyakoff7
* gint: New module. * Makefile.am: Update. * configure.ac: Initialize GINT. * src/.gitignore: Update. * src/guile.c: New file. * src/cfpeek.h: New file. * src/script.h: New file. * src/Makefile.am: Update. * src/cfpeek.c: Implement scripting. * src/cmdline.opt: Likewise.
2011-05-19Simplify command line syntax.Sergey Poznyakoff2
* src/cfpeek.c (parent_option): Change type. (up_option): New option. (print_node): Handle new options. * src/cmdline.opt: Simplify. Introduce new option: --format. * grecs: Update.
2011-05-16Improve preprocessor configuration, add --parser=git option.Sergey Poznyakoff3
* grecs: Update. * src/Makefile.am (AM_CPPFLAGS): Define DEFAULT_PREPROCESSOR. * src/cfpeek.c (main): Set grecs_preprocessor. * src/cmdline.opt: Use grecs_txtacc to collect preprocessor arguments.
2011-05-16Add BIND parser.Sergey Poznyakoff1
* grecs: Update. * src/cmdline.opt (--parser): Accept BIND value.
2011-05-15Implement multiple parsers.Sergey Poznyakoff1
* configure.ac (GRECS_SETUP): Add all-parsers option. * src/cmdline.opt: New option --parser. * grecs: Update.
2011-05-14Implement wildcard searches.Sergey Poznyakoff2
* grecs: Update. * src/cfpeek.c (parent_option,mode): New variables. (main): use literal or globbing matching, depending on the command line settings. * src/cmdline.opt: New options: --parent, --no-descend, --literal.
2011-05-09Initial commitSergey Poznyakoff4

Return to:

Send suggestions and report system problems to the System administrator.