summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-05-11sw,sc,sd,starmath: convert to vcl::RenderContextNoel Grandin
Change-Id: I5d0a3b8ed1c49ba2806e0fa528d908da45afd58c
2015-05-11loplugin:staticmethodsStephan Bergmann
Change-Id: If28afc6a2936b150e6659ed84c5ecac9f4c54edc
2015-05-11Remove unused OSXTransferable::isUnicodeTextStephan Bergmann
Change-Id: I20fbfccc3e7799539372e72490fe5721ec009896
2015-05-11refactor "workben" classes to use RenderContextTomaž Vajngerl
Change-Id: I9363d4d90df7c74cf7462494ceda2e2f47607dc9
2015-05-11refactor SplitWindow to use RenderContexTomaž Vajngerl
Change-Id: I4f36977e7b1c4c210b8c70ec7aa248d9e6912241
2015-05-11refactor WheelWindow to use RenderContexTomaž Vajngerl
Change-Id: I59a7b31772e60a4da56b35e679928d8238b3d420
2015-05-11refactor StatusBar to use RenderContexTomaž Vajngerl
Change-Id: Id29dd8ad0d5de77738f162aed530ed191f326aa2
2015-05-11refactor PrintDialog to use RenderContexTomaž Vajngerl
Change-Id: Icff2648f04eca42a16555d334e42dda9f453b965
2015-05-10cppcheck: unnecessaryQualificationCaolán McNamara
Change-Id: Ief6abf58b36a9f00b63e3ca71900b026628c996c
2015-05-10tdf#74301: WMF: use LibreOffice locale on OEM_CHARSET/DEFAULT_CHARSETMike Kaganski
[MS-WMF] 2.1.1.5 CharacterSet Enumeration defines DEFAULT_CHARSET "Specifies a character set based on the current system locale; for example, when the system locale is United States English, the default character set is ANSI_CHARSET" OEM_CHARSET is defined as follows: "Specifies a mapping to one of the OEM code pages, according to the current system locale setting" Currently, LO WMF import treats these values as synonim for RTL_TEXTENCODING_MS_1252. This patch fixes this to use LibreOffice locale setting instead. Strictly speaking, this is not quite correct for OEM. E.g., for Russian, DEFAULT_CHARSET is equal to codepage 1251, while OEM_CHARSET is codepage 866. But I don't know how to distinguish these two. Change-Id: Id5eaf070cde040bd6eb1db28f1a498d647ba227e Reviewed-on: https://gerrit.libreoffice.org/15641 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-10remove a use of OUString::intern()Norbert Thiebaud
maIconCache is defined as a std::unordered_map 'interning' a OUString to give to it as a key seems completely superfluous since no-one will ever use it by address, even less compare the address. Change-Id: Iab5d106d7d51fcdfbd0a0dfd50ae28d686b9b2b7 Reviewed-on: https://gerrit.libreoffice.org/15692 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-10tdf#44621: Fixed drag and drop in OSX 10.7+mmeof2
Change-Id: Iefcc529d8ffa608e26c75a445341e0b8ae11c613 Reviewed-on: https://gerrit.libreoffice.org/15683 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-10Use IMPL_[STATIC_]LINK_NOARG where applicableStephan Bergmann
Change-Id: I1e24b032bdeea017b0e77c5446e55310899ce752
2015-05-10Clean up misguided use of EMPTYARGStephan Bergmann
Change-Id: Ib0ea9b16c3107f1d6d4ab148adcf26a5372f9417
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-05-09tdf#91052 - more macros for 'make' constructors.Michael Meeks
Change-Id: Id05266810760f73db2daba10d1efa14aa9f88dd9
2015-05-08False loplugin:staticmethodsStephan Bergmann
Change-Id: Icc026ebb422c299caca6c24d6a56416076589fc8
2015-05-08loplugin:staticmethodsStephan Bergmann
Change-Id: I186c81923857d06ac7a87caf9d5961f44b89b559
2015-05-08loplugin:staticmethodsStephan Bergmann
Change-Id: I9fa42eeeabb4a6c7ee18b52d24c480a3f7a6a753
2015-05-08loplugin:staticmethodsStephan Bergmann
Change-Id: Iafb48b20496924c64f9aaa3ec0965b023aef6a07
2015-05-08Remove dead CoreTextStyle::SetTextColorStephan Bergmann
...unclear to me why 507efabe8b40e34c2bebfdaa00d4264c5345d3dd "Resolves: #i124922# allow late setting of the font color..." left it in Change-Id: I741ca3d7eca6fa5dff81af50d91bd6c5d1cba989
2015-05-08Remove trivial CoreTextFontData::CreateTextStyle wrapperStephan Bergmann
Change-Id: Ic57551d9a3590769f97742d41f089dbb3ce248a9
2015-05-08loplugin:staticmethodsStephan Bergmann
Change-Id: I1aeec1e8b00ab0f9e7ec130b6d72b69f35a304cf
2015-05-08loplugin:staticmethodsStephan Bergmann
Change-Id: Ie99d1dd241dc2bfa5c5ac2bff9f2330c491327bc
2015-05-08PostUserEvent - first cut at keeping a VclPtr for posted UserEvents.Michael Meeks
This should eventually enable more certainty that they are still live by the time we emit the event later. Change-Id: I7c9eb4c000753d4efe8c59a9e13ef3e11c93b2fa
2015-05-08Take SolarMutex when pushing app events that need a VclPtr.Michael Meeks
Change-Id: Ice91c9e698d99d9674a7c7b3c688faa07603bf95
2015-05-08loplugin:redundantcastStephan Bergmann
Change-Id: I50154e2deb66a77fc4354b1db0e4cd8e1b1ffd2e
2015-05-08loplugin:redundantcastStephan Bergmann
Change-Id: I2931de2cc2a9916dae785d0cc130ce2aa73cf54e
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-08vcl: hold reference during user event posting for floatwin.Michael Meeks
Change-Id: Ibb0f717ae21cd80386b26e078ee7eb2a873b4092
2015-05-08PostUserEvent - instrument to allow holding a VclPtr reference.Michael Meeks
This helps avoid things dying during emission in a robust manner. Bit of an unpleasant 3rd optional parameter; better names appreciated. Change-Id: I27571823f9d96caef1d07602785a02390d3a3591
2015-05-08vcl: Control - hold a VclPtr instead of a dogtag over emission.Michael Meeks
Change-Id: Ibedf2fc25ac141e10d07ba757fa6c76a4c4a6cff
2015-05-08convert MEDIA_COMMAND constants to scoped enumNoel Grandin
Change-Id: Id3731144fab89cdab9a6f66d78a1ebe1ebd4f61c Reviewed-on: https://gerrit.libreoffice.org/15652 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-08vcl: more VclPtr debugging docs in the README.lifecycle.Michael Meeks
Change-Id: I49d06d54157e1e7c5b7ce2aa3f8917763de6826d
2015-05-08loplugin:staticmethodsStephan Bergmann
Change-Id: Ie3629a14c7a15a0f5f93a4bfc663a2bb52a8735d
2015-05-08convert SHOWDIALOG_ID constants to scoped enumNoel Grandin
Change-Id: I58fffa7345f6b5050b8a1b3ac1022c630e64dbb4 Reviewed-on: https://gerrit.libreoffice.org/15651 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07tdf#91073 - hold a reference on the floatwin in UserEvent handler.Michael Meeks
Change-Id: I6f8b8681643448d2b335c9f16d63a75cbd43f854
2015-05-07XTiledRenderable: use HWND instead of HDCLászló Németh
Cherry-picked from e1fb63bb8ed7a9bd4dbe19be0d0da7245c4a2fb2 Change-Id: I2959ea8b1213d6dade1c2567365f177bf542e075
2015-05-07NoParent condition reversedCaolán McNamara
regression from... commit 39078c247d31674544901f8449f5141185f79f7f Author: Noel Grandin <noel@peralex.com> Date: Wed May 6 14:07:17 2015 +0200 cleanup DIALOG_NO_PARENT, follow on to tdf#91090 remove the DIALOG_NO_PARENT abomination and replace it with a flags parameter Change-Id: I1955531b41b01623ca94155c60794ae1771849ff
2015-05-07VclBuilder - use VclPtr more consistently internally.Michael Meeks
Fixes a number of TabPage related leaks. Change-Id: I7b904e9bbbce652d2dc645952e266cde102ed194
2015-05-07Revert "Tackle Menu with RenderContext refactoring, Invalidate"Stephan Bergmann
This reverts 5485ef70cee1e3a743047f95ce94533024004b7c, which breaks JunitTest_toolkit_unoapi (toolkit.AccessibleMenu) Change-Id: Ic9021c23178f1598c08186e5cb24fde13a866579
2015-05-07vcl: simplify code by using std::any_of/std::none_ofTakeshi Abe
Change-Id: I37c4fd80780738b823c7928f22deaff0ea1c6bff Reviewed-on: https://gerrit.libreoffice.org/15585 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-07convert PUSHBUTTON_DROPDOWN constants to scoped enumNoel Grandin
Change-Id: Iae363b8478ef2d560ae661af06ba989f27adc093 Reviewed-on: https://gerrit.libreoffice.org/15650 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07convert BUTTONDIALOG constants to scoped enumNoel Grandin
Change-Id: Icbf73fe55ad604f762dd2b98fd39189bab82f061 Reviewed-on: https://gerrit.libreoffice.org/15648 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07Hold a reference on the Window while emitting events from vcl backends.Michael Meeks
Change-Id: I4673dc03c214ca8f5c227a444e182a45f6199b9b
2015-05-07Related: tdf#90956 don't resize the border window when disposingCaolán McNamara
Change-Id: Ia5a2108214369a82dfe5e886524fbf5e685bb9f9
2015-05-07convert BMP_VECTORIZE constants to scoped enumNoel Grandin
Change-Id: Ifa6614f6a17356481a335a686e9ea0f9b983c5c5 Reviewed-on: https://gerrit.libreoffice.org/15647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07WaE: OutputDevice subclass should have nothing in its destructor but ...Tor Lillqvist
Change-Id: I9b48a2c9d878ef449fc9c04228eff9deb03b0718
2015-05-07tdf#90956 - ComboBox: handle re-size calculation during dispose.Michael Meeks
Change-Id: I3d6e421a10b0d6b0edb85c0a6454315198bfd22f
2015-05-07tdf#91073 - keep the popup pointer around while we operate on it.Michael Meeks
Change-Id: I33767036847aed3d5c7ee4a7d13e81590e46b65b