[Libreoffice-commits] core.git: Changes to 'private/mcecchetti/bitmapcrc64'

2015-09-01 Thread Marco Cecchetti
New branch 'private/mcecchetti/bitmapcrc64' available with the following 
commits:
commit b43996dd196b89b9c05d8a3faa6881f3e4412b3b
Author: Marco Cecchetti 
Date:   Tue Sep 1 14:12:32 2015 +0200

Removed the crc table from the check-sum header

Now can be accessed through the vcl_get_crc64_table() function.

Change-Id: Ife85dde373a48652a0d67460184c1f325eb91702

commit fbcc3d4b9976787acf65a744bc03a8536202c3c8
Author: Marco Cecchetti 
Date:   Tue Sep 1 14:11:34 2015 +0200

Modified CRC test in order to fix test failure on OSX

Change-Id: Ic3fa76557746242ca99e3ce63ea73ec1d2b11f50

commit 97dd449a7c046f4116a5f9295aaad9f7a2e54ef0
Author: Marco Cecchetti 
Date:   Tue Sep 1 10:27:47 2015 +0200

Changed DLL macro for fixing warning C4273 on Windows

Change-Id: I50e4b30e0932f092db9e7d60e50f88f2b7e83895

commit 557c6ca8823eaa814370d5d4112da7508ab516dc
Author: Marco Cecchetti 
Date:   Mon Aug 31 23:04:55 2015 +0200

Fixed a bug due to conflicts with Casarin's commit.

Change-Id: I5226a55ba804d494a8c9c9c9b5cd7ed3889eafbf

commit 895ff3fdd31a8b4bab4247cde879ad72a49eff70
Author: Michael Meeks 
Date:   Mon Jul 13 15:38:09 2015 +0100

tdf#93532 -  Bitmap CRC unit tests.

Change-Id: Ic75801d7ad941ba802ffe418d5c666b1e7b0e94f

commit 9f1e7f4f21acd67bc7402f0b44071a0426b7a42b
Author: Marco Cecchetti 
Date:   Mon Aug 31 14:35:50 2015 +0200

Removed no more needed code in ImpBitmap::ImplGetChecksu

Change-Id: I647941591615733caa546a8710817616923afa85

commit 461524a88ec3950d417850fb104cbd275bc42cb3
Author: Miklos Vajna 
Date:   Mon Aug 31 14:09:33 2015 +0200

filter: avoid casting BitmapChecksum to sal_uInt32

Since BitmapChecksum is a typedef for sal_uInt64.

Change-Id: I768fa5134fa6e86559f3c6cbe1071093b4e68152

commit 591ba508fca449e939a53eca9333fc8f77e3fa83
Author: Marco Cecchetti 
Date:   Mon Aug 31 13:55:52 2015 +0200

Fixed a bug the 64-bit checksum switch code was affected by

Changed the size of the string buffer used for converting 4 integer
values into a hexadecimal string:

aHexStr.setLength(24 + (2 * BITMAP_CHECKSUM_SIZE))

Change-Id: I5936bae4ce3b41e85a68f6f342b5288f7f9395fe

commit a56db098d15baba4072bbc8a5f4dcb045f2faf6e
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:30:56 2015 +0200

switch to 64-bit checksum: fixed a missed substitution

Change-Id: I733240798a8415602b824a9732193c344fe53a5c

commit 3f3ba3b4fba51b0b74725edaf681c5ecdc95
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:28:34 2015 +0200

truncate checksum to 32-bit when it slips inside a file stream

Change-Id: I2cedf8acf73f71529f4090ff2f9fce7ab7663e68

commit 80efe61f77948a8214fbb282618f4d4f5f5c2add
Author: Marco Cecchetti 
Date:   Sat Aug 29 10:27:21 2015 +0200

gl-checksum: added a minimum size check for using GL version

(nWidth * nHeight) < (1024*768) || nWidth < 128 || nHeight < 128

Change-Id: Iedda6a333958c76c19b837890eb3fa28e631bc90

commit 06c865c6a501b69fd85ca85acc104e442f4bab8e
Author: Marco Cecchetti 
Date:   Fri Aug 28 15:35:43 2015 +0200

switch to 64-bit checksum: now BitmapChecksum is a sal_uInt64

Changed hardcoded checksum value in ooxmlimport unit test (testN777345).

Change-Id: Ied43bf626be82c0e7f6c62e965d0704fc645ac19

commit 5783d529decc51e6d998767c54363aeda155a596
Author: Michael Meeks 
Date:   Thu Aug 27 21:28:48 2015 +0100

CRC is an integer type -> mnChecksum.

Change-Id: I9e4d36105a59c5f81677d8e062106dae6f709464

commit 5d9e101cff01e8734e63d095ff3ac7b6d3a9e942
Author: Michael Meeks 
Date:   Thu Aug 27 21:27:16 2015 +0100

fix: buffer was released before getting checksum.

g

Conflicts:
vcl/inc/salbmp.hxx

Change-Id: I57d1e4b8e4909ce0b82c9e61ca271768cc73cd8b

commit 5dce578d6521131e07be307ed779f70dcb8a181e
Author: Marco Cecchetti 
Date:   Thu Aug 27 22:57:15 2015 +0200

switch to 64-bit checksum: conversion from BitmapChecksum to an octet array

Defined BitmapChecksumOctetArray which is an array of bytes whose size
is the same of BitmapChecksum.

Defined a routine for converting a BitmapChecksum into a
BitmapChecksumOctetArray.

Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb

commit e3f4bc41484c6849ee09c8a65a56f042c192204a
Author: Marco Cecchetti 
Date:   Thu Aug 27 17:09:36 2015 +0200

vcl_get_checksum wraps the call to the real checksum function


[Libreoffice-commits] core.git: Changes to 'private/mcecchetti/bitmapcrc64'

2015-09-01 Thread Marco Cecchetti
New branch 'private/mcecchetti/bitmapcrc64' available with the following 
commits:
commit c1edd8dcfc72def65da54527fb30bbe5e59b8f98
Author: Marco Cecchetti 
Date:   Tue Sep 1 14:12:32 2015 +0200

Removed the crc table from the check-sum header

Now can be accessed through the vcl_get_crc64_table() function

Change-Id: Ife85dde373a48652a0d67460184c1f325eb91702

commit cf5f7c1fb922045c44996cdeaace8e38298fe37f
Author: Marco Cecchetti 
Date:   Tue Sep 1 14:11:34 2015 +0200

Modified CRC test in order to fix test failure on OSX

Change-Id: Ic3fa76557746242ca99e3ce63ea73ec1d2b11f50

commit df6e35bb3468ea31659d98b96dd70199c9756b66
Author: Marco Cecchetti 
Date:   Tue Sep 1 10:27:47 2015 +0200

Changed DLL macro for fixing warning C4273 on Windows

Change-Id: I50e4b30e0932f092db9e7d60e50f88f2b7e83895

commit 627c60cd9f4a2a64b51ad19360e197278e09cc6a
Author: Marco Cecchetti 
Date:   Mon Aug 31 23:04:55 2015 +0200

Fixed a bug due to conflicts with Casarin's commit.

Change-Id: I5226a55ba804d494a8c9c9c9b5cd7ed3889eafbf

commit 9d2eee797aa78237e8914a2829b9779db0f1e4cc
Author: Michael Meeks 
Date:   Mon Jul 13 15:38:09 2015 +0100

tdf#93532 -  Bitmap CRC unit tests.

Change-Id: Ic75801d7ad941ba802ffe418d5c666b1e7b0e94f

commit a2f931bd13dcf07ed6ac3eea962bfdc4baa7e228
Author: Marco Cecchetti 
Date:   Mon Aug 31 14:35:50 2015 +0200

Removed no more needed code in ImpBitmap::ImplGetChecksu

Change-Id: I647941591615733caa546a8710817616923afa85

commit 9c7367eba7eba80825408a483f830c2e1a612a16
Author: Miklos Vajna 
Date:   Mon Aug 31 14:09:33 2015 +0200

filter: avoid casting BitmapChecksum to sal_uInt32

Since BitmapChecksum is a typedef for sal_uInt64.

Change-Id: I768fa5134fa6e86559f3c6cbe1071093b4e68152

commit d0ebe8fb7ce6a2be10b7edad51bbd4e4f222e4b8
Author: Marco Cecchetti 
Date:   Mon Aug 31 13:55:52 2015 +0200

Fixed a bug the 64-bit checksum switch code was affected by

Changed the size of the string buffer used for converting 4 integer
values into a hexadecimal string:

aHexStr.setLength(24 + (2 * BITMAP_CHECKSUM_SIZE))

Change-Id: I5936bae4ce3b41e85a68f6f342b5288f7f9395fe

commit e3f9930db65e3d388b9fae55ae85a507688dd6bb
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:30:56 2015 +0200

switch to 64-bit checksum: fixed a missed substitution

Change-Id: I733240798a8415602b824a9732193c344fe53a5c

commit 9b31c9494e4fa41f9b302c5db3d8ebf07ec9b7c0
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:28:34 2015 +0200

truncate checksum to 32-bit when it slips inside a file stream

Change-Id: I2cedf8acf73f71529f4090ff2f9fce7ab7663e68

commit ba4ca59dc3fee8a4a80cb0e935a3680aaa9eb9e3
Author: Marco Cecchetti 
Date:   Sat Aug 29 10:27:21 2015 +0200

gl-checksum: added a minimum size check for using GL version

(nWidth * nHeight) < (1024*768) || nWidth < 128 || nHeight < 128

Change-Id: Iedda6a333958c76c19b837890eb3fa28e631bc90

commit 914fa8435b2d55b062b3bb5954359c7ee2d93419
Author: Marco Cecchetti 
Date:   Fri Aug 28 15:35:43 2015 +0200

switch to 64-bit checksum: now BitmapChecksum is a sal_uInt64

Changed hardcoded checksum value in ooxmlimport unit test (testN777345).

Change-Id: Ied43bf626be82c0e7f6c62e965d0704fc645ac19

commit 322aa1215f64364d9f8f9629fc1cf479a2eb49e1
Author: Michael Meeks 
Date:   Thu Aug 27 21:28:48 2015 +0100

CRC is an integer type -> mnChecksum.

Change-Id: I9e4d36105a59c5f81677d8e062106dae6f709464

commit 8fa26d3dca140963e2798f34cbb477dc228ebe74
Author: Michael Meeks 
Date:   Thu Aug 27 21:27:16 2015 +0100

fix: buffer was released before getting checksum.

g

Conflicts:
vcl/inc/salbmp.hxx

Change-Id: I57d1e4b8e4909ce0b82c9e61ca271768cc73cd8b

commit 9b10c509ab447f85d438785a8d4cdd1494186158
Author: Marco Cecchetti 
Date:   Thu Aug 27 22:57:15 2015 +0200

switch to 64-bit checksum: conversion from BitmapChecksum to an octet array

Defined BitmapChecksumOctetArray which is an array of bytes whose size
is the same of BitmapChecksum.

Defined a routine for converting a BitmapChecksum into a
BitmapChecksumOctetArray.

Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb

commit 9ff53530459059412c0369923b7106ea84f76174
Author: Marco Cecchetti 
Date:   Thu Aug 27 17:09:36 2015 +0200

vcl_get_checksum wraps the call to the real checksum function


[Libreoffice-commits] core.git: Changes to 'private/mcecchetti/bitmapcrc64'

2015-08-31 Thread Michael Meeks
New branch 'private/mcecchetti/bitmapcrc64' available with the following 
commits:
commit 47f0c73e424ce6ae792fe3bb156ccc435df33fb2
Author: Michael Meeks 
Date:   Mon Jul 13 15:38:09 2015 +0100

tdf#93532 - Bitmap CRC unit tests.

Change-Id: Ic75801d7ad941ba802ffe418d5c666b1e7b0e94f

commit e7d681ffae1f9188d390412854c748e1e609c7ff
Author: Marco Cecchetti 
Date:   Mon Aug 31 14:35:50 2015 +0200

Removed no more needed code in ImpBitmap::ImplGetChecksu

Change-Id: I647941591615733caa546a8710817616923afa85

commit a232778bd38f6738c5e4974cf5c8d9f26e01613f
Author: Miklos Vajna 
Date:   Mon Aug 31 14:09:33 2015 +0200

filter: avoid casting BitmapChecksum to sal_uInt32

Since BitmapChecksum is a typedef for sal_uInt64.

Change-Id: I768fa5134fa6e86559f3c6cbe1071093b4e68152

commit b808a3b35d352b9fb5aa7d7b6ecbb10d65f77bc2
Author: Marco Cecchetti 
Date:   Mon Aug 31 13:55:52 2015 +0200

Fixed a bug the 64-bit checksum switch code was affected by

Changed the size of the string buffer used for converting 4 integer
values into a hexadecimal string:

aHexStr.setLength(24 + (2 * BITMAP_CHECKSUM_SIZE))

Change-Id: I5936bae4ce3b41e85a68f6f342b5288f7f9395fe

commit fa1468db9572d3f77804caf649f962eb07849500
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:30:56 2015 +0200

switch to 64-bit checksum: fixed a missed substitution

Change-Id: I733240798a8415602b824a9732193c344fe53a5c

commit c769cc07c1079a9d335c33adb0e36318c6f0fb68
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:28:34 2015 +0200

truncate checksum to 32-bit when it slips inside a file stream

Change-Id: I2cedf8acf73f71529f4090ff2f9fce7ab7663e68

commit 2b5d623be97c00f902d67c67e90f1d5242f3483f
Author: Marco Cecchetti 
Date:   Sat Aug 29 10:27:21 2015 +0200

gl-checksum: added a minimum size check for using GL version

(nWidth * nHeight) < (1024*768) || nWidth < 128 || nHeight < 128

Change-Id: Iedda6a333958c76c19b837890eb3fa28e631bc90

commit a5cf68b0a0fe678c3558751923d7f1cec6dc81ba
Author: Marco Cecchetti 
Date:   Fri Aug 28 15:35:43 2015 +0200

switch to 64-bit checksum: now BitmapChecksum is a sal_uInt64

Changed hardcoded checksum value in ooxmlimport unit test (testN777345).

Change-Id: Ied43bf626be82c0e7f6c62e965d0704fc645ac19

commit 580f56edd747b3e0f3ac9ed037ddd56d9648affb
Author: Michael Meeks 
Date:   Thu Aug 27 21:28:48 2015 +0100

CRC is an integer type -> mnChecksum.

Change-Id: I9e4d36105a59c5f81677d8e062106dae6f709464

commit 31544047cd9d638fd7d588e7fcc3a1f0e1a25247
Author: Michael Meeks 
Date:   Thu Aug 27 21:27:16 2015 +0100

squash into Marco's commit.

g

Conflicts:
vcl/inc/salbmp.hxx

Change-Id: I57d1e4b8e4909ce0b82c9e61ca271768cc73cd8b

commit 21d871cea9d6298732d732a9d57a43cdd47ca58b
Author: Marco Cecchetti 
Date:   Thu Aug 27 22:57:15 2015 +0200

switch to 64-bit checksum: conversion from BitmapChecksum to an octet array

Defined BitmapChecksumOctetArray which is an array of bytes whose size
is the same of BitmapChecksum.

Defined a routine for converting a BitmapChecksum into a
BitmapChecksumOctetArray.

Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb

commit b5600d52a847a3d5f1d5a9bd4c65d72ab0e9cb51
Author: Marco Cecchetti 
Date:   Thu Aug 27 17:09:36 2015 +0200

vcl_get_checksum wraps the call to the real checksum function

Change-Id: I72916f18966756ecc99e77f1b164e99377eb456e

commit 48eaac022f03047d46ba3e64e4f9289f72569094
Author: Marco Cecchetti 
Date:   Thu Aug 27 15:25:11 2015 +0200

Switching to 64-bit checksum: substituted sal_uLong with BitmapChecksum

A typedef sal_uLong  BitmapChecksum;
has been added to include/vcl/checksum.hxx

Wherever needed sal_uLong and sal_Int32 has been substituted with
BitmapChecksum.

A BITMAP_CHECKSUM_BITS constant equal to the amount of bits used by the
BitmapChecksum type has been defined and used in
`GraphicID::GetIDString` (vstools/source/graphic/grfcache.cxx).

Change-Id: I74bd285089e58a8b18c06233d75b87023c7bf31b

commit 2d6adc34f5a062e48ebffda1ecd4420757d96b4f
Author: Marco Cecchetti 
Date:   Thu Aug 27 12:12:52 2015 +0200

moved chechsum.hxx in include/vcl

Change-Id: I70f82f16d5907ce0bbe2d838c4acee226886aab2

commit f368a0751b54808bb1ed9e655e2af939e4961082
Author: Marco Cecchetti 
Date:   Wed Aug 26 13:50:57 2015 +0200

Added support for computing 

[Libreoffice-commits] core.git: Changes to 'private/mcecchetti/bitmapcrc64-5-0'

2015-08-31 Thread Michael Meeks
New branch 'private/mcecchetti/bitmapcrc64-5-0' available with the following 
commits:
commit 45997fea99a77063ba25f00d44b8ceefc71305e2
Author: Michael Meeks 
Date:   Mon Jul 13 15:38:09 2015 +0100

tdf#93532 - Bitmap CRC unit tests.

Change-Id: Ic75801d7ad941ba802ffe418d5c666b1e7b0e94f

commit 6da38c34d5a720f5ab801273b0b801f83ae3edb0
Author: Marco Cecchetti 
Date:   Mon Aug 31 14:35:50 2015 +0200

Removed no more needed code in ImpBitmap::ImplGetChecksu

Change-Id: I647941591615733caa546a8710817616923afa85

commit 4cdeb2cb500b8046d364d7c0517770b6b11a1103
Author: Miklos Vajna 
Date:   Mon Aug 31 14:09:33 2015 +0200

filter: avoid casting BitmapChecksum to sal_uInt32

Since BitmapChecksum is a typedef for sal_uInt64.

Change-Id: I768fa5134fa6e86559f3c6cbe1071093b4e68152

commit 713692722d52277b847f0baaf7d767684c5df082
Author: Marco Cecchetti 
Date:   Mon Aug 31 13:55:52 2015 +0200

Fixed a bug the 64-bit checksum switch code was affected by

Changed the size of the string buffer used for converting 4 integer
values into a hexadecimal string:

aHexStr.setLength(24 + (2 * BITMAP_CHECKSUM_SIZE))

Change-Id: I5936bae4ce3b41e85a68f6f342b5288f7f9395fe

commit 82d968a576f6562f6359d4551976fa635c978c89
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:30:56 2015 +0200

switch to 64-bit checksum: fixed a missed substitution

Change-Id: I733240798a8415602b824a9732193c344fe53a5c

commit bf3ae441076e8c10381407b79a20811deacb9ce8
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:28:34 2015 +0200

truncate checksum to 32-bit when it slips inside a file stream

Change-Id: I2cedf8acf73f71529f4090ff2f9fce7ab7663e68

commit 51e1d5790575567420dd420fb1fa9633e7949ce6
Author: Marco Cecchetti 
Date:   Sat Aug 29 10:27:21 2015 +0200

gl-checksum: added a minimum size check for using GL version

(nWidth * nHeight) < (1024*768) || nWidth < 128 || nHeight < 128

Change-Id: Iedda6a333958c76c19b837890eb3fa28e631bc90

commit 6022f7dab0c874ac6f29bfbe0fc9a1655fd291a7
Author: Marco Cecchetti 
Date:   Fri Aug 28 15:35:43 2015 +0200

switch to 64-bit checksum: now BitmapChecksum is a sal_uInt64

Changed hardcoded checksum value in ooxmlimport unit test (testN777345).

Change-Id: Ied43bf626be82c0e7f6c62e965d0704fc645ac19

commit af3891ed2fe18e5a41b8453f5c3b27534fe821a6
Author: Michael Meeks 
Date:   Thu Aug 27 21:28:48 2015 +0100

CRC is an integer type -> mnChecksum.

Change-Id: I9e4d36105a59c5f81677d8e062106dae6f709464

commit 6a14051b0a60f52ddf138114250e5e9a5143f3a0
Author: Michael Meeks 
Date:   Thu Aug 27 21:27:16 2015 +0100

squash into Marco's commit.

g

Conflicts:
vcl/inc/salbmp.hxx

Change-Id: I57d1e4b8e4909ce0b82c9e61ca271768cc73cd8b

commit ac5c61b4b63f6dea7973a181d08d8c05d62cb13b
Author: Marco Cecchetti 
Date:   Thu Aug 27 22:57:15 2015 +0200

switch to 64-bit checksum: conversion from BitmapChecksum to an octet array

Defined BitmapChecksumOctetArray which is an array of bytes whose size
is the same of BitmapChecksum.

Defined a routine for converting a BitmapChecksum into a
BitmapChecksumOctetArray.

Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb

commit 3c4dc632e3f3d239a383b64d317e2dab8b866177
Author: Marco Cecchetti 
Date:   Thu Aug 27 17:09:36 2015 +0200

vcl_get_checksum wraps the call to the real checksum function

Change-Id: I72916f18966756ecc99e77f1b164e99377eb456e

commit 057c2a227a65c3dbab42ed740327d0d9bda706cf
Author: Marco Cecchetti 
Date:   Thu Aug 27 15:25:11 2015 +0200

Switching to 64-bit checksum: substituted sal_uLong with BitmapChecksum

A typedef sal_uLong  BitmapChecksum;
has been added to include/vcl/checksum.hxx

Wherever needed sal_uLong and sal_Int32 has been substituted with
BitmapChecksum.

A BITMAP_CHECKSUM_BITS constant equal to the amount of bits used by the
BitmapChecksum type has been defined and used in
`GraphicID::GetIDString` (vstools/source/graphic/grfcache.cxx).

Change-Id: I74bd285089e58a8b18c06233d75b87023c7bf31b

commit f48893ab4e86757564bec0f64d3c9d440497d047
Author: Marco Cecchetti 
Date:   Thu Aug 27 12:12:52 2015 +0200

moved chechsum.hxx in include/vcl

Change-Id: I70f82f16d5907ce0bbe2d838c4acee226886aab2

commit ec42f11aa562bc946644ebf5d7433692465edcd3
Author: Marco Cecchetti 
Date:   Wed Aug 26 13:50:57 2015 +0200

Added support for 

[Libreoffice-commits] core.git: Changes to 'private/mcecchetti/bitmapcrc64'

2015-08-31 Thread Michael Meeks
New branch 'private/mcecchetti/bitmapcrc64' available with the following 
commits:
commit 21ff7eb3f94c48897f208c5e36965bf03cd91266
Author: Michael Meeks 
Date:   Mon Jul 13 15:38:09 2015 +0100

tdf#93532 -  Bitmap CRC unit tests.

Change-Id: Ic75801d7ad941ba802ffe418d5c666b1e7b0e94f

commit 5f3ae2a2632ba0373f44ba47385b6f80e30b75e3
Author: Marco Cecchetti 
Date:   Mon Aug 31 14:35:50 2015 +0200

Removed no more needed code in ImpBitmap::ImplGetChecksu

Change-Id: I647941591615733caa546a8710817616923afa85

commit ce975130f014aa801a4f4893b89517616364149a
Author: Miklos Vajna 
Date:   Mon Aug 31 14:09:33 2015 +0200

filter: avoid casting BitmapChecksum to sal_uInt32

Since BitmapChecksum is a typedef for sal_uInt64.

Change-Id: I768fa5134fa6e86559f3c6cbe1071093b4e68152

commit ed726a7489d1a0a02bdeaaccc8b2bba51f4f7ad6
Author: Marco Cecchetti 
Date:   Mon Aug 31 13:55:52 2015 +0200

Fixed a bug the 64-bit checksum switch code was affected by

Changed the size of the string buffer used for converting 4 integer
values into a hexadecimal string:

aHexStr.setLength(24 + (2 * BITMAP_CHECKSUM_SIZE))

Change-Id: I5936bae4ce3b41e85a68f6f342b5288f7f9395fe

commit a75f52a0cc89d9a4b80cda83915e460b519668f2
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:30:56 2015 +0200

switch to 64-bit checksum: fixed a missed substitution

Change-Id: I733240798a8415602b824a9732193c344fe53a5c

commit 55d1efab09e0b6306362d8af6b0dde575311a517
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:28:34 2015 +0200

truncate checksum to 32-bit when it slips inside a file stream

Change-Id: I2cedf8acf73f71529f4090ff2f9fce7ab7663e68

commit 9e09380837cbf6ce6c86470f0add85651cc6567d
Author: Marco Cecchetti 
Date:   Sat Aug 29 10:27:21 2015 +0200

gl-checksum: added a minimum size check for using GL version

(nWidth * nHeight) < (1024*768) || nWidth < 128 || nHeight < 128

Change-Id: Iedda6a333958c76c19b837890eb3fa28e631bc90

commit 9bd3abd30fe5a9289828f0b7937d005deb0201b2
Author: Marco Cecchetti 
Date:   Fri Aug 28 15:35:43 2015 +0200

switch to 64-bit checksum: now BitmapChecksum is a sal_uInt64

Changed hardcoded checksum value in ooxmlimport unit test (testN777345).

Change-Id: Ied43bf626be82c0e7f6c62e965d0704fc645ac19

commit 842a4f21fdf910e4d97d2cab65023f44338ff716
Author: Michael Meeks 
Date:   Thu Aug 27 21:28:48 2015 +0100

CRC is an integer type -> mnChecksum.

Change-Id: I9e4d36105a59c5f81677d8e062106dae6f709464

commit f45b2c2df3972c38e07be4ae16b146473ac6c4ff
Author: Michael Meeks 
Date:   Thu Aug 27 21:27:16 2015 +0100

squash into Marco's commit.

g

Conflicts:
vcl/inc/salbmp.hxx

Change-Id: I57d1e4b8e4909ce0b82c9e61ca271768cc73cd8b

commit 2c69bb990403b6e9326d52323892f20dc46cfa2d
Author: Marco Cecchetti 
Date:   Thu Aug 27 22:57:15 2015 +0200

switch to 64-bit checksum: conversion from BitmapChecksum to an octet array

Defined BitmapChecksumOctetArray which is an array of bytes whose size
is the same of BitmapChecksum.

Defined a routine for converting a BitmapChecksum into a
BitmapChecksumOctetArray.

Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb

commit 509fb479625f60d413061590cea23278b75b0310
Author: Marco Cecchetti 
Date:   Thu Aug 27 17:09:36 2015 +0200

vcl_get_checksum wraps the call to the real checksum function

Change-Id: I72916f18966756ecc99e77f1b164e99377eb456e

commit f9fc132a6d04c00cfcda519da244146808cf815d
Author: Marco Cecchetti 
Date:   Thu Aug 27 15:25:11 2015 +0200

Switching to 64-bit checksum: substituted sal_uLong with BitmapChecksum

A typedef sal_uLong  BitmapChecksum;
has been added to include/vcl/checksum.hxx

Wherever needed sal_uLong and sal_Int32 has been substituted with
BitmapChecksum.

A BITMAP_CHECKSUM_BITS constant equal to the amount of bits used by the
BitmapChecksum type has been defined and used in
`GraphicID::GetIDString` (vstools/source/graphic/grfcache.cxx).

Change-Id: I74bd285089e58a8b18c06233d75b87023c7bf31b

commit d2c0f89f8b2993189d88168412066cbe8e97b34b
Author: Marco Cecchetti 
Date:   Thu Aug 27 12:12:52 2015 +0200

moved chechsum.hxx in include/vcl

Change-Id: I70f82f16d5907ce0bbe2d838c4acee226886aab2

commit 2f2b80f6240736e3ec9a4fd5644f45ffa4c2a821
Author: Marco Cecchetti 
Date:   Wed Aug 26 13:50:57 2015 +0200

Added support for 

[Libreoffice-commits] core.git: Changes to 'private/mcecchetti/bitmapcrc64'

2015-08-31 Thread Marco Cecchetti
New branch 'private/mcecchetti/bitmapcrc64' available with the following 
commits:
commit ce6b2240aa7a1077d3fca29b9079e15498e19fa5
Author: Marco Cecchetti 
Date:   Mon Aug 31 23:04:55 2015 +0200

Fixed a bug due to conflicts with Casarin's commit

Change-Id: I5226a55ba804d494a8c9c9c9b5cd7ed3889eafbf

commit 4d1ca81e42e14caf1d1674ef9c539b0f2da49598
Author: Michael Meeks 
Date:   Mon Jul 13 15:38:09 2015 +0100

tdf#93532 -  Bitmap CRC unit tests.

Change-Id: Ic75801d7ad941ba802ffe418d5c666b1e7b0e94f

commit 45fff227522a15c0acb59e30da47595ff57afd5b
Author: Marco Cecchetti 
Date:   Mon Aug 31 14:35:50 2015 +0200

Removed no more needed code in ImpBitmap::ImplGetChecksu

Change-Id: I647941591615733caa546a8710817616923afa85

commit 1a974c1281ffe92e3853ec86891306bf7cddbd79
Author: Miklos Vajna 
Date:   Mon Aug 31 14:09:33 2015 +0200

filter: avoid casting BitmapChecksum to sal_uInt32

Since BitmapChecksum is a typedef for sal_uInt64.

Change-Id: I768fa5134fa6e86559f3c6cbe1071093b4e68152

commit a55cdfd6e4d316b38d0074e50020e7f84128c735
Author: Marco Cecchetti 
Date:   Mon Aug 31 13:55:52 2015 +0200

Fixed a bug the 64-bit checksum switch code was affected by

Changed the size of the string buffer used for converting 4 integer
values into a hexadecimal string:

aHexStr.setLength(24 + (2 * BITMAP_CHECKSUM_SIZE))

Change-Id: I5936bae4ce3b41e85a68f6f342b5288f7f9395fe

commit c3b0fc764925e838e967238040b3e323c6be81ee
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:30:56 2015 +0200

switch to 64-bit checksum: fixed a missed substitution

Change-Id: I733240798a8415602b824a9732193c344fe53a5c

commit 3bbae760561676c6dacd672e3463e4df53ae20f5
Author: Marco Cecchetti 
Date:   Sat Aug 29 14:28:34 2015 +0200

truncate checksum to 32-bit when it slips inside a file stream

Change-Id: I2cedf8acf73f71529f4090ff2f9fce7ab7663e68

commit 57e0ede081dc567be0e8cc852ca38983e08e
Author: Marco Cecchetti 
Date:   Sat Aug 29 10:27:21 2015 +0200

gl-checksum: added a minimum size check for using GL version

(nWidth * nHeight) < (1024*768) || nWidth < 128 || nHeight < 128

Change-Id: Iedda6a333958c76c19b837890eb3fa28e631bc90

commit 35a45cba6d869782d0c1c0276fe8650c3bc46b4a
Author: Marco Cecchetti 
Date:   Fri Aug 28 15:35:43 2015 +0200

switch to 64-bit checksum: now BitmapChecksum is a sal_uInt64

Changed hardcoded checksum value in ooxmlimport unit test (testN777345).

Change-Id: Ied43bf626be82c0e7f6c62e965d0704fc645ac19

commit 505c79e48a72925aec701be963ae6dcdb4b1df79
Author: Michael Meeks 
Date:   Thu Aug 27 21:28:48 2015 +0100

CRC is an integer type -> mnChecksum.

Change-Id: I9e4d36105a59c5f81677d8e062106dae6f709464

commit 836b7e5ff4360f5ba9d6ca0b950157337503feed
Author: Michael Meeks 
Date:   Thu Aug 27 21:27:16 2015 +0100

fix: buffer was released before getting checksum.

g

Conflicts:
vcl/inc/salbmp.hxx

Change-Id: I57d1e4b8e4909ce0b82c9e61ca271768cc73cd8b

commit fd0d2cc269b8349e4258072a3408a5f8495c27be
Author: Marco Cecchetti 
Date:   Thu Aug 27 22:57:15 2015 +0200

switch to 64-bit checksum: conversion from BitmapChecksum to an octet array

Defined BitmapChecksumOctetArray which is an array of bytes whose size
is the same of BitmapChecksum.

Defined a routine for converting a BitmapChecksum into a
BitmapChecksumOctetArray.

Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb

commit e70fb6b89c57be33110fd2a704293570b31a4503
Author: Marco Cecchetti 
Date:   Thu Aug 27 17:09:36 2015 +0200

vcl_get_checksum wraps the call to the real checksum function

Change-Id: I72916f18966756ecc99e77f1b164e99377eb456e

commit 6d62261bc8316eaeb71caa76de550d906ca7dce0
Author: Marco Cecchetti 
Date:   Thu Aug 27 15:25:11 2015 +0200

Switching to 64-bit checksum: substituted sal_uLong with BitmapChecksum

A typedef sal_uLong  BitmapChecksum;
has been added to include/vcl/checksum.hxx

Wherever needed sal_uLong and sal_Int32 has been substituted with
BitmapChecksum.

A BITMAP_CHECKSUM_BITS constant equal to the amount of bits used by the
BitmapChecksum type has been defined and used in
`GraphicID::GetIDString` (vstools/source/graphic/grfcache.cxx).

Change-Id: I74bd285089e58a8b18c06233d75b87023c7bf31b

commit e4f6b6f5f746c3541939ca601c9689e6394437cc
Author: Marco Cecchetti 
Date:   Thu Aug 27 12:12:52 

[Libreoffice-commits] core.git: Changes to 'private/mcecchetti/bitmapcrc64'

2015-08-29 Thread Marco Cecchetti
New branch 'private/mcecchetti/bitmapcrc64' available with the following 
commits:
commit 2eb44eb8ca3d386136ac1f79e71d54172915d5ae
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Sat Aug 29 14:30:56 2015 +0200

switch to 64-bit checksum: fixed a missed substitution

Change-Id: I733240798a8415602b824a9732193c344fe53a5c

commit 940f9024be4db4e03ab39b94e1a33bb9600e7579
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Sat Aug 29 14:28:34 2015 +0200

truncate checksum to 32-bit when it slips inside a file stream

Change-Id: I2cedf8acf73f71529f4090ff2f9fce7ab7663e68

commit 1ae96a6ba41a11d136c0f53fb877c02325b5803c
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Sat Aug 29 10:27:21 2015 +0200

gl-checksum: added a minimum size check for using GL version

(nWidth * nHeight)  (1024*768) || nWidth  128 || nHeight  128

Change-Id: Iedda6a333958c76c19b837890eb3fa28e631bc90

commit fda73b8361e997a2e1d66ba820e518e707580158
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Fri Aug 28 15:35:43 2015 +0200

switch to 64-bit checksum: now BitmapChecksum is a sal_uInt64

Changed hardcoded checksum value in ooxmlimport unit test (testN777345).

Change-Id: Ied43bf626be82c0e7f6c62e965d0704fc645ac19

commit 24b3bad56556a84c0520ea3b84e2fb5203c9756a
Author: Michael Meeks michael.me...@collabora.com
Date:   Thu Aug 27 21:28:48 2015 +0100

CRC is an integer type - mnChecksum.

Change-Id: I9e4d36105a59c5f81677d8e062106dae6f709464

commit 12a062a7957c0b6571b0d899ffe19357463eb272
Author: Michael Meeks michael.me...@collabora.com
Date:   Thu Aug 27 21:27:16 2015 +0100

squash into Marco's commit.

g

Conflicts:
vcl/inc/salbmp.hxx

Change-Id: I57d1e4b8e4909ce0b82c9e61ca271768cc73cd8b

commit 3acbf349bc779964c40c0c0a887aa29cadeacdde
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Thu Aug 27 22:57:15 2015 +0200

switch to 64-bit checksum: conversion from BitmapChecksum to an octet array

Defined BitmapChecksumOctetArray which is an array of bytes whose size
is the same of BitmapChecksum.

Defined a routine for converting a BitmapChecksum into a
BitmapChecksumOctetArray.

Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb

commit 68fd744177ed72918183a455d1e45edb888220a4
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Thu Aug 27 17:09:36 2015 +0200

vcl_get_checksum wraps the call to the real checksum function

Change-Id: I72916f18966756ecc99e77f1b164e99377eb456e

commit 5e05351cddfd880250deaf669c0d7ab7e0008638
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Thu Aug 27 15:25:11 2015 +0200

Switching to 64-bit checksum: substituted sal_uLong with BitmapChecksum

A typedef sal_uLong  BitmapChecksum;
has been added to include/vcl/checksum.hxx

Wherever needed sal_uLong and sal_Int32 has been substituted with
BitmapChecksum.

A BITMAP_CHECKSUM_BITS constant equal to the amount of bits used by the
BitmapChecksum type has been defined and used in
`GraphicID::GetIDString` (vstools/source/graphic/grfcache.cxx).

Change-Id: I74bd285089e58a8b18c06233d75b87023c7bf31b

commit 7488e7974b16e9ea587d148fc9af18e52578ef0c
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Thu Aug 27 12:12:52 2015 +0200

moved chechsum.hxx in include/vcl

Change-Id: I70f82f16d5907ce0bbe2d838c4acee226886aab2

commit a68e97c1d2957950bb40fe9a03c37806ed2ac704
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Wed Aug 26 13:50:57 2015 +0200

Added support for computing 64-bit checksum of bitmap in OpenGL

Added a C++ and a GLSL implementation of a 64-bit CRC algorithm.

Changed hardcoded checksum value in ooxmlimport unit test (testN777345).

Change-Id: I16bb985a14866775efda49e21fe033ff64645896

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'private/mcecchetti/bitmapcrc64'

2015-08-28 Thread Marco Cecchetti
New branch 'private/mcecchetti/bitmapcrc64' available with the following 
commits:
commit 066d5579fd521d442dac152a43cf49b9880d2546
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Thu Aug 27 22:57:15 2015 +0200

switch to 64-bit checksum: conversion from BitmapChecksum to an octet array

Defined BitmapChecksumOctetArray which is an array of bytes whose size
is the same of BitmapChecksum.

Defined a routine for converting a BitmapChecksum into a
BitmapChecksumOctetArray.

Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb

commit 200180aba280d5299bcd2dd36ea520b8e712c686
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Thu Aug 27 17:09:36 2015 +0200

vcl_get_checksum wraps the call to the real checksum function

Change-Id: I72916f18966756ecc99e77f1b164e99377eb456e

commit 4d4674929b386d773998351f58744eb9ae0c3925
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Thu Aug 27 15:25:11 2015 +0200

Switching to 64-bit checksum: substituted sal_uLong with BitmapChecksum

A typedef sal_uLong  BitmapChecksum;
has been added to include/vcl/checksum.hxx

Wherever needed sal_uLong and sal_Int32 has been substituted with
BitmapChecksum.

A BITMAP_CHECKSUM_BITS constant equal to the amount of bits used by the
BitmapChecksum type has been defined and used in
`GraphicID::GetIDString` (vstools/source/graphic/grfcache.cxx).

Change-Id: I74bd285089e58a8b18c06233d75b87023c7bf31b

commit 52405b362675e52f80d07ccbf9b7e09cb6a9d3f9
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Thu Aug 27 12:12:52 2015 +0200

moved chechsum.hxx in include/vcl

Change-Id: I70f82f16d5907ce0bbe2d838c4acee226886aab2

commit acf5479a920e75999fb0c58c7a2206ea83575195
Author: Marco Cecchetti marco.cecche...@collabora.com
Date:   Wed Aug 26 13:50:57 2015 +0200

Added support for computing 64-bit checksum of bitmap in OpenGL

Added a C++ and a GLSL implementation of a 64-bit CRC algorithm.

Changed hardcoded checksum value in ooxmlimport unit test (testN777345).

Change-Id: I16bb985a14866775efda49e21fe033ff64645896

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits