Commit Graph

314386 Commits

Author SHA1 Message Date
Tor Lillqvist
eb016138e8 Apple's Clang 4.1 does not have -Wself-assign-field
Change-Id: Iac87cae6e9ee0e4efa07f64903f8789fa47869cc
2012-10-23 11:15:09 +03:00
Miklos Vajna
40e38fd6b1 package: kill RTL_CONSTASCII_USTRINGPARAM in owriteablestream
Change-Id: I3204e7998c493585486f75bba80f648b0180b24b
2012-10-23 09:42:53 +02:00
Miklos Vajna
49e003177d fdo#51145 give better error message on import invalid RTF
Change-Id: Idd81e58b8b0b95b1027b7ece434cb362a689f124
2012-10-23 09:42:52 +02:00
Miklos Vajna
de574fe542 sfx2: add ERRCODE_SFX_FORMAT_ROWCOL
This is similar to the error code ODF filters are using in sw/sc/sd,
except that it is not specific to any application, so any UNO filter can
use it. All you need to do is to throw io::WrongFormatException with a
"<row>,<col>" in the message of the exception, and then the error dialog
will show it, instead of the useless general error message.

Change-Id: I279c8d438f01498b44f14a6dc6aeef85f7dfa4e4
2012-10-23 09:42:52 +02:00
Andras Timar
48a6db0692 Updated core
Project: help  5ce2b22ceed6bbb22f888fd12798ac53f5e7de98
fdo#53882 add help + extended tips
2012-10-23 07:32:29 +00:00
Xisco Fauli
97bc32eb68 pyletter: Don't need to lock controllers here
Change-Id: Ic3c313c8b58005fdd7ac09f7f74bae11f46cde07
2012-10-23 01:13:19 +02:00
Xisco Fauli
62423956c3 pywizards: unused method
Change-Id: I2664413d974c1e6a8b84d1807ffe982008e5aae9
2012-10-23 01:13:18 +02:00
Xisco Fauli
ce6995cee8 pyletter: Don't need to lock controllers here
Change-Id: I8677489a99e4f8efabe10b47b8f86045816a118b
2012-10-23 01:13:18 +02:00
Xisco Fauli
5a0b00d9e9 pyletter: missed import
Change-Id: I0958429daedd8128359f1f10b2306cee555f8769
2012-10-23 01:13:17 +02:00
Xisco Fauli
c06ee4c3d0 pyletter: Fix avoid to load the same template when it's already selected
Change-Id: Ia52beb31dfd30dc1e4d914a41e858e3258b7629b
2012-10-23 01:13:17 +02:00
Xisco Fauli
b8c3e47fd4 pyfax: Fix avoid to load the same template when it's already selected
Change-Id: If757247b527b92e5fed9b34d5608c37fe2d6fe04
2012-10-23 01:13:16 +02:00
Xisco Fauli
c9b591bea0 pyletter: missed import
Change-Id: Ifdffb3323d7922b03f97a109781c1e2d36eb1bbc
2012-10-23 01:13:16 +02:00
Xisco Fauli
65e104060b pyletter: remove java letter wizard
Change-Id: I63a46f027c8e022dee35f57db19b2538be09b1fc
2012-10-23 01:13:16 +02:00
Xisco Fauli
9ad72dd384 pyletter: enable python letter wizard by using ?insert url
Change-Id: I495997e116337d2b6b8df4ef1bda3af3707347e7
2012-10-23 01:13:15 +02:00
Xisco Fauli
bf51d4c7c3 pyletter: pack and register letter wizard
Change-Id: I4b9e2d22af810db367c705791376c99cb1860172
2012-10-23 01:13:15 +02:00
Peter Foley
bd1c6446d3 remove nonexistant file from Zip_uretest
Change-Id: Iad0c1694a896f58bf2075b5997aa29942e5ffd87
2012-10-22 18:43:44 -04:00
Michael Stahl
2589505cc2 fdo#55290: CliAssembly: fix cbd9dddb: s/NAME/OUTFILE/
Change-Id: I9339dee42ed564521f3d6bd4d269184e79e2303c
2012-10-22 23:05:45 +02:00
Michael Stahl
8de04aaf23 mozilla import libraries have no "i" prefix
... how the heck did that ever work?

Change-Id: Idfaf4d617f48427b144837ea44bee49ae8e3f0ff
2012-10-22 23:05:45 +02:00
Matúš Kukan
8c6276a312 drop rdbmaker completely
Change-Id: I313afb391562adae4f91c55480a036c228e0b540
2012-10-22 22:52:14 +02:00
Ricardo Montania
0397c4b02d Some ::rtl::OUString to OUString in basctl
Change-Id: Ifbc60c2e6f2906cc0b7a3ea3fb9dfa1a8421d6a2
Reviewed-on: https://gerrit.libreoffice.org/896
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2012-10-22 20:01:51 +00:00
Caolán McNamara
c348df5635 loplugin: various warnings
Change-Id: I605bffb518d804ee69edda5e7641e13e4c14ef01
2012-10-22 20:20:39 +01:00
Michael Stahl
eda255b38d SvTreeList: fix singular iterator compare assertions
... which will be introduced tomorrow by 3fa955d7

Change-Id: I5d74a1c018fab69102382d6ea0b2739dd102e5bc
2012-10-22 20:18:35 +02:00
Ricardo Montania
41145f51c9 OUString cleanup in basctl
Change-Id: I9644427f6d3bb4b2f488325eb520b365115a8e82
Reviewed-on: https://gerrit.libreoffice.org/892
Reviewed-by: Ivan Timofeev <timofeev.i.s@gmail.com>
Tested-by: Ivan Timofeev <timofeev.i.s@gmail.com>
2012-10-22 17:43:35 +00:00
Ivan Timofeev
8545bf9afc fdo#55800: fix hex color conversion
Change-Id: I705ff4c83f635fcfea383a00eec724110d2e4b45
2012-10-22 20:24:21 +04:00
Lior Kaplan
a40f08c1ac fdo#55034 Update default Hebrew font from Lucida Sans to Lucida Sans Unicode
Change-Id: Ia2204dda0cb452a4ce38a44db61d17d6802b5a38
2012-10-22 18:21:29 +02:00
Kohei Yoshida
3fa955d701 Make SvTreeEntryList private to svtools.
Change-Id: I283d897cd5a7c15b5b60e99c90c04b696d20c2a3
2012-10-23 17:58:47 +02:00
Kohei Yoshida
d7a19a7e04 sal_Bool to bool.
Change-Id: Idd9a123eb551c72bea5892b9e8f2ad6c7eef1913
2012-10-23 17:58:46 +02:00
Alexander Wilms
3800aedc23 Updated tango_testing 2012-10-22 17:43:41 +02:00
Andras Timar
ed24328deb make a configure message less confusing
Change-Id: I99b6fde467384aca690cdd0bd5b08e327c926f10
2012-10-22 17:27:05 +02:00
Luboš Luňák
1a90251fd2 move the ENABLE_DBGUTIL block higher in configure
the cpu/arch/gui/whatever block that follows it uses at least PROEXT
2012-10-22 17:25:40 +02:00
Stephan Bergmann
b7a3a186cb Updated core
Project: binfilter  ab3e0975e1bf8d662e7d154de9313a491dc02b31
fdo#46808: Adapt to core css.xml.sax.Writer changes
2012-10-22 15:19:19 +00:00
Stephan Bergmann
ceebced2ba fdo#46808: Missing @since tag
Change-Id: I8a7e43084ee51230ef0943cc47a61c1778f50d0a
2012-10-22 17:01:11 +02:00
Noel Grandin
fb741b5e1e fdo#46808, Adapt xml::sax::XWriter UNO service to new style
Create a merged XWriter interface for the service.
The xml.sax.Writer service already existed, it just did not have
an IDL file.

Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-22 17:01:11 +02:00
Stephan Bergmann
9cabab002b CLANGPLUGIN_CPPFLAGS for building plugin for Clang in nonstandard location
(i.e., configure with CLANGPLUGIN_CPPFLAGS=-I.../clang-installation/include
-I.../clang-build/tools/clang/include)

Change-Id: Ic6d2973629103f71c32f44ebba2ac70d137d18e7
2012-10-22 16:25:41 +02:00
Stephan Bergmann
d72f3d53e0 Work around some more Clang boost warnings
Change-Id: I819a36fb922b6fe96e9989ad438bed15875bf1b6
2012-10-22 16:25:41 +02:00
Ivan Timofeev
9dbb62555f disable cursor in about dialog and message boxes
Change-Id: I060872e0a468f2ce26a2ab519c5bfe271574170b
2012-10-22 17:25:12 +04:00
Luboš Luňák
f1386b7706 make dmake use C(XX)FLAGS from the environment too
Change-Id: I2214674181c137a312b0109e7d19a1fd2fc942be
2012-10-22 14:56:21 +02:00
Lubos Lunak
07f67f3ed7 fail on configure debug options that no longer make sense
Change-Id: I4d01e0e00bd06e219fdc0208292ddcd5631fa235
2012-10-22 14:56:20 +02:00
Lubos Lunak
40763e05ac disable gb_COMPILEROPTFLAGS in debug mode
This means that modules where --enable-selective-debuginfo disables -g
do not revert back to -O just because -g is not wanted there. As this
will presumably happen with modules the developer does not care about,
there's no gain from the -O and the compile there would take longer.

Change-Id: Ied84d2f69035d6580279b0657c5a5ba5440c6f16
2012-10-22 14:56:20 +02:00
Lubos Lunak
84b4293e3d allow LDFLAGS from gbuild to be selective too
Just like CXXFLAGS can be controlled using --enable-selective-debuginfo.
Non-debug libraries can be debug-stripped this way, which can save quite
some disk space with those cppunittests which just include all .o's from sw/sc.

Change-Id: Ib947f76f535161e4eef1421a5539df5e25fa4042
2012-10-22 14:56:20 +02:00
Lubos Lunak
3c00ff3a45 make configure remember C/CXX/OBJC/OBJCXX/LDFLAGS if explicitly passed to it
If not, the build system selects the right flags depending on --enable-debug
etc. , but e.g. packagers may want to do builds with e.g. both -O and -g.
This is also reasonably close to what autotools do, except that there configure
forces -g -O2 if nothing is explicitly given.

Change-Id: I1889569177ad3cbd6decdc7e9986f67ef5d4456a
2012-10-22 14:56:20 +02:00
Lubos Lunak
156c18ad56 we use -ggdb2 by default, not -ggdb3 (makes debuginfo way too big)
Change-Id: Icd5a2c6ac25e16d2f221a67dc2add775dbf756b4
2012-10-22 14:56:20 +02:00
Lubos Lunak
4e2e6bca85 use (gb_)ENABLE_DBGUTIL rather than the confusing (gb_)PRODUCT
Using --enable-debug already makes the build a non-product build,
so this whole 'product' notion is rather confusing when reading
the build system code.

Change-Id: I4bb6b879a6bcd8c76c4b48ddaccb433ab8eb4bb2
2012-10-22 14:56:19 +02:00
Lubos Lunak
a0320a9088 clean up configure options for debugging build
By default a product (non-developer) build is done. Code is optimized and no debugging
information is included (may be overriden though, see below).

Developers should preferably build with --enable-dbgutil , or at least --enable-debug.

The --enable-symbols switch has been removed. Use explicit CFLAGS/CXXFLAGS/LDFLAGS instead
if needed.

With --enable-debug optimizations are turned off and debugging information is included
(in order to make it possible to examine the code in a debugger). Additionally assertions
and logging is enabled (see SAL_WARN/SAL_INFO documentation for details and better control).
This switch should primarily by used for occassional development (such as when it is needed
to debug one module in a non-debug build, see also 'make DEBUG=true' below).

Using --enable-dbgutil is the recommended developer option. In addition to --enable-debug
it also enables additional checks, such as debugging mode for STL or checking compiler
plugins. This switch may also enable additional logging from obsolete debugging tools
(which should be converted to SAL_WARN/SAL_INFO for better control). Note that this option
makes the build binary incompatible from a --disable-dbgutil build, so it is not possible
to mix them.

When using --enable-debug/--enable-dbgutil , the build is noticeably larger because of the included
debugging information (compiler -g option). When disk space is an issue (or the computer
is not very powerful), the --enable-selective-debuginfo option allow specifying where
the debugging information should or should not be used. The option takes a list of arguments,
where all means everything, - prepended means not to enable, / appended means everything
in the directory; there is no ordering, more specific overrides more general,
and disabling takes precedence). For example, --enable-selective-debuginfo="all -sw/ -Library_sc"
enables debugginfo for everything except for anything in the sw module and the sc library.

Explicitly specified CFLAGS/CXXFLAGS/LDFLAGS override optimization and debugging options
(can be now also passed to configure which will make the build system use them).

If in a non-debug build it is needed to temporary build something as a debug build,
'make DEBUG=true' temporarily works as if --enable-debug was specified. It also temporarily
overrides debuginfo disabled using --enable-selective-debuginfo.

Old code using old logging functionality also has a concept of a debug level, forced using
'make DBGLEVEL=2'. Using a debug level of 2 (or higher) enables additional logging output.
New code should use SAL_WARN/SAL_INFO and use extra areas for additional logging output
that can be selectively enabled/disabled using SAL_LOG variable.

(Some smaller parts of this design will be implemented by separate follow-up commits.)

Change-Id: Ia6420ee3c99c217ead648e8967165eed7f632258
2012-10-22 14:56:19 +02:00
Caolán McNamara
920807d449 Resolves: rhbz#868479 / fdo#56281 doubled ~ in German ok/cancel translations
We have unix-specific code adding ~ to OK/Cancel. So don't add ~ if
string already contains those.

Though its an open question if the presence of ~ is a bad thing
for the Windows case. i.e. if we should have tooling to not
allow the OK/Cancel translations to contain ~ in the first place,
of if we should drop the ifdef UNX and do it globally now

Change-Id: I461c6ac9ca574ed188f51472919be82ec582e389
2012-10-22 13:35:09 +01:00
Caolán McNamara
3c71a0bae6 explictly require Bitmap to get image
Change-Id: I0f7e0510f6c946be7cf930659db961d3c17e1c4f
2012-10-22 13:35:09 +01:00
David Tardon
bec62421a4 factor out common code
Change-Id: I733dc593b2395e06bf86d8ad9dec16c958c880b9
2012-10-22 14:34:25 +02:00
David Tardon
cbd9dddb4d fdo#55290 create CLI assemblies with the right name
Change-Id: I521a8a1fc013684fde6055d7e2c32790462e64c6
2012-10-22 14:34:25 +02:00
David Tardon
39f4b3d6df add missing dep
Change-Id: Ic902a7399a810fcf3331dc9c728c22a1f2a14d4d
2012-10-22 14:34:25 +02:00
David Tardon
7f82096840 use absolute path
Change-Id: Ic814cba74dede2f5a079242d0194fe7579e670ab
2012-10-22 14:34:24 +02:00