Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | create unwind_protect() and with_private_tmp_file() | Pascal Rigaux | 2008-09-18 | 1 | -0/+23 |
| | | | | | (for future use) | ||||
* | - keep in $o->{previous_release} the info about upgraded /etc/release, | Pascal Rigaux | 2008-09-01 | 1 | -1/+3 |
| | | | | | | | and pass "reason" and version to urpmi.addmedia - we also parse {version} field out of /etc/release | ||||
* | (is_running) make it return the actual PID of the first found process rather ↵ | Thierry Vignaud | 2008-08-07 | 1 | -3/+3 |
| | | | | than a boolean | ||||
* | (is_running) factorize code between mdkapplet & net_applet so that ↵ | Thierry Vignaud | 2008-08-07 | 1 | -1/+10 |
| | | | | | | | | draksnapshot-applet can reuse it too note that this code need to be adapted for multiples simultaneous sessions (being the same user or different users) | ||||
* | fix reading and setting kdmrc (by resolving alternative in chroot) | Olivier Blin | 2008-07-10 | 1 | -0/+6 |
| | |||||
* | fix reading alternatives in install | Olivier Blin | 2008-03-20 | 1 | -1/+1 |
| | |||||
* | (to_utf8) export it (for rpmdrake) | Thierry Vignaud | 2008-02-21 | 1 | -1/+1 |
| | |||||
* | also detect SuSE distros (see #16604) | Pascal Rigaux | 2008-02-01 | 1 | -1/+1 |
| | |||||
* | create common::parse_release_file() out of find_root_parts() | Pascal Rigaux | 2008-01-30 | 1 | -0/+8 |
| | |||||
* | release_file(): handle /etc/fedora-release | Pascal Rigaux | 2008-01-29 | 1 | -1/+1 |
| | |||||
* | - fix configuring kdeglobals (was broken because of /etc/kderc using | Pascal Rigaux | 2007-10-04 | 1 | -0/+15 |
| | | | | | udpate-alternatives which use absolute symlinks) | ||||
* | formatXiB: make it explicit that we don't support float numbers | Pascal Rigaux | 2007-09-21 | 1 | -1/+1 |
| | | | | | (otherwise formatXiB(-0.1) would need to be supported whereas it was broken) | ||||
* | simplify handling negative numbers | Pascal Rigaux | 2007-09-21 | 1 | -3/+5 |
| | |||||
* | make formatXiB() handle negative numbers (for rpmdrake) | Thierry Vignaud | 2007-09-21 | 1 | -3/+3 |
| | |||||
* | (get_parent_uid) introduce it in order to be able to run a process | Thierry Vignaud | 2007-09-13 | 1 | -1/+5 |
| | | | | | with regular user rights (#33522) | ||||
* | (translate_real) simplify | Thierry Vignaud | 2007-08-28 | 1 | -4/+3 |
| | |||||
* | (translate_real) in english 1 is singular whereas 0 is plural (pixel) | Thierry Vignaud | 2007-08-28 | 1 | -1/+3 |
| | |||||
* | (translate_real) fix plural translating for C locale | Thierry Vignaud | 2007-08-28 | 1 | -1/+1 |
| | |||||
* | (translate_real) fix translating plural forms by comparing the gettext | Thierry Vignaud | 2007-08-13 | 1 | -1/+1 |
| | | | | | | | string to both the singular & the plural templates (#32505) (bug spoted by pixel) | ||||
* | (translate_real) always use dngettext() if we have a plural string | Thierry Vignaud | 2007-08-13 | 1 | -1/+1 |
| | |||||
* | - for XFdrake: use update-alternatives command instead doing things by hand | Pascal Rigaux | 2007-08-08 | 1 | -14/+1 |
| | | | | | (this uses --set, new feature of update-alternatives) (#32362) | ||||
* | - fix range max value >2TB when creating a partition (useful for LVs >2TB) | Pascal Rigaux | 2007-08-06 | 1 | -1/+8 |
| | | | | | | nb: >> 11 and << 11 doesn't work on floats which we use to handle >2TB partitions. perl floats are precise enough up until 512TB | ||||
* | (mandrake_release_info) introduce it in order to have full release info (eg: ↵ | Thierry Vignaud | 2007-06-27 | 1 | -1/+5 |
| | | | | for #31223) | ||||
* | - diskdrake | Pascal Rigaux | 2007-06-11 | 1 | -5/+7 |
| | | | | | o fix 1.9TB displayed as 1TB | ||||
* | (to_utf8) tell perl this is now UTF-8 (spotted by #31067 and also seen | Thierry Vignaud | 2007-05-28 | 1 | -1/+3 |
| | | | | | before in rpmdrake) | ||||
* | re-sync after the big svn loss | Pascal Rigaux | 2007-04-25 | 1 | -50/+143 |
| | |||||
* | let packages using common.pm to use Locale::gettext without requiring it | Pascal Rigaux | 2005-12-28 | 1 | -1/+1 |
| | |||||
* | allow common.pm and standalone.pm to be used in drakxtools-backend without ↵ | Pascal Rigaux | 2005-12-18 | 1 | -1/+1 |
| | | | | perl-Locale-gettext | ||||
* | fix dropping sprintf_fixutf8 (i committed the wrong version...) | Pascal Rigaux | 2005-12-15 | 1 | -1/+1 |
| | |||||
* | - i had foolishly removed c::iconv whereas it was used still used by ↵ | Pascal Rigaux | 2005-12-15 | 1 | -0/+9 |
| | | | | | | | | | | c::from_utf8 and c::to_utf8 - anyway, moving c::from_utf8 and c::to_utf8 to common::from_utf8 and common::to_utf8 - making them use Locale::gettext::iconv - Locale::gettext::iconv transform undef into standard charset (1.05-2mdk) - drop c::standard_charset (now unused) | ||||
* | get rid of sprintf_fixutf8 which is no more needed with current perl | Pascal Rigaux | 2005-12-15 | 1 | -10/+3 |
| | | | | | (it has been fixed long ago: before perl 5.8.3 (MDK10.0)) | ||||
* | use Locale::gettext for dgettext, bindtextdomain and bind_textdomain_codeset ↵ | Pascal Rigaux | 2005-12-15 | 1 | -1/+2 |
| | | | | | | | instead of module c (that way we can also use dngettext, and it's more modular) | ||||
* | fix looking for backup-ed release file first | Pascal Rigaux | 2005-09-12 | 1 | -3/+5 |
| | |||||
* | - new functionality: upgrade_by_removing_pkgs, enabled when upgrading redhat ↵ | Pascal Rigaux | 2005-09-02 | 1 | -1/+3 |
| | | | | | | | | | | | and conectiva distributions - add file upgrade-map.conectiva.10 for precise choice of packages - save /etc/xxx-release into /root/drakx/xxx-release.upgrading when starting - release_file(): look for xxx-release.upgrading first - find_root_parts(): better logging about upgrade_by_removing_pkgs, and factorize code - when all packages are installed, remove xxx-release.upgrading and rename pkgs::removed_pkgs_to_upgrade_file() | ||||
* | also look for conectiva-release | Pascal Rigaux | 2005-08-31 | 1 | -1/+1 |
| | |||||
* | move is_xbox from common to detect_devices | Olivier Blin | 2005-08-08 | 1 | -6/+1 |
| | |||||
* | import md5file from net_applet/mdkonline/userdrake | Olivier Blin | 2005-07-18 | 1 | -0/+14 |
| | |||||
* | do not load bloat POSIX | Thierry Vignaud | 2005-06-30 | 1 | -3/+2 |
| | |||||
* | try to cleanup fs.pm | Pascal Rigaux | 2005-06-28 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | (to have simpler dependencies between modules, esp. have some modules only required by diskdrake): - move some functions from fs to fs::mount (most keep their name, except mount_part and mount_usbfs) - move formatMount_part and formatMount_all from fs to fs::format - move some functions from fs to fs::wild_device (part2wild_device_name -> fs::wild_device::from_part) (subpart_from_wild_device_name -> fs::wild_device::to_subpart) (analyze_wild_device_name -> fs::wild_device::analyse) - formatMount_part(), formatMount_all(), fs::mount::part() don't take a prefix anymore the current situation was quite muddy we now rely on fs::get::mntpoint_prefixed() which will maybe depend on a field in $part for now, we mount every part in chroot, it seems to be what's wanted - fs::format::part() now expect $all_hds instead of $raids - fs::type::carryRootLoopback is now fs::get::carry_root_loopback() - in fs::loopback, most functions don't want a prefix anymore | ||||
* | don't need use MDK::Common... when we have "use common" (which is the ↵ | Pascal Rigaux | 2005-06-10 | 1 | -1/+0 |
| | | | | standard for libDrakX modules) | ||||
* | use "our" instead of "use vars" | Pascal Rigaux | 2005-06-03 | 1 | -4/+3 |
| | |||||
* | drop untranslate which is unused and bad practice | Pascal Rigaux | 2005-06-03 | 1 | -8/+1 |
| | |||||
* | update comment | Olivier Blin | 2005-05-27 | 1 | -1/+1 |
| | |||||
* | fix mandrake_release() when called with a prefix | Pascal Rigaux | 2005-04-27 | 1 | -1/+2 |
| | |||||
* | allow using mandrake_release() with a prefix | Pascal Rigaux | 2005-04-27 | 1 | -2/+3 |
| | |||||
* | create common::release_file() and use it | Pascal Rigaux | 2005-04-21 | 1 | -1/+6 |
| | |||||
* | ensure this bloody stupid code doesn't break things when it is unused | Pascal Rigaux | 2005-03-17 | 1 | -3/+3 |
| | |||||
* | (set_l10n_sort) import comments from rpmdrake | Thierry Vignaud | 2005-03-17 | 1 | -0/+4 |
| | |||||
* | (set_l10n_sort) do not bother touch LC_ALL | Thierry Vignaud | 2005-03-17 | 1 | -3/+1 |
| | |||||
* | (set_l10n_sort) stole it from rpmdrake | Thierry Vignaud | 2005-03-17 | 1 | -1/+13 |
| |