1. 07 Jul, 2021 5 commits
  2. 29 Jun, 2021 4 commits
  3. 14 Jun, 2021 7 commits
  4. 13 Jun, 2021 1 commit
  5. 20 Apr, 2021 1 commit
  6. 12 Apr, 2021 1 commit
  7. 29 Mar, 2021 4 commits
    • Guido Gunther's avatar
      phosh: Don't crash when we failed to parse the accelerator · 9b0f18f9
      Guido Gunther authored
      Passing an invalid keybinding currently doesn't end well:
      
       ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0xaaaaadbff580 bp 0xffffc1f94d00 sp 0xffffc1f94d00 T0)
       The signal is caused by a READ memory access.
       Hint: address points to the zero page.
          #0 0xaaaaadbff580 in phosh_private_keyboard_event_accelerator_is_registered ../src/phosh.c:131
          #1 0xaaaaadbff7d8 in phosh_private_accelerator_already_subscribed ../src/phosh.c:149
          #2 0xaaaaadbffa68 in phosh_private_keyboard_event_grab_accelerator_request ../src/phosh.c:184
          #3 0xffffafb47044  (/lib/aarch64-linux-gnu/libffi.so.7+0x6044)
          #4 0xffffafb4676c  (/lib/aarch64-linux-gnu/libffi.so.7+0x576c)
          #5 0xffffb0031a1c in wl_closure_invoke ../src/connection.c:1018
          #6 0xffffb002cd7c in wl_client_connection_data ../src/wayland-server.c:432
          #7 0xffffb002fa64 in wl_event_loop_dispatch ../src/event-loop.c:1027
          #8 0xaaaaadbdce38 in wayland_event_source_dispa...
      9b0f18f9
    • Guido Gunther's avatar
      tests/phosh: Set and check both test vars · 32040897
      Guido Gunther authored
      Always set and check both keybinding results. This tests that
      we don't invoke the wrong callback accidentally.
      32040897
    • Guido Gunther's avatar
      tests/phosh: Make tested keybindins more obvious · ba2b49bf
      Guido Gunther authored
      Currently one needs to look up what's tested in an array but each most
      of the keys are only used a single time. So drop that array and use a
      define for the single key that is used multiple times so it's clear we
      just add an accelerator.
      ba2b49bf
    • Guido Gunther's avatar
      tests/phosh: Use GrabStatus · c74a24d9
      Guido Gunther authored
      The current accelerator tests try to encode two boolean values
      into two variables making it a bit hard to read. Use a single
      enum instead.
      c74a24d9
  8. 19 Mar, 2021 9 commits
  9. 15 Mar, 2021 1 commit
  10. 14 Mar, 2021 3 commits
  11. 06 Mar, 2021 1 commit
  12. 09 Feb, 2021 3 commits