taskGnash - The GNU Flash player - Tasks: task #10817, Sort out options parsing


You are not allowed to post comments on this tracker with your current authentication level.

task #10817: Sort out options parsing

Submitted by:  Sandro Santilli <strk>
Submitted on:  Mon 20 Dec 2010 10:31:27 AM UTC  
Should Start On:  Sun 19 Dec 2010 11:00:00 PM UTC Should be Finished on:  Sun 19 Dec 2010 11:00:00 PM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Percent Complete:  0% Assigned to:  None
Open/Closed:  Open Effort:  0.00

Mon 20 Dec 2010 10:31:27 AM UTC, original submission:  

Option parsing in gnash is kind of broken atm.
In particular, we had a concept of Gui classes having
a chance to parse some commandline args (they get argc/argv)
and gtk gui actually passes argc/argv over to gtk libs.

But, we fail when we encounter an unknown option, so
it'll be impossible to pass anything down the line.

This blog post gives example of accepting unknown:

The remaining problem is that we can't register "positional"
parameters until all components had a chance to parse
the commanline, and drop what they parsed, or we won't be
able to tell what's a switch argument and what's a positional

Sandro Santilli <strk>
Project Member


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by strk (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5