summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2013-07-25Related: fdo#61544 don't include border size twice in edit optimal sizeCaolán McNamara1-2/+8
CalcSize calls CalcWindowSize, but we will call that also in GetOptimalSize, so undo the first one with CalcOutputSize. This makes the editboxes especially less tall under MacOSX Change-Id: Ibbbf5a30e0c640744b1a979937301f87d250873a
2013-07-25Remove some unused code form unusedcode.easyMarcos Paulo de Souza1-47/+0
Change-Id: Ib9f0bc7416c7f05684802ba2bb5f014a340fb2e8 Reviewed-on: https://gerrit.libreoffice.org/5068 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-25convert some XubString to OUString in ApplicationNoel Grandin2-5/+5
Change-Id: Ieed48339e9fc01796674691d5b0580a36df6e63e
2013-07-25convert vcl/ilistbox from XubString to OUStringNoel Grandin2-9/+17
Change-Id: Icfaea26c7bb82f449fc796dea80d12ffdf640a14
2013-07-24fdo#46271: No arrows in scrollbars in OS X 10.7 and laterTor Lillqvist1-9/+54
So no need to take them into account when calculating the geometries of the scrollbar parts. Change-Id: Ie8d4b38107466663e6ff8c26aec3537638976f98
2013-07-24Bin pointless comment duplicating #defines in a headerTor Lillqvist1-11/+0
Change-Id: I071da9dbe7c4fe5ce95deef8b62d74d2d5a20256
2013-07-24fdo#46037: no more comphelper/configurationhelper.hxx in vclJulien Nabet3-48/+8
Change-Id: I809915fae3ffc117c854ec90632f70c76031aa60 Reviewed-on: https://gerrit.libreoffice.org/5079 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-24fdo#67086 - clear device font list before re-fetching it.Michael Meeks1-18/+18
Seemingly if this is done in the other order, then ImplUpdateFontData reads the old font list into mpGraphics leaving pointers around that are then freed by ClearDevFontCache -> GlyphCache::ClearFontCache Change-Id: I06fdc428c782820dd9f98cf77dc0eef486a096ee
2013-07-24Remove dead function: ImplgetCounterPart()Tor Lillqvist1-22/+0
Change-Id: If1196d56db250a429d467e5dda7f426b5c7f9113
2013-07-24Resolves: #i122796# fix half-pixel offset in StretchAndConvert...Herbert Dürr1-6/+6
image scaling (cherry picked from commit ec3d48418f1cbad40153b3e4fdc2497ebf0e7d59) Change-Id: Idc4bf7acc30c24a788be79c3686155e924afb28c
2013-07-24XubString->OUStringCaolán McNamara3-14/+14
Change-Id: Ie6b44d1f4abe1826254ab5bb178d73606bd1283c
2013-07-22Shell32.dll is already loadedFridrich Štrba1-48/+22
Since the vcllo.dll links already the shell32.dll because of its symbol SHAddToRecentDocs, no need to increase reference of that library. Just get the module handle. Moreover, a mere presence of the symbol SHGetPropertyStoreForWindow in shell32.dll indicates that we are running at least on Windows 7 or Windows Server 2008 R2. There is thus no need to check for the library version. Change-Id: I9ddfb8407fd805faf588779ac5fa8c10a0ae8898 Reviewed-on: https://gerrit.libreoffice.org/5016 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-21Fix link in commentKhaled Hosny1-1/+1
Change-Id: Ie9f5bfaa8230f97cbce1c26ef4bb86ae8e248d5e
2013-07-20fdo#35785 LibreOffice's support of recent documents in Windows 7 brokenJesús Corrius3-4/+79
Change-Id: I916ba1335b0a0420f568ab9340632f273e3c9516 Reviewed-on: https://gerrit.libreoffice.org/4997 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-19Only do the WB_TOP hack for radiobuttonsCaolán McNamara1-21/+30
RadioButtons are the only ones abusing WB_TOP for image align, so only set it for those. Change-Id: Ie616b132c6771c4233295703ee56e60131c477cf
2013-07-19Resolves: fdo#48835 complete application menuCaolán McNamara1-8/+36
a) reorder entries to the original design idea and add missing New b) forget about stripping the appmenu entries from the normal menus Change-Id: I70ae9d377e4ea9285940eaef5c687fb1ab50193d
2013-07-19callcatcher: update unused codeCaolán McNamara1-15/+0
ResId loaders begining to melt away Change-Id: Ied10d95f6561f24b2305d202847b7e7c39eb63c3
2013-07-19remove Application::GetWorkAreaPosSizePixelNoel Grandin13-77/+1
This internal API has always been problematic because we cannot support it under the Linux toolkits, where it has in fact always just returned the size of the screen. Change-Id: I406bcbca8a4161b4261ef46940823bb07c6ad18b Reviewed-on: https://gerrit.libreoffice.org/4976 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-07-19WaE: returning temporaryCaolán McNamara2-11/+11
Change-Id: Ibb401d8df817ca700a806ef28ac359e0b74ec3e2
2013-07-19add a callback mechanism for post-expansion mode changeCaolán McNamara1-0/+1
Change-Id: I9219706bcc54c846b846550d88fef1e29f7cb63a
2013-07-19minimize the scrollbar optimal size for the variable directionCaolán McNamara1-1/+15
Change-Id: Iae8647f5827bee1f0939d3da4e03b5312588bbfd
2013-07-19Cleanup String in connectivityNorbert Thiebaud1-2/+2
Change-Id: Ica1cf0ac9e9da9c943e50ba77b1ce4a9dc7f8300 Reviewed-on: https://gerrit.libreoffice.org/4895 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-07-19clarify a different meaning of WorkArea.Michael Meeks1-2/+2
Change-Id: If7f3de537f5aa2d0322c59fe1cff04a3b11aaab9
2013-07-18Related: fdo#48835 reuse Mac appmenu translationsCaolán McNamara1-29/+48
to-do: a) dig around for the setting to toggle-on/off b) block the normal entries in the menus and merge the mac build-time hackery to block menus into per-platform run-time lists Change-Id: I8fc3657ccc6d1881d4345c0ea73b05f6a29b6e07
2013-07-18Related: fdo#48835 run everything through the uno dispatcher for clean quitCaolán McNamara1-30/+7
Change-Id: I175eb959e7decbabce142ecedc09f09bd9764641
2013-07-18Related: fdo#48835 turn into unreadable goo to get correct options contextCaolán McNamara1-10/+34
i.e. so that appmenu preferences for writer includes writer options and calc gives calc options, etc. Change-Id: I54a14eea13178c734ce257d65b9666014b831335
2013-07-18Related: fdo#48835 first cut at a GNOME3 appmenuCaolán McNamara2-7/+96
to-do: a) dig around for the setting to toggle-on/off b) translations c) block the normal entries in the menus and merge the mac build-time hackery to block menus into per-platform run-time lists Change-Id: I623f029722b71dde6e60f289c7339a96e2dfbf8e
2013-07-18widget layout: MenuButton needs to extract relief too.Jan Holesovsky1-0/+2
Change-Id: I648d6b83c21728802b391aba4fa279996a1aa8d1
2013-07-17fix old indentCaolán McNamara1-68/+68
Change-Id: I05781f34ed22801ac2d99629a0914c069201a918
2013-07-17fix radiobutton GetOptimalSize for imagesCaolán McNamara1-14/+28
Incredibly ugly stuff, but this is (as far as I can see) what the drawing is actually doing. e.g. WB_TOP, surely it should be using image align. Change-Id: If2dcb1caf92cd5bbd2f07114ae2c41843b5a7f38
2013-07-17dump the name of the radiobuttons without groups setCaolán McNamara1-1/+1
Change-Id: I873b5825ef4c49aec86799556229584116f066fa
2013-07-17allow radiobuttons and checkbox images to be aligned from .uiCaolán McNamara2-17/+48
Change-Id: Iee7b970344ac85e4b8ce51f1c3b5ae6605c05843
2013-07-17n#820077: Import images with duotone filter.Muthu Subramanian1-0/+43
Also, contains implementation for a simple duotone filter.
2013-07-16add and use VclExpander::[g|s]et_expandedCaolán McNamara1-1/+1
Change-Id: I3b4e0947e85a7f6d6533dd17f39542584087c68a
2013-07-16convert versions of dialog to .uiCaolán McNamara3-0/+8
Change-Id: I1be2211b5c936e6e00f2fe81883b8fb1e67ef550
2013-07-16widget layout: Take decimal digits into account for MetricBoxes.Jan Holesovsky1-0/+20
Change-Id: I2870dbf9dc1f7fb84adfe81b9be8f4060677e6d0
2013-07-15fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa8-26/+14
Change-Id: I85a3cfeac16e2c8e20724e1f6a5dd16c2c143a49 Reviewed-on: https://gerrit.libreoffice.org/4882 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-07-15fdo#66577: Cursor displaced in Web LayoutKhaled Hosny1-6/+6
Using lrint() helps a bit, but does not fix the issue entirely. Change-Id: Ib80e2c5a57d632f289e49322d3712c6321ae1ec2
2013-07-14String::SearchAndReplaceAllAscii -> OUString::replaceAllCaolán McNamara1-3/+2
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke1-1/+1
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-12fdo#66811: vcl: fix broken OUString with length STRING_LENMichael Stahl3-4/+5
ImplSalGetUniString was wrongly converted and constructs OUString with invalid length in WinSalGraphics::CreateFontSubset; this is then implicitly converted to an empty UniString so the font names are missing in the PDF files generated on Windows. (regression from 9e310cc32923ceb4b18d97ce68d54a339b935f01) Change-Id: I1603e62cf18f353f3d7de322b9111a173dc6b225
2013-07-12set primary and secondary text on the gtk overwrite queryboxCaolán McNamara5-32/+70
Change-Id: Ie671ddaba0e749dd0714de589fbaa45d914ba5c9
2013-07-12Fix headless mode glyph cache memory handlingStephan Bergmann5-69/+55
...the original code was riddled with errors. It leaked memory, which if it didn't it would have deleted multiple times. Change-Id: Ic70b425fac02ef894e35b3dc15039d217f8870f5
2013-07-12XubString->OUStringCaolán McNamara1-1/+1
Change-Id: I07f4db038114174a65ed453096d566d699e8fce8
2013-07-12Turn basebmp::Format into a proper enumStephan Bergmann12-104/+104
Change-Id: I4067c5039c7b5c74a1c144721dd7260de54dd2bf
2013-07-12THIRTYTWO_BIT_TC_MASK is the same as THIRTYTWO_BIT_TC_MASK_BGRAStephan Bergmann2-2/+2
Change-Id: I917c4136614664a1816769300707f170312c885d
2013-07-12Resolves: #i120957# Added Reginas corrections for gradient colors for...Armin Le Grand2-198/+166
linear gradients in VCL renderers Patch by: Regina Review by: alg (cherry picked from commit 94205034afa2abe9ab73b2f5d0c76f295a7889c9) Conflicts: vcl/source/gdi/outdev4.cxx Change-Id: I8b66bb1b9155253e138c7ebb4fc3e0686bae7913
2013-07-12initial unexpanded child was actually zero size, not hiddenCaolán McNamara1-0/+3
Change-Id: I8b65b4986bf316e352131e737ebf736d91173d16
2013-07-12tab traversal order wrongCaolán McNamara1-1/+1
Change-Id: If3b46a1f41cfdde7e6ae04c2aba48fc49d6f2230
2013-07-12Related: fdo#66817 ensure VclExpander label is mnemonic for disclosure buttonCaolán McNamara1-0/+19
Change-Id: I11c9a35e3d50a827127e4542a40f6f29580d4e8b