1. 17 Apr, 2002 1 commit
    • Sam Hocevar's avatar
      · db10e796
      Sam Hocevar authored
        * ./AUTHORS: added people locations, just for fun.
        * ./configure.in: disabled SSE plugins when using mingw32.
        * ./src/misc/configuration.c: disabled the AltiVec warning message on the
          PowerPC platform because it was misleading.
      db10e796
  2. 02 Apr, 2002 2 commits
    • ipkiss's avatar
      · 58e56290
      ipkiss authored
       * ./src/misc/configuration.c: small compilation fix
      58e56290
    • Sam Hocevar's avatar
      · 77d515ff
      Sam Hocevar authored
        * ./configure.in: BeOS, liba52 and chroma plugin compilation fixes.
        * ./plugins/dvd/dvd_access.c: removed a warning.
        * ./src/misc/configuration.c: Solaris fixes by Meuuh.
        * ./FAQ: removed outdated stuff.
      77d515ff
  3. 26 Mar, 2002 3 commits
    • gbazin's avatar
      · 5322a29b
      gbazin authored
      * various little portability fixes
      5322a29b
    • gbazin's avatar
      · 2867bb65
      gbazin authored
      * modified the gtk interface to save an empty <string> option as a NULL pointer
      * modified config_LoadConfigFile to consider an empty <string> option as a
         NULL pointer.
      2867bb65
    • gbazin's avatar
      · 09b7f775
      gbazin authored
      * changed the behaviour of the config file:
        - now all the config options are saved. <string> config options which have
        no default value are also saved in the config file but as an empty string.
        - config_LoadConfigFile will ignore empty config options, which also means
        we cannot pass an empty string as a <string> config option. (this shouldn't
        matter anyway)
      09b7f775
  4. 21 Mar, 2002 1 commit
    • gbazin's avatar
      · fb3f8ba5
      gbazin authored
      * moved GetConfigurationFromCmdLine() into configuration.c and renamed it
         into config_LoadCmdLine()
      * config_GetHomeDir doesn't use getpwuid_r anymore as this was creating
         some problems on solaris. This function now uses getpwuid and is called
         only once to store the home directory into the p_main structure.
      fb3f8ba5
  5. 19 Mar, 2002 1 commit
    • Sam Hocevar's avatar
      · 8ce5aeea
      Sam Hocevar authored
        * ./plugins/aa: aalib output plugin courtesy of Sigmund Augdal.
        * ./configure.in: fixed a few bashisms.
        * ./src/misc/configuration.c: fixed build under Solaris.
        * ./TODO: updated todo list.
      8ce5aeea
  6. 17 Mar, 2002 1 commit
    • gbazin's avatar
      · 031f01c7
      gbazin authored
      * small fix for the config file. The parser assumes that the config file is
      divided into sections (a section is the config data for a plugin and begins
      with something like [foo]), so the comment for the beginning of the section
      must be after the section marker and not before.
      
      If you want to illustrate the problem (without this fix):
      - save vlc's config
      - exit from vlc and remove for example the dsp plugin (rm plugins/dsp.so)
      - resave vlc's config
      and now look at the end of the config file, it's all screwed up.
      031f01c7
  7. 16 Mar, 2002 2 commits
    • Sam Hocevar's avatar
      · 2f4af9df
      Sam Hocevar authored
        * ./configure.in: more modules are plugins.
        * ./src/misc/configuration.c: changed ~/.VideoLan/vlc to ~/.videolan/vlcrc,
          and a few cosmetic changes (sorry Gildas for the butchery).
        * ./plugins/chroma/i420_rgb16.c: C version of the I420 to RV15/16 chroma.
      2f4af9df
    • gbazin's avatar
      · 278bc72e
      gbazin authored
      * This the last piece of the new configuration module. You can now save your
      configuration options (only from the gtk/gnome interface for now). The config
      file will be saved as ~/.VideoLan/vlc
      
      It's not quite yet finished (well there are a few small details to sort out),
      but I'm going away for the week-end and I wanted to commit this before so you
      can all have a play with it :)
      278bc72e
  8. 11 Mar, 2002 1 commit
    • gbazin's avatar
      · 7f583e05
      gbazin authored
      
      * New GTK configuration interface. This interface is generated dynamically
        at run-time from the configuration data contained in each plugin.
      * config_PutPszVariable and config_GetPszVariable are now thread safe.
      * Few modifications/optimizations to the config module.
      * Got rid of all the _VAR macros in config.h
      
      This is the first version of the GTK configuration interface. There are still
      a few raw corners and a fews things left to do, but it basically does what
      I wanted.
      Constructive comments like it sucks or it smells rotten fish are of course
      very welcome. And if there are GTK gurus out there, please don't hesitate to
      add your touch.
      
      I also started to add usefull comments to the configuration options but I'm not
      really good at this kind of thing so if people want to help, they can finish
      the job. For this look at all the *_LONGTEXT macros at the top of main.c
      
      (PS: Translations will also be appreciated but not right now as the interface
      will likely change again in the few coming days)
      7f583e05
  9. 26 Feb, 2002 1 commit
    • gbazin's avatar
      · 813e5145
      gbazin authored
      * Fixed uninitialized variable in config_Duplicate()
      * Fixed problem introduced in latest gtk commit
      813e5145
  10. 24 Feb, 2002 1 commit
    • gbazin's avatar
      · c40571df
      gbazin authored
      This is the first part of the new configuration architecture for vlc.
      Two other parts will follow soon:
      - config file implementation
      - gtk configuration interface.
      
      This part won't change much for end-users as these changes are mostly
      internal, you will however notice that the command line interface has
      changed. It will maybe be less user-friendly as I almost removed the
      short options but it shouldn't a big problem when the config file is
      implemented.
      
      What as changed is that it is really easy now to add configuration
      options to vlc. Plugins can also implement configuration options. All
      you have to do is to declare a MODULE_CONFIG section in your plugin.
      If you want to know more about this look at configuration.h and for some
      example: main.c, dsp.c or xvideo.c
      
      It would be nice if every developper could now start using configuration
      options in there plugins and also enhance old plugins.
      
      That's it, now let's hope I didn't break too many things ;-)
      c40571df