summaryrefslogtreecommitdiff
path: root/rsc
AgeCommit message (Expand)Author
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
2015-09-23convert Link<> to typedNoel Grandin
2015-09-18Use a C99 flexible array memberStephan Bergmann
2015-09-08loplugin:mergeclass, merge BiNode with NameNode, Obj0Type with ObjkTypeNoel Grandin
2015-09-05cppcheck: fix some redundantCondition warningsJulien Nabet
2015-08-30tdf#39468: Translate German comments in core/rsc/incLucas Satabin
2015-08-28tdf#39468: Translate German comments in core/rsc/sourceLucas Satabin
2015-08-05loplugin:unusedmethodsNoel Grandin
2015-08-04sal,rsc,oox: inline some use-once typedefsNoel Grandin
2015-07-24convert WindowAlign to scoped enumNoel Grandin
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin
2015-06-09cppcheck: variableScopeCaolán McNamara
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
2015-06-02-fsanitize=nonnull-attribute in memcpy callStephan Bergmann
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann
2015-05-29loplugin:loopvartoosmallNoel Grandin
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann
2015-05-02Bin empty eval statementMatúš Kukan
2015-04-30Gradually typed LinkStephan Bergmann
2015-04-29Clean up tools/link.hxxStephan Bergmann
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann
2015-04-29cppcheck: invalidPrintfArgType_uintCaolán McNamara
2015-04-24loplugin:simplifyboolStephan Bergmann
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
2015-04-20rsc crash on WIN64 due to LP64Norbert Thiebaud
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
2015-03-27loplugin:staticfunctionNoel Grandin
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
2015-03-26tdf#39440 cppcheck cleanliness, Fixing basic cpp errorsVarun
2015-03-24loplugin:constantfunction: rscNoel Grandin
2015-03-05Explicitly default the copy ctorStephan Bergmann
2015-03-02V805: Decreased performanceCaolán McNamara
2015-03-02remove executable bit from c / h / cxx / hxx / l filesMichael Stahl
2015-03-01wrong length value for string lengthMarkus Mohrhard
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
2015-02-09Werror: data lost during conversion from size_t to intDavid Ostrovsky
2015-01-26coverity#1266502 Useless callCaolán McNamara
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
2015-01-20Some more loplugin:cstylecast: rscStephan Bergmann
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
2015-01-06fdo#84938: replace BUTTONTYPE_ constants with 'enum class'Noel Grandin
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
2015-01-02Remove unnecessary comphelper::string::getTokenStephan Bergmann
2014-12-31various other apparently unnecessary rsc stuffCaolán McNamara
2017-02-21Try to cut some costsMaxim Monastirsky Change-Id: I0f541a020232960541bccdf970c042cf3303671e 2017-02-21Ignore exceptions in identifyMaxim Monastirsky Change-Id: Iccee29668f5d619c4726d09baa4503c6ae38e84b 2017-02-21Use module name when getting labelsMaxim Monastirsky Change-Id: I1d5196e1ca888dfb11d5bd6ef4676937dce49fdc 2017-02-21CommandInfoProvider can be a namespaceMaxim Monastirsky Change-Id: I8b56423724360f49e1f361cb95056b391a9a3a42 2017-02-21tdf#95844 Refactor CommandInfoProviderRohan Kumar Instead of a singleton, CommandInfoProvider should just be a set of static methods. Change-Id: I16d4406e361a72f013d78f18d6bd0ae20c0cc5e9 2017-01-26Remove dynamic exception specificationsStephan Bergmann ...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2017-01-20split GetImageForCommand into GetBitmapForCommand and coCaolán McNamara Change-Id: I89431532ef26fc33146252e218096e690825b896 2016-11-23loplugin:unnecessaryoverride (dtors) in vclStephan Bergmann Change-Id: I38e24991308bf52e75259a30d332145aef9a757b 2016-10-30tdf#95014 initial support for 32 px icons in toolbarTomaž Vajngerl This adds support for 32 pixel icons - mainly to get them into the toolbar. Most changes made are to change the behavior of having only small and large icons as a boolean choice, but not every code path was converted to non-boolean choice yet. Breeze icon theme has the 32px variants so it can be used already. Change-Id: Iadf832a87826c16b3a83522104dd6c35d61a0f87 Reviewed-on: https://gerrit.libreoffice.org/30398 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> 2016-10-18Make 'IsExperimental' property booleanSamuel Mehrbrodt Change-Id: If88ea931ead8dd031fda9b17d9023a771ab0a0d0 Reviewed-on: https://gerrit.libreoffice.org/29970 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2016-10-14-Werror=maybe-uninitializedStephan Bergmann Change-Id: If03aefa1582e41955b9656b4bae88731735a4660 2016-10-13Add IsExperimental method to CommandInfoProviderSamuel Mehrbrodt Change-Id: I827ae6db25a1df9f25b58ca122e39dc9cb4b0652 2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e 2016-07-27improve passstuffbyref return analysisNoel Grandin Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> 2016-07-13Make TooltipLabel default to PopupLabelSamuel Mehrbrodt Because we often have similiar tooltip and menu names. Change-Id: I0ab66269b0b1f2985f23cf92289b3da69b6ddfd3 Reviewed-on: https://gerrit.libreoffice.org/27186 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2016-04-15tdf#95845 Use CommandInfoProvider in formsSamuel Mehrbrodt Change-Id: I697f8c442cc4db7b38601c32fb71e0201f145354 Reviewed-on: https://gerrit.libreoffice.org/24106 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2016-03-21Need to get the shortcut of the real commandMaxim Monastirsky ... as command alias can't have one by itself. That's the same we do for menus. Change-Id: I555a41282001300fa9aa0e585c073656789c4ebd 2016-03-14tdf#95845 Use CommandInfoProvider to receive UNO command labelsSusobhan Ghosh Added GetCommandPropertyFromModule to CommandInfoProvider. Removed GetCommandText. Change-Id: Ie987984b6465d540029196df371c0c0467999a59 Reviewed-on: https://gerrit.libreoffice.org/22918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2016-02-28tdf#84258 Allow creation of command aliasesMaxim Monastirsky We already can use different labels for commands, based on whether they're in a menu, context menu or a toolbar. But in some cases we need different labels for the same type of UI element, or even different icons. One example is page/slide commands in Draw/Impress, as they share same commands, but need different icons/labels. Creating full-fledged duplicate slots just to satisfy the need of UI representation seems like overkill, and isn't flexible enough. The proposed solution is to allow creation of command entries, that do not correspond to real application slots, but instead link to another existing commands. The "real" commands will be used for controller factory and dispatch (execute/status) APIs, thus fully retaining functionality. This can be useful also for giving icons to complex commands (i.e. commands with arguments). Change-Id: I9b261b406ec8fc781cae06cf283963386379d4ad 2016-02-26loplugin:unuseddefaultparms in include/vcl (part2)Noel Grandin including a fix for a rather glaring bug in BitmapTools.cxx Change-Id: Id9db990b993cfeea9039c5fbaaa91996adeae22a Reviewed-on: https://gerrit.libreoffice.org/22713 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> 2015-12-08Move icon rotation/flip handling from ToolbarManager to vcl's ToolbarSamuel Mehrbrodt This enables rotatad/flipped icons in the Sidebar and other non-toolbar places (tdf#85767) Change-Id: I034394ae6f9b8d91ef5a376a43eda587098f064e Reviewed-on: https://gerrit.libreoffice.org/20403 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2015-11-27mutex used in post-main dtorCaolán McNamara Change-Id: Ia4f4def1fd58d82a7c994114e45a36227269671c 2015-11-18Remove unused toolbaritem propertiesSamuel Mehrbrodt The following properties have been removed: toolbar:bitmap toolbar:property toolbar:width toolbar:userdefined This should have no impact on existing functionality or AddOns, since these properties were not in use. Change-Id: I07574f8102648ee0713379be8cb0b605d2c76364 2015-11-17Need to re-init CommandInfoProvider when component changesMaxim Monastirsky Otherwise many toolbar/menubar labels are missing when starting any component from the start center. Change-Id: I49d009431ae3d1003e5ff395265409b3a5641707 2015-11-17tdf#95845 Add methods for menu labels to CommandInfoProviderSamuel Mehrbrodt Change-Id: Ibf6a26940ec194f540255584776f8ebcefbb94ae 2015-11-17-Werror=maybe-uninitializedStephan Bergmann Change-Id: I2c5626c0fd0244da46157ba286b4c08e4f73944f 2015-11-17tdf#95845 Use CommandInfoProvider to receive command propertiesSamuel Mehrbrodt Change-Id: I41f9a661b7a5b355e50910d7f58f0d9d55dc62a6 2015-11-16Move functionality to retrieve command image to CommandInfoProviderSamuel Mehrbrodt Change-Id: I79c22e0507c5eba8b5e28721de3279131aececc9 2015-11-16Move CommandInfoProvider to vcl and use it from thereSamuel Mehrbrodt Change-Id: If7e3ef81cad8974bc54f359096e3ecc700fa62d6 Reviewed-on: https://gerrit.libreoffice.org/19984 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>