Commit graph

1428 commits

Author SHA1 Message Date
Winfried Donkers
e362bc7892 fdo#71081 add Excel 2010 functions BINOM.DIST and BINOM.INV
Change-Id: Iaecccd9ec6ab6a08c6c7ee8c024a3eba48ca1682
Reviewed-on: https://gerrit.libreoffice.org/6521
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-11-04 11:12:52 -06:00
Noel Grandin
0e6a2601b3 Convert code that calls OUString::getStr()[] to use the [] operator
This also means that this code now gets bounds checked in debug builds.

Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-04 08:06:10 +02:00
Stephan Bergmann
1f0f538b20 Remove dead declaration w/o a definition
Change-Id: Ic0a1f07a2e16695fafbd63414397a8565d7c6861
2013-11-01 16:53:49 +01:00
Tor Lillqvist
139bd9b440 Add first attempt at an error message etc API
Add a touch_ui_dialog_modal() function which in some way displays an
error or other message to the user, and possibly offers the
possibility to choose some "OK", "Cancel", "Retry", "Ignore" type of
response. Note that the "modality" is from the point of view of the LO
thread.

Change-Id: I1b2ad15854f8d76e2c30f93fb5356fad7e5d02ca
2013-11-01 00:21:38 +02:00
Tor Lillqvist
d7a4a5b268 The "source size" of a VCL bitmap is not used for anything
Thorsten thought it might have been used for to the handling of the "Original
Size" functionality originally. That seems slightly broken currently in some
use cases, and this change doesn't make it any worse. (To see the brokenness,
play with resizing an image, reloading the document, and using "Original
Size". With the right sequence of actions, LO seems to think that the
"original size" is very small (1x1 pixel perhaps).)

Change-Id: I4e0852d2b367def5bc40baf95aac273d59731eec
2013-11-01 00:18:48 +02:00
Winfried Donkers
6d2f42199c fdo#71008 add Excel 2010 functions BETA.DEST and BETA.INV
Change-Id: I65863031cc2795713bf80c17dfc787e2700a556a
Reviewed-on: https://gerrit.libreoffice.org/6505
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-10-31 16:26:05 +00:00
Armin Le Grand
223f6b631c Resolves: #i123433# Detect pseudo-vertices at svg import...
unify svg:d handling, correct svg:d import for relative sub-polygons in svg
import; changed default for moveto writes for svg:d in ODF to absolute

(cherry picked from commit f15874d8f976f3874bdbcb53429eeefa65c28841)

Conflicts:
	basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
	basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
	basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx
	basegfx/source/polygon/b2dpolypolygontools.cxx
	basegfx/source/polygon/b2dsvgpolypolygon.cxx
	basegfx/source/polygon/b3dpolypolygontools.cxx
	basegfx/source/tools/makefile.mk
	basegfx/test/boxclipper.cxx
	basegfx/test/clipstate.cxx
	basegfx/test/genericclipper.cxx
	canvas/source/tools/surfaceproxy.cxx
	sdext/source/pdfimport/tree/drawtreevisiting.cxx
	sdext/source/pdfimport/tree/writertreevisiting.cxx
	xmloff/inc/xexptran.hxx
	xmloff/source/draw/XMLImageMapContext.cxx
	xmloff/source/draw/XMLImageMapExport.cxx
	xmloff/source/draw/shapeexport2.cxx
	xmloff/source/draw/shapeexport3.cxx
	xmloff/source/draw/xexptran.cxx
	xmloff/source/draw/ximp3dobject.cxx
	xmloff/source/draw/ximpshap.cxx
	xmloff/source/style/MarkerStyle.cxx
	xmloff/source/text/XMLTextFrameContext.cxx
	xmloff/source/text/txtparae.cxx

Change-Id: I5171b4a3559ea116bea45152e1f2685666463635
2013-10-31 15:56:14 +00:00
Caolán McNamara
9069e26d1f we need these old equal methods again
i.e. revert 5c3615c115

Change-Id: I7bafaabaf5b8337c3ef4fe0d9ea687924045114e
2013-10-31 15:56:13 +00:00
Stephan Bergmann
8b8ef8d633 Remove the xmloff::token::ResetTokens race condition
...where multiple parallel calls to xmloff::token::ResetTokens or
xmloff::token::GetXMLToken can see dangling pOUString pointers.  There is no
point in releasing this (bounded) amount of memory referenced from global
aTokenList, anyway.

There is still a race when parallel calls to xmloff::token::GetXMLToken write to
a pOUString pointer in parallel, but that's more harmless, and maybe calls to
GetXMLToken are synchronized by Solar Mutex?  Calls to ResetTokens (e.g., via
URP remote release request -> ~ScXMLExport -> ~SvXMLExport) were definitely
/not/ synchronized via any mutex.

The xmloff::token::Inc/DecRescheduleCount functions are now pointless and have
been removed, too.

Change-Id: I85905d4de1f042ed5c9a37589f942910d8ef80fd
2013-10-31 12:45:04 +01:00
Thomas Arnhold
b60d7a27e4 fixincludeguards.sh: svx/itextprovider.hxx
Change-Id: I32ebe61a8431e357ffdc057b019fdd3b75dd68a8
2013-10-30 23:05:41 +01:00
Thomas Arnhold
d837c7b773 Remove legacy EMX check
Last release from 1998 :)

http://en.wikipedia.org/wiki/EMX_(programming_environment)

Change-Id: I01b1dbf0d91c44d8e1da447aa24efc8878b41e1f
2013-10-30 22:44:42 +01:00
Winfried Donkers
781363934a fdo#61002 add Excel 2010 functions VAR.P and VAR.S
Change-Id: I23f286eaaef79d196a65e8079b62cf577539e9f1
Reviewed-on: https://gerrit.libreoffice.org/6477
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-10-30 17:54:28 +00:00
Michael Meeks
72b954df59 Avoid using gconftool. Atk provides a11y not Java on Unix.
cf. comment in framework header. Should have no impact on real
run-time Java a11y, which would be enabled later as-needed; only
on JRE selection. For extreme corner-cases, where your auto-selected
JRE has no a11y support either select another JRE in the UI or:

$ export JFW_PLUGIN_FORCE_ACCESSIBILITY=1

to override.

Change-Id: I59a6428e5a11664b75c29580cad76eb9500db45a
2013-10-30 11:09:55 +00:00
Caolán McNamara
0881ae68b0 Resolves: rhbz#1021915 force menubar menus to be up/down only
If a menu won't fit in the desired location the default mode is to place it
somewhere it will fit.  e.g. above, left, right. For some cases, e.g. menubars,
it's desirable to limit the options to above/below and force the menu to scroll
if it won't fit

Change-Id: I1998a842d25752389ec9032e54673408d1ed6cb5
2013-10-29 16:11:08 +00:00
Michael Stahl
18c702a8e1 gbuild: move unittest mock profile to WORKDIR
Change-Id: Idd6420a855fec8b44fce6c0694b491d5f1eec95e
2013-10-29 00:58:44 +01:00
Thomas Arnhold
1beabca95b remove local css namespace definitions
As we have it globally in sal/types.h those are not necessary.

Change-Id: I18bba2c763c4680c4fa7fde4c5158953b5cfad82
2013-10-28 15:16:17 +01:00
Stephan Bergmann
a2f9c446b7 Some clean-up
Change-Id: I8ef80b7ae952428a62cc1cea8b03219b77a83e99
2013-10-28 13:48:14 +01:00
Stephan Bergmann
176ac1e616 Remove unnecessary SyntaxHighlighter::Tokenizer statefulness
...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it.

Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e
2013-10-28 13:48:14 +01:00
Stephan Bergmann
c99267b326 Fold SyntaxHighlighter::initialize into ctor
...which reveals that m_pKeyWords, m_nKeyWordCount members are unused.

Change-Id: I55020e892d463f2e40d5bcf71efba92778b317c1
2013-10-28 13:48:14 +01:00
Stephan Bergmann
6aa24e7565 Move implementation details to syntaxhighlight.cxx
(and clean up a little)

Change-Id: I6e660708d8ca1509b89b306cd428dc38c8b03f2c
2013-10-28 13:48:14 +01:00
Stephan Bergmann
f5e8be8bb1 Remove unused SimpleTokenizer_Impl::nLine/nCol
...which are never read; remove thereby unused parameters from functions.

Change-Id: I644d2dc1b2d13ae2f932d04243521eef97e67e3e
2013-10-28 13:48:13 +01:00
Tor Lillqvist
7d32da410c Seems that <vcl/cvtsvm.hxx> is private to VCL, so move it there
Change-Id: I3fd1ac8aaea2e79efcd9e2d4b12347a387d0d28b
2013-10-26 16:54:55 +03:00
Tor Lillqvist
65ad73b0da Minor cleanup and comment (un-)translation
Drop some ASCII graphics. Fix columnar alignment to match surrounding
code. Bin comments that translate field names that are in understandable
English (like maSize) to German. Translate one (actually informative) German
comment to English.

Change-Id: I1e167e3d2f9da4b453140b47c0a8629246e1d932
2013-10-26 16:42:21 +03:00
Miklos Vajna
6df9dd68ec move OOXML_COLOR_AUTO from writerfilter to msfilter, we need it from sw
Change-Id: I145c08d17ccb36bfbf734306cd9d27e8423debdd
2013-10-25 18:23:01 +02:00
Eike Rathke
fed7a57fcd more flexible language tag override mechanism
* allow overriding higher level lll-Ssss-CC with lower level lll-CC for
  known MS-LangID mappings that use tags with suppress-script
* internal override "canonicalization", e.g. ca-XV => ca-ES-valencia

Change-Id: I067d7515fb9144a896697617ad1b079e294f1ced
2013-10-25 17:58:11 +02:00
Winfried Donkers
4a122d1e61 fdo#44134 adding Excel 2010 functions STDEV.P and STDEV.S
Change-Id: If7b2767a69285ac72fa7120b1149a66f118cce8f
Reviewed-on: https://gerrit.libreoffice.org/6354
Tested-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
2013-10-25 13:07:32 +00:00
Michael Meeks
398519cb61 fdo#69079 - fix multiple user gallery creations.
Change-Id: I0539e2708b973b8bea7bd63488277f00201c6c46
2013-10-24 13:22:18 +01:00
Eike Rathke
b796a2030b added isNonLatinWestern()
Change-Id: Ie2aadab8302f365379a569989bd9640db55b9716
2013-10-24 12:26:21 +02:00
Eike Rathke
ae80e00b70 added list of "Neither defined nor reserved" for reference
Change-Id: I79402ca5c0804912198b9d78471b1608b2170e04
2013-10-24 02:33:31 +02:00
Eike Rathke
6b678c135d added/checked/aligned MS-LangIDs and mappings from new MS-LCID.pdf
... found at http://msdn.microsoft.com/library/cc233965.aspx (the 5th or
6th place I'm aware of where MS defines LCIDs, all different ...)
* a bunch of new definitions up to Windows 8.1
* lots of cross-checks done with SIL, Ethnologue, ...

Change-Id: Ifae8e676558c6712fe752856acca600d05d0a63f
2013-10-24 01:54:59 +02:00
Eike Rathke
9bffd1170c LANGUAGE_USER_YIDDISH_US ought to be 0x803D instead of 0x083D
Change-Id: Idbb6837802ee6f12e95914283a5eb5d61982f4f8
2013-10-24 01:54:58 +02:00
Thomas Arnhold
1130a359cb fixincludeguards.sh: include - the rest
Change-Id: If1ee11da444a7f96f2d8668b277540da0bb4dbe9
2013-10-23 23:22:31 +02:00
Thomas Arnhold
29c0fdc645 fixincludeguards.sh: include/{basegfx,basic}
Change-Id: Id18d3f4b4ed763b2ec9e718d66c3c3b9968fcac2
2013-10-23 23:22:31 +02:00
Thomas Arnhold
10860425b6 fixincludeguards.sh: include/editeng
Change-Id: I5a172bb12b62940b9994b2740e054b43145b08f0
2013-10-23 23:22:31 +02:00
Thomas Arnhold
10d0526d72 fixincludeguards.sh: include/o*
Change-Id: Ibd5d8af00f6582d53231c76e2b04e737b5804497
2013-10-23 23:22:30 +02:00
Thomas Arnhold
0bd7f12d41 fixincludeguards.sh: include/c*
Change-Id: Icba422d99836518a1b662b15144bc9334bed1473
2013-10-23 23:22:30 +02:00
Thomas Arnhold
f20eef0094 fixincludeguards.sh: include/u*
Change-Id: I8a07ccb309490206a2edd36f2fe4d0e2c0982ea2
2013-10-23 23:22:30 +02:00
Thomas Arnhold
4e0670b763 fixincludeguards.sh: include/{toolkit,tools}
Change-Id: I5572c320431222be2405f8c2dc8adeafe4f3828b
2013-10-23 23:22:29 +02:00
Thomas Arnhold
dbddac3261 fixincludeguards.sh: include/s*
Change-Id: I57fcfd442d2b5815e7c07a9cbd660f3698168dee
2013-10-23 23:22:29 +02:00
Thomas Arnhold
d0df04f299 fixincludeguards.sh: include/vcl
Change-Id: Iaea4396f60aeade5303bf83a4504ad62f161b83c
2013-10-23 23:22:29 +02:00
Thomas Arnhold
b95ee1be9b fixincludeguards.sh: include/xml*
Change-Id: Iffab819621615c59709c087202cc578af00dd799
2013-10-23 23:22:28 +02:00
Thomas Arnhold
027ac56363 fixincludeguards.sh: include/svx
Change-Id: I2c280be12f36c1538e922286745aabc62482423d
2013-10-23 23:22:28 +02:00
Thomas Arnhold
7921e92cf9 remove external include guard
Change-Id: I78a816b23a0cc118a61a39ca21d6ec234fd39749
2013-10-23 23:22:28 +02:00
Marcos Paulo de Souza
196f980012 fdo#54938: Replace existsValue for cppu::supportsService
As now ::comphelper::existsValue is not used anymore, we're removing this too.

Change-Id: I9bd2544a9c378f5a18746255133f5684867e0114
Reviewed-on: https://gerrit.libreoffice.org/6378
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-23 14:58:17 +00:00
Noel Grandin
8396cce9b5 clean up places accessing the NULL at the of an OUString
There were only a couple of real bugs fixed, but we're a little
bit safer now.
This also fixes the assert and the comment in OUString::operator[]
about this.

Change-Id: Ibe16b5794e0ba7ecd345fa0801586d25b015974c
2013-10-23 13:12:55 +02:00
Thomas Arnhold
f852bda5ec clean up some include guards
Conflicts:
	sw/source/ui/inc/content.hxx

Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6
Reviewed-on: https://gerrit.libreoffice.org/6388
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23 10:28:07 +00:00
Marcos Paulo de Souza
8f6d2eef50 fdo#54938: Kill ServiceInfoHelper::supportsService and use cppu's instead.
Change-Id: I1c2d95e4c3fb6242dcb4cdb88cf9733471a3412b
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-23 11:05:43 +02:00
Tor Lillqvist
e165bf2af0 Define SAL_MATH_FINITE for Android, too
Using the same "finite()" as on (GNU/)Linux seems to work.

Change-Id: Iad3baa967194f09d7ca25fb9b316b780de5bb90f
2013-10-23 10:49:21 +03:00
Stephan Bergmann
5040ad523e Remove unnecessary component_getProcessComponentContext C wrapper
Change-Id: I9d9f1a542dbbfc461dd27c32b57e4cad5532fab0
2013-10-22 23:49:06 +02:00
Stephan Bergmann
bcc31e249f Simplify SVLIBRARY
Change-Id: Ib1c3cdca7652f5621ba79b1e3590a9241021c389
2013-10-22 23:49:06 +02:00