summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: classes in java.lang package do not need to be fully qualifiedNoel Grandin
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-19fix intermittent crash in make checkNoel Grandin
The original crash was in GtkSalMenu::Active, triggered from RefreshMenusUnity and it looked like the refresh method was accessing already freed memory. Change-Id: Ib07d839a976869eb8719e71e0653f1a72e3b0e80
2014-08-18Bin "temporary" code that doesn't compile any longerTor Lillqvist
Change-Id: I7550a40bab4ffd1b585ad37dceb59c38cf1e4ca3
2014-08-18drop unnecessary shl.hxx includesCaolán McNamara
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-18missing InfoBoxCaolán McNamara
Change-Id: I67e6e60e5a03696ec27b11afaa62ea443c5924ce
2014-08-18ErrorBox->MessageDialogCaolán McNamara
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-17coverity#735993 Explicit null dereferencedCaolán McNamara
Change-Id: Ib8b1af5a783a2bae285c24e5153cce4713a2e2dd
2014-08-17check that AddToTable can be done validlyCaolán McNamara
Change-Id: I0ee69279e3bb1d9871feba17b908b8307f0ec5b4
2014-08-17blank out the remainder of the bufferCaolán McNamara
Change-Id: I33b6c2ab1068b7138ce99239f56552529d5206f5
2014-08-17warning C4800: 'int' : forcing value to bool 'true' or 'false'Thomas Arnhold
Change-Id: I9f77b85eb9ccaa4defa3dea571b375c0e480caa2
2014-08-16RSC_TRISTATEBOX is no longer usedCaolán McNamara
Change-Id: Ib3f43db131cf5562ad011538873c2ee51839665c
2014-08-16RSC_MULTILINEEDIT no longer usedCaolán McNamara
Change-Id: If56233b5226cec9516d5e2f8992e1b0beae733bf
2014-08-16fdo#82580: Win32 GetObject() simplificationTor Lillqvist
We call the Win32 GetObject() in just one source file and there it is the A version we mean. (As such, as we call it to get BITMAP objects, which do not have different A and W variants, we could as well call GetObjectW().) Note that we have several own member functions called GetObject(), so until those are renamed we still need to #undef the GetObject definition (from <windows.h>). (No, I am not working on the EasyHack fdo#82580 as a whole. It is intended for some less mature LO contributor. I just did a few small things because I couldn't resist.) Change-Id: Idab79503b3d899ef19f0608677752a62b20302ff
2014-08-16callcatcher: update unused codeCaolán McNamara
res ctor fallout continues at pace Change-Id: Ic431c678919a6521ce94719cbf06b87ebf922a0c
2014-08-15drop TabControl resource loaderCaolán McNamara
Change-Id: Idb909c205dfadaadeb8b98ce08fe2f4286cfce26
2014-08-15seems like the better approach for getting it workingMarkus Mohrhard
Change-Id: I18d5ecc9a14a6eb8ad8c6ea5ec9835dbe8f5db40
2014-08-15improve debug message for shader compilatione errorsMarkus Mohrhard
Change-Id: I14106870bd46c081a574d28f416278b848544fcc
2014-08-14Revert "Resolves: fdo#82550 MacOSX GetTextBreak always return -1"Norbert Thiebaud
This reverts commit 4c1e2c446865b355f50720b8b96ec704822006dc. it was just hiding the underlying bug.
2014-08-14fdo#82550 LogicWidthToDeviceCoordinate missed handling of mbMap == falseNorbert Thiebaud
Change-Id: I98902ed266ae7b2737fa9720d69a4b87cc958d51
2014-08-14GetTextBreak takes a DeviceCoordinate as widthNorbert Thiebaud
Change-Id: Ie03732a0966eedf6c0226beed83356ae4886a016
2014-08-14Added feature of clearing the registry in case something goes wrong.Rachit Gupta
If the installed extension is removed, then the persona settings in the registry are cleared to avoid odd look in the UI. Change-Id: Iaa99f4c87ec6ce4a663e1a3cebb3f8ff45e02079
2014-08-14Moved the personas installed through extensions handling to 'own'.Rachit Gupta
Change-Id: I12baaf22bfad73e228d3ed55dcf365f8eba9cf0a
2014-08-14The Personas can be install through oxt extensions.Rachit Gupta
The user can install an oxt extension and choose his/her theme from the Personalization page. * Created a template in Common.xcs registry to hold the values for the PersonasList set. * Added 3 buttons to personalization_tab.ui to incorporate the latest 3 personas installed through extensions. * Currently, only 3 installed personas are shown alongwith the default available personas. Change-Id: I30a40ae48d17f4ed8caef33854ef88afcbec5a54
2014-08-14Added functionality to apply default themes.Rachit Gupta
* The themes are stored in the share folder under the personas directory in the gallery. The information is stored in a personas_list.txt which contains the info in the form headerFile;footerFile;textColor;AccentColor for the default themes. * Changed the personalization_tab.ui to include _three_ buttons to show the default images. * Changed the vcl/source/app/settings.cxx to read the persona information properly in the case of default personas. * Some variable name changes. Change-Id: Ib5f2167729a5fb7eb8061925679560accb934a44
2014-08-14Resolves: fdo#82550 MacOSX GetTextBreak always return -1Caolán McNamara
so multiline text ends up splitting over a huge number of lines leading to massively tall dialogs when they contain text which is supposed to line break regression from 6ca2d0d6645a697d323593a401ea8b1da02445bf Change-Id: I51cecd9164112af3208bffced63aed7e261ea9e2
2014-08-14java: remove unused importsNoel Grandin
Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-13m_aDevice may be nullCaolán McNamara
Change-Id: Ibd4666bd185198e0702a498d5648f1e4d5580e11
2014-08-13valgrind + bff: don't add 0xffff oldcodeCaolán McNamara
Invalid read of size 1 at 0x9DC6247: GIFLZWDecompressor::AddToTable(unsigned short, unsigned short) (decode.cxx:117) Change-Id: I9cea8dcd4a5eeaa1e793b9be96f82854b9d088af
2014-08-13warning C4245: 'return' : conversion from 'int' to 'sal_uInt16'...Thomas Arnhold
...signed/unsigned mismatch Change-Id: I24b853330321a6849dc662d1702efc26642dd0b2
2014-08-13update_pchThomas Arnhold
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-08-13java: remove unused fieldsNoel Grandin
found by UCDetector Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
2014-08-13java: reduce scope, make some methods privateNoel Grandin
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13java: reduce scope, make fields privateNoel Grandin
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-12fdo#39477: Mac Keyboard shortcut Option key ko in Customize dialogJulien Nabet
There's still a problem of order of symbols between menu shortcut and the 2 shortcuts in Customize dialog Change-Id: I7d8235130e8ddb8aa510a20cf803fbe81038b023 Reviewed-on: https://gerrit.libreoffice.org/10600 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-12callcatcher: another round of ResId removalsCaolán McNamara
Change-Id: Ia3acdb3501b7735820258cb090e731f5814bc07f
2014-08-12java: remove useless javadoc tagsNoel Grandin
that are not conveying any useful information Change-Id: Ic37934b8cc376fcdcb3d295232452f411dfd43b1
2014-08-12add some error reporting to OSX OpenGL context codeMarkus Mohrhard
Change-Id: I09f9a60b596a0b12a5031bb3db406d8ab6af0b89
2014-08-11Resolves fdo#79278: not too dark, not too bright background colorAdolfo Jayme Barrientos
This patch is based on Caolán's one at 68075a61c28a5c72429f78776a822ed45fdcb4a7 I've chosen the background color used in Windows program Paint.NET as our default background color. It's a nice compromise that doesn't look out of place anywhere. Change-Id: I5081201043be4a7ad6152d1ce59451daa4ece1ac Reviewed-on: https://gerrit.libreoffice.org/10527 Reviewed-by: Stefan Knorr <heinzlesspam@gmail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-on: https://gerrit.libreoffice.org/10520 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-11callcatcher: update unused codeCaolán McNamara
lots of ResID stuff going away now Change-Id: Iad8524e201cd3072db71da9e5ee1c244ed337967
2014-08-08vcl: don't throw misleading exceptions on every failed accessMichael Stahl
During the build different instances of gengal will create a temp file called "instdir/share/config/cdefghij.klm", and enumerate the directories in instdir/share/config; it may happen that the enumeration sees the temp file, and it is removed before fetchFileStatus is called, resulting in E_NOENT rc and the exception. The FileIsValidIconTheme() should be able to handle most errors here. (regression from 60954a8a96a66ff11e06b850838f3d16e8e1625f) Change-Id: Id9361a37b8569d01509efcc8cda2bc17e9eabcd8
2014-08-08add possibility to generate FBO with textureMarkus Mohrhard
The caller is responsible to delete the buffers. Depending on bRenderbuffer either with glDeleteRenderbuffers or with glDeleteTextures. Change-Id: I5ccbd49862c381abf04e812765cced485a083f89
2014-08-08reuse OpenGLContext in OGL canvasMarkus Mohrhard
The only thing that needs to be reimplemented is the pbuffer based custom sprite rendering. We should use a FBO with a texture backend for that. This will also save several OpenGL context switches! Change-Id: I4aef33ae2499e44c8b5f41c296d8721cb94a37a1
2014-08-08make sure that we always delete the shader and not only the programMarkus Mohrhard
Change-Id: Ia02fb20d335e2172f607f13a0de78ea666d094f5
2014-08-07coverity#1202907 Uninitialized scalar variableCaolán McNamara
Change-Id: I8cec0ea104fedfd7d89ac91a5b7f395246da8db0
2014-08-07fdo#75757: remove inheritance to std::vectorTakeshi Abe
Change-Id: I04a5832c86823718146c78238ea648be21bf1f53 Reviewed-on: https://gerrit.libreoffice.org/10811 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-07Update my address.Jan Holesovsky
Change-Id: If08154e617250ab78638e149da1ca34a11ceba75
2014-08-07including gtk/gtkunixprint.h appears unnecessaryStephan Bergmann
...and at least gtk2-devel-2.10.4-30.el5, while new enough to cause ENABLE_GTK_PRINT=TRUE, does not contain /usr/include/gtk-unix-print-2.0/gtk/gtkunixprint.h Change-Id: I6ff98e0c67047c0d8c35cfcad45be47ff09ca97a
2014-08-06Kill XSUN Xinerama supportRiccardo Magliocchetti
XSun is a relic from Solaris 10 / SPARC. Change-Id: I5c379a496ee5953d71fe51b86cf9992c92943126 Reviewed-on: https://gerrit.libreoffice.org/10756 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>