Re: [Gerbv-devel] Zip file processing

2016-10-20 Thread Valerio Messina
On 18/10/2016 10:28, Joerg Wunsch wrote:
> As long as your zlib does so, it would be no problem.
>
> I wouldn't want to deal with multiple compression interfaces.

what about 'libarchive':
https://github.com/libarchive/libarchive/wiki/LibarchiveFormats
?

Valerio


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel


Re: [Gerbv-devel] Zip file processing

2016-10-18 Thread Joerg Wunsch
As Valerio Messina wrote:

> On 18/10/2016 09:53, Joerg Wunsch wrote:
> > There's some automagic for
> > recognizing Gerber vs. RS-274-X
> 
> a question: gerbv can open old style Gerber?

It has some fallback logic for them, but doesn't "officially" want to
support them - which I think is understandable, as it would need to
handle separate aperture files then (and probably need much more
guesswork about the actual format as well).

> > so this magic should obviously
> > be able to also recognize .gvp files.
> 
> gvp files are marked at the start so should be very easy to recognize them

Yes, I know.
-- 
cheers, Joerg   .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel


Re: [Gerbv-devel] Zip file processing

2016-10-18 Thread Valerio Messina
On 18/10/2016 09:53, Joerg Wunsch wrote:
> There's some automagic for
> recognizing Gerber vs. RS-274-X

a question: gerbv can open old style Gerber?
On web site is clearly sayd NO?! so I never tried.
But sometimes from an old floppy disk come out some unreadable files by 
current softwares. gerbv can?

> so this magic should obviously
> be able to also recognize .gvp files.

gvp files are marked at the start so should be very easy to recognize them

thank you again,
Valerio


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel


Re: [Gerbv-devel] Zip file processing

2016-10-18 Thread Joerg Wunsch
As Valerio Messina wrote:

> I regularly send .7z files (or tar.7z), and all are well recognized and 
> processed by the automatic web demo/preview of online services.
> 7zip is far better than zip and is open and cross-platform as well.
> so hope recognition of .7z files too ;-)

As long as your zlib does so, it would be no problem.

I wouldn't want to deal with multiple compression interfaces.
-- 
cheers, Joerg   .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel


Re: [Gerbv-devel] Zip file processing

2016-10-18 Thread Stephan Böttcher
Joerg Wunsch  writes:

> As Sergey Alyoshin wrote:
>
>> > Is there some interest in such a feature?  If so, I'd explore how to
>> > add it to the code base.
>> 
>> It is one of long standing in gerbv wish list on sf.net
>
> Ah, OK.  I'll see what I can do.

:-)

And if you find a gerbv project file in there, please load that too.

(And, since you'll need functions to find out which files are gerbers,
those functions could be applied to commandline argument, to detect
project files without the -p that I often forget to type?)

-- 
Stephan

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel


Re: [Gerbv-devel] Zip file processing

2016-10-18 Thread Joerg Wunsch
As Sergey Alyoshin wrote:

> > Is there some interest in such a feature?  If so, I'd explore how to
> > add it to the code base.
> 
> It is one of long standing in gerbv wish list on sf.net

Ah, OK.  I'll see what I can do.
-- 
cheers, Joerg   .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel