summaryrefslogtreecommitdiff
path: root/include/vcl
AgeCommit message (Collapse)Author
2014-01-21bool improvementsStephan Bergmann
Change-Id: I714caa8dc3d34fd56e6a11f57db6723dcb7e6705
2014-01-21Change EnableNoYieldMode(bool) to better namesChris Sherlock
It makes no sense to disable something via an Enable function. I have split the function into Enable and Disable functions, and update the code accordingly. Conflicts: include/vcl/svapp.hxx Change-Id: Ic05d69796f43e802a4a2a16aaca44433b6eaa018 Reviewed-on: https://gerrit.libreoffice.org/7525 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-20Remove unused Window parameter from SystemSettingsChangingChris Sherlock
This took a bit of code archaelogy for me to track down. It turns out that as part of an effort to optimize startup, the line of code in this function was commented out, presumably to be rewritten later. This happened in commit ee3351d78c in July 2001 (!). About three years later, in February 2004, the function was rewritten in commit 189c2388d80. As it turns out, the only two functions that used the Window parameter were vcl/source/window/window.cxx (which passed itself in, but of course this did nothing) and vcl/source/window/winproc.cxx. Furthermore, winproc only ever passed in the first frame, so it didn't really do anything either. Consequently, the function as it stands *now* only notifies the application that system settings have been changed. It doesn't care which window it tells. Therefore, I have excised this parameter from the function. I don't think it made sense when it was implemented anyway, so there is no net loss. After removing the unneeded parameter, I was also able to remove the Window parameter from winproc.cxx's ImplHandleSalSettings function as it was only ever used to set the top level window, which is now irrelevant. Change-Id: I84f2c5c5ff8969387da3af81e4a9c7f9ac6237e1 Reviewed-on: https://gerrit.libreoffice.org/7541 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-01-20Document VCL Application classChris Sherlock
Documented the VCL Application class in Doxygen format. Also reindented some of the code, and moved ValidateSystemFont down the list of class functions (better code organization). Change-Id: Id421647a9a25e11be87b0f6c46d1ac0f4846f6a4 Reviewed-on: https://gerrit.libreoffice.org/7515 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-01-18Window::PreNotify should return boolStephan Bergmann
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-17Window::Notify should return boolStephan Bergmann
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-16make use that these VclBuilders have an XFrame to expose its dispatchCaolán McNamara
the sidebar widget-layout enabled panels could use frame::XDispatch::dispatch to send their commands directly rather than mapping back to SIDS and Executing those, which would allow removing piles of weird-ass stuff Change-Id: Ibbff56d4fb96820d3bdbf4b1cb582d25337fe48b
2014-01-16fdo#39468 translate more German comments, etc.Chris Sherlock
* Translated some more German comments * Some typos corrected * Removed useless comment decoration Change-Id: I40176e23983193e5087f48cf7d7b8e5eb339d6c6 Reviewed-on: https://gerrit.libreoffice.org/7463 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-16convert SvStream::operator<< overloads to more explicit methodsNoel Grandin
This is in preparation for more conversion of SvStream::operator<< calls to use more explicit method names. This converts the subclasses that have their own convenience overloads of operator<< to use normal methods. Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
2014-01-16Remove broken and unnecessary friend declaration.Matúš Kukan
Change-Id: I5ec11ce8a64bc50faf7305ae74f058a0114d095a
2014-01-14nFlags parameter to Window::Hide appears effectively unusedStephan Bergmann
...there was a handful of Hide(true) calls, which would happen to actually mean Show(false, SHOW_NOPARENTUPDATE) but I assume those were typos rather than genuine requests for SHOW_NOPARENTUPDATE. Change-Id: I20310d58437bb556f95965885f82784f855b517d
2014-01-14sal_uLong->size_tCaolán McNamara
Change-Id: Id10a0d7e0d635a6829966dc5ce0110dc715d7c6c
2014-01-14longparas: bump nLen to 32bitCaolán McNamara
Change-Id: I49621bc3887baf8fcee17559818193325b83f27d
2014-01-13longparas: convert ValidateKashidas to sal_Int32Caolán McNamara
we can use -1 as the failure return code as return value is always checked and isolated from the rest of the code. Change-Id: I87a743de82d681a7e4eabc61a576c4e50f1279a8
2014-01-13drop unnecessary tools/string.hxx includesCaolán McNamara
Change-Id: I2439ed19b554381f80e882aacbac05167622df92
2014-01-13longparas: weed out xub_StrLen in pdf writerCaolán McNamara
Change-Id: I3570f653ec44edcf0a215ffcac2017b9a5a3544a
2014-01-13longparas: drop 16bit string limits in meta text actionsCaolán McNamara
Change-Id: I35144034f002cdaaa759a84731aae5fa48c6aa5a
2014-01-13longparas: xub_StrLen to sal_Int32Caolán McNamara
Change-Id: Ib3eb5f9df112696b326bb30e4deed49d37f30c86
2014-01-13disentangle CalcSizeCaolán McNamara
Change-Id: I42248ff611dbe7c109076da5d548717898341be3
2014-01-12longparas: nStart and nEnd are always overwrittenCaolán McNamara
so simplify to the reality, which conveniently removes some hard-coded 0xFFFF and STRING_LEN uses Change-Id: I4fc014a972f6a157c18f8194c410b7cbff03de4a
2014-01-12longparas: raise 16bit cursor pos limit to 32bitCaolán McNamara
Change-Id: I08e4e954d4f07800d23b50d3fc933b1d2984eca0
2014-01-11longparas: OldTextLen and DeltaStart are unusedCaolán McNamara
Change-Id: Icfcbfece1954675cd4b8882f66726d80b7315e61
2014-01-11longparas: lift 16bit max edit lengthCaolán McNamara
Change-Id: Ide74f0a48f06cbe9539f16ef6c6d04bba043dcf9
2014-01-11longparas: convert GetMaxVisChars from xub_StrLen to sal_Int32Caolán McNamara
Change-Id: I25fcfc3ae5a599bbd7ebef3071895ec9dbf2949e
2014-01-11WaE: unsafe mix of type 'sal_Bool' and type 'bool'Tor Lillqvist
Change-Id: I6d9910d33b34672d412f3346ee9dd131610215d0
2014-01-10operator ==, != should return boolStephan Bergmann
Change-Id: I73cb672175f49535a3d0e248d9ed970bb5e3be4a
2014-01-10Use boolStephan Bergmann
Change-Id: I6a300087d28c8a8b7266657df4250864e689075b
2014-01-10endSpool return value is effectively success flag, not job IDStephan Bergmann
Change-Id: I5b96eeff80ca29f0f8f24ee6da7a2ca76cbb05ce
2014-01-08Revert "make FilePicker::createWithMode not crash"Matúš Kukan
This reverts commit 58ea27124af27bfac21a796b0d13d72354bd0dd3. It's probably better to fix it another way.
2014-01-02Resolves: #i123895# split impfont.cxx source from metric.cxxHerbert Dürr
and move the helper function UpdateAttributesFromPSName() there to make it available for all platforms, not only ATSUI-based ones. (cherry picked from commit a3895516f02a80151caaac8b92fb50aa5f7ee93b) Conflicts: include/vcl/metric.hxx vcl/aqua/source/gdi/salatsuifontutils.cxx vcl/inc/impfont.hxx vcl/source/gdi/metric.cxx Change-Id: I6d5702d429673c83740cb72775014f8942e5f44d
2014-01-02allow simple MessageDialogs to be created from just message stringsCaolán McNamara
Change-Id: I9f8324d1c61bd55ccc78e67699ebdfa946e48af6
2013-12-28make FilePicker::createWithMode not crashCaolán McNamara
i.e. calc->data->XML Source->"browse to set source" calls com_sun_star_comp_svt_FilePicker_get_implementation with its single argument in arguments as opposed to the empty argument expected there. So allow the single-argument case, and pass the argument through and apply it automatically via XInitialization::initialize in Application::createFilePicker. I'm far from sure that this is the right solution, but it has the advantage of working vs crashing. Change-Id: I07c1baae7f47781920eac56763e8fd003a7b99e1
2013-12-23add a basic GetOptimalSize to progress barCaolán McNamara
Change-Id: I34b98d4c98b3f9af062473f254ffeadb05130471
2013-12-21add an intermediate virtual 'response' to MessageDialogCaolán McNamara
so subclasses can decide to not EndDialog on a given responseid Change-Id: I78a02f121b414c458bece1574f890d952ad5cc23
2013-12-20hidpi: Make many places Hi-DPI aware.Keith Curtis
This also introduces a getter for the mnDPIScaleFactor variable. Change-Id: I02ba6858fb1842f911d62976f4c54afc3bfa337f
2013-12-19Introduce DPI scale factor for Hi-DPI displays.Jan Holesovsky
This is supposed to stay 1 (no scale) for printers and default virtual devices, but should be set accordingly (2 or 3) for windows and virtual devices derived from windows. Various VCL widgets or paint operations should incrementally become aware of this, and changed so that they draw nicely on the Hi-DPI displays. This patch only introduces the behavior for waved lines. The default is currently being set depending on the DPI setting only; could be changed to a more clever way if necessary. Change-Id: I71118f9ab6b64028d1eeee76e860e999d5cd9d19
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-13fdo#70338 : Fixed file corruption issue after save for docx.Sushil Shinde
- File was giving corruption message if saved in LO. - Issue due to video file. - Attached file contain .mov which was not handled properly. - Added mov extension support in graphic filter. Reviewed on: https://gerrit.libreoffice.org/6818 Change-Id: Ia278127ddc4afcd2d5fe04e86ed6201fb28dc04f
2013-12-13Bin unused or duplicate forward class declarationsTor Lillqvist
Change-Id: Ic6fbb345e333d67f967a3ea09a5a90ecef910040
2013-12-13UNOWindowData has been dead since the year 2000 at leastTor Lillqvist
Change-Id: I8d3079f5b508008a4c25a4baa604fc89c81aab33
2013-12-12chmod -xTor Lillqvist
Change-Id: I51d817cf01ba3cd87a2b78e00c96707dbdb78a3b
2013-12-12Add CGContext field to SystemGraphicsData for iOS, tooTor Lillqvist
2013-12-12CosmeticsTor Lillqvist
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11regband.hxx is private to vclTor Lillqvist
Change-Id: If17510b572aa172c8d973f74b881b0d723213eef
2013-12-11octree.hxx is private to vclTor Lillqvist
Change-Id: I3cb377cfa99914fdba00504fb7d955e088bfca76
2013-12-11fontmanager.hxx is private to vclTor Lillqvist
Change-Id: Iec1d1539db0b44d2ddc420cf500585098d4793fc
2013-12-11displayconnectiondispatch.hxx is private to vclTor Lillqvist
Change-Id: I86fab011150be6f151e4fd6a51246f41e86e5833
2013-12-06Remove irrelevant comment.Andrzej Hunt
Change-Id: I4858667f781f4e8142dcd096222e98316cf1b9b6
2013-12-05fdo#39956 Delete JABDavid Ostrovsky
JAB has been discontinued in favor of the native IA2 bridge. Change-Id: I88461f73c620507d3e97b077ea2abdd2229322e1 Reviewed-on: https://gerrit.libreoffice.org/6819 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>