summaryrefslogtreecommitdiff
path: root/sax
AgeCommit message (Collapse)Author
2013-12-03sax: stop using SAX_DLLIMPLEMENTATION for both sax and fastsaxMichael Stahl
Change-Id: I243ec20015beec6b98ee0af55eb7c387008f32f1
2013-12-03we need to pass the variable to get correct dll linkageMarkus Mohrhard
Change-Id: I447218101e1791375273580a313dd54708303d7a
2013-12-03no inheritance so no virtual neededMarkus Mohrhard
Change-Id: Ia6c481bbf5353db4c2801a53ae1455534c6978bd
2013-12-02Hide the implementation.Kohei Yoshida
Change-Id: Ibfd9bf626a40c3ec4eb18d09944e8943163595c8
2013-12-02Add a means to check if a namespace exists.Kohei Yoshida
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-02Move this header out into a public place.Kohei Yoshida
Change-Id: I356b26947d1018276d8a9ff6012fdad3ca2c0fd8
2013-12-02Remove inline methods from the header.Kohei Yoshida
Change-Id: Ie2cff194c1db5eaa992c4bcaaa06ec9a419d85a7
2013-12-02Move this out of the namespace scope.Kohei Yoshida
Change-Id: I4aec1d45edb47ea16adaa8d2ac23340b8f421bae
2013-11-27Urgh - add embarassingly missing ~Michael Meeks
Change-Id: I6ffcb1561920eba2cbc3fa019431d84f07386570
2013-11-27fastparser: Outline virtual destructor to please MSVC++.Michael Meeks
Change-Id: I8368698e80e5ebe339b822a9e0e767e8ba867e07
2013-11-26fastparser: strncmp needs a length.Michael Meeks
2013-11-26Presumably wants to use strcmpStephan Bergmann
Change-Id: I978a692fbf464b476811b445b16c7e1b0eec9e25
2013-11-26fastparser: special case xmlns more sensibly.Michael Meeks
2013-11-26fastparser: Avoid copying all tokens into a sequence.Michael Meeks
2013-11-26fastparser: don't waste cycles churning reference counts.Michael Meeks
2013-11-24cppcheck: fix same expression on both sidesJulien Nabet
Change-Id: I3de69e2ae186ea1ae8f792588c04b4e799ce1331
2013-11-23fastparser: avoid allocation and conversion of elementnames we don't need.Michael Meeks
Change-Id: I4c09aaa12b53181e50662de2721d170c195c7c86
2013-11-22getChar() to return a null-terminated char array.Kohei Yoshida
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 Yoshida
In SheetDataContext::importCell(). Change-Id: I52db64219f672ea5fbbda17686bf1173ceac5926
2013-11-20fastparser: avoid excessive alloc/frees for int / bool / double parsingMichael Meeks
Change-Id: I596bbc723558f04588d9e767d64732164524e57a
2013-11-20fix spelling in commentNoel Grandin
Change-Id: Icae96e2b64709b2a9aaf6a5576c29d9d5c8a9868
2013-11-20sax: -Werror=sign-compareMiklos Vajna
Change-Id: I2e7d482b29fc5859c32fa1731a5f1fd551509e88
2013-11-19fastparser: accelerate value tokenisation as well.Michael Meeks
Change-Id: I99a39e91c684adb1fc92cdb466477cfa90104961
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza
Change-Id: Id6bed78d92eba52283a17ab3ca66e751c225e48d Reviewed-on: https://gerrit.libreoffice.org/6423 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21Remove comphelper::ComponentContextStephan Bergmann
Change-Id: Idc5974e5a2ec68e8f1b2312a88fab15092c82788
2013-10-21FastTokenHandler service should apparently have a default constructorStephan Bergmann
Change-Id: Iad5c4e05832128b5f41860cc4ae96f0472c37491
2013-10-21WaE: unreferenced local variableTor Lillqvist
Change-Id: I9783f03e656049b4f3b7f0a26a7ae626db5a13f6
2013-10-17sax: build fix: don't prefix enum valuesMatúš Kukan
Change-Id: I6f4eac6103821227bc72de8c3bb0fb89a7a8bc9d
2013-10-17sax_attributes: needs cppuhelper on WindowsMatúš Kukan
Change-Id: I5c9fca7f895b57fcfc5cdd8e5cbd879c74fbbf04
2013-10-17sax_parser: needs also boost_headersMatúš Kukan
Change-Id: I2b0dd5a63d3a0d064c6431e01ad76fff111b67e6
2013-10-17sax: fix build: needs explicit typeMatúš Kukan
Change-Id: I5a5c52215b0177d663f0694515240c3f95a3ab40
2013-10-17fastparser: don't use multithreading for small documentsMatúš Kukan
Determined by XInputStream::available(). Change-Id: I450f4796d9c072b395393582bfc3e1e7768e243b
2013-10-17fastparser: don't create temporary Events; use references to event listMatúš Kukan
Change-Id: I1e12fbeeb90d6020d0566d05fc0318082e1da5fc
2013-10-17fastparser: reuse event lists if possibleMatúš Kukan
Instead of allocating and freeing the memory all the time. Change-Id: I53800abaca51d42d7d44a98fb271de7df7f90f58
2013-10-17fastparser: re-work locking, add high & low watermarks, change sizes etc.Michael Meeks
Change-Id: I7fe1435addc6dce5a74a8411f7825cea331a5b3f
2013-10-17fastparser: implementation using two threadsMatúš Kukan
Instead of calling methods directly, generate EventList - vector of Events, where arguments for the callee are stored. Change-Id: I227a0ef3038566664ac8f294770152c8b445997b
2013-10-17fastparser: cache default namespace token for ooxml.Michael Meeks
Change-Id: Iee98ec92380d6d0404ab236e062ddbc2378cda43
2013-10-17FastAttributeList: avoid OStrings in attribute list; just use char bufferMatúš Kukan
Change-Id: I4879563fae3b85c68bbd1c4b260f9833848f4bda
2013-10-17FastAttributeList: use vectors instead of map; the size is smallMatúš Kukan
This is also preparation to avoid OString internal usage. Change-Id: If0ea36155d8ab3f5c91c2aafd6932fabeadadd41
2013-10-17fastparser: remove duplicated OString version methodsMatúš Kukan
Also remove AttributeData and make the two for-cycles faster. Change-Id: If0343992173bb333eee39c33bcb86acaa5a3d288
2013-10-17fastparser: isolate calls to XFastContextHandler in Entity's methodsMatúš Kukan
Unfortunately, we have to store maNamespace in two stacks. One for future parser thread to compute tokens and one for main thread calling XFastContextHandler. Now we are prepared to implement multithreading. Change-Id: I421b55afa2e9ea80142e6068c7a515d31913ba69
2013-10-17fastparser: store mnNamespaceCount in another stackMatúš Kukan
This is preparation work for multithreading. mnNamespaceCount will be handled in parser thread and the rest in main thread. Change-Id: I571026ea499f6876b8dafb4e1bdc56d1add649e5
2013-10-17sax: add unit test for FastAttributeListMatúš Kukan
Change-Id: Ie87c80383991dca84b4f6e2074c5c53567ded0b6
2013-10-17sax: add unit test for FastSaxParserMatúš Kukan
Adapt FastSaxParser so that it does not require XFastDocumentHandler. Change-Id: I7af49752dfbb4b55b8dde094fe6b762bd179be78
2013-10-17remove not implemented method declarationMatúš Kukan
Change-Id: I340ab40724cc864920cea05db63440803e60e275
2013-10-11fastparser: don't allocate uno::Sequences when we don't need to.Michael Meeks
Change-Id: Ic2fff8cabbc077b6fc9dabffd2c6fcf555152b11