summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-10tdf#90249 fix lock timeout in neon for Windows platform.Giuseppe Castagno
According to RFC 4918 the value used for lock timeout is unsigned 32 bit, see: <http://tools.ietf.org/html/rfc4918#section-10.7> for info. This patch fix the way the timeout element of lock response payload is parsed in Windows. Change-Id: I335a1cb884c3ef1c2362b00981a2784d9232b23e Reviewed-on: https://gerrit.libreoffice.org/19867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10vcl: Assert that a non-negative nXPos is always foundTakeshi Abe
Change-Id: Ifb85cac1289af94102947b9064a8c12ca65ad43b Reviewed-on: https://gerrit.libreoffice.org/19404 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10loplugin:bodynotinblockStephan Bergmann
Change-Id: I10e532dcbe98384fde9c553ccd2e151abf53251f
2015-11-10starmath: Assert FindIndex()'s preconditionTakeshi Abe
by using std::assert rather thatn DBG_ASSERT. Change-Id: I8fca2b82f8d86a843c024556a0a29c7848b1e602 Reviewed-on: https://gerrit.libreoffice.org/19294 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10NVDA does not read . when stepping word by wordNiklas Johansson
SwAccessibleParagraph::GetWordBoundary is called when you navigate word by word normally done by pressing Ctrl+Right/Left arrow. This works well as long as the word is an actual word. Problem is that what we land on is not always an actual word the cursor will for example stop at . (periods) and at the moment that won't be exposed to accessibility tools such as NVDA screen reader. Orca on Linux seem to have some type of workaround but it dosen't really work. I'll try to find out if the workaround is actually in Orca or in the way LibreOffice exposes things to atk. Change-Id: Ibe5c5899d489b0449282998a3ba284f689ca9a36 Reviewed-on: https://gerrit.libreoffice.org/19424 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10tdf#87995 - settings : missing a checkbox in order to avoid thumbnail savingbureken
Change-Id: I9822c930bb7e133306a3e90fd80f29648877d5f9 Reviewed-on: https://gerrit.libreoffice.org/19596 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10Missing include (for NULL)Stephan Bergmann
Change-Id: I26e448de315b56f36cfeb74a66c0db6a9148d9b0
2015-11-10Add a check for non-LIBO_INTERNAL_ONLY, C++03-compatible LibreOfficeKit.hxxStephan Bergmann
Change-Id: I56336b8163de48e424526f5f426c2ad350292627
2015-11-10Missing includes (for NULL)Stephan Bergmann
Change-Id: Id2359f6ff4bddb2afbc0b346e17cd858f00179e3
2015-11-10tdf#93139 Orca Screen Reader does not read bullet part 2Niklas Johansson
Since we now expose the bullet character to accessible text we should not also expose the attributes, that will make NVDA read the bullet twice. We can also remove some special cases for the fact that the bullet earlier was not apart of the accessible text. Change-Id: I5a8b84f92c32da7ffabdd5136655d88a2d149e75 Reviewed-on: https://gerrit.libreoffice.org/19106 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10Updated coreYousuf Philips
Project: help 886917bcac6656b66f78c84c57cc308299992008 tdf#92825 Rearrange the view menu in writer, calc, and impress Change-Id: I707e1daa263acb5a09a6a90e745a619f9dd67388 Reviewed-on: https://gerrit.libreoffice.org/19721 Reviewed-by: Lera Goncharuk <lera.goncharuk@gmail.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10tdf#91979: ScViewData::GetScrPos(): remove coordinates limit of 32767Mike Kaganski
This removes the restriction for returned coodrinates from ScViewData::GetScrPos(). The reasoning is the following: 1. In the existing implementation, the limit enforcement is flawed. The routine is capable to return negative coordinates, but only positives are checked. Also, the routine code itself uses value greater than 32767 (specifically, 65535 in case of col/row exceed MAXCOL/MAXROW), that later gets truncated. 2. In case of tiled rendering, it's already possible to see the numbers greater than 32767. 3. Given that the code works for long time and produces big negatives, as well as big positives in case of tiled rendering, it's highly probable that existing code is prepared for large returned values. Another option could be additionally check for !bAllowNeg before emposing the limit Change-Id: Ie78cfe5907253e6648fed27dfac78b292922f5b4 Reviewed-on: https://gerrit.libreoffice.org/19816 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10loplugin:stringconstantStephan Bergmann
Change-Id: Ibb9114d34f2695aa85858e456518e36dbcbe0af1
2015-11-10tdf#43090: Add option to disable auto close bracketsMarcos Paulo de Souza
As many users asked, now there is a checkbox inside Tools->Math called "Auto close brackets, parentheses and braces". This option is enabled by default, but can be turned off now. Change-Id: I6f96201c0720fb62fc2dce99222f97194e930fbe Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/19750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10loplugin:oncevarStephan Bergmann
Change-Id: Iee9987aeafed126e4324d8d487289469577fafa2
2015-11-10tdf#39080 Hide Whitespace improvementsAshod Nakashian
Moved the page resizing from SwLayoutFrm::Format to SwPageFrm::MakeAll and calculated the new page height more accurately based on the content (stolen from the browser-mode height calculation, to be refactored). This fixes issues with repagination with certain contents. Removed unnecessary ToggleLayoutMode calls and prevented clicking between pages in single-view mode to jump the cursor. Change-Id: I5662dd26efff66d6e95b8fd4dcf8564588adbbb7 Reviewed-on: https://gerrit.libreoffice.org/19699 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10vcl: We see what you meant by DBG_ASSERT(true, ...)Takeshi Abe
This also makes SalColormap::GetColor() return an RGB color if m_hColormap is valid. Change-Id: I154dc43a2be54f7da473263f9f2a29db0cf2fd4b Reviewed-on: https://gerrit.libreoffice.org/19836 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10desktop: Make the --writer/--calc/--impress command line options work again.Jan Holesovsky
Change-Id: I977d1fbedb1b784cb95273184ec5e5a7fa156eef
2015-11-10SVG: tdf#95510: stop-color and stop-opacity can be defined inside style tooXisco Fauli
Exemple: <svg width="100%" height="100%" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg"> <defs> <linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%"> <stop offset="0%" style="stop-color:rgb(255,255,0);stop-opacity:1" /> <stop offset="100%" style="stop-color:rgb(255,0,0);stop-opacity:1" /> </linearGradient> </defs> <ellipse cx="200" cy="70" rx="85" ry="55" fill="url(#grad1)" /> </svg> Change-Id: I908e3d235b3e5ba0b7e4fe3666b6334e3c409d03 Reviewed-on: https://gerrit.libreoffice.org/19866 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10loplugin:stringconstantStephan Bergmann
Change-Id: I32b1263c00e2b2e4d3d43ca3e96e4492e09e9c17
2015-11-10tdf#75256 sifr updates: callout shapesMatthias Freund
Change-Id: Id584edf091aebd95bb71d7efd2df6fdaa511c837 Reviewed-on: https://gerrit.libreoffice.org/19875 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-11-10tdf#95650: Replace wrong assertion with conditionMike Kaganski
When UniscribeLayout::LayoutText(ImplLayoutArgs & rArgs) is run with BiDiRtl flag, and some skipped VisualItems was reversed in lines 908-927, it's possible that they will arrive in reverse order to the code adjusting mnSubStringMin, so this assertion may fire. This situation is not erroneous, so simply replacing the assert with "if". Change-Id: Icb244502dd00b4c08a2c5192369ee66d743b0dcc Reviewed-on: https://gerrit.libreoffice.org/19835 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-10Fix SAL_W32Stephan Bergmann
Change-Id: I60333e2b0f71c38aa13e6a6665c2a305e6dc08fa
2015-11-10Replaced for_each and algorithm include by range based loop and exception.Mario J. Rugiero
Since the only thing used from algorithm was std::for_each, and std::exception was being used without including it. Change-Id: Ida415bfbcae2b14811183a6afa46b6f6e1ac6ab2 Reviewed-on: https://gerrit.libreoffice.org/19864 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10Missing isInLokIncludeFile checkStephan Bergmann
Change-Id: I6577987f3f3717337e6607ffbe38397f229978f0
2015-11-10Keep LibreOfficeKit.hxx compatible with C++03Stephan Bergmann
Change-Id: Ic2f123c9b341dbb421b766c3bba1fc56c1bfb41d
2015-11-10#i126029# Base query wizard error due to missing quoting of table and column ↵Damjan Jovanovic
names During the Base query design wizard, com.sun.star.wizards.ui.FilterComponent.getFilterConditions() calls com.sun.star.wizards.db.SQLQueryComposer.getSelectClause() before its getFromClause(). However the getSelectClause() needs composedCommandNames which is populated only by getFromClause() in order to quote table and column names. Without this, table and column names that need quoting (spaces, special characters, reserved words) produce errors. (cherry picked from commit 046771cac8605e5826a150e4454eff332b65d517)
2015-11-10Resolves: #i61854# Basic: Default title of Msgboxes should be changedDamjan Jovanovic
Found by: berend dot cornelius at germany dot sun dot com Patch by: Pathangi Janardhanan Jatinshravan <JATINSHR001 at e dot ntu dot edu dot sg> Review by: Damjan Jovanovic (cherry picked from commit 519770a2b47d4bb95a7616cedcc1582ae83ab205) Change-Id: I61c9eacd285c8335925f1569b64bb2d600caf545
2015-11-10Use the UIConsts constants for resource IDs in...Damjan Jovanovic
main/wizards/com/sun/star/wizards/query/QuerySummary.java (cherry picked from commit 77ff55a4a1f25c1dc21d083cee43b4506bf91410) Change-Id: I538aa5761506d430bdbe70de03301f971f363e52
2015-11-10Use UIConsts constants for offsets to resource IDs in main/wizards.Damjan Jovanovic
(cherry picked from commit 95efcaf575dced8cc18f2ca9fb874d772ad23595) Change-Id: I8bb247c92f0326da916940f4fc7999d81998297a
2015-11-10Resolves: #i56289# no GROUP BY - COUNT from wizardDamjan Jovanovic
Implement the COUNT operator for GROUP BY in the Base Query Wizard, and delete some unused resource strings to make space for it. Found by: dtinazzi at easyasp dot it Patch by: me (cherry picked from commit 1f6546d6c0e6670d59e6beb05d15c80327634e6c) Change-Id: I6395566275cea6a33cdc64968b3b31aa17d61554
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I2093e93e07ff19a1a1d2c8b6f221dac2bf2a2613
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ie91fbfc9369fe9f2de1cf12c746598a80c2233c1
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I86546bcf9b476c73da2d6bff30ee1e56933f69c4
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I8690de2cb68dcfedc9f2239ce66cea06fd94bc16
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ibdc68ac3fa6e1424337096c720c8c9605b767480
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ie4d4ce386f2810244fb97bf909870a839256971d
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ide85499515bd73f70bca356909683b43cd62f1d1
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I6eb8949e3e14d82b52af9a2ba26d67bf1bd8e1a5
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ib928ecb14bbc119b58dbe7d07941c266329e57e3
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I4f9d6c93a0bdbba290277a41537ba2728d1ee4f5
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ib80c434598481ca0d05c800991fea9b30ef329f8
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ie7e4b028ee0cd6e0254dda8dfe3c70973865bc03
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I7c8f90ae3cb496def3bee9a8a84974dd63478af3
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ic89c5fb56e1f11fa17f6014a8c9722592b144337
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I5bd7c5251daeeb6e0e98ef23588b2e6d7e580b78
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I3003db8a411740db48c2e0c6ecd81a7fd9209e6c
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I72bf3e008a8941d6e0fdea81b6b3e4a959ff28c5
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ia5acfb564f913d52cd25b5d64d06b5280b94cb72