Created at 21:01 Oct 14, 2005 by mike, last modified at 21:01 Oct 14, 2005
A new weekly snapshot of CUPS 1.2svn (r4797) is now available on the download page:
http://www.cups.org/software.php
This snapshot contains pre-release software and should not be used on production systems.
Commit Log:
------------------------------------------------------------------------ r4797 | mike | 2005-10-14 18:46:11 -0400 (Fri, 14 Oct 2005) | 3 lines Update RPM test script to strip "M" from svnversion output and verify that we are run from the correct directory. ------------------------------------------------------------------------ r4796 | mike | 2005-10-14 17:35:46 -0400 (Fri, 14 Oct 2005) | 16 lines Some more IPv6 fixes (STR #1313) conf/cupsd.conf.in: - Use "localhost" instead of "127.0.0.1" for default listen address. cups/auth.c: - cups_local_auth(): Fix DEBUG_printf. scheduler/conf.c: - cupsdReadConfiguration(): Don't free domain socket address on reload. - get_address(): NULL hostname check. - read_configuration(): Only support IPv4 addresses for browsing. ------------------------------------------------------------------------ r4795 | mike | 2005-10-14 17:21:02 -0400 (Fri, 14 Oct 2005) | 8 lines Fix some includes and definitions (STR #1317) backend/lpd.c: - Make rresvport_af() static. cups/http-private.h: - Include <limits.h> to get INT_MAX definition. ------------------------------------------------------------------------ r4794 | mike | 2005-10-14 09:16:35 -0400 (Fri, 14 Oct 2005) | 2 lines Remove unused file. ------------------------------------------------------------------------ r4793 | mike | 2005-10-14 09:16:12 -0400 (Fri, 14 Oct 2005) | 5 lines Change default installation directory to /private/etc and /private/var on MacOS X. Finish up OSX packaging stuff, and create disk images. ------------------------------------------------------------------------ r4792 | mike | 2005-10-14 07:55:49 -0400 (Fri, 14 Oct 2005) | 2 lines Add OSX installer images. ------------------------------------------------------------------------ r4791 | mike | 2005-10-13 21:39:44 -0400 (Thu, 13 Oct 2005) | 2 lines Fixup OSX package building. ------------------------------------------------------------------------ r4790 | mike | 2005-10-13 17:08:10 -0400 (Thu, 13 Oct 2005) | 2 lines Save work on this script... ------------------------------------------------------------------------ r4789 | mike | 2005-10-13 16:56:03 -0400 (Thu, 13 Oct 2005) | 2 lines Add files for MacOS X test packages. ------------------------------------------------------------------------ r4788 | mike | 2005-10-13 16:55:28 -0400 (Thu, 13 Oct 2005) | 2 lines Copy spec file changes to .in file... ------------------------------------------------------------------------ r4787 | mike | 2005-10-13 16:13:21 -0400 (Thu, 13 Oct 2005) | 2 lines Separate API help from user help. ------------------------------------------------------------------------ r4786 | mike | 2005-10-13 16:10:22 -0400 (Thu, 13 Oct 2005) | 2 lines Add API help to installation list. ------------------------------------------------------------------------ r4785 | mike | 2005-10-13 15:39:05 -0400 (Thu, 13 Oct 2005) | 6 lines Update API help. Start tagging documentation with @since...@ and @deprecated@ in the comments so that our documentation generator can pickup on that metadata... ------------------------------------------------------------------------ r4784 | mike | 2005-10-13 09:25:47 -0400 (Thu, 13 Oct 2005) | 7 lines Don't set hostname in URI passed for printers and jobs, use localhost which always works for this type of connection. cups/util.c: - cupsCancelJob(): Just use ipp://localhost/jobs/jobid. - cupsPrintFiles2(): Just use ipp://localhost/printers/name. ------------------------------------------------------------------------ r4783 | mike | 2005-10-12 22:06:21 -0400 (Wed, 12 Oct 2005) | 15 lines cgi-bin/admin.c: - do_config_printer(): Add printer-error-policy and printer-op-policy and policies group for set printer options web UI. scheduler/conf.c: - cupsdReadConfiguration(): Delete all policies on a reload. scheduler/ipp.c: - add_class(), add_printer(): printer-op-policy and printer-error-policy atributes are name values. - get_default(), get_printer_attrs(), get_printers(): fix sending of printer-error-policy (was sending op_policy string instead of error_policy) ------------------------------------------------------------------------ r4782 | mike | 2005-10-12 21:02:34 -0400 (Wed, 12 Oct 2005) | 7 lines Send a browse delete packet when setting printer-is-shared to false. scheduler/ipp.c: - add_class(), add_printer(): Do cupsdSendBrowseDelete() when setting printer-is-shared to false on a queue where printer-is-shared is true. ------------------------------------------------------------------------ r4781 | mike | 2005-10-12 20:54:01 -0400 (Wed, 12 Oct 2005) | 8 lines Fix show/share checkbox stuff, and remove mandatory authentication on /admin (the policy stuff will force it as needed...) cgi-bin/admin.c: - do_config_server(): Remove AuthType from /admin. - do_menu(): Change REMOTE_PRINTERS to depend on both Browsing and BrowseAllow. ------------------------------------------------------------------------ r4780 | mike | 2005-10-12 20:38:28 -0400 (Wed, 12 Oct 2005) | 2 lines Define IPV6_V6ONLY on Linux as needed (glibc 2.3.2 workaround) ------------------------------------------------------------------------ r4779 | mike | 2005-10-12 15:44:42 -0400 (Wed, 12 Oct 2005) | 6 lines Sort the interface list. scheduler/network.c: - cupsdNetIFUpdate(): Insert the interfaces in sorted order so that multiple protocol matches work properly. ------------------------------------------------------------------------ r4778 | mike | 2005-10-12 15:20:13 -0400 (Wed, 12 Oct 2005) | 15 lines Fix some more IPv6 issues. cups/http-addr.c: - httpAddrString(): Apparently the Linux implementation of getnameinfo() appends "%ifname" to the end of IPv6 addresses. Check for this and remove as needed. scheduler/auth.c: - cupsdCheckAuth(): Loop through all interface listings with the same name. scheduler/dirsvc.c: - cupsdSendBrowse(): Only broadcast on IPv4 addresses. ------------------------------------------------------------------------ r4777 | mike | 2005-10-12 14:36:24 -0400 (Wed, 12 Oct 2005) | 2 lines Add some debugging for cupsdNetIFUpdate()... ------------------------------------------------------------------------ r4776 | mike | 2005-10-12 10:36:23 -0400 (Wed, 12 Oct 2005) | 7 lines Only use domain socket if we can create/bind it... scheduler/listen.c: - cupsdStartListen(): Only set have_domain if we have successfully listened on the domain socket. Also always set IPP_PORT and CUPS_ENCRYPTION. ------------------------------------------------------------------------ r4775 | mike | 2005-10-12 10:27:37 -0400 (Wed, 12 Oct 2005) | 21 lines Some domain socket fixes, plus fix a partial reload issue in the scheduler - wasn't updating the printer attributes and removing remote/implicit printers when browsing was disabled... cups/ipp-support.c: - ippPort(): Only use a port > 0. cups/usersys.c: - cupsServer(): Only use the default domain socket if it exists. cgi-bin/admin.c: - Add Listen for default domain socket, if it exists. scheduler/conf.c: - Update printers on a partial reload. scheduler/printers.c: scheduler/printers.h: - cupsdUpdatePrinters(): Added. ------------------------------------------------------------------------ r4774 | mike | 2005-10-12 09:42:48 -0400 (Wed, 12 Oct 2005) | 10 lines Fix handling of listeners that are not open. scheduler/listen.c: - cupsdPauseListening(), cupsdResumeListening(): Remove first listener check, just do the loop. scheduler/main.c: - main(): Validate lis->fd before checking if there was input on that socket... ------------------------------------------------------------------------ r4773 | mike | 2005-10-12 08:25:27 -0400 (Wed, 12 Oct 2005) | 28 lines More tweakage for STR #1313, mainly to remove the IPv4-over-IPv6 address support and to properly handle addresses that can't be bound. cups/http-addr.c: - httpAddrEqual(): Drop support for IPv4-over-IPv6 addresses. - httpAddrLocalhost(): Drop support for IPv4-over-IPv6 addresses. cups/http-addrlist.c: - httpAddrGetList(): Support NULL hostname which maps to the passive listener ("any") address(es), and add different localhost fallback code. scheduler/conf.c: - get_address(): Drop deffamily and defaddress arguments, and simplify to use httpAddrGetList() exclusively for all lookups. - read_configuration(): Update to use new get_address() parameters. scheduler/listen.c: - cupsdPauseListening(), cupsdResumeListening(): Ignore listen sockets < 0. - cupsdStartListening(): Don't abort because of a socket/listen error, drop IPv4-over-IPv6 support, drop fallback to IPv4 after failed IPv6 socket on localhost/any addresses. ------------------------------------------------------------------------ r4772 | mike | 2005-10-11 20:25:21 -0400 (Tue, 11 Oct 2005) | 12 lines More IPv4 over IPv6 address support. cups/http-addr.c: - httpAddrEqual(): Properly compare IPv4 addresses to IPv4 over IPv6 addresses. - httpAddrLocalhost(): Support IPv4 loopback address in IPv6 form. scheduler/client.c: - cupsdAcceptClient(): Map IPv4 over IPv6 addresses to the "::n.n.n.n" form. ------------------------------------------------------------------------ r4771 | mike | 2005-10-11 19:42:16 -0400 (Tue, 11 Oct 2005) | 10 lines Make use of [ipv6address] consistent throughout. cups/http-addr.c: - httpAddrLookup(): Check for numeric IPv6 address and add "[]" around them as needed. - httpAddrString(): Use "[]" around IPv6 addresses. cups/http-addrlist.c: - httpAddrGetList(): Strip "[]" from numeric IPv6 addresses. ------------------------------------------------------------------------ r4770 | mike | 2005-10-11 16:20:57 -0400 (Tue, 11 Oct 2005) | 6 lines Fix implicit class lookup. scheduler/classes.c: - cupsdFindClass(): Look for both regular and implicit classes. ------------------------------------------------------------------------ r4769 | mike | 2005-10-11 12:56:40 -0400 (Tue, 11 Oct 2005) | 2 lines Fix DEBUG_printf call. ------------------------------------------------------------------------ r4768 | mike | 2005-10-10 15:48:35 -0400 (Mon, 10 Oct 2005) | 7 lines Implement "first-job-id" and "first-printer-name" attributes for Get-Jobs and CUPS-Get-Printers operations, respectively. scheduler/ipp.c: - get_jobs(): Look for first-job-id attribute instead of first. - get_printers(): Look for first-printer-name attribute. ------------------------------------------------------------------------ r4767 | mike | 2005-10-10 15:23:23 -0400 (Mon, 10 Oct 2005) | 2 lines Fix compiler warnings. ------------------------------------------------------------------------ r4766 | mike | 2005-10-10 14:08:55 -0400 (Mon, 10 Oct 2005) | 7 lines The lpstat command could show the wrong active job for a printer (STR #1301) systemv/lpstat.c: - show_printers(): Loop through all active jobs and show the first job in the processing state (not just the first job) ------------------------------------------------------------------------ r4765 | mike | 2005-10-10 13:43:17 -0400 (Mon, 10 Oct 2005) | 6 lines Fix URL problem (STR #1292) cgi-bin/ipp-var.c: - ippRewriteURL(): Compare against localhost as well as the server names. ------------------------------------------------------------------------ r4764 | mike | 2005-10-09 17:15:06 -0400 (Sun, 09 Oct 2005) | 24 lines Final bits of STR #1313 - fixes for CDSA. cups/http.c: - Rename http_read_cdsa() and http_write_cdsa() to _httpReadCDSA() and _httpWriteCDSA() so they are accessible by the scheduler. cups/http-private.h: - Add prototypes for _httpReadCDSA() and _httpWriteCDSA(). scheduler/client.c: - Add get_cdsa_server_certs(). - Remove CDSAReadFunc() and CDSAWriteFunc(). - cupsdCloseClient(): Ignore SSLClose() return value. - cupsdEncryptClient(): Use _httpReadCDSA() and _httpWriteCDSA(), initialize ServerCertificatesArray as needed. scheduler/conf.c: - Remove CDSAGetServerCerts(). scheduler/server.c: - cupsdStartServer(): Remove CDSA certificate load. ------------------------------------------------------------------------ r4763 | mike | 2005-10-09 15:03:23 -0400 (Sun, 09 Oct 2005) | 9 lines Fix allowed hostnames in URIs. cups/http-support.c: - httpSeparate3(): Update list of allowed registered name characters. cups/testhttp.c: - Fix test URI for bad hostname. ------------------------------------------------------------------------ r4762 | mike | 2005-10-09 14:49:13 -0400 (Sun, 09 Oct 2005) | 16 lines Refine httpSeparate3() and update HTTP tests. cups/http.h: - Refine http_uri_status_t enumerations. cups/http-support.c: - httpSeparate3(): Update for new status values, add some validation, and make the code handle more types of URIs. cups/testhttp.c: - Revamp uri_tests. - Add base64_tests. - main(): Add httpDecode64_2(), httpEncode64_2(), and httpAddrGetList() tests, and update test program to track the number of test failures like the other programs. ------------------------------------------------------------------------ r4761 | mike | 2005-10-08 22:38:15 -0400 (Sat, 08 Oct 2005) | 6 lines Fix parsing of address masks, more of STR #1313. scheduler/conf.c: - get_addr_and_mask(): Fix parsing of IPv6 addresses, and separate IPv4 and IPv6 default masks. ------------------------------------------------------------------------ r4760 | mike | 2005-10-08 16:11:08 -0400 (Sat, 08 Oct 2005) | 43 lines More IPv6/address transparency changes for STR #1313. config-scripts/cups-network.m4: - Add check for getnameinfo(). - Remove --enable-domainsocket, just use --with-domainsocket. config.h.in: - Add HAVE_GETNAMEINFO and change CUPS_DEFAULT_DOMAINSOCKET to be #undef by default. cups/globals.h: - Remove domain_socket. - Add servername. cups/http-addr.c: - Use getnameinfo() when available, fix IPv6 address formatting. cups/http.c: - Move httpDateString(), httpDateString2(), httpDateTime(), httpDecode64(), httpDecode64_2(), httpEncode64(), and httpEncode64_2() to http-support.c. cups/http.h: - Add httpSeparate3() and http_uri_status_t. cups/http-support.c: - httpSeparate3(): Added; - Move httpDateString(), httpDateString2(), httpDateTime(), httpDecode64(), httpDecode64_2(), httpEncode64(), and httpEncode64_2() to http-support.c. cups/usersys.c: - cupsServer(): Fix domain socket support so that we use domain sockets by default when available. - cupsSetServer(): Support port name/number in server name. scheduler/conf.c: - get_address(), read_configuration(): Check for IPv6 address after we find the last colon in the value. ------------------------------------------------------------------------ r4759 | mike | 2005-10-08 14:40:03 -0400 (Sat, 08 Oct 2005) | 14 lines Use socklen_t (defined for platforms that don't provide socklen_t...) cups/http-private.h: - Define socklen_t to int on IRIX. scheduler/client.c: - cupsdAcceptClient(): Use socklen_t. scheduler/dirsvc.c: - cupsdUpdateCUPSBrowse(): Use socklen_t. scheduler/cups-lpd.c: - main(): Use socklen_t. ------------------------------------------------------------------------ r4758 | mike | 2005-10-08 14:27:12 -0400 (Sat, 08 Oct 2005) | 11 lines Support listening on multiple addresses via a single Listen/Port line. scheduler/conf.c: - get_address(): Changed to return an address list, and to automatically create an IPv4 address on the "any" address when running on OpenBSD. - read_configuration(): Use address lists from get_address(), and redo BrowsePoll to just extract the hostname and port(name), rather than doing a lookup - the cups-polld program can do that. ------------------------------------------------------------------------ r4757 | mike | 2005-10-08 06:10:46 -0400 (Sat, 08 Oct 2005) | 75 lines New IPv6-capable address list stuff for STR #1313. Basically, this change deprecates the old httpGetHostByName() interface and adds a new address list interface which supports mixed address types. backend/lpd.c: - lpd_queue(): Use new httpAddrGetList() and httpAddrFreeList() functions. backend/socket.c: - main(): Use new httpAddrConnect(), httpAddrGetList() and httpAddrFreeList() functions. cups/auth.c: - cups_local_auth(): Fix address check for new hostaddr pointer. cups/file.c: - cupsFileOpen(): Use new httpAddrConnect(), httpAddrGetList() and httpAddrFreeList() functions. cups/globals.h: - Drop ip_addrs from and add ip_addr and domain_socket members to _cups_globals_s structure. cups/http-addr.c: - httpAddrLoad(): Deleted. - httpGetHostByName(): Remove IPv6 and getaddrinfo() handling code. cups/http-addrlist.c: - Added. cups/http.c: - httpClose(): Free address list. - httpConnectEncrypt(): Use new httpAddrFreeList() and httpAddrGetList() functions. - httpReconnect(): Use new httpAddrConnect() function. cups/http.h: - Change hostaddr member of http_t structure to be a http_addr_t *. - Add addrlist member to the http_t structure. - Add httpAddrConnect(), httpAddrFreeList(), and httpAddrGetList() functions. - Remove httpAddrLoad() function. cups/http-private.h: - Add common headers. cups/util.c: - cupsGetPPD2(): Fix hostaddr references. scheduler/auth.c: - cupsdIsAuthorized(): Fix hostaddr references. scheduler/client.c: - cupsdAcceptClient(): Use httpAddrFreeList() and httpAddrGetList(), and fix hostaddr references. - pipe_command(): Fix hostaddr references. scheduler/client.h: - Add clientaddr member to cups_client_t structure. - Change ServerAddr to ServerAddrs list. scheduler/conf.c: - get_address(): Use httpAddrFreeList() and httpAddrGetList(). scheduler/listen.c: - cupsdStartListening(): Use httpAddrFreeList() and httpAddrGetList(). scheduler/network.c: - cupsdNetIFUpdate(): Use ServerAddrs list. ------------------------------------------------------------------------ r4756 | mike | 2005-10-08 01:15:36 -0400 (Sat, 08 Oct 2005) | 6 lines Fix default domain socket on OSX (STR #1313) Fix default optimization settings on OSX (STR #1313) Add a signature/version line to the top of the help index files. ------------------------------------------------------------------------ r4755 | mike | 2005-10-08 00:13:06 -0400 (Sat, 08 Oct 2005) | 2 lines Add newest URI spec. ------------------------------------------------------------------------ r4754 | mike | 2005-10-08 00:01:46 -0400 (Sat, 08 Oct 2005) | 22 lines Add write compression support, support for reading concatenated gzip files, and a test suite for the file API. cups/file.c: - Add crc member to _cups_file_s structure. - cupsFileClose(): Write trailer for compressed output. - cupsFileFlush(): Call cups_compress() for compressed output. - cupsFileOpen(): Update socket host:port parsing. - cupsFileOpenFd(): Add support for compressed output - "w1" through "w9" and "a1" through "a9" for the mode string. - cupsFilePrintf(), cupsFilePutChar(), cupsFilePuts(), cupsFileWrite(): Call cups_compress() for compressed output. - cups_compress(): Added. - cups_fill(): Update to read multiple gzip segments in a single file. cups/testfile.c: - Added. ------------------------------------------------------------------------Download · Home Page · Listing