summaryrefslogtreecommitdiff
path: root/include/osl
AgeCommit message (Collapse)Author
2014-01-28Support direct ctor calls for singletons too.Matúš Kukan
Change-Id: I6db797c950b8222b3ad95faff86adf5e7b41ff4b
2014-01-27Let C++ inline functions return bool instead of sal_BoolStephan Bergmann
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Change-Id: Ibf43c5ded609b489952e1cc666cac1e72ffa2386
2014-01-23Experimental direct constructor calls for more services.Matúš Kukan
Change-Id: I18f56b674088d750cf06a409e547a7f59be22d61
2014-01-20component-defines.h should be generated.Jan Holesovsky
Change-Id: I759d119e0ad6c5ae2881284c82292d4d9cb7ae87
2014-01-15Fix fallout after a700ce8e2b2f2dad50bf36dfd69de577211f1dc3Tor Lillqvist
Change-Id: I489126d291f9420aa1692d4b1f187f72dfd92a62
2014-01-15Reduce the number of experimental direct constructor calls.Matúš Kukan
It puts the function into binary in cases we don't want it for mobile platforms. We want to generate this list later anyway. Change-Id: I59be18b7b394254d845f5b2de02684c774510174
2014-01-06Thinko: The macros must be based on service instead of implementation namesStephan Bergmann
Change-Id: I80fe00310f934fa335ade5fcdef41c44cc6ab69c
2014-01-01Use native-code.py generated code also for iOS.Matúš Kukan
This allows us to get rid of component-declarations.h and simplify component-mapping.h. For new, converted, implementation_getFactories, adding one line into native-code.py should be enough to make them available in application. Change-Id: I042320e5b7f8a9aa9f02b77d2bdd07cf9a690ee6
2013-12-20Revert "svx: split into direct implementation getFactories"Matúš Kukan
Also reverts "These services are in fact implemented in svxcore library." This reverts commit 090674dcb085cd41f4628e4f07c9a2268a18e862 and commit 4a969ac35174520f1ffeb4f919f5d7bb6d99a628. This is embarrassing; needs more work.
2013-12-20svx: split into direct implementation getFactoriesMatúš Kukan
Change-Id: I888f10a923dc2b97247b2a66cc6bd116eee280a7
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-19Missing eol backslashStephan Bergmann
Change-Id: Ia3fd6c84c430fcce30779f9b554090a322e6fd9a
2013-12-19Deduplicate more components.Matúš Kukan
No one says this is the only good classification. Quite possibly it's not even a good one, but at least something. Change-Id: I81178314222f9f63708a83b262ff8ef73a1d9467
2013-12-19Deduplicate calc components.Matúš Kukan
Hopefully it makes sense, I don't know. Inspired by Debian packages. Change-Id: I8caf2d4aa75b8f6de3cc7da9eb293955a4ed58d8
2013-12-19Deduplicate writer component factories.Matúš Kukan
Change-Id: I0b82e8a284f871829b7c22a654d61534b5c5a3cc
2013-12-19WIP: Direct service ctor calls at least on Android/iOSStephan Bergmann
Change-Id: I8a1907bc4b8f2134efb15d38a0fb5176b4384317
2013-12-19Fix up constructor function declarationsStephan Bergmann
Change-Id: I68ec96b20da1603e5cafd31d620d8dd54306627a
2013-12-19Deduplicate a lot of common components.Matúš Kukan
Change-Id: Ic3eb95119eed7a691c9cd0c677f28c87395b9415
2013-12-19Add .component <implementation constructor="..." featureStephan Bergmann
...to directly call constructor functions of ComponentContext-based C++ implementations of (non-single-instance) UNO services. The case where these calls would need to be bridged across different environments (e.g., from gcc3 to gcc3:affine) is not yet implemented. bootstrap.component and expwrap.component are adapted accordingly as a proof-of- concept (which had previously been adapted to use the prefix="direct" feature, which may become unnecessary again in the end, depending on how to handle single-instance services/singletons). More to follow. Change-Id: I18682d75bcd29d3d427e31331b4ce8161dbb846d
2013-12-19Introduce osl::Module::releaseStephan Bergmann
...to make osl::Module useful in cases where there underlying library shall remain loaded after the Module instance is destroyed. Change-Id: Ie2c9c094207f159b900620d394f489d49ffa36d2
2013-12-18Get more --disable-dynamic-loading code out of shlib.cxx.Matúš Kukan
It's not terribly nice, but, hopefully, better. The hope is that one day, lo_get_library_map will be no more. In lo_get_implementation_map we can specify more precisely what to link into the binary. Change-Id: I99a1854fbae05be2f70302cc56bea88e522ec129
2013-12-18bootstrap component: Split into implementation functions.Matúš Kukan
Change-Id: I91cb0177edd79485eab885e995e79b1a19a769d5
2013-12-18Deduplicate some foo_component_getFactory declarations.Matúš Kukan
Change-Id: I9304b62134bab375b721399ae078bf66e01191d8
2013-12-02add health warning on osl condition.Michael Meeks
Change-Id: I24619afb8b1ea0410e95e60fe70b5166e18fab44
2013-11-28Don't let Doxygen document the #define BOOST_NO_0X_HDR_TYPEINDEXStephan Bergmann
Change-Id: I3df112c840ccac71fb34d39900b3be3630b9c5a6
2013-11-25Fix some typos for "Right"Julien Nabet
Change-Id: I6bcdb57ab45d5571bde53a6c43fe104551197086
2013-11-13What is a "thread-local" mutex?Tor Lillqvist
Change-Id: Idb0ca4bcefea4c1927e8238d3371c9044103239f Reviewed-on: https://gerrit.libreoffice.org/6651 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-09fdo#65108 inter-module includes <> include/oslNorbert Thiebaud
Change-Id: I0490192db3d6b46c6b181ae122028e11682a13cf
2013-10-23fixincludeguards.sh: include/o*Thomas Arnhold
Change-Id: Ibd5d8af00f6582d53231c76e2b04e737b5804497
2013-10-23remove external include guardThomas Arnhold
Change-Id: I78a816b23a0cc118a61a39ca21d6ec234fd39749
2013-10-13Minor refactoring of iOS codeTor Lillqvist
Rename functions so that functions called by the UI layer for actions to happen in the LO layer and functions called by the LO layer for things to happen in the UI layer use different prefixes. Move declarations to the generic <touch/touch.h> and avoid iOS-specific types in the API. Change-Id: Ieb8979065e02a87c4a415c934163265f2790d011
2013-10-13lo_dlcall_argc_argv() is unusedTor Lillqvist
Change-Id: I318bb78b148564f64373dcb87bfb458c10f87489
2013-10-11iOS experimental app support for selection marking via long press gestureptyl@cloudon.com
Change-Id: Ib7a71797a2dc967f9d8ddd60fdc10c78201a87c8 Reviewed-on: https://gerrit.libreoffice.org/5911 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-09Fix for iOS scroll by pixels, and pinch to zoomptyl@cloudon.com
Minor further changes by tml to match the coding style of surrounding code mainly. Change-Id: Ied6087a264f1c6b00763ea36fba9808329afede4 Reviewed-on: https://gerrit.libreoffice.org/5742 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2013-09-30API CHANGE: Remove osl_getEthernetAddress and osl/util.h .Arnaud Versini
Also move osl/util.c on Unix systems to osl/system.c. Change-Id: Ifff79d9f4f89ecbb4e0e1652b40ab46b7d569adf Reviewed-on: https://gerrit.libreoffice.org/6065 Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org> Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2013-09-07typo fix: absoulte -> absoluteAndras Timar
Change-Id: Ib728cb9bac3f42e17649685b4413b9335f2dc2c4
2013-08-30WaE: possible loss of dataTor Lillqvist
Change-Id: Ib442a7cae9f4c9bc5e32c20f1e1844a191f5b057
2013-07-05API change: osl/time.h take const pointers where appropriateLionel Elie Mamane
Should be backwards-compatible... Change-Id: I6b04bec2c032ff8c57a1b5192b2d3962dcc96c84
2013-07-05API change: oslDateTime signed yearLionel Elie Mamane
Change-Id: Ic4f1e424b130fd2ccca379adbe0a66836b6cac41
2013-06-13rename HAVE_CXX0X->HAVE_CXX11 and clean up to #define in a config headerLuboš Luňák
Change-Id: Id13e77fe890301a8510952994a91853568a7aea6
2013-05-29Tweak commentsStephan Bergmann
(Preventing documentation of macros via @cond ... @endcond is apparently at least broken in Doxygen 1.8.3 and working in Doxygen 1.8.4.) Change-Id: I2ee582119dba2c3d27db5298786d3076921af46d
2013-05-23Use C++ static_castStephan Bergmann
Change-Id: I36793cf0144de5e051d277e70457f36dbfc933ff
2013-05-14SolarMutex does not belong into the URE interfaceStephan Bergmann
...so move it from osl/mutex.hxx to its own comphelper/solarmutex.hxx. It looks like a newbie mistake that 59e7685d8d812ee8773f57475cbe3aa2a0bdfc81 "Create an abstract interface to be used to implement a SolarMutex" put it here in the first place. I do not consider this an incompatible change really, as no external URE client code should have used SolarMutex anyway. (Also included some clean up, like removing unused {Clearable,Resettable}SolarGuard, and spelling out SolarGuard in the few places it is used.) Change-Id: I121ffb5b7cefbc19e88b5405e5a85ffc895be852
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-04-24move sal_inc headers to include/David Tardon
Change-Id: I840c681b7c500640d3983e05e9895f3fa8bb1313 Reviewed-on: https://gerrit.libreoffice.org/3501 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>