summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2014-09-30fdo#82577: Handle PolyPolygonNoel Grandin
Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows PolyPolygon typedef. Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
2014-09-26WaE: implicit conversion of NULL constant to 'nullptr_t'Tor Lillqvist
Change-Id: I47ebbac21f48854eb737dd7e8119bd863a5d7ed9
2014-09-26tools: change INetURLObject::getData to return std::unique_ptrMichael Stahl
Life-cycle becomes a lot more obvious this way. Change-Id: I1ca99607f609a2223011c40447ad1cd9ca5ccaa5
2014-09-26remove unnecessary casts in calls to SvStream.WriteUInt16Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I482ca7abb84613971e7e8f839f7aa67a65cd71ff
2014-09-26remove unnecessary casts in calls to SvStream.WriteUCharNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I2ea4c7d97e745b3e6a3834f41ac7bfefa4883c7a
2014-09-26remove pointless commentsNoel Grandin
Change-Id: I8edfe830b8f6ca7f1809332870e06d1d286b90e8
2014-09-26remove unnecessary casts'sNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
2014-09-26remove unnecessary static_cast'sNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods e Please enter the commit message for your changes. Lines starting Change-Id: Ibfe7635451ef7b8813d7a59c78c5223092a17ad5
2014-09-26SvStream - rename WriteNumber methodsNoel Grandin
to Write?Int32AsString. Since the original name was so generic as to be meaningless. Change-Id: Iaaaf592904af51f2b9988fa8efb344c1b2bf9b0f
2014-09-26cleanup GUID/ClsId/CLSID typesNoel Grandin
- rename GUID to SvGUID so we don't need an #ifdef WIN32 - drop ClsId struct, since it is used interchangeably with GUID and has the same structure Change-Id: Idf5c14c82a6861ef585fb57896a9b12cfe40374c
2014-09-25fdo#84000: Sort out problems with short timeouts & long callbacks.Jan Holesovsky
Previously, the timer events could have accumulated in that scenario leading to unresponsiveness to user events. Change-Id: I455d726ae7475f7dbf98d871c54d8c156cb64e52
2014-09-24Remove o3tl/heap_ptr.hxx, use std::unique_ptr insteadStephan Bergmann
Change-Id: Iac70c9be13892a36bfb5975f62e5345b88d4f144
2014-09-23fdo#84000: Reimplement the Windows WinSalTimer using Timer Queues.Jan Holesovsky
Timer Queues http://msdn.microsoft.com/en-us/library/windows/desktop/ms686796%28v=vs.85%29.aspx allow creating & maintaing high-precision timers. This commit switches the WinSalTimer implementation from using the Timers: http://msdn.microsoft.com/en-us/library/windows/desktop/ms644900%28v=vs.85%29.aspx to Timer Queue Timers. The 'classic' Timers do not have better precision than some 15.6ms (the documentation mentions 10ms, but some measuring seems to confirm that it is more than that). With the Timer Queue Timers, we now have 1ms precision. Incorporates some cleanup from Michael Meeks <michael.meeks@collabora.com>. Change-Id: I0312a0c9fdc2779258698b24389b24c39e643473
2014-09-23loplugin: cstylecast, update PTR_CAST macro to use static_castNoel Grandin
I introduce a template method into the PTR_CAST machinery to maintain constness. There is now a FIXME in sd/../docshell.cxx because I needed to use a dynamic_cast there to work around the games it appears to be playing with OLE in-place activation. Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, dropping the GCC-extension, unnecessary use of typeof from tools/rtti.hxx Change-Id: Iba5ace1aa27e02b34fcc91af1e658c43371afd03
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-10clip PolyPolygon::Insert on .svm loadCaolán McNamara
valgrind + bff Change-Id: Ib3ed8a6e518c0686f8cbeaf021b9ca3a07005032
2014-09-09Make the "Mac-like" or "canonical" app bundle structure always used on OS XTor Lillqvist
In other words, only executable files go in the MacOS folder. Dynamic libraries and bundled frameworks (i.e., LibreOfficePython), and nothing else, go in the Frameworks folder, and all other files go in the Resources folder. Especially, note that Java class files and rc (.ini) files also go in Resources. Such an app bundle structure is what Apple strongly suggests one should use, and it has been hinted that future versions of code signing and/or Gatekeeper will require such a structure. There is still some ugliness thanks to traces of the historical separation of URE from "the office". Like there are two separate "unorc" files, one for URE, one for the LibreOffice application. IMHO, this should be cleaned up, but is probably controversial. (Eek! I now see there are actually *three* unorc files in the app bundle. Not intentional. Need to fix that later.) Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606
2014-09-06FloatingWindows are no longer loaded from resource filesCaolán McNamara
Change-Id: I2705bbb4db52779e0065400f09604384fd9cf151
2014-08-26ModalDialogs no longer loaded from resource filesCaolán McNamara
Change-Id: I2d208c7cc5ff9bf26bff5ab2aa40e0bf57373342
2014-08-24tools: make some variable names more clearChris Sherlock
Change-Id: I5eb2428f4c71e5aa9bfc0bf71c06d87be039ad3b
2014-08-22Do not cripple intermediate values to sal_uInt16Stephan Bergmann
Change-Id: I5d39bebbd55cc3170ff52459731fad333a2e92f9
2014-08-20TabPages are no longer loaded from resource filesCaolán McNamara
Change-Id: I009e0f388cfe1861cef89d2148a02380dd47c1ff
2014-08-20Remove more useless includes of tools/debug.hxxMarcos Paulo de Souza
Change-Id: If289dcbff125ac0088f01b5c9752f9f3173585dc Reviewed-on: https://gerrit.libreoffice.org/11020 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-16RSC_TRISTATEBOX is no longer usedCaolán McNamara
Change-Id: Ib3f43db131cf5562ad011538873c2ee51839665c
2014-08-16RSC_MULTILINEEDIT no longer usedCaolán McNamara
Change-Id: If56233b5226cec9516d5e2f8992e1b0beae733bf
2014-08-16RSC_MENUBUTTON is not in use anymoreCaolán McNamara
Change-Id: I853b6b1cfcd4847603d9920a47298d1b9105b46f
2014-08-15fdo#82644 write sal_Unicode chars as UnicodeDavid Tardon
Regression from commit de84529b55f5b295b089043a7119d6b0d8b92408. Change-Id: I8f0b148ec7df4f676341f588c04780a705c80a5c
2014-08-15drop TabControl resource loaderCaolán McNamara
Change-Id: Idb909c205dfadaadeb8b98ce08fe2f4286cfce26
2014-08-13update_pchThomas Arnhold
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-08-11various ids not loaded from .res anymoreCaolán McNamara
Change-Id: Id2fab3e4b7a8feed3107e66d02cdf2a278ae9ef7
2014-07-29simplify "no delete" logic in SvRefBaseNoel Grandin
by converting the bit munging to use bitfields. Remove unused return values. Add asserts to check that AddRef() is not called after the object is deleted. Fix the code in SfxObjectShell to not call AddRef() after SfxObjectShell is deleted. Change-Id: I3a3565a0bc45fc9d1d086222265ab8b8175818a7
2014-07-29Include <algorithm> for std::minTor Lillqvist
Change-Id: Id1321766532eab6ee49e418b0597e62d14b5b33c
2014-07-14loplugin:unreffunNoel Grandin
Change-Id: Idc0f3ef53f48b2e77e4cecbcdbbc44a115c6ec2e
2014-07-08fdo#66507 - accelerate common datum date conversion to days.Michael Meeks
Saves ~40bn cycles, 10% of calculation for the bug document. Change-Id: I9d48706ad2cfe290965b648306d95b4d66e5fc63
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-01clang scan-build: various warningsCaolán McNamara
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-06-26Mac OS X does provide localtime_rStephan Bergmann
Change-Id: I0a8860f2b0ea053cdfe9504dc266be36cdb0043e
2014-06-26check for self-assignCaolán McNamara
Change-Id: I6ffaaa36f2e594a2e8155589a4d7000db21ab30b
2014-06-26clang: Assigned value is garbage or undefinedCaolán McNamara
Change-Id: Ida7a6ab077e1f0436f8b775956d30c82c4ad5338
2014-06-23Remove unused INetURLObject::PART_* valuesStephan Bergmann
Change-Id: Icebdf0cad5306ae42a30de0b4f997e3b611675eb
2014-06-15callcatcher: update unused codeCaolán McNamara
and strip away some stuff in rsc that should now be dead Change-Id: I6411e706c50dff299099680f1f942bf61c4e79f2
2014-06-11cut out the rsc loading support for stuff thats now .ui onlyCaolán McNamara
Change-Id: I54880de44ee10d4f71c8a514f905e8e00774fde7
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-06Various INetURLObject::getData() fixesStephan Bergmann
Change-Id: I5eafd6250bbde7227dcc0447a4280b7741c320de
2014-06-06new method INetURLObject::getData() for data urlsChr. Rossmanith
Signed-off-by: Stephan Bergmann <sbergman@redhat.com> Conflicts: tools/source/fsys/urlobj.cxx Change-Id: I59b5b95cf9b65920ec04922fdb25e4228fd22995
2014-05-27use namespace css instead of com::sunThomas Arnhold
Change-Id: I47582b072bb939cf270a76e430a9f7908b5c1d93
2014-05-22cppcheck: add missing braketThomas Arnhold
Change-Id: I1e542455ad3e4ab1a445366517c92b102471840a
2014-05-22update_pch: add toolsThomas Arnhold
Change-Id: Icb95d60a7f786ee75ea1904cfb7292e51eb607cc
2014-05-22tools: just generate the complete reversemap.cxxThomas Arnhold
This makes tools pch ready. Change-Id: I8d5d5fcbb417f3790749aeb9d9c947f739ecb30f
2014-05-22fix-includes.pl: toolsThomas Arnhold
Change-Id: I66b3dc79998de018eae1c7eff8ce23f95e3c3f33