summaryrefslogtreecommitdiff
path: root/vcl/generic
AgeCommit message (Collapse)AuthorFilesLines
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac1-1/+1
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-14Resolves: fdo#58324 keep both halves of surrogate pairs if glyph isn't foundCaolán McNamara1-2/+12
Change-Id: I8fda443bb224a7a99b992611221a65e9869da8b9
2013-01-12these members are private now, use accessorsCaolán McNamara1-6/+6
Change-Id: I397a6e5c8585cbc37ec8f28ab6b05914976e163f
2013-01-12RTL_CONSTASCII_(U)STRINGPARAM removed in vcl/genericChr. Rossmanith8-91/+86
Change-Id: I9d1ebdba22dc59f4761b3ff53d6d5df02a3496e0
2013-01-11QUARTZ is equivalent to MACOSXTor Lillqvist1-2/+2
So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-10maName is now private, use GetFamilyName()Caolán McNamara1-1/+1
Change-Id: Id3e0484175fb62e96bdf6dd9abb95ec35117aebf
2013-01-09Resolves: fdo#59131 resolve default backend on printer->setupCaolán McNamara1-0/+1
For setting permanent defaults via spadmin we don't want to resolve the default backend on saving "default", this happens during the print initialization stuff. But when we tweak the printer settings for a single print job and reset back to default, we need to resolve that to what backend we want Change-Id: Iac2370624b6d248c9658fb0fbc2f2d449849d81a
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin2-2/+4
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07Change public variables of class ImplFontAttributes to private.navin5-35/+35
Change-Id: I56ff5d7d2420c334c6fc9e4c552f8b5c4715d93f Reviewed-on: https://gerrit.libreoffice.org/1551 Reviewed-by: Tor Lillqvist <tml@iki.fi> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-12-20Some cppcheckJulien Nabet3-5/+3
Change-Id: Ifec449ea334d9055bb33beb0518ab2e01d885d0d
2012-12-19-DENABLE_GRAPHITE -> config_graphite.hLuboš Luňák4-0/+4
Change-Id: I94c7865b68c65540765c9fbfba6f669055dad4ba
2012-12-06Resolves: fdo#57939 use different layout instances for differing kerning flagsCaolán McNamara1-2/+5
use different layout engine instances for different kerning+ligature combinations Change-Id: I951dec2dfdd25df2c60f617e70a094bd0753aa77
2012-11-30eradicate all traces of OLocale and rtl/locale.hxxMichael Stahl1-1/+0
... damn language tags breaking builds left and right ... Change-Id: I73224cb3fb2bb98779fdcace700cad2a4fb7cd0e
2012-11-30fix build for meCaolán McNamara1-1/+2
Change-Id: Ic29ff474101c88fbc428d229871659d99dd92d05
2012-11-30ditched rtl::OLocaleEike Rathke1-4/+4
Change-Id: I3f4a09c82df1bc71759331705c502320f973d4bb
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens1-6/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-22AllSettings with LanguageTagEike Rathke2-2/+2
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-16use LanguageTagEike Rathke1-3/+3
Change-Id: I48187540869ba8750e83b1c5e9aa5cb84b1a5c9c
2012-11-14source file modes fixEnrico Weigelt, metux ITS1-0/+0
Change-Id: I8975f26f205ba33044285729da54e0210f872fcb Reviewed-on: https://gerrit.libreoffice.org/1065 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-13fontconfig < 2.4.92 doesn't have FcGetLangs, fallback to old logic in absenceCaolán McNamara1-0/+7
Change-Id: Ie789bdfbf26c9cf652d43d6badfad6fec1a3eb9e
2012-11-12re-base on ALv2 code. Includes:Michael Meeks10-238/+141
Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Reduce the dependencies on non standard GNU copy. http://svn.apache.org/viewvc?view=revision&revision=1238684 Correct /usr/bin/env path. http://svn.apache.org/viewvc?view=revision&revision=1235619 Complex Toolbar Controls Extension from the SDK Patches contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1190390 i118615 - make epm more verbose http://svn.apache.org/viewvc?view=revision&revision=1204288 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patches contributed by Juergen Schmidt: jsc341: i117327: take care if no dependency node in current description exists, create one http://svn.apache.org/viewvc?view=revision&revision=1172101 jsc341: i117327: add extra extension dependency check http://svn.apache.org/viewvc?view=revision&revision=1172098 make initial branding changes http://svn.apache.org/viewvc?view=revision&revision=1231878 Patches contributed by Ingo Schmidt native373: #i117733# no linux jre installation on 64 bit systems http://svn.apache.org/viewvc?view=revision&revision=1167536 native373: ##164464# improve debian support http://svn.apache.org/viewvc?view=revision&revision=1167537 Patch contribtued by Armin Le-Grand: Changed various aspects concerning usages of old vendor names http://svn.apache.org/viewvc?view=revision&revision=1293313 fix for neon webdav, remove coinmp bits, improve odk script, cleanup & remove OS/2 conditionals, system ucpp fixes, remove OS/2 conditionals, restore our license filenames.
2012-11-06re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks16-368/+228
linecap: Reintegrating finished LineCap feature Patch contributed by Regina Henschel http://svn.apache.org/viewvc?view=revision&revision=1232507 Patches contributed by Sven Jacobi impress212: #i81610# fixed animation export http://svn.apache.org/viewvc?view=revision&revision=1167620 impress212: drawinglayer gbuild environment changes http://svn.apache.org/viewvc?view=revision&revision=1167627 http://svn.apache.org/viewvc?view=revision&revision=1167628 impress212: DffPropSet -> minor code improvements, removing table http://svn.apache.org/viewvc?view=revision&revision=1167634 impress212: #158494# fixed excel import (text rotation) http://svn.apache.org/viewvc?view=revision&revision=1167638 Patches contributed by Armin Le Grand Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement http://svn.apache.org/viewvc?view=revision&revision=1220836 #118728# changed indentifying definitions for Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1229961 #118838# LineGeometry creation for complicated cases optimized to create single Polygons http://svn.apache.org/viewvc?view=revision&revision=1236232 #119176# corrected file type detection for SVG for svg files without xml header http://svn.apache.org/viewvc?view=revision&revision=1309445 #118728# Extended Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1230531 #118529# solve break converters and convert commands for OLEs and images http://svn.apache.org/viewvc?view=revision&revision=1186168 svg: added WaE changes from branch svgreplacement to trunc http://svn.apache.org/viewvc?view=revision&revision=1222974 svg: corrected missing member initialization http://svn.apache.org/viewvc?view=revision&revision=1226134 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles to bitmapEx ... http://svn.apache.org/viewvc?view=revision&revision=1293316 fix for #118525#: removed no longer used variable maOriginalMapMode, one more exception eliminated http://svn.apache.org/viewvc?view=revision&revision=1227097 #16758# Added buffering to the VDev usages of the VclProcessor2D derivates... http://svn.apache.org/viewvc?view=revision&revision=1229521 #116758# Secured VDev buffer device to Vcl deinit http://svn.apache.org/viewvc?view=revision&revision=1230574 #116758# added remembering allocated VDevs for VDevBuffer to be able to also delete these when vcl goes down; it should never happen, but You never know http://svn.apache.org/viewvc?view=revision&revision=1230927 #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive representation instead of TransparencePrimitive2D http://svn.apache.org/viewvc?view=revision&revision=1231198 #118822# secured 3D geometry creation (slices) by subdividing the 2D source polyPolygon early http://svn.apache.org/viewvc?view=revision&revision=1234749 #118829# enhanced Svg gradient quality, obstacles avoided http://svn.apache.org/viewvc?view=revision&revision=1235361 #118834# Unified usage of TextBreakupHelper as single tooling class for i18n text primitive breakup http://svn.apache.org/viewvc?view=revision&revision=1236110 #118853# added square pixel size limit to conversion of TransparencePrimitive2D to Metafile action http://svn.apache.org/viewvc?view=revision&revision=1237656 #118824# coreccted mirroring and boundrect when the graphicmanager is used for bitmap output http://svn.apache.org/viewvc?view=revision&revision=1240097 #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for various optimization scenarios http://svn.apache.org/viewvc?view=revision&revision=1241434 #118783# Corrected errors in ID strings, corrected Svg line/fill export, corrected polygon close state http://svn.apache.org/viewvc?view=revision&revision=1232006 #118796# corrected null-pointer usage in SVG text exporter http://svn.apache.org/viewvc?view=revision&revision=1240262 #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image import with linked graphics, too http://svn.apache.org/viewvc?view=revision&revision=1229962 #118898# corrected error in GDIMetaFile::GetBoundRect in handling MetaFloatTransparentAction http://svn.apache.org/viewvc?view=revision&revision=1293349 #118855# Corrected handling of possibly created empty clipRegions after PolyPolygon clipping http://svn.apache.org/viewvc?view=revision&revision=1237725 #115962# Better (but not yet optimal, see comments in task) handling of MetaFloatTransparentAction in PDF export http://svn.apache.org/viewvc?view=revision&revision=1241078 IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ... http://svn.apache.org/viewvc?view=revision&revision=1200879 118779# Added svg content streaming in/out to ImpGraphic stream operators http://svn.apache.org/viewvc?view=revision&revision=1231908 linecap: correctons for WaE and mac drawing http://svn.apache.org/viewvc?view=revision&revision=1232793 svg: uses current system Dpi for Svg replacement image creation http://svn.apache.org/viewvc?view=revision&revision=1233948 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1394326 Remove duplicate header includes. cws mba34issues01: #i117720#: convert assertion into warning http://svn.apache.org/viewvc?view=revision&revision=1172352 118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand. http://svn.apache.org/viewvc?view=revision&revision=1182166 cws mba34issues01: #i117714#: remove assertion http://svn.apache.org/viewvc?view=revision&revision=1172357 Patch contributed by Jurgen Schmidt add some additional checks to ensure proper reading operations http://svn.apache.org/viewvc?view=revision&revision=1209022 mostly prefer our stream / bounds checking work. Patches contributed by Herbert Duerr #i118816# add clarifying comment regarding Font::*Color*() methods http://svn.apache.org/viewvc?view=revision&revision=1233833 extend macro->string handling for empty strings http://svn.apache.org/viewvc?view=revision&revision=1175801 avoid magic constants for SALCOLOR_NONE http://svn.apache.org/viewvc?view=revision&revision=1177543 initialize slant properly in ImplFontMetricData constructor (author=iorsh) http://svn.apache.org/viewvc?view=revision&revision=1177551 #i118675# make check for extension updates more stable http://svn.apache.org/viewvc?view=revision&revision=1214797 #a118617# remove VBasicEventListener.dll binary There are no known users depending on its CLSID http://svn.apache.org/viewvc?view=revision&revision=1203697 Patches contributed by Ariel Constenla-Haile Fix build breaker on Linux/gcc http://svn.apache.org/viewvc?view=revision&revision=1221104 Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG http://svn.apache.org/viewvc?view=revision&revision=1215559 Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider instances of <SwFlyDrawObj> http://svn.apache.org/viewvc?view=revision&revision=1172120 sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 gnumake4 work variously from Hans-Joachim Lankenau http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1396782 http://svn.apache.org/viewvc?view=revision&revision=1394707 plus some amount of re-splitting of legacy headers. Patch contributed by Pavel Janik WaE: Remove unused variables. http://svn.apache.org/viewvc?view=revision&revision=1230697 Patches contributed by Takashi Ono mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 Patch contributed by Christian Lippka impress212: #i98044# re enable Text menu for outline and title shapes http://svn.apache.org/viewvc?view=revision&revision=1167639 Patch contributed by Andre Fischer 118674: Made category B code optional and disabled by default. http://svn.apache.org/viewvc?view=revision&revision=1215131 118881: Ignore empty paragraphs after bullets. http://svn.apache.org/viewvc?view=revision&revision=1296205 Patches contributed by Philipp Lohmann ooo340fixes: #i117780# use rtl allocator http://svn.apache.org/viewvc?view=revision&revision=1172087 ooo34gsl02: #i117807# fix an off by one error (index actually inside the pfb section header) http://svn.apache.org/viewvc?view=revision&revision=1167576 various cleanups, related compilation fixes, warning cleanups, re-working of obsolete stl template pieces to use boost instead, changed string classes, re-adapt KDE about data, about dialog, fixing warnings, and other fixes & improvements. Disable svg import / render for about/ branding code-paths for now. Restore full icon theme set. Remove OS/2 conditionals and sources. Remove conflicting gtk/full-screen monitors support. Retain existing svg rasterizer files - temporarily disabled. Standardize stringificaiton and fixup dllpostfix issues. Rename SvgGradientHelper::== to equalTo to avoid overloading issues. Use the flat GdiPlus API for LineCaps calls.
2012-10-07WaE: 'driverLib' defined but not usedTor Lillqvist1-0/+2
Change-Id: If4853650958df9e425c936ead16ea11c976c5657
2012-10-07Android printing is completely different anyway, surelyTor Lillqvist1-1/+1
Change-Id: Ib58300148bbf248150f514bb3c59d863388eaa0b
2012-09-18Don't access broken service mgr during bootstrap failureStephan Bergmann1-9/+51
...so that displaying a (non-translated) error box upon BE_UNO_SERVICEMANAGER works after all. Augment the error text with an exception message where appropriate. This allows to revert fdfb7a3c4b3a89b73ab5546b9620348bc4984d8f "Related fdo#51252: Report uncaught exceptions with MessageBox on Windows" as that was to catch and display failures from instantiating the service mgr. Change-Id: I049a38e95342634796eb0e940e2ee8e55193c9d3
2012-09-17older icu's appear to have the features, but not the typedefsCaolán McNamara1-0/+7
Change-Id: Ic17ffb49e7f143366c9c200d1c04b0536f2222b4
2012-09-17Related: rhbz#857860 enable ligatures and kerning only when requestedCaolán McNamara1-1/+7
Change-Id: I8c4d9744c9a8704fbb7de5670933f2229f710fce
2012-09-17update unused code listCaolán McNamara3-68/+2
Change-Id: I4d6ad11fbe68420931e88defa20afbef290d4d24
2012-09-11default to off for packagekit usage; add --enable-packagekitRene Engelhard1-4/+4
Change-Id: Ib644cc3768ced8a1959fb9ea9f7f24e29fce87ad
2012-09-07move temporary font cleaning to a place that is run on all platformsLuboš Luňák1-3/+0
Change-Id: Idc647684772b53d36a364afd91d9695210545e19
2012-09-07move the code for adding temporary fonts to a separate classLuboš Luňák1-42/+3
I'm a bit confused on how this stuff is separated between platforms, so better do it this way. Change-Id: I2dbd9baef587c81ee37b509bde272ef970f5b118
2012-09-06basic support for temporary fontsLuboš Luňák1-0/+43
To be used when loading fonts embedded in documents. Change-Id: I634af1b35eba48872d045e726d1d879f455d6f2c
2012-09-06these warnings are only debug informational reallyCaolán McNamara1-4/+4
Change-Id: Ie3da4be7251302cb68bd80a65bf74e8bc1b2e5cd
2012-09-05should be able to remove SimpleLayoutEngine nowCaolán McNamara1-75/+8
Change-Id: I74d2cb7c47ec04f4276755fa1bd74779842c7832
2012-09-03misplaced ifdefCaolán McNamara1-1/+1
Change-Id: I006db207686d0a08ffa4e2eb044b12266cdb6dcf
2012-09-03adjust auto font installationCaolán McNamara2-54/+66
to happen on a 5 second timer and collect up as much missing stuff in one go as we can Change-Id: I79f5e70634684a2ef83e3090790531149baf529b
2012-09-03Refetch fonts if new ones installed or old ones deinstalledCaolán McNamara4-4/+31
i.e. honour gtk-fontconfig-timestamp so that if we request a font from packagekit to be installed, then we can auto-use it when it appears. Change-Id: Id0d914a3f9cd589d9e8a87bf9be4b6e47de2e191
2012-09-03make GlyphCache::InvalidateAllGlyphs do what it says it doesCaolán McNamara1-18/+8
all the things we say don't do in GlyphCache::InvalidateAllGlyphs but would do if the random debugging getenv was set are always done in the lines after the one and only call to this. Change-Id: Icd5719f12ab687568c95d59b1f6413a13cef3e3a
2012-09-03Resolves: #i96826# request font installation on render failureCaolán McNamara1-7/+124
Use packagekit interface to request font installation when glyph fallback fails Change-Id: Idb6f5cb6971bd156d7cac0a79e240246e9e0f973
2012-08-31workaround fdo#35118 in the absence of fdo#19869Caolán McNamara1-24/+39
Change-Id: Ie87671bbb9a7c883651a9467b9364dbbcd0da9a1
2012-08-14-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2-4/+1
Change-Id: I5d37ddd95068d807d0f28dd2f00d43b227e910c5
2012-08-13Resolves: fdo#53258 Aquabase-spanish-support busts ttf reader againCaolán McNamara1-3/+8
Once as #i107552# and now again as fdo#53258. This is one sick puppy of a font. It makes fontforge and fontconfig jump through hoops as well. Change-Id: Ifee780bb1463dca4e8b045828a07369e6c3863fc
2012-08-11Remove unused local varsJulien Nabet1-1/+0
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-07Remove non-existing forward declarationsThomas Arnhold1-1/+0
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-07-15Resolves: fdo#31821 always process ZW[N]J in the font regardless of scriptCaolán McNamara1-0/+13
Change-Id: Icd309199b393d89e202fa9d1aba1a1ace51c6c6e
2012-07-15Resolves: fdo#31821 use icu layout whenever possibleCaolán McNamara1-3/+1
because icu knows all about otf so we don't have to, which makes things its problem and not ours. This is the default route for all "ctl" languages already so if we suffer performance issues here we should try and fix that before just reverting Change-Id: I68c8d9929ca48388f61951344f2cfc195045166f
2012-07-14ENABLE_ICU_LAYOUT is always enabledCaolán McNamara1-26/+7
Change-Id: Ie29dd409b95e477a10536468ec320a59cc96a1a9
2012-07-14Related: fdo#31821 prefer non-latn over latn, but latn over nothingCaolán McNamara1-3/+7
Change-Id: I00d4b7bdd6c35ab72ef57c3889fa4c5a7a464e05
2012-07-14Related: fdo#31821 pull tables from otf fonts as wellCaolán McNamara1-4/+7
Change-Id: If3bd4ac640aaf6b68fa4ae2a363f691601ff942b
2012-07-11Decrease header files dependenciesMatteo Casalin1-1/+0
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8