1. 29 Jul, 2012 1 commit
  2. 24 Jul, 2012 1 commit
  3. 07 Jul, 2012 1 commit
  4. 06 Jul, 2012 1 commit
    • Jeremy Whiting's avatar
      Port folks to libgee 0.8. · e069bbe5
      Jeremy Whiting authored
      Added hash_static and equal_static to AbstractFieldDetails.
      Use AbstractFieldDetails hash_static and equal_static where needed.
      e069bbe5
  5. 10 Dec, 2011 1 commit
    • Philip Withnall's avatar
      Bug 665692 — Use constructors correctly · 2247cdd5
      Philip Withnall authored
      In order to allow libfolks to be used from introspected languages (such as
      Python) properly, we need to correctly use the GObject construction process,
      rather than generating code which does all object initialisation inside
      a *_new() function. This involves moving lots of code into construct{} blocks.
      
      There are some complications; mostly the need for various private variables to
      now be exposed as construct-only properties. Most of them should've been
      anyway.
      
      Other complications arose from the fact that moving code to a construct{}
      block can subtly change the execution order of the code if the Object() call
      lists properties which are non-construct properties (e.g. the “alias” property
      of a Persona). The setters for these properties will now be called _after_ the
      construct{} code, whereas previously they would've been called beforehand.
      This rears its head in Tpf.Persona, but hopefully nowhere else.
      
      Closes: bgo#665692
      2247cdd5
  6. 08 Sep, 2011 1 commit
  7. 06 Sep, 2011 1 commit
  8. 02 Sep, 2011 3 commits
  9. 13 Aug, 2011 1 commit
  10. 12 Aug, 2011 2 commits
  11. 20 Jul, 2011 1 commit
    • Philip Withnall's avatar
      Bug 650422 — Add API for easily checking whether details are writeable · 2483721d
      Philip Withnall authored
      Add Persona.writeable_properties, listing the properties of that Persona
      for which updated values will be stored. It's intended that the property
      value will be constant for a given Persona subclass, but this isn't
      guaranteed; it's possible that Persona subclasses may vary the value of
      writeable-properties at run time in future.
      
      Closes: bgo#650422
      2483721d
  12. 23 Apr, 2011 2 commits
  13. 08 Apr, 2011 1 commit
  14. 07 Apr, 2011 1 commit
  15. 11 Mar, 2011 2 commits
  16. 18 Jan, 2011 1 commit
  17. 30 Dec, 2010 4 commits
    • Travis Reitter's avatar
      Cut unnecessary casting. · 6aa04aae
      Travis Reitter authored
      Excessive casting can hide real compiler warnings/errors and is best avoided.
      
      Helps bgo#629083
      6aa04aae
    • Travis Reitter's avatar
      Maximize use of 'unowned' keyword. · 7668bd50
      Travis Reitter authored
      This is used when (and only when) variables:
      1. would avoid a non-trivial copy (eg, a string or array but not an int or
      object ref-count increase)
      AND
      2. will only be assigned unowned values (excessive use of 'unowned' here will be
      caught by the compiler)
      
      The net benefit is avoiding unecessary memory allocation/freeing.
      
      Helps bgo#629083
      7668bd50
    • Travis Reitter's avatar
      Maximize use of the 'var' keyword. · b93b4445
      Travis Reitter authored
      This is used whenever a variable:
      1. is declared and initialized in the same line
      AND
      2. would not avoid a copy by using the 'unowned'. In the future, we may be able
      to declare variables 'unowned var', in which case this point won't matter. See
      bgo#638199.
      
      The net benefit is less noise on variable declaration lines.
      
      Helps bgo#629083
      b93b4445
    • Travis Reitter's avatar
      Ensure private and internal data members begin with a _ · a9bbcc8e
      Travis Reitter authored
      Helps bgo#629083
      a9bbcc8e
  18. 13 Dec, 2010 1 commit
  19. 13 Nov, 2010 1 commit
  20. 04 Nov, 2010 1 commit
  21. 21 Sep, 2010 1 commit
  22. 18 Sep, 2010 1 commit
  23. 13 Sep, 2010 3 commits
  24. 10 Sep, 2010 4 commits
  25. 30 Aug, 2010 1 commit
  26. 27 Aug, 2010 1 commit
  27. 26 Aug, 2010 1 commit