1. 31 Aug, 2013 1 commit
  2. 01 Apr, 2012 1 commit
  3. 04 Aug, 2011 1 commit
  4. 01 Aug, 2011 1 commit
    • Bernhard Link's avatar
      do not replace ~ a shell would not · 6860bdce
      Bernhard Link authored
      file_translateTildeInPath currently translates the first ~ it finds.
      This is different from shell which only translates it if it is the
      first character of a word and not if other letters follow.
      
      As file_translateTildeInPath is always called with a single filename,
      only replace it if this string is "~" or starts with "~/".
      
      Additionally add an size argument to the function, so that no string
      buffers can overrun and do not access a NULL pointer if HOME is not set.
      6860bdce
  5. 21 Feb, 2011 2 commits
    • Bernhard Link's avatar
      remove ancient memory debugging stuff · d35c728b
      Bernhard Link authored
      Thanks to valgrind in-process memory debugging is no longer needed.
      Thus remove the memory debugging macros, making the code more readable.
      
      Additionally if (p) GV_XtFree(p) is replaced with XtFree(p) as XtFree
      is garanteed to ignore NULL pointers. (so it free, but only on 'modern'
      systems).
      d35c728b
    • Bernhard Link's avatar
      avoid shadowing identifiers · f7f1dda3
      Bernhard Link authored
      Shadowing standard library functions is dangerous, as
      they might be implemented as macros in some implementation.
      
      Shadowing global variables can show the global variables
      have too generic names or are not necessary at all or
      hide other problems -Wshadow can hint at, so rename remove
      the global, rename the global or rename the local.
      
      Shadowing local variables can lead to suprising results
      and hide the other problems -Wshadow can hint at, so rename
      them.
      f7f1dda3
  6. 20 Jun, 2010 1 commit
  7. 05 Jun, 2010 1 commit
  8. 03 Jun, 2010 2 commits
  9. 02 Jun, 2010 1 commit
  10. 31 May, 2010 2 commits
  11. 02 Mar, 2010 1 commit
  12. 01 Mar, 2010 1 commit
  13. 05 Sep, 2009 1 commit
  14. 18 May, 2009 1 commit
  15. 10 Apr, 2009 1 commit
  16. 14 Jan, 2009 1 commit
  17. 01 Jan, 2009 1 commit
  18. 24 Aug, 2008 1 commit
  19. 23 Aug, 2008 2 commits
  20. 02 Aug, 2008 1 commit
  21. 19 Jul, 2008 1 commit
  22. 12 Jul, 2008 3 commits
  23. 19 Jun, 2008 1 commit
  24. 18 Jun, 2008 1 commit
  25. 15 Jun, 2008 1 commit
  26. 13 Jun, 2008 1 commit
  27. 08 Jun, 2008 2 commits
  28. 07 Jun, 2008 2 commits
  29. 01 Jun, 2008 3 commits
  30. 31 May, 2008 1 commit