Commit Graph

136 Commits

Author SHA1 Message Date
af572d9fbb Related: #i121577# Allow setting toolbar name in Addons.xcu
(cherry picked from commit 96cd87ec89e5ebe9d174c90b0f2cab96b3772732)

Conflicts:
	odk/examples/cpp/complextoolbarcontrols/CalcWindowState.xcu
	odk/examples/cpp/complextoolbarcontrols/WriterWindowState.xcu
	odk/examples/java/Inspector/Inspector.java

Change-Id: I6a0c1a657c6084df4efd8e150dc252155b32ba0b
2013-06-24 11:54:45 +01:00
be49d3a25b odk: fix odd Java example that creates URLs to IDL documentation
... and even does it wrongly by appending the fragment part too early.

Change-Id: I05c790113cb219f422a9650db85c04943cde28a3
2013-06-04 12:01:11 +02:00
8be40d31d7 Java cleanup, convert Hashtable to HashMap
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
2013-05-06 11:45:53 +02:00
587c59fbc9 Java cleanup, Convert Vector to ArrayList
Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
2013-05-06 11:45:50 +02:00
6f17a2f66f Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26 08:36:04 +02:00
fb39e71989 Java cleanup, call static methods statically
Change-Id: Ibe0454d490153f723a58c3c619be7f8d443639c8
2013-04-26 08:18:40 +02:00
68b9fb0aae Java cleanup - remove unnecessary casts in the ODK code
Change-Id: I1ab8ad5182444fc3eebd2349135a0240ebbe0fd4
Reviewed-on: https://gerrit.libreoffice.org/3566
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-23 10:29:36 +00: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
bea18dd581 fix compile error in unused Java file.
"exception not thrown in catch block"

Change-Id: I13f8be9913f655ab1633b29e9fe686a41c2c0fcb
2013-04-17 13:06:32 +02:00
14a2413530 Adapt SDK to -B removed from cppumaker/javamaker
Change-Id: Ida4d11e0f8dfea201e0456cc54aa7f5af093d2ad
2013-04-11 14:24:08 +02: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
cc360f0a48 fdo#46808: Missing adaptions to XFolderPicker2
c988da288ec473a28f61ebb53aa3ff82bab11ef4 "fdo#46808, Adapt
ui::dialogs::FolderPicker UNO service to new style" had left some FolderPicker
implementations at XFolderPicker, so creating them caused DeploymentExceptions.

Change-Id: I3463161f9bb87a69a2777c331eb5b93d487790b0
2012-11-27 10:39:28 +01:00
1994d859e3 fdo#51304 Remove @author annotation
This commit removes @author annotations, some templates comments. It has some
cleanup.

Change-Id: I995ba7b06d661fcec17f26c368d9449c0bf5ab45
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1146
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-24 00:02:15 +00:00
2b4fd2c89a re-base on ALv2 code. Includes:
Patches contributed by Pedro Giffuni:
    Avoid some uses of non portable #!/bin/bash in shell scripts.
    http://svn.apache.org/viewvc?view=revision&revision=1235297
    Reduce the dependencies on non standard GNU copy.
    http://svn.apache.org/viewvc?view=revision&revision=1238684
    Correct /usr/bin/env path.
    http://svn.apache.org/viewvc?view=revision&revision=1235619

    Complex Toolbar Controls Extension from the SDK
    Patches contributed by Ariel Constenla-Haile
    http://svn.apache.org/viewvc?view=revision&revision=1190390
    i118615 - make epm more verbose
    http://svn.apache.org/viewvc?view=revision&revision=1204288

    Patches contributed by Mathias Bauer (and others)
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    http://svn.apache.org/viewvc?view=revision&revision=1394326

    Patches contributed by Juergen Schmidt:
    jsc341: i117327: take care if no dependency node in current
    description exists, create one
    http://svn.apache.org/viewvc?view=revision&revision=1172101
    jsc341: i117327: add extra extension dependency check
    http://svn.apache.org/viewvc?view=revision&revision=1172098
    make initial branding changes
    http://svn.apache.org/viewvc?view=revision&revision=1231878

    Patches contributed by Ingo Schmidt
    native373: #i117733# no linux jre installation on 64 bit systems
    http://svn.apache.org/viewvc?view=revision&revision=1167536
    native373: ##164464# improve debian support
    http://svn.apache.org/viewvc?view=revision&revision=1167537

    Patch contribtued by Armin Le-Grand:
    Changed various aspects concerning usages of old vendor names
    http://svn.apache.org/viewvc?view=revision&revision=1293313

fix for neon webdav, remove coinmp bits, improve odk script,
cleanup & remove OS/2 conditionals, system ucpp fixes,
remove OS/2 conditionals, restore our license filenames.
2012-11-12 11:46:43 +00:00
37a2fa5d5a fdo#51304: Remove the author of some java source files
This patch remove some '@author' for Java souce files, and removes some
commented code founded when removing the '@author'.

Change-Id: Ic4fcd028a9cdbd85c693d93bcd48e41f36386d22
2012-10-01 14:10:03 +02:00
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
a5ff5aad59 Java5 update, Convert ArrayList and Vector code to use generics
Change-Id: I6cf6fa8e55005ffdc1d173aeee1e374efbb214fd
2012-09-10 23:43:37 +02:00
743e22ec8b Java cleanup, remove unnecessary imports
Change-Id: I2629a3068d8abd61957097268f5ab0fabf3e9722
2012-09-06 17:13:58 +02:00
39b6fc96fc Java cleanup, remove dead code
Which doesn't even compile any more.

Change-Id: I44a25ce3bd3b1fa554280b80e3fe88e25f63e8fb
2012-09-05 21:01:47 +02:00
cdaddecc5e java: printStackTrace always to stderr
like 3d3b3f656f92790225b89aa31ee61163fb2fc7e5

Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
2012-07-13 12:45:57 +02:00
927287214a manifest.mf files don't need executable bits
Change-Id: I18868b542524f0e94ec7b06e753ee2385ede9a95
2012-06-22 22:39:29 +02:00
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
8b75883b87 Simplified some uses of css.configuration.theDefaultProvider.
* Retro-added new-style UNOIDL singleton specification for it, for easy
instantiation.
* Plus new comphelper::getComponentContext to map from XMultiServiceFactory
to XComponentContext.
2011-11-14 22:07:23 +01:00
3f62165fd4 replace api.openoffice.org to api.libreoffice.org 2011-09-07 10:27:56 +02:00
e8d177f301 drop bogus executable flag from idl/build/src and config files 2011-03-29 21:47:37 +01:00
ded2cf7b20 drop bogus executable flag from image files 2011-03-29 21:44:51 +01:00
3b2efb2043 Remove "using namespace ::rtl" 2011-03-02 20:36:58 +01: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
e7ae6e204e INTEGRATION: CWS jsc21 (1.5.84); FILE MERGED
2008/02/13 13:47:27 jsc 1.5.84.1: #i72964# cleanup header guards
2008-07-11 13:30:03 +00:00
f0993e2913 INTEGRATION: CWS jsc21 (1.22.72); FILE MERGED
2008/05/23 11:49:22 jsc 1.22.72.1: #i88797# change OFFICE_TYPE_LIBRARY to URE_TYPES and OFFICE_TYPES
2008-07-11 13:29:48 +00:00
1fbe0976f6 INTEGRATION: CWS jsc21 (1.3.208); FILE MERGED
2008/02/13 13:47:27 jsc 1.3.208.1: #i72964# cleanup header guards
2008-07-11 13:29:35 +00:00
3f85387421 INTEGRATION: CWS cn1 (1.4.6); FILE MERGED
2007/08/08 12:36:59 cn 1.4.6.3: #i78248# fix merge errors
2007/08/06 13:27:54 cn 1.4.6.2: RESYNC: (1.4-1.5); FILE MERGED
2007/06/13 10:17:53 cn 1.4.6.1: #i78348# implement some accessibility stuff to be able to test this example automatically
2007-11-06 14:08:15 +00:00
1a43d4bdaa INTEGRATION: CWS cn1 (1.4.6); FILE MERGED
2007/06/13 10:17:53 cn 1.4.6.1: #i78348# implement some accessibility stuff to be able to test this example automatically
2007-11-06 14:08:01 +00:00
02a1e8aed5 INTEGRATION: CWS jsc18 (1.4.16); FILE MERGED
2007/07/27 11:24:38 sg 1.4.16.1: #i78746#use different class loader
2007-07-31 12:57:52 +00:00
8a04e1701b INTEGRATION: CWS jsc18 (1.4.16); FILE MERGED
2007/07/27 12:45:06 sg 1.4.16.1: #i78746# removed deprecated methods
2007-07-31 12:57:37 +00:00
23acaba771 INTEGRATION: CWS sdkinspector3 (1.2.6); FILE MERGED
2007/02/20 11:18:01 bc 1.2.6.1: #i74649#several changes
2007-04-04 08:25:00 +00:00
50906dba57 INTEGRATION: CWS sdkinspector3 (1.2.6); FILE MERGED
2007/02/22 16:45:22 bc 1.2.6.2: #i74649#methodNode.isinvoked() method embedded
2007/02/20 11:18:00 bc 1.2.6.1: #i74649#several changes
2007-04-04 08:24:48 +00:00
3d854461fb INTEGRATION: CWS sdkinspector3 (1.3.6); FILE MERGED
2007/02/20 11:18:00 bc 1.3.6.2: #i74649#several changes
2007/02/19 09:43:49 bc 1.3.6.1: #i74649#SourceCode generation improved
2007-04-04 08:24:08 +00:00
bb852d3330 INTEGRATION: CWS sdkinspector3 (1.2.10); FILE MERGED
2007/02/22 16:45:22 bc 1.2.10.3: #i74649#methodNode.isinvoked() method embedded
2007/02/20 11:17:59 bc 1.2.10.2: #i74649#several changes
2007/02/19 09:43:49 bc 1.2.10.1: #i74649#SourceCode generation improved
2007-04-04 08:23:42 +00:00
97364a7d88 INTEGRATION: CWS sdkinspector3 (1.3.6); FILE MERGED
2007/02/20 11:17:59 bc 1.3.6.2: #i74649#several changes
2007/02/19 09:43:49 bc 1.3.6.1: #i74649#SourceCode generation improved
2007-04-04 08:23:30 +00:00
533a9afb75 INTEGRATION: CWS sdkinspector3 (1.3.6); FILE MERGED
2007/02/20 18:24:48 bc 1.3.6.3: #i74649# Code with isPopupTrigger() improved
2007/02/20 11:17:58 bc 1.3.6.2: #i74649#several changes
2007/02/19 09:43:48 bc 1.3.6.1: #i74649#SourceCode generation improved
2007-04-04 08:23:07 +00:00
77d976bf97 INTEGRATION: CWS sdkinspector3 (1.3.6); FILE MERGED
2007/02/22 16:45:22 bc 1.3.6.3: #i74649#methodNode.isinvoked() method embedded
2007/02/20 11:17:58 bc 1.3.6.2: #i74649#several changes
2007/02/19 09:43:48 bc 1.3.6.1: #i74649#SourceCode generation improved
2007-04-04 08:22:53 +00:00
32e6e8024f INTEGRATION: CWS sdkinspector3 (1.2.6); FILE MERGED
2007/02/20 18:24:47 bc 1.2.6.2: #i74649# Code with isPopupTrigger() improved
2007/02/20 11:17:57 bc 1.2.6.1: #i74649#several changes
2007-04-04 08:22:07 +00:00
ef39e0dae6 INTEGRATION: CWS sdkinspector3 (1.2.6); FILE MERGED
2007/02/22 16:45:22 bc 1.2.6.3: #i74649#methodNode.isinvoked() method embedded
2007/02/20 18:24:47 bc 1.2.6.2: #i74649# Code with isPopupTrigger() improved
2007/02/20 11:17:57 bc 1.2.6.1: #i74649#several changes
2007-04-04 08:21:25 +00:00
dbf0465717 INTEGRATION: CWS sdkinspector3 (1.3.6); FILE MERGED
2007/02/22 16:45:21 bc 1.3.6.4: #i74649#methodNode.isinvoked() method embedded
2007/02/20 18:24:47 bc 1.3.6.3: #i74649# Code with isPopupTrigger() improved
2007/02/20 11:17:57 bc 1.3.6.2: #i74649#several changes
2007/02/19 09:43:47 bc 1.3.6.1: #i74649#SourceCode generation improved
2007-04-04 08:21:02 +00:00
7a4403d38e INTEGRATION: CWS sdkinspector3 (1.3.6); FILE MERGED
2007/02/22 16:45:21 bc 1.3.6.4: #i74649#methodNode.isinvoked() method embedded
2007/02/20 18:24:47 bc 1.3.6.3: #i74649# Code with isPopupTrigger() improved
2007/02/20 11:17:56 bc 1.3.6.2: #i74649#several changes
2007/02/19 09:43:46 bc 1.3.6.1: #i74649#SourceCode generation improved
2007-04-04 08:20:50 +00:00
ad0641c452 INTEGRATION: CWS sdkinspector3 (1.3.6); FILE MERGED
2007/02/22 16:45:21 bc 1.3.6.4: #i74649#methodNode.isinvoked() method embedded
2007/02/20 11:17:56 bc 1.3.6.3: #i74649#several changes
2007/02/19 11:22:24 bc 1.3.6.2: #i74649# Sourcecode generation of Basic improved
2007/02/19 09:43:46 bc 1.3.6.1: #i74649#SourceCode generation improved
2007-04-04 08:20:37 +00:00
2165ca2eb5 INTEGRATION: CWS sdkinspector3 (1.2.6); FILE MERGED
2007/02/20 17:27:01 bc 1.2.6.1: #i74649#registry files added
2007-04-04 08:19:59 +00:00
6bf36ad9f9 INTEGRATION: CWS sdkinspector3 (1.3.6); FILE MERGED
2007/02/22 16:45:21 bc 1.3.6.3: #i74649#methodNode.isinvoked() method embedded
2007/02/20 11:17:56 bc 1.3.6.2: #i74649#several changes
2007/02/19 09:43:46 bc 1.3.6.1: #i74649#SourceCode generation improved
2007-04-04 08:19:35 +00:00