summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2016-08-22GSoC: tdf#101249 Toolbar Mode switchingSzymon Kłos3-4/+8
+ added registry entry for storing current toolbar mode for each application + registry entries to store toolbar mode configuration, remember additional visible toolbars activated by user + changing toolbar mode hides and shows suitable toolbars + added menu controller for toolbar mode + notebookbar implementation entries are disabled when notebookbar mode is not active + each mode can open/collapse the sidebar Change-Id: I2b03f87c6dce53190d12102892d9ad30fbfd3bf6 Reviewed-on: https://gerrit.libreoffice.org/27991 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2016-08-22ucbhelper::Std{In,Out}putStream are only used in ucb/source/ucb/cmis/Stephan Bergmann2-186/+0
...where their use of boost::shared_ptr (instead of std::shared_ptr) matches the use in libcmis, but makes them unlikely to be useful anywhere else. So move them into ucb/source/ucb/cmis/. Change-Id: I68359be6b43d6889af4f241dcdcbdc0d9d70d717
2016-08-22tdf#89329: use unique_ptr for pImpl in svdounoArnold Dumas1-1/+2
Change-Id: I3e2fc34fecb735cb9696d2943e69cc9929930e23 Reviewed-on: https://gerrit.libreoffice.org/28278 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-22convert SdrHintKind to scoped enumNoel Grandin3-31/+30
Change-Id: I77ad33425d440263a71bc94f41d8e141f16dfb78
2016-08-22convert SdrViewEditMode to scoped enumNoel Grandin1-9/+11
Change-Id: I1f58efceaee7346187f92c7ebaf901abc305ac33
2016-08-22convert SdrHitKind to scoped enumNoel Grandin1-13/+15
Change-Id: Ia7a18814fed7787e47ac2d3c02654a3648c5491e
2016-08-22convert DefaultType to scoped enumNoel Grandin1-10/+10
Change-Id: Ib5c596bf8f2493cbc6f95530f2b3cd9ef7ab4156
2016-08-20Check arm64 tooTor Lillqvist1-1/+1
Change-Id: I51f89eb05f7844a7b0a99eab1587bbe333b96b09
2016-08-19Resolves: tdf#88953 byref args incorrectly passed in basic->c++Caolán McNamara1-0/+2
partial revert of commit 22b094f5d8e1e82375b135abd3a6f99a9a555244 Date: Tue Jul 14 14:50:07 2015 +0200 loplugin:unusedmethods basic and partial revert of... commit e2080e70fe8b085f18e868e46340454720fa94ca Date: Wed Jun 18 12:14:29 2014 +0200 new compilerplugin returnbyref and revert of... commit 536051f8862203e0e115a5394a6379acd83cc8fe Date: Wed Jul 15 14:04:01 2015 +0200 fix Windows build after commit 22b094f5d8e1e82375b135abd3a6f99a9a555244 "loplugin:unusedmethods basic" Change-Id: I612937334fdb75365080c98a9d4da5ed7ae647e3
2016-08-19Some clang-tidy misc-move-constructor-initStephan Bergmann10-10/+10
...by turning the relevant ctor parameters into "const &". Change-Id: Ia8d0aba5da10ad6b25f8689e2281e45b3d71c1fc
2016-08-19sw redlines: expose description as part of the UNO/LOK APIMiklos Vajna1-0/+1
A redline can have a manual comment and also an autogenerated description, like "Insert 'abc'". Expose this later property as well, as it provides useful additional information, especially when the comment property is empty. Change-Id: Id0f0ff62aef58d96b9b6071706c6f5b4a0d74800
2016-08-19sw lok: add callbacks for redline table insertion / removalMiklos Vajna1-0/+24
An alternative would be to follow the Manage Changes dialog approach and subscribe to the SFX_HINT_DOCCHANGED notification in SwDocShell, cache the old redline table and find out the differences to the current one, but that way sound much more complex without benefits. Change-Id: I20a45285b88255ccea9d6646c0b5288ac1c91879
2016-08-19Resolves: coverity#705366 Mixing enum typesCaolán McNamara157-536/+515
and coverity#705367 Mixing enum types coverity#705371 Mixing enum types coverity#982694 Mixing enum types coverity#1027717 Mixing enum types coverity#1371228 Mixing enum types coverity#1371242 Mixing enum types coverity#1371280 Mixing enum types coverity#1371310 Mixing enum types MapUnit and SfxMapUnit share the same values and are freely cast from one to the other. Now that commit d30a4298bdb5ba53cd1fe659f2b742f218a2e527 Date: Thu Aug 11 15:02:19 2016 +0200 loplugin:unusedenumconstants in package..svtools removed the SfxMapUnit entries that were directly unused, they don't match anymore and casting from one to the other is dangerous. Why there was two of these anyway escapes me, get rid of SfxMapUnit and just use MapUnit universally Change-Id: I4db5dcd04b59be2f85b62b728f96c90afe00c57e Reviewed-on: https://gerrit.libreoffice.org/28234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-08-19sw: remove never read SwViewShell::mbInLibreOfficeKitCallbackMiklos Vajna1-0/+4
This was read in the now removed SwViewShell::libreOfficeKitCallback(), so add a similar flag to SfxViewShell instead, and restore the lost condition. This fixes paint/invalidation loops when inserting the first comment to a Writer document in gtktiledviewer. Change-Id: Iad5ef90848f3b309ef8db4553760dd36d9b8a37c Reviewed-on: https://gerrit.libreoffice.org/28236 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-08-19convert SdrUserCallType to scoped enumNoel Grandin1-14/+16
Change-Id: I0121b17242faee4238d82836453cec695f508db0
2016-08-19convert TableHitKind to scoped enumNoel Grandin1-6/+6
Change-Id: Ie9cde732a85adadc4edead9a29b456ff15b3f750
2016-08-19convert SdrInsertReasonKind to scoped enumNoel Grandin1-6/+6
Change-Id: I225250ef296bb263bdb83c13e23412bf0204be51
2016-08-19convert SdrAnimationMode to scoped enumNoel Grandin1-6/+6
Change-Id: I8a88a7ee538dab020e2ee08e4dce4b100f0bfa3b
2016-08-19drop enum SvxViewHint::HintTypeNoel Grandin1-7/+2
and rename the containing class Change-Id: Id81623898b9ff102fcac6c2518240213b7d22233
2016-08-19convert SdrCrookMode to scoped enumNoel Grandin1-6/+6
Change-Id: If7c62d6c6f5bfa5f4f4f7bdb1af9384f3fa7cea8
2016-08-19convert SdrCreateCmd to scoped enumNoel Grandin1-3/+6
Change-Id: I8772032dee25c790314384750b8c7277c4879318
2016-08-19convert SdrDragMode to scoped enumNoel Grandin2-15/+15
Change-Id: I244132d2240a46f42f14d453e5987968d274e907
2016-08-19convert SdrObjListKind to scoped enumNoel Grandin1-8/+9
Change-Id: I37577e43ad6b9f0843b52cb3667f654abb335677
2016-08-19convert SdrRepeatFunc to scoped enumNoel Grandin3-24/+26
Change-Id: I7702cf3696222c3e1d2422b602bb6c8394e39d7a
2016-08-19convert ObjStrAttrType to scoped enumNoel Grandin1-4/+4
Change-Id: Ief45dea1a9a687777fe6e9b1c0efede90f1e71ee
2016-08-19convert SdrViewContext to scoped enumNoel Grandin1-6/+8
Change-Id: Ic41d522cdb7f80614bd5f269fe1d63f022d8dd84
2016-08-19convert SdrEventKind to scoped enumNoel Grandin1-23/+25
Change-Id: I96c298089d9ca75909380843c7dbc255c4953b88
2016-08-18If no WARN in SAL_LOG, use the INFO selection for WARNs, tooTor Lillqvist1-0/+3
Often the choice whether some particular message is displayed with SAL_INFO or SAL_WARN has not necessarily been that well thought through. Many SAL_WARNs are not actually warnings but purely informative. If you want to see the INFOs for an area it makes sense to want to see also the WARNs for it. So make it so, unless a specific WARN selection is specified. Change-Id: I6286c5f856b29e68bedb7f20efadf56953f94b72
2016-08-18Add handling of a +RELATIVETIMER flag in the SAL_LOG environment variableTor Lillqvist1-7/+14
Outputs a timestamp in decimal seconds (with millisecond accuracy). Simplified the handling of SAL_LOG if no "level" is specified. Now just a totally unset (or empty) SAL_LOG causes the default of "+WARN" to be used. Given how the code works, it would have become too unwieldy to check for all combinations of TIMESTAMP and RELATIVETIMER but no WARN or INFO. Change-Id: I7bb5bb665d4e764e7eee447e93486f6467042e97
2016-08-18Mention what negative or multiply specified flags mean (nothing special)Tor Lillqvist1-1/+4
Change-Id: I8ac1839aab3438aa685aa8cdab2e972447352599
2016-08-18Add handling of a +TIMESTAMP flag in the SAL_LOG environment variableTor Lillqvist1-11/+17
Change-Id: I9bdcd8b2d7b46a087d7f5461b6f7c3d9f02ec084
2016-08-18gtktiledviewer: specify author name when calling initializeForRendering()Miklos Vajna1-1/+3
Open two views, and type into both of them when a Writer doc with redlining enabled is open: the manage changes dialog now shows how the correct author is used when creating the redline items. Change-Id: I48fb90301bfcc04b06d5be5544324ca76fe7b3d7
2016-08-18Better fix for Objective-CTor Lillqvist1-4/+16
Not sure what the exact mechanism of the problem is, but anyway, this helps. Change-Id: I5812381af0e4f12fcbdd06eafb1eedc170ffb608
2016-08-18convert SdrCaptionEscDir to scoped enumNoel Grandin1-2/+2
Change-Id: Iec6dfbdc65efde86ff24ddc51c48eb697bf4ead1
2016-08-18convert SdrCaptionType to scoped enumNoel Grandin1-2/+2
Change-Id: I5c1a2300ec6b3d9dc3085affa08cc544f46b27d6
2016-08-18convert SdrEdgeKind to scoped enumNoel Grandin1-6/+5
Change-Id: Icadffb10750f8792ebd88c4f33f272fe565a3c7a
2016-08-18convert SdrMeasureTextHPos to scoped enumNoel Grandin1-2/+2
Change-Id: I27dccc90565b9e3fb14e88581a181c421caee56b
2016-08-18convert SdrMeasureTextVPos to scoped enumNoel Grandin1-2/+2
Change-Id: I89cc8bc2cfdd3fe059bb38216a10d36dcfea3953
2016-08-18convert ColorModel to scoped enumNoel Grandin1-6/+0
and move it into CUI, since it is only used there Change-Id: I6f8dcfc8d705aa2de2a05eec16f087f17c488872
2016-08-18convert PageType to scoped enumNoel Grandin1-11/+0
and move it inside CUI, since it's only used there Change-Id: I83ac1afaa60da9fb34480363a351608b133154cb
2016-08-18convert ProjectionType to scoped enumNoel Grandin3-3/+3
Change-Id: Iaab8f2ac68964272e3ea00195b3b05c520a1388d
2016-08-18convert XFormTextStyle to scoped enumNoel Grandin2-3/+2
Change-Id: I88facbbbe262d9e26d2b45703c4f05c71bf51479
2016-08-18convert XFormTextAdjust to scoped enumNoel Grandin2-3/+3
Change-Id: Ibc38e73aa5f2134cde7f1ea25b158ea9b8f241a9
2016-08-18convert XFormTextShadow to scoped enumNoel Grandin2-3/+3
Change-Id: I1ff9d2f4aec60f050d9dde8e4c0e991169f585cd
2016-08-18convert XBitmapType to scoped enumNoel Grandin1-1/+1
Change-Id: I749831dfb78c10f3f7b9ebed6a5ee296ba6b2886
2016-08-18convert SvXMLEmbeddedObjectHelperMode to scoped enumNoel Grandin1-3/+2
Change-Id: I12ccc8c7ba0885b3bacd0c17d430a853d327524b
2016-08-18screenshots: clang plugin & tabpage usage fixesArmin Le Grand1-2/+2
Adapted clang compiler results, made TabDialog implementaions of ScreenShot API work with real UXMLDescription names, including a solution for using multiple tabPages with the same *.ui file Change-Id: I56df878b3db3bcc18fa2b4713b7ad72d42e8eb30
2016-08-18screenshots: unify dumping of dialog test batch fileArmin Le Grand1-0/+14
Change-Id: Ia1e79216d9537c65f8b7362778a2e1ad3ec6c2c2
2016-08-18screenshots: fallback screenshot to ui filesArmin Le Grand1-7/+31
Besides the already existing methods to dump adapted dialogs and create and dump fallback dialogs I added a possibility to process a given input file which may contain a list of UXMLDescription files (*.ui files), one per line. This file is processed (empty lines and comment lines using '#' allowed) and for each descriptor first tries to find a known, adapted dialog. If found it gets used, else fallback is tried. Added ui-definition files for sd and sc which contain all ui-files from these dialogs. Adapted the test base class to hold the needed functionality. Change-Id: I1d4c64af8cd5d9c89a53b193951c3e49669f5852
2016-08-18screenshots: Use UI string and fallback for UI-String onlyArmin Le Grand1-2/+16
Two changes in this commit: The Dialogs to be dumped are identified in their test files using their UXMLDescription to allow later to 'find' the known dialogs and use the specialized construction for these. Also added a fallback to construct a vcl Dialog based on only the UXMLDescription and the VclBuilder. This will be constructed without any active initialization/layouting, so should only be used for unknown Dialogs. Also added a dumpDialogToPath version to the tooling that can work directly with a vcl Dialog instead of a VclAbstractDialog. Change-Id: I90abb6f59c2fcc5d534907ae7e4b9a15edc2d694