summaryrefslogtreecommitdiffstats
path: root/vcl
Commit message (Collapse)AuthorAgeFilesLines
* Add some (commented out) SAL_DEBUG() callsTor Lillqvist2013-10-282-0/+8
|
* Shortcut when the SvpSalFrame already has the "focus"Tor Lillqvist2013-10-281-0/+7
|
* fix warnings in gtksalframeTomaž Vajngerl2013-10-261-5/+10
| | | | | | g_simple_action_group_add_entries was deprecated in GLib 2.38 Change-Id: I727e8aeeecd66b8f071d43ff56d9dc94cda1b9e0
* Seems that <vcl/cvtsvm.hxx> is private to VCL, so move it thereTor Lillqvist2013-10-263-2/+105
| | | | Change-Id: I3fd1ac8aaea2e79efcd9e2d4b12347a387d0d28b
* Remove unused fileTor Lillqvist2013-10-251-20/+0
| | | | Change-Id: I78023074a31cf1cc3703a8fbeeb7f6a44a5c70d3
* Bin unused #definesTor Lillqvist2013-10-241-3/+0
| | | | Change-Id: I5a6eb741c0669d2f1e5bfbe302066be863ec0249
* fixed build breaker MongolianEike Rathke2013-10-241-1/+1
| | | | Change-Id: I5100d44ceea79c4b47d2dd5bda5066c5003313a1
* added/checked/aligned MS-LangIDs and mappings from new MS-LCID.pdfEike Rathke2013-10-241-5/+12
| | | | | | | | | ... found at http://msdn.microsoft.com/library/cc233965.aspx (the 5th or 6th place I'm aware of where MS defines LCIDs, all different ...) * a bunch of new definitions up to Windows 8.1 * lots of cross-checks done with SIL, Ethnologue, ... Change-Id: Ifae8e676558c6712fe752856acca600d05d0a63f
* clean up places accessing the NULL at the of an OUStringNoel Grandin2013-10-232-4/+4
| | | | | | | | | There were only a couple of real bugs fixed, but we're a little bit safer now. This also fixes the assert and the comment in OUString::operator[] about this. Change-Id: Ibe16b5794e0ba7ecd345fa0801586d25b015974c
* convert code to use OUString::endsWithNoel Grandin2013-10-234-4/+4
| | | | | | | | | Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
* More work on selection handling in iOSTor Lillqvist2013-10-232-0/+32
| | | | | | | | | | | | | | | Got the selection start and end handle dragging working... The trick was not to call SwWrtShell::SetCursor(), but SwCrsrShell::SetCrsr(). Sounds easy but took a lot of guessing and experimentation to figure out. Anyway, now it does what I had expected it to do a few das ago already. There are glitches, especially in corner cases like if you move the start handle past the end handle or vice versa. more Change-Id: Id6c1d99a4052531789bccf0d48165cfb41b89cfe 9b94c0dd55b04a7b6b3c40654562a9c51fa9b450
* vcl: convert some BOOL to sal_uInt8Michael Stahl2013-10-221-3/+3
| | | | Change-Id: Ib0d90de832bc8006eaa62b55abb416e2d19b4782
* ImplCalcSize etc can be constCaolán McNamara2013-10-221-2/+2
| | | | Change-Id: Idd1e33b6da8be9575e74701735f0dbc742849c07
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-2214-20/+20
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* vcl: mark more Image constructors as "explicit"Michael Stahl2013-10-223-9/+10
| | | | Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
* bah, Len->!isEmptyCaolán McNamara2013-10-221-3/+3
| | | | Change-Id: Icc09ef129d39575e02de4eaf1e371e3de8758eb3
* aqua String remnantsCaolán McNamara2013-10-223-16/+16
| | | | Change-Id: Ic574acda26775848918dc42ce3bce43c731ae267
* some sneaky strings in vcl/winCaolán McNamara2013-10-221-15/+15
| | | | Change-Id: I489b0088302016fb403fed090be9de9d6c213350
* sneaky macosx StringsCaolán McNamara2013-10-221-2/+2
| | | | Change-Id: I4baa3c144c357d3622c1d6b6a32435e52059d897
* Resolves: fdo#38838 remove UniStringCaolán McNamara2013-10-225-1/+6
| | | | | | hammer silver nails into coffin and bury in concrete Change-Id: I3fda2ff47738bb33793adab97faba2d439ac9a28
* fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza2013-10-227-82/+16
| | | | | | | | | to cppu::supportsService Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14 Reviewed-on: https://gerrit.libreoffice.org/6370 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Try to handle selection resizing in a more "correct" wayTor Lillqvist2013-10-222-0/+34
| | | | | | | | | | | | Faking mouse clicks is a stupid way to do it of course. Try to do it "right". For now just worked on moving the end handle, but once that works, similar code should be used for the start handle, too. Does not work yet. It is hard to extract out from SwEditWin::MouseButtonDown() exactly what all is relevant, and what isn't, for this use case. Change-Id: I76a226f787facbac645aaff8b4852d693bcf4ccb
* Resolves: fdo#70725 calc export to pdf brokenCaolán McNamara2013-10-212-2/+2
| | | | Change-Id: Ibfe1d3a319fc82223f340ebd705a1966b8250089
* String -> OUStringStephan Bergmann2013-10-211-1/+6
| | | | Change-Id: Iabb80c72f9e6aab3b58590299ce9f22e0ae1a5fa
* some windows only StringsCaolán McNamara2013-10-211-6/+8
| | | | Change-Id: I264bdfc3453e2b6a17397ffb27154a29394c8c1b
* Resolves: #i123478# Secure mem freeing for BitmapBuffer classArmin Le Grand2013-10-211-0/+9
| | | | | | (cherry picked from commit dd1cb9aa9ea24b6c89de05e6c5deae7951b78feb) Change-Id: I7a63835d1e93f4cebc0f908d01873ea3ff91fe66
* remove uses of COMPARE_*Caolán McNamara2013-10-211-18/+17
| | | | Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
* Exempler->ExemplarCaolán McNamara2013-10-211-4/+4
| | | | Change-Id: Id7e67d7e7bd4be6600a296a846512e9076c9df23
* drop StringCompare from vclCaolán McNamara2013-10-211-10/+8
| | | | Change-Id: If41503f382115affb42068d9a441241543197147
* Simplify further after the kerning pair changesTor Lillqvist2013-10-216-33/+4
| | | | | | | | | | The ImplKernPairData struct was used now only by the VCL Windows code, and was apparently supposed to be identical to the Win32 KERNINGPAIR struct anyway. GetKernPairs() was called just once with zero and NULL parameters anyway, so it can be simplified. Change-Id: Iaa288868d1e590e0385377abc5b9d9d331d39d97
* String::GetBuffer()->OUString::getStr()Caolán McNamara2013-10-211-7/+7
| | | | Change-Id: I427bb7b8e32d8a0040dbca1d0d0c765f526ba62f
* GetKernPairs() can even be private nowTor Lillqvist2013-10-211-3/+4
| | | | Change-Id: I721266ee242704eb9bfef0d4ef0bbde255ab2020
* No need for this to be virtual thenTor Lillqvist2013-10-211-1/+1
| | | | Change-Id: I70ed11c576b75bc21ca1c9a021f0d3bf33073679
* Remove GetKernPairs() with no implementationKhaled Hosny2013-10-2111-46/+0
| | | | | | | | | | I left only the Windows one because it being called (as GetKernPairs(0, NULL), but may be it does something, who knows). Change-Id: Iec05d61c8f0cd311a1158bb1cb07e4ee977f32fe Reviewed-on: https://gerrit.libreoffice.org/6260 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* Removed unused kerning stuffKhaled Hosny2013-10-2111-834/+18
| | | | | | | | | | | | Kerning is just another font feature and is already handled by the layout engine, there is nothing special about it. Non of this seems to be used anywhere, anyway. Change-Id: Ia40c66ec186d11ab46d5d5256b09307a319318c0 Reviewed-on: https://gerrit.libreoffice.org/6259 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* Drop support for non-Unicode fontsKhaled Hosny2013-10-213-107/+5
| | | | | | | | | | They fell out of use before I had my first computer. This has no relation to the input text encoding being used. Change-Id: Ie1fde3c3578c80d77ebd63531e74c13931d46bbc Reviewed-on: https://gerrit.libreoffice.org/6258 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* post String conversion cleanupThomas Arnhold2013-10-213-14/+14
| | | | Change-Id: I9747817edc76973af4a4ffdbf542b8d1467d7f08
* Bin pointless #ifdef'd codeKhaled Hosny2013-10-201-52/+5
| | | | | | | | | This file is never compiled under Windows or Mac. Change-Id: I25a1b961959a8935a95d872f667681379f85893a Reviewed-on: https://gerrit.libreoffice.org/6256 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* flush out some windows-only String::AssignsCaolán McNamara2013-10-201-3/+3
| | | | Change-Id: Ic971825bbe7d10849718f0ad0413305dbd5547a0
* fdo#52622 - Reduce copy and paste codeJosé Guilherme Vanz2013-10-201-0/+16
| | | | | | | | | This commit removes copy and paste code, creating a constructor for it Change-Id: I7a66cfda7fc7c11308d155a7a890352fdacfaacc Reviewed-on: https://gerrit.libreoffice.org/6356 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* older gtks don't have gtk_widget_get_windowCaolán McNamara2013-10-191-3/+3
| | | | Change-Id: I700f45c680fb0154aecd37b54d8de9fe4ee9d238
* rework Init/Main ui-previewer post early language detectCaolán McNamara2013-10-181-13/+17
| | | | | | | | i.e. due to d07e7d692ddd2a9ab956a59bcc0f676c7d76bc10 "wait until we know the UI language before initializing gtk" we need to have uno working earlier Change-Id: I77dbea78113c1c95b622a2367472a0111d0d32d1
* More text selection WIP hackingTor Lillqvist2013-10-181-18/+22
| | | | Change-Id: Ia29725295613faf875a688b3917b144a5f05bbe3
* pScreen uninitializedCaolán McNamara2013-10-181-1/+1
| | | | Change-Id: I244c3b5a949ae5c8a5bf46d1b58439e080b2c848
* missing .mkCaolán McNamara2013-10-181-0/+20
| | | | Change-Id: I923153579d6cc50354450a5b3a55ecc133ae5e41
* Resolves: rhbz#919070 offload set span-all-displays to a gtk3 utilityCaolán McNamara2013-10-183-0/+149
| | | | | | | Jaw dropping hack to set a slideshow to span all monitors if gtk3 is available at runtime Change-Id: I363f63c9855d5cb1f92d65d0b34add0c60f7263c
* Related: rhbz#919070 display -1 means span all displaysCaolán McNamara2013-10-182-27/+59
| | | | | | | | | | | So try to set size to full "screen" size. most window managers will ignore this however unless _NET_WM_FULLSCREEN_MONITORS is set, Under gtk3 we can use gdk_window_set_fullscreen_mode to do that. Its effectively impractical for LibreOffice to itself calculate the right parameters for _NET_WM_FULLSCREEN_MONITORS as far as I can see Change-Id: Ia725f21048bfcec3dbf1478b4303ccd9cfec0b36
* Consistently use SAL_USE_VCLPLUGIN as a bootstrap variableStephan Bergmann2013-10-172-8/+5
| | | | | | | | | | | | ...and neither exclusively nor additionally as an environment variable (where bootstrap variables include environment variables, see the @file comment in include/rtl/bootstrap.h). Note that LibLibreOffice_Impl::initialize (desktop/source/lib/init.cxx) sets it as a bootstrap, not as an environment variable. (Though desktop/unx/source/start.c still only reads it as an environment variable; could potentially check argv for -env:SAL_USE_VCLPLUGIN=...) Change-Id: I9315f585cdb4f0783181359e030686167c4e4625
* Tiles: Documentation of the parameters.Jan Holesovsky2013-10-171-1/+1
| | | | Change-Id: Ibe31a105972cee2aff9b6896cdd80bd93a1a0e7d
* added draw tile signature and select all fixptyl@cloudon.com2013-10-171-0/+13
| | | | Change-Id: I6118c55caa12d9ba52000f89e869e27b218859be