summaryrefslogtreecommitdiff
path: root/pyuno
AgeCommit message (Collapse)AuthorFilesLines
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann2-2/+2
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann5-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.
2012-01-02Fix for fdo43460 Part XXVII getLength() to isEmpty()Olivier Hallot3-5/+5
Please find attached a partial fix for Easy Hack FDO43460 Part XXVII Modules padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
2011-12-21catch exception by constant referenceTakeshi Abe8-51/+51
2011-12-12fix loading of python-uno module by package.module nameLionel Elie Mamane1-5/+6
2011-12-12more debug spew in non-debug productCaolán McNamara1-1/+1
2011-12-12Let's not have debug spew all the timeCaolán McNamara1-1/+1
2011-12-05Improve pyuno debugging in various ways - add stack traces etc.Michael Meeks3-5/+11
2011-12-05wizards: completely work python wizard packaging and registrationMichael Meeks1-3/+19
Also improve exception handling and error printing in pythonloader Allow registration of explicit .py components - the only method that works
2011-11-17Do build cpputools also for non-DESKTOP OSes, needed for bridgetestTor Lillqvist1-1/+1
2011-11-17Enforce a "lib" prefix for UNO components for AndroidTor Lillqvist1-1/+1
This commit for the old build system. (Don't bother for components not relevant for Android.) The Android package installer (as invoked through "adb install", from "ant debug install") silently ignores native libraries in app packages (.apk files) whose names don't start with "lib" and end with ".so". The package builder (as invoked through "ant debug") in the SDK gladly includes also thusly named native libraries in the .apk, though. Yay for consistency.
2011-11-10New LO_{LIB,JAVA}_DIR make special inbuild component handling superfluous.Stephan Bergmann1-1/+1
2011-10-24Undo basis/brand split: removed RPATH BRAND (same as OOO now).Stephan Bergmann1-1/+1
2011-10-24Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and ↵Stephan Bergmann2-11/+3
BaseInstallation.
2011-10-20Undo basis/brand split: moved Python from basis to brand.Stephan Bergmann4-50/+38
The Windows-only code in pyuno/zipcore/python.cxx may still need fixing.
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann3-12/+16
2011-09-16Revert "Trying to chop out the uwinapi library"Fridrich Štrba1-0/+1
This reverts commit 2dea0dab4fafda3c10a5bd03ad15ed39a4658b51.
2011-09-16Trying to chop out the uwinapi libraryFridrich Štrba1-1/+0
2011-08-22Fix dbgutil build of pyunoTor Lillqvist1-6/+0
Whether things actually work when pyuno is built against the debugging runtime, but the internal Python (to the best of my knowledge) still against the normal one, I don't know. But anyway, this makes the build succeed here.
2011-08-21There was still overload ambiguousJulien Nabet1-2/+2
2011-08-21OUStringBuffer.append call: add explicit radix to disambiguate overloadLionel Elie Mamane1-1/+1
2011-08-21use boost::unordered_map instead of STL one so as not to require C++0xLionel Elie Mamane1-3/+3
2011-08-21pyuno: close opened parenthesis in raised exception messageLionel Elie Mamane1-0/+1
2011-08-21pyuno: some commentsLionel Elie Mamane1-1/+4
2011-08-21Janitorial: remove unnecessary const_castsLionel Elie Mamane7-50/+50
The python C API has consts at these places
2011-08-21Janitorial: remove unused variableLionel Elie Mamane1-1/+0
2011-08-21pyuno: make extractUnoException handle exceptions raised by uno.py loadingLionel Elie Mamane1-14/+31
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-21pyuno: hook into import *after* the _whole_ uno module is successfully loadedLionel Elie Mamane1-3/+3
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-21pyuno: allow uno structs to be initliased with keyword argumentsLionel Elie Mamane2-55/+164
2011-08-17TMP_LIONEL_NOTESLionel Elie Mamane1-0/+9
2011-07-29Related: fdo#34184 on windows find the openssl libs that _ssl.pyd needsCaolán McNamara1-1/+17
2011-07-24minor whitespace/makefile cleanupChristian Lohmaier11-135/+134
2011-07-12Remove component_getImplementationEnvironmentMatúš Kukan1-7/+0
2011-07-09Build cpputools only for desktop OSesTor Lillqvist1-1/+1
2011-06-24Use $(DLLTOOL) instead of dlltoolJesús Corrius1-1/+1
2011-06-24Don't include pyversion.mkJesús Corrius1-0/+2
2011-06-11fix compilation with internal python on MacChristian Lohmaier2-12/+7
2011-06-07fix previous commit that introduced reverse logicChristian Lohmaier6-424/+1
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 Lohmaier9-12/+458
2011-06-03Drop %_EXT% which was always emptyTor Lillqvist1-23/+23
2011-05-19don't crash when interacting with a class that implements XInvocationMichael Meeks2-3/+18
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-11Unbreak build on non-WindowsTor Lillqvist1-0/+9
2011-05-11Fix build on WindowsTor Lillqvist1-2/+3
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-09Fix simple warning (explicit cast in char*)Julien Nabet1-2/+2
2011-05-07Make sure we deliver the pyuno.dylib object for Mac OS X.Joseph Powers1-0/+1
2011-05-07PyVarObject_HEAD_INIT() isn't defined in Python 2.5-Joseph Powers1-0/+5
Mac OS X is still being compiled vs 2.3
2011-05-07Port PyUno to support Python 3Andreas Becker23-557/+663
2011-04-21Easyhack: Add visibility markup to all component_get* functionsJulien Nabet1-2/+2
2011-04-18Remove OS/2 support.Francois Tigeot2-4/+1
2011-03-08Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Norbert Thiebaud6-26/+50
* commit 'ooo/DEV300_m101': (185 commits) chart52: cleanup unused legend entry stuff in preparation of issue #i82802# masterfix: #i10000# add missing dependency in offapi sb138: #i115619# fix for MinGW sb138: #i115619#, #i116038# use osl_setThreadName in binaryurp sb138: #i115619# osl_setThreadName gridsort: i116682: update UnoControlDialog to reflect XDialog gridsort: minor changes to the new API: - renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons - renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself. gridsort: grid control related unit tests (first set, more to come) sb138: #i116038# fresh implementation of binary URP bridge chart52: #28670# make the legend within charts resizeable - part 2 gridsort: re-did the column resizing - introduced XGridColumn.Flexibility, determining to which degree the column is resized during auto-column-resizing - removed XGridColumn.PreferredWidth - there really is no need for this anymore now - documented the relationship between XGridColumn.Flexibility and XGridColumn.Resizeable - re-implemented TableControl_Impl::impl_ni_updateColumnWidths, with (hopefully) less magic sb139: #i116530# improve Java URP bridge error notification by utilizing the java.lang.Throwable cause facility gridsort: document the relationship between soorting the data and notifying XGridDataListeners gridsort: introduce XGridColumn::DataModelIndex. this allows for column removal/insertion at the GridColumnModel, without the need to touch the GridDataModel locales34: #i112431# adapt documentation to reality gridsort: introduce XSortableGridDataModel::removeColumnSort gridsort: #163172# added UNO API support for sorting grid data. Implementation still unfinished. Things missing in the SortableGridData implementation - add as listener to the delegator, so we're notified of changes - translate and multiplex those changes - do own notifications (XGridDataListener.dataChanged) when the sort order changed - (possibly) update the sort order when the data in the current sort-column changed gridsort: made the row title a row heading, being an Any instead of a string gridsort: XMutableGridData: renamed updateRow to updateRowData for consistency; introduced updateRowToolTip as shortcut for multiple updateCellToolTip calls gridsort: updateCell->updateCellData, setCellToolTip->updateCellToolTip; in both methods, have (Col,Row) params instead of (Row,Col), for consistency reasons ... Conflicts: bridges/inc/bridges/remote/bridgeimpl.hxx bridges/inc/bridges/remote/connection.h bridges/inc/bridges/remote/context.h bridges/inc/bridges/remote/helper.hxx bridges/inc/bridges/remote/mapping.hxx bridges/inc/bridges/remote/proxy.hxx bridges/inc/bridges/remote/remote.h bridges/inc/bridges/remote/remote.hxx bridges/inc/bridges/remote/stub.hxx bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx bridges/source/remote/context/context.cxx bridges/source/remote/static/helper.cxx bridges/source/remote/static/mapping.cxx bridges/source/remote/static/proxy.cxx bridges/source/remote/static/remote.cxx bridges/source/remote/static/remote_types.cxx bridges/source/remote/static/remote_types.hxx bridges/source/remote/static/stub.cxx bridges/source/remote/urp/urp_bridgeimpl.cxx bridges/source/remote/urp/urp_bridgeimpl.hxx bridges/source/remote/urp/urp_cache.h bridges/source/remote/urp/urp_cache.hxx bridges/source/remote/urp/urp_dispatch.cxx bridges/source/remote/urp/urp_dispatch.hxx bridges/source/remote/urp/urp_environment.cxx bridges/source/remote/urp/urp_job.cxx bridges/source/remote/urp/urp_job.hxx bridges/source/remote/urp/urp_log.cxx bridges/source/remote/urp/urp_log.hxx bridges/source/remote/urp/urp_marshal.cxx bridges/source/remote/urp/urp_marshal.hxx bridges/source/remote/urp/urp_marshal_decl.hxx bridges/source/remote/urp/urp_property.hxx bridges/source/remote/urp/urp_propertyobject.cxx bridges/source/remote/urp/urp_propertyobject.hxx bridges/source/remote/urp/urp_reader.cxx bridges/source/remote/urp/urp_reader.hxx bridges/source/remote/urp/urp_replycontainer.hxx bridges/source/remote/urp/urp_threadid.cxx bridges/source/remote/urp/urp_threadid.hxx bridges/source/remote/urp/urp_unmarshal.cxx bridges/source/remote/urp/urp_unmarshal.hxx bridges/source/remote/urp/urp_writer.cxx bridges/source/remote/urp/urp_writer.hxx cppu/source/threadpool/threadpool.cxx cppu/util/target.pmk cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx cppuhelper/source/interfacecontainer.cxx cpputools/source/regcomplazy/regcomplazy.cxx jurt/prj/d.lst jvmfwk/source/elements.cxx offapi/com/sun/star/awt/grid/GridDataEvent.idl offapi/com/sun/star/awt/grid/XGridColumn.idl offapi/com/sun/star/awt/tab/makefile.mk offapi/com/sun/star/chart2/ExplicitIncrementData.idl offapi/com/sun/star/chart2/XPlotter.idl offapi/com/sun/star/chart2/XUndoHelper.idl offapi/com/sun/star/document/MediaDescriptor.idl offapi/com/sun/star/document/makefile.mk offapi/com/sun/star/linguistic2/XLanguageGuessing.idl offapi/com/sun/star/script/ModuleInfo.idl offapi/com/sun/star/script/ModuleType.idl offapi/com/sun/star/text/TextMarkupType.idl offapi/com/sun/star/util/XTextSearch.idl offapi/com/sun/star/xml/sax/XFastAttributeList.idl pyuno/source/loader/makefile.mk remotebridges/source/bridge/bridge_connection.cxx remotebridges/source/bridge/bridge_connection.hxx remotebridges/source/bridge/bridge_provider.cxx remotebridges/source/bridge/remote_bridge.cxx remotebridges/source/bridge/remote_bridge.hxx remotebridges/source/dynamicloader/dynamicloader.cxx remotebridges/source/factory/bridgefactory.cxx remotebridges/source/factory/bridgeimpl.cxx remotebridges/source/factory/bridgeimpl.hxx remotebridges/source/factory/makefile.mk sal/cppunittester/cppunittester.cxx sal/inc/osl/diagnose.h sal/osl/os2/system.h sal/osl/unx/diagnose.c sal/osl/unx/file_misc.cxx sal/osl/unx/process_impl.cxx sal/osl/w32/diagnose.c sal/osl/w32/process.cxx sal/prj/build.lst sal/qa/rtl/math/makefile.mk sal/qa/rtl/math/rtl_math.cxx sal/qa/rtl/math/rtl_old_testint64.cxx sal/qa/rtl/math/test_rtl_math.cxx sal/systools/win32/kill/kill.cxx sal/textenc/tencinfo.c sal/util/sal.map stoc/source/inspect/introspection.cxx stoc/source/security/file_policy.cxx stoc/source/simpleregistry/simpleregistry.cxx