summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
Commit message (Collapse)AuthorAgeFilesLines
* remove some unneeded ";", add some for normalization (as told by perl_checker)Pascal Rigaux2004-11-181-5/+5
|
* add __regexp suffix to matching_desc() and matching_driver()Thierry Vignaud2004-08-271-1/+1
|
* /etc/mandrake-release is now /etc/mandrakelinux-releasePascal Rigaux2004-05-261-1/+1
|
* better error message on exceptionsPascal Rigaux2004-03-021-0/+1
|
* add unpack_with_refs()Pascal Rigaux2004-02-101-0/+21
|
* fix typoPascal Rigaux2004-02-091-1/+1
|
* move Xtest() and setMouseLive() out of c/stuff to xf86misc::mainPascal Rigaux2004-02-081-1/+5
| | | | | | so that we can use them (esp. setMouseLive) in standalone without making drakxtools-newt require xfree libs
* detect_devices::matching_driver -> matching_desc but matching driver names ↵Guillaume Cottenceau2004-01-131-1/+1
| | | | (kernel modules)
* enable other packages to override libDrakx translations with thoseThierry Vignaud2004-01-091-1/+1
| | | | | | from their own domains (eg: prevent mcc to display "partition de demarrage" instead of "demarrage" in french for "boot" ...)
* better override formatError than replacing all the formatError with ↵Pascal Rigaux2004-01-081-3/+4
| | | | | | | formatError_and_log (goal: get log'ing even now that SIG{__DIE__} is not there anymore)
* add formatError_and_log (to get log'ing even now that SIG{__DIE__} is not ↵Pascal Rigaux2004-01-081-1/+7
| | | | there anymore)
* (require_root_capability) let be --testing awareThierry Vignaud2004-01-061-1/+1
|
* perl_checker cleanupThierry Vignaud2003-12-221-1/+1
|
* do not show useless "ignore" button when requesting root password through kdesuThierry Vignaud2003-12-191-1/+1
|
* sort export listThierry Vignaud2003-10-271-1/+1
|
* add common::nonblock()Pascal Rigaux2003-10-061-0/+4
|
* no need for NC(), doing it in translate() in any casePascal Rigaux2003-08-211-8/+3
|
* perl_checker complain avout using N(@_) so NC() has been rewritten asPablo Saratxaga2003-08-211-3/+4
| | | | | a duplicate of N() plus one line
* definition and use of an NC() function (translation with context, kde like)Pablo Saratxaga2003-08-211-0/+8
|
* ensure N() is not called before ugtk2 is initialised, otherwisePascal Rigaux2003-06-061-0/+1
| | | | | the gettext is not forced to utf8
* (set_permissions): owner and group are optional parametersThierry Vignaud2003-05-201-7/+7
|
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-6/+6
|
* new perl_checker compliancePascal Rigaux2003-04-171-2/+2
|
* prevent warning when using diagnostics pragma (easier debugging)Thierry Vignaud2003-03-051-0/+2
|
* please perl_checkerPascal Rigaux2003-02-021-1/+1
|
* cleaning the utf8 support stuff:Thierry Vignaud2003-01-281-2/+10
| | | | | | | | | | - consolidate check_for_xserver() to check for x11 access - introduce prepare_gtk2() to do what gtk+2 needs, so that tools that're not part of drakxtools (aka: rpmdrake, mcc, ...) can just do : unshift @::textdomains, 'drakconf'; prepare_gtk2();
* (require_root_capability): having extracted it from interactive enableThierry Vignaud2003-01-271-5/+1
| | | | | to further simplify it
* strip authentification out of interactive->vnew into common.pmThierry Vignaud2003-01-271-2/+19
| | | | | | | | | | | | | | | | | | | | | | This enable apps that still use gtk+-1.2 via my_gtk to still work when they only need interactive->vnew('su') just to get root capabilities. Indeed, interactive load ugtk if it has access to the X server, which make my_gtk and ugtk fight for the cpu forever... which is bad imho... drakfloppy and net_monitor were converted to use it and are now usuable again ("i leave ... again" commit). it would also enable to complete spec 64 by enabling rpmdrake to use kdesu under kde and consolehelper under gnome. rpmdrake is indeed the last program to not behave like the running desktop to get root capability. unless someone is against this, i'll convert the mcc and all other gtk+ pure tools to do not use anymore interactive just to get root capability. btw, i fixed the infamous SECTOR_SIZE warning...
* fix non latin1 post-install perl-gtk2 apps, seems like perl upgrading ↵Guillaume Cottenceau2003-01-241-2/+9
| | | | strings to utf8 is somewhat broken (dunno why), so now we bind the codeset or our textdomains to utf8 and tag the translated strings to utf8, when using gtk
* better fix of ->isa usePascal Rigaux2003-01-231-1/+1
|
* remove use of UNIVERSAL::isa() (it is not much more complex with ref + ↵Pascal Rigaux2003-01-231-1/+1
| | | | ->isa, and UNIVERSAL::isa() would need a special case in perl_checker)
* correctly pop when F2 (screenshots)Guillaume Cottenceau2003-01-221-3/+2
|
* fix accents characters displaying in console mode during install:Guillaume Cottenceau2003-01-221-1/+1
| | | | | | | - convert translations into utf8 only during install && if using gtk - explicitely bind the codeset to the specified locale's encoding because during install they are reported as utf8
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-2/+2
| | | | "every", "partition"
* common::secured_file() is a wrapper around c::is_secure_file()Pascal Rigaux2003-01-061-0/+6
|
* workaround perl sprintf bug when some parameters are utf8 and some notMystery Man 5352002-12-031-1/+8
|
* do not use "local my $F, ...", use "local(my $F, ...) insteadPascal Rigaux2002-12-031-2/+2
|
* (formatXiB): simplifyPascal Rigaux2002-12-031-1/+2
|
* use "my $F" instead of "local *F" (and cleanup)Pascal Rigaux2002-12-031-11/+10
|
* (set_alternative): simplifyPascal Rigaux2002-12-021-30/+8
| | | | | (files_exist): simplify
* s/mdk_rel/mandrake_release/Thierry Vignaud2002-11-251-3/+3
|
* consolidate some stuff from standalone tools & mcc into mdk_rel()Thierry Vignaud2002-11-251-0/+4
|
* printer related modules cleaning :Thierry Vignaud2002-11-121-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 Rigaux2002-11-111-1/+1
| | | | | - remove unneeded parentheses for things like ... if (...)
* various small syntax enhancements to please perl_checkerPascal Rigaux2002-11-111-1/+1
|
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-10/+10
| | | | | | | | | | | | | | | | | | | 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!
* allow various textdomains for i18nPascal Rigaux2002-09-111-1/+6
|
* s/__END__/1;Thierry Vignaud2002-08-051-1/+1
|
* kill "wonderful perl"Thierry Vignaud2002-08-051-4/+1
|
* (availableRamMB): use a precise constraint on 'Card:Intel 810' instead of a ↵Pascal Rigaux2002-07-281-1/+1
| | | | regexp