• last updated 14 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Make callback implementation private

Properly escape "<" and ">" in api-doc documentation.

Since all documentation is rendered via HTML, the characters

"<" and ">" have to be HTML-quoted, otherwise strange things

(omission, unintended renderings) might occur.

E.g. the sentence

Define an interface between a page and an

ADP <include> similar to the page_contract.

was rendered as

Define an interface between a page and an

ADP similar to the page_contract.

which is incorrect.

  1. … 13 more files in changeset.
Prefer cached API

improve spelling

  1. … 41 more files in changeset.
Reduce duplication:

index and update_index were in fact implementing a upsert logic. Modern sql allows to write this in a single query and merge the two apis into one. Replace reference in the service contracts as well.

    • -18
    • +17
  1. … 2 more files in changeset.
reduce public footprint

Add 'index_unindex' test case, covering 'tsearch2::index', 'tsearch2::unindex' and 'tsearch2::update_index' procs

Test explicitely 'tsearch2::build_query_tcl', now that 'tsearch2::build_query' uses different methods yielding different results, and slight refactoring of the test, using 'aa_equals' instead of 'aa_true' for string comparison

    • -36
    • +31
Add simple test case for 'tsearch2::summary'

Add trivial test case for 'tsearch2::driver_info'

Whitespace changes

    • -70
    • +69
Add categories to build_query test case

do not rely on xo::dc in packages not depending on xotcl-core

Add PostgreSQL integrated websearch_to_tsquery builder, which can be activated via PackageParameter UseWebSearch

  1. … 1 more file in changeset.
file tsearch2-driver-init.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
remove spurious parens

    • -1
    • +1
improve SQL quoting

  1. … 4 more files in changeset.
Make sure object_id is still a valid acs_object by the time it gets to the indexer: it can happen that objects meant to be indexed are in fact short-lived (e.g. xowiki-based objects created, scheduled for indexing and deleted shortly after)

    • -4
    • +5
added editor hints and white-space cleanup

  1. … 50 more files in changeset.
support 'AND' and 'OR' at the end of the search string + extend automated tests

Support uninstall/reinstall use case by implementing a uninstall callback getting rid of service contract implementations

    • -1
    • +10
  1. … 1 more file in changeset.
prefer spelling "SQL" over "sql" in sentences

improve spelling

  1. … 3 more files in changeset.
Use "package defined" stored procedure instead of legacy nomenclature

    • -1
    • +1
Relax cleanup of parenthesis: remove them only when they don't match, like it used to be in older versions of the code

Fixes automated tests (that were refreshed to latest syntax and labelled with the proc they are testing)

    • -44
    • +53
remove obsolte comments

probably it was meant that packages can be passed in via "package_ids" parameter

whitespace cleanup

align callback implementation with definition

Removed obsolete @arch-tag

  1. … 24 more files in changeset.