Commit Graph

657 Commits

Author SHA1 Message Date
07976ee1de Don't export a variable called PATH_SEPARATOR
It used to be mis-spelled PATH_SEPERATOR. Now, after correcting the spelling,
it breaks the build of 3rd-party libraries using autoconfigury on Windows. The
value of PATH_SEPARATOR is ";" on Windows, and the configure scripts of those
libs run in Cygwin and assume that a PATH_SEPARATOR environment variable
should be correct for Cygwin. Which ";" isn't.

Rename the variable to LIBO_PATH_SEPARATOR.

Change-Id: Iff0eb93bf11d9f844a28be7ea4456e4c0ae10844
2013-05-15 14:23:39 +03:00
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
57a14ea0be Clean up Java ServiceManager bootstrapping
...and remove the unused feature of initializing it with an obsolete
XSimpleRegistry.

Change-Id: I333dae51f67c16da3e6822ba81e4b8ca125188a5
2013-04-25 14:01:45 +02:00
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
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
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
65d3bc8d40 fix stupid typo
Change-Id: I901a25894e4229dfae9393960b2f55aac604ab45
2013-04-22 08:44:58 +02:00
f9c45046f3 create the jnilib in the right dir
macosx-create-bundle creates the .jnilib symlink in the same dir the
library is in. But we do not want to create stuff directly in $(OUTDIR).

Change-Id: I7fa3380a164c6157ce1c710b9e8a815375ff3a72
2013-04-22 07:33:38 +02:00
02aee3b818 update makefiles
Change-Id: Id0d02f11a81f32a1ec446f7a44ec995e1788e7dd
2013-04-22 07:26:47 +02:00
6e205903f0 add missing package name
This means the file has not been delivered since gbuildification of
jurt (that is, since 3.6). Is is needed at all?

Change-Id: Iccc0b83e87609fbd3e11bca2fdb8b56de818c1fe
2013-04-22 06:55:25 +02:00
c32b6be06b fdo#60724 correct spelling
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
fc02ae8f82 [API CHANGE] WIP: Experimental new binary type.rdb format
Make javamaker work on top of unoidl/ instead of registry/.

API CHANGE: javamaker no longer supports the -B switch, as that is meaningless
with the new format.  When reading from an old-format .rdb file, /UCR is hard-
coded as the prefix now.

Change-Id: I8cca39f8ebacd0476934f7bd493d206928d063a9
2013-04-11 09:29:44 +02:00
acd3b6e624 workaround IBM java 1.5.0 inconvertible types error
Change-Id: I84533723e9f42a27e2942c28b53232630db82e10
2013-04-10 16:25:32 +01:00
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
14574684dd gbuild: stop using $(OUTDIR)/idl
Instead, include directly from $(SRCDIR)

Change-Id: I09df3da82eead897eb194ae55d1a092452f3cdb9
2013-03-13 14:33:55 +01:00
07c6e76749 fdo#60724: Fix spelling avaliable -> available. 2013-03-13 08:57:14 +01:00
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
308cac3f23 sal: new ZipPackage_sal_odk_headers for public ODK headers
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-27 01:33:18 +01:00
43dd869ec9 odk: remove temporary Zip file gratuitous complexity
4 zip files containing ridl, unoloader, jurt and juh source files are
created and copied to solver and unzipped again in odk when odk could
simply run javadoc over the source files directly.

Change-Id: I8d2d7c794988eab2e8a3c6005cc8a849a1232f64
2013-02-26 15:45:11 +01:00
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
b37a07f2da typo: allways -> always
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-20 17:25:30 +01:00
5a61e28378 gbuild: fix silly "expandtabs" in makefile VIM modelines
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26 22:20:07 +01:00
edf6730fd5 add runtime deps for custom targets
Change-Id: I49272003ea72c84c9e81bc826820b0ac5f9d5008
2012-12-30 17:15:48 +01:00
b5d7ac8dc9 Windows-only fixes
Change-Id: Ida4d7fc3f830cdc8a9c1ab9842d359763c6efae1
2012-12-11 20:59:46 +01:00
5b567649c1 udkapi.rdb is enough
Change-Id: Ia9919b2d85264ba3c0bf12a66646821e5c6badb4
2012-12-06 14:00:16 +01:00
287a18429f jurt: actually, why does this not simply use InternalUnoApi
... which makes things much simpler, and the custom target now only
contains Java classes.

Change-Id: I4aead3a2468085212e2384cad97e34f9cfce7270
2012-11-28 20:36:49 +01:00
6032ed4443 jurt: remove that with -f because it may not exist...
Change-Id: Ic93cf3d81bf2cbda9365998f4e41d582a5436227
2012-11-28 20:36:49 +01:00
76324b3509 ridljar etc.: javamaker invocations must rm -r targetdir
... because otherwise types that have been removed from the input rdb
still end up in the resulting jar file.

Change-Id: Ia73ecffcc9d831f2627ac0fcc5f57acf1f52a799
2012-11-28 16:56:16 +01:00
31170413ae API CHANGE: com.sun.star.lang.IllegalArgumentException
... derives from com.sun.star.uno.RuntimeException instead of
com.sun.star.uno.Exception.

Only test that breaks with this change is jurt_uno/AnyConverter_Test,
which for mysterious reasons effectively tests that
IllegalArgumentException is a subclass of Exception and not
RuntimeException.  Presumably this is just a generic exception test that
happens to use IllegalArgumentException.

Some further testing indicates there are no problems expected at
runtime:
Running "make subsequentcheck" with all Java test code compiled against
a ridl.jar that does not contain the change, running against a soffice
that uses ridl.jar and rdbs with the change + ridl.jar with the change
on the test side yields exactly the same AnyConverter_Test failure, with
no other failures.

Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
2012-11-26 23:14:33 +01:00
0d26b10ab6 jurt: remote test: synchronize updates to counters in TestWorkAt
Apparently it is possible to lose updates there, or at least i've had a
failure where only 34 out of 35 increments were performed when checking
in passedAsyncTest from JobQueue_Test.testStaticThreadExecutesAsyncs.

Change-Id: I823ac65980e4e94be21305a10b98b4cfca247c81
2012-11-06 17:40:55 +01: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
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
c414499bbd Remove race conditions from test
Change-Id: I97e10fa3b9058211313a7faa5269d71e233f8bf8
2012-09-12 14:36:18 +02:00
4409280278 Java cleanup, remove dead code and fix
Remove jurt/demo code, because it doesn't compile anymore, and according
to S.Bergmann, it doesn't test anything that isn't already tested
elsewhere.

Change-Id: I775eb1681d77800abc8f8d399c43de20d8721e82
2012-09-10 23:43:37 +02:00
2323ca6bc3 Java cleanup - remove unnecessary null checks
Change-Id: I72a847b1180e9aeb8dec18bcaedee7286eee7754
2012-08-29 09:08:28 +02:00
ff77676612 Java cleanup - remove unused imports
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
2012-08-28 16:15:42 +02:00
2caf5d1937 Java cleanup - remove unnecessary semi-colons
Change-Id: I20a79d3d8f71dc48fc2662563f9c890dd3d94aac
2012-08-28 16:15:42 +02:00
8bfe47960f Java5 updates - convert to generics
Change-Id: I039e51958865a7ea000034e7bf765f64d49689cd
2012-08-20 19:04:33 +01:00
f72ff01dd3 Remove dead java code, fields and local variables
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
2012-08-20 16:34:39 +01:00
fa4966a15c Remove dead java code
Change-Id: I9a86978c4b4da058ddc44a7e79635e232ff6c870
2012-08-20 16:34:38 +01:00
f6a62d9e41 Java update - fix various javadoc issues
Along the way, remove some javadoc comments that are completely incorrect.

Change-Id: I02f96b6cbe665d2c10bd6ee245a7d8e2eef0f755
2012-08-20 12:54:24 +01:00
5a4bcd3b75 gbuild: register all jars
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-17 12:52:25 +02:00
cdbd6957a5 gbuild: remove most uses of gb_Jar_set_jarclasspath:
With gb_Jar_add_jar and gb_Jar_add_system_jar adding to the manifest
classpath automatically it is no longer necessary to call
gb_Jar_set_jarclasspath manually except for the URE jars, which
are apparently not supposed to be added automatically.

Change-Id: I1e743e7ecb9cb5651e02005aa09e127bea1b0a29
2012-08-15 21:29:14 +02:00
f9fa0dd66b Java5 updates - update code to use generics
This is all of the code I missed in my first set of patches.

Change-Id: I8c7c9e5ac28dc3c2f3ac062c806fbf0787c997bd
2012-06-29 22:03:05 +02:00
48794812ba Java cleanup - fix various javadoc issues
Change-Id: Ic292fddb1b9c0ba98b983b257059e50aa1963e46
2012-06-29 22:03:03 +02:00
7af4005580 Java5 update - convert code to use generics
Change-Id: Iff078cea287d0c508d2442d65cd9314ec3231c15
2012-06-29 22:03:03 +02:00
9def9b4674 Java5 update - convert Hashtable to HashMap
Change-Id: I59a7448b6c0a840b0f04b765ef9d5272dceb47b3
2012-06-29 22:03:02 +02:00
baccb18f9a Java5 update - convert Vector to ArrayList and Enumeration to Iterator
Change-Id: I94323dcfa4c8069f228dd3079f3842131314610e
2012-06-29 22:03:02 +02:00