Commit Graph

51 Commits

Author SHA1 Message Date
99e3bd454b Remove visual noise from odk
Change-Id: I5638e2d37827c2d7322b72bf6ce176ac843639f1
Reviewed-on: https://gerrit.libreoffice.org/8285
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 10:02:49 -06:00
fa2a7c1c95 Keep using component_getImplementationEnvironment in extensions
...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-17 11:05:59 +01:00
89633c6da1 remove unnecessary use of OUString::createFromAscii
Convert code like this:
    OUString aStrSpacing(OUString::createFromAscii("spacing"));
to:
    OUString aStrSpacing("spacing");

Change-Id: Ia2b7d6b42f35d33cfe587a0d6668030f3537fa6d
2013-11-21 13:29:29 +02:00
da5449da0c fdo#54938: More uses of cppu::supportsService
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-25 08:07:04 +00:00
a7724966ab Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete.

Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
3656a57e88 add mode lines to new files (and idls) since last run
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22 12:21:34 +01:00
55225176b6 Unused include
Change-Id: If6caa7abed25ce95f1c62f9673619426eb49b5a8
2013-04-29 13:05:51 +02:00
5051209534 Adapt SDK to usage of msvcrtd for Windows --enable-dbgutil
* Re-use existing settings/dk.mk to tunnel ENABLE_DEBUG into the SDK.  Turns out
  this was explicitly included in ~all examples Makefiles, but only after
  settings.mk where it is now used, so include it in settings.mk now and dropped
  it from all the exmaples Makefiles.

* The old settings.mk was apparently confused with using /MT ("link with
  LIBCMT.LIB") on cl command line and /MD ("link with MSVCRT.LIB") on link
  command line (where it was ignored), and you apparently can't pass both
  together to cl, so I settled on /MD (resp. /MDd) now and dropped /MT (resp.
  /MTd).  No idea if that is exactly right, however.

* Introduced client-facing LIBO_SDK_LDFLAGS_STDLIBS that covers kernel32.lib and
  msvcrt.lib vs. msvcrtd.lib on Windows.  Adapted examples Makefiles and
  /ure/source/uretest/Makefile accordingly.  Some examples Makefiles
  additionally use msvcprt.lib, no idea whether that still needs to be
  addressed.

Change-Id: Ia8d9d177e415abfbaf6f9fa6239f0ef9998868be
2013-04-19 14:02:18 +02:00
78120c41f0 Missing return
Change-Id: I76db8e6e1460141ee4ef1bed10ea46c2b402b249
2013-04-12 11:57:03 +02:00
14a2413530 Adapt SDK to -B removed from cppumaker/javamaker
Change-Id: Ida4d11e0f8dfea201e0456cc54aa7f5af093d2ad
2013-04-11 14:24:08 +02:00
368210926b remove -dylib_file mappings that are not needed anymore
XCode 2.5 (i.e. Mac OSX 10.4 & 10.5) couldn't find the libraries
without explicit mapping, but as baseline is now 10.6, this
wrapping is no longer necessary

Change-Id: I225fc47b9ea4b1fb2b13ba575605cbdebc014fd8
Reviewed-on: https://gerrit.libreoffice.org/3192
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-04-04 17:46:46 +00:00
d7a301476d Remove commented code in odk/examples
Change-Id: I8b28729d3cc632426efac02028f0d0e332243012
Reviewed-on: https://gerrit.libreoffice.org/3138
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-31 18:57:08 +00:00
14d909632e Remove RTL_CONSTASCII_(U)STRINGPARAM in odk
Change-Id: I97e5e650b7966d1ac3c6f9e45b495c21b529b768
2013-03-31 20:44:06 +02:00
c73dce0725 lost } 2011-10-24 13:59:59 +02:00
b50137566f Remove component_getImplementationEnvironment 2011-07-12 16:45:29 +02:00
11cdc4ccc4 Merge commit 'ooo/DEV300_m103'
Conflicts:
	odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
	odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
	odk/examples/cpp/complextoolbarcontrols/exports.cxx
	odk/examples/cpp/counter/countermain.cxx
	odk/examples/cpp/remoteclient/remoteclient.cxx
	odk/settings/settings.mk
2011-03-23 16:59:36 +01:00
7551b6e26d jsc340: i114609: move generated component services rdb 2011-03-01 14:45:39 +01:00
8e8fc2abfa jsc340: i114609: adapt examples to work with the URE and use the passive registration 2011-03-01 09:48:57 +01:00
01f92dfffd jsc340: i114609: adapt examples to work with the URE and use the passive registration 2011-02-28 14:10:02 +01:00
1628005298 Trying to remove the stlport mention from the code 2011-02-09 16:20:25 +01:00
7ccc9aaef5 RTL_CONSTASCII_USTRINGPARAM in sdk 1 2010-11-27 09:10:56 +01:00
e9a59da46a Add vim/emacs modelines to all source files
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-13 10:58:04 +02:00
1296914c84 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
c89349ba90 #i106584# remove argc, argv from macro 2009-11-09 13:38:02 +00:00
40487924f7 #i106627# extend and adapt env for VC9, building manifest, change macro 2009-11-05 14:21:50 +00:00
b7f5132b04 #i160584# use SAL_IMPLEMENT_MAIN macro 2009-11-05 12:27:28 +00:00
7be9fda4b4 INTEGRATION: CWS jsc21 (1.12.74); FILE MERGED
2008/06/27 08:49:54 jsc 1.12.74.2: #i90032# adapt link flags and linking for MacOS
2008/05/21 11:27:47 jsc 1.12.74.1: #i88797# adapted to new structure
2008-07-11 13:27:06 +00:00
4b29adc5e8 INTEGRATION: CWS changefileheader (1.6.98); FILE MERGED
2008/04/01 12:31:57 thb 1.6.98.1: #i85898# Stripping all external header guards
2008-04-10 15:54:52 +00:00
fff8c826e6 INTEGRATION: CWS jsc20 (1.8.84); FILE MERGED
2008/01/03 15:23:32 jsc 1.8.84.1: #i84966# add missing include
2008-01-28 15:30:31 +00:00
e5aacc86cc INTEGRATION: CWS jsc17 (1.11.8); FILE MERGED
2007/01/22 13:31:40 jsc 1.11.8.1: #i72793# integrate patch and verify all C++ makefile
2007-01-25 10:08:39 +00:00
81e215008a INTEGRATION: CWS jsc15 (1.10.2); FILE MERGED
2006/11/24 12:51:54 jsc 1.10.2.1: #i68136# insert manifest linking
2006-12-20 11:25:42 +00:00
068e2bdf9d INTEGRATION: CWS jsc14 (1.7.14); FILE MERGED
2006/10/25 08:52:30 jsc 1.7.14.1: #i70636# remove auto generated precompiled header include
2006-11-06 14:07:28 +00:00
f073e10e2e INTEGRATION: CWS jsc14 (1.5.14); FILE MERGED
2006/10/25 08:52:29 jsc 1.5.14.1: #i70636# remove auto generated precompiled header include
2006-11-06 14:06:58 +00:00
fdcf3585ba INTEGRATION: CWS jsc14 (1.9.104); FILE MERGED
2006/10/25 08:52:29 jsc 1.9.104.1: #i70636# remove auto generated precompiled header include
2006-11-06 14:06:39 +00:00
ad3f6e6973 INTEGRATION: CWS pchfix02 (1.6.152); FILE MERGED
2006/09/01 17:32:27 kaib 1.6.152.1: #i68856# Added header markers and pch files
2006-09-16 23:16:42 +00:00
d617581f74 INTEGRATION: CWS pchfix02 (1.4.98); FILE MERGED
2006/09/01 17:32:27 kaib 1.4.98.1: #i68856# Added header markers and pch files
2006-09-16 23:16:28 +00:00
e2be250713 INTEGRATION: CWS sdkbugfix02 (1.8.10); FILE MERGED
2005/03/03 15:42:05 jsc 1.8.10.1: #41142# replace make with internal MAKE variable
2005-03-29 11:15:23 +00:00
67b84f9e2d INTEGRATION: CWS sdksample (1.3.124); FILE MERGED
2004/08/05 12:36:43 jsc 1.3.124.1: #i29308# use static_casat to remove new warning fromMS .NET 2003 compiler
2005-01-31 16:06:40 +00:00
f5599ef364 INTEGRATION: CWS sdksample (1.7.4); FILE MERGED
2005/01/28 10:06:00 jsc 1.7.4.3: #i29308# prepare path for del command (windows only)
2004/10/25 12:58:53 jsc 1.7.4.2: #i29308# minimize exported symbols
2004/10/22 14:19:19 jsc 1.7.4.1: #i29308# replace DKREGISTRYNAME with OFFICE_TYPE_LIBRARY
2005-01-31 16:06:25 +00:00
1dd4ea2690 INTEGRATION: CWS sdk13 (1.6.94); FILE MERGED
2004/05/05 09:31:42 jsc 1.6.94.1: #116658# merge cinnabar changes
2004-05-18 12:29:37 +00:00
074d44668e INTEGRATION: CWS sdk12bugfix (1.5.8); FILE MERGED
2004/03/01 11:38:51 jsc 1.5.8.1: #112169# remove unnecessary header
2004-03-17 10:51:35 +00:00
3e57fb97e7 INTEGRATION: CWS geordi2q14 (1.4.72); FILE MERGED
2004/01/30 13:11:44 hr 1.4.72.1: #111934#: merge CWS ooo111fix2
2004-02-02 19:07:53 +00:00
35315d3d7e INTEGRATION: CWS sdk06 (1.5.2); FILE MERGED
2003/07/03 14:54:17 jsc 1.5.2.1: #110588# insert subst command to correct slashes for Windows < XP
2003-07-09 09:41:01 +00:00
afcfadbd33 INTEGRATION: CWS sdk04 (1.3.20); FILE MERGED
2003/06/23 09:16:45 jsc 1.3.20.1: #110313# insert license source header
2003-06-30 14:53:08 +00:00
e7cde6a0d3 INTEGRATION: CWS sdk04 (1.2.28); FILE MERGED
2003/06/23 09:11:48 jsc 1.2.28.1: #110313# insert license source header
2003-06-30 14:52:53 +00:00
148edc7d39 INTEGRATION: CWS sdk04 (1.2.28); FILE MERGED
2003/06/23 09:16:45 jsc 1.2.28.1: #110313# insert license source header
2003-06-30 14:52:42 +00:00
34513f47fc INTEGRATION: CWS sdk04 (1.4.6); FILE MERGED
2003/06/23 09:16:44 jsc 1.4.6.1: #110313# insert license source header
2003-06-30 14:52:30 +00:00
6ed38299b4 INTEGRATION: CWS sdk02 (1.3.6); FILE MERGED
2003/05/16 14:01:28 jsc 1.3.6.1: #109045# improve build process
2003-06-10 09:46:00 +00:00
24409e8e8e INTEGRATION: CWS sdk01 (1.1.4.1.6); FILE MERGED
2003/04/10 11:32:44 jsc 1.1.4.1.6.1: #108799# use new naming convention for uno components
2003-04-17 08:41:48 +00:00
978111930d INTEGRATION: CWS sdk01 (1.1.4.1.6); FILE MERGED
2003/04/15 08:07:15 jsc 1.1.4.1.6.3: #108799# correct dependency
2003/04/12 10:13:53 jsc 1.1.4.1.6.2: #108799# new naming convention
2003/04/10 11:32:42 jsc 1.1.4.1.6.1: #108799# use new naming convention for uno components
2003-04-17 08:41:16 +00:00