summaryrefslogtreecommitdiff
path: root/odk
AgeCommit message (Collapse)AuthorFilesLines
2014-01-21DesktopEnvironment example does not work on OS XStephan Bergmann1-0/+5
...as nativelib/unix/nativeview.c uses X11. Change-Id: Ifdc0206b77085db909155fb61c4a345f2813849d
2014-01-21OfficeBean example does not work on OS X (where officebean.jar is not built)Stephan Bergmann1-0/+5
Change-Id: I18c9d0fa0a74cbbdad43bd99d87dc6414a0264d2
2014-01-21Fix signature of main functionStephan Bergmann1-1/+1
Change-Id: Id6a4968b15445f04e788eaa6ca950707d5311e66
2014-01-20Fix Mac OS X 64 bit SDK settings.mkStephan Bergmann1-1/+9
...to simply use Xcode clang++ (which implicitly uses libc++). Change-Id: I02578f971e4abddfe74211046674bdcd23d7b279
2014-01-20SDK settings.mk: Don't guess PLATFORM/PROCTYPEStephan Bergmann3-31/+12
...rather, pass them from the build to the SDK installation via dk.mk. (The SDK installation is already platform-specific anyway, see the binary executables in its bin/ directory, so there is no point in not fixing this at build time. In the future, the shipped settings.mk could of course be stripped to just the parts relevant for a given platform, of course.) Along the way, fixes some apparent "ppc" vs. "powerpc" typos in settings.mk. This is a prerequisite to create a working settings.mk for macosx_x86_64, but does not yet do that. Change-Id: Ib8e0c03ad6dfd610aae58a61e32bdc61c785584f
2014-01-08typoStephan Bergmann1-1/+1
Change-Id: Ia6aef40daa81e76051fd5b6ce7d4e38da1262b25
2014-01-08Some ConfigurationProvider -> theDefaultProvider simplificationsStephan Bergmann3-12/+6
Change-Id: I7c25cd94f8a1ca339f7423c26f21f13c7a68906d
2014-01-08Missing forward declarationStephan Bergmann1-0/+1
Change-Id: I1c7cb32819d70efaf470247c86e0ee8dcb3f9087
2013-12-22Fix other typosJulien Nabet1-1/+1
Change-Id: I3f0a51c53efdd383d49d978a1e8531afe9dac896
2013-12-20Spelling correction: s/retrive/retrieve/Tor Lillqvist1-1/+1
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-12-20typo fixesAndras Timar17-56/+56
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-18odk: "pltfrm" appears to be unusedMichael Stahl1-4/+0
Change-Id: Ia991593d53e31ad3d65881f9b6e62fede93e0266
2013-12-18fdo#72598: odk: remove SunStudio supportMichael Stahl3-64/+9
No idea if the GCC stuff that's in there actually works. Change-Id: Idd1b93edd88609f3c09d14134d00a15fa9c0b0b7
2013-12-17TypoStephan Bergmann1-1/+1
Change-Id: Ie781105ce7be8a617b4893fe77f6aa1467fd0e49
2013-12-17Keep using component_getImplementationEnvironment in extensionsStephan Bergmann11-2/+70
...instead of relying on the implicit CPPU_CURRENT_LANGUAGE_BINDING_NAME convention. Keeping that convention an implementation detail makes it easier to do improvements in the future. (Theoretically, the bundled extension in mysqlc could be considered internal code and not adapted, but just be safe.) Change-Id: Iae41a6e072dabc2bf7c1481ba6cfed61680edf37
2013-12-17Do not use Boost in SDK examplesStephan Bergmann1-6/+3
Change-Id: I8b2af447fe3ee29261e538a53b4624ff8b6c4d1e
2013-12-17gbuild: Fix and check package dependencies.Matúš Kukan1-5/+1
Change-Id: Ia54def7a404e07974eb1e8a556f4659cd974e7f8 Reviewed-on: https://gerrit.libreoffice.org/7081 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
2013-12-13Targetted text updates, with seasonable changes before l10n freeze.Michael Meeks6-7/+7
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-11ure: remove references to SunStudio C52 filenamesMichael Stahl1-4/+0
Change-Id: If11655aa56239b9241db43a058244360a8abe1ec
2013-12-10Drop duplicate #includeTakeshi Abe1-1/+0
Change-Id: Ib8969d5cd4898b81a5dcd90dc313abd28adfe052
2013-11-28Declare SAL_THROW as documentation-only and deprecatedStephan Bergmann1-2/+1
...which it effectively had been already anyway. Change-Id: I6c9ae34f59e8bd44a6be38e6e719ad0a96773c1c
2013-11-28detabify DoxyfileStephan Bergmann1-5/+6
Change-Id: I2f7afe172221dce2de4f5d9cbef84de95ab6078c
2013-11-21Typo in capitalization of include file nameStephan Bergmann1-1/+1
Change-Id: I41a46c5b62c06f6298fc6e0ac70ff508bf27ec29
2013-11-21remove unnecessary use of OUString::createFromAsciiNoel Grandin1-1/+1
Convert code like this: OUString aStrSpacing(OUString::createFromAscii("spacing")); to: OUString aStrSpacing("spacing"); Change-Id: Ia2b7d6b42f35d33cfe587a0d6668030f3537fa6d
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold1-1/+1
* Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OUString::matchAsciiL callsNoel Grandin1-1/+1
Convert code like: defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) ); to: defaultValue.startsWith( "nextval(" ); Change-Id: I77bdcbf46bec6ded3c16a8248634b1424a1eb4f0
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin3-3/+3
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin1-8/+8
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin1-9/+9
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11remove unnecessary use of OUString constructorNoel Grandin4-10/+10
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-08instsetoo_native: shouldn't need instdir in include pathMichael Stahl1-3/+3
get_Source_Directory_For_Files_From_Includepathlist already has a special hack to find all the files in instdir so ideally it should not be necessary to put these directories on the include path. Clean up readlicense_oo to make that possible; also copying license.txt as-is to LICENSE on Unix but first converting it on WNT is rather silly... Change-Id: I95f30bc5e0b7ca73c50156a7ce0131640185778c Reviewed-on: https://gerrit.libreoffice.org/6613 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-07configure: add vars for Solaris/SPARC64 (already checked in vcl)Michael Stahl1-8/+8
Change-Id: Ic27986d8d45f61facedf2400b77334aaf1da7c1e
2013-10-31readlicense_oo: stop delivering files to OUTDIRMichael Stahl3-4/+27
- remove Package_readme, use generated files from WORKDIR via include path - Package_license and Package_files deliver to INSTDIR - split up Package_odk_shared_readme to have extra Package for generated files - gb_Extension_LICENSEFILE_DEFAULT points to INSTDIR Change-Id: I019d3431e30d982e887ae0000c755e0d61f98893
2013-10-31odk: merge Package_config_notwin into Packge_configMichael Stahl3-30/+9
Change-Id: I021ae1bc6d816d359be364c221d70a0e178a8b80
2013-10-28odk: adapt to cli_ure/unoil changesMichael Stahl1-6/+6
Change-Id: I9fec64c247de793ae30434c615752f48d1bc2205
2013-10-25stop looking for Jar files in solverMichael Stahl1-2/+3
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza4-59/+13
Change-Id: Id6bed78d92eba52283a17ab3ca66e751c225e48d Reviewed-on: https://gerrit.libreoffice.org/6423 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-23Install SDK cli/cli_cppuhelper.dll after allStephan Bergmann1-0/+1
Instead of removing it from odk/Package_cli.mk, c0c7df91469d3306baa6708b0a8ab4eadc0e9097 "odk: remove cli_cppuhelper from Package_cli" should have referenced it from solver's bin/assembly/, where it got moved by 8865b7f013bcd9b4ce41dd98be28ba28aeb22e66 "fdo#55290: use the right native library name." (And "It is actually installed by scp2/source/ooo/ure.scp" too, indeed, but that is a red herring and is true for all the SDK cli/cli_*.dll files. My take is that they are required twice, once in the GAC, which the scp2 settings are for, and once for SDK code to link against. Note e.g. the reference to cli_cppuhelper.dll in odk/examples/CLI/CSharp/Spreadsheet/Makefile, building which from within the SDK failed now without this fix.) Change-Id: Ia906a4dc23e1e232ddb3dfac49dd190d1de45917
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist5-7/+7
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-11Add a picture and a graphicTor Lillqvist1-0/+0
Change-Id: Ic58a0c6302b4bdac892ba1d9d019ae5b6f98e27d
2013-09-30API CHANGE: Remove osl_getEthernetAddress and osl/util.h .Arnaud Versini1-1/+0
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-26typo fixes in commentsAndras Timar9-28/+28
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-25drop worthless _VECTOR_/_MAP_ header guardsCaolán McNamara1-2/+0
Change-Id: I54be19847b8fb609f0b08a528cc06dbae9f579d5
2013-09-23Fixes for cross-compilation on OS X (to iOS)Tor Lillqvist20-22/+22
Introduce SDKDIRNAME as a configury variable and use it instead of the gbuild gb_Package_SDKDIRNAME. Then we can easily construct the SDKDIRNAME_FOR_BUILD variant that is needed to find the specially named SDK in instdir on OS X when cross-compiling. Move the version number section in configure.ac earlier. Change-Id: Iee3db1a50ad4c7a9f91bbc5e0d0b01d76a76f701
2013-09-22add mode lines to new files (and idls) since last runCaolán McNamara21-0/+56
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22gbuild: remove static libraries from OUTDIRMichael Stahl1-1/+1
Refactor to find and link static libraries directly in WORKDIR. - gb_StaticLibrary_get_target is now same as the gb_LinkTarget_get_target - fix the StaticLibrary clean target Change-Id: Icf29d32d6487747a2e39d4599ceebccfead04667
2013-09-22odk: remove Package_bin, instead auto-install executablesMichael Stahl3-29/+2
This is somewhat annoying since it requires re-introducing stupid directories in scp2, but if the executables should be put in INSTDIR directly then the Package_bin needs to go. Change-Id: I893694c7f9d4cb5b9ef8ec4a3d30e08536223740
2013-09-22gbuild: remove libraries from OUTDIR and WORKDIRMichael Stahl1-20/+0
Refactor everything to find and link libraries directly in INSTDIR. - add gb_LinkTarget_get_linksearchpath_for_layer, and use it to set up -L paths for T_LDFLAGS in such a way that only allowed libraries can be linked against; i.e. it's not possible to link URE linktargets against OOO or not-installed libraries - gb_Library_get_target is now same as the gb_LinkTarget_get_target (TODO: this needs cleanup) - since a pattern rule won't work for linking libraries in INSTDIR, add a separate per-file rule for every INSTDIR lib - pattern rule can't find link target in the clean target any more so add a LINKTARGET variable - disable gb_Library_add_auxtarget, no auxtargets need to be copied - tweak the call to gb_Library_Library_platform to pass in a path in sdk/lib for the versioned URE libs - fix the Library clean target - add LAYER parameter to gb_LinkTarget_LinkTarget - adjust platform link commands - MSVC link command now uses explicit -manifestfile and -pdb parameters to keep misc. files out of INSTDIR - remove gb_Helper_OUTDIR_FOR_BUILDLIBDIR - adjust Extension, CppunitTest, JunitTest, PythonTest, Gallery, various CustomTargets to search INSTDIR - remove SDK library symlinks and import libs from odk/Package_lib - on Mac OS X, put .dylib symlinks into sdk/lib even though those are not packaged and would be created by the SDK configury; we need these to be somewhere for linking anyway - add a (unfortunately cyclic) dependency on Package ure_install to sal Change-Id: I70d88742f8c8232ad7b9521416275c67b64fe6cf
2013-09-22odk: remove cli_cppuhelper from Package_cliMichael Stahl1-1/+0
It is actually installed by scp2/source/ooo/ure.scp already. Change-Id: I0ca538e3d6c52b1e228f1b1191778d8fb5d84954
2013-09-22unowinreg.dll is not in OOO layerMichael Stahl1-1/+1
Change-Id: Ib22fcbe5e9427750196f11c512fd4d3134108731