public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 2/2] env: re-add support for auto-completion
Date: Fri, 17 Dec 2010 15:35:07 -0500	[thread overview]
Message-ID: <201012171535.08619.vapier@gentoo.org> (raw)
In-Reply-To: <20101217201014.359B515192A@gemini.denx.de>

On Friday, December 17, 2010 15:10:14 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > Currently, only basic completion is supported (no globs), but this is
> > what we had previously.  The downside is that the results are not
> > returned in any sorted order.  The upside is that we get any results at
> > all.
> 
> Why can we not collect the results and sort them like we do for "env
> print" ?

hmm, i dont think the previous code did do any sorting.  it just relied on the 
results of the env code being sorted already.  i also dont think there is any 
support in u-boot today for sorting ?  so i'd basically have to import 
qsort(), and i didnt think the size trade off was worth while.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101217/6b123fa3/attachment.pgp 

  reply	other threads:[~2010-12-17 20:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08 11:26 [U-Boot] [RFC PATCH 1/2] hashtable: drop all non-reentrant versions Mike Frysinger
2010-12-08 11:26 ` [U-Boot] [RFC PATCH 2/2] env: re-add support for auto-completion Mike Frysinger
2010-12-17 20:10   ` Wolfgang Denk
2010-12-17 20:35     ` Mike Frysinger [this message]
2010-12-17 20:51       ` Wolfgang Denk
2010-12-17 21:51         ` [U-Boot] [PATCH v2] " Mike Frysinger
2011-01-09 16:57           ` Wolfgang Denk
2010-12-08 11:27 ` [U-Boot] [RFC PATCH 1/2] hashtable: drop all non-reentrant versions Mike Frysinger
2010-12-08 12:31   ` Joakim Tjernlund
2010-12-08 14:23     ` Wolfgang Denk
2010-12-08 14:44       ` Joakim Tjernlund
2010-12-09  1:19     ` Mike Frysinger
2010-12-17 20:07 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201012171535.08619.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox