1. 16 Jan, 2018 1 commit
    • Erwan Tulou's avatar
      skins2(x11): fix Drag&Drop issues on X11. · 715833ba
      Erwan Tulou authored
      this patch fixes issues that limited the scope of Drag&Drop.
      - set the version number to the latest one (version 5 in 2003!)
      - ensure the data type is not hardcoded but selected at runtime.
      - add a XSync to ascertain full completion of Drag and Drop.
      - protect against possible overflow
      - add some debugging info
      
      (cherry picked from commit c5213920)
      Signed-off-by: default avatarErwan Tulou <erwan10@videolan.org>
      715833ba
  2. 11 Jan, 2018 2 commits
  3. 09 Aug, 2017 1 commit
  4. 23 Jan, 2017 1 commit
  5. 18 Jun, 2016 1 commit
  6. 17 Feb, 2016 1 commit
    • Filip Roséen's avatar
      nothrow new in cases where it maches intent · 1bed74fe
      Filip Roséen authored
      I wrote a hackish script to locate instances where new can throw
      but where the original author has assumed that it will return
      nullptr when there is a memory allocation problem.
      
      In short, cases such as `ptr = new T; if (ptr) ...` has now
      been changed to `ptr = new (std::nothrow) T; if (ptr) ...`.
      
      Since a throwing `new` will always yield a non-nullptr pointer,
      code that follows similar patterns to the previous example are
      therefor redundant.
      
      Example (from modules/access/dshow/filter.cpp):
      
          *ppEnum = new CaptureEnumMediaTypes( p_input, p_pin, this );
      
          if( *ppEnum == NULL )
            return E_OUTOFMEMORY; // unreachable, new will never return NULL
      
      Fixed:
      
          *ppEnum = new (std::nothrow) CaptureEnumMediaTypes( p_input, p_pin, this );
      
          if( *ppEnum == NULL )
            return E_OUTOFMEMORY;
      Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      1bed74fe
  7. 31 Dec, 2015 2 commits
  8. 08 Sep, 2015 1 commit
  9. 22 Jun, 2015 1 commit
  10. 14 Nov, 2014 1 commit
  11. 04 Apr, 2013 1 commit
  12. 29 Jul, 2012 1 commit
  13. 20 Jul, 2012 1 commit
  14. 27 Jun, 2012 1 commit
  15. 20 Mar, 2012 1 commit
    • Rémi Denis-Courmont's avatar
      Use environment variable for data directory · feb4063c
      Rémi Denis-Courmont authored
      ...as for plugins directory. Most of the content is anyway per-process,
      either because gettext and interfaces are per-process. The only caller
      of the function that is not an interface or gettext is the DVB scanner.
      This is even probably a bug.
      feb4063c
  16. 17 Feb, 2012 1 commit
  17. 03 Jan, 2012 1 commit
  18. 09 Jun, 2011 2 commits
  19. 06 Jun, 2011 1 commit
    • Erwan Tulou's avatar
      skins2: drap&drop enhancement · 1653a66d
      Erwan Tulou authored
      Pass drap&drop coordinates over to visual controls.
      This feature will be used to allow users to finely insert items in the
      playtree control instead of just appending them at the end.
      1653a66d
  20. 17 May, 2011 1 commit
  21. 21 Apr, 2011 1 commit
  22. 24 Jan, 2011 1 commit
    • Erwan Tulou's avatar
      skins2(Linux): fix scrolling twice faster than expected · 28c4972c
      Erwan Tulou authored
      On Linux, two scrolling events were generated for each wheel step
      (one on ButtonPress, one on ButtonRelease). This led to scrolling being
      twice faster on Linux than it is on Windows.
      
      This patch ensures that only one scroll event is issued for one step at the
      mouse wheel.
      28c4972c
  23. 19 Jan, 2011 1 commit
  24. 18 Jan, 2011 1 commit
  25. 16 Jan, 2011 1 commit
    • Erwan Tulou's avatar
      skins2(Linux): fix some drag&drop issues · 4ee6861f
      Erwan Tulou authored
      On Linux, drag&drop provides a null-terminated character string, consisting of
      one or more filenames. When there are more than one filename, either CR LF
      (e.g Nautilus) or just LF (e.g Konqueror) are used as the sub delimiter.
      This patch ensures that drag&drop now works for both cases.
      
      In addition, if more than one item are selected, only the first item is
      launched instead of all of them.
      4ee6861f
  26. 12 Jan, 2011 1 commit
    • Erwan Tulou's avatar
      skins2: rework skins2 as a vout_window provider · 2c45bce6
      Erwan Tulou authored
        - remove the awkward global lock and serializer mechanism
        - adapt to latest module API (fix compil errors)
        - be more specific about hwnd or xid depending on port
        - set display.x11 on Linux port
      2c45bce6
  27. 27 Nov, 2010 1 commit
    • Erwan Tulou's avatar
      skins2: rework the fullscreen controller · c9663d97
      Erwan Tulou authored
      This rework includes:
         - activation with mouse move
         - transparency and fading out supported if the WM allows it
         - fsc no longer a child window
           (this latter point should work out the refresh problems
            often mentioned on Vista and Win7)
      c9663d97
  28. 22 Nov, 2010 1 commit
    • Erwan Tulou's avatar
      skins2(Win32 and Linux): Don't refresh a window forcefully · 81210652
      Erwan Tulou authored
      A good practice is to invalidate the window and leave it to the OS to decide if a repaint is or not needed.
      
      As a side effect, this fixes some alternative task switchers (alt-tab) on WinNT (like TaskSwitcher or ATTv) that displayed a black rectangle instead of the preview of the skin, because the skin engine was not doing things the usual way.
      81210652
  29. 11 Nov, 2010 1 commit
  30. 08 Nov, 2010 1 commit
    • Erwan Tulou's avatar
      skins2(Linux): A XSync is needed · 0656ac9c
      Erwan Tulou authored
      This partially fixes the position indicator getting blurry, because XGetImage didn't
      retrieve the latest change in pixmap (Previous XCopyArea calls may still be pending)
      
      Note that XSync is needed but not sufficient. Sporadic blurriness can still happen, because
      there seems to be no way to know for sure when the pixmap content is really updated.
      (waiting for NoExpose event, if enabled, is also not enough). Also, this problem is more
      prone to occur with --vout xv than with x11 or opengl, as if xvideo were stressing the X server
      more than the other two.
      
       modules/gui/skins2/x11/x11_graphics.cpp |    4 ++++
       1 files changed, 4 insertions(+), 0 deletions(-)
      0656ac9c
  31. 06 Oct, 2010 1 commit
  32. 10 Sep, 2010 2 commits
  33. 15 Aug, 2010 1 commit
  34. 29 Jun, 2010 1 commit
  35. 28 Jun, 2010 1 commit
  36. 05 Jun, 2010 1 commit