summaryrefslogtreecommitdiffstats
path: root/pyuno
Commit message (Collapse)AuthorAgeFilesLines
* fdo#46808, use service constructor for beans::IntrospectionNoel Grandin2012-10-231-9/+3
| | | | Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
* Use prefixTor Lillqvist2012-10-022-2/+2
| | | | Change-Id: Ibc446d8616bad00ce71c273e46517e80527e2f0e
* gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solarisMichael Stahl2012-09-281-2/+2
| | | | Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
* add help on python debugging.Michael Meeks2012-09-181-0/+7
|
* Some clean up of previous commitStephan Bergmann2012-09-051-1/+0
| | | | Change-Id: I05287fd79455f968c770d61bf5f320b07bba7d9e
* fdo#46808, Adapt reflection::CoreReflection UNO service to new styleNoel Grandin2012-09-051-9/+4
| | | | | | | | | | 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
* fdo#46808, Adapt script::Converter service code to new styleNoel Grandin2012-08-271-5/+3
| | | | Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
* warning C4702: unreachable codeStephan Bergmann2012-07-201-2/+0
| | | | Change-Id: Ie2cc83dde7e0522e0bf669a1dd3d7a8ca680f7e2
* fdo#51948 do not link with dl on *BSDDavid Tardon2012-07-131-3/+3
| | | | Change-Id: If623e9a0d909ce6a7e260b0d4beed3fb0c74cf8b
* Runtime::any2PyObject: warning C4702: unreachable codeMichael Stahl2012-07-111-2/+1
| | | | Change-Id: I303536b957f902d3bbda9f3a96b507851292523a
* re-base on ALv2 code. Removing:Michael Meeks2012-07-0227-388/+397
| | | | | | 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
* re-base on ALv2 code.Michael Meeks2012-06-261-0/+17
|
* remove bunch of obsolete looking .flt filesMichael Stahl2012-06-221-14/+0
| | | | Change-Id: Ic3d45afca14d0bebfb6168b6cf6fc6c618754183
* .mk files don't need executable bitsMichael Stahl2012-06-221-0/+0
| | | | Change-Id: I3ee442ab6dac31eb7daac32e7a9ed5c6526f07ba
* fixing pyuno bridge on mingw: packaging system-pythonDavid Ostrovsky2012-06-225-7/+46
| | | | Change-Id: Ib46248d217b0161dc20dde0274842bd7381f0cda
* fdo#50682: Setting DYLD_LIBRARY_PATH in python script appears unnecessaryStephan Bergmann2012-06-221-4/+5
| | | | | | | | | | | | | | | | | | ...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
* re-base on ALv2 code.Michael Meeks2012-06-213-23/+48
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-211-23/+14
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* deliver pyuno/python.exe in one stepDavid Ostrovsky2012-06-193-42/+5
| | | | Change-Id: I886f4a6aec492ae498ce86d71686c8d9fb26203d
* pyuno: more stuff unwanted if there is system pythonMatúš Kukan2012-06-141-6/+4
| | | | Change-Id: I13d543f9f877f65f377ae914f8308876bf2c0532
* pyuno: clean d.lstMatúš Kukan2012-06-141-27/+0
| | | | Change-Id: Iaca5b31fb723e158198c7a21c1361f3f4a756477
* Remove dmake makefiles obsoleted by gbuild'ificationStephan Bergmann2012-06-143-402/+0
| | | | Change-Id: I94b074d7d2e1ea2f80c3075ae49530225947442d
* gbuild migration: pyuno moduleDavid Ostrovsky2012-06-1421-14/+713
| | | | Change-Id: I7f923a5622214f7540a789bcdd93bf6fd1d166db
* nuke unused definesTakeshi Abe2012-06-042-3/+0
| | | | Change-Id: I7924da4bff73ca8f82c76eb8cb211401530acdeb
* targeted string re-workNorbert Thiebaud2012-06-011-2/+2
| | | | Change-Id: I44518bb1b464bb0b458c0b5f1c249ef160ea3b26
* targeted string re-workNorbert Thiebaud2012-06-011-37/+30
| | | | Change-Id: Ibe5c739c3066f3e706a44b64d4ad775abde9662c
* nuke unused typedefTakeshi Abe2012-05-291-1/+0
| | | | Change-Id: I12a55e08a83b88221d992790c97c830761755582
* removed unused temporary rtl::OUStringTakeshi Abe2012-05-231-1/+0
| | | | Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
* make gbuild the default assumption of build.plBjoern Michaelsen2012-04-291-0/+0
| | | | | | | | this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
* Reduce chatterTor Lillqvist2012-04-241-1/+3
|
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-061-5/+5
| | | | | | Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
* chmod -xTor Lillqvist2012-03-211-0/+0
|
* fdo#46926: PyUNO_cmp: return acquired referenceDavid Bolen2012-03-161-4/+15
|
* fdo#46926: fix the fix for Python 3Michael Stahl2012-03-091-1/+1
| | | | Thanks to Maxime de Roucy for the hint that the "cmpfunc" type doesn't exist.
* fdo#46926: fix UNO struct comparison in Python 2David Bolen2012-03-071-3/+10
| | | | | | This requires setting a rich comparison flag in Python 2, while Python 3 uses rich comparison by default. (regression from a09ce46818fd4d5e08b3af9a478501cd8ef5b4fe)
* fdo#46859: adapt string type checks to work with both Python 2 and 3David Bolen2012-03-071-4/+10
| | | | (regression from a09ce46818fd4d5e08b3af9a478501cd8ef5b4fe)
* Adapted GCThread to safer-to-use salhelper::ThreadStephan Bergmann2012-02-233-26/+27
|
* Fix typos in commentsElton Chung2012-02-181-1/+1
|
* pyuno: decreaseRefCount: valgrind warning:Michael Stahl2012-02-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Apparently the thread spawned in decreaseRefCount runs and deletes itself before the "m_hThread != 0" from osl::Thread::create is executed; try a lame workaround for that. ==1877== Invalid read of size 8 ==1877== at 0x2A70E546: osl::Thread::create() (in pyuno/unxlngx6/lib/libpyuno.so) ==1877== by 0x2A70E351: pyuno::decreaseRefCount(_is*, _object*) (in pyuno/unxlngx6/lib/libpyuno.so) ==1877== by 0x2A7092B4: pyuno::Adapter::~Adapter() (in pyuno/unxlngx6/lib/libpyuno.so) ==1877== by 0x2A709393: pyuno::Adapter::~Adapter() (in pyuno/unxlngx6/lib/libpyuno.so) ==1877== by 0x5EF2F64: cppu::OWeakObject::release() (weak.cxx:213) ==1877== by 0x2A70DE69: ==1877== Address 0x1ee30818 is 8 bytes inside a block of size 32 free'd ==1877== at 0x4A0662E: free (vg_replace_malloc.c:366) ==1877== by 0x4C44B62: rtl_freeMemory_SYSTEM(void*) (alloc_global.cxx:285) ==1877== by 0x4C44DC7: rtl_freeMemory (alloc_global.cxx:355) ==1877== by 0x2A70E41E: osl::Thread::operator delete(void*) (in pyuno/unxlngx6/lib/libpyuno.so) ==1877== by 0x2A70E6EF: pyuno::GCThread::~GCThread() (in pyuno/unxlngx6/lib/libpyuno.so) ==1877== by 0x2A70E303: pyuno::GCThread::onTerminated() (in pyuno/unxlngx6/lib/libpyuno.so) ==1877== by 0x2A70E671: threadFunc (in pyuno/unxlngx6/lib/libpyuno.so) ==1877== by 0x4C2E242: osl_thread_start_Impl (thread.c:292) ==1877== by 0x3C26607D8F: start_thread (pthread_create.c:309) ==1877== by 0x3C262EF48C: clone (clone.S:115)
* Work around macro redefinition warningStephan Bergmann2012-02-161-2/+4
|
* Missing returnStephan Bergmann2012-02-161-1/+2
|
* Adapt pyuno.so wrapper to Python 3 supportStephan Bergmann2012-02-161-21/+55
|
* Removed unused codeAlexander Bergmann2012-02-104-134/+0
|
* Reintroduce pyuno.so wrapper around libpyuno.soStephan Bergmann2012-02-061-15/+28
| | | | | | | | | | | ...it was cleaned away by a09ce46818fd4d5e08b3af9a478501cd8ef5b4fe "Port PyUno to support Python 3" but is still needed to make sure libpyuno.so is loaded RTLD_GLOBAL (Python apparently loads its modules RTLD_LOCAL). At least with pre 4.5 GCC this can cause problems with C++ exception handling, see the mail thread starting at <http://lists.freedesktop.org/archives/libreoffice/2012-February/025166.html> "LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'" for details.
* Added READMEs for modules related to URE, with content from the wikiJosh Heidenreich2012-02-061-0/+1
|
* Code cleanup: ( () ) replaced by (())Alexander Bergmann2012-01-262-2/+2
|
* Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann2012-01-215-21/+31
| | | | | | | | | 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.
* Fix for fdo43460 Part XXVII getLength() to isEmpty()Olivier Hallot2012-01-023-5/+5
| | | | | | | | Please find attached a partial fix for Easy Hack FDO43460 Part XXVII Modules padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
* catch exception by constant referenceTakeshi Abe2011-12-218-51/+51
|
* fix loading of python-uno module by package.module nameLionel Elie Mamane2011-12-121-5/+6
|