address-widget-procs.tcl

  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
Dealing with country code and delivery address which are required for postal addresses. Not sure, we might want to drop the constraint for delivery address at one time

  1. … 1 more file in changeset.
Allow saving of attributes even without a delivery address (e.g. if you want to save only the country). Added a couple of procs to make saving easier

  1. … 2 more files in changeset.
address-widget no defaults to blank country if no defaultisocountrycode is set in parameters. also changed validation to require a country if a delivery address is input.

Adding canadian province validation and automatic conversion to the two digit province code from the official list of provinces (which is the format expected by Canada Post).

cleaning up some presentation logic and creating new helper procs

Adding parameter HideISOCountryCode and bumping up version so its loaded.

  1. … 1 more file in changeset.
Adding support for the DefaultStreetLines parameter and validation of addresses

  1. … 3 more files in changeset.
Added a maxsize for some address fields. Created a parameter to contain the maxlength of the delivery address

  1. … 3 more files in changeset.
commit changes from merge with HEAD

  1. … 76 more files in changeset.
Fixed alignment of address widget. Added link to parameter administration

  1. … 2 more files in changeset.
adding a parameter to specify the default layout for input and display the address

  1. … 1 more file in changeset.
New address formats

Fixed country list sorting - it now alphabetizes correctly even though it uses i18n message keys

i18N bug fixes and message additions

  1. … 3 more files in changeset.
Made countries I18N dependend on ref-countries

  1. … 2 more files in changeset.
Fixed bug with forcing Canadian (CA) postal codes to be correctly formed

Added dependency on ref-us-zipcodes, corrected bugs with parameters, wrote code to make sure data is well formed when parameters is set for telecom number and provide auto insert of state and city when country is 'US' and only postal_code is provided

  1. … 2 more files in changeset.
Uploading AMS 1.0d code

  1. … 53 more files in changeset.
adding some missing initial files and procs

  1. … 5 more files in changeset.
Initial import of ams

  1. … 12 more files in changeset.
Initial revision

    • -0
    • +338
    ./address-widget-procs.tcl
  1. … 12 more files in changeset.