summaryrefslogtreecommitdiff
path: root/basebmp
AgeCommit message (Collapse)AuthorFilesLines
2012-04-17png parsing regression testCaolán McNamara1-2/+10
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl1-1/+1
2012-04-08gbuild: "use" vs. "add":Michael Stahl2-3/+3
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann1-0/+3
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan2-2/+2
2012-02-16Use the same simple lo_main() on iOS as on AndroidTor Lillqvist2-76/+0
Let's do the iOS specific stuff in separate main() source file(s). Don't attempt to build complete iOS programs using normal LibreOffice mechanisms, it will work for only the very lowest level unit tests anyway, because of static linking and the circularish UNO/URE/bootstrap/whatnot (run-time) dependencies between different parts of the code. We thus can't build the various iOS-specific *_cppunittester_all unit test executables any more. Corresponding unit tests (and more complex ones) for iOS will have to be done in a different way.
2012-02-13WaE: type name first seen using 'class' now seen using 'struct'Tor Lillqvist1-1/+1
2012-02-08Added (and improved) READMEs for modules which used to be in libs-guiJosh Heidenreich1-0/+7
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud1-35/+2
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann1-2/+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.
2011-12-22unusedcode: remove various unused classesMatúš Kukan1-1/+0
2011-12-14regpathhelper: unused, so we've got to have two of themCaolán McNamara1-1/+0
2011-12-13Make LineTest::testCornerCases succeed again after last basebmp fix.Stephan Bergmann1-1/+1
Though it looks wrong that rtl_allocateMemory(0) == 0.
2011-12-13handle failed bitmap storage allocation gracefullyMichael Meeks1-0/+2
2011-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen1-0/+1
2011-11-29move reconfigure into gbuildBjoern Michaelsen1-1/+1
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 Env.Host.sh.
2011-11-15Fix clipped line renderer.Thorsten Behrens4-30/+173
Fix for a nasty corner case where supposedly clipped pixel were still rasterized (see polytest.cxx:implTestPolyDrawClip for what failed previously). Added much more unit tests while at it, clippedlinerenderer.hxx should now have 100% coverage.
2011-11-04This looks wrong for sure, too.Thorsten Behrens1-4/+4
2011-11-04Put BitmapDevice::getPixelData() back.Thorsten Behrens3-0/+31
Slight tweak of d0d62edf3f398e9ddb2fd0f1f5fbe1dd0393ff47 - getPixel() and getPixelData() are complementary functions, similar in spirit to const and non-const getters. Added unit test for it to avoid flagging it for removal again.
2011-11-03Cleanup basebmp a littleJoseph Powers6-544/+3
I removed 2 unused headers. I also stopped delivering a lot of headers that no one outside of basebmp cared about. I also removed the unused methods: basebmp::BitmapDevice::getPaletteEntryCount() const basebmp::BitmapDevice::getPixelData(basegfx::B2IPoint const&)
2011-11-03Fix one more subtlety around B2IBox / B2IRange changes.Thorsten Behrens5-35/+42
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 Behrens11-189/+184
Semantically, B2IBox represents a pixel rect much better than B2IRange - replaced all occurences in and around the software renderer, and client code.
2011-11-02Keep basebmp free of naked ptrs.Thorsten Behrens2-84/+106
Moved the implementation detail that SalFrames lifetime is handled manually in vcl out of basebmp & into vcl. Added lightweight wrapper class to decouple damagetracker lifetime from GtkFrame lifetime.
2011-11-02Revert "basebmp: B2IRange::isEmpty is surprisingly, unhelpfully lame - ↵Thorsten Behrens1-16/+0
workaround" This reverts commit 69e4dd120631b05e7abb2c65f36b71e9424a8a72.
2011-10-25basebmp: B2IRange::isEmpty is surprisingly, unhelpfully lame - workaroundMichael Meeks1-0/+16
2011-10-05simplfy dmake to gbuild bridgefileBjoern Michaelsen1-40/+1
2011-09-21OSL_TRACE: Remove trailing newlinesThomas Arnhold1-1/+1
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 Bergmann9-1/+25
out a6913c9677c2 For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12sb140: #i117694# some CppUnit related cleanupStephan Bergmann1-34/+0
2011-09-09its gb_Library_add_api not gb_Library_use_apiBjoern Michaelsen1-1/+1
2011-09-02Add basebmpdllapi.hTor Lillqvist1-0/+1
2011-09-02Add a foodllapi.h file here too and use itTor Lillqvist4-9/+50
Factor out the DLLPUBLIC dance from bitmapdevice.hxx to a separate headers as is the normal convention. Decorate the new debugDump() with BASEBMP_DLLPUBLIC in the header. Otherwise the definition (which uses SAL_DLLPUBLIC_EXPORT) doesn't match the declaration.
2011-09-01export debugDump used for debuggingMatúš Kukan1-1/+1
2011-08-24catch ignored exceptions by const referenceTakeshi Abe1-1/+1
2011-08-19detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly setNorbert Thiebaud1-1/+1
2011-08-10prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe5-5/+5
2011-08-05Emacs modeline compatible with vim's oneTakeshi Abe1-0/+1
2011-08-04help windows build alongCaolán McNamara1-2/+1
2011-08-03Add statically linked basebmp cppunittester for iOSTor Lillqvist4-0/+217
2011-07-30Add consistent Emacs and vim mode linesTor Lillqvist4-0/+4
2011-07-25cppunit is linked in automaticallyDavid Tardon1-1/+0
2011-07-23remove superfluous include pathsBjoern Michaelsen1-1/+5
2011-07-21resyncing to masterBjoern Michaelsen2-34/+117
2011-07-12initial cut at damage tracking supportMichael Meeks2-34/+117
2011-06-20gnumake4: fix buildbreakers from mergeBjoern Michaelsen2-4/+2
2011-06-19Merge branch 'master' into feature/gnumake4Bjoern Michaelsen49-243/+196
Conflicts: basebmp/prj/d.lst basebmp/test/basictest.cxx basebmp/test/makefile.mk basegfx/inc/basegfx/basegfxdllapi.h basegfx/inc/basegfx/tools/debugplotter.hxx basegfx/inc/basegfx/tuple/b2ituple.hxx basegfx/prj/d.lst basegfx/source/numeric/makefile.mk basegfx/source/polygon/makefile.mk basegfx/source/range/makefile.mk basegfx/source/raster/makefile.mk basegfx/source/tuple/makefile.mk basegfx/source/vector/makefile.mk basegfx/test/basegfx1d.cxx basegfx/test/makefile.mk basegfx/util/makefile.mk canvas/Library_canvasfactory.mk canvas/Module_canvas.mk canvas/prj/build.lst canvas/prj/d.lst canvas/source/cairo/cairo_canvashelper_texturefill.cxx canvas/source/cairo/makefile.mk canvas/source/tools/makefile.mk comphelper/qa/string/makefile.mk cppcanvas/Module_cppcanvas.mk cppcanvas/inc/cppcanvas/cppcanvasdllapi.h cppcanvas/prj/build.lst cppcanvas/prj/d.lst cppcanvas/source/mtfrenderer/makefile.mk cppcanvas/util/makefile.mk i18npool/source/search/makefile.mk regexp/Library_regexp.mk regexp/prj/d.lst sax/CppunitTest_sax.mk sax/Library_sax.mk sax/prj/d.lst sax/qa/cppunit/test_converter.cxx sax/source/expatwrap/attrlistimpl.hxx sax/util/makefile.mk svtools/Library_svt.mk tools/Executable_sspretty.mk ucbhelper/prj/d.lst ucbhelper/source/provider/configureucb.cxx ucbhelper/source/provider/provconf.cxx ucbhelper/util/makefile.mk unotools/Library_utl.mk unotools/Module_unotools.mk unotools/Package_inc.mk unotools/prj/build.lst vcl/Library_desktop_detector.mk vcl/Library_vcl.mk vcl/Library_vclplug_gtk.mk vcl/aqua/source/gdi/salprn.cxx vcl/inc/aqua/saldata.hxx vcl/unx/generic/gdi/salgdi3.cxx
2011-06-17gnumake4: #i116959#: kill ↵Michael Stahl2-6/+1
gb_LinkTarget_set_{defs,cflags,cxxflags,objcxxflags} [hg:389f5e8ec8cd]
2011-06-17gnumake4: basebmp: add necessary workarounds for SunCC [hg:3754657d8ff7]Michael Stahl3-15/+9