summaryrefslogtreecommitdiffstats
path: root/vcl
Commit message (Collapse)AuthorAgeFilesLines
* Font and ImplLayoutArgs with LanguageTagEike Rathke2013-09-206-34/+59
| | | | | | Avoid the gazillion temporary conversions / Impl searches. Change-Id: I5232589f1e31d1cbb6becc198b12daabf1038f31
* Theme icons are loaded only onceRodolfo Ribeiro Gomes2013-09-191-3/+2
| | | | | | | | | | | | | | | | | | | | | With the theme icon cleaning commit d5151ab592367fde7db03fce81e0b76776d18216, duplicated icons (same icon for multiple actions) doesn't need to be stored in different files. The file links.txt inside the theme pack can handle filename redirections. So, it keeps the theme pack smaller. However, the duplicates keep being loaded, because they use different names. With this patch, the names of those duplicates are mapped also when querying for the icons. This way, an icon is loaded only once, saving RAM. Change-Id: Ieb5b8424c1515f0033276bf314cdef02a4e01862 Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/5943 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* WaE: may be used uninitializedTor Lillqvist2013-09-181-1/+1
| | | | Change-Id: I91fdbcb37efb002763204cd8a0fee9be26ffd6b4
* pFontSubst is always NULLCaolán McNamara2013-09-171-5/+1
| | | | Change-Id: Ied4eda5b29e2df3fa9260bcf456b8dd360ffafcc
* Fix fdo#69381 by skipping empty option groupsArnaud Versini2013-09-171-0/+5
| | | | | | | Change-Id: Idaf0f0a3f5430a5aea6f77a003e205116a87cc67 Reviewed-on: https://gerrit.libreoffice.org/5949 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* I think the CWS-gfbfcfg dust has safely settled by nowCaolán McNamara2013-09-173-7/+0
| | | | Change-Id: I23201c96fff514cf5eaaf69f9841d3ea6ade6070
* support gtk-stop generic labelCaolán McNamara2013-09-173-0/+8
| | | | Change-Id: I1f17459dc57a1377c5c48412fcc81989cc69fccd
* convert VCL from String to OUStringNoel Grandin2013-09-179-20/+20
| | | | Change-Id: Ia87d498f0875caa81d6ae85c505bae2d1da3c51c
* Resolves: fdo#69236 route size request to layout widget, not hard-coded valueCaolán McNamara2013-09-163-20/+136
| | | | | | | | | | | a) For the sidebar the sidebars automatically handle scrolling, but for the older panel the widgets has to do the scrolling so add scrolling parents to the .ui b) Fold the DialogListBox scrolling widget implementation into VclScrolledWindow and remove the duplication. Change-Id: Ife9ccd8c501e5dee7bf3102a92c8261d979cd834
* callcatcher: update unused code listCaolán McNamara2013-09-141-16/+0
| | | | | | No TriStateBoxes are loaded from .res files anymore. Change-Id: Ie897dc9a46a4e09e7fb1160a5bd4a65c63ba7979
* make right click menu in tab headers checkboxes not radiobuttonsCaolán McNamara2013-09-141-1/+1
| | | | Change-Id: I99d1edc18e2acb7ae0ea0c6397777ea0f00d81f9
* vcl: unbreak WNT buildMichael Stahl2013-09-131-1/+2
| | | | Change-Id: I000824e86f40ce20af2d254dc848b51321602760
* String to OUStringThomas Arnhold2013-09-132-18/+15
| | | | | | | | | | | | | | | This removes nearly all ToLowerAscii() calls. Conflicts: linguistic/source/convdic.cxx linguistic/source/convdiclist.cxx linguistic/source/dlistimp.cxx sc/source/filter/html/htmlexp.cxx Change-Id: Iddcaacfb7383e1df3d2f13751a3c788eba953fdd Reviewed-on: https://gerrit.libreoffice.org/5895 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* support accepts-tab propertyCaolán McNamara2013-09-131-0/+2
| | | | Change-Id: I8c071dd76e9ea84ee9aaf9cdd06b2103df4fd789
* Numeric fileds: round to the nearest spin value on spin up/downTomaž Vajngerl2013-09-131-2/+12
| | | | Change-Id: I8660ae764c7dd51b8d780929effe895243e4fc4c
* Sidebar: Correcting anomalous mouse behaviour while resizingPrashant Pandey2013-09-131-4/+13
| | | | | | | | | | | | | Currently, when the sidebar is showing, and we hold the handle to make it wider/narrower, if we move the mouse much to the left (so that it can't become any wider), and now move mouse pointer to the right (while still holding the handle), it immediately begins to shrink. Ideally how it should behave when we move the mouse much to the left is that- the sidebar should begin shrinking once we have the mouse pointer over the handle again and not immediately. Change-Id: Id17dc19e6e1ad02fb7879ace9a2e092ac0128693
* cppcheck: fix Prefer prefix ++/-- operators for non-primitive typesJulien Nabet2013-09-121-1/+1
| | | | Change-Id: I7495f86cb35b6f712cfb7d603f022f6f6c407266
* iOS fix clip area in coretext contexttsahi glik2013-09-121-0/+29
| | | | | | | Change-Id: Ibaef9701ad4ba1bda1068c0dfa34f83c09a4e409 Reviewed-on: https://gerrit.libreoffice.org/5711 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* in iOS avoid copying covered windows to screentsahi glik2013-09-121-3/+11
| | | | | | | Change-Id: Iebf53e5c2e3909e068739351ccce497ca91b67a5 Reviewed-on: https://gerrit.libreoffice.org/5710 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* Sync IOS screen invalidate to end of painttsahi glik2013-09-122-2/+18
| | | | | | | Change-Id: If179c5280366a377ace710e4acf7df737544b224 Reviewed-on: https://gerrit.libreoffice.org/5706 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* typo fix: wether -> whetherAndras Timar2013-09-111-1/+1
| | | | Change-Id: Iad4182d7150f851df06a7208a811d482351f736a
* Towards a working instdir for Mac OS XStephan Bergmann2013-09-111-1/+1
| | | | | | | | | | | | | | | | | Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
* Resolves: #i123216# No FontScaling by WorldTransform on WMF importArmin Le Grand2013-09-104-12/+29
| | | | | | | | | | | | (cherry picked from commit d0ebb70c004761552016b0fa0a259ef35a01f840) Conflicts: svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winmtf.cxx svtools/source/filter/wmf/winmtf.hxx svtools/source/filter/wmf/wmf.cxx Change-Id: I3e85dcc019028b83eb2f650f1527333f2d5cf9dc
* Fix C++11ism (?)Tor Lillqvist2013-09-092-12/+12
| | | | Change-Id: I133303e9501414aca0eadddc2ecc14a9d29d6488
* CID#738553 uninitialized scalarCaolán McNamara2013-09-091-1/+1
| | | | Change-Id: Iaa5cbce576e8a90f7dd89737a9458408dd3d84fa
* CID#1028323 uninitialized scalarsCaolán McNamara2013-09-091-2/+2
| | | | | | | and CID#1028322 and CID#1028321 Change-Id: I6c151ef949755a17fa09c483d2f5f77b02fed08e
* vcl/pdfwriter: export linear/axial gradients as PDF gradientsPierre-Eric Pelloux-Prayer2013-09-093-42/+186
| | | | | | | | | | | | Using PDF's Axial shading leads to better visual result than Sampled function shading. Only GradientStyle_LINEAR and GradientStyle_AXIAL are affected by this change, all other gradient styles are exported as before. Change-Id: Ib4d549987e34b7ba5d1c5adaf30908f2e306d07e Reviewed-on: https://gerrit.libreoffice.org/5799 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* CID#1079151 make it impossible to have an init m_eTypeCaolán McNamara2013-09-091-5/+4
| | | | Change-Id: I04cc7fdc07e89b0a056f0012cdd00b43d29184e7
* CID#1078725: Dereference null return valueJulien Nabet2013-09-091-11/+6
| | | | | | | | | + Some simplification Change-Id: Ia4db65f3c6d4e712060753e15acbe160d4fe3ede Reviewed-on: https://gerrit.libreoffice.org/5862 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* implemented centered button box modeCaolán McNamara2013-09-091-0/+9
| | | | Change-Id: I17b60440297d4eecca0737f811f6e56cc5bc91ce
* convert find entry dialog to .uiCaolán McNamara2013-09-093-0/+8
| | | | Change-Id: I0d8ef363e45f9032676a161c63d7cf9bcbe417fd
* fdo#57950: Remove some chained appends in vclJulien Nabet2013-09-081-6/+2
| | | | Change-Id: Ib649e291d8be862edd98366cc6939cf6dc1e7158
* Related: fdo#38838 drop String::EmptyString now as wellCaolán McNamara2013-09-089-21/+17
| | | | Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
* convert already exists dialog to .uiCaolán McNamara2013-09-081-8/+20
| | | | Change-Id: I6cb2a11b6ee2f94f611aa852c79dd1a6534381da
* String to OUStringThomas Arnhold2013-09-081-2/+1
| | | | | | | Change-Id: I5ff57ede2217f1464571fb2beaa62a34425064ae Reviewed-on: https://gerrit.libreoffice.org/5826 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar2013-09-071-1/+1
| | | | Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
* String::Erase(String::Search())Thomas Arnhold2013-09-061-1/+3
| | | | | | | | | | | One more from: 556fe4ec7339892d63cb98bc9bfd09718944bf03 Change-Id: Ia6514567e96930376c469a37c95c49e648bf5e46 Reviewed-on: https://gerrit.libreoffice.org/5827 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Check for FT_Face_GetCharVariantIndex at build timeKhaled Hosny2013-09-061-22/+7
| | | | | | | | | | | | | | | No more dlsym() hacks. The downside is that LibreOffice built on systems with old FreeType will not be able to use FT_Face_GetCharVariantIndex() on newer systems, but most Linux users use their distribution builds anyway. This only affects the use of Unicode Variation Selectors which is an exotic feature that wasn't even supported on Linux before 4.1. Change-Id: I674822ef5bc8d7940a821a01cc85ae7a6d39a80e Reviewed-on: https://gerrit.libreoffice.org/5844 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Simplify FreeType version checkKhaled Hosny2013-09-061-14/+4
| | | | | | | | | | After 00a81233d9c2ae6b3996b744982715137fd6a626, we can rely on the version of the runtime library. Change-Id: I9af4a524c893d125d185da50334622007f2e44ce Reviewed-on: https://gerrit.libreoffice.org/5843 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix debug build without dbgutilKhaled Hosny2013-09-061-5/+5
| | | | Change-Id: Iab6a680e67f22460b2e5c340c3967c666a28c5c5
* fdo#52540 fix Graphite hyphenation (ligat. + combining diac.)László Németh2013-09-061-12/+3
| | | | Change-Id: Idc3d9c40793f6f1c1b7883ca47f04ced36cabc48
* Resolves: fdo#68081 why would I want a spinner that doesn't repeatCaolán McNamara2013-09-061-1/+1
| | | | | | surely WB_SPIN should imply repeat in the first place, *shrug* Change-Id: I1e4cb5a01d473cd0f8d907d566cd26d51a81da93
* warning C4018: '<': signed/unsigned mismatchMichael Stahl2013-09-061-4/+4
| | | | Change-Id: I21b8f1037f68ede368bababa8b6b5201cd83104e
* Resolves: #i122985# Various speedups for graphic object swappingArmin Le Grand2013-09-062-49/+228
| | | | | | | | | | | | (cherry picked from commit f18ad6132d79540431bf04f090a7472e21a23e49) Conflicts: svtools/source/filter/jpeg/jpeg.cxx svx/inc/svx/svdundo.hxx svx/source/svdraw/svdograf.cxx vcl/source/gdi/pngread.cxx Change-Id: I733551fa9447eb8f45e9163a9c0189f013b03e82
* fdo#68313 fix combining diacritics problem with Graphite fontsLászló Németh2013-09-061-1/+10
| | | | Change-Id: Ied29f864dc5fc21fc55aaa5ddd40b02b53a564f8
* Fix misspelled text with VoiceOver on 10.9Boris Dušek2013-09-061-0/+1
| | | | | | | | | | More in Apple's docs (Application Kit Release Notes for OS X v10.9, section "New Accessibility constants"). Change-Id: I92fb6d552e86997bfc789723f32626d908d11419 Reviewed-on: https://gerrit.libreoffice.org/5831 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* update pchThomas Arnhold2013-09-051-10/+15
| | | | Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
* getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke2013-09-052-2/+2
| | | | | | | so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
* CID#736586: fix memory leaksMarkus Mohrhard2013-09-051-8/+8
| | | | Change-Id: I02a10b8b0d18334ce693d0cead0b81d34b4eeeac
* CID#1078782: fix memory leakMarkus Mohrhard2013-09-051-6/+6
| | | | Change-Id: I4a98e68b5f74de787e28925e2e55de96f1cb980e