Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
...instead of sal_Bool, to work around MSVC warning C4805: unsafe mix of type
'sal_Bool' and type 'bool'.
Change-Id: Ia3477539ccc23aa9daec49d633f023d414f2b4bf
(cherry picked from commit 8ee7c47404cdf408bcd3b6ea0267fbe54193c93f)
Reviewed-on: https://gerrit.libreoffice.org/650
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
|
|
Change-Id: I95d23e6728571b3f3a6421a05fec814f7c5d059c
Signed-off-by: Fridrich Strba <fridrich.strba@graduateinstitute.ch>
|
|
It appears that on Windows at least some jvm.dll versions can cause calls to
_fileno(NULL), which leads to a call of the invalid parameter handler (see
<http://msdn.microsoft.com/en-us/library/ksazx244%28v=vs.80%29.aspx> "Parameter
Validation: Visual Studio 2005"). The default handler causes the application to
crash, so install a "harmless" one instead.
Change-Id: Id6a3ffb63f70b0c65546bc933e994c8dbf35203c
(cherry picked from commit a82e532ce006c54b2740de74d1da5d11307da7c1)
Reviewed-on: https://gerrit.libreoffice.org/564
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
|
|
Turns out 608fe962cc649ad62c489811d3a8666e0e06e5e7 "Let osl::FileStatus getters
assert programming errors" was overly optimistic and misunderstood that
osl_getFileStatus(..., nMask) /can/ return a FileStatus for which isValid(nMask)
is false, esp. for stuff like file names and URLs of Windows drives and servers.
That in turn leads to existing code now calling
rtl::OUString(_aStatus.ustrFileName) etc. with null argument and crashing.
Change-Id: Icd2168e209aa1c7a6df30cd954513d01034923db
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
|
|
<http://msdn.microsoft.com/en-us/library/45119yx3%28v=vs.80%29.aspx> "toupper,
_toupper, towupper, _toupper_l, _towupper_l: Visual Studio 2005" states: "In
order for toupper to give the expected results, __isascii and isupper must both
return nonzero." But a community comment clarifies: "This is incorrect, and
should refer to '_toupper' (the macro form), not 'toupper'." (Which makes
sense, as otherwise toupper would violate the C Standard.)
And indeed, at least for some LO built against MSVC 2008 Express on Windows 7,
_toupper('C') = '#' is broken, while toupper('C') = 'C' is good. (And the
unexpected '#' then causes all sorts of errors in the code.)
Change-Id: Iddaddcaf0cc3ffb30e55b0f410a6cfe9118accc8
Signed-off-by: Petr Mladek <pmladek@suse.cz>
|
|
...where the restart is directly from the old soffice instance, via exec, so the
restarted soffice would inherit all open fds from the old one. The easiest
approach appears to close fds upon startup.
Change-Id: I89bb1c78f3adf2da1cd3cbd58c22df276133a883
(cherry picked from commit d5e9c2e3e85a2bcdd6a0b2088253fc133e52e831)
|
|
...the mangled names of the corresponding symbols change with MSVC if you change
a member from public to protected. This had been changed with
6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6"
but should only be necessary for GCC, not for MSVC, so can simply be reverted
under _MSC_VER.
Change-Id: Id22aadaff3d7f30ed824f39fe22eab7ca39bd408
(cherry picked from commit 271c4e2fe53c6fe159789db27507804133e72814)
|
|
Change-Id: I86c06fc3f7dcd0a24898a602a60c10abdc588b81
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
|
|
Change-Id: I062179fca29034602ffc18ad7e2b7de2988dac2f
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
|
|
Change-Id: I145731d9f28faf0065f5960f2c5a32f27d8c8620
|
|
Change-Id: I2c166c63e9d2ab7d60bb404f643045678ef239a2
|
|
Change-Id: I368b9538e3c2e6242fcdcabb4f8c716e17b02d88
|
|
Change-Id: I757615e134eddc1f212533e3e950827e7180c278
|
|
Change-Id: I6b23bd671c3c090a7c3b60d5301c59da5f9354d5
|
|
Change-Id: Iafa2c1805eea2f521479dc97d5668d82b1c91bef
|
|
More information on this thread:
http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html
Change-Id: Ib70532ad72e8418e1036bd52c07dc6452508cd12
|
|
Change-Id: I8f99399faa3b0762bdea2aac09f1b849639cd191
|
|
see http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html
Change-Id: I4b3b2c87031ab48641e78fce56bd7f86c606b48b
|
|
Change-Id: I241be2704a069ec1f6be5861084039569673cc12
|
|
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
|
|
|
|
Unfortunately this --enable-dbg-util only problem (caused by
_GLIBCXX_DEUBG) resurfaced, perhaps because of new std::string based
logging in sal; adapt all map files to export the unique symbol.
|
|
Change-Id: Ie7d17f0ceb2e549b84c0cc16768604511e0e51a5
|
|
Change-Id: I293fa84452f00a41f4a33d4a45eee6d1a32ff761
|
|
On a (non-rooted) device it is not possible to set the
log.redirect-stdio property so that it would be effective (i.e. read
by the Zygote process when it starts). Such redirection has to be done
in-process.
Add a (JNI-callable) method to set it up: Point file descriptors 1 and
2 at pipes that are read by a thread that logs each line through the
Android logging API. Code based on Android's own logwrapper.c.
Change-Id: Id5308293595096a44a2ffed2dbc0c252be109de7
|
|
Change-Id: I35a1a270f5eab2250ed0ef50c6bf6c9dbec4f42e
|
|
Variables should have module name as prefix to prevent collisions.
|
|
Change-Id: I6a178f7ff9c8306e15bcfa847ad1e5e4f8476504
|
|
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
|
|
gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC):
/rtl/string.hxx:1037:67: error: assuming signed overflow does not occur
when assuming that (X + c) < X is always false [-Werror=strict-overflow]
|
|
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
|
|
we have an optimized equals which checks that the strings being
compared for equality share the same underlying pImpl, but out
operator== implementations don't use it!
Change-Id: Ie5c464494ff875315a5ca369a2da80c22c29f431
|
|
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file
Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
|
|
Change-Id: I66dae812f3aea0534907316a7fb41b35ad37be48
|
|
|
|
|
|
Build error on tinderboxes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
avoids the problems of dangling uno singletons invalidated after the first
dispose and the chain of other singletons that don't expect to need to
re-initialize, etc.
reenable editeng cppunit test
inherit i18npool cppunit test from unotest base
drop LibreOfficeProtector, do "throwable" work in setUp/tearDown not
in ctors/dtors
|
|
|
|
|