Commit Graph

399110 Commits

Author SHA1 Message Date
Jean-Pierre Ledure
9e93ae3ddc Access2Base - Simplify CopyObject
Avoid Field object buffering in CopyObject
as it is now done in the Recordset class

Change-Id: I35ee9e953e27554cb361adbb22baa619e4b73aaf
2016-11-02 16:56:11 +01:00
Tor Lillqvist
f9f1042773 Remove noise comment, add FIXME
Change-Id: I1ad8ff94744e3a4b0844a04eabb7f19a3b15bb1a
2016-11-02 17:53:52 +02:00
Jean-Pierre Ledure
f8b9763042 Access2Base - Buffer field objects in recordset
Field objects are buffered in a _Fields() array,
part of a Recordset instance,
to improve speed and memory consumption

Change-Id: Iac732ab5a1db24341aa30c3c934853a21c76e2e4
2016-11-02 16:25:17 +01:00
Eike Rathke
01875c4514 unit test for tdf#99291, empty array elements match 0.0, not empty
Change-Id: I65cac442583ecd90831ebea01d2be6c0b1e60b9a
2016-11-02 16:16:15 +01:00
Bjoern Michaelsen
15a8271eb8 disable gbuildtoide test on Windows as CI builders are unstable
Change-Id: Ib5eb4fece2bae3e04089f2389198df800620e6f8
Reviewed-on: https://gerrit.libreoffice.org/30483
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-02 15:04:07 +00:00
Caolán McNamara
6ca910adfe gtk3: grabs on floating window inside floating window
under gtk3 with the floating window of the listbox inside
the color floating window if the toplevel window is dismissed
the focus doesn't remain locked to its parent, but skips to
the grandparent

so grab and ungrab only once elements in the hierarchy

Change-Id: I14b1b8888671634c0c01c6416493f912e4abd2f9
2016-11-02 14:04:33 +00:00
Caolán McNamara
b99bff93a3 gtk3: allow float grab inside float grab
this is so that the floating window belonging to the listbox inside the
floating window color popup will track the mouse as it moves up and down over
the menu.

Change-Id: If108b5b3866fdbc04513c48c8d859bedd3867379
2016-11-02 14:04:18 +00:00
Caolán McNamara
38e7f38b82 gtk3: just close the toplevel float if it corresponds to the event frame
Change-Id: I489acc288fb1c9564f208e024dd5aa3ae9660a49
2016-11-02 14:03:40 +00:00
Caolán McNamara
6f9ce98bd0 support unfocused float window inside a focused float window
if a floating window is inside a floating window, go up the floating
windows until we find the first one that accepts focus, rather than
pass the input to the toplevel frame

Change-Id: I6c2a3de02ab436b8441b1fec15d51dec4f96c931
2016-11-02 14:03:12 +00:00
Miklos Vajna
b0d1a39e99 xmlsecurity PDF verify: add support for object streams
Adobe Acrobat uses object streams (PDF 1.6) when it signs a PDF exported
from LO (PDF 1.4), with this we can verify that signature.

If the PDF had at least one signature in LO, then the doc is not
upgraded from PDF 1.4, so that was working already.

Change-Id: I54b4447ca965a8ba1ffc69bde228ab6f0bda59ee
2016-11-02 15:01:02 +01:00
Caolán McNamara
2734a6ce77 getNonLayoutRealParent is unused
Change-Id: Ie003bc7ccc9985162ea52a1b0164118d9c2ce437
2016-11-02 13:58:03 +00:00
Caolán McNamara
fd40e3ea09 lock tab-cycling inside the WB_DIALOGCONTROL widget
activate the color selector in the toolbar in the sidebar panel, press tab
to cycle between its widgets, when it hits the bottom it will
not return to the first widget, but escape out of the floating
window into the next sibling of the toolbar

Change-Id: I806fd4d94c477e9cfb2ea238830f7b646ea274d2
2016-11-02 13:52:50 +00:00
Caolán McNamara
c7b0d2f107 drop SvxColorWindow::Resize
Change-Id: I22ed6ace464cdfd4ee0c12e8269d8141efce57a6
2016-11-02 13:50:52 +00:00
Caolán McNamara
eb153b8f1a move SvxColorWindow to include/svx
Change-Id: Ie2e11c8582cbb204178c0616580f942d1ce773fb
2016-11-02 13:50:03 +00:00
Caolán McNamara
4778444d20 rename SvxColorWindow_Impl to SvxColorWindow
Change-Id: I84941f4566792e11a9070f8623857a3fac44591d
2016-11-02 13:43:30 +00:00
Khaled Hosny
1260bf28fc Add a comment here
Change-Id: I07f2fe400f20d8f52588db326851f310245b7d8d
2016-11-02 15:12:59 +02:00
Noel Grandin
b1f8cf3782 loplugin:singlevalfields
Change-Id: I65f96d9cd24572c8d0946acf4d2d45eb3db83a76
Reviewed-on: https://gerrit.libreoffice.org/30476
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 13:06:37 +00:00
Gabor Kelemen
c3a3b876a3 Updated core
Project: help  be1c45a0094513b93bbe9747398be1cab6a0abe0

Fix the Styles button reference

It has been renamed. Also Styles and Formatting is no
longer a window but a sidebar deck.

Change-Id: I3a7648c709012d14b62e7e1fc50c1ba893dfa6a0
Reviewed-on: https://gerrit.libreoffice.org/30481
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-11-02 12:13:24 +00:00
Miklos Vajna
852bd9c2c8 sw: prefix members of WW8TabDesc
Change-Id: I8c6e52d40f497fb7cee3ef812e2974aa292a11a8
2016-11-02 11:08:53 +01:00
Stephan Bergmann
55a77ed968 remove spurious "oh"
Change-Id: Ia214ef9c683492226ab39c1fd1061ecc9cbc264c
2016-11-02 10:39:00 +01:00
Stephan Bergmann
d2615f96ac Improve some error reporting
Change-Id: Ibfdb0eeebec785438d46a0e8e6e9f4c847bfb807
2016-11-02 10:33:49 +01:00
Tor Lillqvist
1851e87627 It's ODF version, not document version
Change-Id: I3e6a54dd92ebafebabf9e75b44b9f0b5f0b6aa8a
2016-11-02 11:27:23 +02:00
Justin Luth
f013d4a1f4 tdf#41542 PaddingWithoutBorders: allow UI changes if...
If the compatibility option is set, allow the border dialog for frames
to be able to adjust the spacing values without enabling the border lines.
That means it is only true for .doc and .docx right now.

Change-Id: I4004a849f7369c993089d1c7b5d856cbea4f7780
Reviewed-on: https://gerrit.libreoffice.org/28602
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-02 09:25:01 +00:00
melikeyurtoglu
9937b8daa7 tdf#91222 VclBuilder constructor cleanup
Change-Id: I9a82ebc57c7e246841fda0262763fa9a7fbd5970
Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29919
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 09:23:27 +00:00
Tor Lillqvist
8e904d334c Add a comment wondering about "ODF Version", further explanations welcome
Change-Id: Idc660ba71ccff02c97a018838974430c0206ace6
2016-11-02 10:56:42 +02:00
Stephan Bergmann
8251b57dec const-ness mismatch
(Why does that only cause a compilation failure now?
DataFlavorMapper::openOfficeToSystemFlavor always returned a const NSString*.
Odd.)

Change-Id: I5baa577b78d024c5e959df7ec5bf477057b91c07
2016-11-02 09:25:57 +01:00
Noel Grandin
3fea7ac94b loplugin:unusedfields
Change-Id: I96634c18ba6600f8f7d5d04a162dcd7e1e312923
Reviewed-on: https://gerrit.libreoffice.org/30474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 07:54:20 +00:00
Noel Grandin
2db81e7336 loplugin:expandablemethods in avmedia
Change-Id: I215230d3b7e3649146083f00e7c10c03a4d3154e
Reviewed-on: https://gerrit.libreoffice.org/30470
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 07:13:16 +00:00
Noel Grandin
a7369d9899 loplugin:oncevar in helpcompiler..reportdesign
Change-Id: I2dc57931fb230953c285aeb18f57c0a41fedafcb
Reviewed-on: https://gerrit.libreoffice.org/30463
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 07:12:46 +00:00
Khaled Hosny
5d39c20133 tdf#71603: Create a new DC for the font fallback
For some reason re-using the DC from SalGraphics results in
GetFontData() returning GDI_ERROR and we fail to read the font’s “cmap”
table. The wired thing is that this happens only for fonts that were
not used before, so if you open a document directly the fallback works
but if you open start center or blank Writer document you get no
fallback. GDI is “interesting”.

Change-Id: Ic23095cabbd2623717271ce5d89bea75dca76a9a
2016-11-02 01:37:21 +02:00
Stanislav Horacek
3f04f3f08b Updated core
Project: help  68f7b9d1c6ffed02a241645868e49bf80aa45b53

tdf#70998 change term "Graphics" to "Images"

Change-Id: Ic2c2877a077bd5ba67a271dd7a89c4d1391e6fbb
Reviewed-on: https://gerrit.libreoffice.org/30450
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:48:46 +00:00
Khaled Hosny
03bff1b6b9 tdf#71603: Improve font fallback on Windows a bit
Check all missing characters, not just the first one. Also the calling
sites for GlyphFallbackFontSubstitution hook expect the OUString to be
updated to have only any characters not supported by the returned font.

Change-Id: Ife56d692c05433f2f7fe02db3ef1562181dc3d53
2016-11-01 23:46:32 +02:00
Khaled Hosny
d66ec48fe8 Use the font language instead of guessing it
Similar to what we do with FontConfig.

Change-Id: Id01dabe0b52e4e3aea54073d42b719a924025920
2016-11-01 23:46:32 +02:00
andreas_k
35bfb8fb0c remove red alert color from pdf icon
Change-Id: Iebeebc26a02dfa4c9d517664fb803d371b8ac1cc
Reviewed-on: https://gerrit.libreoffice.org/30387
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:39:13 +00:00
Khaled Hosny
8d192b66e3 Misplaced #if ENABLE_GRAPHITE
Change-Id: I2af3fdf100f6aaf435d8ed33d781ea0ca4ec21ec
2016-11-01 23:37:39 +02:00
andreas_k
1476c299b6 quit icons in breeze-dark were shown in black instead of red
Change-Id: I1ae0ee355e537339e33c5e41826527ccb8dd6277
Reviewed-on: https://gerrit.libreoffice.org/30384
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:36:25 +00:00
Noel Grandin
241dca2d8a add an assert to check for ref-counts > 16 bits
after
    commit 87c518593d
    sc: remove antique reference counting hacks from ScDocumentPool

In theory, nothing should be trying to save items like this
anymore, but lets make the error more obvious in case something is.

Change-Id: I89b3637168c072d20e214a8f6338f6336d44d891
Reviewed-on: https://gerrit.libreoffice.org/30467
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-11-01 21:36:08 +00:00
andreas_k
943e82d8a4 update icon to have the right icon color in breeze-dark
Change-Id: Iaf1888357c8b9ed6aeb987341fbc69117c6e0ecb
Reviewed-on: https://gerrit.libreoffice.org/30386
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:35:38 +00:00
andreas_k
5f0d987f02 update calc icon now the calc icon is green instead of black
Change-Id: I7a11448e84ace54936b378bc178bbd4a7603b516
Reviewed-on: https://gerrit.libreoffice.org/30385
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:33:13 +00:00
Stephan Bergmann
f861c29e4c Clean up javavendors_*.xml files
...and drop unnecessary javavendors_template.xml

Change-Id: Ib7f2d595d2086c1d3bf324f19693b9032cf00cd7
2016-11-01 22:28:37 +01:00
Stephan Bergmann
f537e561c7 quickfix: Automatic selection of Oracle Java runtime on macOS
same issue as 36f637f7f2 "tdf#103507 quickfix:
Automatic selection of Oracle Java runtime on Windows"

Change-Id: I3239bbf52263fb53bcd0ed54e8e983bda3b19182
2016-11-01 21:17:48 +01:00
Maxim Monastirsky
2c1d6e5989 tdf#103624 Avoid double init of controls in SidebarToolBox
Controls that created by the service manager are already
initialized by it. At least in the case of SaveToolbarController
such double init creates a problem, as SaveToolbarController
will add itself as a modify listener twice, but remove only
once in dispose method. Probably SaveToolbarController should
be smarter about this, for both not adding a listener twice,
and also not attempt to work after being disposed - but that
doesn't make the behavior of SidebarToolBox correct.

Change-Id: I3f0fcdff31c65198a2233c969d37a0015712fff5
2016-11-01 21:53:11 +02:00
Jochen Nitschke
8826771e83 style fixes for cppcheck noExplicitConstructor
Change-Id: I2a690caea7656f2a18beb6d09f53154178a30f34
Reviewed-on: https://gerrit.libreoffice.org/30460
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-11-01 18:44:20 +00:00
Marco A.G.Pinto
33bc51a605 Added 22 pt_PT autocorrect words
Change-Id: Ida1f8f836e1c5772771fb4ca3c90982b98326778
Reviewed-on: https://gerrit.libreoffice.org/30473
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-11-01 18:07:59 +00:00
Samuel Mehrbrodt
5cddf5d763 SafeModeDialog: Close dialog before restarting
Change-Id: I714040d0892cf154e002209dbdb4831b40ec08bc
Reviewed-on: https://gerrit.libreoffice.org/30472
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 16:45:00 +00:00
Stephan Bergmann
d82f34a7ec Forward debug/optimization flags to external/harfbuzz
Change-Id: Ie3bc54a43e46dc28faca9356f414a700a0727cec
Reviewed-on: https://gerrit.libreoffice.org/30456
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-11-01 16:04:44 +00:00
Szymon Kłos
889b8102e0 tdf#103481 fixed SIGABRT in embedded presentation
Change-Id: I51402aec953d58f92d8fe768bca0d2c2d1ce4474
Reviewed-on: https://gerrit.libreoffice.org/30368
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 15:54:17 +00:00
Tor Lillqvist
7ec0eed345 Fix inconsistent indentation
Change-Id: I4b87541c6e64e6b2b7c912f47a80a4aa37842014
2016-11-01 17:17:35 +02:00
Samuel Mehrbrodt
e13827070c SafeModeDialog: Group options
Change-Id: Ife0903c90f17efb2a1c6681ece8dd9af257873cd
Reviewed-on: https://gerrit.libreoffice.org/30453
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 14:59:20 +00:00
Samuel Mehrbrodt
69de2b4772 SafeModeDialog: Add link to user profile
Change-Id: I0096b3d7db51e28eb58c7209109c30b73b382478
Reviewed-on: https://gerrit.libreoffice.org/30448
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 14:58:25 +00:00