Commit Graph

392762 Commits

Author SHA1 Message Date
Xisco Fauli
3aaa90c36c tdf#89329: use unique_ptr for pImpl in toolbarmenu
Change-Id: I2adafe082bd83edc31777f11f66313a51fde7d81
Reviewed-on: https://gerrit.libreoffice.org/25478
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01 06:48:31 +00:00
Noel Grandin
fa135fd0e0 remove unused SID constants and associated code
found with a python script that looks like:

process = subprocess.Popen(
  "git ls-files *.hrc | xargs grep -hE '#define +SID_' | cut -d ' ' -f 2 | sort -u",
  shell=True, stdout=subprocess.PIPE)
for line in iter(process.stdout.readline, b''):
  line = line.strip()
  if line.startswith("//"): continue
  if line.startswith("sfx"): continue
  if len(line) < 10: continue
  i = subprocess.check_output("git grep -nP \"#define +" + line + " \"",
                              shell=True)
  if i.count("#define") < 2: continue
  print line + "
" + i

Change-Id: I40eac2569c2b5b129d9459cb723a9d6f26d09264
Reviewed-on: https://gerrit.libreoffice.org/25715
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01 06:48:13 +00:00
Noel Grandin
79aaa46413 Convert orientation to scoped enum
Change-Id: If66319f51d8fa070b5575cc6e8eb6890d03768ff
Reviewed-on: https://gerrit.libreoffice.org/25718
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01 06:47:32 +00:00
Noel Grandin
76cacf1a60 Convert printer enums to scoped enums
Change-Id: Ic0f9d57181809b3fef3abbad462456fc2d5ced55
Reviewed-on: https://gerrit.libreoffice.org/25719
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01 06:46:46 +00:00
Noel Grandin
b860b73f2b Convert VCL_MESSAGE to scoped enum
Change-Id: I976536849fa5585c96cee23b660c56d3d0116933
Reviewed-on: https://gerrit.libreoffice.org/25720
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01 06:46:29 +00:00
Szymon Kłos
bf3f3a6bfb notebookbar: working number format listbox
Change-Id: I1555934646148b9cd4164cbaaf09dcb9affe861e
Reviewed-on: https://gerrit.libreoffice.org/25579
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-01 06:06:55 +00:00
Christian Lohmaier
cbf36dd473 update credits
Change-Id: I0932fb77c37c9e48eb5ecb4b26ee44553b8368a5
2016-06-01 02:31:23 +02:00
Michael Stahl
1aff9299ab extensions: more README
Change-Id: I9cd902ce606c800e67cc142daf698962544b26bc
2016-06-01 00:11:11 +02:00
Michael Stahl
c11e60f11f tdf#99643 OLE automation bridge: fix 64-bit pointer conversions
XBridgeSupplier2::createBridge() is always called in-process and should
therefore expect and create Anys with native-sized encoded pointers,
so use sal_uIntPtr.

Change-Id: Ia757ff38568b07de8085a1a9d323d806bcca0f63
Note: Currently all calls in LO code are with source=UNO, target=OLE.
2016-06-01 00:11:10 +02:00
Caolán McNamara
299946676f try to fix arm build failure
Change-Id: Ib0ab738f09d7112d455743a58529463aa6a73941
2016-05-31 18:55:24 +01:00
Yousuf Philips
3e14a07a90 tdf#98290 New Mac shortcut for fullscreen for all apps
Change-Id: Iacb8cd21e2323dff575da130ea9ec4fd98096a88
Reviewed-on: https://gerrit.libreoffice.org/25221
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-05-31 16:54:30 +00:00
Caolán McNamara
9a0fd9c7f4 Resolves: tdf#93386 crash when closing a Database with macro editor open
Change-Id: Id3ecee744cb10f539f2b57e83a4b6e4c7744d3d5
2016-05-31 17:33:52 +01:00
Mark Hung
005ae2fa19 tdf#93883 don't add space to empty paragraph when bullet is turned off.
Change-Id: Ia1bad61cb5585dae0501e8cd657fc84bfea60ab2
Reviewed-on: https://gerrit.libreoffice.org/25679
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-31 16:32:43 +00:00
Takeshi Abe
09981cd638 Use std::vector for SmCaretPosGraph
instead of employing ad hoc linked list and its iterator.

Change-Id: Ibc4709a2e67aa805cf54117303c47d9a8a5eede9
Reviewed-on: https://gerrit.libreoffice.org/25699
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-31 16:15:30 +00:00
Stephan Bergmann
a61063ca2c Drop warning-related parts of external/boost/clang-cl.patch.0
...which are no longer necessary after e5c6574f5d
"boost: warning-patch-ectomy"

Change-Id: I4e79a4c7b9b20f9b49dc05e6a86831837aa4bbf0
2016-05-31 17:45:58 +02:00
Caolán McNamara
2de8345dc4 Resolves: tdf#100148 use the selected font for the edit area
I have some doubts if this is a good idea or not, but that's
the request so lets try it out for a while.

Change-Id: Ibe3f92476de1ced53daf6f41a363f70eff9f361e
2016-05-31 16:25:42 +01:00
Marco Cecchetti
b933f9b817 tdf#84411 - OpenCL: S/W interpreter throws std::out_of_range error
The problem is that in an array fragment, row start can be beyond data
row end.

Change-Id: I33658c87c21d1be237f4675241e3eabdd4ec7058
2016-05-31 17:01:12 +02:00
Marco Cecchetti
b75670009c tdf#100160 - Changing OpenCL state doesn't update sheet
now we re-check for vectorization state of formula token each time
OpenCL is enabled or disabled

Change-Id: I652397dd154f5fbf788cb511c70e53a47cc94293
2016-05-31 17:01:12 +02:00
Caolán McNamara
a1ebcf401d we can rely on mnemonic widgets for these a11y relations
Change-Id: I54b3ce6b66a04d19aac82ec1cd840d88db26a2ea
2016-05-31 15:47:57 +01:00
Eike Rathke
5868d927bc Resolves: tdf#63272 [fi-FI] percentage format with no-break space
Caveat, the space needs to be quoted, otherwise it is taken as the group
separator that when trailing a number divides the number by 1000.

Change-Id: Ic24b90d500a6c9351ef7463b2b1adf9d066442df
2016-05-31 16:44:25 +02:00
Muhammet Kara
f96041798b Remove self-labeling SetAccessibleRelationLabeledBy calls tdf#87026
And add some accessibility properties to the related .ui file

Change-Id: I42e2c3f9af6c00536c4ec8cbe0669a7202d4377e
Reviewed-on: https://gerrit.libreoffice.org/25723
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-31 14:39:44 +00:00
Tor Lillqvist
98f4556823 tdf#100159: Remove (harmless) duplicate call
Change-Id: I3a836f5d401aaf93154182e6ed195dbc82fc058e
2016-05-31 17:21:32 +03:00
Yousuf Philips
198cba6e9a tdf#91781 A round of minor tweaks to Writer's menus
Change-Id: I0c37f9e0349af0cd9dc41c500543da7532fb9198
Reviewed-on: https://gerrit.libreoffice.org/23976
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-05-31 13:42:08 +00:00
Tor Lillqvist
e971a7192c tdf#100159: Use shader preambles as needed, add missing shader combinations
Some shaders are in some cases (or always?) compiled with a preamble,
so add that then as applicable when compiling and caching them in
advance.

Add a few shader combinations that I hadn't noticed.

Change-Id: Ib66027e03a36cd4b161fe9f57ceaa338f9fb042d
2016-05-31 16:38:39 +03:00
Jan Holesovsky
3f98cf3283 tdf#100092: Deterministic scheduling to prevent unpredictable behavior.
Low priority idles can fire more or less randomly, and consequently two
consequent runs of LibreOffice differ in the amount of the idles that have
been performed during an operation.

This commit adds a possibility to turn on a 'deterministic mode' where two
subsequent runs of LibreOffice trigger about the same amount of events when
they perform the same set of operations.

Change-Id: I92566ef4eee20e7d604cfd48f01c4df30c77e653
2016-05-31 15:23:59 +02:00
Yousuf Philips
da27c5d589 tdf#92218 Implement Calc single toolbar mode toolbar
Change-Id: Ie261b71000c37f18efe0658bbf239c9639a5fcf3
Reviewed-on: https://gerrit.libreoffice.org/24088
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-05-31 13:16:24 +00:00
Adolfo Jayme Barrientos
ca662fa2a6 Updated core
Project: help  1e2ea6f97cc4a3e329250a1e5708e2f45447e289

No need to be redundant

Change-Id: Id5ebb8b186920eeedad311663057c383eb7bd61c
2016-05-31 12:31:19 +00:00
krishna keshav
9eb08b9534 tdf#94205 Use o3tl::make_unique instead of new + std::move
removed std::unique_ptr and std::move to make_unique in sw/source/uibase/dbui/dbmgr.cxx
removed 'pInsert' as fixed in 9d8184b34e

Change-Id: Ief5e66f9691f81d294f6393c25d98f5301876928
Reviewed-on: https://gerrit.libreoffice.org/25621
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-31 11:37:29 +00:00
Stephan Bergmann
f51656c5b2 Reuse BOOST_CPPFLAGS computed by configure.ac
Change-Id: I58cba84030f6a7872f912e0136dfb8d3970ac890
2016-05-31 13:32:15 +02:00
Caolán McNamara
446d33c39f gtk3: crash on reusing a popup menu that has a sub menu
Typically popup menus are created froms scratch each time, which is why
this wasn't a common problem.

To reproduce, under gtk3, set a template as default in the template manager,
reset it using dropdown, now set another template as default, and reopen the
menu.. it crashes

Change-Id: I6107fbd921ada71ef7d676031651deb4b1b2d2fb
2016-05-31 12:26:09 +01:00
Akshay Deep
b660074d50 Remove inline renaming of title in ThumbnailViewItem
Change-Id: I8fa2cae3390dd1576aab531bc826b8bb5985eaf9
Reviewed-on: https://gerrit.libreoffice.org/25645
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-31 10:37:10 +00:00
Tor Lillqvist
302dcca61a It is EXITHELPER_NORMAL_RESTART that we want
Change-Id: Ica1d68dcdd98aef061a2bed0b5389cef327e1ca5
2016-05-31 13:05:31 +03:00
Xisco Fauli
292e25e66d SVGIO: Modify a unittest to check "inherit" in font-family
Change-Id: I4a339b419a5abd1ad02f7aef2abd016a1c2260b8
Reviewed-on: https://gerrit.libreoffice.org/25695
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-05-31 09:44:41 +00:00
Caolán McNamara
ab0dc9524a Resolves: tdf#92695 protect both branches against missing ToolItem
Change-Id: Ide54fddf7b217e65a405bd80853d5302a419f046
2016-05-31 10:26:53 +01:00
Caolán McNamara
c380f0fc12 Related: tdf#92695 we already have ImplGetItem from mnHighItemId here
no logic change intended

Change-Id: Ia53a21db56c857e1274c60f846fc955fef9e3dfb
2016-05-31 10:26:53 +01:00
Caolán McNamara
ba4e50c856 Related: tdf#92695 gtk3 only activate/deactive submenus, not the toplevel
Change-Id: I5ce7ae39e7db62551733a005f3163ebfbb027af6
2016-05-31 10:26:53 +01:00
Stephan Bergmann
9d8184b34e Don't use pInsert after it has been moved
Regression introduced with 38ea2d0ecc "sw: replace
boost::ptr_vector with std::vector<std::unique_ptr>".

Change-Id: I15f556319693c4728812d5ffd5002d0eba58ae82
2016-05-31 11:24:17 +02:00
Noel Grandin
5c977a9ddf Convert ControlType to scoped enum
Change-Id: Iaa13c3e7030296a97bab144103745867d43b4b19
Reviewed-on: https://gerrit.libreoffice.org/25554
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-31 09:09:13 +00:00
Miklos Vajna
526ed1f7db tdf#77349 RTF import: automatically generate names for images if needed
The DOC/ODT import can call SwDoc::SetAllUniqueFlyNames() at the end of
the process to assign unique names to fly frames which lack a name.

Add a similar (but much simpler) feature to the domain mapper to avoid
empty image names in the DOCX/RTF import result, so it's easier to click
on the items in Writer's navigator.

Change-Id: I432fc741f8d75d735e1dfe88daba50ba0797042d
Reviewed-on: https://gerrit.libreoffice.org/25705
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-05-31 08:56:09 +00:00
Xisco Fauli
9bfae70fcb tdf#89329: use unique_ptr for pImpl in style
Change-Id: I206f1a7ee5a4020f712a969d26bde9268d9f2c53
Reviewed-on: https://gerrit.libreoffice.org/25636
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-31 07:45:06 +00:00
Xisco Fauli
53f9762889 SVGIO: Add support for font-family in unittests and unify...
.. textsimpleportion's assert

Change-Id: I97d4c76dcfaa6d3ebebfe3eebfabc8ee7799589d
Reviewed-on: https://gerrit.libreoffice.org/25691
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-05-31 07:41:56 +00:00
Xisco Fauli
5d613f9205 SVGIO: Add support for "inherit" in font-family
Change-Id: I180ab3b119af124d2d1113df055986168d39d30d
Reviewed-on: https://gerrit.libreoffice.org/25694
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-05-31 07:39:05 +00:00
Jakub Trzebiatowski
be0c898587 Sw UNO API SwXTextCellStyle; TableStyles createInstance, XNameAccess
Making createInstance("com.sun.star.style.TableStyle") possible
Making SwXTextTableStyle a XNameAccess container of SwXTextCellStyles

Implementing basic SwXTextCellStyle

CellStyleMap based on svx/source/table/tabledesign.cxx

Change-Id: I5afff1f514582a63a6eb9f9fb44667665749855a
Reviewed-on: https://gerrit.libreoffice.org/25558
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-05-31 07:22:25 +00:00
Stephan Bergmann
91a8c5c21b more typo
Change-Id: Id027d7c5dfb089ec8a2b4155b35bd2a9801d8f72
2016-05-31 09:13:26 +02:00
Stephan Bergmann
57bea57680 typo
Change-Id: Ibcfa5115c77e891d8cf021a2598229489f705dec
2016-05-31 09:09:31 +02:00
Noel Grandin
e48a13af9f fix KDE4 build
after 3d73258985 "loplugin:unusedmethods"

Change-Id: I32303948c5046b2880cd4e64cada32ea776a0861
2016-05-31 08:48:34 +02:00
Stephan Bergmann
6cf436799c More comphelper/extract.hxx clean up
Change-Id: I36c1ebea58bcd32b65a48d3447c106aeecdac230
2016-05-31 08:47:05 +02:00
Noel Grandin
59dbfecedb Convert RSC_TOOLBOXITEM to scoped enum
Change-Id: Ic90b6950016417d5f57963ab69fd20905a943bb7
Reviewed-on: https://gerrit.libreoffice.org/25683
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-31 06:39:52 +00:00
Noel Grandin
5ca16c7b31 Convert ToolBoxLayoutMode to scoped enum
Change-Id: I95b2432fc9f4df8d055227331a44151af4d773ab
Reviewed-on: https://gerrit.libreoffice.org/25672
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-31 06:39:32 +00:00
Noel Grandin
3d73258985 loplugin:unusedmethods
Change-Id: Ifeb818227a960cab8fd2e8e7352468efbfe1232c
Reviewed-on: https://gerrit.libreoffice.org/25668
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-31 06:28:41 +00:00