Commit graph

361072 commits

Author SHA1 Message Date
Miklos Vajna
b45de3ceab Use oox::drawingml::EMU_PER_HMM
Change-Id: I2034f862b5e15ffaa2ba370ae0249628677c587d
2014-09-27 20:06:00 +02:00
Samuel Mehrbrodt
1253b909a7 Term change: Sound/Movie -> Audio/Video
Change-Id: I389a3db5ca23718035413cbd0252f62eb8c870c3
2014-09-27 19:39:56 +02:00
Adolfo Jayme Barrientos
c22ee0bdd2 Add missing title to the Header and Footer dialog
Change-Id: I720bf1be02b9b4decf5373d49de136b0e57c61c9
Reviewed-on: https://gerrit.libreoffice.org/11657
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-27 17:10:21 +00:00
Adolfo Jayme Barrientos
63ec219eca HIG: Correct spacing for several UI options in Print dialog
Change-Id: I2492274d5114a26ce802343a3bb9078d0556588b
Reviewed-on: https://gerrit.libreoffice.org/11656
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-27 17:09:34 +00:00
Adolfo Jayme Barrientos
2c2b1840c5 fdo#84376 Add missing title to the Template Manager dialog
Change-Id: I514cc4354950119caa4c16d0ccb6b9d18290dee3
Reviewed-on: https://gerrit.libreoffice.org/11659
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-27 17:08:28 +00:00
Zolnai Tamás
c5a1cff00c Actually we use C++11 on master so don't need to check std::shared_ptr support
Change-Id: Ie5f0057ef391a6b5caee50c254e317689b810a2f
2014-09-27 17:05:35 +02:00
Samuel Mehrbrodt
18ec913e41 fdo#53682 Merge 'Insert Image' and 'Insert Audio/Video' in submenu
Change-Id: I4ddbd134ba15a48c0c529a11bcb1cd1f71f3a51a
2014-09-27 16:39:44 +02:00
Zolnai Tamás
93f9451340 fdo#84008: make configure fail if no std::shared_ptr available for collada
To avoid that missing std::shared_ptr support disables collada support
silently. I guess this caused the prolems with the linux packages.

In 4.3.1 packages it causes crash because there disabled
collada support was not handled very well (UI part of dae/kmz
support was not disabled, so user can insert a file, but the
converter libraries are missing)

In 4.3.2 packages collada support is also disabled, but in this case
the option to insert dae/kmz file is not available either.

Change-Id: Ic74e935ab639c348f1c55dc206d5fffa439d240d
2014-09-27 07:57:25 +02:00
Samuel Mehrbrodt
425711fadd fdo#83808 Scale images proportionally by default in Calc
Change-Id: I979d721d2e6617a1214b70138660d657eb1e46b1
2014-09-27 00:45:27 +02:00
Michael Stahl
ed4791eb2d svx: convert some horrible code to SolarMutexTryAndBuyGuard
Try to preserve the existing spin-lock insanity as-is.

Change-Id: Ic98aa33d2e56536856892fcf61de672952101ae1
2014-09-26 23:28:01 +02:00
Michael Stahl
423142538e add a RAII class that tries to acquire the SolarMutex and releases it
Motivated by ScCompiler::IsMacro() which has an error return that does
not release the SolarMutex.

Change-Id: I064219bb3c0d68839a133101491d5f8828a26c7a
2014-09-26 23:24:32 +02:00
Tomaž Vajngerl
93e7ffbd1b android: PanZoomControler updates from Fennec
Change-Id: Ic338221ced6133771af8f46ae4a257e043a1709f
2014-09-26 23:17:22 +02:00
Tomaž Vajngerl
dc169a05cf android: remove unused screenSize (Fennec import)
Change-Id: I0b8d1b29ab3219bc75de6c087e410523c18dbeef
2014-09-26 23:17:22 +02:00
Tomaž Vajngerl
c6ed6a2db8 android: change pageSize to pageRect (Fennec import)
Change-Id: Ia3958b174e7190171cbd006550e47677a1ba0966
2014-09-26 23:17:21 +02:00
Tomaž Vajngerl
40ca1cea9b android: remove tiles delayed by one redraw call
Change-Id: I5ab5e4a0ba9cdf3f3115c4913b4cf04e7f062755
2014-09-26 23:17:21 +02:00
Tomaž Vajngerl
fd08f4fc4b android: rerender tiles when the zoom changes
Initial implementation which needs a lots of polish. Sometimes
the app crashes (for yet unknown reasons). Sometimes a gap
between tiles is visible probably because of rounding errors.
Tile handling and releasing after zoom is quite naive for now
(just clearing all the tiles) which needs to be improved to be
more seamless.

Other changes: The responsibility of LOKitThread to handle tiles
was moved to MultiTileLayer. TileProvider now takes into account
the current zoom level when requesting tile rerendering.

Change-Id: Ic188c03bfadf3a3dd2f79b04f07668eb63b705fb
2014-09-26 23:17:21 +02:00
Tomaž Vajngerl
91d9276a12 android: clean MultiTileLayer of unneeded variables/methods
Change-Id: I7750322000230448d6283107daace3d9bb5da61d
2014-09-26 23:17:21 +02:00
Tomaž Vajngerl
3d39425794 android: Log number of invalidated tiles
Change-Id: I1ebfcf48f1d9a44836b4d9bf90c04c3be27cb365
2014-09-26 23:17:21 +02:00
Michael Stahl
cbee6e53e6 vcl: restore that cast for MSVC
Change-Id: I8a8b4b16811660290c881f82b3cf9b910d054215
2014-09-26 20:39:07 +02:00
Tor Lillqvist
0f64ec11a3 WaE: implicit conversion of NULL constant to 'nullptr_t'
Change-Id: I47ebbac21f48854eb737dd7e8119bd863a5d7ed9
2014-09-26 20:25:29 +03:00
Miklos Vajna
7f9b242331 DOCX drawingML import: fix remaining rotation / flip combinations
With this, each rotation = 0 / 90 / 180 / 270 and flip = none /
horizontal / vertical / horizontal+vertical combination (16 cases) are
imported perfectly.

Also adjust a few testcases -- now that in many cases we only set the
position in oox, some rounding errors went away.

Change-Id: I5567a7d6964775f2caf10a0e539f3eb84d10461e
2014-09-26 19:06:50 +02:00
Samuel Mehrbrodt
ef58e10844 fdo#83808 Scale images proportionally by default in Impress/Draw
Change-Id: I16cacb90150aef3aa2ad4607e05298f0bc47c1ae
2014-09-26 18:46:15 +02:00
Lionel Elie Mamane
173e017209 factorise odbc headers inclusion
it is complicated enough that we should implement that logic only once

Change-Id: I0cc5ffb871223b27df825f21612e3c8f6f2febb3
2014-09-26 18:25:56 +02:00
Stephan Bergmann
e3ee8c68d5 oox: std::auto_ptr -> std::unique_ptr
Change-Id: I35d3cc04eb9bbc8b4446bc501ba35e058c1aa34a
2014-09-26 17:19:17 +02:00
Michael Stahl
25a092869c connectivity: typo
Change-Id: Ic4c8637500c13d097f5b26222d7d4005f2251d1a
2014-09-26 16:58:04 +02:00
Michael Stahl
ea2d767d44 tools: change INetURLObject::getData to return std::unique_ptr
Life-cycle becomes a lot more obvious this way.

Change-Id: I1ca99607f609a2223011c40447ad1cd9ca5ccaa5
2014-09-26 16:38:34 +02:00
Lionel Elie Mamane
325ce86b56 fix build & better name for ERROR_INVALID_TABLE
Change-Id: Ic7253575859766f18869159e4a8dd6b3d715850d
2014-09-26 16:27:53 +02:00
László Németh
b37a88c308 Hunspell: fix buffer overflow during morphological analysis
affected: thesaurus usage in a Hungarian document

test case: press Ctrl+F7 on the word "művészegyéniség"

Change-Id: I024568e81265c4ce3e05f718bf9147229416ab73
2014-09-26 16:21:28 +02:00
Michael Meeks
bcded18043 fdo#84370 - xlsx threaded import - protect editeng.
Sadly we need to hold the solar mutex for rich text import, cue
massive lock contention on sheets packed with rich text cells;
hopefully not a common case.

Change-Id: I6a094a070b11c8b572fd8687be96110c4905e78d
2014-09-26 15:19:58 +01:00
Michael Stahl
f6c6474dde AddressSanitizer: alloc-dealloc-mismatch (operator new vs free)
Change-Id: I500e70e64c478210bc6da0c13894995a0984c018
2014-09-26 16:13:33 +02:00
Michael Stahl
24a9eac14f svx: fix up c10225762ce2c242d21126b5730b1d60f0150ed
Change-Id: Ib810a512f5a88af88901c53025cdf132f95b2ddc
2014-09-26 16:13:32 +02:00
Stephan Bergmann
f85303359d loplugin:inlinevisible
Change-Id: Id2530063cd0302b65dcc82965f1b81c31b759b63
2014-09-26 16:07:59 +02:00
Stephan Bergmann
1df1c5eed9 formula: std::auto_ptr -> std::unique_ptr
Change-Id: I7b4784abf5177e22a9df33c5d4faccfd39801b11
2014-09-26 15:47:03 +02:00
Lionel Elie Mamane
296371d5d8 untabify
Change-Id: I4e7eae9270f97db7b840cc57fb29835ac6f1231e
2014-09-26 15:39:18 +02:00
Lionel Elie Mamane
314c469c93 try "Use system ODBC on MS Windows unless specifically overriden" again
Now that Noel has a working pattch for system ODBC on MS Windows

Change-Id: I11abb53486e45d9c7058c42011df41b5fad0fcde
2014-09-26 15:37:28 +02:00
Noel Grandin
ac10225762 implement --with-system-odbc on windows
Change-Id: I1757b9ce74277b1c11533f41caeafaf9b88658ef
2014-09-26 15:37:27 +02:00
Noel Grandin
4e26b91568 remove unnecessary casts in misc calls to SvStream.Write*
left over from our conversion of the SvStream output operators
to more specific methods

Change-Id: Ib80032e8626f5476a89b958f590441994594f4e4
2014-09-26 15:27:18 +02:00
Noel Grandin
5cefde06ea remove unnecessary casts in calls to SvStream.WriteUInt32
left over from our conversion of the SvStream output operators
to more specific methods

Change-Id: I1d848f19f82783e6eabf2da37dbde78fe36ea1e0
2014-09-26 15:27:17 +02:00
Noel Grandin
04fd62096f remove unnecessary casts in calls to SvStream.WriteInt32
left over from our conversion of the SvStream output operators
to more specific methods

Change-Id: I0c0172519479be0535a447e41a592fbf782751bd
2014-09-26 15:27:17 +02:00
Noel Grandin
5501c8d222 remove unnecessary casts in calls to SvStream.WriteUInt16
left over from our conversion of the SvStream output operators
to more specific methods

Change-Id: I482ca7abb84613971e7e8f839f7aa67a65cd71ff
2014-09-26 15:26:48 +02:00
Noel Grandin
dedfa972bc remove unnecessary casts in calls to SvStream.WriteInt16
left over from our conversion of the SvStream output operators
to more specific methods

Change-Id: Ie44bec6b988f3e46fe78d14b740818c9141f5df0
2014-09-26 15:26:48 +02:00
Noel Grandin
8ea2bb252a remove unnecessary casts in calls to SvStream.WriteSChar
left over from our conversion of the SvStream output operators
to more specific methods

Change-Id: I4f17a2fd6a68f8078b97c96e89e27a5627c57c03
2014-09-26 15:26:20 +02:00
Noel Grandin
bec72dd34f remove unnecessary casts in calls to SvStream.WriteUChar
left over from our conversion of the SvStream output operators
to more specific methods

Change-Id: I2ea4c7d97e745b3e6a3834f41ac7bfefa4883c7a
2014-09-26 15:26:19 +02:00
Noel Grandin
c476a84abd remove pointless comments
Change-Id: I8edfe830b8f6ca7f1809332870e06d1d286b90e8
2014-09-26 15:25:40 +02:00
Noel Grandin
d46b16e1e4 remove unnecessary casts's
left over from our conversion of the SvStream output operators
to more specific methods

Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
2014-09-26 15:25:40 +02:00
Noel Grandin
8f684e21de remove unnecessary static_cast's
left over from our conversion of the SvStream output operators
to more specific methods
e Please enter the commit message for your changes. Lines starting

Change-Id: Ibfe7635451ef7b8813d7a59c78c5223092a17ad5
2014-09-26 15:25:40 +02:00
Noel Grandin
ebdc36c12d SvStream - rename WriteNumber methods
to Write?Int32AsString. Since the original name was so generic as
to be meaningless.

Change-Id: Iaaaf592904af51f2b9988fa8efb344c1b2bf9b0f
2014-09-26 15:25:39 +02:00
Lionel Elie Mamane
ded97cfe65 remove ::svxform::OStaticDataAccessTools from DbCellControl
Change-Id: Icd93a418fad8c9f05b49fcd412a1e2ba4b9c240b
2014-09-26 15:19:57 +02:00
Lionel Elie Mamane
d6d458671f rip out all remaining uses of svxform::OTypeConversionClient and remove it
It just wraps around dbtools, which is linked directly now.

Change-Id: If8d281962018a48a54858421e3490f5032658691
2014-09-26 15:18:48 +02:00
Caolán McNamara
827ae65e85 Resolves: fdo#83943 avoid infinite recursion
when attempting to make a cell visible when
the parent simply isn't large enough to show
any part of the cell

Change-Id: I987c9b3be30a66a5e1e27ad9e452f2ca65330d9e
2014-09-26 13:12:47 +01:00