View Issue Details

IDProjectCategoryView StatusLast Update
0001924ScribusInternalpublic2008-03-14 06:58
ReporterringercAssigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
Platformx86 LinuxOSFedora CoreOS Version3
Product Version1.3.1cvs 
Summary0001924: Support stream I/O for files
DescriptionMost places where Scribus currently takes a filename on a method call should also accept a QIODevice*, plus possibly FILE*, QDataStream, and or QTextStream. QIODevice* is most important. FILE* is less important, since it's not hard to just make a QIODevice from it.

Doing this is an important first step in transparently supporting I/O to network resources (Get Picture from a WebDAV clip-art library, for example).

Many cases should be pretty trivial.
TagsNo tags attached.
Patch

Relationships

related to 0001693 closedcbradney New File Open/Save Dialog Class 
related to 0001925 acknowledged Multiple users sharing one open document 
related to 0002109 acknowledged Internet document submission 
related to 0002108 acknowledged External copy editor tool 
related to 0002054 closedfschmid Hang on saving a complex drawing as an scs. 

Activities

cbradney

2005-04-28 05:13

administrator   ~0004446

For docs (ie, not images etc), this will rely on Tsoots' work on the new file load/save plugin system and writing those plugins based on libxml2 and SAX.

ringerc

2005-06-06 08:01

reporter   ~0004908

I don't think it has to, really - we can just accept a QIODevice and dump the XML tree we built in memory to it, or tell QDom to do so. Since that code will be replaced anyway, though, I tend to agree that there's little point in converting it.

ringerc

2005-07-10 02:46

reporter   ~0005482

This is harder than it looks, because while a file is seekable, a socket (for example) is not. Thus we need to redo the loading code so it can load sequential-read-only files. Much bigger job.

Issue History

Date Modified Username Field Change
2005-04-27 07:00 ringerc New Issue
2005-04-27 07:00 ringerc Relationship added related to 0001791
2005-04-27 07:07 ringerc Relationship added related to 0001693
2005-04-27 07:08 ringerc Relationship added related to 0001925
2005-04-28 04:37 ringerc Description Updated
2005-04-28 05:13 cbradney Note Added: 0004446
2005-06-06 08:01 ringerc Note Added: 0004908
2005-06-21 02:48 ringerc Relationship added related to 0002109
2005-06-21 02:54 ringerc Relationship added related to 0002108
2005-06-26 11:59 ringerc Relationship added related to 0002054
2005-07-10 02:46 ringerc Note Added: 0005482
2005-07-10 02:46 ringerc Product Version 1.3.0cvs => 1.3.1cvs
2008-03-14 06:58 ringerc Assigned To ringerc =>
2008-03-14 06:58 ringerc Status assigned => acknowledged
2016-05-06 19:42 JLuc Relationship deleted related to 0001791