summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-05xmlsecurity: add script to create test certificatesMiklos Vajna
Change-Id: I9280cec602e15e3ae478911360ff7ce68d460474
2016-01-05tdf#96674 drawingML import: fix handling of zero width/height linesMiklos Vajna
Change-Id: If3d9f6272031e08ab228cfa58963d60ceede2498
2016-01-05Adapt loplugin:implicitboolconversion to changes in Clang trunk towards 3.8Stephan Bergmann
Change-Id: I7841eee5b66a118c52258c0226d73a1139a0df9a
2016-01-05Fix typosAndrea Gelmini
Change-Id: I1b79005d9c4e32325b8dadcc4f805975d6bf2727 Reviewed-on: https://gerrit.libreoffice.org/21103 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-01-05tdf#96708: don't modify document while copying to clipboardMike Kaganski
I.e., don't try to create auto-layout for clipboard pages which don't contain one; don't resize objects to text. Also, don't invalidate items that are equal to defaults, because explicitly set items are not the same as absent items: pasting an object without an item makes the property to inherit new target's default, while when the item is present, the default doesn't apply. Also, don't consider selected state of the page while stringifying - this makes selected page string to differ from not-selected clipboard page. Change-Id: I172e03e1a8c428e5fcae3a116cc9ad8de79f1a87 Reviewed-on: https://gerrit.libreoffice.org/20871 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-01-05tdf#69640: Treat errors opening OLE stream gracefullyMike Kaganski
The testcase for tdf#69640 includes links (relations) to external pptx files. It demonstrates two non-fatal reasons for failure opening OLE stream: 1. it fails OStorageHelper::IsValidZipEntryFileName check, because the file path contains ":\"; 2. even if that were not the case, the required file can be absent from user's system. I suppose that intercepting the failure at the level of OOXMLOLEHandler::attribute() is the best option, because at the lower level it's unknown if this failure is fatal or not. I suppose that it could be also useful to intercept specifically failures in OStorageHelper::IsValidZipEntryFileName, checking if the file exist externally, and asking users if they want to update external links (as MSO does). Possibly it should be discussed with UX team if that should be done, and if so, do it in separate commit. Change-Id: I240a6f69abe236eb790bb406c79f3b761fb4638a Reviewed-on: https://gerrit.libreoffice.org/19963 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-01-05Use .dict files since below the 500K limitMartin Hosken
Change-Id: Iec71ad4918cd333f0a44d372017ecee300e3aca9 Reviewed-on: https://gerrit.libreoffice.org/20748 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2016-01-05let us try to use the pid as well on windowsMarkus Mohrhard
I'm a bit worried that some of our random test failures are related to trying to reuse the same temp file in different tests. Change-Id: I0ca4ace088a96530e6a62d01f979fefe63822b22 Reviewed-on: https://gerrit.libreoffice.org/21090 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-01-04tdf#96690 - don't copy tiny non-rendered-to virtual devices.Michael Meeks
Change-Id: Ic9d90bb7f652599b5a6ce303aa026b7e4e255324
2016-01-04vcldemo: adjust benchmarking weights to fit changed workloads.Michael Meeks
Change-Id: I2cd8cdd541fd4095aea8abd2ea78b11e7df77440
2016-01-04remove unnecessary ;Markus Mohrhard
Change-Id: I0e16305cac5cd5e4824a4e2bab7e4ac10d2bd469
2016-01-04fix typoMarkus Mohrhard
Change-Id: Id17aa3eea4d6ccb956f9c0b1fd97007ef0257955
2016-01-04don't use the same files in different unit testsMarkus Mohrhard
I currently assume that this is responsible for some of our heisenbugs on windows. I think the windows file locking is causing issues when two test try to access the same file in parallel. This is more likely to happen on the fast windows ci boxes. Change-Id: I423f6c723c2ec558026867a118972e98279bd2c2
2016-01-04tdf#96127 Android: No UI visibleAlexF
Duplicate <include layout="@layout/toolbar"/> statement found. Problem could be caused by either 1) a differing xml reading mechanism across android versions 2) toolbar being accessed in a different way across android versions Duplicate element removed, and linearlayout shifted below first toolbar. Change-Id: I084b6498745bc72988f3a8eed12f7a72d261e267 Reviewed-on: https://gerrit.libreoffice.org/20422 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-04cppcheck: duplInheritedMemberCaolán McNamara
Change-Id: I451a7a04fd1578d3095e5931f0792a32870a647e
2016-01-04loplugin:stringconstantStephan Bergmann
Change-Id: I08430479a2c8d1fd6e3fc357ba3069b3a7bb6ac8
2016-01-04loplugin:stringconstantStephan Bergmann
Change-Id: I45c0b74c9d54120bfac85f16a336ac7ff487ed73
2016-01-04loplugin:staticmethodsStephan Bergmann
Change-Id: Iedeb2b87da0f230961c1c22275f980acbe7a9e5b
2016-01-04Related tdf#96833: fix behaviour of 'Remote Files' edit dialog.Giuseppe Castagno
Fixed: - TCP port got lost/reset when editing a server; - in Gtk widget disabled comma; - secure protocol checkbox always unchecked when editing a server. Change-Id: I358fc7375552b29e4840a3616e4e47b95b88ed2c Reviewed-on: https://gerrit.libreoffice.org/21039 Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
2016-01-04correct WEEKNUM DayOfWeek handling, tdf#50950 follow-up, tdf#95419 relatedEike Rathke
Slight misinterpretation of the {Sunday, Monday, Monday, Tuesday, ..., Sunday} sequence defined in ODFF. Change-Id: I09ac711adf8a52db1c9efbb1c67dc908b8e06618
2016-01-04DOC(X) filter: BAF -> BAILS in the smart tag mappingMiklos Vajna
The filters map between a common subset of Word smart tags and Writer RDF annotations, and when doing so, they need to know what path to use for a smart tag namespace and also the other way around: what RDF types are interesting for smart tag purposes. It turns out there is BAILS specification at <http://www.tscp.org/wp-content/uploads/2013/08/TSCP_BAILSv1.pdf> that describes how to refer to BAF objects, so use that instead of our custom RDF statement / document metadata key names. Change-Id: Iac569608b05aa61547f664f2a5df7d46fe46da76
2016-01-04use correct decimal separatorMarkus Mohrhard
Change-Id: I342e9b5355c3ea09eede6c47b0f209f538ee82cb
2016-01-04Remove unused forward declarationsTor Lillqvist
Change-Id: Ic586d44d2ff0f913f655b8a7539326a6dea78477
2016-01-04Remove unused forward declarationsTor Lillqvist
Change-Id: I9db63e6c6b4df33387b9b4d59450494e8bd856f1
2016-01-04correct ISOWEEKNUM resource ExtraData parameter flags, tdf#50950 follow-upEike Rathke
... which now has exactly 1 parameter; removed the now non-matching required flag of a not existing second parameter. Luckily the resource manager treats this as a separate record block and this 0 didn't harm the subsequent 0, accidentally.. Change-Id: I0994ed75643245c1bdebc9a92ade77abdd1c61d8
2016-01-04WEEKNUM second parameter is optional defaulting to 1, tdf#50950 follow-upEike Rathke
Change-Id: I64b22f91bf56497b9f705e4773e24c5ba88a14ae
2016-01-04these fields can be static constantsNoel Grandin
Change-Id: Id56e219782d7f858cdeb26232c7aabd4f643c9d9 Reviewed-on: https://gerrit.libreoffice.org/21020 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-04tdf#96855: Put back assignment of xHierAccessStephan Bergmann
...that had inadvertently been removed as part of a larger code removal in 6948c546fdc00dddec7d58e03150dcc87921d6b2 "tdf#75637: Resolve help images via a vnd.libreoffice.image UCP" Change-Id: Ic2d5e1a5fa5a10b240bb9e511e6dcb8097e58081
2016-01-04Get rid of silly stderr0 macroTor Lillqvist
Change-Id: Ibc51fb4cc72163fb643a85ad3f0b6061b7d77ccc
2016-01-04Related tdf#96833: Allow port with more than 4 charactersJulien Nabet
Change-Id: Ib6676f6f940ce497ac6fe28189e1c3a4ed4ec0bf Reviewed-on: https://gerrit.libreoffice.org/21032 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2016-01-04tdf#82775: Make NumberFormatCodeMapper MT safeStephan Bergmann
Change-Id: I77f49f09ce9fe5897f78044c0522210978c904d1
2016-01-04tdf#82775: Don't prematurely dispose single-instance servicesStephan Bergmann
...that happen to be requested concurrently from multiple threads Change-Id: Icecfb0b8d88c9123064689643eddf90a99d3b1b8
2016-01-04Related tdf#82775: Check for disposed-nessStephan Bergmann
...instead of dereferencing null pointers Change-Id: I9d1709468a5b601b9f3d86dadea7a8e817f449d8
2016-01-04Use CPPUNIT_ASSERT_DOUBLES_EQUALStephan Bergmann
...except when checking for infinity Change-Id: If6e3b8965169cc615fa5d76422e1925866714936
2016-01-04loplugin:cstylecastStephan Bergmann
Change-Id: I5ecd63d79e8be77879d3789c45079929696abe03
2016-01-04tdf#96136 replace CPPUNIT_ASSERT with CPPUNIT_ASSERT_EQUALDipangar Niranjar
Change-Id: Ib45af8a56ac3adc428c530908cf1bbd95e9cc64c Reviewed-on: https://gerrit.libreoffice.org/21065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-04Remove two pointless DBG_ASSERTs "There is no Dde-Service"Tor Lillqvist
Avoid hundreds of presumably pointless warning messages in some unit tests at least. The code explicitly checks and handles the asserted condition not being true right after the DBG_ASSERTs. Change-Id: I5482c56aeeadb8f85dfdd03e12960abd7e769c56
2016-01-04sw: prefix members of SwAttrSetChgMiklos Vajna
Change-Id: Ie24194fe04dafbc447cf8a8a015316e9ba6e9ac9 Reviewed-on: https://gerrit.libreoffice.org/21071 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-01-04TDE kab: fix dbgutil and clang werror buildJan-Marek Glogowski
Change-Id: I37948ff77d060dc18a583389966b52c06a95bdaf
2016-01-04Remove warning that can be ignoredTor Lillqvist
"yeah, makes sense to remove it", says Stephan. Change-Id: Ife7baa5814a856dca7f0f02ac3cb2521e2980851
2016-01-04Updated coreAndras Timar
Project: dictionaries ce7755c7d3179d682dfaccace9e64b6a008c77d2 tdf#96782 updated German dictionaries Change-Id: Ifa7aed93eaa0448ba530cc029ee55480060e1be5
2016-01-04vcl: split classes out of metric.hxxChris Sherlock
Change-Id: Id3b155abec7b7a2ff43d0a35e98709f5ee51c6b9 Reviewed-on: https://gerrit.libreoffice.org/21069 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-04the idea behind the test can't work right nowMarkus Mohrhard
The Test currently tries to test the OpenCL and the SW interpreter and assumes that it will show different results. However if we succeed in generating an OpenCL interpreter we will never generate a SW interpreter. There are a number of problems with the approach taken in this test. 1.) Assuming that we are able to execute OpenCL is an invalid assumption. 2.) Changing the configuration inside of a test needs to be exeption save as we are otherwise left with a strange config for the remaining test cases. 3.) Changing the configuration does not change the formula group interpreter. This needs to be done explicitly. Change-Id: I679985ee7551b21aaa52038e107324980e7e1bb6
2016-01-04let us use the standard way to implement an if .. else ifMarkus Mohrhard
Change-Id: Ie0b3efdbe23a163aab1e8d128217ee1f1c7fd287
2016-01-03loplugin:implicitboolconversionAndrzej Hunt
Change-Id: I2ef26c34a424e653d85597c85baa736c19004313
2016-01-03cppcheck: passedByValueCaolán McNamara
Change-Id: Id8b2db3b824ea40345aba99a5f24f2579c0ad630
2016-01-03cppcheck: allocaCalledCaolán McNamara
Change-Id: I4e2345cdf9fd8d088f3522d563263b65abedb7c9
2016-01-03loplugin:stringconstantStephan Bergmann
Change-Id: I588a9c0205e03f701b617fd1775e7f9b9b88c6b0
2016-01-04Cleanup after removing vcl::FontInfo classChris Sherlock
Change-Id: I544eac439cb7277e47a23a90c6fbc45496161c3b
2016-01-03loplugin:stringconstantStephan Bergmann
Change-Id: I60ee2ccc6090c305ade4ba16d3d298866cf89c4e