1. 10 Nov, 2016 1 commit
    • Carlos Garcia Campos's avatar
      printing: Do not truncate job names in GtkPrintOperation · 25522558
      Carlos Garcia Campos authored
      We are currently truncating job names to 255 bytes, because that's the
      maximum allowed length of job-name attribute in CUPS. This is a CUPS
      limitation that GtkPrintOperation shouldn't need to know, and it
      shouldn't affect other backends, that might have other limitations or
      even no limitation at all. This has another side effect, that what you
      set as GtkPrintOperation:job-name could be different to what you get if
      the property is truncated, this is not documented in
      gtk_print_operation_set_job_name(). So, I think the job name should be
      truncated by the CUPS backend, right before setting the job-name
      attribute.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=774097
      25522558
  2. 20 Oct, 2016 1 commit
  3. 16 May, 2016 1 commit
  4. 19 Apr, 2016 2 commits
  5. 16 Apr, 2016 1 commit
    • Bastien Nocera's avatar
      cups: Fix gettext usage · 97d27ca2
      Bastien Nocera authored
      The previous patches didn't mark some strings as to be translated, and
      tried to translate strings with a variable part already inside the
      string, which isn't going to work.
      
      Mark the strings as translatable with context, and also make sure to
      translate static strings when getting them out of their structure.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=764585
      97d27ca2
  6. 14 Apr, 2016 1 commit
  7. 13 Apr, 2016 1 commit
  8. 05 Apr, 2016 1 commit
  9. 16 Feb, 2016 1 commit
    • Matthias Clasen's avatar
      printing: Add message contexts · a64dd9cc
      Matthias Clasen authored
      Some of the translated strings in the cups printbackend are short
      and generic and might occur in other contexts. Give them disambiguating
      message contexts to avoid translation problems.
      a64dd9cc
  10. 08 Jan, 2016 1 commit
  11. 06 Jan, 2016 1 commit
  12. 04 Oct, 2015 1 commit
  13. 24 Sep, 2015 1 commit
  14. 11 Sep, 2015 1 commit
    • Michael Weghorn's avatar
      Improve printer distinction for option retrieval · 838391e4
      Michael Weghorn authored
      In order to retrieve the user options for a printer, the respective
      printer name is used.
      This fixes the comparison of printer names to avoid that the options of
      another printer are accidently read whose name starts with the same
      letters, but is longer (e.g. "myprinterlongername" instead of
      "myprinter").
      
      This fixes Bug 753628.
      838391e4
  15. 18 Aug, 2015 1 commit
  16. 17 Jul, 2015 1 commit
  17. 16 Jul, 2015 1 commit
    • Emmanuele Bassi's avatar
      Avoid O(n²) walking of string arrays · e259b2f3
      Emmanuele Bassi authored
      "Yo, we heard you like traversing NULL-terminated arrays to operate on
      them, so we called g_strv_length() as the for condition, so you can
      iterate the array while iterating the array."
      
      Instead of making famed rapper and television producer Xzibit proud, we
      should avoid calling g_strv_length() on an array while looping on the
      array, to avoid quadratic complexity.
      
      We do this in various places that deal with arrays of strings that we
      cannot really guess are short enough not to matter — e.g. the list of
      CSS selectors in the inspector, or the required authentication
      information for printing.
      e259b2f3
  18. 23 Jun, 2015 1 commit
  19. 02 Jun, 2015 1 commit
  20. 13 May, 2015 1 commit
  21. 09 Mar, 2015 1 commit
  22. 02 Mar, 2015 1 commit
  23. 25 Feb, 2015 2 commits
  24. 24 Feb, 2015 1 commit
    • Matthias Clasen's avatar
      Make gtk-im-context-none work · b0b38c10
      Matthias Clasen authored
      This was added a few years ago, as a way to have _no_ im context
      at all. But it didn't actually work. Make it work, and streamline
      the handling of none by moving it all to gtkimmodule.c.
      
      As part of this, add context to the translated names of all
      im modules we ship.
      b0b38c10
  25. 20 Feb, 2015 1 commit
  26. 11 Jan, 2015 1 commit
  27. 24 Dec, 2014 1 commit
  28. 27 Nov, 2014 1 commit
  29. 26 Nov, 2014 1 commit
  30. 16 Oct, 2014 1 commit
  31. 13 Oct, 2014 1 commit
    • Marek Kasik's avatar
      Get duplex option via IPP · 493aa4e9
      Marek Kasik authored
      Request "sides-supported" and "sides-default" attributes through
      IPP if there is no PPD for selected printer.
      Pass "sides" option with other options in printer_get_options().
      Add function setup_ipp_option() for creating of IPP option
      of given name with passed choices and default value.
      Mark such an option as "is-ipp-option" so we can distinguish it
      later.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=725441
      493aa4e9
  32. 10 Oct, 2014 2 commits
  33. 03 Oct, 2014 1 commit
  34. 02 Oct, 2014 1 commit
  35. 30 Sep, 2014 2 commits
  36. 15 Sep, 2014 1 commit