summaryrefslogtreecommitdiff
path: root/basebmp
AgeCommit message (Collapse)AuthorFilesLines
2013-07-18fdo#62475 removed pointless commentsJelle van der Waa3-9/+0
Change-Id: I85bee68e89c41642b2da72e11b695588b3dfe346
2013-07-18WaE: assuming signed overflow does not occur when assuming...Caolán McNamara1-2/+9
that (X + c) < X is always false [-Wstrict-overflow] Change-Id: I63880bf27ab7e34eb9e0be682b39b80b71d65103
2013-07-12Turn basebmp::Format into a proper enumStephan Bergmann11-112/+115
Change-Id: I4067c5039c7b5c74a1c144721dd7260de54dd2bf
2013-07-12THIRTYTWO_BIT_TC_MASK is the same as THIRTYTWO_BIT_TC_MASK_BGRAStephan Bergmann9-11/+11
Change-Id: I917c4136614664a1816769300707f170312c885d
2013-06-04Add test for basebmp memory clobber.Thorsten Behrens2-1/+17
Cloned bitmap devices may share the same chunk of memory, thus risking overwriting our own data when we copy stuff around. Now caught from unit tests. Change-Id: I33b1a0b5d17550cbc6eced8bae01ae5ab9ebce9d
2013-06-04Detect copyArea trying to operate on overlapping memory.Tsahi Glik1-4/+9
Equality test also needs to check if disjunct BitmapDevice instances might not actually share the same memory buffer. Change-Id: I09a93cb092a0039353be211ed053e991e7fe66f0
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist2-10/+0
Change-Id: If783897a60a545baf3968c5eeccf80a1e186bc51
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist1-5/+0
Change-Id: Ia160f0ee3e9480c60056d38bf11a6b139b53424f
2013-04-24gbuild: drop uses of removed packagesDavid Tardon2-4/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen35-6429/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-15No need for Android, iOS or CROSS_COMPILING conditionals for unit testsTor Lillqvist1-6/+0
We don't run unit tests when cross-compiling anyway and since d4ea8c6b7ee32dfbe1525cae45ad44d411052c33 the corresponding .mk files aren't even read by Make. Change-Id: Icbee9ad51841d515a551e67708d9594358ce7e71
2013-04-12Nah, I don't need a getOffset(), but I do need a getBufferSize()Tor Lillqvist2-29/+49
To properly handle subsetted BitmapDevices in the iOS vcl backend I seem to need to know what the size of the full BitmapDevice is. I wasted at least one day on desperate hacking and debugging, trying to wrap my head around a misunderstanding of what a subsetted BitmapDevice is. I thought it involved coordinate offsetting... Change-Id: I83bf1a7d75ce192aaf21f1e408008e362fd6c6e6
2013-04-11Fix documentationTor Lillqvist1-2/+1
The value returned by getScanlineStride() is always positive even if internally the scanline stride is negative in the bottom-up case. Change-Id: Iaf394639d1e5a27d64b83f75c1d715a9860e492e
2013-04-11Add an accessor to get the offset of a subsetted BitmapDeviceTor Lillqvist2-0/+12
Change-Id: I8a4a588287a90c6953b367bb02e075ea58f13a96
2013-04-11Add debugging printout of subsetting informationTor Lillqvist1-1/+9
Change-Id: I6c37885823f14dcfbe750691dad27e094f46e66e
2013-03-27_USE_MATH_DEFINES is already taken care of by sal/config.hStephan Bergmann1-3/+2
Change-Id: Ib0dab05534c34eb407f3acee3b4a3638a36bdddc
2013-03-26Log also corresponding destructions of BitmapDeviceTor Lillqvist1-1/+2
Change-Id: Ic74032b430691215482172c3c5f834374d47873d
2013-03-25Add some debugging printoutTor Lillqvist3-15/+46
Change-Id: Iea0decde41be8b9325b19651433f1b3b79f851a9
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25CreateFromAscii removalRicardo Montania1-1/+1
Change-Id: I4596d78620936770f3aca3207cdc19f71197eb75 Reviewed-on: https://gerrit.libreoffice.org/2345 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
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)