1. 17 Jun, 2019 1 commit
  2. 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.
  3. 09 Jun, 2019 4 commits
  4. 05 Jun, 2019 4 commits
  5. 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.
  6. 26 May, 2019 2 commits
  7. 25 May, 2019 1 commit
  8. 19 May, 2019 1 commit
  9. 18 May, 2019 2 commits
  10. 16 May, 2019 1 commit
  11. 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).
  12. 13 May, 2019 5 commits
  13. 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).
  14. 11 May, 2019 3 commits
  15. 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:
      which is the idiomatic form of an enumeration value.
  16. 07 May, 2019 6 commits
  17. 02 Mar, 2019 1 commit
  18. 01 Mar, 2019 2 commits
  19. 25 Jan, 2019 2 commits