Commit graph

641 commits

Author SHA1 Message Date
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Michael Stahl
308cac3f23 sal: new ZipPackage_sal_odk_headers for public ODK headers
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-27 01:33:18 +01:00
Michael Stahl
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
Tor Lillqvist
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Andras Timar
b37a07f2da typo: allways -> always
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-20 17:25:30 +01:00
Michael Stahl
5a61e28378 gbuild: fix silly "expandtabs" in makefile VIM modelines
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26 22:20:07 +01:00
David Tardon
edf6730fd5 add runtime deps for custom targets
Change-Id: I49272003ea72c84c9e81bc826820b0ac5f9d5008
2012-12-30 17:15:48 +01:00
Stephan Bergmann
b5d7ac8dc9 Windows-only fixes
Change-Id: Ida4d7fc3f830cdc8a9c1ab9842d359763c6efae1
2012-12-11 20:59:46 +01:00
David Tardon
5b567649c1 udkapi.rdb is enough
Change-Id: Ia9919b2d85264ba3c0bf12a66646821e5c6badb4
2012-12-06 14:00:16 +01:00
Michael Stahl
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
Michael Stahl
6032ed4443 jurt: remove that with -f because it may not exist...
Change-Id: Ic93cf3d81bf2cbda9365998f4e41d582a5436227
2012-11-28 20:36:49 +01:00
Michael Stahl
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
Michael Stahl
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
Michael Stahl
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
Anurag Jain
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
Michael Stahl
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
Michael Stahl
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
Michael Stahl
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
Stephan Bergmann
c414499bbd Remove race conditions from test
Change-Id: I97e10fa3b9058211313a7faa5269d71e233f8bf8
2012-09-12 14:36:18 +02:00
Noel Grandin
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
Noel Grandin
2323ca6bc3 Java cleanup - remove unnecessary null checks
Change-Id: I72a847b1180e9aeb8dec18bcaedee7286eee7754
2012-08-29 09:08:28 +02:00
Noel Grandin
ff77676612 Java cleanup - remove unused imports
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
2012-08-28 16:15:42 +02:00
Noel Grandin
2caf5d1937 Java cleanup - remove unnecessary semi-colons
Change-Id: I20a79d3d8f71dc48fc2662563f9c890dd3d94aac
2012-08-28 16:15:42 +02:00
Noel Grandin
8bfe47960f Java5 updates - convert to generics
Change-Id: I039e51958865a7ea000034e7bf765f64d49689cd
2012-08-20 19:04:33 +01:00
Noel Grandin
f72ff01dd3 Remove dead java code, fields and local variables
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
2012-08-20 16:34:39 +01:00
Noel Grandin
fa4966a15c Remove dead java code
Change-Id: I9a86978c4b4da058ddc44a7e79635e232ff6c870
2012-08-20 16:34:38 +01:00
Noel Grandin
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
Michael Stahl
5a4bcd3b75 gbuild: register all jars
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-17 12:52:25 +02:00
Michael Stahl
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
Noel Grandin
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
Noel Grandin
48794812ba Java cleanup - fix various javadoc issues
Change-Id: Ic292fddb1b9c0ba98b983b257059e50aa1963e46
2012-06-29 22:03:03 +02:00
Noel Grandin
7af4005580 Java5 update - convert code to use generics
Change-Id: Iff078cea287d0c508d2442d65cd9314ec3231c15
2012-06-29 22:03:03 +02:00
Noel Grandin
9def9b4674 Java5 update - convert Hashtable to HashMap
Change-Id: I59a7448b6c0a840b0f04b765ef9d5272dceb47b3
2012-06-29 22:03:02 +02:00
Noel Grandin
baccb18f9a Java5 update - convert Vector to ArrayList and Enumeration to Iterator
Change-Id: I94323dcfa4c8069f228dd3079f3842131314610e
2012-06-29 22:03:02 +02:00
Michael Meeks
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Michael Meeks
2c3aa4f3a5 remove malingering legacy RCS tags. 2012-06-28 19:59:06 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Michael Stahl
a9550f63cd normalize variable names in gbuild user makefiles
Variables should have module name as prefix to prevent collisions.
2012-05-10 10:47:44 +02:00
Stephan Bergmann
eac5b793aa Improved error reporting
Change-Id: Ifbb44b8d711b82f5d3ca0cd678579e9dcbb44bf2
2012-05-07 11:02:31 +02:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Matúš Kukan
0a45deba2b enforce only one possible use of gb_CustomTarget
This brings two changes:
- no more recursive calling of make
- gbuild_simple is now not used => removed
2012-04-09 21:04:39 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Matúš Kukan
b33134d246 fix build of jurt_urp 2012-04-06 19:18:45 +02:00
Matúš Kukan
12b3707ed2 ops, this should not be deleted 2012-04-06 13:11:09 +02:00
Matúš Kukan
c282d0a3d8 jurt: use CustomTarget makefile 2012-04-06 12:41:37 +02:00
Stephan Bergmann
2413fd4f9f Fix URE jar manifests after gbuild'ification 2012-03-22 23:29:30 +01:00
Stephan Bergmann
fb3d06e20a Improve error reporting 2012-03-20 18:44:44 +01:00
Stephan Bergmann
92a1757fa5 Improve error reporting 2012-03-20 18:35:24 +01:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00