Noel Grandin
b30ee83058
fdo#46808, use service constructor for beans::Introspection
...
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-23 13:06:14 +02:00
Stephan Bergmann
0411360989
Some clean up of previous commit
...
Change-Id: I05287fd79455f968c770d61bf5f320b07bba7d9e
2012-09-05 15:46:55 +02:00
Noel Grandin
b679a2a021
fdo#46808, Adapt reflection::CoreReflection UNO service to new style
...
The XComponent part of the interface made no sense for a singleton,
so it was removed.
Explicitly document the 'theCoreReflection' singleton and move it
into it's own file.
Deprecated the now old CoreReflection service.
Change-Id: Ib8befa87c7da7eb53a2f587948fd54a64c082472
2012-09-05 15:46:55 +02:00
Noel Grandin
8638f1e72a
fdo#46808, Adapt script::Converter service code to new style
...
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-27 15:40:07 +02:00
Stephan Bergmann
618376bcb5
warning C4702: unreachable code
...
Change-Id: Ie2cc83dde7e0522e0bf669a1dd3d7a8ca680f7e2
2012-07-20 10:32:47 +02:00
Michael Stahl
ec41ccedb4
Runtime::any2PyObject: warning C4702: unreachable code
...
Change-Id: I303536b957f902d3bbda9f3a96b507851292523a
2012-07-11 00:15:05 +02: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
Norbert Thiebaud
df9ecb71c7
targeted string re-work
...
Change-Id: I44518bb1b464bb0b458c0b5f1c249ef160ea3b26
2012-06-01 09:41:50 -05:00
Norbert Thiebaud
9601b63509
targeted string re-work
...
Change-Id: Ibe5c739c3066f3e706a44b64d4ad775abde9662c
2012-06-01 09:41:49 -05:00
Takeshi Abe
5394b379eb
removed unused temporary rtl::OUString
...
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-23 01:06:54 +09:00
Szabolcs Dezsi
8a01ee6243
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
...
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Alexander Bergmann
99b2adf721
Removed unused code
2012-02-10 14:20:52 +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
Olivier Hallot
85d1ce27ad
Fix for fdo43460 Part XXVII getLength() to isEmpty()
...
Please find attached a partial fix for Easy Hack FDO43460
Part XXVII
Modules
padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
2012-01-02 19:17:17 +01:00
Takeshi Abe
7958f8244c
catch exception by constant reference
2011-12-21 21:57:54 +09:00
Michael Meeks
1a7eee2446
Improve pyuno debugging in various ways - add stack traces etc.
2011-12-05 20:53:24 +00:00
Lionel Elie Mamane
ac2359cf84
pyuno: close opened parenthesis in raised exception message
2011-08-21 01:46:09 +02:00
Lionel Elie Mamane
21192c6ea9
pyuno: some comments
2011-08-21 01:46:09 +02: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
Lionel Elie Mamane
d269a18250
Janitorial: remove unused variable
2011-08-21 01:46:08 +02:00
Lionel Elie Mamane
fa43b77422
pyuno: make extractUnoException handle exceptions raised by uno.py loading
...
This allows having a meaningful error message when extractUnoException
is called from pyuno_loader::getLoaderModule() (via
raiseRuntimeExceptionWhenNeeded()). If it is called to treat an error
that cropped up in loading uno.py, the old code would abort the whole
operation by throwing an exception because... it gets essentially the
same error. The new code leads to a sensible message on the Python
debug console.
2011-08-21 01:46:07 +02:00
Andreas Becker
a09ce46818
Port PyUno to support Python 3
2011-05-07 20:35:03 +01:00
Joseph Powers
a3d4063f88
Add missing #include <vector> to the file.
2011-02-03 21:35:13 -08:00
Thomas Arnhold
1a1bf03786
Replace suitable equalsAscii calls with equalsAsciiL.
...
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
2011-01-20 11:38:15 +01:00
Gert Faller
ab1751a151
RTL_CONSTASCII_USTRINGPARAM in ure 2
2010-12-10 18:54:29 +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
Vladimir Glazunov
5284d1d961
CWS-TOOLING: integrate CWS changefileheader2
2010-02-17 10:32:35 +01: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
Caolán McNamara
fbf485ce60
cmcfixes71: #i108597# fix uninit warnings
2010-01-23 12:35:22 +00: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
ecefc84593
INTEGRATION: CWS changefileheader (1.17.38); FILE MERGED
...
2008/03/31 07:24:58 rt 1.17.38.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:35:15 +00:00
Vladimir Glazounov
34f67a45b1
INTEGRATION: CWS pj65 (1.15.6); FILE MERGED
...
2006/10/31 13:55:56 pjanik 1.15.6.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
2006-11-21 16:39:42 +00:00
Ivo Hinkelmann
a744c4231c
INTEGRATION: CWS pyunofixes3_SRC680 (1.15.10); FILE MERGED
...
2006/11/06 18:11:11 pmladek 1.15.10.1: #i71078#
Fix allocating and deleting python objects
2006-11-14 17:21:46 +00:00
Vladimir Glazounov
0ef9a3f9bd
INTEGRATION: CWS obo05 (1.13.2); FILE MERGED
...
2006/09/19 09:49:09 obo 1.13.2.1: #i53611#,#i69591# uninitialized local variable
2006-09-25 12:22:58 +00:00
Ivo Hinkelmann
244cd15c49
INTEGRATION: CWS warningfixes03_SRC680 (1.13.6); FILE MERGED
...
2006/08/18 12:49:44 mhu 1.13.6.1: #i68745# Fixed GCC 4.0.x warning(s).
2006-08-29 10:04:27 +00:00
Kurt Zenker
7d033855a2
INTEGRATION: CWS warningfixes02 (1.12.2); FILE MERGED
...
2006/06/30 12:16:38 sb 1.12.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
2006-07-19 15:42:27 +00:00
Jens-Heiner Rechtien
5499aad3af
INTEGRATION: CWS warnings01 (1.9.14); FILE MERGED
...
2006/04/20 14:46:09 sb 1.9.14.7: #i53898# Made code warning-free again after resync to SRC680m162.
2006/04/07 21:24:39 sb 1.9.14.6: RESYNC: (1.10-1.11); FILE MERGED
2006/03/01 10:01:16 sb 1.9.14.5: #i53898# Made code waring-free.
2005/11/10 09:12:38 pl 1.9.14.4: #i53898# removed warnings
2005/10/31 16:04:23 sb 1.9.14.3: #i53898# Made code warning-free.
2005/09/23 02:09:19 sb 1.9.14.2: RESYNC: (1.9-1.10); FILE MERGED
2005/09/09 15:31:21 sb 1.9.14.1: #i53898# Made code warning-free.
2006-06-20 04:04:22 +00:00
Oliver Bolte
cd95e17ef7
INTEGRATION: CWS pyunofixes2 (1.9.10); FILE MERGED
...
2006/01/08 21:44:05 jbu 1.9.10.5: #i29685# removed superflous output to stdout
2006/01/07 21:35:23 jbu 1.9.10.4: RESYNC: (1.9-1.10); FILE MERGED
2005/11/01 13:30:26 jbu 1.9.10.3: #i29685# now ensuring unlimited lifetime of different locale strings
2005/09/09 18:51:58 jbu 1.9.10.2: #i54416# removed now obsolete PYUNO_DEBUG macro
2005/09/09 18:43:07 jbu 1.9.10.1: #i54416#,#i47270# added logging support for pyuno + refcounting bug for __members__ variable fixed
2006-03-22 09:51:22 +00:00
Rüdiger Timm
3479a8e20a
INTEGRATION: CWS ooo19126 (1.9.12); FILE MERGED
...
2005/09/05 18:39:22 rt 1.9.12.1: #i54170# Change license header: remove SISSL
2005-09-08 15:53:33 +00:00
Vladimir Glazounov
cb9f2168ab
INTEGRATION: CWS systempython2 (1.8.2); FILE MERGED
...
2005/02/18 08:50:37 cmc 1.8.2.1: #i41994# systempython post pyunofixes1
2005-02-24 13:25:23 +00:00
Jens-Heiner Rechtien
678a4a2b49
INTEGRATION: CWS pyunofixes1 (1.7.10); FILE MERGED
...
2004/12/19 21:01:05 jbu 1.7.10.1: #i29685# numeric locale is now set to 'C' when entering python realms
2005-02-11 15:40:55 +00:00
Rüdiger Timm
1b4cfbea4a
INTEGRATION: CWS ooo64bit01 (1.6.8); FILE MERGED
...
2004/04/05 19:00:11 fa 1.6.8.2: Back out of silly change from earlier, forgot this one
2004/03/29 00:29:47 fa 1.6.8.1: More 64-bit changes. 'rsc' still broken, but not as much as before.
2004-06-17 11:37:33 +00:00
Jens-Heiner Rechtien
ad6d0271b8
INTEGRATION: CWS geordi2q14 (1.5.6); FILE MERGED
...
2004/01/29 18:09:57 hr 1.5.6.1: #111934#: merge CWS ooo111fix2
2004-02-02 18:30:44 +00:00
Vladimir Glazounov
874eb2fb8f
INTEGRATION: CWS geordi2q11 (1.4.8); FILE MERGED
...
2003/12/16 14:04:30 hr 1.4.8.1: #111934#: join CWS ooo111fix1
2003-12-17 17:46:50 +00:00
Hans-Joachim Lankenau
36b8f705db
INTEGRATION: CWS geordi2q01 (1.3.14); FILE MERGED
...
2003/08/18 13:04:07 hr 1.3.14.1: #i18350#: join changes from CWS ooo11rc3
2003-08-18 14:01:58 +00:00
Jörg Budischewski
1e25103fb8
#i12504# added conversion mode, fixed a leak for struct/exception conversion
2003-05-24 22:31:19 +00:00
Jörg Budischewski
8b829bbe3e
#i12673# some cosmetics and small bugfixes (provided by zagy)
2003-03-30 12:32:01 +00:00
Jörg Budischewski
e80bdbafeb
initial checkin for the pyuno-0.9.2 release
2003-03-23 11:12:59 +00:00