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
5620 5668d 04h jghali /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp patch for #3655  
5332 5703d 12h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp cannot draw vertical lines by scripter createLine() + non-needed redraws removed.  
5184 5719d 04h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp NLS Api changes: encapsulate ParagraphStyle fields, relate ParagraphStyle to CharStyle, use #ifdef NLS_PROTO  
4847 5752d 02h 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 5765d 00h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Move DeleteItem into the doc  
4672 5768d 05h 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 5778d 04h 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 5782d 05h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp replace "None" with CommonStrings::None  
4520 5784d 07h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #3141: wrong sizes fore create-function  
4430 5796d 02h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.  
4042 5841d 05h 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 5844d 13h 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 5857d 02h 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 5861d 00h 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 5878d 05h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp more issues in setStyle()  
3748 5880d 13h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #2770: setStyle (Scripter) applies only to first selected frame  
3727 5882d 01h 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 5883d 04h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Add in a comment so we can find this if its goes awry.  
3718 5883d 04h 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 5887d 05h 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.  

Show All