summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2014-06-18LOK: kill double initialize.Andrzej Hunt
Change-Id: I4d3dd913faea8b9f4a0bd3c13af37d097ced9888
2014-06-17LOK: Split into instance and class.Andrzej Hunt
Change-Id: I2b6f33eaf12343c7da1328a932eb703bb4e4ef6f
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-16translatable="yes" in .ui filesAndras Timar
Change-Id: I2f15875aaba4d960e7b66d38286ef08e091532e1
2014-06-15callcatcher: update unused codeCaolán McNamara
and strip away some stuff in rsc that should now be dead Change-Id: I6411e706c50dff299099680f1f942bf61c4e79f2
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: I98f62391ee27c806f89cd8b85a04d67d1bcc78b7
2014-06-13convert extensions update required dialog to .uiCaolán McNamara
Change-Id: Ia3ad4032f500e95db5db520292e6c8b07b0f5c0b
2014-06-12allow extensions to override Access2BaseLionel Elie Mamane
In particular, this allows users or administrators to upgrade Access2Base by installing the extension version of it. Change-Id: I1650e5beced0fd168afa029dbac2025e2fa16e1f Reviewed-on: https://gerrit.libreoffice.org/9756 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-06-12liblok: set the size for the correct structure.Michael Meeks
Change-Id: Id79d76893bfc931334afd59b05ab96a31e441e02
2014-06-11Rename C api of LibreOfficeKit.Andrzej Hunt
However for the sake of ABI compatibility we can't change liblibreoffice_hook. Change-Id: I0e921efeeab40ef1b53a67c0e7a89d4c75ced831
2014-06-11Move liblibreoffice into LibreOfficeKit.Andrzej Hunt
Change-Id: Ib2754a77be470faaa6f9b27644a1d8dd082ed2b8
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05desktop: remove SAL_THROW macroNoel Grandin
Change-Id: I523d47b443bc7a3fc8129b3a15643560e3971782
2014-06-04update_pch: add a bunch of pch filesThomas Arnhold
desktop: 1m51s -> 54s framework: 1m55s -> 1m04s package: 32s -> 16s sdext: 1m31s -> 47s svgio: 32s -> 15s uui: 49s -> 20s vbahelper: 1m44s -> 27s xmlscript: 15s -> 10s xmlsecurity: 45s -> 23s Change-Id: Ia437969c091bf877983ababc5ea2d044bbc0bee0
2014-06-04fdo#36313: allow passing FilterOptions via cliTomas Hlavaty
Examples: --infilter="Text (encoded):UTF8,LF,,," --convert-to "html:XHTML Writer File:UTF8" --convert-to "txt:Text (encoded):UTF8" Change-Id: I69a0524ef63f6d486637d68280331528d1001b56
2014-06-04desktop: fix includesThomas Arnhold
Change-Id: Ia51cd6fcdb84c049907b0aeda20774558198b575
2014-05-30No StarBASIC if DISABLE_SCRIPTINGTor Lillqvist
Change-Id: Ie72c883c4d55ad247f582dcd89420f13814c28a3
2014-05-30fix / in #defineNoel Grandin
as a consequence of commit 3ddb928061531a8742565bfa91c0aaa76ef88863 "fdo#68849: Add header guards to all include files" Change-Id: I02aea067276017a3b27c28fb45ac48a135697bd3
2014-05-30fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories desktop/*, and embedserv/* Change-Id: Idaffcc0539b84962ed7c132cb20078512799d433 Reviewed-on: https://gerrit.libreoffice.org/9556 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-29Detach all DocBasicItem objects upon process termination.Kohei Yoshida
To prevent rogue DocBasicItem objects (which are global objects) from attempting to stop listening after the main app is dead. Change-Id: I68a667137ca4e0eff18278f4d2d5dd67466eaf34
2014-05-29Don't forget to dispose the component here.Kohei Yoshida
Otherwise, none of the associated SfxViewFrame, SfxBaseController, SfxObjectShell, SfxMedium etc would get destroyed which would ultimately lead to the .~lock.foo file not being deleted upon exit. But for this to work, the client code has to make sure that its LibreOfficeDocument instance gets destroyed when it finishes its thing. Change-Id: Id45eda526c1496712e4314a947e994eba5c3fa68
2014-05-29remove more unnecesary OUString constructor useNoel Grandin
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29remove unnecessary linefeeds from the end of exception messagesNoel Grandin
Change-Id: Id1d7971639b2496dbe0274423ff4150d9295e8d6
2014-05-28coverity#703943 Unchecked return valueCaolán McNamara
Change-Id: Ief79d090988c2178980724c7a7835f01457a8019
2014-05-27coverity#706499 Uncaught exceptionCaolán McNamara
also coverity#706500 and coverity#706502 and coverity#706503 Change-Id: If8c76f9fea669f3397a3db65fefaabe101bf9c35
2014-05-27the stock multilineedit is sufficient IMOCaolán McNamara
Change-Id: I374c17fcda80c4f821271bf665a41beae100cccf
2014-05-27desktop: further src file cleanupThomas Arnhold
Change-Id: I37f83084203fcc4e2f7d68f7c21774573b9281e8
2014-05-27newly unused helpidCaolán McNamara
Change-Id: I977e6df72fcb06a192af539559f79b2f146495f7
2014-05-27RID_DLG_UPDATEINSTALL conversion to .uisk94
Change-Id: I02ead5dc934d0f9ae9e958cbe6592250f1aaf1a4 Reviewed-on: https://gerrit.libreoffice.org/9464 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-27remove unnecessary use of Reference constructor in throwNoel Grandin
Convert code like this: throw IOException("xx", Reference< XInterface >(static_cast<OWeakObject*>(this)) ); to this: throw IOException("xx", static_cast<OWeakObject*>(this) ); Change-Id: Ife9f645f0f1810a8e80219126193015502c43dbb
2014-05-26missing title from extension update dialogCaolán McNamara
Change-Id: I53aae37fbdbd5ef1846332787e2b1165173b9e8a
2014-05-23coverity#982428 Division or modulo by float zeroCaolán McNamara
Change-Id: I2aee3d84387736195c29534761846f69d616753d
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-22Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-21drop unused helpidsCaolán McNamara
Change-Id: I35fd20220a206fbe9cbc9eed9670b59e4051ae11
2014-05-21lets drop the custom DescriptionEdit widgetCaolán McNamara
Change-Id: Id08b364b828ccacd5c54276daf605ec4ff3fdb0a
2014-05-21RID_DLG_UPDATE conversion to .uisk94
Conflicts: desktop/source/deployment/gui/descedit.hxx Change-Id: Icf9ee3081b468f99833d1e38182887ad1da6f675 Reviewed-on: https://gerrit.libreoffice.org/9417 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-20C string usage improvmentArnaud Versini
Change-Id: I5c59f0d2d1b911ffa1ee251e0f1355d137616493 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-13Elide utl::TempFile_ImplStephan Bergmann
Change-Id: I8f14cd351c17abaa9d48144cdf8325afc250787b
2014-05-09Revert font initialization fooCaolán McNamara
this reverts 081a0854635f4bc9f6f743ef4e2675c208405f74 because the heights and widths of the non .ui-converted dialogs are all too low and everything is squished in them Change-Id: I103eda4b3d43365c02ecedb6f37b995a682b2cf9
2014-05-08some more %PRODUCTNAME usageThomas Arnhold
Change-Id: If418877b88e95cd55c39fc6dbe314b3a796574cd
2014-05-08Disable rtl/alloc.h also for HelgrindStephan Bergmann
Change-Id: I472d11d50a3b0810779108f3f81624ab9880fe8b
2014-05-08desktop: sal_Bool->boolNoel Grandin
Change-Id: I3462a9d4c23c9bc858c1a9d91caa58d87b204ee0
2014-05-07The opaque PostUserEvent IDs are actually pointersStephan Bergmann
...so declare them as such. This avoids the recurring mistake of storing such IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to potentially not remove the event, it thus firing "too late" and probably causing a crash. While at it, consolidate the trivially unnecessary overloads of both Application::PostUserEvent and Window::PostUserEvent. And in each of them, it looks like deleting the mpLink member was missing from the failure branch. Change-Id: Iab13afbb06e12ac15dec6a6b5b85a7e402a3c654
2014-05-07Move ImplInitAppFontData from Window to Application (take 2)Chris Sherlock
I have renamed ImplInitAppFontData to InitAppFontData and moved it from Window to Application. This is because this is something that sets *application* global variables, it just so happens it gets it from a Window parameter. But it should be set when the application starts, so I have moved it to Main(). This was previously reverted, but I have since located what was causing unit tests to fail and the font dropdowns to stop loading in writer: see commit c6d7ba5f33c3 where Application::SetSettings() was setting pImplSVData->maGDIData.mnAppFontX to zero. Change-Id: I5da7073b0d8541f1a71a09b0a8337d012fc4134b
2014-05-06remove uncompiled source filesThomas Arnhold
how to find possible candidates: find . -name *.cxx | grep -v compilerplugins > cxx.list for i in `cat cxx.list`; do basename $i .cxx; done > cxx.base.list for i in `cat cxx.base.list | sort -u`; do echo $(git grep -w $i -- '*.mk' | wc -l) $i; done > cxx.count Change-Id: I15c6cc7195e58d79967388850a0c90b915b001b7
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin
Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-05-05Revert "Move ImplInitAppFontData from Window to Application"Miklos Vajna
This reverts commit f76026a43acc65465882924796d93e635c35fd90. This brings back the paragraph style and font name combo boxes in Writer. Change-Id: Idb28253797ef842d575fe10537f6e70faa34fe75
2014-05-04Move ImplInitAppFontData from Window to ApplicationChris Sherlock
I have renamed ImplInitAppFontData to InitAppFontData and moved it from Window to Application. This is because this is something that sets *application* global variables, it just so happens it gets it from a Window parameter. But it should be set when the application starts, so I have moved it to Main(). Change-Id: I9d98aa5b533166f91352218af267930034648c7a Reviewed-on: https://gerrit.libreoffice.org/9242 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>