Commit graph

495 commits

Author SHA1 Message Date
Caolán McNamara
7a9abd681b coverity#982756 Dereference null return value
Change-Id: I0f2ef4cb61a5774c3d2251897ee914f959ae44a8
2014-08-07 18:00:45 +01:00
Caolán McNamara
de61e7302d coverity#706600 Uncaught exception
Change-Id: I93868e6acc8e245f15ece38e00390dfc3bd9ee8c
2014-07-21 13:59:34 +01:00
Caolán McNamara
0df43cc217 coverity#982756 Dereference null return value
Change-Id: I5bfb5c86093aca4b88b2abf39836a1c6d7cb0bea
2014-07-10 13:39:17 +01:00
Noel Grandin
0e507ae031 various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-05 08:17:52 +02:00
Stephan Bergmann
9828206408 Demystify magic ponies
Change-Id: I7e619daf8743d3471ece72d81f6cf1bb61741646
2014-06-04 08:55:11 +02:00
Caolán McNamara
86598a4e18 coverity#982753 Dereference null return value
Change-Id: I011a600a27c801dca32734e680ea5a13dfebdfe3
2014-06-03 20:10:18 +01:00
Caolán McNamara
2ca70c3b5c coverity#982755 Dereference null return value
Change-Id: I652b308d087c1ee9fff95f81297b079e3f816e07
2014-06-03 20:10:18 +01:00
Caolán McNamara
b75b626ee5 coverity#982756 Dereference null return value
Change-Id: Ia29c6167df0ce061fae88d81bef9a98ca37fcce3
2014-06-03 20:10:17 +01:00
Caolán McNamara
9fbcf18e53 coverity#982751 Dereference null return value
Change-Id: I070317e55cf3260d1d50def0894a507cd08cc43f
2014-05-26 15:51:59 +01:00
Caolán McNamara
f556b1b614 coverity#982752 Dereference null return value
Change-Id: I394a13939d67b6959903e277dd78ea05cdcadfa8
2014-05-26 15:51:58 +01:00
Caolán McNamara
6342a9c49e coverity#982754 Dereference null return value
Change-Id: I0d0dc196f223a988fd029cc61a8b160b2150534c
2014-05-26 15:51:58 +01:00
Caolán McNamara
dfddb56699 coverity#982757 Dereference null return value
Change-Id: Ie2c88a778bb25e6909138e633fe115686e2cc026
2014-05-26 15:51:58 +01:00
Caolán McNamara
88d9c87058 coverity#982758 Dereference null return value
Change-Id: Ia797bbd9c5587d2b55dd183a377e5b3dded96e7b
2014-05-26 15:51:57 +01:00
Caolán McNamara
b15532a03c coverity#982761 Dereference null return value
Change-Id: I35e93ccf5992236d163d708089cd798e324157fb
2014-05-26 15:51:57 +01:00
Caolán McNamara
e17245c0c2 coverity#982759 Dereference null return value
Change-Id: I72209c52d6a8d036f0903f39b91fc62a2880448b
2014-05-26 15:51:57 +01:00
Caolán McNamara
5bdc28028c coverity#982760 Dereference null return value
Change-Id: I779fa5fa418370dd6c53308943374e981f65ae29
2014-05-26 15:51:56 +01:00
Caolán McNamara
b074466007 coverity#982169 Unchecked return value
Change-Id: I4aa333a907ff050fff4a4c7c41120ce00961673c
2014-05-26 15:51:54 +01:00
Julien Nabet
ac76cc7e60 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
Noel Grandin
e7bc3cab01 remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.

Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
Thomas Arnhold
a81a079305 pyuno: fix warnings with system python 3.4.0
warning: missing initializer for member '_typeobject::tp_finalize' [-Wmissing-field-initializers]

Change-Id: I7ab82025fd8c2f0d8fa4943690a217c4a4dc369d
2014-05-19 20:04:22 +02:00
Thomas Arnhold
2bd7767d01 Resolves fdo#70681: fixincludeguards.pl: all that's left
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
Noel Grandin
e5d0a9ad78 pyuno: sal_Bool->bool
Change-Id: I071c8984cd86b523d8ebae04b5fb2bdc1ac1a5b1
2014-05-08 11:48:14 +02:00
Norbert Thiebaud
731f7fe778 disable pytest_ssl on mac
Change-Id: I9f6a50f00bd98aeffa46f3ef40211e30edf658d6
2014-04-25 10:23:22 -05:00
Caolán McNamara
ca4a39eff6 as suspected
Change-Id: Idad0ba862da7317b5824f1bfb400d05cef105b7f
2014-04-24 14:31:24 +01:00
Caolán McNamara
6e24cf09c5 test for _ssl
I'm still suspicious

Change-Id: I56bfbe1ea2f92ffba6264b7543fa5df7f29f2bd0
2014-04-24 14:12:39 +01:00
David Tardon
d5556631e9 this test apparently does not need pyuno
Change-Id: I6000620bec95f32ec357a3e56e14f3255da978af
2014-04-18 22:21:10 +02:00
David Tardon
8dd3739ad5 Revert "python depend only working under windows so"
This reverts commit 89f6ff4c29.
2014-04-18 17:39:21 +02:00
Caolán McNamara
89f6ff4c29 python depend only working under windows so
revert 6980da3754 for the moment

Change-Id: I1c6e6d74bee6d3008e32c48c0da4a7faf90c8f60
2014-04-18 15:08:22 +01:00
David Tardon
1a02692e7f test for enabled python is already handled by PythonTest
Change-Id: I23ada017f4294fbd34e9b245d012700021914881
2014-04-18 14:50:50 +02:00
David Tardon
6980da3754 move pyuno ssl test back to check targets
Change-Id: Ib256217aa014693c73b233a4d8be4c0224287739
2014-04-18 14:49:37 +02:00
Caolán McNamara
5741e67a00 sigh, unclear how to make python tests depend on python
Change-Id: I28884169cb633d2aa9ad11d4b31ab9424776b0f1
2014-04-18 12:18:20 +01:00
Caolán McNamara
fb46a35425 tweak the other one
Change-Id: Ib85724173c0bf6d45776d5407220a415da9c591b
2014-04-18 11:46:11 +01:00
Caolán McNamara
211b04ed4f wait until a bit later to run the import ssl test
Change-Id: Ic18917ce16b27b35347c19d6b9fa5889dc00f2d5
2014-04-18 11:28:58 +01:00
Caolán McNamara
ec95e6a17c add an import ssl test
Change-Id: Ia2dad214e6a224c979a8664bfded7d2caffb221a
2014-04-18 10:19:11 +01:00
Caolán McNamara
d69b30a84d coverity#1019376 Resource leak
Change-Id: Ifa9c5a7b3aa0d219e09fa3081e66d870a508a84d
2014-04-02 15:51:15 +01:00
Stephan Bergmann
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Noel Grandin
86a32589e9 Find places where OUString and OString are passed by value.
It's not very efficient, because we generally end up copying it twice -
once into the parameter and again into the destination OUString.

So I create a clang plugin that finds such places and generates a
warning so that we can convert them to pass-by-reference.

Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-03-18 08:32:26 +02:00
Stephan Bergmann
d89928441d pyuno: simplify deprecated XTypeProvider.getImplementationId
Change-Id: Ia99dca3619fb893d1b9f3a46f1f1285e3fe1bc8e
2014-03-10 17:39:56 +01:00
Stephan Bergmann
25cedf1dc7 Introduce com.sun.star.beans.theIntrospection singleton
...deprecating com.sun.star.beans.Introspection (single-instance) service.

Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-03-07 10:33:07 +01:00
Michael Stahl
fd7cf77ad5 pyuno: rename Executable_python_wrapper.mk
Change-Id: I653cb0e36c1faa622ecc90e0316a1f1fd1e843db
2014-03-03 23:44:12 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
3a35e28628 Remove visual noise from pyuno
Change-Id: I27f5edf45d5968879436e2466f953576651ed8ae
Reviewed-on: https://gerrit.libreoffice.org/8290
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 09:21:35 -06:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
Kevin Hunter
f2471280c7 Test for fdo#74824.
The bug in question crashed LibO when inserting a group of cells.
This bug was quashed, per se, by commit
07e2c31831, but it occurs to me that at
least the particular functionality of inserting a group of cells could
use more testing.

Change-Id: Icdbfff86fb0265eef325bcc94d9fc9f3e9e38413
2014-02-20 12:01:34 +01:00
Stephan Bergmann
4e887567c5 A rudimentary framework for additional Python tests not run by default
* see the mail thread starting at
  <http://lists.freedesktop.org/archives/libreoffice/2014-February/059548.html>
  "Testing/Working on PyUNO?" for a rationale

* run the tests via top-level "make PythonTest_pytests" or "cd pyuno && make -rs
  PythonTest_pytests" or similar

* see the documentation in pyuno/PythonTest_pytests.mk for adding tests to the
  framework

Change-Id: I6a2a9e60b3294cd649f9cccbaffbd3f6bd79ecff
2014-02-20 12:01:34 +01:00
Michael Stahl
0443d0a90e normalize values of SYSTEM_PYTHON, SYSTEM_MYSQL_CPPCONN
Change-Id: I8932febdd39c35f23fb3a89703b69e25302f5678
2014-02-12 09:53:09 +01:00
Stephan Bergmann
9e77c2fb7c Remove UNOIDL "array" and "union" vaporware remnants
...and deprecate what cannot be removed for compatibility.

Change-Id: I1ea335af775b867b468b8285113631167729a92a
2014-01-31 10:15:47 +01:00
Stephan Bergmann
b1de7935b8 coverity#983054, reorder code to avoid memory leak
Change-Id: If14160802f77673e3ebe69850e00d0506125969c
2014-01-30 12:01:47 +01:00
Stephan Bergmann
612dac063a bool improvements
Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
2014-01-29 11:08:32 +01:00
Stephan Bergmann
8e15df3dce bool improvements
Change-Id: I42f6d8b3e62834b0612d84586f791f25e967c9c7
2014-01-28 20:26:24 +01:00