• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Deprecate all remaining dt_widget_* api

The rationale is that modern HTML5 provides already consistent and localized UI elements for date and time input. It is also difficult to style a widget that comes pre-baked by the api. One should either use acs-templating or xowiki feature to generate UIs, or modern HTML5 is in most cases sufficient.

  1. … 8 more files in changeset.
Rework api to avoid extra checks

Reimplement conversion to and from Julian dates using modern Tcl api

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

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

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.
Whitespace changes

Proc documentation: provide a minimal documentation to public procs + use @return when relevant

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
trim-zeros reform (part 2):

- replace dt_trim_leading_zeros by util::trim_leading_zeros

- mark private function dt_trim_leading_zeros as depreacted

- bump version number to 5.9.1d1

  1. … 2 more files in changeset.
Fix date computation: year of date 07072017 was treated as an octal number.

Ensure, that dt_julian_to_ansi returns date formatted as YYYY-MM-DD as indicated in the documentation

- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- repace deprecated "dt_format" by "lc_time_fmt"

- get rid of old-style parameter passing

  1. … 3 more files in changeset.
- fix empty string in compiled expression

- brace expressions to allow for tcl compilation

- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 10 more files in changeset.
- modernize tcl

- brace expressions

- no need to use expr in condition of for loop

- no need to test for existence when variables have defaults

  1. … 2 more files in changeset.
change ad_verify_and_get_user_id to ad_conn user_id, change ad_maybe_redirect_for_registration to auth::require_login, make some db_ and dt_ function -public

  1. … 689 more files in changeset.
Applied patch #175: internationalizatioN

  1. … 10 more files in changeset.
Marked dt_format deprecated

changing to use lc_get instead of the old-style and direct nsv_get command for lookup of localization data