This project is mirrored from https://github.com/sympa-community/sympa.git. Pull mirroring updated .
  1. 23 May, 2014 4 commits
  2. 22 May, 2014 3 commits
  3. 21 May, 2014 3 commits
  4. 20 May, 2014 2 commits
  5. 19 May, 2014 3 commits
  6. 16 May, 2014 2 commits
  7. 14 May, 2014 1 commit
  8. 13 May, 2014 1 commit
    • sikeda's avatar
      [dev] Rewriting Sympa::Language. · 9e24975b
      sikeda authored
      - Now Sympa::Language is singleton class.  Get instance using Sympa::Language->instance().
      - Changed names of functions.
        CanonicLang     => canonic_lang
        ImplicatedLangs => implicated_langs
        Lang2Locale     => lang2locale
        Lang2Locale_old => lang2oldlocale (ex. Lang2Locale() in Language package)
        NegotiateLang   => negotiate_lang
      - Changed names of methods (formerly functions).
        PushLang        => push_lang
        PopLang         => pop_lang (allows multiple arguments)
        SetLang         => set_lang (ditto)
        GetLangName     => native_name (optional argment was deprecated)
        GetLang         => get_lang
        sympa_dgettext  => dgettext
      - Added a new method gettext_sprintf().  It will be extracted by po/xgettext.pl.
      - Now POSIX locale will be set at inside of gettext_sprintf() and gettext_strftime().  Native strftime(), sprintf() etc. won't be affected by set_lang().
      - maketext() was deprecated.
      - GetCharset() was deprecated.  Use tools::lang2charset().
      
      
      git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10608 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
      9e24975b
  9. 08 May, 2014 2 commits
  10. 07 May, 2014 3 commits
  11. 21 Apr, 2014 1 commit
  12. 09 Apr, 2014 1 commit
  13. 08 Apr, 2014 1 commit
  14. 07 Apr, 2014 1 commit
    • sikeda's avatar
      [change] Sympa::Language, rewriting of Language module to handle i18n. · d364ff49
      sikeda authored
      The new module is committed for purpose of unit test.
      
      Coming features:
      - Language/locale contexts are identified by IETF language tags defined by RFC 5646 (BCP 47).  Older style "locale" by earlier releases would be canonicalized.
      - System locale is not absolutely nessessary to add a new language: gettext catalog is required.
      - If appropriate POSIX locale is not installed, gettext_strftime() emulates POSIX::strftime(): names of days, months etc. will be taken from catalog.
      - Content negotiation used by HTTP 1.1 was implemented.
      
      Internal changes:
      - "Language:" field in PO header became mandatory to determine actually selected catalog.  Modified po/Makefile.in.in to run msgcat, msgen or msgmerge with --lang option.
      - Dependent libintl-perl (Locale::Messages) requires 1.22 (virtually 1.23) or later to use locale-independent gettext_dumb feature.
      - Default language context is fixed to "en" and no longer retrieved implicitly from site config (charset.conf).  $Language::default_lang was deprecated.
      
      Miscelaneous:
      - Added unittest t/Language.t and several test data.
      - Added test stub module for Sympa::Constants.
      
      
      git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10529 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
      d364ff49
  15. 16 Mar, 2014 1 commit
  16. 11 Mar, 2014 1 commit
  17. 28 Feb, 2014 1 commit
  18. 23 Feb, 2014 2 commits
  19. 19 Feb, 2014 1 commit
  20. 12 Feb, 2014 1 commit
  21. 11 Feb, 2014 1 commit
    • sikeda's avatar
      [dev] Enhancements on SDM. · 61e3c2a5
      sikeda authored
      - SDM::probe_db(): check only tables defined in database description.  Tables defined by user will be intact.
      - Cosmetic concern: Now SDM::do_query() and SDM::do_prepared_query() normalize whitespaces in the query strings.  Multiline query can be used more safely.
      - New SDM::AS_BLOB() to bind BLOB parameters by SDM::do_prepared_query().  Tested by PostgreSQL 9.1 and SQLite 3, not yet by Oracle.
      
      
      git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10228 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
      61e3c2a5
  22. 12 Jan, 2014 1 commit
  23. 10 Jan, 2014 2 commits
  24. 08 Jan, 2014 1 commit