• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
reduce XOTcl 1.* idioms

    • -4
    • +4
    ./packages/xowiki/tcl/form-field-procs.tcl
modernize code: use resolver variables rather than method calls

    • -59
    • +56
    ./packages/xowiki/tcl/link-procs.tcl
extend test cases

add safety belt and hint for pretty_link invocations with unknown target pages

    • -1
    • +12
    ./packages/xowiki/tcl/package-procs.tcl
remove xotcl-1 idioms

    • -9
    • +10
    ./packages/xowiki/tcl/xowiki-procs.tcl
fix potential confusion for test cases: make sure, the provided name and nls_language are aligned

    • -2
    • +7
    ./packages/xowiki/tcl/test/test-procs.tcl
add checking for javascript and data protocols (fixes issue #3413)

    • -0
    • +1
    ./packages/acs-tcl/tcl/00-canisue-procs.tcl
    • -1
    • +7
    ./packages/acs-tcl/tcl/site-nodes-procs.tcl
    • -5
    • +7
    ./packages/acs-tcl/tcl/text-html-procs.tcl
fix broken test cases

    • -2
    • +2
    ./packages/acs-tcl/tcl/test/location-procs.tcl
make debugging line more meaningful

    • -3
    • +3
    ./packages/acs-tcl/tcl/security-procs.tcl
Adapt proc doc to implementation, as we are dealing with files in general, instead of only images.

Comment log statement: found_id might not be an object by the time this code is executed

    • -3
    • +3
    ./packages/xowiki/tcl/package-procs.tcl
whitespace changes

add test for ambiguous page link with language prefix

add page p0 to regression test, provide more logging

    • -3
    • +6
    ./packages/xowiki/tcl/package-procs.tcl
reduce verbosity

    • -2
    • +2
    ./packages/xowiki/tcl/package-procs.tcl
As stated in xowiki::Package.item_ref, a trailing slash indicates a folder in case of ambiguity

Use a safer varname for xowf tests as well

    • -5
    • +5
    ./packages/xowf/tcl/test/xowf-test-procs.tcl
As apparently test init cases can pollute each other's namespace, use a different variable name

Add page contract

Add ad_include_contract

Replace string equal idiom

fix argument order in link renderer

use consistently the instance variable of the package_id

    • -34
    • +30
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
Do not depend on XoTcl in the core

Make test independent from vars defined elsewhere

    • -3
    • +3
    ./packages/xowiki/tcl/test/api-test-procs.tcl
Whitespace changes

Use 'lc_content_size_pretty' for content size

Whitespace changes

Use 'lc_content_size_pretty' for content size

Trailing whitespace cleanup

    • -6
    • +6
    ./packages/acs-lang/www/admin/locale-edit.tcl