Commit Graph

389200 Commits

Author SHA1 Message Date
Jan Holesovsky
8fb170cbe9 sd lok: Remove LOK_CALLBACK_PARTS_COUNT_CHANGED from the API.
LOK_CALLBACK_PARTS_COUNT_CHANGED did not cover more complex scenarios, like
more pages deleted at the same time, etc.

Instead, we need to trigger the LOK_CALLBACK_DOCUMENT_SIZE_CHANGED, and the
client has to be smart enough to update the previews in a way that does not
consume too much resources - ie. it has to have a link between the part names
(which are unique) and the previews, and request only the missing ones.

Change-Id: I36ff5dc86f360e3c7bd2c55fae8aaa99e054b4eb
2016-03-03 10:51:48 +01:00
Miklos Vajna
ae5c80502b sfx2 classification: replace default start date with current time ...
... unless the policy changes the default already.

This was the date of the classification is stored in the document, and
can be inserted as a field as well, but if the policy has an explicit
classification start date, we don't overwrite that.

Change-Id: I17974d73a415a2c8032df48aa7b7f4eebb7178ab
2016-03-03 10:35:38 +01:00
Noel Grandin
2437ccd3e9 loplugin:unuseddefaultparams in formula
Change-Id: I7f0baa2709db24e8299f0e1c19c0703aee1cbf4f
2016-03-03 11:15:52 +02:00
Noel Grandin
a9b7c6f4b7 loplugin:unuseddefaultparams in include/filter
Change-Id: I893b50835717d449e495e00e9b33de0b60467a6e
2016-03-03 11:15:52 +02:00
Noel Grandin
99469ae7b9 loplugin:unuseddefaultparams in filter
Change-Id: Ife21ac3fc2ede30694a1c7e2f9296105aa548218
2016-03-03 11:15:52 +02:00
Xisco Fauli
57de81580d tdf#98113: SVGIO: Add SvgANode class to handle transport ...
... attribute in anchor elements.

I used Svggnode class a a reference for this.

Change-Id: Id2a58bd913f9984dc91163ca0f333c016aa981f1
Reviewed-on: https://gerrit.libreoffice.org/22822
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-03-03 08:50:40 +00:00
Takeshi Abe
ad82b7bac2 starmath: Drop ENABLE_DEBUG_DUMPASDOT feature
The feature for debugging seems unused so long that defining
ENABLE_DEBUG_DUMPASDOT breaks the build but no one complains.
So let's ditch it.

Change-Id: I0b472cd1acbcfd0c2550c3bd36661c91bc2e2986
Reviewed-on: https://gerrit.libreoffice.org/22608
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-03-03 08:46:40 +00:00
Miklos Vajna
0ba96ffcd8 editeng: fix -Werror=unused-but-set-variable
Change-Id: I14364bc833c97dbb5dfe323c65282f69ba7e393f
2016-03-03 09:44:47 +01:00
Stephan Bergmann
a39fb49535 various loplugin warnings
Change-Id: I9078ba18d8897a89a472fe75385542dac0c6bf78
2016-03-03 09:43:06 +01:00
Jan Iversen
fba6f6fb51 Removed call of genLang makefile
genLang produces errors on the clang tinderbox, due to the way
it uses a singleton.

Removed genLang from Module in order to satisfy tinderbox, while
fixing the problem.

Change-Id: I03a6175de8340f1c0ad5953b32659106e10d75f5
2016-03-03 09:39:37 +01:00
Miklos Vajna
cad7f8ddd9 writerfilter: prefix members of RTFFrame
Change-Id: I2cfc356a4bc570484b9fd1566e338aa4081c6f24
2016-03-03 09:34:34 +01:00
Miklos Vajna
e6e9b853c5 writerfilter: RTFParserState is meant to be a struct with no member functions
So move its only member function to RTFDocumentImpl.

Change-Id: I93874c729bc21f0545f62e654577e4b9842e898c
2016-03-03 09:34:34 +01:00
Tor Lillqvist
65de9aa744 Follow our code layout style
Consistency is important. (I know that we are wildly inconsistent in
many things, even inside individual source files. Like the spacing of
the expression in an if statement. But putting an opening brace on a
separate line is something we do quite consistently.)

Change-Id: I7c50628653b94a4da0fc4dc8db8869a5f1a64527
2016-03-03 09:47:18 +02:00
Jan Iversen
999c68f12f genLang project (awareness)
the genLang project aims at replacing all l10ntools with more
modern versions, based on C++ and lex.

The current extract works basically as a standalone "find" over the
source tree. genLang can use that, but also a more efficient way, by
having translation-worthy files declared in the makefile stubs.

genLang itself is a C++ framework, where each file type is defined as
a class, making it easy to add new file types.

genLang can easily be adopted to transform the help files into e.g.
mediawiki format, and later merge a url back into the code.

The project was first developed (solely by the author) in a non
published branch of OO. This branch was never merged but deleted
and therefore never published.

The files have been adapted to the LO build system and setup.

The primary commit is just to raise awareness, that this is being
developed. The following commit, will update the source code to LO 
standard. Before replacing the old modules a dedicated review will
be asked for.


Change-Id: I4504992474333c476c179903f822bfaf1441cca9
Reviewed-on: https://gerrit.libreoffice.org/22819
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-03-03 07:46:59 +00:00
Noel Grandin
b76842f63b loplugin:unuseddefaultparams in editeng
Change-Id: I1dc0ba262c06bd69cf92aae20b344fe23f460f55
2016-03-03 09:42:49 +02:00
Noel Grandin
4dedf654d8 loplugin:unuseddefaultparams in connectivity
Change-Id: I03cc69a924913713a0da819899ce259305b88016
2016-03-03 09:42:49 +02:00
Pierre-Eric Pelloux-Prayer
9fdd671fb2 tdf#96393: reuse layout if available
If position and size were loaded from the WindowStateData
structure there's no need to recompute the layout.
As an added benefit if the user previously resized/move the
dialog, the new one will open using the same geometry.

Change-Id: I306504080357f9be8f3e628ba13ca5dc2957dd52
Reviewed-on: https://gerrit.libreoffice.org/21850
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-03-03 07:37:11 +00:00
Jochen Nitschke
be326abdd5 remove double defines
search ABS_* defines and replace with equal
SC*_* defines from address.hxx
then removed double defines

Change-Id: I1a5385daf6e1fb6f959f142c04f2515e7b85a80e
Signed-off-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-on: https://gerrit.libreoffice.org/22826
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03 07:07:54 +00:00
Steven Guo
74c93c91eb tdf#57950 Replace chained O(U)StringBuffer::append() with operator+
Replace chained O(U)StringBuffer::append() in PivotLayoutTreeListData.cxx

Change-Id: Ia1cc2f32e038bca2421cc5e9aca3b4f15d7c8432
Reviewed-on: https://gerrit.libreoffice.org/22828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03 07:04:31 +00:00
Noel Grandin
d298cfd986 loplugin:unuseddefaultparams in mysqlc
Change-Id: I83e27ed242b6ec1fbd19e473a4d8c0f4588e6f86
2016-03-03 08:13:14 +02:00
Noel Grandin
e13ba2d41d loplugin:unuseddefaultparams in dbaccess
Change-Id: I5f417aea43b4aa841ee45e947b982e6341c7b18b
2016-03-03 08:11:02 +02:00
Noel Grandin
bd2bf6bd55 loplugin:unuseddefaultparams in basic
Change-Id: I286efdac6af47a859693fccc71b445915f76945c
2016-03-03 08:11:02 +02:00
Noel Grandin
2b7215e6fa loplugin:unuseddefaultparams in oox
Change-Id: If05662102e161d3dd56bbb6ed3964e63ba853cf9
2016-03-03 08:11:02 +02:00
Noel Grandin
fecfd9c498 loplugin:unuseddefaultparams in sc (part2)
Change-Id: I356a86bfca20cbf2c52185697042dce5237e847d
2016-03-03 08:11:02 +02:00
Michael Meeks
7ccdb94e2c vcl: scheduler - remove obsolete comment.
Change-Id: I8a469f73b682e32bbb15a71e5be9b64d8412f3f1
2016-03-03 02:40:17 +00:00
Maxim Monastirsky
57c3b726d0 Break SmartTagMenuController-VCLXMenu cycle
Change-Id: I6da45f6b6750f78d309fa3080eada1931640f188
2016-03-03 00:39:15 +02:00
Michael Stahl
57200e6a1c sd: replace boost::bind with C++11 lambdas
Change-Id: I17328cd13b44b4406013ec06521246ad8363b5a3
2016-03-02 22:28:49 +01:00
Armin Le Grand
f3ff67d3c3 tdf#96922 Suppress EditView PageVisuailsation in GraphicExporter
PageBackground is due to old constraints in exporters not completely
hindered when IsPageVisible() is already set for signalling that
all EditView-specific Page visualisations should be suppressed.
As long as these exporters are not adapted, use the setting of
SetPagePaintingAllowed() which consequently achieves this.

Change-Id: I2222a799533f763b54b2210a46c24aa8ae92d7a2
Reviewed-on: https://gerrit.libreoffice.org/22837
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-02 21:29:48 +00:00
Stanislav Horacek
01ffe26fdf Updated core
Project: help  17ec8364ffd8f814d9bed18441ae6e8389eb360d

tdf#92825 adjust navigation to indexes and tables of contents

Change-Id: I144816d4cd81ba85f57f7e62ebf914de56d82a81
Reviewed-on: https://gerrit.libreoffice.org/22842
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-03-02 21:12:53 +00:00
Stanislav Horacek
e0570b7436 Updated core
Project: help  cdeb341a7ac1a01ac1fd28d80b70eb7bbff5e1af

rename "Highlighting" icon to "Highlight Color"

Change-Id: Icd548e704e3d1adbd85f31b3d7d2be63c613fa83
Reviewed-on: https://gerrit.libreoffice.org/22841
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-03-02 21:02:22 +00:00
Stanislav Horacek
3231e5c362 Updated core
Project: help  47cc97d2ef4f3f59a2d3d5e66a25d04fc0fff463

tdf#95155 rename "Appearance" to "Application Colors"

Change-Id: I3880b9552842f52dfe6bbb86a5485a23f5eb4d8a
Reviewed-on: https://gerrit.libreoffice.org/22844
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-03-02 21:00:31 +00:00
Maxim Monastirsky
9d6e1de029 Context menus were never destructed
Change-Id: I34ae9dbb5b00fa2b6a1ef5c115a796d4e28eafa9
2016-03-02 22:56:10 +02:00
Eike Rathke
b2f5336b08 Resolves: tdf#98297 exclude error values from COUNT in array/matrix
Change-Id: I202dcc2a2b90ee8ed27815b97a2aad6e4df2f1b9
2016-03-02 21:20:39 +01:00
Tomáš Chvátal
6d7aeebcce Fix patch to apply on SLE11, just some unknown patch binary hickup
Change-Id: I6cb707663e2abad8761b172773ee70f9caf4a87d
Reviewed-on: https://gerrit.libreoffice.org/22835
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-03-02 20:10:01 +00:00
Adolfo Jayme Barrientos
57a7466a21 Updated core
Project: help  3ceee913def605d1f2e4c42545b8b4a6d56a13aa

Minor tweaks to statistics help content

- Use “Choose” rather than “Menu” in menu paths for consistency
- Remove the UI-only convention of using an ellipsis
- Drop a linkless paragraph of “Refer to Wikipedia”, it’s useless
  if it doesn’t have a link
- Now that we’re on Wikipedia links, refer to them more elegantly
  and add a dot to end the paragraph

Change-Id: I6e3964b8926710cd57ee6750fddb039c2c846c34
2016-03-02 19:47:32 +00:00
Caolán McNamara
3f66ab9553 coverity#703997 silence Unchecked return value
Change-Id: I6801d8ff6d0646e14e359ab55bf523790abf7e41
2016-03-02 17:14:35 +00:00
Caolán McNamara
0c622c9885 extra menubar displayed after exiting embedded object edit
when using native gtk3 menubars.

The issue is that MenuBarManager does not own its MenuBar.
And in this embedded menubar situation a new menubar is newed and passed to
m_pInplaceMenuBar but nothing destroys it.

Now with native gtk3 menubars this becomes obvious as the native menubar stays
behind, while in the non-native case the old menubar is replaced by
the new one so while it still leaks the menubar you don't see it.

Change-Id: Id732cb66664a71efc471d7bad35f4de890e1017e
2016-03-02 16:50:07 +00:00
Michael Stahl
16a87cb29e shell, scp2: clean up empty script packages
Change-Id: I93abddac491578d470f85bf3e814a0d7a91f0351
2016-03-02 17:29:59 +01:00
Miklos Vajna
8ba5369032 sfx2 classification: add config listener to avoid restarts
So that when SvxPathTabPage sets a custom classification path (or resets
it back to the default), then no restart is needed, the toolbar will be
updated instantly.

ClassificationCategoriesController::statusChanged() was called already,
all that was necessary is to remove old entries, to trigger a re-read of
the policy.

Change-Id: I98edea19fedfb5c1197981085193f959c19647a1
2016-03-02 17:26:39 +01:00
Miklos Vajna
5582f05968 unotools: handle classification path in SvtDefaultOptions
With this, it's possible to reset a custom classification path back to
its default value.

Change-Id: If0230fa6bb6ab014634dcdface8c470321163097
2016-03-02 17:26:39 +01:00
Miklos Vajna
b4d43cc215 cui: classification path is a file, not a directory in SvxPathTabPage
So when editing the classification path, open a file picker, not a
directory one.

Change-Id: I8f7e18f90dc2b5f180e7ddda7157c1e374ed6e4e
2016-03-02 17:26:39 +01:00
Bryan Quigley
cafd3adcba Just use xdg-open
Remove kde4/tde/open-url.sh and have LO just use xdg-open.
It's available on TDE builds as well as any recent KDE.  We recently
did this just for gnome-open-url and have had no reported issues.

Change-Id: I4e1ee6caef368051af92023fa382b6fed9d9397e
Reviewed-on: https://gerrit.libreoffice.org/21173
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2016-03-02 16:19:27 +00:00
Michael Stahl
3fd13a3367 configure: try to make --without-x less confusing
In a supreme twist of irony, people now assume that --without-x somehow
enables them to run LO in Wayland.  Let's see if renaming it *again*
to --disable-gui is finally clear enough.

Change-Id: I5993ee63670f43fb90f32f375f8b0632478c8283
2016-03-02 17:10:08 +01:00
Eike Rathke
e7fe70ff9c Updated core
Project: help  4960c1ad663747257f1dc69a649f715a32a9e77e

add warning for case sensitivity and Excel interoperability

Change-Id: I79cc6d6c48225f8559339f65df99de838c2e7ae6
2016-03-02 15:44:15 +00:00
Eike Rathke
7dc10c5fca shift "Decimal places" down by 2 to align with "Limit decimals" again
Change-Id: I4e22e02b54cc7528da002dd9b6426cc6637fecac
2016-03-02 15:57:26 +01:00
Noel Grandin
037de51254 tdf#98175 fix Impress crash
Caused by my commit f29c0b2b3e
"boost::shared_ptr->std::shared_ptr in slideshow"

where I foolishly converted
   shared_from_this()
to
   std::shared_ptr<Activity>((Activity*)this) )
all over the place, which is bad, I should have used
   std::dynamic_pointer_cast<ViewEventHandler>(shared_from_this())

Ah, the joys of C++ memory management.

Change-Id: I9b538e78730c9107870f406cb8ba482d491dd568
2016-03-02 16:39:13 +02:00
Eike Rathke
cdd7a0fe48 add tooltips about Excel interoperability
Change-Id: I8b08893ca40f242f63e04c037500c6864c6c238a
2016-03-02 15:11:10 +01:00
Eike Rathke
63e914719e replace wildcard/regex checkboxes with radio button group, tdf#72196
Change-Id: I505a0de789190dc7345a703ac50008276d0ed195
2016-03-02 15:11:09 +01:00
Michael Stahl
ddc363b2b2 test: dump MetaPolyPolygonAction too
Change-Id: I3ecafc104c91d7f4e93805b2e03359cf60d2db4b
2016-03-02 15:07:03 +01:00
Michael Stahl
632804b1f9 vcl: document that it's possible to dump GDIMetaFile to XML
Change-Id: I921577df6c905e935d05ff0e9d2b2c6e8d22cc89
2016-03-02 15:07:02 +01:00