Commit Graph

376254 Commits

Author SHA1 Message Date
Caolán McNamara
031a347668 use gtk3 vclplug by default under GNOME3 if available
Change-Id: I4efe8bdfb7080365094306aee9db6b69a7f9e86a
2015-06-19 09:18:18 +01:00
Caolán McNamara
4008b6f9bf gtk3: use owner-changed to detect losing/gaining clipboard ownership
and use the generic implementation (for now at least) for the PRIMARY
selection and use this for the CLIPBOARD selection

Change-Id: I31d65534481dc73f0cf65d68a663b7dfbb13aa31
2015-06-19 09:18:18 +01:00
Noel Grandin
1497dd9745 tdf#42374, improve perf by fixing bug in pdfi::HashedStyle::hashCode()
which was rendering it largely useless for hashing purposes

Change-Id: Ie94457ea0a6e53fd9ceed9461656e2d3b0840d58
2015-06-19 10:07:21 +02:00
Noel Grandin
e0f3e7c007 tdf#42374 some small optimisations for opening this PDF file
makes it about 10% faster

Change-Id: I145faed5aa7c312372f08cc651df5afcf10c70ab
2015-06-19 09:55:07 +02:00
Noel Grandin
0c5d286cbe rename some types in SfxPoolItemArray_Impl
to make their purpose clearer

Change-Id: I05597f5e69d2e471f08fec545467923378dded74
2015-06-19 09:52:04 +02:00
Noel Grandin
4c1926f34e the ElementTreeVisitable interface is doing nothing useful
Change-Id: I89e8fb90de8aadce89a8f5e353a923c972e1569f
2015-06-19 09:52:04 +02:00
Miklos Vajna
f9a5557997 cui: prefix remaining svx::DbRegistrationOptionsPage members
Change-Id: If6786c2df54d7ccad61c00fddf28b0a00372dab2
2015-06-19 09:06:34 +02:00
Eike Rathke
ba70050dc3 add test case document to unit tests, tdf#69552
Change-Id: I73da1e00dd2b19088fbbe7e999611835f2ed4882
2015-06-18 22:05:56 +02:00
Miklos Vajna
bcace9acaf Add SwTiledRenderingTest::testGetTextSelection() testcase.
Fails without commit 193b907b2b
(SwXTextDocument::getTextSelection: fix missing editeng forward,
2015-06-18).

Change-Id: I5fdab128471c12901f930b6b4ab4e2304dd3fe64
Reviewed-on: https://gerrit.libreoffice.org/16359
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2015-06-18 16:34:16 +00:00
Eike Rathke
9d5061d302 simplify the unit test, tdf#83365 follow-up
We do not test ScAddress::Parse() here ...

Change-Id: I4e8b1278033e101727890f75bb2a5faf366989a3
2015-06-18 18:15:26 +02:00
Caolán McNamara
839b50f7e6 coverity#1307696 Unchecked return value
Change-Id: Id30efd398cc5ee3df0c31cae53028e1a1b6ea025
2015-06-18 17:13:22 +01:00
Caolán McNamara
a7e7d057a4 coverity#1307697 Dereference null return value
Change-Id: I48bf70689153b83bd1da7ff1553a4a3ec823d1b2
2015-06-18 16:37:23 +01:00
Caolán McNamara
babe536ec2 gtk3: unused param
Change-Id: I91fc320acf816d028186d25fd136f58c1c785d9d
2015-06-18 16:33:16 +01:00
Caolán McNamara
e915c1cc1e coverity#1307698 Uninitialized scalar field
Change-Id: I1229b4cdfcc741899b3ae8694e7db5d7e506ce0c
2015-06-18 16:31:01 +01:00
Caolán McNamara
698120857e gtk3: implement paste from us
Change-Id: Iea25d633a833965814a08d87954906e0133f7076
2015-06-18 16:29:36 +01:00
Caolán McNamara
ceb31879c4 gtk3: little code cleanup
Change-Id: I3e0f1fe0376ddcf9e79e6815a13f54007d47b03e
2015-06-18 16:29:36 +01:00
Andras Timar
ed4fe167a9 Make 'Show License' button work on OS X
Change-Id: I947033790476f982efd6a275831d2439b2859d8f
2015-06-18 16:26:02 +02:00
Andras Timar
df1fa04b0d Put LICENSE/NOTICE files to Resources on OSX in instdir case, too
Change-Id: I59444cf36d829f8f726c9301ee8393d5ca16196c
2015-06-18 16:26:01 +02:00
Philippe Jung
3090550b52 tdf#91953 Mixture of icon sizes
Now, whatever the size of toolbar icons, the toolbar
context menu always shows small icons.

Change-Id: Id17df15278d74ae75a3e82d54ecf7af310e0ceb4
Reviewed-on: https://gerrit.libreoffice.org/16361
Reviewed-by: Philippe Jung <phil.jung@free.fr>
Tested-by: Philippe Jung <phil.jung@free.fr>
2015-06-18 13:32:56 +00:00
Philippe Jung
79be3a5e38 Rename some toolbarmanager related variables
Renames some variable to ease the understanding of what does what

Change-Id: Idd84eb89b7c1fb56dd43d66edfbbeafedc319095
Reviewed-on: https://gerrit.libreoffice.org/16360
Reviewed-by: Philippe Jung <phil.jung@free.fr>
Tested-by: Philippe Jung <phil.jung@free.fr>
2015-06-18 13:32:13 +00:00
Maxim Monastirsky
820383be62 There are only 8 available strings
for RID_SVXSTR_SINGLENUM_DESCRIPTIONS, but since
71b3521226, we're
allowing here more than 8 items. So don't try to get
strings for those items, the same way we
restrict that in SvxNumValueSet::SetNumberingSettings.
(Although these string are (still) not used anywhere
AFAIK.)

Change-Id: Iaa538e4aebfc72729646f0befc7bcf8e58d6cbee
2015-06-18 16:18:12 +03:00
Caolán McNamara
c60c3704c6 drop unused sequenceasvector.hxx (see sequence.hxx)
Change-Id: Ib6d91f1ee427d5f94eed75e478f0809346f38e05
2015-06-18 13:58:39 +01:00
Caolán McNamara
a26d21acb3 gtk3: implement isDataFlavorSupported
Change-Id: Ia381d26a1c6a8f22aafef924215bc64b3c3473c6
2015-06-18 13:57:05 +01:00
Stephan Bergmann
83fc2cfb34 loplugin:checkconfigmacros
Change-Id: Ia94c53457e328db9bdd8dd22d7a39e49c358301c
2015-06-18 14:42:03 +02:00
Caolán McNamara
50cfcd91a0 gtk3: implement paste everything else into us
Change-Id: I39c3e5646a5a1ea07aa881cad584a0b7ae9bd005
2015-06-18 13:38:32 +01:00
Varun
69295a44dc Added test for del of table redlines rhbz#1198848
Change-Id: I76f236adee86ffb75496bc36f0d6b0ac7d646afd
Reviewed-on: https://gerrit.libreoffice.org/16347
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-18 12:18:00 +00:00
Miklos Vajna
193b907b2b SwXTextDocument::getTextSelection: fix missing editeng forward
When editing shape text, the text selection should be provided by
editeng.

Change-Id: I379f89fc28d2ff8172d0411bba347c959de6ab29
2015-06-18 14:03:39 +02:00
Andrea Gelmini
ae150c6a54 Fix typos
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8
Reviewed-on: https://gerrit.libreoffice.org/16314
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-18 11:44:56 +00:00
Andras Timar
a63b8b4afc dead code
Change-Id: I0f8de2b856be65e070f9d9b121515aa15ae3ea09
2015-06-18 13:40:10 +02:00
Lionel Elie Mamane
ecaf1cb386 seems to be what was meant
Change-Id: Ia7b784d820249c3d75915761dac34a2aaa190c0b
Reviewed-on: https://gerrit.libreoffice.org/16358
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-18 11:35:19 +00:00
Tomofumi Yagi
125f06dbf7 'g' doesn't work correctly when config_host.mk contains non-ascii characters.
In 'g' shell script, we use grep to get substring from config_host.mk file.
When config_host.mk file contains non-ascii characters(e.g. Japanese),
this processing doesn't work.
As a result, some variables(SUBMODULES_CONFIGURED, REFERENCED_GIT, LINKED_GIT) will be
assigned to "Binary file (standard input) matches".
This is an error message of grep.
The problem will reproduce on Cygwin64 with Japanese locale.

With '-a' option, grep will work well, and 'g' shell script will work correctly.

Please refer the following commit,too.
http://cgit.freedesktop.org/libreoffice/core/commit/?id=0293ec98c92fd58a592f7dd86fbbf47e7b9195c6

Change-Id: If4e0b356173c8f442e3539ed343f441d87dbfd48
Reviewed-on: https://gerrit.libreoffice.org/16344
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-18 11:19:23 +00:00
Caolán McNamara
fe9da15401 gtk3: implement most common case of text paste into us
Change-Id: I733dd57e27330bc200f718ffb5680bbb81d5d77d
2015-06-18 11:41:51 +01:00
László Németh
63a3d1a5e2 fix start center rendering (removing selection)
Change-Id: I3f09808e43d379f473360f3746302a5d65fb8b38
2015-06-18 12:12:00 +02:00
Caolán McNamara
b461e3189b gtk3 clipboard support
doesn't work yet, but reports correctly what external formats
are available

Change-Id: I11cf9440ca516d4358c341fa67cc836b30ca42d6
2015-06-18 10:47:50 +01:00
Philippe Jung
a18c551725 Better position for Toolbar name
The text is badly centered. Replaced GetTextHeight by GetTextBoundRect
and updated computation of text bounds.

Change-Id: I1e177a15787c6eddf2878a7d0254f71f3501ec34
Reviewed-on: https://gerrit.libreoffice.org/16354
Reviewed-by: Philippe Jung <phil.jung@free.fr>
Tested-by: Philippe Jung <phil.jung@free.fr>
2015-06-18 09:16:51 +00:00
Tor Lillqvist
dc3d621411 Assertions should tell the line number where the problem is
Let's not hide the assert() in a function whose sole purpose is to
call assert().

Change-Id: I7a8a04aad560b0f22398daabf12d00bbe58e89f1
2015-06-18 11:43:19 +03:00
Michael Meeks
0aa10c0b3d tdf#92088 - don't invalidate disposed toolbar items.
Change-Id: Ie90906f1ed8dc205850df3a48688f66b7a72a4f4
Reviewed-on: https://gerrit.libreoffice.org/16343
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-18 08:41:08 +00:00
Jan Holesovsky
cbe149d66d rendercontext: Fix rendering of double-buffered fixed line.
Change-Id: I809beb7187530cc30aca5dce8b2d4fb244554c55
2015-06-18 10:27:04 +02:00
Henry Castro
f2f9c1e09c unit test for INDIRECT reference handling, tdf#83365
Change-Id: Iddacb53071bb442845d702832f1728114ca018fa
2015-06-18 10:24:52 +02:00
David Tardon
2703f4d843 continue to support glew 1.10
Change-Id: I951c04e7d0039f1e38e3bcb2ea7e0f7c33293b9b
2015-06-18 10:16:02 +02:00
Katarina Behrens
f3b51162b6 Bugfix test for tdf#88295
Change-Id: Ic9c4330e9b14e43448302132b6c01a8d93001d2f
2015-06-18 10:07:31 +02:00
Jan Holesovsky
f03f2489ed rendercontext: Fix rendering of double-buffered menubar.
Change-Id: Iea74564ef0ae2188ae29f106c4416df1fe827b42
2015-06-18 10:01:06 +02:00
Stephan Bergmann
e5a8d8c065 Don't immediately release temporary VclPtr returned from Create
...the only reason this didn't cause any problems is that the VclPtr returned
from Create already had an mnRefCnt > 1, because of activity in the PushButton
ctor.

Change-Id: I1066ff0b507b8a1ebff079f7b914235a7396368d
2015-06-18 09:54:01 +02:00
Miklos Vajna
437210d58f gtktiledviewer: add copy button
Change-Id: I56ed5047da118eac01d7dea150597133215278e2
2015-06-18 09:18:18 +02:00
Eike Rathke
fb6dd2a730 Resolves: tdf#83365 push proper references in INDIRECT
... that take relative/absolute addressing and sheet 3D flag into
account to be fed to reference extension via range operator.

Change-Id: Iabe13ae384577e2d71ca87af6482ddccbf7ad0ac
2015-06-18 01:16:33 +02:00
Eike Rathke
e503addfbb properly inherit relative and 3D flags when extending, tdf#83365 related
Commit 194e9f9bae oversimplified things.

Change-Id: Iea6a84c4a7be49af036690afbb1512ae2c1045a2
2015-06-18 01:16:32 +02:00
László Németh
2b067f9293 fix start center rendering
Change-Id: Ib32b299806851fd2df1fbe8a824c1fe49a4efd99
2015-06-18 00:47:54 +02:00
Michael Stahl
ef82115aef sw: WW8 export: speed up attribute iteration
Change-Id: I9da47d7add4fadf34fd4e3c9aa6f1e65cf100b20
2015-06-18 00:36:29 +02:00
Michael Stahl
e5ae9bed63 sw: DOCX export: fix exporting of hyperlink inside ruby
The problem is that the hints are iterated in order of start position,
and if there is a hyperlink inside a ruby then its end position will be
reached after the end position of the ruby due to the sort order, which
leads to overlapping XML elements.

So for any given position, first export the end positions, then the
start positions.

Change-Id: I2db28d7a36e4e34fbd394b3a69fe4549ee905250
Example: fdo82849-1.docx
2015-06-18 00:36:29 +02:00
Michael Stahl
84ea33ef9a sw: DOCX export fix non-well-formed XML if hyperlink followed by ruby
If a hyperlink ends on the same position as a ruby starts, the hyperlink is
not closed before the ruby so its end tag is written inside the ruby
element.  Example: fdo82849-1.odt

Change-Id: I4531327ee23a99e366c2de5d9b08ddabb1be69c7
2015-06-18 00:36:29 +02:00