1. 26 Sep, 2021 1 commit
  2. 16 Sep, 2021 1 commit
  3. 10 Sep, 2021 1 commit
  4. 18 Aug, 2021 1 commit
  5. 23 Jun, 2021 1 commit
  6. 10 Jun, 2021 3 commits
  7. 05 Jun, 2021 1 commit
  8. 26 May, 2021 1 commit
    • Matthias Clasen's avatar
      Move text history tests · b2b044ce
      Matthias Clasen authored
      We can test internal apis in our testsuite now,
      so move the text history tests there, to have them
      run in ci.
      b2b044ce
  9. 13 May, 2021 2 commits
  10. 09 May, 2021 2 commits
  11. 13 Apr, 2021 1 commit
  12. 14 Feb, 2021 1 commit
  13. 29 Jan, 2021 1 commit
  14. 28 Jan, 2021 1 commit
  15. 29 Dec, 2020 1 commit
    • xndcn's avatar
      gl: Fix implicit leaking of shader object · 34ffdc6e
      xndcn authored
      According to OpenGL spec, a shader object will only be flagged
      for deletion unless it has been detached; when a program object
      is deleted, those shader objects attached to it will be detached
      but not deleted unless they have already been flagged for deletion.
      
      So we shall detach a shader object before it is deleted, and delete
      it before the program object is deleted best.
      34ffdc6e
  16. 15 Dec, 2020 1 commit
  17. 07 Dec, 2020 7 commits
  18. 03 Dec, 2020 1 commit
  19. 02 Dec, 2020 1 commit
  20. 17 Nov, 2020 3 commits
    • Benjamin Otte's avatar
      tests: Fix for new tranfer behavior of constructors · eded9459
      Benjamin Otte authored
      We were still unreffing a listmodel where the reference wasn't ours
      anymore.
      eded9459
    • Emmanuele Bassi's avatar
      Remove pointless inout arguments · 153c6424
      Emmanuele Bassi authored
      GtkTreeView.get_tooltip_context() takes an inout X and Y coordinates,
      but the "out" side is a side effect: the conversion from widget-relative
      to bin window-relative coordinates is not documented, and can be done
      using public API, if needed.
      
      GtkIconView.get_tooltip_context() follows the same pattern, and takes
      two inout arguments for the coordinates, but it does not change them any
      more, after GtkIconView's bin window was dropped in commit 8dc5e13e.
      
      There's really no point in having these `inout` arguments, and while
      GtkTreeView and GtkIconView are certainly de-emphasised in GTK4, and we
      nudge developers to move to the new list views, we should take advantage
      of the API break to remove warts.
      153c6424
    • Matthias Clasen's avatar
      gsk: Avoid using gtk css types in public api · 121e61cf
      Matthias Clasen authored
      Using GtkCssSection in public headers here may be
      ok from the C perspective, since it all ends up in
      the same library anyway. But it causes circular
      dependency problems for our gir files that are still
      split by namespace.
      
      To avoid this problem, copy the GtkCssLocation struct
      struct as GskParseLocation, and pass take two of them
      instead of a GtkCssSection in the error callback.
      
      Update all users.
      
      Fixes: #2454
      121e61cf
  21. 07 Nov, 2020 1 commit
  22. 22 Oct, 2020 1 commit
  23. 14 Oct, 2020 2 commits
  24. 26 Sep, 2020 2 commits
    • Matthias Clasen's avatar
      testupload: Test more formats · 593907f7
      Matthias Clasen authored
      Copy the format conversion code from GdkMemoryTexture
      so we can produce all formats, and test them all.
      
      The upload fast paths assume that the stride is a
      multiple of four, so some of the padding values cause
      it to fail. Apart from that, things seem to work for
      all combinations.
      593907f7
    • Matthias Clasen's avatar
      Add a test for various texture uploads · d56ad7c4
      Matthias Clasen authored
      Create textures with various characteristics (alpha, premultiplication,
      stride) that trigger different code paths in the gl texture upload
      function, and show the resulting images. If all goes well, they all
      should look the same.
      
      On my system, this tests texture upload for memory formats
      GDK_MEMORY_B8G8R8A8_PREMULTIPLIED, GDK_MEMORY_R8G8B8A8, and
      GDK_MEMORY_R8G8B8, and it works with both gl and gles.
      d56ad7c4
  25. 25 Sep, 2020 2 commits