summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2013-06-10fix file and lineno info for DBG_UNHANDLED_EXCEPTIONNoel Grandin1-2/+5
which I broke in commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Ic30e985cc356d81013ced1ce74ec6c78469d9882 (cherry picked from commit 2cb247a12d682d7cda0483570b38b4469c360a94)
2013-05-21fix for linkingNoel Grandin1-1/+1
caused by my commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Idfd84d987ba9151ba476ce0516a9e5fbdb2003ec (cherry picked from commit 6bf00f0f94394c62bddcd77b776e4e3592160201) Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2013-05-21move DBG_UNHANDLED_EXCEPTION out of lineNoel Grandin1-0/+49
makes it easier to set a breakpoint on it. Plus it's getting a little big to be a macro. Change-Id: I2827aa3618ba966fbc85a4a56e0e794a55630730 Reviewed-on: https://gerrit.libreoffice.org/3988 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-19Secured some places where PolyPolygons were createdArmin Le Grand1-17/+0
using a all-points count and a all-points array (cherry picked from commit 8ee49906f04106317997e9ca3bb890870816e274) Conflicts: svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winwmf.cxx tools/inc/tools/poly.hxx tools/source/generic/poly2.cxx Change-Id: I57f7f08d8dd87c83c30ab2d16ca22b772b2bd834
2013-05-17resolved fdo#63805 max day of month of the intended monthEike Rathke1-9/+20
Since 6619955e72c1c2f29a32e82478d19147c0d7610a Date::GetDaysInMonth() operates on the normalized value that corresponds to the actual values set at the Date instance, obtain and set number of days for the intended month instead of using the rolled-over date. Change-Id: Ia6b007675104f8e134b278f216c3bb48b72f061c
2013-05-14SolarMutex does not belong into the URE interfaceStephan Bergmann1-2/+2
...so move it from osl/mutex.hxx to its own comphelper/solarmutex.hxx. It looks like a newbie mistake that 59e7685d8d812ee8773f57475cbe3aa2a0bdfc81 "Create an abstract interface to be used to implement a SolarMutex" put it here in the first place. I do not consider this an incompatible change really, as no external URE client code should have used SolarMutex anyway. (Also included some clean up, like removing unused {Clearable,Resettable}SolarGuard, and spelling out SolarGuard in the few places it is used.) Change-Id: I121ffb5b7cefbc19e88b5405e5a85ffc895be852
2013-05-13Resolves: #i115917# Better conversion of C1 and C2 bezier curve pointsArmin Le Grand1-9/+37
Patch by: osnola Review by: alg (cherry picked from commit 76741df0b60b9157710f8e66720275749dbf98bd) Conflicts: tools/source/generic/poly.cxx Change-Id: I0de15a92e68b766258e285ed17365816064da141
2013-05-09fdo#63154: Remove _CL and _LF from solar.hMarcos Paulo de Souza2-23/+22
And use RTL_CHAR_{CR,LF} from rtl/string.h Conflicts: vcl/source/app/dbggui.cxx Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a Reviewed-on: https://gerrit.libreoffice.org/3740 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-08zlib: remove ExternalPackage_zlibMichael Stahl1-7/+1
Change-Id: I5bce88b2044279a6563fd68c35f9c1ac824c8850
2013-05-02Show only filename in "Recent Files" listSamuel Mehrbrodt1-0/+6
As discussed here: http://nabble.documentfoundation.org/Libreoffice-ux-advise-Recent-files-dropdown-td4052945.html#a4052996 The changes are (inspired by Gedit): * Display only the filename, not the (abbreviated) path * Show the protocol name before the file, if not local (e.g. "ftp: myfile.odt") * After the keyboard shortcut (a number from 1 to 10) display a '.' instead of a ':' (because the protocol has a ':') * FIX: Display whitespace as whitespace, not "%20" Change-Id: I47472c901aa866adb76c7c7ab36bc871f82ad8df Reviewed-on: https://gerrit.libreoffice.org/3700 Reviewed-by: Jan Holesovsky <kendy@suse.cz> Tested-by: Jan Holesovsky <kendy@suse.cz>
2013-04-30redo fix for fdo#64078Noel Power1-1/+1
use std::abs instead of labs Change-Id: Icb09fb1715d4795c718773a37e66947d67019bb7
2013-04-30fix for fdo#64078Noel Power1-1/+1
Change-Id: Ib8c70b0074485ccd8bf6095c070610fe90e22d4a
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-23/+4
2013-04-27Bin ugly (ab)use of preprocessor in headersTor Lillqvist2-2/+0
The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop empty use_packages callsDavid Tardon1-3/+0
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon2-3/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon1-2/+0
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen67-13309/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks8-169/+36
2013-04-20we want the int. overloads of abs() hereDavid Tardon1-1/+1
Change-Id: Ie82c51f65a2a0e13d6d30c85a23286574fd50b90
2013-04-20Include <cmath> for std::abs()Tor Lillqvist1-0/+1
Change-Id: Id94260d41e821386e2c0aef67075658bee7fd49f
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza6-42/+27
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19tools ::Time: change constructor to fixed-length integersLionel Elie Mamane2-3/+3
Change-Id: I20180cda1a28f898f487aff605796077d3418be3
2013-04-19Wrap large values in SAL_CONST_INT64Stephan Bergmann1-3/+3
Change-Id: I9a263e2232d63e5794f757cab39b93e13c7d159f
2013-04-19Wrap large values in SAL_CONST_UINT64Stephan Bergmann1-4/+4
Change-Id: I865808911043a61de5c4209fa889dbff7c8baf28
2013-04-19Presumably "call clock" should be "wall clock"Tor Lillqvist1-1/+1
Change-Id: I7bcdfccc17de7057cc47720bd6ce78345f2d6d7c
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane7-113/+222
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-16Move {pre,post}x.h to where {pre,post}mac.h and {pre,post}win.h areTor Lillqvist3-127/+0
Change-Id: I561aa6cc1de7ed6128d25c82cd493d5d5718e052
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-12Get rid of SHL_SBCTor Lillqvist1-1/+1
GetAppData(SHL_SBC) was used only locally in the sb library so no need for it. Just use a static pointer field. Change-Id: I37c8429b6c9e521a00c52bb622f78bdc4afe345c
2013-04-12Get rid of GetAppData(SHL_IDE)Tor Lillqvist1-1/+1
It seems to be used only locally in basctl so there is really no reason for it. Change-Id: I9ad0a67621e190257e028fd3689f692e639eaf56
2013-04-12Kill empty ImpDeInitWinTools() and the header with only its definitionTor Lillqvist3-41/+0
Change-Id: Ica82a4612da952c0c084974b708ef9dac753dcf6
2013-04-12The silly toolsdll.cxx was the same for unx and winTor Lillqvist3-49/+1
Change-Id: Ia83a37980446ee9a52e096e64a9ab77f106c8b37
2013-04-10Bin a local X11 wrapper header, vcl/inc/unx/salstd.hxxTor Lillqvist2-14/+14
We already have <tools/prex.h> and <tools/postx.h>, so make those be sufficient instead. Bin another local vcl header vcl/inc/unx/svunx.h that just included those prex.h and postx.h. Adapt includers accordingly. Change-Id: I6638b3260fd3da45478fcc216b41f8c8a539f0d7
2013-04-10Introduce characters utilities in rtl/character.hxxArnaud Versini2-65/+67
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with slight modifications to sal/inc/rtl/character.hxx: * Replaced "#pragma once" with explicit include guard for now. * Missing includes. * Cosmetic clean-up. Change-Id: I94d01cd4e766f92c70f941839a67101fa2c97654
2013-04-08update documentationThomas Arnhold1-0/+2
Change-Id: Idc3416bb304d728c646d699aa1c4348a3ef80b58
2013-04-08make internal method static.Michael Meeks1-1/+1
Change-Id: Id2b5bd1772009785b4aa44bf4de91e5c1b372c9e
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák2-5/+0
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák41-706/+701
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07Typo in comment in resmgr.hxxChris Sherlock1-1/+1
Change-Id: I6378c79f77ab897bf5a4e39c00944037beeef328 Reviewed-on: https://gerrit.libreoffice.org/3220 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-04-05new module i18nlangtagEike Rathke5-6/+6
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-04fdo#61514 clean obsolete tools/ filesystem abstractionAndras Timar13-3924/+0
Change-Id: I7d1d5eca43d0b0f9a013e31383abc574a7b15f93
2013-04-04remove useless commentsAndras Timar2-6/+0
Change-Id: I90757f0d6ccdded30a49a3c54cd6bbc2f65dc755
2013-04-04fdo#44994 write out tools' FileCopier classAndras Timar7-582/+1
Change-Id: Ie3d04f0b2ed35099d5682d165e17c10a6d736f99
2013-04-04delete unused header fileAndras Timar1-42/+0
Change-Id: I96a620475f9618b55fc0b3a294037ca5968b683c
2013-04-04remove unused header: tools/fsys.hxxAndras Timar1-1/+0
Change-Id: Ifa740f558e5c5e9d51516b54a2b32790dbb23dd4
2013-03-29ResMgr with LanguageTagEike Rathke3-113/+60
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-28fix typos in READMEPeter Foley1-3/+3
Change-Id: Ibc7134837e61c8af090751429d6e9d9fa3639c8c
2013-03-28add missing dep on sal/typesizes.hDavid Tardon1-0/+1
Change-Id: I1b840d53259c92bf5336e7815c726154c2323f2a