Skip to content
Tcl Source Code History Of Ticket 811461ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 811461ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 811461ffffffffffffffffffffffffffffffffff

  1. Ticket change [29c8c0f511] (rid 118448) by dgp on 2003-09-23 23:51:43:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      % package require msgcat 
      1.3
      % msgcat::mclocale ___foo__bar_soom
      ___foo__bar_soom
      % msgcat::mcpreferences
      foo__bar_soom foo__bar foo_ foo {} {} {}
      
      
      In light of TIP 156 proposing to
      give special meaning the the
      catalog name {}, perhaps
      [mclocale] should be stricter
      about accepting only the documented
      locale format?
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "30. msgcat Package"
    10. title initialized to: "mclocale needs stricter arg checking?"
    11. type initialized to: "Bug"
  2. Ticket change [8abf1bd6b4] (rid 127445) by dgp on 2003-10-03 05:02:24:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      again, looking for idea review here.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "dgp"
  3. Ticket change [50659ece53] (rid 125956) by dgp on 2003-11-13 08:49:01:

    1. foundin changed to: "obsolete: 8.5a0"
  4. Ticket change [01d452bd4c] (rid 119551) by dgp on 2003-11-20 03:40:02:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      kennykb appears busy.
      any comments, dkf?
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  5. Ticket change [93e866a07d] (rid 105885) by dkf on 2003-11-20 04:12:39:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      There are two possibilities:
      1) Complain if the format doesn't match what we expect
      2) Silently try to extract what we can.
      
      1) is better if we're explicitly setting the locale, and 2)
      is better if it is happening "magically" during package load
      time.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  6. Ticket change [db1b4bbe9f] (rid 107905) by dgp on 2003-11-20 04:15:18:

    1. assignee changed to: "dgp"
  7. Ticket change [aef6425361] (rid 97727) by dgp on 2003-11-25 01:07:00:

    1. priority changed to: "5 Medium"
  8. Ticket change [f19e52a403] (rid 109389) by dgp on 2004-03-31 09:44:53:

    1. assignee changed to: "kennykb"
    2. icomment:
      
      
      File Added - 82016: 811461.patch
      
      Logged In: YES 
      user_id=80530
      
      
      Here's a patch that effectively leads
      [mclocale] to collapse multi-_ sequences
      to avoid the trouble cited in this report.
      [mclocale] continues to accept anything,
      but "interprets" multiple "_" in a row
      and leading "_" as errors and "routes
      around them".
      
      With this patch in place, the example
      output becomes:
         foo_bar_soom foo_bar soom {}
      
      opinion?
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  9. Add attachment "811461.patch" [590833ba04] (rid 117906) by dgp on 2004-03-31 09:44:53.

  10. Ticket change [9472c8a1d5] (rid 105983) by dkf on 2004-03-31 16:10:28:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      As I said earlier, there are two ways forward and each is
      correct in some situations.  We don't want to be hostage to
      a user's broken environment, but nor do we want to encourage
      the acceptance of any old random junk in situations where
      the user of the msgcat package does have some control.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  11. Ticket change [f730409991] (rid 91338) by kennykb on 2004-04-01 00:51:22:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=99768
      
      I don't see an obvious reason to object to the patch.
      The results should be at least unsurprising.
      Since frequently the locale handed to [mclocale] comes
      from environment variables outside our control,
      silently extracting what information we can
      seems like the right thing - it beats having a mysterious
      failure as an app is initialising.
      
      
    3. login: "kennykb"
    4. mimetype: "text/plain"
    5. username: "kennykb"
  12. Ticket change [c7dfcbcb51] (rid 122016) by dgp on 2004-04-01 02:03:46:

    1. closedate changed to: "2004-03-31T19:03:46"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      modified patch applied to
      core-8-4-branch (msgcat 1.3.2)
      and HEAD (msgcat 1.4.1)
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"