Commit Graph

163 Commits

Author SHA1 Message Date
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
b2da8254dc There was still overload ambiguous 2011-08-21 11:18:13 +02:00
790d4bd44a OUStringBuffer.append call: add explicit radix to disambiguate overload 2011-08-21 11:03:13 +02:00
cb937e72b8 use boost::unordered_map instead of STL one so as not to require C++0x 2011-08-21 10:37:48 +02:00
ac2359cf84 pyuno: close opened parenthesis in raised exception message 2011-08-21 01:46:09 +02:00
21192c6ea9 pyuno: some comments 2011-08-21 01:46:09 +02:00
58aa95c944 Janitorial: remove unnecessary const_casts
The python C API has consts at these places
2011-08-21 01:46:09 +02:00
d269a18250 Janitorial: remove unused variable 2011-08-21 01:46:08 +02:00
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
41a68a4f77 pyuno: hook into import *after* the _whole_ uno module is successfully loaded
This avoids breaking the whole python process module importing
when an uno.py import failure happens after the hooking point.
In that case, _uno_import is still the python module loader,
but _g_delegatee is not anymore bound to the previously installed
importer, and thus any module import fails with:
  File "/home/master/src/libreoffice/core/install/basis3.5/program/uno.py", line 260, in _uno_import
    return _g_delegatee( name, *optargs, **kwargs )
TypeError: 'NoneType' object is not callable
2011-08-21 01:46:07 +02:00
a9b9b40570 pyuno: allow uno structs to be initliased with keyword arguments 2011-08-21 01:46:07 +02:00
0c3409364b TMP_LIONEL_NOTES 2011-08-17 18:11:00 +02:00
c78b2702a4 minor whitespace/makefile cleanup 2011-07-24 19:23:32 +02:00
a81f06f209 Use $(DLLTOOL) instead of dlltool 2011-06-24 15:38:47 +02:00
9c1b9a76ba Don't include pyversion.mk 2011-06-24 15:30:59 +02:00
03604560ce fix compilation with internal python on Mac 2011-06-11 16:53:07 +02:00
e5cf6231c3 fix previous commit that introduced reverse logic
and remove *.orig and *.rej files that were committed by accident
2011-06-07 17:59:24 +02:00
41893e087a allow to use internal Python on Mac (Python built as framework) 2011-06-06 20:09:06 +02:00
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
7fa0cf44a0 Unbreak build on non-Windows 2011-05-11 15:48:09 +03:00
73e8a1189f Fix build on Windows
No need to mention $(LB)$/$(TARGET)$(DLLPOST) in the ALLTAR
prerequisite list. It causes errors, and is unnecessary, as pyuno.pyd
gets built anyway thanks to being the TARGET in this makefile.

No need to do the symlink if DLLPRE is empty. In that case
$(LB)$/$(TARGET)$(DLLPOST) equals $(LB)$/$(DLLPRE)$(TARGET)$(DLLPOST)
so dmake will complain about a circular dependency.
2011-05-11 15:15:00 +03:00
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
a09ce46818 Port PyUno to support Python 3 2011-05-07 20:35:03 +01:00
35e1b53c7e Remove OS/2 support. 2011-04-18 16:59:48 +02:00
f091f5b395 dragonfly stuff 2011-02-15 15:55:19 +00:00
a3d4063f88 Add missing #include <vector> to the file. 2011-02-03 21:35:13 -08:00
030633cd53 moving the rest of ure repository to boost unordered containers 2011-02-04 00:28:23 +01:00
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
ab1751a151 RTL_CONSTASCII_USTRINGPARAM in ure 2 2010-12-10 18:54:29 +01:00
1a8708618f add OPENBSD ld command 2010-11-06 18:33:28 +01:00
da5cef0ab4 add modelines to .h and .c files as well 2010-10-27 16:04:46 +01:00
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
5284d1d961 CWS-TOOLING: integrate CWS changefileheader2 2010-02-17 10:32:35 +01:00
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
fbf485ce60 cmcfixes71: #i108597# fix uninit warnings 2010-01-23 12:35:22 +00:00
327de52e63 #i105919# avoid crash after python deinitialized post exit 2009-10-17 13:09:10 +00:00
3198101b11 #i15607#/#i105678# sync Solaris Intel and Solaris Sparc 2009-10-13 19:43:24 +00:00
fcd1e07f25 CWS-TOOLING: integrate CWS l10nframework01 2009-09-16 11:45:54 +00:00
cf6a1e41bc CWS-TOOLING: integrate CWS os2port06dev300
2009-09-05 22:49:00 +0200 ydario  r275858 : #i99588# applied os2port06 diff to DEV300 tree.
2009-09-10 22:44:47 +00:00
8ae4080d46 CWS-TOOLING: integrate CWS python26
2009-04-22 11:57:41 +0200 obo  r271091 : #i101079# mingw port (by tono)
2009-04-22 11:56:37 +0200 obo  r271090 : #i101079# mingw port (by tono)
2009-04-22 11:55:55 +0200 obo  r271089 : #i101079# mingw port (by tono)
2009-04-22 11:26:00 +0200 obo  r271084 : #i100492# Patch for FreeBSD (by maho)
2009-04-21 10:19:01 +0200 obo  r271020 : #i92413# make python buildable in Hamburg RE environment
2009-04-17 15:52:57 +0200 obo  r270952 : #i10000# fix for 4NT shell support
2009-04-17 15:16:39 +0200 hjs  r270951 : #i92413# - remove gcc warnings about new struct member. fetched fomr DEV300
2009-04-17 10:30:28 +0200 sb  r270927 : #i92413# adaptions for Solaris and/or bash
2009-04-16 00:36:32 +0200 jbu  r270861 : #i101080# patch for bash environment provided by tono
2009-04-15 13:50:01 +0200 rene  r270842 : #i100997# allow also python < 2.6 again
2009-03-12 14:23:32 +0100 rene  r269410 : cleanup: remove Python 2.3.4 - not referenced anymore
2009-03-11 21:48:58 +0100 jbu  r269356 : native python modules pyuno.dll -> pyuno.pyd (required by 2.6 python runtime)
2009-03-11 11:11:43 +0100 rene  r269307 : fix typo; regen configure
2009-03-10 11:44:54 +0100 rene  r269262 : update _AM_PYTHON_INTERPRETER_LIST
2009-03-10 00:30:09 +0100 jbu  r269233 : python26 now builds on windows (installation set not built yet)
2009-03-06 21:45:20 +0100 jbu  r269050 : python 2.6.1-linuxx86: PYTHONHOME variable removed from set_soenv.in (is now unecessary), added new and removed old python blob, linux x86 builds without patches, windows build still needs to be done and is now broken
2009-03-06 14:08:33 +0100 rene  r269004 : #i92413#
2009-04-22 14:05:37 +00:00
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
6298104cef CWS-TOOLING: integrate CWS jsc312
2008-12-04 17:08:20 +0100 jsc  r264858 : #i96902# update reference rdb
2008-12-04 17:06:34 +0100 jsc  r264857 : #i96902# update reference rdb
2008-11-28 14:54:24 +0100 jsc  r264556 : #i96671# correct location of generated scripts
2008-11-28 14:29:30 +0100 jsc  r264554 : #92661# minor changes
2008-11-28 09:36:27 +0100 jsc  r264527 : #92661# minor optimizations
2008-11-27 11:32:24 +0100 jsc  r264470 : #92661# retrieve lib path and load related library full qualified
2008-11-18 09:08:22 +0100 jsc  r263745 : #i93980# change docu, insert note that regview and regmerge are part of the ure
2008-11-18 09:05:12 +0100 jsc  r263744 : #i93980# remove regview and regmerge
2008-11-18 08:57:09 +0100 jsc  r263743 : #i93981# insert SDK rpath link option for regcompare
2008-11-18 08:55:08 +0100 jsc  r263742 : #i93981# insert SDK rpath link option
2008-11-17 16:26:25 +0100 jsc  r263727 : #i96055# correct brackets
2008-12-11 13:10:39 +00:00
392fb06810 CWS-TOOLING: integrate CWS sb101
2008-12-08 16:52:06 +0100 sb  r265009 : #i95330# python23.dll needs to be copied to brand layer, not just moved there
2008-11-24 18:15:54 +0100 sb  r264259 : #i95022# tools::extendApplicationEnvironment gets URE_BOOTSTRAP value from outside bootstrap.cxx, so needs to operate in LOOKUP_MODE_URE_BOOTSTRAP, too
2008-11-20 21:12:31 +0100 jbu  r264103 : deactivated debug log
2008-11-20 21:09:03 +0100 jbu  r264102 : #i95331# ld_library_path now contains ure/lib directory
2008-11-20 21:05:37 +0100 jbu  r264101 : #i95330# python.dll is now installed in the brand-program directory (unix remains unchanged)
2008-11-20 20:46:57 +0100 jbu  r264099 : #i95118# + #i93994# Python scripts in share and user uno packages now work again
2008-11-20 20:38:23 +0100 jbu  r264098 : #i95037# python wrapper now waits for completion of python executable and currectly returns the exit state
2008-11-20 10:46:28 +0100 sb  r264034 : #i95028# import socket, since on Windows sal3.dll no longer calls WSAStartup (and import socket does)
2008-11-18 17:01:09 +0100 sb  r263784 : #i96314# fixed encode()
2008-11-18 15:59:17 +0100 sb  r263779 : #i95024# missing vnd.sun.star.pathname: in URE_BOOTSTRAP
2008-11-18 13:51:36 +0100 sb  r263765 : #i95022# treat \ and $ verbatim in URE_BOOTSTRAP=vnd.sun.star.pathname values
2008-12-11 12:57:12 +00:00
8a7a710632 CWS-TOOLING: integrate CWS cmcfixes51
2008-12-08 10:12:55 +0100 cmc  r264975 : #i96203# protect with ifdefs to avoid unused symbol on mac
2008-12-05 12:23:47 +0100 cmc  r264898 : CWS-TOOLING: rebase CWS cmcfixes51 to trunk@264807 (milestone: DEV300:m37)
2008-12-01 14:45:17 +0100 cmc  r264606 : #i76655# ehlos apparently required
2008-11-28 17:49:30 +0100 cmc  r264567 : #i96655# remove newly unused method
2008-11-28 10:41:28 +0100 cmc  r264531 : #i96647# better ppc-bridges flushCode impl
2008-11-27 12:58:40 +0100 cmc  r264478 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 12:32:49 +0100 cmc  r264476 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 12:26:02 +0100 cmc  r264475 : #i96655# redundant old table export helpers
2008-11-27 11:49:06 +0100 cmc  r264473 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 11:38:35 +0100 cmc  r264471 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 11:14:21 +0100 cmc  r264467 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 11:06:22 +0100 cmc  r264464 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:58:18 +0100 cmc  r264462 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:41:44 +0100 cmc  r264461 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:19:24 +0100 cmc  r264460 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:13:39 +0100 cmc  r264459 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:06:14 +0100 cmc  r264458 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:59:54 +0100 cmc  r264457 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:52:51 +0100 cmc  r264456 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:48:26 +0100 cmc  r264454 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:40:20 +0100 cmc  r264452 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:35:26 +0100 cmc  r264451 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:31:00 +0100 cmc  r264450 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:24:08 +0100 cmc  r264449 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 00:26:15 +0100 cmc  r264443 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 00:21:01 +0100 cmc  r264442 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 00:09:40 +0100 cmc  r264441 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 23:51:56 +0100 cmc  r264440 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 23:49:09 +0100 cmc  r264439 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 18:09:54 +0100 cmc  r264432 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 18:07:40 +0100 cmc  r264431 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 17:28:02 +0100 cmc  r264429 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 17:27:39 +0100 cmc  r264428 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 17:18:36 +0100 cmc  r264426 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 16:22:16 +0100 cmc  r264415 : #i96624# make implicit braces and brackets explicit to avoid warnings
2008-11-26 16:00:23 +0100 cmc  r264409 : #i90426# remove warnings from svtools
2008-11-26 15:59:17 +0100 cmc  r264408 : #i90426# remove warnings
2008-11-26 15:47:32 +0100 cmc  r264404 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 14:46:57 +0100 cmc  r264394 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 14:19:50 +0100 cmc  r264387 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 14:15:26 +0100 cmc  r264386 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 14:11:26 +0100 cmc  r264384 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 13:44:23 +0100 cmc  r264380 : #i96084# comfirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 13:12:24 +0100 cmc  r264372 : #i96604# silence new warnings
2008-11-26 12:35:02 +0100 cmc  r264369 : #i96203# make qstarter work in 3-layer land
2008-11-26 12:33:04 +0100 cmc  r264368 : #i96170# ensure gtypes are up and running
2008-12-11 07:05:03 +00:00
a1aa0ae761 No old windows def files needed any more. 2008-09-19 11:05:48 +00:00
6f37612c45 INTEGRATION: CWS changefileheader (1.6.12); FILE MERGED
2008/03/31 07:24:58 rt 1.6.12.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:36:33 +00:00
49a67ecbad INTEGRATION: CWS changefileheader (1.8.12); FILE MERGED
2008/03/31 07:24:58 rt 1.8.12.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:36:09 +00:00
d6c4583b26 INTEGRATION: CWS changefileheader (1.8.14); FILE MERGED
2008/03/31 07:24:58 rt 1.8.14.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:35:50 +00:00
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
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