summaryrefslogtreecommitdiffstats
path: root/basebmp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "WaE: unused parameter 'argc' and 'argv'"Tor Lillqvist2012-11-161-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.
* WaE: unused parameter 'argc' and 'argv'Tor Lillqvist2012-11-161-0/+3
| | | | Change-Id: I2276dffa8c241cb22ac11134387904a1eccb48af
* ::rtl::OUString -> OUString in basebmpRicardo Montania2012-10-317-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>
* Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini2012-10-011-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>
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-282-4/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-283-3/+4
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-283-0/+3
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* Improvement on previous commit, UCB clean upStephan Bergmann2012-09-141-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
* ah, android is specialMatúš Kukan2012-08-251-0/+2
| | | | Change-Id: I7f5e15f4d5e285a85e01fdeaede747e88d08510d
* vigra: convert to gbuildMatúš Kukan2012-08-252-1/+3
| | | | Change-Id: Ie5f050bf5f672a35d9629dcfb039d9fff7470cab
* Build basebmp as a static library for AndroidTor Lillqvist2012-08-233-0/+55
| | | | | | Reduces shared library count by one... This is tedious. Change-Id: I3bdc0a5c4ee4cabf9bbcedc469ca6e94d0103d6b
* Bin no longer used iOS cppunit stuff that even breaks the buildTor Lillqvist2012-08-022-130/+0
| | | | Change-Id: I459f7fd097a81ef5977974f52b0cc2c2f155a810
* re-base on ALv2 code. Includes:Michael Meeks2012-07-1823-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.
* targetted improvement of UNO API includes / usageMichael Meeks2012-07-021-4/+1
|
* targetted re-work of cppunit pieces.Michael Meeks2012-06-279-39/+0
|
* re-base on ALv2 code.Michael Meeks2012-06-1927-645/+402
|
* basebmp gbuildificationNorbert Thiebaud2012-06-164-0/+116
| | | | Change-Id: I9b24ff3503b1dc1198aab622e36224e75cb31255
* revert gmk4 commitNorbert Thiebaud2012-06-154-200/+0
| | | | Change-Id: I386d735645de648b08fa10baec4884d253f5a681
* Avoid misleading term "factory method", just say "function"Tor Lillqvist2012-06-111-6/+6
| | | | Change-Id: I35de0d7eedae5454001fad7e43c6697d9042a829
* Avoid too long linesTor Lillqvist2012-06-111-4/+6
| | | | Change-Id: I69d7eac07e384d574ecddbfe63cda0815d27b13b
* Add two new 32bpp formats and add helpful commentsTor Lillqvist2012-06-073-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
* targeted string re-workNorbert Thiebaud2012-06-023-28/+18
| | | | Change-Id: I2e05baeb2c7f42e6f37613fe648fc19a8d0ac730
* put debugDump behind #if OSL_DEBUG_LEVEL > 2Matúš Kukan2012-05-112-1/+4
| | | | | | basebmp/source/debug.cxx is only for vcl/headless/svpgdi.cxx Change-Id: I I Ib0624d919d7c0c5ce54dbef62fa0b49fd6eb0ab1
* make gbuild the default assumption of build.plBjoern Michaelsen2012-04-291-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
* png parsing regression testCaolán McNamara2012-04-171-2/+10
|
* LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl2012-04-081-1/+1
|
* gbuild: "use" vs. "add":Michael Stahl2012-04-082-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)
* Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann2012-03-141-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.
* gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan2012-03-102-2/+2
|
* Use the same simple lo_main() on iOS as on AndroidTor Lillqvist2012-02-162-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.
* WaE: type name first seen using 'class' now seen using 'struct'Tor Lillqvist2012-02-131-1/+1
|
* Added (and improved) READMEs for modules which used to be in libs-guiJosh Heidenreich2012-02-081-0/+7
|
* switch to include-based build rather than sourced-based buildNorbert Thiebaud2012-02-051-35/+2
|
* Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann2012-01-211-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.
* unusedcode: remove various unused classesMatúš Kukan2011-12-221-1/+0
|
* regpathhelper: unused, so we've got to have two of themCaolán McNamara2011-12-141-1/+0
|
* Make LineTest::testCornerCases succeed again after last basebmp fix.Stephan Bergmann2011-12-131-1/+1
| | | | Though it looks wrong that rtl_allocateMemory(0) == 0.
* handle failed bitmap storage allocation gracefullyMichael Meeks2011-12-131-0/+2
|
* in modules, when we have a env we are in stage gbuildBjoern Michaelsen2011-12-071-0/+1
|
* move reconfigure into gbuildBjoern Michaelsen2011-11-291-1/+1
|
* make gbuild makefiles run independant of pwd againBjoern Michaelsen2011-11-251-2/+2
|
* tweak gbuild standart Makefile to allow partial build in unsourced envNorbert Thiebaud2011-11-161-4/+4
| | | | | This allow to run make in a module wihtout the need to source Env.Host.sh.
* Fix clipped line renderer.Thorsten Behrens2011-11-154-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.
* This looks wrong for sure, too.Thorsten Behrens2011-11-041-4/+4
|
* Put BitmapDevice::getPixelData() back.Thorsten Behrens2011-11-043-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.
* Cleanup basebmp a littleJoseph Powers2011-11-036-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&)
* Fix one more subtlety around B2IBox / B2IRange changes.Thorsten Behrens2011-11-035-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.
* Move BitmapDevice to use B2IBox instead of B2IRange.Thorsten Behrens2011-11-0211-189/+184
| | | | | | Semantically, B2IBox represents a pixel rect much better than B2IRange - replaced all occurences in and around the software renderer, and client code.
* Keep basebmp free of naked ptrs.Thorsten Behrens2011-11-022-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.
* Revert "basebmp: B2IRange::isEmpty is surprisingly, unhelpfully lame - ↵Thorsten Behrens2011-11-021-16/+0
| | | | | | workaround" This reverts commit 69e4dd120631b05e7abb2c65f36b71e9424a8a72.