Fix get_current_dir_name_utf8() memory leaks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36028 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove pointless code.

The file selector widget will be destroyed after a selection has been
made, and fsTopList_items will be freed and rebuilt every time the file
selector widget is created (newly). So it makes no sense to prepend any
data to the GList that never will be used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36029 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove fsSelectedDirectoryUtf8.

It's obsolete after r36029.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36030 b3059339-0415-0410-9bf9-f77b7e298cf2
Swap statements (for cosmetic reasons).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36031 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename variables holding data in UTF-8 encoding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36032 b3059339-0415-0410-9bf9-f77b7e298cf2
Allow home directory to be in non-ASCII encoding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36033 b3059339-0415-0410-9bf9-f77b7e298cf2
Transfer almost identical code into a function.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36034 b3059339-0415-0410-9bf9-f77b7e298cf2
Simplify if-clauses after r36034.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36035 b3059339-0415-0410-9bf9-f77b7e298cf2
build: Do not record system headers in dependency tracking files.

This avoids all manners of weird issues when rebuilding tools and tests.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36036 b3059339-0415-0410-9bf9-f77b7e298cf2
build: Restructure mp_msg-related link library handling.

This allows building tools and tests even in non-standard configurations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36037 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix fsTopList_items memory leaks.

Free list's (dup'd) data before freeing the list.

(In order to do so, the few string constants must be g_strdup'd.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36038 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: Do a proper fallback from internal to external libdvdread.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36039 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: cosmetics: Move some config.h entries to more sensible places

Also rename some related variables.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36040 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: Delete temporary files when a configure run is interrupted.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36041 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: cosmetics: Group some libdvdcss-related config.h entries together.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36042 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: Do not consider unrelated libdvdcss variables in libdvdread test.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36043 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: Group all libdvdcss-related tests together

Also stop running the libdvdcss-related header checks as standalone
checks; run them silently inside the libdvdcss check instead.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36044 b3059339-0415-0410-9bf9-f77b7e298cf2
build: Add _BSD_SOURCE definition for strsep().

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36045 b3059339-0415-0410-9bf9-f77b7e298cf2
Update internal libdvdcss to Git revision 39e0e2b.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36046 b3059339-0415-0410-9bf9-f77b7e298cf2
loader: Simplify stdint.h #include handling.

There is no need for an ifdef, we assume stdint.h to be available.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36047 b3059339-0415-0410-9bf9-f77b7e298cf2