path: root/basegfx
AgeCommit message (Collapse)AuthorFilesLines
2012-01-28unusedcode.easy: Removed unused code (basegfx::B2DHomPoint)Alexander Bergmann2-499/+0
2012-01-28Actually apply substance of previous unused code removalAlexander Bergmann4-187/+0
2012-01-27unusedcode.easy: Removed unused code (basegfx::B3DPolygon, ↵Alexander Bergmann4-81/+4
2012-01-25optimized zoom to use more common intervalsTim Hardeck5-0/+205
Round zoom values beginning with 50 to a multiple of 5, with 100 to one of 10, with 500 to one of 50 and with 1000 to one of 100. The step 100 is enforced to have one fixed point.
2012-01-25Removing unused code (basegfx).Alexander Bergmann6-311/+0
2012-01-21Improve checking for emptinessThomas Arnhold5-10/+10
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann1-1/+2
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-20Code clean up.Stephan Bergmann1-3/+2
2012-01-19remove unused methodsThomas Arnhold4-141/+0
2012-01-18decompose() should return the original rotation angle and scales.Thorsten Behrens2-0/+25
decompose() would return incorrect rotation angle and scales when the angle was exactly 180 degrees, due to FPU rounding error. This commit fixes it. This problem would manifest itself when inserting an image into Calc/Draw, cropping it, and flipping it vertically or rotating it at exactly 180 degrees. Before the fix the image would simply disappear.
2012-01-18Add more unit test coverage for generic clipperThorsten Behrens1-9/+46
With the changes Julien brought in via 66fd9a610cd876c236486a2089d8d58dca866e25, thought it was a good idea to cover those code paths as well - done now, via the checkCrossoverSolver() tests.
2012-01-18Fix error in handling 'z' for svg:d string parsingThorsten Behrens5-26/+71
Previously 'z' did not update the current point to the start point of the subpath, as required by Fixed now, and adapted all the unit tests.
2012-01-18Remove old-fashioned VERBOSE, use OSL_DEBUG_LEVEL instead.Thorsten Behrens3-7/+7
2012-01-17callcatcher: remove recently unused codeCaolán McNamara3-39/+0
2012-01-10callcatcher: update listCaolán McNamara4-89/+0
2012-01-08callcatcher: Remove unused codeAugust Sodora8-475/+0
2012-01-06Fix "Same expression on both sides of '&&'" (reported by cppcheck)Julien Nabet1-2/+2
2012-01-06unusedcode: remove PlotterMatúš Kukan4-343/+0
2011-12-22unusedcode: remove various unused classesMatúš Kukan8-1038/+0
2011-12-19Remove DebugPlotterAugust Sodora6-851/+0
2011-12-13Fix abort from stl debug iterators' invalid access.Thorsten Behrens2-4/+8
Triggered by fdo#43725, incrementing an invalid iterator bombs - though this seems a corner case, depends on whether one considers "+= 0" as incrementing or not.
2011-12-13More efficient insertion of B3DPolygonsThorsten Behrens5-45/+74
* some cleanup - removed ugly-as-hell exposure of only parts of the internal data struct on B2DPolygon (and reworked the only client of that code) * added stl-style begin/end to B3DPolyPolygon as well, mirroring B2DPolyPolygon, plus adapting the insert() func to make use of that (avoiding loads of temporaries)
2011-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen1-0/+1
2011-12-01typo fix: explicitely -> explicitlyLior Kaplan2-2/+2
2011-12-01Remove uses of charAtAugust Sodora1-2/+2
2011-11-29move reconfigure into gbuildBjoern Michaelsen1-1/+1
2011-11-27remove pch from the include listNorbert Thiebaud4-4/+0
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen1-2/+2
2011-11-16tweak gbuild standart Makefile to allow partial build in unsourced envNorbert Thiebaud1-4/+4
This allow to run make in a module wihtout the need to source
2011-11-07Remove two more unused headers from basegfxJoseph Powers2-1082/+0
2011-11-07Fix linking on WindowsFridrich Štrba3-7/+7
Don't declare dllexport classes that are purely inlined. This will cause for the binary that links then to look for dll symbols, which are naturlly not present.
2011-11-05Why build empty objects.Joseph Powers5-126/+0
The source files don't generate any code and just declare an inline class; thus, the compiled object is empty and we don't need to link it in.
2011-11-05precompiled_basegfx.hxx is empty, so don't include it.Joseph Powers75-240/+4
2011-11-05Cleanup basegfx headers a littleJoseph Powers6-447/+1
I deleted some unused headers. I also stopped exporting them for the same reason.
2011-11-03Fix one more subtlety around B2IBox / B2IRange changes.Thorsten Behrens2-5/+135
The Cohen/Sutherland clip flag routine was not aware of B2IBox, thusly yielding incorrect line clipping for BitmapDevice software rendering. Cleaned that up, added some more unit tests around the problem, and removed the now-extraneous maLineClip member from the bitmap device.
2011-11-02Move BitmapDevice to use B2IBox instead of B2IRange.Thorsten Behrens2-0/+23
Semantically, B2IBox represents a pixel rect much better than B2IRange - replaced all occurences in and around the software renderer, and client code.
2011-11-02Cleanup basegfx - docs, visibility, pointless methods.Thorsten Behrens13-229/+287
Added docs to the range/* classes, removed methods the compiler can generate for us, removed unused header, and cleaned up visibility markup (inlines don't really need to be exported).
2011-11-02Fix BXYBox behaviour and unit testThorsten Behrens4-26/+113
Made the distinction more clear, added appropriate tests to nail behaviour.
2011-10-20Use -Wno-array-bounds only on gcc versions (4.3..4.4.3)Tor Lillqvist2-4/+6
2011-10-20WaE: Work around bogus array subscript is above array boundsTor Lillqvist2-0/+20
Bites at least with the Android cross-gcc 4.4.3.
2011-10-05simplfy dmake to gbuild bridgefileBjoern Michaelsen1-40/+1
2011-09-30add mode-lines to .m files and last round of merged files, etc.Caolán McNamara2-0/+6
2011-09-22just silence the auto_ptr deprecations in isolationCaolán McNamara2-40/+40
2011-09-21OSL_TRACE: Remove trailing newlinesThomas Arnhold1-2/+2
Done with perl regex: s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs; - removed trailing whitespaces and (multiple) newlines
2011-09-12sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed ↵Stephan Bergmann8-1/+16
out a6913c9677c2 For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-06callcatcher: various unused methodsCaolán McNamara1-58/+0
2011-08-31Translated German comments, removed redundant ones till cairo (incl.)Allmann-Rahn1-16/+5
2011-08-19detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly setNorbert Thiebaud1-1/+1
2011-08-19deliver also unotools.hxxMatúš Kukan1-0/+1
2011-08-19gbuildized modules have empty d.lstsBjoern Michaelsen1-1/+0