765 Commits

Author SHA1 Message Date
Caolán McNamara
b1964a24a6 ReportDefinition is the one that is failing for me under Linux too
Change-Id: I00480813d8c3703039a55a7a706937d33e8e8463
2014-06-24 16:05:50 +01:00
Stephan Bergmann
0b5568b9dd Fix CppunitTest_services on Windows
...by blacklisting the problematic service

Change-Id: I524a7c7af2cb374911db7b204021c3d2bcd1fdd6
2014-06-12 12:29:24 +02:00
Stephan Bergmann
c4444ea0c4 Avoid Solar Mutex deadlocks when disposing services
...as test code using gb_CppunitTest_use_vcl is implicitly run with Solar Mutex locked

Change-Id: I480b4bcce7c6a94922019679099b0883b3ee1030
2014-06-12 12:29:23 +02:00
Michael Stahl
ba1a503fee postprocess: command line limit work around for Win32 make
Use var2file to write registry input files.

Change-Id: I0edfd94440a47a0c4b21bf2b354d6467016f5f68
2014-06-09 17:05:55 +02:00
David Tardon
be4b837ed2 move UOF and Office 2003 filters to xsltfilter module
Change-Id: I6e5ac310567bb7bd12fbba444e4e1deb9fea30d5
2014-06-09 14:07:44 +02:00
Markus Mohrhard
336364b46d Revert "Revert "Make sure to dispose services supporting the XComponent protocol""
This reverts commit 044be7107a97169e80360c79a9d07bec263ac818.

It only works sometimes. Still a deadlock based on a race condition.
2014-06-09 04:55:22 +02:00
Markus Mohrhard
f4f144b5bf don"t execute test on windows, deadlocks
Change-Id: Ic000a4961d770ad7f84aef0562e1d033f1b6a089
2014-06-09 04:55:03 +02:00
Markus Mohrhard
044be7107a Revert "Make sure to dispose services supporting the XComponent protocol"
This reverts commit 4cacc6080e61374fd573fffb3bc2a54968c1b61a.
2014-06-07 04:34:10 +02:00
Stephan Bergmann
369d95931f DeInitVCL at end of tests
This required some changes to the framework:

* Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but
  once per CppunitTest invocation in a new vclbootstrapprotector (similarly to
  the exisiting unobootstrapprotector).  CppunitTests that need VCL now need to
  declare gb_CppunitTest_use_vcl.

* For things to work properly, the UNO component context needs to be disposed
  from within DeInitVCL (cf. Desktop's Application::DeInit called from
  DeInitVCL).  The easiest solution was to introduce an
  Application::setDeInitHook (where the hook is called from DeInitVCL)
  specifically for vclbootstrapprotector to call.

* PythonTests don't (yet) call DeInitVCL; they still hook into
  BootstrapFixture's original test_init functionality (to call InitVCL), and do
  not make use of the vclbootstrapprotector.

Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-06-04 08:55:12 +02:00
osnola
eccfc72781 Make the wdb/wks and GreatWorks(draw) work
Change-Id: I1a736a511e6007a4ed6413eb8d9b8e364d73f765
2014-05-29 15:36:13 +02:00
Christian Lohmaier
87c1aa16a9 use $(gb_AWK) instead of awk
Change-Id: Ia00d7e52de5edfce09c3a0a8aa4390e3e1582a01
2014-05-22 22:49:02 +02:00
Christian Lohmaier
faa9a681e7 using xargs for string manipulation is somewhat of an abuse
(and breaks the build on windows/cygwin for some reason, although
running the find/xargs command by itself works just fine)
So just use awk instead and have a nicer solution without breaking the
build

Change-Id: I24b9f52c0b84c2e8019f3f6719a307fe508fb755
2014-05-22 15:51:54 +02:00
Maxim Monastirsky
214de0e512 fdo#78815 Fix report builder toolbox controller
Change-Id: Iecbf84b29500729e228d22c8e50b119d1fb471c5
2014-05-19 09:07:47 +03:00
Tor Lillqvist
7822b5535c Make the MacAVF code build also as 32-bit
When compiling 32-bit OS X code, the code will use the "legacy
Objective-C runtime", which means that instance variables of an
Objective-C class must be declared in the @interface block, not in the
@implementation.

CGRect and NSRect are not the same for 32-bit code.

Also, use boost::unordered_map.

Change-Id: Icc56ff298203565a7568714b0e9f42c7c6b89737
2014-05-16 12:43:03 +03:00
Tor Lillqvist
2a9018b9f5 The macavf code doesn't compile as 32-bit, sigh
Change-Id: I51336c09aaa6ecdaa5da537a4a21efbff305da6e
2014-05-15 19:45:13 +03:00
Tor Lillqvist
0a829b062c The AVFoundation framework appeared in OS X 10.7
Change-Id: I76eb213ff4cb93196ea81dd43a465da61c0cdee2
2014-05-15 19:26:52 +03:00
Tor Lillqvist
c0a3bc0570 The AVMedia framework is not deprecated
So no reason to avoid it when building for the Mac App Store
(i.e. when building a sandboxed LibreOffice). (At least I assume it
was because of the deprecatedness of QuickTime that it was conditional
on not building a sandboxed LibreOffice.)

Change-Id: I9d50490aa878ba5e40594b39eac88f23df3ef0a6
2014-05-15 19:00:49 +03:00
Tor Lillqvist
1d06507136 Add avmediaMacAVF
Change-Id: I8e0a3c1f96ca908ce942050d51cb43fd7724dbae
2014-05-15 18:49:15 +03:00
Tor Lillqvist
fd792b7a29 We build avmediaQuickTime as 64-bit too now
Change-Id: I595d24a08f91f501554bd803a489bc32ed2274f8
2014-05-15 18:49:14 +03:00
Stephan Bergmann
4cacc6080e Make sure to dispose services supporting the XComponent protocol
...to e.g. avoid leftover temp files from instantiating
com.sun.star.comp.report.OReportDefinition.  But dispose all instances only at
the very end, to avoid disposing some single-instance services too early.

Change-Id: I71fc50e80f4b5d1a1ca16e392725903b079ce2d1
2014-05-15 12:23:39 +02:00
Noel Grandin
78b9537b6a various: sal_Bool->bool
Change-Id: I30fa5227f30373f95060148f269450d2945c1bb9
2014-05-08 11:48:14 +02:00
Tor Lillqvist
21e2f5b0b1 No fpicker needed for non-DESKTOP surely?
Sure, not a lot of code, but best to not even compile it, to catch
eventual usage attempts.

Change-Id: I7462ea9a5fbe6080fcec2f424d1a1b80ad0afe21
2014-05-07 15:07:55 +03:00
Maxim Monastirsky
f82f7bf3dd Introduce centralized detection for storage-based files
This will allow us to get rid of the duplicated code,
and simplify the type detectors.

Also this commit fixes fdo#46310 and fdo#74978.

Change-Id: I08e958ab10d05e1036cdc2bed5ce14bf73b6245c
Reviewed-on: https://gerrit.libreoffice.org/9221
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2014-05-01 17:03:10 +00:00
Christian Lohmaier
ea391abb3f make signing depend on slowchecks being done
otherwise signing (at least on windows) fails because files are in use

Change-Id: Ida6a7d43dc74eb278fd79410b9c0a60f823c5933
Reviewed-on: https://gerrit.libreoffice.org/9176
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
2014-04-29 10:56:27 +00:00
Zolnai Tamás
5f6fd413a3 avmediaogl: build depends on ENABLE_GLTF instead
Change-Id: I03d0d7c0446b6316e388ae717aded6bb7dcc88f1
2014-04-19 18:10:13 +02:00
Tor Lillqvist
be862ff4f7 Try making it possible to use --disable-avmedia for desktop platforms too
Unfinished work in progress.

Change-Id: I978755d73630b8653b169a53f937c1332799e22e
2014-04-18 00:07:20 +03:00
Tor Lillqvist
262aa2c2e5 More generic way to disable avmedia
Introduce a configure option --disable-avmedia. For non-desktop,
avmedia is always disabled (for now), and for desktop enabled by
default. Add AVMEDIA to BUILD_TYPE when enabled. Don't build avmedia
when disabled. Add HAVE_FEATURE_AVMEDIA to <config_features.h>. Bypass
avmedia-related code when disabled.

Change-Id: I919c6e199bff87d9f142d55dff6373f0ed217f39
2014-04-17 22:18:02 +03:00
Andras Timar
c79a5f87b1 remove executable bit
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-17 15:11:14 +02:00
Chris Sherlock
c05ef7eeb1 Make service unit test easier to debug
It's sort of hard to break into this function with gdb. Seperating it out
makes it a lot easier to work out where things are breaking.

Change-Id: If99effd44fe677452ac3c1012b99da7da80c720e
Reviewed-on: https://gerrit.libreoffice.org/8844
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-04 08:53:05 -05:00
Matúš Kukan
077bdc73f2 sccomp: Share common code and have only one library.
And use constructor feature for UNO implementations.

Change-Id: I42b6a6f417049cc8e2d44b74c7adc552680b1f2d
2014-04-03 11:42:12 +02:00
Matúš Kukan
de7cdbc584 Install coinmp and lpsolve linear solvers in parallel.
Change-Id: If07d94a2f646c8377b76fdf645e85f9491e4f061
2014-04-01 11:04:33 +02:00
Matúš Kukan
8dc394d5c5 Revert "Allow to build lpsolver based on CoinMP library."
This reverts commit 4f7b96886ec2e98f270a9ec3c3509cd523fce7cc.

Conflicts:
	configure.ac
	scp2/InstallModule_ooo.mk

Change-Id: I5621496d70a2c493eb964c1138d310c68fa6d660
2014-04-01 11:04:32 +02:00
Zolnai Tamás
4f48dc2f97 Skeleton of OpenGL avmedia service for playing 3D models
Change-Id: I3bf9e68e1a08ff3db065ec7f4e135119b7d1a4ef
2014-03-27 11:22:32 +01:00
David Tardon
b1d00137f2 remove unnecessary util dir
Change-Id: I66e1882d14c59abeb6aa01b662dfc3a89238d3c0
2014-03-23 23:03:58 +01:00
Michael Stahl
16986df561 normalize values of WITH_MOZAB4WIN
Change-Id: Iad5aa66635a34a4dfceb0bd6145f2d9bd197cc17
2014-03-11 11:57:18 +01:00
Michael Stahl
d744bcae5d normalize values of BUILD_POSTGRESQL_SDBC
Change-Id: Iab7ef9ef27ea970aded726a8c8d2c46267454a64
2014-03-11 11:57:16 +01:00
Tor Lillqvist
dc8bd784c5 No cmdmail component on OS X now
Change-Id: I693e529c4ef2846425db6ec6ffdfdfc0b1d09ffc
2014-03-07 10:29:36 +02:00
Stephan Bergmann
71ed01e2ed Revert "install:module <value>s must be mutually exclusive"
This reverts commit 768ea2924680fc4beb75a782cb0faf26695fee53, which was
completely misguided---configmgr allows oor:external values to let a "lower"
value shine through when the backend says it cannot produce a value, even when
that "lower" value comes from the same layer (as is e.g. already used in
officecfg/registry/data/org/openoffice/VCL.xcu).

Conflicts:
	postprocess/CustomTarget_registry.mk

Change-Id: Ic8f0c9c931e2c73c9bfb8fbe5a57f60ad6aebde1
2014-03-06 20:20:37 +01:00
Matúš Kukan
dcae050913 Build webdav based on serf if neon is disabled.
Change-Id: I0cbb89c8d5ac65eda8bb21aaf0d07996a015d281
2014-03-06 12:36:22 +01:00
Stephan Bergmann
768ea29246 install:module <value>s must be mutually exclusive
...so that only a single one ends up in the .xcd data.  (In the given case,
introduced with 838b77f5f3d6d8fd98891e99a23ff78a6a357cb2 "Resolves: rhbz#1065807
use xdg ~/Templates for default Template location," the duplication for the
unixdesktop case happened to be harmless, as the non-unixdesktop <value>
appeared in a block in main.xcd before the unixdesktop-specific <value>, so the
former was effectively ignored when reading main.xcd.)

Change-Id: I5199556ee3e6decaa07beb14a0503e1b5661f5df
2014-03-03 18:36:55 +01:00
Matúš Kukan
4f7b96886e Allow to build lpsolver based on CoinMP library.
Change-Id: I0a3b2bd6744f6ccca0017cd1e06a4018f085445a
2014-03-03 13:35:43 +01:00
Maxim Monastirsky
d5890e87ab Merge HTML detection to text detection service
Setting the filter name explicitly is not really required,
because TypeDetection::impl_checkResultsAndAddBestFilter
is able to select the correct filter anyway. But it seems that
other detection services also do it, so I followed that way.

Change-Id: I6e73fa79c6867d82f98d63e8d2b7865446f088ef
Reviewed-on: https://gerrit.libreoffice.org/8213
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-03-01 14:45:45 -06:00
Lionel Elie Mamane
45b1211d57 fdo#69309 rename share/registry/postgresqlsdbc.xcd to postgresql.xcd
Change-Id: Ie7c9200310ab24e4d2636849b133e515f266d5c9
2014-02-22 22:42:36 +01:00
Bjoern Michaelsen
76fc71a989 add missing postprocess deps
- these sometimes break a highly parallel build

Change-Id: Ia30041d2d2ce69900db0476313a0bf2baf6da7a5
2014-02-19 22:51:57 +01:00
Andras Timar
77e48e2364 use 'ne' for string comparison
Change-Id: I0d059933786119c3c26202c7b48d793404e5a0eb
2014-02-19 14:41:09 +01:00
Tor Lillqvist
8077c3ed6f Follow-up to 5fc9a33b9a684eff92bdf1bad705dbc5986098ce
Change-Id: I07c7d831fc75a6020e03993c6b087562e5422b32
2014-02-03 17:48:25 +01:00
Maxim Monastirsky
cc2893834d related: fdo#73682 Introduce HTML detection service
Change-Id: I66bb579019ce8411b821c623955a454fd81cf811
Reviewed-on: https://gerrit.libreoffice.org/7600
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-01-23 14:49:22 +00:00
Jan Holesovsky
d8db8edded Add more logging so that we have the info even in case of weird crashes.
Change-Id: I5888fb3e1ffa1bfdf9b91c06087ef5b7ccbb82ec
2014-01-14 09:58:16 +01:00
Khaled Hosny
679e4152ad Drop the unnecessary extra directory level
Just like other lingucomponent parts, besides altlinuxhyph is a
historical library name that no longer exist.

Change-Id: I803c4483633c3c8993d70e0057f0c825b1020ace
2014-01-01 19:10:20 +02:00
Stephan Bergmann
014fbd610e Improve CppunitTest_services
Change-Id: I4b22ce7e5fa91d5008f72e1f351d25063065ba43
2013-12-19 22:46:34 +01:00