[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libredwg] [patch #8163] dump program to allow further testing

From: Reini Urban
Subject: [libredwg] [patch #8163] dump program to allow further testing
Date: Wed, 25 Apr 2018 06:57:25 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Update of patch #8163 (project libredwg):

                Priority:                7 - High => 3 - Low                
                  Status:                    None => In Progress            
             Assigned to:                    None => reini_urban            


Follow-up Comment #4:

Hi Felipe,
Looking back at this ancient feature.
I see the need for a special dwg dumper outside of setting LIBREDWG_TRACE=2-4
I also saw your libdwg/programs/dwg-dump

Now libredwg already has a print callback for that, there's no need for an
extra dump callback. Currently we have 4 callback methods: decode, encode,
print and free.

The current dumper is called programs/dwgread, which is LIBREDWG_TRACE
sensitive. Without LIBREDWG_TRACE it is silent.
A --verbose/-v or --quiet/-q flag might be better suited for that.
Your dwg-dump -v options clashes with that.

For consistency we might want to call it programs/dwgprint - the name of our
callback -, but that might be misleading. Or programs/dwgdump.

A good dumper should support multiple output formats:
plain text, JSON, YAML, xml.

I'll add this to a branch, and see if we can use some it. My guess is that we
already have most of it.

Thanks anyway, appreciated.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]