1. 15 Feb, 2014 1 commit
    • Allison Karlitskaya's avatar
      win32: fixup lib.exe invocation · 7cbff954
      Allison Karlitskaya authored
      We have a configure.ac check for lib.exe that attempts to enable
      creation of .lib files for our 5 public libraries.  That has been broken
      for a long time for two reasons:
      
       1) the Makefiles hardcode 'lib' instead of 'lib.exe'
      
       2) we dropped generation of .def files quite some time ago (except for
          in gthread where we have the two-symbol file under version control)
      
      Add new rules for creating .def files from dumpbin.exe (which you should
      have if you have lib.exe) and fix the .lib rules to use lib.exe.
      
      Add a bit of $(AM_V_GEN) all around, as well.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=722033
      7cbff954
  2. 31 Jan, 2014 1 commit
  3. 01 Jun, 2013 1 commit
    • Allison Karlitskaya's avatar
      Rework the build system for a new tests approach · f9eb9eed
      Allison Karlitskaya authored
      Perform a substantial cleanup of the build system with respect to
      building and installing testcases.
      
      First, Makefile.decl has been renamed glib.mk and substantially
      expanded.  We intend to add more stuff here in the future, like canned
      rules for mkenums, marshallers, resources, etc.
      
      By default, tests are no longer compiled as part of 'make'.  They will
      be built when 'make check' is run.  The old behaviour can be obtained
      with --enable-always-build-tests.
      
      --disable-modular-tests is gone (because tests are no longer built by
      default).  There is no longer any way to cause 'make check' to be a
      no-op, but that's not very useful anyway.
      
      A new glibtests.m4 file is introduced.  Along with glib.mk, this
      provides for consistent handling of --enable-installed-tests and
      --enable-always-build-tests (mentioned above).
      
      Port our various test-installing Makefiles to the new framework.
      
      This patch substantially improves the situation in the toplevel tests/
      directory.  Things are now somewhat under control there.  There were
      some tests being built that weren't even being run and we run those now.
      The long-running GObject performance tests in this directory have been
      removed from 'make check' because they take too long.
      
      As an experiment, 'make check' now runs the testcases on win32 builds,
      by default.  We can't run them under gtester (since it uses a pipe to
      communicate with the subprocess) so just toss them in TESTS.  Most of
      them are passing on win32.
      
      Things are not quite done here, but this patch is already a substantial
      improvement.  More to come.
      f9eb9eed
  4. 27 Feb, 2013 1 commit
  5. 15 Jan, 2013 1 commit
    • Allison Karlitskaya's avatar
      visibility: Use a separate CFLAGS variable · 5d42fdd0
      Allison Karlitskaya authored
      We only want to control the default visibility for our five main
      installable libraries: libglib, libgthread, libgmodule, libgobject,
      libgio.  We should therefore only set -fvisibility=hidden when building
      those.
      
      Use a separate substitution variable for this purpose.
      
      Using CFLAGS directly leads to some modules built in testcases not
      exporting their symbols (and then the tests fail).  It also affects the
      fam file monitoring module.
      
      Colin had originally done it this way in his visibility patch series but
      I failed to understand why so I didn't copy it.  Now I do.
      
      Also: revert changes made to two testcases in an attempt to work around
      this issue.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=691756
      5d42fdd0
  6. 14 Jan, 2013 1 commit
    • Allison Karlitskaya's avatar
      gthread-impl.c: add missing #include "config.h" · f8756694
      Allison Karlitskaya authored
      One of the features of our new symbol exporting regime is that it forces
      config.h to be included at the top of every .c file.
      
      This was missed in gthread-impl.c.
      
      The only reason this wasn't noticed is because nothing in this file is
      being used anymore.  We need those symbols to continue to be exported
      for reasons of ABI backwards compatibility, however.
      f8756694
  7. 18 Oct, 2011 2 commits
  8. 17 Oct, 2011 1 commit
    • Allison Karlitskaya's avatar
      gthread/: fix up declarations · a6d9cf33
      Allison Karlitskaya authored
      g_thread_init() is now a deprecated API, so drop G_DISABLE_DEPRECATED
      from the CFLAGS for gthread/.  Add the missing declaration for
      g_thread_init_with_errorcheck_mutexes() back to deprecated/gthread.h.
      a6d9cf33
  9. 16 Oct, 2011 2 commits
  10. 13 Oct, 2011 2 commits
  11. 12 Oct, 2011 1 commit
  12. 06 Oct, 2011 1 commit
  13. 04 Oct, 2011 1 commit
  14. 03 Oct, 2011 1 commit
  15. 21 Sep, 2011 2 commits
  16. 09 Sep, 2011 14 commits
  17. 25 Jul, 2011 5 commits
  18. 22 Jul, 2011 1 commit
  19. 23 Jun, 2011 1 commit