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
5753 5612d 07h jghali /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp remove a bunch of compilation warnings  
5620 5630d 00h jghali /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp patch for #3655  
5332 5665d 08h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp cannot draw vertical lines by scripter createLine() + non-needed redraws removed.  
5184 5681d 00h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp NLS Api changes: encapsulate ParagraphStyle fields, relate ParagraphStyle to CharStyle, use #ifdef NLS_PROTO  
4847 5713d 22h 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 5726d 20h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Move DeleteItem into the doc  
4672 5730d 01h 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 5740d 00h 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 5744d 01h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp replace "None" with CommonStrings::None  
4520 5746d 03h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #3141: wrong sizes fore create-function  
4430 5757d 22h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.  
4042 5803d 01h 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 5806d 09h 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 5818d 21h 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 5822d 20h 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 5840d 01h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp more issues in setStyle()  
3748 5842d 09h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #2770: setStyle (Scripter) applies only to first selected frame  
3727 5843d 21h 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 5845d 00h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Add in a comment so we can find this if its goes awry.  
3718 5845d 00h 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.  

Show All