summaryrefslogtreecommitdiffstats
path: root/source3/printing
Commit message (Collapse)AuthorAgeFilesLines
...
* more NTSTATUS/WERROR conversionAndrew Tridgell2001-09-032-16/+16
| | | | (This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
* the next step in our error code handling changeAndrew Tridgell2001-09-031-12/+11
| | | | | | | | | - added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there (This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
* updated copyright for Michael SweetAndrew Tridgell2001-09-021-1/+1
| | | | (This used to be commit 9d53473f302f172c10854b8df3000552918d0637)
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-271-6/+6
| | | | (This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
* converted smbd to use NTSTATUS by defaultAndrew Tridgell2001-08-271-1/+0
| | | | | | | | | | | | | | | | | major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
* get rid of compiler warningsHerb Lewis2001-08-241-1/+1
| | | | (This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
* Fixed detection of CUPS. We need to check for the presence of the cupsTim Potter2001-08-233-8/+8
| | | | | header files as well as libcups. (This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)
* this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-121-9/+51
| | | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
* Merge in the NT drivers changes from 2.2.Jeremy Allison2001-08-102-400/+643
| | | | | Jeremy. (This used to be commit a3781ad38ff6c70238e7e9b83324477e5c9780d5)
* Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter2001-08-102-26/+26
| | | | | | emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes. (This used to be commit 5f5ed41ee872d842e944cd2e84a80de714ad4385)
* Fixed typo in patch.Jeremy Allison2001-08-101-1/+1
| | | | | Jeremy. (This used to be commit 36e01dcdbd0fc0083ac31ec942bb033a2997a16a)
* Added fix from Dan Thibadeau @ HP for parsing problem.Jeremy Allison2001-08-091-0/+13
| | | | | Jeremy. (This used to be commit 635f3a3ee2704bb593aaa2642be6c5ec00830b64)
* Merged John's fix.Jeremy Allison2001-08-091-1/+1
| | | | | Jeremy. (This used to be commit 61141c371ae160f03c2259e2dbc0910e63890275)
* Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce2001-08-081-6/+6
| | | | | | | | changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c) (This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
* Fixup error returns in updating driver db version.Jeremy Allison2001-07-301-22/+40
| | | | | Jeremy. (This used to be commit 5bd39ce233fd14d01f434f39ce53e3e77b428845)
* Added "use mmap" for HPUX.Jeremy Allison2001-07-301-3/+3
| | | | | Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
* Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter2001-07-251-4/+4
| | | | | | | According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
* Same fix for resume as for pause.Jeremy Allison2001-07-231-1/+2
| | | | | Jeremy.i (This used to be commit 9444fc554ba31ef516d0d98bbfe7f1af883e3970)
* Fix for CUPS pause/restart code.Jeremy Allison2001-07-231-2/+2
| | | | | Jeremy. (This used to be commit 592ef3d8eaea6421db758f39b694c84e8f66ec20)
* Fix for cups compile.Jeremy Allison2001-07-231-16/+17
| | | | | Jeremy. (This used to be commit e90ad081ada5f3e11abe833b16a6416025ebcea5)
* iFix from "Shahms E. King" <shahms@shahms.com> to get cups user nameJeremy Allison2001-07-171-6/+6
| | | | | | right. Jeremy. (This used to be commit 34244c2a8d02d09b60dfba30b239b9764b60d35a)
* Fix for incorrect creation of print job names, based on a patch byJeremy Allison2001-07-161-2/+2
| | | | | | José M.Rodríguez <josemi@iies.es> Jeremy. (This used to be commit 7ebf284ef7597ee347deb5245d6ba222a102f55d)
* Fix from Jim Vopni - muliple definitions of "letter".Jeremy Allison2001-07-161-2/+0
| | | | | Jeremy. (This used to be commit 5aa3b18f69646669c8548d1f49214a47dcb39a36)
* Changed instances of TRUE, FALSE to True, False as some compilers don'tTim Potter2001-07-121-1/+1
| | | | | have the first set of symbols. (This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)
* Removed unused local variables.Tim Potter2001-07-101-8/+0
| | | | (This used to be commit fa1dfb681b2c7e2de59d6b439ceea738d6f11aff)
* split the nt_drivers.tdb in 3 separate tdb files. Should speed-up lookupsJean-François Micouleau2001-07-091-32/+114
| | | | | J.F. (This used to be commit c08e22713ea4ddbc4951dc8dcc40609eb0039ddb)
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-045-40/+40
| | | | | | can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
* The big character set handling changeover!Andrew Tridgell2001-07-046-35/+13
| | | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
* Fixed extra file_free calls - my fault :-(.Jeremy Allison2001-07-021-14/+4
| | | | | Jeremy. (This used to be commit 2f8b84bda040edc87a7af29c3a281cf335e392cb)
* Properly instrument print_job_start()/print_job_end() so every fail caseJeremy Allison2001-06-281-4/+20
| | | | | | logs a debug. We need this to track fail cases. Jeremy (This used to be commit fe5cac150d7491a7dfdaf2a54998178bbfe5a303)
* SGI compiler fixes.Herb Lewis2001-06-261-0/+6
| | | | | Jeremy (This used to be commit 45bf995bf62aa6cc176d57e2f954cc2d379717ef)
* Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(),Jeremy Allison2001-06-221-5/+5
| | | | | | we need to close with close_file(). Jeremy. (This used to be commit 5b2ffd160f3b4b9607bb6fd6db1644af9254ad9e)
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-042-2/+2
| | | | (This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
* merge from 2.2 (deleteprinterdriver RPC)Gerald Carter2001-05-181-0/+101
| | | | (This used to be commit 515caaf7b448e55206433a9ca04fb5078f91cde2)
* Replaced a whole bunch of lookup_name() requests inTim Potter2001-05-101-8/+11
| | | | | | | construct_default_printer_sdb() with checks of the owner rid instead. This should be much faster, work on non-English systems and systems with renamed user or group names. (This used to be commit 8b435b0a2ab1fa060473753fa05f0aba8406b607)
* Merging Gerald's "no printer driver" fix from 2.2.Jeremy Allison2001-05-031-0/+10
| | | | | Jeremy. (This used to be commit 409b1e4d1b996b26eee80bf5cb4edd962e4a4c76)
* More debug %d -> %u issues.Jeremy Allison2001-04-271-6/+6
| | | | | Jeremy. (This used to be commit 6fcb600dcd23c61d1a7d2ce8c2b7b2eea2e58623)
* Removed mktemp from HEAD - same as done in 2.2.Jeremy Allison2001-04-182-18/+9
| | | | | Jeremy. (This used to be commit 121b59669fbcd1aaedb08011ff36169fc6561c55)
* configure:Jeremy Allison2001-04-142-16/+8
| | | | | | | | | | | | | | | | | | | | | | | configure.in: include/config.h.in: include/profile.h: smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway). smbd/dosmode.c: smbd/files.c: printing/printfsp.c: smbd/close.c: smbd/open.c: Fixed "dos filemode" correctly so there are no race conditions. Forces test of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls standard close function that preserves POSIX locks due to POSIX-me-harder braindamage. :-). Andrew please review this code. Also - in removing the tmpdir param in smbrun an extra NULL parameter was missed in each print_run_command() call (which is a varargs fn.). Now fixed. Jeremy. (This used to be commit 32397e5bc6d995ce7ca37c82d6aedc1e5b1b6fbd)
* Merge of Andrew's changes in 2.2.Jeremy Allison2001-04-131-23/+4
| | | | | Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
* As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison2001-04-131-11/+20
| | | | | | be read. Jeremy. (This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)
* Fixed missing HAVE_STDARG_H.Jeremy Allison2001-04-101-4/+20
| | | | | Jeremy. (This used to be commit 7cdd87954634cadda042df06c2f56aac40a7d743)
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-081-10/+10
| | | | | Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
* Added per-share security tdb. Tidied up many slprintfs (need -1 on length).Jeremy Allison2001-04-081-38/+39
| | | | | Jeremy. (This used to be commit d786191bc116c17a3f53a1c272d969942b7e5d25)
* Sync up with new NT forms code.Jeremy Allison2001-04-031-20/+155
| | | | | Jeremy. (This used to be commit 63ce316d870be0cf61ae669c955479ec175fdaef)
* Fixed typo bug spotted by Jim Vopni jimv@metrics.com. Caused no status toJeremy Allison2001-03-281-1/+1
| | | | | | | be returned. Jeremy. CVS ---------------------------------------------------------------------- (This used to be commit 5b7f4cf271ad449277c0ea7a825ed4d50205d729)
* Patch from itegem <J.P.M.v.Itegem@ele.tue.nl> to handle LPRng v3.16 and above.Jeremy Allison2001-03-271-11/+30
| | | | | Jeremy (This used to be commit 40bccf26dbdb88c639d272d511bfce510a43de2a)
* Fix from Dave Collier Brown to log a debug at level zero on common misconfigure.Jeremy Allison2001-03-261-1/+13
| | | | | Jeremy. (This used to be commit 4a3d2a13d3b0acab69c27b5b6522575b949eb5e6)
* Two OS/2 printer fixes from Jim McDonough @ IBM.Jeremy Allison2001-03-231-0/+85
| | | | | | | | First one adds a new info level into the lanman printing and an ioctl to the trans2 code. Andrew - this uses ASCII only. It looks ok to me but please check ! Second one adds a parameter "os2 driver map" that allows OS/2 driver names to be mapped. Jeremy. (This used to be commit da79b519e0b6b4317d7fb5260d74e0e74a7e0b46)
* Added Michael Sweet's CUPS patch to call directly into the CUPS backend.Jeremy Allison2001-03-162-168/+1023
| | | | | | | Parameterises the printing functions so other backends can be plugged directly in (this is a good thing :-). Jeremy. (This used to be commit c0345bbaed5d1aac777f1a33ff84ad1899f2ed6d)