Commit Graph

384479 Commits

Author SHA1 Message Date
Caolán McNamara
ac49efde18 gtk3: track what needs to be implemented
Change-Id: Iff2a651384cc96f541dba2f9e134c7463619c62c
2015-11-25 15:45:57 +00:00
Caolán McNamara
a6d5c7dcd9 gtk3: stroke as well as fill
Change-Id: I1c46f38927c48070e5739b99de96d61943837a14
2015-11-25 15:45:57 +00:00
Caolán McNamara
f43c9aa5eb cppcheck: noExplicitConstructor
Change-Id: Id1615ac223cd6257a419e8abe39b5121d4c16ca4
2015-11-25 15:45:56 +00:00
Lionel Elie Mamane
11f1029be5 assign macro dialog: correct event name "errorOccured"
"errorOccured" is an English spelling mistake, but is the
name of the event, which cannot / should not be changed for
backwards compatibility reasons.

Spelling was boguously "corrected" in:

  commit 60a9b5172b
  Author: Takeshi Abe <tabe@fixedpoint.jp>
  Date:   Sat Dec 4 12:56:38 2010 +0900

      Replace all occured, occurance etc.

This was leading to impossibility of assigning a macro
to that event, since it was not appearing in this dialog.

Change-Id: Ib0373501cba8af8f4abb1c62faddf8d65c926a7e
2015-11-25 16:26:24 +01:00
Eike Rathke
4dd2d40673 regex result offsets can be negative if a group was not matched, tdf#94810
"(abc)|(def)" matches "def" with result offset sequences
{0,-1,0},{3,-1,3}

And thus the assert() calls introduced with
4cf1d290ba and
ce91f3c129 were hit.

Change-Id: I571b6c7d47349a2cc7b1d1e34193b2865012a49f
2015-11-25 16:05:17 +01:00
Samuel Mehrbrodt
4e88b2a787 More cleanup in toolbarmanager
Change-Id: I97339c43605a838a8fc329b4f1daa05f584ee864
2015-11-25 15:22:01 +01:00
Michael Meeks
be6108a861 sw: SwXTextTableCursor needs to take the SolarMutex in release.
Change-Id: I1fb5baabd869c4abe8ccf9eeae131efcc697bbee
2015-11-25 14:22:29 +00:00
Michael Meeks
e63938cad1 sc: improve vba macro debugging output.
Change-Id: I8c8cd6255b6722d4d46d6e652e9d9d9722fe112e
2015-11-25 14:20:36 +00:00
Michael Meeks
decd947598 Revert part of 1f86864e97 causing Windows build trouble.
Change-Id: I835f8e33565d20d9fe371cafeededdd32f157f98
2015-11-25 13:42:26 +00:00
Michael Meeks
55c6f5f36d sc: force vba events ordering.
Otherwise we get workbook load events (eg.) happening at idle, which
occurs at (more or less) random places as the StarBasic interpreter
Yields every few instructions executed.

Change-Id: I51ea57f4ad45e30e04fe84a9dc051ed1c5537536
2015-11-25 13:17:52 +00:00
Michael Meeks
2092a45888 vcl: move private impl. detail of Scheduler out of global header.
Change-Id: Iee56131a15f9554c263406356456f65694515719
2015-11-25 13:17:51 +00:00
Samuel Mehrbrodt
02044b5d27 tdf#96059 Replace imageproducer with CommandInfoProvider
Change-Id: I9508a947e5ae6720516d9f926a59d4287cb15317
Reviewed-on: https://gerrit.libreoffice.org/20166
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-25 12:55:10 +00:00
Samuel Mehrbrodt
56907b06f1 Cleanup toolbarmanager
* Remove unused fields/methods/includes
* Formatting

Change-Id: Ia4a2fba258ddf00e8fe507338f7f8c7388631f0b
Reviewed-on: https://gerrit.libreoffice.org/20164
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-25 12:50:21 +00:00
Robinson Tryon
52d01bb5ca bump product version to 5.2.0.0.alpha0+
Change-Id: Ibc95574848752111d36cc9b3ff13709921b67e6c
2015-11-25 07:16:57 -05:00
Yousuf Philips
d65d9c5461 tdf#76825 Add padding between style render and context button
Change-Id: I2d1185d433be0fbb57a59e0609ab0f505248a348
Reviewed-on: https://gerrit.libreoffice.org/19210
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-25 12:14:24 +00:00
Noel Grandin
94e98c674a -Werror=type-limits
comparison is always true due to limited range of data type

Change-Id: If4bcf1f3123cbbd9261e48d2c786a610fc7c0cbc
2015-11-25 14:03:28 +02:00
Noel Grandin
1f86864e97 loplugin:unusedfields various
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2015-11-25 13:57:29 +02:00
Noel Grandin
3e6ba91e2d loplugin:unusedfields in include/xmloff
Change-Id: I979743671e9a2e868d815f917427588b7b0320ba
2015-11-25 13:57:29 +02:00
Noel Grandin
1522d4b36a loplugin:unusedfields in include/vcl
and fixed bug in sepia filter, where it was using the
wrong member of the union to get the percentage

Change-Id: I56b76496a3ac711adec12dd8c08b28d69644d66f
2015-11-25 13:57:29 +02:00
Tor Lillqvist
a0d112a530 tdf#95783: Don't calculate width of text with glyph fallback as way too wide
The old code in MultiSalLayout::GetTextBreak() only makes sense if the
base level character width is zero where a fallback level has a
non-zero character width, and vice versa. But this is not the case for
Windows, at least not any more now when using UniscribeLayout and not
SimpleWinLayout.

This simple change fixes that: Only use the width from a fallback
level if the width at the base level is zero. Hopefully it does not
cause regressions for other documents or on other platforms. (But, I
repeat, I find it hard to believe that the intent of the code could
really have been to ever add two or more non-zero widths for the same
character from different levels of fallback and use that.)

Change-Id: Ic66c55db4b7463f9e04fcedec76f1c44f5e62e03
2015-11-25 13:31:32 +02:00
Robinson Tryon
49c2b9808d bin/rename-sw-abbreviations.sh
This commit renames the most annoying abbreviations in Writer (and
partially in the shared code too).

Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
2015-11-25 06:07:38 -05:00
Caolán McNamara
5470a365f2 XRegion has to match the "real" XRegion structure, even if we don't use
some of the fields

regression from

commit dd351dd728
Author: Noel Grandin <noel@peralex.com>
Date:   Tue Nov 24 08:50:39 2015 +0200

    loplugin:unusedfields in vcl/

Change-Id: If68bf1e0ce90ee3c513f5461d5acd7a32e238d7b
2015-11-25 10:04:37 +00:00
Tor Lillqvist
694214bebd Remove code that has been commented out since 2003
Change-Id: I5975af2801560c61ca72ab25f5d1222cf847c4e3
2015-11-25 11:24:56 +02:00
Markus Mohrhard
4d9a757a38 store custom icon set info into ODF
Change-Id: I1581b28237d2b9f9c22d3f3b0436dc281508aafa
Reviewed-on: https://gerrit.libreoffice.org/20118
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-25 08:50:42 +00:00
Markus Mohrhard
c0772f7037 write a log file about OpenGL driver
Change-Id: Id960540977eb7d0d5f3bdc1c5737137a0d3694b8
Reviewed-on: https://gerrit.libreoffice.org/20117
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-25 08:50:11 +00:00
Robinson Tryon
b630ec5ff0 update emoji autocorrect files from po-files
Change-Id: I1c58da68525ccfe8726a07e40dd8c7db89616580
2015-11-25 02:47:02 -05:00
Miklos Vajna
ebcc23d2c8 Indentation fixes
Change-Id: I82678b037aff5409e54bc50744b1b4b2c8d4d83b
2015-11-25 08:43:52 +01:00
Robinson Tryon
c99f75ca45 Updated core
Project: translations  9b7a6f9619c88ddee34c8cd1623eccdd7d4a4769

Update translations for master and force-fix errors using pocheck

Change-Id: Ia185c1d9ef3b66189ec6b1ab08795fa5f4aaca49
2015-11-25 07:19:50 +00:00
Noel Grandin
631b679529 loplugin:unusedfields in include/toolkit,include/tools
Change-Id: I22966b66b1b8e4dff2e565de456f21a668f33f28
2015-11-25 08:25:10 +02:00
Noel Grandin
a4af308d90 loplugin:unusedfields in include/svx
Change-Id: I946c64d103f3666e5bbff16d95a5c8e65a3750dc
2015-11-25 08:25:10 +02:00
Noel Grandin
234884c09d loplugin:unusedfields in include/sot,include/svl,include/svtools
Change-Id: Ia2dd13c2c48b127ab85311a668fa1f37608d360a
2015-11-25 08:25:09 +02:00
Noel Grandin
85c758a461 loplugin:unusedfields in include/sfx2/
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
2015-11-25 08:25:09 +02:00
Noel Grandin
a78182a993 loplugin:unusedfields in include/package,include/registry
Change-Id: Iadba30885ba3bab7aaee58e298a9dc6b22c8b977
2015-11-25 08:25:09 +02:00
Noel Grandin
fa452b54a5 com::sun::star->css in xmlhelp
Change-Id: Iaa57a071f8f0e6945d24f019cb4c06e02d066e0a
Reviewed-on: https://gerrit.libreoffice.org/20147
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-25 04:47:05 +00:00
Noel Grandin
651649233f com::sun::star->css in writerperfect/
Change-Id: I3b1f51d3a02b999476d12e680f2f76a11ac6b3b9
Reviewed-on: https://gerrit.libreoffice.org/20146
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-25 04:46:50 +00:00
Mike Kaganski
a15b9b44d9 tdf#61228: formatting and commenting
Change-Id: Ic5d1090722945dce338973e9e3091546ed792057
Reviewed-on: https://gerrit.libreoffice.org/20160
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mikekaganski@hotmail.com>
2015-11-25 04:03:50 +00:00
Eike Rathke
7289a140fc Revert "Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0A"
This reverts commit 22ebafe889.

It seems to break various sc.subsequentcheck targets.
2015-11-25 00:57:06 +01:00
Julien Nabet
d667e3210b tdf#61228: Wrong function names in Formula Writer are considered as SUM
Unknown names make the formula fail
PythonTest_sw_python, especially set_expression is ok
Variables are taken into account

Thanks to Mike Kaganski for his help on this patch.

Change-Id: Ia6f9c54d90ce88138fd9c9df9422b34ce8223ca2
Reviewed-on: https://gerrit.libreoffice.org/20122
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mikekaganski@hotmail.com>
2015-11-24 22:03:10 +00:00
Stephan Bergmann
994d80fd53 loplugin:unreffun
Change-Id: Ib53eb3da4810202ad60349566cdef74be89418c8
2015-11-24 22:58:35 +01:00
Eike Rathke
22ebafe889 Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0A
Change-Id: I58d9d7dcbcd1e6cf5ae51532982d7d3525038984
2015-11-24 22:10:13 +01:00
Michael Meeks
87199d3829 vcl: re-introduce idle handling.
The idea here is that we should process 'idle' events - like re-paint
after we have processed any OS messages - such as key/mouse input,
window re-size events etc.

The previous approach wasn't achieving this - it was processing a single
idle event each time around the main-loop iteration; urk.

Lubos implemented something -like- this, the vestiges of it need cleaning
up and removing in: 06d731428e but it was
disabled (most likely because it broke gtk in tdf#91727, which was itself
broken by using silly values for timeouts in the scheduler (now fixed))

Tested on Windows, gtk, kde4, unx-generic.

Change-Id: I7756bca874779c00f72b372cacb7745d0f189f66
Reviewed-on: https://gerrit.libreoffice.org/20158
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-24 19:46:02 +00:00
Caolán McNamara
9b52b8999b Resolves: tdf#95962 incorrect scanline stride
we were reusing the stride of the surface we were cloning,
but the new surface has a different underlying size.

remove the custom stride argument and just change our stride
calculation to use the same scheme that cairo and GDI uses, which
remove another platform/drawing-system variable

Change-Id: I257dac9757b121642e9ccfde7db0911edc9f3fb1
Reviewed-on: https://gerrit.libreoffice.org/20149
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-24 18:49:04 +00:00
Eike Rathke
f9588062dd never push an error instead of the ScJumpMatrixToken
Change-Id: I52854241a9ab87153635b27cb6a66ef4269b2e76
2015-11-24 19:18:51 +01:00
Eike Rathke
d90142c946 nitpick, use 'b' prefix
Change-Id: I9a0d92dee7cebecfb7b204628738f716b901771a
2015-11-24 19:18:50 +01:00
Eike Rathke
59dddbc45a nitpick, reduce to one string insertion
Change-Id: I546ae14d49bb64fb069a4a5d7dc7685e823ea3c3
2015-11-24 19:18:50 +01:00
Adolfo Jayme Barrientos
3752616716 Pad this control a bit
Change-Id: Id05a77b83783c0e12a77bd5e91e595fa0ae29629
2015-11-24 11:55:57 -06:00
Miklos Vajna
9015e72459 sc: -Werror=unused-parameter
Change-Id: I1d3ad22b3dd304ff7384de1e07af88cd63bd28cd
2015-11-24 18:29:36 +01:00
Michael Meeks
1bd5e8b73d vcl: reduce maximum timeout to some sensible range.
This fixes a bug with glib, where prepare of a source with such a
large (max uint64) causes precision & wrap-around problems.
Add assert to avoid recurrence.
Also add a helpful user-visible source name in debug mode.

Change-Id: I9e1eb41af9cc49f8bff88e07f04d4bc4d1877376
Reviewed-on: https://gerrit.libreoffice.org/20152
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-24 17:07:28 +00:00
Jan Holesovsky
a81de86c47 sc: Implement Software Interpreter subsetting, similarly to openCL one.
And add only the minimum amount of operations we are sure about.

Change-Id: I0dd35968206161e31fcd8bfd0b647329c703e0da
2015-11-24 17:41:31 +01:00
Jan Holesovsky
8e148863d9 sc: Implement ScVectorRefMatrix.
This is a ScMatrix implementation that operates directly on
formula::DoubleVectorRefToken, saving tremendous amount of copying data back
and forth.

Change-Id: I027e6cb668ef40eb474773a0ce8d0eeefc1ab71c
2015-11-24 17:41:31 +01:00