summaryrefslogtreecommitdiffstats
path: root/source/printing
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix slowdown because of enumerating all print queues on every smbd startup.Jeremy Allison2002-10-312-15/+18
| | | | Jeremy.
* Check the long_archi name is not null.Jeremy Allison2002-10-311-0/+6
| | | | Jeremy.
* Fix problem where an fd would be left open for every printer queue.Jeremy Allison2002-10-261-0/+27
| | | | Jeremy.
* 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
* Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).Jeremy Allison2002-10-161-1/+3
| | | | Jeremy.
* SMB_ASSERT to check list terminates.Jeremy Allison2002-10-161-0/+3
| | | | Jeremy
* 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.
* At least try to get this function picked up by the autoprototyperAndrew Bartlett2002-09-251-2/+2
|
* merge from APP_HEADGerald Carter2002-09-251-8/+32
|
* 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.
* CUPS merge from SAMBA_2_2Gerald Carter2002-09-201-0/+4
|
* printjob merge from APP_HEAD regarding device modesGerald Carter2002-09-183-29/+133
|
* AbortPrinter() fix merged from APP_HEAD.Gerald Carter2002-09-101-3/+31
|
* 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.
* Remove donotify as notifies are cheap now.Jeremy Allison2002-09-051-11/+11
| | | | Jeremy.
* Roussed on Jeremy for not putting in enough debugs in the new printTim Potter2002-09-051-0/+6
| | | | notify stuff. (-:
* Added better error code on out of space. Removed total jobs check - notJeremy Allison2002-09-041-48/+1
| | | | | applicable any more. Jeremy.
* Merge of (apparently working :-) new printing notify code.Jeremy Allison2002-09-041-16/+94
| | | | Jeremy.
* 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.
* DeletePrinterDriver[Ex]() fixes from APP_HEADGerald Carter2002-09-041-147/+125
|
* fix up print portion of registry. Merge from APP_HEAD.Gerald Carter2002-08-301-2/+2
|
* merge of phant0m key fix from APP_HEADGerald Carter2002-08-301-7/+152
|
* Move to reference counting rather than lock counting.Jeremy Allison2002-08-271-35/+57
| | | | Jeremy.
* Handle locking correctly.Jeremy Allison2002-08-271-2/+6
| | | | Jeremy.
* Allow us to "lock" printer tdb entries in memory to stop them beingJeremy Allison2002-08-271-18/+61
| | | | | re-used as cache. Jeremy.
* * 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
* fix GetPrinterDataEx() to work with registry subkeys using a depth > 1Gerald Carter2002-08-181-1/+1
|
* 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.
* * the printing code should now be back to the working state it wasGerald Carter2002-08-171-38/+19
| | | | | | | | | | before the swap from NT_PRINTER_PARAM to REGISTRY_VALUE. * XxxPrinterDataEx() functions have not been expanded to support keys other than SPOOL_PRINTERDATA_KEY yet * fixed apparent long standing bug regarding the dependentfiles list in the DRIVER_INFO struct
* Fairly large change to printing code.Gerald Carter2002-08-161-435/+311
| | | | | | | | | | | | | | | | | | | * removed support for PHANTOM_DEVMODE printer data * s/NT_PRINTER_PARAM/REGISTRY_VALUE/g - This was a good bit of work. Everything seems stable, but is not complete. * support for printer data keys other than PrinterDriverData in the store and fetch routines. Still needs to be plugged into the XxxPrinterDataEx() calls. Tested against NT4.0 & 2k. Like I said, it's not done, but doesn't crash so it shouldn't upset anyone (unless you're trying to build a Samba printer server off of HEAD). More work to come. Should settle by Monday. jerry
* one line merge from APP_HEADGerald Carter2002-08-081-1/+1
|
* delete printer driver fix from APP_HEADGerald Carter2002-08-081-14/+37
|
* printing change notification merge from APPLIANCE_HEADGerald Carter2002-08-082-19/+47
|
* Merge of print notify fixes from APPLIANCE_HEAD.Tim Potter2002-08-021-6/+5
|
* couple of minor formatting fixes to help me see better.Gerald Carter2002-07-291-4/+2
|
* Merge from APPLIANCE_HEAD.Tim Potter2002-07-221-1/+1
|
* Ensure we're root before opening a printer backend tdb.Jeremy Allison2002-07-221-0/+4
| | | | Jeremy.
* And a little more 'const'.Andrew Bartlett2002-07-201-1/+1
|
* another intermediate checkin on the way to enumerating formsGerald Carter2002-07-201-5/+9
| | | | | | via the registry. There is a seg fault here which shouldn't bother anyone until I can get it fixed. I just need a check point in case I need to roll back to this version later on.
* More fixes towards warnings on the IRIX compilerAndrew Bartlett2002-07-203-12/+7
| | | | | | | | | | | | (and yes, some of these are real bugs) In particular, the samr code was doing an &foo of various types, to a function that assumed uint32. If time_t isn't 32 bits long, that broke. They are assignment compatible however, so use that and an intermediate variable. Andrew Bartlett
* Gone back to explicit queue number passing as snum - removed encoding ofJeremy Allison2002-07-172-252/+121
| | | | | | queueid in job number. This means we must have an internal tdb to store mapping from 16 bit RAP jobid's to 32 bit RPC jobids. Jeremy.
* Lanman print jobs are *16* bits, not 32. arggggh. Map them....Jeremy Allison2002-07-171-0/+79
| | | | Jeremy.
* Put printing tdbs in a subdirectory to prevent name collisions.Jeremy Allison2002-07-161-1/+6
| | | | Jeremy.
* added copyrightGerald Carter2002-07-111-0/+1
|
* last check in for tonight.Gerald Carter2002-07-111-40/+128
| | | | | | | | | | * DeletePrinterDriverEx() now has the ability to delete driver files. I need to do some more testing tro veriofy that we are in fact not deleting a file out from under another driver, but it looks ok so far. * DeletePrinterDriver() noiw deletes all versions of the specified driver (cversion == 0, 1, 2, 3)
* all that is left to do is to actually perform theGerald Carter2002-07-111-15/+155
| | | | | file deletion now. I have the file list. One more commit should do it.
* intermediate work on DeletePrinterDriverEx(). This callGerald Carter2002-07-111-71/+146
| | | | | | will actually delete driver files ( not yet though I don't think). Just wanted to get it in since Jeremy and I are both working on nt_printing.c
* *Experimental* new large-scaling printer code. Splits printing.tdb intoJeremy Allison2002-07-114-155/+411
| | | | | | | a separate tdb per printer, but only keeps (currently one) tdb open at a time (although this is easily changed by changing a #define). Needs scalability testing with large numbers of printers now.... Jeremy.
* Fix for LPRng from James Henstridge james@daa.com.au.Jeremy Allison2002-07-081-0/+2
| | | | Jeremy.
* Address the string_sub problem by changing len = 0 to mean "no expand".Jeremy Allison2002-07-022-9/+9
| | | | | | Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy.