1. 01 Aug, 2011 3 commits
    • 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.
    • Bernhard Link's avatar
      ignore resource and style files without absolute paths · 4eeca7eb
      Bernhard Link authored
      The current search path is current directory, home directory,
      and then GV_LIBDIR (but no /) prepended.
      As GV_LIBDIR without the slash cannot have worked for anyone
      yet and looking into the current directory is quite some security
      risk (in case anyone actually used that option), reject filenames
      not being absolute.
    • Markus Steinborn's avatar
      Update gnulib, import signal · 0a1be09f
      Markus Steinborn authored
  2. 04 May, 2011 6 commits
  3. 30 Apr, 2011 9 commits
  4. 22 Apr, 2011 9 commits
  5. 15 Mar, 2011 2 commits
  6. 21 Feb, 2011 8 commits
    • Bernhard Link's avatar
      unconditionally use prototypes · 6f064e91
      Bernhard Link authored
      K&R style is obsolete since 1989, so improve code readability
      by always using prototypes.
    • Bernhard Link's avatar
      show beginning of last error message instead if the end · 4b2f00fd
      Bernhard Link authored
      cb_appendInfoPopup sets the Text fields focus to the
      end of the newly added message which together with the
      Scroll code changing the start of a visible area to
      the focused point even if there is nothing afterwards
      causes sometimes no message being visible at all (as
      reported in http://bugs.debian.org/597080).
      Even disregarding the suboptimal behaviour of the Scroll
      code, the end of a message is usually less interesting
      than the beginning, so focus on the beginning of the last
      written message instead.
    • Bernhard Link's avatar
      remove unused files · 4c654d1d
      Bernhard Link authored
    • Bernhard Link's avatar
    • Bernhard Link's avatar
      fix typo · df4c8add
      Bernhard Link authored
    • Bernhard Link's avatar
    • 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'
    • 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
  7. 07 Dec, 2010 3 commits