summaryrefslogtreecommitdiff
path: root/vcl/unx
AgeCommit message (Collapse)Author
2016-10-19Resolves: tdf#102778 by default use breeze_dark when dark themes are requestedCaolán McNamara
Under gtk3 if gtk-application-prefer-dark-theme is enabled or the requested icon-theme name ends in [-|_]dark Change-Id: Ia70ea3adc51ac0ec2b26d08fc960c1c7285c338b
2016-10-18Support vertical text in CommonSalLayoutKhaled Hosny
Change-Id: I52a71c9c21ad75c7cb9c8574e5e7e3b7c1c0c0c3
2016-10-18Check SAL_USE_COMMON_LAYOUT envar in one placeKhaled Hosny
Makes it easier to flip the switch in the future (or even do something more fancy other than checking envvar). Change-Id: Ie42ca012c167b2108f0fca1ce9ff7beee95f1be7
2016-10-18Cache HarfBuzz fontKhaled Hosny
We now create it only once per physical font, saves us few percents from the all over time spent on layout. Change-Id: I8de582cb20a168c93d72921e539c2477fa97fb54
2016-10-18GSoC: Speed up CommonSalLayout by caching hb_faceAkash Jain
Cache hb_face so it is not created again and again. Switch from GDI to DirectWrite on Windows to obtain SFNT table data. Change-Id: I9c532cd72e1f6b57313f3b7d42a6b9b0633eb0ef
2016-10-18GSoC: Add Graphite support for CommonSalLayoutAkash Jain
Enable Graphite font rendering in CommonSalLayout through Harfbuzz Change-Id: Ia6a00a1bb6ea1a7bd705ed91d4f4f6cb9803e062
2016-10-18GSoC: Integrate new CommonSalLayout in unx/ codeAkash Jain
Change-Id: I991cb5cbd2adad4f4c9f62f807990b9fde2a5133
2016-10-18GSoC: Modify DrawServerFontLayout and add DrawSalLayoutAkash Jain
Modify the definiton of the DrawServerFontLayout method. Add new DrawSalLayout method which will be used for drawing text independent of the platform. Change-Id: Ie3eefb172b1781c685def1ef549db2538f672a62
2016-10-18GSoC: Move scrptrun header and source file out of unxAkash Jain
Scrptrun class will be used by the new layout engine for script itemisation. It will need to be compiled on all platforms. Therefore move the header and source file to vcl/inc/ and vcl/source/gdi/ respectively. Change-Id: If4e1e0e76ffb94f9d0ca08f7d5f9982dd907c1c6
2016-10-18Resolves: tdf#98807 gtk3 isn't giving utility windows focusCaolán McNamara
so just give up on that and give them a dialog hint instead Change-Id: Icca0c707dc464b0dbf362988b1dfee56866eadc0
2016-10-18Skip the placeholder added by PopupMenu::ImplExecuteMaxim Monastirsky
Change-Id: I7766a63aff240141342db8b4a9236f5930236b13
2016-10-18Resolves: tdf#100251 gtk3 toolbar separators are white in AdwaitaCaolán McNamara
Change-Id: Iceeba474535026cd13393432ef9a2e25121c134a
2016-10-18-Werror,-Wimplicit-fallthroughTor Lillqvist
Change-Id: I13a6a64f118bcfb99f47cd47a0dc638c5c9a5a14
2016-10-17Resolves: tdf#89760 get correct menubar text color for 'close preview'Caolán McNamara
Change-Id: Ife6f2665eabeefd6125a53318404dbd7b9af42ee
2016-10-17GTK_STYLE_CLASS_LABEL no defined in all versionsCaolán McNamara
Change-Id: I648067e30d5a2e725111b2bc920367ac2d5e0f80
2016-10-17gtk3: split tabitem rendering to a standalone thingCaolán McNamara
Change-Id: I88cd8926b733717c9ea0ecf64a9882eaa777dcfe
2016-10-17gtk3: use theme tab fontCaolán McNamara
Change-Id: I3ea5a9e65e62133c910945e603bdc1155c9a07c3
2016-10-17gtk3: split out gtk->vcl font mapping codeCaolán McNamara
Change-Id: Ic379307ba9e663e0ffc27c945852f6d68197f995
2016-10-17Resolves: tdf#92776 ensure correct notebook tab font colorCaolán McNamara
despite various theme layout differences Change-Id: I209258583571b57b2b7869937fa4821855125eac
2016-10-17GTK_STYLE_CLASS_POPUP not defined in older gtksCaolán McNamara
Change-Id: I6192d13419aab42993e4b6dc011db30a4c3c1787
2016-10-17older gtk3 versions still out there to build againstCaolán McNamara
Change-Id: I64cb12185fc3943a211928e35e756b82942095b0
2016-10-17gtk3: rework theme code to separate old and new theming schemesCaolán McNamara
Change-Id: I7c1341a920c4607937ffab06c182a0ba0e0b26fd
2016-10-17Resolves: tdf#101699 get combobox junction rightCaolán McNamara
gtk3-demo has examples of foreign drawing, follow the patterns there to figure out what to do, add stuff to gtk3-demo to demo what we need to do if any particular case here is lacking Change-Id: Ia1a22280161c97a3eab2d94fc4744fe971d31727
2016-10-17stop warning on older gtk3sCaolán McNamara
Change-Id: I57d0875acdaf3a1a14badb9e08e7c08fd726baea
2016-10-17use released 3.20.0 instead of 3.19.2Caolán McNamara
Change-Id: Iac311e0c326cf79a2dbacb889d39ab49ccaa9325
2016-10-17need 3.19.2 or above for theseCaolán McNamara
Change-Id: If385b45b12c72a0d7460a9a4c9d0b0e3bfc1195e
2016-10-17gtk3: select old/new gtk theme behaviour etc at runtimeCaolán McNamara
Change-Id: Ie09419049e3d839315f4fc8a937f0dde74688d98 Reviewed-on: https://gerrit.libreoffice.org/29969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-17split these ifdefs into larger blocksCaolán McNamara
Change-Id: I501d06096aa51066af8806277b7d392e39747494
2016-10-17bundle duplicate code togetherCaolán McNamara
Change-Id: Id67e5026e21138c0583df8099436da01e4e2dab3
2016-10-17Related: tdf#103166 but still allow removing placeholder submenusCaolán McNamara
Change-Id: I3ed5feaebcd074562d5412dca9e5cb4086a7df39
2016-10-14provide another fallbackCaolán McNamara
Change-Id: I1438986674f7b4edb015f436bcaf7f07fd61d778
2016-10-14loplugin:nullptrStephan Bergmann
Change-Id: Id9f702b2772a23c52a9b829093d10c83a5ab3acd
2016-10-14silence warningsCaolán McNamara
Change-Id: I80abf5092c7d4e7b8cf75e4b79ffdb9a5e0c7580
2016-10-14Related: tdf#101699 gtk3: get correct arrow widthCaolán McNamara
Change-Id: If02c598306ec6f19cf83958c4a176cafa67076dc
2016-10-14Related: tdf#101699 gtk3: get correct combobox and listbox arrowsCaolán McNamara
Change-Id: Ib2322bfda09b05925c74d93a530b9ed9fac73032
2016-10-13Resolves: tdf#102999 get_selected_printer is transfer noneCaolán McNamara
gtk_print_unix_dialog_get_settings returns a new GObject we have to unref, but gtk_print_unix_dialog_get_selected_printer doesn't add a ref so dies along with its parent dialog. Change-Id: Ie5f8ecd83f5cc2c13e4a8c3ba292ffa381f9bdf5
2016-10-13Resolves: tdf#103166 if the menu is empty, add a disabled placeholderCaolán McNamara
i.e. <No Selection Possible> otherwise it looks like a bug of some kind. Change-Id: Ib35146698c31fd3f3d51915ea460eab1dde39d26
2016-10-12Related: tdf#92776 set parent style of notebook to toplevel window styleCaolán McNamara
Change-Id: Iec16b2617c82c363a540f967f66c514b5b2b104b
2016-10-11tdf#103103: Many Arabic fonts dont render correctlyKhaled Hosny
Revert the remaining bits of 1da9b4c24e806ad2447b4a656e2a7192755bb6a8, the rest was reverted in 6323e6628668849438e6e19ba7ad2c6598263261. This break many assumptions made by GenericSalLayout::ApplyDXArray(). Change-Id: I25fbafe06032ab1e8860df6c5932a7157575aa32
2016-10-10tdf#89307: Removed SvRef::operator T*()Jacek Fraczek
Conditional statements are using SvRef::Is() method. Changed static_cast<T*>(svRef<T>) occurances to svRef.get(). Added operator == and != to SvRef. SbxObject::Execute is using SbxVariableRef internally. SbxObject::FindQualified is using SbxVariableRef internally. Change-Id: I45b553e35d8fca9bf71163e6eefc60802a066395 Reviewed-on: https://gerrit.libreoffice.org/29621 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-05InfoFont/Color is not used by vcl nowCaolán McNamara
anywhere anyone wanted to Get[Font|Color] give it the Label ones instead. why this is exposed through uno is bewildering, stubbed those out for the moment Change-Id: I7a31d027287436be1c075c76a370047efd010bf3
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-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
...which was introduced with 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed "Gradually typed Link" to distinguish the new, typed versions from the old, untyped ones, but is no longer necessary since 382eb1a23c390154619c385414bdbe6f6e461173 "remove untyped Link<>" removed the old versions. Change-Id: I494025df486a16a45861fcd8192dfe0275b1103c
2016-10-03custom dtor is unnecessaryCaolán McNamara
Change-Id: I2b9d167628995747a6c1b032f3461d988ed485e5
2016-10-03Fix typosAndrea Gelmini
Change-Id: Ie75beb4e282a4d1b784a5847262e39cf9c851527 Reviewed-on: https://gerrit.libreoffice.org/29440 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-02add default casesJochen Nitschke
mutes over 150 warnings on kde build environments 'enumeration value ´...´ not handled in switch [-Wswitch]' Change-Id: Iefc8cd3bc820b1d8e039db6fc188533ceffb9d39 Reviewed-on: https://gerrit.libreoffice.org/29225 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-09-30loplugin:constantparamNoel Grandin
Change-Id: Idbe8c8e6b3d44cacce296ec8c79b2b244281057c Reviewed-on: https://gerrit.libreoffice.org/29321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-25avoid coverity#1371161 Missing move assignment operatorCaolán McNamara
Change-Id: Ief3dd38ade3fca74ea35e2a1a71637cba3336b59
2016-09-25tdf#102266 Try to keep HUD up to dateMaxim Monastirsky
Recent HUD versions don't seem to support the activation callback, so we have to update menus in the background. (regression of 15436c009e756dd4c94046f9849ad5a186454af8) TODO: Is this manual iteration in GtkSalMenu::SetItemText worth it, or maybe simply calling Update() will be good enough, too? Change-Id: I7f08c3518e1767915d84036cdce7f678961595ef
2016-09-24tdf#91043 - vcl: gtk file picker should tolerate empty filter list.Michael Meeks
Apparently LibreLex creates a dialog through UNO and sets no filters. Change-Id: I518beef6f9c6ebab0d2e49bda78a33a283ad93d3 Reviewed-on: https://gerrit.libreoffice.org/29238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>