Revert "FIX: Retain the input URL order"

This reverts commit 4d6aac87dde312ae0a8ee1a329426e01f40f746a.
FIX: Keep the input URL order

This fixes what commit 4d6aac87dde312ae0a8ee1a329426e01f40f746a was
originally intended to fix.  Without this, the input URL order gets
mangled which can be frustrating when processing URLs in batches and
operating over an unreliable connection.

Rather than reversing the order in the "check support" facility which is
called *foreach* input URL, reverse the lists only once *after* the
facility returns the results.

See the comment in the committed code for the reason we reverse the
order.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
Merge branch 'tg/next__fix_input_order' into next
pbar: Make progress animation advance from left-to-right

Change the frame-order for the progressbar to traverse from
left-to-right, rather than from right-to-left.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
FIX: lutil_quvi_init: Pass handle value to quvi_errmsg

quvi_t handle is passed by its address to lutil_quvi_init. Pass the
handle value to quvi_errmsg, not the pointer to the handle.

This fixes the issue described in
  http://article.gmane.org/gmane.comp.web.flash.quvi/247
as
  error: while initializing libquvi: Not an error

Steps to reproduce:
  * Build and install everything {libquvi-scripts,libquvi,quvi}
  * Uninstall libquvi-scripts
  * Run quvi

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
lget_http_get: Revise comments

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
CoAT: cmd_dump: Say it with a return statement

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
CoAT: cmd_get: Say it with a return statement

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
Add framework for handling SIGWINCH

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
quvi-dump: Setup SIGWINCH handler

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
quvi-scan: Setup SIGWINCH handler

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
quvi-get: Setup SIGWINCH handler

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
status: Reuse the status line, do not use newlines

Print all status messages to the same (status) line. Overwrite the
previous messages.

Other:
* Add a time prefix to the printed messages
* Tweak status messages

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
Merge branch 'tg/next__improve_status_updates' into next
quvi-dump: Postpone print after querying metainfo

With the (unbuffered) 'enum' of core.print-format, the program will:
  1) print the media properties
  2) query the metainfo properties for the media stream
  3) print the media stream properties

This causes a notable pause in the output when the program stops to
query the metadata (when applicable).

This commit changes quvi-dump so that the (unbuffered) output is printed
*after* the metainfo has been retrieved. This changes nothing for the
buffering filters (rfc2483, json, xml).

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
Change "skip:" messages

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
lget: http: Do not prepend a newline to error messages

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
lpbar_update: Do not prepend CR to the output

Instead, append it (CR, '\r') to the output -- unless the transfer is
complete, in which case, the output should end to a newline (LF, '\n').

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
FIX: DOC: Move "core.print-format" to a file dedicated for it

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
DOC: quvi-scan(1): Revise DEFAULT BEHAVIOUR section

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>