summaryrefslogtreecommitdiff
path: root/tools
ModeNameSize
-rw-r--r--CppunitTest_tools_test.mk1379logplain
-rw-r--r--CustomTarget_reversemap.mk765logplain
-rw-r--r--Executable_bestreversemap.mk604logplain
-rw-r--r--Library_tl.mk3195logplain
-rw-r--r--Makefile225logplain
-rw-r--r--Module_tools.mk1235logplain
-rw-r--r--README312logplain
-rw-r--r--StaticLibrary_ooopathutils.mk1060logplain
d---------inc64logplain
d---------qa / cppunit34logplain
d---------source424logplain
y and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a 2017-07-18loplugin:oncevarTor Lillqvist Change-Id: I538903412a351ba901c2b2149e450ebc7e80916a 2017-06-21loplugin:unusedfields in svx part1Noel Grandin Change-Id: I6621e0dda5a5dc3e68c7b1613975c075e2879912 Reviewed-on: https://gerrit.libreoffice.org/39006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-05-19loplugin:stringcopy: svxStephan Bergmann Change-Id: Ic1874b2bfe28149deab3e6903ef7d7dac77cfc4b 2017-03-31tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna Mostly generated using make check COMPILER_EXTERNAL_TOOL=1 CCACHE_PREFIX=clang-rename-wrapper RENAME_ARGS="-qualified-name=Rectangle -new-name=tools::Rectangle" Except some modules have their own foo::tools namespace, so there have to use ::tools::Rectangle. This commit just moves the class from the global namespace, it does not update pre/postwin.h yet. Change-Id: I42b2de3c6f769fcf28cfe086f98eb31e42a305f2 Reviewed-on: https://gerrit.libreoffice.org/35923 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> 2017-02-21loplugin:subtlezeroinit: svxStephan Bergmann Change-Id: I41b2379e42710f908ab0b4531a52cfbff980725e 2016-12-05convert DecodeMechanism to scoped enumNoel Grandin Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547 2016-10-27loplugin:expandablemethods in svxNoel Grandin Change-Id: I0d193ddf07cc0ddc89b6ce2df6eb71d44e49b631 Reviewed-on: https://gerrit.libreoffice.org/30295 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2016-10-05convert MapUnit to scoped enumNoel Grandin I left a prefix on the names "Map" so that I would not have to re-arrange each name too much, since I can't start identifiers with digits like "100thMM" And remove RSC_EXTRAMAPUNIT, which doesn't seem to be doing anything anymore. Change-Id: I5187824aa87e30caf5357b51b5384b5ab919d224 Reviewed-on: https://gerrit.libreoffice.org/29096 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> 2016-04-18clang-tidy performance-unnecessary-copy-initializationNoel Grandin probably not much performance benefit, but it sure is good at identifying leftover intermediate variables from previous refactorings. Change-Id: I3ce16fe496ac2733c1cb0a35f74c0fc9193cc657 Reviewed-on: https://gerrit.libreoffice.org/24026 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> 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> 2015-11-115th step to remove tools/rtti.hxxOliver Specht tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de> 2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5 2015-09-16boost->stdCaolán McNamara Change-Id: Ic18be8b86727dd1179a7e39c70493d088ed00557 2015-04-30Get rid of initial :: for the sdr namespaceTor Lillqvist Change-Id: Ibbeb069b6fcb2aa0581429ac5cb6db519548fd00 2015-03-27convert AVMEDIA_ constants to enum classNoel Grandin Change-Id: Ic4918f57a1575a24cf0b9251cc7e7c6180ee25fd 2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a 2014-12-18svx: Use appropriate OUString functions on string constantsStephan Bergmann Change-Id: I54931168bfc18c9ce41babdcf535ebc1bcc72c5e 2014-11-04Rename aRect -> maRect for a member variable.Kohei Yoshida Conflicts: svx/source/svdraw/svdoashp.cxx svx/source/svdraw/svdocirc.cxx svx/source/svdraw/svdograf.cxx svx/source/svdraw/svdoole2.cxx svx/source/svdraw/svdorect.cxx svx/source/svdraw/svdotext.cxx svx/source/svdraw/svdotxdr.cxx svx/source/svdraw/svdotxtr.cxx Change-Id: I12dc6c12ee44753c63b15f03276cdaa24e57d395 2014-10-15loplugin: cstylecastNoel Grandin Change-Id: I0ccdd2ce18336afea67a3f296b26b2de50f14808 2014-10-14svx: fix another temp file leak, from SdrMediaObj's glTF modelsMichael Stahl These need a whole directory, apparently a model may have multiple files. Change-Id: I092c1764ddb1ed30947034f299fbb6882658d21b 2014-10-13oox: refactor embedded media importMichael Stahl Currently the oox import creates a temp file and leaks it, and there is no way to clean it up afterwards. Unfortunately it turns out that SdrModel has no way to access the imported OOXML storage, so add a really ugly hack to get the embedded media into the SdrMediaObj by setting both MediaURL and PrivateStream properties (currently oox really wants to set the properties in alphabetical order too...) Change-Id: I5a235fbeb08e7bc17faf066de52b94867e9a79a2 2014-06-12Introduce HAVE_FEATURE_GLTF to enable/disable gltf related codeZolnai Tamás When it is a release build then enable it only on Windows and Linux. Change-Id: I7c462aeb75e6ab60eeaa0fa42ca7853a6369b742 2014-05-06Move headers included only in svx itself from include/svx to svx/incTor Lillqvist Change-Id: Ib735e6566981232fec8b13c81a2de11a6b21dfe7 2014-04-20Make OGLFrameGrabber workZolnai Tamás Steps of grabFrame - Init opengl context - Call libgltf to render - Get a RGB buffer from libgltf - Create a Bitmap from this RGB buffer Additionally: - Using mimetype is neccessary to decide which player to create. - bAllowToCreateReplacementGraphic is unneeded. Change-Id: I7fef043a3341771389144a4f4cac71b0862ef8a7 2014-04-04Remove some extra empty lineZolnai Tamás 2014-04-04Introduce a new media shape property to handle mime typeZolnai Tamás Default mime-type for all media objects: "application/vnd.sun.star.media" The problem of missing mime-type detection still exists. For now only glTF model has a concrete type. Change-Id: I4dca26c1c47a564579bbed926bffa3aa5eda6c04 2014-04-02Store glTF related files in a temp folder which URL can be given to the playerZolnai Tamás media::XPlayer is constructed by media::XManager with only one URL parameter. Change-Id: I3693bce5386ea7f75fa7d9f1a7d744f90440d62b 2014-02-26Remove visual noise from svxAlexander Wilms Change-Id: I56497d953b0500ba0967fddb36ca8bbbe86c62ad Reviewed-on: https://gerrit.libreoffice.org/8321 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2013-11-20Don't set Referer when accessing embedded mediaStephan Bergmann Change-Id: I9a1709eb0d5bb81c6c90c4b9f90ff7bed74cda67 2013-11-20avmedia: Implement "block untrusted referer links" featureStephan Bergmann See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block untrusted referer links' feature" for details. This adds some further /*TODO?*/ comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not blocked during a slideshow presentation. Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325 2013-11-20String clean-upStephan Bergmann Change-Id: I56c397d4cd0ad6c328d660f50189ab5f4b5cfca6 2013-11-18Simplify avmedia::MediaItem::setURLStephan Bergmann Change-Id: I9835b96813c6bf3d8690cdaa5de66ca07afdc801 2013-07-26convert TakeObjNamePlural family to OUStringCaolán McNamara Change-Id: I947e47934677a4f9ced0bfc0db3932bcbbb25f36 2013-07-25convert TakeObjNameSingul family to OUStringCaolán McNamara Change-Id: I0c667cbcfcc1ea1f04d113a53b7ba83c943052e4 2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09 2012-11-27re-base on ALv2 code. Includes:Michael Meeks Patch contributed by Christian Lippka impress212: #i113063# patch: dubios self assign in svx/source/dialog/framelink.cxx http://svn.apache.org/viewvc?view=revision&revision=1167619 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation http://svn.apache.org/viewvc?view=revision&revision=1172343 cws mba34issues01: #i117719#: use correct resource ID http://svn.apache.org/viewvc?view=revision&revision=1172351 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 Patches contributed by Armin Le-Grand #118804# corrected GraphicExporter behaviour on shortcut when pixel graphic is requested http://svn.apache.org/viewvc?view=revision&revision=1240195 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 13f79535-47bb-0310-9956-ffa450edef68 Patch contributed by Regina Henschel linecap: Reintegrating finished LineCap feature http://svn.apache.org/viewvc?view=revision&revision=1232507 Patch contributed by Wang Lei (leiw) #i118760# split the first table cell vertically, then undo&redo, the Presentation app will crash http://svn.apache.org/viewvc?view=revision&revision=1301361 cleanup globlmn hacks, undo dependent fixmes. 2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b 2012-09-25cope with thumbnailing both linked and embedded media correctly.Michael Meeks 2012-09-25Avoid a temporary.Thorsten Behrens Change-Id: I72bbb175f9bd2fa01800d108254c3385fd991cd0 2012-09-25substantially accelerate slides with media on them.Michael Meeks Don't pre-roll, and re-snapshot the video for every move of the mouse, click, partial re-render etc. Cache that instead on the SdrMediaObj. Remove unused setGraphic method. Change-Id: Id2af2f0bba857078480783dd6a7ee89f9b331b1b