Index: openacs-4/packages/acs-content-repository/tcl/content-folder-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-folder-procs.tcl,v diff -u -N -r1.20 -r1.20.2.1 --- openacs-4/packages/acs-content-repository/tcl/content-folder-procs.tcl 23 Apr 2018 16:58:39 -0000 1.20 +++ openacs-4/packages/acs-content-repository/tcl/content-folder-procs.tcl 3 Jul 2020 07:27:29 -0000 1.20.2.1 @@ -81,7 +81,7 @@ @creation-date 2004-05-28 @param folder_id item_id of the content_folder - @param cascade_p if true delete all children, if false, return error if folder is non-empty + @param cascade_p if true delete all children, if false, return error if folder is nonempty @return Index: openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl,v diff -u -N -r1.38.2.4 -r1.38.2.5 --- openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl 27 Aug 2019 09:37:04 -0000 1.38.2.4 +++ openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl 3 Jul 2020 07:27:29 -0000 1.38.2.5 @@ -62,7 +62,7 @@ @param description of content_revision to be created @param text - text of content revision to be created @param tmp_filename file containing content to be added to new revision. - Caller is responsible to handle cleaning up the tmp file + Caller is responsible to handle cleaning up the temporary file @param nls_language - ??? @param data - ??? @param attributes A list of lists of pairs of additional attributes and Index: openacs-4/packages/acs-content-repository/tcl/content-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-procs.tcl,v diff -u -N -r1.16.2.2 -r1.16.2.3 --- openacs-4/packages/acs-content-repository/tcl/content-procs.tcl 25 May 2020 14:30:45 -0000 1.16.2.2 +++ openacs-4/packages/acs-content-repository/tcl/content-procs.tcl 3 Jul 2020 07:27:29 -0000 1.16.2.3 @@ -1,7 +1,7 @@ ad_library { Functions that the content-repository uses to interact with the - file system. + filesystem. @author Dan Wickstrom (dcwickstrom@earthlink.net) @creation-date Sat May 5 13:45 2001 @@ -19,7 +19,7 @@ ad_proc -private cr_create_content_file_path {item_id revision_id} { - Creates a unique file in the content repository file system based off of + Creates a unique file in the content repository filesystem based on the item_id and revision_id of the content item. } { Index: openacs-4/packages/acs-content-repository/tcl/content-revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-revision-procs.tcl,v diff -u -N -r1.36.2.1 -r1.36.2.2 --- openacs-4/packages/acs-content-repository/tcl/content-revision-procs.tcl 10 Jul 2019 17:56:53 -0000 1.36.2.1 +++ openacs-4/packages/acs-content-repository/tcl/content-revision-procs.tcl 3 Jul 2020 07:27:29 -0000 1.36.2.2 @@ -64,7 +64,7 @@ @param is_live True is revision should be set live - @param tmp_filename file containing content to be added to revision. Caller is responsible to handle cleaning up the tmp file + @param tmp_filename file containing content to be added to revision. Caller is responsible to handle cleaning up the temporary file @param package_id @@ -187,7 +187,7 @@ @param content Content to add to resivsion @param storage_type text, file, or lob @param mime_type mime type of the content - @param tmp_filename For file storage type a filename can be specified. It will be added to the contnet repository. Caller is responsible to handle cleaning up the tmp file + @param tmp_filename For file storage type a filename can be specified. It will be added to the content repository. Caller is responsible to handle cleaning up the temporary file @return Index: openacs-4/packages/acs-content-repository/tcl/filter-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/filter-procs.tcl,v diff -u -N -r1.41.2.1 -r1.41.2.2 --- openacs-4/packages/acs-content-repository/tcl/filter-procs.tcl 5 Oct 2019 13:32:14 -0000 1.41.2.1 +++ openacs-4/packages/acs-content-repository/tcl/filter-procs.tcl 3 Jul 2020 07:27:29 -0000 1.41.2.2 @@ -15,7 +15,7 @@ ad_proc -public content::get_template_root {} { - Find the directory in the file system where templates are stored. + Find the directory in the filesystem where templates are stored. There are a variety of ways in which this can be set. The proc looks for that directory in the following places in this order: (1) the TemplateRoot parameter of the package for which the request is @@ -291,7 +291,7 @@ ad_proc -public content::deploy { url_stub } { - render the template and write it to the file system + render the template and write it to the filesystem with template::util::write_file } { set output_path $::acs::pageroot$url_stub Index: openacs-4/packages/acs-content-repository/tcl/image-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/image-procs.tcl,v diff -u -N -r1.18.2.1 -r1.18.2.2 --- openacs-4/packages/acs-content-repository/tcl/image-procs.tcl 17 Jun 2019 10:15:36 -0000 1.18.2.1 +++ openacs-4/packages/acs-content-repository/tcl/image-procs.tcl 3 Jul 2020 07:27:29 -0000 1.18.2.2 @@ -171,7 +171,7 @@ it in the future. One important difference is this proc won't fail in case of error. - @param filename Name of the image file in the file system. + @param filename Name of the image file in the filesystem. @param array Name of an array where you want the information returned. @see image::imagemagick_identify Index: openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl,v diff -u -N -r1.19.2.1 -r1.19.2.2 --- openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl 12 Apr 2019 21:19:13 -0000 1.19.2.1 +++ openacs-4/packages/acs-content-repository/tcl/publish-procs.tcl 3 Jul 2020 07:27:29 -0000 1.19.2.2 @@ -229,7 +229,7 @@ @param url_ref The name of the variable in the calling frame that will - receive the relative URL of the file in the file system + receive the relative URL of the file in the filesystem which contains the content blob @param error_ref Index: openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl,v diff -u -N -r1.37.2.2 -r1.37.2.3 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 3 Jan 2020 10:43:37 -0000 1.37.2.2 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 3 Jul 2020 07:27:29 -0000 1.37.2.3 @@ -202,7 +202,7 @@ @param object_name The name to give the result content item and revision This procedure handles all mime_type details, creating a new item of the appropriate - type and stuffing the content into either the file system or the database depending + type and stuffing the content into either the filesystem or the database depending on "storage_type". The new revision is set live, and its item_id is returned to the caller. @@ -226,7 +226,7 @@ # DRB: Eventually we should allow for text storage ... (CLOB for Oracle) if { $storage_type ne "file" && $storage_type ne "lob" } { - return -code error "Imported content must be stored in the file system or as a large object" + return -code error "Imported content must be stored in the filesystem or as a large object" } if {$mime_type eq "*/*"} { @@ -556,7 +556,7 @@ @author Jeff Davis (davis@xarg.net) } { # make both lower since that is the convention. - # should never pass in anything that is not lower cased + # should never pass in anything that is not lowercased # already but just be safe. set mime_type [string tolower $mime_type] Index: openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/Attic/01-database-procs.tcl,v diff -u -N -r1.1.2.13 -r1.1.2.14 --- openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl 25 May 2020 10:21:08 -0000 1.1.2.13 +++ openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl 3 Jul 2020 07:27:28 -0000 1.1.2.14 @@ -28,7 +28,7 @@ # AOLserver, but could only use ONE database here. # # I have eliminated this restriction. Now, in OpenACS 5.0 and later, -# to access a non-default database, simply pass the optional -dbn +# to access a nondefault database, simply pass the optional -dbn # (Database Name) switch to any of the DB API procs which support it. # # Supported AOLserver database drivers: @@ -393,14 +393,14 @@ # # The code above is just for documentation, how it worked # before the change below. We keep now a per-thread table of - # the "known" sequences to avoid at runtime the query, + # the "known" sequences to avoid at run time the query, # whether the specified sequence is a real sequence or a # view. This change makes this function more than a factor # of 2 faster than before. # # Note that solely the per-thread information won't work for # freshly created sequences. Therefore, we keep the old - # code for checking at runtime in the database for such + # code for checking at run time in the database for such # occurrences. # # Note that the sequence handling in OpenACS is quite a @@ -409,7 +409,7 @@ # for some sequences, additional views are defined with an # attribute 'nextval', and on top of this, db_nextval is # called sometimes with the view name and sometimes with - # the sequence name. Checking this at runtime is + # the sequence name. Checking this at run time is # unnecessary complex and costly. # # The best solution would certainly be to call "db_nextval" @@ -1914,7 +1914,7 @@

- You can not simultaneously append to and cache a non-empty multirow. + You can not simultaneously append to and cache a nonempty multirow.

@@ -2017,7 +2017,7 @@ && $append_p && [info exists counter] && $counter > 0 } { - return -code error "Can't append and cache a non-empty multirow datasource simultaneously" + return -code error "Can't append and cache a nonempty multirow datasource simultaneously" } if { [info exists cache_key] } { @@ -2348,7 +2348,7 @@ if {[info commands ns_cache_transaction_begin] eq ""} { # # When the server has no support for ns_cache_transaction_*, - # provide dummy procs to avoid runtime "if" statements. + # provide dummy procs to avoid run time "if" statements. # proc ns_cache_transaction_begin args {;} proc ns_cache_transaction_commit args {;} @@ -2887,7 +2887,7 @@ file } { Loads a CSV formatted file into a table using PostgreSQL's COPY command or - Oracle's SQL*Loader utility. The file name format consists of a sequence + Oracle's SQL*Loader utility. The filename format consists of a sequence number used to control the order in which tables are loaded, and the table name with "-" replacing "_". This is a bit of a kludge but greatly speeds the loading of large amounts of data, such as is done when various "ref-*" @@ -3059,7 +3059,7 @@ @author Don Baccus (dhogaza@pacifier.com) @author Lars Pind (lars@pinds.com) - @change-log yon@arsdigita.com 20000711 changed to return lower case table names + @change-log yon@arsdigita.com 20000711 changed to return lowercase table names } { set proc_name {db_tables} set driverkey [db_driverkey $dbn] @@ -3158,7 +3158,7 @@ @author Lars Pind (lars@pinds.com) - @change-log yon@arsdigita.com 20000711 changed to return lower case column names + @change-log yon@arsdigita.com 20000711 changed to return lowercase column names } { set columns [list] @@ -3211,7 +3211,7 @@ if column name doesn't exist (mdettinger@arsdigita.com) - @change-log 11 July, 2000: changed to return lower case data types + @change-log 11 July, 2000: changed to return lowercase data types (yon@arsdigita.com) @change-log 11 July, 2000: changed to return error using the db_string default clause Index: openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl,v diff -u -N -r1.45.2.1 -r1.45.2.2 --- openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 10 Aug 2019 14:33:26 -0000 1.45.2.1 +++ openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 3 Jul 2020 07:27:28 -0000 1.45.2.2 @@ -1,6 +1,6 @@ ad_library { - Functions that APM uses to interact with the file system and I/O. + Functions that APM uses to interact with the filesystem and I/O. @author Bryan Quinn (bquinn@arsdigita.com) @creation-date Fri Oct 6 21:46:05 2000 @@ -542,7 +542,7 @@ if {![file exists $file_path]} { apm_callback_and_log $callback " - The file cannot be found. Your URL or your file name is incorrect. Please verify that the file name + The file cannot be found. Your URL or your filename is incorrect. Please verify that the filename is correct and try again." ns_log Error "Error loading APM file form url $url: The file cannot be found." return Index: openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl,v diff -u -N -r1.126.2.6 -r1.126.2.7 --- openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 9 Feb 2020 15:09:54 -0000 1.126.2.6 +++ openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 3 Jul 2020 07:27:28 -0000 1.126.2.7 @@ -1982,10 +1982,10 @@ {-array:required} } { Gets a list of packages available for install from either a remote package repository - or the local file system. + or the local filesystem. @param repository_url The URL for the repository channel to get from, or the empty string to - search the local file system instead. + search the local filesystem instead. @param array Name of an array where you want the repository stored. It will be keyed by package-key, and each entry will be an array list returned by apm_read_package_info_file. @@ -2641,7 +2641,7 @@ # foreach attribute_name [lsort [array names attributes]] { # - # Only output tag if its value is non-empty + # Only output tag if its value is nonempty # if { $attributes($attribute_name) ne "" } { Index: openacs-4/packages/acs-tcl/tcl/apm-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-procs.tcl,v diff -u -N -r1.114.2.11 -r1.114.2.12 --- openacs-4/packages/acs-tcl/tcl/apm-procs.tcl 23 May 2020 10:56:36 -0000 1.114.2.11 +++ openacs-4/packages/acs-tcl/tcl/apm-procs.tcl 3 Jul 2020 07:27:28 -0000 1.114.2.12 @@ -879,7 +879,7 @@ ad_proc -private apm_package_reload_cmds {files} { - Map file names into reloading cmds. For every file, a loading + Map filenames into reloading cmds. For every file, a loading command is appended to the result. The command might be empty. @return list of Tcl cmds to be executed to load these files. @@ -1612,7 +1612,7 @@ } } - # We have a non-empty name of a callback proc to invoke + # We have a nonempty name of a callback proc to invoke # Form the full command including arguments set command [list {*}$proc_name {*}[apm_callback_format_args -type $type -arg_list $arg_list]] Index: openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl,v diff -u -N -r1.33.2.2 -r1.33.2.3 --- openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl 10 Mar 2019 21:56:36 -0000 1.33.2.2 +++ openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl 3 Jul 2020 07:27:29 -0000 1.33.2.3 @@ -180,7 +180,7 @@

  • files: a list of files in the package, containing elements of the form [list $path $type] NOTE: Files are no longer stored in info files but are always retrieved - directly from the file system. This element in the array will always be the empty list. + directly from the filesystem. This element in the array will always be the empty list.
  • callbacks: an array list of callbacks of the package on the form [list callback_type1 proc_name1 callback_type2 proc_name2 ...]
  • Element and attribute values directly from the XML specification: Index: openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl,v diff -u -N -r1.30.2.1 -r1.30.2.2 --- openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl 9 Jan 2020 15:43:07 -0000 1.30.2.1 +++ openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl 3 Jul 2020 07:27:29 -0000 1.30.2.2 @@ -308,7 +308,7 @@ } { Helper proc to get encoding based on content_type (From xotcl/tcl/http-client-procs) } { - # In the following, I realise a IANA/MIME charset resolution + # In the following, I realize a IANA/MIME charset resolution # scheme which is compliant with RFC 3023 which deals with # treating XML media types properly. # Index: openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl,v diff -u -N -r1.153.2.21 -r1.153.2.22 --- openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl 6 Jun 2020 09:42:23 -0000 1.153.2.21 +++ openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl 3 Jul 2020 07:27:29 -0000 1.153.2.22 @@ -90,7 +90,7 @@ @creation-date August 20, 2002 @return the form ns_set, just like ns_getform, except it will - always be non-empty. + always be nonempty. } { # The form may not exist, if there's nothing in it @@ -691,7 +691,7 @@ # DRB: a bug in ns_conn causes urlc to be set to one greater than the number of URL # directory elements and the trailing element of urlv to be set to - # {} if you hit the site with the host name alone. This confuses code that + # {} if you hit the site with the hostname alone. This confuses code that # expects urlc to be set to the length of urlv and urlv to have a non-null # trailing element except in the case where urlc is 0 and urlv the empty list. @@ -1868,7 +1868,7 @@ ad_proc -deprecated root_of_host {host} { - Maps a hostname to the corresponding sub-directory. + Maps a hostname to the corresponding subdirectory. DEPRECATED: this proc does not comply with OpenACS naming convention. @@ -1881,7 +1881,7 @@ ad_proc acs::root_of_host {host} { - Maps a hostname to the corresponding sub-directory. + Maps a hostname to the corresponding subdirectory. } { return [acs::per_thread_cache eval -key acs-tcl.root_of_host($host) { Index: openacs-4/packages/acs-tcl/tcl/security-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/security-procs.tcl,v diff -u -N -r1.126.2.32 -r1.126.2.33 --- openacs-4/packages/acs-tcl/tcl/security-procs.tcl 20 Jun 2020 09:48:21 -0000 1.126.2.32 +++ openacs-4/packages/acs-tcl/tcl/security-procs.tcl 3 Jul 2020 07:27:29 -0000 1.126.2.33 @@ -985,9 +985,9 @@ set url [subsite::get_element -subsite_id $package_id -element url] set url [security::get_qualified_url $url] # We have a fully qualified url, but we have to remap - # the URL to the configured host name, since + # the URL to the configured hostname, since # get_qualified prepends the [ad_conn location], which - # points to the virtual host name. + # points to the virtual hostname. set url [security::replace_host_in_url -hostname $config_hostname $url] } } else { @@ -2588,7 +2588,7 @@ # # We could/should check as well against a white-list of additional - # host names (maybe via ::acs::validated, or via config file, or + # hostnames (maybe via ::acs::validated, or via config file, or # via additional package parameter). Probably the best way is to # get alternate (alias) names from the driver section of the # current driver [ns_conn driver] (maybe check global and local). Index: openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl,v diff -u -N -r1.61.2.5 -r1.61.2.6 --- openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 18 May 2020 07:24:10 -0000 1.61.2.5 +++ openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 3 Jul 2020 07:27:29 -0000 1.61.2.6 @@ -743,7 +743,7 @@ # Parse -properties argument # #################### - # This must happen even if the query (a.k.a. parameters, formals) is empty + # This must happen even if the query (aka parameters, formals) is empty if { [info exists properties] } { upvar 1 __page_contract_property property Index: openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl,v diff -u -N -r1.109.2.14 -r1.109.2.15 --- openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl 14 Jan 2020 10:38:03 -0000 1.109.2.14 +++ openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl 3 Jul 2020 07:27:29 -0000 1.109.2.15 @@ -233,7 +233,7 @@ } { Convert in the HTML text relative URLs into fully qualified URLs - including the host name. It performs the following operations: + including the hostname. It performs the following operations: 1. prepend paths starting with a "/" by the location (protocol and host). 2. prepend paths not starting a "/" by the path, in case it was passed in. Index: openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl,v diff -u -N -r1.189.2.54 -r1.189.2.55 --- openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 10 Jun 2020 08:56:47 -0000 1.189.2.54 +++ openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 3 Jul 2020 07:27:29 -0000 1.189.2.55 @@ -799,7 +799,7 @@ This avoids cluttering up the URLs with lots of unnecessary variables. @option base The base URL to make a link to. This will be prepended to the query string - along with a question mark (?), if the query is non-empty. So the returned + along with a question mark (?), if the query is nonempty. So the returned string can be used directly in a link. This is only relevant to URL export. @option no_base_encode Decides whether argument passed as base option will be @@ -846,7 +846,6 @@ } } - ##### # # Parse the arguments @@ -1232,7 +1231,7 @@ ad_proc -deprecated with_catch {error_var body on_error} { execute code in body with the catch errorMessage in error_var - and if there is a non-zero return code from body + and if there is a nonzero return code from body execute the on_error block. DEPRECATED: does not comply with OpenACS naming convention and can @@ -1947,7 +1946,7 @@ @param message A message to display to the user. See util_user_message. @param html Set this flag if your message contains HTML. If specified, you're responsible for proper quoting of everything in your message. Otherwise, we quote it for you. - @param allow_complete_url By default we disallow redirecting to URLs outside the current host. This is based on the currently set host header or the host name in the config file if there is no host header. Set allow_complete_url if you are redirecting to a known safe external web site. This prevents redirecting to a site by URL query hacking. + @param allow_complete_url By default we disallow redirecting to URLs outside the current host. This is based on the currently set host header or the hostname in the config file if there is no host header. Set allow_complete_url if you are redirecting to a known safe external web site. This prevents redirecting to a site by URL query hacking. @see util_user_message @see ad_script_abort @@ -2119,7 +2118,7 @@ } ad_proc util::split_host {hostspec hostnameVar portVar} { - Split host potentially into a host name and a port + Split host potentially into a hostname and a port } { upvar $hostnameVar hostname $portVar port if {![regexp {^(.*):(\d+)$} $hostspec . hostname port]} { @@ -2213,7 +2212,7 @@ This function behaves like [ad_conn location], since it returns the location string of the current request in the form protocol://hostname?:port? but it honors the "Host:" header field - (when the client addressed the server with a host name different + (when the client addressed the server with a hostname different to the default one from the server configuration file) and therefore as well the host-node mapping. If the "Host" header field is missing or empty this function falls back to [ad_conn @@ -2804,7 +2803,7 @@ str } { Sanitize the provided filename for modern Windows, OS X, and Unix - file systems (NTFS, ext, etc.). FAT 8.3 filenames are not supported. + filesystems (NTFS, ext, etc.). FAT 8.3 filenames are not supported. The generated strings should be safe against https://github.com/minimaxir/big-list-of-naughty-strings @@ -3200,7 +3199,7 @@ node path_list } { - Return the first non-empty contents of a child node down a given path from the current node. + Return the first nonempty contents of a child node down a given path from the current node.

    @@ -3672,7 +3671,7 @@ ad_proc util::name_to_path { -name:required } { - Transforms a pretty name to a reasonable path name. + Transforms a pretty name to a reasonable pathname. } { regsub -all -nocase { } [string trim [string tolower $name]] {-} name regsub -all {[^[:alnum:]\-]} $name {} name @@ -4184,7 +4183,7 @@ lassign $::errorCode - pid code # A child process, whose process ID was $pid, - # exited with a non-zero exit status, $code. + # exited with a nonzero exit status, $code. ns_log notice "util::catch_exec: Childstatus $pid $code $result" } @@ -4222,7 +4221,7 @@ check if this URL is external to the current host or a valid alternative valid alternatives include HTTPS or HTTP protocol change - HTTP or HTTPS port number added or removed from current host name + HTTP or HTTPS port number added or removed from current hostname or another hostname that the host responds to (from host_node_map) } { set external_url_p [util_complete_url_p $url] Index: openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl,v diff -u -N -r1.23.2.7 -r1.23.2.8 --- openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl 26 Dec 2019 14:44:08 -0000 1.23.2.7 +++ openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl 3 Jul 2020 07:27:29 -0000 1.23.2.8 @@ -232,7 +232,7 @@ set year "" } else { lassign [split $value "-"] year month day - # trim the day, in case we get as well a time stamp + # trim the day, in case we get as well a timestamp regexp {^([0-9]+) } $day _ day } Index: openacs-4/packages/acs-tcl/tcl/xml-0-sgml-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/xml-0-sgml-procs.tcl,v diff -u -N -r1.10.2.1 -r1.10.2.2 --- openacs-4/packages/acs-tcl/tcl/xml-0-sgml-procs.tcl 10 Mar 2019 21:19:39 -0000 1.10.2.1 +++ openacs-4/packages/acs-tcl/tcl/xml-0-sgml-procs.tcl 3 Jul 2020 07:27:29 -0000 1.10.2.2 @@ -711,7 +711,7 @@ # req normalization required # # Results: -# Name returned as upper-case if normalization required +# Name returned as uppercase if normalization required proc sgml::Normalize {name req} { if {$req} { @@ -865,7 +865,7 @@ # parse:DTD:_element_ # For each of these procedures, the various regular expressions they use -# are created outside of the proc to avoid overhead at runtime +# are created outside of the proc to avoid overhead at run time # sgml::DTD:ELEMENT -- # Index: openacs-4/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl,v diff -u -N -r1.71.2.26 -r1.71.2.27 --- openacs-4/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl 3 Jun 2020 18:41:03 -0000 1.71.2.26 +++ openacs-4/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl 3 Jul 2020 07:27:29 -0000 1.71.2.27 @@ -851,15 +851,15 @@ } { aa_equals "Empty value" [util::trim_leading_zeros {}] {} aa_equals "Real value (0.31)" [util::trim_leading_zeros 0.31] {.31} - aa_equals "Real value with multiple leading zeroes (000.31)" [util::trim_leading_zeros 0000.31] {.31} + aa_equals "Real value with multiple leading zeros (000.31)" [util::trim_leading_zeros 0000.31] {.31} aa_equals "Real value already trimmed (.31)" [util::trim_leading_zeros .31] {.31} aa_equals "Natural value (031)" [util::trim_leading_zeros 031] {31} - aa_equals "Natural value with multiple leading zeroes (000031)" [util::trim_leading_zeros 000031] {31} + aa_equals "Natural value with multiple leading zeros (000031)" [util::trim_leading_zeros 000031] {31} aa_equals "Natural value already trimmed (31)" [util::trim_leading_zeros 31] {31} aa_equals "String (0asfda)" [util::trim_leading_zeros 0asfda] {asfda} - aa_equals "String with multiple leading zeroes (000asfda)" [util::trim_leading_zeros 000asfda] {asfda} + aa_equals "String with multiple leading zeros (000asfda)" [util::trim_leading_zeros 000asfda] {asfda} aa_equals "String already trimmed (asfda)" [util::trim_leading_zeros asfda] {asfda} - aa_equals "Only zeroes (000)" [util::trim_leading_zeros 000] {0} + aa_equals "Only zeros (000)" [util::trim_leading_zeros 000] {0} aa_equals "Only one zero (0)" [util::trim_leading_zeros 0] {0} } Index: openacs-4/packages/acs-tcl/tcl/test/db-proc-test-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/test/Attic/db-proc-test-procs.tcl,v diff -u -N -r1.1.2.3 -r1.1.2.4 --- openacs-4/packages/acs-tcl/tcl/test/db-proc-test-procs.tcl 25 May 2020 10:21:08 -0000 1.1.2.3 +++ openacs-4/packages/acs-tcl/tcl/test/db-proc-test-procs.tcl 3 Jul 2020 07:27:29 -0000 1.1.2.4 @@ -113,7 +113,7 @@ SELECT person_id, first_names, last_name FROM persons where person_id = :user_id } - aa_equals "columns non-empty" [template::multirow columns person_mr2] \ + aa_equals "columns nonempty" [template::multirow columns person_mr2] \ "person_id first_names last_name" aa_log "Test End" Index: openacs-4/packages/acs-tcl/tcl/test/memoizing-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/test/memoizing-procs.tcl,v diff -u -N -r1.4 -r1.4.2.1 --- openacs-4/packages/acs-tcl/tcl/test/memoizing-procs.tcl 25 Jul 2018 13:42:48 -0000 1.4 +++ openacs-4/packages/acs-tcl/tcl/test/memoizing-procs.tcl 3 Jul 2020 07:27:29 -0000 1.4.2.1 @@ -20,10 +20,10 @@ ad_proc -private memoizing_procs_test::return_upper_case_text { {-txt:required} } { - Test proc that returns a string in upper case + Test proc that returns a string in uppercase } { set response $txt - append response " in upper case is " + append response " in uppercase is " append response [string toupper $txt] return $response } Index: openacs-4/packages/acs-templating/tcl/acs-integration-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/acs-integration-procs.tcl,v diff -u -N -r1.27.2.3 -r1.27.2.4 --- openacs-4/packages/acs-templating/tcl/acs-integration-procs.tcl 30 Jul 2019 16:01:21 -0000 1.27.2.3 +++ openacs-4/packages/acs-templating/tcl/acs-integration-procs.tcl 3 Jul 2020 07:27:29 -0000 1.27.2.4 @@ -59,7 +59,7 @@ @param params The parameters to pass to the template. Note that pass-by-reference params must be in the page namespace, they cannot be in a local procedure, or any other namespace. - @param template The template file name. + @param template The template filename. Example: @@ -88,7 +88,7 @@ @param status The HTTP status to return, by default HTTP 500 (Error) @param params The parameters to pass to the template. - @param template The template file name. + @param template The template filename. Example: Index: openacs-4/packages/acs-templating/tcl/currency-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/currency-procs.tcl,v diff -u -N -r1.19 -r1.19.2.1 --- openacs-4/packages/acs-templating/tcl/currency-procs.tcl 16 May 2018 22:04:59 -0000 1.19 +++ openacs-4/packages/acs-templating/tcl/currency-procs.tcl 3 Jul 2020 07:27:29 -0000 1.19.2.1 @@ -192,7 +192,7 @@ } { - # Erase leading zeroes from the value, but make sure that 00 + # Erase leading zeros from the value, but make sure that 00 # is not completely erased set value [util::trim_leading_zeros $value] Index: openacs-4/packages/acs-templating/tcl/data-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/data-procs.tcl,v diff -u -N -r1.23.2.5 -r1.23.2.6 --- openacs-4/packages/acs-templating/tcl/data-procs.tcl 14 Oct 2019 16:07:53 -0000 1.23.2.5 +++ openacs-4/packages/acs-templating/tcl/data-procs.tcl 3 Jul 2020 07:27:29 -0000 1.23.2.6 @@ -291,7 +291,7 @@ message_ref } { - Beautiful URL elements that may only contain lower case + Beautiful URL elements that may only contain lowercase characters, numbers and hyphens.

    Index: openacs-4/packages/acs-templating/tcl/date-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/date-procs.tcl,v diff -u -N -r1.63.2.5 -r1.63.2.6 --- openacs-4/packages/acs-templating/tcl/date-procs.tcl 14 Jul 2019 22:59:26 -0000 1.63.2.5 +++ openacs-4/packages/acs-templating/tcl/date-procs.tcl 3 Jul 2020 07:27:29 -0000 1.63.2.6 @@ -443,7 +443,7 @@ return $date } - # Erase leading zeroes from the value, but make sure that 00 + # Erase leading zeros from the value, but make sure that 00 # is not completely erased - but only for single-element properties switch -- $value { @@ -512,7 +512,7 @@ } ansi { # Some initialization... - # Rip $date into $ansi_* as numbers, no leading zeroes + # Rip $date into $ansi_* as numbers, no leading zeros set matchdate {([0-9]{4})\-0?(1?[0-9])\-0?([1-3]?[0-9])} set matchtime {0?([1-2]?[0-9]):0?([1-5]?[0-9]):0?([1-6]?[0-9])} set matchfull "$matchdate $matchtime" @@ -687,7 +687,7 @@ foreach field [array names time_in] { # skip format if {$field ne "format" } { - # Coerce values to non-negative integers + # Coerce values to nonnegative integers if { $field ne "ampm" } { if { ![regexp {[0-9]+} $time_in($field) value] } { set value {} @@ -707,7 +707,7 @@ foreach field [array names date_in] { # skip format if {$field ne "format" } { - # Coerce values to non-negative integers + # Coerce values to nonnegative integers if { ![regexp {[0-9]+} $date_in($field) value] } { set value {} } @@ -820,7 +820,7 @@ ad_proc -public -deprecated template::util::leadingPad { string size } { - Pad a string with leading zeroes + Pad a string with leading zeros Deprecated: please use the new and more general 'ad_pad'. @@ -838,7 +838,7 @@ } ad_proc -public -deprecated template::util::leadingTrim { value } { - Trim the leading zeroes from the value, but preserve the value + Trim the leading zeros from the value, but preserve the value as "0" if it is "00" @see util::trim_leading_zeros @@ -1136,7 +1136,7 @@ set key "$element_id.$field" if { [ns_queryexists $key] } { set value [ns_queryget $key] - # Coerce values to non-negative integers + # Coerce values to nonnegative integers if { $field ne "ampm" } { if { ![regexp {[0-9]+} $value value] } { set value {} Index: openacs-4/packages/acs-templating/tcl/list-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/list-procs.tcl,v diff -u -N -r1.94.2.8 -r1.94.2.9 --- openacs-4/packages/acs-templating/tcl/list-procs.tcl 17 Dec 2019 17:01:20 -0000 1.94.2.8 +++ openacs-4/packages/acs-templating/tcl/list-procs.tcl 3 Jul 2020 07:27:29 -0000 1.94.2.9 @@ -703,7 +703,7 @@ -name:required -comma:boolean } { - @param comma Set this flag if you want the result to start with an ',' if the list of from clauses returned is non-empty. + @param comma Set this flag if you want the result to start with an ',' if the list of from clauses returned is nonempty. } { # Get an upvar'd reference to list_properties get_reference -name $name @@ -725,7 +725,7 @@ -name:required -comma:boolean } { - @param comma Set this flag if you want the result to start with a ',' if the list of select clauses returned is non-empty. + @param comma Set this flag if you want the result to start with a ',' if the list of select clauses returned is nonempty. } { # Get an upvar'd reference to list_properties get_reference -name $name @@ -747,7 +747,7 @@ -name:required -comma:boolean } { - @param comma Set this flag if you want the result to start with an ',' if the list of from clauses returned is non-empty. + @param comma Set this flag if you want the result to start with an ',' if the list of from clauses returned is nonempty. } { # Get an upvar'd reference to list_properties get_reference -name $name @@ -781,7 +781,7 @@ -name:required -comma:boolean } { - @param comma Set this flag if you want the result to start with a ',' if the list of select clauses returned is non-empty. + @param comma Set this flag if you want the result to start with a ',' if the list of select clauses returned is nonempty. } { # Get an upvar'd reference to list_properties get_reference -name $name @@ -803,7 +803,7 @@ -name:required -and:boolean } { - @param and Set this flag if you want the result to start with an 'and' if the list of where clauses returned is non-empty. + @param and Set this flag if you want the result to start with an 'and' if the list of where clauses returned is nonempty. } { # Get an upvar'd reference to list_properties get_reference -name $name @@ -824,7 +824,7 @@ -name:required -and:boolean } { - @param and Set this flag if you want the result to start with an 'and' if the list of where clauses returned is non-empty. + @param and Set this flag if you want the result to start with an 'and' if the list of where clauses returned is nonempty. } { # Get an upvar'd reference to list_properties get_reference -name $name @@ -847,7 +847,7 @@ -and:boolean {-key ""} } { - @param and Set this flag if you want the result to start with an 'and' if the list of where clauses returned is non-empty. + @param and Set this flag if you want the result to start with an 'and' if the list of where clauses returned is nonempty. @param key Specify the name of the primary key to be used in the query's where clause, if different from the list builder's key. @@ -1987,7 +1987,7 @@

  • link_url_col: Name of column in the multirow which contains the URL to which the cell contents should point. If either link_url_col or link_url_eval is specified, the cell's contents will be made a link to the specified URL, if that - URL is non-empty. + URL is nonempty.
  • link_url_eval: A chunk of Tcl code which will be evaluated in the context of a template::multirow foreach looping over the Index: openacs-4/packages/acs-templating/tcl/parse-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/parse-procs.tcl,v diff -u -N -r1.65.2.5 -r1.65.2.6 --- openacs-4/packages/acs-templating/tcl/parse-procs.tcl 18 Feb 2020 11:53:15 -0000 1.65.2.5 +++ openacs-4/packages/acs-templating/tcl/parse-procs.tcl 3 Jul 2020 07:27:29 -0000 1.65.2.6 @@ -485,7 +485,7 @@ Converts an ADP template into a chunk of Tcl code. Caching this code avoids the need to reparse the ADP template with each request. - @param file The file name of the source + @param file The filename of the source @param string string to be compiled @return The compiled code. Index: openacs-4/packages/acs-templating/tcl/util-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/util-procs.tcl,v diff -u -N -r1.43.2.5 -r1.43.2.6 --- openacs-4/packages/acs-templating/tcl/util-procs.tcl 16 Dec 2019 17:21:52 -0000 1.43.2.5 +++ openacs-4/packages/acs-templating/tcl/util-procs.tcl 3 Jul 2020 07:27:29 -0000 1.43.2.6 @@ -87,7 +87,7 @@ @param ref The name of a variable to test in the calling frame. @return 1 if the variable either not exist or is an empty string. 0 if - the variable is either an array reference or a non-empty scalar. + the variable is either an array reference or a nonempty scalar. } { upvar $ref var @@ -430,7 +430,7 @@ } # * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -# * Utility procedures for interacting with the file system * +# * Utility procedures for interacting with the filesystem * # * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ad_proc -public template::util::read_file { path } { @@ -533,7 +533,7 @@ } ad_proc -public template::util::resolve_directory_url { url } { - Resolve the file name for a directory URL + Resolve the filename for a directory URL } { set path $::acs::pageroot$url Index: openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl,v diff -u -N -r1.10 -r1.10.2.1 --- openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl 12 Jun 2018 09:21:11 -0000 1.10 +++ openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.tcl 3 Jul 2020 07:27:29 -0000 1.10.2.1 @@ -78,7 +78,7 @@ } } \ -on_submit { - # check file name + # check filename if {$upload_file eq ""} { template::form::set_error upload_form upload_file \ [_ acs-templating.HTMLArea_SpecifyUploadFilename] Index: openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl,v diff -u -N -r1.26 -r1.26.2.1 --- openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 19 Sep 2018 00:38:52 -0000 1.26 +++ openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 3 Jul 2020 07:27:29 -0000 1.26.2.1 @@ -107,7 +107,7 @@ template::form::set_error upload_form f_title "Specify a [_ acs-templating.Link_Title]" } set error_p 0 - # check file name + # check filename if { $f_url eq "" && $url_ok_btn ne ""} { template::form::set_error upload_form f_url "Specify a [_ acs-templating.Link_Url]" set error_p 1 Index: openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.tcl,v diff -u -N -r1.19 -r1.19.2.1 --- openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.tcl 19 Sep 2018 00:38:52 -0000 1.19 +++ openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.tcl 3 Jul 2020 07:27:29 -0000 1.19.2.1 @@ -87,7 +87,7 @@ set package_id $package_id } \ -on_submit { - # check file name + # check filename if {$choose_file eq "" && $upload_file eq ""} { template::form::set_error upload_form upload_file \ Index: openacs-4/packages/acs-templating/www/scripts/xinha/file-selector.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/scripts/xinha/file-selector.tcl,v diff -u -N -r1.9 -r1.9.2.1 --- openacs-4/packages/acs-templating/www/scripts/xinha/file-selector.tcl 12 Jun 2018 09:13:16 -0000 1.9 +++ openacs-4/packages/acs-templating/www/scripts/xinha/file-selector.tcl 3 Jul 2020 07:27:29 -0000 1.9.2.1 @@ -78,7 +78,7 @@ } } \ -on_submit { - # check file name + # check filename if {$upload_file eq ""} { template::form::set_error upload_form upload_file \ [_ acs-templating.HTMLArea_SpecifyUploadFilename]