summaryrefslogtreecommitdiff
path: root/sax
AgeCommit message (Collapse)AuthorFilesLines
2013-11-23fastparser: avoid allocation and conversion of elementnames we don't need.Michael Meeks1-1/+5
Change-Id: I4c09aaa12b53181e50662de2721d170c195c7c86
2013-11-22getChar() to return a null-terminated char array.Kohei Yoshida1-7/+1
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 Yoshida1-0/+21
In SheetDataContext::importCell(). Change-Id: I52db64219f672ea5fbbda17686bf1173ceac5926
2013-11-20fastparser: avoid excessive alloc/frees for int / bool / double parsingMichael Meeks1-0/+25
Change-Id: I596bbc723558f04588d9e767d64732164524e57a
2013-11-20fix spelling in commentNoel Grandin1-1/+1
Change-Id: Icae96e2b64709b2a9aaf6a5576c29d9d5c8a9868
2013-11-20sax: -Werror=sign-compareMiklos Vajna1-1/+1
Change-Id: I2e7d482b29fc5859c32fa1731a5f1fd551509e88
2013-11-19fastparser: accelerate value tokenisation as well.Michael Meeks3-37/+49
Change-Id: I99a39e91c684adb1fc92cdb466477cfa90104961
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin3-18/+18
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin2-103/+103
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11remove unnecessary use of OUString constructorNoel Grandin2-27/+27
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza3-27/+6
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 Lillqvist1-1/+1
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21Remove comphelper::ComponentContextStephan Bergmann1-3/+4
Change-Id: Idc5974e5a2ec68e8f1b2312a88fab15092c82788
2013-10-21FastTokenHandler service should apparently have a default constructorStephan Bergmann2-9/+5
Change-Id: Iad5c4e05832128b5f41860cc4ae96f0472c37491
2013-10-21WaE: unreferenced local variableTor Lillqvist1-1/+1
Change-Id: I9783f03e656049b4f3b7f0a26a7ae626db5a13f6
2013-10-17sax: build fix: don't prefix enum valuesMatúš Kukan1-17/+17
Change-Id: I6f4eac6103821227bc72de8c3bb0fb89a7a8bc9d
2013-10-17sax_attributes: needs cppuhelper on WindowsMatúš Kukan1-0/+1
Change-Id: I5c9fca7f895b57fcfc5cdd8e5cbd879c74fbbf04
2013-10-17sax_parser: needs also boost_headersMatúš Kukan1-0/+4
Change-Id: I2b0dd5a63d3a0d064c6431e01ad76fff111b67e6
2013-10-17sax: fix build: needs explicit typeMatúš Kukan1-4/+4
Change-Id: I5a5c52215b0177d663f0694515240c3f95a3ab40
2013-10-17fastparser: don't use multithreading for small documentsMatúš Kukan2-28/+57
Determined by XInputStream::available(). Change-Id: I450f4796d9c072b395393582bfc3e1e7768e243b
2013-10-17fastparser: don't create temporary Events; use references to event listMatúš Kukan2-78/+72
Change-Id: I1e12fbeeb90d6020d0566d05fc0318082e1da5fc
2013-10-17fastparser: reuse event lists if possibleMatúš Kukan2-12/+29
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 Meeks2-6/+37
Change-Id: I7fe1435addc6dce5a74a8411f7825cea331a5b3f
2013-10-17fastparser: implementation using two threadsMatúš Kukan3-26/+215
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 Meeks2-15/+29
Change-Id: Iee98ec92380d6d0404ab236e062ddbc2378cda43
2013-10-17FastAttributeList: avoid OStrings in attribute list; just use char bufferMatúš Kukan2-19/+46
Change-Id: I4879563fae3b85c68bbd1c4b260f9833848f4bda
2013-10-17FastAttributeList: use vectors instead of map; the size is smallMatúš Kukan1-38/+35
This is also preparation to avoid OString internal usage. Change-Id: If0ea36155d8ab3f5c91c2aafd6932fabeadadd41
2013-10-17fastparser: remove duplicated OString version methodsMatúš Kukan2-74/+21
Also remove AttributeData and make the two for-cycles faster. Change-Id: If0343992173bb333eee39c33bcb86acaa5a3d288
2013-10-17fastparser: isolate calls to XFastContextHandler in Entity's methodsMatúš Kukan2-124/+141
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úš Kukan2-12/+17
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úš Kukan3-0/+111
Change-Id: Ie87c80383991dca84b4f6e2074c5c53567ded0b6
2013-10-17sax: add unit test for FastSaxParserMatúš Kukan4-6/+146
Adapt FastSaxParser so that it does not require XFastDocumentHandler. Change-Id: I7af49752dfbb4b55b8dde094fe6b762bd179be78
2013-10-17remove not implemented method declarationMatúš Kukan1-1/+0
Change-Id: I340ab40724cc864920cea05db63440803e60e275
2013-10-11fastparser: don't allocate uno::Sequences when we don't need to.Michael Meeks2-5/+26
Change-Id: Ic2fff8cabbc077b6fc9dabffd2c6fcf555152b11
2013-10-04fdo#46374 replace stardiv in comments where applicableThomas Arnhold2-4/+4
Change-Id: Icd07fba84735325408741ad10864c63ea32a6481
2013-10-02-Werror,-Wunused-variableStephan Bergmann1-1/+0
Change-Id: I50ec542176d1f6dbc731a0b20380c77930aa8fdc
2013-10-02WaE: unused variableTor Lillqvist1-2/+0
Change-Id: I15cdfface36f75180e5f5962c1be4d4ceb2728b9
2013-10-02-Werror,-Wunused-functionStephan Bergmann1-17/+0
Change-Id: Ic8692444519af1d5d3532b2cd348fe3194ab47d4
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer1-2/+0
Change-Id: I7409f7a58796c9bf7542b6a7904ad40581637eeb
2013-08-31fix indentationPhilipp Riemer1-11/+11
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I55ff666c357c89ad355a1a5bc0d0347fcc188476
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer1-48/+9
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-23cppcheck: fix duplicate if/elseJulien Nabet1-0/+2
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ňák3-5/+5
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-20Re-work 8bit characters in source code, or remove them.Michael Meeks1-1/+1
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-15Mark as constTakeshi Abe1-1/+1
Change-Id: Ic7ee570935b5d827dc01a483877ea5021da5abea
2013-08-04fixup SAL_INFO macros to actually print the stringsLionel Elie Mamane1-10/+10
Change-Id: I26bf8376d27f7fcbf8a83b7356d252dce9061fcb
2013-08-04sax converter unittest: test accept trailing zeros in fractional secondsLionel Elie Mamane1-1/+1
Change-Id: I3b6080df1cf8c13b5c0781c34c7806ac3c2cfbc7
2013-08-01Mark as constTakeshi Abe1-1/+1
Change-Id: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7
2013-07-21Remove unused convertDateTimeTZ and convertDateTZJulien Nabet1-12/+0
Change-Id: I177584f6988cf3cb31c5508262d3907ef6be23d7
2013-07-15OUStringBuffer doesn't have append() overload for const char*Luboš Luňák1-1/+1
Change-Id: Ibde8e2021d33f01f91486fb6d3e24e7af0a47744