Commit Graph

21 Commits

Author SHA1 Message Date
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Takeshi Abe
7958f8244c catch exception by constant reference 2011-12-21 21:57:54 +09:00
Lionel Elie Mamane
58aa95c944 Janitorial: remove unnecessary const_casts
The python C API has consts at these places
2011-08-21 01:46:09 +02:00
Michael Meeks
f85638485c don't crash when interacting with a class that implements XInvocation
VclStringResourceLoader eg.
    test = smgr.createInstance("com.sun.star.resource.VclStringResourceLoader")
    invocation = test.setValue("FileName", "test")

It seems we can't cope with XInvocation implementors, so give a nice
exception instead
2011-05-19 14:50:35 +01:00
Andreas Becker
a09ce46818 Port PyUno to support Python 3 2011-05-07 20:35:03 +01:00
Sebastian Spaeth
a715e1b3d0 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Vladimir Glazounov
b0bc9610a0 CWS-TOOLING: integrate CWS cmcfixes55
2009-03-03 10:04:14 +0100 cmc  r268711 : #i99765# silence warning
2009-03-02 12:18:48 +0100 cmc  r268647 : #i99772# silence warnings under >= python 2.6 and gcc 4.4
2009-03-02 10:51:12 +0100 cmc  r268641 : #i99767# fix up trivial && ||
2009-03-02 10:32:02 +0100 cmc  r268640 : #i99766 remove && || warning
2009-03-02 10:01:05 +0100 cmc  r268638 : #i99764# easy && || warnings
2009-02-27 13:03:08 +0100 cmc  r268583 : #i96059# fix dodgy code
2009-02-27 12:57:38 +0100 cmc  r268582 : #i99718# don't leave unused methods on non-win platform
2009-03-14 17:15:26 +00:00
Rüdiger Timm
42dd34e8b4 INTEGRATION: CWS changefileheader (1.11.12); FILE MERGED
2008/03/31 07:24:58 rt 1.11.12.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:32:21 +00:00
Kurt Zenker
b5eecfbc5c INTEGRATION: CWS pyunofixes4 (1.10.22); FILE MERGED
2007/07/30 19:43:44 jbu 1.10.22.1: adding pythonpath import functionality, fixed a gc deadlock, fixed some minor issues
2007-10-11 10:52:28 +00:00
Ivo Hinkelmann
2be908a0e6 INTEGRATION: CWS pyunofixes3_SRC680 (1.9.20); FILE MERGED
2006/11/06 18:11:11 pmladek 1.9.20.1: #i71078#
Fix allocating and deleting python objects
2006-11-14 17:21:24 +00:00
Jens-Heiner Rechtien
f1259dd5ec INTEGRATION: CWS warnings01 (1.6.16); FILE MERGED
2006/04/07 21:24:02 sb 1.6.16.5: RESYNC: (1.7-1.8); FILE MERGED
2005/11/10 09:12:37 pl 1.6.16.4: #i53898# removed warnings
2005/10/31 16:04:23 sb 1.6.16.3: #i53898# Made code warning-free.
2005/09/23 02:07:52 sb 1.6.16.2: RESYNC: (1.6-1.7); FILE MERGED
2005/09/09 15:31:16 sb 1.6.16.1: #i53898# Made code warning-free.
2006-06-20 04:03:05 +00:00
Oliver Bolte
a69acc3c83 INTEGRATION: CWS pyunofixes2 (1.6.12); FILE MERGED
2006/01/07 21:35:48 jbu 1.6.12.2: RESYNC: (1.6-1.7); FILE MERGED
2005/09/09 18:43:06 jbu 1.6.12.1: #i54416#,#i47270# added logging support for pyuno + refcounting bug for __members__ variable fixed
2006-03-22 09:48:07 +00:00
Rüdiger Timm
e6956feb11 INTEGRATION: CWS ooo19126 (1.6.14); FILE MERGED
2005/09/05 18:39:20 rt 1.6.14.1: #i54170# Change license header: remove SISSL
2005-09-08 15:51:33 +00:00
Jens-Heiner Rechtien
5b1e396d82 INTEGRATION: CWS pyunofixes1 (1.5.24); FILE MERGED
2004/12/19 20:57:54 jbu 1.5.24.1: #i31159# struct any members can now be assigned with uno.Any
2005-02-11 15:39:58 +00:00
Jens-Heiner Rechtien
b8dfabfb06 INTEGRATION: CWS geordi2q14 (1.4.12); FILE MERGED
2004/01/29 18:09:52 hr 1.4.12.1: #111934#: merge CWS ooo111fix2
2004-02-02 18:29:18 +00:00
Hans-Joachim Lankenau
0bde3353b1 INTEGRATION: CWS geordi2q01 (1.3.14); FILE MERGED
2003/08/18 13:04:05 hr 1.3.14.1: #i18350#: join changes from CWS ooo11rc3
2003-08-18 14:00:59 +00:00
Jörg Budischewski
89d55b843d #i12504# added PyUNO_invoke, removed the _print workaround, was crashing anyway 2003-05-24 22:26:45 +00:00
Jörg Budischewski
e0a1cd4dc7 fixed a deadlock 2003-05-24 10:00:56 +00:00
Jörg Budischewski
e80bdbafeb initial checkin for the pyuno-0.9.2 release 2003-03-23 11:12:59 +00:00