summaryrefslogtreecommitdiff
path: root/sw/source
AgeCommit message (Collapse)Author
2015-08-24allow avoiding config for CustomToolBarImportHelperCaolán McNamara
Change-Id: Iff0dd632f8c6b187d3515f542cc9fe2ca59088e5
2015-08-24limit seeks to valid areaCaolán McNamara
Change-Id: I401d93491999a3fc3db4f597eea9c4fe5b9bc926
2015-08-24guard against hangs with bogus unsorted plcfsCaolán McNamara
This reverts commit 6d21cbd1238556535ec1bb1adf35b25bc8eb898b. Change-Id: I309302ab5357b8404ee4c75bd0bfcb4f816e0588
2015-08-24Revert "guard against hangs with bogus unsorted plcfs"Caolán McNamara
This reverts commit f3db01f313ac06f70bec7584f48a380ab832ca75. <= maybe, need to double check
2015-08-24guard against hangs with bogus unsorted plcfsCaolán McNamara
Change-Id: I91caff583617435add76503498ca4ed361eb5d2e
2015-08-24dismiss bad seek offsets earlyCaolán McNamara
Change-Id: Ia88bc1833d362547f45e073028203a4de581f3e2
2015-08-24fix crash with empty booknamesCaolán McNamara
Change-Id: Ifadb2129be53530720cb2023cdc0782b6e737f18
2015-08-23tdf#91969: Parts of paragraph border is missingZolnai Tamás
...when border is around more than one paragraph Regression from: 16f637dab3c1b5f7ac9eacf2c57347800d3fdf09 Change-Id: Iea9455dd7cc3c301c3e2d5d7903c98d98e515595
2015-08-23check for bad locationsCaolán McNamara
Change-Id: I635585f664e700047d92821fb965d42b803a8a15
2015-08-22check that src index is in doc rangeCaolán McNamara
Change-Id: Ic81e7a14701ff30aa46a9293dd6db351bd350ba5
2015-08-22tdf#92379: svx: don't overwrite fo:background-color on ODF importMichael Stahl
getSvxBrushItemFromSourceSet() is called once for each property of a frame style that is set, and the "solid" fill-style is set by first applying the BackColorRGB and then BackTransparency property. So there is an intermediate state that has fill-style NONE but a XFillColorItem set - don't reset the color to white in that case! Apparently writerfilter generally relies on the current reset-to-AUTO implementation (loads of test failures), so for now limit the fix for when we know that a frame style is imported from ODF. (regression from 3d399b0e45720354fc64dc3d121ee486e01eff89) Change-Id: Ia987fe586ec819a1f3cd85acdbfb03c74ca0ec2c
2015-08-22tdf#93240: replace boost::ptr_map with std::map<std::unique_ptr>Michael Stahl
Change-Id: I7bc614dc45154c8dd5a7d3948f2129e5127876b3
2015-08-21tdf#92612 Right-clicking after applying "paint buckets" leads to multiple UndoAshod Nakashian
In paint bucket mode the user can undo by right-clicking. Undoing, however, is only possible after the first paint op. After undoing is enabled, the user can undo indefinetely by righ-clicking. This is not consistent and can be confusing. This patch tracks the changes done after entering the paint bucket mode, and allows the user to undo them using right-clicking until they reach the first operation before entering this context. Because the user can undo/redo using other means, the patch takes it into account and will reset its tracking to accomodate this. Ultimately, the user is able to make any changes in paint bucket mode and undo them all by right-clicking, but no further than that. Change-Id: I93380fb60db83aee37a1d324218ba6ab1700a2e5 Reviewed-on: https://gerrit.libreoffice.org/16951 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-21export 'Chapter' field type as 'StyleRef' into .docAndras Timar
Change-Id: I7e635c76b08636a9915cee30aaebb08fc854633d Reviewed-on: https://gerrit.libreoffice.org/17888 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-08-21support ww2, etc via fftesterCaolán McNamara
Change-Id: Iba9aeb909a23373c9c1524b647bc7a86cafb1fa8
2015-08-21loplugin:defaultparamsNoel Grandin
Change-Id: Iaf6415d3b33a4ce195a00913a0df69f1fb794217
2015-08-21AutoCorrect methods result in ambiguous overloadsNoel Grandin
When actually using the parameter defaults. So just remove the defaults. Change-Id: I02dbffcd87a3a07382cb10655d46e7d0312f4e51
2015-08-21avoid hang in certain ww6 docsCaolán McNamara
Change-Id: Ife15f6a6e4b31c6e226a154dd708290266e86a2e
2015-08-21afl-clang-fast++ seems to miscompile thisCaolán McNamara
doesn't harm to swap the order of comparisons, and include the failing testcase for reference Change-Id: I38399cca8f6085704ee714faa04fbbf283138c3d
2015-08-21don't crash due to earlier short readsCaolán McNamara
Change-Id: I682a9bf72cbe18999c0c5acc495e813727e0e372
2015-08-21fix another ww6 crashCaolán McNamara
Change-Id: I47b4ffb1d96041d51dde313c080ed1d9cd4000be
2015-08-21if read string was truncated, then truncate attributes range to matchCaolán McNamara
Change-Id: I3501d31e0310481a5872e537bf53ad2faaf25779
2015-08-21add ww6 test dir and fix a crashCaolán McNamara
Change-Id: Id08176640672095c03e0b124cd65a9dce26ac2db
2015-08-21loplugin: defaultparamsNoel Grandin
Change-Id: I74d5ce7a23b87bed2ecffc8351dc15a9f0a68ed7
2015-08-21loplugin: defaultparamsNoel Grandin
Change-Id: Id6466f7c6d333ecf157c1de4197df394b60d0627
2015-08-21loplugin: defaultparamsNoel Grandin
Change-Id: I2315996f0fa147615554baf8607882eb32af2f34
2015-08-21loplugin: defaultparamsNoel Grandin
Change-Id: I13ad6260ef6a8858765231610d5cb326b4a9ce35
2015-08-21loplugin: defaultparamsNoel Grandin
Change-Id: I7a43882598ab3914f05cac7b24bd44fa72fdac6d
2015-08-21allow differentiation between ww6 and ww8Caolán McNamara
Change-Id: Ia2181b3e9d01661aee521a763b0f87c65e6bad0c
2015-08-21clip text to skip to max text availableCaolán McNamara
Change-Id: I5c5c033954d5b6f869a05f19f312f9330df74efb
2015-08-20tweak config-less sysconfig pathCaolán McNamara
Change-Id: I9b93b740aab2e6e2a19612d8ec41e699c1032e9e
2015-08-20tdf#93240: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I38f9140e565ab2a4d5dc7ad0c1d52837a5b5b67a
2015-08-20tdf#92324 Fixed MailMerge printing with values from databaseVasily Melenchuk
Locking of ExpFields is required to lock current state of fields and database cursor: generation of print preview and some other operations can cause changing of current database record, especially if document contains nextrecord fields. Change-Id: If0466ef2489d96264380b5978ef7d7cf3f545c23 Reviewed-on: https://gerrit.libreoffice.org/17857 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-08-20loplugin: defaultparamsNoel Grandin
Change-Id: I463bbaf86b4a44e8bdf5388404730ab3dcd9b9fe
2015-08-20loplugin: defaultparamsNoel Grandin
Change-Id: I4c6b966a54e18cdbb0c64b6e93804a306b5d2638
2015-08-20loplugin: defaultparamsNoel Grandin
Change-Id: I6019dea21b58ac8ba0dba5c7f6ca837716e19869
2015-08-20loplugin: defaultparamsNoel Grandin
Change-Id: I36c7086117112d35df98c05030c965c21d9330ac
2015-08-20loplugin: defaultparamsNoel Grandin
Change-Id: If105665a016183f08a2be13366e5068060b5954c
2015-08-20more no-config shortcutsCaolán McNamara
Change-Id: Ieb3ae2d0e99e77b23e6826efdf51de56f3543865
2015-08-20sanitize lcbCmds lengthCaolán McNamara
Change-Id: I795ac35c80d7b61d7a9afbeae0d6d4bb789e16f8
2015-08-20loplugin:simplifyboolNoel Grandin
Change-Id: I7bb930f3b062dda9e46f517a1ea1dacb0d64de7f
2015-08-20more config skipping stuff and a tester toolCaolán McNamara
Change-Id: I5e93a4c84b3a0940239213766eb24d21fb5fd649 Reviewed-on: https://gerrit.libreoffice.org/17863 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-19comphelper: reduce copypasta with UniquePtrValueLess functorMichael Stahl
Change-Id: Ib93b818eeebc2f370535d1b061beabf7e8c65257
2015-08-19Consolidate isFileUrl checksStephan Bergmann
Change-Id: I1b74fdfaa09c4d0d6c296253958e83e78b546a9a
2015-08-19Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann
together with 58d68a1bc9146334376206ae7ba8b1a6594a1040 "ConvertURLToSystemPath->getSystemPathFromFileURL" and 28f3464a571a23a2c16bd0980e9021b95d011511 "ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those Convert... functionality with direct calls to the corresponding osl::FileBase functions. Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7
2015-08-19for testing allow disabling configmgr for time critical pathsCaolán McNamara
Change-Id: I08021f18d53e1748927f8847649994f95252bbc2 Reviewed-on: https://gerrit.libreoffice.org/17844 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-18tdf#93096 sw: fix selection with keyboard outside current viewMiklos Vajna
Regression from commit c9175a1bd3249ad573ae6827bf19963a3ebe2fbc (SwViewShell::ImplEndAction: avoid direct PaintDesktop(), 2015-07-03), the problem is that while going via InvalidateWindows() is fine for the double-buffering case, it has side effects when painting directly, so revert back to the old code in that case. Change-Id: Ib1e3b143f5cfe2c6ab8b102a1a2064900282f136
2015-08-17tdf#93482 vcl rendercontext: add Window::RequestDoubleBuffering()Miklos Vajna
This allows applications to request enabling/disabling of double-buffering of their VCL frame and all its children. It works after-the-fact, too: so in case the start center creates the frame and later that frame is reused for Writer, then Writer can turn on double-buffering, still. From a user's point of view, this means that next to VCL_DOUBLEBUFFERING_FORCE_ENABLE, there is now also a VCL_DOUBLEBUFFERING_ENABLE environment variable that enables a safe subset that is not supposed to draw directly at all. Enable this for Writer only, for now. Change-Id: Ie2cbf7d467eae2cee37fb58a1efc0a8984204408
2015-08-17tdf#39080 Hide Whitespace UI option added to the View menu.Ashod Nakashian
Change-Id: I1f9ba9ef489159ca54db802393d958d7fd6ac8ff Reviewed-on: https://gerrit.libreoffice.org/17280 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-17tdf#39080 Hide vertical whitespace when HideWhitespace option is set.Ashod Nakashian
Change-Id: I1d0a974a0b4b7053f59c23aa883bef61fd1df177 Reviewed-on: https://gerrit.libreoffice.org/17279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>