summaryrefslogtreecommitdiff
path: root/jurt
AgeCommit message (Collapse)AuthorFilesLines
2013-10-25gbuild: refactor UnoApi to remove rdb files from OUTDIRMichael Stahl1-2/+3
- gb_UnoApi_get_target returns the files in INSTDIR - stop using rdb files from OUTDIR - remove gb_UnoApi_install - remove pointless 2nd parameter of gb_UnoApi_UnoApi - order-only dependency from gb_UnoApi_get_target to gb_UnoApiHeadersTarget_get_target because INSTDIR .rdb is always outdated Change-Id: Id418f75e9b38d6fe135b55eca2594c2624bc41cc
2013-10-01[API CHANGE] Remove unused CPLD_ACCESS feature from C++/Java component loadersStephan Bergmann1-58/+0
...introduced in 2000 with 38974aeef6dfaa1c625cf5498ec553489dd08c87 "added library loading limitation by using env variable CPLD_ACCESSPATH=path1;path2; etc." and 9be3c618e0b1d2b2635bd7b134693ed5ff3021bc "#80090# restrict jar file access to java system property com.sun.star.comp.loader.CPLD_ACCESSPATH" but already in 2004 considered "a hack [that] seems to be unused nowadays" in 1d3164df959b31ba9f50ddc108569f3adec32ff7 "CWS sb20: #i29119# Replaced sandbox.jar-based class loader with an own one." Change-Id: I637afd5daeb4ca097edd17f834c81af892dcfc6a
2013-09-22add mode lines to new files (and idls) since last runCaolán McNamara1-0/+3
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-19Directly build UNOIDL .rdb files from .idl filesStephan Bergmann1-10/+1
...via unoidl-write and the new source-format registry provicers, instead of using idlc to produce .urd files, regmerge to merge them into legacy .rdb files, and unoidl-write to translate those to new UNOIDL .rdb files. gb_UnoApi and gb_InternalUnoApi ctors take an additional argument now that is the path (below $(SRCDIR)) of the source-format registry from which to obtain UNOIDL entity definitions. It can either be an .idl file (in which case no *_add_idlfiles calls should be used and the resulting .rdb will contain all the entities from that one .idl file; used in some tests to conveniently define all test-specific entities in a single file) or a directory denoting the root of an .idl file tree (in which case *_add_idlfiles calls specify the entites to include in the resulting .idl file). (In the first case, the generated .rdb file needs to depend on that single .idl file, so the gb_UnoApiTarget ctor contains a dependency on that additional argument, which happens, as a side effect, to trigger rebuilds in the second, tree-based case when addition/removal of .idl files in the tree causes updates of directory time-stamps.) UnoApiPartTarget and all the dependency-tracking logic based on .urd files in solenv/gbuild/UnoApiTarget.mk is gone. Generation of an .rdb file now depends on its source registry (see previous paragraph) and all the .idl files specified with *_add_idlfiles (in the second, tree-based case above). A consequence of that is that gb_UnoApi_add_idlfile, -_nohdl, and -_noheader all do the same now. I left them in for now anyway, maybe they become relevant again when the use of cppumaker is changed to read directly from a source-format registry instead of going via a .rdb registry. The legacy tools idlc, regcompare, regmerge, and regview are still contained in the URE or SDK for now. cb344cd59e1ddb7c6db66dbd9263b4755969d4ba "Revert 'Looks like idlc resolved typedefs inside sequence<...>'" is re-reverted as now "the current offapi.rdb is generated via unoidl-write instead of idlc." Change-Id: I3d9d92f17326bc9f49dd934c85aab6a17951d06d
2013-09-14Clean up Mac OS X .jnilibsStephan Bergmann3-43/+0
Those .jnilibs that are not needed as .dylibs (this includes those that are also UNO components) are handled via RepositoryFixes.mk. The remaining one, libjava_uno.jnilib is packaged as a symlink in instdir. Everything else is not necessary and removed (including the venerable oddity macosx-create-bundle). Change-Id: I34a1801b0733cdff885c1c72db16fa631c5d82ef
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist1-1/+1
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-05-15Don't export a variable called PATH_SEPARATORTor Lillqvist1-1/+1
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-15Spelling "separate" (etc) correctly is hardTor Lillqvist1-1/+1
2013-04-25Clean up Java ServiceManager bootstrappingStephan Bergmann1-269/+3
...and remove the unused feature of initializing it with an obsolete XSimpleRegistry. Change-Id: I333dae51f67c16da3e6822ba81e4b8ca125188a5
2013-04-24gbuild: drop empty use_packages callsDavid Tardon1-3/+0
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-24move URE headers to include/David Tardon1-1/+0
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-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks15-330/+60
2013-04-22fix stupid typoDavid Tardon1-1/+1
Change-Id: I901a25894e4229dfae9393960b2f55aac604ab45
2013-04-22create the jnilib in the right dirDavid Tardon1-1/+3
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-22update makefilesDavid Tardon2-9/+6
Change-Id: Id0d02f11a81f32a1ec446f7a44ec995e1788e7dd
2013-04-22add missing package nameDavid Tardon1-1/+3
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-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-11[API CHANGE] WIP: Experimental new binary type.rdb formatStephan Bergmann1-1/+1
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-10workaround IBM java 1.5.0 inconvertible types errorCaolán McNamara1-1/+2
Change-Id: I84533723e9f42a27e2942c28b53232630db82e10
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-13gbuild: stop using $(OUTDIR)/idlMichael Stahl1-1/+1
Instead, include directly from $(SRCDIR) Change-Id: I09df3da82eead897eb194ae55d1a092452f3cdb9
2013-03-13fdo#60724: Fix spelling avaliable -> available.Steven Meyer1-1/+1
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-27sal: new ZipPackage_sal_odk_headers for public ODK headersMichael Stahl1-1/+1
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-26odk: remove temporary Zip file gratuitous complexityMichael Stahl2-88/+0
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-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-20typo: allways -> alwaysAndras Timar1-1/+1
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl14-14/+14
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2012-12-30add runtime deps for custom targetsDavid Tardon1-1/+1
Change-Id: I49272003ea72c84c9e81bc826820b0ac5f9d5008
2012-12-11Windows-only fixesStephan Bergmann1-0/+4
Change-Id: Ida4d7fc3f830cdc8a9c1ab9842d359763c6efae1
2012-12-06udkapi.rdb is enoughDavid Tardon1-1/+1
Change-Id: Ia9919b2d85264ba3c0bf12a66646821e5c6badb4
2012-11-28jurt: actually, why does this not simply use InternalUnoApiMichael Stahl3-16/+30
... which makes things much simpler, and the custom target now only contains Java classes. Change-Id: I4aead3a2468085212e2384cad97e34f9cfce7270
2012-11-28jurt: remove that with -f because it may not exist...Michael Stahl1-1/+1
Change-Id: Ic93cf3d81bf2cbda9365998f4e41d582a5436227
2012-11-28ridljar etc.: javamaker invocations must rm -r targetdirMichael Stahl1-0/+1
... because otherwise types that have been removed from the input rdb still end up in the resulting jar file. Change-Id: Ia73ecffcc9d831f2627ac0fcc5f57acf1f52a799
2012-11-26API CHANGE: com.sun.star.lang.IllegalArgumentExceptionMichael Stahl1-4/+4
... 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-06jurt: remote test: synchronize updates to counters in TestWorkAtMichael Stahl1-2/+9
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-10-01fdo#51304: Remove the author of some java source filesAnurag Jain17-20/+0
This patch remove some '@author' for Java souce files, and removes some commented code founded when removing the '@author'. Change-Id: Ic4fcd028a9cdbd85c693d93bcd48e41f36386d22
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl2-4/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2-2/+4
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2-0/+2
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-12Remove race conditions from testStephan Bergmann1-62/+29
Change-Id: I97e10fa3b9058211313a7faa5269d71e233f8bf8
2012-09-10Java cleanup, remove dead code and fixNoel Grandin3-324/+0
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-08-29Java cleanup - remove unnecessary null checksNoel Grandin1-2/+1
Change-Id: I72a847b1180e9aeb8dec18bcaedee7286eee7754
2012-08-28Java cleanup - remove unused importsNoel Grandin3-3/+0
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
2012-08-28Java cleanup - remove unnecessary semi-colonsNoel Grandin2-3/+3
Change-Id: I20a79d3d8f71dc48fc2662563f9c890dd3d94aac
2012-08-20Java5 updates - convert to genericsNoel Grandin2-3/+3
Change-Id: I039e51958865a7ea000034e7bf765f64d49689cd
2012-08-20Remove dead java code, fields and local variablesNoel Grandin1-0/+1
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
2012-08-20Remove dead java codeNoel Grandin4-7/+0
Change-Id: I9a86978c4b4da058ddc44a7e79635e232ff6c870
2012-08-20Java update - fix various javadoc issuesNoel Grandin10-13/+13
Along the way, remove some javadoc comments that are completely incorrect. Change-Id: I02f96b6cbe665d2c10bd6ee245a7d8e2eef0f755
2012-08-17gbuild: register all jarsMichael Stahl9-13/+12
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc