adding support for Tcl proc package callbacks. Currently only supporting after-install and after-instantiate callbacks (next up is after-mount). There is no UI yet.
Fixing APM dependency bug. When installing new packages, the version comparison among the packages to install would use a simple Tcl comparison rather than the version_name_greater plsql proc (i.e. version 0.1a would be considered less than 0.1d). I changed to use the plsql proc instead
backing out a change I made by mistake from the translation server. The lang::audit::created_message is a proc that is used only on that server and I have no plans yet to add it to cvs
- Overhauled sp_maybe_create_new_mime_type to no longer have ANY side effects (fixes bug 145).- sp_sync_cr_with_filesystem_internal is now robust to errors caught in do_sp_new (calling static_page.new), it continues on with other files.- Removed a few unnecessary ns_logs.
- Added Michael Cleverly's example of use of arguments for boolean parameters (found in http://openacs.org/forums/message-view?message_id=50519) to ad_proc's documentation. Thanks for the pointer Jeff! Made boolean and named parameters explanation clearer.
adding the proc apm_supported_callback_types for the new package callbacks. Making apm_load_packages take arguments to make it optional to source libraries and queries (only load tests, needed for acs-tcl)
setting upgrade status for a message key to deleted if the en_US message is deleted. This is unfortunately another example in the I18N code where we are assuming the presence of the en_US locale and that translation is done from this locale.
- Add lots more documentation to ad_proc. Even old-time #openacs'ers (myself included) didn't know how the (formerly undocumented) :boolean attribute for name parameters worked (thanks Til!).- Added example to ad_proc's docstring.