Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix slowdown because of enumerating all print queues on every smbd startup. | Jeremy Allison | 2002-10-31 | 2 | -15/+18 | |
| | | | | Jeremy. | |||||
* | Check the long_archi name is not null. | Jeremy Allison | 2002-10-31 | 1 | -0/+6 | |
| | | | | Jeremy. | |||||
* | Fix problem where an fd would be left open for every printer queue. | Jeremy Allison | 2002-10-26 | 1 | -0/+27 | |
| | | | | Jeremy. | |||||
* | merge from samba_3_0 | Gerald Carter | 2002-10-21 | 2 | -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 Allison | 2002-10-16 | 1 | -1/+3 | |
| | | | | Jeremy. | |||||
* | SMB_ASSERT to check list terminates. | Jeremy Allison | 2002-10-16 | 1 | -0/+3 | |
| | | | | Jeremy | |||||
* | Add a timeout to tdb_lock_bystring(). Ensure we never have more than | Jeremy Allison | 2002-10-04 | 2 | -9/+9 | |
| | | | | | MAX_PRINT_JOBS in a queue. Jeremy. | |||||
* | At least try to get this function picked up by the autoprototyper | Andrew Bartlett | 2002-09-25 | 1 | -2/+2 | |
| | ||||||
* | merge from APP_HEAD | Gerald Carter | 2002-09-25 | 1 | -8/+32 | |
| | ||||||
* | Hold lock on NEXTJOB record for a very short time. Jerry needs to add code | Jeremy Allison | 2002-09-24 | 1 | -29/+52 | |
| | | | | | to make this rebust w.r.t. stored devicemodes. Jeremy. | |||||
* | CUPS merge from SAMBA_2_2 | Gerald Carter | 2002-09-20 | 1 | -0/+4 | |
| | ||||||
* | printjob merge from APP_HEAD regarding device modes | Gerald Carter | 2002-09-18 | 3 | -29/+133 | |
| | ||||||
* | AbortPrinter() fix merged from APP_HEAD. | Gerald Carter | 2002-09-10 | 1 | -3/+31 | |
| | ||||||
* | Revert the "reverse" change to rpc_server/srv_spoolss_nt.c, simply | Jeremy Allison | 2002-09-05 | 1 | -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 Allison | 2002-09-05 | 1 | -11/+11 | |
| | | | | Jeremy. | |||||
* | Roussed on Jeremy for not putting in enough debugs in the new print | Tim Potter | 2002-09-05 | 1 | -0/+6 | |
| | | | | notify stuff. (-: | |||||
* | Added better error code on out of space. Removed total jobs check - not | Jeremy Allison | 2002-09-04 | 1 | -48/+1 | |
| | | | | | applicable any more. Jeremy. | |||||
* | Merge of (apparently working :-) new printing notify code. | Jeremy Allison | 2002-09-04 | 1 | -16/+94 | |
| | | | | Jeremy. | |||||
* | Add bcast_msg_flags to connection struct. Allows sender to filter when | Jeremy Allison | 2002-09-04 | 1 | -12/+18 | |
| | | | | | | sending broadcast messages. Also initial cut-down of printing notify messages (not yet finished). Jeremy. | |||||
* | DeletePrinterDriver[Ex]() fixes from APP_HEAD | Gerald Carter | 2002-09-04 | 1 | -147/+125 | |
| | ||||||
* | fix up print portion of registry. Merge from APP_HEAD. | Gerald Carter | 2002-08-30 | 1 | -2/+2 | |
| | ||||||
* | merge of phant0m key fix from APP_HEAD | Gerald Carter | 2002-08-30 | 1 | -7/+152 | |
| | ||||||
* | Move to reference counting rather than lock counting. | Jeremy Allison | 2002-08-27 | 1 | -35/+57 | |
| | | | | Jeremy. | |||||
* | Handle locking correctly. | Jeremy Allison | 2002-08-27 | 1 | -2/+6 | |
| | | | | Jeremy. | |||||
* | Allow us to "lock" printer tdb entries in memory to stop them being | Jeremy Allison | 2002-08-27 | 1 | -18/+61 | |
| | | | | | re-used as cache. Jeremy. | |||||
* | * Fix DeletePrinterDataEx() to work with arbitrary registry keys | Gerald Carter | 2002-08-18 | 1 | -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 > 1 | Gerald Carter | 2002-08-18 | 1 | -1/+1 | |
| | ||||||
* | fix to allow EnumPrinterKey() to enumerate multiple levels of subkeys. | Gerald Carter | 2002-08-18 | 1 | -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 was | Gerald Carter | 2002-08-17 | 1 | -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 Carter | 2002-08-16 | 1 | -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_HEAD | Gerald Carter | 2002-08-08 | 1 | -1/+1 | |
| | ||||||
* | delete printer driver fix from APP_HEAD | Gerald Carter | 2002-08-08 | 1 | -14/+37 | |
| | ||||||
* | printing change notification merge from APPLIANCE_HEAD | Gerald Carter | 2002-08-08 | 2 | -19/+47 | |
| | ||||||
* | Merge of print notify fixes from APPLIANCE_HEAD. | Tim Potter | 2002-08-02 | 1 | -6/+5 | |
| | ||||||
* | couple of minor formatting fixes to help me see better. | Gerald Carter | 2002-07-29 | 1 | -4/+2 | |
| | ||||||
* | Merge from APPLIANCE_HEAD. | Tim Potter | 2002-07-22 | 1 | -1/+1 | |
| | ||||||
* | Ensure we're root before opening a printer backend tdb. | Jeremy Allison | 2002-07-22 | 1 | -0/+4 | |
| | | | | Jeremy. | |||||
* | And a little more 'const'. | Andrew Bartlett | 2002-07-20 | 1 | -1/+1 | |
| | ||||||
* | another intermediate checkin on the way to enumerating forms | Gerald Carter | 2002-07-20 | 1 | -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 compiler | Andrew Bartlett | 2002-07-20 | 3 | -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 of | Jeremy Allison | 2002-07-17 | 2 | -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 Allison | 2002-07-17 | 1 | -0/+79 | |
| | | | | Jeremy. | |||||
* | Put printing tdbs in a subdirectory to prevent name collisions. | Jeremy Allison | 2002-07-16 | 1 | -1/+6 | |
| | | | | Jeremy. | |||||
* | added copyright | Gerald Carter | 2002-07-11 | 1 | -0/+1 | |
| | ||||||
* | last check in for tonight. | Gerald Carter | 2002-07-11 | 1 | -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 the | Gerald Carter | 2002-07-11 | 1 | -15/+155 | |
| | | | | | file deletion now. I have the file list. One more commit should do it. | |||||
* | intermediate work on DeletePrinterDriverEx(). This call | Gerald Carter | 2002-07-11 | 1 | -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 into | Jeremy Allison | 2002-07-11 | 4 | -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 Allison | 2002-07-08 | 1 | -0/+2 | |
| | | | | Jeremy. | |||||
* | Address the string_sub problem by changing len = 0 to mean "no expand". | Jeremy Allison | 2002-07-02 | 2 | -9/+9 | |
| | | | | | | Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy. |