summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2016-02-22BASIC : Add tools::make_ref and simplify SvRef usageArnaud Versini
Change-Id: I8fe846dbd353bace05a8732a9b961f3507d97ef8 Reviewed-on: https://gerrit.libreoffice.org/22587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-22Avoid -fsanitize=enum when using ScDocOptions::eSearchTypeUnknownStephan Bergmann
Change-Id: I0ee0c2081b6babb8815d5ba00c5c551854c6a6e9
2016-02-22loplugin:write only fieldsNoel Grandin
Change-Id: I45895e9845a9037da207f001fece427452ed499f
2016-02-21tdf#93837 Convert RID_FM_TEXTATTRIBUTE_MENU to xmlMaxim Monastirsky
Change-Id: Ic37bfb9e25eba9b03b2c896c904823aec478355e
2016-02-21tdf#93837 Convert RID_POPUP_DLGED to xmlMaxim Monastirsky
Change-Id: I0588063aef397ee95923ad5acd332bc6052fafc7
2016-02-20StarOffice 5.1 was released in 1999, fixing this nowCaolán McNamara
Change-Id: I0b6bf947f7d309820334ed1ac6eae5a29b5c69fb
2016-02-20let ConvertToSearchType() also adapt the regex bool, tdf#72196Eike Rathke
Change-Id: I6d9c438873f3f26418e6b27884207106ccaea148
2016-02-20add ConvertToSearchType() ConvertToBool(), tdf#72196Eike Rathke
Change-Id: Iaab31cd6afe5cedccd4f79b142aa1ecee8a6e8d4
2016-02-19no need for two triggerColumnContextMenuCaolán McNamara
Change-Id: I7c16f510fa998b63c9e845414cb01e3acdd8a3bb Reviewed-on: https://gerrit.libreoffice.org/22509 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-02-19sfx classification: give access to document header/footer and watermarkMiklos Vajna
Change-Id: I07e22f16cfa0229f609e7fc406e98e9f0c843153
2016-02-19editeng: remove never read mpLibreOfficeKitCallbackMiklos Vajna
As all callback invocations happen with SdrModel's callback pointer. Change-Id: I0111040c501b7927332f88cc4797b8ebab2bc57a
2016-02-19add "use-wildcards" XML_USE_WILDCARDS, tdf#72196Eike Rathke
to support ODF table:use-wildcards Change-Id: I448bc53dd81d79a29efad9fbd240ae9c059dfd15
2016-02-18StyleSettingsOptions Only NONE, Mono and NoMnemonics are in useCaolán McNamara
ditch the rest Change-Id: I3383023958f528d9d0d6ba715356d8d6a6aecd5a
2016-02-18StyleSettingsOptions::SpinArrow is not set by anyoneCaolán McNamara
Tragically this means the loss of a OS/2 comment Change-Id: Ia3f7b0a840e6b73cf4fae5f98dd4cf97d4e7b87c
2016-02-18StyleSettingsOptions::SpinUpDown is not set by anyoneCaolán McNamara
Change-Id: I26d5189b6a20844bac2a671a30def1b01aa786a8
2016-02-18move from boost::signal to typed LinkCaolán McNamara
it doesn't really gain us much to have a handful of boost::signal use in a sea of Links This also fixes a regression in commit 051b29e1025253f35f87a04e297760aa8b40611f Author: Luboš Luňák <l.lunak@collabora.com> Date: Sun Sep 14 15:45:02 2014 +0200 convert Edit autocomplete Hdl to boost signals2 where the conversion was... - if ( maAutocompleteHdl.IsSet() ) + if ( autocompleteSignal.empty() ) instead of the correct + if ( !autocompleteSignal.empty() ) Change-Id: I27270d94c782485c0a7e929bc4980af4527fe82b
2016-02-18Resolves: tdf#97904 opengl stuff isn't implemented for gtk3Caolán McNamara
Change-Id: I1abbceebadf320f28955f54058b2d0ebfc79b9bc
2016-02-18Fix SdrModel::libreOfficeKitCallback() vs ImpEditView duplicationMiklos Vajna
It's better if ImpEditView doesn't have a copy of the event types which should be ignored during searching. Change-Id: I9044b9a6af4e3f8e5bf75973e1f975fb45ec72cf
2016-02-17tdf#97922 - Mend nonsensical spin invalidation to improve rendering.Michael Meeks
Change-Id: I3a398c47c69cc292a681ebe2414d844c224f3e3e
2016-02-17tdf#97922 - get control area right for spinbuttons.Michael Meeks
Also avoid caching both spin-buttons and some other complex types. The cache key needs to be able to include more state. Change-Id: I8eff6b1c5c51d27afb796cae66b45390433138b4
2016-02-17Typo: namesapce(s)->namespace(s)Julien Nabet
Change-Id: Ic7c14c2e39a5ade1f5622a8350f9197d84cf9cc8
2016-02-17sfx2 classification: color the infobar according to the impact levelMiklos Vajna
Change-Id: I43c6537290aa5ce8a9dcc034d4ff6776668cde0c
2016-02-17sfx2 infobar: allow setting the message styleMiklos Vajna
Change-Id: I73151a78d1b396179776847d6fbb2da1dd8755e8
2016-02-17sfx2 infobar: allow setting the message colorMiklos Vajna
Change-Id: I32bb73dfd8ecb78bb2eb9907b0c008e84fd2233a
2016-02-17loplugin:nullptrStephan Bergmann
Change-Id: Iadf6c245e4902ef98d5e3de09c1648bdd74644bc
2016-02-17gtk3: use native GtkPopover for calc formula prompt, etcCaolán McNamara
Change-Id: I9aa7e977228780b6273daa03be5e872342414437
2016-02-17sfx2 infobar: allow setting the back/foreground colorMiklos Vajna
It would be easier to set these after the infobar is created, but the infobar is shown right after creating it, so that way the infobar would be always yellow for a short period of time -> annoying flashing. Change-Id: Ie23efd2fd1bba624cf2921f11a6fc40014ac4215
2016-02-17use consistent #define checks for the Windows platformNoel Grandin
stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-17ForceReposition is unusedCaolán McNamara
Change-Id: Ic9c37aef877e81f0c569ae8fe89bbdc41dd09419
2016-02-17sfx2 classification infobar: improve messageMiklos Vajna
Change-Id: If8fe5b145014055639a9a2eadd8fded7ebf7c2b3
2016-02-17sfx2: introduce initial SfxClassificationHelperMiklos Vajna
A document's metadata has predefinied keys like title, and has user-defined ones as well. The BAILS specification at <http://www.tscp.org/wp-content/uploads/2013/08/TSCP_BAILSv1.pdf> describes a mechanism to use the generic user-defined key-value pairs to embed classification-related (read: is it public? is it internal only? etc) information in a standard way. One approach in handling these in LO would be to let code here and there parse these user-defined key-value pairs again and again. An other one would be to handle these as first-class properties, even if the majority of the users would never need them. A middle between the above two approaches is this class: all these properties are still just user-defined properties, but if the document has them, then all related code is supposed to be implemented in this central class. Change-Id: Ib0297a5e91779b330c310a153f1a1628759dd028
2016-02-16gtk3+wayland: play video via gtksink gstreamer elementCaolán McNamara
Change-Id: Ib371fa06eda73962cbe94739e69a68b46c26e4bf
2016-02-16use std shared_ptr for sharing ImpBitmapsCaolán McNamara
Change-Id: I1a0360096964f6402bd3631f2b3f34bf9595ebc6 Reviewed-on: https://gerrit.libreoffice.org/22394 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-02-16sd lok: add LOK_CALLBACK_PARTS_COUNT_CHANGED callbackHenry Castro
In the tiled rendering case, when a slide is deleted or inserted the sorted slides are updated on client side. However, when .uno:Undo and .uno:Redo actions are requested on client side the sorted slides are required to update all sorted slides. So every time when .uno:InsertPage, .uno:DeletePage, .uno:Undo, .uno:Redo actions are requested, it will notify verbose action (PageInserted, PageDeleted) with index on client side to update the sorted slide index. Change-Id: Iebda2aa11be13aea8fbb6d0cc50442805d7485e9 Reviewed-on: https://gerrit.libreoffice.org/22309 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Henry Castro <hcastro@collabora.com>
2016-02-16use consistent #define checks for the Windows platformNoel Grandin
stage 1 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro Change-Id: Iece73abdee530937e0737190b1aa97a46cd3075f Reviewed-on: https://gerrit.libreoffice.org/22390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-15Re-work cppu::preInitBootstrap()Henry Castro
In the preinit stage, the preInitBootstrap is called to load implementations for each service registered by the service manager. All service requests are: initial Component Context and the process service factory is set. However, some services require that VCL is properly initialized. Change-Id: Ib116e3da172b860f2df4d672f6181b5de0b7e6b2
2016-02-15Introduce lok_preinit() to preload all registered UNO implementationsHenry Castro
Intended to be used from an application like the LibreOffice On-Line server so that it can be called in a process that then will call fork() several times, and much space consuming data will end up being shared. Change-Id: I65341c57d00308d246ec90deab8050b2c4bb3e61
2016-02-15tdf#97665 Let's hope that over activation isn't really neededMaxim Monastirsky
- MenuBarManager::Activate has a check for duplicate activation, which makes the second activation attempt fail. Removing this check or deactivating after each activation will likely affect performance even more, but on the other hand should solve lp#1296715, which was the main reason of the over activation in the first place. So let's activate only one menu at a time, and do full activation only on the initial update. - Unfortunately the HUD activation callback doesn't work, so we still have to keep active status listener for all menu items. (Which is BTW against the recommendation in XPopupMenuController::updatePopupMenu IDL doc. Fortunately the performance problem hardly noticeable on modern hw.) Change-Id: I96affa72412f3f38160fdca4b6efd20ca68d059f Reviewed-on: https://gerrit.libreoffice.org/22369 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-02-15Rename rtl::isValidCodePoint -> rtl::isUnicodeCodePointStephan Bergmann
...and fix its documentation, and use it throughout the code base. Change-Id: I349bc2009b1b0aa7115ea90bc6ecd0a812f63698
2016-02-14tdf#85761 vcl: JPEG export does not save PPI values correctlyChris Sherlock
JPEG values are currently hardcoded to 96PPI when we export JPEGs. The Graphic class doesn't have an easy way to get the PPI, but this can actually be calculated from the pref size and pref map mode (no idea why it is called "Pref"). Interestingly, you need to get a multiplier to work this out, relative to units of 100th mm. The EPS filter code had a function that does exactly this, but it's entirely based on MapMode units so it was really implemented in the wrong class IMO. I have thus moved it out of PSWriter and into MapMode. This also fixes tdf#65695, which was partially fixed, but had the JPEG PPI hardcoded to 96dpi. Also fixes tdf#97481. Change-Id: Iedb674141dd4e22fcbfb7be357dc777f732aa3aa Reviewed-on: https://gerrit.libreoffice.org/22339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-02-13vcl: correct tab spacing in graph.hxxChris Sherlock
Change-Id: I6b77e25201291993b84587d84537dbe3a35f362f
2016-02-13tdf#81129 Support reading non-BMP characters in HTML documents.Mark Hung
1. Allow character entity ( &#nnnn; ) to exceed 0xffff in HTMLParser::ScanText() 2. Return a character as sal_uInt32 ( utf32 ) instead of sal_Unicode ( utf16 ) from SvParser::GetNextChar(). Conflicts: sw/qa/extras/htmlexport/htmlexport.cxx Change-Id: Ida455040970fae800f0f11471b27f53461fb78e4 Reviewed-on: https://gerrit.libreoffice.org/21152 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
2016-02-12tdf#95857 Sort out German plurals ...danielt998
Made a start in removing the incorrect 'Infos' German plural Change-Id: Ie989351a7473fc35b563e63ce6a4fb229093af60 Reviewed-on: https://gerrit.libreoffice.org/22301 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-12tdf#97425 - JVM start parameters should be editable.akki95
Added new dialog to edit Java start Parameter. Modified UI of JavaStartParameterDialog using Glade. Renamed Assign Button to Add. Added a function to edit.cxx vcl file to move cursor to last letter of GTKEntry. Change-Id: Ia43e2c0fbced5674a84187de02a9bc9460141f2d Reviewed-on: https://gerrit.libreoffice.org/22220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-12loplugin:unusedmethodsNoel Grandin
Change-Id: I0fb06079ff8a9d0b2f5a2929f31846f91391f5c4 Reviewed-on: https://gerrit.libreoffice.org/22229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-11Simplify ChildrenManagerStephan Bergmann
Change-Id: I43762aa8b572651676d8cac4848d4c6d478cf850
2016-02-11Work around loplugin:oncevar with --disable-dbgutilStephan Bergmann
Change-Id: I8f2a2910993609dec91e63074a5b9195a2352bb5
2016-02-11lok: Introduce a "TakeOwnership" filter option for saveAs().Jan Holesovsky
It is consumed by the saveAs() itself, and when provided, the document identity changes to the provided pUrl - meaning that '.uno:ModifiedStatus' is triggered as with the "Save As..." in the UI. This mode must not be used when saving to PNG or PDF. Change-Id: I11b5aa814476a8dcab9eac5202bd052828ebbd96
2016-02-11[API CHANGE] add operator==/!= to UNO structsNoel Grandin
this is useful now that we are storing UNO structs in std::vector Change-Id: Ic558bcd669bd2b3cdf9eb8393269eb906ac52369 Reviewed-on: https://gerrit.libreoffice.org/22257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-10svtools: missing space between brackets and const in fn sigChris Sherlock
Change-Id: I95467b53acf3940260616a747b0806050419953d