• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prefer unset to array unset when we do not need a pattern match

See https://wiki.tcl-lang.org/page/Dict+VS+Array+Speed

merge with missing files

    • -0
    • +1048
    ./test/notifications-test-procs.tcl
  1. … 1450 more files in changeset.
merge from oacs-5-10

    • -12
    • +26
    ./notification-callback-procs.tcl
    • -13
    • +16
    ./notification-display-procs.tcl
    • -1
    • +1
    ./notification-request-procs-postgresql.xql
    • -15
    • +19
    ./notifications-security-procs.tcl
  1. … 8085 more files in changeset.
file notifications-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./test/notifications-test-procs.tcl
improve comment

whitespace changes

Undeprecate and reimplement: require_admin_request, can_admin_request_p, require_notify_object and can_notify_object_p. Fixes in two templates (request-delete, request-change-frequency). (Many thanks to Felix Mödritscher for the patch!)

    • -16
    • +26
    ./notifications-security-procs.tcl
  1. … 1 more file in changeset.
Fix parameter name in proc doc

Deprecate 'notification::email::get_parameter', just a wrapper for 'parameter::get', used almost nowhere.

Fix variable name

Deprecate wrappers for 'permission::permission_p' and permission::require_permission.

Implement the Notifications Security Library procs... 16 years after their creation.

    • -18
    • +31
    ./notifications-security-procs.tcl
Reuse person API instead of querying by hand

Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 473 more files in changeset.
Replace 'linsert' with 'lappend'

Fix linsert command argument expansion + Whitespace

improve list operations

  1. … 5 more files in changeset.
Rework variable assignment (set -> lassign) + Whitespace changes

    • -50
    • +49
    ./notification-callback-procs.tcl
  1. … 17 more files in changeset.
unify spelling of URL

  1. … 3 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 69 more files in changeset.
Rework variable assignment (set -> lassign) + Whitespace changes

Rework variable assignment (set -> lassign)

  1. … 11 more files in changeset.
Comment state of notification::type::get_type_id due to per-thread caching

Fix caching bug detected by Hani Gadllah

revert escaped change

*** empty log message ***

Fix typos

  1. … 2 more files in changeset.
*not_cached functions should be private

fix dirty-editor buffer error

VS: ----------------------------------------------------------------------

reduce pressure on util_memoize cache by using per-thread caching on notification::type::get_type_id