Age | Commit message (Collapse) | Author | Files |
|
* NEWS: Raise version number.
* configure.ac: Link wydawca.h to include/wydawca
Raise version number
* doc/wydawca.texi: Document changes.
* etc/wydawca.rc: Fix the syntax.
* grecs: Upgrace.
* include/wydawca/wydawca.h (wy_vlog): New proto.
(wy_log, wy_dbg): Format is const char *.
(wy_triplet_t): Change typedef.
(wy_metadef): Remove struct.
(wy_vardef): New struct.
(wy_triplet_expand_param)
(wy_expand_copy): New protos.
* modules/logstat/mod_logstat.c: Update.
* modules/mailutils/Makefile.am (AM_CPPFLAGS): Modify,
* modules/mailutils/mod_mailutils.c: Update.
* src/Makefile.am (wydawca_SOURCES): Remove meta.c
* src/dictionary.c: Fix comment.
* src/directive.c (directive_get_value): Triplet pointer is const.
* src/meta.c: Remove.
* src/timer.c: (timer_fill_meta)
(timer_free_meta): Remove.
* src/triplet.c: Use wordsplit for expansions.
* src/wydawca.c (wy_vlog): New function.
(wy_stat_expansion): New function.
* src/wydawca.h: Remove metadef protos.
* tests/etc/notify.rcin: Update variable reference syntax.
|
|
Use grecs_txtacc.
|
|
|
|
|
|
* Makefile.am (SUBDIRS): Add include.
* configure.ac: Build include/*/Makefile
Set-up grecs as a shared convenience library. Install
its headers.
* include/Makefile.am: New file.
* include/wydawca/Makefile.am: New file.
* include/wydawca/cfg.h: New file.
* include/wydawca/wydawca.h: New file.
* modules/mailutils/Makefile.am (AM_CPPFLAGS): Add include/
* src/Makefile.am (LDADD): Use @GRECS_LDADD@
(AM_CPPFLAGS): Add include/.
* tests/Makefile.am: Likewise.
* src/wydawca.h: Include wydawca/wydawca.h.
(__cat2__, __cat3__): Move to installable header and rename.
(struct wy_user): Move to installable header.
(struct file_triplet): Rename to wy_triplet. All uses changed.
(enum notification_event): Rename to wy_event and move to
installable header.
(struct metadef): Rename to wy_metadef and move to
installable header.
(dry_run_mode): Rename to wy_dry_run and move to
installable header.
(wydawca_gpg_homedir): Rename to wy_gpg_homedir and move to
installable header.
(wy_version, wy_debug_level, wy_log_to_stderr)
(wy_log_facility, wy_syslog_tag)
(wy_log,wy_dbg): Move to installable header.
* modules/mailutils/mod_mailutils.c: Update.
* src/cmdline.opt
* src/config.c
* src/directive.c
* src/diskio.c
* src/event.c
* src/gpg.c
* src/job.c
* src/meta.c
* src/module.c
* src/null.c
* src/timer.c
* src/triplet.c
* src/verify.c
* src/vtab.c
* src/watcher.c
* src/wydawca.c
|
|
* src/meta.c (metadef_join): New function.
* src/triplet.c (triplet_expand_param): Extra argument supplies
an additional metadef to use together with triplet_meta.
* src/wydawca.h (triplet_expand_param): Change signature.
* modules/mailutils/mod_mailutils.c (t_notify): Provide
extra metadef for admin and owner addresses.
|
|
|
|
|
|
|
|
* src/txtacc.c: New file.
* gnulib.modules: Remove obstack.
* src/wydawca.h (txtacc_create, txtacc_free)
(txtacc_free_string, txtacc_grow)
(txtacc_finish): New functions.
(txtacc_1grow): New macro.
|
|
|
|
* src/meta.c: Special construct $- removes the character immediately
following it.
* doc/wydawca.texi: Document the use of $- construct.
* src/triplet.c (expand_triplet_ls_full)
(expand_triplet_ls_upload): Keep trailing newline in the expansion.
* tests/etc/notify.rc: Update.
|
|
Updated year in copyright statements.
|
|
Rename "access method" to "dictionary".
All sources affected.
* src/method.c: renamed to...
* src/dictionary.c: ... this.
|
|
* doc/Makefile.am: Improve checking and final rules.
* doc/fdl.texi, doc/rendition.texi: Use single-space sentence separators.
* doc/wydawca.texi: Update.
* src/config.c (cb_email_address): Accept a list of addresses.
* src/meta.c (meta_expand_string): Take two additional arguments. Quote
expansions if they are provided.
* src/triplet.c (triplet_expand_method_query): New function.
* src/mail.c, src/verify.c: Use triplet_expand_method_query
* src/wydawca.h: Update.
* src/meta.c (meta_escape): Remove.
|
|
* src/report.c: New file
* src/Makefile.am (wydawca_SOURCES): Add report.c
* src/cmdline.opt: Group options.
New option -D (--define).
* src/directive.c (process_directives): Call report_init before processing
and report_finish afterwards.
* src/triplet.c: New meta-variable `report'.
* src/vtab.c (move_file, archive_file, symlink_file, rmsymlink_file): Update
report stack.
* src/wydawca.h: Include obstack.h
(report_init, report_add, report_finish): New protos.
(report_string): New declaration.
* src/builtin.c, src/meta.c: Remove obstack inclusion.
|
|
* configure.ac: Disable sendfile by default.
* src/builtin.c (builtin_run): Fix value returned of failure.
* src/config.c (target_args): Fix ordering
* src/meta.c (meta_expand_string): Fix handling of unexpanded macros.
* src/triplet.c (fill_user_data): Fix conditional.
* src/verify.c (make_default_meta): Fix trailing null.
* tests/.gitignore: Add source and dest
* tests/Makefile.am (EXTRA_DIST): Add dist.
(TESTSUITE_AT): Add new tests.
* tests/atlocal.in: Update.
* etc/.gitignore: Add wydawca.rc
* tests/etc/Makefile.am: Add wydawca.rcin
* tests/testsuite.at: Add new tests
* tests/dist/file: New file.
* tests/dist/file.directive.asc: New file.
* tests/dist/file.sig: New file.
* tests/etc/notify.rc: New file.
* tests/etc/nullmail: New file.
* tests/etc/wydawca.rcin: New file.
* tests/notify-upl.at: New file.
* tests/upload-dry.at: New file.
* tests/upload.at: New file.
|
|
* src/builtin.c, src/builtin.h: New files.
* src/Makefile.am (wydawca_SOURCES): Add builtin.c and builtin.h
* src/config.c: New keyword access-method.query
* src/update-2.0.awk: Update.
* src/meta.c: Remove quote_string (replaced by method_quote_string).
(meta_escape): Add `handle' argument.
* src/method.c (struct method_descr): New methods: open, close, quote.
Updated methods: free, run, get. All callers updated.
(method_quote_string): New function.
* src/process.c (scan_directory_pair): Init all access methods at once.
* src/sql.c: Take name of the SQL connection from method->parmv[0].
Adapt to changes to the method subsystem.
* src/sql.h: Likewise.
* src/wydawca.h (struct access_method): New members id, parmc, parmv,
storage.
Remove union v.
(meta_escape): Take 3 arguments.
(method_new): Take 2 arguments.
(method_open, method_close, method_quote_string): New proto.
(method_run, method_result): Change signature.
* src/mail.c, src/triplet.c, src/verify.c
* etc/wydawca.rc: Update.
|
|
* src/meta.c: New file.
* src/Makefile.am (wydawca_SOURCES): Add meta.c.
* Makefile.am (SUBDIRS): Add tests.
* configure.ac: Initialize testsuite.
* src/cmdline.opt: Add preprocessor-related options: --[no-]preprocessor,
-E
* src/mail.c, src/triplet.c, src/verify.c, src/wydawca.c, src/wydawca.h: Use
new expansion functions.
* src/update-2.0.awk: Replace % markup with $.
* etc/wydawca.rc: Switch to new meta-variable syntax.
* gnulib.modules: Add c-ctype.
* doc/Makefile.am (check-options): Rewrite.
* doc/wydawca.texi: Mark unrevised/obsolete material.
* tests/: New directory
|