1. 27 Oct, 2018 1 commit
  2. 26 Oct, 2018 1 commit
  3. 25 Oct, 2018 2 commits
  4. 24 Oct, 2018 3 commits
    • Nelson Benítez León's avatar
      gtkentry: set minimum-width to 0 instead of 150 · 45e6e0cd
      Nelson Benítez León authored
      and use 150 as natural-width.
      
      Currently there's no way for a GtkEntry to be less
      than 150px wide (apart from using "width-chars" property),
      this is too much for a default minimum-width, an app
      developer may need to have a shorter GtkEntry, for example
      when the UI it's been shrunk by the user (see [1]) or when
      you want to match the size of another widget (which is less
      than 150px) see [2] for Evince bug on using
      gtk_combo_box_new_with_model_and_entry() for PDF forms where
      GtkEntry of ComboBox is too wide and doesn't match the combo
      list width.
      
      Using "width-chars" property may be a workaround to obtain
      a short minimum-width for the entry, but is not a proper
      solution for the mentioned cases as you may not know how
      short your GtkEntry will be, or the fact that using "chars"
      as a width unit is not pixel accurate.
      
      Curious note: the commit that introduced the GtkEntry
      minimum-width to be 150px is from 20 years ago, see
      https://bit.ly/2ySEfK4
      
      [1] This change was already suggested by Benjamin Otte
      in a blog comment https://bit.ly/2J96wRo
      
      [2] Fixes issue evince#1002
      45e6e0cd
    • Timm Bäder's avatar
      Merge branch 'nirbheek/meson-fallback-dep-fixes' into 'master' · 98dd53c2
      Timm Bäder authored
      Misc meson fixes for using subproject dependencies
      
      See merge request GNOME/gtk!232
      98dd53c2
    • Kristjan Esperanto's avatar
      Update Esperanto translation · ad7eaf2b
      Kristjan Esperanto authored
      ad7eaf2b
  5. 22 Oct, 2018 1 commit
  6. 17 Oct, 2018 1 commit
  7. 16 Oct, 2018 1 commit
    • Matthias Clasen's avatar
      Merge branch... · a3ac3b61
      Matthias Clasen authored
      Merge branch '1397-gtknotebook-built-in-popup-menu-listing-tabs-doesn-t-use-tab-label-text-for-the-last-tab-4' into 'master'
      
      Notebook: Ensure menu label updates with tab_label
      
      Closes #1397
      
      See merge request !386
      a3ac3b61
  8. 15 Oct, 2018 1 commit
  9. 12 Oct, 2018 7 commits
  10. 11 Oct, 2018 4 commits
  11. 10 Oct, 2018 2 commits
  12. 09 Oct, 2018 3 commits
    • Chun-wei Fan's avatar
      gtkimcontextime.c: Fix Korean input · 1ca5b415
      Chun-wei Fan authored
      Commit 64a489ad inadvertently introduced a regression that broke Korean
      text input because the changes there resulted that only the last input
      string that we have from ImmGetCompositionStringW() for each time the
      commit signal is emitted is kept, and also as a result the final Korean
      character that is input by hitting space is also lost as a result, as we
      didn't check for whether we are done with preediting.
      
      Fix these issues by doing the following when we receive the
      WM_IME_COMPOSITION message with GCS_RESULTSTR from Windows:
      -Do not emit the commit signal during WM_IME_ENDCOMPOSITION, and...
      -Emit the commit signal anyways, as we did before c255ba68, however...
      -We still save up the string to commit, because we need to re-compute
       the cursor position when we do ->get_preedit_string(), which needs to
       take the GCS_RESULTSTR string we get from WM_IME_COMPOSITION into
       account as well, so that we avoid getting the Pango criticals that
       occur during Chinese (and most likely Japanese) input as the cursor
       position is out-of-range.
      
      Fixes issue #1350.
      1ca5b415
    • Chun-wei Fan's avatar
      testsuite/gtk/filterlistmodel.c: Avoid GCCism · cebf5ed4
      Chun-wei Fan authored
      Pointer arithmetic on gpointers (void *) is a GCCism, so avoid that by
      being more explicit with things.
      cebf5ed4
    • Chun-wei Fan's avatar
      testsuite/gtk/[flatten|sort]listmodel.c: Avoid VLA usage · 1ca90600
      Chun-wei Fan authored
      Visual Studio is unlikely to support VLAs at any point, so avoid using
      them and use g_newa() instead.
      1ca90600
  13. 07 Oct, 2018 6 commits
  14. 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
  15. 05 Oct, 2018 3 commits
  16. 04 Oct, 2018 1 commit
  17. 30 Sep, 2018 1 commit
  18. 27 Sep, 2018 1 commit