summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pl
Commit message (Collapse)AuthorAgeFilesLines
* Speed up reading of flags from GPT partition table.Martin Whitaker2015-04-191-26/+20
| | | | | | | | On some machines, calls to ped_disk_new() in libparted take of the order of seconds, so doing this for each flag and partition in turn makes partition_table::gpt::read_one take an inordinate amount of time (mga#15621). Instead, collect the flags during the call to c::get_disk_partitions.
* try to detect recovery partitions on GPTThierry Vignaud2015-03-301-0/+25
|
* log which type is unknownThierry Vignaud2015-03-271-1/+1
|
* fix tagging LVM/raid as "linux filesystem" with GPTThierry Vignaud2015-03-271-0/+4
|
* make it more genericThierry Vignaud2015-03-271-2/+4
| | | | just bind the libparted function (needed for next commit)
* extract mapping string to flagThierry Vignaud2015-03-271-6/+11
| | | | needed for next commit
* set proper GUID to ESP partitions with GPT layoutThierry Vignaud2015-03-251-0/+29
|
* fix retrieving ESP partition typeThierry Vignaud2015-03-251-0/+21
| | | | | | | | | ESP are the only partitions we're detecting through their pt_type (modulo 0x12 which was Compaq Diagnostic & unlikely to be found on GPT...) However GPT has no equivalent to pt_type But we can test for ESP flag
* fix indentThierry Vignaud2015-03-251-3/+3
| | | | | done separatly in order to have a better history for simplify then introducing new API
* use a proper interface between parted/perl worldsThierry Vignaud2015-03-251-22/+17
| | | | | | | | | | | | | create directly the hash in XS instead of instead of sprintf()ing it into a string which was then parsed in perl in order to actually create the hash this fixes several issues: - due to adding some fields to the string under if (), we could silently have ignored some partitions - this also simplifies adding further fields
* further simplifyThierry Vignaud2015-03-251-3/+5
|
* simplify (needed for next commit)Thierry Vignaud2015-03-251-4/+4
|
* bind ped_disk_commit_to_osThierry Vignaud2015-03-201-0/+16
| | | | needed for next commit
* fix unused variablesThierry Vignaud2014-02-071-2/+0
|
* use NULL rather than 0 for pointersThierry Vignaud2014-02-071-1/+1
|
* display the real accessed /dev/input/eventX file (mga#8232)Thierry Vignaud2013-12-271-1/+1
|
* fix field types after commit 76082a819319Thierry Vignaud2013-11-241-11/+11
| | | | fix warnings about numeric comparisons with strings
* fix detecting some USB devices due to not reporting their class (mga#9674)Thierry Vignaud2013-04-091-0/+1
| | | | | regression introduced in commit r7096 on 2013-01-14: "use a proper interface between C (ldetect) & perl world, using XS"
* use a proper interface between C (ldetect) & perl world, using XSThierry Vignaud2013-01-141-13/+28
| | | | | | | | create directly the hash in XS instead of instead of sprintf()ing it into a string which was then parsed in perl in order to actually create the hash this also simplifies adding further fields
* kill obsolete commentThierry Vignaud2013-01-141-1/+0
|
* export res_init function to perl libOlivier Blin2012-05-101-0/+3
|
* (get_iso_volume_ids) disk install: handle bogus ISOs when looking for ↵Thierry Vignaud2012-03-151-2/+4
| | | | install image (mga#4919)
* (C_backtrace) kill debug statementThierry Vignaud2011-11-221-1/+0
|
* (C_backtrace) introduce it in order to get a better GDB traceThierry Vignaud2011-11-221-0/+29
|
* (get_pci_description) bind libldetect new API for stage1's stuffThierry Vignaud2011-05-061-0/+4
|
* Fix fd leakPascal Terjan2011-04-241-0/+1
|
* - use EVIOCGBIT ioctl instead of trying to parse key field fromArnaud Patard2011-03-181-0/+34
| | | | | /proc/bus/input/devices to avoid issues on 64bit kernel with 32bit userspace
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* Commit forgotten filePascal Terjan2010-05-031-1/+1
|
* (pci_probe) wrap for readabilityThierry Vignaud2009-11-251-1/+2
|
* (usb_probe) wrap for readabilityThierry Vignaud2009-11-251-1/+3
|
* update drakx to get proper sysfs device path from usb devicesHerton Ronaldo Krzesinski2009-11-251-2/+2
|
* (pci_probe) better check for PCI Express capabilityThierry Vignaud2009-09-301-2/+2
|
* (pci_probe__real,c::pci_probe) retrieve PCI revision (#42576)Thierry Vignaud2009-09-231-2/+2
| | | | | (needs ldetect >= 0.9)
* diskdrake: fix for libparted 1.9 (#52991)Pascal Terjan2009-08-271-1/+1
|
* handle partition starting after 1ToPascal Terjan2009-04-211-1/+1
|
* diskdrake: don't crash on invalid partition tablePascal Terjan2009-02-131-31/+41
|
* Rewrite gpt support with libpartedPascal Terjan2009-01-271-0/+139
|
* fix fd leak when detecting network driver (mostly notable in network center ↵Olivier Blin2008-04-181-0/+1
| | | | and drakroam)
* fix minor fd leakOlivier Blin2008-04-181-0/+1
|
* fix build of wireless binding with latest kernel headersOlivier Blin2007-07-171-0/+1
|
* re-sync after the big svn lossPascal Rigaux2007-04-251-94/+13
|
* remove unused silo&sbus&prom stuff (was for sparc, but untouched for more ↵Pascal Rigaux2006-03-031-89/+0
| | | | than 5 years and must be broken
* replacing double with NV as suggested by rafael:Pascal Rigaux2006-01-121-1/+1
| | | | | | | | NV is the portable typedef perl's Configure figures out for floating point values. And since it's an internal type the typemap is easier. See: $ perl -V:nvtype nvtype='double';
* use BLKGETSIZE64 to allow detecting partitions bigger than 2TB, and usePascal Rigaux2006-01-121-4/+6
| | | | | | "double" instead of "unsigned int" (nb: it means we will use doubles instead of ints for computing things, this works quite nicely up to 100_000TB
* look for "NR_CPUS limit of 1 reached" instead of looking MP tables by hand, ↵Pascal Rigaux2006-01-101-3/+0
| | | | or using DMI info (often broken)
* - i had foolishly removed c::iconv whereas it was used still used by ↵Pascal Rigaux2005-12-151-7/+0
| | | | | | | | | | 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)
* use Locale::gettext for dgettext, bindtextdomain and bind_textdomain_codeset ↵Pascal Rigaux2005-12-151-17/+0
| | | | | | | instead of module c (that way we can also use dngettext, and it's more modular)
* c::iconv() is not used anymore (and if needed, there is ↵Pascal Rigaux2005-12-151-32/+0
| | | | Locale::gettext::iconv())
* use vol_id to find device type (fs_type and pt_type)Pascal Rigaux2005-10-181-21/+0
|