summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove -* from flag list as being very dangerous. (Bug 722856)HEADmasterSven Eden2020-11-071-14/+1
| | | | Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
* Mark package.use flags as local rather than global.ufed-0.96Ulrich Müller2020-05-021-1/+1
| | | | | | | Thanks to Martin Väth <martin@mvath.de> for the patch. Bug: https://bugs.gentoo.org/549042 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Do not hand over overly long lines (Fixes bug #695262)ufed-0.95Sven Eden2019-09-242-2/+13
| | | | | | | | | | | | ufed-curses-checklist.c:ufed_getline() is limited to LINE_MAX, which is 2048 bytes. Unfortunately local USE flags can blast this limit, as ufed.pl also transmit an alternative description with stripped keywords. This commit lets ufed.pl calculate whether a description has to be shorted, and does so if needed. Bug: https://bugs.gentoo.org/695262 Signed-off-by: Sven Eden <yamakuzure@gmx.net>
* Rename `getline` to `ufed_getline` to avoid clashufed-0.94David Seifert2019-04-071-3/+3
| | | | | | | | * `getline` is defined by POSIX.1-2008 http://man7.org/linux/man-pages/man3/getline.3.html Bug: https://bugs.gentoo.org/644518 Signed-off-by: David Seifert <soap@gentoo.org>
* Fix `make distcheck`ufed-0.93David Seifert2019-04-072-9/+7
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* Replace GNU `__FUNCTION__` by C99 `__func__`David Seifert2019-04-071-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* Remove and .gitignore Autotools cruftDavid Seifert2019-04-075-1593/+5
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* Modernize AutotoolsDavid Seifert2019-04-072-28/+24
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* Replace `libexecdir` by `pkglibexecdir`David Seifert2019-04-072-5/+4
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* Fix unescaped left brace warningDavid Seifert2019-04-071-1/+1
| | | | | Bug: https://bugs.gentoo.org/675332 Signed-off-by: David Seifert <soap@gentoo.org>
* Fix truncation of -* if set in make.conf.ufed-0.92Sven Eden2015-02-121-6/+8
|
* Portage.pm: Fixed a possible "Use of uninitialized value" if a read file is ↵Sven Eden2015-02-111-4/+7
| | | | empty. (Bug #539682)
* Portage.pm : Enhanced eix detection code and added an optional debug message ↵Sven Eden2014-11-101-3/+6
| | | | to print the found location.
* Portage.pm : Added fix by Martin Väth from Bug 525876 to allow the reading ↵Sven Eden2014-10-281-9/+17
| | | | of directories that used to be files.
* TODO: Added plan to support package.use editing.ufed-0.91Sven Eden2014-02-261-0/+2
|
* Portage.pm: Determining the make.profile is now secure of make.profile being ↵Sven Eden2014-02-261-2/+7
| | | | a file.
* ufed.pl.in: Minor updates to the documentation.Sven Eden2014-02-261-8/+10
|
* Updated the documentation for 0.91 release.Sven Eden2014-02-263-14/+29
|
* Portage.pm: /etc/portage/make.profile does no longer need to be a symlink ↵Sven Eden2014-02-251-10/+16
| | | | and can be a driectory as well now.
* Portage.pm: Some comment cleanup and one minor bugfix.Sven Eden2014-02-251-70/+76
|
* Portage.pm : Just a minor addition to the debugging output after description ↵Sven Eden2014-02-251-1/+1
| | | | stripping. (Makes finding '(Unknown)' description causes easier)
* Portage.pm: Changed determination of PORTDIR and PORTDIR_OVERLAY to use eix ↵Sven Eden2014-02-251-22/+63
| | | | if available with portageq get_repo(s|_path) as a fallback.
* File TODO: Some cleanup and recent additions.Sven Eden2014-02-251-2/+7
|
* Added test files and folders to .gitgnoreSven Eden2013-12-061-1/+3
|
* Extended the regular expressions used to parse found files followingSven Eden2013-11-252-9/+41
| | | | a hint I got from perlmonks.
* ufed.pl/Portage.pm: Parsing error messages from eval are now chomp'edSven Eden2013-11-252-3/+4
|
* Added error messages and reporting of those if the file parsing failes.Sven Eden2013-11-252-19/+37
|
* ufed.pl.in: Fixed a typoSven Eden2013-11-251-1/+1
|
* TODO: Added mandatory fix of current problem with overlong USE flags in ↵Sven Eden2013-11-251-0/+3
| | | | make.conf
* Added (far away future) idea about full metadata.xml parsing to TODO list.Sven Eden2013-09-201-0/+5
|
* Removed TODO file from .gitignore, I think it is better to offer an easy ↵Sven Eden2013-09-202-1/+48
| | | | possibility for curious users to see what is planned, done and in progress.
* calculateDescWrap(): Cleaned the code up and made it more robust. The code ↵Sven Eden2013-09-201-18/+24
| | | | can now correctly break any situation but one. The missing one is a one line affected package, that, although it is broken in time, it is broken 2-3 characters early then if the available space is just not enough. Hoewever, I believe everybody can live with this.
* calculateDescWrap(): Take later pre-/postfixing of brackets of the package ↵Sven Eden2013-09-191-2/+20
| | | | list into account when setting the next wrap part.
* Really add wrapped/long description state to the status line. The space ↵Sven Eden2013-09-191-1/+1
| | | | calculation wasn't updated, yet.
* calculateDescWrap(): Position and length correction now work with reversed ↵Sven Eden2013-09-191-2/+7
| | | | pkg/desc order, too.
* drawflag(): Advancing the wrapped description part is put to the end of the ↵Sven Eden2013-09-191-8/+14
| | | | loop, it is much safer there.
* calculateDescWrap() Fix offset of second part, this must be aware of the ↵Sven Eden2013-09-192-6/+6
| | | | leading space and the surrounding brackets around the package list, too.
* calculateDescWrap() is no aware of the brackets that are drawn around the ↵Sven Eden2013-09-192-12/+15
| | | | package lists
* drawing a flag witrh wrapped descriptions does no longer add an offset for ↵Sven Eden2013-09-192-41/+24
| | | | the second part. The calculation does this now, which simplifies things alot.
* Fixed stray 0-bytes that the wrapped description display accidently inserted.Sven Eden2013-09-192-13/+19
|
* The length of the first part must always be added to the position in the ↵Sven Eden2013-09-191-7/+5
| | | | second wrapped part.
* New descriptions now start unindented when description wrapping is turned on.Sven Eden2013-09-191-7/+16
|
* Fixed calculateDescWrap() to ensure clean wrapped parts chains.Sven Eden2013-09-191-20/+53
|
* Enabled F11 key to toggle line wrapping and fixed a possible segfault.Sven Eden2013-09-181-12/+32
|
* findFlagStart() Fixed another potential endless loopSven Eden2013-09-181-1/+3
|
* drawFlag() fixed a definite endless loopSven Eden2013-09-181-2/+7
|
* Added wrapped selection to status lineSven Eden2013-09-181-2/+3
|
* Rewrote drawFlag() and added some helper functions. The mess is consideratly ↵Sven Eden2013-09-181-188/+218
| | | | cleared now and the function is much cleaner and more maintainable.
* drawFlag(): Moved finding the starting description / wrapped line out of the ↵Sven Eden2013-09-181-60/+83
| | | | function into the new static function findFlagStart()
* drawFlag(): The function is now aware of wrapped descriptions. However, the ↵Sven Eden2013-09-171-63/+119
| | | | whole function is a mess now and should be rewritten, possibly in two distinct functions leaving drawFlag to prepare and distribute only.