- 25 Şub, 2015 14 kayıt (commit)
-
-
Andras Timar yazdı
Change-Id: I6e0b093d99dba731ff5723d6575f887346463908 Reviewed-on: https://gerrit.libreoffice.org/14605Reviewed-by:
Miklos Vajna <vmiklos@collabora.co.uk> Tested-by:
Miklos Vajna <vmiklos@collabora.co.uk>
-
Ashod Nakashian yazdı
Fast bitmap scaling overflowed the LUT used by the nearest-neighbor algorithm. When a bitmap has 46k pixel on a side and is enlarged, the scaling code overflows the 32-bit long, resulting in negative indexes, which then segfaults. This isn't as rare as it sounds. At least in web-view in writer the border/shadow bitmap is as long as the document (which is an issue in its own right,) which can overflow for large documents during scaling and segfault. Change-Id: I1ccf73d02469f6601a9a7e67b30524cb497cf6bc Reviewed-on: https://gerrit.libreoffice.org/14597Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com>
-
Stephan Bergmann yazdı
At least in JunitTest_sw_unoapi it happens that this downcast is called from ~SwCharFmt -> ~SwFmt -> SwClient::ModifyNotification -> SwDepend::Modify -> SwClient::ModifyNotification -> SwEndNodeInfo::Modify, i.e., the downcasted object is in destruction and no longer an SwCharFmt but only an SwFmt. Whether or not that chain of calls is actually sane---casting down to merely an SwFmt is a quickfix at least. Change-Id: I33f0d76c42daa2530b8d417df059de57190c5070
-
Noel Grandin yazdı
Change-Id: I8eb0c9bda0883bc08aed3acd7eaa72480848c6f3
-
Jan Holesovsky yazdı
With this, ODF_text_reference_v3.odt does not report any broken services, but the app still crashes anyway - tdf#89642. Change-Id: If73835534184ffbac1c91b2c5bca33bded50c41f
-
Noel Grandin yazdı
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
-
Noel Grandin yazdı
Change-Id: I8484b985e46ad34fa45b02aa07130d3259336082
-
Noel Grandin yazdı
Change-Id: I795ce25011509de8f2aff488d4d46b86290ab3a3
-
Noel Grandin yazdı
Change-Id: Ic2391f4da06e26ee11a2463d2508b0dccdbf52bd
-
Noel Grandin yazdı
Change-Id: Icc3aad14d9d0c59c1c1c8f124f0626a9f947b93f
-
Stephan Bergmann yazdı
Change-Id: I352702ac50708a8f8c40e2752821178223052b7c
-
Miklos Vajna yazdı
Also remove code from SwRangeRedline::dumpAsXml(), where that extra data pointer seems to be ~always 0, so don't bother dumping it. Change-Id: I4509b9366c1862248fcd3cc7ca6bb257ea7517f8
-
Yousuf Philips yazdı
Change-Id: Ib6e23cbbcc7037dfdab53c4243091afbf819d445 Reviewed-on: https://gerrit.libreoffice.org/14613Reviewed-by:
Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by:
Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-
Laurent Godard yazdı
with unit testing Change-Id: I2a0e09f699c8489f61453b4144dd6181bd9b47fd Reviewed-on: https://gerrit.libreoffice.org/14603Reviewed-by:
Eike Rathke <erack@redhat.com> Tested-by:
Eike Rathke <erack@redhat.com>
-
- 24 Şub, 2015 26 kayıt (commit)
-
-
Julien Nabet yazdı
Change-Id: I2362c2c7a1c637b02eeebcae8ee1e3c0fc2b2422
-
Julien Nabet yazdı
Change-Id: Ie1c92ff5f65b019d3f1306917cd924036eea7909
-
Julien Nabet yazdı
Change-Id: I902fcb3fef7100279c34494e95cacfd3e5caf153
-
Julien Nabet yazdı
Change-Id: I5f2577dd1f047331a58d33e05684b673e6dbd11e
-
Julien Nabet yazdı
Change-Id: I4942a9ef4d3805865896c83cd9efa66437857ba1
-
Yousuf Philips yazdı
Change-Id: I0e6c0900d28e7f01ebf88bcabc7dc6d5bbdb1b6a Reviewed-on: https://gerrit.libreoffice.org/14594Reviewed-by:
Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by:
Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-
Eike Rathke yazdı
Change-Id: I88f1d0a134ffa3fbb9a5b5abdabbd4774f457e81
-
Caolán McNamara yazdı
bit/byte thinko I imagine Change-Id: I85ef6de4a4e6cffcd9c593eb15da692a2617736e
-
Caolán McNamara yazdı
so we could create bitmap devices that have the same stride that cairo expects, provide getBitmapDeviceStrideForWidth to get a default value Change-Id: I7ecc6f54a734b3f6bed59c699ac3b482c4ad7c47
-
Caolán McNamara yazdı
doesn't appear to be equivalent, first continue now skips second GetBound assign that original code would have done This reverts commit b56614c6. Change-Id: I113670064fd285795234ae9c9e09be0cc0697cd0
-
Stephan Bergmann yazdı
At least in CppunitTest_smoektest there is a case where SystemWindow::setOptimalLayoutSize tries to downcast a VclGrid as a VclBox (stack top below), and that even appears to be unnecessary as the only place that requires the downcast is the Dialog::settingOptimalLayoutSize override. So maybe it is guaranteed that GetWindow(WINDOW_FIRSTCHILD) is a VclBox if this is a Dialog, but need not be the case if this is not a Dialog? Or the real bug is elsewhere... SystemWindow::setOptimalLayoutSize() SystemWindow::DoInitialLayout() FloatingWindow::StateChanged(StateChangedType) SfxFloatingWindow::StateChanged(StateChangedType) SmToolBoxWindow::StateChanged(StateChangedType) vcl::Window::ImplCallInitShow() vcl::Window::Show(bool, unsigned short) SfxChildWindow::Show(unsigned short) SfxWorkWindow::HidePopups_Impl(bool, bool, unsigned short) SfxDispatcher::DoActivate_Impl(bool, SfxViewFrame*) SfxViewFrame::DoActivate(bool, SfxViewFrame*) SfxApplication::SetViewFrame_Impl(SfxViewFrame*) SfxViewFrame::SetViewFrame(SfxViewFrame*) SfxViewFrame::MakeActive_Impl(bool) SfxBaseController::ConnectSfxFrame_Impl(SfxBaseController::ConnectSfxFrame) SfxBaseController::attachFrame(com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) (anonymous namespace)::SfxFrameLoader_Impl::impl_createDocumentView(com::sun::star::uno::Reference<com::sun::star::frame::XModel2> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&, comphelper::NamedValueCollection const&, rtl::OUString const&) (anonymous namespace)::SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) framework::LoadEnv::impl_loadContent() framework::LoadEnv::startLoading() framework::LoadEnv::loadComponentFromURL(com::sun::star::uno::Reference<com::sun::star::frame::XComponentLoader> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) ... Change-Id: I786ad451fdf73eca22860695a614ee5b889a83cd
-
Bjoern Michaelsen yazdı
Change-Id: I45081f5f80c4a571af0abebd23a4fed6623498a0
-
Stephan Bergmann yazdı
Change-Id: I955d82d8dd7a6092feb1de03c7c6486125f30831
-
Tor Lillqvist yazdı
Note that checks in the code against exceeding that limit apparently are broken, though. After the previous change I ended up with an invalid PDF where the signature hex string in the output PDF had brutally overrun its allocation. Now Adobe Reader says "The signature includes an embedded timestamp but it could not be verified". This is progress. Perhaps I just need to tell Adobe Reader to trust the certificate from the TSA I used. Change-Id: I1e8644ee641592a985e0190b52bf76839f99b3e7
-
Tor Lillqvist yazdı
I think Adobe Reader expects the timestamp info to include the TSA's certificate. Change-Id: Iedf1c4a9952b12ac61b4ba7f73bee339480e821d
-
Tor Lillqvist yazdı
It it scary to keep pointers to stack variables that have gone out of scope in a data structure that is in an outer block and used there later. Change-Id: Iced8b809d50089a4e6f9867be9b8501cce59d16f
-
Stephan Bergmann yazdı
Change-Id: Idbde54c641531b34f397d07c5f929870c3a82371
-
Stephan Bergmann yazdı
Change-Id: Id770188f8c03cade5fd4f97295bb0933968dee71
-
Tor Lillqvist yazdı
Why is a separate field then needed? Dunno, but probably because the type and values fields make up an encoded NSSCMSAttribute. (The comment in <nss/cmst.h> says so, but it took a while before I realized what it meant.) The typeTag and encoded fields are for NSS internal use or something. Now Adobe Reader says "The signature includes an embedded timestamp but it is invalid". Progress... Change-Id: I390947db8d414a7ceecc1f67aaeed5fa0f66fe6f
-
Stephan Bergmann yazdı
Change-Id: I17fb441eac2593a0b43809f177250d46d6862a58
-
Tor Lillqvist yazdı
Not that it seems to help. Adobe Reader still claims "signing time is from the clock on the signer's computer". (Why can't RFCs come with standard C header files (and Java and C# sources) defining macros/constants for the magic numbers, OIDs etc that the RFC defines?) Change-Id: I56e8cb4ef56e20345506a080e4d23764d2dfb956
-
Stephan Bergmann yazdı
Change-Id: I239aee06ce543b6f7c213d845313ca51b3a5502d
-
Stephan Bergmann yazdı
Change-Id: I36baaa1cd46385430474f8a841eafaaba07a18fc
-
Noel Grandin yazdı
Change-Id: I5170b9bbc4a3acab8307f7ad5ebc5e4ba9d58352
-
Miklos Vajna yazdı
To avoid code duplication in SwRangeRedline::dumpAsXml() and SwFrm::dumpAsXml(). Change-Id: Ic473cd77e960041b035b147dd31c16b141cc7cbe
-
Yousuf Philips yazdı
Change-Id: Ibbc804ad2082c749160872a4460a45af8f985559 Reviewed-on: https://gerrit.libreoffice.org/14598Tested-by:
Yousuf Philips <philipz85@hotmail.com> Reviewed-by:
Yousuf Philips <philipz85@hotmail.com>
-