You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2023/02/12 12:59:44 UTC

[openoffice] branch trunk updated (05f6192c8a -> d5edfd0976)

This is an automated email from the ASF dual-hosted git repository.

damjan pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


    from 05f6192c8a reorderd paragraphs
     new 765ae79b13 Stop using svl's "PTRARR" for the ContentList class, which is limited to 16-bit indices and 2^16 entries. For now, use our own std::vector-based compatible class.
     new a890f778ee Factor out common list APIs into a BaseList template class. Get the ParaPortionList to use 32 bit indices too.
     new 3228dc3342 Start changing some of the Count() and GetPos() callers to 32 bit indices.
     new 8dc46c9824 Change more callers of ContentList::Count() to 32 bit indices. Change the public API of the EditEngine class to 32 bit paragraph indices.
     new a38ef00207 Update the ImpEditEngine, EPosition, ESelection, EFieldInfo, MoveParagraphsInfo, PasteOrDropInfos, EENotify, DeletedNodeInfo, EditUndoDelContent, EditUndoSplitPara, and EditUndoMoveParagraphs classes with 32 bit paragraph indices.
     new 3155dbc2d6 Convert a few more EditEngine paragraph indices to 32 bit.
     new fffd1d5de1 Convert the paragraph indices in EditTextObject and BinTextObject to 32 bit integers. Factor out the BaseList class into a separate file and use it as the ContentInfoList.
     new 20e487bda9 Convert a few other EditTextObject and BinTextObject paragraph indices to 32 bit that were missed before.
     new 597c409aad Start converting paragraph indices in the EditView and ImpEditView classes to 32 bit.
     new bb99baf438 Convert more EditView and EditEngine code to 32 bit paragraph indices. Fix one wrong converted varible that should have been left as 16 bit.
     new 434f02cad7 Convert the EditUndo classes to 32 bit paragraph indices. Audit all usage of "node" (sometimes used as a name for variables storing paragraph indices) and start converting and fixing the problems.
     new 1e6c8db2b9 Convert the EditSpellWrapper classes to 32 bit paragraph indices.
     new 209925efc4 Use 32 bit paragraph indices in the EditHTMLParser class.
     new 3974c0663f Use 32 bit paragraph indices in the EditRTFParser class.
     new d8fd122573 ImpEditEngine::FindParaPortion() should use a 32 bit paragraph index.
     new 67866f572d Convert ParaRange to 32 bit paragraph indices.
     new 8f081814de OutlinerEditEng inherits from EditEngine, and also needs to be changed to use 32 bit paragraph indices, as per the compiler warnings.
     new 961599b3ba Change main/editeng/inc/editeng/outliner.hxx to use 32 bit paragraph indices, and update enough of the affected code to able to build editeng.
     new 87936a4407 Change OutlinerParaObject::GetDepth() to a 32 bit paragraph index.
     new fbcf52f4d5 Fix the paragraph index types in OutlinerView::SelectRange().
     new 86af277237 Use 32 bit paragraph indices when calling OutLiner::ImplCheckParagraphs().
     new ced59291f7 Audit and fix 16 bit index paragraph issues in Outliner, and convert OLUndoExpand to 32 bit indices.
     new 7a5aa0144b Audit and fix some 16 bit paragraph index issues in the OutlinerView class and its related code.
     new 79496c0e51 Convert the remaining outliner undo classes to 32 bit paragraph indices.
     new 5707f3c20a Fix the 16 bit paragraph issues in the remaining Outliner methods in outlin2.cxx.
     new 0f74efc0ec We sometimes need unsigned long paragraph indices to work with the tools module's 64 bit macros.
     new 9d9bf804fb Use a 32 bit paragraph index for GetAttributeRun() methods everywhere.
     new c2eaa082a2 Preliminary attempt to convert all instances of GetParagraphCount() to return a sal_uInt32 or sal_uLong, and fix any related problems in all their callers.
     new 2cdd1ab095 Change the CalcFieldValue() parameter to sal_uInt32 across the whole codebase.
     new 8ee1071cd1 Convert all instances of GetTextLen() to take a 32 bit paragraph index.
     new 9ec87cd3b3 Convert all instances of GetParaAttribs() to take a 32 bit paragraph index.
     new 36a4646216 Convert all instances of SetParaAttribs() to take a 32 bit paragraph index.
     new 936080f760 Convert all instances of GetPortions() to take a 32 bit paragraph index.
     new 5aceeead84 Use 32 bit paragraph indices in SvxAccessibleTextAdapter::CalcLogicalIndex() and SvxAccessibleTextAdapter::CalcEditEngineIndex(). Convert AccessibleHyperlink to use a 32 bit paragraph index.
     new 1fd8202176 Change GetItemState() methods in editeng to use a 32 bit paragraph index.
     new 4386a992dd Convert all instances of FieldClicked() to take a 32 bit paragraph index.
     new 7481e1df77 Change the paragraph index parameter of the GetLanguage() method to 32 bit in editeng only (too many unrelated GetLanguage() methods in other places).
     new 72cd434a50 Convert all instances of GetFieldCount() to take a 32 bit paragraph index.
     new c67fa79c68 Convert all instances of GetFieldInfo() to take a 32 bit paragraph index.
     new a6ca19dca6 Convert all instances of GetBulletInfo() to take a 32 bit paragraph index.
     new b5969576ca Convert all instances of GetCharBounds() to take a 32 bit paragraph index.
     new f6b418d97a Convert all instances of GetParaBounds() to take a 32 bit paragraph index.
     new 6a4e5455cd Convert all instances of GetIndexAtPoint() to take a 32 bit paragraph index.
     new a08c5a6470 Convert all instances of GetWordIndices() to take a 32 bit paragraph index.
     new abee0e4c42 Convert all instances of GetLineCount() to take a 32 bit paragraph index.
     new 5e0760ffe6 Convert all instances of GetLineBoundaries() to take a 32 bit paragraph index.
     new f94052d84b Convert all instances of GetLineLen() to take a 32 bit paragraph index.
     new de12c4d71f Convert all instances of GetLineNumberAtIndex() to take a 32 bit paragraph index.
     new cd9c084144 Convert all instances of GetDepth() to take a 32 bit paragraph index.
     new ab353c92a8 Convert all instances of SetDepth() to take a 32 bit paragraph index.
     new cdf4cf20cc Convert all instances of AppendTextPortion() to take a 32 bit paragraph index.
     new 1ba24eae0b Convert all instances of HaveImageBullet() and HaveTextBullet() to take a 32 bit paragraph index.
     new 7eda1d8ffa Convert all instances of GetNumberingStartValue() to take a 32 bit paragraph index.
     new 394b60d0fd Convert all instances of SetNumberingStartValue() to take a 32 bit paragraph index.
     new 988a551b2f Convert all instances of IsParaIsNumberingRestart() to take a 32 bit paragraph index.
     new 1bf365f044 Convert all instances of SetParaIsNumberingRestart() to take a 32 bit paragraph index.
     new f3cb006e65 Change SvxUnoTextContent, SvxUnoTextContentEnumeration and SvxUnoTextRangeEnumeration to use 32 bit paragraph indices.
     new 72fcb0ef71 Update some remaining methods in SvxAccessibleTextIndex to 32 bit paragraph indices.
     new c142bc4e4e Use a 32 bit paragraph index to SvxPropertyValuesToItemSet(), and fix the calling code.
     new 3361926eaa Change some remaining 16 bit paragraph indexing to 32 bit in editeng/source/accessibility.
     new 7a9d3b93ca Find where hardcoded 16 bit constants are used to construct ESelection, and convert these to 32 bit constants. Add new EE_PARA_MAX and EE_INDEX_MAX constants for this purpose.
     new 9ab0b1665e Increase the check for maximum paragraphs to (2^32 - 1) paragraphs.
     new 7c5bca8351 The definitions of starmath's GetItemState() and GetLanguage() should take 32 bit paragraph index parameters too.
     new d2d30fce6e Use 32 bit paragraph indices to the ESelection constructor in SdUnoSearchReplaceShape::Search().
     new d5edfd0976 Merge pull request #164 from DamjanJovanovic/editeng-32bit-paragraphs

The 7969 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 main/chart2/source/view/axes/VCartesianAxis.cxx    |   4 +-
 main/editeng/inc/editeng/editdata.hxx              |  46 +++---
 main/editeng/inc/editeng/editeng.hxx               | 106 ++++++------
 main/editeng/inc/editeng/editobj.hxx               |  20 +--
 main/editeng/inc/editeng/editview.hxx              |  14 +-
 main/editeng/inc/editeng/outliner.hxx              | 110 ++++++-------
 main/editeng/inc/editeng/outlobj.hxx               |   2 +-
 main/editeng/inc/editeng/unoedhlp.hxx              |   2 +-
 main/editeng/inc/editeng/unoedprx.hxx              |  56 +++----
 main/editeng/inc/editeng/unoedsrc.hxx              |  56 +++----
 main/editeng/inc/editeng/unofored.hxx              |  48 +++---
 main/editeng/inc/editeng/unoforou.hxx              |  56 +++----
 main/editeng/inc/editeng/unotext.hxx               |  58 +++----
 .../accessibility/AccessibleEditableTextPara.cxx   | 119 +++++++-------
 .../source/accessibility/AccessibleHyperlink.cxx   |   2 +-
 .../source/accessibility/AccessibleHyperlink.hxx   |   6 +-
 .../source/accessibility/AccessibleImageBullet.cxx |   6 +-
 .../accessibility/AccessibleStaticTextBase.cxx     |  12 +-
 .../source/editeng/baselist.hxx}                   |  45 ++++--
 main/editeng/source/editeng/editdbg.cxx            |   2 +-
 main/editeng/source/editeng/editdoc.cxx            |  24 ++-
 main/editeng/source/editeng/editdoc.hxx            |  41 +++--
 main/editeng/source/editeng/editdoc2.cxx           |  28 ++--
 main/editeng/source/editeng/editeng.cxx            | 136 ++++++++--------
 main/editeng/source/editeng/editobj.cxx            | 105 ++++++------
 main/editeng/source/editeng/editobj2.hxx           |  24 +--
 main/editeng/source/editeng/editundo.cxx           |  20 +--
 main/editeng/source/editeng/editundo.hxx           |  24 +--
 main/editeng/source/editeng/editview.cxx           |  29 ++--
 main/editeng/source/editeng/edtspell.cxx           |   6 +-
 main/editeng/source/editeng/eehtml.cxx             |  10 +-
 main/editeng/source/editeng/eertfpar.cxx           |  18 +--
 main/editeng/source/editeng/impedit.cxx            |  37 ++---
 main/editeng/source/editeng/impedit.hxx            |  86 +++++-----
 main/editeng/source/editeng/impedit2.cxx           | 156 +++++++++---------
 main/editeng/source/editeng/impedit3.cxx           |  60 +++----
 main/editeng/source/editeng/impedit4.cxx           |  48 +++---
 main/editeng/source/editeng/impedit5.cxx           |  52 +++---
 main/editeng/source/outliner/outleeng.cxx          |  30 ++--
 main/editeng/source/outliner/outleeng.hxx          |  24 +--
 main/editeng/source/outliner/outlin2.cxx           |  24 +--
 main/editeng/source/outliner/outliner.cxx          | 178 ++++++++++-----------
 main/editeng/source/outliner/outlobj.cxx           |   2 +-
 main/editeng/source/outliner/outlundo.cxx          |  14 +-
 main/editeng/source/outliner/outlundo.hxx          |  20 +--
 main/editeng/source/outliner/outlvw.cxx            | 132 ++++++++-------
 main/editeng/source/uno/unoedhlp.cxx               |  22 +--
 main/editeng/source/uno/unoedprx.cxx               |  72 ++++-----
 main/editeng/source/uno/unofored.cxx               |  52 +++---
 main/editeng/source/uno/unoforou.cxx               |  68 ++++----
 main/editeng/source/uno/unotext.cxx                |  96 +++++------
 main/editeng/source/uno/unotext2.cxx               |   4 +-
 main/filter/source/msfilter/msdffimp.cxx           |   6 +-
 main/filter/source/msfilter/svdfppt.cxx            |   2 +-
 main/filter/source/xsltdialog/xmlfileview.cxx      |  18 +--
 main/filter/source/xsltdialog/xmlfileview.hxx      |   8 +-
 main/forms/source/richtext/specialdispatchers.cxx  |   4 +-
 main/sc/inc/editutil.hxx                           |   6 +-
 main/sc/source/core/data/attrib.cxx                |  10 +-
 main/sc/source/core/data/cell.cxx                  |   2 +-
 main/sc/source/core/data/column2.cxx               |   4 +-
 main/sc/source/core/data/documen8.cxx              |   2 +-
 main/sc/source/core/data/global.cxx                |   4 +-
 main/sc/source/core/data/postit.cxx                |   2 +-
 main/sc/source/core/tool/editutil.cxx              |  22 +--
 main/sc/source/filter/excel/xehelper.cxx           |   8 +-
 main/sc/source/filter/excel/xicontent.cxx          |   4 +-
 main/sc/source/filter/html/htmlexp.cxx             |   4 +-
 main/sc/source/ui/app/inputhdl.cxx                 |  42 ++---
 main/sc/source/ui/app/transobj.cxx                 |   2 +-
 main/sc/source/ui/docshell/docfunc.cxx             |   8 +-
 main/sc/source/ui/drawfunc/drtxtob.cxx             |   6 +-
 main/sc/source/ui/pagedlg/tphfedit.cxx             |   4 +-
 main/sc/source/ui/unoobj/fielduno.cxx              |  16 +-
 main/sc/source/ui/view/editsh.cxx                  |   2 +-
 main/sc/source/ui/view/output2.cxx                 |   4 +-
 main/sc/source/ui/view/viewdata.cxx                |   2 +-
 main/sc/source/ui/view/viewfun4.cxx                |   4 +-
 main/sc/source/ui/view/viewfunc.cxx                |   2 +-
 main/sd/source/filter/html/htmlex.cxx              |   8 +-
 main/sd/source/filter/ppt/pptinanimations.cxx      |   4 +-
 main/sd/source/filter/xml/sdtransform.cxx          |   2 +-
 .../accessibility/AccessibleDocumentViewBase.cxx   |   2 +-
 .../sd/source/ui/annotations/annotationmanager.cxx |   2 +-
 main/sd/source/ui/annotations/annotationwindow.cxx |   4 +-
 main/sd/source/ui/dlg/dlgassim.cxx                 |   2 +-
 main/sd/source/ui/dlg/headerfooterdlg.cxx          |   8 +-
 main/sd/source/ui/func/fuexpand.cxx                |   6 +-
 main/sd/source/ui/func/fuinsfil.cxx                |   2 +-
 main/sd/source/ui/func/fuprobjs.cxx                |   4 +-
 main/sd/source/ui/func/fusumry.cxx                 |   2 +-
 main/sd/source/ui/notes/EditWindow.cxx             |   7 +-
 main/sd/source/ui/unoidl/unosrch.cxx               |   4 +-
 main/sd/source/ui/view/DocumentRenderer.cxx        |   2 +-
 main/sd/source/ui/view/Outliner.cxx                |   2 +-
 main/sd/source/ui/view/drawview.cxx                |   4 +-
 main/sd/source/ui/view/drtxtob.cxx                 |   4 +-
 main/sd/source/ui/view/drtxtob1.cxx                |   4 +-
 main/sd/source/ui/view/outlnvs2.cxx                |   2 +-
 main/sd/source/ui/view/outlnvsh.cxx                |   8 +-
 main/sd/source/ui/view/outlview.cxx                |  20 +--
 main/sd/source/ui/view/sdview.cxx                  |   8 +-
 main/sd/source/ui/view/sdview2.cxx                 |  10 +-
 main/starmath/source/accessibility.cxx             |  52 +++---
 main/starmath/source/accessibility.hxx             |  48 +++---
 main/starmath/source/edit.cxx                      |   5 +-
 main/svx/inc/svx/svdomeas.hxx                      |   2 +-
 main/svx/inc/svx/svdotext.hxx                      |   2 +-
 main/svx/inc/svx/svdoutl.hxx                       |   2 +-
 .../accessibility/AccessibleEmptyEditSource.cxx    |  48 +++---
 .../source/accessibility/AccessibleTextHelper.cxx  |   6 +-
 .../customshapes/EnhancedCustomShapeFontWork.cxx   |   4 +-
 main/svx/source/sdr/properties/textproperties.cxx  |  18 +--
 main/svx/source/svdraw/svdedxv.cxx                 |  14 +-
 main/svx/source/svdraw/svdomeas.cxx                |   2 +-
 main/svx/source/svdraw/svdotext.cxx                |   2 +-
 main/svx/source/svdraw/svdotxat.cxx                |   6 +-
 main/svx/source/svdraw/svdotxed.cxx                |   2 +-
 main/svx/source/svdraw/svdotxfl.cxx                |   2 +-
 main/svx/source/svdraw/svdoutl.cxx                 |   2 +-
 main/svx/source/svdraw/svdview.cxx                 |   4 +-
 main/svx/source/table/cell.cxx                     |   4 +-
 main/svx/source/table/svdotable.cxx                |   2 +-
 main/svx/workben/edittest.cxx                      |  12 +-
 main/sw/source/filter/ww8/rtfsdrexport.cxx         |   4 +-
 main/sw/source/filter/ww8/wrtw8esh.cxx             |   4 +-
 main/sw/source/filter/ww8/ww8graf.cxx              |   6 +-
 main/sw/source/ui/docvw/AnnotationWin.cxx          |   4 +-
 main/sw/source/ui/docvw/PostItMgr.cxx              |   2 +-
 main/sw/source/ui/docvw/SidebarWin.cxx             |   2 +-
 main/sw/source/ui/docvw/srcedtw.cxx                |  23 ++-
 main/sw/source/ui/inc/srcedtw.hxx                  |  10 +-
 main/sw/source/ui/shells/annotsh.cxx               |   2 +-
 main/sw/source/ui/shells/drwtxtsh.cxx              |   2 +-
 main/sw/source/ui/uiview/srcview.cxx               |   4 +-
 main/sw/source/ui/uno/unotxdoc.cxx                 |   4 +-
 136 files changed, 1529 insertions(+), 1508 deletions(-)
 copy main/{oovbaapi/ooo/vba/office/MsoPictureColorType.idl => editeng/source/editeng/baselist.hxx} (50%)