summaryrefslogtreecommitdiff
path: root/pyuno/zipcore
AgeCommit message (Collapse)Author
2018-09-24loplugin:external (clang-cl)Stephan Bergmann
Including: * expanding STDAPI to its definition (as per <https://msdn.microsoft.com/library/ms686631(vs.85).aspx> "STDAPI"), to add __declspec(dllexport) into its middle, in extensions/source/activex/so_activex.cxx; as discussed in the comments at <https://gerrit.libreoffice.org/#/c/60691/> "Get rid of Windows .def files in setup_native, use __declspec(dllexport)", having a function both listed in a .def file EXPORTS and marking it dllexport is OK, and the latter helps the heuristics of loplugin:external; however, the relevant functions in extensions/source/activex/so_activex.cxx probably don't even need to be exported in the first place? * follow-up loplugin:salcall in sal/osl/w32/file-impl.hxx Change-Id: Ida6e17eba19cfa3d7e5c72dda57409005c0a0191 Reviewed-on: https://gerrit.libreoffice.org/60938 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-02pyuno: MSVC: pragma warning: make more specific, remove obsoleteMike Kaganski
Change-Id: Id907f466bc9dc45f3e522fb948488eb35c011bfe Reviewed-on: https://gerrit.libreoffice.org/49041 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-10-27loplugin:includeform: pyuno (Windows)Stephan Bergmann
Change-Id: I07b13573fb45847bd31be6d195d0ebb5943e25bb
2017-02-10Remove MinGW supportStephan Bergmann
In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-16clang-cl loplugin: pyunoStephan Bergmann
Change-Id: Ic093b58be1f2b78d904d6d036b52532f97c3b336 Reviewed-on: https://gerrit.libreoffice.org/29857 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-08-18configure, pyuno: stop claiming our python 3.3.5 is 3.3.3Michael Stahl
... and adapt makefiles to automatically rebuild everything that depends on PYTHON_VERSION. Change-Id: If468183e59463503051c2a1526a905dbee9bf4cb Reviewed-on: https://gerrit.libreoffice.org/17818 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2014-12-03Fold URE: WindowsStephan Bergmann
...assuming the delayLoadHook in cli_ure/source/native/native_bootstrap.cxx is no longer necessary and loading of cppuhelper from the program dir cannot fail regardless in whatever scenario the cli_cppuhelper library itself is loaded. Change-Id: I13f32b327bca4cce9780864f5e57cdad3860afe5
2014-10-28Fix python wrapper script on OS XMatthew J. Francis
Change-Id: Icfac94022ee026ad8e9d9d5298e5cc7fbd7121be Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-29wsprintf is broken by design and never writes more than 1024 charactersStephan Bergmann
Change-Id: I791e55bb5d98ee82c01271dcebafa7c4672cd424
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-06-10Deprecated conversion from const wchar_t* to wchar_t*Fridrich Štrba
Change-Id: I8c0a97372f0855543d6207adb0abaa4cc820aabd
2013-04-19python3: put an RPATH into python binary ...Michael Stahl
... and get rid of LD_LIBRARY_PATH hack in wrapper shell script. Change-Id: I7d91c6086460504d656de7b018087264165f396b
2013-01-01simplify processing of python.shDavid Tardon
Change-Id: I583407233fad1f7aaccc137642e5f134c3ba2874
2013-01-01just pass the define through -DDavid Tardon
I am constantly amazed at the creativity of the original makefile writers. An extra header file, processed by sed, rather then adding one item to CDEFS? Really? Change-Id: I41ae8b10fc447ea5ab91e767c8afb87e39b9b5f5
2012-11-27Switch from python to python3Michael Stahl
Mac specific parts of patch by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Change-Id: I90ef17c6f5a678230539a80ab999fa5344e4fc8f
2012-07-02re-base on ALv2 code. Removing:Michael Meeks
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-06-22fixing pyuno bridge on mingw: packaging system-pythonDavid Ostrovsky
Change-Id: Ib46248d217b0161dc20dde0274842bd7381f0cda
2012-06-22fdo#50682: Setting DYLD_LIBRARY_PATH in python script appears unnecessaryStephan Bergmann
...and apparently has negative consequences (system CFNetwork framework picking up LO libsqlite3.dylib instead of system one, as DYLD_LIBRARY_PATH overrides recorded installnames). Contrary to the old comment ("so that 'import pyuno' finds libpyuno.so"), what setting LD_LIBRARY_PATH on Linux is still necessary for is so that python.bin (a stripped version of the python executable from external python module) finds libpython2.6.so, as it lacks an RPATH. ('import pyuno' finds pyuno.so apparently on PYTHONPATH, anyway, and pyuno.so in turn dlopen's libpython.{dylib,so} with full path.) (This might make dc82cf021f76ea83ff7a4bcb2d7525f2e111f0cc "Make PyUNO work --with-macox-version-min-required=10.6" irrelevant.) Change-Id: I1c3a6c61d4cc976d85956e587497a13a77689128
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-14Remove dmake makefiles obsoleted by gbuild'ificationStephan Bergmann
Change-Id: I94b074d7d2e1ea2f80c3075ae49530225947442d
2012-04-24Reduce chatterTor Lillqvist
2012-03-21chmod -xTor Lillqvist
2011-10-24Undo basis/brand split: removed RPATH BRAND (same as OOO now).Stephan Bergmann
2011-10-24Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and ↵Stephan Bergmann
BaseInstallation.
2011-10-20Undo basis/brand split: moved Python from basis to brand.Stephan Bergmann
The Windows-only code in pyuno/zipcore/python.cxx may still need fixing.
2011-09-16Revert "Trying to chop out the uwinapi library"Fridrich Štrba
This reverts commit 2dea0dab4fafda3c10a5bd03ad15ed39a4658b51.
2011-09-16Trying to chop out the uwinapi libraryFridrich Štrba
2011-07-24minor whitespace/makefile cleanupChristian Lohmaier
2011-06-07fix previous commit that introduced reverse logicChristian Lohmaier
and remove *.orig and *.rej files that were committed by accident
2011-06-06allow to use internal Python on Mac (Python built as framework)Christian Lohmaier
2011-05-07Port PyUno to support Python 3Andreas Becker
2011-04-18Remove OS/2 support.Francois Tigeot
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
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-13tweak this for AIXCaolán McNamara
2010-09-09hb22: #b6982587# treat null LD_LIBRARY_PATH like unset onesb
2010-05-10nativeb: #i110876# escape regexp substitutesIvo Hinkelmann
2010-03-12sb121: #i107352# filter out lib/lib-dynload libs that are marked as _failed ↵sb
by setup.py, anyway
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-11-06cmcfixes66: #i106674# fix remaining new[]/delete mismatchesCaolán McNamara
2009-09-16CWS-TOOLING: integrate CWS l10nframework01Ivo Hinkelmann
2009-05-04CWS-TOOLING: integrate CWS mingwport19Release Engineers
2009-04-23 16:09:03 +0200 tono r271180 : revert changes 2009-04-20 15:15:31 +0200 tono r270988 : i101223: MinGW port: atl patch fix 2009-04-14 14:54:29 +0200 tono r270779 : i101077: mingw port: make python to work with OOo 2009-04-14 14:52:46 +0200 tono r270777 : i101073: Mingw port fix: openssl 0.9.8k in cygwin case
2009-02-12CWS-TOOLING: integrate CWS sb103Oliver Bolte
2009-01-15 15:28:08 +0100 sb r266375 : #i97629# set UNO_PATH in python start program and use it in bootstrap function in officehelper.py (and do not erroneously encode a vnd.sun.star.pathname URE_BOOTSTRAP value in tools::extendApplicationEnvironment) 2009-01-15 10:40:17 +0100 sb r266338 : #i97424# explicit shut down of ImplImageTree singleton in DeInitVCL still required 2009-01-14 12:07:15 +0100 sb r266276 : CWS-TOOLING: rebase CWS sb103 to trunk@265758 (milestone: DEV300:m38) 2009-01-14 08:53:02 +0100 sb r266266 : #i96284# remove implementation of unused (but expensive) link feature; plus some general cleanup 2009-01-08 14:42:59 +0100 sb r266010 : #i96683# enable dlclose for GCC 3 (based on a patch by cmc) 2009-01-06 14:18:23 +0100 sb r265920 : #i97424# spurious unreferenced local variables 2008-12-19 15:33:39 +0100 sb r265727 : #i57359# no need for a special glibc 2.2.4 based libgcc_s.so.1 for URE any more as the general one used for OOo is guaranteed to be based on at least glibc 2.2.4, anyway 2008-12-19 13:54:37 +0100 sb r265724 : #i97424# clean up and speed up vcl ImplImageTree 2008-12-18 14:28:10 +0100 sb r265690 : #i97132# spread usage of the rtl::Static pattern (patch by cmc) 2008-12-15 14:33:00 +0100 sb r265499 : #i90492# generate UTF-8 encoded output (patch by tora) 2008-12-15 11:45:05 +0100 sb r265469 : #i95593# -Djava.library.path to find libtest_javauno_any.so 2008-12-15 11:23:14 +0100 sb r265468 : #i93769# it appears that Java nowadays expects file URIs in UTF-8, so ExternalUriReferenceTranslator.toExternal must not be called 2008-12-10 12:02:50 +0100 sb r265164 : #i93219# use (corrected) signal handling instead of forking again (to avoid unintended generation of core files)
2008-12-11CWS-TOOLING: integrate CWS sb101Rüdiger Timm
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-07-02INTEGRATION: CWS mingwport14 (1.3.2); FILE MERGEDVladimir Glazounov
2008/06/21 14:22:13 tono 1.3.2.1: #i90950#: mingw port
2008-06-12#i90610# Fix for .Net2003 compiler (patch by sb).Rüdiger Timm
2008-06-09INTEGRATION: CWS sb87 (1.1.2); FILE ADDEDRüdiger Timm
2008/05/09 15:12:27 sb 1.1.2.1: #i88211# customaction-generated python.bat has been replaced by python.exe from pyuno module
2008-06-09INTEGRATION: CWS sb87 (1.9.4); FILE MERGEDRüdiger Timm
2008/05/09 15:11:10 sb 1.9.4.2: #i88211# improvements 2008/05/07 12:25:34 sb 1.9.4.1: #i88211# cleaned up; as somewhat of a hack, added -env:INIFILEPATH arg when starting python.bin so that a later defaultBootstrap_InitialComponentContext() will bootstrap into a complete OOo UNO env
2008-06-09INTEGRATION: CWS sb87 (1.13.10); FILE MERGEDRüdiger Timm
2008/05/09 15:11:52 sb 1.13.10.1: #i88211# customaction-generated python.bat has been replaced by python.exe from pyuno module
2008-04-11INTEGRATION: CWS changefileheader (1.8.60); FILE MERGEDRüdiger Timm
2008/03/31 07:24:58 rt 1.8.60.1: #i87441# Change license header to LPGL v3.