[Libreoffice-bugs] [Bug 48378] FILEOPEN Table in DOC loses rows over page boundary (table does not commence on a new page)

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=48378

--- Comment #12 from Timur gti...@gmail.com ---
*** Bug 49445 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 93665] New: START CENTER: Entries without preview should have white background behind icon

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93665

Bug ID: 93665
   Summary: START CENTER: Entries without preview should have
white background behind icon
   Product: LibreOffice
   Version: 5.0.0.5 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-b...@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: libreoffice-ux-advise@lists.freedesktop.org
Blocks: 65138

Created attachment 118176
  -- https://bugs.documentfoundation.org/attachment.cgi?id=118176action=edit
screenshot

Steps:
1) Open
http://cgit.freedesktop.org/libreoffice/core/plain/chart2/qa/extras/data/pptx/stacked-bar-chart-hidden-series.pptx
2) Close it and tell it not to save changes

Not sure if this should be considered a regression as it was fine in 4.4 or an
enhancement because the start center color was changed in 5.0.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-bugs] [Bug 65138] [META] Sidebar feature related issues

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=65138

Yousuf (Jay) Philips philip...@hotmail.com changed:

   What|Removed |Added

 Depends on||93665

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93658] selectively delete recent documents at Start Center not possible

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93658

Maxim Monastirsky momonas...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||momonas...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #2 from Maxim Monastirsky momonas...@gmail.com ---
Hi,

$ sudo apt-get install libreoffice-style-galaxy

should solve your problem. (And please let us know if this won't solve.)

*** This bug has been marked as a duplicate of bug 93145 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93145] Icon themes are not self-contained in 5.0 any more (was: the icon on Sidebar and Bottom right corner cannot display on Ubuntu 14.04)

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93145

Maxim Monastirsky momonas...@gmail.com changed:

   What|Removed |Added

 CC||libreofficebugzilla.20.klin
   ||g...@spamgourmet.com

--- Comment #11 from Maxim Monastirsky momonas...@gmail.com ---
*** Bug 93658 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 62613] unwanted spacing in DOC, table imported on another page

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=62613

Timur gti...@gmail.com changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=48
   ||378

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 48378] FILEOPEN Table in DOC loses rows over page boundary (table does not commence on a new page)

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=48378

Timur gti...@gmail.com changed:

   What|Removed |Added

   Priority|high|medium
 CC||gti...@gmail.com
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=62
   ||613
   Severity|normal  |minor

--- Comment #13 from Timur gti...@gmail.com ---
Original behavior changed. All 35 rows are now displayed, but the table is cut
off below item 2 on pg 3 and continues at item 3 on pg 4.

As noted, it's easy to fix with Allow table to split accross pages and
columns via Text Flow tab in the Table Properties dialog.
The corresponding checkbox is checked for the third table; unchecking it fixes
the problem. Then it can be checked back again. 
Even deleting item 3 with undo merges the table.
Re-saving to DOC, closing, and re-opening (in newer LO) doesn't repeat the same
problem. 

So, I would close this as WFM and for example monitor more complex problem in
Bug 62613. Or open a new bug with a proper explanation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 82400] FILEOPEN: PPTX files open with multiple undos already added

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82400

Yousuf (Jay) Philips philip...@hotmail.com changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=82
   ||402

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 82402] START CENTER: Missing PPTX thumbnails

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82402

Yousuf (Jay) Philips philip...@hotmail.com changed:

   What|Removed |Added

 CC||momonas...@gmail.com
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=82
   ||400

--- Comment #10 from Yousuf (Jay) Philips philip...@hotmail.com ---
(In reply to Jan Holesovsky from comment #6)
 Turned out that the core of the issue here was something else; with some of
 the files, even with no change, LibreOffice asked for saving the file - and
 when you dismiss that, the thumbnail is not updated (which is correct
 behavior).

The issue of the undos is in bug 82400, but if dismissing changes doesnt update
the thumbnail, why wasnt a thumbnail added when i first opened the file, as
stuart states below.

(In reply to V Stuart Foote from comment #8)
 Although you do not save it, you have recently used it. So it gets added to
 the history of recent documents--and a thumbnail view is generated and
 displayed on the backing window of the Start Center in the thumbnail views
 panel. The same happens for any document, ODF, OOXML, MS, etc., that
 LibreOffice can fully open. That all works correctly.
 
...
 
 A new thumbnail view is generated when any document is opened, and is
 immediately added to the recent documents listing (per user in the
 registrymodifications.xcu configuration file)

@Maxim: Can you enlighten me on this, as it never sat well with me since kendy
closed it as invalid.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93614] Detect hanging OpenGL drivers disable GL ...

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93614

Michael Meeks michael.me...@collabora.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Michael Meeks michael.me...@collabora.com ---
Review of: https://gerrit.libreoffice.org/17995 appreciated for -5-0 =)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93565] Mail merge doesn't work with version 5.0 (save as individual documents)

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93565

Michael Weghorn m.wegh...@posteo.de changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de
   Hardware|x86 (IA32)  |All

--- Comment #6 from Michael Weghorn m.wegh...@posteo.de ---
(In reply to raal from comment #4)
 Reproducible with Verze: 5.0.0.5
 ID sestavení: 1b1a90865e348b492231e1c451437d7a15bb262b
 
 File - Print
 from 1 to 4 - file - save as individual documents - file name from database
 NOMINATIVO - file format: PDF
  - creates 42 files, but in every file is name = Name1
 
 When I print to printer or to one .odt file, then names are correctly
 changing.

It also works OK when printing to individual odt files. Printing to single
PDF files fails.

It is also reproducible on amd64 (Debian Jessie) - setting respective field.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93662] white-list only the latest GL hardware and drivers

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93662

Michael Meeks michael.me...@collabora.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Blocks||93529
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93659] Decrement/increment font sizes of bullet lists relative to sub-level font size

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93659

--- Comment #1 from Todd t...@pobox.com ---
Note: The same misbehavior is experienced when using the increment/decrement
font icon with the intention of incrementing or decrementing any block of
selected text.

Expected behavior:
* Select text of variety of font sizes
* Click inc/dec font size icon
* Selected text changes font size appropriately and proportional to the size of
each character.

Instead, all characters are normalized to one font size... and then incremented
or decremented.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 92794] Addressbook Integration: Unevaluated variable '$filename$' displayed in error dialog

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92794

royerjy roye...@wanadoo.fr changed:

   What|Removed |Added

Version|5.0.0.0.alpha0+ Master  |5.0.1.1 rc

--- Comment #4 from royerjy roye...@wanadoo.fr ---
The problem is the same with LibO 4.4.3.2 and 5.0.1 Rc1 on Linux Mint 17 on 64
bits machine. No change with a new profile. No change if Thunderbird is running
or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93658] selectively delete recent documents at Start Center not possible

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93658

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 CC||ba...@quipo.it

--- Comment #1 from tommy27 ba...@quipo.it ---
not reproducible under Win8.1 x64 using LibO 5.0.0.4 and recent 5.1.0.0 alpha
daily build

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93660] FILEOPEN: Writer cannot open DOCX with large table again

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93660

Timur gti...@gmail.com changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=56
   ||183,
   ||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=74
   ||916

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93661] New: EL6 English spellchecker does not work

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93661

Bug ID: 93661
   Summary: EL6 English spellchecker does not work
   Product: LibreOffice
   Version: 5.0.0.5 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: james.da...@seakr.com

First, thank you for a great product and for continuing to get a MS Office
replacement.  I am an enterprise user and we are very happy with Libreoffice
and the work they have done to keep up with MS Office compatibility.

So here is the issue that I am running into.  On a EL6 (Enterprise Linux 6)
with LibreOffice 5.0.0.5 installed the spellchecker does not work.  If I used
the version of LibreOffice in the standard repos which is version 4.2.8.2-11
spellchecker does work fine.  I have tried higher versions of LibreOffice 4 and
the spellchecker does not work on them either.

I also have an EL7 box and LibreOffice 5.0.0.5 installed and spellchecker works
just fine, it appears it uses a newer version of hunspell, version 1.3 verses
version 1.2 on EL6.  I build from source hunspell 1.3 on EL6 and it doesn't
complain during the compile/build but LibreOffice 5.0.0.5 does not see a valid
spellchecker installed.

I have been able to reproduce this on multiple EL6 boxes so I do not believe it
is a configuration issue, please look into it especially since EL6 is going to
be supported for many more years and in an enterprise environment it isn't as
easy to always just use the latest OS available.

Everything else about LibreOffice 5 works in EL6, just not the spellchecker
Thanks
James

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93662] New: white-list only the latest GL hardware and drivers

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93662

Bug ID: 93662
   Summary: white-list only the latest GL hardware and drivers
   Product: LibreOffice
   Version: 5.0.1.2 rc
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: graphics stack
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: michael.me...@collabora.com

We need to tweak the logic or XML blacklist to ensure that only the very latest
OpenGL hardware and drivers are used by default.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: ‘OUTPUT_DRAWMODE_CONTRAST’ defined but not used

2015-08-25 Thread Khaled Hosny
On Tue, Aug 25, 2015 at 05:54:32PM +0200, Stephan Bergmann wrote:
 On 08/25/2015 05:30 PM, Khaled Hosny wrote:
 In may build I see this warning a lot:
 In file included from cui/source/tabpages/textattr.cxx:37:0:
 include/svx/dlgutil.hxx:37:28: warning: ‘OUTPUT_DRAWMODE_CONTRAST’ defined 
 but not used [-Wunused-variable]
   static const DrawModeFlags OUTPUT_DRAWMODE_CONTRAST = 
  DrawModeFlags::SettingsLine | DrawModeFlags::SettingsFill | 
  DrawModeFlags::SettingsText | DrawModeFlags::SettingsGradient;
 
 I’m guessing it is caused by the static in the declaration since
 OUTPUT_DRAWMODE_CONTRAST seems to be used somewhere.
 
 Compilers are free to not emit storage for that per-copilation-unit const
 variable (what an oxymoron), and most compilers are apparently smart enough
 to not emit a -Wunused-variable in such a case (or else the build should
 break for many developers, assuming developers routinely configure
 --enable-werror).  Yours just isn't

I wouldn’t be able to finish any build if I turned this on, I get even
more warnings about deprecated std::auto_ptr which seems to be used in
boost’s get_pointer.hpp.

 ---some dated GCC?

That is GCC 5.2.0, so I guess a rather too new one.

Regards,
Khaled
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 93659] Decrement/increment font sizes of bullet lists relative to sub-level font size

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93659

Maxim Monastirsky momonas...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||momonas...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #2 from Maxim Monastirsky momonas...@gmail.com ---


*** This bug has been marked as a duplicate of bug 91001 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 83066] [METABUG] Tracking bug for CJK issues

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=83066
Bug 83066 depends on bug 77514, which changed state.

Bug 77514 Summary: FORMATTING: CJK ruby text (furigana) in vertical mode pushes 
characters to the left of the base line
https://bugs.documentfoundation.org/show_bug.cgi?id=77514

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49445] Table does not fit page after Word import

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=49445

Timur gti...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #11 from Timur gti...@gmail.com ---


*** This bug has been marked as a duplicate of bug 48378 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93663] New: Changing 'Numbering Type' to 'Numbering' in bullet and numbering dialog

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93663

Bug ID: 93663
   Summary: Changing 'Numbering Type' to 'Numbering' in bullet and
numbering dialog
   Product: LibreOffice
   Version: Inherited From OOo
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com

We dont use 'Bullet Type' and 'Outline Type' as labels for tabs in the dialog,
so why use 'Numbering Type'?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-qa] Bibisect tagging - suggestion for QA IRC meeting discussion

2015-08-25 Thread Joel Madero
Hi All,

After having conversations with Cloph and shm_get I came up with the
following list of bugs that should *have something related to bibisect*.
What this means is that one of these tags should exist:

_*Whiteboard*_
1) bibisectRequest;
2) bibisected;
3) notBibisectable (this means it falls in the appropriate range but for
some reason it was not bibisectable...usually a series of bad commits
that make the range useless);
4) preBibisect (in which case the version field should be updated to
reflect this - *applies to bugs depending on versions listed below*).

_*Keyword*_
bisected - this applies *only* when the _exact_ commit is determined -
this isn't done through the normal bibisect method, it requires extra
steps. After doing this IMHO we should still include bibisected in the
whiteboard status.


*_Versions Covered:_
*Linux - any bug after 3.5beta0 that is a regression (including master);
Windows - any bug 4.3 - master (inclusive);
Mac - 4.1 - 5.0 (inclusive - note there is a gap in the 4.3 seriesif
you come across one of these the correct tag is notBibisectable
because of the gap)

_*Useful Links
*_These links are bugs that I believe match the above criteria for each
platform - so in theory *each of these bugs should have some tag
pertaining to bibisect

**Linux: *http://tinyurl.com/linuxBibisect*
**Windows: *http://tinyurl.com/windowsBibisect
*Mac: *http://tinyurl.com/macBibisect

_*Regression Tagging
*_Moving forward it's really important that we continue to improve
tagging regressions (we have indeed gotten a lot better!). So I've found
a couple things to help:
1) Have 3.3 installed and at least check current fresh and 3.3 (if it's
in 3.3, we know not a regression, can update version)
2) Ask the user to test their own bug - link to the page with old
releases
(http://downloadarchive.documentfoundation.org/libreoffice/old/) - say
it helps a lot and it _could_ potentially help get the bug fixed faster;
3) Quickly explain what version field means (oldest version not latest
version)

There are several hundred bugs available - and this is an under-estimate
as they only include bugs that are tagged as regression - if I had to
guess we have _at minimum_ twice as many bugs that could use a bibisect.
Correct tagging is crucial moving forward :-D


Best,
Joel
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

[Libreoffice-bugs] [Bug 93529] OpenGL tracker bug ...

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93529

Michael Meeks michael.me...@collabora.com changed:

   What|Removed |Added

 Depends on||93662

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: [Libreoffice-qa] Interoperability Test File

2015-08-25 Thread Jay Philips

On 08/25/2015 01:49 PM, Pedro wrote:


These are exactly the kind of bugs that bring bad reputation to
LibreOffice...


Doubt this brings bad reputation to LO, as that is what i used to do 
when i first joined. :D


 Interoperability and Regressions...

Without identifying interoperability and regression problems, LO wont 
get better.


Jay
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

[Libreoffice-bugs] [Bug 93637] PDF export missing ToC page numbers

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93637

Joel Madero jmadero@gmail.com changed:

   What|Removed |Added

   Keywords|bisected|
 Whiteboard||bibisected

--- Comment #8 from Joel Madero jmadero@gmail.com ---
And this bug has been bibisected but not bisected - updating tags.

@Marina - bibisected is what happens when you get that output that you got.
Bisected is a step further and identifies the exact commit/committer that
caused the regression :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: ‘OUTPUT_DRAWMODE_CONTRAST’ defined but not used

2015-08-25 Thread Maxim Monastirsky

Hi Khaled,

On Tue, Aug 25, 2015 at 6:30 PM, Khaled Hosny khaledho...@eglug.org 
wrote:

In may build I see this warning a lot:
In file included from cui/source/tabpages/textattr.cxx:37:0:
include/svx/dlgutil.hxx:37:28: warning: 
‘OUTPUT_DRAWMODE_CONTRAST’ defined but not used 
[-Wunused-variable]
Please clarify: Do you get this with master or with 5-0? In case of 5-0 
I can confirm that I got the same thing the last time I tried to build 
it with --enable-werror (under Fedora 22, with the GCC ver. from the 
repos).


Maxim

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 93665] New: START CENTER: Entries without preview should have white background behind icon

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93665

Bug ID: 93665
   Summary: START CENTER: Entries without preview should have
white background behind icon
   Product: LibreOffice
   Version: 5.0.0.5 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: libreoffice-ux-adv...@lists.freedesktop.org
Blocks: 65138

Created attachment 118176
  -- https://bugs.documentfoundation.org/attachment.cgi?id=118176action=edit
screenshot

Steps:
1) Open
http://cgit.freedesktop.org/libreoffice/core/plain/chart2/qa/extras/data/pptx/stacked-bar-chart-hidden-series.pptx
2) Close it and tell it not to save changes

Not sure if this should be considered a regression as it was fine in 4.4 or an
enhancement because the start center color was changed in 5.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93664] New: filter a list with merged cells does not work

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93664

Bug ID: 93664
   Summary: filter a list with merged cells does not work
   Product: LibreOffice
   Version: 5.0.0.5 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: qfsuar...@yahoo.es

Created attachment 118175
  -- https://bugs.documentfoundation.org/attachment.cgi?id=118175action=edit
Misfiltering file

I have a file with a list in varios merged cells, and when a try to filter, it
ask for the name to use, and is ok, but when you display the filter list, only
show the Empty and the value of a cell out of the range with the merged cell.

It may be very more symple in the attached file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93529] OpenGL tracker bug ...

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93529
Bug 93529 depends on bug 93614, which changed state.

Bug 93614 Summary: Detect hanging OpenGL drivers  disable GL ...
https://bugs.documentfoundation.org/show_bug.cgi?id=93614

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93666] New: GL / area fill scaling issue.

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93666

Bug ID: 93666
   Summary: GL / area fill scaling issue.
   Product: LibreOffice
   Version: 5.0.1.2 rc
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: graphics stack
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: michael.me...@collabora.com

Load the attached and re-size the image - I get chaff inside the preview of
what the image should look like, and often guff after sizing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93666] GL / area fill scaling issue.

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93666

--- Comment #1 from Michael Meeks michael.me...@collabora.com ---
Created attachment 118177
  -- https://bugs.documentfoundation.org/attachment.cgi?id=118177action=edit
sample file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93666] GL / area fill scaling issue.

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93666

Michael Meeks michael.me...@collabora.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Blocks||93529
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93529] OpenGL tracker bug ...

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93529

Michael Meeks michael.me...@collabora.com changed:

   What|Removed |Added

 Depends on||93666

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93476] Macro library list doesn't get sorted after importing a macro library

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93476

raal r...@post.cz changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||r...@post.cz
  Component|Writer  |BASIC
 Ever confirmed|0   |1
 OS|Linux (All) |All
   Severity|normal  |minor

--- Comment #1 from raal r...@post.cz ---
Reproducible with Verze: 5.0.0.5
ID sestavení: 1b1a90865e348b492231e1c451437d7a15bb262b

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93656] New: [Regression] Unable to organize forms in subfolders

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93656

Bug ID: 93656
   Summary: [Regression] Unable to organize forms in subfolders
   Product: LibreOffice
   Version: 5.0.0.5 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ville...@t-online.de

https://forum.openoffice.org/en/forum/viewtopic.php?f=39t=78838

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93446] [l10n, Russian] Discrete distributions do not have probability density

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93446

--- Comment #6 from Mercury mercur...@ukr.net ---
You have more than one Russian localization? Weird. I don’t know your system.
Specifically, Russian localization I download from official site.
In English the things are seemingly OK, “individual probability” for binomial
distribution (discrete), and “probability density” for normal (continuous).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: What autogen.sh for an alternative ContentProvider for dav:// scheme?

2015-08-25 Thread Giuseppe Castagno

On 08/25/2015 03:24 PM, Stephan Bergmann wrote:

On 08/25/2015 02:51 PM, Giuseppe Castagno wrote:

On 08/25/2015 01:14 PM, Stephan Bergmann wrote:

On 08/25/2015 12:07 PM, Giuseppe Castagno wrote:


...


In order to use pure WebDAV and not the file system mapped one.

So in the the users will have a choice (in Linux, don't know in other
platforms):

- WebDAV file system mapped: dav:// davs://
- pure WebDAV: a choice among the others I suggested above.


I don't really understand what requires use of URL schemes different
from http/https in your users' scenarios.  But, depending on how tightly


Here it's how it's supposed to work [1].

Proved to be very difficult to open a http/https link from a browser and 
have it sent to LO and not the browser itself, at least using the scarce 
example I had.


Probably there is another way I don't know ATM.


you control your users' environments, another option might be to install
into their environments configuration settings (under
/org.openoffice.ucb.Configuration/ContentProviders/Local/SecondaryKeys/Office/ProviderData)
that do map the dav/davs URL schemes to the
com.sun.star.ucb.WebDAVContentProvider service (instead of implicitly
leaving them to be handled by a default-registered gnome-vfs or gio
service, if applicable, or to be left unhandled).  (Which would of
course undo for these users the fix for rhbz#1134285 mentioned above,
where applicable.)


that would be a good idea, especially in Windows where dav:// doesn't 
work at all in master (checked with a daily build), and http/https links 
inside a browser have difficulty same as above.


Finally, ATM on Linux (Ubuntu 14.04) the gio service complained the 
share was not WebDAV while it actually was, see the warnings on the 
first message of this thread, so I wasn't able to see it at work.


--
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
[1] https://www.youtube.com/watch?t=23v=dd9mT5WbCyk

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 93652] Error Message

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93652

Maxim Monastirsky momonas...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Maxim Monastirsky momonas...@gmail.com ---
Yes, that's a long-standing bug, and unfortunately it's still not clear what
triggers it. See Bug 47953 for a workaround.

*** This bug has been marked as a duplicate of bug 47953 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: vcl/generic

2015-08-25 Thread Dennis Francis
 vcl/generic/glyphs/glyphcache.cxx |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 20618ddc2793064c7c55d9c765a8113abb45b153
Author: Dennis Francis dennisfrancis...@gmail.com
Date:   Thu Aug 20 22:53:19 2015 +0530

fixes a memory leak that appeared in tdf#93392 valgrind trace

Change-Id: Ifd4c6594d50ff63235e75049bc7ab8bc79606fc8
Reviewed-on: https://gerrit.libreoffice.org/17880
Tested-by: Jenkins c...@libreoffice.org
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/vcl/generic/glyphs/glyphcache.cxx 
b/vcl/generic/glyphs/glyphcache.cxx
index c15e548..6f9e611 100644
--- a/vcl/generic/glyphs/glyphcache.cxx
+++ b/vcl/generic/glyphs/glyphcache.cxx
@@ -60,6 +60,8 @@ void GlyphCache::InvalidateAllGlyphs()
 for( FontList::iterator it = maFontList.begin(), end = maFontList.end(); 
it != end; ++it )
 {
 ServerFont* pServerFont = it-second;
+// free all pServerFont related data
+pServerFont-GarbageCollect( mnLruIndex+0x1000 );
 mrPeer.RemovingFont(*pServerFont);
 delete pServerFont;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93449] Hyperlink inside .DOC not working in .HTML

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93449

Vasily Melenchuk vasily.melenc...@cib.de changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=76
   ||291

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Bug 76291] FILESAVE: Chinese hyperlinks modified upon Saving

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76291

Vasily Melenchuk vasily.melenc...@cib.de changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=93
   ||449

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 93641] Writer embedded graph is missing lines and words

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93641

--- Comment #6 from Joel Madero jmadero@gmail.com ---
@Eike - figured as Calc expert you'd be in the best position to comment about
charts... :-b

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: Deletion of vcl::Window's inside ToolBar

2015-08-25 Thread Maxim Monastirsky

Hi,

On Tue, Aug 25, 2015 at 5:08 PM, Caolán McNamara caol...@redhat.com 
wrote:

i.e. what entity put the item into the toolbar is the same entity that
has to remove it and dispose it.

Just to add some specific code pointers:

The window items are added to the toolbar in 
ToolBarManager::CreateControllers, and removed in 
ToolBarManager::RemoveControllers. It also calls the dispose method of 
the (XToolbarController based) controller, which in turn calls 
disposeAndClear of that window. In case of the font name box, it's in 
SfxToolBoxControl::dispose.


Maxim

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


‘OUTPUT_DRAWMODE_CONTRAST’ defined but not used

2015-08-25 Thread Khaled Hosny
In may build I see this warning a lot:
In file included from cui/source/tabpages/textattr.cxx:37:0:
include/svx/dlgutil.hxx:37:28: warning: ‘OUTPUT_DRAWMODE_CONTRAST’ defined but 
not used [-Wunused-variable]
 static const DrawModeFlags OUTPUT_DRAWMODE_CONTRAST = 
DrawModeFlags::SettingsLine | DrawModeFlags::SettingsFill | 
DrawModeFlags::SettingsText | DrawModeFlags::SettingsGradient;

I’m guessing it is caused by the static in the declaration since
OUTPUT_DRAWMODE_CONTRAST seems to be used somewhere.

Hmm, we have two declarations of OUTPUT_DRAWMODE_CONTRAST, the other one
in sd/source/ui/inc/ViewShell.hxx and a macro in
svx/source/dialog/dlgctrl.cxx, so I’m a bit lost…

Regards,
Khaled
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 31357] docx import/export: image missing and strange shape

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=31357

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ba...@quipo.it
 Resolution|--- |WORKSFORME

--- Comment #14 from tommy27 ba...@quipo.it ---
retested under Win8.1 x64 using LibO 4.4.5.1 and attachment 43372

the bug seems fixed now. there's no image loss in the .DOCX export.
I can instead reproduce the bug with LibO 4.1.0.3

I set status to RESOLVED WORKSFORME

feel free to revert if you think I'm wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: Deletion of vcl::Window's inside ToolBar

2015-08-25 Thread Caolán McNamara
On Fri, 2015-08-21 at 23:51 +0530, Dennis Francis wrote:
 Hi all,
 
 I am trying to understand where the SvxFontNameBox_Impl objects are 
 deallocated. With help from 
 gdb and opengrok, I found that it is held in ImplToolItem::mpWindow. 
 But in ImplToolItem destructor it says clearly not to remove mpWindow 
 as a comment.

 
 ImplToolItem::~ImplToolItem() { 
 // don't dispose mpWindow - we get copied around.
 }

Digging into the other examples, I guess that SetItemWindow was called
on the toolbar with the SvxFontNameBox_Impl window as an argument ?

If that's the case then the pattern appears to be that what object
called SetItemWindow on the toolbar should call SetItemWindow(id, 0) to
remove the window from the toolbar and then call disposeAndClear on the
window.

i.e. what entity put the item into the toolbar is the same entity that
has to remove it and dispose it.

What's the reproducing scenario here, is it the fontname widget in the
standard toolbar, e.g. just start and exit writer to reproduce ?

C.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 47953] : Error messages when opening LibreOffice

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=47953

Maxim Monastirsky momonas...@gmail.com changed:

   What|Removed |Added

 CC||lapis.c.lupu...@gmail.com

--- Comment #7 from Maxim Monastirsky momonas...@gmail.com ---
*** Bug 93652 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] help.git: AllLangHelp_sbasic.mk AllLangHelp_shared.mk source/text

2015-08-25 Thread Olivier Hallot
 AllLangHelp_sbasic.mk|1 
 AllLangHelp_shared.mk|1 
 source/text/sbasic/shared/0103.xhp   |3 -
 source/text/sbasic/shared/code-stubs.xhp |   46 +
 source/text/shared/00/0406.xhp   |2 
 source/text/shared/need_help.xhp |   49 ++
 source/text/shared/optionen/BasicIDE.xhp |   70 +++
 source/text/shared/optionen/experimental.xhp |   36 +
 8 files changed, 174 insertions(+), 34 deletions(-)

New commits:
commit fff841e50d4e1b36453820b66f150d708ebfff2b
Author: Olivier Hallot olivier.hal...@edx.srv.br
Date:   Sun Jul 26 17:39:23 2015 -0300

TDF#80588 Help page for Basic IDE Options

Help page for Basic IDE Option in Tools - LibreOffice - Basic IDE Options

Before merging this patch it is necessary to verify correctness of the help 
page contents.

Change-Id: Ic80410910ed3eadb02c4fd49c02fc5f1dce053db
Reviewed-on: https://gerrit.libreoffice.org/17356
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk
index 183490b..d93e0b7 100644
--- a/AllLangHelp_sbasic.mk
+++ b/AllLangHelp_sbasic.mk
@@ -319,6 +319,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sbasic,\
 helpcontent2/source/text/sbasic/shared/03132400 \
 helpcontent2/source/text/sbasic/shared/03132500 \
 helpcontent2/source/text/sbasic/shared/05060700 \
+helpcontent2/source/text/sbasic/shared/code-stubs \
 helpcontent2/source/text/sbasic/shared/keys \
 helpcontent2/source/text/sbasic/shared/main0211 \
 helpcontent2/source/text/sbasic/shared/main0601 \
diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk
index b6ffe86..50cd9a6 100644
--- a/AllLangHelp_shared.mk
+++ b/AllLangHelp_shared.mk
@@ -899,6 +899,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
 helpcontent2/source/text/shared/optionen/01160200 \
 helpcontent2/source/text/shared/optionen/01160201 \
 helpcontent2/source/text/shared/optionen/BasicIDE \
+helpcontent2/source/text/shared/optionen/experimental \
 helpcontent2/source/text/shared/optionen/java \
 helpcontent2/source/text/shared/optionen/javaclasspath \
 helpcontent2/source/text/shared/optionen/javaparameters \
diff --git a/source/text/sbasic/shared/0103.xhp 
b/source/text/sbasic/shared/0103.xhp
index a231d8c..8ff95c2 100644
--- a/source/text/sbasic/shared/0103.xhp
+++ b/source/text/sbasic/shared/0103.xhp
@@ -18,7 +18,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  --
-   
+
 helpdocument version=1.0
 meta
 topic id=textsbasicshared0103xml indexer=include status=PUBLISH
@@ -42,5 +42,6 @@
 embed href=text/sbasic/shared/01030400.xhp#anlegenverwalten/
 embed href=text/sbasic/shared/01030200.xhp#basiceditor/
 embed href=text/sbasic/shared/01030300.xhp#basicfehler/
+embed href=text/sbasic/shared/BasicIDE.xhp#basicide/
 /body
 /helpdocument
diff --git a/source/text/sbasic/shared/code-stubs.xhp 
b/source/text/sbasic/shared/code-stubs.xhp
new file mode 100644
index 000..469c2d9
--- /dev/null
+++ b/source/text/sbasic/shared/code-stubs.xhp
@@ -0,0 +1,46 @@
+?xml version=1.0 encoding=UTF-8?
+helpdocument version=1.0
+!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ *   Licensed to the Apache Software Foundation (ASF) under one or more
+ *   contributor license agreements. See the NOTICE file distributed
+ *   with this work for additional information regarding copyright
+ *   ownership. The ASF licenses this file to you under the Apache
+ *   License, Version 2.0 (the License); you may not use this file
+ *   except in compliance with the License. You may obtain a copy of
+ *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+--
+
+meta
+  topic id=topic_2507201510192393
+title xml-lang=en-US id=titBasicCodeStubs/title
+filename/text/sbasic/shared/code-stubs.xhp/filename
+  /topic
+/meta
+body
+
+section id=BasicIDEOption01
+  bascode
+paragraph id=hd_id110 role=bascode xml-lang=en-US 
localize=falseDim aPicker As com.sun.star.ui.dialogs.XfilePicker/paragraph
+  /bascode
+/section
+section id=BasicIDEOption02
+  bascode
+paragraph id=hd_id120 role=bascode xml-lang=en-US 
localize=falseaPicker.getDisplayDirectory()/paragraph
+  /bascode
+/section
+section id=BasicIDEOption03
+  bascode
+paragraph id=hd_id130 role=bascode xml-lang=en-US 
localize=falseDim intVar as Integer/paragraph
+  /bascode
+/section
+/body
+

[Libreoffice-bugs] [Bug 93659] New: Decrement/increment font sizes of bullet lists relative to sub-level font size

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93659

Bug ID: 93659
   Summary: Decrement/increment font sizes of bullet lists
relative to sub-level font size
   Product: LibreOffice
   Version: 4.4.2.2 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: gerry.trep...@googlemail.com

There is currently no easy way to decrement/increment the font sizes of bullet
lists with sub-levels. 

The sub-levels in Impress have different font sizes for each of the sub-levels.
If you mark the entire bullet list and click the icon increment font size (or
decrement font size), the expected behavior is that all font sizes
increase/decrease relatively to the current font size of the specific
sub-level.

However, in Impress decreasing/increasing the font size first standardizes all
font sizes of the sub-levels and then increases/decreases the font size. The
result is that all levels have the same font size. Generally, this is not the
wished behavior.

Competitive comparison: Powerpoint increases/decreases the font size relatively
to the sub-level, so that the relative difference of the font sizes remains the
same.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93627] new version of DEC2BIN() and HEX2BIN() with support of more than 10 binary digits

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93627

Joel Madero jmadero@gmail.com changed:

   What|Removed |Added

 Status|REOPENED|NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93657] Formatting

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93657

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 CC||ba...@quipo.it

--- Comment #1 from tommy27 ba...@quipo.it ---
does it happen on every file or with some specific files only?
which LibO version are you using now?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93441] cursor jumps to start of edit

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93441

raal r...@post.cz changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #2 from raal r...@post.cz ---
Created attachment 118171
  -- https://bugs.documentfoundation.org/attachment.cgi?id=118171action=edit
test file

Reproducible with Verze: 5.0.0.5
ID sestavení: 1b1a90865e348b492231e1c451437d7a15bb262b

Steps to reproduce
open attachment
go to the end of the text with keyboard
write few random words
click twice key up

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93441] cursor jumps to start of edit

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93441

raal r...@post.cz changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93654] New: Cadastrale ZK version 4.3.6.2.0+

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93654

Bug ID: 93654
   Summary: Cadastrale ZK version 4.3.6.2.0+
   Product: LibreOffice
   Version: 4.3.6.2 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: christophe.pagn...@indre.gouv.fr

In Writer, if i Write: cadastrale ZK

Writer crash!

version 4.3.6.2.0+


I have testing on 10 PC

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93558] Preview of Bullets is hard to see with a dark theme

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93558

Maxim Monastirsky momonas...@gmail.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |momonas...@gmail.com
   |desktop.org |
Summary|Preview of Bullets  |Preview of Bullets is hard
   |(dropdown) is Incorrect and |to see with a dark theme
   |Missing Icons   |

--- Comment #11 from Maxim Monastirsky momonas...@gmail.com ---
(In reply to Yousuf (Jay) Philips from comment #10)
 If the background is always white
Right now it's inconsistent. The toolbar dropdowns as well as all the tabs in
the dialog except Outline, are always white. But the Outline tab takes the
background of the OS theme (so with a dark theme it has a black background with
white text).

On the one hand, it makes sense to use white background, because those items
are kind of a preview of a page, and the default page color is white. But on
the other hand, I looked in other dialogs (like Character, Paragraph, Columns),
and they all take the background of the OS theme. So I think, we should take a
decision here, and enforce it across all dropdowns/dialogs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93614] Detect hanging OpenGL drivers disable GL ...

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93614

--- Comment #7 from Markus Mohrhard (retired) markus.mohrh...@googlemail.com 
---
@Michael: All this will not help Regina as I think her issue is in the gltf
code.

I'm not sure if we can handle her case that easy. I'm actually not completely
sure if my blacklist covers the gltf code.

Currently I have no idea what might be going wrong in her case. The driver
information look like they support all the necessary features so we are
somewhere in the broken driver area.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Bug 92018] Implement caching for native widget rendering for Mac / OpenGL rendering

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92018

Michael Meeks michael.me...@collabora.com changed:

   What|Removed |Added

 Blocks|93529   |

--- Comment #5 from Michael Meeks michael.me...@collabora.com ---
Dropping tracker for now - this is mac specific.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sw/source

2015-08-25 Thread Stephan Bergmann
 sw/source/filter/ww8/ww8scan.cxx |  147 ---
 1 file changed, 123 insertions(+), 24 deletions(-)

New commits:
commit db39370e91c68910daf1f5959f6494b4891e7ba2
Author: Stephan Bergmann sberg...@redhat.com
Date:   Mon Aug 24 17:31:24 2015 +0200

Handle non-aligned FFNs

...as found by UBSan in CppunitTest_sw_filters_test (see below), and at the 
same
time limit reads within the pA array to its bounds.

 Testing file:///.../sw/qa/core/data/ww6/pass/crash-2.doc:
 sw/source/filter/ww8/ww8scan.cxx:6473:32: runtime error: upcast of 
misaligned address 0x620e70e7 for type 'WW8_FFN_Ver6', which requires 2 
byte alignment
 0x620e70e7: note: pointer points here
  00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 0e 00 00 6a 00  00 00 
00 0e 00 00 6a 00  00 00 6a
  ^
  WW8Fonts::WW8Fonts(SvStream, WW8Fib) 
sw/source/filter/ww8/ww8scan.cxx:6473:32
  SwWW8ImplReader::CoreLoad(WW8Glossary*, SwPosition const) 
sw/source/filter/ww8/ww8par.cxx:4961:20
  SwWW8ImplReader::LoadThroughDecryption(SwPaM, WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:5767:19
  SwWW8ImplReader::LoadDoc(SwPaM, WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:6039:19
  WW8Reader::Read(SwDoc, rtl::OUString const, SwPaM, rtl::OUString 
const) sw/source/filter/ww8/ww8par.cxx:6157:20
  SwReader::Read(Reader const) sw/source/filter/basflt/shellio.cxx:175:18
  SwDocShell::ConvertFrom(SfxMedium) sw/source/uibase/app/docsh.cxx:258:22
  SfxObjectShell::DoLoad(SfxMedium*) sfx2/source/doc/objstor.cxx:790:23
  SwFiltersTest::filter(rtl::OUString const, rtl::OUString const, 
rtl::OUString const, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) 
sw/qa/core/filters-test.cxx:112:20
  SwFiltersTest::load(rtl::OUString const, rtl::OUString const, 
rtl::OUString const, SfxFilterFlags, SotClipboardFormatId, unsigned int) 
sw/qa/core/filters-test.cxx:71:12
  test::FiltersTest::recursiveScan(test::filterStatus, rtl::OUString 
const, rtl::OUString const, rtl::OUString const, SfxFilterFlags, 
SotClipboardFormatId, unsigned int, bool) 
unotest/source/cpp/filters-test.cxx:129:20
  test::FiltersTest::testDir(rtl::OUString const, rtl::OUString const, 
rtl::OUString const, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) 
unotest/source/cpp/filters-test.cxx:154:5
  SwFiltersTest::testCVEs() sw/qa/core/filters-test.cxx:154:5

(cherry picked from commit 6373886870503a981b65f204f9113aebff540ab8)

Change-Id: I31ac8dc11d985745785c9dda1cec8a11a41098bb
Reviewed-on: https://gerrit.libreoffice.org/17985
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 1f7f526..47cdde9 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -20,10 +20,12 @@
 #include ww8scan.hxx
 #include ww8par.hxx
 
+#include cassert
+#include cstddef
+#include cstring
 #include functional
 #include algorithm
 
-#include string.h
 #include i18nlangtag/mslangid.hxx
 #include sprmids.hxx
 #include rtl/tencinfo.h
@@ -6357,10 +6359,15 @@ WW8_STD* WW8Style::Read1Style( short rSkip, OUString* 
pString, short* pcbStd )
 return pStd;
 }
 
-struct WW8_FFN_Ver6 : public WW8_FFN_BASE
+namespace {
+const sal_uInt16 maxStrSize = 65;
+}
+
+struct WW8_FFN_Ver6
 {
-// ab Ver6
-sal_Char szFfn[65]; // 0x6 bzw. 0x40 ab Ver8 zero terminated string that
+WW8_FFN_BASE base;
+// from Ver6
+sal_Char szFfn[maxStrSize]; // 0x6 bzw. 0x40 ab Ver8 zero terminated 
string that
 // records name of font.
 // Maximal size of szFfn is 65 characters.
 // Vorsicht: Dieses Array kann auch kleiner sein!!!
@@ -6439,6 +6446,50 @@ namespace
 }
 return nMax;
 }
+
+templatetypename T bool readU8(
+sal_uInt8 const * p, std::size_t offset, sal_uInt8 const * pEnd,
+T * value)
+{
+assert(p = pEnd);
+assert(value != nullptr);
+if (offset = static_caststd::size_t(pEnd - p)) {
+return false;
+}
+*value = p[offset];
+return true;
+}
+
+bool readS16(
+sal_uInt8 const * p, std::size_t offset, sal_uInt8 const * pEnd,
+short * value)
+{
+assert(p = pEnd);
+assert(value != nullptr);
+if (offset  static_caststd::size_t(pEnd - p)
+|| static_caststd::size_t(pEnd - p) - offset  2)
+{
+return false;
+}
+*value = unsigned(p[offset]) + (unsigned(p[offset + 1])  8);
+return true;
+}
+
+sal_Int32 getStringLength(
+sal_uInt8 const * p, std::size_t offset, sal_uInt8 const * pEnd)
+{
+assert(p = pEnd);
+assert(pEnd - p = SAL_MAX_INT32);
+if (offset = static_caststd::size_t(pEnd - p)) {
+ 

[Libreoffice-bugs] [Bug 93649] FILESAVE: table of content links does not jumps to the proper document part in a Writer document saved as HTML

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93649

Vasily Melenchuk vasily.melenc...@cib.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from Vasily Melenchuk vasily.melenc...@cib.de ---
Reason is the same as in #93449: internal hyperlinks for bookmarks are empty.
Fix created for that bug also eliminates this problem.

*** This bug has been marked as a duplicate of bug 93449 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - chart2/source

2015-08-25 Thread Eike Rathke
 chart2/source/controller/dialogs/DataBrowser.cxx |   34 ---
 chart2/source/controller/dialogs/DataBrowser.hxx |2 
 chart2/source/inc/DiagramHelper.hxx  |1 
 chart2/source/tools/DiagramHelper.cxx|   49 +++
 4 files changed, 70 insertions(+), 16 deletions(-)

New commits:
commit ece62a1610fdffb9177a311c60abdbacf454e90d
Author: Eike Rathke er...@redhat.com
Date:   Mon Aug 10 15:10:09 2015 +0200

tdf#92997 obtain a date/time edit format according to field value

Bloody workaround hack for the fact that Chart does not handle
category/x-axis times internally and is not able to pass its own axis
numberformat to its own databrowser editor.

(cherry picked from commit 711b34d590e659ed754f7c57b3b5eb12acfbbd78)

Conflicts:
chart2/source/controller/dialogs/DataBrowser.cxx

Change-Id: I016695ad0104366c0bb636b449a2014ade31aca3
Reviewed-on: https://gerrit.libreoffice.org/17630
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx 
b/chart2/source/controller/dialogs/DataBrowser.cxx
index c62285b..c462e4f 100644
--- a/chart2/source/controller/dialogs/DataBrowser.cxx
+++ b/chart2/source/controller/dialogs/DataBrowser.cxx
@@ -48,6 +48,7 @@
 
 #include com/sun/star/container/XIndexReplace.hpp
 #include com/sun/star/util/XNumberFormats.hpp
+#include com/sun/star/util/NumberFormat.hpp
 
 #include algorithm
 #include functional
@@ -667,12 +668,19 @@ OUString DataBrowser::GetCellText( long nRow, sal_uInt16 
nColumnId ) const
 aResult = aText;
 else if( aAny=fDouble )
 {
-sal_Int32 nLabelColor;
-bool bColorChanged = false;
-sal_Int32 nDateNumberFormat = 
DiagramHelper::getDateNumberFormat( Reference util::XNumberFormatsSupplier ( 
m_xChartDoc, uno::UNO_QUERY) );
 if( ! ::rtl::math::isNan( fDouble )  
m_spNumberFormatterWrapper.get() )
+{
+// If a numberformat was available here we could directly
+// obtain the corresponding edit format in
+// getDateTimeInputNumberFormat() instead of doing the
+// guess work.
+sal_Int32 nNumberFormat = 
DiagramHelper::getDateTimeInputNumberFormat(
+Reference util::XNumberFormatsSupplier ( 
m_xChartDoc, uno::UNO_QUERY), fDouble );
+sal_Int32 nLabelColor;
+bool bColorChanged = false;
 aResult = m_spNumberFormatterWrapper-getFormattedString(
-nDateNumberFormat, fDouble, nLabelColor, bColorChanged 
);
+nNumberFormat, fDouble, nLabelColor, bColorChanged );
+}
 }
 }
 else
@@ -1092,18 +1100,14 @@ sal_uInt32 DataBrowser::GetNumberFormatKey( sal_Int32 
nRow, sal_uInt16 nCol ) co
 return m_apDataBrowserModel-getNumberFormatKey( lcl_getColumnInData( nCol 
), lcl_getRowInData( nRow ));
 }
 
-bool DataBrowser::isDateString( const OUString aInputString, double 
fOutDateValue )
+bool DataBrowser::isDateTimeString( const OUString aInputString, double 
fOutDateTimeValue )
 {
 sal_uInt32 nNumberFormat=0;
 SvNumberFormatter* pSvNumberFormatter = m_spNumberFormatterWrapper.get() ? 
m_spNumberFormatterWrapper-getSvNumberFormatter() : 0;
-if( !aInputString.isEmpty()   pSvNumberFormatter  
pSvNumberFormatter-IsNumberFormat( aInputString, nNumberFormat, fOutDateValue 
) )
+if( !aInputString.isEmpty()   pSvNumberFormatter  
pSvNumberFormatter-IsNumberFormat( aInputString, nNumberFormat, 
fOutDateTimeValue ) )
 {
-Reference util::XNumberFormatsSupplier  xNumberFormatsSupplier( 
m_xChartDoc, uno::UNO_QUERY );
-Reference util::XNumberFormats  xNumberFormats;
-if( xNumberFormatsSupplier.is() )
- xNumberFormats = Reference util::XNumberFormats ( 
xNumberFormatsSupplier-getNumberFormats() );
-if( DiagramHelper::isDateNumberFormat( nNumberFormat, xNumberFormats ) 
)
-return true;
+short nType = pSvNumberFormatter-GetType( nNumberFormat);
+return (nType  util::NumberFormat::DATE) || (nType  
util::NumberFormat::TIME);
 }
 return false;
 }
@@ -1145,10 +1149,10 @@ bool DataBrowser::SaveModified()
 case DataBrowserModel::TEXTORDATE:
 {
 OUString aText( m_aTextEditField.GetText() );
-double fDateValue = 0.0;
+double fValue = 0.0;
 bChangeValid = false;
-if( isDateString( aText, fDateValue ) )
-bChangeValid = m_apDataBrowserModel-setCellAny( nCol, nRow, 
uno::makeAny( fDateValue ) );
+if( isDateTimeString( aText, fValue ) )
+bChangeValid = m_apDataBrowserModel-setCellAny( nCol, nRow, 

[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sc/inc sc/source

2015-08-25 Thread Eike Rathke
 sc/inc/dbdata.hxx  |5 +
 sc/source/core/tool/dbdata.cxx |   21 +
 sc/source/ui/docshell/dbdocfun.cxx |3 +++
 3 files changed, 29 insertions(+)

New commits:
commit 5aecce00ee5e9c60cdd8a5af47600a06eddf911d
Author: Eike Rathke er...@redhat.com
Date:   Thu Jul 16 17:52:29 2015 +0200

Resolves: tdf#88402 remember sort has headers at anonymous database ranges

Change-Id: I4a126f40589fd401f3a63f74be5e86e3df947ef6
(cherry picked from commit 33255f974fc712b9e9e2965a350c65a2195a7ae6)
Reviewed-on: https://gerrit.libreoffice.org/17140
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index bb2684a..9ee1d7b 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -112,6 +112,10 @@ public:
 voidGetSortParam(ScSortParam rSortParam) const;
 voidSetSortParam(const ScSortParam rSortParam);
 
+/** Remember some more settings of ScSortParam, only to be called at
+anonymous DB ranges as it at least overwrites bHasHeader. */
+voidUpdateFromSortParam( const ScSortParam rSortParam );
+
 SC_DLLPUBLIC void   GetQueryParam(ScQueryParam rQueryParam) const;
 SC_DLLPUBLIC void   SetQueryParam(const ScQueryParam rQueryParam);
 SC_DLLPUBLIC bool   GetAdvancedQuerySource(ScRange rSource) const;
@@ -206,6 +210,7 @@ public:
 ScDBData* getByRange(const ScRange rRange);
 void insert(ScDBData* p);
 bool empty() const;
+bool has( const ScDBData* p ) const;
 bool operator== (const AnonDBs r) const;
 };
 
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index e96e5b8..a92075b 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -336,6 +336,11 @@ void ScDBData::SetSortParam( const ScSortParam rSortParam 
)
 bByRow = rSortParam.bByRow;
 }
 
+void ScDBData::UpdateFromSortParam( const ScSortParam rSortParam )
+{
+bHasHeader = rSortParam.bHasHeader;
+}
+
 void ScDBData::GetQueryParam( ScQueryParam rQueryParam ) const
 {
 rQueryParam = *mpQueryParam;
@@ -645,6 +650,17 @@ public:
 }
 };
 
+class FindByPointer : public unary_functionScDBData, bool
+{
+const ScDBData* mpDBData;
+public:
+FindByPointer(const ScDBData* pDBData) : mpDBData(pDBData) {}
+bool operator() (const ScDBData r) const
+{
+return r == mpDBData;
+}
+};
+
 }
 
 ScDBCollection::NamedDBs::NamedDBs(ScDBCollection rParent, ScDocument rDoc) :
@@ -789,6 +805,11 @@ bool ScDBCollection::AnonDBs::empty() const
 return maDBs.empty();
 }
 
+bool ScDBCollection::AnonDBs::has( const ScDBData* p ) const
+{
+return find_if( maDBs.begin(), maDBs.end(), FindByPointer(p)) != 
maDBs.end();
+}
+
 bool ScDBCollection::AnonDBs::operator== (const AnonDBs r) const
 {
 return maDBs == r.maDBs;
diff --git a/sc/source/ui/docshell/dbdocfun.cxx 
b/sc/source/ui/docshell/dbdocfun.cxx
index b2ab010..490e691 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -568,6 +568,9 @@ bool ScDBDocFunc::Sort( SCTAB nTab, const ScSortParam 
rSortParam,
 }
 
 pDBData-SetSortParam(rSortParam);
+// Remember additional settings on anonymous database ranges.
+if (pDBData == rDoc.GetAnonymousDBData( nTab) || 
rDoc.GetDBCollection()-getAnonDBs().has( pDBData))
+pDBData-UpdateFromSortParam( rSortParam);
 
 if (nStartRow = aLocalParam.nRow2)
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sc/source

2015-08-25 Thread Tor Lillqvist
 sc/source/core/opencl/op_spreadsheet.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 32b35d9d8a21091b987d94fc2ad24d69e9d8a6f3
Author: Tor Lillqvist t...@collabora.com
Date:   Tue Aug 25 18:25:47 2015 +0300

Return correct value from the OpenCL VLOOKUP implementation

The commit c3383aafa18ef9d03b04b2a4719e71fdfabc14eb was missing an !
operator in two places where it checks whether a cell is a numeric or
string one, resulting in it always using the string value, which for
NULL (the case I was looking at, only numeric cells in the array)
meant zero was returned.

As such I am not sure if it is entirely correct to do the check
whether a cell is a numeric or string value in the order the generated
OpenCL code does here (and all over the place perhaps). The
documentation in formula/vectortoken.hxx says:

 * Single unit of vector reference consists of two physical arrays.
 *
 * If the whole data array consists of only numeric values, mpStringArray
 * will be NULL, and NaN values in the numeric array represent empty
 * cells.
 *
 * If the whole data array consists of only string values, mpNumericArray
 * will be NULL, and NULL values in the string array represent empty
 * cells.
 *
 * If the data array consists of numeric and string values, then both
 * mpNumericArray and mpStringArray will be non-NULL, and a string cell will
 * be represented by a non-NULL pointer value in the string array.  If the
 * string value is NULL, check the corresponding value in the numeric array.
 * If the value in the numeric array is NaN, it's an empty cell, otherwise
 * it's a numeric cell.

Note how that implies one should first check whether the value in the
string array is NULL or not, and only if it is NULL, look at the vale
in the numeric array. The code in the generated OpenCL VLOOKUP
implementation does it backwards. Scary. But probably equivalent for
the subset of cases we actually handle in OpenCL, which (I think) are
those where no string cells are involved.

More bug fixes for the OpenCL VLOOKUP will follow.

Change-Id: Id567c245a0700267584be6032320863a4a66df83

diff --git a/sc/source/core/opencl/op_spreadsheet.cxx 
b/sc/source/core/opencl/op_spreadsheet.cxx
index c005d2a..6ade850 100644
--- a/sc/source/core/opencl/op_spreadsheet.cxx
+++ b/sc/source/core/opencl/op_spreadsheet.cxx
@@ -174,7 +174,7 @@ void OpVLookup::GenSlidingWindowFunction(std::stringstream 
ss,
 else
 {
 ss  {\n;
-ss  tmp = isNan(;
+ss  tmp = !isNan(;
 vSubArguments[1+j]-GenNumDeclRef(ss);
 ss  [rowNum])?;
 vSubArguments[1+j]-GenNumDeclRef(ss);
@@ -259,7 +259,7 @@ void OpVLookup::GenSlidingWindowFunction(std::stringstream 
ss,
 }
 else
 {
-ss  tmp = isNan(;
+ss  tmp = !isNan(;
 vSubArguments[1+j]-GenNumDeclRef(ss);
 ss  [rowNum])?;
 vSubArguments[1+j]-GenNumDeclRef(ss);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 76349] FILEOPEN: DOCX : 'Page Break - Column Break' (in 1 column per page) not correctly imported

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76349

Xisco Faulí aniste...@gmail.com changed:

   What|Removed |Added

 CC||aniste...@gmail.com

--- Comment #5 from Xisco Faulí aniste...@gmail.com ---
Problem still present in

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: es-ES (es_ES)

on Windows 7 (64-bit)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 92274] Problem with the speed of generating pdf in headless mode

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92274

--- Comment #16 from Joel Madero jmadero@gmail.com ---
...everyone thinks their bugs are huge problems but we use an objective
standard that takes these personal biases out of the picture. Minor is
appropriate. If you're using this in a business setting (which I suspect you
might be doing if you have that number of documents) I suggest you get L3
support and then a certified developer can and will focus on the issue (i.e.,
you can dictate what is fixed and when)

https://www.documentfoundation.org/certification/developers/

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 79546] OSX - no video playback in slideshow fullscreen display mode on OSX

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=79546

--- Comment #46 from Vossman vossma...@yahoo.com ---
Forgot to say that I am using 5.0.1rc2 on Mac OS X 10.10.5

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 31488] pptx import: blue background, save/reopen as .odp changes to gray

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=31488

--- Comment #12 from tommy27 ba...@quipo.it ---
retested under Win8.1 x64 bug is still present in LibO 4.4.5 and recent 5.1.0
alpha daily build.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93655] New: Crash on sort

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93655

Bug ID: 93655
   Summary: Crash on sort
   Product: LibreOffice
   Version: 4.4.5.2 release
  Hardware: x86 (IA32)
OS: Mac OS X (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: geek...@vfemail.net

Created attachment 118172
  -- https://bugs.documentfoundation.org/attachment.cgi?id=118172action=edit
Crash log

I have a 1.9 MB spreadsheet that I use for my work. Recently, I upgraded from
LibreOffice 3.6.7 to 4.4.5 when version 4 moved to the Still branch, because I
need stability more than I need new features. Unfortunately, now LibreOffice
crashes every time I go to sort rows in the spreadsheet. 

I’m attaching the problem report that OS X generates when LibreOffice crashes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93657] New: Formatting

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93657

Bug ID: 93657
   Summary: Formatting
   Product: LibreOffice
   Version: unspecified
  Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: minor
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: arthersco...@gmail.com

I'm having the following annoying problem: I specify 'English (Canada)' as my
default language for spell checking (in all Applied Styles and in Preferences),
and yet, at least half the time, the program reverts to 'English (USA),'
forcing me to go back and 'Reset to default language' on a regular basis. Even
after such resetting, as soon as I return to typing, it's back to (USA) on the
new text.

I first noticed this bug early in Version 4, and it's been there ever since.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 92018] Implement caching for native widget rendering for Mac / OpenGL rendering

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92018

Michael Meeks michael.me...@collabora.com changed:

   What|Removed |Added

 Blocks|93529   |

--- Comment #5 from Michael Meeks michael.me...@collabora.com ---
Dropping tracker for now - this is mac specific.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93529] OpenGL tracker bug ...

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93529

Michael Meeks michael.me...@collabora.com changed:

   What|Removed |Added

 Depends on|92018   |

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93449] Hyperlink inside .DOC not working in .HTML

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93449

--- Comment #7 from Vasily Melenchuk vasily.melenc...@cib.de ---
*** Bug 93649 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93449] Hyperlink inside .DOC not working in .HTML

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93449

Vasily Melenchuk vasily.melenc...@cib.de changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |vasily.melenc...@cib.de
   |desktop.org |

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: helpcontent2

2015-08-25 Thread Olivier Hallot
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 567471e0b6b3d4fd5d4ed51445d091c0763fb845
Author: Olivier Hallot olivier.hal...@edx.srv.br
Date:   Sun Jul 26 17:39:23 2015 -0300

Updated core
Project: help  fff841e50d4e1b36453820b66f150d708ebfff2b

TDF#80588 Help page for Basic IDE Options

Help page for Basic IDE Option in Tools - LibreOffice - Basic IDE Options

Before merging this patch it is necessary to verify correctness of the help 
page contents.

Change-Id: Ic80410910ed3eadb02c4fd49c02fc5f1dce053db
Reviewed-on: https://gerrit.libreoffice.org/17356
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/helpcontent2 b/helpcontent2
index 67285d9..fff841e 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 67285d99b8c9373ba3fa992679353ee1a5bc4da9
+Subproject commit fff841e50d4e1b36453820b66f150d708ebfff2b
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93649] FILESAVE: table of content links does not jumps to the proper document part in a Writer document saved as HTML

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93649

tommy27 ba...@quipo.it changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=93
   ||449

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93449] Hyperlink inside .DOC not working in .HTML

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93449

tommy27 ba...@quipo.it changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=93
   ||649

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] libvisio.git: 2 commits - src/lib

2015-08-25 Thread David Tardon
 src/lib/VSDMetaData.cpp  |5 +
 src/lib/VSDParser.cpp|   12 
 src/lib/libvisio_utils.h |3 +++
 3 files changed, 16 insertions(+), 4 deletions(-)

New commits:
commit 4b03893826bcc5f859b0ac3bea6a98269499d99f
Author: David Tardon dtar...@redhat.com
Date:   Tue Aug 25 16:27:18 2015 +0200

sanitize page dimensions and scale

Change-Id: Ie170d9911b9f7349e4700efd5e2c089423f4218b

diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp
index 827ed48..3074784 100644
--- a/src/lib/VSDParser.cpp
+++ b/src/lib/VSDParser.cpp
@@ -1102,17 +1102,21 @@ void 
libvisio::VSDParser::readPageProps(librevenge::RVNGInputStream *input)
 {
   // Skip bytes representing unit to *display* (value is always inches)
   input-seek(1, librevenge::RVNG_SEEK_CUR);
-  double pageWidth = readDouble(input);
+  const double pageWidth = std::maxdouble(readDouble(input), 0);
   input-seek(1, librevenge::RVNG_SEEK_CUR);
-  double pageHeight = readDouble(input);
+  const double pageHeight = std::maxdouble(readDouble(input), 0);
   input-seek(1, librevenge::RVNG_SEEK_CUR);
   m_shadowOffsetX = readDouble(input);
   input-seek(1, librevenge::RVNG_SEEK_CUR);
   m_shadowOffsetY = readDouble(input);
   input-seek(1, librevenge::RVNG_SEEK_CUR);
-  double scale = readDouble(input);
+  const double numerator = readDouble(input);
   input-seek(1, librevenge::RVNG_SEEK_CUR);
-  scale /= readDouble(input);
+  double denominator = readDouble(input);
+  if (VSD_ALMOST_ZERO(denominator))
+denominator = 1;
+
+  const double scale = std::abs(numerator / denominator);
 
   if (m_isStencilStarted  m_currentStencil)
   {
diff --git a/src/lib/libvisio_utils.h b/src/lib/libvisio_utils.h
index 0ff3a16..c6c3a03 100644
--- a/src/lib/libvisio_utils.h
+++ b/src/lib/libvisio_utils.h
@@ -14,6 +14,9 @@
 
 #include VSDTypes.h
 
+#define VSD_EPSILON 1E-6
+#define VSD_ALMOST_ZERO(m) (fabs(m) = VSD_EPSILON)
+
 #ifdef _MSC_VER
 
 typedef unsigned char uint8_t;
commit 4700056698abce223b3da120d58019c4626b5e57
Author: David Tardon dtar...@redhat.com
Date:   Tue Aug 25 16:12:25 2015 +0200

afl: avoid out of bounds access to vector

Change-Id: I51fdad6cca395bb5aadc916ef452ee020f07

diff --git a/src/lib/VSDMetaData.cpp b/src/lib/VSDMetaData.cpp
index 00dca07..7241b00 100644
--- a/src/lib/VSDMetaData.cpp
+++ b/src/lib/VSDMetaData.cpp
@@ -8,6 +8,7 @@
  */
 
 #include VSDMetaData.h
+#include cassert
 #include cmath
 #include cstdio
 #include cstring
@@ -238,6 +239,9 @@ librevenge::RVNGString 
libvisio::VSDMetaData::readCodePageString(librevenge::RVN
 {
   uint32_t size = readU32(input);
 
+  if (size == 0)
+return librevenge::RVNGString();
+
   std::vectorunsigned char characters;
   for (uint32_t i = 0; i  size; ++i)
 characters.push_back(readU8(input));
@@ -267,6 +271,7 @@ librevenge::RVNGString 
libvisio::VSDMetaData::readCodePageString(librevenge::RVN
 
 if (U_SUCCESS(status)  conv)
 {
+  assert(!characters.empty());
   const char *src = (const char *)characters[0];
   const char *srcLimit = (const char *)src + characters.size();
   while (src  srcLimit)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - filter/source

2015-08-25 Thread Stephan Bergmann
 filter/source/graphicfilter/ipbm/ipbm.cxx |   24 
 1 file changed, 24 insertions(+)

New commits:
commit 0382dd6b26a77484cc2818ea1655da373fa92e5f
Author: Stephan Bergmann sberg...@redhat.com
Date:   Tue Aug 25 11:58:42 2015 +0200

Avoid overflow in PBMReader::ImplReadHeader

...as found by UBSan in CppunitTest_filter_ppm_test on
filter/qa/cppunit/data/pbm/fail/crash-1.pbm

Change-Id: Ib7c50ef1f07aba6b78f79c608be69c3dac38ddfe
(cherry picked from commit 662498ab80833a2b671c247fb859603632e52105)
Reviewed-on: https://gerrit.libreoffice.org/17989
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/filter/source/graphicfilter/ipbm/ipbm.cxx 
b/filter/source/graphicfilter/ipbm/ipbm.cxx
index 231b0e6..89ac09d 100644
--- a/filter/source/graphicfilter/ipbm/ipbm.cxx
+++ b/filter/source/graphicfilter/ipbm/ipbm.cxx
@@ -234,17 +234,41 @@ bool PBMReader::ImplReadHeader()
 nDat -= '0';
 if ( nCount == 0 )
 {
+if (mnWidth  SAL_MAX_INT32 / 10)
+{
+return false;
+}
 mnWidth *= 10;
+if (nDat  SAL_MAX_INT32 - mnWidth)
+{
+return false;
+}
 mnWidth += nDat;
 }
 else if ( nCount == 1 )
 {
+if (mnHeight  SAL_MAX_INT32 / 10)
+{
+return false;
+}
 mnHeight *= 10;
+if (nDat  SAL_MAX_INT32 - mnHeight)
+{
+return false;
+}
 mnHeight += nDat;
 }
 else if ( nCount == 2 )
 {
+if (mnMaxVal  std::numeric_limitssal_uLong::max() / 10)
+{
+return false;
+}
 mnMaxVal *= 10;
+if (nDat  std::numeric_limitssal_uLong::max() - mnMaxVal)
+{
+return false;
+}
 mnMaxVal += nDat;
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sw/source

2015-08-25 Thread Stephan Bergmann
 sw/source/filter/ww8/ww8scan.cxx |  147 ---
 1 file changed, 123 insertions(+), 24 deletions(-)

New commits:
commit e5a9e86a3f454cec9ff8ecc12ed93970ef555d0e
Author: Stephan Bergmann sberg...@redhat.com
Date:   Mon Aug 24 17:31:24 2015 +0200

Handle non-aligned FFNs

...as found by UBSan in CppunitTest_sw_filters_test (see below), and at the 
same
time limit reads within the pA array to its bounds.

 Testing file:///.../sw/qa/core/data/ww6/pass/crash-2.doc:
 sw/source/filter/ww8/ww8scan.cxx:6473:32: runtime error: upcast of 
misaligned address 0x620e70e7 for type 'WW8_FFN_Ver6', which requires 2 
byte alignment
 0x620e70e7: note: pointer points here
  00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 0e 00 00 6a 00  00 00 
00 0e 00 00 6a 00  00 00 6a
  ^
  WW8Fonts::WW8Fonts(SvStream, WW8Fib) 
sw/source/filter/ww8/ww8scan.cxx:6473:32
  SwWW8ImplReader::CoreLoad(WW8Glossary*, SwPosition const) 
sw/source/filter/ww8/ww8par.cxx:4961:20
  SwWW8ImplReader::LoadThroughDecryption(SwPaM, WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:5767:19
  SwWW8ImplReader::LoadDoc(SwPaM, WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:6039:19
  WW8Reader::Read(SwDoc, rtl::OUString const, SwPaM, rtl::OUString 
const) sw/source/filter/ww8/ww8par.cxx:6157:20
  SwReader::Read(Reader const) sw/source/filter/basflt/shellio.cxx:175:18
  SwDocShell::ConvertFrom(SfxMedium) sw/source/uibase/app/docsh.cxx:258:22
  SfxObjectShell::DoLoad(SfxMedium*) sfx2/source/doc/objstor.cxx:790:23
  SwFiltersTest::filter(rtl::OUString const, rtl::OUString const, 
rtl::OUString const, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) 
sw/qa/core/filters-test.cxx:112:20
  SwFiltersTest::load(rtl::OUString const, rtl::OUString const, 
rtl::OUString const, SfxFilterFlags, SotClipboardFormatId, unsigned int) 
sw/qa/core/filters-test.cxx:71:12
  test::FiltersTest::recursiveScan(test::filterStatus, rtl::OUString 
const, rtl::OUString const, rtl::OUString const, SfxFilterFlags, 
SotClipboardFormatId, unsigned int, bool) 
unotest/source/cpp/filters-test.cxx:129:20
  test::FiltersTest::testDir(rtl::OUString const, rtl::OUString const, 
rtl::OUString const, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) 
unotest/source/cpp/filters-test.cxx:154:5
  SwFiltersTest::testCVEs() sw/qa/core/filters-test.cxx:154:5

(cherry picked from commit 6373886870503a981b65f204f9113aebff540ab8)

Change-Id: I31ac8dc11d985745785c9dda1cec8a11a41098bb
Reviewed-on: https://gerrit.libreoffice.org/17990
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 7070a94..0cd7b68 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -20,10 +20,12 @@
 #include ww8scan.hxx
 #include ww8par.hxx
 
+#include cassert
+#include cstddef
+#include cstring
 #include functional
 #include algorithm
 
-#include string.h
 #include i18nlangtag/mslangid.hxx
 #include sprmids.hxx
 #include rtl/tencinfo.h
@@ -6329,10 +6331,15 @@ WW8_STD* WW8Style::Read1Style( short rSkip, OUString* 
pString, short* pcbStd )
 return pStd;
 }
 
-struct WW8_FFN_Ver6 : public WW8_FFN_BASE
+namespace {
+const sal_uInt16 maxStrSize = 65;
+}
+
+struct WW8_FFN_Ver6
 {
-// ab Ver6
-sal_Char szFfn[65]; // 0x6 bzw. 0x40 ab Ver8 zero terminated string that
+WW8_FFN_BASE base;
+// from Ver6
+sal_Char szFfn[maxStrSize]; // 0x6 bzw. 0x40 ab Ver8 zero terminated 
string that
 // records name of font.
 // Maximal size of szFfn is 65 characters.
 // Vorsicht: Dieses Array kann auch kleiner sein!!!
@@ -6411,6 +6418,50 @@ namespace
 }
 return nMax;
 }
+
+templatetypename T bool readU8(
+sal_uInt8 const * p, std::size_t offset, sal_uInt8 const * pEnd,
+T * value)
+{
+assert(p = pEnd);
+assert(value != nullptr);
+if (offset = static_caststd::size_t(pEnd - p)) {
+return false;
+}
+*value = p[offset];
+return true;
+}
+
+bool readS16(
+sal_uInt8 const * p, std::size_t offset, sal_uInt8 const * pEnd,
+short * value)
+{
+assert(p = pEnd);
+assert(value != nullptr);
+if (offset  static_caststd::size_t(pEnd - p)
+|| static_caststd::size_t(pEnd - p) - offset  2)
+{
+return false;
+}
+*value = unsigned(p[offset]) + (unsigned(p[offset + 1])  8);
+return true;
+}
+
+sal_Int32 getStringLength(
+sal_uInt8 const * p, std::size_t offset, sal_uInt8 const * pEnd)
+{
+assert(p = pEnd);
+assert(pEnd - p = SAL_MAX_INT32);
+if (offset = static_caststd::size_t(pEnd - p)) {
+ 

[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - filter/source

2015-08-25 Thread Stephan Bergmann
 filter/source/graphicfilter/ipbm/ipbm.cxx |   24 
 1 file changed, 24 insertions(+)

New commits:
commit 4c8bba9a8e7488b268fc4f6c9e06195b42565375
Author: Stephan Bergmann sberg...@redhat.com
Date:   Tue Aug 25 11:58:42 2015 +0200

Avoid overflow in PBMReader::ImplReadHeader

...as found by UBSan in CppunitTest_filter_ppm_test on
filter/qa/cppunit/data/pbm/fail/crash-1.pbm

Change-Id: Ib7c50ef1f07aba6b78f79c608be69c3dac38ddfe
(cherry picked from commit 662498ab80833a2b671c247fb859603632e52105)
Reviewed-on: https://gerrit.libreoffice.org/17984
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/filter/source/graphicfilter/ipbm/ipbm.cxx 
b/filter/source/graphicfilter/ipbm/ipbm.cxx
index 18b3249..d7cf941 100644
--- a/filter/source/graphicfilter/ipbm/ipbm.cxx
+++ b/filter/source/graphicfilter/ipbm/ipbm.cxx
@@ -218,17 +218,41 @@ bool PBMReader::ImplReadHeader()
 nDat -= '0';
 if ( nCount == 0 )
 {
+if (mnWidth  SAL_MAX_INT32 / 10)
+{
+return false;
+}
 mnWidth *= 10;
+if (nDat  SAL_MAX_INT32 - mnWidth)
+{
+return false;
+}
 mnWidth += nDat;
 }
 else if ( nCount == 1 )
 {
+if (mnHeight  SAL_MAX_INT32 / 10)
+{
+return false;
+}
 mnHeight *= 10;
+if (nDat  SAL_MAX_INT32 - mnHeight)
+{
+return false;
+}
 mnHeight += nDat;
 }
 else if ( nCount == 2 )
 {
+if (mnMaxVal  std::numeric_limitssal_uLong::max() / 10)
+{
+return false;
+}
 mnMaxVal *= 10;
+if (nDat  std::numeric_limitssal_uLong::max() - mnMaxVal)
+{
+return false;
+}
 mnMaxVal += nDat;
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93658] New: selectively delete recent documents at Start Center not possible

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93658

Bug ID: 93658
   Summary: selectively delete recent documents at Start Center
not possible
   Product: LibreOffice
   Version: 5.0.0.5 release
  Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: libreofficebugzilla.20.klin...@spamgourmet.com

Created attachment 118173
  -- https://bugs.documentfoundation.org/attachment.cgi?id=118173action=edit
LibreOffice5-Start-Center.png

Ubuntu 12.04. LTS 64 Bit
LibreOffice 5.0.0.5

It isn't possible to delete selectively recent document at the Start Center.
The small cross at the top right corner known from version 4.3 is not
available.

See attachment LibreOffice5-Start-Center.png.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93657] LibO reverts to 'English (USA) from 'English (Canada)' as default language

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93657

tommy27 ba...@quipo.it changed:

   What|Removed |Added

  Component|Writer  |Linguistic
Summary|Formatting  |LibO reverts to 'English
   ||(USA) from 'English
   ||(Canada)' as default
   ||language

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93648] flipped .JPEG not shown in Writer

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93648

--- Comment #2 from tommy27 ba...@quipo.it ---
@VSF
my daily build is older than yours so it could be a transient bug not present
anymore in current builds... I'm on a low-speed connection right now so I
cannot download a newer alpha.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sc/source

2015-08-25 Thread Eike Rathke
 sc/source/core/tool/parclass.cxx |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit be28207b668d9f8752ea82ef669aa45876b9ed69
Author: Eike Rathke er...@redhat.com
Date:   Tue Jul 21 16:09:34 2015 +0200

MATCH, HLOOKUP and VLOOKUP have a ReferenceOrForceArray parameter

tdf#91278 related

Change-Id: Iab4728b07649bcbb1beb372e68369f3762b13a5c
(cherry picked from commit 01eea7fe40c939311bf1920b6e8b4391a93c2e82)
Reviewed-on: https://gerrit.libreoffice.org/17265
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index a397e79..8fff963 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -114,7 +114,7 @@ const ScParameterClassification::RawData 
ScParameterClassification::pRawData[] =
 { ocGreaterEqual,{{ Array, Array   
  }, 0 }},
 { ocGrowth,  {{ Reference, Reference, Reference, Value 
  }, 0 }},
 { ocHarMean, {{ Reference  
  }, 1 }},
-{ ocHLookup, {{ Value, Reference, Value, Value 
  }, 0 }},
+{ ocHLookup, {{ Value, ReferenceOrForceArray, Value, Value 
  }, 0 }},
 { ocIRR, {{ Reference, Value   
  }, 0 }},
 { ocIndex,   {{ Reference, Value, Value, Value 
  }, 0 }},
 { ocIntercept,   {{ ForceArray, ForceArray 
  }, 0 }},
@@ -126,7 +126,7 @@ const ScParameterClassification::RawData 
ScParameterClassification::pRawData[] =
 { ocLess,{{ Array, Array   
  }, 0 }},
 { ocLessEqual,   {{ Array, Array   
  }, 0 }},
 { ocLookup,  {{ Value, ReferenceOrForceArray, 
ReferenceOrForceArray  }, 0 }},
-{ ocMatch,   {{ Value, Reference, Reference
  }, 0 }},
+{ ocMatch,   {{ Value, ReferenceOrForceArray, Value
  }, 0 }},
 { ocMatDet,  {{ ForceArray 
  }, 0 }},
 { ocMatInv,  {{ ForceArray 
  }, 0 }},
 { ocMatMult, {{ ForceArray, ForceArray 
  }, 0 }},
@@ -204,7 +204,7 @@ const ScParameterClassification::RawData 
ScParameterClassification::pRawData[] =
 { ocVarPA,   {{ Reference  
  }, 1 }},
 { ocVarP_MS, {{ Reference  
  }, 1 }},
 { ocVarS,{{ Reference  
  }, 1 }},
-{ ocVLookup, {{ Value, Reference, Value, Value 
  }, 0 }},
+{ ocVLookup, {{ Value, ReferenceOrForceArray, Value, Value 
  }, 0 }},
 { ocXor, {{ Reference  
  }, 1 }},
 { ocZTest,   {{ Reference, Value, Value
  }, 0 }},
 { ocZTest_MS,{{ Reference, Value, Value
  }, 0 }},
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 74916] FILEOPEN: Writer hangs with small .docx document containing big complex tables

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=74916

Timur gti...@gmail.com changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=93
   ||660

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 62114] Link to linked picture.jpg lost after FILESAVE as .xlsx

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=62114

Xisco Faulí aniste...@gmail.com changed:

   What|Removed |Added

 CC||aniste...@gmail.com

--- Comment #4 from Xisco Faulí aniste...@gmail.com ---
Problem still present in

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: es-ES (es_ES)

on Windows 7 (64-bit)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: 3 commits - sw/qa sw/source

2015-08-25 Thread Caolán McNamara
 sw/qa/core/data/ww5/pass/crash-2.doc |binary
 sw/source/filter/ww8/ww8glsy.cxx |   10 --
 sw/source/filter/ww8/ww8par.cxx  |   27 ---
 sw/source/filter/ww8/ww8par.hxx  |8 
 4 files changed, 24 insertions(+), 21 deletions(-)

New commits:
commit 5da016f5e78f7f36136a8179e152aa14aee3d187
Author: Caolán McNamara caol...@redhat.com
Date:   Tue Aug 25 12:22:31 2015 +0100

Revert disable test case pending index assert fix

This reverts commit af9751a760e9007d0450adf2753d8a65be5f536c.

diff --git a/sw/qa/core/data/ww5/pass/crash-2.doc 
b/sw/qa/core/data/ww5/pass/crash-2.doc
new file mode 100644
index 000..23a1897
Binary files /dev/null and b/sw/qa/core/data/ww5/pass/crash-2.doc differ
commit d9edac5d58aa3c4f15cf4022a1faf776d3003e78
Author: Caolán McNamara caol...@redhat.com
Date:   Tue Aug 25 16:36:08 2015 +0100

behave like the native format filter for non-insert mode

just shove the unneeded pam into dead space

Change-Id: Id0a3d550cd9d54394888e6b2d62e21eaded24a7c

diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 45f84d4..00318f2 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -6153,6 +6153,10 @@ sal_uLong WW8Reader::Read(SwDoc rDoc, const OUString 
rBaseURL, SwPaM rPaM, co
 {
 // Remove Frame and offsets from Frame Template
 Reader::ResetFrameFormats( rDoc );
+
+rPaM.GetBound().nContent.Assign(0, 0);
+rPaM.GetBound(false).nContent.Assign(0, 0);
+
 }
 try
 {
commit 3d992d77d8ae319b31dca808e8c08f439a1bc9c3
Author: Caolán McNamara caol...@redhat.com
Date:   Tue Aug 25 13:30:12 2015 +0100

we only need the PaM for its Point and only to create a uno cursor

so do that in the ctor and drop the arg from a bunch of places

Change-Id: Iaad71e9854b38d8632df057dfe9c96468d1d0098

diff --git a/sw/source/filter/ww8/ww8glsy.cxx b/sw/source/filter/ww8/ww8glsy.cxx
index 7a8d0f4..f125f69 100644
--- a/sw/source/filter/ww8/ww8glsy.cxx
+++ b/sw/source/filter/ww8/ww8glsy.cxx
@@ -210,8 +210,6 @@ bool WW8Glossary::Load( SwTextBlocks rBlocks, bool 
bSaveRelFile )
 if (xDocSh-DoInitNew(0))
 {
 SwDoc *pD =  static_castSwDocShell*((xDocSh))-GetDoc();
-SwWW8ImplReader* pRdr = new 
SwWW8ImplReader(pGlossary-nVersion,
-xStg, rStrm, *pD, rBlocks.GetBaseURL(), true, false);
 
 SwNodeIndex aIdx(
 *pD-GetNodes().GetEndOfContent().StartOfSectionNode(), 1);
@@ -223,11 +221,11 @@ bool WW8Glossary::Load( SwTextBlocks rBlocks, bool 
bSaveRelFile )
 SwPaM aPamo( aIdx );
 
aPamo.GetPoint()-nContent.Assign(aIdx.GetNode().GetContentNode(),
 0);
-pRdr-LoadDoc(aPamo,this);
-
+std::unique_ptrSwWW8ImplReader xRdr(new SwWW8ImplReader(
+pGlossary-nVersion, xStg, rStrm, *pD, 
rBlocks.GetBaseURL(),
+true, false, *aPamo.GetPoint()));
+xRdr-LoadDoc(this);
 bRet = MakeEntries(pD, rBlocks, bSaveRelFile, aStrings, aData);
-
-delete pRdr;
 }
 xDocSh-DoClose();
 rBlocks.EndPutMuchBlockEntries();
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index d7eadb1..45f84d4 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -4124,7 +4124,7 @@ bool SwWW8ImplReader::ReadText(WW8_CP nStartCp, WW8_CP 
nTextLen, ManTypes nType)
 }
 
 SwWW8ImplReader::SwWW8ImplReader(sal_uInt8 nVersionPara, SotStorage* pStorage,
-SvStream* pSt, SwDoc rD, const OUString rBaseURL, bool bNewDoc, bool 
bSkipImages)
+SvStream* pSt, SwDoc rD, const OUString rBaseURL, bool bNewDoc, bool 
bSkipImages, SwPosition rPos)
 : m_pDocShell(rD.GetDocShell())
 , m_pStg(pStorage)
 , m_pStrm(pSt)
@@ -4260,6 +4260,8 @@ SwWW8ImplReader::SwWW8ImplReader(sal_uInt8 nVersionPara, 
SotStorage* pStorage,
 {
 m_pStrm-SetEndian( SvStreamEndian::LITTLE );
 m_aApos.push_back(false);
+
+mpCrsr = m_rDoc.CreateUnoCrsr(rPos);
 }
 
 void SwWW8ImplReader::DeleteStk(SwFltControlStack* pStck)
@@ -4881,7 +4883,7 @@ bool SwWW8ImplReader::ReadGlobalTemplateSettings( const 
OUString sCreatedFrom,
 return bRes;
 }
 
-sal_uLong SwWW8ImplReader::CoreLoad(WW8Glossary *pGloss, const SwPosition 
rPos)
+sal_uLong SwWW8ImplReader::CoreLoad(WW8Glossary *pGloss)
 {
 sal_uLong nErrRet = 0;
 
@@ -4917,7 +4919,6 @@ sal_uLong SwWW8ImplReader::CoreLoad(WW8Glossary *pGloss, 
const SwPosition rPos)
 pDocShell-SetReadOnlyUI();
 }
 
-mpCrsr = m_rDoc.CreateUnoCrsr(rPos);
 m_pPaM = mpCrsr.get();
 
 m_pCtrlStck = new SwWW8FltControlStack( m_rDoc, m_nFieldFlags, *this );
@@ -5595,7 +5596,7 @@ namespace
 }
 }
 
-sal_uLong 

Re: ‘OUTPUT_DRAWMODE_CONTRAST’ defined but not used

2015-08-25 Thread Stephan Bergmann

On 08/25/2015 05:30 PM, Khaled Hosny wrote:

In may build I see this warning a lot:
In file included from cui/source/tabpages/textattr.cxx:37:0:
include/svx/dlgutil.hxx:37:28: warning: ‘OUTPUT_DRAWMODE_CONTRAST’ defined but 
not used [-Wunused-variable]
  static const DrawModeFlags OUTPUT_DRAWMODE_CONTRAST = 
DrawModeFlags::SettingsLine | DrawModeFlags::SettingsFill | 
DrawModeFlags::SettingsText | DrawModeFlags::SettingsGradient;

I’m guessing it is caused by the static in the declaration since
OUTPUT_DRAWMODE_CONTRAST seems to be used somewhere.


Compilers are free to not emit storage for that per-copilation-unit 
const variable (what an oxymoron), and most compilers are apparently 
smart enough to not emit a -Wunused-variable in such a case (or else the 
build should break for many developers, assuming developers routinely 
configure --enable-werror).  Yours just isn't---some dated GCC?

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice-qa] Interoperability Test File

2015-08-25 Thread Joel Madero
Hi Pedro,

 jmadero wrote
 I don't know if anyone has a repository of test files for
 interoperability but one of our great users provided a test file and
 reported a whole slew of interop bugs about it.

 Just thought if anyone wants to: (1) look at the bugs; (2) if we have
 someone tracking interop - this is a great test file; (3) just wanted to
 say hi :)
 These are exactly the kind of bugs that bring bad reputation to
 LibreOffice...

 Interoperability and Regressions...

 I can confirm the first one (#93637) and possibly others (like the image in
 the header) is a Regression from branch 3.6
So let's focus more on tagging everything correctly in whiteboard. I
think I even missed some stuff here so if these are particularly bad
from QA stand point (and thus can be brought up during ESC...to suggest
they get looked at) they should be consistently tagged I think as follows:

Whiteboard: filter:docx (or whatever filter), interoprability,
bibisectRequest/bibisected/bisected;
Keyword: regression

With those we can easily identify how many and how serious they are.


Best,
Joel
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

[Libreoffice-bugs] [Bug 93635] Embedded Word file scaled incorrectly

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93635

Michael Weghorn m.wegh...@posteo.de changed:

   What|Removed |Added

 CC||vmik...@collabora.co.uk

--- Comment #5 from Michael Weghorn m.wegh...@posteo.de ---
@Miklos: Could you possibly have a look at this?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93660] New: FILEOPEN: Writer cannot open DOCX with large table again

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93660

Bug ID: 93660
   Summary: FILEOPEN: Writer cannot open DOCX with large table
again
   Product: LibreOffice
   Version: 5.1.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: gti...@gmail.com

Attachment 68798 from Bug 56183 could be open starting from LO 4.4.0 to the
current 5.0.1, although very slowly.
But, master 5.1+ can't open it, it just hangs on loading, or it's even more
slower now.

Here is Linux log:
warn:ucb.ucp.gio:21748:1:ucb/source/ucp/gio/gio_content.cxx:400: ignoring
GError The specified location is not supported for
vnd.sun.star.job:alias=UpdateCheck
warn:sfx.dialog:21748:1:sfx2/source/dialog/filtergrouping.cxx:361: already have
an element for WordPerfect
warn:sfx.dialog:21748:1:sfx2/source/dialog/filtergrouping.cxx:361: already have
an element for writerweb8_writer_template
warn:sfx.dialog:21748:1:sfx2/source/dialog/filtergrouping.cxx:361: already have
an element for writerglobal8
warn:writerfilter:21748:1:writerfilter/source/dmapper/FontTable.cxx:144:
FontTable::lcl_sprm: unhandled token: 93128
warn:writerfilter:21748:1:writerfilter/source/dmapper/DomainMapper_Impl.cxx:558:
no context of type 1 available
warn:writerfilter:21748:1:writerfilter/source/dmapper/DomainMapper_Impl.cxx:558:
no context of type 1 available

Similar with attachment 93986 from Bug 74916, looks like it was a duplicate. 
Proper fix that can open them in no(rmal) time would be nice.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56183] [APPHANG][docx] [fileopen] Writer doesn't open large table

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=56183

Timur gti...@gmail.com changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=93
   ||660

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 62847] filter: DOCX image hyperlink not imported.

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=62847

Xisco Faulí aniste...@gmail.com changed:

   What|Removed |Added

 CC||aniste...@gmail.com

--- Comment #5 from Xisco Faulí aniste...@gmail.com ---
Problem still present in

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: es-ES (es_ES)

on Windows 7 (64-bit)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93521] some image spacing hides the text

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93521

sophie gautier.sop...@gmail.com changed:

   What|Removed |Added

 CC||gautier.sop...@gmail.com

--- Comment #1 from sophie gautier.sop...@gmail.com ---
Hi, did you put captions or did you write just below with the Drawing style
applied? There is a bug a can't reproduce that look like yours
https://bugs.documentfoundation.org/show_bug.cgi?id=93277
Sophie

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: ‘OUTPUT_DRAWMODE_CONTRAST’ defined but not used

2015-08-25 Thread Khaled Hosny
On Tue, Aug 25, 2015 at 07:28:26PM +0300, Maxim Monastirsky wrote:
 Hi Khaled,
 
 On Tue, Aug 25, 2015 at 6:30 PM, Khaled Hosny khaledho...@eglug.org wrote:
 In may build I see this warning a lot:
 In file included from cui/source/tabpages/textattr.cxx:37:0:
 include/svx/dlgutil.hxx:37:28: warning: ‘OUTPUT_DRAWMODE_CONTRAST’ defined
 but not used [-Wunused-variable]
 Please clarify: Do you get this with master or with 5-0? In case of 5-0 I
 can confirm that I got the same thing the last time I tried to build it with
 --enable-werror (under Fedora 22, with the GCC ver. from the repos).

On master.

Regards,
Khaled
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 93635] Embedded Word file scaled incorrectly

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93635

Michael Weghorn m.wegh...@posteo.de changed:

   What|Removed |Added

   Keywords||bisected
 CC||m.wegh...@posteo.de
 Whiteboard|bibisectRequest |bibisected

--- Comment #4 from Michael Weghorn m.wegh...@posteo.de ---
I (bi)bisected this bug.
The two regressions (slow loading of the document and incorrect scaling)
actually do start at the same commit.

result:

cc44ace348bc71b8e0411f3c4a3dbcec4852c8a5 is the first bad commit
commit cc44ace348bc71b8e0411f3c4a3dbcec4852c8a5
Author: Matthew Francis mjay.fran...@gmail.com
Date:   Sun Mar 15 01:57:21 2015 +0800

source-hash-41aa970b3120837ca9cadb12997a53ad322145a4

commit 41aa970b3120837ca9cadb12997a53ad322145a4
Author: Miklos Vajna vmik...@collabora.co.uk
AuthorDate: Wed Aug 27 15:24:37 2014 +0200
Commit: Miklos Vajna vmik...@collabora.co.uk
CommitDate: Wed Aug 27 15:34:41 2014 +0200

DOCX import: fix handling of embedded DOCX files

The problem was that SwXTextEmbeddedObject::getEmbeddedObject()
returned
an empty reference for those embedded objects, so the HTML filter
couldn't extract their content when it wanted to do so.

It turns out the reason for this was that the DOCX importer only
handled
the replacement image + raw native data for the object. Fix this by
creating the embedded object with the correct CLSID and import the
raw data into the empty embedded document model.

This is similar to what is done for XLSX-in-PPTX in
oox::drawingml::ShapeExport::WriteOLE2Shape(), just for the import
part.

Change-Id: Ieb1dcb1774d2d4da00117e3a35160053066c78aa

:04 04 e8cb4e3b985c04b5016f70818a5e2706a479eac8
5e02d229804ec183756cea153845f8c59530ea74 Mopt


$ git bisect log
# bad: [cf6ea17155fabb2a120ba07c150735591ac861d7]
source-hash-3f94c9e9ddfd807b449f3bb9b232cf2041fa12d2
# good: [fc71ac001f16209654d15ef8c1c4018aa55769f5]
source-hash-c15927f20d4727c3b8de68497b6949e72f9e6e9e
git bisect start 'latest' 'oldest'
# good: [8cf60cc706948588e2f33a6d98b7c55d454e362a]
source-hash-f340f0454627939f1830826fb5cc53a90e6c62a4
git bisect good 8cf60cc706948588e2f33a6d98b7c55d454e362a
# bad: [7beddf3808dadd525d7e55c00a5a90a2b44c23d3]
source-hash-2f10386ce577f52e139aa23d41bc787d8e0b4d59
git bisect bad 7beddf3808dadd525d7e55c00a5a90a2b44c23d3
# bad: [7d319609d8266af06aa3256fd3773d052b9150dc]
source-hash-1fec67aab152e0c0ad6dd85082c50f1beff7d520
git bisect bad 7d319609d8266af06aa3256fd3773d052b9150dc
# bad: [ff24df9a7aadef7aaf721b131c9e06f19fa9239a]
source-hash-653025e6f10d07d0a95f7b75d56ff457f1902e82
git bisect bad ff24df9a7aadef7aaf721b131c9e06f19fa9239a
# good: [9460f8d13abf06281723950db84607788db19966]
source-hash-2a93ed09240c6e9871593641dabbb7502af87986
git bisect good 9460f8d13abf06281723950db84607788db19966
# bad: [f44a1fe93fe524dedbabd854b038fc047b1d38f4]
source-hash-4e96f7ffdb5d7b84ea70888626523dcdc5dfe0ac
git bisect bad f44a1fe93fe524dedbabd854b038fc047b1d38f4
# bad: [62faa37985c66e2f50919f9392257d209d21520a]
source-hash-7db1ac59128ecc175ec1fd943ee77d469dcb0ea1
git bisect bad 62faa37985c66e2f50919f9392257d209d21520a
# good: [bdcbaae61e7c235354288d519d1b594f07fcece0]
source-hash-aebcabd54cc5587f3856c48db0a4c4fc0f3f8ce8
git bisect good bdcbaae61e7c235354288d519d1b594f07fcece0
# good: [8a57560ef0c2aea5599c42505850ffbf4cbcb97b]
source-hash-2fb876d85ddbfea0e6b6a38f71135e3dbe4233bb
git bisect good 8a57560ef0c2aea5599c42505850ffbf4cbcb97b
# bad: [50a379bc8660b76fcefac17317f4c1602db662a6]
source-hash-56c9850145faa9ac04c3f09633e56b6c8c22c6c4
git bisect bad 50a379bc8660b76fcefac17317f4c1602db662a6
# good: [031648eed9b726609afbdac0f32b9fd4b0abda71]
source-hash-b77bf9759a74454391fa5d2f4a6ec4594d6d3e89
git bisect good 031648eed9b726609afbdac0f32b9fd4b0abda71
# good: [961df52bc82aa28f9afaeac1878343cc25c47d62]
source-hash-be84c0e8752cff050fbf8056848fa47a56be6b03
git bisect good 961df52bc82aa28f9afaeac1878343cc25c47d62
# bad: [ee2d6fb217add1dfeb44a80bfa2071d93f310309]
source-hash-804d60d2ee4c099f685a6e42438fa0de15ca29be
git bisect bad ee2d6fb217add1dfeb44a80bfa2071d93f310309
# bad: [cc44ace348bc71b8e0411f3c4a3dbcec4852c8a5]
source-hash-41aa970b3120837ca9cadb12997a53ad322145a4
git bisect bad cc44ace348bc71b8e0411f3c4a3dbcec4852c8a5
# first bad commit: [cc44ace348bc71b8e0411f3c4a3dbcec4852c8a5]
source-hash-41aa970b3120837ca9cadb12997a53ad322145a4

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 90129] FILEOPEN Large (xlsx) file with pivot tables takes ages to open

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90129

Timur gti...@gmail.com changed:

   What|Removed |Added

   Priority|medium  |high
 CC||gti...@gmail.com
Version|4.5.0.0.alpha0+ Master  |4.2.0.4 release
   Severity|normal  |major

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: vcl/inc vcl/source vcl/workben

2015-08-25 Thread Michael Meeks
 vcl/inc/opengl/watchdog.hxx|   31 +
 vcl/inc/opengl/zone.hxx|   31 ++---
 vcl/source/app/svmain.cxx  |4 +
 vcl/source/opengl/OpenGLHelper.cxx |  127 -
 vcl/workben/vcldemo.cxx|   69 +++-
 5 files changed, 236 insertions(+), 26 deletions(-)

New commits:
commit 74bc7cb59c1bc3f7acdb4d1492fe563ebcefee6c
Author: Michael Meeks michael.me...@collabora.com
Date:   Tue Aug 25 11:44:41 2015 +0100

tdf#93614 - detect hanging OpenGL drivers with a watchdog.

If an OpenGL zone takes 2s to make progress, disable OpenGL.
If an OpenGL zone takes 5s to make progress, abort the app.

Change-Id: I776c06a3f8ba460ff9842a9130c21f9ee2147eee
Reviewed-on: https://gerrit.libreoffice.org/17986
Tested-by: Jenkins c...@libreoffice.org
Reviewed-by: Michael Meeks michael.me...@collabora.com
Tested-by: Michael Meeks michael.me...@collabora.com

diff --git a/vcl/inc/opengl/watchdog.hxx b/vcl/inc/opengl/watchdog.hxx
new file mode 100644
index 000..b88c468
--- /dev/null
+++ b/vcl/inc/opengl/watchdog.hxx
@@ -0,0 +1,31 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_VCL_INC_OPENGL_WATCHDOG_H
+#define INCLUDED_VCL_INC_OPENGL_WATCHDOG_H
+
+#include sal/config.h
+#include sal/types.h
+#include rtl/ref.hxx
+#include salhelper/thread.hxx
+
+class OpenGLWatchdogThread : private salhelper::Thread
+{
+OpenGLWatchdogThread();
+virtual void execute() SAL_OVERRIDE;
+public:
+using salhelper::Thread::acquire;
+using salhelper::Thread::release;
+static void start();
+static void stop();
+};
+
+#endif // INCLUDED_VCL_INC_OPENGL_WATCHDOG_H
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/opengl/zone.hxx b/vcl/inc/opengl/zone.hxx
index c251c4f..44265c5 100644
--- a/vcl/inc/opengl/zone.hxx
+++ b/vcl/inc/opengl/zone.hxx
@@ -7,28 +7,39 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_VCL_INC_OPENGL_GUARD_H
-#define INCLUDED_VCL_INC_OPENGL_GUARD_H
+#ifndef INCLUDED_VCL_INC_OPENGL_ZONE_H
+#define INCLUDED_VCL_INC_OPENGL_ZONE_H
 
 #include sal/config.h
+#include sal/types.h
+#include vcl/dllapi.h
+
+class OpenGLZoneTest;
+class OpenGLWatchdogThread;
 
 /**
  * We want to be able to detect if a given crash came
  * from the OpenGL code, so use this helper to track that.
  */
-class OpenGLSalGraphicsImpl;
 class OpenGLZone {
-static int gnInOpenGLZone;
+friend class OpenGLZoneTest;
+friend class OpenGLWatchdogThread;
 friend class OpenGLSalGraphicsImpl;
-static void enter() { gnInOpenGLZone++; }
-static void leave() { gnInOpenGLZone--; }
+
+/// how many times have we entered a GL zone
+static volatile sal_uInt64 gnEnterCount;
+/// how many times have we left a new GL zone
+static volatile sal_uInt64 gnLeaveCount;
+
+static VCL_DLLPUBLIC void enter();
+static VCL_DLLPUBLIC void leave();
 public:
- OpenGLZone() { enter(); }
-~OpenGLZone() { leave(); }
-static bool isInZone() { return gnInOpenGLZone  0; }
+ OpenGLZone() { gnEnterCount++; }
+~OpenGLZone() { gnLeaveCount++; }
+static bool isInZone() { return gnEnterCount != gnLeaveCount; }
 static void hardDisable();
 };
 
-#endif // INCLUDED_VCL_INC_OPENGL_PROGRAM_H
+#endif // INCLUDED_VCL_INC_OPENGL_ZONE_H
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 7b6c778..b5aca42 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -82,6 +82,7 @@
 #include uno/current_context.hxx
 
 #include opengl/zone.hxx
+#include opengl/watchdog.hxx
 
 #if OSL_DEBUG_LEVEL  0
 #include typeinfo
@@ -189,7 +190,10 @@ int ImplSVMain()
   pSVData-mxAccessBridge.clear();
 }
 
+OpenGLWatchdogThread::stop();
+
 DeInitVCL();
+
 return nReturn;
 }
 
diff --git a/vcl/source/opengl/OpenGLHelper.cxx 
b/vcl/source/opengl/OpenGLHelper.cxx
index 49bff49..2e68bdc 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -26,6 +26,8 @@
 #include vector
 
 #include opengl/zone.hxx
+#include opengl/watchdog.hxx
+#include osl/conditn.h
 
 #if defined UNX  !defined MACOSX  !defined IOS  !defined ANDROID
 #include opengl/x11/X11DeviceInfo.hxx
@@ -446,11 +448,98 @@ bool OpenGLHelper::supportsVCLOpenGL()
 return true;
 }
 
-/// How many nested OpenGL code-paths are we inside ?
-int OpenGLZone::gnInOpenGLZone = 0;
+sal_uInt64 volatile OpenGLZone::gnEnterCount = 0;
+sal_uInt64 volatile OpenGLZone::gnLeaveCount = 0;
+
+void OpenGLZone::enter() { gnEnterCount++; }
+void 

[Libreoffice-bugs] [Bug 93657] LibO reverts to 'English (USA) from 'English (Canada)' as default language

2015-08-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93657

--- Comment #2 from arthersco...@gmail.com ---
(In reply to tommy27 from comment #1)
 does it happen on every file or with some specific files only?
 which LibO version are you using now?

It appears to happen on any file, although, as I said, it is apparently
random when it occurs. I'm using the latest release, 5.0.0.5

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


  1   2   3   4   >