summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)Author
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09Formatting changes across all modulesChris Sherlock
+ Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-05Fix typosAndrea Gelmini
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-02-04vcl: take into account the font width is the average font widthChris Sherlock
I'm changing the Font class function names: - SetSize -> SetFontSize - GetSize -> GetFontSize - SetHeight -> SetFontHeight - GetHeight -> GetFontHeight - SetWidth -> SetAverageFontWidth - GetWidth -> GetAverageFontWidth That's because it really makes no sense to say that there is a single constant font width because obviously proportional fonts don't have one - the best we can do is an average font width, which is what folks like Microsoft sort of do already. On a fixed font, the average is still accurate, for obvious reasons :-) I'm also not a fan of GetSize/SetSize as I find it a might too generic. Change-Id: Ib80a604ba62d6883fd6cbc7994da763976be5c70 Reviewed-on: https://gerrit.libreoffice.org/22069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-03extensions: replace boost::bind with lambdaMichael Stahl
Change-Id: I3f0b1835aac20cfd1c149caa122bed1cc96d699e
2016-01-31unnecessary use of OUString constructorNoel Grandin
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-31tools: rename FontUnderline to FontLineStyleChris Sherlock
Change-Id: I4750ad8569a1003b2f8c29052f3e25003ee433ca Reviewed-on: https://gerrit.libreoffice.org/21892 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-26-Werror,-Wignored-qualifiers (clang-cl)Stephan Bergmann
Change-Id: I82d109db92d820df7a7d5875270c20449e77d0a5
2016-01-26Silence -Werror,-Wmissing-field-initializers in END_OBJECT_MAP (clang-cl)Stephan Bergmann
Change-Id: Ia9ba7fc6cd94e2d726cd9b1dc72c140af16dd700
2016-01-26Silence more warnings, clang-cl's /W4 now also includes -WextraStephan Bergmann
Change-Id: I20fa3b02570bdbc3ccd297401a7669b0fda5c624
2016-01-26-Werror,-Wunused-parameter (clang-cl)Stephan Bergmann
Change-Id: I1ac58714e04b995ef5229888f0c427104c001318
2016-01-25InterfaceContainer2 with vector instead of SequenceNoel Grandin
create an InterfaceContainer2 class to replace InterfaceContainer. It uses a std::vector instead of a Sequence for the mutable listener list, which provides far better performance. Switch all our internal use-sites to the new class. Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
2016-01-22tdf#97221 Improve this error message a bit…Adolfo Jayme Barrientos
… so that users know the error lies outside their control. Change-Id: I48acc157332b727de0ab83b1a4679a27dccb4038
2016-01-21vcl: rename Font::GetFamily to Font::GetFamilyTypeChris Sherlock
Change-Id: Ie427a43bd126dcdd89c6f66582736e67130f2254 Reviewed-on: https://gerrit.libreoffice.org/21633 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-18loplugin: unused return valuesNoel Grandin
Change-Id: I9c61a46c57894bc63a57740206c0bcb4a16553af Reviewed-on: https://gerrit.libreoffice.org/21571 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-17vcl: rename Font::GetName to Font::GetFamilyNameChris Sherlock
Change-Id: Ie20871a3078bf875c1782b7761d60591a9c9704f Reviewed-on: https://gerrit.libreoffice.org/21529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16revert vcl patch series that brok Mac and WindowsNorbert Thiebaud
revert: 9bc2f3de8672e812f3a67541c6d7069b434a7e42 vcl: add comment about ImplFontMetric::{Get|Set}LineHeight() 26371f105bc44e04469ec03fc5bb12505e651c6b vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic() 2dd0b4317372b8022efe3911b38b4fa02956d8b9 vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtual 5ab13bf3ead3539e4ad847656da81e7eb6029652 vcl: tabify font.hxx f99550dae55e40e49bf9c9875053fe2abb4c71ca vcl: change Font::SetName() to Font::SetFamilyName() 2b297116cb6bb1061c43e5714e2609c8ee9f57d2 vcl: rename Font::GetName to Font::GetFamilyName Change-Id: I23f38921187d66b970ca815eb30dda4222a2da62
2016-01-16vcl: rename Font::GetName to Font::GetFamilyNameChris Sherlock
Change-Id: I83927e0992dfe0a2a79d139818a9f45d3761aae5 Reviewed-on: https://gerrit.libreoffice.org/21509 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11Use WeakImplHelperStephan Bergmann
Change-Id: Iee4aec239bf095233aac800f70688ad9db7949df
2016-01-11loplugin:privatebase: Publicly derive from UNO interfacesStephan Bergmann
Somewhat arbitrarily prefer public over private derivation; the former is what is used by default across the code base. Change-Id: I936c1b0d3231ac97015863f396a5af49f6c9647b
2016-01-11loplugin:privatebase: Make derivation from noncopyable explicitly privateStephan Bergmann
Change-Id: Ia410950353aec0106ea82d025ed3ee89c79ca127
2016-01-11loplugin:unusedmethods unused return value in extensionsNoel Grandin
Change-Id: I449ecdb734e796813384a5d015e9ecabe28079eb
2016-01-10cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I62f1260d75d8a79bd230e2813fc58373aa83b6ab
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-07cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Ifdcb1cc12645d6cdba81d16f94f0268696187cde Reviewed-on: https://gerrit.libreoffice.org/21201 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-03tdf#74608: Ctor function for abp::OABSPilotUnoMatúš Kukan
Change-Id: I15f64797340ae366e02c2b503767cd3d22a66eeb
2015-12-28extensions: Remove recently unused logging::LogModuleMatúš Kukan
Change-Id: I43d1306427e32dce4ed9ea621d0abc2155bd58df
2015-12-28tdf#74608: Ctor function for logging::PlainTextFormatterMatúš Kukan
Change-Id: Ibaf362c811564cab1855fd5c863b59d90256d047
2015-12-28tdf#74608: Ctor function for logging::CsvFormatterMatúš Kukan
Change-Id: I3383e02a7162cc8dbce3ba0b04fac6dec3492d94
2015-12-28tdf#74608: Ctor function for logging::ConsoleHandlerMatúš Kukan
Change-Id: I4326dcb9ae2abfaddef3b68369ee08a6296e0089
2015-12-28tdf#74608: Ctor function for logging::FileHandlerMatúš Kukan
Change-Id: I3c9e0c33f63a82f9dc172adde6351abbc822fb9e
2015-12-28tdf#74608: Constructor function for LoggerPool singletonMatúš Kukan
+ EventLogger is not an UNO service - does not need XServiceInfo Change-Id: I1b4fed4dfe0fb5f453d521f2902cb65ace586cfb
2015-12-23loplugin:unusedfields in extensionsNoel Grandin
Change-Id: I89d33ea8be97f32c090c8fbf739cbf5e150b12c4
2015-12-17tdf#96398 kill remaining NPAPI support for plugins _inside_ LORene Engelhard
- probably out of date - links against Gtk2 and thus causes a GTk2 dependency in core packages - the only serious usecase (Flash) is doomed anyway Change-Id: I7264ab5eb04c2f4b6c31a815e45b9818209e5ae2 Reviewed-on: https://gerrit.libreoffice.org/20658 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Reviewed-by: Bryan Quigley <gquigs@gmail.com> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-15loplugin:constantfunctionNoel Grandin
Change-Id: Id72123039409b7559fb4fdfe5f29bf1bb83ac23f
2015-12-12OOneInstanceAutoRegistration is not usedMatúš Kukan
Change-Id: I6928dec92655e4655af6c519405712892bf7d870
2015-12-10loplugin:nullptr: More NULL -> nullptr automatic rewriteStephan Bergmann
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
2015-12-09tdf#96368: Address book wizard with no selection returns EvolutionJulien Nabet
Don't select an option which is not even visible Change-Id: I003c835d7d623e559d67098de48efdf057a64422 Reviewed-on: https://gerrit.libreoffice.org/20552 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-12-08tdf#62381: Stop using NPAPI plugin when NP_Initialize failsStephan Bergmann
(...in the Windows-specific code path) Change-Id: I5984ecd88a12d3f22aecaa685bd552f4235fb13d
2015-12-08Fix "missing member of radiobutton group" for selecttypepage.uiJulien Nabet
Regression from 4e3086da3e9873f53b5b9e1d5e511f9f77aaf62f Change-Id: I7ab6df12b8cc0eb952771f1631640dce52d7dee1 Reviewed-on: https://gerrit.libreoffice.org/20460 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-12-03uno::Sequence->std::vector, and fix method nameNoel Grandin
Change-Id: Ie8df504e2ff29897527128ca634211d4e50c8810
2015-12-02Silence clang-cl -Winvalid-offsetof in ATL-macro expansionStephan Bergmann
Change-Id: I2bfa87abd111faf414d2603025d3613f7e0ae104
2015-12-02Silence clang-cl warnings in ATL headersStephan Bergmann
Change-Id: I85df6250d4cae3dd6bd516f2086af7efcf2cd562
2015-12-02Silence clang-cl -Wextra-tokens in midl-generated codeStephan Bergmann
Change-Id: I30d09560bf948c2659f479ef55b58a2007fcbc1b
2015-11-28-Werror,-Wunused-variableStephan Bergmann
Change-Id: I72a5f707787930c64057c71e5caf9ab726739e4f
2015-11-28-Werror,-Wunused-variableStephan Bergmann
Change-Id: I13259b76d5fba0bd4dcc99ce8161e8f049dbe698
2015-11-28-Werror,-Wmicrosoft-exception-specStephan Bergmann
Change-Id: I0a4256047ae0142a03903101036d2a3c8d17429b
2015-11-27No need to extend css.awt.XToolkitExperimentalStephan Bergmann
Change-Id: Idbaca99c9376ade11cd36526c0f667562a2d9c53
2015-11-27Catch exception when online update is disabled.Michael Meeks
Change-Id: I21d668a288883b739180c6f68397fcc7ecff7885
2015-11-26mark UNO structs as SAL_WARN_UNUSED, where possibleNoel Grandin
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d