- 30 Eki, 2014 28 kayıt (commit)
-
-
Palenik Mihály yazdı
It is possible to order columns. This is set in Expert Configuration dialog. The header's itembits weren't set correctly therefore mouse click handler didn't do anything. The comparsion was slow on big table. Conflicts: include/svtools/treelist.hxx svtools/source/contnr/simptabl.cxx Change-Id: I7e1301d40433ef45b3d0a3fb300909345ede9d4d Reviewed-on: https://gerrit.libreoffice.org/12070Reviewed-by:
Andras Timar <andras.timar@collabora.com> Tested-by:
Andras Timar <andras.timar@collabora.com>
-
Noel Grandin yazdı
..to detect end-of-file Change-Id: I3b1d5eca3a7424d72b5e3ab741f7407ad7e65193
-
Yousuf Philips yazdı
Change-Id: Ia60bb283df61ebdf39553ff9fb5fac0e2b9d9989 Reviewed-on: https://gerrit.libreoffice.org/12145Reviewed-by:
Matthew Francis <mjay.francis@gmail.com> Tested-by:
Matthew Francis <mjay.francis@gmail.com>
-
Miklos Vajna yazdı
For a document of 1000 pages and having 13000 bookmarks, this helps a lot on ODF export: 2m51.565s -> 2m23.412s on my machine. Change-Id: I8c8a7cd2b83a94ab7f2de17e0b4cb449fc4c0e1a
-
Miklos Vajna yazdı
sw::mark::MarkManager already provides two methods to provide not so slow mark access: - some marks (bookmarks, annotation marks) have their own container, so it's possible to iterate over only those types, not all of them - the containers are sorted by the start position of the marks, so it's easy to ignore marks that are after the current text node However, it's not possible to ignore marks ending before the current text node. This is a problem, as e.g. during ODF export, we have to iterate over every bookmark for each paragraph, so the operation is not linear. On the other hand, the start and end position of bookmarks are stored using SwPosition, and the SwIndex of the SwPosition is already registered in the SwIndexReg of the SwTxtNode, so the text node sort of already knows what bookmarks start/end at the current paragraph, it just doesn't known which position belongs to what mark (if it belongs to a mark). Fix the problem by adding a pointer to SwIndex that can optionally point back to the mark that owns it. Also, in the sw::mark::MarkBase methods (which are the only ones allowed to touch those positions) always set that pointer. With this, it's possible to get the bookmarks of a node (list of bookmarks which start or end in the current node) in a much faster way for text nodes. Change-Id: I7ceeff4dce852b4d72f2a73ae6a2423c7a781e41
-
Caolán McNamara yazdı
Change-Id: I66499283f4218662146c380f605bb20b8a2ff49a
-
Caolán McNamara yazdı
Change-Id: I8d7eb4c01197e885abca717c7814c61a7641ac9d
-
Caolán McNamara yazdı
Change-Id: I05a7700b782d63654406139532a775173295ea9f
-
Caolán McNamara yazdı
Change-Id: I7c1245eacd92b5869e6dab0389ee0ca3cebd98da
-
Caolán McNamara yazdı
Change-Id: Ib703cb24619228c081c156c4ed52bf7b878fbedd
-
Caolán McNamara yazdı
Change-Id: I82fad3f152fe5a563675686accedb583d07d2b13
-
Caolán McNamara yazdı
Change-Id: I508eb91d7c32e8604525511c33c39471afd3ffbf
-
Caolán McNamara yazdı
Change-Id: I9521ed7d75cae1a1e90fd73dd7b8bd822ab4521f
-
Caolán McNamara yazdı
and coverity#705666 Resource leak still actually fails to dlclose module, but explicitly does that Change-Id: Idbf5608b052e3a7c5a465a73d8ad067a0a9494c5
-
Caolán McNamara yazdı
and coverity#1244938 Division or modulo by float zero Change-Id: I128b1ac10f514285152cf189af24885460c9c5ca
-
Caolán McNamara yazdı
or coverity#735615 Division or modulo by float zero Change-Id: I6509e987eaf58349e81b9ebadcd7e2d0ff0bcbcb
-
Caolán McNamara yazdı
and coverity#735607 Division or modulo by float zero Change-Id: Iceeab702e183d291d7b1b6ded9113d1a15163c94
-
Caolán McNamara yazdı
Change-Id: I6497303e1b2d8d5ffd962489657582387ab974b1
-
Change-Id: I4e25b0a6929cc88aa2ec1d213b8f1115de6be607 Reviewed-on: https://gerrit.libreoffice.org/12146Reviewed-by:
Noel Grandin <noelgrandin@gmail.com> Tested-by:
Noel Grandin <noelgrandin@gmail.com>
-
Change-Id: Ied82b0a39ff9dc9c7cc9539dec2b963059f3d4a5 Reviewed-on: https://gerrit.libreoffice.org/12139Reviewed-by:
Noel Grandin <noelgrandin@gmail.com> Tested-by:
Noel Grandin <noelgrandin@gmail.com>
-
Change-Id: Ied831cb5d6645e2696ff2d3d57843fc7a1f82f7e Reviewed-on: https://gerrit.libreoffice.org/12137Reviewed-by:
Noel Grandin <noelgrandin@gmail.com> Tested-by:
Noel Grandin <noelgrandin@gmail.com>
-
Change-Id: I3d02436446a79137ce42b1a190c9e3985fbb9246 Reviewed-on: https://gerrit.libreoffice.org/12135Reviewed-by:
Noel Grandin <noelgrandin@gmail.com> Tested-by:
Noel Grandin <noelgrandin@gmail.com>
-
Stephan Bergmann yazdı
Change-Id: I0598e9d0c9c33c538aa02eabc2c09d96ec3c9b4d
-
Miklos Vajna yazdı
Change-Id: If50922e238bebd9a02e9950ca27d99c2df9ab7d8
-
Jan Holesovsky yazdı
Also kill some unused measuring. Change-Id: I69521d36e4da4b50cd58f346f0adb0e5563c8bec
-
Jan Holesovsky yazdı
Change-Id: I6af10899a3e22c45b973439fd8c8ec6c8faac904
-
Jan Holesovsky yazdı
Change-Id: Ic06a3b4673446bbadd21f2380c04ec628a6f86a9
-
Jan Holesovsky yazdı
Change-Id: I09d0777ef51045054b8e3bc88aba9fb025e6f9ff
-
- 29 Eki, 2014 12 kayıt (commit)
-
-
Andras Timar yazdı
Project: translations 6464f1a0e1abc7b0db94aa161885aa08f3a06fe5
-
Julien Nabet yazdı
Change-Id: If222be9574af1078ffba15c07f048503dd8d7e8e
-
Caolán McNamara yazdı
Change-Id: Ie5650c3a5593dcf68196802169c47270a0c3b0e6
-
Stephan Bergmann yazdı
Change-Id: Ia76df719b2f76a993e65e0bf6d55723b1a2f5b93
-
Stephan Bergmann yazdı
Change-Id: I0d89cc99a1d8f7b3c17986b45653dce5e4b436d7
-
Matúš Kukan yazdı
Do not abort in tests which take longer then before. Since 4f5f6d24 we have nice tool to collect callgrind results, store them.. Also, make it not necessary to duplicate anything. Any test can be turned into a performance test by using callgrindStart/callgrindDump. You only need to duplicate the makefile name in gb_Module_add_perfcheck_targets. So, if the test is run as part of 'perfcheck', it runs under callgrind, otherwise it behaves like a regular unit test. Change-Id: I7acbb855b1823c9a32ba126abb57dccc767ca239
-
Caolán McNamara yazdı
all sorts of things crash, e.g. format->properties Change-Id: Ida4fb97dcdddd7adde4b98fa67b107a514eef615
-
Caolán McNamara yazdı
Change-Id: Ibdbfb4a88c1c75aaf5d33672d8639a9ea55afbac
-
Caolán McNamara yazdı
by using a byte-swapping pattern that coverity doesn't detect as such tested as a scratch coverity attempt with a smaller project which has a far higher allocation of coverity attempts per week :-) unsigned int readTaintedUINT32(const char* buffer) { unsigned int v = ( (buffer[0] << 24) | (buffer[1] << 16) | (buffer[2] << 8) | (buffer[3] << 0) ); return v; } unsigned int readUntaintedUINT32(const char* p) { unsigned int v = *p++; v <<= 8; v |= *p++; v <<= 8; v |= *p++; v <<= 8; return v | *p; } void foo(char *buffer) { char *pOne = new char[readTaintedUINT32(buffer)]; // ^ coverity only reports this delete [] pOne; char *pTwo = new char[readUntaintedUINT32(buffer)]; // ^ and not this delete [] pTwo; } should silence coverity#1213371 Untrusted value as argument coverity#1213372 Untrusted value as argument coverity#1213373 Use of untrusted scalar value coverity#1213374 Use of untrusted scalar value coverity#1213376 Untrusted loop bound coverity#1213388 Use of untrusted scalar value coverity#1213389 Use of untrusted scalar value coverity#1213390 Use of untrusted scalar value coverity#1213423 Untrusted value as argument coverity#1213424 Untrusted value as argument coverity#1213425 Untrusted value as argument coverity#1213432 Untrusted value as argument coverity#1215304 Untrusted loop bound Change-Id: Ib8c7fc9a8e8b36ca227c76577d991c10df7dcd5a
-
Tor Lillqvist yazdı
The same information can be seem from the size of the vector reference returned by sc::opencl::fillOpenCLInfo(). Change-Id: I797aacdf85a852bc4fa65e0536fd5940aed396a1
-
Tor Lillqvist yazdı
Also works around some warnings from our Clang plug-ins. Change-Id: Ic9d2bbafefac345b6319300514735143f92dd196
-
Tor Lillqvist yazdı
Change-Id: I3a207f86611a5078cd2de1437cd48e612232aaf2
-