1. 07 Oct, 2018 6 commits
  2. 06 Oct, 2018 1 commit
    • LRN's avatar
      GDK W32: Support switching IM contexts at runtime · 66c0336e
      LRN authored
      This leverages the normal input context switching mechanism in GTK
      by making it think that the gtk-im-module setting changed.
      The backend returns gtk-im-module value as "ime" if W32
      IME API says that an IME is in use. Otherwise it returns
      and empty string - this still triggers an input context
      switching code, which, not being able to create the desired context
      (which is and empty string), falls back to looking at current
      keyboard layout (currently that code is still a FIXME).
      
      Paired with the code that signals gtk-im-module change on keyboard layout
      switches, this is sufficient to make GTK capable of switching to
      the appropriate IM context at runtime. At least, the kinds of context
      that specify languages for which they are used automatically by default
      (once locale matching is implemented), and the IME context.
      
      Loading other kinds of IM context might still work via specifying
      the gtk-im-module setting in gtk ini file, but doing so will likely
      make GTK incapable of using the IME context that is used
      for Korean, Chinese and Japanese (and some other languages).
      
      Until someone figures out a way to actually change gtk-im-module
      setting on Windows at runtime with meaningful values, the behaviour
      introduced by this commit seems like a sufficient workaround.
      66c0336e
  3. 05 Oct, 2018 3 commits
  4. 04 Oct, 2018 1 commit
  5. 30 Sep, 2018 1 commit
  6. 27 Sep, 2018 1 commit
    • Hugo Lefeuvre's avatar
      gtkstack: fix null pointer dereference · 44655932
      Hugo Lefeuvre authored
      The gtk_stack_snapshot_slide() function dereferences the
      last_visible_child pointer without proper != NULL ckeck. This might
      result in NULL pointer dereference and crash if last_visible_child is
      invalid.
      
      Add a != NULL check before dereferencing the pointer.
      44655932
  7. 26 Sep, 2018 3 commits
  8. 25 Sep, 2018 1 commit
  9. 24 Sep, 2018 2 commits
  10. 23 Sep, 2018 7 commits
  11. 22 Sep, 2018 2 commits
  12. 20 Sep, 2018 2 commits
  13. 19 Sep, 2018 10 commits