1. 14 May, 2011 29 commits
  2. 13 May, 2011 6 commits
  3. 12 May, 2011 5 commits
    • Rémi Denis-Courmont's avatar
      Qt4: not unloadable on Linux · ce4ba978
      Rémi Denis-Courmont authored
      ce4ba978
    • Rémi Denis-Courmont's avatar
      Lazily resolve plugins during scanning · 8277183c
      Rémi Denis-Courmont authored
      There are two advantages:
       - scanning uncached plugins is much faster,
       - plugins with broken dependencies are visible in the modules list.
      
      Plugins are still resolved "now" if they are probed by module_need().
      This is a safety feature (the run-time linker would exit silently if it
      hit an unresolved symbol). As the previous commit unloads all uncached
      plugins, we can reload the plugins with different flags as needed.
      
      Plugins with broken/missing underlying libraries will trigger an error
      only when used, rather than when scanned. vlc-cache-gen is then a bit
      more robust against messed up packages installation (it will not skip
      plugins anymore). Also, dialog_Fatal() could be used to report run-time
      errors. This was not possible previously: the error would occur before
      the UI was started.
      
      Note that this is not implemented on Windows, as there is no support
      (that I know) for lazy resolution of DLLs.
      8277183c
    • Rémi Denis-Courmont's avatar
      Do not keep unused plugins loaded after plugin scan · a9093a20
      Rémi Denis-Courmont authored
      This saves about 20 Mb of address space, 10 Mb of memory on my system,
      when the plugins cache is disabled. It is even more dramatic for
      non-VLC apps (as then Qt4 is not loaded).
      a9093a20
    • Rémi Denis-Courmont's avatar
      103b4129
    • Rémi Denis-Courmont's avatar
      Inline module_Call() · bdc46e27
      Rémi Denis-Courmont authored
      bdc46e27