forked from OpenPrinting/system-config-printer
-
Notifications
You must be signed in to change notification settings - Fork 10
/
ChangeLog-OLD
7437 lines (5297 loc) · 251 KB
/
ChangeLog-OLD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2009-08-11 Tim Waugh <twaugh@redhat.com>
* cupshelpers/cupshelpers.py (missingPackagesAndExecutables):
Accept a filter of "-" (Ubuntu #411376).
2009-06-23 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.nextNPTab): Don't log
non-fatal traceback messages if we cannot connect to the IPP
printer (bug #507629).
2009-06-23 Tim Waugh <twaugh@redhat.com>
* troubleshoot/CheckPrinterSanity.py (CheckPrinterSanity.display):
Parse nmblookup failures correctly (from bug #507442).
2009-06-19 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py: Call "hp-info" with the "-x" option.
Then it works also when there is no CUPS queue for the URI.
* cupshelpers/ppds.py: Support for the new CUPS Raster driver of HPLIP
(hpcups). Use it preferably.
2009-05-13 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py (NewPrinterGUI.fetchJockeyDriver):
While waiting for Jockey to download a driver from OpenPrinting,
check whether the CUPS connection stays stable and re-establish it
if it gets lost. Sometimes the installation of a driver package
breaks down the connection to CUPS (probably due to the restart of
CUPS).
2009-04-29 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py: Compare make and model names
case-insensitively when positioning the cursor in the make/model
selection list (Ubuntu bug #365329).
Made sure that print queue name suggestion is always generated
(Ubuntu bug #363522, comment 6).
* cupshelpers/ppds.py: Let the getPPDNameFromDeviceID() function
always output which PPD got selected.
2009-04-28 Tim Waugh <twaugh@redhat.com>
* glade/NewPrinterWindow.glade: Adjusted border padding for New
Printer window (bug #493862).
2009-04-20 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py: Made call of hp-plugin also working with
HPLIP 3.9.2.
2009-04-15 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(NewPrinterGUI.on_btnIPPVerify_clicked): Fixed URI parsing.
2009-04-14 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py: Set relaxed PPD conformance (trac #159).
* applet.py (NewPrinterNotification.NewPrinter): Likewise.
2009-04-01 Till Kamppeter <till.kamppeter@gmail.com>
* cupshelpers/cupshelpers.py (_expand_flags): Do not use
locale.setlocale() to only convert uppercase to lowercase letters in
pure ASCII text. With many locales Python bugs get be triggered by
that. Define a simple case-conversion function which does not use
any locale-dependent constant or function (Ubuntu #340932).
* applet.py, glade.py, glade/PrintersWindow.glade, jobviewer.py,
system-config-printer.py: Added support for notfication daemons which
do not support action buttons in the notification bubbles. Now the
capabilities of the notification server are checked and if needed,
alternative notifications are used (Ubuntu #328604, #339847). Thanks to
David Barth and Ken VanDine (both from Ubuntu) to make the patch.
2009-03-20 Till Kamppeter <till.kamppeter@gmail.com>
* cupshelpers/ppds.py: Improved identification of detected printers:
o HP's PPD files in HPLIP 3.9.2 have totally broken device IDs, all
lowercase and underscores instead of spaces, not really what
the printer reports. Added workarounds to match them with the
real device IDs (Ubuntu #306301).
o Match the model names of the PPDs case-insensitive with the
model names of the detected printer. Some printers, like the
HP DeskJet 895C report an all-uppercase model name
(Ubuntu #306301).
2009-03-17 Till Kamppeter <till.kamppeter@gmail.com>
* cupshelpers/ppds.py: Improved identification of detected printers:
o HP introduced a lot of abbreviations (like LJ, DJ, OJ, PS, ...)
in the model names of their PPDs in HPLIP 3.9.2. These
abbreviations are not used in device IDs. Now we expand the
abbreviations in ppdMakeModelSplit() and take them also into
account when we have to guess a missing manufacturer name.
o Let ppdMakeModelSplit() also truncate the model name on the
string "hpijs", from HPLIP 3.9.2 on there is no "Foomatic" in
the NickNames of the PPDs any more.
o Make guessing of manufacturer names in ppdMakeModelSplit() also
working if there is whitespace in the beginning of the input
string.
o Protect the manufacturer/model lists from being messed up by
TurboPrint PPDs. They have manufacturer and model being stuffed
into the manufacturer field, so each printer appeared as its own
manufacturer (ppdMakeModelSplit()).
o Make TurboPrint PPDs lowest priority, as this is a non-free
third-party driver (_getDriverType()).
o If no manufacturer name is supplied to the
getPPDNameFromDeviceID() function (broken device ID from network
CUPS backend), call ppdMakeModelSplit() to find out the
manufacturer via the model name.
2009-03-16 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.__init__): Initialise update_timer to
prevent tracebacks if the connection fails (Ubuntu #343387).
2009-03-10 Tim Waugh <twaugh@redhat.com>
* cupshelpers/ppds.py (ppdMakeModelSplit): Strip " hpijs" from PPD
names.
(ppdMakeModelSplit.strip_suffix): Removed dead code.
2009-03-10 Tim Waugh <twaugh@redhat.com>
* cupshelpers/ppds.py (PPDs.getPPDNameFromDeviceID): Better PPD
fallback searching.
2009-03-10 Till Kamppeter <till.kamppeter@gmail.com>
* newprinternotification.conf: Adapted D-Bus policy file to the
new D-Bus defaults (Ubuntu #318776).
2009-03-10 Tim Waugh <twaugh@redhat.com>
* cupshelpers/ppds.py (PPDs._findBestMatchPPDs): Don't try search
for a model series if there are no digits in the model name.
2009-03-09 Tim Waugh <twaugh@redhat.com>
* cupshelpers/cupshelpers.py (Printer._expand_flags): Use
setlocale() to save current LC_CTYPE value, not getlocale() (bug
#489313).
2009-03-03 Tim Waugh <twaugh@redhat.com>
* troubleshoot/CheckPrinterSanity.py (CheckPrinterSanity.display):
Include local printer attributes in diagnostic output.
2009-03-02 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(NewPrinterGUI.on_tvNPDeviceURIs_cursor_changed): Clear LPD
drop-down list.
2009-02-25 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(NewPrinterGUI.on_tvNPDeviceURIs_cursor_changed): Set initial
sensitivity of LPD probe button.
(NewPrinterGUI.on_cmbentNPTLpdHost_changed): Adjust button
sensitivity when hostname is changed.
2009-02-18 Tim Waugh <twaugh@redhat.com>
* cupshelpers/cupshelpers.py (Printer._expand_flags): Perform
lowercase operations in locale-independent manner (trac #151).
2009-02-16 Till Kamppeter <till.kamppeter@gmail.com>
* applet.py: Fixed switch between the notification for the case that
a queue got created and the case that no queue got created.
2009-02-13 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py (get_hpfax_device_id): Return None
if the "fax-type" is 0, this means that fax is not available
on the given printer.
2009-02-13 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py, troubleshoot/CheckPrinterSanity.py:
Fixed "hp-info" calls: There should be no space between "-d" and
the "URI" to work around HPLIP option parsing bug.
2009-02-15 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py: Added functionality to automatically
recognize whether the proprietary plug-in of HPLIP is useful or
even required and to aks the user whether he want to download and
install it. This way the setup of HP printers which require the
plugin (especially the printers requiring firmware, as LaserJet
1000, 1005, 1018, 1020) is intuitive and the user does not end up
with non-working queues (fixes long-standing Ubuntu bug LP: #96454).
To achieve maximum compatibility with Ubuntu, an hp-plugin call
failing due to PyQt not installed is caught and then the text mode
version of hp-plugin is called in a terminal window.
2009-02-12 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py: Skip selection of manufacturer, model,
and driver in the new-printer wizard if an exact driver match has
been found (trac #141).
2009-02-11 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py, applet.py: Support for auto-detection
of printers vis hal-cups-utils without hal-cups-utils creating a
queue, especially if there is no driver specifically assigned to
the detected printer. This way the user does not get confused by a
non-working queue when he ignores the notifications of the applet.
In such a case hal-cups-utils sends the CUPS URI resulting from
the auto-detection in the place of the queue name. the applet does
an appropriate notification then and if the user clicks the
button, system-config-printer is started with the new-printer
wizard direcly opening, but skipping the device selection step.
2009-02-11 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.setDataButtonState): Don't allow
PPD changes when there are conflicts (trac #144).
2009-02-11 Tim Waugh <twaugh@redhat.com>
* optionwidgets.py (Option.checkConflicts): Check constraints in
reverse as well, so that constraint checking is symmetrical.
2009-02-11 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.update_job): Don't display a
notification when authentication is required, just go straight to
the authentication dialog. Don't grab keyboard and pointer for
that dialog and instead let the window manager prevent keyboard
input accidentally going to the wrong window.
2009-02-11 Tim Waugh <twaugh@redhat.com>
* authconn.py (Connection._perform_authentication): Don't grab
keyboard and pointer when displaying authentication dialog.
Instead let the window manager prevent keyboard input accidentally
going to the wrong window.
2009-02-11 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
Don't show wait window when adding a new printer, as that may
require an authentication dialog and we don't want them competing
for focus (bug #484960).
2009-02-11 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.getNPPPD): Fixed
indentation.
2009-02-10 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.getJockeyDriver_thread):
Handle D-Bus failures when connecting to the session bus (bug
#484402).
2009-02-04 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.set_statusicon_visibility): Fixed typo.
(JobViewer.job_added): Only add this job to the active set if it
is active; otherwise, remove it from the set if it is there.
(JobViewer.job_event): If the emptiness of the active set has
changed, update the status icon (trac #140).
2009-02-04 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.set_statusicon_visibility): Don't
display status icon for completed jobs (trac #140).
2009-01-27 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.on_troubleshoot_activate): Don't
make the troubleshooter window transient for the main window (bug
#481505).
2009-01-27 Tim Waugh <twaugh@redhat.com>
* troubleshoot/PrintTestPage.py (PrintTestPage): Use authenticated
connection, except when printing the test page.
2009-01-27 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.get_hpfax_device_id):
Fixed traceback while fetching hpfax device ID (Ubuntu #321139).
2009-01-27 Tim Waugh <twaugh@redhat.com>
* newprinternotification.conf: Specify both send_destination and
send_interface for allow/deny rules.
2009-01-26 Tim Waugh <twaugh@redhat.com>
* optionwidgets.py: Find parent window to set Conflicts dialog
transient for.
* system-config-printer.glade: Distinct response ID for
Conflicts button.
* system-config-printer.py: Fixed conflicts button.
2009-01-26 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.fillMakeList): Use
set_cursor (trac #142).
(NewPrinterGUI.fillModelList): Likewise.
2009-01-22 Tim Waugh <twaugh@redhat.com>
* glade/JobsWindow.glade: Better default height for jobs window.
2009-01-16 Tim Waugh <twaugh@redhat.com>
* AdvancedServerSettings.py
(AdvancedServerSettingsDialog.on_response): Give a callback on
apply.
* system-config-printer.py (GUI.on_adv_server_settings_apply):
Refresh server settings when the advanced server settings dialog
has finished (trac #133).
2009-01-14 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(NewPrinterGUI.on_tvNPDevices_cursor_changed): Prevent traceback.
(NewPrinterGUI.device_row_activated): Collapse/expand device rows
on activation.
2009-01-14 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.fillPrinterTab): Avoid traceback
with raw queues.
2009-01-13 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(NewPrinterGUI.on_tvNPDownloadableDrivers_cursor_changed): Fixed
traceback (Ubuntu #316828).
2009-01-13 Tim Waugh <twaugh@redhat.com>
* glade/ConnectDialog.glade, glade/NewPrinterWindow.glade,
glade/PrinterPropertiesDialog.glade: Added accessibility
relations, patch from Ghee Teo (trac #136).
2009-01-12 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
Treat classes the same as printers after adding them: enable them
and set them accepting jobs (trac #132).
2009-01-12 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.__init__): Handle exception from
dbus.SystemBus() (bug #479534).
(Monitor.cleanup): Only remove the D-Bus signal receiver if we
managed to add it in the first place.
2009-01-08 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.dests_iconview_item_activated):
Use set_cursor here to match change introduced when fixing
Ubuntu #282634.
2009-01-08 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.now_connected): Handle notification
closure for re-connected printers correctly.
2009-01-07 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.__init__): Advertise correct
defaults for page-left, page-right, page-top and page-bottom job
options (bug #468553).
2009-01-07 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(NewPrinterGUI.on_tvNPMakes_cursor_changed): Use get_cursor here.
(NewPrinterGUI.on_tvNPModels_cursor_changed): Likewise (Ubuntu
#299724).
(NewPrinterGUI.on_tvNPDevices_cursor_changed): Likewise.
2008-12-19 Tim Waugh <twaugh@redhat.com>
* system-config-printer.in: Set prefix environment variable here,
partially reverting earlier change.
* system-config-printer-applet.in: Likewise.
* my-default-printer.in: Likewise.
2008-12-19 Tim Waugh <twaugh@redhat.com>
* PhysicalDevice.py (PhysicalDevice.get_info): The hpfax backend
wants to tell us that the device make and model is "HP Fax", so
ignore that useless field and use the device-info field instead.
2008-12-19 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.nextNPTab): Prevent
traceback when adding a printer driven by HPLIP (bug #477107).
2008-12-16 Tim Waugh <twaugh@redhat.com>
* Makefile.am (EXTRA_DIST): Ship config.py.in.
(DISTCLEANFILES): Clean config.py.
2008-12-15 Till Kamppeter <till.kamppeter@gmail.com>
* cupshelpers/openprinting.py (OpenPrinting.searchPrinters):
The search term must be submitted with the query as the "printer"
argument and not as the "make" argument.
2008-12-15 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.refresh): Use getPrinters instead of
getDests to avoid character encoding problems.
2008-12-15 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
Convert name of new printer to unicode (trac #124).
2008-12-15 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(NewPrinterGUI.browse_ipp_queues_thread): Split port out from host
string if required (bug #476396).
2008-12-13 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(GUI.on_tvPrinterProperties_cursor_changed): Use get_cursor here
(Ubuntu #282634).
2008-12-13 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.on_btnNPApply_clicked):
Check we have a real PPD before trying to copy options (Ubuntu
#285133).
2008-12-13 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.on_btnPrintTestPage_clicked):
Display an error dialog if unable to connect to server (Ubuntu
#286943).
2008-12-13 Tim Waugh <twaugh@redhat.com>
* cupshelpers/ppds.py (PPDs._findBestMatchPPDs): Handle model
names with more than one set of digits (Ubuntu #251244).
2008-12-12 Tim Waugh <twaugh@redhat.com>
* troubleshoot/__init__.py (Troubleshooter.is_moving_backwards):
Allow troubleshooter pages to know the direction we're going.
* troubleshoot/DeviceListed.py (DeviceListed.display): Don't
perform expensive operation if we're moving backwards and this
page will not be displayed.
2008-12-11 Tim Waugh <twaugh@redhat.com>
* troubleshoot/ErrorLogCheckpoint.py
(ErrorLogCheckpoint.enable_clicked): Reconnect after adjusting
server settings.
* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.button_clicked):
Likewise.
2008-12-11 Tim Waugh <twaugh@redhat.com>
* troubleshoot/ErrorLogCheckpoint.py
(ErrorLogCheckpoint.enable_clicked): Handle values like '1m' for
MaxLogSize.
2008-12-11 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.server_settings_response): Reload
server settings after advanced server settings dialog has
finished.
2008-12-09 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.populateList): Allow prompting
again even if we disallowed it for one operation.
2008-12-04 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.fillPrinterTab): Localize a copy
of the PPD, retaining the original in-memory representation.
(GUI.fillPrinterOptions): Use the localized PPD for widget labels,
and the original PPD for value writebacks.
(NewPrinterGUI.getNPPPD): Don't localize PPDs here.
(NewPrinterGUI.on_btnNPApply_clicked): Likewise.
2008-12-04 Tim Waugh <twaugh@redhat.com>
* cupshelpers/cupshelpers.py (Printer.__init__, Printer.getPPD):
Cache the temporary PPD filename instead of the in-memory
representation, to allow for a separate localized in-memory copy.
(Printer.__del__): Remove the temporary PPD file.
2008-11-27 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.fillDeviceTab): Removed
some dead code.
2008-11-26 Tim Waugh <twaugh@redhat.com>
* troubleshoot/ErrorLogCheckpoint.py
(ErrorLogCheckpoint.collect_answer): Make sure to use
authenticated connection here.
2008-11-26 Tim Waugh <twaugh@redhat.com>
* troubleshoot/DeviceListed.py (DeviceListed.display): Avoid
traceback if getDevices fails.
2008-11-24 Tim Waugh <twaugh@redhat.com>
* troubleshoot/CheckLocalServerPublishing.py
(CheckLocalServerPublishing.__init__): Fixed option description
(bug #462934).
2008-11-24 Tim Waugh <twaugh@redhat.com>
* troubleshoot/ErrorLogCheckpoint.py
(ErrorLogCheckpoint.collect_answer): Prevent exception when
getFile fails.
* troubleshoot/ErrorLogFetch.py (ErrorLogFetch.display): Likewise.
* troubleshoot/PrintTestPage.py (PrintTestPage.print_clicked):
Likewise for printTestPage.
2008-11-24 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.maintenance_command): Remove
temporary file.
2008-11-24 Tim Waugh <twaugh@redhat.com>
* cupshelpers/cupshelpers.py
(missingPackagesAndExecutables): Don't leak file descriptors, and
clean up temporary files.
2008-11-21 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.add_job): Update job creation times.
2008-11-21 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.setDataButtonState): Avoid
use-before-set traceback (trac #111).
2008-11-21 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.__init__): Remember which user to connect as.
(Monitor.cleanup): Connect as correct user (trac #110).
(Monitor.get_notifications): Likewise.
(Monitor.refresh): Likewise.
(Monitor.fetch_jobs): Likewise.
2008-11-21 Tim Waugh <twaugh@redhat.com>
* cupshelpers/cupshelpers.py (Device.__cmp__): Sort usb devices
before hal devices (trac #109).
2008-11-19 Tim Waugh <twaugh@redhat.com>
* authconn.py (Connection._perform_authentication): If we get
IPP_FORBIDDEN, switch to asking for the root password.
2008-11-19 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.getNPPPD): Localize the
PPD.
(NewPrinterGUI.on_btnNPApply_clicked): Likewise.
* cupshelpers/cupshelpers.py (Printer.getPPD): Likewise.
2008-11-19 Tim Waugh <twaugh@redhat.com>
* glade/ConnectDialog.glade: Pressing Return in the Connect
dialog activates the Connect... button.
2008-11-18 Tim Waugh <twaugh@redhat.com>
* cupshelpers/ppds.py
(PPDs.orderPPDNamesByPreference.sort_ppdnames.is_C_locale): Catch
exceptions when examining file names (Ubuntu #299074).
2008-11-13 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.init): Fetch PPDs in a
background thread, again.
2008-11-13 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.cleanup): Remove any pending timers.
2008-11-13 Tim Waugh <twaugh@redhat.com>
* authconn.py (Connection._authloop): Remember the distinction
between a canceled dialog and an authentication we've given up
on.
* errordialogs.py (show_IPP_Error): Only show IPP error dialog for
errors not caused by a canceled authentication dialog.
2008-11-12 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.queryDevices,
NewPrinterGUI.getDevices_thread): Removed.
(NewPrinterGUI.fetchDevices): Run in the main thread instead of
starting a new one. This is necessary because the default
configuration of CUPS 1.4 is to require an authenticated system
user, and to do that we may need to present an authentication
dialog.
* PhysicalDevice.py (PhysicalDevice): Use authconn.Connection in
case we need to present an authentication dialog.
* troubleshoot/DeviceListed.py (DeviceListed.display): Likewise.
2008-11-07 Tim Waugh <twaugh@redhat.com>
* authconn.py (Connection._perform_authentication): Grab keyboard
and mouse when showing authentication dialog.
* pysmb.py (AuthContext.perform_authentication): Likewise.
* jobviewer.py (JobViewer.display_auth_info_dialog): Likewise.
(JobViewer.auth_info_dialog_response): Ungrab them.
2008-11-07 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.auth_info_dialog_response): Don't leak
AuthDialog.
2008-11-06 Tim Waugh <twaugh@redhat.com>
* troubleshoot/CheckNetworkServerSanity.py
(CheckNetworkServerSanity.display): Use strictly correct smb URI.
2008-11-06 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(NewPrinterGUI.on_tvNPDownloadableDrivers_cursor_changed): Fixed
traceback in downloadable driver dialog.
2008-10-06 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py, glade/NewPrinterWindow.glade: Display
more driver info for downloadable drivers from OpenPrinting:
Manufacturer/third-party-supplied? Free software? Patent issues?
Recommended? Functionality, support contacts. The license text
will now always be shown if available, but the user will only
asked whether he accepts it in the case of a non-free license or
patentissues.
2008-11-06 Tim Waugh <twaugh@redhat.com>
* cupshelpers/cupshelpers.py (Printer.setAsDefault): Removed
old reconnect call which caused a traceback. Return a boolean
indicating whether reconnection is necessary.
* system-config-printer.py (GUI.set_default_printer): Reload only
if necessary.
(GUI.rename_printer): Likewise.
2008-11-05 Tim Waugh <twaugh@redhat.com>
* configure.in: Version 1.0.10.
2008-11-06 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.reconnect): Sleep before
reconnection attempt, not after. The CUPS server doesn't
necessarily re-start immediately.
2008-11-05 Tim Waugh <twaugh@redhat.com>
* troubleshoot/CheckNetworkServerSanity.py
(CheckNetworkServerSanity.display): Prevent traceback.
2008-11-05 Tim Waugh <twaugh@redhat.com>
* troubleshoot/CheckPPDSanity.py: Use gpk-install-package-name
instead of system-install-packages.
2008-11-05 Tim Waugh <twaugh@redhat.com>
* applet.py (NewPrinterNotification): Use gpk-install-package-name
instead of system-install-packages.
* system-config-printer.py (NewPrinterGUI.checkDriverExists):
Likewise.
2008-11-04 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.__init__): Don't set the
IconView's item_width as that causes problem. Set the column and
row spacing instead.
2008-11-04 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.fetch_jobs): Apply specific_dests filter to
fetched jobs.
2008-11-04 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.update_connecting_devices): Only call
still_connecting once, not repeatedly.
2008-11-04 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.get_notifications): Prevent timer callbacks
while we handle client callbacks.
(Monitor.refresh): Likewise.
2008-11-04 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.refresh): Reverted recent change inverting
order of calls. The current_printers_and_jobs callback must be
called first.
(Monitor.set_process_pending): Control whether pending events may
be processed.
(Monitor.__init__): Initially they can.
(Monitor.check_still_connecting): Defer timer callback if pending
events are held.
(Monitor.get_notifications): Likewise.
(Monitor.fetch_jobs): Skip callback if events are held.
2008-11-03 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.current_printers_and_jobs): Don't
process pending events while processing new jobs list.
2008-11-03 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.set_process_pending): Control whether
pending events may be processed.
(JobViewer.__init__): Initially they can.
(JobViewer.set_statusicon_visibility): Only process pending events
if allowed to.
2008-11-03 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.update_job): Make sure the notification
is still valid after letting the status icon show itself.
(JobViewer.on_auth_notification_closed): Mark notification as
closed.
(JobViewer.job_removed): Likewise.
2008-11-03 Tim Waugh <twaugh@redhat.com>
* glade/statusicon_popupmenu.glade: Added a 'Configure Printers'
entry to the pop-up menu.
* jobviewer.py (JobViewer.on_icon_configure_printers_activate):
New method. Launch system-config-printer.
(JobViewer.poll_subprocess): New method. Collect exit status.
Fixes trac #96.
2008-11-03 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.update_job): Restored compatibility code
for pycups < 1.9.40 when connecting to CUPS and requesting
specific job attributes.
2008-11-03 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.cleanup): Close open notifications on
exit (trac #106).
2008-11-03 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.refresh): Fixed race condition causing stale
jobs (trac #107).
2008-11-03 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.update_job): Already set status icon
visibility here.
2008-11-02 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.fetch_jobs): Better logic for job trimming.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.current_printers_and_jobs): Better
debugging.
(JobViewer.job_event): Likewise.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.job_event): Remove job-hold-until from
provided job data unless it was also provided as part of the
notification. Call update_job earlier to make sure all required
attributes are present.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.add_job): Use iter while it's fresh.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.update_job): Delete auth notification
after closing it, otherwise we'll never show the notification for
this job again.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.set_statusicon_visibility): Let the icon
show/hide itself before continuing.
(JobViewer.notify_new_printer): No longer need to do that here.
(JobViewer.notify_printer_state_reason): Likewise.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.update_job): Set status icon visibility
before making auth notification visible.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.add_job): Moved fetch of required job
attributes...
(JobViewer.update_job): ...here so that job event handling has
access to all the attributes it requires.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.set_statusicon_visibility): Count auth
notifications as reasons to keep the status icon visible.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.job_removed): Close outstanding auth
notifications when the job is removed.
2008-10-31 Tim Waugh <twaugh@redhat.com>
* monitor.py (Monitor.fetch_jobs): Trim the remaining jobs after
the last job is returned.
2008-10-29 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.on_state_reason_notification_closed):
Set 'closed' data for notification instead of removing the object
from the state_reason_notifications dict.
(JobViewer.set_statusicon_visibility): Skip closed notifications
when counting how many open notifications there are.
(JobViewer.notify_printer_state_reason): No need to set
'printer-state-reason' data on object any more.
(JobViewer.state_reason_removed): Don't try closing notification
if it was already closed. Remove the notification from the
state_reasons_notification dict now that the reason is cleared.
Adjust statusicon visibility appropriately.
2008-10-29 Tim Waugh <twaugh@redhat.com>
* my-default-printer.py (Dialog.__init__): Set default window icon
(Ubuntu #290469).
2008-10-28 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.current_printers_and_jobs): Moved fetch
of required job attributes...
* jobviewer.py (JobViewer.add_job): ...here. This is needed
because all jobs are added via add_job now, even pre-existing
ones.
2008-10-28 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.__init__): Set up policy
comboboxes to separate IPP string from its presentable value.
(GUI.on_printer_changed): Updated.
(GUI.save_printer): Likewise.
(GUI.fillComboBox): Likewise.
2008-10-28 Tim Waugh <twaugh@redhat.com>
* ppdippstr.py: New module holding translations for common IPP and
PPD strings (trac #103).
* Makefile.am (nobase_pkgdata_DATA): Ship it.
* po/POTFILES.in: Translate it.
* optionwidgets.py (OptionBool.__init__, OptionPickOne.__init__):
Use it to translate PPD option names and values.
* system-config-printer.py (GUI.fillComboBox): Use it to translate
job sheet, printer operation and printer error policies.
(GUI.fillPrinterOptions): Use it to translate PPD group names.
2008-10-17 Tim Waugh <twaugh@redhat.com>
* jobviewer.py (JobViewer.get_icon_pixbuf): Use printer-printing
icon when appropriate (trac #86).
2008-10-16 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.save_printer): Prevent traceback
when printer has been deleted.
* system-config-printer.py (GUI.populateList): Cancel properties
dialog if the printer we're editing has been deleted.
Fixes Ubuntu #284444.
2008-10-16 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (GUI.__init__): Set the item width for
the icon view, for a nicer appearance.
2008-10-16 Tim Waugh <twaugh@redhat.com>
* debug.py (debugprint): Send debug output to stderr to work
around the samba bug (#5805) that closes stdout.
2008-10-16 Tim Waugh <twaugh@redhat.com>
* pysmb.py (AuthContext.perform_authentication): Fixed the SMB
authentication dialog's cancel button (bug #467127).
2008-10-15 Tim Waugh <twaugh@redhat.com>
* pysmb.py (AuthContext.perform_authentication): Don't destroy
authentication dialog until after we've fetched the details (bug
#464003).
2008-10-15 Tim Waugh <twaugh@redhat.com>
* pysmb.py: Import gettext.
2008-10-15 Tim Waugh <twaugh@redhat.com>
* smburi.py (SMBURI._construct): Don't construct URIs containing
"@/".
2008-10-15 Tim Waugh <twaugh@redhat.com>
* cupshelpers/ppds.py (PPDs.getInfoFromModel): Restrict URI in
debugging output.
2008-10-15 Tim Waugh <twaugh@redhat.com>
* pysmb.py (AuthContext.perform_authentication): Show an error
dialog if the password was incorrect (bug #465407).
* po/POTFILES.in: Translate pysmb.py (no new translatable
strings).
2008-10-15 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(NewPrinterGUI.on_btnSMBVerify_clicked): Don't show an error
dialog if the SMB authentication dialog is cancelled by the
user (bug #465407).
2008-10-15 Tim Waugh <twaugh@redhat.com>
* print-applet.desktop.in (NotShowIn): Don't show the applet in
KDE, as that provides its own version (bug #466945).
2008-10-10 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py
(GUI.__init__.UnobtrusiveButton.__init__): Don't use a LinkButton
for the 'Problems?' button (bug #465407).
2008-10-10 Tim Waugh <twaugh@redhat.com>
* glade/PrinterPropertiesDialog.glade: Don't set non-zero page
size for SpinButtons.
2008-10-10 Tim Waugh <twaugh@redhat.com>
* errordialogs.py (show_IPP_Error): Don't show an error dialog if
an IPP operation's authentication dialog is cancelled by the
user (bug #465407).
* authconn.py: Show an error dialog if the password was
incorrect (bug #465407).
2008-10-09 Till Kamppeter <till.kamppeter@gmail.com>
* system-config-printer.py: Use message "Searching for
downloadable drivers" in the wait window when polling OpenPrinting
database vis Jockey.
2008-10-09 Tim Waugh <twaugh@redhat.com>
* system-config-printer.glade: Renamed server_settings to
server_settings_menu_entry to avoid naming collision.
* system-config-printer.py (GUI.setConnected): Set Server
Settings... menu entry sensitive depending on whether we are
connected to a server (Ubuntu #280736).
2008-09-26 Tim Waugh <twaugh@redhat.com>
* system-config-printer.py (NewPrinterGUI.fetchJockeyDriver):
Make this translatable string the same as another to avoid
breaking the Fedora string freeze.
2008-09-25 Till Kamppeter <till.kamppeter@gmail.com>
* applet.py, cupshelpers/ppds.py, system-config-printer.py: Added
support for automatic printer driver download from OpenPrinting
via Jockey. If no exactly matching driver for a new printer is
found, Jockey is asked for a driver via D-Bus. If Jockey actually
downloads a driver this way, the PPD list is rebuilt and if one of
the new PPDs installed by the driver package matches the printer,