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
Stephan Bergmann
cedba3ffd8
Use bool
...
Change-Id: I4c05c602ecdd77d07e8106387270bf01718e975b
2014-01-10 17:11:44 +01:00
David Bolen
1be8e912ba
fdo#50470: Restore pyuno object method introspection in Python 3
...
Switch to __dir__ entry point for introspection as Python 3 dropped support
for __members__/__methods__. This is backwards compatible to Python 2.6.
Module initialization adjusted to complete type setup (needed for tp_dict)
via PyType_Ready.
Change-Id: Ie1f7b9dd4279242de89d009eb7acdc8c786dab8f
Reviewed-on: https://gerrit.libreoffice.org/5375
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2013-08-13 11:34:52 +00:00
Herbert Dürr
28a4496c76
Resolves: #i120788# remove unused members from PyUNO_callable_Internals
...
Patch by: Tsutomu Uchino <hanya.runo@gmail.com >
(cherry picked from commit 5e2c3fd88906494965979bd20ca852391bee3bac)
Conflicts:
pyuno/source/module/pyuno_impl.hxx
Change-Id: If73d5f7b799f04b79b5cc71d2d44c797851b18d0
2013-07-12 11:45:05 +01:00
Luboš Luňák
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Tor Lillqvist
43df436f60
WaE: Fix needed with MSVS 2010, too
...
Change-Id: I1d1da64b14139c1d90ac07685f3fe88e99253815
2012-12-25 10:55:29 +02:00
Tor Lillqvist
781548472b
VS2012 WaE: C4211: nonstandard extension used : redefined extern to static
...
Some screwup with hypot(). As a workaround, include <math.h> early.
Change-Id: Ic8c6abc45f8502097c6b6b619108d50ea3c22392
2012-12-21 18:39:28 +02:00
Michael Stahl
af2b7fac27
pyuno: fix handling of "str", "unicode", "bytes" types:
...
Replace currrent wrappers of Python 2 only PyString_* functions with
better abstractions that handle default "str" (PyStr_*) or byte strings
("str"/"bytes" depending on version, PyStrBytes_*) and adjust all
invocations to work on appropriate string types.
Fixes obvious "attributes typeName and/or value of uno.Enum are not
strings" exceptions with Python 3.
Change-Id: I255dcb1bc198fd7f6a62b83b957901521071a480
2012-11-25 16:06:40 +01:00
Michael Meeks
1d3e6bb6c4
re-base on ALv2 code. Removing:
...
a patch contributed by Pedro Giffuni to handle FreeBSD issues
that are unlikely to be an issue with a two-layer LibreOffice.
http://svn.apache.org/viewvc?view=revision&revision=1180509
2012-07-02 16:52:50 +01:00
Alexander Bergmann
99b2adf721
Removed unused code
2012-02-10 14:20:52 +00:00
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
Joseph Powers
966b75157f
PyVarObject_HEAD_INIT() isn't defined in Python 2.5-
...
Mac OS X is still being compiled vs 2.3
2011-05-07 17:41:06 -07:00
Andreas Becker
a09ce46818
Port PyUno to support Python 3
2011-05-07 20:35:03 +01:00
Fridrich Strba
030633cd53
moving the rest of ure repository to boost unordered containers
2011-02-04 00:28:23 +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
Rüdiger Timm
6267704651
INTEGRATION: CWS changefileheader (1.6.54); FILE MERGED
...
2008/03/31 07:24:58 rt 1.6.54.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:35:32 +00:00
Jens-Heiner Rechtien
c79d6a2782
INTEGRATION: CWS warnings01 (1.3.44); FILE MERGED
...
2006/04/20 14:46:09 sb 1.3.44.5: #i53898# Made code warning-free again after resync to SRC680m162.
2006/04/07 21:24:23 sb 1.3.44.4: RESYNC: (1.4-1.5); FILE MERGED
2006/03/01 10:01:16 sb 1.3.44.3: #i53898# Made code waring-free.
2005/09/23 02:08:50 sb 1.3.44.2: RESYNC: (1.3-1.4); FILE MERGED
2005/09/09 15:31:19 sb 1.3.44.1: #i53898# Made code warning-free.
2006-06-20 04:03:59 +00:00
Oliver Bolte
b9a3ce0386
INTEGRATION: CWS pyunofixes2 (1.3.40); FILE MERGED
...
2006/01/07 21:35:15 jbu 1.3.40.3: RESYNC: (1.3-1.4); FILE MERGED
2005/09/09 18:51:58 jbu 1.3.40.2: #i54416# removed now obsolete PYUNO_DEBUG macro
2005/09/09 18:43:07 jbu 1.3.40.1: #i54416#,#i47270# added logging support for pyuno + refcounting bug for __members__ variable fixed
2006-03-22 09:49:43 +00:00
Rüdiger Timm
6f477c90de
INTEGRATION: CWS ooo19126 (1.3.42); FILE MERGED
...
2005/09/05 18:39:21 rt 1.3.42.1: #i54170# Change license header: remove SISSL
2005-09-08 15:52:59 +00:00
Jens-Heiner Rechtien
37e9825d0d
INTEGRATION: CWS geordi2q14 (1.2.34); FILE MERGED
...
2004/01/29 18:09:56 hr 1.2.34.1: #111934#: merge CWS ooo111fix2
2004-02-02 18:30:27 +00:00
Jörg Budischewski
4640b548a7
#i12504# added conversion mode
2003-05-24 22:28:33 +00:00
Jörg Budischewski
e80bdbafeb
initial checkin for the pyuno-0.9.2 release
2003-03-23 11:12:59 +00:00