Debian Codegraph @

Changes

raw
1 Revision history for libXcb Perl bindings.
2
3 0.25 2026-03-06
4
5 - Add 'create' parameter to X11::XCB::Atom to allow creating
6 non-existent atoms on demand. Some operations such as setting
7 _NET_WM_STATE or WM_PROTOCOLS require atoms that may not be
8 predefined. The default value is 0 to preserve the original
9 behaviour.
10
11 0.24 2025-07-04
12
13 - Fix _GenerateMyXS.pm incompatibility with 5.42.0
14
15 0.23 2024-10-05
16
17 - Add XComposite support
18
19 - Implement get_image_data() to allow receiving XImages
20 Also implement get_image_data_rgba() which does the same but returns
21 XImage data in RGBA colorspace.
22
23 - Add WM_SIZE_HINTS constants to make them usable
24
25 - Fix several memory leaks
26
27 - Remove MouseX::NativeTraits dependency
28
29 0.22 2023-11-24
30
31 - Add cpanfile
32
33 - Add last xproto.xml eventcopy constants: FOCUS_OUT, CIRCULATE_REQUEST
34
35 - Add missing 'detail' field to FocusIn event structure
36
37 0.21 2023-10-18
38
39 - Add GenericError event
40
41 - Add constant for KEY_RELEASE
42
43 - Add INSTALL.md
44
45 - Fix X11::XCB::DESTROY for failed connections
46
47 - Fix warnings in _GenerateMyXS.pm
48 And resolve #144815.
49
50 0.20 2023-09-26
51
52 - Fix type cast for ClientMessage data to avoid warning
53
54 - Add RandR support
55 This commit adds most of RandR extension support. There are several
56 randr types, specifically struct randr_get_provider_property_reply,
57 mode_info_t, transform_t, monitor_info_t which are still not included
58 into a typemap, so these functions are not implemented:
59 randr_create_mode, randr_set_monitor, randr_set_crtc_transform.
60 Read-only RandR support is better than nothing, huh? :)
61
62 - Implement xcb_get_setup
63 It looks like it's missing in xml and _GenerateMyXS.pm does not see it
64 so it was added manually.
65
66 - Implement X11::XCB::Connection::get_keymap in XCB.xs
67 X11 keymap is being received in several steps: at first we should call
68 C<xcb_get_setup()> and then C<xcb_get_keyboard_mapping()>. The latter
69 returns data (like several other XCB functions) via accessors
70 (xcb_get_keyboard_mapping_keysyms in this case). In order to simplify
71 Keymap requests from Perl, a new function in Connection.pm implemented
72 which returns an array with keysyms. POD is updated correspondingly.
73
74 - Implement xcb_request_check and xcb_change_window_attributes_checked
75 There was a TODO to implement *_checked requests as they're missing in
76 xml. One of them is now implemented as well as C<xcb_request_check()>
77 itself.
78
79 - Add events:
80 ButtonPress, ButtonRelease, ConfigureNotify, ConfigureRequest,
81 CreateNotify, DestroyNotify, EnterNotify, KeyPress, KeyRelease,
82 LeaveNotify, MapRequest, MotionNotify, PropertyNotify, and UnmapNotify.
83
84 - Add XKB support
85 Like with RandR, most of X11 XKEYBOARD extension functionality is
86 implemented. An xkb typemap for xcb_xkb_action_t is not
87 implemented yet, so C<xcb_xkb_set_behavior()> and
88 C<xcb_xkb_sym_interpret()> are not implemented as well. The other
89 functionality, especially C<xkb_get_state()> and Xkb events, looks
90 working good.
91
92 - Fix missing pad0 field for all events
93 After adding Xkb support it was revealed that some extensions could pass
94 vital data through pad0 field of the event. So this field was added to
95 be more aligned with X11
96 protocol.
97
98 - Implement set_flags() for X11_XCB_ICCCM_WMHintsPtr
99 It looks like current implementation of X11::XCB::ICCCM::WMHints was
100 created only for read-only purposes, so C<set_flags()> was implemented
101 to allow change the internal state of WMHintsPtr object from Perl.
102
103 - Implement X11::XCB::Connection::get_query_tree_children in XCB.xs
104 As XCB replies on get_query_tree with accessor get_query_tree_children,
105 a simple wrapper was added to make it possible to get an array with
106 children IDs' in a single call from Perl.