1. 14 Aug, 2020 1 commit
  2. 02 May, 2019 1 commit
    • Antonio Borneo's avatar
      log: remove "%m" from format strings by using strerror(errno) · 39578636
      Antonio Borneo authored
      
      
      The printf() format specifier "%m" is a glibc extension to print
      the string returned by strerror(errno). While supported by other
      libraries (e.g. uClibc and musl), it is not widely portable.
      
      In Weston code the format string is often passed to a logging
      function that calls other syscalls before the conversion of "%m"
      takes place. If one of such syscall modifies the value in errno,
      the conversion of "%m" will incorrectly report the error string
      corresponding to the new value of errno.
      
      Remove all the occurrences of the specifier "%m" in Weston code
      by using directly the string returned by strerror(errno).
      While there, fix some minor indentation issue.
      Signed-off-by: Antonio Borneo's avatarAntonio Borneo <borneo.antonio@gmail.com>
      39578636
  3. 29 Apr, 2019 1 commit
    • Antonio Borneo's avatar
      clients: close unused keymap fd · 4071225c
      Antonio Borneo authored
      
      
      In the simple examples in which keymap is not handled, the open
      descriptor has to be properly closed.
      
      After each suspend/resume sequence the keymap is send again to
      every client. On client weston-simple-egl the leak causes a
      segfault when no more file descriptors can be opened.
      
      Close the file descriptor and lazily copy/paste the comment
      already available in simple-dmabuf-v4l.
      Signed-off-by: Antonio Borneo's avatarAntonio Borneo <borneo.antonio@gmail.com>
      4071225c
  4. 18 Apr, 2019 1 commit
  5. 15 Dec, 2018 1 commit
    • Marius Vlad's avatar
      Fix compiler warnings: invalid type format · acec383b
      Marius Vlad authored
      
      
      This patch fixes the following warnings:
      
      clients/weston-info.c: In function 'print_tablet_tool_info':
      clients/weston-info.c:569:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=]
         printf("\t\t\thardware serial: %lx\n", info->hardware_serial);
         ^
      clients/weston-info.c:572:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=]
         printf("\t\t\thardware wacom: %lx\n", info->hardware_id_wacom);
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad0@gmail.com>
      acec383b
  6. 17 Sep, 2018 1 commit
  7. 29 May, 2018 2 commits
  8. 01 Dec, 2017 1 commit
  9. 28 Feb, 2017 1 commit
  10. 26 Jul, 2016 1 commit
  11. 22 Apr, 2016 1 commit
  12. 12 Apr, 2016 1 commit
  13. 17 Mar, 2016 1 commit
  14. 10 Mar, 2016 1 commit
  15. 07 Mar, 2016 1 commit
  16. 18 Dec, 2015 1 commit
  17. 21 Oct, 2015 1 commit
  18. 16 Jun, 2015 3 commits
  19. 15 Jun, 2015 1 commit
  20. 30 Sep, 2014 1 commit
  21. 15 Aug, 2014 1 commit
  22. 21 Apr, 2014 1 commit
  23. 20 Jan, 2014 1 commit
  24. 20 Nov, 2013 1 commit
  25. 16 Aug, 2013 1 commit
  26. 05 Jun, 2013 1 commit
  27. 24 Jan, 2013 1 commit
    • Pekka Paalanen's avatar
      clients: add global_remove handler stubs · 0eab05d2
      Pekka Paalanen authored
      
      
      All the clients here were missing the global_remove handler. Because
      window.c did not have it, weston-desktop-shell and weston-keyboard
      segfaulted on compositor exit, as they received some
      wl_registry.global_remove events.
      
      Add more or less stub global_remove handlers, so that clients do not
      crash on such events. Toytoolkit and all applications would need a lot
      more code to properly handle the global object removal.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <ppaalanen@gmail.com>
      0eab05d2
  28. 11 Oct, 2012 1 commit
  29. 15 Aug, 2012 3 commits