Alright, now it's the latest.
Regards,
John
"Open source, you don't pay back, you pay forward."
On 7/24/06, Alex Tarkovsky <[EMAIL PROTECTED]> wrote:
On 7/24/06, John Jawed <[EMAIL PROTECTED]> wrote:
> Updated version is up at http://jawed.name/dev/gentoo/einput.eclass now.
The version you hav
On 7/24/06, John Jawed <[EMAIL PROTECTED]> wrote:
Updated version is up at http://jawed.name/dev/gentoo/einput.eclass now.
The version you have up there isn't the latest actually, see the
attachment in the post you just replied to. :)
--
gentoo-dev@gentoo.org mailing list
Updated version is up at http://jawed.name/dev/gentoo/einput.eclass now.
Regards,
John
"Open source, you don't pay back, you pay forward."
On 7/24/06, Alex Tarkovsky <[EMAIL PROTECTED]> wrote:
To ensure the global vars play nicely in the Portage environment I've
renamed a few, and moved a coupl
To ensure the global vars play nicely in the Portage environment I've
renamed a few, and moved a couple more to functions as locals and
literal strings. Also improved on the inline documentation and renamed
a couple of functions to something more intuitive.
einput.eclass
Description: Binary data
Updated version. I had forgotten to remove the case-insensitive stuff
from einput_list(). Input is now case-sensitive, as ebuild devs may
want, for example, "r" and "R" to represent two different (but
related) choices.
Also did a little tidying.
einput.eclass
Description: Binary data
On 7/23/06, John Jawed <[EMAIL PROTECTED]> wrote:
Nice work on this, it's looking good now. Is there a reason the
leading asterisk was dropped? Having it there might be good for
readability as well as keeping in line with the "look here" (einfo,
eerror, ewarn, etc) motif in portage.
I was indee
Alex,
Nice work on this, it's looking good now. Is there a reason the
leading asterisk was dropped? Having it there might be good for
readability as well as keeping in line with the "look here" (einfo,
eerror, ewarn, etc) motif in portage.
I will be testing and reporting back my results, encoura
Attached is an overhaul of John's code. Aside from some bugfixes and
readability improvements, the most significant changes are:
- Renamed functions to follow de facto and emerging Portage API naming
conventions.
- Validation of input for the list prompt and confirmation prompt functions.
- Add
Brian,
I was looking through /usr/bin/emerge and lines 3477-3481 seemed to
best fit what displayConfirmPrompt is trying to supplement. The check
on line 3477 is against a "No" returned from userPrompt(), and then a
system exit code is issued by caller (line 3481).
Was unable to find any other in
John Jawed wrote:
> Below is a link to an "enhanced input" eclass as well as a screenshot.
> This eclass was made to simplify interacting with the user at
> pkg_config().
>
> http://jawed.name/dev/gentoo/einput.eclass
> http://jawed.name/dev/gentoo/einput.png (code used to create this
> output is
There are two ebuilds which use this currently:
http://jawed.name/dev/gentoo/openfts-0.39.ebuild
http://jawed.name/dev/gentoo/dev-db/pgfouine/pgfouine-0.6.ebuild
The code used to generate the screenshot got lost in the initial
posting, here it is:
pkg_config() {
displayListPrompt "1" "L
On Thu, Jul 20, 2006 at 09:39:14PM +0200, Luca Longinotti wrote:
> John Jawed wrote:
> > Below is a link to an "enhanced input" eclass as well as a screenshot.
> > This eclass was made to simplify interacting with the user at
> > pkg_config().
>
> This is a good idea imo, it could really simplify
John Jawed wrote:
> Below is a link to an "enhanced input" eclass as well as a screenshot.
> This eclass was made to simplify interacting with the user at
> pkg_config().
This is a good idea imo, it could really simplify and help with
pkg_config stuff, think of dev-db/mysql or others who need to a
Below is a link to an "enhanced input" eclass as well as a screenshot.
This eclass was made to simplify interacting with the user at
pkg_config().
http://jawed.name/dev/gentoo/einput.eclass
http://jawed.name/dev/gentoo/einput.png (code used to create this
output is below)
This eclass started off
14 matches
Mail list logo