summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist2-1/+9
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-16Related: fdo#38838 ToInt64 and a EqualsIgnoreCaseAscii variant are now unusedCaolán McNamara3-42/+0
Change-Id: I2a2cc56cf005f564c798b8d43ef7e8c4b7f9eeff
2013-08-10Related: fdo#38838 remove String::Equals(const sal_Unicode* ...)Caolán McNamara2-27/+0
Change-Id: I6eeede3261e7b6f5ad81a4d2fa9ecc6c07002dbb
2013-08-04fdo#67235 adapt form control code to time nanosecond API change, step 3Lionel Elie Mamane1-0/+8
Change-Id: I4899c89ee5b2a54c9c05b531ab284365f1558e3d Reviewed-on: https://gerrit.libreoffice.org/5270 Tested-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-07-26fdo#33605: Handle http etc. URLs with no path but fragmentStephan Bergmann2-2/+24
Change-Id: I8c47cc55e7ad53e514c0bd46130cbbe6a1bb0357
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks4-12/+0
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-17Mark as constTakeshi Abe1-1/+1
Change-Id: I59ac01eacf31061093b83ab3057963de7ea4a2e7
2013-07-16fdo#63133: Write tools/tempfile.hxx outPalenik Mihály2-182/+0
I deleted TempFile class and changed it to utl::TempFile class -which in unotools/tempfile.hxx- in the followings: Storage, StgTmpStrm, SwXMailMerge classes; and RenderAsEMF function. I modified header in precompiled_sw.hxx. Change-Id: I3dae5333dc42538e1b905f6a6bbc85534c591dc1 Reviewed-on: https://gerrit.libreoffice.org/4938 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-16Delete SvCacheStream classPalenik Mihály4-129/+17
I changed SvCacheStream class to SvMemoryStream class in the following: MSE40HTMLClipFormatObj, SfxLockBytesItem, SwEditShell, INetMIMEMessageStream classes, MakeLockBytes_Impl function and SwUnoCursorHelper namespace. I modified header the precompiled_sw.hxx, wrtsh1.cxx, unoobj2.cxx. I added two functions in SvMemoryStream class: GetBuffer and GetSize, and I renamed the old GetSize function to GetBufSize. I deleted SvCacheStream class. Change-Id: I929236538dfbe23cccfd1eb85f10c1d5411baa8d Reviewed-on: https://gerrit.libreoffice.org/4847 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-14remove String::ReplaceAsciiCaolán McNamara1-57/+0
last remaining users used it as a complicated way to do a simple thing Change-Id: I810b1542b03bd6faa54f6f076b58cb7d3e680ab0
2013-07-14String::SearchAndReplaceAllAscii -> OUString::replaceAllCaolán McNamara1-16/+0
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-07-02SvStream: remove the error prone operator<</>>(sal_Int64)Michael Stahl1-2/+2
As the recent regression after merging AOO patch adding code serializing "long" variables has shown, this overload (which was added in 7b2a0e541567be9750dfc7d98374555967da3470) is a bad idea. In a unxlngx build, nm finds uses of the symbols _ZN8SvStreamrsERl and _ZN8SvStreamlsEl in these files: - sbxvalue.cxx: this appears to be a legitimate use with sal_Int64 - dateitem.cxx: this was accidentally changed by commit 9830fd36dbdb72c79703b0c61efc027fba793c5a - atrfrm.cxx: this was added for Table Autoformat enhancement in 7e8c0bd73ee59ff3041e55268c77203373962e51, which is after the sal_Int64 operators were added, so the file format is now platform dependent Change-Id: I78352b5429b53612c4831cdb81b587b5de5180a9
2013-06-30Revert "resmgr: bInUse is useless"Thomas Arnhold1-9/+17
This was pretty lame. It's static. To be sure revert it. This reverts commit 504499ad9f17be5350b878fa99e814612eaffb5f.
2013-06-30resmgr: bInUse is uselessThomas Arnhold1-17/+9
Change-Id: I619d5d1ff9f6242be652674e4df54ad5c5ddc017
2013-06-30WaE clang unhappy with an ambiguous if/elseNorbert Thiebaud1-2/+3
Change-Id: I1e419793454ad5401a2d55a2c709bab08f4cf053
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud32-871/+867
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-20make this more resilient to stream problemsDavid Tardon1-0/+2
The metafile stream read in ooxmlexport test for fdo51550.odt is broken for some reason, so mnTotalSize is not initialized. That means that we try to seek by an arbitrary value in the destructor. Change-Id: I3bd5ef3708c816fc8a749b446cecf98c3aa52f65
2013-06-18fdo#43460 tools: use isEmpty()Jelle van der Waa3-21/+21
Change-Id: I832473cab555d8ac5c6b2a47d51124ac63e996e9 Reviewed-on: https://gerrit.libreoffice.org/4333 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-10mingw64: use the right integer sizes on win64Fridrich Štrba1-1/+1
Change-Id: Idb263ad369d2dad4fe4de924f2b2404a0fcf62d3
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
2013-06-04Some "cast from ... to ... loses precision fixes"Fridrich Štrba1-2/+2
Change-Id: Ib1d827bfa224e8708fd1e41b1ad213bcfef9a012
2013-05-23Resolves: #i115630# secured OutputDevice::ImplDrawHatch in vclArmin Le Grand1-21/+44
and PolyPolygon::Optimize in tools to useful fallbacks when working on PolyPolygons (what they do *not* support) (cherry picked from commit dbe489ab9766d96c5cafb079bc4778103bded783) Conflicts: vcl/source/gdi/outdev4.cxx Change-Id: I5d2374ec95702cb0cab29d2e82710d4aa29fa823
2013-05-21fix for linkingNoel Grandin1-1/+1
caused by my commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Idfd84d987ba9151ba476ce0516a9e5fbdb2003ec
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