• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rework api to avoid extra checks

Reimplement conversion to and from Julian dates using modern Tcl api

Improve ns_set idiom

Add minimal test case for 'dt_midnight_p'

make "dt_get_info" public since it is used from other packages

Use naviserver api to parse URL variables

  1. … 3 more files in changeset.
Reinstate apis as public, as they hold the current definition of an all-day event

make listing of tested procs more complete

  1. … 18 more files in changeset.
Trim month numbers on 'dt_prev_month_name' and 'dt_next_month_name' to avoid octal misinterpretation. Fixes 'dt_localized_procs' testcase

Fix discrepancies between proc doc and implementation

Add 'dt_localized_procs' testcase, for 'acs-datetime' procs that return localized results: 'dt_month_names', 'dt_month_abbrev', 'dt_ansi_to_pretty', 'dt_prev_month_name' and 'dt_next_month_name'

Add testcase for 'dt_first_day_of_month'

Add testcase for 'dt_interval_check'

Trim month numbers on 'dt_prev_month' and 'dt_next_month' to avoid octal misinterpretation. Fixes 'dt_prev_next_month' testcase

Increase test coverage of 'acs-datetime' by adding tests for 'dt_sysdate', 'dt_systime', 'dt_prev_month' and 'dt_next_month'

Refactor tests in 'acs-datetime' package

Whitespace cleanup

Deprecate a bunch of date widget procs: they use hardcoded markup, lack localization, don't leverage existing tcl capabilities and most importantly are not in use anywhere in current codebase

Replace deprecated occurrences

Bring files on oacs-5-10 in sync with HEAD

  1. … 162 more files in changeset.
Add @see in deprecated proc

  1. … 1 more file in changeset.
Use 'expr' for variable incrementing when the value is a double, as incr does not do it natively (thanks to Antonio for the pointer).

Whitespace changes

  1. … 1 more file in changeset.
Prefer 'incr' to increment variables instead of 'expr'.

  1. … 3 more files in changeset.
make testes calls explicit

Whitespace changes + add editor hints

  1. … 26 more files in changeset.
Remove superflous parentheses

  1. … 29 more files in changeset.
Whitespace cleanup

Proc documentation: use @return when relevant

Whitespace changes