• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- revert this mornings change, since this leads to many warnings

- use for hex codes 2-digit notation \xHH to make it compatible for tcl8.6

- add resolver for explicitly spefified "-href ..." infos in image links

    • -3
    • +12
    /openacs-4/packages/xowiki/tcl/link-procs.tcl
- fix typo in HTML text

-remove quotes in text

- use event listener

- provide width&height of images to speed up rendering

Use id of the including page when includlet doesn't have its own

- improve comment

- use same uplevel idiom everywhere (many thanks to antonio)

- add conditional search field to adp-generator

- make sure to set ids (should go probably into constructor)

- change special markers in text_to_html from \x001 and \x002 to \u0002 (start of text) and \u0003 (end of text). The previous coding did not work always reliably, regsub was missing some entries, probably due to a mess-up of the internal representation.

- bug-fix (old bug): not sure, why "proc" was removed from the @see tag. the consequence was, that "@see ad_proc" as converted into "ad_", which is incorrect (see occurence e.g. in http://openacs.org/api-doc/proc-view?proc=callback&source_p=1)

- fixing a probably old bug: changed the markers in ad_text_to_html since the old markers with the funy camel case led to problems (at least with current regexp implementations)

in the text below, only 5 of the 8 urls were correctly transformed into anchor markup. The new markers uses uniqe single char starting and ending marker, marking also regexp much simpler.

- the function is further generalized (unifying http/https/ftp urls with mailto urls) and probably faster

A welcome contribution would be e.g. an extension of the api-browser for callbacks (listing contracts/implementations, etc.).

[1] http://openacs.org/api-doc/proc-view?proc=callback&source_p=1

[2] https://github.com/openacs/openacs-core/blob/oacs-5-9/packages/search/tcl/search-procs.tcl#L309

[3] https://github.com/openacs/forums/blob/master/tcl/forums-callback-procs.tcl#L104

[4] https://github.com/openacs/openacs-core/blob/oacs-5-9/packages/acs-tcl/tcl/apm-procs.tcl

[5] http://openacs.org/api-doc/proc-view?source_p=1&proc=apm_arg_names_for_callback_type

[6] https://github.com/openacs/xowiki/blob/oacs-5-9/tcl/xowiki-callback-procs.tcl

[7] https://github.com/openacs/openacs-core/blob/oacs-5-9/packages/acs-subsite/tcl/subsite-callback-procs.tcl#L69

[8] https://github.com/openacs/xotcl-core/blob/oacs-5-9/tcl/06-param-procs.tcl#L386

- fix variable name

- fix typo

- remove erroneous warnings

- reduce the number of regsub operations in ad_text_to_html

- improve/fix souce code comments

- add istener only, when search is configured

Removed use of deprecated ns_ssl API for Naviserver versions newer than 4.99.12

Removed use of util_memoize in favor of ns_memoize

- nsproxy handling: switch back to previous directory in after changing to a new one (which might be deleted before the next call)

    • -1
    • +13
    /openacs-4/packages/acs-tcl/tcl/proxy-procs.tcl
- show debug data as well for forms

- perform parameter validation in a "-validate" section rather than returning an error to achieve a more consistent behavior

- fix typo

    • -1
    • +6
    /openacs-4/packages/xowiki/www/admin/list.tcl
- provide image dimensions

- replace onclick event listener by evenet listeners

- don't offer search control in xowiki menu bar, when no search is configured on the system

- prefer usage of add_event_listener over add_body script

    • -0
    • +26
    /openacs-4/packages/xowiki/tcl/xowiki-init.tcl
- add comment how a drop with multiple files is handled

- only get data via [ns_conn content] when it is text/*

- fix test for strange validation error

- use ad_log instead of ns_log for warning in such cases