wlroots-hyprland/types
random human 8589ae19de Fix bugs listed by clang's static analyzer
A few pedantic changes and unused variables (1-4), and genuine bugs (5,
6).

The reports with the corresponding files and lines numbers are as
follows.

1. backend/libinput/tablet_pad.c@31,44,57
"Allocator sizeof operand mismatch"
"Result of 'calloc' is converted to a pointer of type 'unsigned int',
which is incompatible with sizeof operand type 'int'"

2. types/tablet_v2/wlr_tablet_v2_pad.c@371
"Allocator sizeof operand mismatch"
"Result of 'calloc' is converted to a pointer of type 'uint32_t', which
is incompatible with sizeof operand type 'int'"

3. types/wlr_cursor.c@335
"Dead initialization"
"Value stored to 'dx'/'dy' during its initialization is never read"

4. rootston/xdg_shell.c@510
"Dead initialization"
"Value stored to 'desktop' during its initialization is never read"

5. types/tablet_v2/wlr_tablet_v2_pad.c@475
"Dereference of null pointer"
"Access to field 'strips' results in a dereference of a null pointer
(loaded from field 'current_client')"

The boolean logic was incorrect (c.f. the check in the following
function).

6. examples/idle.c@163,174,182
"Uninitialized argument value"
"1st function call argument is an uninitialized value"

If close_timeout != 0, but simulate_activity_timeout >= close_timeout,
the program would segfault at pthread_cancel(t1).
2018-08-31 19:41:18 +02:00
..
data_device Merge pull request #1116 from emersion/surface-role 2018-07-11 15:27:42 -07:00
seat wlr_input_device: fix keyboard destruction 2018-08-22 14:43:29 +01:00
tablet_v2 Fix bugs listed by clang's static analyzer 2018-08-31 19:41:18 +02:00
xdg_shell Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
xdg_shell_v6 Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
meson.build Merge pull request #1173 from sdilts/add-missing-libinput 2018-08-03 14:58:22 +12:00
wlr_box.c box: fix wlr_box_intersection 2018-06-06 08:47:04 +01:00
wlr_buffer.c linux-dmabuf: add v1 suffix 2018-07-19 21:50:05 +01:00
wlr_compositor.c Merge pull request #1116 from emersion/surface-role 2018-07-11 15:27:42 -07:00
wlr_cursor.c Fix bugs listed by clang's static analyzer 2018-08-31 19:41:18 +02:00
wlr_export_dmabuf_v1.c linux-dmabuf: add v1 suffix 2018-07-19 21:50:05 +01:00
wlr_gamma_control.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_gamma_control_v1.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_idle.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_idle_inhibit_v1.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_input_device.c rename wlr_tablet_tool to wlr_tablet 2018-07-14 09:49:58 +02:00
wlr_input_inhibitor.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_keyboard.c Another round of feedback from acrisci 2018-07-14 09:52:34 +02:00
wlr_layer_shell.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_linux_dmabuf_v1.c linux-dmabuf: add v1 suffix 2018-07-19 21:50:05 +01:00
wlr_list.c Revert "ELF Visibility" 2018-02-19 18:01:27 -05:00
wlr_matrix.c Fix typos in comments and strings 2018-05-03 21:59:43 +01:00
wlr_output.c Implement wlr-gamma-control-unstable-v1 2018-08-02 23:33:04 +01:00
wlr_output_damage.c output-damage: limit the number of damaged rectangles 2018-05-05 14:28:55 +01:00
wlr_output_layout.c introduce wlr_output_layout_farthest_output 2018-08-25 09:14:55 +02:00
wlr_pointer.c backend/x11: correctly destroy input devices 2018-04-28 12:55:36 +01:00
wlr_primary_selection.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_region.c compositor: redesign how resources are managed 2018-04-26 17:51:06 +01:00
wlr_screencopy_v1.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_screenshooter.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_server_decoration.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_surface.c surface: add wlr_surface_role.precommit 2018-07-15 19:30:19 +01:00
wlr_tablet_pad.c Use wlr_list for paths, and improve inert resource handling 2018-07-14 09:43:17 +02:00
wlr_tablet_tool.c rename wlr_tablet_tool to wlr_tablet 2018-07-14 09:49:58 +02:00
wlr_touch.c Revert "ELF Visibility" 2018-02-19 18:01:27 -05:00
wlr_virtual_keyboard_v1.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_wl_shell.c Merge pull request #1116 from emersion/surface-role 2018-07-11 15:27:42 -07:00
wlr_xcursor_manager.c Redesign wlr_texture 2018-03-24 23:48:32 -04:00
wlr_xdg_decoration_v1.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_xdg_output.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00