305875 Commits

Author SHA1 Message Date
Tor Lillqvist
182c1e4f99 Call lo-bootstrap's redirect_stdio
Change-Id: I45732ac81d00837ce517ed5c527c8c767e690abf
2012-05-16 10:12:25 +03:00
Tor Lillqvist
c53c665de3 Add stdout and stderr redirection to the Android log
On a (non-rooted) device it is not possible to set the
log.redirect-stdio property so that it would be effective (i.e. read
by the Zygote process when it starts). Such redirection has to be done
in-process.

Add a (JNI-callable) method to set it up: Point file descriptors 1 and
2 at pipes that are read by a thread that logs each line through the
Android logging API. Code based on Android's own logwrapper.c.

Change-Id: Id5308293595096a44a2ffed2dbc0c252be109de7
2012-05-16 10:12:25 +03:00
Andras Timar
7e90e00f14 fdo#48914 uninstall process should remove .pyc files from install directory
When install location is writable to user (typical on Windows XP),
Python generates .pyc files. We can remove them using the RemoveFile table
in MSI. We generate an entry for each .py file in the install set.

Change-Id: I314582d52162c6f3ae3acc72de9d620680fb23e0
2012-05-16 09:12:17 +02:00
Chr. Rossmanith
bef8e358b6 fdo#48068 fix parsing of path d-attribute
Change-Id: I43a5f69a30b3766303e049ba4d66c4fd79b9de30
2012-05-15 22:14:32 +02:00
Michael Stahl
6d1cef5d97 try to serialize linking in tail_build a little
To hopefully reduce likelyhood of OOM related problems, especially
with debug/symbols enabled, prevent linking 10 biggest libraries in
parallel.
2012-05-15 19:37:19 +02:00
Eike Rathke
b936d537e4 added common date acceptance patterns to *-FR locales 2012-05-15 19:19:21 +02:00
Lionel Elie Mamane
2ffe693d7e simplify/clarify code 2012-05-15 18:52:21 +02:00
Lionel Elie Mamane
8fca982829 fdo#48345 need to refresh row also when not m_bRowCountFinal 2012-05-15 18:52:12 +02:00
Caolán McNamara
cdd4d969b1 Related: rhbz#790233 Allow styles to be deleted from the template dialog
I knew this used to work at some stage, appears to be a
regression since cdf8680ed24a56956f257c99c73ff95ff488e2c6
GetIndices_Impl gives the region and index of the entry relative to the
immediate parent, so doesn't make sense to use those as indexes
into the template array if we're at the style level.

backup into the template level if we're below it to get the
relevant template index.

Change-Id: I37a0bbc38cbb4dd82dd3d2c8309d8be61d83adbd
2012-05-15 15:31:06 +01:00
Caolán McNamara
8856ec1904 WaE: unsafe mix of bool and sal_Bool
Change-Id: I0b52eead997b8d6937088aade660be78d600b8b4
2012-05-15 15:31:06 +01:00
Noel Power
3234c2a786 similar to fdo#45592 type for property UNO_NAME_SAVE_FILTER_DATA is wrong 2012-05-15 15:29:47 +01:00
Stephan Bergmann
1d7d99e9aa Mode (r/o vs r/w) changes can affect title, too
Change-Id: I69ecb9fa157c706c90132e7801def2253529158d
2012-05-15 15:29:36 +02:00
Stephan Bergmann
a0cd92dbaf Cleaned up some OSL_TRACE -> SAL_INFO uses
Change-Id: Ie70be4d3e4f086eaa301295df0bc7d25792d2cd2
2012-05-15 15:29:36 +02:00
Luboš Luňák
60cb70b945 do not reuse shape context (part of bnc#705956)
As far as I can say, this reusing is just an optimization, but
it breaks e.g. with <w:pict><v:group><w:pict>... , where
using the same context for two shapes breaks things, e.g.
oox::vml::ShapeContainer::getFirstShape() does not work right.

Change-Id: I90bb85b4d320e1bb0727401879b0551abbac5f12
2012-05-15 15:13:28 +02:00
Tomas Chvatal
516f81a176 Do not call getOrigName ever
When one take look on what the code did:

   name = nameA;
   origName = nameA;

   GooString *getOrigName() { return origName; }
   GooString *getName() { return name; }

This code is used even with poppler 10 which was branched 4 years ago.
So simply do not bother with this code at all.

Change-Id: Iba877e765fb763878f5ccd3e1fa62c29cadc9085
2012-05-15 15:10:29 +02:00
Jan Holesovsky
a490c01978 ruler: Fixed many off-by-one drawing problems.
Change-Id: I3aab81682310cbf1da8af6dc0a5d71eb8e3140e4
2012-05-15 15:05:18 +02:00
Tomas Chvatal
0e61bee42e Build with ICU<49 by disabling features not around
Thanks to Caolan for the explanation.

Change-Id: I1db0b1f60681c5f2815472b220ba54b4c38c0cd4
2012-05-15 15:00:09 +02:00
Michael Stahl
b0b92d1e5f split up top-level Makefile:
The top-level Makefile invokes autogen.sh (and thereby configure) in an
environment which is polluted by config_host.mk; this causes at least
the problem that following a "make clean", the bootstrap script will not
copy dmake to its destination because BUILD_DMAKE=NO is set from
config_host.mk, which is apparently due to the PATH being polluted from
config_host.mk, so configure finds the dmake in the build tree.

So split up top-level Makefile into Makefile, which invokes autogen.sh,
and Makefile.top, which does everything else.
2012-05-15 14:51:46 +02:00
Noel Power
db6dd09720 fix property type for printoptions fdo#45592
Change-Id: Ie78e3a5fffb73c212dcb60e4ad0dbe2f7db8fea2
2012-05-15 13:13:25 +01:00
Andras Timar
70c92c53d4 fix log entry of mergemodule condition
Change-Id: Id88f38fb806c6178240eb69da69c2e633c2033da
2012-05-15 13:48:15 +02:00
Caolán McNamara
f887c77064 Related: rhbz#162935 Document reason for stl header visibility check
Change-Id: I63edb1931975eca15a0b1efc51f9ce0d35739ebc
2012-05-15 12:44:18 +01:00
Caolán McNamara
51eb0d79c1 ditch UniString
Change-Id: I0671f0acf5a53a1c7f442f721bb058a3760ca18c
2012-05-15 12:05:47 +01:00
Caolán McNamara
9b71aa0de1 convert GetUndoActionComment family to rtl::OUString
Change-Id: I36ccf62ee2e2769bcf1aef6d26d96bce6c7078f0
2012-05-15 12:05:47 +01:00
Daniel Bankston
844bba4bb4 Replace extra XFormulaTokens call with direct ScDocument
Change-Id: Ib7469c4214687021efdcfb9bbf162ee6eb6404c4
2012-05-15 11:28:08 +02:00
Daniel Bankston
82f91c909a Get cell instance once and use c++style cast
Change-Id: I0a2a06b805ba1fd7d03937e767568d622615b059
2012-05-15 11:28:08 +02:00
Daniel Bankston
1158a8b833 Use ScUnoConversion instead of casts for address conversion
Change-Id: Ia3fbe15aeed9a3cb7928ada1a438b190f8fbb017
2012-05-15 11:28:08 +02:00
Daniel Bankston
ac409adb19 Pass forumlaResult value directly to ScDocument
- Removed extra call to XCell2 and instead passed formula result directly to ScDocument.

Change-Id: Ifea731e44f12a048b76f8d5a4cc2d0619a56bbbc
2012-05-15 11:28:08 +02:00
Daniel Bankston
14f23858c6 Remove extra XText call and pass string directly to ScDocument
Change-Id: I568b86f34335bb9290ae796a6140d6e4ff65752b
2012-05-15 11:28:07 +02:00
Daniel Bankston
5057c65fed Remove getCellBlock() code that always returns null.
- Removed CellBlockBuffer::getCellBlock() method that always returns null as per my IRC convo yesterday with Kohei.

Change-Id: If57429c8cf48d309a610c703d97b53406653a767
2012-05-15 11:28:07 +02:00
Daniel Bankston
8f9099c013 Remove extra XCell call and pass cell value directly to ScDocument.
Change-Id: Idb16d82dad08f1028a065cba568682477fe41313
2012-05-15 11:28:07 +02:00
Markus Mohrhard
38987d02e5 export color scales only to the correct sheet
Change-Id: I70c4d213fdd91f7032d637e93410add1f8266a3e
2012-05-15 11:24:18 +02:00
Stephan Bergmann
47ba662ce6 Explicitly initialize target-specific variables
...so they do not erroneously inherit values from other targets.

Change-Id: I6c84cecad4ea858b77d5d83eb93938c397aed076
2012-05-15 11:22:44 +02:00
Miklos Vajna
163e136650 fdo#49940 testcase
Change-Id: I3a6fc3bf2915699d886f3b8e966ae2718517d7bd
2012-05-15 10:39:00 +02:00
Miklos Vajna
7d8077f2ae n#760294 testcase
Change-Id: I52f063848c7bd63bdef73fb21eaad4256a14d128
2012-05-15 10:38:59 +02:00
Stephan Bergmann
cdf783872a Work around signed/unsigned warning (old GCC versions), and adapt loop type
Change-Id: I48a0c1b9f754381ae6dec546ab9443040df8210c
2012-05-15 09:54:26 +02:00
Miklos Vajna
50cb166702 fdo#49940 dmapper: handle m_bTitlePage when m_nBreakType is zero
We used to ignore m_bTitlePage in this case, resulting in wrong
'Default' page style for the first page, instead of 'First Page'.

Change-Id: I1899354fb39db4f0eb663fd5233395f2d4a5e72a
2012-05-15 09:02:15 +02:00
Ivan Timofeev
6f6a419a39 missing break (I suppose)
Change-Id: I504cbe271ef4475963b8277a1ab7dcb09b0dda38
2012-05-15 10:58:08 +04:00
Ivan Timofeev
9b01e60444 use real visibility of SwScrollbar again
Change-Id: Idd21d7efa2708ab2486cdaf8bf5910af36551687
2012-05-15 10:58:07 +04:00
Jan Holesovsky
64c696fc92 aero: Implement a glass menubar on Windows.
We need to default to the Aero colors too, in order to this be really
beautiful; but hopefully already in the current state it is an improvement :-)

Change-Id: I 113039b62320fa76916ba74071e1eebff4d3476c
2012-05-15 08:39:32 +02:00
Jan Holesovsky
83208da599 Reduce copy'n'paste by different nesting of if's.
Change-Id: I9a68d585217550c1d229a2bc66d04e506253d747
2012-05-15 08:39:32 +02:00
Jan Holesovsky
edec6d134a Pack the bools.
Change-Id: I71bf94a87f8d7092b472e7a8eb58045a82749c29
2012-05-15 08:39:31 +02:00
Jan Holesovsky
9d2b1ec8e8 Don't take the workspace color from system on Windows, it is extremely ugly.
[We need to introduce taking colors from theme (instead of system) anyway.]

Change-Id: I75037771f2542e924cbff01accf66cfc851ec255
2012-05-15 08:39:31 +02:00
Jan Holesovsky
23676a74fc Instead of DwmIsCompositionEnabled, use IsThemeActive from uxtheme.dll.
No idea why the DwmIsCompositionEnabled is recommended ~everywhere where you
search for how to check if the themes are enabled; it is wrong as eg. over
rdesktop, you are still using themes, but for sure not the composition in dwm.

Change-Id: I Ib34f2a17809d03f29ccdf7d4a8b94ee7ad996bf5
2012-05-15 08:39:31 +02:00
Jan Holesovsky
1917de4bb4 Kill unused file.
Change-Id: Id07fce1f1baf7361e16f16af63f54c98a71791f6
2012-05-15 08:39:31 +02:00
Norbert Thiebaud
07b3d083b4 TDE integration
Change-Id: I6f468005c8d8d99d9251a9c4fe4629b98bc4aa5e
2012-05-14 20:09:41 -05:00
Michael Stahl
007f16ef7a SwTableAutoFmtTbl: try to fix MSVC tinderbox:
C:/lo/core/sw/inc\tblafmt.hxx(311) : error C2487:
'boost::ptr_container_detail::reversible_ptr_container<Config,CloneAllocator>::insert'
: member of dll interface class may not be declared with dll interface

Not really understanding what the problem is here, attempting to fix it
by not deriving SwTableAutoFmtTbl from the container, and trying to get
that to build somehow resulted in this commit.
2012-05-15 00:28:31 +02:00
Michael Meeks
51270f84bb sw: avoid over-using over-complicated SfxUndoManager::IsUndoEnabled 2012-05-14 22:36:28 +01:00
Andras Timar
80a921e88a fdo#46519 workaround of MSI installer error 1935
In some circumstances installation of embedded VC++ runtime
fails with error code 1935. This usually occurs, when there are
many different versions of VC++ runtimes installed on the computer,
including beta versions. We can workaround this Microsoft bug, if we
don't install our VC++ runtime. A new property was introduced. It is
called VC_REDIST, and installation of VC++ runtime depends on its
value. (BTW the solution is general, ComponentCondition can be used
for any merge module, now we have only the VC++ runtime merge module.)
When the user experiences error code 1935, he should try to install
LibreOffice with the following command line:
msiexec /i <msi file name> VC_REDIST=0
The patch fixes another minor issue. 64-bit VC++ runtime will
not be installed on 32-bit systems any more.

Change-Id: I I6c5e066c6e60b011235e6019a8a35c9e953209bc
2012-05-14 23:08:45 +02:00
Michael Stahl
2c4fbc8785 sw: try to fix Mac tinderbox SwAuthorityFieldType:
Apparently Apple GCC 4.0.1 wants to invoke a copy constructor for
SwAuthorityFieldType when it is given as parameter to InsertFldType,
which seems entirely spurious; let's try if this works around the issue.
2012-05-14 23:00:33 +02:00
Fridrich Štrba
e062c50b19 Comment this one because it randomly breaks Windows build
Change-Id: I3f00ab7149d6d198292d63ed3f16b213b39a3054
2012-05-14 22:34:34 +02:00