• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
bumped version numbers to 5.10.1b1

  1. … 85 more files in changeset.
regenerated documentation

  1. … 295 more files in changeset.
State new dependencies

  1. … 1 more file in changeset.
Allow dt_get_info to return its results as a dict or a simple value, without settings a ton of variable in the caller scope that are difficult to track

Deprecate leftover api

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.

    • -37
    • +0
    ./www/doc/examples/calendar-widgets.adp
    • -40
    • +0
    ./www/doc/examples/calendar-widgets.tcl
    • -53
    • +0
    ./www/doc/examples/datetime-widgets.adp
    • -52
    • +0
    ./www/doc/examples/datetime-widgets.tcl
Deprecate dt_widget_calendar_year

    • -2
    • +1
    ./www/doc/examples/calendar-widgets.tcl
Cleanup dt_widget_calendar_navigation documentation

    • -42
    • +0
    ./www/doc/examples/calendar-navigation.adp
    • -39
    • +0
    ./www/doc/examples/calendar-navigation.tcl
Deprecate dt_widget_calendar_navigation

Test dt_no_time_p

    • -12
    • +36
    ./tcl/test/acs-datetime-procs.tcl
dt_ansi_to_list already trims the zeros, no need to create an ns_set, not need to upvar everything twice just to have the variables in our scope

Test dt_get_info, fix documentation according to long standing behavior

Rework api to avoid extra checks

Reimplement conversion to and from Julian dates using modern Tcl api

Improve ns_set idiom

fix release dates in .info files

  1. … 82 more files in changeset.
release work

  1. … 204 more files in changeset.
regenerated documentation

  1. … 465 more files in changeset.
bump version numbers of 5.9|5.10 packages to 5.10.0b1

adjust dependencies

  1. … 87 more files in changeset.
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

    • -17
    • +20
    ./tcl/test/acs-datetime-procs.tcl
  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