Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 495b45346179b3e5bc14e0d5fcb82cd9e5aa5c8194bace826abc22934ec9942d
Ticket: 6e8afe516df85f6213f436ef7c2fab2ec2d11c76
Severe bugs in binding (tkBind.c)
User & Date: gcramer 2019-01-13 10:43:54
Changes

  1. icomment:
    I've checked in [ec38f729fa]:
    
    1. Return type of Tk_CreateBinding changed to 'Mask', because the return value is am event mask. This change is binary compatible, because 'Mask' is an alias for 'unsigned long' (old return type).
    
    2. Issue with homogeneous equal sequences fixed, see this script:
    
                bind . <1><Control-1> { lappend x "first" }<br/>
                bind . <Control-1><1> { lappend x "last" }<br/>
                event generate . <Control-1><br/>
                event generate . <Control-1><br/>
                set x
    
    This script should return "last" due to manual. Legacy implementation is failing this test case. See new test cases bind-33.12 and bind-33.13.
    
    I'm about to finish the TIP, will come soon.
    
    Please do a test under Windows.
    
  2. login: "gcramer"
  3. mimetype: "text/x-fossil-wiki"