summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2016-01-29vcl: changes to included vcl headersChris Sherlock
Changes made to allow for harmonization of vcl/inc/impfont.hxx and vcl/inc/fontattributes: - comment added showing the similarities between impfont.hxx and fontattributes.hxx (made in fontattributes.hxx) - extra line space added for my own convinience as I tend to switch between tabs listing vcl/inc/impfont.hxx and vcl/inc/fontattributes.hxx in OpenGrok because that's how I roll - fontattributes.hxx doesn't need rtl/textenc.hxx, that's already included in rtl/ustring.hxx, so swapped to use this instead - fontattibutes.hxx now includes i18nlangtag/languagetag.hxx - this will be needed when I add the LanguageTag properties that exist in impfont.hxx - unotools/fontdefs.hxx added to: + vcl/source/font/PhysicalFontCollection.cxx + vcl/source/font/PhysicalFontFamily.cxx + vcl/source/font/PhysicalFontFace.cxx + vcl/source/font/font.cxx These are the only specific files that actually need this include. Thus this has been removed as an included header from fontattributes.hxx - vcl/inc/fontinstance.hxx doesn't need the reference counter to be a sal_uLong, a sal_uInt32 will suffice (if we need more references than that then I suggest there is a problem somewhere in the code!) - rearranged vcl/source/font/font.cxx's included headers Change-Id: I8d61a5c05989356c056b962adc5aa670940addd2
2016-01-29vcl: add text alignment functions to ImplFont and FontAttributesChris Sherlock
ImplFont and FontAttributes now have GetAlignment and SetAlignment, and I have renamed Font::GetAlign to Font::GetAlignment, and Font::SetAlign to Font::SetAlignment. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test added to vcl/qa/cppunit/font.cxx to test text alignment. Change-Id: I6272c84fc9416c90616d957d1897eba9469fe7ba Reviewed-on: https://gerrit.libreoffice.org/21876 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-28tdf#96745: Hold VclPtr on a border window's client windowKatarina Behrens
It was Noel's idea ... makes sense given that following Close() call not only closes, but also deletes the window Change-Id: Icea766d2a7bb7bd834f32080f7c69a9fc67ebf54 Reviewed-on: https://gerrit.libreoffice.org/21878 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-28Resolves: tdf#96580 Sequence::get doesn't return the start of the dataCaolán McNamara
it returns the start of the underlying uno_Sequence commit 78c83032b266fbb6fc20ddca86df80affaff7c24 Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Sep 30 09:40:16 2015 +0100 maSvgDataArray only populates a uno::Sequence, so use that instead Change-Id: I335d5ee70e95e1a3b204d34f6df4cb62f3fb3cad Change-Id: I8d2c07fec039e58d3644e4ab5eb074ee215f075e
2016-01-28vcl: try to fix windows buildMichael Stahl
There are at least 3 different definitions of SCRIPT_CONTROL, apparently newer versions of Windows SDK append flags at the end, so just initialize it with memset. Change-Id: I2e5f957bff1002629bf012e3effd3f1d281da3e1
2016-01-28loplugin:fpcomparison in vcl/Noel Grandin
Change-Id: I29f8c2c0f19e2440565f5300deffc412faa5870e Reviewed-on: https://gerrit.libreoffice.org/21775 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-28vcl: add in copy constructor for FontAttributesChris Sherlock
Change-Id: I0627ee8ee699abd2afc87639c87f8c17f42c6e70
2016-01-27Resolves: rhbz#1294208 trackpad two finger scroll does into reverseCaolán McNamara
Change-Id: Ic576f14cae82781a93e52972513a28c4a141d1a2
2016-01-27gtk_drag_begin_with_coordinates is too new for tinderboxCaolán McNamara
Change-Id: I759b8d1421860501243039c66d17fb82ac66dd47
2016-01-27Missing includeStephan Bergmann
Change-Id: I39389f972b71f9cf6509edb6a0484d9fcdf182d1
2016-01-27Resolves: tdf#93054 gtk3: implement drag and dropCaolán McNamara
Change-Id: Ib644ea36b8a9e68e023e465ef159b9a4890e5d37
2016-01-27vcl: readd <vector> and <set> into vcl/inc/window.hChris Sherlock
Change-Id: I705a170acc045d8423ea42aebf7c5ca13a3ede72
2016-01-27vcl: readd <vector> into vcleventlistener.hxxChris Sherlock
Change-Id: If9420596ff779381dea9a494a68267ba3de15f8c
2016-01-27vcl: readd <vector> into toolbox.hChris Sherlock
Change-Id: I6efa1a909e75a235e5c6509986dd3a916dd82eaf
2016-01-27vcl: readd <memory> into textlayout.hxxChris Sherlock
Change-Id: I6ea4ed1b8f397c4ac5f7dfba8b4f5385ce1fc7d2
2016-01-27vcl: minor rearrangement of header include in svmconverter.hxxChris Sherlock
Change-Id: I0ee039afe6bdec449869a3f130efc4ca87a9e7d5
2016-01-27vcl: minor tab space formatting of svids.hrcChris Sherlock
Change-Id: I0cab806b21ccf4c0be6a6a852039f18350070803
2016-01-27vcl: readd include of <vector> into vcl/inc/sft.hxxChris Sherlock
Change-Id: I7a9b1cf64d8972ecee25b764d4091aa551fa1ff3
2016-01-27vcl: minor change to header include in salvd.hxxChris Sherlock
Change-Id: Ia92a91628642bf96092100649736ee9f8eaea68b
2016-01-27vcl: minor tweak to header guard in salsession.hxxChris Sherlock
Change-Id: I354cb24bb75d3b394da203a1a6cfaaf5ca2c4ce5
2016-01-27vcl: remove comment cruft from vcl/inc/salptype.hxxChris Sherlock
Change-Id: Ie4e98b1cd407e79a35635dd255f421906a50eb6b
2016-01-27vcl: put back std headers into salprn.hxxChris Sherlock
Change-Id: I25786bd08a112a365868034eaa91b2cab1e6b0e9
2016-01-27vcl: put back std headers into sallayout.hxxChris Sherlock
Change-Id: I87d87f5d2215912d07f79993885462462addc0bc
2016-01-27vcl: change SalFrameGeometry from typedef struct to structChris Sherlock
Change-Id: I3d5d1a07c0ec088600e55dc557ccc5e698dcf649
2016-01-27vcl: put back std headers to salgdiimpl.hxxChris Sherlock
Change-Id: I49e963d2a6afa8e1fdce975323a42efe67dd5c54
2016-01-27vcl: small formatting fix to vcl/inc/saldatabasic.hxxChris Sherlock
Change-Id: Ic687ebba970d3e5795124ac22dde088daa7fba7c
2016-01-27vcl: reformat vcl/inc/print.hChris Sherlock
Change-Id: I0ae12f395c392cc67fce4105f517d3ccd406b1fe
2016-01-27vcl: I don't think calling a data type 'DataType' is very sensibleChris Sherlock
Change-Id: Ief7010bda8db12b5663940acbd2417ca6cb73371
2016-01-27vcl: readd std headers to openglgdiimpl.hxxChris Sherlock
Change-Id: I1207a62adbdc764c72c47238c80f47061fc461e6
2016-01-27vcl: readd std headers to listbox.hxxChris Sherlock
Change-Id: Ic5144fc35d6c1d9e007426d83f780c340e8d1a90
2016-01-27vcl: fix header guards in impoctree.hxxChris Sherlock
Change-Id: Id1e9a78012ec00fe0a742ff33894a0a3c9592608
2016-01-27vcl: add in vector header to vcl/inc/image.hChris Sherlock
Change-Id: I7e060bd945290cfadd101d35a6d6570945a181ce
2016-01-27tdf#39468 vcl: translate German comment in idlemgr.hxxChris Sherlock
Change-Id: I05e34bbcb7cb281c191339be64d96f40f075aa4e
2016-01-27vcl: cosmetic formatting of fontsubset.hxxChris Sherlock
Change-Id: I2b9c4f9f7c1ae564179a3e5276730d1b86a24b67
2016-01-27vcl: fix header guards for fontinstance.hxxChris Sherlock
Change-Id: I1f81ea50802f9c17f7af58db09a86cf2b680d4c6
2016-01-27vcl: cosmetic cleanup to canvasbitmap.hxxChris Sherlock
Change-Id: Ib41436e70992508191f3ada393874b769210ba20
2016-01-27vcl: fix header guard for cairo_cairo.hxxChris Sherlock
Change-Id: Icd1cd3bcfbf65712097a6a90755a3c747ab1da9a
2016-01-27vcl: cairotextrender.hxx is a private Unix headerChris Sherlock
Change-Id: I3f2dbce1c162a2db94a9c2f9d23c83209b1d82bb
2016-01-27vcl: cleanup cairo_cairo.hxxChris Sherlock
Change-Id: I473397466c130d115add6a8a128e43ba0b4bc50a
2016-01-27vcl: remove extraneous included headers in window.hChris Sherlock
Change-Id: I9fce8a5300ba8e2edc4641682063a94b071533e1
2016-01-27vcl: cleanup tabs for wall2.hxxChris Sherlock
Change-Id: I9110a4b8739f5d641913e8e8d35972e4ca1fab67
2016-01-27vcl: remove extraneous included headers in wall2.hxxChris Sherlock
Change-Id: I9ad7192ddedfe164638ad5da21c5e27242d94a11
2016-01-27vcl: remove extraneous included headers in vcleventlisteners.hxxChris Sherlock
Change-Id: I8fc7f751281520444fc4ca36dcb90fd62d4d65cb
2016-01-27vcl: remove extraneous included headers in toolbox.hChris Sherlock
Change-Id: I40af01bf7c2e8dd8699d88fa52327d460827e211
2016-01-27vcl: remove extraneous included headers in textrender.hxxChris Sherlock
Change-Id: I865c48822c8e95c427318a4a26fb86a01b0df2b9
2016-01-27vcl: remove extraneous included headers in textlayout.hxxChris Sherlock
Change-Id: I5d85d0be2e43cbd5f9f623ef4f627868f8bfd322
2016-01-27vcl: remove unnecessary includes in svdata.hxxChris Sherlock
Change-Id: I28dd9058f37611d01fbb1d4e8b9b99145c4d1750
2016-01-27vcl: remove unnecessary includes in sft.hxxChris Sherlock
Change-Id: I6574a74e2c5c6d8348a2f25a85462e32a2220f87
2016-01-27vcl: remove comment cruft in salwtype.hxxChris Sherlock
Change-Id: Ib3f02b311a81fd3009f58b7bf9acc3ed1fd0cd2e
2016-01-27vcl: remove unnecessary includes in salvd.hxxChris Sherlock
Change-Id: Icf437e3103994e16e128aaa7c0705715099044e5