1. 18 Jul, 2019 8 commits
  2. 29 Jun, 2019 3 commits
  3. 17 Jun, 2019 1 commit
  4. 13 Jun, 2019 1 commit
    • Michael Catanzaro's avatar
      Fix -Wunknown-pragmas triggered by secret-version.h · 2b4adfb9
      Michael Catanzaro authored
      In file included from /usr/include/libsecret-1/libsecret/secret.h:33,
                       from ../lib/sync/../ephy-sync-utils.h:24,
                       from ../lib/sync/ephy-history-manager.c:25:
      /usr/include/libsecret-1/libsecret/secret-version.h:19: error: ignoring #pragma __once__  [-Werror=unknown-pragmas]
       #pragma __once__
      
      It should be #pragma once, not #pragma __once__.
      
      But let's follow the other public headers here instead.
      2b4adfb9
  5. 09 Jun, 2019 4 commits
  6. 05 Jun, 2019 4 commits
  7. 02 Jun, 2019 1 commit
    • Matthew Garrett's avatar
      egg: Request that secure memory not be dumped to disk · fb813abe
      Matthew Garrett authored
      Linux 3.4 added support for the MADV_DONTDUMP option to madvise(), which
      requests that the covered memory not be included in coredumps. It makes
      sense to use this to prevent cases where application crashes could
      result in secrets being persisted to disk or included in dumps that are
      uploaded to remote servers for analysis. I've avoided making this fatal
      since there's a chance this code could be built on systems that have
      MADV_DONTDUMP but run on systems that don't.
      fb813abe
  8. 26 May, 2019 2 commits
  9. 25 May, 2019 1 commit
  10. 19 May, 2019 1 commit
  11. 18 May, 2019 2 commits
  12. 16 May, 2019 1 commit
  13. 15 May, 2019 1 commit
    • Niels De Graef's avatar
      Port Service and Session to GTask · f165f721
      Niels De Graef authored
      GSimpleAsyncResult is deprecated in favor of the simpler GTask, so use
      that instead. This cuts down on the deprecation warnings.
      
      I wanted to do both separately, but porting one without the other led to
      some faulty casts from GSimpleAsyncResult to GTask (and vice versa).
      f165f721
  14. 13 May, 2019 5 commits
  15. 12 May, 2019 1 commit
    • Niels De Graef's avatar
      Stop using g_assert() in unit tests · 929e5c2a
      Niels De Graef authored
      Apart from having more developer-friendly messages if the assertions go
      wrong, it also prevents the assertions not being run if
      `G_DISABLE_ASSERT` is defined (e.g. for performance reasons).
      929e5c2a
  16. 11 May, 2019 3 commits
  17. 10 May, 2019 1 commit
    • Emmanuele Bassi's avatar
      Use proper prefix for SecretCollection flags · 15902b70
      Emmanuele Bassi authored
      Commit f36379af added the enumeration
      GType for SecretCollectionFlags and SecretCollectionCreateFlags in the
      introspection data, but by doing so it broke existing users of the
      introspected API.
      
      Additionally, the enumeration nicknames—which are used to generate the
      enumeration value from the type name and the namespace—were wrong
      before, and are wrong now. The idiomatic way to name enumeration members
      is to use the uppercase, snake case version of the type name, and append
      the value at the end:
      
        SecretCollectionFlags → SECRET_COLLECTION_FLAGS_NONE
        SecretCollectionCreateFlags → SECRET_COLLECTION_CREATE_FLAGS_NONE
      
      If this practice is not followed, enumerations should use the
      glib-mkenums trigraph and the `prefix` option; this tells glib-mkenums,
      and the introspection parser after that, where to cut off the prefix and
      which part of the enumeration value should be considered the nickname.
      
      Thus, with `prefix=SECRET_COLLECTION` we can turn:
      
        SECRET_COLLECTION_NONE
      
      into:
      
        Secret.CollectionFlags.NONE
      
      which is the idiomatic form of an enumeration value.
      15902b70