1. 18 May, 2002 2 commits
    • Christophe Massiot's avatar
      * Warning levels are no longer additive, patch courtesy of Arnaud de · bdb82782
      Christophe Massiot authored
        Bossoreille de Ribou <bozo@via.ecp.fr>
      bdb82782
    • gbazin's avatar
      · d55f5d62
      gbazin authored
      * modified the directx video plugin to try to create an YUV surface before
         falling back to an RGB surface when it's not possible to use overlays.
         Some graphic cards can do the YUV->RGB conversion in hardware during the
         blitting stage.
      * in the directx video plugin, we now request that the RGB surface be created
         in video memory. The reasoning behind this is that usually surfaces in
         video memory benefit from more hardware acceleration (like for instance
         hw rescaling, hw blitting, etc...)
      * added two options to the directx video plugin to disable the above features.
         (mainly because my video driver is buggy and doesn't handle them well).
      
      * small cosmetic changes to the generation of the config file.
      
      * fix for config_GetHomeDir() on win32. SHGetFolderPath() is located in
         shfolder.dll not shell32.dll.
      * fix for the gtk preferences dialog box. To be sure that an int or float value
         is actually changed we call gtk_spin_button_update() in the
         GtkInt/FloatChanged() event handler.
      d55f5d62
  2. 15 May, 2002 1 commit
  3. 03 May, 2002 1 commit
    • Sam Hocevar's avatar
      * ./include/modules_inner.h, ./src/misc/configuration.c: support for config · 71865b97
      Sam Hocevar authored
          options callbacks.
      
          They don't take any argument for the moment, but this will change when
          I'm finished with my other vlc changes. There is a little problem: the
          Gtk+ interface keeps calling Put***Variable each time we click on "Apply"
          or "Save". I think it should only call it once. Is there a way to fix
          this? Gildas? lool? :-)
      71865b97
  4. 01 May, 2002 1 commit
    • gbazin's avatar
      · f59cd97b
      gbazin authored
      * The configuration file and the log file are opened in text mode. This mode
      should only have a meaning on Win32 and isn't supposed to break any other
      platform. If does give you any trouble then shout.
      f59cd97b
  5. 24 Apr, 2002 1 commit
    • gbazin's avatar
      · 42e6064e
      gbazin authored
      * on Win32 the config file is now stored under the "Application Data" folder
        belonging to the user. (this works if at least IE4 is installed, otherwise
        the old method is used to get the config directory)
      42e6064e
  6. 23 Apr, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/interface/main.c: tidied the help output code. · a6bccb1c
      Sam Hocevar authored
        * ALL: removed underscores from option names and made a few options more
          self-explanatory, for instance --input_channel becomes --audio-channel;
          run vlc -H to see what has changed.
        * ALL: replaced many occurences of "plugin" with the word "module".
        * ./src/interface/main.c: moved all satellite-specific configuration options
          to the satellite plugin.
        * ./po/*: updated translations.
      a6bccb1c
  7. 21 Apr, 2002 3 commits
    • gbazin's avatar
      · 82337d0c
      gbazin authored
      * Fixed the warning_level handling: "-v" and "--warning" are now working as
        they should and they also are cumulative (using -vv --warning=3 you end up
        with i_warning_level=5)
      82337d0c
    • Sam Hocevar's avatar
      · 497e82b1
      Sam Hocevar authored
        * ./src/misc/configuration.c: support for short options. -V, -A, -I
          are back, and we also have -4 and -6 for IPv4/IPv6.
      497e82b1
    • gbazin's avatar
      · ce25f1e8
      gbazin authored
      * added config_GetFloatVariable() and config_PutFloatVariable() to the config
        module.
      * added a --zoom <float> config option.
      * added a call to RestoreCPUState() in InitIDCT() in idct_sparse.h so that the
        FPU is still available after a call to InitIDCT().
      * deactivate stream buffering when logging to a file.
      ce25f1e8
  8. 19 Apr, 2002 1 commit
    • Sam Hocevar's avatar
      · 4f6c862b
      Sam Hocevar authored
        * ALL: internationalized all configuration strings.
        * ./src/interface/main.c: we now set LC_CTYPE to get the right charset.
        * ./src/misc/configuration.c: lots of simplifications in the code.
        * ./po/vlc/pot: updated translations.
      4f6c862b
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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