Skip to content
  1. Jan 27, 2015
    • Chun-wei Fan's avatar
    • Chun-wei Fan's avatar
      gwin32: Add g_win32_check_windows_version() API · 220ea775
      Chun-wei Fan authored
      This adds a public API where one can use to see whether the running version
      of Windows where the code is run is at least the specified version, service
      pack level, and the type (non-server, server, any) of the running Windows
      OS.
      
      This API is done as:
      -GetVersion()/GetVersionEx() changed in the way they work since Windows 8.1
       [1][2], so a newer mechanism to check the version of the running Windows
       operating system is needed.  MSDN also states that GetVersion() might be
       further changed or removed after Windows 8.1.  This provides a wrapper for
       VerfyVersionInfo() as well in GLib for most cases, which was recommended
       in place of g_win32_get_windows_version() for more detailed Windows
       version checking.
      -Provides an OS-level functionality check, for those that we don't need to
       venture into GetProcAddress(), and also to determine system API behavior
       changes due to differences in OS versions.
      
      Also added a note for the g_win32_get_windows_version() API that...
      220ea775
  2. Jan 21, 2015
  3. Jan 16, 2015
  4. Jan 15, 2015
  5. Jan 14, 2015
  6. Jan 13, 2015
  7. Jan 10, 2015
    • Allison Karlitskaya's avatar
      configure.ac: reject 'universal' builds · 84a1efea
      Allison Karlitskaya authored
      AC_C_BIGENDIAN can return 'universal' as the result in the case that we
      are trying to do a universal build on Mac OS.  This has to be opted into
      explicitly by using multiple -arch CFLAGS.
      
      Previously, we detected this result and fell back to doing our own check
      based on the endianness of the build machine, hardcoding that.  This
      means that universal builds might successfully build, but the binaries
      would never actually run correctly on the 'opposite' arch.
      
      This check was added because of a bug in the intial implementation of
      this detection in autoconf, which was inappropriately identifying
      non-macos compilers as 'universal'.  That was hitting ppc64 systems.
      See https://bugzilla.redhat.com/show_bug.cgi?id=449944 for more info.
      
      Commit b0e687ef42e21b1eb7af18c4eaebcd41b0bd5632 in autoconf ("Limit
      AC_C_BIGENDIAN univeral checks to Mac OS X") solved this issue in 2008,
      so let's remove our workaround.  For good measure, if we detect
      "universal" in the result, error out.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=742548
      84a1efea
  8. Jan 09, 2015
  9. Jan 07, 2015
    • Chun-wei Fan's avatar
      Win32: Update Pre-configured Config Headers · 1632d571
      Chun-wei Fan authored
      Update config.h.win32.in and glibconfig.h.win32.in so that they will be
      in-line with the ones that are produced with configure.ac, for use on
      Windows builds.
      
      Thanks to Philip Withnall for pointing out the changes needed to update
      glibconfig.h.win32.in in bug 727829.
      1632d571
  10. Jan 05, 2015
  11. Dec 24, 2014