1. 22 Jun, 2022 1 commit
  2. 03 Aug, 2019 1 commit
  3. 28 Nov, 2017 1 commit
  4. 25 Nov, 2017 1 commit
  5. 19 Oct, 2017 3 commits
  6. 31 Aug, 2016 1 commit
  7. 31 May, 2016 5 commits
  8. 22 Oct, 2015 2 commits
  9. 20 Oct, 2015 1 commit
  10. 28 Jul, 2015 1 commit
  11. 21 Mar, 2015 1 commit
  12. 17 Mar, 2015 4 commits
  13. 26 Feb, 2015 1 commit
  14. 06 Nov, 2014 2 commits
  15. 19 Jul, 2014 1 commit
  16. 07 Jul, 2014 1 commit
  17. 27 Jun, 2014 1 commit
    • Yaakov Selkowitz's avatar
      Make shared library work on Cygwin/MinGW · 0dcdd820
      Yaakov Selkowitz authored
      
      
      Weak symbols on PE platforms do not work the same way as on ELF
      platforms, hence we have been unable to have a fully functional shared
      libXfont until now.  This patch works around these issues so that we
      can fix that.
      
      In summary, only when compiling shared libraries on NO_WEAK_SYMBOLS
      platforms, when the first stub is called, the invoking program is first
      checked to determine if it exports the stubbed functions.  Then, for
      every stub call, if the function is exported by the loader, it is called
      instead of the stub code.
      
      serverClient and serverGeneration are data pointers, and therefore are
      replaced by getter functions. ErrorF is variadic, so the override is
      routed through VErrorF instead. FatalError has no va_list equivalent,
      but it is not actually used in libXfont and therefore should be safe to
      remove.
      
      This requires all X servers to export their symbols, which requires
      forthcoming patches for hw/xwin and xfs; the other xservers (including
      tigervnc) already do this via LD_EXPORT_SYMBOLS_FLAG.
      Signed-off-by: Yaakov Selkowitz's avatarYaakov Selkowitz <yselkowitz@users.sourceforge.net>
      Reviewed-by: default avatarColin Harrison <colin.harrison@virgin.net>
      Acked-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      Tested-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      0dcdd820
  18. 24 May, 2014 6 commits
  19. 13 May, 2014 6 commits