summaryrefslogtreecommitdiff
path: root/pyuno
AgeCommit message (Collapse)AuthorFilesLines
2014-10-30Add includeStephan Bergmann1-0/+4
Change-Id: I0598e9d0c9c33c538aa02eabc2c09d96ec3c9b4d
2014-10-29fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTNaruhiko Ogasawara1-2/+2
- Clean up OSL_ASSERT Change-Id: I1f3a5dcfe08876da9bb4a8486311eb0ca9bab215 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-10-28Fix python wrapper script on OS XMatthew J. Francis4-8/+11
Change-Id: Icfac94022ee026ad8e9d9d5298e5cc7fbd7121be Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-29loplugin: cstylecastNoel Grandin1-3/+2
Change-Id: I53b69a488c70769cbb841db519bc28fd211dc087
2014-09-21Don't try to write Python bytecode files in case of a read-only installsetTor Lillqvist1-0/+6
It causes annoying messages in the system log in the OS X sandboxed case. Change-Id: I8ae3eb34df2c045bdbdfc63cae9007f973c42537
2014-09-12pyuno: remove obsolete NOOPT comment about GCC 3.2Michael Stahl1-4/+0
Change-Id: Ie280325ddc45a79f3b73ae10f6e9cf952657091b
2014-09-09Make the "Mac-like" or "canonical" app bundle structure always used on OS XTor Lillqvist3-3/+3
In other words, only executable files go in the MacOS folder. Dynamic libraries and bundled frameworks (i.e., LibreOfficePython), and nothing else, go in the Frameworks folder, and all other files go in the Resources folder. Especially, note that Java class files and rc (.ini) files also go in Resources. Such an app bundle structure is what Apple strongly suggests one should use, and it has been hinted that future versions of code signing and/or Gatekeeper will require such a structure. There is still some ugliness thanks to traces of the historical separation of URE from "the office". Like there are two separate "unorc" files, one for URE, one for the LibreOffice application. IMHO, this should be cleaned up, but is probably controversial. (Eek! I now see there are actually *three* unorc files in the app bundle. Not intentional. Need to fix that later.) Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606
2014-08-28fdo#46678: pyuno: fix deadlock in Runtime::any2PyObject()Michael Stahl1-6/+12
When calling XUnoTunnel::getSomething(), the function must drop the CPython GIL to avoid deadlock since there are implementations of XUnoTunnel that acquire SolarMutex. Change-Id: I51ffce9bdee9a51c932902e77856f865eae81d2a
2014-08-07coverity#982756 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: I0f2ef4cb61a5774c3d2251897ee914f959ae44a8
2014-07-21coverity#706600 Uncaught exceptionCaolán McNamara1-2/+1
Change-Id: I93868e6acc8e245f15ece38e00390dfc3bd9ee8c
2014-07-10coverity#982756 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: I5bfb5c86093aca4b88b2abf39836a1c6d7cb0bea
2014-06-05various: remove SAL_THROW macroNoel Grandin2-2/+2
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04Demystify magic poniesStephan Bergmann2-3/+3
Change-Id: I7e619daf8743d3471ece72d81f6cf1bb61741646
2014-06-03coverity#982753 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: I011a600a27c801dca32734e680ea5a13dfebdfe3
2014-06-03coverity#982755 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: I652b308d087c1ee9fff95f81297b079e3f816e07
2014-06-03coverity#982756 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: Ia29c6167df0ce061fae88d81bef9a98ca37fcce3
2014-05-26coverity#982751 Dereference null return valueCaolán McNamara1-1/+2
Change-Id: I070317e55cf3260d1d50def0894a507cd08cc43f
2014-05-26coverity#982752 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: I394a13939d67b6959903e277dd78ea05cdcadfa8
2014-05-26coverity#982754 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: I0d0dc196f223a988fd029cc61a8b160b2150534c
2014-05-26coverity#982757 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: Ie2c88a778bb25e6909138e633fe115686e2cc026
2014-05-26coverity#982758 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: Ia797bbd9c5587d2b55dd183a377e5b3dded96e7b
2014-05-26coverity#982761 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: I35e93ccf5992236d163d708089cd798e324157fb
2014-05-26coverity#982759 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: I72209c52d6a8d036f0903f39b91fc62a2880448b
2014-05-26coverity#982760 Dereference null return valueCaolán McNamara2-1/+14
Change-Id: I779fa5fa418370dd6c53308943374e981f65ae29
2014-05-26coverity#982169 Unchecked return valueCaolán McNamara1-2/+2
Change-Id: I4aa333a907ff050fff4a4c7c41120ce00961673c
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet1-1/+1
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin8-83/+52
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-19pyuno: fix warnings with system python 3.4.0Thomas Arnhold3-0/+9
warning: missing initializer for member '_typeobject::tp_finalize' [-Wmissing-field-initializers] Change-Id: I7ab82025fd8c2f0d8fa4943690a217c4a4dc369d
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2-4/+4
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-08pyuno: sal_Bool->boolNoel Grandin4-8/+8
Change-Id: I071c8984cd86b523d8ebae04b5fb2bdc1ac1a5b1
2014-04-25disable pytest_ssl on macNorbert Thiebaud1-0/+2
Change-Id: I9f6a50f00bd98aeffa46f3ef40211e30edf658d6
2014-04-24as suspectedCaolán McNamara1-1/+1
Change-Id: Idad0ba862da7317b5824f1bfb400d05cef105b7f
2014-04-24test for _sslCaolán McNamara2-2/+2
I'm still suspicious Change-Id: I56bfbe1ea2f92ffba6264b7543fa5df7f29f2bd0
2014-04-18this test apparently does not need pyunoDavid Tardon1-2/+0
Change-Id: I6000620bec95f32ec357a3e56e14f3255da978af
2014-04-18Revert "python depend only working under windows so"David Tardon1-5/+1
This reverts commit 89f6ff4c296de5e61d5bfb0cfef55e482839e227.
2014-04-18python depend only working under windows soCaolán McNamara1-1/+5
revert 6980da37549d9ae0a89812aeccfa5365c9f7a9b9 for the moment Change-Id: I1c6e6d74bee6d3008e32c48c0da4a7faf90c8f60
2014-04-18test for enabled python is already handled by PythonTestDavid Tardon1-2/+0
Change-Id: I23ada017f4294fbd34e9b245d012700021914881
2014-04-18move pyuno ssl test back to check targetsDavid Tardon1-5/+1
Change-Id: Ib256217aa014693c73b233a4d8be4c0224287739
2014-04-18sigh, unclear how to make python tests depend on pythonCaolán McNamara1-1/+5
Change-Id: I28884169cb633d2aa9ad11d4b31ab9424776b0f1
2014-04-18tweak the other oneCaolán McNamara1-2/+2
Change-Id: Ib85724173c0bf6d45776d5407220a415da9c591b
2014-04-18wait until a bit later to run the import ssl testCaolán McNamara1-1/+1
Change-Id: Ic18917ce16b27b35347c19d6b9fa5889dc00f2d5
2014-04-18add an import ssl testCaolán McNamara4-0/+35
Change-Id: Ia2dad214e6a224c979a8664bfded7d2caffb221a
2014-04-02coverity#1019376 Resource leakCaolán McNamara2-4/+9
Change-Id: Ifa9c5a7b3aa0d219e09fa3081e66d870a508a84d
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2-8/+8
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin1-2/+2
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-10pyuno: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann1-3/+3
Change-Id: Ia99dca3619fb893d1b9f3a46f1f1285e3fe1bc8e
2014-03-07Introduce com.sun.star.beans.theIntrospection singletonStephan Bergmann1-3/+3
...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-03-03pyuno: rename Executable_python_wrapper.mkMichael Stahl2-1/+1
Change-Id: I653cb0e36c1faa622ecc90e0316a1f1fd1e843db
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2-14/+14
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from pyunoAlexander Wilms1-3/+3
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>