Commit graph

2440 commits

Author SHA1 Message Date
Noel Grandin
6f17a2f66f Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26 08:36:04 +02:00
Noel Grandin
64e85a4cc8 Java cleanup, remove unused imports
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-26 08:29:38 +02:00
Noel Grandin
fb39e71989 Java cleanup, call static methods statically
Change-Id: Ibe0454d490153f723a58c3c619be7f8d443639c8
2013-04-26 08:18:40 +02:00
David Tardon
162ef53d44 fix dep on doxygen CustomTarget
Change-Id: Id53ab5de54ff8e86a39685b370b1114666755cfe
2013-04-25 10:15:43 +02:00
David Tardon
c93a752ae7 ritually kill odkcommon.zip
Change-Id: I0a814e3f5605340f00d4b48e83ce26792abec067
2013-04-24 15:56:09 +02:00
David Tardon
99fb1839ef only put uno loader classes into one zip
These are put into uno_loader_classes.zip, which is then not used at
all, and odkcommon.zip, which is used for creation of install sets.
Seriously?!

Change-Id: I28b5bc73857cf524fb12f7918acd2891ff12d166
2013-04-24 15:56:09 +02:00
David Tardon
ad5c0602ec add test for missing module-ix.html
Change-Id: Ibdbe04028ad9648af011da51b562cc6aa5e4849b
Reviewed-on: https://gerrit.libreoffice.org/3578
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 13:06:46 +00:00
David Tardon
0ea6217986 install gen. IDL docs using filelist
Change-Id: I474f6e7a45d09683eb0dd7172114407c9dca84d7
Reviewed-on: https://gerrit.libreoffice.org/3571
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 13:06:11 +00:00
Noel Grandin
0c37eeebb0 Java cleanup, use generic containers where possible
Change-Id: Icd830004de3e121f5b96393e7d7b447775833419
Reviewed-on: https://gerrit.libreoffice.org/3569
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-24 08:57:57 +00:00
David Tardon
3dffe4a13e install javadoc files using filelist
Change-Id: I434508057dbfab9410d8f7fc3844c45cd4201b11
Reviewed-on: https://gerrit.libreoffice.org/3588
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 06:01:47 +00:00
David Tardon
498091c772 clean up install. of C++ docs
Change-Id: I51841a8c92cb73912757fcc0766b11d8f9be4b77
Reviewed-on: https://gerrit.libreoffice.org/3587
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:22:17 +00:00
David Tardon
753dba331c fix indentation
Change-Id: I59614470c0560187870b19e18903ed79b7b35d90
Reviewed-on: https://gerrit.libreoffice.org/3586
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:21:27 +00:00
David Tardon
1cc9bbfd57 gbuild: drop empty use_packages calls
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f
Reviewed-on: https://gerrit.libreoffice.org/3503
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:18:15 +00:00
David Tardon
6c7659b584 move URE headers to include/
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d
Reviewed-on: https://gerrit.libreoffice.org/3499
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:17:10 +00:00
Noel Grandin
bc8b419b0d Java cleanup - use generics to reduce casting
More queryInterface related cleanup.

Change-Id: I97d064c425389e687c6f0fbc3a962080f46dd511
Reviewed-on: https://gerrit.libreoffice.org/3568
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-23 10:31:15 +00:00
Noel Grandin
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
Noel Grandin
4f6adb0585 Fix compilation of Spreadsheet odk example
because of change to XDataPilotsResults IDL in
commit ac569ed4cf
"fdo#60300: Work-in-progress change to rework pivot table core"

Change-Id: I730e15226f4dfe3e6baa5d54e987da1016f6b15b
Reviewed-on: https://gerrit.libreoffice.org/3565
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-23 10:28:48 +00:00
David Tardon
43c422ebb7 silence odk check
Change-Id: I1b2e224cb3b709e3c693f18918dcef5e0304894e
Reviewed-on: https://gerrit.libreoffice.org/3536
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:06:16 +00:00
David Tardon
085c5c6bea make odk inst. check a check target
Change-Id: I1bd8ee091a3c74ad05af69a4b7d5a2db21731b76
Reviewed-on: https://gerrit.libreoffice.org/3535
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:05:35 +00:00
David Tardon
60b2b24d8e replace CustomTarget_odk/odkcommon/settings by Package
Change-Id: Iee97a510be822836b2115f50d0b1c9e7e14b5e1a
Reviewed-on: https://gerrit.libreoffice.org/3534
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:05:10 +00:00
David Tardon
4f4344b515 chip more files off the odkcommon.zip block
Change-Id: I3d5d841d094f397130e37799a2f26e4d85f7c136
Reviewed-on: https://gerrit.libreoffice.org/3533
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:04:52 +00:00
David Tardon
0d752247d8 replace CustomTarget_odk/odkcommon/lib by Package
Change-Id: I929384077255b2fd944abf2da573c66572dec62b
Reviewed-on: https://gerrit.libreoffice.org/3532
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:04:33 +00:00
David Tardon
1ea1818dd1 use Package for unowinreg
Change-Id: I7546e8938ba41e1462e704bd0405c5a887151d7b
Reviewed-on: https://gerrit.libreoffice.org/3531
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:04:11 +00:00
David Tardon
5c7f6ca7e1 replace CustomTarget_odk/odkcommon/cli by Package
Change-Id: I1d747fec9b1bf2aeef2a1886981f7f07a338ea12
Reviewed-on: https://gerrit.libreoffice.org/3530
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:03:53 +00:00
David Tardon
2996c3d41f replace CustomTarget_odk/odkcommon/bin by Package
Change-Id: Ia57ed471294595f1a8ee0aa0af05f3b82d439393
Reviewed-on: https://gerrit.libreoffice.org/3529
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:03:29 +00:00
David Tardon
df09d47db0 fix typo
Change-Id: I58f0cd2248310fd7c5f1c82a6d10acc5a2446169
Reviewed-on: https://gerrit.libreoffice.org/3528
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:03:05 +00:00
David Tardon
e640cd59ea allow odk/util/check.pl to use two base dirs
This is in preparation for my plan to move stuff out of odkcommon.zip
and install it using filelists. The moved files will be in
$(INSTDIR)/sdk, not in the Zip's workdir, so we must look for them in
both places.

Change-Id: I7dd224c9067f2dbb522b87b7057ddc02a5fa0cad
Reviewed-on: https://gerrit.libreoffice.org/3527
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22 07:02:39 +00:00
Stephan Bergmann
e8ff469da5 Remove any remaining remnants of unused component_canUnload feature
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19 16:52:03 +02:00
Stephan Bergmann
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
Noel Grandin
0d8719b0ff Java cleanup, use generics in calls to UnoRuntime#queryInterface
A handful of places wrap the call to queryInterface. With a little
generics love, we can reduce the casting required.

Change-Id: I9efca2afb1b23fad2359af24e1c273aea96e45fe
Reviewed-on: https://gerrit.libreoffice.org/3433
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19 07:52:51 +00:00
Noel Grandin
8d87758d65 Java cleanup, remove the rest of the unnecessary casts
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa
Reviewed-on: https://gerrit.libreoffice.org/3432
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19 07:52:08 +00:00
Noel Grandin
d62425cc27 Java cleanup, remove unnecessary casts
Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f
Reviewed-on: https://gerrit.libreoffice.org/3431
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19 07:51:41 +00:00
Stephan Bergmann
391477d40e fdo#63693 Do not force java -d32 for a 64-bit SDK
The test to determine JAVA_OPTIONS was already cheesy (e.g., it does not catch
java-1.7.0-openjdk-1.7.0.9-2.3.8.0.fc18.x86_64, as there "java -version" outputs
"OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)" with "64-Bit" in the
second instead of the third field), so make it a bit more cheesy still (i.e.,
just cover the case to not set -d32 for x86_64).

Change-Id: Ib10a16fb3f8104875bfda7de0e8bce59b9c3b06a
2013-04-19 09:26:53 +02:00
Lionel Elie Mamane
9830fd36db date/time IDL datatypes incompatible change
- nanosecond precision
 - signed (allowed negative) year

Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.

Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
Stephan Bergmann
fe6c9239d7 Properly set PS to a single backslash for Windows
I guess all those $(subst \\,\,...) in odk/examples/.../Makefile are only
workarounds for a broken PS setting and could go, too.

Change-Id: I2e44108f23803e1f49157a91be11af5ad860673c
2013-04-18 14:03:41 +02:00
Noel Grandin
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
David Tardon
2636236a5c gbuild: use Package for odk examples
Change-Id: I978573b792cf159b7c818ec20a14195bfd6605e5
2013-04-16 13:39:13 +02:00
Peter Foley
40dbe0ffbb adapt doxygen to INSTDIR
Change-Id: Iedb7f0c8e598b6b4387b0622ae5d8804a03eabb3
2013-04-15 13:20:32 -04:00
Thomas Arnhold
435f5e30c9 fdo#60724 correct spelling
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15 05:10:29 +02:00
Thomas Arnhold
60fbefc615 fdo#60724 informations -> information
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-15 04:49:39 +02:00
Stephan Bergmann
78120c41f0 Missing return
Change-Id: I76db8e6e1460141ee4ef1bed10ea46c2b402b249
2013-04-12 11:57:03 +02:00
Stephan Bergmann
f3242bc0f0 Missing rtl:: namespace
Change-Id: Ifc9eda5846558c449c40442016a243872eae2962
2013-04-11 14:24:08 +02:00
Stephan Bergmann
14a2413530 Adapt SDK to -B removed from cppumaker/javamaker
Change-Id: Ida4d11e0f8dfea201e0456cc54aa7f5af093d2ad
2013-04-11 14:24:08 +02:00
Stephan Bergmann
f0157b8e4a Do not include . in PATH configured for SDK
Change-Id: I5a1cc96377957705d88a0245a4c5785d4b3bf2bf
2013-04-11 14:24:08 +02:00
Michael Stahl
c56013e97b API CHANGE: odk: remove "store" and "reg" libraries
These libraries were never part of the stable URE interface, and thus
including their headers and import libs in the SDK was a mistake.

Apparently at least on MacOSX and some Linux distros it was not
possible to link against the libraries anyway.

Change-Id: I3c43c86ff5d7bc316ed7af0be4ef313f7869ac23
2013-04-10 16:21:42 +02:00
Michael Stahl
fb61a9c3fc odk: settings.mk: add variable PURPENVHELPERLIB
This library is part of the stable URE interface.

Change-Id: Id131bdd333ecff2ae788830ca4b5b57b4a4a9c24
2013-04-10 16:21:42 +02:00
Michael Stahl
6f749e9595 odk: remove duplicative setsdenv_unix.csh
Having to maintain only one of these seems easier, and likely nobody
uses csh any more.

Change-Id: Ia4ddb54d27999fbf17ceea0b8bd76e59a29b023d
2013-04-10 16:21:42 +02:00
Michael Stahl
d0857f0e57 odk: fix packaging of WNT import libraries
(regression from 613221bde1)

Change-Id: I32775c27e7d17bfc78562f231a4061630c5b7f1a
2013-04-10 16:21:42 +02:00
Christian Lohmaier
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
Tor Lillqvist
7aa6f1b014 Remove Mac OS X for PowerPC support
Change-Id: I10b15141e6a5f93365e1cfa6fbc0c7cc3ea49b15
2013-04-03 21:13:17 +03:00