summaryrefslogtreecommitdiff
path: root/smoketest/libtest.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-02-15WaE: loplugin:cstylecastTor Lillqvist1-1/+1
Change-Id: I96bda48eb553f467fcf5d7120561d2160647e3bb
2016-02-15smoketest: loplugin:nullptrMichael Stahl1-1/+1
Change-Id: I849e2e945a31ab37c9a24969d6e1decd69170380
2016-02-15Introduce lok_preinit() to preload all registered UNO implementationsHenry Castro1-1/+23
Intended to be used from an application like the LibreOffice On-Line server so that it can be called in a process that then will call fork() several times, and much space consuming data will end up being shared. Change-Id: I65341c57d00308d246ec90deab8050b2c4bb3e61
2016-02-09Remove excess newlinesChris Sherlock1-1/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-2/+2
Change-Id: Ib245679d105d52d187e63b29dfc7f4076dadad13
2014-11-18Preparation of the LibreOfficeKit for WindowsJuergen Funk1-12/+46
- not yet included in the make for windows Change-Id: Iee31b0ed0c6545572295ce00a3bb0f909c428b5a Reviewed-on: https://gerrit.libreoffice.org/12425 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-06coverity#1000834 Use of untrusted string valueCaolán McNamara1-0/+1
and coverity#706196 Use of untrusted string value coverity#1244947 Use of untrusted string value Change-Id: I5083aba2eff9e852a24513db431585922302b279
2014-07-29Kill the libreofficekit static library / shim.c.Andrzej Hunt1-0/+1
It looks like the cleanest method of getting lok_init into a LibreOfficeKitInit.h header (in a c89 compatible way) is to have it as a static function. (inline is only available in C99 or later -- this is actually available on Linux which is the only place that we can actually use lok_init anyways currently, however given we have to keep c89 for the C code (for MSVC) compatibility, selectively enabling c99 would likely be more messy.) Change-Id: I0493e7a68ed5397479220bb6ba8c3db870b6dd32
2014-06-23LOK: kill saveAsWithOptions.Andrzej Hunt1-10/+0
The saveAsWithOptions/saveAs split existed for reasons of historical API compatibility. Since we're breaking the API currently we can now get a clean start, and get rid of the redundant saveAs, and make saveAsWithOptions the standard saveAs function. Change-Id: Ia3e2294a8604cab08e95b07544c9d10d42dd1152
2014-06-18LOK: kill double initialize.Andrzej Hunt1-7/+0
Change-Id: I4d3dd913faea8b9f4a0bd3c13af37d097ced9888
2014-06-17LOK: Split into instance and class.Andrzej Hunt1-3/+3
Change-Id: I2b6f33eaf12343c7da1328a932eb703bb4e4ef6f
2014-06-12cast loses precisionCaolán McNamara1-3/+4
Change-Id: Ic688f08cada4ae70ea1dfb1e29e249a166456452
2014-06-12liblok: check new methods via macros on nSize, not by de-referencing.Michael Meeks1-0/+10
We can't check for NULL from beyond the end of a smaller structure. Change-Id: Id3754bf747c402cf0d767eda5fd4b5ad6b5789e9
2014-06-12Complete LibreOfficeKit C++ renaming.Andrzej Hunt1-1/+1
Change-Id: Ice611cf5913051346a3a0c0b00ed35a35a0dfe3c
2014-06-11Upgrade LibreOfficeKit C++ API.Andrzej Hunt1-2/+4
Change-Id: If263b8fc748f67a1ed423c0f3f7cd465cf533993
2014-06-11Move liblibreoffice into LibreOfficeKit.Andrzej Hunt1-1/+1
Change-Id: Ib2754a77be470faaa6f9b27644a1d8dd082ed2b8
2013-11-15liblibo: expose a C API for ABI reasons, and wrap with C++.Michael Meeks1-1/+1
Change-Id: I7b3bcead05788e663d94724522bfa3f227b15499
2013-11-07liblibo: use gettimeofday not clock_gettime for better portability.Michael Meeks1-10/+7
Change-Id: Ic111faf5db7709483f20fea8cbf9ff4298301b8a
2013-11-07liblibo: improve the libtest sample app.Michael Meeks1-3/+23
Add command-line help, validate arguments more, better error reporting. Change-Id: Ia092895d0d116b003bb6c2a252f68ae9b6ba6d35
2013-11-07liblibo: fixes and improvements for liblibreofficeChristoph Lutz1-1/+29
fixes for liblibreoffice-Impl (init.cxx): determine outputfilter from file suffix if no filter is provided; ensure that url provided to XStorable.storeToUrl is really an url; improved error handling small improvements in somektest/libtest.cxx: output times required for init, load and save. Change-Id: Ic8b2c0d34cbeae3250c43cac02690e6ec1954ed7
2013-07-29liblo - add ability to select filter / format for saveas.Michael Meeks1-2/+5
Change-Id: I866c6cb836407019973559051c854d24f9549d2a
2013-07-26more liblibreoffice pieces.Michael Meeks1-1/+22
Change-Id: I21d67de281847321d784cddc652d4a51a437fadf
2013-03-12liblibo: install test library by itself and install it.Michael Meeks1-51/+23
Also fix debugging with threads, find fundamentalrc correctly, make it headless, finally loads a document then exits. Change-Id: I2017075bf3b3c7198bde53b9fe85585089e5ab6c
2013-03-12liblibo: test documentLoad methodJack Leigh1-0/+6
Change-Id: I7827a9b96e5a18b7f0b8b374a49ab96625d22d0a
2013-03-12liblibo: better init code.Michael Meeks1-1/+5
Change-Id: I8757739960cb1c764a5a66bd67d34731e3dfbf31
2013-03-12liblibo: move to C++ interface.Jack Leigh1-2/+4
Change-Id: Ie14a9446abd9524604feddf811d5373a26a30cbd
2013-03-12liblibo: create initial liblibreoffice.Michael Meeks1-0/+54
bootstrap libreoffice, start a dummy test-harness: can't use CppUnit or link to any URE / LibreOffice libraries. Change-Id: I855b640557f93959749e966a2d8e5e577fd84574