Commit Graph

221 Commits

Author SHA1 Message Date
45ccaf4131 Typo fix: postion > position
Change-Id: I9b25fd621dfc35f2aeee8ae4e069364c0a3a6102
2013-06-12 20:18:38 +03:00
378b2522b4 mingw64: use integer able to contain pointer
Change-Id: Id37c488531add53fd8d7514cde9ac37e61f67c38
2013-06-10 14:03:34 +02:00
abd89db2a9 Fix bean linking on wntgccx
Change-Id: I8d5d62be630f85e9a807dc108baca8be2930224e
2013-06-07 16:26:59 +02:00
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
6c4a4eb845 Revert to mis-typed com.sun.star.comp.beans.OOoBean.aquireSystemWindow again
...from 43debfae8326ad98f9d130aa450f59ad49577d55 "General cleanup of
OfficeBeans," as this is a stable interface that should not be broken airily.

Change-Id: I931a611341a1b29346d134c11ecf886fe7767836
2013-05-07 13:50:14 +02:00
587c59fbc9 Java cleanup, Convert Vector to ArrayList
Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
2013-05-06 11:45:50 +02:00
72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
6f17a2f66f Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26 08:36:04 +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
cb6b6e286c Fix for method name change
In commit
  43debfae8326ad98f9d130aa450f59ad49577d55
  "General cleanup of OfficeBeans"
In class
   com.sun.star.comp.beans.OOoBean,
the method
   aquireSystemWindow
changed name to
   acquireSystemWindow

Change-Id: I5a9a16c1374d7dbc828ee2fa76c193b207881415
2013-04-17 10:49:20 +02:00
43debfae83 General cleanup of OfficeBeans
Cleaned up Java source files:
    + removed unnecessary commented out code
    + corrected many spelling errors
    + formatting changes (remove decorations from comments,
      whitespacing, etc.)

Change-Id: I4133908ceac874b273fe409d763b3ddbfc2055e5
Reviewed-on: https://gerrit.libreoffice.org/3413
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-16 23:12:03 +00:00
6fd2146cb8 add missing dep on jawt
Change-Id: Ie6c552976f2f1027602a5b4ba27ba4754ec9dd69
2013-03-28 08:59:26 +01:00
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00: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
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
e5ccda4bb3 fix officebean on mingw
Change-Id: I18994c4c825748344f8d203e1a6be6b242249409
2012-12-25 11:23:58 -05:00
f09e4ae273 add missing deps on sal headers
Change-Id: I815ef8abaf4cd998e7b91fbadad56ddf0a7087ba
2012-10-31 19:11:35 +01: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
fa48978935 bean: just use AWTLIB on all platfroms to simplify this
Change-Id: I6c8bc792a57750b7fd5f36e3eb97f76870a7a632
2012-09-28 16:49:08 +02:00
dc397aae70 gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.

Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
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
4c9e62c6e3 Java cleanup, convert ArrayList and Vector to use generics
Change-Id: Ic668b46872ee0bfd259ca335aed9d68fb545c3a4
2012-09-10 23:43:39 +02:00
bf4352084b Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06 17:13:58 +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
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
b80b7ba179 Static method sleep from Thread should be accessed in a static way
Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
2012-08-06 00:13:27 +02:00
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +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
6f36747661 re-base on ALv2 code. 2012-06-12 17:31:21 +01:00
708229dc96 fdo#49580: Fix bean after gbuild'ification
4478b739ddade09425d496cbddee1542fdfd5e9b "convert bean to gbuild and add to
tail_build" broke the following:
* The name of the officebean dynamic library must not be changed (by adding the
  "lo" extension), as code in officebean.jar uses it in NativeLibraryLoader.
* With gbuild's per-default hidden visibility, JNIEXPORT functions must instead
  use SAL_DLLPUBLIC_EXPORT.  (Windows-only code in bean/native/win32/ should be
  safe to continue using JNIEXPORT.)

Change-Id: I I3c312dd05c90421ba0c726496b7149a26d155604
2012-05-07 17:03:00 +02:00
6752930497 LocalOfficeConnection description must end in ServiceManager
...instead of NamingService.  Even though current
<http://wiki.services.openoffice.org/w/index.php?title=Documentation/DevGuide/JavaBean/Customized_Configuration&oldid=127145>
documents using the latter, it leads to NullPointerException, as connect()
expects aInitialObject to be an XPropertySet.

Change-Id: Ia8445bed5307bf440d078a8b96200e3b7fa38706
2012-05-07 17:03:00 +02:00
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
c6ade7266f WaE: cast from pointer to integer of different size 2012-04-18 21:01:18 +02:00
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
fe981519f5 gb_JunitTest_JunitTest takes only one argument 2012-02-20 16:39:59 +01:00
223cca46ed Added READMEs for modules which used to be in components 2012-02-08 07:46:57 +01:00
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
aab14cb9fb fix prefix of command line switches (-- instead of -) 2012-01-11 19:25:45 +01:00
25e10370fe Link most libs and executables with gb_STDLIBS as presumably is intended 2011-12-20 01:12:23 +02:00
a7058d7bac Bypass bean for Android which has no java.awt 2011-12-12 22:14:57 +02:00
ee7e362aae Accept also Oracle Corporation as Java vendor here, too 2011-12-12 22:14:56 +02:00
b1b25a9a1e Kill a bunch of empty lines 2011-12-12 22:14:55 +02:00