1. 11 Eyl, 2015 11 kayıt (commit)
    • Caolán McNamara's avatar
      coverity#1323755 Using invalid iterator · 0f36d4a9
      Caolán McNamara yazdı
      try and help coverity to know that aEnd and maFragments.end() are the same
      place
      
      Change-Id: I9ce4187d5ed15d0ae26b69bb360dbd47c2a6a185
      0f36d4a9
    • Stephan Bergmann's avatar
      Missing dependency · 3c319565
      Stephan Bergmann yazdı
      (for typeinfo for SvxFontLitsItem, as needed by -fsanitize=vptr)
      
      Change-Id: I13ee8f4f52509ca2b26cba16a3e5c93a7223ceb7
      3c319565
    • Miklos Vajna's avatar
      sw: indentation fixes · 226df017
      Miklos Vajna yazdı
      Change-Id: I7cf97f06053275fa229bbd24a06f7b0104f024fb
      226df017
    • Miklos Vajna's avatar
      windows opengl: make sure mpLastContext is indeed the current context · 29ec512e
      Miklos Vajna yazdı
      There were two problems here:
      
      1) The OpenGLContext ctor registered the instance on the list of
      contexts, but platform-specific call (e.g. wglMakeCurrent()) was only
      made later. Add a registerAsCurrent() member function that helps
      ensuring that the last item in the context list is indeed the current
      context.
      
      2) OpenGLContext::prepareForYield() is called without the solar mutex
      being locked, but it still assumes that the last context in the context
      list is the thread's current context, which may not be true.  The result
      is that during JunitTest_sd_unoapi, we end up in a situation like:
      
      debug:4640:5240: OpenGLContext::registerAsCurrent: wglGetCurrentContext() is 00010001, pSVData->maGDIData.mpLastContext is 00FA65F8
      debug:4640:7944: OpenGLContext::registerAsCurrent: wglGetCurrentContext() is 000D0003, pSVData->maGDIData.mpLastContext is 00FA6C70
      debug:4640:5240: OpenGLContext::prepareForYield: start, wglGetCurrentContext() is 00010001, pSVData->maGDIData.mpLastContext is 00FA6C70
      
      I.e. one thread registers as current, an other registers as current, too (while
      the other thread has the solar mutex), then once the original thread wants to
      release the solar mutex, the real current context and the last item in the
      context list won't match, so the assert at the end of prepareForYield() will
      fail.
      
      Fix this by releasing the GL context in WinSalInstance::DestroyFrame().
      
      With this, JunitTest_sd_unoapi passes on Windows with GL enabled.
      
      Change-Id: Icfb9c65c871586b5df69b5a2ab3aa91843dfc799
      Reviewed-on: https://gerrit.libreoffice.org/18473Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
      Tested-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
      29ec512e
    • Noel Grandin's avatar
      convert Link<> to typed · 9e3820ac
      Noel Grandin yazdı
      Change-Id: I70d7c7ae4fc68d2f36a00d7c1b6eba71f63872d7
      9e3820ac
    • Noel Grandin's avatar
      convert Link<> to typed · 71a83295
      Noel Grandin yazdı
      and remove unused maChildEventListeners
      
      Change-Id: I845a9af608c3429cf9ccb0e8041f24f423839513
      71a83295
    • Noel Grandin's avatar
      convert Link<> to typed · c80fb092
      Noel Grandin yazdı
      Change-Id: I8f64b8f8e1e8ac7ce1475fc5132acb7171237a32
      c80fb092
    • Noel Grandin's avatar
      convert Link<> to typed · cf0c04a4
      Noel Grandin yazdı
      Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
      cf0c04a4
    • Noel Grandin's avatar
      convert Link<> to typed · e8ee8473
      Noel Grandin yazdı
      Change-Id: I3defac5fff9708228d9bf3200e51853a127bfdc5
      e8ee8473
    • Noel Grandin's avatar
      convert Link<> to typed · 23175c02
      Noel Grandin yazdı
      Change-Id: I473ab8d77273c512e843427c86664f9eefbff116
      23175c02
    • Noel Grandin's avatar
      convert Link<> to typed · 52a949e5
      Noel Grandin yazdı
      Change-Id: Ia8dd531759ab4d609d1c3eeb31283612c0d70219
      52a949e5
  2. 10 Eyl, 2015 29 kayıt (commit)