summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08AndroidSalInstance::Wakeup() is unusedTor Lillqvist
The Wakeup() in the base class, SvpSalInstance, is not virtual. So this Wakeup() does not override the Wakeup() in the base class, as the author maybe thought. I don't see in git history that it would have ever been called explicitly on any AndroidSalInstance objects either. Or am I missing something? Change-Id: I932398e7c0a37a3048c5d372996fe6ac6f209887
2013-03-08Don't crash the other experimental appsTor Lillqvist
Don't try to find the class org.libreoffice.experimental.desktop.Desktop in the AndroidSalInstance constructor. It won't exist anyway except in that specific app. Look up the class in the damaged() method where it is needed. And actually, of course we should not hardcode the name of the app class like that, but the app should pass its class down to the native code. Change-Id: Ic15d5cc2c8d53be558711ca7a145d5489e34d298
2013-03-08Make use of new-style AccessBridge ctorStephan Bergmann
Change-Id: I9239fb1c8b139ee2bdb27cdf55222d54e488f6d5
2013-03-08set action and content area via their internal-child idsCaolán McNamara
rather than based on their names, which changes if there are more than one dialog in a .ui set them explicitly in the manual-build-dialog case of the SfxTabDialogs Change-Id: I293c77df05d9e11e3f1cf3b358a9dd27fe668b0f
2013-03-08make use of startsWith()Thomas Arnhold
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-08Remove now obsolete RTL_CONSTASCII_(U)STRINGPARAM from salplug.cxxChris
Change-Id: I49b77fee3864e8a389998a4e9df1054bf29b2722 Reviewed-on: https://gerrit.libreoffice.org/2594 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-08fix handling of ttf embedding restrictionsLuboš Luňák
Font is usable for viewing if not restricted from embedding completely (since otherwise either viewing is allowed or a less restrictive setting is present). Font is usable for editing if it's installable or editable. Change-Id: I57604a54390b935bae3699dda581d1093fc245e3
2013-03-08editable ttf fonts are usable for print&preview tooLuboš Luňák
Since it's a less restrictive setting (fonts should usually have both bits set though). Change-Id: I83f740762698bd0a0f8fdee388a6e710cfd9d00a
2013-03-08embed also view-only fonts, but do not use themLuboš Luňák
MSO embeds even fonts which allow only embedding for viewing the document but not editing it. So embed such fonts too, but do not actually use them from the document. What MSO does when such a font is not present locally when opening the document is switching to read-only mode, warning about this and providing a button for switching to editing mode by dumping the font(s). That should be done for LO too, but right now dropping view-only fonts is better than using them for editing. Change-Id: I19c28fadb091e6b21beaf4cbf8b47e3078256d1c
2013-03-08protect against incomplete writesLuboš Luňák
What good is an abstraction if one still has to fiddle with annoying implementation details? Change-Id: I80816bdad8c0560263306584ad001a41fc054cd2
2013-03-08function for duplicated codeLuboš Luňák
Change-Id: If9d6a163abb5a1cbd64838ca005b14dcd51c4588
2013-03-08WaE: avoid mis-detection of uninitialized pixmap.Michael Meeks
2013-03-07Some further hacks for scrolling on touch devices, but no cigarTor Lillqvist
The scrolling concepts seem quite obscure and firmly tied to concepts like "pages" and "lines". For touch devices one would want to be able to request scrolling simply in *pixels*. It is the scrollbar objects (in vcl and toolkit, and yes, UNO is also involved over in toolkit) that all the action goes through so they must exist even if they should not be displayed. (Both on Android and iOS we should presumably use these system-specific ephemeral scroll indicator thingies that show up only during scrolling but otherwise fade away. Hmm, probably the VCL (or toolkit?) scrollbar code should use platform-specific code to display those then.) Change-Id: I1f82648561e41ae25f2427fd0fe60249c927a9a1
2013-03-07Add a commentTor Lillqvist
Change-Id: Id97c8e2bdbea40db4224147eaabe68a87cd9c08d
2013-03-07Add a SAL_INFO()Tor Lillqvist
Change-Id: Ic681a76deb8db931f7868ca00d649cc3cbabe21b
2013-03-07fdo#38838 Replaced some use of (Uni)String with OUString.Jean-Noël Rouvignac
Change-Id: Iad623c9300919fbae34279268a5a720f978c6434 Reviewed-on: https://gerrit.libreoffice.org/2514 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-07OUString::replaceAt() does not replace in-placeTor Lillqvist
Change-Id: I90bc139e1a188afbada12405d78ac71b97580f0d
2013-03-07Do not call OUStringBuffer::copy with bad argumentStephan Bergmann
Change-Id: I7cb6e2343486ff9864c44d061fc38c1203791988
2013-03-07c#708653# remove unused member SalXLib::pYieldEntries_Herbert Dürr
Change-Id: I0d562f102d5159c0711922ff0c2997a560304eba
2013-03-07rename setInitialLayoutSize to setOptimalLayoutSizeCaolán McNamara
and add a mechanism to know that we're in true initial layout mode Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94
2013-03-07add stock button text for paste, and map to gtk-pasteCaolán McNamara
Change-Id: I38a49ccc744060271be77c9eba2e6bd300630092
2013-03-07Resolves: #i119997# fix a memory leak by WinGlyphFallbackSubstitutionHerbert Dürr
Patch by: Chao Huang Found by: Chao Huang Review by: hdu Conflicts: vcl/win/source/gdi/salgdi3.cxx Change-Id: I6cde84b54a42fd8951d68280fac9dccd2b2e5c4a
2013-03-07Oops, this is a conflict resolution problemFridrich Štrba
Change-Id: I809de78066859a6b340ae5382d7f546c2db61f17
2013-03-07Replace (Xub)String with OUString in vcl(field)Chr. Rossmanith
Change-Id: I62fba60a4c6e1db870443a796e6338cddc934352 Reviewed-on: https://gerrit.libreoffice.org/2229 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-07fix canvas bitmap rendering (argb32 pixmaps) fixes color issue in n#780830Radek Doulik
Change-Id: I5242bbb171ba21da43e535255b7e9dd73c1d4930
2013-03-07Replaced XubString with OUString in vcl(combobox)Chr. Rossmanith
Change-Id: Ibe80e9837f1c8275d625e942eb75ecc8de897bf5 Reviewed-on: https://gerrit.libreoffice.org/2574 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-07c#705440# check ftell return value when emitting Type1 subsetHerbert Dürr
Conflicts: vcl/source/fontsubset/cff.cxx Change-Id: Idaf328b48a55fbcef13746f74120c13b6b435c93
2013-03-07c#705441# handle invalid FDSelect entry while emitting Type1Herbert Dürr
Change-Id: I1865eec0dcb29c74e98a6f42f7cf37a2851f8e85
2013-03-07c#706171# handle invalid PFB chunk headerHerbert Dürr
Conflicts: vcl/unx/generic/fontmanager/helper.cxx Change-Id: I2d58b83c51a2c8b529727be0aeb5ef612f883acc
2013-03-07OSL_TRACE->SAL_INFOCaolán McNamara
Change-Id: I889a32bce4f3c0eab5d3d5ef199dd321755cb177
2013-03-07Start hacking on scrollingTor Lillqvist
Change-Id: I74f1d7feb935be65629bdbd7464f9882229948e5
2013-03-07Use view size for "work area" sizeTor Lillqvist
Don't know what this affects, though. Things seem to have worked as expected even with the hardcoded bogus value? Change-Id: I945bdcd53260fc5f43cf0031dfd96637168475f0
2013-03-07Now get rid of the #if 0 blocksTor Lillqvist
Change-Id: I815cc4a703b7ca6d2894807396a06a3394b40676
2013-03-07Improve vcl/READMETor Lillqvist
Change-Id: I9031ab98f263bcc32b747c85e1715b80c7059ae9
2013-03-07Revert "Window::PostPaint() was unused and empty"Tor Lillqvist
Nah, seems that it was used after all on Windows, somehow. This reverts commit 5754264f93001978a3c5f5f1cdabd7113de010b8.
2013-03-07Handle damage tracking and redrawing properly in the "desktop" Android appTor Lillqvist
In the damaged() method do a callback up to Java code in Desktop that invalidates the view. For now store the view in a static field, but need to do that in a cleaner way eventually. There might in some circumstancest be several instances of the Desktop activity present. Obviously should also run just one LO thread. Get rid of the temporary self-invalidattion in onDraw() silliness. Start the LO thread that runs soffice_main() from Java, not from native code. Apparently only threads created from Java have proper class loaders in Android. No need for an own DoReleaseYield() in AndroidSalInstance, the one in the SvpSalInstance base class does what needs to be done. Change-Id: I4cb85b352fca1f1375f726620ec8c93d2047f113
2013-03-07SALEVENT_COUNT is unusedTor Lillqvist
Change-Id: Ia4970bd63ae5a9af40a82c894ecd077b7ca199df
2013-03-07Window::PostPaint() was unused and emptyTor Lillqvist
Change-Id: I0e35b55888df16067660862fd54d240f5dfcef8f
2013-03-06handle empty button boxesCaolán McNamara
Change-Id: I5763970fc521bd5951576090732902ef156d8958
2013-03-06merge isLayoutEnabledsCaolán McNamara
Change-Id: I67e55fd6aac3e0c9b80c63ca682d3aca7be7d815
2013-03-06Translate German comment in idlemgr.cxxChris
Change-Id: Ic5506b8698d0458e3166994a165d4dd1a8f6173d Reviewed-on: https://gerrit.libreoffice.org/2565 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-06Remove commented out code in salplug.cxxChris
Change-Id: Ie3f55a35874ecaf07440da26c8ba22c2803a0480 Reviewed-on: https://gerrit.libreoffice.org/2566 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-06One German comment translated, removed commented out line of code.Chris
Change-Id: I0811d0404b325307a7cab60c8c634a74eef0736b Reviewed-on: https://gerrit.libreoffice.org/2564 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06Resolves: #i120306# cleanup failed loading of problematic jpegHerbert Dürr
Patch-by: orw Tested-by: orw (cherry picked from commit 52c755f84a4755982d0f0933986c292d199a34f0) Conflicts: svtools/source/filter/jpeg/jpegc.c Change-Id: Ic0686ad44fcd527fc6f182748e255daceac2089e
2013-03-06c#706125# fix overallocation on 64bit platformsHerbert Dürr
(cherry picked from commit febadae3d165ba12f2f7944b441fdfc328a3725a) Conflicts: vcl/source/gdi/sallayout.cxx Change-Id: I928bbf253cb5f7824b870ca77d04d3e453af67bd
2013-03-06c#708666# remove unused member m_aThread from GetPPDAttribs structHerbert Dürr
(cherry picked from commit 83587cfa95ca3ffa6c857d184f28e74c5b0a6bd7) Change-Id: I15bb5c1e6007688bc394858bea8374c59b965057
2013-03-06some XubString->OUStringCaolán McNamara
Change-Id: Ic2baaa9d6de5e6b53bbd11e5917f206336302f7c
2013-03-06remove the need to explicitly specify font style for font embeddingLuboš Luňák
The information can be read from the font data itself now, so this is a bit pointless. It wasn't entirely reliable anyway, as it is also necessary to ensure two font different font files don't overwrite each other. Change-Id: Ie17ab8118e1c08228beb7c749c5c8d6cf3426362