Skip to content
Snippets Groups Projects
  1. Jan 06, 2020
  2. Jan 05, 2020
  3. Jan 03, 2020
  4. Jan 02, 2020
  5. Dec 31, 2019
  6. Dec 30, 2019
  7. Dec 29, 2019
  8. Dec 23, 2019
    • Simon Ser's avatar
      Revert "ci: add xorgproto dep to Arch build" · 18775fda
      Simon Ser authored
      This reverts commit 35bc3e66.
      
      Per [1], the dependency has been re-added and we shouldn't need to
      explicitly install it anymore.
      
      [1]: https://bugs.archlinux.org/task/64914
      18775fda
    • Scott Anderson's avatar
      meson: Remove tag generation · acb17180
      Scott Anderson authored
      This is insanely fruststating. Since it works off of currently committed
      git files, if you ever remove anything, your build will fail until you
      commit it.
      
      It doesn't even belong in the build system anyway, as it's only part of
      an individual's specific workflow. Use for own scripts for your own
      workflow. Go use some git hooks to generate this or something.
      acb17180
    • Scott Anderson's avatar
      meson: Various improvements · cff1c2f7
      Scott Anderson authored
      Bumps minimum version to 0.51.0
      
      - Remove all intermediate static libraries.
        They serve no purpose and are just add a bunch of boilerplate for
        managing dependencies and options. It's now managed as a list of
        files which are compiled into libwlroots directly.
      
      - Use install_subdir instead of installing headers individually.
        I've changed my mind since I did that. Listing them out is annoying as
        hell, and it's easy to forget to do it.
      
      - Add not_found_message for all of our optional dependencies that have a
        meson option. It gives some hints about what option to pass and what
        the optional dependency is for.
      
      - Move all backend subdirectories into their own meson.build. This
      keeps some of the backend-specific build logic (especially rdp and
      session) more neatly separated off.
      
      - Don't overlink example clients with code they're not using.
        This was done by merging the protocol dictionaries and setting some
        variables containing the code and client header file.
        Example clients now explicitly mention what extension protocols they
        want to link to.
      
      - Split compositor example logic from client example logic.
      
      - Minor formatting changes
      cff1c2f7
  9. Dec 22, 2019
  10. Dec 21, 2019
    • Simon Ser's avatar
      render: fix EGL extensions not loaded · 01818ad2
      Simon Ser authored
      Some extensions are only advertised by the EGL implementation with a
      non-zero EGLDisplay. That's the case when the extension can only be
      enabled when the hardware/driver supports it for instance.
      
      Instead of checking for all extensions without a display, check only for
      EGL_EXT_platform_base and EGL_KHR_debug which are used before
      eglGetDisplay. Check for all other extensions when we have a display.
      
      Closes: https://github.com/swaywm/wlroots/issues/1955
      01818ad2
    • Simon Ser's avatar
      ci: add xorgproto dep to Arch build · 35bc3e66
      Simon Ser authored
      Arch Linux maintainers are still figuring out whether they should ask
      people to explicitely install it or make it a dependency of libxcb again
      [1].  In the meantime, add it as an explicit dependency. I'll revert
      this patch if they decide otherwise.
      
      [1]: https://bugs.archlinux.org/task/64914
      35bc3e66
  11. Dec 20, 2019
    • Rouven Czerwinski's avatar
      backend/drm: print preferred mode · be4b9f7f
      Rouven Czerwinski authored and Simon Ser's avatar Simon Ser committed
      While printing the supported output modes, annotate the preferred mode.
      be4b9f7f
    • Simon Ser's avatar
      Refactor EGL/GL API loading · 515679e4
      Simon Ser authored and Scott Anderson's avatar Scott Anderson committed
      Remove glapi.sh code generation, replace it with hand-written loading
      code that checks extension strings before calling eglGetProcAddress.
      
      The GLES2 renderer still uses global state because of:
      
      - {PUSH,POP}_GLES2_DEBUG macros
      - wlr_gles2_texture_from_* taking a wlr_egl instead of the renderer
      515679e4
  12. Dec 18, 2019
  13. Dec 16, 2019
  14. Dec 14, 2019
  15. Dec 11, 2019
  16. Dec 09, 2019
  17. Dec 05, 2019
  18. Dec 01, 2019
    • Simon Ser's avatar
      backend/drm, backend/libinput: listen to session destroy · 8681e4ab
      Simon Ser authored
      This fixes a heap-use-after-free when the session is destroyed before
      the backend during wl_display_destroy:
      
          ==1085==ERROR: AddressSanitizer: heap-use-after-free on address 0x614000000180 at pc 0x7f88e3590c2d bp 0x7ffdc4e33f90 sp 0x7ffdc4e33f80
          READ of size 8 at 0x614000000180 thread T0
              #0 0x7f88e3590c2c in find_device ../subprojects/wlroots/backend/session/session.c:192
              #1 0x7f88e3590e85 in wlr_session_close_file ../subprojects/wlroots/backend/session/session.c:204
              #2 0x7f88e357b80c in libinput_close_restricted ../subprojects/wlroots/backend/libinput/backend.c:24
              #3 0x7f88e21af274  (/lib64/libinput.so.10+0x28274)
              #4 0x7f88e21aff1d  (/lib64/libinput.so.10+0x28f1d)
              #5 0x7f88e219ddac  (/lib64/libinput.so.10+0x16dac)
              #6 0x7f88e21b415d in libinput_unref (/lib64/libinput.so.10+0x2d15d)
              #7 0x7f88e357c9d6 in backend_destroy ../subprojects/wlroots/backend/libinput/backend.c:130
              #8 0x7f88e3545a09 in wlr_backend_destroy ../subprojects/wlroots/backend/backend.c:50
              #9 0x7f88e358981a in multi_backend_destroy ../subprojects/wlroots/backend/multi/backend.c:54
              #10 0x7f88e358a059 in handle_display_destroy ../subprojects/wlroots/backend/multi/backend.c:107
              #11 0x7f88e314acde  (/lib64/libwayland-server.so.0+0x8cde)
              #12 0x7f88e314b466 in wl_display_destroy (/lib64/libwayland-server.so.0+0x9466)
              #13 0x559fefb52385 in main ../main.c:67
              #14 0x7f88e2639152 in __libc_start_main (/lib64/libc.so.6+0x27152)
              #15 0x559fefb4297d in _start (/home/simon/src/glider/build/glider+0x2297d)
      
          0x614000000180 is located 320 bytes inside of 416-byte region [0x614000000040,0x6140000001e0)
          freed by thread T0 here:
              #0 0x7f88e3d0a6b0 in __interceptor_free /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:122
              #1 0x7f88e35b51fb in logind_session_destroy ../subprojects/wlroots/backend/session/logind.c:270
              #2 0x7f88e35905a4 in wlr_session_destroy ../subprojects/wlroots/backend/session/session.c:156
              #3 0x7f88e358f440 in handle_display_destroy ../subprojects/wlroots/backend/session/session.c:65
              #4 0x7f88e314acde  (/lib64/libwayland-server.so.0+0x8cde)
      
          previously allocated by thread T0 here:
              #0 0x7f88e3d0acd8 in __interceptor_calloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:153
              #1 0x7f88e35b911c in logind_session_create ../subprojects/wlroots/backend/session/logind.c:746
              #2 0x7f88e358f6b4 in wlr_session_create ../subprojects/wlroots/backend/session/session.c:91
              #3 0x559fefb51ea6 in main ../main.c:20
              #4 0x7f88e2639152 in __libc_start_main (/lib64/libc.so.6+0x27152)
      8681e4ab
    • Simon Ser's avatar
      keyboard: emit key events without keymap · 16f22940
      Simon Ser authored
      Sometimes compositors don't need an XKB keymap at all, they just handle
      raw keycodes. Emit key events even if no keymap is set.
      16f22940
    • Simon Ser's avatar
      Revert "output: add block_idle_frame" · dc6ef658
      Simon Ser authored
      This reverts commit cbb2781f.
      
      In [1], we found issues with block_idle_frame and replaced it with
      frame_pending. block_idle_frame is now unused.
      
      [1]: https://github.com/swaywm/sway/pull/4772
      dc6ef658
Loading