On 05/23/2014 04:36 AM, Tim Munro wrote:
> As far as I know the server itself has nothing to do with the
> unzipping process.  It seems to be something that Qt is doing on its
> own when the (redundant) raw header is not added.

   I've committed the setRawHeader() fix for the .rg file decompression 
issue.  However, I was unable to test as my server doesn't exhibit the 
"Content-Encoding: gzip" behavior.

   Tim, can you test the latest svn to see if it is leaving .rg files 
compressed for you now?

   I tested by modifying FileSource::deleteCacheFile() to leave the 
cache file alone:

//    if (!QFile(m_localFilename).remove()) {
     if (false) {

   Then I drag/dropped an .rg URL from a browser.  I found the cache 
file in ~/.rosegarden.tmp/rg_*/download.  The "file" command said it was 
indeed gzipped:

$ file test.rg
test.rg: gzip compressed data, from Unix

I'm assuming this is a valid test.

Ted.

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to