summaryrefslogtreecommitdiff
path: root/basebmp
AgeCommit message (Collapse)Author
2012-11-16Revert "WaE: unused parameter 'argc' and 'argv'"Tor Lillqvist
Nah, just don't bother using --enable-werror with an old system cppunit that has the unused argc and argv in CPPUNIT_PLUGIN_IMPLEMENT(). This reverts commit 7e6689e3ed8972871718f6f8d06968efde264612. This reverts commit 07b6dc8610785026860f6dfcf6aab1c4ad1f45f2.
2012-11-16WaE: unused parameter 'argc' and 'argv'Tor Lillqvist
Change-Id: I2276dffa8c241cb22ac11134387904a1eccb48af
2012-10-31::rtl::OUString -> OUString in basebmpRicardo Montania
Change-Id: Id9cde5559165c61da825938153e92df999233a59 Reviewed-on: https://gerrit.libreoffice.org/928 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-08-25ah, android is specialMatúš Kukan
Change-Id: I7f5e15f4d5e285a85e01fdeaede747e88d08510d
2012-08-25vigra: convert to gbuildMatúš Kukan
Change-Id: Ie5f050bf5f672a35d9629dcfb039d9fff7470cab
2012-08-23Build basebmp as a static library for AndroidTor Lillqvist
Reduces shared library count by one... This is tedious. Change-Id: I3bdc0a5c4ee4cabf9bbcedc469ca6e94d0103d6b
2012-08-02Bin no longer used iOS cppunit stuff that even breaks the buildTor Lillqvist
Change-Id: I459f7fd097a81ef5977974f52b0cc2c2f155a810
2012-07-18re-base on ALv2 code. Includes:Michael Meeks
reportbuilder, license file not needed. Patch contributed by Armin Le Grand http://svn.apache.org/viewvc?view=revision&revision=1305814 Adapting extras/ to our wordbook setup.
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks
2012-06-27targetted re-work of cppunit pieces.Michael Meeks
2012-06-19re-base on ALv2 code.Michael Meeks
2012-06-16basebmp gbuildificationNorbert Thiebaud
Change-Id: I9b24ff3503b1dc1198aab622e36224e75cb31255
2012-06-15revert gmk4 commitNorbert Thiebaud
Change-Id: I386d735645de648b08fa10baec4884d253f5a681
2012-06-11Avoid misleading term "factory method", just say "function"Tor Lillqvist
Change-Id: I35de0d7eedae5454001fad7e43c6697d9042a829
2012-06-11Avoid too long linesTor Lillqvist
Change-Id: I69d7eac07e384d574ecddbfe63cda0815d27b13b
2012-06-07Add two new 32bpp formats and add helpful commentsTor Lillqvist
For Android (and perhaps iOS) we need a 32bpp format with channels in RGBA order. Rename the (basebmp-internal) 32bpp PixelFormatTreats_* typedefs so that the channel order in their names matches the memory order of the channels. Change-Id: Ia8a74f6d44e0a2cffdf66a05ddf8fc7d6ae2a263
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I2e05baeb2c7f42e6f37613fe648fc19a8d0ac730
2012-05-11put debugDump behind #if OSL_DEBUG_LEVEL > 2Matúš Kukan
basebmp/source/debug.cxx is only for vcl/headless/svpgdi.cxx Change-Id: I I Ib0624d919d7c0c5ce54dbef62fa0b49fd6eb0ab1
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-17png parsing regression testCaolán McNamara
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
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 Bergmann
...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úš Kukan
2012-02-16Use the same simple lo_main() on iOS as on AndroidTor Lillqvist
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 Lillqvist
2012-02-08Added (and improved) READMEs for modules which used to be in libs-guiJosh Heidenreich
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
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úš Kukan
2011-12-14regpathhelper: unused, so we've got to have two of themCaolán McNamara
2011-12-13Make LineTest::testCornerCases succeed again after last basebmp fix.Stephan Bergmann
Though it looks wrong that rtl_allocateMemory(0) == 0.
2011-12-13handle failed bitmap storage allocation gracefullyMichael Meeks
2011-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen
2011-11-29move reconfigure into gbuildBjoern Michaelsen
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen
2011-11-16tweak gbuild standart Makefile to allow partial build in unsourced envNorbert Thiebaud
This allow to run make in a module wihtout the need to source Env.Host.sh.
2011-11-15Fix clipped line renderer.Thorsten Behrens
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 Behrens
2011-11-04Put BitmapDevice::getPixelData() back.Thorsten Behrens
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 Powers
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 Behrens
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 Behrens
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 Behrens
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 Behrens
workaround" This reverts commit 69e4dd120631b05e7abb2c65f36b71e9424a8a72.