summaryrefslogtreecommitdiffstats
path: root/drawinglayer/inc
Commit message (Collapse)AuthorAgeFilesLines
* regenerate PCH headers for the 4 new levelsLuboš Luňák2019-05-091-37/+19
| | | | | | | | | Plus some build fixes triggered by this. Change-Id: I59b21def706598ceffd45ae5b1f0262ec9c1ad50 Reviewed-on: https://gerrit.libreoffice.org/71581 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* Pointer is pointlessNoel Grandin2019-02-131-1/+0
| | | | | | | | | since it is just a wrapper around PointerStyle Change-Id: I51f065e0d4ad8bd91f5c84c5819048c720a19267 Reviewed-on: https://gerrit.libreoffice.org/67711 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#42949 Fix IWYU warnings in include/vcl/[n-r]*Gabor Kelemen2018-12-031-0/+1
| | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I5a4951e983078ab6b6cbf0e96b00a20584b85e20 Reviewed-on: https://gerrit.libreoffice.org/64398 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
* loplugin:includeform: drawinglayerStephan Bergmann2017-10-231-1/+1
| | | | Change-Id: I52693e59a37e36fa0bb21732efe90af84fe6d6c6
* use std::unique_ptr in wmfemfhelper::TargetHolderNoel Grandin2017-10-181-2/+3
| | | | | | | Change-Id: I2fab3b9a111513ac711a6480eb240de99eea1991 Reviewed-on: https://gerrit.libreoffice.org/43486 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Rename the basegfx::tools namespace to basegfx::utilsTor Lillqvist2017-09-261-3/+3
| | | | | | | | | | | | | | Reduce potential confusion with the global tools namespace. Will hopefully make it possible to remove the annoying initial :: when referring to the global tools namespace. Unless we have even more tools subnamespaces somewhere. Thorsten said it was OK. Change-Id: Id088dfe8f4244cb79df9aa988995b31a1758c996 Reviewed-on: https://gerrit.libreoffice.org/42644 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Remove include of converters.hxx from precompiled_drawinglayer.hxxMike Kaganski2017-09-221-1/+0
| | | | | | | | | | | Commit cf48347e7a56c38c000e657965f25f4c7e7b4803 didn't take into account commit 632edfabe8065cd59a237d975ee03468ce4d868b landed before it. Change-Id: I108027a460943b14194adcff4af2a41b7720f3be Reviewed-on: https://gerrit.libreoffice.org/42677 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
* Fresh run of bin/update_pch.shMike Kaganski2017-09-221-6/+22
| | | | | | | Change-Id: I69d4157aaf6570cecd51ea59df20556914942e06 Reviewed-on: https://gerrit.libreoffice.org/42565 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* <drawinglayer/tools/converters.hxx> can be internal to drawinglayerTor Lillqvist2017-09-221-0/+43
| | | | | | | | | | And while moving it, get rid of the 'drawinglyer::tools' subnamespace. Less potential confusion with the global 'tools' namespace. Change-Id: Iab3c25be0cec7f3d182228d122837e9f2ac9a529 Reviewed-on: https://gerrit.libreoffice.org/42619 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* Fixup source layout in emf+ parserThorsten Behrens2017-08-171-1/+0
| | | | | | | | | | Non-functional change, cleaning up dog's breakfast in the grandfathered binary parser. Change-Id: If3592959b1580e869413910460ccf5b6c9f6f25d Reviewed-on: https://gerrit.libreoffice.org/41230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* new EMF+ Parser: Basic implementation for Graphic StacksPatrick Jaap2017-08-161-1/+1
| | | | | | | | | | | Some basic code for push/pop events of the graphic stacks. Each draw/fill action is also transferred to the currend state. The implementation follows the one from the old parser. Change-Id: Ib6411046801023dfa72b16038a9e8ede4c628942 Reviewed-on: https://gerrit.libreoffice.org/40867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* migrate to boost::gettextCaolán McNamara2017-07-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away 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
* emfplus: unified transformations, added test codeArmin Le Grand2017-07-152-0/+7
| | | | | | | | | | | More unifications, changed all Map*() methods to use a single B2DHomMatrix which is created based on former stuff, XForm now completely replaced. To check, added debug-only code and switches to the VclPixelProcessor so that visual checks get easy when using these modes (overlay of both methods with modded colors). Also resynched to master. Change-Id: I7b749f90bfde2ec1c2e49ee90ca2ef368da0547e
* emfplus: more corrections and rough geometryArmin Le Grand2017-07-151-0/+5
| | | | | | | | | | | | | | | Corrected/streamlined more, added 1st rough geometry creation to have a proof of concept. Checked the helper classes based on EMFPObject and their derivates. First versions of EMFPPlusDrawPolygon and EMFPPlusFillPolygon, but the complex info in the data objects needs more complex primitive creation. Not sure if primitive creators like createHairlineAndFillPrimitive will be usable, these are based on PropertyHolder info. Also added usage of HandleNewClipRegion, that should be usable Change-Id: I96119be290140bee252ee21a3e1187fad60e9c7d
* emfplus: some cleanup/streamliningArmin Le Grand2017-07-151-4/+5
| | | | Change-Id: Ia931ca356fb079b9cb2395ba2311b91d2481e2d4
* emfplus: migrate gdiplus reader to drawinglayerArmin Le Grand2017-07-152-0/+267
| | | | | | | | | | | | | | | | In the current state interpretation of the GDI+ data is needed in the MetafilePrimitive in the drawinglayer project. Migrate helper stuff and reader from cppcanvas to drawinglayer as tooling, prepare tooling, prepare changing from direct canvas rendering, isolate and migrate existing tooling from MetafilePrimitive from reading emf/wmf to places where it can be commonly used by both, prepare cange of different graphic statue usages, start changing XForm to B2DHomMatrix conversions, ... Change-Id: I2d6954f69464653d111abb316fd9654ad3499c3f
* tdf#94306 remove unused boost dependenciesJochen Nitschke2016-04-131-1/+0
| | | | | | | | | | remove <boost/noncopyable.hpp> in pch and remove boost from makefile if it was the only boost entry. Change-Id: Icb945ae59c137571f4f63807601738eea5c3e831 Reviewed-on: https://gerrit.libreoffice.org/24061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* vcl: split exception types from input typesChris Sherlock2016-02-061-6/+4
| | | | | | | Having them in the file apptypes.hxx isn't necessary helpful, IMO so I've split the types into inputtypes.hxx and exceptiontypes.hxx Change-Id: I89a1ff168c3ae276b2f5486669d4ec2dda062d57
* OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use thatCaolán McNamara2016-01-311-1/+0
| | | | | | | | | | as a direct drop in I guess Change-Id: I3add63f1459f4e659019bd6db54da2f5431958ce Reviewed-on: https://gerrit.libreoffice.org/21941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fast PCH generator and optimized PCH filesAshod Nakashian2015-11-151-89/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* boost->stdCaolán McNamara2015-02-171-1/+1
| | | | Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
* Updated all precompiled headers.Ashod Nakashian2015-02-051-0/+3
| | | | | | | | Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* update_pchThomas Arnhold2014-04-141-1/+4
| | | | Change-Id: I099bff66a7796a5cf18e37e445467bdfb33de602
* drop unnecessary tools/string includesCaolán McNamara2013-10-201-1/+0
| | | | Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
* update pchThomas Arnhold2013-10-151-0/+1
| | | | Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
* PCH for more librariesLuboš Luňák2013-07-122-0/+140
| | | | Change-Id: I6f9a1969605e0016b11157ddb5754ac77fd3966b
* execute move of global headersBjoern Michaelsen2013-04-23116-13016/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-222-45/+9
|
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-074-16/+16
| | | | | | | | 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
* new module i18nlangtagEike Rathke2013-04-051-1/+1
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
* fdo#62525: use cow_wrapper for ViewInformation3DThomas Arnhold2013-04-031-1/+5
| | | | Change-Id: I4f304febfedfa4a5a89d996fe276a9413d0ef855
* fdo#62525: use cow_wrapper for ViewInformation2DThomas Arnhold2013-04-031-1/+5
| | | | | | | Change-Id: Ide3bce3257c9fed7bbda7276dfb55fa179d74fdd Reviewed-on: https://gerrit.libreoffice.org/3183 Tested-by: Thorsten Behrens <tbehrens@suse.com> Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
* fdo#62525: use cow_wrapper for Sdr3DObjectAttributeThomas Arnhold2013-04-031-1/+5
| | | | Change-Id: I80e378f6a88068f5d3b36c6187b41ab8d968a0c3
* fdo#62525: use cow_wrapper for SdrSceneAttributeThomas Arnhold2013-04-031-1/+5
| | | | Change-Id: Iaedb5080f341482c3ac4f4e0548be49801c5f0b2
* fdo#62525: use cow_wrapper for SdrLineStartEndAttributeThomas Arnhold2013-04-031-1/+5
| | | | Change-Id: I714011f70ae4c1b9a1dcce5cb3653e918cc742b4
* fdo#62525: use cow_wrapper for StrokeAttributeThomas Arnhold2013-04-031-2/+5
| | | | Change-Id: Icf5daca279902b90da98069338638c3ad432e69a
* fdo#62525: use cow_wrapper for SdrLineAttributeThomas Arnhold2013-04-031-2/+5
| | | | Change-Id: I62b897bd49ef05a3862cb2cd91c3aa13f621e9fd
* fdo#62525: use cow_wrapper for SdrLightingAttributeThomas Arnhold2013-04-031-1/+5
| | | | Change-Id: Ibd6bd31ef78f2e853ff668f64202eff89afb1234
* fdo#62525: use cow_wrapper for Sdr3DLightAttributeThomas Arnhold2013-04-031-1/+5
| | | | Change-Id: I9639746d072642d46c3f0766c473425221b1706a
* fdo#62525: use cow_wrapper for SdrFillBitmapAttributeThomas Arnhold2013-04-031-1/+5
| | | | Change-Id: Ib8bb849b179be12680c5adae6bf89afc5ad31563
* fdo#62525: use cow_wrapper for SdrFillAttributeThomas Arnhold2013-04-031-1/+5
| | | | Change-Id: I827e1edb2c6ec2fc3e16fde6f105063e59d40f66
* fdo#62525: use cow_wrapper for MaterialAttribute3DThomas Arnhold2013-04-021-1/+5
| | | | Change-Id: I7ee65afe8065525e6af198a4d1b75e1035644983
* fdo#62525: use cow_wrapper for LineStartEndAttributeThomas Arnhold2013-04-021-1/+5
| | | | Change-Id: Id8803574245298c6d15b3c59bbfd3b7c812b5794
* fdo#62525: use cow_wrapper for LineAttributeThomas Arnhold2013-04-021-1/+5
| | | | Change-Id: I8934156790051d52dd317b6654b1cc2e1bc381a4
* fdo#61789 Fix crash, pSvtGraphicStroke is allowed to be NULL.Jan Holesovsky2013-03-281-0/+3
| | | | Change-Id: Ia08e2e91354c9b4e543023c193b95e79d56e235b
* fdo#62525: use cow_wrapper for FontAttributeThomas Arnhold2013-03-271-1/+5
| | | | Change-Id: Ic07da7c7cf225a910e6f0fa4f6d20c4700e7ec7a
* fdo#62525: use cow_wrapper for FillHatchAttributeThomas Arnhold2013-03-271-1/+5
| | | | | | | Change-Id: I1581b4bca6f14bd27af12ff40a4f4c0fe08af133 Reviewed-on: https://gerrit.libreoffice.org/3073 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
* fdo#62525: use cow_wrapper for FillGradientAttributeThomas Arnhold2013-03-231-1/+5
| | | | Change-Id: I85a9864820f49da8ebcc4a7d2c80a3c9d0c13b27
* fdo#62525: use cow_wrapper for FillBitmapAttributeThomas Arnhold2013-03-231-1/+5
| | | | | | | Change-Id: I0f666d4baaf6dc4e9f7ea30a518a8904f01d749f Reviewed-on: https://gerrit.libreoffice.org/2948 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
* fdo#62525: use cow_wrapper for SdrShadowAttributeThomas Arnhold2013-03-231-1/+5
| | | | | | | | | Thanks to Thorsten. Change-Id: I9b5435d2326e9ebf340e88025eeea25ff6388ea2 Reviewed-on: https://gerrit.libreoffice.org/2946 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>