summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2013-12-13prewin.h: remove silly extern "C" nonsense which prevents...Michael Stahl2-15/+0
... using prewin.h/postwin.h around ATL headers. Also remove some other cruft while at it. Change-Id: I7d081dae88273dfd214ef078f5844ce266e388fb (cherry picked from commit f5a54cbf120efb335205e00ba18a9038449b92c9)
2013-12-13Targetted text updates, with seasonable changes before l10n freeze.Michael Meeks3-3/+3
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-13startcenter: The welcome text was too long, split it to 2 lines.Jan Holesovsky1-1/+2
Change-Id: I23d6a4bf8d9c3b2531dd95e4ea293ce7225bf8f1
2013-12-13startcenter: Tooltip should show the full URL.Jan Holesovsky2-0/+6
Change-Id: Ia8e071ebe00fb8c72973614077e778aef55fb1ab
2013-12-10sax, xmloff: fix ODF import/export of text:time/text:time-valueMichael Stahl1-0/+10
The value written for an Impress time field is something like text:time-value="0000-00-00T23:28:07" (in LO 3.5+) or text:time-value="0-00-00T23:28:07" (in OOo 3.3) which contains an invalid all-zero date. Such values are actually rejected by the ODF import since commit ae3e2f170045a1525f67e9f3e9b7e03d94f2b56b. Actually there was no real support to read the RelaxNG type timeOrDateTime before. So fix that by: - adding convertTimeOrDateTime/parseTimeOrDateTime functions to sax::Converter - recognizing and ignoring the 2 invalid all-zero values written by LO 3.5 and historic OOo respectively - writing a bare "time" in text:time-value if the DateTime struct contains zero Date members (Older OOo versions and AOO cannot actually read that, but everything they _can_ read is invalid ODF...) Change-Id: I754076caee74a5163ed3f972af0f23796aa14f9f (cherry picked from commit cc407e50e8a1a74f9d1ed29d444dce9bd2e9167a)
2013-12-10editeng: fix more 32-bit Time breakageMichael Stahl1-3/+3
SfxDateTimeItem and SvxExtTimeField need to use 64-bit integer to store Time as well. These classes also have binary serialization Load()/Save() methods but they are unlikely to be used in a persistent way, just for the clipboard. The problem is easy to reproduce in Impress: Insert->Field->Time(fixed) (regression from 9830fd36dbdb72c79703b0c61efc027fba793c5a) Change-Id: I5946c5b94dd5a509805b6dc40461bbd910caffc4 (cherry picked from commit 7b9c61c7f20a679c5316a288c2ec2ffbf04b4200)
2013-12-09fdo#72267 boolean_test is subsumed by general case "foo IS [NOT] bar"Lionel Elie Mamane1-1/+1
Change-Id: Ie9666b1c8878dd26593629b4b64d74b7448f98c1 Reviewed-on: https://gerrit.libreoffice.org/6974 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-09Zip .ui translations per UIConfig target.Matúš Kukan1-0/+2
Fix installer / scp2 to not ignore directory prefix in 'Name'. Change-Id: Ib319363c8be73a72029f1ba3833e518e15c55e29 Reviewed-on: https://gerrit.libreoffice.org/6915 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-12-05oox: render progress bar in main thread for threaded import.Michael Meeks2-3/+4
Experimental only. This avoids ,us deadlocking as the main thread tries to join it's children, and the child threads wait to 'Yield' in the progress bar update. Also it's generally safer to move progress reporting out of the other threads, and to have the mainloop spinning here. Finally this allows people to continue to use the LibreOffice suite while large XLSX spreadsheets are loading. Change-Id: Id41c18f3941d6fc5eea593f7cfcf6a8b7215b3f8
2013-12-05fdo#68724: sw: fix crash on Insert->File with Hybrid PDFMichael Stahl1-1/+9
This is an unfortunate combination of 2 special cases: - the Hybrid PDF has its own XFilter implementation to extract the embedded ODF document - Writer needs to create a SwReader with SwPaM for Insert Since the PDF XFilter uses a special service in sfx2 to implement the import, handling this requires a new method in SfxObjectShell that calls back into Writer to create the properly setup SwReader. Change-Id: Ie85f3bfa322bfe883c479e1cb198a8bf0cbbac23 (cherry picked from commit c5138cad87575283cdf0670355f2b2cddae93fc8)
2013-12-04Get it to build.Kohei Yoshida1-3/+4
Change-Id: Ib1cb82d46322bd7c6791fa9a8937492ef27ec370
2013-12-04sax: stop using SAX_DLLIMPLEMENTATION for both sax and fastsaxMichael Stahl2-2/+38
Change-Id: I243ec20015beec6b98ee0af55eb7c387008f32f1
2013-12-04Hide the implementation.Kohei Yoshida1-112/+9
Change-Id: Ibfd9bf626a40c3ec4eb18d09944e8943163595c8
2013-12-04Add a means to check if a namespace exists.Kohei Yoshida3-2/+9
Useful when we just need to check if the stream has a certain namespace defined. Calling getNamespaceURL() may throw SAXException in such case. Change-Id: Ib2b7b202492390158270d87bab95d1793c9d8a70
2013-12-04Move this header out into a public place.Kohei Yoshida2-0/+183
Change-Id: I356b26947d1018276d8a9ff6012fdad3ca2c0fd8
2013-12-04fastparser: Outline virtual destructor to please MSVC++.Michael Meeks1-1/+1
Change-Id: I8368698e80e5ebe339b822a9e0e767e8ba867e07
2013-12-04fastparser: Avoid copying all tokens into a sequence.Michael Meeks3-3/+40
2013-12-03Support regression curve name in OOXML (import & export).Tomaž Vajngerl1-1/+1
Change-Id: I847e0df4f160e4b5078961a0e77c1e1e3fff9bd4 Reviewed-on: https://gerrit.libreoffice.org/6875 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-12-03Support regression curve name in ODF.Tomaž Vajngerl1-0/+1
Change-Id: Ic065d63eee507906febfa15eb6d5ae1e7de58280 Reviewed-on: https://gerrit.libreoffice.org/6874 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-12-02added isOOXML()Eike Rathke2-0/+10
Change-Id: I9e088e1d6679297884d71604b03537b73ee3387c (cherry picked from commit 5a5b35c979acf303d99a365b6735148d4f0ab817)
2013-12-02Resolves: #i74854# fix buttons in MsgBox with info iconHerbert Dürr1-0/+2
Patch by: hanya.runo@gmail.com Found by: ooo@catcons.co.uk Tested by: hdu@apache.org (cherry picked from commit 02cc651a1b45cbfbdab0aca6b57bff7bdf9e4f2c) Conflicts: basic/source/runtime/methods.cxx vcl/inc/vcl/msgbox.hxx Change-Id: I1656263e189f1a6cfa58436741bfa74ae0e6fffa (cherry picked from commit 3a437baee23d45ab64d557fed75e2e1b14aa5541)
2013-12-02Allow worker threads to use their own FastParser instances.Kohei Yoshida1-3/+5
To prevent deadlock during threaded sheet stream parsing. It now deadlocks at a different place. Conflicts: oox/source/core/xmlfilterbase.cxx sc/source/filter/oox/workbookfragment.cxx Change-Id: I0ba0f2c9a257e71b0a340ab14e369b06d5fd8829
2013-12-02added Kurdish, Southern (Iran) [sdh-IR] to language list, fdo#63460Eike Rathke1-0/+1
Change-Id: I575c8a51cff1cf451c776818711d2e0fd458a322 (cherry picked from commit fefacbd92f4e3355ecd04841b8eacc75a4a67223)
2013-12-02Resolves: fdo#71527 make presenter console not crash/uselessThorsten Behrens1-1/+4
Basically reverts the pieces of 21ec9beae29b19b8ec6f0a16fd0e708e4f210208 to make XSpriteCanvas a XBitmapCanvas again Otherwise PresenterHelper::loadBitmap is not an XBitmapCanvas and so VclFactory::createBitmap cannot succeed (cherry picked from commit 639aa8e72639fd01e9004977f1cfaafc13b1e45f) Revert "Resolves: fdo#71527 make presenter console not crash/useless" This reverts commit 639aa8e72639fd01e9004977f1cfaafc13b1e45f. (cherry picked from commit 72aa51185fb7b1ff2ad9006f2067a680b70ab66d) Revert "Resolves: fdo#71527 don't crash in presenter console" This reverts commit bae01385c895a100b5371879889e606927cff877. (cherry picked from commit b807b2d9291a2328a55de55d67c4874803d8b7fd) Fix fdo#71527 no unguarded ptr dereference here. This is the real problem - mxPane can be validly NULL. (cherry picked from commit 1b10205c2cb952ab43e30706c05f78d6e8f642c3) Further XCanvas != XBitmapCanvas cleanup. It seems I missed a few places in 21ec9beae29b19b8ec6f0a16fd0e708e4f210208, getting that straight now hopefully. (cherry picked from commit 05d2994c136650deca2d80fedf6b14d10109986e) 0ac1a7ada530791e2d34d2f0802213c869ea48a1 d149bae0904fd6c2120209d69490d0b257ac3f64 e8d055db9bfb68cb9031fa970518343f5aec6619 34fc8df2d1ee65bef0639b3de9487ff311bed89a Change-Id: I197adf98e915102f383ee050a8ea16d1e41cecf2
2013-11-27EMF+: Line thickness has to be considered when drawing the caps.Jan Holesovsky1-1/+6
Change-Id: I6043ee3c214f453afaef06125993c73be624c07e
2013-11-22fdo#71722 add Excel 2010 functionsWinfried Donkers2-1/+9
EXPON.DIST, HYPGEOM.DIST, POISSON.DIST, WEIBULL.DIST Change-Id: Ib9f648739ec0af90cdf2f576c7f548a6acb7b4a6 Reviewed-on: https://gerrit.libreoffice.org/6748 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit e434c1ce0557454ef4cdd98435c5c0b1d5181bcf)
2013-11-22getChar() to return a null-terminated char array.Kohei Yoshida2-8/+2
No need to fetch string size with this change. Change-Id: Iae5f6c60430fc57985a0fec5bfec59727e5a8f0f
2013-11-20Expose raw char array and use it to avoid OUString allocations.Kohei Yoshida2-0/+10
In SheetDataContext::importCell(). Change-Id: I52db64219f672ea5fbbda17686bf1173ceac5926
2013-11-20Elide utl::ConfigItem_ImplStephan Bergmann1-9/+6
...and utl::ConfigItem::IsValidConfigMgr is always true. Change-Id: I37e295729c3d0ae12719f0ae6f5a5628c58d0b9f
2013-11-21Use SAL_INFO() instead of printf()Tor Lillqvist1-0/+1
printf() and SAL_INFO() / SAL_DEBUG() output apparently don't end up in correct order in a cppunit log file which can be extremely confusing. So let's use SAL_INFO() (with the tag sc.qa) for the qahelper debug output. Change-Id: I529482c07651f84688ec5751d2b3dfc7d89cb4ca
2013-11-20fdo#71436 add Excel 2010 functions for F-distributionWinfried Donkers2-1/+11
Added F.DIST.RT, F.INV.RT, F.TEST, which are renamed FDIST, FINV and FTEST and handle the right tail F-distribution. Added F.DIST and F.INV, which are new functions and handle the left tail F-distribution. Change-Id: Ia7fa26a25f3188249f280733d6111951e2600704 Reviewed-on: https://gerrit.libreoffice.org/6701 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-20WIP commit of threaded OpenCL compilation workTor Lillqvist1-0/+1
Change-Id: I210d0ded9cb38569b0831355522d8309cee05f56
2013-11-20Resolves: fdo#70703 guard against FlushImpl inside FlushImplCaolán McNamara1-2/+31
where the inner one deletes Shells that the outer one is still processing. Push the candidates onto a stack and let inner FlushImpl modify them to inform outer FlushImpl's that an entry has been deleted Change-Id: I1db8546d53e24cc96c72f2cd5cbec57b6cecaff5
2013-11-20avmedia: Implement "block untrusted referer links" featureStephan Bergmann6-9/+15
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block untrusted referer links' feature" for details. This adds some further /*TODO?*/ comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not blocked during a slideshow presentation. Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-20fastparser: avoid excessive alloc/frees for int / bool / double parsingMichael Meeks2-0/+10
Change-Id: I596bbc723558f04588d9e767d64732164524e57a
2013-11-20fdo#65355 Ruler Comment control doesn't disappearsRodolfo Ribeiro Gomes1-1/+1
ImplDraw() should not be directly called because it avoids overriden Paint() method. Change-Id: I0f0f6b4af231c1ea50a23fb96f3c9018b5ce2d31 Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/6707 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20sal_Bool to bool in VCL Timer and minor cleanupsRodolfo Ribeiro Gomes1-12/+5
Change-Id: I72e3987af4509239b2e989483b7396512c17e48b Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/6695 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-19fastparser: accelerate value tokenisation as well.Michael Meeks1-0/+13
Change-Id: I99a39e91c684adb1fc92cdb466477cfa90104961
2013-11-19need a String::EraseAllChars-alike for OUStringBufferCaolán McNamara1-0/+23
Change-Id: I189c08a4100b32b16527ae40df3a9125bf78be88
2013-11-19uia: merge VCL pieces of IAccessible2 work.Michael Meeks2-10/+27
Original code from: Author: Steve Yin <steve_y@apache.org> Date: Sat Nov 16 23:58:19 2013 +0100 Integrate branch of IAccessible2 With these improvements: Make IAccessible2 an experimental feature, with fallback to Java a11y. Move initial setup of windows into the bridge and clean, remove conditionals Check for presence of AT in the bridge as well to clean. Merge VCL events extensions and their handling. Clean and split WB_GETOBJECT handling out to it's own method. Add component prefix namespacing. Cleanup msaa service info, and implement XComponent to share mxAccessBridge. Add suitable debugging output, remove VCL dependency from UAccCOM causing registration issues. Change-Id: Ib19e38ddca71182018df438df27dcdb555d91402
2013-11-19Gbuildify winaccessibility serviceDavid Ostrovsky1-0/+2
Conflicts: winaccessibility/source/UAccCOM/UAccCOM.def winaccessibility/source/service/AccObjectWinManager.cxx winaccessibility/source/service/checkmt.cxx winaccessibility/source/service/checkmt.hxx Change-Id: Ia66872bee7c70c840c1bd5caa626bf63eac9ef7c
2013-11-18Make FormulaCompiler explicitly non-copyable.Kohei Yoshida1-1/+2
Change-Id: Ie0618c7e6e3854d54f117c3fe957925f3f81ac46
2013-11-18cleaned up ISO code usage for Kurdish, fdo#63460Eike Rathke1-2/+4
* instead of the 'ku' macrolanguage code use proper ISO 639-3 codes and use 'Latn' script with 'kmr' * use MS-LCID 0x0492 for Central Kurdish (Iraq) [ckb-IQ] * added Southern Kurdish (Iraq) [sdh-IQ] Change-Id: Iaee8be98d0659a0e7bbf041e60025dd1f771066f
2013-11-18Simplify avmedia::MediaItem::setURLStephan Bergmann1-1/+1
Change-Id: I9835b96813c6bf3d8690cdaa5de66ca07afdc801
2013-11-18Simplify MediaWindow::mpImplStephan Bergmann1-1/+2
Change-Id: Ia466a08a8135a7f2e43278354c767be3a063550a
2013-11-18avmedia::getMediaFloater clean-upStephan Bergmann1-12/+14
Change-Id: I76dcf42267cbb1f028d0501471b569fa6b7b91d5
2013-11-18want to be able to support non homogeneous buttons in buttonboxesCaolán McNamara1-0/+7
Change-Id: I7ea4c093d6318a24106542f851cfd58230bc3ea3
2013-11-18SfxMedium::LockOrigFileOnDemand return value is never usedStephan Bergmann1-1/+1
Change-Id: I2f64cc8fbe78354f9ded7a9a6bf03d9c597b3897
2013-11-17Make this compile for Android againTor Lillqvist1-25/+41
Change-Id: I0b476873f76e6dd480868ec4d443718cab36cf24
2013-11-15added units MLODpxes and MLORipsPtyl Dragon1-39/+59
Change-Id: Ica09fbd0f6a822f464df302dba4cf40d1d089697