Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | no need for NC(), doing it in translate() in any case | Pascal Rigaux | 2003-08-21 | 1 | -8/+3 |
| | |||||
* | perl_checker complain avout using N(@_) so NC() has been rewritten as | Pablo Saratxaga | 2003-08-21 | 1 | -3/+4 |
| | | | | | a duplicate of N() plus one line | ||||
* | definition and use of an NC() function (translation with context, kde like) | Pablo Saratxaga | 2003-08-21 | 1 | -0/+8 |
| | |||||
* | ensure N() is not called before ugtk2 is initialised, otherwise | Pascal Rigaux | 2003-06-06 | 1 | -0/+1 |
| | | | | | the gettext is not forced to utf8 | ||||
* | (set_permissions): owner and group are optional parameters | Thierry Vignaud | 2003-05-20 | 1 | -7/+7 |
| | |||||
* | perl_checker adaptations + fixes | Pascal Rigaux | 2003-04-24 | 1 | -6/+6 |
| | |||||
* | new perl_checker compliance | Pascal Rigaux | 2003-04-17 | 1 | -2/+2 |
| | |||||
* | prevent warning when using diagnostics pragma (easier debugging) | Thierry Vignaud | 2003-03-05 | 1 | -0/+2 |
| | |||||
* | please perl_checker | Pascal Rigaux | 2003-02-02 | 1 | -1/+1 |
| | |||||
* | cleaning the utf8 support stuff: | Thierry Vignaud | 2003-01-28 | 1 | -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 enable | Thierry Vignaud | 2003-01-27 | 1 | -5/+1 |
| | | | | | to further simplify it | ||||
* | strip authentification out of interactive->vnew into common.pm | Thierry Vignaud | 2003-01-27 | 1 | -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 Cottenceau | 2003-01-24 | 1 | -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 use | Pascal Rigaux | 2003-01-23 | 1 | -1/+1 |
| | |||||
* | remove use of UNIVERSAL::isa() (it is not much more complex with ref + ↵ | Pascal Rigaux | 2003-01-23 | 1 | -1/+1 |
| | | | | ->isa, and UNIVERSAL::isa() would need a special case in perl_checker) | ||||
* | correctly pop when F2 (screenshots) | Guillaume Cottenceau | 2003-01-22 | 1 | -3/+2 |
| | |||||
* | fix accents characters displaying in console mode during install: | Guillaume Cottenceau | 2003-01-22 | 1 | -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 Rigaux | 2003-01-07 | 1 | -2/+2 |
| | | | | "every", "partition" | ||||
* | common::secured_file() is a wrapper around c::is_secure_file() | Pascal Rigaux | 2003-01-06 | 1 | -0/+6 |
| | |||||
* | workaround perl sprintf bug when some parameters are utf8 and some not | Mystery Man 535 | 2002-12-03 | 1 | -1/+8 |
| | |||||
* | do not use "local my $F, ...", use "local(my $F, ...) instead | Pascal Rigaux | 2002-12-03 | 1 | -2/+2 |
| | |||||
* | (formatXiB): simplify | Pascal Rigaux | 2002-12-03 | 1 | -1/+2 |
| | |||||
* | use "my $F" instead of "local *F" (and cleanup) | Pascal Rigaux | 2002-12-03 | 1 | -11/+10 |
| | |||||
* | (set_alternative): simplify | Pascal Rigaux | 2002-12-02 | 1 | -30/+8 |
| | | | | | (files_exist): simplify | ||||
* | s/mdk_rel/mandrake_release/ | Thierry Vignaud | 2002-11-25 | 1 | -3/+3 |
| | |||||
* | consolidate some stuff from standalone tools & mcc into mdk_rel() | Thierry Vignaud | 2002-11-25 | 1 | -0/+4 |
| | |||||
* | printer related modules cleaning : | Thierry Vignaud | 2002-11-12 | 1 | -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 Rigaux | 2002-11-11 | 1 | -1/+1 |
| | | | | | - remove unneeded parentheses for things like ... if (...) | ||||
* | various small syntax enhancements to please perl_checker | Pascal Rigaux | 2002-11-11 | 1 | -1/+1 |
| | |||||
* | replace "_" with "N" and "__" with "N_" | Pascal Rigaux | 2002-11-06 | 1 | -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 i18n | Pascal Rigaux | 2002-09-11 | 1 | -1/+6 |
| | |||||
* | s/__END__/1; | Thierry Vignaud | 2002-08-05 | 1 | -1/+1 |
| | |||||
* | kill "wonderful perl" | Thierry Vignaud | 2002-08-05 | 1 | -4/+1 |
| | |||||
* | (availableRamMB): use a precise constraint on 'Card:Intel 810' instead of a ↵ | Pascal Rigaux | 2002-07-28 | 1 | -1/+1 |
| | | | | regexp | ||||
* | remove internal_error (which is now in MDK::Common) | Pascal Rigaux | 2002-07-25 | 1 | -5/+1 |
| | |||||
* | use $::prefix instead of $::o->{prefix} | Pascal Rigaux | 2002-07-18 | 1 | -1/+1 |
| | |||||
* | add function "internal_error" (a specialized "die") | Pascal Rigaux | 2002-07-17 | 1 | -1/+5 |
| | |||||
* | move join_lines to common | Pascal Rigaux | 2002-07-09 | 1 | -0/+14 |
| | |||||
* | enable easy screenshot'ing | Pascal Rigaux | 2001-12-12 | 1 | -0/+28 |
| | |||||
* | new features for new mcc | damien | 2001-11-26 | 1 | -0/+8 |
| | |||||
* | cleanup | Pascal Rigaux | 2001-10-19 | 1 | -0/+1 |
| | |||||
* | - don't expand symlinks in grub's menu.lst | Pascal Rigaux | 2001-09-04 | 1 | -0/+11 |
| | | | | | - better use of /proc/partitions verification | ||||
* | rename isCdNotEjectable in usingRamdisk, ensure no files are removed unless ↵ | Pascal Rigaux | 2001-08-19 | 1 | -2/+2 |
| | | | | we're in ramdisk | ||||
* | moved arch() and alike to MDK::Common::System | Pascal Rigaux | 2001-08-04 | 1 | -14/+1 |
| | |||||
* | (translate): empty string translation is an empty string | Pascal Rigaux | 2001-07-31 | 1 | -1/+1 |
| | |||||
* | do not export sync, keep it in common (esp. so that it doesn't conflict with ↵ | Pascal Rigaux | 2001-07-25 | 1 | -1/+1 |
| | | | | my_gtk::sync | ||||
* | (removeXiBSuffix): add TB (tera) | Pascal Rigaux | 2001-07-25 | 1 | -0/+1 |
| | |||||
* | move to MDK::Common, bool->to_bool | Pascal Rigaux | 2001-07-24 | 1 | -502/+11 |
| | |||||
* | cleanup (remove unused stuff and dangerous prototypes) | Pascal Rigaux | 2001-07-24 | 1 | -21/+21 |
| | |||||
* | removed/renamed unused/seldom-used functions | Pascal Rigaux | 2001-07-24 | 1 | -70/+4 |
| |