Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | printer related modules cleaning : | Thierry Vignaud | 2002-11-12 | 1 | -3306/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - create the printer/ hierarchy - split services related stuff into services.pm & printer::services, - move things that've nothing to do with printers into common.pm (alternatives, permissions, ...) - move eveything related to cups, gimp-print, detection, {star,open}office to the corresponding splited printer:: module - big consolidation of printer::office (it was obvious there were tons of duplication between staroffice and openoffice managment) - move other stuff into printer::main, printer::common, status : print.pm has been heavily splited (now one can begin to understand the little bits). printerdrake still needs to be splited/cleaned and eventually removed since printer/printerdrake modules separation is not understandable by other people till, in printer::gimp, $lprcommand is neither declared nor setted nowhere. idem in mdk9.0 ... | ||||
* | - replace ... =~ 'foo' with ... =~ /foo/ | Pascal Rigaux | 2002-11-11 | 1 | -1/+1 |
| | | | | | - remove unneeded parentheses for things like ... if (...) | ||||
* | add or remove spaces where need to please perl_checker | Pascal Rigaux | 2002-11-11 | 1 | -3/+2 |
| | |||||
* | - use "foreach" instead of "for" in list context | Pascal Rigaux | 2002-11-11 | 1 | -7/+7 |
| | | | | | - use "for" instead of "foreach" when used a la C | ||||
* | - do not use "foreach $var (...) {...}" use "foreach my $var (...) {...}" ↵ | Pascal Rigaux | 2002-11-11 | 1 | -14/+9 |
| | | | | | | | | instead (only pb are functions called in {...} that could use $var, none found except in commands.pm) - various small syntax enhancements to please perl_checker | ||||
* | fix my typos | Pascal Rigaux | 2002-11-08 | 1 | -2/+2 |
| | |||||
* | - have "local *FILEHANDLE" before each "open FILEHANDLE, ..." | Pascal Rigaux | 2002-11-06 | 1 | -66/+23 |
| | | | | | - use some "cat_" and "output" where possible | ||||
* | replace "for my ..." with "foreach my ..." | Pascal Rigaux | 2002-11-06 | 1 | -19/+19 |
| | |||||
* | remove unneeded parentheses on the right side of infix if/foreach/unless | Pascal Rigaux | 2002-11-06 | 1 | -15/+15 |
| | |||||
* | please perl_checker: | Pascal Rigaux | 2002-11-06 | 1 | -38/+32 |
| | | | | | | | - local'ize $_ before doing while (<...>) - use "foreach" instead of "for" - remove unneeded parentheses on the right side of infix if/foreach/unless | ||||
* | replace "_" with "N" and "__" with "N_" | Pascal Rigaux | 2002-11-06 | 1 | -47/+47 |
| | | | | | | | | | | | | | | | | | | | rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous! | ||||
* | typo fixes | Thierry Vignaud | 2002-11-04 | 1 | -4/+8 |
| | |||||
* | perl_checker fixes | Thierry Vignaud | 2002-10-23 | 1 | -6/+6 |
| | |||||
* | consolidate more stuff into %spoolers | Thierry Vignaud | 2002-10-17 | 1 | -28/+21 |
| | |||||
* | start to consolidate %spoolers as a data structure | Thierry Vignaud | 2002-10-17 | 1 | -20/+21 |
| | |||||
* | - printerdrake::auto_detect(local, net, smb): | Thierry Vignaud | 2002-10-17 | 1 | -19/+11 |
| | | | | | | | o split into local_detect, net_detect, net_smb_detect o detect: return all printers - printer: consolidate all *help_output into help_output | ||||
* | Fixed bug of printerdrake installing LPRng when it is started for the | Till Kamppeter | 2002-09-19 | 1 | -3/+35 |
| | | | | | | first time and CUPS is already installed without local queues but with remote CUPS servers broadcasting in their printer info. | ||||
* | Made "LPRng" show up in the spooler menu when LPRng is installed. | Till Kamppeter | 2002-09-14 | 1 | -5/+10 |
| | |||||
* | Do not insist on "curl" to download PPDs from a CUPS server (for Star ↵ | Till Kamppeter | 2002-09-13 | 1 | -23/+60 |
| | | | | | | | Office/OpenOffice.org/GIMP), take the one from "curl" and "wget" which is there. Install "webfetch" when none is there. Let "cups-drivers" be installed when switching from normal to expert mode. | ||||
* | Added timeouts to network scan with "nmap" so that scan does not take | Till Kamppeter | 2002-09-13 | 1 | -4/+14 |
| | | | | | | | | too long when there are machines running a firewall. To find running machines in the network, do not only a broadcast ping but also an "nmblookup" to also catch Windows machines which do not answer to ping. | ||||
* | - Made printer::assure_device_is_available_for_cups() more reliable by | Till Kamppeter | 2002-09-11 | 1 | -10/+19 |
| | | | | | | checking and retrying. - Do not start the network when it is not configured. | ||||
* | - Fixed bugs in automatic GIMP printer configuration during installation. | Till Kamppeter | 2002-08-30 | 1 | -33/+59 |
| | | | | | - Worked around a bug of "ls -r xxx*" returning "xxx*" instead of nothing when "xxx*" does not exist ("ls" of "busybox" during installation). | ||||
* | s/||/or/ between commands, the high-precedence "||" lead to problems sometimes. | Till Kamppeter | 2002-08-29 | 1 | -35/+35 |
| | |||||
* | Added automatical configuration of the printers in the GIMP. | Till Kamppeter | 2002-08-28 | 1 | -3/+410 |
| | |||||
* | Printerdrake remembers now whether it was in normal mode or in expert | Till Kamppeter | 2002-08-28 | 1 | -2/+49 |
| | | | | | mode last time. | ||||
* | OpenOffice.org: Remove default printer tag from the "Generic Printer" | Till Kamppeter | 2002-08-28 | 1 | -0/+6 |
| | | | | | when Printerdrake adds an entry for the system's default printer. | ||||
* | Set default text margins to half an inch and default size for images | Till Kamppeter | 2002-08-27 | 1 | -0/+32 |
| | | | | | to be printed to the full page. | ||||
* | Dialog for printing test pages: Unmark all test pages when "No test | Till Kamppeter | 2002-08-26 | 1 | -4/+13 |
| | | | | | | | pages" is marked. Accelerated printing of the photo test page when CUPS is the spooler, the internal image converter of CUPS is faster than ImageMagick. | ||||
* | Let command line tools for network scanning run under "chroot $refix", ↵ | Till Kamppeter | 2002-08-24 | 1 | -0/+247 |
| | | | | | | | otherwise they take ages during installation. Moved network scanning functions from "detect_devices.pm" to "printer.pm" so that they have access to the "$prefix" variable. | ||||
* | Taken LPRng from spooler menu in printerdrake. | Till Kamppeter | 2002-08-20 | 1 | -2/+3 |
| | |||||
* | Fixed HP multi-function device configuration during the installation: | Till Kamppeter | 2002-08-18 | 1 | -0/+6 |
| | | | | | | - Fixed mistyped package name for "mtoolsfm" - Set links for photo card reader auto-detection to work | ||||
* | Fixes to make it possible toinstall HP's multi-function devices during ↵ | Till Kamppeter | 2002-08-17 | 1 | -1/+10 |
| | | | | installation. | ||||
* | Setup of HP MF devices on parallel port did not work. Fixed. | Till Kamppeter | 2002-08-11 | 1 | -5/+27 |
| | | | | | | | Allow setup of MF device if device file name "/dev/printer/<number>" was entered. If auto-detection of model name fails, ask user always whether he has an MF device. If SNMP or local auto-detection fails but HPOJ auto-detection succeeds, use model name found by HPOJ. | ||||
* | Use any::get_secure_level() instead of printer::get_security_level(). | Till Kamppeter | 2002-08-10 | 1 | -20/+0 |
| | |||||
* | s/__END__/1; | Thierry Vignaud | 2002-08-05 | 1 | -1/+1 |
| | |||||
* | kill "wonderful perl" | Thierry Vignaud | 2002-08-05 | 1 | -4/+1 |
| | |||||
* | Finished auto-detection of network and SMB printers. | Till Kamppeter | 2002-08-05 | 1 | -25/+50 |
| | | | | | Added automatic configuration of HP's multi-function devices when connected via HP JetDirect (network). | ||||
* | Corrected strings for printer queue list in main window. | Till Kamppeter | 2002-08-02 | 1 | -3/+3 |
| | |||||
* | make perl_checker happy again (replacing "{xx}->{yy}" by "{xx}{yy}") | Pascal Rigaux | 2002-07-31 | 1 | -21/+21 |
| | |||||
* | replace "$foo" with $foo | Pascal Rigaux | 2002-07-31 | 1 | -31/+31 |
| | |||||
* | make new perl_checker happy | Pascal Rigaux | 2002-07-31 | 1 | -9/+9 |
| | |||||
* | "cp -a" doesn't need "echo yes|" | Thierry Vignaud | 2002-07-31 | 1 | -3/+1 |
| | |||||
* | make new perl_checker happy (and that's not easy!) | Pascal Rigaux | 2002-07-31 | 1 | -9/+9 |
| | |||||
* | Fixed a typo and a comment in the "SIGHUP_daemon()" function. | Till Kamppeter | 2002-07-30 | 1 | -2/+2 |
| | |||||
* | Fixed some "$prefix" issues in the HPOJ auto-configuration and in the Star ↵ | Till Kamppeter | 2002-07-29 | 1 | -5/+15 |
| | | | | Office/OpenOffice.org auto-configuration. | ||||
* | make perl_checker happy | Pascal Rigaux | 2002-07-29 | 1 | -1/+1 |
| | |||||
* | Completed implementation of the support for HPOJ 0.9: Automatic photo card ↵ | Till Kamppeter | 2002-07-27 | 1 | -41/+118 |
| | | | | reader configuration, bugfixes. | ||||
* | First step of automatic HP multi-function device configuration with HPOJ 0.9. | Till Kamppeter | 2002-07-26 | 1 | -90/+203 |
| | |||||
* | Adapted printerdrake to CUPS 1.1.15 and Perl 5.8.0 (for Foomatic). | Till Kamppeter | 2002-07-22 | 1 | -8/+33 |
| | | | | | Let network also be started during installation when LPRng or PDQ is the spooler, so that the user can install queues to remote printers. | ||||
* | use {XXX} instead of {'XXX'} (as detected by new perl_checker) | Pascal Rigaux | 2002-07-17 | 1 | -66/+66 |
| |