summaryrefslogtreecommitdiffstats
path: root/get_path.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename get_path.[ch] --> path.[ch].diego2010-03-201-195/+0
| | | | | | | These files now contain different functions related to path handling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move SetCodecPath() from loader to get_path.c and make it unconditional.diego2010-03-201-0/+18
| | | | | | | | This fixes compilation with the Win32 loader disabled but other binary codec loaders enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless tmppath variable in set_path_env().diego2010-03-141-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30895 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace separate Win32, XAnim and Real codec directories by one global dir.diego2010-03-141-18/+4
| | | | | | | | | Nowadays MPlayer does not use the codecs from other installed programs. A runtime setting will soon take over the rare case that binary codecs should be searched for in non-standard directories. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30888 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include osdep/osdep.h instead of checking a platfrom specific macro to includekomh2010-03-101-3/+2
| | | | | | | a platform specific header. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add required header #include for config.h.diego2010-02-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30633 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add license header to all top-level files missing them.diego2010-01-301-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' to parameterless function declarations.diego2009-05-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use OS preprocessor checks with '#if defined()' consistently.diego2009-01-301-3/+3
| | | | | | | Avoids undefined preprocessor directives warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28399 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Merge some preprocessor checks.diego2008-10-161-9/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27783 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.diego2008-10-131-2/+2
| | | | | | | This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing Cygwin header, fixes the warning:diego2008-10-131-1/+6
| | | | | | | | get_path.c:151: warning: implicit declaration of function `cygwin_conv_to_full_w in32_path' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27756 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give a CONFIG_ prefix to preprocessor directives that lacked one anddiego2008-08-071-3/+3
| | | | | | | change arbitrary prefixes to CONFIG_. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start unifying names of internal preprocessor directives.diego2008-07-301-6/+6
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* File was missing its dedicated header inclusion.ben2008-07-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27316 b3059339-0415-0410-9bf9-f77b7e298cf2
* On OS/2, fall back on the directory where MPlayer is installed if both diego2008-02-241-0/+24
| | | | | | | | MPLAYER_HOME and HOME are not set. patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26088 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix up whitespace, indentation and similar things.diego2007-08-291-28/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24287 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix linking on Windows.diego2007-08-291-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24286 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up the way get_path is handled: Compile get_path.c to an object to linkdiego2007-08-281-3/+6
| | | | | | | | against instead of directly #including the C file and replace the many extern declarations by a proper header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some more useless *alloc castsreimar2007-07-191-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23826 b3059339-0415-0410-9bf9-f77b7e298cf2
* get_path as const, patch by Stefan Huehner, stefan AT huehner-orgreynaldo2006-07-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow the user to set the $MPLAYER_HOME environment variable to point to the ↵albeu2005-10-291-1/+3
| | | | | | | | | | | location were they want mplayer to store its configuration stuff. Patch by Nikolai Weibull (nikolai _(dot)_ weibull _(at)_ gmail _(dot)_ com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16873 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow mencoder to load win32 codecs properly patch by Zuxy <zuxy.meng at ↵faust32005-10-161-0/+38
| | | | | | gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16782 b3059339-0415-0410-9bf9-f77b7e298cf2
* compare resource url with bundle url, if its the same path do not use has ↵nplourde2005-06-031-16/+30
| | | | | | conf file location. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15626 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace Carbon.h by coreFoundation.h, fix build with x11 enable on mac osx ↵nplourde2005-04-221-1/+1
| | | | | | with --enable-macosx-bundle enable git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15238 b3059339-0415-0410-9bf9-f77b7e298cf2
* allows the Mac OS X version of MPlayer to look for its data files inside the ↵nplourde2005-04-131-0/+45
| | | | | | Resources directory of the appwrapper. patch by Chris Roccati <roccati@pobox.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15146 b3059339-0415-0410-9bf9-f77b7e298cf2
* added src level documentation for the get_path() functional2004-07-231-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12892 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make it compile on mingw again. Now it is finally possible to include ↵faust32004-04-301-1/+0
| | | | | | windows.h in mplayer.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12359 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cygwin should behave like a Unix environment, i.e. config files should bediego2003-04-301-1/+1
| | | | | | | in .mplayer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10027 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lfaust32003-04-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9930 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow config file loading outside of cygwin environmentfaust32003-04-181-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9927 b3059339-0415-0410-9bf9-f77b7e298cf2
* some debuggingarpi2001-12-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3747 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanuparpi2001-10-301-0/+22
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2558 b3059339-0415-0410-9bf9-f77b7e298cf2