summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
Commit message (Collapse)AuthorAgeFilesLines
* (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
* remove internal_error (which is now in MDK::Common)Pascal Rigaux2002-07-251-5/+1
|
* use $::prefix instead of $::o->{prefix}Pascal Rigaux2002-07-181-1/+1
|
* add function "internal_error" (a specialized "die")Pascal Rigaux2002-07-171-1/+5
|
* move join_lines to commonPascal Rigaux2002-07-091-0/+14
|
* enable easy screenshot'ingPascal Rigaux2001-12-121-0/+28
|
* new features for new mccdamien2001-11-261-0/+8
|
* cleanupPascal Rigaux2001-10-191-0/+1
|
* - don't expand symlinks in grub's menu.lstPascal Rigaux2001-09-041-0/+11
| | | | | - better use of /proc/partitions verification
* rename isCdNotEjectable in usingRamdisk, ensure no files are removed unless ↵Pascal Rigaux2001-08-191-2/+2
| | | | we're in ramdisk
* moved arch() and alike to MDK::Common::SystemPascal Rigaux2001-08-041-14/+1
|
* (translate): empty string translation is an empty stringPascal Rigaux2001-07-311-1/+1
|
* do not export sync, keep it in common (esp. so that it doesn't conflict with ↵Pascal Rigaux2001-07-251-1/+1
| | | | my_gtk::sync
* (removeXiBSuffix): add TB (tera)Pascal Rigaux2001-07-251-0/+1
|
* move to MDK::Common, bool->to_boolPascal Rigaux2001-07-241-502/+11
|
* cleanup (remove unused stuff and dangerous prototypes)Pascal Rigaux2001-07-241-21/+21
|
* removed/renamed unused/seldom-used functionsPascal Rigaux2001-07-241-70/+4
|
* generalize the use of chomp_ as the functional alternative to chomp (and ↵Pascal Rigaux2001-07-241-3/+3
| | | | works on lists)
* do not use the po's directly. Use mo's through gettextPascal Rigaux2001-07-231-17/+2
|
* (translate): basic plural forms handling (not finished)Pascal Rigaux2001-07-201-0/+3
|
* Add IA64 supportMatthias Badaire2001-07-091-0/+1
|