Commit Graph

142 Commits

Author SHA1 Message Date
2ada2b3375 typo: dependend -> dependent 2014-04-14 12:31:58 +02:00
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
3656a57e88 add mode lines to new files (and idls) since last run
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22 12:21:34 +01:00
f1304feb4b [TOOD|TOODO]->TODO
Change-Id: I3444b1788e3246503e2460051e8ddbf38aa3de86
2013-08-20 14:06:30 +01:00
189bb791d2 fdo#66691: Revert fix for i#121577 Allow setting toolbar name in Addons.xcu
...which incompatibly changed Addons.xcs and breaks extensions (and LibreLogo,
which adds to Addons.xcu even though it is not an extension).  See the mail
thread starting at
<http://lists.freedesktop.org/archives/libreoffice/2013-July/054612.html>
"[Libreoffice-commits] core.git: #i121577# Allow setting toolbar name in
Addons.xcu" for details.

This reverts commit 85f072ef33ef47b5e3e0bcd51acb5c4179cde2c2
"Resolves: #i121577# Allow setting toolbar name in Addons.xcu" plus follow-up
af572d9fbb744c9691abe465815d7927a9d11510 "Related: #i121577# Allow setting
toolbar name in Addons.xcu," f13f9b5cc5267a7a5606b1a89db91b6d7aef5f9c "various
.xcus are gone now," and 37d9921797a3ad3be8257fbfee11326549fcd987
"odk/examples/python/toolpanel/CalcWindowState.xcu is still in use," plus those
parts of f97ca6f65182efc6542c53ac5e973b3ff398a5d1 "Resolves: #i116455# Make
toolbar style settings persistent" that apparently belong to the fix for
i#121577 rather than i#116455.

Change-Id: Ib744566f3d8da7d9008d7dad8bec60f1bf32e743
2013-07-24 16:36:55 +02:00
805c6101b3 Resolves: #i121544# - Clean-up MessageBox API
(cherry picked from commit 27cfcb1e9d103b3e49c1263b1fa59fee8b187b21)

Conflicts:
	desktop/test/deployment/active/active_native.cxx
	desktop/test/deployment/passive/Dispatch.java
	desktop/test/deployment/passive/passive_native.cxx
	odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
	odk/examples/DevelopersGuide/GUI/MessageBox.java
	odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
	odk/examples/java/Inspector/Inspector.java
	offapi/com/sun/star/awt/MessageBoxButtons.idl
	offapi/com/sun/star/awt/MessageBoxResults.idl
	offapi/com/sun/star/awt/XMessageBox.idl
	offapi/com/sun/star/awt/XMessageBoxFactory.idl
	offapi/com/sun/star/awt/makefile.mk
	offapi/type_reference/types.rdb
	sdext/source/minimizer/unodialog.cxx
	toolkit/inc/toolkit/awt/vclxtoolkit.hxx
	toolkit/source/awt/vclxtoolkit.cxx
	toolkit/source/layout/core/root.cxx

Change-Id: I170b494fb96362bb25ba8d0f2518d4e46934dd67

Related: #i121544# - Clean-up MessageBox API (post fix)

(cherry picked from commit c9f7a06e7798bcd5253844c49d210ea9345bd4b8)

Conflicts:
	sw/inc/pch/precompiled_sw.hxx

Change-Id: Ib8b1e7aaac769feff5206fcdd238c487a6130dd1

Related: #i121544# - Fix header guards

Found by: Tsutomu Uchino

(cherry picked from commit 82194a19ff4f29c8451c8e6ab6fe4f1b9d08df27)

Conflicts:
	offapi/com/sun/star/awt/MessageBoxType.idl

Change-Id: Ide8ba697fbc80395d2f30a068a0820a6afa3332f
2013-07-11 13:16:58 +01:00
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