1. 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
  2. 30 May, 2015 1 commit
  3. 07 Oct, 2014 1 commit
  4. 01 Sep, 2014 1 commit
    • Andre Heinecke's avatar
      Use secrets service for cups auth_info · 382d68ff
      Andre Heinecke authored
          When a printer requires auth_info (e.g. a printer connected
          over the samba protocol) it is now possible to save the
          credentials necessary for printing if a secrets service
          is available over dbus.
          The auth_info is then stored / loaded from the default
          collection of that secrets service.
          If no such service is available the user is not shown
          the option to remember the password and the behavior
          remains the same as before.
      
          https://bugzilla.gnome.org/show_bug.cgi?id=674264
      382d68ff
  5. 19 Feb, 2014 1 commit
  6. 09 Jul, 2013 1 commit
  7. 25 Jun, 2013 1 commit
  8. 02 Oct, 2012 1 commit
  9. 27 Feb, 2012 1 commit
  10. 22 Oct, 2011 1 commit
    • Michael Natterer's avatar
      gtk: clean up the private horror · 2688ccdb
      Michael Natterer authored
      - add gtkmodulesprivate.h and move stuff there from gtkprivate.h
      - add gtkprivate.c and move stuff there from gtkmain.c
      - add gtkwin32.c and move stuff there from gtkmain.c
      - don't redefine GTK_DATADIR and friends in gtkprivate.h
      - have _gtk_get_datadir() and friends on all platforms
      - remove the horrid hacks where gtkprivate.h can't be included,
        or must be included later due to redefinition of the compile-time
        directories
      2688ccdb
  11. 10 Jun, 2011 1 commit
  12. 02 Jun, 2011 1 commit
  13. 09 Feb, 2011 1 commit
  14. 02 Nov, 2010 1 commit
  15. 31 Oct, 2010 1 commit
  16. 30 Oct, 2010 2 commits
  17. 01 Oct, 2010 1 commit
  18. 02 Sep, 2010 1 commit
  19. 13 Jul, 2010 2 commits
  20. 10 Jul, 2010 1 commit
  21. 04 Apr, 2010 2 commits
  22. 18 Jan, 2010 1 commit
  23. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
      6529c076
  24. 05 Dec, 2009 1 commit
  25. 01 Dec, 2009 3 commits
  26. 24 Sep, 2009 1 commit
    • Marek Kašík's avatar
      Add support for 'auth-info' attribute to the CUPS backend · a3e07662
      Marek Kašík authored
      Check for 'auth-info-required' attribute from printer attributes to
      find out whether an authentization of user is needed.
      Change password dialog of print backend to be able to require informations
      requested thru 'auth-info-required' (#566522).
      a3e07662
  27. 21 Apr, 2009 1 commit
    • Marek Kašík's avatar
      Adds authentication support of CUPS backend · 2c5ae21c
      Marek Kašík authored
      Adds authentication support of CUPS backend against CUPS server.
      Print dialog is now capable to ask user for password and pass it
      to the CUPS server. It is also possible to authenticate user
      through Kerberos (GSS-API) (#384940).
      2c5ae21c
  28. 13 Oct, 2008 1 commit
  29. 17 Sep, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 346903 – gtk_enumerate_printers needs events to complete · 8ec27f77
      Matthias Clasen authored
      2008-09-17  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 346903 – gtk_enumerate_printers needs events to complete
      
              * gtk/gtkprintbackend.h:
              * gtk/gtkprintbackend.c: Add a GtkPrintBackend::status property.
      
              * modules/printbackends/cups/gtkcupsutils.h:
              * modules/printbackends/cups/gtkcupsutils.c: Turn the connection
              test into a tristate available/unavailable/in progress.
      
              * modules/printbackends/cups/gtkprintbackendcups.c: Use a single
              connection test instance for getting the default printer and for
              getting the printer list. Set the GtkPrintBackend::status property
              according to the result of the connection test. Use the printer-type
              attribute to find the default printer, if cups supports it.
      
              * gtk/gtkprinter.c: When enumerating printers, give up when
              the backend status is 'unavailable'.
      
              * gtk/gtkprintunixdialog.c (printer_status_cb): Select the printer
              when it is the default and nothing else has been selected yet.
      
      
      svn path=/trunk/; revision=21417
      8ec27f77
  30. 01 Jul, 2008 1 commit
  31. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  32. 19 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Fix a typo in a comment · 2a5a0064
      Johan Dahlin authored
      2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkprintbackend.c: Fix a typo in a comment
      
      
      svn path=/trunk/; revision=20471
      2a5a0064
  33. 21 May, 2008 1 commit
    • Matthias Clasen's avatar
      RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size · 59ae44d0
      Matthias Clasen authored
              was chosen
      
              Patch by Marek Kasik.
      
              * gtk/gtk.symbols:
              * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
      
              * gtk/gtkprintbackend.[hc]: Add fallback implementation.
      
              * modules/printbackends/file/gtkprintbackendfile.c:
              * modules/printbackends/cups/gtkprintbackendcups.c: Implement
              get_default_page_size.
      
              * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
              select its default paper size.
      
              * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
              use the printer default.
      
              * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
              if we don't have a default page setup.
      
      svn path=/trunk/; revision=20120
      59ae44d0
  34. 31 Dec, 2006 1 commit
    • Matthias Clasen's avatar
      Move a few settings to gtksettings.c to make sure they show up in the · 7979cd6a
      Matthias Clasen authored
      2006-12-30  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkprintoperation-unix.c:
              * gtk/gtkprintbackend.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtksettings.c: Move a few settings to gtksettings.c
              to make sure they show up in the docs.  (#365364, Christian
              Persch)
      
      
      
      svn path=/trunk/; revision=16992
      7979cd6a
  35. 10 Jul, 2006 1 commit