We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

  1. 18 Aug, 2013 3 commits
    • mattl's avatar
      The overloaded DB_DataObject function staticGet is now called getKV · 2a4dc77a
      mattl authored
      I used this hacky sed-command (run it from your GNU Social root, or change the first grep's path to where it actually lies) to do a rough fix on all ::staticGet calls and rename them to ::getKV
         sed -i -s -e '/DataObject::staticGet/I!s/::staticGet/::getKV/Ig' $(grep -R ::staticGet `pwd`/* | grep -v -e '^extlib' | grep -v DataObject:: |grep -v "function staticGet"|cut -d: -f1 |sort |uniq)
      If you're applying this, remember to change the Managed_DataObject and Memcached_DataObject function definitions of staticGet to getKV!
      This might of course take some getting used to, or modification fo StatusNet plugins, but the result is that all the static calls (to staticGet) are now properly made without breaking PHP Strict Standards. Standards are there to be followed (and they caused some very bad confusion when used with get_called_class)
      Reasonably any plugin or code that tests for the definition of 'GNUSOCIAL' or similar will take this change into consideration.
    • mattl's avatar
      Updating all Memcached_DataObject extended classes to Managed_DataObject · e95f77d3
      mattl authored
      In some brief tests, this causes no problems.
      In this state however, you would need to modify DB_DataObject to have a static declaration of staticget (and probably pkeyGet). The next commit will change the staticGet overload to a unique function name (like getKV for getKeyValue), which means we can properly call the function by PHP Strict Standards.
    • mattl's avatar
  2. 12 Aug, 2013 22 commits
  3. 16 Jul, 2013 12 commits
  4. 30 Jun, 2013 2 commits
  5. 29 Jun, 2013 1 commit
    • Evan Prodromou's avatar
      Squashed commit of the following: · 66f4a391
      Evan Prodromou authored
      commit bd23a7da105d635414643dfcedd9c8f710d565b8
      Author: Evan Prodromou <evan@e14n.com>
      Date:   Sat Jun 29 07:49:03 2013 -0400
          Make the after flag work correctly
      commit 5c5845a2f866f0bbffedd8e2e5d1f512f87d5329
      Author: Evan Prodromou <evan@e14n.com>
      Date:   Sat Jun 29 06:14:43 2013 -0400
          Add an 'after' flag for backup script