summaryrefslogtreecommitdiff
path: root/sax/source
AgeCommit message (Collapse)Author
2013-12-04Get it to build.Kohei Yoshida
Change-Id: Ib1cb82d46322bd7c6791fa9a8937492ef27ec370
2013-12-04sax: stop using SAX_DLLIMPLEMENTATION for both sax and fastsaxMichael Stahl
Change-Id: I243ec20015beec6b98ee0af55eb7c387008f32f1
2013-12-04no inheritance so no virtual neededMarkus Mohrhard
Change-Id: Ia6c481bbf5353db4c2801a53ae1455534c6978bd
2013-12-04Hide the implementation.Kohei Yoshida
Change-Id: Ibfd9bf626a40c3ec4eb18d09944e8943163595c8
2013-12-04Add 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-04Move this header out into a public place.Kohei Yoshida
Change-Id: I356b26947d1018276d8a9ff6012fdad3ca2c0fd8
2013-12-04Remove inline methods from the header.Kohei Yoshida
Change-Id: Ie2cff194c1db5eaa992c4bcaaa06ec9a419d85a7
2013-12-04Move this out of the namespace scope.Kohei Yoshida
Change-Id: I4aec1d45edb47ea16adaa8d2ac23340b8f421bae
2013-12-04fastparser: Outline virtual destructor to please MSVC++.Michael Meeks
Change-Id: I8368698e80e5ebe339b822a9e0e767e8ba867e07
2013-12-04fastparser: strncmp needs a length.Michael Meeks
Conflicts: sax/source/fastparser/fastparser.cxx Change-Id: I11a92d59ca5e973ed79e6a799a2ca5fa532a2b65
2013-12-04fastparser: special case xmlns more sensibly.Michael Meeks
2013-12-04fastparser: Avoid copying all tokens into a sequence.Michael Meeks
2013-12-04fastparser: don't waste cycles churning reference counts.Michael Meeks
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-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-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 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
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I50ec542176d1f6dbc731a0b20380c77930aa8fdc
2013-10-02WaE: unused variableTor Lillqvist
Change-Id: I15cdfface36f75180e5f5962c1be4d4ceb2728b9
2013-10-02-Werror,-Wunused-functionStephan Bergmann
Change-Id: Ic8692444519af1d5d3532b2cd348fe3194ab47d4
2013-08-23cppcheck: fix duplicate if/elseJulien Nabet
I don't know if it's possible to parse EBCDIC knowing that there are several implementations So I commented the block and added a TODO. => no time wasted for this block (ok "micro waste")+ 1 less cppcheck report Change-Id: I72b72b68295eab7be5332166b955adaddf6ee5c3
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-15Mark as constTakeshi Abe
Change-Id: Ic7ee570935b5d827dc01a483877ea5021da5abea
2013-08-01Mark as constTakeshi Abe
Change-Id: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7
2013-07-21Remove unused convertDateTimeTZ and convertDateTZJulien Nabet
Change-Id: I177584f6988cf3cb31c5508262d3907ef6be23d7
2013-07-15OUStringBuffer doesn't have append() overload for const char*Luboš Luňák
Change-Id: Ibde8e2021d33f01f91486fb6d3e24e7af0a47744