Subversion Repositories Scribus

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5332 5701d 02h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp cannot draw vertical lines by scripter createLine() + non-needed redraws removed.  
5184 5716d 18h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp NLS Api changes: encapsulate ParagraphStyle fields, relate ParagraphStyle to CharStyle, use #ifdef NLS_PROTO  
4847 5749d 16h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Rename the docs local GUI selection as the name was too generic. Use a temporary selection for undoing of the image scale and offsets as a test for future movement of undo to temporary selections.  
4707 5762d 15h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Move DeleteItem into the doc  
4672 5765d 19h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp -Move the remaining doc parts of the view::reformPages into the doc.
-Move the remaining doc parts of the view::adjustcanvas into the doc.
 
4584 5775d 18h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Move the text setting attributes (1200+lines) from the view to the doc, implement a signal or two and while we are at it, rename and protect a few variables in the process. This already simplifies calls from the scripter removing the view from some function calls, and in many others the view is called only for updates. They have not been adjusted much for their new location which is the next step.  
4546 5779d 19h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp replace "None" with CommonStrings::None  
4520 5781d 21h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #3141: wrong sizes fore create-function  
4430 5793d 17h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.  
4042 5838d 20h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #1606: setStyle changes complete frame style despite selection.
It needs a very heavy testing because it affects all style changes - you can change style in selection from scripter and gui too (in edit mode). I've test it but I'm sure I missed some combinations...
 
4026 5842d 03h craig /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Some bulk S&R changes:
- Renames after IRC discussion:
ScribusApp -> ScribusMainWindow
ScribusApp* ScApp -> ScribusMainWindow* ScMW
- Replace QStoInt and QStodouble with the built-in QString::toInt() and
QString::toDouble() now that those return 0 on failure as required.
 
3934 5854d 16h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Remove ScribusView::SelItem and replace with ScribusDoc->selection. Protect PageItem:: Xpos, Ypos, Width, Height, Rot, Selected and provide functions to access. Implement many of the old view's signals in the page item. Fix offset on canvas bug when canvas has been resized by a drag op. Adjust all code as appropriate. Fix up raise and lower operations. Reduction of calls to PageItem new member functions to come, old code left in commented out for now. Part of the new selection class is to connect the first selected item's signals to properties palette. This is not yet finished but will reduce emissions of those old view signals to one per selection.  
3903 5858d 14h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Add beginnings of Selection class, currently unused. Protect PageItem::Xpos and Ypos and update affected classes. Implemented xPos(), yPos(), setXPos(), setYPos() and move(,)  
3769 5875d 20h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp more issues in setStyle()  
3748 5878d 03h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #2770: setStyle (Scripter) applies only to first selected frame  
3727 5879d 15h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Convert ScribusDoc::Items to a pointer to DocItems or MasterPageItems. Adjust code as necessary. Fix bug in ScribusDoc::copyPageToMasterPage. Fix sig11 in align distribute palette with currDoc!=NULL after the last doc has closed.  
3720 5880d 19h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Add in a comment so we can find this if its goes awry.  
3718 5880d 19h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Don't call for a redraw when setting the style. Seems to run ok. Might need setting back for existing objects. Don't use SelectItemNr when we can SelectItem.  
3690 5884d 19h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Create Lines for Lines and not PolyLines in Scripter. Set itemFinalised to true for new items, and do not use the View's Mpressed as this is for interactive only.  
3447 5907d 18h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Remove commented out code from my recent changes  

Show All