aboutsummaryrefslogtreecommitdiff
path: root/cups
AgeCommit message (Collapse)Author
2010-09-01Fix coding style issues in CUPS codeJohan Hedberg
2010-09-01cups: Add ability to print IEEE1284 device IDBastien Nocera
Add ability to print IEEE1284 device ID for Bluetooth printers to allow auto-configuration once paired.
2010-01-01Update copyright informationMarcel Holtmann
2009-10-02Fix unnecessary error checksSteve Grubb
2009-10-02Fix memory leaksSteve Grubb
I was doing some code reviews of the 4.54 release and found a few memory leaks. These are mostly in error paths.
2009-08-30Make discovery mode work with CUPS 1.4.xTill Kamppeter
The new CUPS 1.4.x does device discovery only for a given time frame requested by the client (printer setup tool, "lpinfo" command). CUPS's default for CUPS-1.3.x-ish requests without timeout specification seems to be 10 seconds. CUPS starts all backends at once in the beginning (in parallel) and kills every backend which remains running at the end of the timeout. It accepts output from the backends whenever it occurs not only when the backend finishes, so a backend can search for printers infinitely long if it outputs every found device immediately. Then all printers found during CUPS' timeout are taken into account. The bluetooth backend of 4.48 asks the Bluetooth daemon for printers and collects results for 10 seconds and after that it outputs them. This takes a total of 10.5 sec and so CUPS kills the backend right before it answers (at least with the 10-second default timeout), resulting in Bluetooth printers never being discovered by CUPS. This change fixes it by making each new printer added to the list being output immediately. Note that the list structure cannot be removed from cups/main.c as otherwise we would get duplicate listings. Also important is the addition of unbuffered output on stdout.
2009-08-23Switch to a full non-recursive build systemMarcel Holtmann
2009-08-11Actually read the CreateDevice replyBastien Nocera
Fixes aborts when the printer isn't a known device.
2009-08-11Don't abort cups backend on property changeBastien Nocera
Make sure the cups backend doesn't abort when trying to access a property that's not Discovering.
2009-08-11Mark Bluetooth printers as being localTill Kamppeter
For discovery purposes. Also add a better label for the printer, and append "(Bluetooth") to the "unique" name.
2009-06-27Less errors from the cups backendBastien Nocera
Don't error out when either D-Bus isn't available, bluetoothd isn't running, or there's no adapters.
2009-03-14Fix device_get_ieee1284_id return valueJohan Hedberg
2009-03-13Port CUPS discovery to BlueZ 4.xBastien Nocera
Adapt CUPS printer discovery to the BlueZ 4.x API.
2009-01-29Fix mostly every warning caused by -Wsign-compareMarcel Holtmann
2009-01-01Update copyright informationMarcel Holtmann
2008-12-23Fix inclusion of SDP and protocol function declarationsMarcel Holtmann
2008-10-31Use correct object path for manager interfaceMarcel Holtmann
2008-09-06Add temporary fix for the CUPS compile issueMarcel Holtmann
2008-05-08Emulate libgdbus API for mainloop integrationMarcel Holtmann
2008-05-08Move D-Bus mainloop integration into libgdbusMarcel Holtmann
2008-03-14Add CLASS support and retry on unavailable printersMarcel Holtmann
2008-03-06Fix CUPS error and state reportingMarcel Holtmann
2008-03-05Remove the support for SDP parsing via expatMarcel Holtmann
2008-02-02Update copyright informationMarcel Holtmann
2007-06-07Let CUPS plugin discover printers in rangeMarcel Holtmann
2006-08-20Don't create backend directory if disabledMarcel Holtmann
2006-08-20Install cups backend only when enabledMarcel Holtmann
2006-07-26Fix declared with attribute warn_unused_result errorsMarcel Holtmann
2006-01-03Update copyright informationMarcel Holtmann
2005-10-29Big cleanup of CVS relicsMarcel Holtmann
2005-07-05Fix some GCC 4.0 warningsMarcel Holtmann
2005-04-21Use LDADD instead of LIBSMarcel Holtmann
2004-12-25Add memset() to different places to initialize the structuresMarcel Holtmann
2004-08-18Print a dummy device list when called with no argumentsMarcel Holtmann
2004-07-27Make more parts optionalMarcel Holtmann
2004-07-22Retry SDP connect if busyMarcel Holtmann
2004-07-21Make use of MAINTAINERCLEANFILESMarcel Holtmann
2004-07-21Use AM_CFLAGS instead of INCLUDESMarcel Holtmann
2004-05-23Use LIBS instead of LDFLAGSMarcel Holtmann
2004-05-09Add missing include of sys/socket.hMarcel Holtmann
2004-05-02Use definitions from the Bluetooth libraryMarcel Holtmann
2004-05-02Moved the sdp_get_add_access_protos() function into the Bluetooth libraryMarcel Holtmann
2004-05-02Add Bluetooth backend for CUPSMarcel Holtmann