1. 09 Jul, 2022 1 commit
  2. 08 Apr, 2022 1 commit
  3. 10 Nov, 2021 1 commit
    • Niels De Graef's avatar
      docs: Port from gtk-doc to gi-docgen · 6fc2f87a
      Niels De Graef authored and Corentin Noël's avatar Corentin Noël committed
      gtk-doc has been slowly dying for the past few years. With gi-docgen we
      have a clear successor in sight to replace the voodoo magic one needs to
      get the whole documentation setup.
      
      See the [gi-docgen tutorial] for more info on how the system works.
      
      Since we're now only the C compiler (and GIR) parse the C code, that
      means we can also get rid of all the special escapes for the # character
      in PKCS#11.
      
      [gi-docgen tutorial]: https://gnome.pages.gitlab.gnome.org/gi-docgen/tutorial.html
      6fc2f87a
  4. 02 May, 2021 1 commit
  5. 16 Jan, 2021 1 commit
    • Niels De Graef's avatar
      gcr, ui: Use NULL for "simple" signals · 935eb7fc
      Niels De Graef authored
      Apart from being less code, this actually gives us a nice performance
      improvement. Up until a few years ago, if you pass `NULL` as the
      marshaller for a signal, GLib would fall back to
      `g_cclosure_marshal_generic` which uses libffi to pack/unpack its
      arguments. One could avoid this by specifying a more specific
      marshaller which would then be used to immediately pack and unpack into
      GValues with the correct type.
      
      Lately however, as a way of optimizing signal emission (which can be
      quite expensive), GLib added a possibility to set a va_marshaller, which
      skips the unnecessary GValue packing and unpacking and just uses a
      valist variant.
      
      Since the performance difference is big enough, if the marshaller
      argument is NULL, `g_signal_new()` will now check for the simple
      marshallers (return type NONE and a single argument) and set both the
      generic and the valist marshaller. In other words, less code for us with
      bigger optimizations.
      
      In case you also want va_marshallers for more complex signals, you can
      use `g_signal_set_va_marshaller()`.
      935eb7fc
  6. 31 Mar, 2020 1 commit
  7. 30 Jan, 2020 1 commit
  8. 29 Jan, 2020 1 commit
  9. 04 Jan, 2020 1 commit
    • Niels De Graef's avatar
      gcr: Use G_PARAM_STATIC_STRINGS · 9a0d0419
      Niels De Graef authored
      This prevents some unnecessary string copies, resulting in less memory
      used and some unnecessary performance overhead being removed. Well, a
      little bit at least.
      9a0d0419
  10. 03 Jan, 2020 1 commit
  11. 24 May, 2019 1 commit
  12. 27 Nov, 2017 1 commit
  13. 14 Oct, 2014 2 commits
  14. 19 Apr, 2014 2 commits
  15. 03 Mar, 2014 1 commit
    • Stef Walter's avatar
      Makefile.am: Single Makefile mode and parallel-tests · 9019498d
      Stef Walter authored
      gtk-doc doesn't work as an included Makefile so continue to
      use SUBDIRS with docs/reference/*
      
      Run the tests using TAP. Unfortunately the GTest --tap output
      mode doesn't behave well in the face of failures, and doesn't
      output a test plan. Use our own tap-driver and tap-compiler
      for these reasons.
      
      This also fixes several builddir != srcdir issues and testing hacks
      that were sneaking around in the code base.
      
      Move the tests into the same directories as the code that it
      is testing.
      9019498d
  16. 31 Jan, 2014 1 commit
  17. 18 Oct, 2013 1 commit
  18. 07 Oct, 2013 1 commit
    • Hashem Nasarat's avatar
      Parser: Store imported key filename in Parsed & Parser · 3a5c4663
      Hashem Nasarat authored
      1. Access to the filename is useful in many ways. Importers, e.g.
      GcrOpenSshImporter, have access to the GcrParsed, and can read the
      filename to preserve filenames of imported keys.
      
      2. When the GcrViewerWindow reads a key to create a parser, store
      the filename as an instance variable of the parser
      
      3. In the parse_...() functions where the GcrParsed is created, store
      the filename as an instance variable via push_parsed (read it from
      the parser).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=705225
      3a5c4663
  19. 30 Sep, 2013 1 commit
  20. 19 Sep, 2013 1 commit
  21. 14 Feb, 2013 1 commit
  22. 31 Jul, 2012 2 commits
  23. 26 Jun, 2012 2 commits
  24. 21 Jun, 2012 1 commit
    • Stef Walter's avatar
      egg: Rework how DER parsing works · ae6f001f
      Stef Walter authored
       In particular fix things like
       * Indefinite parsing
       * Encoding of defaults
       * Ability to read values that haven't yet been encoded
       * Proper handling of ANY tags
      ae6f001f
  25. 20 Jun, 2012 1 commit
  26. 19 Jun, 2012 1 commit
  27. 08 Dec, 2011 2 commits
    • Stef Walter's avatar
      gck: Add floating references to GckAttributes · 411cc74a
      Stef Walter authored
       * Allows us more flexibility in our API in the future
       * Simplifies the common case of generating a set of attributes
         and directly passing it to a gck function
      411cc74a
    • Stef Walter's avatar
      gck: Add GckBuilder as a mutable attribute set · cb64b5ec
      Stef Walter authored
       * Use GckBuilder to build a set of attributes, and then
         GckAttributes is a immutable set of attributes.
       * We reference count the memory used in attributes, so
         as we copy and transfer the attributes without duplicating
         values unnecessarily
      cb64b5ec
  28. 30 Nov, 2011 1 commit
  29. 23 Nov, 2011 4 commits
  30. 21 Nov, 2011 3 commits