summaryrefslogtreecommitdiff
path: root/basebmp
AgeCommit message (Collapse)AuthorFilesLines
2013-01-27need more boost_headersMichael Stahl1-1/+4
Change-Id: Ic58e334acb9d9c89e5466638286c0f42dc36df43
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl2-1/+6
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2012-11-16Revert "WaE: unused parameter 'argc' and 'argv'"Tor Lillqvist1-3/+0
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 Lillqvist1-0/+3
Change-Id: I2276dffa8c241cb22ac11134387904a1eccb48af
2012-10-31::rtl::OUString -> OUString in basebmpRicardo Montania7-25/+24
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 Versini1-2/+3
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 Stahl2-4/+0
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 Stahl3-3/+4
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl3-0/+3
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann1-11/+5
* 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úš Kukan1-0/+2
Change-Id: I7f5e15f4d5e285a85e01fdeaede747e88d08510d
2012-08-25vigra: convert to gbuildMatúš Kukan2-1/+3
Change-Id: Ie5f050bf5f672a35d9629dcfb039d9fff7470cab
2012-08-23Build basebmp as a static library for AndroidTor Lillqvist3-0/+55
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 Lillqvist2-130/+0
Change-Id: I459f7fd097a81ef5977974f52b0cc2c2f155a810
2012-07-18re-base on ALv2 code. Includes:Michael Meeks23-610/+418
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 Meeks1-4/+1
2012-06-27targetted re-work of cppunit pieces.Michael Meeks9-39/+0
2012-06-19re-base on ALv2 code.Michael Meeks27-645/+402
2012-06-16basebmp gbuildificationNorbert Thiebaud4-0/+116
Change-Id: I9b24ff3503b1dc1198aab622e36224e75cb31255
2012-06-15revert gmk4 commitNorbert Thiebaud4-200/+0
Change-Id: I386d735645de648b08fa10baec4884d253f5a681
2012-06-11Avoid misleading term "factory method", just say "function"Tor Lillqvist1-6/+6
Change-Id: I35de0d7eedae5454001fad7e43c6697d9042a829
2012-06-11Avoid too long linesTor Lillqvist1-4/+6
Change-Id: I69d7eac07e384d574ecddbfe63cda0815d27b13b
2012-06-07Add two new 32bpp formats and add helpful commentsTor Lillqvist3-21/+86
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 Thiebaud3-28/+18
Change-Id: I2e05baeb2c7f42e6f37613fe648fc19a8d0ac730
2012-05-11put debugDump behind #if OSL_DEBUG_LEVEL > 2Matúš Kukan2-1/+4
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 Michaelsen1-1/+0
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 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.