Skip to content
Snippets Groups Projects
  1. Nov 12, 2012
  2. Jul 29, 2012
  3. Jul 28, 2012
    • Andreas Gohr's avatar
      added utf8_basename() · f393a4eb
      Andreas Gohr authored
      This is a locale independent version of basename to work around
      https://bugs.php.net/bug.php?id=37738
      
      The function is not yet used anywhere. It should be at least used
      where ever non-ASCII filenames and paths are handled. Simply replacing
      all calls to basename() with this function might be the safest.
      f393a4eb
  4. Jun 23, 2012
  5. Mar 16, 2012
  6. Oct 15, 2011
  7. Jul 31, 2011
  8. Sep 18, 2010
  9. Jun 21, 2010
  10. Apr 04, 2010
    • Andreas Gohr's avatar
      new fnencode option FS#1649 · f03fd957
      Andreas Gohr authored
      This patch adds an option to choose how filenames are encoded
      when saved to the file system. You can choose between urlencoding
      (url), the new SafeFn method (safe) and storing real UTF-8 (utf-8).
      f03fd957
  11. Oct 20, 2009
  12. Oct 16, 2009
    • furun's avatar
      Whitespace cleanup FS#1709 · 47583ff0
      furun authored
      Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
      
      darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
      47583ff0
  13. Jul 26, 2009
    • Andreas Gohr's avatar
      rollback of the rollback... yes really · 7e6f32c4
      Andreas Gohr authored
      Ignore-this: 77a6ae8bee651ddb193e0ed84cbe3667
      
      Okay, so it turned out Chris' test had a bug and wasn't really testing and my
      test was skewed by disk caching (remember: always run your performance tests
      multiple times).
      
      rolling back:
      
      Sat Jul 25 12:44:59 CEST 2009  Andreas Gohr <andi@splitbrain.org>
        * rollback of the utf8_isASCII() patch
      
        Tests showed the old code was faster and I was too stupid to read the test results
        rolling back:
      
        Fri Jul 24 10:40:09 CEST 2009  Andreas Haerter <netzmeister@andreas-haerter.de>
          * Much faster version of utf8_isASCII()
          This version uses a non-capturing regular expression instead of looping through
          all characters of the string.
      
            M ./inc/utf8.php -5 +2
      
          M ./inc/utf8.php -2 +5
      
      darcs-hash:20090726191841-7ad00-13950d9c528abd51f5680c6841ec738a0ee72130.gz
      7e6f32c4
  14. Jul 25, 2009
    • Andreas Gohr's avatar
      rollback of the utf8_isASCII() patch · ebbde2b1
      Andreas Gohr authored
      Ignore-this: e5afeb833d0e0b0bf05ff5f497a3130d
      
      Tests showed the old code was faster and I was too stupid to read the test results
      rolling back:
      
      Fri Jul 24 10:40:09 CEST 2009  Andreas Haerter <netzmeister@andreas-haerter.de>
        * Much faster version of utf8_isASCII()
        This version uses a non-capturing regular expression instead of looping through
        all characters of the string.
      
          M ./inc/utf8.php -5 +2
      
      darcs-hash:20090725104459-7ad00-c4849ca67293083fee8021c2c198dab1dcb435a2.gz
      ebbde2b1
  15. Jul 24, 2009
    • Andreas Haerter's avatar
      Much faster version of utf8_isASCII() · f2da7e0b
      Andreas Haerter authored
      Ignore-this: 1adbc2b33e76b3a76e650c340e9644e6
      This version uses a non-capturing regular expression instead of looping through
      all characters of the string.
      
      darcs-hash:20090724084009-2cb76-ad1630c7aca53f0bdb596525b0693304a9b4cc88.gz
      f2da7e0b
  16. Jan 14, 2009
    • Andreas Gohr's avatar
      function_exists checks in utf8 lib for compatibility with 3rd party libs · df957b36
      Andreas Gohr authored
      The DokuWiki UTF-8 library and its derivates are very popular in Open Source
      PHP software. This makes trouble due to name clashes, when 3rd party
      software libraries need to be loaded within DokuWiki.
      
      A common example is using the authentication libraries of popular forum
      systems (PHP3, PunBB3).
      
      With the checks added, DokuWiki will rely on the 3rd party UTF-8 functions
      instead of its own ones. As long as they are really the same, this will
      work.
      
      Users of 3rd party libs need to check compatibility between implementations
      themselves.
      
      darcs-hash:20090114201824-7ad00-40fcc2e1abec42adabef5596a6617fbaa22291d5.gz
      df957b36
  17. Jan 12, 2009
  18. Oct 26, 2008
    • Andreas Gohr's avatar
      more placeholders for namespace templates · 26ece5a7
      Andreas Gohr authored
      This patch adds a @FILE@ placeholder for namespace templates which is similar
      to the @PAGE@ placeholder but keeps underscores intact. It also adds
      placeholder to insert the page name with a first uppercase character, all words
      uppercased or the whole string uppercased.
      
      The utf8 library was enhanced with utf8_ucfirst and utf8_ucwords functions
      
      darcs-hash:20081026084239-7ad00-1a4be6bb85280df025ca308d4ed2e50da1cbc9cf.gz
      26ece5a7
  19. Oct 12, 2008
  20. Oct 11, 2008
  21. Jun 08, 2008
  22. May 08, 2008
  23. May 06, 2008
    • Andreas Gohr's avatar
      Updates for Japanese romanization support FS#1363 · 9476a253
      Andreas Gohr authored
      This patch adds some fixes for the romanization lookup table and a test case for more
      than 20000 phrases and their correct romanization. About 2100 tests currently fail.
      
      darcs-hash:20080506203707-7ad00-9d95b8af459fa44c8d3e95560c7e1c116b8ffc48.gz
      9476a253
  24. Apr 07, 2008
  25. Nov 02, 2007
    • Andreas Gohr's avatar
      utf8_trim bugfix · 40421069
      Andreas Gohr authored
      Fixes the utf8_trim() function when a charlist is given
      
      darcs-hash:20071102181430-7ad00-4160d3d47b53e9c0db76328004c1f95c76d590e6.gz
      40421069
  26. Oct 15, 2007
  27. Jul 19, 2007
  28. Mar 22, 2007
  29. Feb 02, 2007
  30. Jan 03, 2007
    • henning.noren's avatar
      tf_rename_lower.patch · 44881bd0
      henning.noren authored
      Name the TRUE/FALSE-constants consistently as lowercase everywhere.
      This might also be an tiny optimization in some environments.
      
      darcs-hash:20070103205700-d2a3e-e7ec0aedb938d563f583116a2d5b17f3a3fea36c.gz
      44881bd0
  31. Nov 17, 2006
    • Tom N Harris's avatar
      Indexer asian language fixes and speed-ups · d5b23302
      Tom N Harris authored
      Make Chinese and Japanese work better with the new indexer.
      Some missing punctuation added to utf8_stripspecials.
      Misc. other changes to make indexing faster. The indexes will expire on
      backend upgrades, so you don't have to delete *.indexed
      
      darcs-hash:20061117123032-6942e-774b38e08234928c49b37e40addba375acf67ac0.gz
      d5b23302
  32. Oct 28, 2006
  33. Sep 28, 2006
  34. Sep 26, 2006
Loading