]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Merge changes from CUPS 1.4svn-r7770.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 18 Jul 2008 21:45:31 +0000 (21:45 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 18 Jul 2008 21:45:31 +0000 (21:45 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@872 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-1.3.txt
Makefile
cups/conflicts.c
cups/mark.c
desktop/cups.desktop
scheduler/dirsvc.c
scheduler/ipp.c
scheduler/job.c

index 7324c268d934fb176fe74768d2d86b55f6454f69..94106486d861122a3ffabced39997af11e1a280b 100644 (file)
@@ -5,6 +5,8 @@ CHANGES IN CUPS V1.3.8
 
        - Documentation updates (STR #2785, STR #2861, STR #2862)
        - The IPP backend did not relay marker-* attributes.
+       - The CUPS GNOME/KDE menu item was not localized for
+         Chinese (STR #2880)
        - The CUPS GNOME/KDE menu item was not localized for
          Japanese (STR #2876)
        - The cupstestppd utility reported mixed line endings for
index fefe1336d131f3adccf2789ab3ae73a7bcdd8426..9074d67315942b2853a44829c8f1e48e1d87581e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -114,7 +114,9 @@ clang:
        else \
                rm -rf clang/*; \
        fi
-       $(MAKE) $(MFLAGS) CC="scan-build -o ../clang $(CC)" clean all
+       $(MAKE) $(MFLAGS) CC="scan-build -o ../clang $(CC)" \
+               CXX="scan-build -o ../clang $(CXX)" clean all
+       test `ls -1 clang | wc -l` != 0 || exit 1
 
 
 #
index 79dbb417413f8d869dd84b7542ad7e9cfdc9d9ae..042bfdcec6f74bc87fa0bbc3f00ea7d280f4f5c9 100644 (file)
@@ -87,8 +87,6 @@ ppdConflicts(ppd_file_t *ppd)         /* I - PPD to check */
   * Clear all conflicts...
   */
 
-  conflicts = 0;
-
   for (o = ppdFirstOption(ppd); o; o = ppdNextOption(ppd))
     o->conflicted = 0;
 
index b0de90076f2545be6330d8e92fca17a4f7b9c8e9..bad9303aa39c814d3378501a1c0ea4a5a66415d6 100644 (file)
@@ -722,7 +722,7 @@ ppd_mark_choices(ppd_file_t *ppd,   /* I - PPD file */
                *option;                /* Current option */
 
 
-  if (!options)
+  if (!s)
     return;
 
   options     = NULL;
index 1f264ad0a872a138127e71a204777e39265638aa..78cf19cfae77e40789b38c7b0de45b814039866d 100644 (file)
@@ -15,6 +15,8 @@ X-KDE-SubstituteUID=false
 X-KDE-Username=
 Name=Manage Printing
 Comment=CUPS Web Interface
+Name[de]=Druckerverwaltung
+Comment[de]=CUPS Webinterface
 Name[en_US]=Manage Printing
 Comment[en_US]=CUPS Web Interface
 Name[es]=Administrar impresión
@@ -23,17 +25,17 @@ Name[et]=Trükkimise haldur
 Comment[et]=CUPS-i veebiliides
 Name[fr]=Gestionnaire d'impression
 Comment[fr]=Interface Web de CUPS
-Name[pl]=Zarządzanie drukowaniem
-Comment[pl]=Interfejs WWW CUPS
+Name[he]=נהל הדפסות
+Comment[he]=ממשק דפדפן של CUPS
+Name[id]=Manajemen Pencetakan
+Comment[id]=Antarmuka Web CUPS
 Name[it]=Gestione stampa
 Comment[it]=Interfaccia web di CUPS
 Name[ja]=印刷の管理
 Comment[ja]=CUPS Web インタフェース
-Name[he]=נהל הדפסות
-Comment[he]=ממשק דפדפן של CUPS
+Name[pl]=Zarządzanie drukowaniem
+Comment[pl]=Interfejs WWW CUPS
+Name[zh]=打印机管理
+Comment[zh]=CUPS网页界面
 Name[zh_TW]=印表管理
 Comment[zh_TW]=CUPS 網頁介面
-Name[de]=Druckerverwaltung
-Comment[de]=CUPS Webinterface
-Name[id]=Manajemen Pencetakan
-Comment[id]=Antarmuka Web CUPS
index f9c82f076ebb7666ffa0d48df60e73f5b7de8822..b2960d65dbb5effc890ee323094333adb6b13948 100644 (file)
@@ -2645,7 +2645,7 @@ process_browse_data(
       }
     }
   }
-  else
+  else if (p)
     cupsdLogMessage(CUPSD_LOG_DEBUG2,
                    "process_browse_data: %s found, type=%x, hostname=%s...",
                    name, p->type, p->hostname ? p->hostname : "(nil)");
index 621663e3a59ff279665c36923bc453809ccfb26a..cd8b6c26ea557c73aaf5a7a433d3811ab6736665 100644 (file)
@@ -10086,6 +10086,7 @@ set_job_attrs(cupsd_client_t  *con,     /* I - Client connection */
        !strcmp(attr->name, "job-detailed-status-messages") ||
        !strcmp(attr->name, "job-document-access-errors") ||
        !strcmp(attr->name, "job-id") ||
+       !strcmp(attr->name, "job-impressions-completed") ||
        !strcmp(attr->name, "job-k-octets") ||
         !strcmp(attr->name, "job-originating-host-name") ||
         !strcmp(attr->name, "job-originating-user-name") ||
@@ -10099,7 +10100,6 @@ set_job_attrs(cupsd_client_t  *con,     /* I - Client connection */
        !strcmp(attr->name, "number-of-intervening-jobs") ||
        !strcmp(attr->name, "output-device-assigned") ||
        !strncmp(attr->name, "date-time-at-", 13) ||
-       !strncmp(attr->name, "job-impressions", 15) ||
        !strncmp(attr->name, "job-k-octets", 12) ||
        !strncmp(attr->name, "job-media-sheets", 16) ||
        !strncmp(attr->name, "time-at-", 8))
index 9b025a387abe4ba1fcbab028fa3b89beb1e72029..0669ec028a33cc42f35b15e31a066c2e212865d6 100644 (file)
@@ -2890,18 +2890,22 @@ start_job(cupsd_job_t     *job,         /* I - Job ID */
        continue;
 
       if (!strncmp(attr->name, "job-", 4) && strcmp(attr->name, "job-uuid") &&
+          strcmp(attr->name, "job-impressions") &&
+          strcmp(attr->name, "job-originating-host-name") &&
           !(printer->type & CUPS_PRINTER_REMOTE))
        continue;
 
       if (!strncmp(attr->name, "job-", 4) &&
           strcmp(attr->name, "job-uuid") &&
           strcmp(attr->name, "job-billing") &&
+          strcmp(attr->name, "job-impressions") &&
           strcmp(attr->name, "job-sheets") &&
           strcmp(attr->name, "job-hold-until") &&
          strcmp(attr->name, "job-priority"))
        continue;
 
-      if ((!strcmp(attr->name, "page-label") ||
+      if ((!strcmp(attr->name, "job-impressions") ||
+           !strcmp(attr->name, "page-label") ||
            !strcmp(attr->name, "page-border") ||
            !strncmp(attr->name, "number-up", 9) ||
           !strcmp(attr->name, "page-ranges") ||