1. 19 5月, 2014 1 次提交
  2. 22 2月, 2014 1 次提交
    • M
      qdict: Extract non-QDicts in qdict_array_split() · bae3f92a
      Max Reitz 提交于
      Currently, qdict_array_split() only splits off entries with a key prefix
      of "%u.", packing them into a new QDict. This patch makes it support
      entries with the plain key "%u" as well, directly putting them into the
      new QList without creating a QDict.
      
      If there is both an entry with a key of "%u" and other entries with keys
      prefixed "%u." (for the same index), the function simply terminates.
      
      To do this, this patch also adds a static function which tests whether a
      given QDict contains any keys with the given prefix. This is used to test
      whether entries with a key prefixed "%u." do exist in the source QDict
      without modifying it.
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      bae3f92a
  3. 22 1月, 2014 2 次提交
  4. 29 11月, 2013 2 次提交
  5. 25 9月, 2013 1 次提交
  6. 27 7月, 2013 1 次提交
  7. 15 3月, 2013 1 次提交
  8. 13 1月, 2013 1 次提交
  9. 19 12月, 2012 2 次提交
  10. 21 8月, 2011 1 次提交
  11. 02 7月, 2010 5 次提交
  12. 19 5月, 2010 1 次提交
  13. 19 3月, 2010 1 次提交
  14. 13 3月, 2010 1 次提交
  15. 04 2月, 2010 1 次提交
  16. 27 1月, 2010 1 次提交
  17. 19 12月, 2009 1 次提交
  18. 12 12月, 2009 2 次提交
  19. 17 11月, 2009 1 次提交
  20. 12 9月, 2009 1 次提交
    • B
      Fix sys-queue.h conflict for good · 72cf2d4f
      Blue Swirl 提交于
      Problem: Our file sys-queue.h is a copy of the BSD file, but there are
      some additions and it's not entirely compatible. Because of that, there have
      been conflicts with system headers on BSD systems. Some hacks have been
      introduced in the commits 15cc9235,
      f40d7537,
      96555a96 and
      3990d09a but the fixes were fragile.
      
      Solution: Avoid the conflict entirely by renaming the functions and the
      file. Revert the previous hacks.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      72cf2d4f
  21. 05 9月, 2009 1 次提交
  22. 04 9月, 2009 1 次提交
    • L
      Introduce QDict · fb08dde0
      Luiz Capitulino 提交于
      QDict is a high-level dictionary data type that can be used to store a
      collection of QObjects. A unique key is associated with only one
      QObject.
      
      The following functions are available:
      
      - qdict_new()    Create a new QDict
      - qdict_put()    Add a new 'key:object' pair
      - qdict_get()    Get the QObject of a given key
      - qdict_del()    Delete a 'key:object' pair
      - qdict_size()   Return the size of the dictionary
      - qdict_haskey() Check if a given 'key' exists
      
      Some high-level helpers to operate on QStrings and QInts objects
      are also provided.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      fb08dde0