Commit Graph

337060 Commits

Author SHA1 Message Date
László Németh
317d255aa7 fdo#70858 librelogo: fix Logo program halt at font settings (Windows)
Change-Id: I3c51ba693caa80c8b530a9eee932a48a125e2eca
2013-10-25 11:56:29 +02:00
Michael Stahl
30fc3d6cff gbuild: refactor Jar target to stop using OUTDIR
- gb_Jar_get_target points to layer-specific location
- remove gb_Jar_get_outdir_target
- add OXT and NONE layers
- add a rule for every installed Jar to avoid problems with conflicting
  pattern rules in instdir

Change-Id: Icf11869a454a7a52791c5ae257fc5da87aa46dc2
2013-10-25 11:42:40 +02:00
Michael Stahl
4bd53d1a80 gbuild: add gb_ExternalProject_use_jars
Change-Id: Idd67548cb5f0e49e539459ed7f2fbd107d37c1b3
2013-10-25 11:42:40 +02:00
Michael Stahl
8e602afd1e stop looking for Jar files in solver
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
2013-10-25 11:42:40 +02:00
Michael Stahl
7da7682965 gbuild: add gb_Jar_use_external_jar
... which is an ugly hack to handle jar files that are from externals
and are not bundled in the main instset, only in extensions.

Change-Id: I992242b7c990c24318b040e98b6632e3b78b6f63
2013-10-25 11:42:39 +02:00
Michael Stahl
db23d4b0e3 RepositoryExternal: fix layer of de-extensionized Jars
Change-Id: I16b72d7603ff08305fb4f24cf64b0ef74123e146
2013-10-25 11:42:39 +02:00
Marcos Paulo de Souza
704f95e525 fdo#54938: More uses of cppu::supportsService
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b
Reviewed-on: https://gerrit.libreoffice.org/6406
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-25 08:19:58 +00:00
Julien Nabet
a95ecd8b65 fdo#69772 make StringsFromResultSet more robust
Correctly handle case argument _xResultSet == null,
instead of throwing a NullPointerException.

Change-Id: I81e35c77116e2e0302da86f03f7e757a52e97b29
2013-10-25 10:09:22 +02:00
Lionel Elie Mamane
d1fdaafd7c fdo#6412 firebird-sdbc DatabaseMetaData unimplemented getXXX: provide empty RS
As opposed to NULL object. Else, callers that do a UNO_QUERY_THROW get unexpected results.

Change-Id: Ie9dd157eed03031ba04ed59c363a45e246bbb001
2013-10-25 10:09:21 +02:00
Lionel Elie Mamane
373e4d33c1 connectivity commontools DatabaseMetaData: provide for getUDTs, too
Change-Id: Id361ac34f400922893f6a906e4345eed2be1b2d2
2013-10-25 10:09:21 +02:00
Lionel Elie Mamane
60b67b7e39 janitorial: indentation
Change-Id: I0b571a9fe719c4f18f89638eb62434dd0813bd01
2013-10-25 10:09:21 +02:00
Marcos Paulo de Souza
da5449da0c fdo#54938: More uses of cppu::supportsService
Change-Id: Id6bed78d92eba52283a17ab3ca66e751c225e48d
Reviewed-on: https://gerrit.libreoffice.org/6423
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-25 08:07:04 +00:00
Tor Lillqvist
01a13519e2 Fix bit-rot
Change-Id: Iae6aa3c1326456dde7261f471ba7d963058f20a7
2013-10-25 10:50:54 +03:00
László Németh
7744c4a001 librelogo: fix division with measurements
Change-Id: I2204002533bbb3e7c801b3228b0310a42b19a882
2013-10-25 08:30:30 +02:00
Takeshi Abe
324b47aabc sal_Bool to bool
Change-Id: I4fe71f0418b3c2c9b0ca261c5b24fe2d093f7bb9
2013-10-25 10:56:31 +09:00
Tor Lillqvist
b7e5ab6f65 No libs in solver now any more
Change-Id: I6f0f91c5fdb467fea2c706b4d426a973277c5230
2013-10-25 00:48:12 +03:00
Tor Lillqvist
a9759f706b Add a few sources from vcl
Change-Id: Iaddbfb48a071baaf84ee7bde38f40449f342dce8
2013-10-25 00:48:11 +03:00
Tor Lillqvist
097f76d473 Remove unused file
Change-Id: I78023074a31cf1cc3703a8fbeeb7f6a44a5c70d3
2013-10-25 00:48:11 +03:00
Tor Lillqvist
96c7e0f526 No libs in $(OUTDIR)/lib any more
Change-Id: If1781415f49f86fea0de5a05a38c878d3924812b
2013-10-24 23:42:13 +03:00
Michael Meeks
e886cc7fa1 compile fix.
Change-Id: I50bbdc75e41b23fe64cb0a17dea1290c763a93e1
2013-10-24 21:19:24 +01:00
Tor Lillqvist
49f6c5907a Fix freetype and fontconfig problems
We need to do a "make install" in freetype so that what freetype-config --libs
outputs is correct. We don't use freetype-config ourselves but fontconfig
does, and it builds some test programs.

The bundled freetype and fontconfig are built only for Android.

Change-Id: Ib622cc48a0c4eb6a72188bc83c8d36b39f97fdca
2013-10-24 23:14:24 +03:00
Tor Lillqvist
01a51764c5 Bin unused #defines
Change-Id: I5a6eb741c0669d2f1e5bfbe302066be863ec0249
2013-10-24 23:14:24 +03:00
Thomas Arnhold
0daa2f6a1d cygwin: there is no sudo on Windows
Change-Id: I8df4b379d98ba14a5cef93cefec9df16eefeb083
2013-10-24 22:04:36 +02:00
Michael Stahl
ccf4f1d80e hyphen: stop building hyph_en_US.dic too
Change-Id: I05929be5dbc41ba6889bd593ad0ce0061367ea37
2013-10-24 17:56:07 +02:00
Michael Stahl
d1f46c8a3f hyphen: remove ExternalPackage_hyphen
It only contained hyph_en_US.dic, which is actually unused; the usage in
dictionaries (for a writingaids.zip) was removed years ago in commit
72682b9ac937472b9c48c8a9be70be902ff645e8.

Change-Id: I523c60614bddb8596ccff52d3c4d648111846856
2013-10-24 17:56:06 +02:00
Michael Stahl
56bb796673 xmlhelp: remove Package_xsl
Change-Id: Id0a5213b39886e2f6929f7ff2c014ed861d1da91
2013-10-24 17:56:06 +02:00
Michael Stahl
250198ad0e connectivity: deliver postgresql-sdbc.ini to INSTDIR
Change-Id: I0317252e17b0ddadc5e4a1bebb0c7b21963d57fe
2013-10-24 17:56:06 +02:00
Michael Stahl
d8be8a9c17 cppuhelper: remove obsolete Package_unorc
Change-Id: I4d513b69527ac21949f03b847a4638b92aef0a3e
2013-10-24 17:56:06 +02:00
Michael Stahl
cacce520c6 desktop: need only one Package_scripts
Change-Id: Ia47d1cc8c2d754f74e281eac82c76fbaf12d8541
2013-10-24 17:56:06 +02:00
Michael Stahl
3f8ded9c5c sdext: deliver that weird pdf file to INSTDIR
Change-Id: I3d5daf2ab957eb98c80e936406721a7eb627c436
2013-10-24 17:56:05 +02:00
Michael Stahl
c801ab3676 xsltml: remove ExternalPackage, use files from WORKDIR
Change-Id: Ib2ca7cbf15fd374fd822fa096e0e3f3502598245
2013-10-24 17:56:05 +02:00
Michael Stahl
b96913f2ec extras: deliver wordbook to INSTDIR
Change-Id: I36ed8f8a83938674b7b21dc1930dc1cac11ad76f
2013-10-24 17:56:05 +02:00
Michael Stahl
86299473eb sysui: deliver .desktop files to INSTDIR
Change-Id: Ie8cff1b77145cdec2b4cb5650987809d097a71cd
2013-10-24 17:56:05 +02:00
Marcos Paulo de Souza
be0adb9f0f fdo#54938: Remove SupportsServiceImpl from sw and use cppu instead
Change-Id: I285a03f615e2f2a2656873a8f433a2599bd62c28
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-24 17:57:32 +02:00
Miklos Vajna
b391da28ff DOCX filter: initial table style export based on InteropGrabBag
Change-Id: I7b31322b50c8c924e5df3c32e3c2da8093709938
2013-10-24 17:54:08 +02:00
Caolán McNamara
b7efab3a98 valgrind: on success aHDFData is out of scope
and pData points to data belonging to it

Change-Id: I2a3c1f73e4cdcb07d21ef14cb410d351f39cdba8
2013-10-24 16:33:14 +01:00
Caolán McNamara
d94f3a68f7 pEmpty is completely insane to use
DbtToStringConverter protects against a NULL pointer, but not a
pointer to the too short data that pEmpty provides

Change-Id: I5d21e852ce0373eff7d3627e266b9cbc77f5dd09
2013-10-24 16:33:14 +01:00
László Németh
3617e1a37f librelogo: more invisible settings (on UI, hatching), see ChangeLog
Change-Id: Icb0d195ba82b023d370847242b4e3b5546fa0320
2013-10-24 17:22:15 +02:00
Laurent Godard
55d4d0a749 avoid localization issue
use the sheet name to build the expected strings

Change-Id: I5f079975921338b9449186cc33a0acde180679d5
Reviewed-on: https://gerrit.libreoffice.org/6419
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-10-24 14:22:45 +00:00
Tor Lillqvist
8e1bafcc37 Don't allow selection handle movement to wrap
Change-Id: Idc189a84da1aa0ac510e003134580eafc03b4b9a
2013-10-24 17:22:11 +03:00
Tor Lillqvist
a2c9eaee63 Bin ASCII graphics and superfluous vertical whitescape
Change-Id: I68110e2ff632d0446c127e428623fecb62aa14c5
2013-10-24 17:22:06 +03:00
Caolán McNamara
fa15571ba4 valgrind: bIsVirtPageNum uninitialized
valgrind complains about this when viewing a help page

Change-Id: I0f30f8b5121fa5e6ddbac0ea6e05005e40bc7fd9
2013-10-24 15:15:28 +01:00
László Németh
d0af3045c3 librelogo: fix Writer/Draw synchronization in cropped SVG export
Change-Id: Id7dc7a2853a8c56ee56eab55c078650e16c278fd
2013-10-24 16:11:33 +02:00
Stephan Bergmann
5387c4f575 distro-configs: remove no longer working --without-system-cairo
...after 800005b120 "Disallow
--without-system-cairo combined with (implicit) --enable-gtk."

Change-Id: I74f5e4f454f5e1724e258380bbbcd771bf58453a
2013-10-24 15:16:54 +02:00
Caolán McNamara
57ebd44849 convert SolverDouble dialog to .ui
Change-Id: I996038a45495a5b6a63622ac0d290ac4fbc0bedd
2013-10-24 14:12:42 +01:00
Caolán McNamara
f61e82eb3b Updated core
Project: help  91f8b3cb54e752a174ee10be4e528c7dcd4fb55e
2013-10-24 13:12:35 +00:00
Miklos Vajna
d5c420b32d writerfilter: save styleId / name / isDefault for table styles
Change-Id: Ib422584d2f6cbb8bfd88dd67aef96b8b062c3d38
2013-10-24 14:55:30 +02:00
Miklos Vajna
0ed8f752b4 writerfilter: implement CellMarginHandler::getInteropGrabBag
This allows roundtrip of the whole tblCellMar XML fragment.

Change-Id: I41c5afd6b1cfa7322f5f1bd8c44ed6bffe10eb41
2013-10-24 14:55:30 +02:00
Stephan Bergmann
800005b120 Disallow --without-system-cairo combined with (implicit) --enable-gtk
As the system gtk libraries may depend on later versions of libcairo.so.2 and
its bring-along libpixman-1.so.0 with the same SONAMEs.  So if it would ever
happen at runtime that our bundled libcairo.so.2 and/or libpixman-1.so.0 get
loaded before the system ones, the system gtk would probably not work correctly.

Ultimately, the bundled cairo can probably go completely.

This reverts 122a137672 "extensions: crude hack
for mysterious cairo link failure."

As discussed at #libreoffice-dev:
Oct 24 10:10:15 <mst__> sberg, caolan, dtardon  any idea what the proper fix is
  for pluginapp.bin? 122a137672  breaks on RHEL5
  tinderbox...
Oct 24 10:10:17 <IZBot> core - extensions: crude hack for mysterious cairo link
  failure -
  http://cgit.freedesktop.org/libreoffice/core/commit/?id=122a137672d761418a549568ad8cad623dd2b4b5
Oct 24 10:12:53 <dtardon> mst__, i'd try
  gb_Executable_use_external,pluginapp.bin,cairo
Oct 24 10:13:58 <mst__> dtardon, i'm not sure if that is the intent - the
  -lcairo comes from the gtk external so we should use same cairo as gtk i.e.
  system one? but id on't understand why linker won't find the pixman library
Oct 24 10:16:35 <sberg> mst__, I get no build failures in "make
  extensions.clean && make extensions" when I comment out that FIXME in
  extensions/Executable_pluginapp.bin.mk
Oct 24 10:18:59 <mst__> sberg, it only started to fail for me when i removed
  libcairo.so from solver, probably you still have a stale one
Oct 24 10:19:42 <sberg> mst__, in solver/*/lib/? no
Oct 24 10:20:48 <sberg> mst__, but turns out I'm using --with-system-cairo (as
  required by --enable-gtk3), so ignore me
Oct 24 10:22:53 <mst__> sberg, so if i rm solver/unxlngx6/lib/*cairo*
  solver/unxlngx6/lib/*pixman*  it still fails for me, how could system-cairo
  work then?
Oct 24 10:24:13 <sberg> mst__, in that /usr/lib64/libcairo.so has a DT_NEEDED on
  libpixman-1.so.0 (which "our" libcairo.so is missing, I'd assume)
Oct 24 10:24:44 <sberg> mst__, erm
Oct 24 10:41:18 <mst__> sberg, so if i filter out -lcairo in
  gb_LinkTarget__use_gtk then it magically works - are there any problems with
  that approach?
Oct 24 10:47:19 <sberg> mst__, so the root of the problem is that there's two
  different libcairo involved?  (just doing a local build --wihtout-system-cairo
  here, to see what's going on)
Oct 24 10:47:55 <mst__> sberg, i don't think so since i get same problem after
  removing all cairo libs from solver
Oct 24 11:12:11 <sberg> mst__, so the link line for pluginapp.bin contains
  -lcairo twice, apparently dragged in indirectly (via _use_externals gthread
  and gtk, likely), and does not contain "our" -L.../cairo/src/.libs (as it
  doesn't _use_externals cairo), but does contain -Lsolver/*/lib.  Now,
  /usr/lib64/libcairo.so needs libpixman-1.so.0 and there happens to be one in
  solver/*/lib that lacks syms compared to /usr/lib64/libpixman-1.so.0
Oct 24 11:13:43 <sberg> mst__, so this was nicely hidden when all the external
  libs were delivered to solver/*/lib, but in the end I think the bug is to
  combine system gtk with non-system cairo and/or pixman
Oct 24 11:14:49 <sberg> mst__, as long as our cairo and/or pixman have the same
  SONAMEs or exported symbol names as system ones, all hell can happen at
  runtime anyway
Oct 24 11:15:32 <mst__> sberg, but... why then does it fail for me if i don't
  have the cairo/pixman libs in solver?
Oct 24 11:15:57 <mst__> ahhh  -Wl,-rpath-link,$S/instdir/unxlngx6/program <-
  taht must be why
Oct 24 11:17:40 <mst__> is it normal that -Wl,--trace does not print out what
  libraries were found via -Wl,-rpath-link? it only appears to print explicit
  -lfoo
Oct 24 11:18:27 <sberg> mst__, because of -Linstdir/*/program
Oct 24 11:20:27 <mst__> sberg, so we need
  -Wl,-rpath-link,$S/instdir/unxlngx6/program obviously;
Oct 24 11:22:08 <mst__> sberg, apparently everything builds successfully when
  filtering out -lcairo from GTK_LIBS, do you think that is the best workaround
  for this?
Oct 24 11:22:14 <sberg> mst__, no, we need to change configure.ac to disallow
  --enable-gtk --without-system-{ciaro,pixman}
Oct 24 11:22:39 <sberg> mst__, similarly to how we already disallow
  --enable-gtk3 --without-system-cairo
Oct 24 11:24:48 <mst__> sberg, that would be sort of pointless, since linux is
  afaik the only platfrom where cairo is used at all - effectvely we could
  remove bundled caior then?
Oct 24 11:27:04 <sberg> mst__, effectively yes, unless it would still be useful
  for some --disable-gtk scenario
Oct 24 11:33:41 <mst__> caolan, cloph does RHEL5 have a sufficiently recent
  system cairo?
Oct 24 11:34:43 <cloph> cairo 1.2.4 on the CentOS 5.9 (well, more like 5.10 now)
  system
Oct 24 11:37:08 <jcorrius> my RHEL6 build uses internal cairo
Oct 24 11:37:47 <caolan> rhel-5 cairo is 1.2.4
Oct 24 11:37:54 <mst__> caolan, the other option i can see is to do $(call
  gb_LinkTarget_add_libs,$(1),$(filter-out -lcairo,$(GTK_LIBS))) in
  gb_LinkTarget__use_gtk which works-for-me(TM)
Oct 24 11:38:30 <sberg> jcorrius, not for very much longer ,)  (it typically
  happens to work by luck to combine system GTK with bundled cairo)
Oct 24 11:38:59 <mst__> thorsten, are you aware of any reason why we must bundle
  cairo on linux?
Oct 24 11:40:05 <sberg> mst__, "<caolan> rhel-5 cairo is 1.2.4" and we only
  check for "cairo >= 1.0.2" in cofingure.ac, so all should be good
Oct 24 11:40:35 <sberg> mst__, "works-for-me(TM)" just by luck
Oct 24 11:41:33 <mst__> sberg, well perhaps guess the real problem is that
  pkg-config spits out a spurious -lcairo for gtk+-2.0 so...
Oct 24 11:42:19 <mst__> ... but of course if a sufficiently good cairo is
  available everywhere we don't have reason to bundle it anyway
Oct 24 11:45:45 <sberg> mst__, at least my /usr/lib64/libgtk-x11-2.0.so.0 does
  have a DT_NEEDED on libcairo.so.2, so even if pkg-config wouldn't spit it out
  we would still be in trouble at runtime
Oct 24 11:47:05 <mst__> sberg, at runtime we have this problem for a lot more
  libraries than just cairo
Oct 24 11:47:43 <sberg> mst__, but why refuse to fix the problem, at least for
  cairo, where there is apparently no good reason to bundle it anyway?
Oct 24 11:48:36 <jcorrius> is cairo used on Windows for anything?
Oct 24 11:48:42 <mst__> sberg, since there is no good reason to bundle it anyway
  i don't object to removing the bundled cairo
Oct 24 11:49:38 <mst__> sberg, ... but i can still hold the opinion that gtk
  shouldn't put -lcairo in its pkgconfig :)
Oct 24 11:53:12 <sberg> mst__, since "pkg-config --cflags gtk+-2.0" includes
  "-I/usr/include/cairo", one could argue that cairo is a "re-exported" part of
  that, so should also appear in pkg-config --libs output; one could likely
  argue either way
Oct 24 11:55:27 <mst__> sberg, well but if you're calling functions from cairo
  then you're using cairo directly whereas if you just call gtk functions you
  have no need to link cario
Oct 24 11:56:47 <sberg> mst__, sure, my argumentation depends on that
  "re-exports" argument (which might be thin); anyway, are you going to remove
  bundled cairo
Oct 24 11:56:54 <sberg> ?
Oct 24 11:57:34 <mst__> sberg, i'm going to force it to system in configure for
  now
Oct 24 11:58:13 <sberg> mst__, I have a patch for exactly that already locally
  here, so could push that if you've not done that too already anyway
Oct 24 11:59:00 <mst__> sberg, i havent' finished my freetype patch yet because
  people always distract me on irc so you can push
Oct 24 11:59:01 <sberg> mst__, or, rather, my patch just errors out in the
  --enable-gtk --without-system-cairo combination, so if you have a better one,
  go ahead

Change-Id: I071e759a55f46338b36c3cf8ac7cd5591bd9e376
2013-10-24 14:54:16 +02:00
Caolán McNamara
082e1fa44c more string bounds checks for sc
Change-Id: I99293a91018c130415bd3816fa23f44643512a74
2013-10-24 13:51:09 +01:00