• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Solved bug in function switch

use tcl 8.4 comparison operators and braced exprs for byte code compilation

use tcl 8.4 style comparisons and braced exprs

Free generation of stub objects for accessing stored procedures from db_function args.

The new version uses PostgresSQLs system catalog + parses first paragraph of function declarations

eCVS: ----------------------------------------------------------------------

    • -120
    • +236
    /openacs-4/packages/xotcl-core/tcl/05-db-procs.tcl
new update script in case, someone managed to get the .info file without the update script

add update script

add missing alias for function category__name

fix more function_args, fix comment for default values in stored procedures

provide default for pretty_name in ::xo::db::Class

Made class_to_object_type more robust to allow ::xo::db::Class instances with arbitrary superclasses

move ::xowiki::Page requireCSS and friends into ::xo namespace

    • -1
    • +1
    /openacs-4/packages/xowiki/lib/view.tcl
    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
    • -26
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
    • -1
    • +1
    /openacs-4/packages/xowiki/www/portlet-ajax.tcl
replicate Emma's referer fix on HEAD

fix ordering in weblog query

    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
bump version number to assure versions are in sync

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
turn on page fragment caching for categories-recent

Page Fragment Cache for ::xowiki::portet classes

    • -5
    • +12
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -2
    • +18
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
beautification of SQL query

make usage of new parameter code explicit

make code more robust when run under scheduled procs

guard call to initialize_loaded_object in instantiate_objects for plain xotcl objects, not having this method

prevent double sourcing by the apm_loader

don't return all revisions when using automatic views

Fix problem with Daylight Saving Time when creating recurring

events. This works fine in Oracle because the timestamps don't have

timezones. In Postgresql when calculating the interval between events

for recurring events, we need to ignore the timezone to get the

correct result when the event crosses the Daylight Saving Time boundar.

add definition of new parameters in sample code

add datatype string

allow to specify constraint values (just a stub for now)

make usage of new parameter interface more explicit

don't use numeric comparison operators on string comparisons

user curly brackets around expr to allow for bytecode compilation

provide compatibility for packages providing pretty_name and package_key