summaryrefslogtreecommitdiffstats
path: root/source3/printing
Commit message (Collapse)AuthorAgeFilesLines
...
* [merge] make sure to update print queue cache during timeout_processing() to ↵Gerald Carter2003-01-111-6/+15
| | | | | | send notify events; CR 1491 (This used to be commit f8a915b14d63e4fdb99235053eeb896ef9492068)
* Don't delete jobs subitted after the lpq time.Jeremy Allison2003-01-101-4/+4
| | | | | Jeremy. (This used to be commit 6cb9f6ccb1fab3ff597f52c931561d52de09e84a)
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-033-31/+31
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-202-5/+5
| | | | | | named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
* Store printer guid in the dsspooler registry key so we don't have toJim McDonough2002-12-131-72/+178
| | | | | query the directory server every time someone asks (This used to be commit dd81003bddc17522041e1cd2f0484e1760493e4a)
* More printer publishing code.Jim McDonough2002-12-131-6/+16
| | | | | | | | | - Add published attribute to info2, needed for win clients to work properly - Return proper info on getprinter 7 This means you can now look at the sharing tab of a printer and get correct info about whether it is published or not, and change it. (This used to be commit d57bddc9b22e809c79294c7eacbd5d0f115fe990)
* Fix debugs for rap mapping. Delete job on map fail.Jeremy Allison2002-12-052-3/+7
| | | | | Jeremy. (This used to be commit 6eb27e4f0dea6027ba9e041348f066c947e751c6)
* More printer data to publishJim McDonough2002-12-051-33/+89
| | | | (This used to be commit 6e2f0c4e304a09313f933a3c9c2a7b3a0219006d)
* The element in fsp->print_job should be a RAP jobid, not a uint32 RPCJeremy Allison2002-12-052-7/+43
| | | | | | | jobid. This was causing Win9x client "set name" calls to fail. Still need one cleanup fix to finish. Jeremy. (This used to be commit 6c23d2030ab8dddff4c849903c529f0012b94027)
* Janitor for tpot yet again... Merging in memory leak fix.Jeremy Allison2002-12-041-2/+2
| | | | | Jeremy. (This used to be commit 6ce50ffcda1d6bd17f027d138a985bf93985c016)
* Automatic printer publishing when using APW or choosing 'list in the ↵Jim McDonough2002-12-041-1/+143
| | | | | | directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients. (This used to be commit ca6360e8db30fc9be3fe3718c8b49c92dba5ecac)
* Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter2002-11-293-4/+0
| | | | | | | | | | should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
* This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2002-11-261-0/+204
|\ | | | | | | used to be commit 96535956090c2f6d4d91631b1980ae916dd35316)
| * [print notify fixes from APP_HEAD]Gerald Carter2002-11-263-279/+326
| | | | | | | | | | | | | | | | | | * fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 (This used to be commit 256d8c27cdc6f802f3bfba44593b07014f6ae10a)
| * No need to #include smb.h, when we already #include include.hAndrew Bartlett2002-11-243-4/+0
| | | | | | | | (This used to be commit b3049bb0d0ff97142940e2b33e9603d1c231ccfe)
| * Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2002-11-232-15/+25
| | | | | | | | | | | | Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
| * Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-18/+22
| | | | | | | | | | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
| * First cut of fix for changenotify on a print server handle. Use the ↵Jeremy Allison2002-11-101-43/+80
| | | | | | | | | | | | | | | | connections tdb with an snum of -1 and a special printername. Jeremy. (This used to be commit 940b04ddfa87acc939911e3fe76496e3c4675632)
| * Fix for scalable printing noticed by tpot. Don't loop infinatelyJeremy Allison2002-11-101-13/+36
| | | | | | | | | | | | when holding a mutex.... :-). Jeremy. (This used to be commit c206643baaae64cef38f2f74e46337d35a489ca9)
| * Fix crash bug with overwriting memory.Jeremy Allison2002-11-071-5/+3
| | | | | | | | | | Jeremy. (This used to be commit 9b08b4e4c24290e5d90a7cc2dc442cb82e73df28)
| * Keeping branches in sync....Jeremy Allison2002-11-071-1/+2
| | | | | | | | | | Jeremy. (This used to be commit ceb01b5ab1eed6e89d66687681ff3325a21e6b88)
| * Merge of scalable printing code fix... Needs testing.Jeremy Allison2002-11-072-30/+307
| | | | | | | | | | | | | | | | Also tidied up some of Richard's code (I don't think he uses the compiler flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like I do :-) :-). Jeremy. (This used to be commit 10024ed06e9d91f24fdc78d59eef2f76bf395438)
| * Fix slowdown because of enumerating all print queues on every smbd startup.Jeremy Allison2002-10-312-15/+18
| | | | | | | | | | Jeremy. (This used to be commit d05b147fb3f32031a202cf61703dc2fd969f4617)
| * Check the long_archi name is not null.Jeremy Allison2002-10-311-0/+6
| | | | | | | | | | Jeremy. (This used to be commit 9e47aa32ed96faff4a68a8e360c1353fc011adf1)
| * Fix problem where an fd would be left open for every printer queue.Jeremy Allison2002-10-261-0/+27
| | | | | | | | | | Jeremy. (This used to be commit 997c234e15a5f8d742320359a53e15a27661d456)
| * merge from samba_3_0Gerald Carter2002-10-212-73/+0
| | | | | | | | | | | | | | | | | | | | | | | | removed the following parameters * postscript * printer driver * printer driver location * printer driver file also removed the get_a_printer_driver_9x_compatible() function (This used to be commit e7dd8cf903144393b1362719d75430a2ee7e5f27)
| * Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).Jeremy Allison2002-10-161-1/+3
| | | | | | | | | | Jeremy. (This used to be commit 0d989a911d742ed5eeb874f5b8350b0931f3d9db)
| * SMB_ASSERT to check list terminates.Jeremy Allison2002-10-161-0/+3
| | | | | | | | | | Jeremy (This used to be commit 25f6a9247e88a94cbacdc8fb06dc0d13c53d69bd)
| * Add a timeout to tdb_lock_bystring(). Ensure we never have more thanJeremy Allison2002-10-042-9/+9
| | | | | | | | | | | | MAX_PRINT_JOBS in a queue. Jeremy. (This used to be commit bb58a08af459b4abae9d53ab98c15f40638ce52b)
| * At least try to get this function picked up by the autoprototyperAndrew Bartlett2002-09-251-2/+2
| | | | | | | | (This used to be commit d5303d5c080212486329f7e5a65f732e11efbb37)
| * merge from APP_HEADGerald Carter2002-09-251-8/+32
| | | | | | | | (This used to be commit 930c6710fe076b52ad21addf5fcda834f85e15a9)
| * Hold lock on NEXTJOB record for a very short time. Jerry needs to add codeJeremy Allison2002-09-241-29/+52
| | | | | | | | | | | | to make this rebust w.r.t. stored devicemodes. Jeremy. (This used to be commit f93a008f09acda2ddaff9857f2fe0c86948539d1)
| * CUPS merge from SAMBA_2_2Gerald Carter2002-09-201-0/+4
| | | | | | | | (This used to be commit cbb16eac0e79649f4383763439c7e745f27fd0cb)
| * printjob merge from APP_HEAD regarding device modesGerald Carter2002-09-183-29/+133
| | | | | | | | (This used to be commit aa52351384abace54a89c9fbfa5e4c31a8464c91)
| * AbortPrinter() fix merged from APP_HEAD.Gerald Carter2002-09-101-3/+31
| | | | | | | | (This used to be commit 97ede49e1271fa00c6ffdf9e6e3c2330ea935461)
| * Revert the "reverse" change to rpc_server/srv_spoolss_nt.c, simplyJeremy Allison2002-09-051-2/+6
| | | | | | | | | | | | | | add then entries to the end of the list in printing/notify.c using DLIST_ADD_END. Jeremy. (This used to be commit 047d6a05fb60172a2607bb7d7d03dda5403c61fa)
| * Remove donotify as notifies are cheap now.Jeremy Allison2002-09-051-11/+11
| | | | | | | | | | Jeremy. (This used to be commit 78585de5811d10bcca156e296c7dd51eabe5d626)
| * Roussed on Jeremy for not putting in enough debugs in the new printTim Potter2002-09-051-0/+6
| | | | | | | | | | notify stuff. (-: (This used to be commit 87c156704f5d8913cf7bf3134ec5ba6403d36cca)
| * Added better error code on out of space. Removed total jobs check - notJeremy Allison2002-09-041-48/+1
| | | | | | | | | | | | applicable any more. Jeremy. (This used to be commit 8828e2ea3c668aab6cda1b4be9a7e4ce1c23ca81)
| * Merge of (apparently working :-) new printing notify code.Jeremy Allison2002-09-041-16/+94
| | | | | | | | | | Jeremy. (This used to be commit 8595c6ce4d74539089b600b3b0ff858a04b793ff)
| * Add bcast_msg_flags to connection struct. Allows sender to filter whenJeremy Allison2002-09-041-12/+18
| | | | | | | | | | | | | | sending broadcast messages. Also initial cut-down of printing notify messages (not yet finished). Jeremy. (This used to be commit aca333719695b278843c59e1c6eb07d6655fd59c)
| * DeletePrinterDriver[Ex]() fixes from APP_HEADGerald Carter2002-09-041-147/+125
| | | | | | | | (This used to be commit 04874134ed83847988bad5fcad3463395dc283fb)
| * fix up print portion of registry. Merge from APP_HEAD.Gerald Carter2002-08-301-2/+2
| | | | | | | | (This used to be commit ec37633548ed329c05b93499f75883d987b78f1e)
| * merge of phant0m key fix from APP_HEADGerald Carter2002-08-301-7/+152
| | | | | | | | (This used to be commit cb13d334a53f27713665570d85607d57eb407f9f)
| * Move to reference counting rather than lock counting.Jeremy Allison2002-08-271-35/+57
| | | | | | | | | | Jeremy. (This used to be commit e7b48224c4f8c6063e1dd850cc91f5488e65a48d)
| * Handle locking correctly.Jeremy Allison2002-08-271-2/+6
| | | | | | | | | | Jeremy. (This used to be commit 4208f027cff77142df4f984a4a8985afbe30a4f1)
| * Allow us to "lock" printer tdb entries in memory to stop them beingJeremy Allison2002-08-271-18/+61
| | | | | | | | | | | | re-used as cache. Jeremy. (This used to be commit 6f901e479dd7a0b9d1395aad5b8ef028c0514fec)
| * * Fix DeletePrinterDataEx() to work with arbitrary registry keysGerald Carter2002-08-181-24/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix delete_all_printer_data() to accept a key name for partial tree deletions * Fix EnumPrinterKey() to work with subkeys * Fix DeletePrinterKey() to work with ful or partial registry trees * Fix get_printer_subkeys() to return a list of unique keynames ( some were getting added twice due to subkeys names ) * fix a couple of typos for good measure (This used to be commit b6ceb8c2e50b7fcdc614a3b6782db05b60689a85)
| * fix GetPrinterDataEx() to work with registry subkeys using a depth > 1Gerald Carter2002-08-181-1/+1
| | | | | | | | (This used to be commit 8799d4f7ccf3b3767c155d29f15cecd142d0db99)
| * fix to allow EnumPrinterKey() to enumerate multiple levels of subkeys.Gerald Carter2002-08-181-5/+62
| | | | | | | | | | Works on the top level. Needs more testing for levels > 1. (This used to be commit 32a7083843f2bf9a3f32027189dbb0ff92927cd4)