summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
AgeCommit message (Collapse)Author
2016-02-15rename X11WindowProvider to a NativeWindowHandle providerCaolán McNamara
sort of thing and genericize it Change-Id: I27e1e47f2b371e5269db079cfc1262d056105f80
2016-02-12nothing needs GetClipRegionType or uses SAL_OBJECT_CLIP_INCLUDERECTS nowCaolán McNamara
Change-Id: Ie43eb3b2c449891fef1031e7df3f381cecb4b4f9
2016-02-12op is always SAL_OBJECT_CLIP_INCLUDERECTSCaolán McNamara
Change-Id: I4d350aa5d791febde3fea824e3e7b4ab6b6c06e8
2016-02-12this GetClipRegionType is always SAL_OBJECT_CLIP_INCLUDERECTSCaolán McNamara
Change-Id: I0dc1ac4748dc81e16cf1d68e5f1bd8eb407bb9cf
2016-02-12SAL_OBJECT_CLIP_ABSOLUTE is never usedCaolán McNamara
Change-Id: I090f9854589a26b8de78fcda1093ea0c19625c79
2016-02-12SAL_OBJECT_CLIP_EXCLUDERECTS is never usedCaolán McNamara
Change-Id: I60b267e84df2ca0e540fc3218faa9a3fc4c9c55d
2016-02-12nClipRegionType is always SAL_OBJECT_CLIP_INCLUDERECTSCaolán McNamara
Change-Id: Iba054bc064c664f8499219db002749072435e32c
2016-02-12tdf#95857 Sort out German plurals ...danielt998
Made a start in removing the incorrect 'Infos' German plural Change-Id: Ie989351a7473fc35b563e63ce6a4fb229093af60 Reviewed-on: https://gerrit.libreoffice.org/22301 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-13vcl: include vcl headers via triangular brackets instead of quotesChris Sherlock
Change-Id: I311f7db622ce341527fe12a92b516f800b602f92
2016-02-11SalYieldMutex::acquire/release should always be called in pairs, no?Stephan Bergmann
Change-Id: Ia108d3d4db2a2f05d306da55a59520e9471bb336
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>
2016-02-08vcl: cmdevt.[hc]xx -> commandevent.[hc]xxChris Sherlock
Change-Id: I77b30f28ae5a6fad360d7cada9acfaa9c324408b Reviewed-on: https://gerrit.libreoffice.org/22216 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-06vcl: bmpacc.hxx -> bitmapaccess.hxxChris Sherlock
Change-Id: I4bb19d6103c4a6a902d86b62a857e3478493924c
2016-02-06vcl: split exception types from input typesChris Sherlock
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
2016-02-05Fix typosAndrea Gelmini
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-02-04vcl: take into account the font width is the average font widthChris Sherlock
I'm changing the Font class function names: - SetSize -> SetFontSize - GetSize -> GetFontSize - SetHeight -> SetFontHeight - GetHeight -> GetFontHeight - SetWidth -> SetAverageFontWidth - GetWidth -> GetAverageFontWidth That's because it really makes no sense to say that there is a single constant font width because obviously proportional fonts don't have one - the best we can do is an average font width, which is what folks like Microsoft sort of do already. On a fixed font, the average is still accurate, for obvious reasons :-) I'm also not a fan of GetSize/SetSize as I find it a might too generic. Change-Id: Ib80a604ba62d6883fd6cbc7994da763976be5c70 Reviewed-on: https://gerrit.libreoffice.org/22069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-02loplugin:staticmethodsStephan Bergmann
Change-Id: Iad54f114c6443950af4341e1d40dd7dcca9fb8d7
2016-02-02move getCairoContext from X11CairoTextRender to X11SalGraphicsCaolán McNamara
and simplify a little bit Change-Id: I5a2faeb7e22ee5a0eaa4f05bc73fd92cbe2f5083
2016-02-02move CairoTextRender cleanup to callersCaolán McNamara
so releaseCairoContext is a mirror of getCairoContext, so callers that don't need to flush can drop that explicit call Not sure, now that I see it, how there's been no sign of any problem with no damage of the affected text area under gtk3 Change-Id: I8e508160be4102c64a0ecdf5591b6999f9171c36
2016-02-02rename drawSurface to releaseCairoContextCaolán McNamara
Change-Id: Ie5aac4a8b11daa2aba092923286fbbb2d76d4651
2016-02-01configure: remove ---disable-randr-linkMichael Stahl
This looks obsolete, it was used in LibreOfficeLinux.conf since the beginning but in fact since LO 3.5 it was broken and the vclplug_gen was not actully dlopen()ing Xrandr.so but somehow magically "found" the symbols anyway. Change-Id: I81251a8fef0abac63183b0ff3533bb2331ca6f5a
2016-02-01fix the --disable-randr-link buildMichael Stahl
This was borked since gbuildification of vcl in 2011 and the dlopen code didn't even compile since commit b5f1139427b40ca727a03e2e41aa5625cfb08bb8 Change-Id: Ieff22ed144d9d89e53dd956ce0dfea5e4d07ea13
2016-01-31unnecessary use of OUString constructorNoel Grandin
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-27vcl: cairotextrender.hxx is a private Unix headerChris Sherlock
Change-Id: I3f2dbce1c162a2db94a9c2f9d23c83209b1d82bb
2016-01-26sal_uLong/sal_uIntPtr to sal_uInt32 (printer GetCapabilities)Matteo Casalin
Change-Id: I1324c89be2a1d4954b0ddf4a9b06a8a97d5c335e
2016-01-26Reorder PspSalPrinter data members for better alignmentMatteo Casalin
Change-Id: I1ee0ed1505e1564fbcb7267feb0913b728e19357
2016-01-26sal_uIntPtr/sal_uLong to sal_uInt32 for number of printed copiesMatteo Casalin
Change-Id: Ib91ef6fa9b52b0e7c968767a2c19b043c0797d5f
2016-01-26Convert SAL_JOBSET_* defines to new JobSetFlags enum classMatteo Casalin
Change-Id: Id59dd767c09c0757b6c94c7dd4b3e832f11cf615
2016-01-26vcl: GF_VERT is *only* for Windows implementationsChris Sherlock
Change-Id: I4f0a6264a6c6c2533a32de358216601495c959f2
2016-01-26vcl: remove unnecessary header includes from Unix fontsubst.cxxChris Sherlock
Change-Id: I8a77b199562ebffba94c4985693280db91cb0575
2016-01-26vcl: rename Unix salgdi3.cxx to font.cxxChris Sherlock
Change-Id: I201f8e5281332ae9668f59060ea2a94f211a7c68
2016-01-26vcl: remove comment cruft from vcl/unx/generic/gdi/salgdi3.cxxChris Sherlock
Change-Id: Iaa325c3404cf44b6ca98041fd2c904e77d7535d2
2016-01-26vcl: remove unneeded headers from vcl/unx/generic/gdi/salgdi3.cxxChris Sherlock
Change-Id: I52089c8a74d94ebf82c2ca57d530638ce3e118da
2016-01-25vcl: cupsmgr.hxx is a private Unix-only headerChris Sherlock
Change-Id: I362c9cada1769a654b6b8132e07d7f6af3e004fd
2016-01-25more usage of C++ osl::Mutex, osl::MutexGuardNoel Grandin
Change-Id: Ibdc54fdccf70a9d60ad0fdcb9898bcd6d7bda368
2016-01-22Resolves: rhbz#1257635 after httpConnectEncrypt use cupsGetDests2Caolán McNamara
sometimes after calling httpConnectEncrypt + httpClose and then calling cupsGetDests we get no printers found. Using cupsGetDests2 with the return of httpConnectEncrypt consistently provides results. Change-Id: I7ea5b11fbaabbd7ca73e5c94d0757ebdea8445ad
2016-01-21cppcheck: variableScopeCaolán McNamara
Change-Id: Id7cf5887c1ef0e0c0aad72ea5ac49f4d3db5065e
2016-01-20Related: rhbz#1149116 collateEquals was set with OString::booleanCaolán McNamara
but extracted with toInt32() since commit c76cd71fe9bdefaef3f33f8ca193c32e3ab112ed fdo#41524: CUPS printing: use "collate" option when PDF is available though actual reported problem works fine for me with default f23 configuration already, this looks suspicious however Change-Id: I6fcb5df8039296c0e8b0fe931cb490396182de38 Reviewed-on: https://gerrit.libreoffice.org/21629 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-01-20replace use of basebmp in vcl entirely nowCaolán McNamara
we're just using it to store bitmap data and to convert to preferred destination format, so we can use the preexisting vcl BitmapBuffer for that Change-Id: I0e800956d95faddfafa53d2c48b09494a7a867c0
2016-01-19vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic()Chris Sherlock
This brings FontAttributes into line with ImplFont and Font, which is important to the refactoring work I am doing. Change-Id: I08160992834f3732738b40aae9264df00443795a Reviewed-on: https://gerrit.libreoffice.org/21576 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-18loplugin: unused return values in vcl/Noel Grandin
Change-Id: I879bd3bec4dd2cf002681f1e50b6c33cce0934a9
2016-01-16revert vcl patch series that brok Mac and WindowsNorbert Thiebaud
revert: 9bc2f3de8672e812f3a67541c6d7069b434a7e42 vcl: add comment about ImplFontMetric::{Get|Set}LineHeight() 26371f105bc44e04469ec03fc5bb12505e651c6b vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic() 2dd0b4317372b8022efe3911b38b4fa02956d8b9 vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtual 5ab13bf3ead3539e4ad847656da81e7eb6029652 vcl: tabify font.hxx f99550dae55e40e49bf9c9875053fe2abb4c71ca vcl: change Font::SetName() to Font::SetFamilyName() 2b297116cb6bb1061c43e5714e2609c8ee9f57d2 vcl: rename Font::GetName to Font::GetFamilyName Change-Id: I23f38921187d66b970ca815eb30dda4222a2da62
2016-01-16vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic()Chris Sherlock
This brings FontAttributes into line with ImplFont and Font, which is important to the refactoring work I am doing. Change-Id: I2a2ca2f18fc7b5be45d6f350c0328fad62bf2bc9 Reviewed-on: https://gerrit.libreoffice.org/21517 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-15vcl: fixup prefixes for ImplFontMetricDataPtr variablesChris Sherlock
Change-Id: Ie93a2e47bbe92c8268ea2b463c6134685445fc2b
2016-01-14vcl: change ImplFontMetricData to be reference counted via intrusive_ptrChris Sherlock
Change-Id: Ie9f5fbd21a6223520cbea3af6436beb407d7a88c Reviewed-on: https://gerrit.libreoffice.org/21477 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-14vcl: change ServerFont::FetchFontMetric to GetFontMetricChris Sherlock
Change-Id: I935f69d275d2073d8f0924392a5aa1fb2567cedf
2016-01-14vcl: fontmanager.hxx is a private Unix headerChris Sherlock
Change-Id: I06f3e941bfb1af861298d4fbf666d270c5bac051
2016-01-14vcl: fontcache.hxx is a private Unix header for pspChris Sherlock
Change-Id: I5b27a21ff49ca84400c635b6e8539c7041b117d4
2016-01-12vcl: resplit FontAttributes from ImplFontMetricDataChris Sherlock
The change I made in commit 7b974e056df3 ("vcl: merge ImplFontMetricData with ImplFontAttributes") was... ill-advised. For starters, there really needs to be this split as FontSelectPattern needs it, and PhysicalFontFace only requires the font attributes, not the metric data. So the merge was unfortunately, in my mind, a failure and I'm manually backing it out now. Change-Id: Iac38f0815f984541e2f55099c965376dd88eeb43 Reviewed-on: https://gerrit.libreoffice.org/21380 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-12vcl: put FontConfigFontOptions into Unix headerChris Sherlock
Change-Id: I7b326d8fc8d2b6ecd9642ba958015285d0929a44 Reviewed-on: https://gerrit.libreoffice.org/21341 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>