1. 29 Sep, 2021 1 commit
  2. 27 Aug, 2021 1 commit
  3. 04 Jul, 2021 1 commit
  4. 28 Jun, 2021 1 commit
  5. 14 Jun, 2021 1 commit
    • Bastien Nocera's avatar
      icons: Correct icon licenses again · dfc763c1
      Bastien Nocera authored
      "icons: Update icon licenses" mentioned that it would change the
      licenses of those icons to match the license of the library (LGPLv2.1+)
      but instead linked to the reference for the LGPL2.1-only license.
      Link to the SPDX page for LGPLv2.1+ instead.
      Fixes: a9d2ba59
  6. 11 Jun, 2021 1 commit
    • Bastien Nocera's avatar
      icons: Update icon licenses · a9d2ba59
      Bastien Nocera authored
      The libpeas-plugin icons were imported from a GPLv2+ application and
      were thus GPLv2+ license. This license is not compatible with libpeas'
      LGPLv2.1+ license for anything but GPL applications.
      Re-license the SVG files under the same license as the library itself.
  7. 16 May, 2021 1 commit
  8. 20 Mar, 2021 1 commit
  9. 24 Feb, 2021 1 commit
  10. 14 Feb, 2021 1 commit
  11. 25 Jan, 2021 1 commit
  12. 09 Oct, 2020 12 commits
    • Chun-wei Fan's avatar
      peas-dirs.c: Fix building on Visual Studio · e5eac650
      Chun-wei Fan authored
      libloadersapi.h should not have been included directly, just include
      windows.h with WIN32_LEAN_AND_MEAN defined.
    • Chun-wei Fan's avatar
      peas-demo: Don't hardcode installed paths on Windows · 1656eb41
      Chun-wei Fan authored
      Construct the paths dynamically, since things tend to be relocated on
      Windows regularly.
    • Chun-wei Fan's avatar
      Python Loader: Do not hardcode localedir on Windows · 861cb1c3
      Chun-wei Fan authored
      We construct them dynamically according to the path that the libpeas DLL
      is in, so that they can be relocated easily on Windows, which is often
      the case there.
    • Chun-wei Fan's avatar
      embedded tests: Force export of generated resource code · 58b749f9
      Chun-wei Fan authored
      The 'export' option for glib-compile-resources needs to be updated for
      Visual Studio builds, so that such symbols are really exported.  Before
      this happens in GLib-2.64.4, force export of the symbols we need for the
    • Chun-wei Fan's avatar
      test/libpeas-gtk/plugin-manager: Use en-US locale on Windows · aad052d6
      Chun-wei Fan authored
      This will allow the tests here to pass on non-English versions of
      Windows when translations of the GTK+ stack is present.
    • Chun-wei Fan's avatar
      build: Fix installation and some GTK tests · e646e945
      Chun-wei Fan authored
      Don't specify the install directory for libpeas and libpeas-gtk, as we
      need the DLLs to be in $(prefix)/bin and the .lib's/.so's to be in
      $(libdir), which Meson sorts out for us automatically.
      Also, just export the internal symbols for the tests when we build
      libpeas-gtk, as GObject on Windows really doesn't like the idea of
      mixing static .lib's with DLLs (i.e. a static libpeas-gtk mixing with a
      DLL libpeas).
    • Chun-wei Fan's avatar
      meson.build: Improve lua search on Windows · df637cf9
      Chun-wei Fan authored
      On Windows, especially Visual Studio builds, lua does not come with a
      pkg-config file, so we may need to look for the dependencies manually.
      We first reverse the order of the search in such situations, by looking
      for whether we have lua.exe or luajit.exe in our path, and then we look
      for the lua headers and the lua library[1].  If they could be found, we
      proceed to look for lua-lgi and build as we did before.
      [1]: lua51.lib for luajit or lua5[3|2|1].lib for lua 5.[3|2|1].
    • Chun-wei Fan's avatar
      peas-object-module.c: Add fallback module search for Windows · 37d70f4a
      Chun-wei Fan authored
      When we specify the plugin module name via a plugin file,
      g_module_build_path() will append a 'lib' prefix to the final filename
      of the module DLL, which may cause the module load to fail because the
      module DLL is not built with the 'lib' prefix for its filename, which
      is often the case for Meson builds with Visual Studio and also likely
      in other scenarios.
      Fix this by adding a fallback check for Windows, that we look for the
      module DLL without the 'lib' prefix by appending '.dll' to the module
      name that we pass into g_module_build_path(), if we can't find the
      module DLL with the 'lib' prefix.
    • Chun-wei Fan's avatar
      tests: Construct paths appropriately · fd57c27f
      Chun-wei Fan authored
      Use G_DIR_SEPARATOR_S so that we don't confuse between forward and
      backward slashes, so that tests won't fail unecessarily.
    • Chun-wei Fan's avatar
      tests: Ensure symbols are exported on MSVC builds · a3bd59bf
      Chun-wei Fan authored
      Use a macro that is defined appropriately so that we also export the
      symbols of the test DLLs on Visual Studio builds as well.
    • Chun-wei Fan's avatar
      meson: Don't use 'cp' to copy files · c34c89ca
      Chun-wei Fan authored
      'cp' is a UNIX/BASH shell-only command, which does not exist on standard
      Windows cmd.exe shells by default, so use a Python script that tries to
      do similar things.
    • Chun-wei Fan's avatar
      meson: Improve Python detection on Windows · c882c281
      Chun-wei Fan authored
      Standard Windows binaries from www.python.org typically come as an MSI
      installer, which do not include pkg-config files for us, and it is often
      the case that people have multiple installations of Python on their
      systems, such as having both 32-bit and 64-bit installations of Python,
      so we need to go a bit harder to look for Python 2,x/3.x installations,
      -Allow people to explicitly input a full path to their Python 2.x/3.x
       interpreters, so that the right include/lib paths for the desired
       Python installation(s) can be discovered and utilized.
      -If no explicit path is specified, let Meson's Python module look for
       the installations for us instead.
  13. 18 Sep, 2020 1 commit
  14. 12 Sep, 2020 3 commits
  15. 10 Aug, 2020 1 commit
  16. 27 Jun, 2020 1 commit
  17. 26 Jun, 2020 1 commit
  18. 16 Mar, 2020 1 commit
  19. 13 Mar, 2020 1 commit
  20. 06 Mar, 2020 1 commit
  21. 11 Feb, 2020 1 commit
  22. 27 Jan, 2020 1 commit
  23. 21 Jan, 2020 1 commit
  24. 20 Jan, 2020 2 commits
    • Christian Hergert's avatar
      demo: setup gettext during startup · 75838845
      Christian Hergert authored
      The peas-demo app needs to call setlocale(), bind_textdomain_codeset(),
      and textdomain() like a normal application to improve testing of
      Related !24
      Fixes #35
    • Christian Hergert's avatar
      i18n: simplify i18n for use within libpeas · ec20d0fa
      Christian Hergert authored
      We don't need a public (but not exposed via headers) function in our ABI
      to do gettext. Instead, we can just wrap _() to use g_dgettext() with a
      predefined GETTEXT_PACKAGE.
      Additionally, instead of requiring callers to check/initialize the
      libpeas gettext textdomain, we can use a static constructor to set that
      up once at startup.
      Related !24
      Fixes #35
  25. 18 Jan, 2020 2 commits