Extension script discussion

From Scribus Wiki
Revision as of 06:05, 17 February 2005 by Ringerc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Discussion of extension script matters

Any discussion of extension script plans, issues, etc should probably happen here. The Known Scripter Issues and Cool experimental PyQt stuff pages may also be of interest.

Open Issues

These areas need work, consideration, and discussion. The more (considered and useful) feedback and ideas, the better.

  • Extension scripts
    • How to make it easy for the user to differentiate extension and normal scripts
    • How best to load extension scripts (I'm now tending toward importing as modules then running a function in the module)
    • How best to explain what an extension script is vs a normal script
    • Should I impose an import hook to prevent loading of PyQt in normal scripts (since it'll crash Scribus)?
    • Worth looking into sip bindings for the Scribus-specific GUI classes?
    • Provide a standardised way to delay initialisation of scripts until app loading finishes
  • Scripter core
    • Property/object based interface is working in 1.3. Do we care about doing automatic unit translation, or is it better to just let the user say '1*in' in arguments? I favour the latter.
    • A basic object-based interface is now possible. How should it look?
  • Dependencies
    • What issues do folks have with dependencies such as sip or libboost for scripter? I don't want to make any such deps required for basic function, but it might be possible to do some cool optional functionality with them.