CHANGES IN CUPS V1.1.19rc3
+ - Updated the French man pages (translation provided by
+ Gilles QUERRET)
- The scheduler would delete all printers from
printers.conf if a job was active when a HUP signal
was handled (STR #47)
-CREDITS.txt - 04/23/2003
+CREDITS.txt - 04/26/2003
------------------------
Few projects are completed by one person, and CUPS is no exception. We'd
Ulrich Oldendorf - German locale.
Giulio Orsero - Bug fixes and testing.
Kurt Pfeifle - Bug fixes, beta testing, evangelism.
+ Gilles QUERRET - French man pages.
Petter Reinholdtsen - HP-UX compiler stuff.
Stuart Stevens - HP JetDirect IPP information.
Andrea Suatoni - IRIX desktop integration and testing.
/*
- * "$Id: classes.c,v 1.34.2.15 2003/04/25 15:30:19 mike Exp $"
+ * "$Id: classes.c,v 1.34.2.16 2003/04/26 17:19:41 mike Exp $"
*
* Printer class routines for the Common UNIX Printing System (CUPS).
*
if ((c->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_IMPLICIT)) &&
c->num_printers == 0)
- DeletePrinter(c);
+ DeletePrinter(c, 1);
}
}
next = c->next;
if (c->type & CUPS_PRINTER_CLASS)
- DeletePrinter(c);
+ DeletePrinter(c, 0);
}
}
/*
- * End of "$Id: classes.c,v 1.34.2.15 2003/04/25 15:30:19 mike Exp $".
+ * End of "$Id: classes.c,v 1.34.2.16 2003/04/26 17:19:41 mike Exp $".
*/
/*
- * "$Id: dirsvc.c,v 1.73.2.30 2003/04/02 13:17:59 mike Exp $"
+ * "$Id: dirsvc.c,v 1.73.2.31 2003/04/26 17:19:41 mike Exp $"
*
* Directory services routines for the Common UNIX Printing System (CUPS).
*
{
LogMessage(L_INFO, "Remote destination \"%s\" has timed out; deleting it...",
p->name);
- DeletePrinter(p);
+ DeletePrinter(p, 1);
}
}
else if (p->browse_time < ut && count > 0 &&
/*
- * End of "$Id: dirsvc.c,v 1.73.2.30 2003/04/02 13:17:59 mike Exp $".
+ * End of "$Id: dirsvc.c,v 1.73.2.31 2003/04/26 17:19:41 mike Exp $".
*/
/*
- * "$Id: ipp.c,v 1.127.2.65 2003/04/25 15:30:20 mike Exp $"
+ * "$Id: ipp.c,v 1.127.2.66 2003/04/26 17:19:42 mike Exp $"
*
* IPP routines for the Common UNIX Printing System (CUPS) scheduler.
*
SortPrinters();
}
else
- DeletePrinter(pclass);
+ DeletePrinter(pclass, 1);
/*
* Add the class as a new local class...
SortPrinters();
}
else
- DeletePrinter(printer);
+ DeletePrinter(printer, 1);
/*
* Add the printer as a new local printer...
LogMessage(L_INFO, "Class \'%s\' deleted by \'%s\'.", dest,
con->username);
- DeletePrinter(printer);
+ DeletePrinter(printer, 0);
SaveAllClasses();
}
else
LogMessage(L_INFO, "Printer \'%s\' deleted by \'%s\'.", dest,
con->username);
- DeletePrinter(printer);
+ DeletePrinter(printer, 0);
SaveAllPrinters();
}
/*
- * End of "$Id: ipp.c,v 1.127.2.65 2003/04/25 15:30:20 mike Exp $".
+ * End of "$Id: ipp.c,v 1.127.2.66 2003/04/26 17:19:42 mike Exp $".
*/
/*
- * "$Id: printers.c,v 1.93.2.48 2003/04/25 15:30:26 mike Exp $"
+ * "$Id: printers.c,v 1.93.2.49 2003/04/26 17:19:47 mike Exp $"
*
* Printer routines for the Common UNIX Printing System (CUPS).
*
next = p->next;
if (!(p->type & CUPS_PRINTER_CLASS))
- DeletePrinter(p);
+ DeletePrinter(p, 0);
}
if (CommonData)
*/
void
-DeletePrinter(printer_t *p) /* I - Printer to delete */
+DeletePrinter(printer_t *p, /* I - Printer to delete */
+ int update) /* I - Update printers.conf? */
{
int i; /* Looping var */
printer_t *current, /* Current printer in list */
* Stop printing on this printer...
*/
- StopPrinter(p, 1);
+ StopPrinter(p, update);
/*
* Remove the dummy interface/icon/option files under IRIX...
/*
- * End of "$Id: printers.c,v 1.93.2.48 2003/04/25 15:30:26 mike Exp $".
+ * End of "$Id: printers.c,v 1.93.2.49 2003/04/26 17:19:47 mike Exp $".
*/
/*
- * "$Id: printers.h,v 1.22.2.13 2003/04/25 15:30:28 mike Exp $"
+ * "$Id: printers.h,v 1.22.2.14 2003/04/26 17:19:49 mike Exp $"
*
* Printer definitions for the Common UNIX Printing System (CUPS) scheduler.
*
extern void AddPrinterUser(printer_t *p, const char *username);
extern quota_t *AddQuota(printer_t *p, const char *username);
extern void DeleteAllPrinters(void);
-extern void DeletePrinter(printer_t *p);
+extern void DeletePrinter(printer_t *p, int update);
extern void DeletePrinterFilters(printer_t *p);
extern printer_t *FindDest(const char *name);
extern printer_t *FindPrinter(const char *name);
/*
- * End of "$Id: printers.h,v 1.22.2.13 2003/04/25 15:30:28 mike Exp $".
+ * End of "$Id: printers.h,v 1.22.2.14 2003/04/26 17:19:49 mike Exp $".
*/