2023-11-08 Kohei Yoshida [45df2cabf9ca13ccb899df8dc8fd2af029fc2cd5] Revise the handling of temporary output XML file Ensure that the temporary output file is not removed while someone is holding an open mmap reference to it. This may not be an issue on Linux, but on Windows this causes an error. (#197) 2023-11-07 Kohei Yoshida [86f90717f938480bdaa6a9c550ce029b97e17ead] fix a typo 2023-11-07 Kohei Yoshida [dfd938e8abe2ac7015eab17503066df835785956] Add items for 0.19.2 2023-11-02 Kohei Yoshida [340e90700874fb5b46a3b5aee9464417db53a6c9] Fix make distcheck 2023-11-02 Kohei Yoshida [dc8d66a76b2946af7ae27771859cc6f613e63b96] Set the version number to 0.19.2 2023-11-02 Kohei Yoshida [f880e60241f392c4de4939b9e558b7146ff35e2e] Add a test case for #195 The test input file originates from https://bug-attachments.documentfoundation.org/attachment.cgi?id=174536 which is an attachment for this report https://bugs.documentfoundation.org/show_bug.cgi?id=144088 2023-11-01 Kohei Yoshida [1f8f9d5a68755cdc4d1bd780b248d8a8860eb7cd] Better warning message that includes the current style id 2023-11-01 Kohei Yoshida [d31defd81911112949686e187e36143bb4d6328b] Make sure the iterator is valid before dereferencing it 2023-11-01 Kohei Yoshida [4d0a4d67e76c849adb975dab3b34a6b7d90e3a57] Ensure the file contents stay alive while namespace context ... ... object is used during parsing. 2023-10-31 Kohei Yoshida [2e8f1edd2342c2a5f52d3d39426176ae49f46160] Check for null resolver before dereferencing it 2023-10-26 Kohei Yoshida [f5dca3b4f7c6ffda4b71e0ba9f7081ab2eec3405] Attempt to fix a build failure with GCC 14 as reported in #192 The compiler output is: CXX liborcus_spreadsheet_model_0.18_la-document_impl.lo document_impl.cpp: In member function 'orcus::spreadsheet::col_t orcus::spreadsheet::detail::ixion_table_handler::find_column(const orcus::spreadsheet::table_t&, std::string_view, size_t) const': document_impl.cpp:133:14: error: 'find_if' is not a member of 'std'; did you mean 'find'? 133 | std::find_if(it_beg, it_end, find_column_by_name(name)); | ^~~~~~~ | find 2023-10-25 Kohei Yoshida [c9c9cf3e37fe97a17284f84dd2bef592cefb60f3] Fix build with -Werror=unused-parameter and --disable-spreadsheet-model It addresses > orcus_json_cli_map.cpp: In function ‘void orcus::detail::map_to_sheets_and_dump(const orcus::file_content&, orcus::detail::cmd_params&)’: > orcus_json_cli_map.cpp:47:49: error: unused parameter ‘content’ [-Werror=unused-parameter] > 47 | void map_to_sheets_and_dump(const file_content& content, cmd_params& params) > | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ > orcus_json_cli_map.cpp:47:70: error: unused parameter ‘params’ [-Werror=unused-parameter] > 47 | void map_to_sheets_and_dump(const file_content& content, cmd_params& params) > | and > python.cpp:99:6: error: ‘bool orcus::python::{anonymous}::add_type_to_module(PyObject*, PyTypeObject*, const char*)’ defined but not used [-Werror=unused-function] > 99 | bool add_type_to_module(PyObject* m, PyTypeObject* typeobj, const char* type_name) > | 2023-10-19 Kohei Yoshida [dcead079eea2509a32c8438238d38ee977c43e7a] Add highlights for 0.19.1 2023-10-19 Kohei Yoshida [6d2482c2e44706935fc823df48010d05050a5bb4] Increment the version to 0.19.1 2023-10-19 Kohei Yoshida [db2d50593f413062ed728ce1341f79e36a83ad3b] Use fs::path to handle file paths This fixes a build issue with MSVC. 2023-10-19 Kohei Yoshida [b68e7c5f3f5f3aa4920a8496f3464fae03eaf4fc] Finally, remove format-detection-test 2023-10-19 Kohei Yoshida [320154f0f3673def6a4d2b3e5e0bada75dd24d7a] Add test case for ods format detection 2023-10-19 Kohei Yoshida [69719d29256e32385ff4bb76d772b89de30eba9c] Add format detection test case for xlsx 2023-10-19 Kohei Yoshida [52651a45c350a88c2f2e2a3e7872470a09838e04] Add format detection tests for gnumeric and xls-xml And make sure we convert to utf-8 first during xls-xml detection. 2023-10-04 Kohei Yoshida [9ba3b13b1192dbf60c2a3a0ddf329e766c5f6181] Implement create_filter() and its test cases 2023-09-29 Kohei Yoshida [353650ed58f1ff5e945c6b87875431f9537a95e9] Make sure to set the grammar before loading the content 2023-09-28 Kohei Yoshida [4dd132c19a4d4a33ae8c692db5554845bf27bdef] Correct the name of the dependency 2023-09-28 Kohei Yoshida [126da01fa87a3e94f2df4ba139d16b5f95d81b45] Fix build issue with MSVC The error output is error C2398: Element '2': conversion from 'int' to 'const std::basic_string_view>::size_type' requires a narrowing conversion 2023-09-27 Kohei Yoshida [4ba0df989ce049e4634c09a5e0cf04d27cd46ef3] Fix make distcheck 2023-09-27 Kohei Yoshida [81bfca56dd842889d0381a8cc56e9fb296ad279d] New script to build extra-dist lists in root Makefile.am Better to write a script than hand-building the lists each and every time... 2023-09-27 Kohei Yoshida [78a9f1553a68e9f45b77954bdf33165f447ff88f] Populate items for 0.19.0 2023-09-26 Kohei Yoshida [20497c30b447492adbf8b56b81cd43739cca5424] Set the version number string to 0.19.0 2023-09-26 Kohei Yoshida [caa5bfdf1ed7409742862b6e46f468d8a726c7c8] Requires ixion 0.19.0 (just released) 2023-09-07 Kohei Yoshida [b0c122978c48918efda692650c5978afdcdce23c] Map number format IDs for xf entries For number format IDs, Excel provides the IDs themselves, so we'll use unordered_map instead of vector to achieve mapping. The built-in IDs are not pushed right now. In the futre we should manually push built-in number formats to the document and set up mapping for them as well. 2023-09-06 Kohei Yoshida [0acd451059345d9525de87172b095cfea601fd8d] Unused member 2023-09-06 Kohei Yoshida [9c4bbb573d9a8162adbc3f962e02fb58bc0497d8] Use mapped ID for xf@xfId which also references xf under cellStyleXfs Turns out, we need to build mapping only for the xf records under cellStyleXfs. 2023-09-06 Kohei Yoshida [3e22f81cb3abf6ce41b8e4d81b93eb1ea7853c0a] Use mapped ID as named cell style xf ID 2023-09-06 Kohei Yoshida [accf45b71eadc3fc1a2a57b63564e2f04310ea5e] Build cell-format (xf) ID mapping for cellStyleXfs, cellXfs and dxfs 2023-09-06 Kohei Yoshida [ba691b76570ca99d65ea5eccecfd9d29a282894b] Do the same with border IDs 2023-09-06 Kohei Yoshida [4fb2ea4a927864bc7d463ea0e9199e7b9b2a586f] Do the same with fill IDs 2023-09-06 Kohei Yoshida [686b079865648ef10a3f937bce90f973d0aab83b] Keep the font IDs returned by commit() and use them in set_font() With this, we can re-enable font caching in the import factory code. 2023-09-06 Kohei Yoshida [f558ea4d1bc541a0055afa7cb22bec85d8bf8e83] spreadsheet -> ss 2023-09-06 Kohei Yoshida [0d6c5806e7e5a28e09d10ad8fffc4da4e38c3eba] Unused 2023-09-06 Kohei Yoshida [6221158cfb3caea47c106251b395aae1e9437edd] Rename xlsx_context.* to xlsx_shared_strings_context.* 2023-09-06 Kohei Yoshida [448a944270dd41f49f39559e8af74da8d954af9c] Extract xlsx_styles_context into its own header/source pair 2023-09-05 Kohei Yoshida [17ca782133e37d2c6da1c490c181cf0889984ac1] Add a test case for formatted string import for xlsx and fix several issues discovered. 2023-09-05 Kohei Yoshida [654fface358c7ed27b9dff36016a56795962c1e2] Remove 'using namespace std' 2023-09-03 Kohei Yoshida [7117da32371fdf035563dd6793afb4423adbfde2] Add a test case for formatted text import Also pick up the underline format attribute in cells. 2023-09-03 Kohei Yoshida [602409e988a00fd414a7fb0f0799ce00fba8b847] Reset the column row positions when the table ends 2023-09-03 Kohei Yoshida [41e878db143076744dc46bf1740908ef8843cf85] Use warn() for warning outputs 2023-09-03 Kohei Yoshida [9b4a60136ea3613b48d45f0c08503ff2d03141c8] Add test cases for column widths and row heights in secondary sheets 2023-09-03 Kohei Yoshida [c8d9bcf68ec25b279cf0bfce621b2b908f184a45] Properly reset the row and column positions when a new sheet starts 2023-09-03 Kohei Yoshida [ecb6a038e2a58b656c3ab25c2c0ee5adac17eb58] Pick up font names and sizes Also handle cases where a cell itself has bold font applied but contains a non-bold part. Because xls-xml doesn't have a construct for expressing a non-bold segment, it sets the bold flag with the base cell and the bolded text segments while the non-bold segment doesn't have a bold tag. What this means that we need to interpret the absence of a bold tag to mean setting a non- bold format explicitly for that segment. I'm assuming it's the same situation with the italic attribute. 2023-09-03 Kohei Yoshida [2ee17f5d8ce1f16dc9f0539c26c4fb20d57df01f] Pick up underline, strikethrough, subscript and superscript format runs These are not yet pushed to the document; it requires an API change. 2023-09-03 Kohei Yoshida [f990788cbbf063786dc5fda6c0f22b65e7d512fe] Use std::optional to determine whether or not the text is formatted 2023-09-03 Kohei Yoshida [3075f884f5119fbf2ed6c6c7e63f4b6ddede0186] Add more parent-child relations to cover rich-text format runs 2023-09-03 Kohei Yoshida [1d0f25588f14bb365f00fd0e41bd20bc49f05e18] Regenerate tokens for Excel 2003 XML (xls-xml) The following new tokens are added: - U - S - Sup - Sub 2023-09-03 Kohei Yoshida [889180e1a197e0471c94dec801557f00195cd8ba] Fix the test files to make them in sync with the original Gnumeric test file 2023-09-03 Kohei Yoshida [eafbaae29813ec9e93d34e0948cba8dde5fd8a29] Update the test file to add another sheet This is to test the logic of resetting the internal column and row positions for new sheets. 2023-09-03 Kohei Yoshida [c4fbb0d318a57423d6009e5bea175fa4df167cb9] New Excel-sourced test files for format runs with font names and sizes 2023-09-01 Kohei Yoshida [90118e49097d00e0d2bdfbcb567029cb65a6affa] Add test case for mixed font names and sizes And also make sure we handle overlapped format runs correctly. 2023-09-01 Kohei Yoshida [d6b1d9fdb2e5c365f4b49208ad9d508e32ca3064] Correctly handle overlapping format runs 2023-09-01 Kohei Yoshida [ac25a3ddf16eacce8c3c4896686d4a5d3a0c1953] Pick up font names and sizes in formatted strings It is not tested yet as I've just discovered a bug where overlapped format runs are not correctly imported. 2023-08-30 Kohei Yoshida [4cd526367176704df7503e9f95b5c3c60ee1b7de] Gnumeric *does* support colored format segments 2023-08-29 Kohei Yoshida [8da21b3f5c52c34b8aac4807bcf2aa6f41bb17d8] Alpha value should be maxed out for the segmen to be visible Alpha value of 0 means it's transparent. 2023-08-25 Kohei Yoshida [ccde68226fbda14f6ec922bef5eece5eb82dcbe1] Add test case for number format import 2023-08-25 Kohei Yoshida [344f0e9368a10e243fd751c26ae31f244acd13cd] Pick up number formats and import them 2023-08-24 Kohei Yoshida [0869ec20c1007b82394534064bbe1002e3cb293c] Replace pstring with std::string_view & remove pstring class 2023-08-23 Kohei Yoshida [b657b72d41e0efd6fd139aad2f8fbd85a7cf3b7a] Add a test case for #185 2023-08-23 Kohei Yoshida [b282a37a69a667c209e50e96ad7fe4bdb02cb18c] Correctly handle column offset when the LeftCell value is > 1 Related to #185. 2023-08-23 Kohei Yoshida [2dd719baeade0cb323c35f04566c2d0a9f843202] Use a common header to manage filesystem header includes 2023-08-23 Kohei Yoshida [314182936770f5ba831c5b734d3ce7812b037b99] Let's always use std::filesystem in example code used in the doc And disable building of the doc example sources by default. 2023-08-23 Kohei Yoshida [632250f4264229115c75fff0626a42ec911a4d66] Fix the build with parquet filter enabled 2023-08-22 Fridrich Štrba [a2c8e1de381570221560501ee7b7c65d0f443a29] Possibility to build against a host of filesystem implementations 2023-08-22 Fridrich Štrba [3fc9b876a2bd8c75d0b555e989a5d659e5f1b878] Fix narrowing warning 2023-08-21 Kohei Yoshida [dc9f72d08f7dc93814e2f2cc4a8b8957da2a0935] Use the 'ss' alias across the board 2023-08-21 Kohei Yoshida [b9045632449fd5826f203386ce84afcabfdc24c1] Add three test cases for importing borders These are mostly copy-n-paste from the xls-xml test cases with some adjustments. In Gnumeric, the colors of the black borders are explicitly given, which get imported into the document accordingly. 2023-08-21 Kohei Yoshida [9f732b05d465642e7ddb4d81ceae652cdee7a679] Pick up the diagonal borders as well 2023-08-21 Kohei Yoshida [0116ce27b570ddbde81b91878fe3334cf4bed0a9] Import border styles to the document 2023-08-21 Kohei Yoshida [0891b092c673f4a563309bb0ba943f64762f706a] Move the font and fill import blocks into separate functions 2023-08-18 Kohei Yoshida [e8b32e095b40414ab93edb1005c6df2197ea1153] Use gnumeric_style::border_type as return type 2023-08-17 Kohei Yoshida [63c0c862ea0f42320b35ea6e74014f17f7d9f97a] Pick up cell border attributes They are not commited to the document yet. 2023-08-17 Kohei Yoshida [b594df2940dfb0d5949c2558af05954ec87eb80b] Avoid inserting duplicate font entries 2023-08-16 Kohei Yoshida [b5cbfcf189da87112e193d7a7f409997aee97410] We can now remove gnumeric_helper 2023-08-16 Kohei Yoshida [1b376bcdb57a3f14350a14b9e555489c6661b195] We can at least test cell-wide strikethrough and underline 2023-08-16 Kohei Yoshida [58183e7125d679976900d6d67831c6c9ad405c9f] Rename the functions to make them less awkward 2023-08-16 Kohei Yoshida [125c189373587930ed2cd5a664ae71fa56bbea87] Pick up the font names and sizes 2023-08-16 Kohei Yoshida [1a83b9285b612afc4a80c2d28cb5892ddb626db0] Test the rest of the rows Not all parts are tested due to a bug and unsupported format types. 2023-08-16 Kohei Yoshida [80f9f6fc9345c1e1052bdeb04b5829a1c39af99a] Implement a parser for ValueFormat and apply bold and italic formats The rest will be supported later. 2023-08-15 Kohei Yoshida [7403ddfef7b1bedad1755590c404a743bfadfe66] Add test case for basic cell format attributes Format runs are not yet implemented. 2023-07-28 Kohei Yoshida [7549d7678e13354d4d9a135a4d63b392d1d0b3e8] Pick up bold, italic, underline and strikethrough font properties 2023-07-27 Kohei Yoshida [8b4b8b7e365bb68e04d7619dee3eb1cbed796bcf] Use structured binding for better readability 2023-07-27 Kohei Yoshida [50d36a78c7ebbac43eb5cd7a20497a6165cebd6f] Add a test case for shared formula and array import 2023-07-27 Kohei Yoshida [79d4ff35ba54cc6a7da259124c11989e18d2fdf6] Correctly import shared formula cells Also clarify the expection of the use of the import_formula interface with regard to shared formulas. 2023-07-27 Kohei Yoshida [f13d20e1e76fb0385b5dd8960fc884ae773bc83d] Make sure mp_sheet is not null; it can be sometimes... Especially when the interface providers are external code (such as libreoffice) 2023-07-26 Kohei Yoshida [ebadfa883f5a28dbe146f1530ca7d2d0a66630df] Correctly handle cell's ValueType attributes I took the ValueType values directly from Gnumeric's source. 2023-07-26 Kohei Yoshida [d32ffc92ddc14fc7466f493f44db5c6533eb9f47] Gnumeric doesn't support format runs This means mixed-color texts are not possible. 2023-07-26 Kohei Yoshida [e60392f01e932782141171a990b5f9e30ea15cb4] Add a test case for text color imports Except for support for format runs, which has yet to be implemented. 2023-07-26 Kohei Yoshida [8897cf797f9826733d3c596065f84a727c12b4a2] Add a test case for background fill colors 2023-07-25 Kohei Yoshida [2e0c70d1cf51969f7d6f7e57668500879e81830b] Pick up cell background colors and font colors 2023-07-25 Kohei Yoshida [082a5d397d77fc70c21763897abf7bdd60e80038] Add a test case for text-wrap Gnumeric has yet to support shrink-to-fit, so that part is not tested. 2023-07-25 Kohei Yoshida [0a9b943f99660b7d19800fb53bb9e914aec6b983] Set horizontal and vertical alignment values only when they are set 2023-07-25 Kohei Yoshida [0f197bea9fc8bb2c4be95e26def47bee55200a42] Pick up wrap-text properties Make sure that we pass this along only when it's set. 2023-07-25 Kohei Yoshida [85ad90186c1ca4dbb5ef2b8b5bd99a9a73ed5102] Add a test case for importing text alignment attributes This is also a mostly copy-n-paste from the one for xls-xml. 2023-07-24 Kohei Yoshida [3fa0ff090f0495793a98a4b80c2a1a6366bd4eac] Actually push collected styles to document 2023-07-24 Kohei Yoshida [95171382a9be1265a33cf5b226c99b1397d3ea74] Collect all styles from all sheets and process them all at once The processing part is still a TODO. 2023-07-20 Kohei Yoshida [314789611e58be0c916796ae0c571e130c2b46d6] Pick up style regions and horizontal and vertical text alignments 2023-07-20 Kohei Yoshida [8a48591dca8a453051e73788618c3c2eb189b31e] Set up an empty brand-new context for handling scope 2023-07-19 Kohei Yoshida [29380093d4ca57b40d2119f891b245ccc7feec05] Dump global and sheet-local named expressions as part of debug-state output 2023-07-19 Kohei Yoshida [52f262ab0322908375f668560539b5ada0dee7b8] Add a test case for sheet-local named expression import It's also a copy-n-paste from the equivalent test for xls-xml. 2023-07-19 Kohei Yoshida [73ec9aaae2500cf39cd325971090fb852a59bd3a] Also catch exception on failed named expressions in global scope 2023-07-19 Kohei Yoshida [43cf244800459ba2ce76bd54a9ec67537dd50ed4] Import sheet local named expressions 2023-07-18 Kohei Yoshida [d2d2fd3f74df10b6bffa42acc05939e822921526] Define element validation rules 2023-07-18 Kohei Yoshida [5b622076b2bede0a67bfb09e76152c6878a9ead7] Add a test for importing global named expressions 2023-07-18 Kohei Yoshida [63a11492c50a1aab9d8a8fe4b8283ec67c1b8bf6] Gnumeric lists sheet names ahead of time; use them to append sheets This way all of the sheets have been created before the named expressions get parsed, and the parsing will not fail because the sheet name is not found. 2023-07-18 Kohei Yoshida [9d7442d4b06b56a165d0e1b4b44484f716daa373] Pick up global named expressions It's not working yet as the expression is not being parsed successfully. 2023-07-17 Kohei Yoshida [5bf82a4a88be9d17c74105e77a5dff1e53658c56] Pick up and set merged cell areas The test case is a near copy-n-paste from the xls-xml test case. 2023-07-17 Kohei Yoshida [8b6ca49d1696d142910e83e98d46adf5ec897d32] Store the content of in a separate member 2023-07-17 Kohei Yoshida [ca95cd5c71a2bbeb3c3bc1d527d01cce9abc21ba] This is now handled in a separate context class 2023-07-17 Kohei Yoshida [4e350e4f3b77725e7a0308a5f152df41906d78a4] Define structure rules for sheet context This is just an initial list; more will be added as needed. 2023-07-17 Kohei Yoshida [d20b7a54909b9768d36dd11114f622cac6f1bb66] Add test case for hidden rows and columns This one is almost near copy-n-paste from the equivalent xls-xml test case. 2023-07-17 Kohei Yoshida [423a8fa9fa4027ad7e0dc371bafae75862166ca4] Add element structure validation rules 2023-07-17 Kohei Yoshida [f2fcafd49da5e1c3a9a031be000fae14287cd795] Write a test case for auto filter import 2023-07-13 Kohei Yoshida [92836be7bdb0dbcbb97b3c548e0936036ab8d7d9] Dump the sheet-local auto-filter data & really set filtered range 2023-07-12 Kohei Yoshida [580bf6856515b82c13bfc5249fef2e5ccccda500] mp_sheet may be nullptr 2023-07-12 Kohei Yoshida [06affd09679d276619c5d9c5110b44d9a15e1a78] Move the auto filter import part into a separate context class 2023-07-12 Kohei Yoshida [1cafaa88209ae1393fe83c8d0d27c3a0eb984eb8] Unused headers 2023-07-11 Kohei Yoshida [8ac123240a00beafd01e2b34afd21a4b057211d4] Remove empty virtual methods that have default implementations 2023-07-11 Kohei Yoshida [2a2b1377862934adc76e9f6b46198b1a1056ac0e] Add test file for testing import of column widths and row heights 2023-07-11 Kohei Yoshida [6da7fbfd76e45fda70df5778290cdcd661f0e359] Dump column widths and row heights in debug-state output 2023-07-10 Kohei Yoshida [426eddc384834e8f361a79fc85bb824564b2808f] No need to add 1 to the end row here The row size is used, which is already the max row index + 1. 2023-07-10 Kohei Yoshida [c027097e49deb785037593ae4df8e89d4a0303fd] Use segment_range() from mdds 2.1.1 with ranged for loop 2023-07-10 Kohei Yoshida [ef273c84bd912e37f735d3166a3b81cf8e0e0704] mp_child is not used & specify initial values in variable declaration 2023-07-10 Kohei Yoshida [d7db8547a3af0b94bf1a4b92b5ba68669295383a] Use color_rgb_t to store color values 2023-07-10 Kohei Yoshida [502e6d9ad9d658e8ef5a84556de874d90eb30a8e] We should use std::optional for this type of struct 2023-07-10 Kohei Yoshida [a13eaab39f90075d8b63b283a0b7ca10fc0784b6] Use the string pool from the session context 2023-07-10 Kohei Yoshida [a48d744792ab2fad47b3581db682ef1a814764fe] Use ranged for loop instead of for_each() 2023-07-08 Kohei Yoshida [78f4cf6a045de88cf24685a5df14dac6a3170988] Use the shared-level string pool here 2023-07-08 Kohei Yoshida [8bff98541d4a8103111bca68dd15cdda7603ae9e] Use std::optional to store cell data & move the local types in ... ... to the context class scope. 2023-07-07 Kohei Yoshida [b583e7f1d6a13d26bef8881a12b3c6aaf7dc787a] Use boost::filesystem & clean things up a bit 2023-07-07 Kohei Yoshida [35d791117332be59c33f9046e005d9f982110749] Add a test file with formula cells 2023-07-07 Kohei Yoshida [0c190514d74f23d127e6382b3fa804a213e4d3cf] Avoid atoi etc. 2023-07-07 Kohei Yoshida [e769aa8db00d7daaf8453dd3f857310458b5d364] gnumeric: Correctly import formula values Gnumeric's formula expressions start with '=', but orcus expects a formula expression to not start with '='. We need to strip it before passing it to set_formula(). 2023-07-07 Kohei Yoshida [0cd43c15ecf5d9607c43e150ca581da81968984a] Use namespace alias for orcus::spreadsheet 2023-07-07 Kohei Yoshida [0ff4e0cecbca8bf72fe814d40ee8aa4102c83aba] Some cleanup 2023-07-05 Kohei Yoshida [21d8edaebeaf6d7bffc1c451706020b5eae17eef] Fix some linting issues 2023-06-30 Kohei Yoshida [45af843d8cc1f1cd98e47647c41758f6794802f2] Pre-emptively avoid crashing Not quite sure if this is a bug in StreamReader or not. But let's not crash at least, until we find out more. 2023-06-27 Kohei Yoshida [d921f115584c4e47f56164c663312f37998d7a95] Add script to bulk-run a command on a number of files 2023-06-27 Kohei Yoshida [5779658b05cff738c2fc3d7e662e4d7f6029e327] Add orcus-parquet to the command list and regen the CLI doc pages 2023-06-27 Kohei Yoshida [074ce7826c948c99d373df7f9449174638cea46e] parse_import_filter_args() returns true on success, false on failure 2023-06-22 Kohei Yoshida [6dc3701037657030758208fba86356a70b36d827] Add test case involving float64 NaN Also organize the test file generation script to make the test files re-createable. 2023-06-21 Kohei Yoshida [49e41b3665327f69399feafc181f61449e856dd4] Include the exception message in the warning output More info the better. 2023-06-21 Kohei Yoshida [8ffed453f70b22d0bfc85b20cb0ccc708963676b] Reading a value may throw an exception, so let's handle that Especially a field with double type may store a 'null' value which will throw if you try to read it as a double type. 2023-06-21 Kohei Yoshida [0c4f76343813d3f0f20058c13322486ba80793fb] New script to dump the structure of parquet file It also dumps some data for the first number of rows. --num to specify how many rows to print. For now, I'm only dumping data from the first row group and from the first chunk. 2023-06-19 Kohei Yoshida [8c4f9baf5d899a226795b4307dbf8df9b3bacba9] When getting unexpected exception, at least keep partial import It's better than not importing anything at all. 2023-06-19 Kohei Yoshida [e48433f1a5088755a43a75438750fc48ff176e90] Skip the column in stream reader when we can't import the value Without this, reading of the next column value would fail. 2023-06-19 Kohei Yoshida [99f444128127c4c82c23dc6f72d4d59f42fdf204] Set the version to 0.18.99 (pre 0.19.0) 2023-06-19 Kohei Yoshida [82d5a6c2b6ab38b11bfff87a17c880bd13053947] Add test for orcus_parquet::read_stream() Manually rename the sheet to the stem of the input file to ensure the check string generated from the document matches the control. 2023-06-19 Kohei Yoshida [521e726d62466912c00ce0af5feb8f040f902342] Really support loading parquet files from in-memory stream It was just a matter of using arrow::io::BufferReader to map std::string_view, which can be directly passed onto ParquetFileReader via its Open() method. BufferReader is a a sub-class of RandomAccessFile. 2023-06-12 Kohei Yoshida [5be2c29c08efc50ec55fb7bd2324b6bfe8000e27] Add Apache Parquet to the list & drop consideration for non-spreadsheet filters 2023-06-08 Kohei Yoshida [81b0b96f8e55af0a120e8751df52718b6fb3715e] native() returns std::basic_string on windows which will not compile 2023-06-07 Kohei Yoshida [0394ca2814d2868bcaf6efadd4020e07bf6faae6] Add parquet build option to cmake and make sure it builds 2023-05-31 Kohei Yoshida [f7cfecd8d463ebb14332a287aa0fb21a781e27ed] Write parquet stream to a temp file and load from it Also don't forget to call the factory's finalize() method, per interface contract. 2023-05-26 Kohei Yoshida [29bf73c40486c561ea4106e032b15598ff957ed3] Talk about the parquet support 2023-05-26 Kohei Yoshida [987cd6106e94876f1d8d2451734f555390302b75] Add ORCUS_WITH_PARQUET option to conditionalize parquet filter support Also replace cmake's WITH_... options with ORCUS_WITH_... just to be in line with what other projects do. Note that currently ORCUS_WITH_PARQUET option is not tested, and will probably not build. 2023-05-26 Kohei Yoshida [b5039c9b830cc77fa58cbf275a30c90222baa5cf] Re-organize the header includes & use <> instead 2023-05-26 Kohei Yoshida [2fa656c0129fc0145e5048be48f3114ad89ddf79] Print created-by property from the metadata 2023-05-26 Kohei Yoshida [e9ae4dc6f62acb3f75d8717d57822f080f96fe1c] Slightly more probing during parquet format detection 2023-05-26 Kohei Yoshida [0952781006e1c0f3b5e0fe7750d37d628d998bb9] Implement basic detection algorithm for parquet For now, we only do bare minimum check. 2023-05-26 Kohei Yoshida [72aa00601b98f58a874c8840e89ec8fe0ce5e0cd] Add the ability to dump metadata from a parquet stream 2023-05-25 Kohei Yoshida [941af5d4696de63c36fd180fb9cdd15cafdcb898] Add a basic test case for the Parquet file format 2023-05-25 Kohei Yoshida [0097ca9f45c6ab9c522b0654aedc0a003699e123] Better to skip unsupported value types than throwing exception But issue warnings at least. 2023-05-25 Kohei Yoshida [b42d25e1ff994073537b97a255f2e4a6fddfc59f] Add basic support for INT32 and FLOAT physical column types 2023-05-25 Kohei Yoshida [dc8646f31b671a1d9adfde62e81c8c3cd41c29df] Let's not randomize the string values It's better to make the test documents reproducible. 2023-05-24 Kohei Yoshida [47319f9c292c38e1830213735a97b917727c47a7] Generate a basic set of test files for parquet 2023-05-23 Kohei Yoshida [62d2d17f547cff16f1017ad7a743d72be190117d] Restructure the code to make it easier to add handled types 2023-05-22 Kohei Yoshida [8714100e01b933e98e4e72d7724dcba1e75d8dba] Move the read_file() code into the impl class 2023-05-22 Kohei Yoshida [4bf80b62b428ba521d836d3273a037551c1e291c] Import picked up values into sheet Also clean up debug outout. 2023-05-22 Kohei Yoshida [e06ec4fe927d1bf8cb1091909509e227e23ff52b] Turn off parquet filter by default 2023-05-19 Kohei Yoshida [dcb69fe42420015802dceba1e312ea806e21e1d0] Start parsing from file and write values to stdout for now 2023-05-19 Kohei Yoshida [f6afbade76373e799e0f2b7b2508ce2f4294d71f] Create an empty setup for orcus-parquet command 2023-05-18 Kohei Yoshida [b3c5700adf790cdabce40bd1a94d512b68049189] Use column descriptor to determine column value types 2023-05-17 Kohei Yoshida [9cae5bd52544b696046082b0dc491b5c3a99dab1] Explore the Parquet file format and the Arrow Parquet API 2023-05-15 Kohei Yoshida [49fabacdb0cd8002a13a9e224944284566560c9d] Update the CI script 2023-02-10 Kohei Yoshida [f3a40e69e890c262e6e8ea7649a6c96e854ba82b] Fix grammar error 2023-02-09 Kohei Yoshida [02721652da67cbe1307496c902aad5c7480be75e] Add new items for 0.18.1 2023-02-09 Kohei Yoshida [eb221592993f7db530d179ccb372185e0245da0d] Mark potentially unused variables 2023-02-09 Kohei Yoshida [6c3389fe20a83bd5afec3cf249093017125178e5] Remove unused variables 2023-02-09 Kohei Yoshida [05caaaf3ebba67a949a5bb63eecb5504bde75c91] Let's not redefine NDEBUG as it still makes assert no-op in release build 2023-02-09 Kohei Yoshida [1adfcc8e914b4c209f15bedf91fa40409c973beb] Fix make distcheck 2023-02-09 Kohei Yoshida [9df4abfc6559fc465003e29bb5b0bb9dc6353f74] Set version number to 0.18.1 2023-02-08 Kohei Yoshida [b5470c93471d9954f76624a60318466dff0f4f11] We shouldn't need this visibility marker 2023-02-08 Kohei Yoshida [45e11ea56126c7dac271706afaaa84b11725f173] Add --with-doc-example configure switch (default on) 2023-02-08 Kohei Yoshida [3ed7e1fcc7b16f4158b2d3ecd59e3b2b497fc874] Add --with-benchmark configure switch (default on) 2023-02-07 Kohei Yoshida [30a8465b2ccc6190ac6d95208ef6eefa12eec533] More build fixes with VS 2019 2023-02-07 Kohei Yoshida [bcf260a03a62b6d771c3a410352db43000a338d4] Use correct visibility macro 2023-02-07 Kohei Yoshida [250dbd2978d8381d3270f7fbc8a3f4f4f6581294] Fix build with VS 2019 2023-02-07 Kohei Yoshida [c616b0a29e4d8d97e561ee54abc53afddcaf19c0] Add peek_chars() to simplify the BOM sniffing 2023-02-07 Kohei Yoshida [0a439a42f57152f46b63afe069d5e17b8b0c056f] Use the now global skip_bom() 2023-02-07 Kohei Yoshida [f7bf29ddc8adae3ad27e3ef646f381489dfc836a] Check for BOM first then skip leading space It's unlikely that BOM be placed at a non-head position. 2023-02-07 Kohei Yoshida [540e23f311cd502be7fc8a450aaf9221fbe798bf] Move skip_bom() to global parser_base class BOM is used in other format types too. Also rename next_char() to peek_char() with an optional offset. The term `peek` implies checking a character at an advanced position without moving the current position. 2023-02-07 Kohei Yoshida [e377994de03c4e9a70146c9724c1e0e28fc40217] Use available_size() over remains() These two methods did the same thing. Let's just keep one. 2023-02-06 Kohei Yoshida [ba230ab983a9e42c17fd415fed12e682ffc6f344] Add a test framework for valid XML documents 2023-02-06 Kohei Yoshida [03526b4f3a62aaf06b4ea563f2dc09e95cb41b88] Add two more invalid XML files that only contain BOM's 2023-02-06 Kohei Yoshida [8269277e445d23646e14a03b3b25152e5438ba73] Add an invalid XML file with double BOM's and a wrong byte This file starts with double BOM's followed by an invalid byte. One or more BOM's must be followed by a '<'. 2023-02-06 Kohei Yoshida [9116c32093fc1d6dc9779f82cecf1da3b0901e03] Simplify BOM skipping logic 2023-02-06 Kohei Yoshida [24ef26927b2f297579d879f4efdde06c9dc18e27] Skip leading space first them handle BOM 2023-02-06 Kohei Yoshida [b36fd7fde0d2692ad422aa3fe9d510fef612b3e4] Add a test case for XML doc starting with double BOM's 2023-02-06 Andreas Heinisch [a8f9afe098bb08e5c9b1580649ead918a37a7b31] Changed skip_bom in order to address tdf#150023 Double BOM (invalid XML) prevents importing some Excel 2003 XML (Excel reads them) c.f. https://bugs.documentfoundation.org/show_bug.cgi?id=150023 Patch modified from !151. Signed-off-by: Kohei Yoshida 2023-02-03 Kohei Yoshida [e1d8dd99da39a9663ca0cfa8f6dcbb633e0df59b] Add a test case 2023-02-03 Kohei Yoshida [5dd614219ce562d3397cf94f12c55f362b6ffc71] No 'using namespace std' 2023-02-03 Kohei Yoshida [f338c3a4139787e377266ebd93b579e0253b8605] Some cleanup 2023-02-03 Kohei Yoshida [928a5ba1f9e7e1f1f6fc652bee0f244a049e5f81] Revise the logic of determining the range parent from first linked field This new logic should work with the use case in #172. 2023-02-02 Kohei Yoshida [2b7f4c629eee682c2f5bf4ef02a55c70d38e8bba] enum to enum class On the following enum types: * linkable_node_type * reference_type * element_type 2023-02-02 Kohei Yoshida [29dbe18fc32ba2ad69da7a2f4271472adf494888] pstring -> std::string_view 2023-02-02 Kohei Yoshida [a1a4aaddb07081968e393f48e4614b41e10c66dd] No 'using namespace std' & use ranged-for loop 2023-01-24 Kohei Yoshida [f0653d1d72b8888be4fdb40b8b8541fc64b23c7d] Only pass the border color when it's actually set 2023-01-12 Kohei Yoshida [f1d7888a1857e5aacdebb728face3f543b015d82] Fix orcus-check target in cmake build 2023-01-12 Kohei Yoshida [6ab3b89d71ceb88eaae6fefa76077a7599632ea0] Add yaml-parser-test to the test list and fix build breakage 2023-01-12 Kohei Yoshida [8949c3530b1940e5395e46b1c73965b89e149d40] Fix make distcheck 2023-01-10 Kohei Yoshida [077567f2053a19e096caedf3a394d3ef396a70d1] Take std::ostream& as an output parameter 2023-01-10 Kohei Yoshida [d4c513b8a13f2a393e8342bebb9e7707acf2e93c] Edit docs on shared_strings 2023-01-10 Kohei Yoshida [5fb945c5053f4b0ba6d06db697e16ebaf7460809] Edit docs on styles symbols 2023-01-10 Kohei Yoshida [71e73f22a3b721642e4ec0659683f564bc291b57] Declare class default methods & simplify commit_column() 2023-01-09 Kohei Yoshida [b287a72181a79d562bca08c4f8645bb3a047291a] Forgot to add these files... 2023-01-09 Kohei Yoshida [441b659396b5481290b8dd6785c13dcf797a1a9c] This is worth mentioning. 2023-01-09 Kohei Yoshida [a0594933baefb970c9e6a8d966ff6df642b90fbb] Adjust titles a bit 2023-01-09 Kohei Yoshida [d677b1c80d5e835d2df8dd54369d5bb2ec3d03b0] Rename the filter section as core, and move the tree doc into it This structure makes more sense. 2023-01-09 Kohei Yoshida [567d66c44b8b46742222fe31330b6677721bf9e5] More editing of the spreadsheet document section 2023-01-07 Kohei Yoshida [25f3a09c0076c7c642fa2317d7a2d18469008e03] Re-org the import and export factory section 2023-01-07 Kohei Yoshida [95d48828d47a4eddb62c46ec6c47f4a19aba2af4] These classes don't need to be public 2023-01-07 Kohei Yoshida [8ae9d0a2128dd9abbea6b28d1949d9620e50b64b] Split the section into multiple subpages 2023-01-07 Kohei Yoshida [712300d2d171db86ce701b0cc5df29531ac58157] Add 'index' role to reference the landing page from another project 2023-01-07 Kohei Yoshida [62ff33abcce0f47e03dbaa0cb2ba72a0054821b5] Add inter-sphinx mapping to ixion doc 2023-01-06 Kohei Yoshida [02f3d921ce22d35ed88e921cb53b59895ba005d3] These methods no longer need to be public 2023-01-06 Kohei Yoshida [0174e8bf89e4b21bcf3955b394f4804bfca9b423] Move up the interface methods 2023-01-06 Kohei Yoshida [8abe382dcb80a9e0b9510e8ee7fd6e6f99d7fd70] Include yaml::document_tree for real 2023-01-06 Kohei Yoshida [5c5f8f47abdeaffc5a71a1175c28d4e44775e6f6] Hide finalize() and ensure it gets called only from import_factory 2023-01-06 Kohei Yoshida [4d109272c9110ad9cf91c46bb3b511ecae1dfb86] Document and clean up the API of spreadsheet::document Still on-going. 2023-01-06 Kohei Yoshida [24db55b87c2ca24b76767ffdc9bc260e622889f8] Seprate sections for tree-structured docs from spreadsheet doc The tree docs are provided by liborcus, whereas the spreadsheet doc is provided by liborcus-spreadsheet. Also standardize on using hyphens for the doc. 2023-01-06 Kohei Yoshida [635b583be1f1e353dfa5f8f2f2ec09810fd404ab] Be specific about the value range 2023-01-06 Kohei Yoshida [7a0d23c485a745f01e0bdeca5a7dc5627dcfa53d] Call the section just "Utilities" 2022-12-21 Kohei Yoshida [49ae1ab7b1ff7ec335bef7b891f54df76c680311] Re-organize the filter section a bit more Let's not repeat the word 'spreadsheet' needlessly; that's mostly implied. 2022-12-21 Kohei Yoshida [1a6ca15759a3f9a9a7d39081271f714249fe5d6b] Adjust section titles 2022-12-21 Kohei Yoshida [d766afe8fc2baed26e5118cce4c34e5d5e3ec5f7] Reorganize the import filter section a bit Also add some intros in the parser and filter index pages. 2022-12-20 Kohei Yoshida [c9a41c95a01c2cbf0e8b6e07c7a163564c07e2e7] Move the utility functions page up one level 2022-12-20 Kohei Yoshida [58c8b14943435f18390ee2a5269170ac0eac9b6b] Document sheet view specific types 2022-12-20 Kohei Yoshida [8611df752815f5e39563117a2f9cfb85c3b88afe] underline_attrs_t is unused 2022-12-20 Kohei Yoshida [6bd7224a2741febd75aa8f3067c8450897455edd] Document the view and export interfaces 2022-12-19 Kohei Yoshida [e1204631a43981c5655bda695364740e2a9b8d0f] Use code markers to pick up code blocks from source file 2022-12-19 Kohei Yoshida [014ee4b29c8d7fb74ba2e9901defde9fe2fc58b8] Go through the styles import interfaces and add or edit docs 2022-12-15 Kohei Yoshida [450b69e7c5f5e9a5984acf1f3c8535dd239eb10b] Reword the description of the base_index parameter The old wording sounded weird and probably was not factual. 2022-12-14 Kohei Yoshida [d9b740e1e5c0fa0aa0dd10dacf7748acb74dcd95] Document pivot table related interfaces Also rename create_field_group() to start_field_group(), and check for the field group interface pointer before dereferencing it. 2022-12-14 Kohei Yoshida [8b47b0c44c24426d12b5a2ba2b838349dc135d3f] Remove 'using namespace std' 2022-12-14 Kohei Yoshida [3ed31f183e8412b097cd51c090a72de129dbdb88] import_table::set_range() to take a range_t value 2022-12-14 Kohei Yoshida [61327a44622474ff1f9e92861fc3f4f433350f88] Document import_array_formula 2022-12-13 Kohei Yoshida [1661fcfd0064f7d70052107104ac1ff8f0580d3e] Add description to import_formula interface 2022-12-13 Kohei Yoshida [63c56e1a1a00f4fa8a8d6cc422b1042cea314eb3] Document import_table interface 2022-12-13 Kohei Yoshida [146300b1ba58382d1966cfc09b29e5c34d1bf2d2] Update the test files for conditional formatting in xlsx 2022-12-13 Kohei Yoshida [014ffb66079ddca7b7e6fa8e07a0483dc4963523] Edit the doc for import_conditional_format We should revise this interface for 0.19.0. For 0.18.0 it will be unchanged. 2022-12-13 Kohei Yoshida [80676ec15b65ea6564d4a2466dfcaa456ce36d85] Test file for conditional formatting import This one contains only the basic rule set. Other features such as databar will be coming later. 2022-12-12 Kohei Yoshida [e0dc2777e10a281bc560c44c359c7c084ecc3c29] Go through and edit the doc on import_auto_filter 2022-12-12 Kohei Yoshida [3732a9287ffba8ba3814e08b54f6b6aa74dec0da] Document import_data_table interface 2022-12-12 Kohei Yoshida [bd3dd50edf12f7083729f9fc6b01138cd5830273] Edit the doc on import_sheet_properties 2022-12-12 Kohei Yoshida [6b8b218a81d1eed6ca47cdbe6a1f757af2732fde] Go through and edit the doc on import_sheet 2022-12-10 Kohei Yoshida [0e922fe148e8a027c03827a75f8c113a583e0cb9] Give a brief introduction for the document import section 2022-12-10 Kohei Yoshida [7abedd3166f0a0dbdad98b874885957091b1e90a] Provide a class description for import_reference_resolver interface 2022-12-07 Kohei Yoshida [c0c1089a744ad31667b215b45c31f12d9acbd7bb] Edit the doc for import_named_expression interface 2022-12-07 Kohei Yoshida [6b713551d8de28c83d107e35fa3de457e020ca8f] Go through and edit the doc for import_shared_strings 2022-12-05 Kohei Yoshida [ebcab14008399e785f4b79d8021f8a5549e86660] Go through and add or edit docs for global settings interface 2022-12-05 Kohei Yoshida [2fa3581fef1845337eba4c4e2fc86f6d9b2f8bd9] Edit documentation for import_factory 2022-12-05 Kohei Yoshida [c8ce41c8321fb1d907357be37e1d9d995494df31] Separate the sheet import interfaces into own section 2022-12-05 Kohei Yoshida [5d047a0df31cb4e5baafb7e6d4bd13335e219a5c] Split the spreadsheet interface section into multiple sub-pages 2022-12-05 Kohei Yoshida [7fdc89c2a0fbbd4f4b482d1567f54caa831fcd09] More on documenting the base spreadsheet types Move color_t, format_run and format_runs_t to document_types.hpp, since technically these types are only used in the backend document model. 2022-11-30 Kohei Yoshida [0d9926657e07b0700dc28054432b88beb0da542b] Add more docs to spreadsheet types This is still on-going. 2022-11-30 Kohei Yoshida [3bd57018eaa7337808bf6cfc39a584d7e10a285a] Tweak the global interface page & use std::string_view for read_file() 2022-11-30 Kohei Yoshida [747342a40fbd7f6f2373c9b53a15d7dab876415c] Split the interface section into multiple pages 2022-11-29 Kohei Yoshida [0c7661c4a5f25b63335aa6ad43e1edac751a27ba] Document the global filter interfaces & re-org the doc structure a bit 2022-11-29 Kohei Yoshida [337592a0f77700c6b3d181f6ef854d90534aff83] Remove get() and size() from cell_buffer in favor of str() 2022-11-29 Kohei Yoshida [9bb243e944543a10522d0f20e36c2b87a1579869] yaml_parser to adopt std::string_view 2022-11-29 Kohei Yoshida [1d1978d3d3ea10120e4ad5f5b7bd72d5a6bc7061] csv_parser to adopt std::string_view where appropriate 2022-11-29 Kohei Yoshida [badf216eb3909d9809de3c5c6c9e79a262d6daab] Document combinators 2022-11-29 Kohei Yoshida [1df0147193431ff99534a86411011fbe6d4ed4ec] Use std::string_view as the key type for sorted_string_map 2022-11-29 Kohei Yoshida [ff7970aad468b31241b8aaff67bd98d14f95648f] Add more content to our CSS doc 2022-11-29 Kohei Yoshida [a2d774549211b49254f1af447648e32b0ab4bb75] Use std::string_view in public functions 2022-11-29 Kohei Yoshida [0ede4c01a6d5fd7ae6b8378db4436a4ded07decf] json_parser and its handler to use std::string_view over char*-size pair 2022-11-29 Kohei Yoshida [76cdac58f46b3c1647ec658c1abac9fda647d1ed] All sax parsers to take contents as std::string_view 2022-11-24 Kohei Yoshida [79407cf53f80fce872d0829e13f950ba017c3fbf] Remove unnecessary @p tags 2022-11-24 Kohei Yoshida [a06ed2d664a12ffcdb85f74b7c2a8209d715863b] Document base64 utility functions These are currently not actively used, but may be used in the future. 2022-11-24 Kohei Yoshida [c1adf7bf4ea777e4fc6612b264cae531471204e3] Document the rest of basic enum types 2022-11-24 Kohei Yoshida [f43f16a399e9c5dc13f4ec1d7ec2b94873b40f5d] Make xmlns_repository movable 2022-11-24 Kohei Yoshida [7b9eeb082ce8ef31c7be8e71a312adc4838ae01c] Add more details to the docs of XML namespace classes Also rename 'key' with 'alias', as the latter sounds more apt. 2022-11-24 Kohei Yoshida [a0d9574612084f2ef576066723c86a496d376800] xmlns_repository::get_short_name(size_t) is not used at all Only the other variant is used. 2022-11-24 Kohei Yoshida [d2931aa472065b8c12abdc16ddc84e50e62585d9] More on documenting the basic types and adding default member functions 2022-11-24 Kohei Yoshida [7e82df8d3d80a959fe54ce12fc059bd24bf61397] Use type alias here 2022-11-24 Kohei Yoshida [3118ce31a7f5d4818ad73d876d28d8924980e916] Document these type aliases 2022-11-24 Kohei Yoshida [0c522e8de8d86b3000ea2c2ac48b3e95a6093768] Move previously public types into liborcus only location These types are only used within liborcus 2022-11-23 Kohei Yoshida [b3a9486c0b05162fc97477994a445006291660ea] Organize docs on date_time_t & use default keywords where appropriate 2022-11-23 Kohei Yoshida [131eece503963b4687b2a0664883ab0d3fcd831c] Rename xml_attrs_t to xml_token_attrs_t 2022-11-23 Kohei Yoshida [5979effb63e6663b387f591919d7eef66f00e7a1] Upcase index_not_found for consistency as a global constant 2022-11-23 Kohei Yoshida [5813ef70363a0eadb073b2afb60a1cfadda4c5fc] Organic doc items in types.hpp & reorder sections under parser 2022-11-22 Kohei Yoshida [9f1d7074002b6adbee6dfc98f5200bd9f97c0ae2] Add orcus_json to the doc 2022-11-22 Kohei Yoshida [25b25d646a3919e78b70bf53a10a8937e9ef0a46] Use sentence casing for section headers 2022-11-22 Kohei Yoshida [254c5f34a6333796bb076e34161e1c98ba207517] Remove dump_file_entry() which wasn't generally very useful Instead, add a method that returns the header info and add a function to print it to std::ostream. 2022-11-22 Kohei Yoshida [fb598144d8ba4d49a25848537f2daaadf50b6e4d] Remove using namespace std 2022-11-22 Kohei Yoshida [559a1f116c3dce9c9c489d63af8ec4821de0e7a2] read_file_entry() to return the retrieved data stream directly 2022-11-22 Kohei Yoshida [5a38a5af5016898480e3b34fb5b9a70216479016] Use std::unique_ptr for the pimpl idiom 2022-11-22 Kohei Yoshida [24bd9006ddc22b27a75a4111ee47af9672c23c4f] Move zip_error into exception.hpp 2022-11-21 Kohei Yoshida [befe0dcc6be5a27677d88041241bd18cbc4b7e66] Create a section for zip archive related classes 2022-11-21 Kohei Yoshida [2cf2a04d9faed476c62153ce75a3464c497b0af2] I have no use for this 2022-11-21 Kohei Yoshida [556d35bdb9b9008090b6810a38eac99c5f23a128] Kill the idea of "transient stream" That was mis-guided. 2022-11-21 Kohei Yoshida [22e07945c0d826a80887af0f7b208e4c4ca11604] Move malformed_xml_error to exception.hpp And take it out of the sax namespace. 2022-11-21 Kohei Yoshida [cfb0ad6454422bc5db08acf7b911ce632dea14fd] This variant of ctor is used in derived classes only 2022-11-21 Kohei Yoshida [8300189c8beaa2e7490feed0e204ff3f252bcc15] Pass std::string as r-value when appropriate 2022-11-21 Kohei Yoshida [0929753d505222e4ecd4f19bc2167ee4e22292ab] build_message() can be private 2022-11-21 Kohei Yoshida [bf114ce3903efeaed3f478ba6d08d2e192cf93fd] Remove yaml::parse_error in favor of generic parse_error 2022-11-21 Kohei Yoshida [406a6e0630c96915ec7ccdd7c2bb6597443658e5] Remove css::parse_error in favor of generic parse_error 2022-11-21 Kohei Yoshida [300d583cf5c0d51ee76740ae83bbbb2890a9e4af] Remove csv::parse_error in favor of generic parse_error 2022-11-21 Kohei Yoshida [cd48c621213b3d2b56e95a5c8123c696ce31e9ac] Remove json::parse_error; just use orcus::parse_error 2022-11-21 Kohei Yoshida [a1bfd021e0800cbcef7b9e284acc16b3b517a403] Move generic parse_error into exception.hpp 2022-11-21 Kohei Yoshida [b89c98ed8917783fda0152a15197302ea67a582a] Destructor with throw() is not a thing anymore 2022-11-21 Kohei Yoshida [bb6ee140fc87cc53b86620a09211b326a5489d14] Document sax_token_parser and related types 2022-11-21 Kohei Yoshida [b3e3dcbfa6cc0b79224916a812b902cbbdc21aac] Apply the same renaming of template parameters to the definitions 2022-11-21 Kohei Yoshida [316eee7c98b0cfa8c0727e3a04a6539cd981a515] Add docs to ns-handler members 2022-11-19 Kohei Yoshida [ef2d0f6d0784ecb9eedd6ea314d21ee869d20d02] No need to use std::unique_ptr for element scope structure 2022-11-18 Kohei Yoshida [a030e4614cdc601cd4f21bf3bcffb592a5e75719] Rename __sax namespace to sax::detail 2022-11-18 Kohei Yoshida [2c306c9b21cbb10d4f77b27dcc7616f5e14ddc9e] Use range-based for loop 2022-11-18 Kohei Yoshida [b6a7dcd652532aacb0ecbcc99815d35c2d11c8ce] Document XML parsers and related types & make trivial code cleanups 2022-11-18 Kohei Yoshida [f6d2ec51135efccf570104b59afc4e15591f00e1] Document & add tests for locate_line_with_offset() Also ensure that the offset doesn't exceed the length of the stream being searched. 2022-11-18 Kohei Yoshida [cd46ad28fdf6048631da605a85fff619f7bc1aff] Use more compiler-default functions where applicable 2022-11-17 Kohei Yoshida [6d8086cc6b77c374f73a8ca9c660f9e56a66e114] Add a separate section for stream classes and functions And add stream functions to that section. 2022-11-17 Kohei Yoshida [814eb27812c1c01cd8d94f807f251160951c946b] Add file_content and memory_content to doc Also reword the description of file_content to make it flow a bit better. 2022-11-17 Kohei Yoshida [6522af789c041ef2cddb9459498098d7353f575f] detect() to take std::string_view to simplify its use Also add it to the doc along with a whole bunch other types which were previously not included in the doc. 2022-11-17 Kohei Yoshida [434be9437a08c6b95e381ad8cb6bc5192b8cfe43] Revise the doc for cell_buffer just a tiny bit 2022-11-17 Kohei Yoshida [639453a76a80c91f2ee6e7c10c02e1f67093e65e] Document tokens class & make it officially non-copyable 2022-11-17 Kohei Yoshida [c592f47fa4a7310ba423aff3becf89a6a911d76a] Make string_pool move-constructible This will make string_pool a lot more usable. 2022-11-17 Kohei Yoshida [6fc6fc45f576277d60cbbbf01c09dd2fca560bd6] Document string_pool a bit more 2022-11-17 Kohei Yoshida [fdc57fc043f4384d873f8e68a79898cf32e1a064] Emphasize that the yaml_parser is still experimental Also add some docs while I'm at it. 2022-11-17 Kohei Yoshida [917043d66e8df345131a1f4d2397a05188358051] Summarize the change in 0.18.0 2022-11-17 Kohei Yoshida [b9b499adf40d6cdc6a862eb313051eb46bab50b2] Fix make distcheck 2022-11-17 Kohei Yoshida [beefecd7b325db444be91f7f4ef0cc156a0cabe2] Ignore this file too 2022-11-17 Kohei Yoshida [4f7a433b201a6b396a7ab60a4bf936dc15b67abb] Set the version number to 0.18.0 2022-11-14 Kohei Yoshida [9e4e9b6fcc88779443e8d2315106d416de1b0761] Fix MSVC build gcc apparently has no issues with std::optional but MSVC does. Not sure about clang. 2022-11-14 Kohei Yoshida [7cb909e6fbf19030cfc0912d2460b9b950814b4e] Fix build due to recent ixion API change relted to formula_token 2022-10-24 Kohei Yoshida [4859af1287a6f9ad96f88e5923a69333f48ec95d] Fix make check-valgrind-memcheck Those optional values were actually not set. 2022-10-24 Kohei Yoshida [2961d1abeb2f3cb58bf9a32eba6cef8b8ae4ca88] Rework importing of style:text-underline-width (#150) Note that percent, positive integer and positive length are not enum values but they just mean the actual width value is given separately. Also, when the font uses the same color for both font and underline, let's not explicitly set the underline color. 2022-10-20 Kohei Yoshida [d6bddaeb417e37156b0de3556bc9ea81e1996be7] More on removal of pstring in favor of std::string_view Still a long way to go, but every bit helps. 2022-10-20 Kohei Yoshida [2deef59f1564035ecf81b62d41782a8c1c938a7b] Merge font_t and font_active_t This is the last item to merge. 2022-10-20 Kohei Yoshida [8110353322f4a01dc5fb337e973bfce46edb0160] Merge fill_t and fill_active_t 2022-10-19 Kohei Yoshida [efccb6dc324d7d30435c004a6f9bc7d2e5a3f3fa] border_t and border_attrs_t to use std::optional And remove their corresponding *_active_t 2022-10-18 Kohei Yoshida [c242242e1ca845a05ca3a66fba4dcd9303d96453] Merge protection_t and protection_active_t 2022-10-18 Kohei Yoshida [7c4ce2e80f2cde70bb87f0407625145c578df6d4] Merge number_format_t and number_format_active_t 2022-10-17 Kohei Yoshida [f41745b3f21137aa60184d48402866820ce2b62d] Import several font attributes for asian and complex scripts For now this is only for ods, and only for font names, font sizes, font bold/non-bold and italic/non-italic. 2022-10-17 Kohei Yoshida [acc6b29e1713b010fd954c875c434e980f0679e1] Fix windows build via cmake 2022-10-16 Kohei Yoshida [c8bde749c6630b5a77bdf63c85982585f9c4b4f5] Add test on Sheet2, and fix the incorrect column style import 2022-10-16 Kohei Yoshida [f52ff30f94c65e4bb5c4f97b55f24e086d19e1ae] Check the cell formats on row 10 & fix cell style repetition ODF doesn't have the concept of row formats. So when a row-wise format is applied, it gets applied as a series of individual cell formats. 2022-10-13 Kohei Yoshida [d2020559f73aff04bcb0eb503fd6db2d3424ccb9] Check on column F 2022-10-13 Kohei Yoshida [d64e3628395f55ebcc6b3782c3f0883ee5c31339] Finish up on column C and check on column D 2022-10-12 Kohei Yoshida [bef45743eae100252a4d6fbb276da00b2f495190] Make sure the "Gray With Lime" style has "Default" as its parent We check this through style_xf attribute, not through parent_name. The parent_name attribute should be deprecated in the near future. 2022-10-12 Kohei Yoshida [0931d548d74520d46e78452f36a9bb47a1291c0b] Check the cell style of C1 which has "Gray With Lime" style applied Because this style uses the display-name attribute, we also need to pick that up in order to test it properly. 2022-10-12 Kohei Yoshida [bf941b08616667226ae52b4f966878737c8d80e9] Check the cell styles in columns B, E, G etc and fix an issue found 2022-10-12 Kohei Yoshida [9cdeecb7757dfc23486ff740652e629ef472bd12] set_column_format() to take the column span value 2022-10-12 Kohei Yoshida [03cf11fdc2b174de5c30004878ee57468a7b238f] set_column_width() and set_column_hidden() to take the column span param All the supported file formats to do make use of the concept of column span, and our backend storage too, so why not. 2022-10-11 Kohei Yoshida [e3977081aa5d30899f67b3b85e304cf63b9b6319] Properly handle table:number-columns-repeated attribute 2022-10-11 Kohei Yoshida [e99979a4c4cc0e1831befdee7cba47cf09d98003] Pick up the default cell styles for columns & test case for it As a starter, check the applied cell style on Sheet1.A1. A lot more checks to follow soon. 2022-10-11 Kohei Yoshida [b32b91d388fc7a5afb2663eec6d2fa23d34b5c21] Modernize the code a bit 2022-10-10 Kohei Yoshida [98d45670732ef81f8c8ee73acb1b801d5576afbe] Modify the test file to add a case for style spanning over multiple columns 2022-10-10 Kohei Yoshida [76a3dbd6fb9bae331b77a139d31e352a97d4a73b] Now transfer_common() is finally unused 2022-10-10 Kohei Yoshida [055c287183319ac253126d131f6b0770c458547a] Have gnumeric_cell_context as a concrete member and child context 2022-10-10 Kohei Yoshida [2ce281fc413ff995259c2a6a0a37c6d8abb42b7f] Add a test case for calling clear() and using the same pool afterward 2022-10-10 Kohei Yoshida [59ffe63deb53e61db6a73c15af563569d10cecbd] Remove pstring and 'using namespace std' 2022-10-10 Kohei Yoshida [e4edda33338d9b983d5fc44dad876cec4fd2235e] Make gnumeric_sheet_context a concrete data member and a child context Also fix a bug in string_pool::clear(). The empty state needs to have the impl::m_stores containing one element. So, simply clearing the m_stores and m_set would not work. 2022-10-10 Kohei Yoshida [aae8a3d8e5cfbb3a5eca2f9747d3387b74ca7a57] Make xlsx_autofilter_context as a concrete child of xlsx_table_context 2022-10-10 Kohei Yoshida [1ca76b7f1856e383178d46fb48178d177a91ea58] Make xlsx_conditional_format_context a concrete child context 2022-10-10 Kohei Yoshida [bfe471f15adbdfffcbcbbd0df8bab076cb4e084d] Let's use the 'ss' alias in lieu of 'spreadsheet' namespace 2022-10-10 Kohei Yoshida [3ef6476bbe0440c9a2063d0db4d8540fc4735271] These break statements have no effects 2022-10-10 Kohei Yoshida [e4e45795378603ebcd8d10b7b53f49aa6a197364] Replace pstring with std::string_view 2022-10-10 Kohei Yoshida [af240ae892c5f74bb567ac89c5029ca4dc78fcda] Allow import_conditional_format interface pointer to be null 2022-10-10 Kohei Yoshida [c75e75858e401c73e1cb6c9842a4009623ccc89f] xlsx_autofilter_context as a member child context 2022-10-06 Kohei Yoshida [5f0f8c757d989cf84067c540b36e2abb575628cd] Remove 'using namespace std' 2022-10-06 Kohei Yoshida [b913db4dc66d8090f10fbfd8a31770cf0d8770fa] Use the alias 'ss' in lieu of 'spreadsheet' 2022-10-06 Kohei Yoshida [8617bb0b48816fa9852298d6bfb722c2e7057403] Let's use std::optional here 2022-10-06 Kohei Yoshida [4c3a526dc77e745ad4d5f035f640e4c4aab579e3] Pick up column and row styles in xlsx 2022-10-06 Kohei Yoshida [218816d355524ad69b3ec41f12061bba78b1a6e9] Update the test file to match that of the xls-xml 2022-10-05 Kohei Yoshida [10bc5827e4ffa75f0e796545a86ab38634838b48] Substitute 'spreadsheet::' with 'ss::' for consistency 2022-10-05 Kohei Yoshida [f8d3a19855aecb0e50e5cb5451f656ad45508a8d] No more 'using namespace std' 2022-10-05 Kohei Yoshida [3f82bda9afe85372d48ac5d33d8de0dcc1af3abe] Pick up row format indices and make sure they are stored correctly 2022-10-04 Kohei Yoshida [b6f2805fa44ab9852a9d1ee8d5bb5db3b6d1d791] Import column styles and make sure they are stored correctly 2022-10-04 Kohei Yoshida [01878f858821c5240182128b29b516f82387bee1] Add another sheet that contains a column style spanning over three columns 2022-10-04 Kohei Yoshida [1dead2bbabef4d0d1a451b29984964d615c4dfcd] Remove 'using namespace std' 2022-10-03 Kohei Yoshida [9856b2f7df9c256049b3381423cc299590f98e17] Add skeleton set_column_format() and set_row_format() interface methods They will be implemented next. 2022-10-03 Kohei Yoshida [49f525d11908772fb49ff8fb608a84c8935aed5e] Update test files to include row-wise properties 2022-09-29 Kohei Yoshida [38fef5511c6f46b5828c28e20709783c1cb58d9d] Check the format on D6, and conclude this test case 2022-09-29 Kohei Yoshida [cac4a005db1839f827d63aaa6356f17ef90ed585] Properly handle cells referencing named styles directly This fixes the previously failing test case. 2022-09-29 Kohei Yoshida [fb870234e9867c735abf20812e2dd2d720e3394f] Check the format on B4 and D4, but D4 fails 2022-09-28 Kohei Yoshida [4a1074bf6635942d8cdfd1adb52b16cb7289bbd6] Check the format on cell B2 2022-09-27 Kohei Yoshida [a8aa90cde1d0b53618e77a91fb9487858b52d3b4] Set up a test case for direct-format.ods and simplify doc loading The test file has been updated to include a cell that directly references a named style. 2022-09-27 Kohei Yoshida [fbbcf8a55184d183777279e8578119cacaeb08df] It's possible that cell style entries have non-contiguous style xf ID's 2022-09-26 Kohei Yoshida [305605733f3e59e1f895c96451dccadb572b5e70] Update to include named style with direct format applied on top 2022-09-26 Kohei Yoshida [f273240349a22e2b25d73804c5ce93cf1295be78] Let's not return the position of the inserted cell style record to be safe Since that doesn't represent an xfid, there is little point returning it. 2022-09-26 Kohei Yoshida [2d32c766e679efe22e3d87e7283a6c49e11acbe0] Re-enable the test cases and fix one aspect of styles import The cell style records may not appear in the same order as their cell style format records counterpart. Each cell style record does store the xfid of its corresponding cell style format record, so we can sort them by the xfid's at the end of the import, to make sure the two record sets are ordered the same way. 2022-09-26 Kohei Yoshida [f6adf0b4e954dad7068ba085f3e133666bc32d77] Copy the test case from xls-xml to xlsx and disable the untested part 2022-09-26 Kohei Yoshida [e652a47067e9b5a811db843392dc726ab620f019] Test the format applied to cell D8 2022-09-23 Kohei Yoshida [1e210d748ebd2f4b1a43fbbe93e369c452d10f51] Check the format on D6, and correctly import cell referencing named style 2022-09-23 Kohei Yoshida [7a17a0a3a1a3503df7fb124e421d4055b3dfafe3] Check the cell format of cell B4 2022-09-22 Kohei Yoshida [051ca778fd848792a85fe3b6e8dcbfcb98d863f6] Start writing a test for direct-format.xml, still WIP 2022-09-22 Kohei Yoshida [07d70b981abf71559b3a077981ebd9a1a5b9b21b] Properly import named cell styles and link them to direct cell styles 2022-09-21 Kohei Yoshida [d9ea206ae970aaacab6919cb1ae26de381881c17] Rename those get_* interface methods to start_* Since calling a start_foo method signals the start of a transaction- like import step, the name should be more reflective of that. 2022-09-20 Kohei Yoshida [180417340b28b1606698bc56a3cc687f30a972fe] Add test files for direct format styles 2022-09-19 Kohei Yoshida [31c9512f529043b821dbb066e0ebff1e57d838b2] Test files (xlsx and xls-xml) for importing styles applied to columns 2022-09-19 Kohei Yoshida [98b9ab6cf81ee442e9c354e0e3d6d361571575ea] Test file for ods on importing styles applied to columns 2022-09-19 Kohei Yoshida [475f2fbf6cc116e25af9b4af167bf1c202ca23a8] Move test files for orcus-import-ods 2022-09-16 Kohei Yoshida [1b6996f931a7fab30b49c74bfc74c092e5e8c55d] Add a simple test case for flat dump containing utf-8 strings 2022-09-16 Kohei Yoshida [50f13d2befa937543a616750e746d785ac18889a] Use logical string lengths to determine optimal column widths This doesn't work well with East Asian languages, unfortunately... 2022-09-16 Kohei Yoshida [e3762f4a3c73da6b037bf98551a568e256fd9af3] More examples from Russian and German 2022-09-14 Kohei Yoshida [792d3c601aefb6b1a32d3918f673380a893ccfaf] Add calc_logical_string_length() public function. 2022-09-13 Kohei Yoshida [902b27227df7154655bb1d6733c6b1b97ef8b804] Properly pick up cell protection properties 2022-09-13 Kohei Yoshida [ee154da63372d9ce25c9247b82fc353dacbd67c2] Add a test file for cell locked and hidden properties 2022-09-12 Kohei Yoshida [abe24a79915fe458fdaceaab9777213fca78e5b7] Activate MDDS_SORTED_STRING_MAP_DEBUG when debug-utils is enabled 2022-09-12 Kohei Yoshida [37e482a41c279c416059a20d24b8b66be2bc5e02] Pick up the hide-formula attribute Also check for the rest of the cells' formats. 2022-09-12 Kohei Yoshida [4c15945de7c591c74792a801845b4a41912214d9] Pick up more default styles, minus cell protection attributes 2022-09-12 Kohei Yoshida [aadfd1a3c1bd26fccc3177b8ed5354afbc65e645] Add more cell values 2022-09-12 Kohei Yoshida [d6368450e9d673eebcad0675f4b6c773b20bd801] Replace pstring with std::string_view 2022-09-08 Kohei Yoshida [b754265cdd093783206eb46e7db23a6d5a23b4a8] Add a test file for importing a default style 2022-09-07 Kohei Yoshida [67db4feffd8a170ad66cc22a0ae25104afc796f8] Correctly import default alignment properties 2022-09-07 Kohei Yoshida [c1c7e01bf4effbc3c231b9c34a64ad893720305a] font_style must be non-null 2022-09-07 Kohei Yoshida [81f3cd6cdb98ecbf340423c8a6a3ece3d81c7ce8] Make wrap-text and shrink-to-fit optional ODF styles need this behavior for style hierarchy to work correctly. 2022-09-07 Kohei Yoshida [fd92263b35df127ec4d6b8a4fde255dab491d512] Pick up wrap-text and shrink-to-fit in ods too 2022-09-07 Kohei Yoshida [88ebe61a7e658021386453cb3f5f095dc0517ae2] pstring related cleanup 2022-09-07 Kohei Yoshida [3aeb6f570b1ab07f5582f67df0985107660e0db6] Pick up the wrap-text and shrink-to-fit properties in xls-xml 2022-09-07 Kohei Yoshida [186449cb8a143f0760f85202b85c3a08b33239e4] Add an xlsx test case for wrap-text and shrink-to-fit 2022-09-07 Kohei Yoshida [f05c9e8eb06a962810912b83be63301117db974f] Replace pstring with std::string_view 2022-09-07 Kohei Yoshida [7f999772359570d07feb83960b0c3942de2a9a6c] Remove 'using namespace std;' 2022-09-07 Kohei Yoshida [1f5f35872f7bcc95aa4df4a11b353756cb5ff6ac] Remove using namespace orcus::spreadsheet in favor of using 'ss' alias 2022-09-07 Kohei Yoshida [4b187121ffc890fbe41d799bc0b0ed183d9a0362] Pick up the wrap-text and shrink-to-fix cell properties 2022-09-06 Kohei Yoshida [74f368606b83f327bf2789658589d9a5e95b9e60] Let's just remove empty case blocks 2022-09-06 Kohei Yoshida [c755e8d0da494d2746ea465441dca34a1f85e268] Switch to using element validator to validate element structure 2022-09-06 Kohei Yoshida [69799f9def94a0aedc3e6846278d5c0d7f17c4b3] Add interface for wrap-text and shrink-to-fix cell properties 2022-09-06 Kohei Yoshida [03d7cf538221ff79dda5be9a8712957b4aaca51c] Replace use of tempfile with mktemp Apparently tempfile is deprecated. 2022-09-03 Kohei Yoshida [23d149037fae48d9705995c74fec3a7195ba562b] Add a test case for EUC-JP encoded XML file 2022-09-02 Kohei Yoshida [63cd8ed934a01799bfd2ddbe0c83a6337ee577dd] Add some rudimentary test for parsing character set names to enum 2022-09-02 Kohei Yoshida [992b4fa11db3883315162e533a3a381c474269ba] Add preprocessing rules for slickedit symbol tagging 2022-09-02 Kohei Yoshida [965b407a9a66dd3a4d289b5e966c29d81b2287d0] Regenerate the character_set_t member entries The entries are generated from data.csv, which was created from the character set table in https://www.iana.org/assignments/character-sets/character-sets.xhtml The new set contains mapping rules for the aliases as well. 2022-09-02 Kohei Yoshida [cd78cec7d477fb8c9a59154aabdc78aa366984cc] Pick up the 'encoding' attribute in XML declaration during XML mapping This is related to #154. 2022-09-02 Kohei Yoshida [1215a16eb7d21858ab0a7964855c961be8ca4ea8] Fix build issue on Gentoo This is related to #165. Thanks to jospezial for bringing up this issue. 2022-09-01 Kohei Yoshida [bb2a2ed037499f5375f4aaf1d508338d571e63bf] Mark these operators noexcept, now that we are changing the API version 2022-08-31 Kohei Yoshida [83bf9095349446bd0dc81f8ee811397ff5eea11e] Remove the old test cases This also contained some non-reproducible test cases. It is superceded by the odf file based test cases located in test/ods/number-format/basic-set.ods. 2022-08-31 Kohei Yoshida [abcb414b7e0cd7f0085985a2d722a06c2660b87c] Remove use of pstring 2022-08-31 Kohei Yoshida [7e10fc9525c553b2bcbbc2e6bd813147105f5192] Add a test document of basic cases on number format import To be expanded on later. Also fixed a bug on std::string construction. You can't pass a char value followed by count; you need to pass a const char* as the first argument. 2022-08-31 Kohei Yoshida [ceb27d4fb8ba9ab9eea0600286664951a74673bc] Remove 'using namespace std' 2022-08-31 Kohei Yoshida [ec9ed72c183c2ffc60e1675610cb0d1f11bec0e3] Pick up the style:data-style-name and record the corresponding ... ... number format id. 2022-08-31 Kohei Yoshida [6ad5cd2e434abc238571dfd28211a790f2c66b5b] may occur under 2022-08-30 Kohei Yoshida [d8eeb3ef5c4321b660e67811ea9122682ae8abee] Remove meaningless return statement 2022-08-30 Kohei Yoshida [baae59a8b721175cc6a120ec35fe83aa4f76ea79] Let's not forget to handle too 2022-08-30 Kohei Yoshida [b9bd8309609353099aaa53573ddf66f3eacf7a34] Use stack printer for test cases and fix the test program linkage 2022-08-30 Kohei Yoshida [c27a094a8421864abfc4e3ee449b1936dc68111a] Handle element scope, and remove number_format_context and all its associated function objects that are no longer used. 2022-08-30 Kohei Yoshida [fb2b4f6f7657a01d304d3019b55507bb28421d76] Don't forget to define the validation rules 2022-08-30 Kohei Yoshida [7a7fbc67a55dda6ff428d93cd94c5f0f89c25d10] Handle element scope 2022-08-30 Kohei Yoshida [80ad771c2baa6d36cdcbd18d2e0534654646545e] Handle element scope Also make xml_context_base::characters() non-pure virtual function. 2022-08-30 Kohei Yoshida [780199dce4fd95ff113ba76e3215a7a74c06b52b] Handle element scope 2022-08-30 Kohei Yoshida [2f70234a5a97a90a2b34ccec0867579885fdd51b] create_child_context() and end_child_context() should have default versions These two methods are not very common; let's have the base class provide their default implementations. 2022-08-30 Kohei Yoshida [8371a52e3fa4d36199895cda1e3cd7e5b36bf321] Add validation rules to currency_style_context 2022-08-29 Kohei Yoshida [34405c24b8a6f1bcedf599bd1ed78b4227b85ae4] Handle element scope 2022-08-29 Kohei Yoshida [d3d708ad0836b3a451c0ace07d01167ccf17ff42] Add validation rule set to number_style_context 2022-08-28 Kohei Yoshida [dafb22810ae2a34dc7d4720243f99237a6f93f18] Set up an empty context for which will be next 2022-08-28 Kohei Yoshida [7d4343a1cd170572e540200fd8c296ecbead1bec] Handle 2022-08-28 Kohei Yoshida [ad80c6bb6a406f4390bfa33c657e4b53530e5614] Handle This needs more testing. 2022-08-28 Kohei Yoshida [9e6b23ed5692bcc7e699f8081a314a4084b4cc40] We don't really need to handle style:volatile attribute How it should be used is unclear per 1.3 specs. 2022-08-28 Kohei Yoshida [cf614401330ad17840e57c5748ca788b3bc5dea7] Handle below This combines multiple number formatting rules into one. 2022-08-28 Kohei Yoshida [f81d5e69e64717c752887e6d715bf83814bef064] import style interface no longer used 2022-08-28 Kohei Yoshida [979491b5ad643f36b1403e53d7f128a049d50538] Store number-format names to ids and ids to codes in session data store This will be used later when combining multiple number styles into one code. 2022-08-27 Kohei Yoshida [17e5cdb356aea4fbe8402dc594caf5b5e5314697] Handle element scope 2022-08-27 Kohei Yoshida [6f2c56271b9697f9eba2d3df1b7d17158ba1fbe0] Handle scope Also remove character_stream from odf_number_format. It doesn't belong there. 2022-08-27 Kohei Yoshida [5d59b674cfdf6e11a0e2bd10f201f9bf68faae35] more files to ignore 2022-08-27 Kohei Yoshida [8000f4425c83b43b68db4454bddf05f1ced593f9] Add a context dedicated for element scope Still WIP 2022-08-26 Kohei Yoshida [59801364d83b4c33a3b73e6fe89cfb89de4b3e63] These are now used 2022-08-26 Kohei Yoshida [af6a68b7bb74fc86db0b092b104680021450d50d] Internalize styles_map with styles_context with some access functions This feels a bit better than passing a reference to it at construction. 2022-08-26 Kohei Yoshida [28667a6e936d7175e0dea590f1473fa7bf27eb37] Register child contexts with parent so that the parent can push out ... ... some common settings to all its child contexts at appropriate time. This feels more proper way of handling setting distribution than calling transfer_common() at much later time. It does also avoid unnecessary copying of the settings objects. 2022-08-26 Kohei Yoshida [d28c913950fbce36fbb4180339b61b4faa99a780] Call transfer_common() at the right time 2022-08-26 Kohei Yoshida [9f9a3072bd81d9f87280c617f156c33655bb754e] Move the odf-styles state dumping code into a separate function and call it also from the end of the styles.xml parsing. 2022-08-26 Kohei Yoshida [0c4b7fcf564559979bd6f51dbdcccf203e875b53] Reduce the amount of static_cast to get the custom data 2022-08-26 Kohei Yoshida [8ca119bd585793d6dc3e0c0e60a91650fe5a94ae] Remove m_ prefixes from struct members 2022-08-26 Kohei Yoshida [c870c3fd6353e2c25fd8726fecf1cc3d77d73d60] Use std::make_unique<> over raw new operator 2022-08-26 Kohei Yoshida [eb44661e42344d31f3b1f3bc5e84c034b398e1b9] Remove m_ prefixes from struct's 2022-08-26 Kohei Yoshida [8b6a2321bac1acb116eeb47456a4844799ce1f1f] There is really no need for ods_content_xml_handler class 2022-08-26 Kohei Yoshida [6cb386785451eb44148928cf80a69bc93800f404] Parse styles.xml stream in ods and pick up styles defined therein 2022-08-26 Kohei Yoshida [0f3b2ebd66bd43ba1a8922ea2648d545dde6a6cb] Extract the context for the element scope 2022-08-24 matoro <11910244-matoro3@users.noreply.gitlab.com> [14d15bf331b5cc3ca2c1cdb8097dfe918173cba1] Only recurse into src/python when BUILD_PYTHON is set 2022-08-24 Kohei Yoshida [a912a79ffc10e3f5f2f3d052de54cc5acbdd81d1] fo:text-align may occur for families other than table-cell At least for paragraph and graphic. 2022-08-24 Kohei Yoshida [0383b7297df97145b3145fe1dcd83552d27f3b23] Always build orcus-env-dump even when --without-tools is specified This is related to #144. See also https://bugs.gentoo.org/713586 Thanks to James Beddek for the report as well as the fix. 2022-08-23 Kohei Yoshida [6ae2b11f86a6c3471d4061ab4ac4c69fa0d84199] Remove ORCUS_ASCII and with it the global.hpp header file too 2022-08-23 Kohei Yoshida [e11df5525aed8ecfa9cc28caaba7e4d07ed3b078] More on replacing ORCUS_ASCII with std::string_view 2022-08-23 Kohei Yoshida [e9e29db6cd720fb375ea2536b9adeb527e78f86f] More on using string_view_map_entry 2022-08-23 Kohei Yoshida [722a76fe5f9872a7c28faaa51939177a76119b94] More on using string_view_map_entry 2022-08-23 Kohei Yoshida [668a36f2e22e1dcf3088713490dc948378e84a3c] Replace ORCUS_ASCII with std::string_view 2022-08-23 Kohei Yoshida [af9c329e453e1fb6bbd3218cb97991c585b9d3fc] More on using string_view_map_entry 2022-08-23 Kohei Yoshida [76573ac5e1ad716b61a424302c2153393025817d] parse_expected() to take std::string_view 2022-08-23 Kohei Yoshida [5221947cbf01e7cf97fbfe16dd004e4ed7572c3e] Use string_view_map_entry to store the keys as std::string_view 2022-08-23 Kohei Yoshida [568512808727753c1d3a50dddf03c607faf3a8f2] Use std::string_view to replace ORCUS_ASCII 2022-08-23 Kohei Yoshida [a3cfbee8e58c0cbf5f9839f62e0fa66b45bb430b] skip(...) to take std::string_view thus avoiding ORCUS_ASCII macro 2022-08-23 Kohei Yoshida [38f9d676823a66fe27f9e7c28495ec65380cfddf] Use std::string_view for entries 2022-08-23 Kohei Yoshida [7777f4f60e88c459b1b7c5a4e6c802518aadeaa7] Use std::string_view for entries 2022-08-23 Kohei Yoshida [5715f1ea6b1c3d4faecdbfebbef203baba931359] Use std::string_view for entries 2022-08-23 Kohei Yoshida [c788b79551994b6434c9128506304da49f39c662] Use std::string_view for entries 2022-08-23 Kohei Yoshida [ccc7fcce656cc052040b70188fd4745a15978da1] Use std::string_view for entries Also put all relevant definition code into a namespace. 2022-08-23 Kohei Yoshida [45be9d84192b8d3725379e945e0d5ecb8610db42] Use std::string_view for entries 2022-08-23 Kohei Yoshida [2ec419c9e56b6ff29cee00ca276fc089eb70019b] Use std::string_view for entries 2022-08-23 Kohei Yoshida [815aa0915f2d7b129d6e8c1c75fcb00bc2627a3c] Use std::string_view for entries Also split the three map instances into separate namespaces. 2022-08-23 Kohei Yoshida [944fa76d46aef7a05d18329e8a79ac9149b15d19] Use std::string_view for entries 2022-08-23 Kohei Yoshida [e12c67aee97d1fd4b9b96ea5ce70510d66f8b3d0] Use std::string_view for entries Also turn color_rgb_t into POD so that it can be declared constexpr. 2022-08-23 Kohei Yoshida [0535ca2dbe96aa464683e0af0c0da8f790a8dc28] Use std::string_view for entries 2022-08-23 Kohei Yoshida [459bedc60f6210feedb309423510499ddb3a48c3] Use std::string_view for entries 2022-08-23 Kohei Yoshida [1db17be961175aaf9d18a1c339ec159a7548a746] Use std::string_view for entries 2022-08-23 WANG Xuerui [ce66c0fb64c667e78476f8611eb5f097ec572f0a] Include in base64.hpp too This is also necessary for building with gcc-13. Signed-off-by: WANG Xuerui 2022-08-21 Kohei Yoshida [7e82ade9f967cb5590a2046da1328d948a3c9656] Use mdds::string_view_map_entry to simplify uses of sorted_string_map 2022-08-20 Kohei Yoshida [18788ae7fbb49cffff34b5e145b6dfc7969ad6c0] Adjust for the latest API change in mdds::sorted_string_map keylen -> key_length 2022-08-19 Kohei Yoshida [ec1b6a388f2c7c32ddcbe7c99275aa6430e591de] Use std::unique_ptr instead of raw pointer With this change, nobody uses map_object_deleter. 2022-08-19 Kohei Yoshida [9146aca9779f2db3f8a4967d0831677ccb8f19ce] Tuck these types inside elem_prop 2022-08-19 Kohei Yoshida [49a5ebfd9abdcbfbb8e7489ff614bab026793bbd] Move to_date_time() to date_time_t::from_chars() With this change, global.cpp no longer contains any code. 2022-08-18 Kohei Yoshida [f4605a5bdfad1f8a30a2678914f7f744c0ec0210] Remove all uses of ORCUS_N_ELEMENTS in favor of std::size() 2022-08-18 Kohei Yoshida [2e0c68335f14575716889ab5ee2ed757f0fd89d9] Define sorted_string_map in more standard way 2022-08-18 Kohei Yoshida [70424815e8d2fde5361800a6279525f1f099706e] Turn it into an immutable singleton 2022-08-18 Kohei Yoshida [5ead3e707dc9f299f1c10c4782bb5707840502d9] Replace ORCUS_N_ELEMENTS with std::size() and other cleanup 2022-08-18 Kohei Yoshida [5549d3f908c4d4ca7337813cf3f71ad8a38b5445] Internalize print_attrs() which is only used in liborcus 2022-08-18 Kohei Yoshida [2c9a217017a251f08ab72b37e6af66c55e1a3a44] Unused function 2022-08-18 Kohei Yoshida [bdf40b4f48517999dfdf4af5175c6e7bfe2710a0] Replace use of std::strtol() to parse_integer() where appropriate 2022-08-18 Kohei Yoshida [f0c5e6b7a083b90bf876485e815a32a3265ae2da] Make the sig of parse_numeric() similar to that of parse_integer() 2022-08-18 Kohei Yoshida [83d5cf39b8a979289aa7c3c735a6459a30e3c117] Safeguard against some invalid input values 2022-08-17 Kohei Yoshida [a751d28b44b3afad5d1625dd0836c243cf41c35c] Replace pstring with std::string_view in common_test.cpp Move the test for pstring::trim() to parse-global-test and use it to test orcus::trim() instead. 2022-08-17 Kohei Yoshida [ca75ec7e241557b96bbd07b23aec8daf766fef5b] Change the signature of parse_integer to make it similar to that ... ... of std::from_chars(...), and set up a test case for parse_integer(). 2022-08-17 Kohei Yoshida [791921abe18fe5a01986a1a39d2965775a681ce9] Set the new mdds baseline to 2.1 & try to fix gitlab-ci build failure 2022-08-17 Kohei Yoshida [0a32f053a67c0a3adfc3e259e79142d95b7d9a66] Use autoreconf over autoconf 2022-07-20 Rosen Penev [5553ca5a4ae4f6bea0961ee5a666aa2b5f6ed6fc] fix for MinGW Avoids redefinition errors and a compilation fix for clang on MinGW. 2022-07-19 Kohei Yoshida [fa68d6a76778df26e41108e3400f4a907e351203] Explicitly include header with GCC 13 (#162) c.f. https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes 2022-07-19 Kohei Yoshida [907c6b42d7b8203b8a731adccb2cea1eee15729e] Fix build issue with MSVC 2022-06-09 Kohei Yoshida [1dfbda6ba2992e65f9f3c77033f708acc5821168] Rename number_formatting_context to just number_format_context 2022-06-09 Kohei Yoshida [58bc1b9cf16373edaa9c756b0a1bb3c7cdf03628] Let's use switch statement here in lieu of chained if statements 2022-06-08 Kohei Yoshida [74ccca3047c17f87998433ec77428e7979b154e5] Rename number_formatting_code to odf_number_format Also clean up its members. 2022-06-08 Kohei Yoshida [f8c3c264da1fcbb520d0f7a4d51a67a4cb226c80] Remove m_styles as unused 2022-06-08 Kohei Yoshida [75c232ea1f2fbbb8f6771561af30698b05594c00] Add view types 2022-06-08 Kohei Yoshida [9fb0768c20791bd7bcf8aaef21272bf0f728053c] Add some content to the API doc 2022-06-08 Kohei Yoshida [1a356e0fd52a9347fdfa85399d67a5d06ac0ee3e] Remove the old interface 2022-06-08 Kohei Yoshida [98601fdd57d9513ce23254cff9bfd49ffcf936d6] Use import_cell_style in odf styles import 2022-06-08 Kohei Yoshida [5d323b0035b32450466acb38c9c80c4b13fd367c] Don't forget to ensure the xf interface exists 2022-06-08 Kohei Yoshida [c7cec298f498e286220d74eb2364ce2a95cc6e35] Use import_cell_style in xlsx 2022-06-08 Kohei Yoshida [80dafcf91af103adb8e7c3ce0eee987399e389ca] Add import_cell_style sub-interface and use it in xls-xml 2022-06-07 Kohei Yoshida [56d2c266f1b7fe6fc9d8ebd00c001acb181dc9d1] Clarify (for the n-th time) what this style-xf is used for This is Excel specific, and is only used with the record that occurs below the element. It refers to the record below the element which stores the format records for named cell styles. 2022-06-07 Kohei Yoshida [dc29c2d295b1b87f4b94e1c1c0c7ecc8e6cfc8ab] Remove the old interface and fix a few more places I overlooked 2022-06-07 Kohei Yoshida [397dfd57390de6a28d0b792d36341a840d6ea668] No 'using namespace std' 2022-06-07 Kohei Yoshida [e7f41cd257d66853318e21f781abedd4310b9354] One more place that uses the old xf interface 2022-06-07 Kohei Yoshida [7ba88cc6476158f8da5759413d5ba2e8c3191e99] Use std::variant to replace union 2022-06-07 Kohei Yoshida [a2549f26b9eb1ad854e699ebd21a9619731c2da7] Add debug symbol when debug-utils is enabled 2022-06-07 Kohei Yoshida [90d0d3afa3c6babdf0fd3ded302d17ebf5fa3e67] Let's have start_paragraph_properties() method just to be consistent 2022-06-07 Kohei Yoshida [068dc7d7661ab9d829671447b988a42991431598] Simplify the hor and ver alignment extraction function implementations 2022-06-07 Kohei Yoshida [7d54608dc334406349d10de9d1c919c6fd69131b] More opportunity to use range-based for loops over for_each 2022-06-07 Kohei Yoshida [6854616b4cb1243c3dc900e79aa7849c4f3bf531] Let's use insert_or_assign from C++17 2022-06-07 Kohei Yoshida [cb265604d86b8e1d4fb18a9fde3961b4cd443be2] Use import_xf in odf styles import 2022-06-07 Kohei Yoshida [ac7106f0581d9ff8852cce8c067152c9ef193bc4] Use range-based for loop over for_each with function object 2022-06-07 Kohei Yoshida [579a756977f5461e9dc11502aa2c77f9dd927b38] Prefer std::make_unique over reset & reduce indentation by early bailout 2022-06-07 Kohei Yoshida [a714e1732a52fc1c5d9e6c85961cd5039b7c8bc6] Use import_xf in gnumeric 2022-06-06 Kohei Yoshida [77a26f36b3b5d5302d1ce4161f3bf29a3afc8750] Use import_xf in xls-xml 2022-06-06 Kohei Yoshida [8ec42c299640fc7793f04f2e8b013233a32cbe03] Add import_xf sub-interface and use it in xlsx 2022-06-06 Kohei Yoshida [2a6263ff4bcb195d7e9c398f5644511b43801730] Introduce xf_category_t and combine some of the interfaces The xf, style-xf, and dxf all share common attributes, so let's combine their interfaces. This is just the beginning of that work. 2022-06-06 Kohei Yoshida [9f7bc5b568e03b4094ea6b8ffe3be4edf3273a70] These are no longer used 2022-06-06 Kohei Yoshida [1081395adb8792908a8f2b853133a88a0999fa10] Remove the old interface for number format import 2022-06-06 Kohei Yoshida [36a2d91eae2b2e1583be79e837144de9d53b3e64] Use import_number_format on ods styles import I need to come back to this and fix the issue with number_formatting_context. It doesn't properly track the element stack within its context. 2022-06-02 Kohei Yoshida [8b2e357176a538898bae7fba7b00bada9dcfb50d] Use import_number_format in gnumeric 2022-06-02 Kohei Yoshida [d58185d1e54f9b1d749ab9ee9380f2e870993c7c] Use import_number_format in xlsx 2022-06-02 Kohei Yoshida [b8bbfdc622841a3a0b8963ff500dde5bb87d9ae9] Add import_number_format interface and use it in xls-xml 2022-06-02 Kohei Yoshida [b24cbd1516c4a88667720ae1916fee914fbb1bdb] Remove the old interface methods 2022-06-02 Kohei Yoshida [d648800e83da57c7f8d554e2ed5d6802d03719da] Add ENSURE_INTERFACE macro to remove repetitive interface checks Also add a class doc to the exception being thrown when the check fails. 2022-06-02 Kohei Yoshida [81cbe7cdad8f2c1e0d9bff4ab28b9c8f6661f8fa] Use import_cell_protection in odf styles import 2022-06-02 Kohei Yoshida [cf68531c016440668fb830ff99b5e79e850c4535] Use import_cell_protection in gnumeric 2022-06-02 Kohei Yoshida [39e9628bc6516614808a870292be75393c851ae8] Use range-based for loop in start_style() 2022-06-02 Kohei Yoshida [2fce813115731e0a6e53bc2bbac7f0cfd63f23c7] Use import_cell_protection in xlsx 2022-06-02 Kohei Yoshida [63385c4a40af709217a75af73dfbcc900aba03d3] Add import_cell_protection interface & impl and use it in xls-xml Although xls-xml currently doesn't import cell protection attributes. We'll tackle that with #159. 2022-06-02 Kohei Yoshida [eb1950424d583b9d6711c11316a4d6ffd7daea08] A bit of cleanup to switch to ranged-for loop etc. 2022-06-01 Kohei Yoshida [ebaf75286c7d7da80d0582ccf995bee8f1ddd9a9] Remove the old interface 2022-06-01 Kohei Yoshida [0ced9ee3d043b8e8a60a0faab5513adc737111ab] Use import_border_style in odf styles import 2022-06-01 Kohei Yoshida [f22e27e2965eb67857d3005e16f19dfe8c17d0f6] Use import_border_style in xlsx 2022-06-01 Kohei Yoshida [df6b55f53f57aca588e6216a95489d7847976374] Implement import_border_style and use it in xls-xml 2022-05-31 Kohei Yoshida [816c9d20cb322dade1af9e94cb4b5e0251c47966] Remove the old interface for fill style 2022-05-31 Kohei Yoshida [0fbfcc740f91d1c6e3f3fa062e009a69437b3f24] Use import_fill_style in gnumeric 2022-05-31 Kohei Yoshida [64eab6cf448b2a7d5fb040023890c23a0117b79f] Use import_fill_style in odf styles import 2022-05-31 Kohei Yoshida [757da3a28d57464983113fc397d99a0fd05a4d7c] Use import_fill_style in xlsx 2022-05-31 Kohei Yoshida [2f9bea87a8890748a9d551abe6b24a897f9c982e] Add implementation for import_fill_style and use it in xls-xml 2022-05-26 Kohei Yoshida [dfd261b9313b55a4c1d87831a47dfe6d3e117dfe] Add method docs for the set_*_count method interfaces 2022-05-26 Kohei Yoshida [403e6698cb85df865f5f285f55144abedf8872af] Completely remove the old interface ... ... and fix some left-over code that was still using the old interface. 2022-05-26 Kohei Yoshida [a4568198e216982e755b01bc17ba02f526479cc3] Use import_font_style in the odf styles importer 2022-05-26 Kohei Yoshida [28a9d1768104400da485132e0196d16eaa396364] Use import_font_style in the gnumeric importer 2022-05-26 Kohei Yoshida [861ef2db0087e554c5da501d7295f795cbf2fbe3] Use import_font_style in the xls-xml import code Also make it official that get_font_style() must return a non-null pointer to the interface instance. I don't think allowing it to return null here would work correctly if the import_style interface is provided. Let's also replace throw() with noexcept in the exception classes. 2022-05-26 Kohei Yoshida [5a7f17072da85aeab96cc8b28e58304a5a001afb] pstring -> std::string_view 2022-05-26 Kohei Yoshida [8f89a07cd1fc0ebcf194e31933ee3a7ef2a2af60] Consistent indentation on 'break' 2022-05-26 Kohei Yoshida [08f3dc349d2004f7dc5d49ea89a840ff8d3d1ade] Create import_font_style interface, and use it for xlsx The old font style interfaces will be removed once it is all finished. 2022-05-23 Kohei Yoshida [8c85c8c87d9986bc50c1a6c040b8f999a97768e8] Move import_styles interface into its own header. 2022-05-23 Kohei Yoshida [bb14f5d41c8438080cd3bbbae55d546b4138dac6] Use relative header paths consistently 2022-05-23 Kohei Yoshida [ac2c2a7670c841ffdbe1e9d5dc74c31a0b8db759] Remove '= 0' from destructors with definitions 2022-05-21 Kohei Yoshida [a646acb0408807ab62e8677cb6262ea077339818] Add or modify the comments to clarify some cell style structure This can be quite confusing. 2022-05-19 Kohei Yoshida [a48c2d143076d760e89b1c72ff39c8a1a816b48f] No need for m_ prefix with struct members 2022-05-19 Kohei Yoshida [e7954837f6b57f7340106c98b4fe5fc9fab77e9a] A bit more cleanup 2022-05-19 Kohei Yoshida [d85b7b3505110020648a2d0028184d2ca3194a01] Move some common types into the spreadsheet types header 2022-05-19 Kohei Yoshida [16a5c224047d0d20bf67b2d204a95bb5500b80c1] Remove unused code from shared_strings (#156) 2022-05-19 Kohei Yoshida [2ceada380d911b3495669f1786eaa184189bcb34] Rename original import_shared_strings to just shared_strings ... and make it a non-heap member of document_impl. 2022-05-19 Kohei Yoshida [9601eff42f4265da0ccce5601c07271f8ddbaddd] Create a truly import only import_shared_strings class, and ... ... use it to import shared strings. (#156) 2022-05-17 Kohei Yoshida [c77deae627da7acb651fc699ace30a29fa4e7305] Use forward declarations 2022-05-17 Kohei Yoshida [931ecf49915dfa64705279378ab2c1ff1afc6061] Actually we don't need these guards... These methods use distinct stream instances, so no points setting guards for them. 2022-05-17 Kohei Yoshida [9161baed625c59e5fccc5c2db49aa52a02a63608] Dump misc document properties Also fix date_time_t::to_string() to ensure correct width for each date component value. 2022-05-17 Kohei Yoshida [d55b84e81c0a8c3d67ce91facb3c724dbb67be54] Slightly better approach to universally handling enum to size_t 2022-05-16 Kohei Yoshida [6391a2751470c26aef3df35e52e74b0dc90d76bd] String with '-' also needs to be quoted 2022-05-16 Kohei Yoshida [6d99b43c6199c801b43668fa3769f010e66473c4] Dump number format values 2022-05-16 Kohei Yoshida [f23fc33c30978fc6c3fa793ba001a47794639da4] Dump protection values 2022-05-16 Kohei Yoshida [161a3c145d16fae726f1be4d49aecd18d79a547c] Remove duplicates 2022-05-16 Kohei Yoshida [99143d48921c6863c7c1efb5425378d78411ca15] Dynamically determine whether the value should be quoted 2022-05-16 Kohei Yoshida [0c8f09671e65bc9bafed5b845eb22e47a9fc695b] Dump strikethrough-style, -type, -width and -text Also rename strikethrough_type_t::single to single_type, for the same reason as underline_type_t. 2022-05-16 Kohei Yoshida [aadd71c7217b8cbb227748991e0243c32ae633ac] Dump underline-width, -mode and -type Also rename underline_type_t::single to single_type as noted in my comment. 2022-05-16 Kohei Yoshida [be018396ed5f85d3b52c629ff59dc78b3cc41f0b] Correctly spell 'continuous' 2022-05-16 Kohei Yoshida [15a2a983313d886138718f58a08a6623cacc1773] Rename dot_dot_dot_dash to dot_dot_dash. This officially breaks the API compat. 2022-05-16 Kohei Yoshida [78a8b85cdf346c16bc22434bff8a16c6e9545b27] Dump the underline style of font attributes. 2022-05-16 Kohei Yoshida [8026421d974368b742d747ef9bf33aed33b6dc7c] Dump border attributes. 2022-05-16 Kohei Yoshida [eabd2568eaac3f545011b1dd62ab1acb1fb2c8e6] Explain what this template does. 2022-05-16 Kohei Yoshida [4f66a161d0754eb82be0e305989208b970cf6514] Dump the rest of the cell format values. Also dump boolean values as true or false. 2022-05-16 Kohei Yoshida [2f44883b994a7b50c898e42e439c0ac9e76aeafc] Maintain consistency. 2022-05-16 Kohei Yoshida [8f85308273a9d5c898d167c361d2985284fff3f5] Dump horizontal and vertical alignment values. 2022-05-16 Kohei Yoshida [17449ff020cbf3972e62be182b83c8935c416c59] Remove duplicated code for dumping cell format contents. 2022-05-16 Kohei Yoshida [de5486bc4c8d4aee492a459ef9a8e98571c175d8] Dump unset value with '(unset)'. 2022-05-16 Kohei Yoshida [93cb2a134edc2790e4354e2be45525ba2ff3f5f5] Share ostream_format_guard because this is universally useful. 2022-05-16 Kohei Yoshida [423537108a21fc4e90dbae445eaeb21c802132d0] Tweaking the style dump output a bit. 2022-05-16 Kohei Yoshida [e8fc630cb128fd0e722b38707fea528fdec84d91] Dump cell format state. 2022-05-16 Kohei Yoshida [d63bf6ac1bb2ae8279f1b87b022f318e063b3472] Put the color values in quotes to make it a valid yaml. 2022-05-16 Kohei Yoshida [f98f28c5019276b40f746d8b01f3a53c040db5c3] Partially dump some styles stored in the document. 2022-05-16 Kohei Yoshida [459518a4007ba39b66494ae426d6ec8f05bfef3e] Use unique_ptr here 2022-05-16 Kohei Yoshida [76445a18b6881a3b678d24e77376af23e01b96ab] Put sheet_impl in detail namespace too 2022-05-16 Kohei Yoshida [a35084202b16c08d89dfc50a708d40ee4daf73e0] Rename debug_state_dumper to sheet_debug_state_dumper 2022-05-16 Kohei Yoshida [e4580f2b7e8d7bf915afee654980510ed31e7fc4] Put document_impl and its associated types inside detail namespace. 2022-05-16 Kohei Yoshida [4b7d67bc45bcc2edd779047afb66cdb7666319ad] Move document_impl out into its own header and source. This will be referenced later in a doc state dumper. 2022-05-16 Kohei Yoshida [2325e1fd9b9fbc554a8fd46576b27d2cc4925d56] No m_ prefixes on struct members. 2022-05-16 Kohei Yoshida [f729451f15ecbf13362b1370a625dc368e523b64] Use std::unique_ptr here. 2022-05-16 Kohei Yoshida [065b091b6ee8706e855f056603dd809a784c8d82] Move this into a separate method. 2022-05-16 Kohei Yoshida [d01cf79cdff54fbabd088a38ff67f61ba58051ad] Let's not use the m_ prefix on struct members. 2022-05-16 Kohei Yoshida [1c253e5700d25186d1f30bfa6d5797f378a165cd] Convert tabs to spaces in all cmake files. 2022-05-16 Kohei Yoshida [5218bac9de960682db7200deab722e207e41b57c] Set up a debug state dumper and dumper cell values first. This is the same dump as the 'check' output dump. 2022-05-16 Kohei Yoshida [27e784590b80b7d4fa1be4647e54f5286ff493c2] Avoid using namespace boost 2022-05-16 Kohei Yoshida [d57b7d14e0a0d6685838ea96514e4eaf4bdaede9] Make room for the debug-state output type. 2022-05-16 Tom Stellard [469aca3c76965b9031947506a15d940cbcd11cdb] Fix error when compiling with clang csv.cpp:83:29: error: non-constant-expression cannot be narrowed from type 'Py_ssize_t' (aka 'long') to 'std::basic_string_view::size_type' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] app.read_stream({p, n}); ^ csv.cpp:83:29: note: insert an explicit cast to silence this issue app.read_stream({p, n}); ^ static_cast( ) 1 error generated. 2022-05-11 Kohei Yoshida [08fa2255d24a232ac75027e8f114fe6824061113] Replace pstring with std::string_view. 2022-04-21 Kohei Yoshida [9a437392f126fd58b84d70a0a7fc34cccf84b9c2] Do not reference a temporary object. > orcus_filter_global.cpp: In function ‘std::string orcus::gen_help_output_format()’: > orcus_filter_global.cpp:76:51: error: loop variable ‘entry’ of type ‘const std::pair&’ binds to a temporary constructed from type ‘std::pair, orcus::dump_format_t>’ [-Werror=range-loop-construct] > 76 | for (const std::pair& entry : get_dump_format_entries()) > | 2022-04-21 Kohei Yoshida [4fcc8d69fa5cf1be73a0e100cba61f63e4eee02c] Fix typo. 2022-03-31 Kohei Yoshida [3ef2457d0f0f53445573568762c16b766c059e2f] Set up a test for format detection on invalid input blobs. 2022-03-31 Kohei Yoshida [cc85fd039b447749dc226933f2b3797cdf36f3ec] Use boost::filesystem to handle file paths. 2022-03-30 Caolán McNamara [f5a8247b5ff59a73e6fcb11138212de5ca523243] forcepoint#95 read past end of string on malformed input 2022-03-25 Kohei Yoshida [0eab7d2407a1e157e3b2274f941a2649cb84885a] Update the method doc wrt valid stream check. Also make sure no callers check for valid stream before calling the method. Turns out there is only one call site that did the check. 2022-03-25 Caolán McNamara [0a99ca6d50af51f1b0a151fdcac5e12ec9b01bf8] forcepoint#88 assigned temp std::string return to string_view it's out of scope when used =ERROR: AddressSanitizer: stack-use-after-scope on address 0x7ffcaf91b111 at pc 0x000000486ec4 bp 0x7ffcaf91aed0 sp 0x7ffcaf91a680 READ of size 2 at 0x7ffcaf91b111 thread T0 #0 0x486ec3 in __interceptor_memcpy.part.0 (instdir/program/soffice.bin+0x486ec3) #1 0x7fa6c4471b77 in std::basic_streambuf >::xsputn(char const*, long) (/lib64/libstdc++.so.6+0x143b77) #2 0x7fa6c4463ae3 in std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, long) (/lib64/libstdc++.so.6+0x135ae3) #3 0x7fa6b4027a26 in std::basic_ostream >& std::operator<< >(std::basic_ostream >&, std::basic_string_view >) /usr/bin/../lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/string_view:669:14 #4 0x7fa6b426792b in orcus::xml_element_printer::print_namespace(std::ostream&, char const*) const workdir/UnpackedTarball/liborcus/src/liborcus/xml_util.cpp:35:12 #5 0x7fa6b4267c68 in orcus::xml_element_printer::print_element(std::ostream&, char const*, unsigned long) const workdir/UnpackedTarball/liborcus/src/liborcus/xml_util.cpp:46:5 #6 0x7fa6b41c1956 in orcus::xml_context_base::print_element(std::ostream&, std::pair const&) const workdir/UnpackedTarball/liborcus/src/liborcus/xml_context_base.cpp:280:20 2022-03-24 Kohei Yoshida [99e8e9019c1c64fb96c87cc29604ac0072d2a1d8] Add valgrind-memcheck to the mix. 2022-03-24 Kohei Yoshida [55c5caa73d577a00eb1e1acd8801423b73726bed] New invalid test file. This is for the fix in a718524ca424fb8a7e7931345a118342d1d4a507. 2022-03-24 Kohei Yoshida [ddcfde18054580dc9027e266728bf61e25b5d0be] Set up a test framework for parsing invalid XML docs. 2022-03-24 Caolán McNamara [a718524ca424fb8a7e7931345a118342d1d4a507] forcepoint#87 Assertion `mp_char <= mp_end' failed soffice.bin: ../../include/orcus/parser_base.hpp:65: bool orcus::parser_base::has_char() const: Assertion `mp_char <= mp_end' failed. 2022-03-24 Caolán McNamara [223defe95d6f20f1bc5fd22fecc80a79a9519028] forcepoint#84 Invalid read of size 1 ==356879== Invalid read of size 1 ==356879== at 0x11EC50B0: orcus::parser_base::cur_char() const (parser_base.hpp:79) ==356879== by 0x11EDD736: orcus::sax::parser_base::value(std::basic_string_view >&, bool) (sax_parser_base.cpp:303) ==356879== by 0x11B7C3D5: orcus::sax_parser::handler_wrapper>::handler_wrapper, orcus::sax_parser_default_config>::attribute() (sax_parser.hpp:563) ==356879== by 0x11B7B35E: orcus::sax_parser::handler_wrapper>::handler_wrapper, orcus::sax_parser_default_config>::element_open(long) (sax_parser.hpp:292) ==356879== by 0x11B7A2F7: orcus::sax_parser::handler_wrapper>::handler_wrapper, orcus::sax_parser_default_config>::element() (sax_parser.hpp:246) ==356879== by 0x11B7A1C7: orcus::sax_parser::handler_wrapper>::handler_wrapper, orcus::sax_parser_default_config>::body() (sax_parser.hpp:214) ==356879== by 0x11B7A009: orcus::sax_parser::handler_wrapper>::handler_wrapper, orcus::sax_parser_default_config>::parse() (sax_parser.hpp:182) ==356879== by 0x11B79FBB: orcus::sax_ns_parser::handler_wrapper>::parse() (sax_ns_parser.hpp:277) ==356879== by 0x11B79798: orcus::sax_token_parser::parse() (sax_token_parser.hpp:215) ==356879== by 0x11B79436: orcus::xml_stream_parser::parse() (xml_stream_parser.cpp:68) ==356879== by 0x11BE3855: orcus::orcus_xlsx::detect(unsigned char const*, unsigned long) (orcus_xlsx.cpp:188) ==356879== by 0x11AB2492: orcus::detect(unsigned char const*, unsigned long) (format_detection.cpp:60) 2022-03-24 Caolán McNamara [9f6400b8192e39fefd475a96222713e9e9c60038] forcepoint#83 Invalid read of size 1 ==343916== Invalid read of size 1 ==343916== at 0x11A7B2F0: orcus::parser_base::cur_char() const (parser_base.hpp:79) ==343916== by 0x11B7B112: orcus::sax_parser::handler_wrapper>::handler_wrapper, orcus::sax_parser_default_config>::element_open(long) (sax_parser.hpp:258) ==343916== by 0x11B7A2C7: orcus::sax_parser::handler_wrapper>::handler_wrapper, orcus::sax_parser_default_config>::element() (sax_parser.hpp:246) ==343916== by 0x11B7A197: orcus::sax_parser::handler_wrapper>::handler_wrapper, orcus::sax_parser_default_config>::body() (sax_parser.hpp:214) ==343916== by 0x11B79FD9: orcus::sax_parser::handler_wrapper>::handler_wrapper, orcus::sax_parser_default_config>::parse() (sax_parser.hpp:182) ==343916== by 0x11B79F8B: orcus::sax_ns_parser::handler_wrapper>::parse() (sax_ns_parser.hpp:277) ==343916== by 0x11B79768: orcus::sax_token_parser::parse() (sax_token_parser.hpp:215) ==343916== by 0x11B79406: orcus::xml_stream_parser::parse() (xml_stream_parser.cpp:68) ==343916== by 0x11BE3805: orcus::orcus_xlsx::detect(unsigned char const*, unsigned long) (orcus_xlsx.cpp:188) ==343916== by 0x11AB2482: orcus::detect(unsigned char const*, unsigned long) (format_detection.cpp:60) ==343916== by 0x30E60945: (anonymous namespace)::OrcusFormatDetect::detect(com::sun::star::uno::Sequence&) (filterdetect.cxx:83) ==343916== by 0x30E60ABE: non-virtual thunk to (anonymous namespace)::OrcusFormatDetect::detect(com::sun::star::uno::Sequence&) (filterdetect.cxx:0) 2022-03-23 Kohei Yoshida [1bb9375dcfb43b7b06e371310f01688bd3efb02e] Use ax_valgrind_check to enable running tests under valgrind. 2022-03-23 Kohei Yoshida [a63b9f598dac150e6af7a6126ccff8793a4ba035] Update the required ixion API version. 2021-12-15 Kohei Yoshida [8865b88c8627953c1c4f371c3a582f58f233295d] Set the next version to 0.17.2. 2021-12-14 Kohei Yoshida [d93d1d89db946c6578d8575cfa6b4fc64ae11767] Add to CHANGELOG. 2021-12-14 Kohei Yoshida [8e270ff28bcbdfec1e07b01d8b34b6f4b2ce5545] style:cell-protect="none" means explicitly not protected. We need to therefore pass this state to the handler explicitly. 2021-12-10 Kohei Yoshida [04e3d8e6d78dd4644ea8f46926c4c347fae41535] Mention coverity issues and compiler warnings. 2021-12-10 Kohei Yoshida [f7f9060e758109a8d4661691c044ee2a46074108] Add items for 0.17.1. 2021-12-10 Kohei Yoshida [5a459c8e70e38ccbf466ae2196aca2e2e48c4472] Fix make distcheck. 2021-12-08 Kohei Yoshida [82a5da70dae6b96a2f63dc1cc000aeae1fc1c276] Add a test case for ignore invalid sub structure. Also tweak the validator to allow elements when no rules are defined. This is related to #138. 2021-12-08 Kohei Yoshida [13fd8c214a34e7817afe493068f00d47a073ab09] Print short name in case an alias is not available. 2021-12-08 Kohei Yoshida [61126fb6ef8889cffa129ea34559fe6d12675f16] Introduce ORCUS_ODS_USE_THREADS env var to toggle threaded parsing. 2021-12-07 Kohei Yoshida [7ef047ae9ff3508d3c41749c55c893dcd2e1defb] Print ':' only when the namespace is not empty. Also add dump_state() to xmlns_context for debugging. Sometimes the code fails to fetch correct alias string from a namespace value. 2021-12-07 Kohei Yoshida [06f7d237fce4e47f388e58e721ac60e84b3f9b2e] Add even more rules. 2021-12-07 Kohei Yoshida [5345e4d55a2356d888c0811ea05cb9c03308936a] Add a whole bunch more rules. 2021-12-07 Kohei Yoshida [fde279c75ec388b2fea61900d3632e993df5d5c8] Define rules for context. 2021-12-07 Kohei Yoshida [e26163ab7abfba598fb95133dc1457d1d021e032] Move up child element evaluation to the xml_context_base. And have the derived class provide the validation rules. This makes more sense. Also rename element_printer to xml_element_printer. 2021-12-07 Kohei Yoshida [6377c883c50d09e6aae2aea62dcb8e58a8bb59fd] No need to check XML structure in start_element(), now that it ... ... is done in evaluate_child_element(). 2021-12-07 Kohei Yoshida [7641764abc4a3b21f5825510d41d5e858aa1b545] More descriptive validation results. 2021-12-07 Kohei Yoshida [bb0ef631ca829e7a47039cdf397a4362bc8ce638] Move evaluate_child_element() above create_child_context(). 2021-12-07 Kohei Yoshida [4242c31449a110bdad9fe6d34d638426b5cd8056] Extract the element printing logic and re-use it in xml_stream_handler. 2021-12-07 Kohei Yoshida [d06d31f182650cf74646b1177a313eb58a589de0] No reason why we wouldn't set it to all contexts on the stack. 2021-12-07 Kohei Yoshida [225f5ee352e861ce326f7576b72b8cd4c3a18385] This shouldn't be necessary since the ns cxt gets passed ... ... from the parent context to the child via transfer_common(). For the invalid context, it gets set when in the stream handler's set_ns_context() method. 2021-12-06 Kohei Yoshida [96820dc40fc89ba2215b7e9ba4ef7ab26c2cfa60] Add some TODO items. 2021-12-06 Kohei Yoshida [bef436d0c99ccb55efc8fef30c0f1c216342774e] Now we can have xml_stream_handler create an invalid context directly. With this, there is no need to store this context in xml_stream_base. 2021-12-06 Kohei Yoshida [d6afee4ad69f51f523a45994db967c452d3086e2] Pass session_cxt and tokens to xml_stream_handler too. 2021-12-06 Kohei Yoshida [1702f665ce30940031c670456a1413d5cf090cf0] Add more valid rules. 2021-12-06 Kohei Yoshida [7f983dd85ed3bfbdc0747ca10e2e76486d1ef89d] to is allowed. 2021-12-06 Kohei Yoshida [63e718cc1a4169cabf99592c26704967a0ea751e] print_element() to always print <>. 2021-12-06 Kohei Yoshida [32d14d7d8db63767161d396544b1174e12a10fa5] Tidy up the element structure validation rules. 2021-12-03 Kohei Yoshida [ebbfcbb8a3bc58e3305fc90c5a1faadcef6b4ef9] Print warning when an invalid element is encountered. 2021-12-03 Kohei Yoshida [4bfab6d792b4960144aae529c010389d98d4d161] Evaluate child element's validity ahead of time and make use of ... ... an empty context to ignore the whole sub structure in case the child element is not valid. Implemented only in xls_xml_context for now. 2021-12-03 Kohei Yoshida [caff6bd698bed25b957783e2eb5eb9d36e53bd4f] get_current_element() to not throw. 2021-12-03 Kohei Yoshida [b08628149729ee75d82df3ce947b5162e2c71cfd] We don't need non-const get_current_element() and get_parent_element(). 2021-12-03 Kohei Yoshida [98866699519f14ccaecab01054a9e6cfe997ddc7] Add method docs. 2021-12-03 Kohei Yoshida [ab0376681244ddbe6cdaf23350adf3f93e0ec359] Add xml_empty_context to use it to ignore XML sub structures. 2021-12-03 Kohei Yoshida [889dde85e65e4460418fa8b000ae321304d29e86] Remove all traces of can_handle_element() virtual methods. 2021-12-02 Kohei Yoshida [f5b0a2e4542ec347ee4a9d796103dba198342f33] Remove can_handle_element() virtual method. By combining the role of can_handle_element() and create_child_context(), can_handle_element() is no longer needed. The next step is to remove all the can_handle_element() methods from all the derived classes. 2021-12-02 Kohei Yoshida [26d8b8621db43667eb44f8d4159ea99b2d81137d] Re-generate ODF tokens based on v1.3 schema doc. Aside from the already deprecated 'process-content' token, v1.3 is a super set of v1.2 in terms of generated token set. So this should be a safe change. 2021-12-02 Kohei Yoshida [bf9e3219b8f753f2a81d86157c1bc299e5411e97] Skip relaxNG namespace. This is only used in the schema doc. 2021-12-02 Kohei Yoshida [f03e8fec974ef4341043714d2a52f9f354fcce0e] A little cleanup 2021-12-02 Kohei Yoshida [1a1ffb361aed0f7cbbcf326f162fddb0fc020983] Add the option of generating token summary output. Useful for v1.2 to v1.3 comparison. 2021-12-02 Kohei Yoshida [6311423006f6c6cf4522fecb1638b51b62f6c242] Update the code to modern python and fix token generation. 2021-12-01 Kohei Yoshida [f6be585269e769233a01875dfc75192de11f03ea] Switch away from for_each() with function object. 2021-11-30 Kohei Yoshida [ee27f8ea326cfb5b304e46ceb7f84b441e090681] for_each to range for loop. 2021-11-30 Kohei Yoshida [a19ec1ab80af831cc2230bbc244d5e50e0452d32] Use namespace to group mapped values. 2021-11-30 Kohei Yoshida [81faf0b92dc296c751d220b60de7d69c99175e4c] for_each to range-based for loop. 2021-11-30 Kohei Yoshida [cf9a8a5a1f94765bd8c931af13e9c8d4bc40290b] More on pstring to std::string_view conversion. 2021-11-30 Kohei Yoshida [f108bc1625bce24a0d129a5fc8e2295ee8387012] pstring to std::string_view in xml_stream_handler. 2021-11-30 Kohei Yoshida [fdfaa98ac5125d6952b6d43f40998f196be9cb04] Use std::unique_ptr to wrap the root context instance. 2021-11-23 Kohei Yoshida [1e42935a443f6add4714affc57a35b2b5fc9235a] Set the next version to 0.17.1. 2021-11-23 Kohei Yoshida [e5bc949dbefd92dd0aef68f9cb35231ef3e09af3] Fix CMake's check target. 2021-11-23 Kohei Yoshida [134fe27bdc3d032da66cf5abf5030ebfa9e5c0d6] Fix the cmake build. 2021-11-19 Kohei Yoshida [0ed3e31c655f08dc5c774dd4598dd4a25505a94e] Introduce style_attrs_t to simplify some types a bit. 2021-11-18 Kohei Yoshida [9513c43edc6bb439d490bcf9a988d3af516b45d8] Move this into a separate function like the other test groups. 2021-11-18 Kohei Yoshida [12fd70bcaaccb23a4df32025946e76bb07a583f7] Test for active flags on number format attributes. 2021-11-18 Kohei Yoshida [e23dc2f86a11ef1d3a895b54ae2a5f58bae541d7] Simplify the number format test code. 2021-11-18 Kohei Yoshida [a63c2ad2477c9bb4d7dc6c77a7efffa03a09d1af] Keep track of applied number format attributes and store that info. 2021-11-18 Kohei Yoshida [05a9bb17dec8b5895388f0cc196dcf5efa295645] Commit format code only when it's not empty. Otherwise use the default. 2021-11-18 Kohei Yoshida [0f31a7bc54cc82ccdafaf11b1f1adac7552ba017] Use override keywords. 2021-11-18 Kohei Yoshida [a7b59a58f0c8941c88020894b461c5a3bc4e0709] pstring to std::string_view. 2021-11-18 Kohei Yoshida [049fa8fd068702eda308166e83a05d970f902df5] Avoid repeatedly instantiating the number format context object. 2021-11-18 Kohei Yoshida [c1f1ee2b2c442c2003ec0771bcdc450d1f9bd3c8] Add active flags to number_format_t and store that in the backend. 2021-11-18 Kohei Yoshida [7a11d9d9673711843d4ed75eadc0e9feb30b34cf] Use to_bool(). 2021-11-18 Kohei Yoshida [690676d6214a4de95d29420752eb0ef4884dc479] Class description. 2021-11-18 Kohei Yoshida [b906bda3a34e840f299b7670e084670a8a6e57cb] Add test cases for the rest of the protection styles. 2021-11-18 Kohei Yoshida [ba766652e39b8a1a63bf9605c37eb0fe7e42dc97] Only pass specified protection attributes during parsing... ... and test the values for the "Hide Formula" style. 2021-11-18 Kohei Yoshida [c899a4727ef85003dea353c155814d46c9ea7f22] Create a test file for cell-protection styles, and set up a test function. Also add the active flags for protection_t and store that infor in the backend model. 2021-11-18 Kohei Yoshida [486317a6262a35b4db8e08a139a65c31a68db7be] Make the unexpected element error output more viewer friendly. 2021-11-18 Kohei Yoshida [40bfea71d98dc3447b184f66a5e4f4f122afe574] Add class annotations. 2021-11-18 Kohei Yoshida [594d9d22eb50b0e4cbb50f4539bfb82e777d9bf3] Add test code for border styles. Only the "Note" style in the standard styles has border attributes. 2021-11-18 Kohei Yoshida [1ec387914983bb95dc5443e41b2c81c3cae03032] Keep track of active states of border attributes. 2021-11-18 Kohei Yoshida [35662b1f4ddac35ec80e966a0f97f0683e07c21c] Simplify the code a bit. 2021-11-18 Kohei Yoshida [20a3efbcccc9c012f91c8cc44213347157b34825] Use value_type in lieu of std::make_pair(...). 2021-11-18 Kohei Yoshida [be7a595e8b8dc312c36900084ed11c6989fe7a76] Commit each property group only when they exist. Otherwise we'd be adding a whole bunch of duplicated default styles. An index of 0 is associated with the default style for that group, so using 0 is fine in case of empty property group. 2021-11-18 Kohei Yoshida [752a12afe0c0c02d0f64cb885b490c8744d756d1] Add test cases for fill properties for the rest of the standard styles. 2021-11-18 Kohei Yoshida [3eecdaa1dd4253f522440c5876076cc3547fccc9] When for RGB color values without A, set A to 255, not to 0. 2021-11-18 Kohei Yoshida [78d193b22e1c9d1e650d0ef5ad5ad1d597f04bbb] Add test cases for fill properties of "Note" style. 2021-11-18 Kohei Yoshida [8abe6858968377498c4139afa5da4059f3966842] Make the background color optional. 2021-11-18 Kohei Yoshida [6a50282e32b18d268d0cd239381b653ef76649c1] border_details -> border_details_t. This will prevent the type name and the variable name to be the same. 2021-11-18 Kohei Yoshida [cc8f5b0508d1039b2abdf9fa00895feab83f0dd8] Add fill_active_t and use it to keep track of active fill attributes. 2021-11-18 Kohei Yoshida [ddbed5d954d8ef0dce4d380f65357d55e53872bf] Switch from std::for_each to range-based for loop. 2021-11-18 Kohei Yoshida [7f43e353b51fea806b2344bb8a0587e4f2a34ee8] Early bail out on mp_styles being null. 2021-11-18 Kohei Yoshida [e506786779f7c3bbee5fc96c6ec31eb6ee01f409] Let's re-use xml_structure_error for this. 2021-11-18 Kohei Yoshida [331ad9cc53151c5b8a2527c0128c060c4a64c2a1] Handle table-cell-properties parsing in a separate method. 2021-11-18 Kohei Yoshida [d83bcd7cc65920ebe33853e3e100e09eebca558f] Add partial test case for the "Hyperlink" style properties. Also handle "font-color" underline color value, which re-uses the color of the font. 2021-11-18 Kohei Yoshida [0c3cbecddd3db3b066abb05681bcfb8884bc8ec4] Clean up and fix ODF's style:text-underline-style. There is no dot_dot_dot_dash. It is probably meant to be dot_dot_dash. 2021-11-18 Kohei Yoshida [5f62010ea02bee779cdbe038ba48df3d3beec131] Switch odf_helper class to namespace odf & do some cleanup. 2021-11-18 Kohei Yoshida [09354805f5c8e0c11e1ebfd535e376bf16aca5b6] Add checks for text properties. 2021-11-18 Kohei Yoshida [b7a9f8700f227a0631c91669f8864b512f8a6177] Add all styles entries with name checking. The properties will be evaluated later. 2021-11-18 Kohei Yoshida [134aa901e9a349e81eac6e589b0e42d6114bbf03] test_global.hpp must be included as the first header in every test. 2021-11-18 Kohei Yoshida [cf9601859cd7ba442208bedfb39a9bfd52f15d62] Test text properties for 'Heading 1'. Also mention the name of the style in case it's not found. 2021-11-18 Kohei Yoshida [8b5f6e62e47988e29e32d10ea1a0a5e1425ee3ac] Add function to simplify verification of active font attributes. 2021-11-18 Kohei Yoshida [cbfc4796b8c8dfb1036890300639f2dca4485fb8] Add active flag for the name attribute too. 2021-11-18 Kohei Yoshida [cc7cbf7960697fe97b219b4bb3bc16957f880263] Add test code to ensure correct active font attributes. Also, we shouldn't automatically use the font color for underline color in case the underline color is not specified. That should be left up to the client application. 2021-11-18 Kohei Yoshida [57cbacf8cfc04cea69fc333ac7462453d161fcfa] Use xml_elem_set_t for validation against multiple elements. Also fix some coding style with break. 2021-11-18 Kohei Yoshida [e4cf1db1e252f70f905cb725e0e5e74ebd62d927] Make strikethrough attributes optional. 2021-11-18 Kohei Yoshida [10bca6a9918b84d811b9bcadf3e1085050051c74] has_underline flag is probably meaningless. 2021-11-18 Kohei Yoshida [72352fd21c83bd2723c14e2a9fd7848ac5980534] Make underline attributes optional. 2021-11-18 Kohei Yoshida [9e01fbf64deb922426c4bc88114a2e279966b5ef] Add a missing header. 2021-11-18 Kohei Yoshida [0ffcc64137cb4d734f9c3063f38b1478e7d07fb4] Simplify the underline color handling logic with one less flag. 2021-11-18 Kohei Yoshida [512474b49097625212bb204daa912880f5e81418] Use color_rgb_t for underline color & make it optional. 2021-11-18 Kohei Yoshida [cd871067b37f64c7f9f49335df3aaa6306cadba6] Make color value optional & simplify its handling a bit. 2021-11-18 Kohei Yoshida [c07be816e5f5a62ecb756e4575fbf9ec1477ec06] Make font name, size, bold and italic values optional. This fixes one unit test case. 2021-11-18 Kohei Yoshida [de45db084d697916e1a9a9d3560d23cc6152244f] Use namespace to group related stuff. 2021-11-18 Kohei Yoshida [4e56fbb69c9dcafbd3f168b02d21b0d20a174ba7] spreadsheet -> ss 2021-11-18 Kohei Yoshida [faa55b6b42f5a9c321dacc6ee2e0842047b71053] Switch for_each with functor to range-based for loop. 2021-11-18 Kohei Yoshida [e714244cea2f535d36d6aaba08e460b4922ac46e] No using namespace std & fix header braces. 2021-11-18 Kohei Yoshida [e21774782146628c7e112da2e6d07246915f803b] Store active flags for font_t attribute values. Also set up a test framework for this. 2021-11-18 Kohei Yoshida [8c4f314d8d3f5ddb95e420c99faecfc152a30942] Use boost::filesystem to handle file paths. 2021-11-18 Kohei Yoshida [ed733e1c26f6c033f3b2a679dbad54a691382610] Remove m_ prefixes from struct members. 2021-11-18 Kohei Yoshida [4b9a2ae674c9fc911e2813275c596bbe49ec7b21] No more m_ prefixes on members of structs. 2021-11-18 Kohei Yoshida [a309312d6442ed34e127b5801ac937d36f3cd60d] Move mock_spreadsheet.* into test static lib. 2021-11-18 Kohei Yoshida [4d0abb255a0e615f7db86e814bcab642fa4e03dc] Rename orcus-odf-styles-context-test to orcus-test-import-ods. To be consistent with the rest of the tests in the same directory. 2021-11-18 Kohei Yoshida [0a03a307d9cc15450780d9ab7cdca7cde7f9adb8] The entire code (besides main) can be in anonymous namespace. 2021-11-18 Kohei Yoshida [9e216782e09da35665304933c9a51d4863fb1e5a] Set up a test model to simplify loading of styles. 2021-11-18 Kohei Yoshida [d59f11d296281154204d99d58f7508726107a479] const correctness & pass as reference not as a pointer. 2021-11-17 Caolán McNamara [17c502dc816158aec83e92e13e68f62c80fa7748] crashtesting: crash on passing null to std::string_view with many documents, e.g. moz377878-1.xhtml 2021-11-11 Caolán McNamara [19b3e2eb949240ce2f79d59b5433491f3cc3ca06] cid#364089 Uncaught exception 2021-11-11 Caolán McNamara [fd1e7d0dcc493dc4cd3e143c11e0b2f1c46ddd61] cid#364092 Uncaught exception 2021-11-11 Caolán McNamara [0fff7e0a27902ebbe759348c3e75968699ebb7fa] cid#364093 Uncaught exception 2021-11-11 Caolán McNamara [4be858d227504fab6d1b2a3f82e93c3378cd09b1] cid#364094 Uncaught exception 2021-11-11 Caolán McNamara [81afa784c85535850e539ed203d6dd1e548bcf86] cid#364090 Logically dead code 2021-11-11 Caolán McNamara [9b97d1d83715fe74b2942de387d088633bb18d40] cid#364091 Not restoring ostream format 2021-11-11 Caolán McNamara [0ab455332c226d9047035ddee16a317e0378101a] cid#364067 Uncaught exception suppress cid#364067 Uncaught exception cid#364064 Uncaught exception this makes ./configure --disable-spreadsheet-model 0 coverity warnings 2021-11-10 Caolán McNamara [0b5708a9fe0c4115f526ba36838b6725e4918af6] cid#364062 Uncaught exception 2021-11-10 Caolán McNamara [618e8716f7e441f9da62b3c0e4296d16701940c6] cid#364072 Uncaught exception 2021-11-09 Caolán McNamara [60dd68d0108f3b2a5c5bf4ab059cc0e611838807] cid#54447 Uninitialized pointer field 2021-11-09 Caolán McNamara [f1bfa7a1224d7ef54ea49703e95f54334786a767] cid#364070 Uninitialized scalar variable 2021-11-09 Caolán McNamara [d896dbae605420f98aaff1c7c34da1a42983cb59] cid364066 Missing move assignment operator 2021-11-09 Caolán McNamara [7241e81760d9e12f1f013c30b852bead2b2a7f0b] cid#54436 Uncaught exception 2021-11-09 Caolán McNamara [3e7e03c639797ebd6e3c744b59d202b37a63deac] cid#364068 Uninitialized scalar variable 2021-11-09 Caolán McNamara [4f29d4ed2255d758424f0667ab50a58fdc8660cb] cid#364063 drop unused variable 2021-11-09 Caolán McNamara [e80b0c36c404a941145b5ad4e7bc135bfe82c485] cid#364073 Uninitialized scalar field 2021-11-03 Kohei Yoshida [45fad9dff0731a278bee629fb088d4b5b7bd464b] Try using boost::filesystem instead of std::filesystem. std::filesystem still seems unreliable. 2021-11-03 Kohei Yoshida [bc2fc5c359b09f912ca4703da49d6749b397d50e] Unused variables. 2021-11-02 Kohei Yoshida [5bb64db5ecfd1dc3be3304092f4bdebff54deae5] Remove unused parameter warnings. 2021-10-29 Kohei Yoshida [bf4f3a43e18d670bcd1e9d9ba3be6933667cc56a] Update CHANGELOG. 2021-10-28 Kohei Yoshida [347ab944b31055c52a808cfa087dd83b231ee1f4] Set the version to 0.17.0. 2021-10-28 Kohei Yoshida [3410f561c2d883c0dfd3f870e2e318991ceeec7d] Fix cmake build for 'check' target. 2021-10-27 Kohei Yoshida [0828f365c5c20f1fabe45f16b9c799d40b347a84] We don't need TEST_BINS either. 2021-10-27 Kohei Yoshida [ed292f25af499df675169e238b788dfb7dbdbc6d] Fix make distcheck. Turns out we don't need these *.run files to set environment variables when we can simply use AM_TESTS_ENVIRONMENT instead. 2021-10-27 Kohei Yoshida [bfb29b7289e3c4bd7803a936871e3b3fdb78e1b8] Convert spaces to tabs for makefile. 2021-10-27 Kohei Yoshida [bd337588f051119f367e3b8b69525f8d697760d5] Replace the rest of boost::optional with std::optional. 2021-10-27 Kohei Yoshida [8f300171790b642743a2ca78f4db194dfff18594] Replace boost::optional with std::optional. This also helped remove the following warnings: xlsx_pivot_context.cpp:964:37: warning: ‘*((void*)& max_value +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized] 964 | m_pcache.set_field_max_value(*max_value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xlsx_pivot_context.cpp:961:37: warning: ‘*((void*)& min_value +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized] 961 | m_pcache.set_field_min_value(*min_value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2021-10-27 Kohei Yoshida [de870554e43297e1db63b1d4e55f4c7a52a7ce9c] Add test case for utf-8 value parsing & implement move assignment. 2021-10-27 Kohei Yoshida [d28f63b2cd5b99f1677fc7040fa27a8ba2c736cd] Use std::unique_ptr for css_document_tree's pimpl, and simplify ... ... test document loading. 2021-10-27 Kohei Yoshida [7f66db7253e4042a1f106050ec22f7f0fafc2084] Use boost::filesystem::path to handle file paths. 2021-10-27 Kohei Yoshida [de0aca38c48ca9b2f6eff8ec353e51b70dbe4d9a] Replace pstring with std::string_view and remove 'using namespace std' 2021-10-26 Kohei Yoshida [bb1b874aab2939bbcdf0584192ff6dff28e0c5ac] Retire clip() in favor of std::clamp(). 2021-10-26 Kohei Yoshida [966c72f1258a36884bc32467b843393eac2694ff] Use std::isdigit(). 2021-10-26 Kohei Yoshida [4b67ee4b204b72d34e72a0c5d933343affb51a82] Avoid shadowing of 'max_size'. 2021-10-26 Kohei Yoshida [528e35ea718913d454882fa1720bb7fc0c032e05] Remove is_name_char(). Is has limited usefulness. 2021-10-26 Kohei Yoshida [683012f54f5110562c4bfd016f537061697fedc7] Revise css property value parsing to allow valid utf-8 strings. 2021-10-26 Kohei Yoshida [5ca468a21142ae0f33bb523ec13c805e4d0feca6] css::parser_base::identifier() to take std::string_view. 2021-10-26 Kohei Yoshida [776289de7035069a61bea22eb49ddc7bef4f2011] Use std::isalpha() for alpha-numeric character test. But first cast it to unsigned char before calling std::isalpha, for safety. 2021-10-26 Kohei Yoshida [500c0b8441914ffa3104e34fbb96d0ed0f3285ed] Fix header includes to use <> for orcus public headers. 2021-10-26 Kohei Yoshida [a0f016bb1add86e153cd7ed3292f480eb116bc77] Remove write_to(). This is not all that useful. 2021-10-26 Kohei Yoshida [56ecd338b818e76d988057f6af5b49f96d80c065] is_in() to take std::string_view. Also use std::any_of() instead of manual loop. 2021-10-25 Kohei Yoshida [3f0194b513f99c894f186b05e7e5eb7f5fc7d0ef] Remove unnecessary check for the first char of a name. With the utf-8 parsing code doubling as a check for valid first character of a name, we don't need these extra checks anymore. This should fix #143. 2021-10-25 Kohei Yoshida [a252d4e521c8773c53fa65366688bfa513131c2e] Rename non-ascii -> utf8-1. 2021-10-25 Kohei Yoshida [18ce63710577dfe9f55b99648595cb503ba9933d] Quote key strings in presence of '#' or ': '. This is related to #14. 2021-10-25 Kohei Yoshida [28ba2d878b7394c625ebb28c24a9ba7abb54c9c7] Build fix for VS 2017. 2021-10-22 Kohei Yoshida [e5e747145957555d33b61cd1dd382e1251621d6f] Use literalinclude instead of copy-n-paste the code block. 2021-10-22 Kohei Yoshida [5e22dcf1a1eaa027c9ed59957009a3a3ad08ef1d] Add YAML option to the doc. 2021-10-21 Kohei Yoshida [a2a221a7178cba774b56356ea241255ecf9cf525] Add yaml option to the help output. 2021-10-21 Kohei Yoshida [3d0870372835a6d3f44fbcf515f70dc17c9c49d6] Update slickedit project. 2021-10-21 Kohei Yoshida [d560ef1fe0cfb756494a4b8ba4c026900522ca3d] I forgot to add this file... 2021-10-21 Kohei Yoshida [d1e748055b7281e3f98fdefbaaac2b92e303acfc] Add more yaml output controls. 2021-10-21 Kohei Yoshida [6c289a932d6dadbc2f8e0c769bed82a6ce3b96c0] Turn test_global.cpp into a static lib and reference it as a lib. This way we can avoid the possible forward imcompatibility warning of automake. 2021-10-21 Kohei Yoshida [43414037943bae59b87104b132a7db5c4f0b7187] Set up a framework to test json doc tree against yaml output. 2021-10-21 Kohei Yoshida [2a0820846a0d3b2d8e7787e44b1abe36dd22f80f] Use boost::filesystem instead of string to handle file paths. 2021-10-21 Kohei Yoshida [bbde1e1636d3971e53498b6fefd8bd929f937fcd] Remove using namespace std. 2021-10-21 Kohei Yoshida [0beb5b4bbd5092fe3e2e8748423c7e28f205fa5b] Don't start with a line break at root scope. 2021-10-21 Kohei Yoshida [fe1b2e9f47b66129b51b9d874204d82d7a1e6a0f] Re-use the "bullet" line in case the parent is an array. Instead of writing - key: value key: value write - key: value key: value 2021-10-21 Kohei Yoshida [2004de9a27812913dd65b5a097d6bcb992feaef8] Put string value in quotes if it contains '#'. 2021-10-21 Kohei Yoshida [8ce9bdfa63e730be6c8735883dc868f9f431a71e] Dump all json value types in yaml output. 2021-10-21 Kohei Yoshida [ad88468b7bf0c8862596313e7da49ca44f2c006d] Set up 'yaml' output type for orcus-json with minimal dump function. No support for nested structures just yet. 2021-10-20 Kohei Yoshida [4e08ce88c4e9de5da6a6e8ffcb251f10cff4e103] Only remove the binaries, not the .run script files. This should fix #141. 2021-10-13 Kohei Yoshida [8fea3b3e0811891411b1ba66eb9e710f08de92ef] Set the doc version to 0.17. 2021-10-13 Kohei Yoshida [2d153266322a7be339510344ced901f2bd0bfec1] Use literalinclude for the JSON code examples. 2021-10-13 Kohei Yoshida [eee97476db14336e6a951d8076276f7a36e091b7] Use literalinclude for the rest of the section. 2021-10-13 Kohei Yoshida [07430422d3d7b08087567f5de1f4e5d9643642eb] Use literalinclude for the shared strings code examples. 2021-10-12 Kohei Yoshida [9126f3d82cf3b967d44928d940ccbb402ffb13d9] Add a sentence about 'ss' namespace alias. 2021-10-12 Kohei Yoshida [7e08e346391d66c79650ae4f0f89f8671f46568c] Use literalinclude for example code blocks with no string pool. 2021-10-12 Kohei Yoshida [359f115f6b1fc12418d92c59cb1318dfe51b20b7] Adjust the example code to remove using namespace. Also switch them to using INPUTDIR env var. 2021-10-12 Kohei Yoshida [1b879d08c1ea47b38f6f3aad91c35d18a4274c7e] Convert the first code example of user-defined custom doc class section. 2021-10-11 Kohei Yoshida [9a31d12063773a0e210e44e150e2ab150c060df0] Also cover the rest of the example code on the same page. 2021-10-11 Kohei Yoshida [2b054671e1390dcea30f6fa58f7671a77a1b06b9] Directly in clude example code verbatim from the source file. Also change how the input file path gets passed to the code, to make it look more presentable. 2021-10-08 Kohei Yoshida [e4c221827177c8ac3c96a41633d459eec314365b] Remove warnings in sphinx doc. 2021-10-07 Kohei Yoshida [e54ddafc4b73876d1238bf05f1ccfe2cc1d9c509] Move encryption_info.hpp header out of public location. 2021-10-07 Kohei Yoshida [e50c2fbe6281b7091a68a21083796a6fe41703f7] file_content interface to use std::string_view. 2021-10-07 Kohei Yoshida [1c5951dd3160d05157947e8c19d87b4206fdb5d9] memory_content to use std::string_view. 2021-10-07 Kohei Yoshida [0956260f9de0024e2d19296a24e6f8b68fbf6bb9] Modernize import_xlsx. 2021-10-07 Kohei Yoshida [d2b4288d43f60d4ccaa0a8f8d1aea3e99c9aad81] Modernize import_ods. 2021-10-07 Kohei Yoshida [885fbc68afca4f2eacd72a5ad6d51681d18b7865] append_record_value_character() to take std::string_view. 2021-10-07 Kohei Yoshida [51689c75cec0390b1535c2a8e8a4a2021a96fc10] Modernize orcus_gnumeric interface a bit. 2021-10-07 Kohei Yoshida [440924bbb22e6570e2c6cfe73c997702cf0eb4b0] yaml::document_tree::load() to take std::string_view. 2021-10-07 Kohei Yoshida [87b6a531a4c63917c310e8d7f7916d871325f70b] xml_structure_tree::parse() to take std::string_view. 2021-10-06 Kohei Yoshida [d7d6dad1d555f1482e9d2148cb52c5399fd0c595] Clean up orcus_csv public interfaces. 2021-10-06 Kohei Yoshida [b7ee2361d75ff2f2c21b9dfba720d3791d67a757] const char* to std::string_view in orcus_xml public interfaces. 2021-10-06 Kohei Yoshida [cfd3b3977a225833e175a134bde0cf53e9e4f327] Clean up to_double() and to_long() functions. 2021-10-06 Kohei Yoshida [09694ac4a3942082ad7672a371477f55e38f6f0b] const char* to std::string_view in pivot cache related interfaces. 2021-10-05 Kohei Yoshida [a110e4ddf6f351e9b618cdf49318330229302776] std::string_view in import_factory. 2021-10-05 Kohei Yoshida [95f5ecadf39e4000bdce16a8ad821d3580682d08] std::string_view in import_reference_resolver. 2021-10-05 Kohei Yoshida [5ecbd244cb7748d072475235d1a14060f0ea04dd] std::string_view in import_formula and import_array_formula. 2021-10-05 Kohei Yoshida [3e7f822096a224f0678227528710f5418903de8c] std::string_view in import_table. 2021-10-05 Kohei Yoshida [3ce9753754f82544099573c0cff21703401bc3a0] std::string_view in import_conditional_format. 2021-10-05 Kohei Yoshida [18fd94351da32e9a92cca0ec008ce08f088fe4b6] std::string_view in import_auto_filter. 2021-10-05 Kohei Yoshida [5e6d061d4648addb046988d04b0b6225925927dc] std::string_view in import_data_table. 2021-10-05 Kohei Yoshida [1e5d163240120956441885d70d805c0d50a87010] std::string_view in import_named_expression. 2021-10-04 Kohei Yoshida [935ecdd79004fad3a37be02062446131b65d7bb4] import_styles interface to all use std::string_view. 2021-10-04 Kohei Yoshida [8d2a4c23579a79993032d8e92e59f54a652a1429] set_auto() to take std::string_view. 2021-10-04 Kohei Yoshida [1402bb2778c0a0261bd4c6aca03af643270ccf88] More on replacing const char* to std::string_view. 2021-10-01 Kohei Yoshida [76a5cab6165c5671ee898653761f3993a5a2ed52] const char* -> std::string_view in import_shared_strings. 2021-10-01 Kohei Yoshida [b9e191c2cbd181874b59d92419e6b32eb4019380] const char* -> std::string_view in spreadsheet/types.hpp 2021-10-01 Kohei Yoshida [b8f5295e2e1ec7891dbb9ec8c7086cd5c0da1fee] Remove variant of string_pool::intern() that takes const char*. 2021-10-01 Kohei Yoshida [5f2add13301828fe71d15f88b9fcfa486ddee5d0] to_dump_format_enum() to take string_view. 2021-10-01 Kohei Yoshida [e65c9049cddadc81935ef976a3521e2f9744bb64] export_factory::get_sheet() to take std::string_view. 2021-10-01 Kohei Yoshida [ec5d6089fd21e0bde1fd9b9b191dd8b17773b9cb] import_filter::get_name() to return std::string_view. 2021-09-30 Kohei Yoshida [fa89b49601118f861d549c68f285d82563fc3ab5] read_stream() to take std::string_view. 2021-09-30 Kohei Yoshida [f90e11fc0bc60ed678e69fe73febdb6f125a605a] css::to_property_function() to take std::string_view. 2021-09-30 Kohei Yoshida [a1b4e10d37d38f226f133b780380a7343b75c897] css_document_tree::load() to take std::string_view. 2021-09-30 Kohei Yoshida [849eb511d8a465ffb47ba95adabba7c6037eaa93] Revise base64 API for modern C++. 2021-09-29 Kohei Yoshida [a15b69876ece2ed27ac15c595efb364c8ecefd5a] This can be const ref. 2021-09-29 Kohei Yoshida [b12549df863200a2ef744ed276c50f22bdc05c8a] Use ranged for loop in lieu of std::for_each. 2021-09-29 Kohei Yoshida [17937696ba483e8137dd9fc685c055c927ba9f96] Remove union from config and replace it with std::variant. This is the last union keyword in the public headers. 2021-09-29 Kohei Yoshida [9ce833e58cb8f76f862b5d47099637ddbc761a7e] Replace union with std::variant in css_selector.hpp. 2021-09-29 Kohei Yoshida [3c99831d84050adeb65f5a9aa5eb201b1f8fa85c] Replace union with std::variant in sax_token_parser_thread.hpp. 2021-09-29 Kohei Yoshida [911024d78e39aacf406fde7aecb75052cb8222d1] Fix the normal 'make' build. 'make check' worked fine. 2021-09-29 Kohei Yoshida [bf96563697ec404407354e51a74e9ea66a64cef1] Replace union with std::variant in parse_token type. 2021-09-29 Kohei Yoshida [7aa37823da7464676a9a616614bf8f1a6feb21f9] Replace union with std::variant in pivot.hpp. 2021-09-28 Kohei Yoshida [7a1fcf7d70b16fc61054d61d5c06dfb29f271bce] Move pstring.hpp header into a "private" location to hide it. 2021-09-28 Kohei Yoshida [a226511eaa6692e807f2cfa1a5262f1ca9e5a682] Remove pstring from document.hpp. I believe this is the last public header with pstring. 2021-09-28 Kohei Yoshida [283bc8183a2c7ed7bc986c04d7ffa25396187874] Remove pstring from shared_strings.hpp. 2021-09-28 Kohei Yoshida [7c9735f905ccff99161f6ab717662e3d43cb5500] Remove pstring from pivot.hpp. 2021-09-28 Kohei Yoshida [7cb8c3ccb37f2681b7f9c1127b7ed64f8f77c444] Remove pstring from sheet.hpp. 2021-09-28 Kohei Yoshida [d370f7f3bfc9136c375b62b531718f3bd5b10922] Remove pstring from styles.hpp. 2021-09-28 Kohei Yoshida [71d1a54eefa2ad4de075f89434311c777bab1610] Remove pstring from auto_filter.hpp. 2021-09-28 Kohei Yoshida [6f6eb66631250ebbc3c513b65355a134ba182a94] Remove pstring from the rest of the sax_parser header files. 2021-09-28 Kohei Yoshida [549ad4578712b046bbcbcd9e97ffbf95235f2a55] Remove pstring from sax_ns_parser.hpp. 2021-09-28 Kohei Yoshida [9d8e89ca2f9163c18d20034ae56f3654fe53a7c9] Remove pstring from sax_parser_base.hpp and sax_parser.hpp. 2021-09-28 Kohei Yoshida [6ce754fd138b5f9ce4b096cbde5c493b97f6449b] Remove pstring from orcus_json.hpp and orcus_xml.hpp. 2021-09-27 Kohei Yoshida [1a8356b503a3baa849263705ec1da0d462d6425a] Remove pstring from xml_namespace.*. 2021-09-27 Kohei Yoshida [e6fd7523271ad5df658b33831f6639691eeca376] Remove pstring from xml_structure_tree.hpp. 2021-09-27 Kohei Yoshida [12de6277cd582527073e0b48b1aa37e72acf1172] Remove pstring from types.hpp, and fix an avalanche of compilation issues. 2021-09-27 Kohei Yoshida [d6246f2731d7021c6f7140b6a95d0f0e4dbc886f] Remove pstring from tokens.hpp. 2021-09-25 Kohei Yoshida [a3bf970fed8375e30b748b5318cc3ba2b6f46b84] Fix the benchmark code build. 2021-09-25 Kohei Yoshida [2014c90a827b6a49f185815cd8c2165f01183d2f] pstring to std::string_view in stream.*. 2021-09-25 Kohei Yoshida [121f305f151cf7de01254e1aa281a01889cedff1] Replace pstring with std::string_view in the yaml parser code. 2021-09-25 Kohei Yoshida [52f2e13cf005cfc41b7cfd2ca36e6528af9cf743] Fix build on linux. 2021-09-25 Kohei Yoshida [5509c51a0950a2e705a2c2aa419868302c1f26f9] Some header include cleaning. 2021-09-25 Kohei Yoshida [774581ccb94b2be5f59e9847c96aabb7a66c8ac2] Fix assertions. 2021-09-25 Kohei Yoshida [792fcff84e106cccaa739183e41e044bde576013] Remove pstring from measurement.*, and fix one test failure vs string_pool. 2021-09-25 Kohei Yoshida [cc469682e3534644d08615d3b877a06a36436292] The intern(const char* str) variant is not needed. const char* can decay to std::string_view. 2021-09-25 Kohei Yoshida [134be911681fb2f725b4fe61cd92ec1c57fb193d] Remove pstring from string_pool.*. 2021-09-25 Kohei Yoshida [3292dd91152ed05465946d8eac66813586752f53] Remove pstring from json_document_tree.*. 2021-09-25 Kohei Yoshida [c3570e65ad5c0342f7c41f06b509e4c859fd72f0] Remove pstring from zip_archive.* & remove 'using namespace std'. 2021-09-25 Kohei Yoshida [2b42d04b1a1a3dff0e53cc5fa5530571f16f7953] Remove cmake warning. Here is the exact output of the warning: CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (ZLIB) does not match the name of the calling package (Zlib). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. 2021-09-24 Kohei Yoshida [fcbd0662c1d327bcaf8c37a2d791bc643e3fd351] Remove string_view from global.hpp. 2021-09-24 Kohei Yoshida [7fb3d5a9f41151927c494b7d90f9b4d82bfada31] Remove pstring from dom_tree.hpp. 2021-09-24 Kohei Yoshida [f53fc08354460ecac2dab02ffb8f1bf44f6a7bcd] Replace pstring with std::string_view in css_selector.hpp. 2021-09-24 Kohei Yoshida [2c354577a9db254c8f3a0c1e887c89de28b0481e] Use std::string_view in functions in css_types.hpp. 2021-09-23 Kohei Yoshida [402be06d1ec3d7e86590eda34af17444b5c9c33e] Adjust to API changes in ixion. 2021-09-09 Kohei Yoshida [81603a5a904cbbb58109876f31852db680edf36a] Use 32-bit unsigned integer as string ID's as opposed to size_t. This reflects the recent similar change in ixion. 2021-08-28 Kohei Yoshida [171731d01b9cb04a5594d8b9a5f00fc4bbef99b4] Query _M_IX86_FP preprocessor macro from MSVC. 2021-08-14 Kohei Yoshida [50439b35284c02223007ecc57b0ca92845982135] Remove doxygen warnings. 2021-08-14 Kohei Yoshida [5789bfbd386d2c68a05c1810cfc68eca909a94b1] Silence warning about deprecated . According to https://stackoverflow.com/questions/42946335/deprecated-header-codecvt-replacement There is currently no alternatives to this deprecated functionality. 2021-08-14 Kohei Yoshida [de4a36fbcae53348448c0edcccbfc4da1e949314] We no longer need this workaround for MSVC as of VS 2019. 2021-08-13 Kohei Yoshida [613072affe9a9fabda8a06111470dec969be06e7] Add sphinx-argparse as a requirement in conda. 2021-08-13 Kohei Yoshida [281b8235a69601d94d3620f7bcbfc364470e40a0] Update the doc build settings for readthedocs.io. 2021-08-12 Kohei Yoshida [1811332d3859d2b317292bbaff2dfed3cf3fcd54] Fix the 'check' target with cmake build. 2021-05-13 Kohei Yoshida [b2abd2359fd054de60ada09e04a3b0a0eace810f] Add #137. 2021-05-13 Kohei Yoshida [9a0da92c9fb9d910f2024b3d3aa312d8be783f4e] Add negative test cases, and fix one byte mis-handling. 2021-05-13 Kohei Yoshida [9cd8c3419e45798b1e2c272c17a595fe68fb2a7e] I don't need this note. 2021-05-13 Kohei Yoshida [d376c74042c232bfe7d67f1e009b36f9c6358745] Fix CI build. 2021-05-13 Kohei Yoshida [e9ca232de45e992fd4c8b3a37299647948fe188d] Re-structure the utf-8 parsing code for better clarity. Also fix the remaining byte check as well as two failing ranges. 2021-05-10 Kohei Yoshida [8735a55dbfe3f55919677db5eb5a0a98dc3e2cfe] Add a function to encode code points to utf-8, and use it in tests. Two code-point ranges still fail. 2021-05-10 Kohei Yoshida [1067b1451b57b13dca0bb6c6138104247745432a] Add positive tests for 3-byte ranges. But I now realize that this approach is flawed. 2021-05-08 Kohei Yoshida [96db3c5f8f5d32655b49690db056028ca55be9d0] Let's use a regular array. 2021-05-08 Kohei Yoshida [20df6bc9c5b2c06a1550d848114de4f493ea0e3c] Add positive tests for 2-char ranges. 2021-05-07 Kohei Yoshida [1d4092972d6f30b06da2a64f8c5f4f3c2534a79f] Clean up a bit. 2021-05-07 Kohei Yoshida [4e3af4f6e2e75c046d5d607c3281ee5c576c9cb1] Move the utf8 parsing helper code into separate sources... ... and set up a test harness for it. 2021-05-04 Luboš Luňák [2c2215e94bd8fce4b9a93e986339aa6ae06d2cba] allow utf-8 in xml names (#137) https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-NameStartChar has a list of all allowed characters. 2021-05-04 Kohei Yoshida [3e1f42aa1ad4c4bb53cb87a94e791da874bd33a4] Use gfortran-9. 2021-05-02 David Tardon [34f93cdc383432aeb34c31184de8a2fb5940e0c7] make FormatType conversion work with python 3.10 The str() function for Enum returns only the member name since 3.10: https://docs.python.org/3.10/whatsnew/3.10.html#enum Let's just check separately the enum type name and the member name. 2021-05-02 David Tardon [87c29eaa90f1aaf769f0f1d1baee5a91e4e83596] replace hand-written search by STL algorithm 2021-05-02 David Tardon [022612302c5bc302e14570424dfa7602d3dada39] impl. operator+ in terms of operator+= 2021-05-02 David Tardon [3ea647aa76a8e9699ba6d8733137dc4059b41220] use std::string::append 2021-05-02 David Tardon [68fb35a4bac3d760a0a74ea7c61735f8c13ee0dc] use std::lexicographical_compare to impl. operator< The algorithm exists for this very purpose. 2021-05-02 David Tardon [a09bb35b3195c2a0cdf5e5d4b699513e0c72026e] replace hand-written string comparison by std::equal 2021-05-02 David Tardon [eda22698961fd1c5325ae0a5ec098a4d9907db02] replace a string literal by a constant This fixes test_module.py test with debug build with gcc 11. It "works" with optimized builds because the compiler apparently deduplicates the string literals... 2021-05-01 David Tardon [ba3d345fda0bf3f25b25b2d3723e93e49682c59d] catch exception by reference 2021-02-09 Kohei Yoshida [9c63f274506d70bdf92334670071756ebea4042a] Add assignment operators and swap method to xmlns_context. Also write test cases for them. 2021-02-09 Kohei Yoshida [0795a085f0181d8ea5d6e73ab43442a64e3e7402] Fix shadowed declaration of 'repo'. 2021-02-09 Kohei Yoshida [b62b4eb179f4d415eb8bcbd4d43f78442e11f926] Make xmlns_context moveable & add a default constructor to it. This fixes a build error with VS 2017. 2021-02-08 Kohei Yoshida [49764a9dc4b3cd03ff5bce149a7d3858972e0e0b] Let's not move the loaded_tree instances... I don't think xmlns_context is movable in its current state. Let's make that explicit. 2021-02-08 Kohei Yoshida [563a86575d452f5c1331366fdd2ec797b5e624c0] Prefix string literals with u8 to ensure they get parsed as utf-8. Otherwise the literals use the implementation's character set, which in my Windows environment appears to be Windows-1252. 2021-02-08 Kohei Yoshida [14a6c973c0d477ab4706084527d6de9d6c52b340] get_short_name(...) returns std::string. Let's not receive it with pstring Doing so apparently caused string buffer corruption which for some reason only manifested itself in the debug build with MSVC. This fixes #136. 2021-02-06 Kohei Yoshida [3713d0f8a522ae32a4a8d56a6a838407ed544dec] Update the CHANGELOG about the crasher fix. 2021-02-06 Kohei Yoshida [292b090ae2df166d1ab3275c91fd99e710091951] Ensure that the output stream object gets moved when the cmd_params... ... object moves. 2021-02-05 Kohei Yoshida [c028c815d5b24990eee996dc85df04df35db93e6] Fix CMake build with VS 2017. 2021-01-10 Kohei Yoshida [3364eb5553960046d2aeebb7794084b60b3f1e42] Draw table borders in light gray color. 2021-01-10 Kohei Yoshida [1d8c62c8a028bc9c7db385b18802e84d12786123] Fix the rendering of neighboring merged cells (#133) 2021-01-10 Kohei Yoshida [25413a7250c9fad9a856a61e3d767c9de778f14c] Fix the test cases that had been broken by the addition of ... ... the merged cell info in the check.txt files. 2021-01-10 Kohei Yoshida [f344546b71e8d8c6666c47dd4bf5b686c38ac37f] Include merged cell information when dumping the doc in check mode. This temporarily breaks some test cases due to extra information generated. 2021-01-10 Kohei Yoshida [dd9ab0d73f07daf01e580b1f11fb4c712114d0bc] Move the dumper code for 'check' format out into its own files. Als move the sheet_impl code into a separate set of files to allow access to it from check_dumper (and potentially other dumper classes in the future). 2021-01-09 Kohei Yoshida [3d2ab5fb76c1ce7aaa9d6cf957f6075cea6b1f6b] Use range-based for loop over std::for_each. 2021-01-08 hedmo [5e8fb255dc6bc9b7084a05b8dc24f31417542e5e] Update xlsx_revision_context.cpp to build with gcc-11 2021-01-08 hedmo [3bfa1a000e4639fe68781c584356ceea7c6b1a72] Update xls_xml_context.cpp to build with gcc-11 2021-01-08 hedmo [50506d534230d90de2b0a2af3fb072428c942a4e] Update orcus_xlsx.cpp to build with gcc-11 2021-01-08 Kohei Yoshida [2af5e916889896676f3cfda10e0f905f4dc8adc5] Insert a blank line to prevent the line above from being bolded ... ... when converted to rst. 2021-01-08 Kohei Yoshida [83138a49e98aa26ea2b612661f66b7b40ee00c01] Write a script to parse and convert program-options' help output ... ... to rst format, and update the CLI docs. 2021-01-08 Kohei Yoshida [2177a5d4a7f16b44a71b18238fc4c25658e576ec] Add bits about how the features are exposed. 2021-01-08 Kohei Yoshida [8bd4c97bb9de15abe555c12a33d5478dc21f957d] Rework the wording of the overview section a bit. 2021-01-07 Kohei Yoshida [484ae086201eaefc95ac82c4a8a198596301613d] Add a new test case for handling formulas with string results. Cover both recalc and non-recalc scenarios. (#134) 2021-01-07 Kohei Yoshida [3f6af4b3db3435ce9baf72dd0a3bec13d8caf24a] Handle cached string formula results properly. This change also changes the interface related to setting cached string formula values. This reflects the recent change in ixion to store the string buffers directly with the formulas. This is related to #134. 2021-01-06 Kohei Yoshida [081f6b0862d71753e839bd5cad9e2ecdaae98c72] Pick up and store cached formula results for array formulas. Numeric and boolean values only for now. Boolean values are not yet tested. Related to #134. 2021-01-06 Kohei Yoshida [d37539c2edc07316b8a1e99aff71238d3df7e12b] Add a test input file containing formula cells with string results. 2021-01-06 Kohei Yoshida [697cf113cd11fd2d89cb397f6b334380957794ee] Add a test case for loading cached results for numeric shared formulas. 2021-01-06 Kohei Yoshida [574f35eea7a6744814377079fb5c3db45c0cf26a] Pick up and store numeric formula results for shared formulas. Also related to #134. 2020-12-19 Kohei Yoshida [2ccb6c3d9e21bec02fd4589e4f8f07bd1d4ab51b] Add a test case for xlsx loading with no recalculation on load. 2020-12-19 Kohei Yoshida [7a56b9ec3f3add03040157d8735e7f80966ff830] Pick up and store numeric formula results for non-shared formulas. Related to #134. 2020-12-19 Kohei Yoshida [d17b3990834039bf946b1631428f5db9649eb48d] Add test case for unprefixed attribute NOT belonging to default ... ... namespace like unprefixed elements would. For more info, see https://stackoverflow.com/questions/3312390/xml-default-namespaces-for-unqualified-attribute-names 2020-12-19 Kohei Yoshida [5808158d908d77ccd5ae609455ed140092f273dd] Use address resolver to resolve cell addresses. 2020-12-19 Kohei Yoshida [7c248da75dca856c1e38bbff07f51fddcca5d1e2] Remove cell_attr_parser in favor of ranged for loop. 2020-12-19 Kohei Yoshida [b14610aa5a7157c87c90cae5b08e28f4c5a62c3f] Move the cell element start code into its own method. 2020-10-27 Kohei Yoshida [34865af2e65021dbc6f0b2f871f1adb3f6a4b592] Talk about mapping with map file. This concludes this tutorial. 2020-10-27 Kohei Yoshida [c0174a842380185a607443663172f4ebc9886b0f] Don't forget to set the row-header param to true. 2020-10-27 Kohei Yoshida [ddb1d069f06bdf3a2ee067e730f3d6606795bacf] Let's not print the detected mapping rules. 2020-10-27 Kohei Yoshida [fcd740e9b5578c760467848d31b7013e0b0bca77] Talk about json auto-mapping. 2020-10-27 Kohei Yoshida [a34ed48e63eab4ae1eca75fe6164c8ed99b1178d] Add more files to ignore. 2020-10-27 Kohei Yoshida [f4d83cfeb91b5f088bd872f7d84528cbbbaad105] Create a new page for JSON mapping, and talk about analyzing ... ... the structure of JSON document. 2020-10-21 Kohei Yoshida [3be6b814a44067ff7321ac0dc2ccfae08fa1fbd2] Go over the map file structure and run the command again. 2020-10-21 Kohei Yoshida [de136ea8e1181985b3572b6f2e9833329a6ad8ca] Talk about map file generation. 2020-10-21 Kohei Yoshida [7ce2045c83fe1546feda6cfbd057975b1853221c] Use a more specific xmlns value for xml map files. 2020-10-21 Kohei Yoshida [6341f2a3019488b7af5f08f2856cc0de6d7014ec] Also make sure the map file exists if it's specified. 2020-10-21 Kohei Yoshida [b5d4387808201cccc015de54b26573c293927165] Make sure not to let exception leak when the input file is not there. 2020-10-20 Kohei Yoshida [59f182c5426c43f5e9c5799462b1eaa186e8dae7] Add auto-mapping section. 2020-10-20 Kohei Yoshida [c5d6f71763f8a7bdfc770c175f0f5a2a04de6b42] Cover orcus-xml's structure mode. 2020-10-19 Kohei Yoshida [ce8ec901b18b0d321fb334e54aafb62ff78251af] Create a new section for XML mapping tutorial, with sample XML. 2020-10-02 Kohei Yoshida [9bf763219f1f562bdca4700a952913d74f013e8b] Add the new op member for orcus.FormulaToken to the doc. 2020-10-01 Kohei Yoshida [63dfd2db910bf867b9d633aa3d61c43c5a1e8be9] Add another test case (#127) 2020-10-01 Kohei Yoshida [8435a3fa57f6a1d1f8826d496155d3f9d94a4726] Use pathlib instead of os.path & remove unused module imports. 2020-10-01 Kohei Yoshida [f70123b5e61d5050e0b41a536cae888ba1ed52f1] Add op member to orcus FormulaToken (#127) 2020-09-30 Kohei Yoshida [20bb0a704af470d53447fa6d3965a0a0642709d6] Set the new mdds API version requirement to 2.0. 2020-09-30 Kohei Yoshida [1579c12111074a50f2307b8fa749a68749af11ba] Set the new C++ baseline in cmake too. (#125) 2020-09-30 Kohei Yoshida [25a27fb94468f1fe06376a4ef18adf78ccc6b102] Replace all instances of orcus::make_unique with the one from ... ... the std namespace. 2020-09-30 Kohei Yoshida [224583c4b055436e9548d7008505f2445bafbbe4] Raise the baseline to C++17. This is related to #125. 2020-09-29 Kohei Yoshida [fb5cd0c4bbcb7dc9bc49026f85ba90f56942dc05] Fix the gitlab-ci build. 2020-09-29 Kohei Yoshida [e97af620c7760f343e6749167ec1addb80ea1cfd] Make sure it builds against ixion-0.17. ixion-0.17 no longer has get_column(s) methods in model_context. 2020-09-29 Kohei Yoshida [f57b919553529f8ad976cc91395573e96ea2738d] Re-implement csv_dumper and json_dumper. The new implementation uses ixion::model_iterator. 2020-09-29 Kohei Yoshida [3067613510c92da123270cd0ebfb32c30bab2ecc] Avoid using ixion::model_context::get_columns(). This also simplifies the code quite a bit. 2020-09-28 Kohei Yoshida [d9407df13c2f0428bc8767a851647376e15f77ba] The sheet_range class is no longer used. Remove it. With this change, we need to increment the API version to 0.17. 2020-09-28 Kohei Yoshida [b98e2b922f7105d3476c034699d8e4adbae652ae] Re-implement orcus.SheetRows using ixion::model_iterator. 2020-09-26 Kohei Yoshida [6273dd57f1cbdf5000f1f439aac63e0add4b4f7f] Update CHANGELOG. 2020-09-26 Kohei Yoshida [99778a54c765e271805bb33134591936f8e87586] Set the version number to 0.16.1. 2020-09-24 Kohei Yoshida [0eb2e3f7e81275a14958fa3cab900501c37c404c] Check the size of void* and pass it as a compiler define. This is needed in order to link against libixion. Related to #129. 2020-09-24 Kohei Yoshida [2f3fa91679b449d3079152fb847c71350815df49] Don't forget to initialize this struct member. This ended up becoming "true" on a 32-bit debian platform, though this is not strictly a 32-bit build issue... Related to #129. 2020-09-18 Kohei Yoshida [535ebd34724d8a8db5f0fe60bc9c0b1cdd83495f] This file is no longer there. 2020-09-11 Kohei Yoshida [6d34c41b661a9e8dddf6d08bf1f3c1fd4f5581da] Mark all untentionally unused variables. 2020-09-10 Kohei Yoshida [cd92973452a9e2f2e65cde70949d93de967d3a55] Tweak the wording to make it flow better. 2020-09-09 Kohei Yoshida [aff45bbb1ba44774cc9fc44214bf1e139ffcd725] Add some clarification as to why we have two different methods ... ... for defining named expressions. 2020-09-03 Kohei Yoshida [c64e545d33125da374c9ee5e96f1c637eb7f036a] There is only one orcus.detect_format function. 2020-09-03 Kohei Yoshida [34cb20bd1c6a0900f7f4309f2531df1509ac50b4] Fix typos. 2020-09-03 Kohei Yoshida [bfa21be05172020e19d4cf19fb39e29beb93b65e] Add script to generate release note template. 2020-09-03 Kohei Yoshida [f871fd06ee7791ba8435b8038e411e3e4e80f683] Update CHANGELOG for the 0.16.0 items. 2020-09-03 Kohei Yoshida [913d0eab2e70214d3cd07dda1a92119d9187abe0] Up the version to 0.16.0. 2020-09-03 Kohei Yoshida [f4cc9124f70ce956aa95e088b1db3b3ffe82f14a] Fix make distcheck. 2020-09-02 Kohei Yoshida [1b504009150565d0d5e0e7323468dc5becc7cfae] Add dom-tree-test to cmake build. 2020-09-02 Kohei Yoshida [bed6e49587a829a112eaa099158e01660de5d45a] A few more test programs to rename, to match their names with ... ... their corresponding source file names. 2020-09-02 Kohei Yoshida [985e763dc7c66b073374cc3e5b33f0c9e049fa18] Rename test programs to match their corresponding source file names. 2020-09-02 Kohei Yoshida [c047be8effdcdbf7de56da077538c3cf9ebdebcf] Add new test programs to cmake build. 2020-09-02 Kohei Yoshida [321a4897e4c22e7702351105bb264760599116be] Let's depend on the official release of ixion. 2020-09-02 Kohei Yoshida [046565afd1b7d6fb9496ded437a6328d19333dfd] Attempt to fix the build after the ixion API change (take 2). Also, no need to escape '#' in string literals. 2020-09-02 Kohei Yoshida [4527528e2878233298d49e0077b9942cb8f72387] Get it to build again after the ixion interface change. Also fix the check target in cmake build. 2020-08-20 Kohei Yoshida [93c2e69e35e218043bfa5ad258f339e03be1b4e2] We can enable these negative test cases now. The two we can't enable cause memory exhaustion due to too many open tokens for arrays and objects. 2020-08-20 Kohei Yoshida [650520b51dddd357d817832eb5a198308e898e79] Check for presence of unescaped control character in strings. JSON strings do not allow characters whose values are between 0x00 and 0x1F, according to RFC 7159 Section 7. 2020-08-20 Kohei Yoshida [94cb46c366bd8284d39afd0c678d0ab29fae7aa3] Unnecessary break statements. 2020-08-20 Kohei Yoshida [232f571f947ece3c5788f2e8ecf35a67f220ab73] Throw an exception on empty input & write some test cases. Because this is a public function, we shouldn't be using assert() on the input validation. Also, we can remove the max_length == 0 block since that is now handled as part of the input validation. 2020-08-20 Kohei Yoshida [05b6ba1e72a5f60dbc3ce538a15ac51beb73fd56] These can be now enabled. 2020-08-20 Kohei Yoshida [be1ae1c2d9993d756a698a877451a67b722ca318] JSON requires at least one digit before the decimal point. A number string such as -.123 is invalid in JSON string, but is accepted as valid in other places. 2020-08-19 Kohei Yoshida [f0dd87b85973b0e444142af74ce00491c6cb194d] We can use has_decimal to track whether we are before or after ... ... the decimal point. 2020-08-19 Kohei Yoshida [1ea9ba242f7c20cc957e6ea9654fac70410d7e31] We can enable 5 more test cases. 2020-08-19 Kohei Yoshida [3b6199f2b422f9b654b5cd789fa04ff68c5e7692] We can just use the general trait type. No need to break down ... ... the individual behavior differences between the generic parser and the json parser. 2020-08-19 Kohei Yoshida [124de6acd06fe51e049e68c479a4aa9231217ff1] A number in json must have at least one digit after the decimal ... ... if the number string has a decimal point. 2020-08-19 Kohei Yoshida [7454f2cbe5f23ed65ab4c22d37d5b656aba5c282] We can enable this test case now. 2020-08-19 Kohei Yoshida [7ba63c33db8adfd9f1dd12c4f1a3b8dbe202717b] Rename variables and add comments for clarity. 2020-08-19 Kohei Yoshida [0c5c0229c49f2038c53e4794190d3ece6146d453] Apply JSON's own numeric parser for json::parser_base, and fix ... ... all necessary bits to get all test cases pass. 2020-08-19 Kohei Yoshida [5227241a915ac1b4571bb9824ed240f4119420e0] Turn this into template specializations. 2020-08-18 Kohei Yoshida [ab763629692143a606bac1ae3dc3c0521394b4d8] Group parser state into a structure. 2020-08-17 Kohei Yoshida [63a499a724140bb4575255347b9266005859b55b] Parse leading zeros as invalid in json. For now, it's a regular if statement. I do need to turn this into template specialization. 2020-08-17 Kohei Yoshida [5ec6fa12529661d8085c9bc43c9a6f0030743c0f] Add a first failing test case for json numeric parsing. Not enabled yet. I need to work on this. 2020-08-17 Kohei Yoshida [31c28e848b4331b5bad06e9c2c066608d7f55ee8] Slightly better error output. 2020-08-17 Kohei Yoshida [8bde20b0ec3769578c69a1c51b98e7d9692f938f] Annotate the test case categories. 2020-08-17 Kohei Yoshida [e4a443413ea52b3ce5032d1f4e0331c62a4a4437] We can use orcus::json_handler for this type of use cases. 2020-08-17 Kohei Yoshida [f1ffce6ec3d04a8c27276af8238750cd0ac0efba] Combine test cases from parser_global_test.cpp. 2020-08-17 Kohei Yoshida [92de9902a969f5ae2946e6fe6f3008ab2df80321] Remove duplicate code blocks. 2020-08-17 Kohei Yoshida [33aca3a22ecdcaeb446efdbc5917142c0bea1a4b] Add rudimentary test framework for numeric_parser class. We need to add lots more test cases for this... 2020-08-17 Kohei Yoshida [34fc96a9182d2b304c853399f416d69badf483f6] Move the numeric parsing code to a private template class. The idea is to make it configurable without sacrificing run-time performance. 2020-08-13 Kohei Yoshida [6c7f94c105ad534ed254fa60fe79335aeb12bc9c] Add documentation for orcus.detect_format(). 2020-08-13 Kohei Yoshida [bf50fb5737d7aab48c085c14c88d019ab230839d] Change orcus.detect_format() to *only* take the stream parameter. And update the test code to test both passing the bytes and the file objects. 2020-08-13 Kohei Yoshida [87bc0ea3a392733780daf1e9622d8c471ea68aee] Make it so that if a file path is not given, it starts the ... ... interpreter in interactive mode. 2020-08-13 Kohei Yoshida [f600410ee6f3c79942a9f70522fa6d30508e11f2] Rename the current function to indicate what it currently does. 2020-08-12 Kohei Yoshida [7aa417494e79a5ca4b407f1ff3b263e9690c1bcc] Update the doc. 2020-08-12 Kohei Yoshida [c294e3312f7f35afc8317fa7c0501295c1f324c6] Actually check the format parameter, and raise an exception if necessary. 2020-08-12 Kohei Yoshida [27ee5f0f4656f64eaaef5d3912a42b4d79522c90] When writing sheet content as csv, write it as string, not as bytes. Now test_csv_export passes again. 2020-08-12 Kohei Yoshida [e0a260a603b99745035ef71951ba1d11c6f8f40d] csv.read() to read from string, not bytes. Also, the recalc and error_policy parameters have been dropped. The test_csv_export test fails. 2020-08-12 Kohei Yoshida [be498a50d402448ee5e56cc17fa6ee4c1cf0999b] Abstract away the file loading part from run_test_dir(), and ... ... use a different loader type for csv so that it reads from string instead of bytes. This currently fails the test. While I'm at it, prevent the code from terminating by checking for bytes beforehand. 2020-08-11 Kohei Yoshida [23ac43a84dca30dd274cabb93ccc6478736ac9f9] Make sure the version number string is as expected. This is also related to #122. 2020-08-11 Kohei Yoshida [a164fb983f805a9e66ba8484c01af86714884d86] Add test files to slickedit project. 2020-08-11 Kohei Yoshida [762341282732995a818a3ff89ff2a008deabbead] Rename the test files to prefix with test_. 2020-08-11 Kohei Yoshida [2e20c9bd569496af2bde5c145d6796625fee6082] Convert tabs to spaces. 2020-08-11 Kohei Yoshida [f3e9da0f1921fe0022e892effe257f661d98155e] Add __version__ member to the orcus module. This is related to #122. 2020-08-10 Kohei Yoshida [5d4b310059d17f96cf3398b3b1b996d723e2d670] I believe the right terminology is packages, not modules. 2020-08-10 Kohei Yoshida [211de8924ebab4ec6b5e2de3cd757bbbb4036c53] Add documentation around cells and formula tokens. 2020-08-10 Kohei Yoshida [c75d754294d815cb8669107cedc61d73f24c4c63] Don't forget csv. 2020-08-10 Kohei Yoshida [8f55c95255e40041068ac864b83cfeaf2e3616e8] Add docs for the loaders for other document types. 2020-08-10 Kohei Yoshida [32154d896ec93bf334c4aa0dfd38b7614414f744] Add back the doc for a few classes that got dropped accidentally. Also revert back to the sphinx default style. Google style doesn't seem to work unless it's used in docstring. 2020-08-10 Kohei Yoshida [c7e424937bf8ec1a83c55b45f36c44c658b8bd5d] Update the doc on orcus.xlsx.read(). 2020-08-10 Kohei Yoshida [df00c5792076245dc09758a00dde5fea1bd438ad] Re-organize the Python API doc based on package paths. 2020-08-08 Kohei Yoshida [1a8fe30e2482a3ad0c51e7b64771d452c1a01b5d] Update the doc to reflect the latest API. Still more to cover. 2020-08-08 Kohei Yoshida [bf4488f3cc5a200fafb8a8c02dc6134bfbaf5b52] Add more help contents to the bugzilla command. 2020-08-08 Kohei Yoshida [19cf430a302ff220453c059e7c04254ddc357aa2] Document the orcus.tools commands using sphinx-argparse extension. 2020-08-08 Kohei Yoshida [8e19aa33505759710b92a57e17dd163c91770793] Still trying to get the doc to build on the RTD site. 2020-08-08 Kohei Yoshida [39b8ffff7f3df89e0708bd112d4d4cb17d147105] Try to get the doc to build on the RTD site. 2020-08-08 Kohei Yoshida [a378823a106733d8c3cfbe7ffa6fa9335599777b] Re-organize the python section to make room for new contents. 2020-08-07 Kohei Yoshida [f5bf4f29fc0154cb2e6b18a9de25704333c15b04] Add bugzilla.py to Makefile.am. 2020-08-07 Kohei Yoshida [ba7e4d9a27a493f5187e0d184601a79e803fdea1] Make sure the data isn't empty. 2020-08-07 Kohei Yoshida [7034d672e4745a8aaf9bda14384e4ef445dc0864] Use fixed width and right-align the index for better visual. 2020-08-07 Kohei Yoshida [689b43001481ff53f9fad7c83447a31728e77bca] Handle '/' in query terms when caching to a file. 2020-08-07 Kohei Yoshida [92c277c8ba5fdc0d755cb4e278a84d836b0cca7d] Support arbitrary query terms. 2020-08-07 Kohei Yoshida [4e7f4a2832e4c3f44306fe819a091b3a6b3fb77a] Wrap all the functions with a class to avoid using globals. 2020-08-06 Kohei Yoshida [e6b6d8e7e93b2e7d75b0def4782681f79e7197c2] Parameterize the bugzilla URL and cache directory. 2020-08-06 Kohei Yoshida [d638bac507b3a07fe1641172082a97e6e28c03cc] Move the file to its new location. 2020-08-04 Kohei Yoshida [f3cf6924f2fa02c5600e4fb92844481714b42757] Add a section for the CSS parser and friends. And annotate the CSS related symbols a bit. 2020-08-04 Kohei Yoshida [190765d185395116d4315da94630d09511170212] Update the example doc for the low-level json parser in regards ... ... to the base handler class being made available in the public header. This is related to #117. 2020-08-03 Kohei Yoshida [2b113efb40f4a3b54eb39f9a91c997f284782c67] I don't think we need two variants of append_field_link(). 2020-08-03 Kohei Yoshida [6c4d940d81abc3c8fae2392b1dd8c0e3f5c31f05] Add another test case that involves attributes. 2020-08-03 Kohei Yoshida [0d6d7950728bda7c7e2582456f416c0990191e81] Read the label values from the map file and make use of them. And add a test case for it. 2020-08-03 Kohei Yoshida [aa1d6d8ba330eb84bc2043bb3d385fe0faff68e5] Add a variant of append_field_link that takes a label value, ... ... store it in the proper place inside, and use it in lieu of the name of the linkable. 2020-08-03 Kohei Yoshida [317f7ca0cea93ae9ab4fcae77e73ba849adc72bb] Use xml_name_t and clean things up a bit. 2020-08-03 Kohei Yoshida [c66a4fb59f655bf39cccc6a14f832d5a3260bfc7] Use range-for loop. 2020-07-30 Kohei Yoshida [62dd75fc47cfa8fea66e661674055f46320f3792] Add another test case. 2020-07-30 Kohei Yoshida [c962218d287d36721d6eb7499336beac4815ed97] Add method docs to orcus_xml. 2020-07-30 Kohei Yoshida [e89597502e6e05f96f680e27626b151610e2448e] Support default namespace in the map definition file. This is related to #90. 2020-07-30 Kohei Yoshida [8959cfd81a1673fb50e007e66361218ef145336b] No need for double-nesting of if scopes. 2020-07-30 Kohei Yoshida [40c976e58bd77b9f7a1b119e96d92f9666d99f75] I think calling it push_element_scope() is more appropriate. 2020-07-28 Kohei Yoshida [b3e0d09d63bb8125cc8685900c1b8ea9037472c0] Sync the version numbers. 2020-07-28 Kohei Yoshida [1d21dc34521a7d600ad7eca3afe6afd87c577ea6] Use basic_ostream's write() to write pstring's content. This should be more efficient than creating a std::string instance (!) and writing that to ostream. 2020-07-28 Kohei Yoshida [89851d2a6e0c0585a49c43c35c37010409571c2b] Make xml_writer non-copyable but moveable. 2020-07-28 Kohei Yoshida [779c0903969cc20d7ccee2903f69a9d86040ff98] Add documentation for the xml_writer class. 2020-07-28 Kohei Yoshida [6b26ec3237fbc18b935007592adecc67f3193214] Properly encode contents when writing them. 2020-07-27 Kohei Yoshida [cb186d5504928173a2e323a77c019692d1b37a14] Add a new method to print xml_name_t value as string. 2020-07-27 Kohei Yoshida [a3afc669a7aca92a35019117fee431dd00532362] Use xml_name_t for the name in linkable. 2020-07-27 Kohei Yoshida [ea07a06721ee6a66e03139a89ebeb6f1b4e3c83b] Indent the exception messages to make them easier to read. 2020-07-27 Kohei Yoshida [23981a4bbb304a11ea1f188c6722366d69b379ae] Add a test case to cover invalid linking of non-leaf elements. 2020-07-27 Kohei Yoshida [741314ab68cf1695acfed1e06a22cc6144cfe590] Adjust test_invalid_map_definition() to load content from file. And introduce a loop to make it easier to add more invalid contents. 2020-07-27 Kohei Yoshida [ca2b6993bef259714edfe069a7f8d69212947c2a] Write tests for generating map definitions. 2020-07-27 Kohei Yoshida [bd126919a0077eb80b73d081f8ee056ba2e5319d] Use brace initializers to make it look a bit more concise. 2020-07-27 Kohei Yoshida [45a7d7e239541bf46a86cc6dde15c8f9a7d447f3] Set the linked range position to row=0 and column=0. 2020-07-27 Kohei Yoshida [0e49f2a99c62c28161b0b668431963ba6cd5f223] Re-use an existing xmlns_repository instance. 2020-07-27 Kohei Yoshida [e77c5b3cb01d9cc6c1a2c0a018b1a81542e1b678] Let's retire the doxygen documentation. 2020-07-26 Kohei Yoshida [100ff7b5d3abc99d5d0506a78d8e738f264339fa] Rename to write_map_definition, for consistency. 2020-07-26 Kohei Yoshida [51bc5125da227d133030c154d41b6f26ca86901f] Let's not use m_ prefix for members of impl struct. The impl member itself is already prefixed with mp_. It feels repetitive to use the m_ prefix in the impl member names too. 2020-07-26 Kohei Yoshida [f8764c737cd894cae4fcdaa90f24c749e83e587c] Use the namespace repo instance from orcus_xml::impl. But in order to have access to it, I first needed to move the impl class code into separate header/source file pair. 2020-07-26 Kohei Yoshida [6dda93e76a4b66a408f8b37cfb6461cf9d723168] Leftover forward declaration. 2020-07-25 Kohei Yoshida [44884ff33405ad3e4506b724bef77e6b67bb2206] Minor formatting tweak. 2020-07-25 Kohei Yoshida [443cf7dbd38318ce10bf6f301112813cc7535d33] No need to create an impl instance for the other object when moving. 2020-07-25 Kohei Yoshida [c5bf46c65ec3fbab26446a2128ff314b2f44bb73] Move the map-generation code into orcus_xml. 2020-07-25 Kohei Yoshida [6192bbd58fc10867b3bd844b312e547fc48e95a5] Implement add_content() method. Currently not used yet. 2020-07-25 Kohei Yoshida [dccbcadc2ab43fb4d0b66147579e17079f975656] Make the scope object move assignable. 2020-07-25 Kohei Yoshida [34b8d6284ed80f98f7a397bab37beaf453cc6ca4] Introduce RAII-based element scoping. This will eliminate the manual push-pop call pairs. 2020-07-25 Kohei Yoshida [20bfaf37957f0ac5fa63ef68d63c870260d51148] Pop all the elements on the stack when the writer instance is ... ... being destroyed. 2020-07-24 Kohei Yoshida [92a8d7a8124d042d770afdb84cd5098855754e74] Slightly better handling of the default namespace value. 2020-07-24 Kohei Yoshida [a018838f61d8319cf8b7e5b28a861de9c7cd74a3] Intern all string instances. 2020-07-24 Kohei Yoshida [59d07a793bfd8faf794f401f2b40a325c75f47c8] Remove duplicated code blocks. 2020-07-24 Kohei Yoshida [f1e3b507a35f81a8c4e48298421a35c0a5fe9cb2] Handle self-closing elements. 2020-07-24 Kohei Yoshida [388ac1a3c583f8623fe2abd55f1751ea14d880bc] First shot at generating map file. Still lots of issues. 2020-07-23 Kohei Yoshida [29f134075ded741ff922bb8980ea322fcb69fe7a] Set up the basic structure for map generation. All I have to do now is to convert this flat output into an XML form. 2020-07-23 Kohei Yoshida [af394336ca0c05983e63e7dd46a100b0fc5a8fae] Adjust the cli parser code and make room for the map-gen mode. Not implemented yet. 2020-07-23 Kohei Yoshida [d739a02853d791fec0272c6df455a6bf5a9bcf78] Make use of the new 'has_content' attribute in the auto-mapping ... ... and only auto-link those elements with actual contents. 2020-07-23 Kohei Yoshida [5638d09bc248ef7c2fb784e5311f96e4df0fd69c] Remove using namespace std and get the code to build. 2020-07-23 Kohei Yoshida [8f64eb3c475976c0d5406d1fb58454c1d0a6e1ac] Detect whether or not each element has content. 2020-07-23 Kohei Yoshida [85c2bd89e136a95f70fb88ec43118fc7c394ba23] Switch to using boost::filesystem & rename the executable to ... ... match the source file. 2020-07-22 Kohei Yoshida [5358a1e6644baed9d6f80e417f8edb3cda7276a3] Let's not forget to add these files. 2020-07-22 Kohei Yoshida [f49a117a4aedf08bcabe57724cb34326cfdb2b1d] Fix orcus-json for map mode. It was creating an output *file* up-front when in fact we shouldn't for the map mode. In map mode, we let the backend document decide whether to create an output file or an output directory. 2020-07-22 Kohei Yoshida [245c355daa3cb67dea11b327cd578014885e32a7] Add the rest of the test cases, minus 2. Two of the existing test cases didn't get added because they didn't have any linkable ranges in them. 2020-07-22 Kohei Yoshida [f22eeb203abda4691319dfc2a0f74e6e549e4fe2] Add the first test case for auto xml mapping. 2020-07-22 Kohei Yoshida [00b081e6962a73a1173d2746e0dcf10be0f276ff] Set up a new test spot for xml mapping with no map files. 2020-07-21 Kohei Yoshida [741ad7a4b6cdbd1a53fe757d7acade1a9259589b] I don't need this any more. 2020-07-21 Kohei Yoshida [29b753d17ba9089464a8ac1ccc02b866fc755731] Correctly handle attribute names with namespaces. 2020-07-21 Kohei Yoshida [7caa35079661d43597fa2678137a0b3c31a3a1b5] Do the same for get_attributes(). 2020-07-21 Kohei Yoshida [6c55a68e279954744884651bbc430e23fefb9ae4] get_children() to return the list directly instead of using ... ... an out-bound reference parameter. 2020-07-21 Kohei Yoshida [4aca3735d426d5c0853c923b992e010d885020e8] Implement automatic detection of linkable ranges in XML documents. 2020-05-23 Kohei Yoshida [77633c019d4c90bf80cb8470257c9a49e367f4f1] Add a new test case. 2020-05-23 Kohei Yoshida [b89de912c0317f8722d99fab53c1bcc3e7abfdce] Update the test file to include range reference to numeric cells. 2020-05-23 Kohei Yoshida [108d611e66c45cc69924def3dabd8d2687cb0aef] Defer all cell formula imports until the end of Workbook element. 2020-05-23 Kohei Yoshida [5e068133878586c72929cca865df20cfdf883d05] Use range-based for loop here too. 2020-05-23 Kohei Yoshida [fbb6b04358b8bc11b407b87e43c2f155702828ec] Replace use of function object in favor for range-based for loop. 2020-05-23 Kohei Yoshida [aaa12dae2e46e9b6b35e7ae89dae29202a67608f] Move the worksheet element handling code into its own methods. 2020-05-23 Kohei Yoshida [8d16788e169ec326db3e94f98a10bb7146574bb9] Get the cmake build fixed up. Also remove the unconditional lib prefix. 2020-05-23 Kohei Yoshida [048d13a28db069969ff1c065f883f40a6a5c9c8e] Fix the cmake build with MSVC. 2020-05-22 Kohei Yoshida [760a3e785350f182f144e4ab6a044575254c7c14] Add a test document that orcus currently fails to load. 2020-05-22 Kohei Yoshida [c3cd6e4dfc87c19adbe8eb4614922873887301a8] I found another one here too. 2020-05-22 Kohei Yoshida [cacaae52a457ce568a448143ec7ff072a0552f22] Minor fixes. I still need to generate the output file to signal the file has been "processed". 2020-05-22 Kohei Yoshida [6b61f74285fef9e039bc5882014549ef63fe127f] Another one for page field attributes. 2020-05-22 Kohei Yoshida [e142e72f6a1ed5decd85c968b4149dd2dca96d62] Another one. 2020-05-22 Kohei Yoshida [9ec730a72c19920f7b0f028335a9895eca95d27e] More on funcobj removal & unwanted debug output supression. 2020-05-22 Kohei Yoshida [3a4b70af847266481f74efe54e16998af3477a1c] More on supressing output when the debug flag is off. 2020-05-22 Kohei Yoshida [2c8fca24eb43926da82a77db4ea727382bc0c4b1] Remove another attr-parsing func object in favor of ranged for loop. And print stuff only when the debug flag is on. 2020-05-22 Kohei Yoshida [fb9c519648a0c0a2e78db0b1f5aa356b011437af] Output only when the debug flag is on. 2020-05-22 Kohei Yoshida [73f4dfdd5df1afd004de9d453af0cabe2e9ffde2] Remove this attribute handler func object... ... in favor of range-based for loop. 2020-05-22 Kohei Yoshida [1a717ccdad986ac93277d26c1eb5108a3365ecb4] Support multi-processing in orcus.tools.file_processor. Though due to excessive memory usage, I could only use up to 2 processes on my machine. 2020-05-21 Kohei Yoshida [915eb6e52277a1bec6e330faa689605467528db1] Adjust the documentation for the parser handler relocations. 2020-05-14 Kohei Yoshida [8d85b114db23ab12f9b45406eeb22b40460e324f] Add method to string_pool to return all interned strings. 2020-05-14 Kohei Yoshida [27e40efba817843461cfa50fff49df9b0ce81794] Complete xml_name_t and add some test code for it. 2020-05-11 Kohei Yoshida [1ef150f7602f100bc91d82f590204078afa348d7] This file does not exist. 2020-05-11 Kohei Yoshida [96cb30ab1335baf25d455b034dd0c7413e5cedf7] Finally, move the handler for yaml_parser into header. With this, parser_handlers is no more. 2020-05-11 Kohei Yoshida [a83b0d48eb1ed5adf4f0b1d7829ee9e5319232da] Move the handler for json_parser into public header. 2020-05-11 Kohei Yoshida [a1aa2ea7c67dd974087c9210f38c90d9ea24f5a6] Move handler for csv_parser into header space. 2020-05-11 Kohei Yoshida [af5345851f8f6b1320c2cf1ff481944b3bb76d32] Move the handler for css_parser into header space. 2020-05-11 Kohei Yoshida [0fac43815e517a4e99bff47861e0f7a6f91ca31a] Move the sax parser handlers into proper headers. Also move their test codes into src/parser/. 2020-05-08 Kohei Yoshida [2dd55209efabeb276a744b1e04a0049901ff3327] Make sure the read() methods can take mmap'ed streams. 2020-05-08 Kohei Yoshida [a34c4e6e76db222c17741ae61560bb5d13baefad] Allow the file processor module file to contain dashes. 2020-05-02 Kohei Yoshida [bdbf7d6c9783c6b987209acdfccfa9c7968be4c0] Adjust the test cases to reflect the new xpath parser rule. 2020-05-02 Kohei Yoshida [9e6d8c8041bd55f73c02fa39ec4aa1bf0c9b7eb9] Modify the logic of xpath_parser to handle '/@' for attributes. 2020-04-29 Kohei Yoshida [9d0928c7b42345f90ec05e9e2407be6092f2b9d5] Add this test to cmake too, but this is completely untested. 2020-04-29 Kohei Yoshida [d40a13e7efbf8bf639140fc4f9772a0bfc6af874] Add a test case for attribute. This one tests the current incorrect syntax. The correct syntax is coming next. 2020-04-29 Kohei Yoshida [0d291693005a24253c8e4dfc6461a6c74dea8b73] Add test file for xpath_parser. 2020-04-29 Kohei Yoshida [0916a95da9fb60e47c9929f55a7025e5449df290] Promote xpath_error into a top-level exception. 2020-04-29 Kohei Yoshida [549af501a72df3ce2e22e039ae9ef8d97e1b9579] Move xpath_parser into its own source file. 2020-04-29 Kohei Yoshida [80428da9592e2d7e3446131c57cedee86f1920f0] Prepend extra '/' with '@' for attribute nodes. 2020-04-28 Kohei Yoshida [4f0c51e8812e67f5dcfd6b4e9768f93e8633a35e] These files no longer exist. 2020-04-28 Kohei Yoshida [a0e65ef7f91a8e54466bdc794e21ae2473588e2c] Move this file to the orcus/ml-engine repo. Since this module is used primarily for future ML training, it should be in the other repo. 2020-04-28 Kohei Yoshida [988de1a1122fd93eff2fea622571c79474dfc36e] Allow skipping files per regex rules. This comes in handy esp. with those files that would otherwise take over 10 minutes to load and/or always end up killing the process due to massive memory usage. 2020-04-28 Kohei Yoshida [27b9095be1eb319b7ba91e717a35e05d2f7b14d3] Introduce a STRING_WITH_ERROR type for string cells containing ... ... invalid string values. 2020-04-28 Kohei Yoshida [0d32a1cedd929f27690de3b0b09a3dfee2f40b99] Add a function to find a loader module per specified format type. 2020-04-27 Kohei Yoshida [68de888a42c3be3f7aa6e26ee7b1cf260a149989] Get these processor modules to work properly again after the relocation. 2020-04-27 Kohei Yoshida [53b51ec3e2ce2f21a1083beeacb04639bff8dda8] You still need this for this module to be executable. 2020-04-27 Kohei Yoshida [aa57f7b04abe62150be6884aa31a4a54a95db4e4] Move the file processor code into proper orcus module tree. 2020-03-29 Kohei Yoshida [d85dcbb86a0f51d5b3ed3ab15869cb54c7bd182c] Update for the 0.15.4 release. 2020-03-29 Kohei Yoshida [dcec0c56b0a435790fc8e189344a3de9287b1410] Reorganize the info a bit. Going forward, I'll be using GitLab's releases feature to provide source packages. 2020-03-28 hedmo [0d0d06207b1df25e7c855b85bd05a014f2e9f98c] Update json_map_tree.cpp 2020-03-27 Kohei Yoshida [da4ebdee489434d8cdbb1b460a9ebcf4583be341] Fix make distcheck. 2020-03-27 Kohei Yoshida [c19effb517bd759249c8e42adb0b5598c20c9cb8] Clean up the file entries in misc and slickedit... ... and remove a project file that we no longer use. 2020-03-27 Kohei Yoshida [5c28b772124d1a395b5bbd301bbd0178a29cb3ba] Remove things that are no longer useful. 2020-03-27 Kohei Yoshida [7d54f256222fa8b208fcb306e21fa00419ddab4b] Remove specification and schema files. 2020-02-11 Kohei Yoshida [919b0d2195671fe90427ef22cdc4365129d76fdf] Fix the spelling error. 2020-02-06 Kohei Yoshida [4f983a09ec870805558fa2d542cf248722ba90e3] Make sure to escape all strings that may potentially contain special chars. 2020-02-06 Kohei Yoshida [fec272625b5876348076136c11a34fd9bf502766] Fix the handling of formula cells with error. 2020-02-06 Kohei Yoshida [10cdc98c636dddea2ccffd63af86317a09e14e6c] Write xml output by hand. 2020-02-05 Kohei Yoshida [a95bd7c0f784e6a6c316e45ab574046da196e86e] Change the name of the special name to include the source file name. Also encapculate the code that has dependency on xml.etree. 2020-02-05 Kohei Yoshida [f7617eee70dd1f69cda08606640941ca2b6bc130] Turn off token data generation. 2020-02-05 Kohei Yoshida [22506821a6a129b560374c90a7a56910e3d8310a] Stringify the tokens before shoving them to the dom. 2020-02-05 Kohei Yoshida [52385250889c212645d8a5e3ecdd13a6a1c6c6da] Directly write xml output files as we process the document files. 2020-02-05 Kohei Yoshida [d51134ea28667b778e3ef82796f9f7993c5f67f0] Add names() method that returns a set of named expression names. 2020-02-05 Kohei Yoshida [b4624e9e22e83370f5a03c09b82ab8d8a4cdd3b1] Remove 'named_expressions' member from orcus.Sheet. 2020-02-05 Kohei Yoshida [530207c026f836e50a71e0ace0df19e9d9d3a7e0] Implement named expressions iterator for sheets. 2020-02-04 Kohei Yoshida [56996749b2b9f47b044c4f67b696871d0ac87ea3] Remove named_expressions attribute from orcus.Document. 2020-02-04 Kohei Yoshida [f8ef0f6c388cb37ea69ad37ffb4c021143dc931c] No need to pass origin sheet ID. 2020-02-04 Kohei Yoshida [75ac9ac90f533171dd7508a2e228122f4667e7d7] Add support for built-in len(). 2020-02-04 Kohei Yoshida [0ee17361b4a949794f150fc9c85965abd2a40978] Iterator to return a tuple of (name, exp). 2020-02-04 Kohei Yoshida [1d521c1ce07e57e6c2494370dcb6b215ee11c0b5] Initial implementation of named expressions iterator. 2020-02-04 Kohei Yoshida [93b89ed1bf7a5166a16ddb052ba078e48b136182] Add these files to slickedit project. 2020-02-04 Kohei Yoshida [8971979326c54e6c6138da9e0ba4266c8b0a4852] Add an empty implementation for orcus.NamedExpressions. I'll fill in the blanks later. 2020-02-04 Kohei Yoshida [8a00fb47f4725bfcfb5ef8261cdcdfcb213f3b66] Remove 'formula_tokens' member from orcus.NamedExpression. 2020-02-04 Kohei Yoshida [308a198461b34a859123dccbd932313db5be1c1e] Use formula token iterator for orcus.NamedExpression too. 2020-02-04 Kohei Yoshida [5c1ce9fb60c607a2bbed19768ec928b7141b4944] Remove formula_tokens member from orcus.Cell. 2020-02-04 Kohei Yoshida [0001e2dad59e0b6c9695982389742212fef702c4] Add a test case for orcus.FormulaTokens iterator. 2020-02-04 Kohei Yoshida [72f469c3321e759a7980c361bec195fe48e53508] Support built-in len() method on orcus.FormulaTokens object. 2020-02-04 Kohei Yoshida [b310570ed8a102c7370e3dfd5b390e9e35637247] Hook the formula tokens iterator to orcus.Cell.get_formula_tokens(). 2020-02-04 Kohei Yoshida [13e177e6d25b6393f3a5a1368b4b643161c68bb8] Fill in the blanks. Still not tested. 2020-02-04 Kohei Yoshida [b9759990ebaa1beee5e3fcb34a46d268e0c08844] Let's not forget to add these files to slickedit project. 2020-02-03 Kohei Yoshida [da41e0ed2b55b3aa13e4fa6dd6e5296e91773cec] Skeleton implementation for orcus.FormulaTokens. 2020-02-03 Kohei Yoshida [6d0d59b42ae864e2aa5cd1fe8f728314bb854e50] This is no longer needed. 2020-02-03 Kohei Yoshida [5059e82dca13a7d7deb363099a65e653b05dc3f2] Add 'origin' attribute to orcus.NamedExpression type. 2020-02-03 Kohei Yoshida [d49f745fd7d244f2fe04729d3afc4f7a5aebe70c] We don't need this. 2020-02-03 Kohei Yoshida [49000b80a6adc3014aa833cd9efaa547842902b9] Pick up and store the named expression origins. Also, for a sheet-local name, use the index of the respective sheet as the default base sheet. 2020-02-03 Kohei Yoshida [bacbe35bfc3d5e1a2bc265452025b0e143765b19] Adjust the code for named expression change in ixion. 2020-02-03 Kohei Yoshida [d409fbeb79812c1f23a5c4d2034f32add8ab285c] Rename sheet_size() to get_sheet_count() for disambiguation. 2020-02-03 Kohei Yoshida [72b6997e22bb25b633f8df8d6ebda47bc09bdb50] Make adjustment to recent ixion change. Now we need to specify the desired sheet size at document construction time, and that gets applied to all future sheets. 2020-01-31 Kohei Yoshida [dd264e5e5cd069eeaa4d5295e67fd07d4ba6d6f8] New test file including named expressions with relative references. 2020-01-31 Kohei Yoshida [fff1c66f5705b5ccee16672a2a37dd5d5fe9496d] Leave UTF-8 strings alone. 2020-01-31 Kohei Yoshida [3e57e1624e431f2b5878e3f1d70dc95026558a08] Let's always output in XML. JSON is harder to read for this type of data. 2020-01-31 Kohei Yoshida [a6dd46ecc37e317c23c09058c372c7eace474b82] Make XML pretty print optional. As it turned out it was very expensive memory-wise. 2020-01-31 Kohei Yoshida [5242a58334d2f851e38eef09fdbf062f91a00e4f] Make token data output optional. 2020-01-31 Kohei Yoshida [8ecb07cabcde5eab02488ce56a00926e132e895d] I need to know which batch is being processed at any given moment. 2020-01-31 Kohei Yoshida [eef9f040dc30ec35f88c2ec866f9165d40e70fed] Flush the batch each time to reduce memory use. 2020-01-30 Kohei Yoshida [912ac35ad7f2e0eee9ff9fd6d31e0f4f6b1dbd1d] Fix the unit test code. 2020-01-30 Kohei Yoshida [98fe315af1e5d268164459f9fbbb2f5531e945c3] Use FormulaToken in named expressions and output them. 2020-01-30 Kohei Yoshida [8a3c6bbe56cd641466acf45318ccbbff50b6308c] Add this file to slickedit project. 2020-01-30 Kohei Yoshida [8fe79e835d70724a8e601b870128347166ef58a8] Apply the error policy to array formula import as well. 2020-01-30 Kohei Yoshida [b4331dd744f6f1dd1a76f99eb03fb3af442d3297] Extract formula token types. 2020-01-30 Kohei Yoshida [22fa8fddee2c34ec6a84512fa23457dfb9d3788f] Handle formulas with error properly when extracting formulas. Also fix a bug on token to string conversion. 2020-01-30 Kohei Yoshida [526e004cd1e84ff24250105a7f6d54eba3d23ee6] Let's create a separate cell type for formula cells with error. 2020-01-30 Kohei Yoshida [1cf1d2d02406ba5fbd48bdbe91726ba57da7c2ca] Make sure the error formula tokens are formed as intended. 2020-01-30 Kohei Yoshida [2df3ac4a30e3dee69120f17ccc92e96aa3a60103] Add a test case for formula cells with error. 2020-01-30 Kohei Yoshida [21d0e63ff76f8d17092c88fd658df0f1c0e252c6] Assign a correct formula token type. 2020-01-30 Kohei Yoshida [4366e29c51d6ad3823226e1f7631c85ce2701226] Switch to using orcus.FormulaToken in orcus.Cell.formula_tokens tuple. 2020-01-30 Kohei Yoshida [b86f02a5312e5790a8654d0da7e1df4682fea97d] Let's remove this for now. There is no internal sharing between Cell and other types, like Sheet, Document, and SheetRows. 2020-01-29 Kohei Yoshida [f034537b75af40cbd78e16b93d15db828c759856] Let's not forget to add these files. 2020-01-29 Kohei Yoshida [841aabdc17ecf1d2de9dec08385ef6d5d3580eaa] Create an empty implementation for orcus.FormulaToken type. 2020-01-29 Kohei Yoshida [e2e6a9d94cc32e21756bcf019d77a1e0cbee34b3] Use the skip error policy when mass-processing files. 2020-01-29 Kohei Yoshida [306eaa279af48dfc50da3ecb886e7465bb76cf37] Expose the error policy option via Python API, ... ... and add a test case for it. 2020-01-29 Kohei Yoshida [c101eeb376e233343209e301330cf066e24f2093] Add a test case for importing formula cells with error. 2020-01-29 Kohei Yoshida [16605c2e1f1ee40e6ab405206447091390ff8421] Test case with intentionally incorrect formula expressions. 2020-01-29 Kohei Yoshida [adc2a1a8b48f7d24774754c39bab8fba46dc7e47] Fix the weird indentation. 2020-01-28 Kohei Yoshida [1b00d2b7b82f6595111fdc676433fa1cbe03a1a3] Add a new CLI parameter --error-policy to control formula cell failure. * skip to skip the offending cells and keep going. * fail to abort the loading process immediately. 2020-01-27 Kohei Yoshida [2fad6d6166900d283c8d9396f0de13dc87a70b58] Simplify the function a bit. 2020-01-27 Kohei Yoshida [364af279406eaca4c66686777d847dcde0f962ba] Extract a function for named expression dictionary population. 2020-01-27 Kohei Yoshida [f003b82fc939127d27e0d8e23ddcc4aab68f8838] Populate sheet-local named expressions dict. 2020-01-27 Kohei Yoshida [7713f4bf391ca93e5dfea6e4955cdff42ccfc4f5] Populate the global named expressions dict. 2020-01-27 Kohei Yoshida [47608118eefa742e90b4c9d21ba18b8872622d87] Adjust for the recent ixion change. 2020-01-25 Kohei Yoshida [879a8231c163345bcb37936012745992a2b529f1] Add a function to create named expression objects. Not used yet. 2020-01-24 Kohei Yoshida [d55d40f315f15adf537c163f2250fc7937058c7a] Add a boilerplate code for orcus.NamedExpression. 2020-01-24 Kohei Yoshida [50a908fa8ded8c0ded4eccd0bb7df7e71f0f06bc] Update this constant variable name. 2020-01-24 Kohei Yoshida [b00ade78025378e3f5477f7fc78c638e10e9a0e1] Create a dedicated context to handle (or ignore) table:dde-links tree. 2020-01-23 Kohei Yoshida [bb2cbe1e46b8e918142fee76c27c295ff1ae3300] I forgot those breaks. 2020-01-23 Kohei Yoshida [0850f1b2f67c53ad236c92a76b4d4610a60065f9] Import sheet-local named ranges and expressions as well. And add the file to the tested file list. 2020-01-23 Kohei Yoshida [ec8b2767a26b027925fe8a57b753658b8546fa09] Add this file to the list of tested files. 2020-01-23 Kohei Yoshida [29b1ded97dbf2e0bd835c4f3243d40d426eb09e6] Pick up named expressions as well. Not yet tested. 2020-01-23 Kohei Yoshida [79265813bb074bf7dcee616fc16cd5124edf3847] Add named-range to the list of tested ods files. 2020-01-23 Kohei Yoshida [d052efd831f0181f30af64acd28dff1379f098a6] Finally manage to import global named ranges from ods. Not tested yet & sheet-local named ranges or expresions are to be worked on later. 2020-01-22 Kohei Yoshida [0a92a7a74e2b57676e3fc98afcf2767a2aaf7b37] Add another named expression to clarify its syntax. It looks as though it uses ODFF syntax without the 'of:' prefix for named-expression, whereas named-range it uses something else... 2020-01-22 Kohei Yoshida [fc883366a14f144673320f126c916f7742c927e3] Update the test doc to add another named expression with references. 2020-01-22 Kohei Yoshida [2b9c1f101b61c1c8ac47e5a28b15c9b103871eab] Let's not forget destructor here. 2020-01-22 Kohei Yoshida [7283d207bdff64da76d0915931a6b44e209c062e] Attempt to import global named expressions. It fails on e.g. '.E1:.F5' type of range reference which is not exactly a Calc A1 flavor. 2020-01-22 Kohei Yoshida [7ffe1b993f964fd89c99120ae0f552d2bfd9e22e] Don't forget to switch reference context. 2020-01-22 Kohei Yoshida [8ce8d0ebfaf017e5a6be0045c88248bdc48bb892] Defer the base address resolution until the very end. But before processing the formula cell strings which rely on the named expressions being populated. 2020-01-22 Kohei Yoshida [44201237bcb27e239a1f59c47d1b2dc73891d4de] Reference resolver to return src (sheet-row-column) addresses. 2020-01-22 Kohei Yoshida [d791d99447bdf8d1825d94f593312daf05ed45d6] Pick up named ranges and store them for later processing. 2020-01-22 Kohei Yoshida [300bcbbef3677dd95baaccd4f3846078ed964417] Keep track of current sheet scope. Mostly so that we know when we are NOT in a sheet scope. 2020-01-22 Kohei Yoshida [c03d5528b279176b2e99671e82a0cccc159852a6] Adjust the import_named_expression interface ... ... to prepare for importing an optional base position parameter. 2020-01-22 Kohei Yoshida [b546990b8a7b95ff759b6c335d5bbc34fc567696] Use different resolver type for parsing named expression strings. 2020-01-22 Kohei Yoshida [e378f483ecc15e6fc4ab3f64f5266d1f7e53e99b] Introduce the concept of formula reference context. This is meant to primarily serve the ODS format where it uses different formula reference grammar for named expressions and possibly others. 2020-01-21 Kohei Yoshida [afdf5526dd7c33ab9a75c0558c86315d244a01fb] Set up a skeleton for future handling of named ranges. 2020-01-21 Kohei Yoshida [5db518a58058c0d1c2131658da9ff3b6da1e3e4f] Consistent styles... 2020-01-21 Kohei Yoshida [42368e821fd422b625203ae82e011a2132965157] Let's use std::deque over std::vector>. 2020-01-21 Kohei Yoshida [9fa143cb9b1ececb65b2d018d0b20bc06ef77778] Style names can be transient esp. when the name contains encoded chars. 2020-01-21 Kohei Yoshida [8a573a4395a12c3754fa4166b21e05d7b20323df] Add a few test files containing named ranges and expressions. 2020-01-17 Kohei Yoshida [24413fd27908fd9abdefcba4cd302fa319c0f8a9] Add a batch mode to split the output into a set of more manageable size outputs. 2020-01-16 Kohei Yoshida [d5ebaae3d478931fd83428b46470844fb060965e] Add sheet and formula counts to the output tree as attributes. 2020-01-16 Kohei Yoshida [ef6cefd15c91b6ef99eddbbfa4b0bc7bf130836f] Support xml output option. 2020-01-16 Kohei Yoshida [4d52d320068d30777206eb25cfc99989108532fb] Add code to aggregate all formula data into a single file. It's in json format for now. I will probably add XML as an option. 2020-01-16 Kohei Yoshida [926a8fad22bbc9223f8d147dd471f99a3516f482] Add a new processor module to extract formula expression data. 2020-01-16 Kohei Yoshida [820ea373618710defdc7df802e0e5d3f5098a236] Adjust process-files.py to orcus.Cell objects & user processor module. The processor module is responsible for processing each document loaded. 2020-01-16 Kohei Yoshida [844cd6355f01466e3c8100524bea3cf56aa5fda3] Move the XML token related files into their own directory. 2020-01-15 Kohei Yoshida [7987b4590cb8d7bda08f23b1ac0a2a2a87662f35] Add test case for python's detect_format() function. 2020-01-15 Kohei Yoshida [88fb5befd4e7ed5292eed0aa2eb71a0b4e061893] Add a tuple of individual tokens to the Cell class. 2020-01-15 Kohei Yoshida [ee5e9b9f11ddb95984c3c53e21d93020b116e10b] Have detect_format() return an enum FormatType value instead of a string. 2020-01-15 Kohei Yoshida [da8c1beeb6ca4ce7cea62a78ff56d40329bef27f] Get make check to pass again. 2020-01-15 Kohei Yoshida [d243f7435537695b0780e8a1cdc9b5b5a32fad27] Specify type during cell object creation. 2020-01-15 Kohei Yoshida [d2fd8978657511492d9e6afc1d726267595c1b6f] Convert formula cells, and add 'formula' member to orcus.Cell. 2020-01-14 Kohei Yoshida [99fef3d152a6bf654d74946eb065cbcb473e9396] Convert numeric cells to use orcus.Cell. 2020-01-14 Kohei Yoshida [344b62e70bf99842b43782234a9fd6f5451021ce] Start replacing cell tuple objects with objects of orcus.Cell type. So far I've covered empty, boolean and string cells. 2020-01-14 Kohei Yoshida [bf21c15798817fc088c64f5fdb21037d9ea10549] Add 'type' member to the Cell class. For now, it stays UNKNOWN. 2020-01-14 Kohei Yoshida [5a86560a328288d8c24ac3be68da469d735ae1b6] Remove repeated code blocks. 2020-01-14 Kohei Yoshida [dc952f7b9305d422cdaf6690c05ef456c041c45c] Create a skeleton for orcus.Cell python class. 2020-01-14 Kohei Yoshida [ac14469afcd86a81ac7f7a6e58dc410b376bfdff] Support valgrind as run-mode. 2020-01-14 Kohei Yoshida [7c11e930f64326ad9710027d723a468dc61fce36] Fix memory leak. Also keep the number_formatting_style instance within the context instance, since it's only used within it. 2020-01-13 Kohei Yoshida [f627a4df1f498ec9a1c2bd7223c1e2f89896ccba] Handle attribute without namespace correctly. c.f. https://www.w3.org/TR/REC-xml-names/#defaulting When an element name does not have an explicit namespace, it takes the current default namespace (if one is defined). An attribute name, on the other hand, do NOT use the current default namespace when it does not have an explicit namespace given; the decision should be up to the element it belongs to, according to the above specification. This issue mostly affects those ods and xlsx files generated by 3rd party software that makes liberal use of default namespaces. 2020-01-13 Kohei Yoshida [9a878b9c6966d2f219d3fbd7865bb8cadf025959] Display current row. 2020-01-13 Kohei Yoshida [d0bce251005f69c2b999089654eb0f0460cd61bf] Ensure that it's a row style before accessing its union data member. 2020-01-13 Kohei Yoshida [10b7b347eddb328c74263f34f7e0f23bd8c121da] table:table element may occur under table:dde-link as well. In which case the element may not have a 'name' attribute. 2020-01-13 Kohei Yoshida [524ba0e3d16069361465e1269b880676951707a6] Explicitly check the element namespace. 2020-01-13 Kohei Yoshida [e50fd76d23e2646ed6ccd6e5e39dd8fe1e558e27] Bail out on empty sheet names. 2020-01-11 Ryo ONODERA [7d2ae0b6e47aa0c1fc43a91300d82c5394420162] Improve POSIX shell portability DO not use bash syntax. 2020-01-10 Kohei Yoshida [76084ea9f2db98c2786756f484eb394430e56387] Handle attribute values with encoded chars surrounded by single quotes. 2020-01-10 Kohei Yoshida [876421904797a1c2a87cd4c2514da24c11d06b2a] Zero is zero even after the conversion. 2020-01-10 Kohei Yoshida [17e5ed79d5f5aed9acaf613bc87dd1b5f9190709] Use lambda function over old-style function object. 2020-01-10 Kohei Yoshida [d2e983e7d430c5342515abb202079f40eb287858] table-column can occur under table-columns. Also replace the use of xml_elem_stack_t with xml_elem_set_t in its vicinity. 2020-01-10 Kohei Yoshida [d4099cbc05dfd9afd953dda6ff9fb631218122f6] Gracefully fail formula registration for now. 2020-01-10 Kohei Yoshida [273cb53ddb125d2dee017334f1d0146b8aa53377] A little code cleanup. 2020-01-10 Kohei Yoshida [f08fb8b4c383e3b60e2e6a9827f91297665a89fd] There may be multpile pivot caches for the same worksheet range. 2020-01-10 Kohei Yoshida [ca8fc729429f2a99308463b55f04f655f8fb211f] Sometimes multiple pivot caches get created for the same table name. 2020-01-10 Kohei Yoshida [5c88fdfb5c8fb3420a6e87ecfabd4a62d9881b9c] Support importing of pivot caches associated with table names. 2020-01-09 Kohei Yoshida [41fc4843dbb6dacd8edac2740e0fb27a82002daf] Turns out sometimes we will find empty namespace values in the wild. 2020-01-09 Kohei Yoshida [df637055a4d3efdd97265833a8ca12a73a17067d] More on updating the expectations of the XML structure. 2020-01-09 Kohei Yoshida [318d2de4a71a4cb02e379c5672b7710185d1bd29] Add another anchor type to the list of expected parents. 2020-01-09 Kohei Yoshida [7117abc0e679634d60947c9299d96541c60fb69d] More on updating the expected XML structure in xlsx contexts. 2020-01-08 Kohei Yoshida [2af9df2f5bedfc63cbbd6e0b29802bf620589aa4] Always allow markup compatibility related elements. 2020-01-08 Kohei Yoshida [6bf51b2d6a3d81f28a6011b38f9332db681bde10] Update the OOXML tokens list to include OOXML MC tokens. 2020-01-08 Kohei Yoshida [ac58a5d0302986a3f0b070280efb93224dd64469] Allow extra tokens to be added to the list. This is to add the extra token names used by OOXML markup compatibility and extensibility framework. 2020-01-08 Kohei Yoshida [47cb4dc2ac3bd0b7967e692a42d029d163808033] Turns out I don't make use of schema types. 2020-01-08 Kohei Yoshida [f8e6e5e8deb4184dc8c7756de1eba20c6f9c8ee5] Update this python code to today's standard, in full on Python 3. 2020-01-08 Kohei Yoshida [8b8f4c290088193da8835fe7ed4cb78eee24ff93] Let's be explicit about the namespaces. 2020-01-08 Kohei Yoshida [41b5ddbd8179f25e5a9857ac38f4b66de6952981] cfRule may contain a formula element. 2020-01-08 Kohei Yoshida [d7ed99bbac03897e99dab4e7fbf4e95c234676b0] Update the expected parent element rules. cxnSp element represents a connection shape. 2020-01-06 Kohei Yoshida [9b5592fde0ec5f03ef04caa2070944d66d5a643c] Add another test case for python ods API. 2020-01-06 Kohei Yoshida [166c43c323017f62f9b99627305cd2f09ef57345] Add more test cases for the Python API on xlsx. 2020-01-06 Kohei Yoshida [2c7a7ca0145f82e8e3106d93101408bb804bac45] Make sure the test documents load fine without recalc turned on. 2020-01-06 Kohei Yoshida [45a39e0b85dd3ba22b376618e764cbacea17a68a] Enable Git LFS. 2020-01-06 Kohei Yoshida [e091bddd728acaf434ea8b0e90e5fb7f5a80f5b5] Set dummy cached results for array formulas when not doing recalc. 2020-01-06 Kohei Yoshida [65d5c4d2a46f31cebba2642f4504f211f2389f8e] Add variant of set_grouped_formula() that takes cached results. 2020-01-06 Kohei Yoshida [871853b4770b277103f3e0b8898ce101c94f7831] Let's not forget to handle the result value here too. 2020-01-06 Kohei Yoshida [2412f96e5ceb9457b407ea1b5e3f9ceb73eb4647] Tiny cleanup. 2020-01-03 Kohei Yoshida [43c9bfaabd911cb41ecd43aa6fef47f3dd8a9b9b] Add a 'recalc' argument to python's read() function for all format types. It's optional and False by default. The current test code has to set it to True in order for some of the python unit test cases to pass. 2020-01-03 Kohei Yoshida [291300d00b76a8e97ef35a5ec0744a128f04b43f] Prepare for parsing multiple arguments from python's stream read function. For now it's still handling the only argument that is 'stream'. 2020-01-03 Kohei Yoshida [c3600293b2ee0e9dafa604269622c7ecdc6979ab] The correct place to set the recalc mode on. This is in line with what the CLI versions do. 2020-01-03 Kohei Yoshida [fe5567faa69442222f53ad58239b11e24ba9d373] Re-word the method doc. 2020-01-03 Kohei Yoshida [1fea71f26fe2a52c0c57437989665bcfbf03b665] recalc_formula_cells() do not need to be virtual. 2020-01-03 Kohei Yoshida [896f4d91ae207f231d8e45a97cfbeff4dc9691c8] Move the recalc-on-load flag to the import factory class. 2020-01-03 Kohei Yoshida [40560c08fc2de7b5e85284f42240d684e017bc87] Prepare for setting formulas with cached results. And up the required ixion API version to 0.16 going forward. 2020-01-03 Kohei Yoshida [483e96aae13bd6d2e3b152eef78d44220cc38340] We definitely broke API compat. Up the API version. It's based on what `git diff -r 1.5.3 -- include` says. 2020-01-03 Kohei Yoshida [68d0e25e73e019b229aabaee221bac01e7dcf939] Up the required ixion version & set the version up to 0.15.99. 2020-01-03 Kohei Yoshida [dd9b13ab30cd2661e8602c91281d71974c12270f] We don't need this extra flag as a loader configuration option. It's strictly an option with the document store, and the loader should only focus on importing formula cell contents as stored in the file. 2020-01-03 Kohei Yoshida [5533905cae4bbd524723fc5cba83d3e78467b3c9] Make the recalculation of formula cells off by default. 2020-01-03 Kohei Yoshida [a19030ac2a752998a83bb7436524341b08601135] Let's make this flag a boolean type. Not sure why I used uint16_t originally, but seems to make little sense. 2020-01-03 Kohei Yoshida [af736e5884494715a662fde697b2b96af5692bd9] Introduce a recalc-on-load option. Not used yet. 2019-12-20 Kohei Yoshida [5f1f1f942fc22d5c0f2a07847c7a7f0dbc2cb076] Print ratios only when the total > 0. 2019-12-20 Kohei Yoshida [419ad871c484bc4c428526b160ad5ebcb27e860e] Handle documents containing DDE links. 2019-12-20 Kohei Yoshida [175e097f7757e7cff5ba2b4edd8ff2af4101399b] table:table-column can occur under table:table-header-columns. 2019-12-20 Kohei Yoshida [f277f9433f40df8724e1fcb59a36b813cd667b6b] table:table-row can occur under table:table-header-rows. 2019-12-20 Kohei Yoshida [43429a2acf4da9c00b0cc8584fdc87db1676ee17] Correctly handle file names with spaces in them. 2019-12-20 Kohei Yoshida [b5c6d7ab7ca06b250f7cafa0b7bb57f130dd4a4c] text-properies may occur under text:list-level-style-bullet too. 2019-12-20 Kohei Yoshida [b1668ffdb150f8dbef98598999f3e8f374d8390e] text-properies may occur under text:list-level-style-number. But let's not handle it in such cases just yet. 2019-12-20 Kohei Yoshida [669275c2ed423e1e5f1ddaee371e770820aaf26d] Add separate method for handling text-properties element. 2019-12-20 Kohei Yoshida [105721af0a2782932b2e2f661107274a9389fb78] table:column and table:row can occur under table:table-column-group and table:table-row-group. 2019-12-20 Kohei Yoshida [bffaed71aded56cfab6174a77430fc65c7afef85] Use bool_switch to handle boolean flags. 2019-12-19 Kohei Yoshida [c7fc7ff7fe746257ff17ae549daf84d7577153ad] Prevent exception here. 2019-12-19 Kohei Yoshida [0652056d3b899cc9dbf43f0e409d1699c8193e47] Re-org slickedit workspace structure and add python and shell scripts. 2019-12-18 Kohei Yoshida [f3b2401c30574c7eb68bf292a7d2c40b1523e413] Add option to display some simple stats of the results. 2019-12-18 Kohei Yoshida [8276274b896b980e660767d62b21535e834decb4] Add option to remove result files from a directory tree. 2019-12-18 Kohei Yoshida [0dee2bae66ef8f8f9b2bae0d2fdad5d173eed219] Fix run-python.sh to correctly pass arguments to executable. 2019-11-25 Kohei Yoshida [7d65474b3e5dd1aa8e8cf2bda30b07b286696142] Use the name resolver owned by the document. Now all tests do pass. 2019-11-25 Kohei Yoshida [0244ee76d696bf797d4f3de8317631df9a93438f] Store formula expression strings in sheet_rows objects. TODO: test/python/xls_xml.py still fails. I'll fix this later. 2019-11-25 Kohei Yoshida [37f4c910268834982b09e9b0f5035c9a9732dca4] Include cell types when iterating over sheet cells via Python API. 2019-11-22 Kohei Yoshida [91c51ebe1152f40bafdf1cdfcf2380f6e8785a8f] Add a mechanism to parse and display the results of processed files. 2019-11-22 Kohei Yoshida [b19a5c4a5c11730b9c48d2c23b9cda44a9257bf2] Capture and cache the results of file processing. 2019-11-20 Kohei Yoshida [9f5a366ef15abd6db13ddce1103900da598394e6] Add file count to its output. 2019-11-20 Kohei Yoshida [a705557292695ebca3399837dc26c2adb62b275d] Sometimes the count attribute is not present. In which case, let's not set the count value to avoid segfault. This resolves #102. 2019-11-20 Kohei Yoshida [2babdbbf7fc59015c4ec6b4892bf28a6be8dd709] More on properly managing object's references. 2019-11-19 Kohei Yoshida [32de9c6e36a408476bfd27687d3d53e56b137227] Stop another memory leak, for the same reason as the previous one. 2019-11-19 Kohei Yoshida [8e2bf85e492497d376869d3b07272f7bbf10d537] Stop memory leak. Turns out PyTypeObject.tp_new returns a new object with ref count of 1. No need to increment its ref count before returning it to the caller. 2019-11-19 Kohei Yoshida [5efa585de8b2a8f5180f6cc63f82f2e8f04c3676] Add a test case for the threaded sax parser. This one covers a use case where an exception gets thrown in the main thread. 2019-11-19 Kohei Yoshida [67098c70a27db3455d371c35da1b7e198aacfa24] Abort the parsing thread when the main thread throws an exception. 2019-11-19 Kohei Yoshida [ec768684aaa7c80329dd2a259b622952f28d6c58] Turn the parsing state from boolean to tri-state. To introduce an abort state. 2019-11-19 Kohei Yoshida [480da2bc87caad82eca0df71a61b2e7d281b9f59] Process parse error tokens and add a test case for it. 2019-11-19 Kohei Yoshida [97400cf0ee524251ba47db6f44643d94776e1537] Catch and tokenize parse error exceptions. 2019-11-18 Kohei Yoshida [baf9d57db281961598964a9ac66b57dc0ec83a2f] Call ixion::init() only once per process. 2019-11-15 Kohei Yoshida [0be01f52df54c972bd2d9e37cea54ed14237aa46] Don't forget to initialize ixion. 2019-11-15 Kohei Yoshida [91467b2a4d0944372db941683a8cf261959220c6] Display the exception name. 2019-11-15 Kohei Yoshida [fee0b10900d32833efe8b41fd04af91af2145aa4] Catch exception and keep going. 2019-11-15 Kohei Yoshida [e8ab49ea0330991d118320593afc89b651eb35ae] Catch C++ exception and translate it to a python one. 2019-11-14 Kohei Yoshida [3a6a91248d2946e53100e83e1af26cb0a6815308] Load the document and dump its content. 2019-11-14 Kohei Yoshida [e39fce08e085606ea6cfbd0307727d7dba565d9d] Use std::unique_ptr to manage stream PyObject instances. 2019-11-14 Kohei Yoshida [5a392910badf1d10b8419f01c3db6ceb04f02e58] Let's not forget to delete the bytes object when finished. 2019-11-14 Kohei Yoshida [932d1344bf2e73f1f852d64372c4d55c45bcf7d9] Add orcus.detect_format python function & use it from process-files.py. Also, try to treat the object as bytes if possible, in case it's not a buffer object with read() method. 2019-11-14 Kohei Yoshida [facaa9b00815467b6d22ab4a2f8d1bcd09b42cbe] Recursively traverse files from a root directory. It's still a skeleton. More to come. 2019-11-13 Kohei Yoshida [b4107089e21e3aa106c92f4125f09013a807d639] Annotate the code a bit. 2019-11-12 Kohei Yoshida [1074b47d72561ca6783142ddd5a46d938c97e611] Use thread pool to speed up the fetching of the attachments. 2019-11-12 Kohei Yoshida [511b6e30e0ae4d0bef5eec6ff52478cb023b53ff] Abstract away the bugzilla URL, and add --limit parameter. 2019-11-12 Kohei Yoshida [153ddaf75a843884f45fbec393594047ecf7ed46] Manage to download the attachments for real. Also cache the response contents from the remote server, to prevent us from hitting it too frequently. 2019-11-11 Kohei Yoshida [a5afbefd3963f3e15a5f8e20d57682b8912fcb49] Start a script that uses TDF's bugzilla API to get a list of bug ID's. Eventually we want to download all attachments, but this is just a starter... 2019-11-11 Kohei Yoshida [af5a3d424efebcf61f3725e70dc14502fa7947f1] Remove now pointless wrapper scripts. Use libtool directly on the executables instead. 2019-10-09 Kohei Yoshida [15c02dd7f5c9f9e68e260cddf4c99b7dea5392bf] Add the URL's to the 0.15.3 packages. 2019-10-09 Kohei Yoshida [1a58f64290b2d1297728dcdc117085fbf312c95a] Fix make distcheck. 2019-10-09 Kohei Yoshida [2e3830798a727cefd826ee2d33ecdfb897db72e4] Up the version to 0.15.3. 2019-10-08 Kohei Yoshida [9f1bf9327520b1d738c77e8743c393f8f4737842] I think I'll just do a release next. Let's close the change log. 2019-10-08 Kohei Yoshida [a84c31bc78c28b5d110e2586a7e475be3182bc35] Add this to CHANGELOG. 2019-10-08 Kohei Yoshida [85edd04198e531797d978f4110d471059a9dbe96] Use the closest row group element as the anchor element. And finally add the latest test case to the list of auto-tested cases. 2019-10-08 Kohei Yoshida [710ced8945f3400695d8b73a93e61f333b7741b6] It's no longer necessary to track common range parent with data member. All of that happens only within the commit() call. A local variable will do just fine. 2019-10-08 Kohei Yoshida [4b6c11295b037d20cf84881b1bad8a30d47df7a0] mp_cur_range_ref is no longer necessary. 2019-10-08 Kohei Yoshida [78a0258d470b3fe078ff5bd6ba64aa824c2f3e03] Pass the position to start_range(), and not pass it to the rest of the methods. The API looks a bit cleaner this way. Plus now it makes more sense. 2019-10-07 Kohei Yoshida [1ad2b4c173076b233c50553ed03d52f65f58d93a] Delay the insertion of range field links until the commit_range() call. This ensures that by the time we are ready to insert the range field links, all of the range row groups have been inserted. 2019-10-07 Kohei Yoshida [bbc53ea0bf38babc85c90b311e021ca2fb34b9ec] Add a test case that currently fails to work properly. 2019-10-07 Kohei Yoshida [3ad78536f1ac85e6b4d9818baf6f19a7e6e4b936] Add this item. 2019-10-07 Kohei Yoshida [c18ea901cb13909257951ecbf6282810294ec419] Create a shared header for all test codes. And globally disable NDEBUG so that assert gets triggered even in release builds. 2019-10-06 Kohei Yoshida [615ed37f46bb1e0c82610c6866a446680a6fb06d] Add this test file to the list of automatic test cases. 2019-10-06 Kohei Yoshida [3fb28d456c58004c0e94e4f82ef7f5a7ecfef69a] xls-xml: correctly handle table offset position. Pick up the following properties: * ss:TopCell * ss:LeftCell from each Table element which specify the top-left position of the table structure. 2019-10-06 Kohei Yoshida [86a37bce87727e440149c1d5d68e66e13fdcef91] New test file for xls-xml filter. This one originates from: https://bugs.documentfoundation.org/show_bug.cgi?id=118227 and is slightly re-formatted for ease of read. 2019-08-29 Kohei Yoshida [7e08a01c20a9aa96dddd8b4717a4914c2e36fcb4] 0.15.2 is now released & adjust the category names. 2019-08-28 Kohei Yoshida [5d77169f98b2422ca5855c0a289d8752dc5a0b74] Add links to the 0.15.2 packages. 2019-08-28 Kohei Yoshida [5219f48293980bc859a67164fc68e6ce7c9f619a] Fix make distcheck. 2019-08-28 Kohei Yoshida [a679bbae80c2422ce18805b2fdf4fd181c12f990] Update CHANGELOG. 2019-08-28 Kohei Yoshida [122b8e2645194110ea915c11511574e1e06d40f5] Let's test these named number formats for real. Also, replace a UTF-8 euro symbol with its escaped bytes. 2019-08-28 Kohei Yoshida [232719067350e715ba16bffc23771a91a941914d] Add more formats. 2019-08-28 Kohei Yoshida [022a476c2614aef22411db091dfe59f15ef64f52] No point having this entry since there would be no translation. 2019-08-28 Kohei Yoshida [3160df38b187cf93df73e38517ff345196bcf10c] Convert named number format values to their respective codes. This is related to #98. 2019-08-27 Kohei Yoshida [15afc33d99c2a15af3833fcc762829e20a2646b8] Update the CHANGELOG for 0.15.2 items. 2019-08-27 Stephan Bergmann [1c9b1c20cad59237377a27f9f87db63a6a700d1c] Comment the workarounds ...added by a124e3b46f5430fa1c13c5500f3cad6ed147f068 "Blind fix attempt for older macOS builds", in case they can ever be removed again when building against old libc++ is no longer relevant. The underlying issue in libc++ should be fixed with "[libc++] Fix PR20855 -- libc++ incorrectly diagnoses illegal referenc…" since LLVM 7. 2019-08-26 Kohei Yoshida [0eeb11739d5f6d55ba8f610a6420e61b1ca44b77] Add a TODO comment as a future action item. 2019-08-26 Kohei Yoshida [06381b2971e5e5b3fa0707af075f6349d845274c] Work on picking up the number formats entries from xlsx. There is one issue; however, in that xlsx uses number format codes to identify the number format strings, whereas other style elements use ordering as the identifiers. I need to think a bit about how to handle this... 2019-08-26 Kohei Yoshida [800615b0b51d09a8ff7f23701512367c40b84ad3] Set up a test case for xlsx import of number format strings. It currently fails. 2019-08-26 Kohei Yoshida [9a22b162b9733372eb698bc33d5212661e794be2] Add a first test case for importing number formats. Also make sure to intern the format strings before storing them. 2019-08-26 Kohei Yoshida [d2102e54c2515f24a1a566a83d73dd37bcba6952] Add method docs to clarify the roles of these methods. 2019-08-26 Kohei Yoshida [aed8b59ca5a27d4e90aab1d83da522725d0039ea] The conditions between can_handle_element() and create_child_context() ... ... MUST be identical at all times. 2019-08-26 Kohei Yoshida [edca971c1077196f8fe768d1a61cd2628529bdc1] text/xml is also a valid mime type for XML documents. And according to google search, application/xml and text/xml are equivalent of each other. 2019-08-26 Kohei Yoshida [35735e090e10321b0d4d0c9499eb6b284cf0da71] Add test files for importing number format entries. 2019-08-26 Kohei Yoshida [3e6fd08a2228e72eb144a76207b8bd671161cf2d] xls-xml: pick up number format entries during import. Not tested yet. 2019-08-23 orbea [8e984d774b4df960f61f4113956babf1515a8f5f] Fix build with gcc5. 2019-08-23 Kohei Yoshida [aaaec1b15725b8821907382fa30bb6fd00a9b53f] Probably this should be a top-level item, not a child of orcus-xml. 2019-08-23 Kohei Yoshida [2414012065fd3d49ed0fc2f79b5e04f6ef7aef6d] Up the version to 0.15.2. 2019-08-23 Kohei Yoshida [2272137abd48cf4777311640b3c760c4f1524c05] Add Stephan's bit. 2019-08-23 Stephan Bergmann [a124e3b46f5430fa1c13c5500f3cad6ed147f068] Blind fix attempt for older macOS builds ...like (which builds with MacOSX10.13.sdk, but not sure with what Clang and libc++ versions): > In file included from xml_map_tree.cpp:8: > In file included from ./xml_map_tree.hpp:11: > In file included from ../../include/orcus/pstring.hpp:14: > In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470: > In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:169: > In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56: > In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:643: > In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:653: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/tuple:227:10: error: static_assert failed "Attempted to construct a reference element in a tuple with an rvalue" > {static_assert(__can_bind_reference<_Tp>(), > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/tuple:385:13: note: in instantiation of function template specialization 'std::__1::__tuple_leaf<2, const orcus::pstring &, false>::__tuple_leaf' requested here > __tuple_leaf<_Uf, _Tf>(_VSTD::forward<_Up>(__u))..., > ^ > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/tuple:738:15: note: in instantiation of function template specialization 'std::__1::__tuple_impl, orcus::xml_map_tree &, const char *, const orcus::pstring &, orcus::xml_map_tree::element_type, orcus::xml_map_tree::reference_type>::__tuple_impl<0, 1, 2, 3, 4, orcus::xml_map_tree &, const char *, const orcus::pstring &, orcus::xml_map_tree::element_type, orcus::xml_map_tree::reference_type, orcus::xml_map_tree &, const char *&, orcus::pstring, orcus::xml_map_tree::element_type, orcus::xml_map_tree::reference_type>' requested here > : __base_(typename __make_tuple_indices::type(), > ^ > xml_map_tree.cpp:216:13: note: in instantiation of function template specialization 'std::__1::tuple::tuple' requested here > element::args_type( > ^ > 1 error generated. > Makefile:1804: recipe for target 'liborcus_0.15_la-xml_map_tree.lo' failed > make[5]: *** [liborcus_0.15_la-xml_map_tree.lo] Error 1 (while building orcus as part of LibreOffice). (Using "nm" instead of a more descriptive variable name "name" to avoid -Wshadow warnings like > xml_map_tree.cpp: In member function ‘orcus::xml_map_tree::element* orcus::xml_map_tree::element::get_or_create_child(orcus::xml_map_tree&, orcus::xmlns_id_t, const orcus::pstring&)’: > xml_map_tree.cpp:214:16: warning: declaration of ‘name’ shadows a member of ‘orcus::xml_map_tree::element’ [-Wshadow] > 214 | auto const name = sp.intern(_name.get(), _name.size()).first; > | ^~~~ > In file included from xml_map_tree.cpp:8: > xml_map_tree.hpp:126:17: note: shadowed declaration is here > 126 | pstring name; > | ^~~~ ) 2019-08-23 Kohei Yoshida [aa3a5fa62b188e8c7511ae3843c5896df97de8f6] Add this bug fix to CHANGELOG. 2019-08-23 Kohei Yoshida [c00bb21d96db956fd42253acd5e083f9168b91e3] Add a test case for this. 2019-08-23 Kohei Yoshida [d5e1cc2587c697cdbb440749f98a738402cf998e] Correctly identify the anchor element of a linked node. 2019-08-21 Kohei Yoshida [c1b7a2d97c4aa695952d7b52971a83aa68983c61] Add links to the 0.15.1 packages. 2019-08-21 Kohei Yoshida [83ee4f09e489010a1bc8dfbcd4011d2ccf279996] Add method doc to fill_down_cells(). 2019-08-20 Kohei Yoshida [d1a7c6bfd64c6102ff4d59c253a743db6e8a04d3] Finish up CHANGELOG for the upcoming 0.15.1 release. 2019-08-20 Kohei Yoshida [865e660e33585c9ab1bd2aac6fe3b73927218a7f] linkable is a struct, not a class. 2019-08-20 Kohei Yoshida [f3538986f9ff18b5371a0ec8e049567b0c3b7f8e] Up the version to 0.15.1. 2019-08-20 Kohei Yoshida [b1fdb3d0f1f7165c047566b51bfbaf4dc530e882] Use object pool on range_reference as well. I think this is the last one. 2019-08-20 Kohei Yoshida [dd9f6ff67cb34897c3360a40c80bc3122fdcf6ab] Switch to using object_pool on element instances as well. 2019-08-20 Kohei Yoshida [2d887329526558fe3c3f75087831805120c0b111] Switch element constructor to using std::tuple. This is in preparation for using object pool on element. 2019-08-20 Kohei Yoshida [f1e8dc4c62ebd2bc5639347336d0948e6db321e9] Use object pool for attribute instances. One caveat is that boost::object_pool's construct() can only support up to 3 arguments. One workaround is to switch to using std::tuple to reduce the number of arguments to one then call construct() on that, which is exactly what I'm doing here. 2019-08-19 Kohei Yoshida [170c7893524e6244296f0e349002264ab2cd2394] get_or_create_child can now simply return the element pointer. 2019-08-19 Kohei Yoshida [05e12ad685594d3b8d517c9146b53e1b14c0522b] Move the reference data up into linkable, and clean up the code a bit. 2019-08-19 Kohei Yoshida [2bfd5f90bf7bab783dbf1e7e1cbc6b0a679ca7af] Refactor the linked element handling code for clarity. 2019-08-16 Kohei Yoshida [ba80955aeb32bb86ea8cc2765530bab9e0b51c87] Use object_pool for cell_reference and field_in_range instances as well. 2019-08-16 Kohei Yoshida [2b1417f6a2d5655c954204c126daf3524403a5e5] Use object_pool for element_store_type objects. 2019-08-15 Kohei Yoshida [5cbce8c9ada219f18c7a707a435b0574f6396693] Add some changes which will go into the next release (0.15.1 most likely). 2019-08-15 Stephan Bergmann [1e024e37c59574965e1b07bc5097c014d4625227] Fix linking of newly created element (see downstream "Fix linking of newly created element in liborcus 0.15.0") 2019-08-15 Kohei Yoshida [6a40c30658a8727d87ae0ac244c95d6e18dde75a] Sigh... Another typo. 2019-08-15 Kohei Yoshida [aa7a5e3f802d9e80c27147cea706927cb7e2be11] Let's mention the new required method in the import_sheet interface. 2019-08-15 Kohei Yoshida [6e4160af14491cabf4a018df6463161cf57b25a6] Fix a typo. So much intern() calls affect my English spelling. 2019-08-15 Kohei Yoshida [4c12dc4e02d824c81dce401f8aba76b1cae3e92c] Add the 0.15.0 tag line. That version is out in the wild now. 2019-08-14 Kohei Yoshida [56514d538a0b018e910ce4d0f134bfb38a5f82b9] Unused private member. 2019-08-14 Kohei Yoshida [1b11a47a3681015afda7f04b21f798e416ed6a84] Let's not forget the override keyword here... 2019-08-14 Kohei Yoshida [fff0bdf3b9d214d4e406f91d085f38d4a372f389] Properly initialize these values, and keep valgrind memcheck happy. 2019-08-13 Kohei Yoshida [32ff7b049033ab6b40ebfe7f900df29bfddb27e8] element.child_elements is valid only for unlinked element type. 2019-08-13 Kohei Yoshida [edfa29e40a7d1b937f95d66e35ceff4d73e71ebb] Really kill orcus-xml-dump. 2019-08-13 Kohei Yoshida [1846f57da57794abe3e64d447f8d5611a279a37c] Let's use volatile keyword here too. It's a simpler solution. This reverts commit 00e1d67350e7d85c05e8b1f8f49a265af78f85e3, and add volatile keyword to prevent aggressive compiler optimization. 2019-08-13 Kohei Yoshida [6698019746b562b173cf1bb849e4e85fb0044461] Use of volatile keyword here fixes the test failure on 32-bit debian. Perhaps the compiler is too aggressive on optimizing the double values causing the equality check to fail? 2019-08-13 Kohei Yoshida [a55f15cb9fd63a9b37e2c181c57e90c570292948] Use std::deque here to avoid strange segfault issue on 32-bit debian... The original code (with vector) for some reason crashes only on 32-bit debian platforms. No such issue with deque. 2019-08-13 Kohei Yoshida [00e1d67350e7d85c05e8b1f8f49a265af78f85e3] Use a more reliable method to compare two double-precision values. This hits especially hard on 32-bit platforms. 2019-08-08 Kohei Yoshida [7306fdbc47574bfdff4341e69173447c45148341] Add links to the 0.15.0 packages. 2019-08-08 Kohei Yoshida [cac3852073f54d14a8fae0b6cd03e4e79df66df8] Up the version to 0.15.0. 2019-08-08 Kohei Yoshida [65797dc173272a1ee1a4dc7be24cbf80e595d0fe] Populated CHANGELOG based on the tickets tucked under 0.15.0 milestone. I hope I got everything here... 2019-08-08 Kohei Yoshida [bd1d8bad33dd22daa8922b38068877e5a9241d44] Update AUTHORS. 2019-08-06 Kohei Yoshida [b67e82d9b2908dff7f6e82d4fb93e4d775ffdc39] Flattern the code a bit by reversing logic. 2019-08-06 Kohei Yoshida [97eba52b4dd448345a6f6687333e3a0e9fce9a30] Share the logic of output stream creation between orcus-json and orcus-xml. 2019-08-06 Kohei Yoshida [f8347e9d89d14c9cf3fadcb0a4dccd3952ffa080] Move the orcus-xml-dump functionality into orcus-xml. This addresses #96. 2019-08-05 Kohei Yoshida [93a52be3507622a71f8c65d6aae769bbae41ec43] Fix make distcheck. 2019-08-05 Kohei Yoshida [d3db6695e02d61ce4b565f4e9ffb3d491a9f980f] Add json-map-tree-test to cmake. 2019-08-05 Kohei Yoshida [42e4550aa3bd3424cec0a320e33098e7e9113cee] Add another test case that contains multiple ranges and row-groups. 2019-08-05 Kohei Yoshida [e59e9763d1f5c0785f60467db01461eaadd35a67] Two more test cases. 2019-08-05 Kohei Yoshida [f775a0f4aa609d9d32612729e907c40e656f3dcd] Add the first test case. 2019-08-02 Kohei Yoshida [87c768a0cf67874a2e4cb573215f4d0381f44154] Ignore this artifact. 2019-08-02 Kohei Yoshida [91eaeccec82845b72e5ae08d2be63ac077e7f706] Be explicit about where to put an inline file. 2019-08-02 Kohei Yoshida [22a7d0adbe8ea3526d41769f9a9e12806922affc] Remove a compiler warning with MSVC. 2019-08-02 Kohei Yoshida [629b50ab1380b0d87fb690ac3020476856ea4aaf] Fix the check target for cmake build. 2019-08-02 Kohei Yoshida [d3f0a34788f3825c461d1944aa697f4f0c467dab] Potentially skip whitespace chars before and after the '=' of an attr. This fixes #95. 2019-08-02 Kohei Yoshida [ac171c352dd78ae102fbf55eda124ab55dec1cdf] Add a test case that currently fails. This is related to #95. 2019-08-01 Kohei Yoshida [f9f5d9efb17dc3dd0d7e49c5ccee2ca48e58aa62] Add header files to cmake scripts & add API version to libs. 2019-08-01 Kohei Yoshida [82100a7717e0b011a70000e76597f435a6fd054b] Add install targets. 2019-08-01 Kohei Yoshida [ae96775517543c6560357dbf5e9aac0c0715471d] Add all cmake scripts to slickedit workspace. 2019-08-01 Kohei Yoshida [4cb0de2f8c939edb793a1e39dff4a4d820f9afc9] Spaces to indent, not tabs. 2019-08-01 Kohei Yoshida [dd272345e22038d1c668b19fe236b1af7c0f4883] Let's just use auto here... I think I'm justified. 2019-08-01 Kohei Yoshida [614e9cfa6bfac2a690520a278c8ff59390db6a60] Add test cases for orcus_xls_xml::read_stream(...)... ... in order to make sure that the automatic conversion to utf-8 still works via read_steam() as well. 2019-08-01 Kohei Yoshida [6609c69ba6db499a089447dff7c3ce9167f01fbc] Implement memory_content class to represent in-memory content. This one is similar to pstring, but differs in that it can handle conversion of stream encoding to utf-8. 2019-08-01 Kohei Yoshida [f9aabfddb0d7c88a8d8120d23743452f5ff7a88f] Move the impl of read_stream() to the impl class. 2019-08-01 Kohei Yoshida [e179075cc8f6e0dc1ee7ac6aa6db7f9d52710168] Modernize it a bit. 2019-08-01 Kohei Yoshida [d56fb140d211c2800c0da3970721ae46d18be177] Use separate object pool to manage node instances, and store their pointers. 2019-07-31 Kohei Yoshida [4e2a10b95a9efd11ecd4d2e0a3975e0e53edd2fe] Get orcus to build on Windows (with cmake). MSVC's std::deque apparently cannot work with forward-declared types, but std::vector works fine. 2019-07-31 Kohei Yoshida [998570d2a1ede145da54baef2026add211d540dc] Remove dump-check mode. This is now handled as output format type. Also enhance the descriptions of the output formats. 2019-07-31 Kohei Yoshida [f0c64a7f0b26021a73f77dcb0f200cbf4936ea71] No need to do this check here. All necessary checks on the output file/directory are now done within document::dump(). 2019-07-31 Kohei Yoshida [c83e61c1628410181a52439025a69e31b12bb868] Move the structure dumping code into a separate function. 2019-07-31 Kohei Yoshida [8c9b7d67e54d59bc06c8dc57798905f1f35e8371] Rename dump-document to map. Also fix inproper error message when the output format is not specified. This is related to #93. 2019-07-31 Kohei Yoshida [75835dc64092f405b6a94883e82dcb3e08813d1b] Rename xml-structure to just structure. Related to #93. 2019-07-30 Kohei Yoshida [671285dc5e15f3e202ba1d587929a2b506e1093a] Make sure we throw an invalid_map_error on parsing invalid map file. This is also in line with how it works in orcus_json. 2019-07-30 Kohei Yoshida [2a1a0eca6beb4d1c16f060a674ec994139f1f533] Let's call it just 'path', not 'xpath'. This is also to make it inline with json mapping. 2019-07-30 Kohei Yoshida [e8994e2cc787169db4bcceed9f09abebadaae209] Simplify the code a bit. 2019-07-30 Kohei Yoshida [47665a5d61135de08810add9ae7c7b642e227a0e] Move the code that reads XML map file into orcus_xml as a new method. This is in line with how orcus_json class is structured. 2019-07-30 Kohei Yoshida [69d08a4115f086bf9725f0d11d5a5c71e4387cf1] Add method docs for json::structure_tree::walker. 2019-07-30 Kohei Yoshida [92d6a98ab99d0a928da3e22d4475eb24c23d3727] Ensure that the row group nodes are always of array type. 2019-07-30 Kohei Yoshida [33592c6b0c210ae43a52e0506c853898d941d1bd] Rename the method and bind it to row-group nodes. 2019-07-29 Kohei Yoshida [5e66d16d5fa55b4fc79b6a192141c4e0ed9e291c] Better exception message in node::push_back(). 2019-07-27 Kohei Yoshida [a411025f8baa91030bdf36283496d664b25ef613] Finally implement map file generation. 2019-07-26 Kohei Yoshida [a8e0c46a4cdb54bbe1c90f1e7143e598aa914094] Perhaps better to use a separate "implicit array" type to handle ... ... implicit array values, and leave the real array type alone. 2019-07-26 Kohei Yoshida [3b9df72733910fe23deab80f28e4af5b58d791bf] Fix a bug in json::document_tree wrt empty array initialization. And add a test case to go with it. 2019-07-26 Kohei Yoshida [9c8ded7aab7de03268abd4bfb7c284607c9b80b7] Set up a hook for writing a JSON map file for map-gen mode. Still WIP. 2019-07-26 Kohei Yoshida [2a29a924d598a02f720cee670a140ebfb1787b7e] Make the range detection code a function of structure_tree. 2019-07-26 Kohei Yoshida [f879d7b05db896083589cc987207fd088fca7c33] Remove unused data members. 2019-07-26 Kohei Yoshida [129aee647be4f293b1601b36883942e9f963f10f] Add a hook for new 'map-gen' mode. Implementation will come later. 2019-07-25 Kohei Yoshida [8dc0f2573a09d5f1ae819a0afe2e78e3c0dc4903] Move structure_mapper so that it can be re-used. Also, abstract out the range handling code and have the caller provide it instead. 2019-07-25 Kohei Yoshida [a233fe8afd17dedbf6d27fcc33d133817f958464] Move the map definition rule detection code inside orcus_json. 2019-07-25 Kohei Yoshida [9fff3abb7e9f4d88dcea10fc7460f2b1038f1275] Import the detected ranges for real. So far it works well enough for the input files I've tested with. 2019-07-24 Kohei Yoshida [66156a03c0ceba27a7d36bedbe3d195360bddb1c] Pave the way for pushing linked ranges. 2019-07-24 Kohei Yoshida [d6045974a5e3e26ede50210ab32b1076ab55d80a] Slightly better wording. 2019-07-24 Kohei Yoshida [bf3520039b2c10d3f583ce5973a4aa54a3683e59] Fix the row-group path generation logic. 2019-07-24 Kohei Yoshida [c9c4a53bdcd103dc0600a38157787db4c6a6f524] Fix the field path construction logic. We shouldn't skip the root node; instead, we should skip the array that is an immediate parent of the value. 2019-07-24 Kohei Yoshida [34e1ab1db3ceaa8e461f26649fc1c878e89beeb9] One misplaced closing brace... 2019-07-24 Kohei Yoshida [a98f41283584b9f64d8fd6079fc52f0e26aeb463] Implement the logic of generating all necessary map paths. So far only tested with JSON with arrays. 2019-07-24 Kohei Yoshida [548cb119905ec6ea869607796529afa0ba488f12] Annotate some data members of the structure node. 2019-07-24 Kohei Yoshida [2eae900761427dc4d282673914b406579b095dc3] Wrong naming convention... 2019-07-23 Kohei Yoshida [91f9feb9aab7464cc06f314e3e8f652369f03917] Add another test case for json structure output. 2019-07-23 Kohei Yoshida [af7008ce1ea4ef00f6108b58e7a654463f40557c] json structure tree to keep track of array positions of value nodes. An array position of a value node is recorded in the structure tree only when that position always contains a value node and never a node of non-value type. 2019-07-23 Kohei Yoshida [79c475d1cc131c99968d1170adbaa4e99a531325] Use a class to keep track of some traversal state. 2019-07-22 Kohei Yoshida [ec9ab5a642eb933d73a8e7738c2e19678b4fbab3] Code the basic logic of traversing through the structure tree. 2019-07-22 Kohei Yoshida [35c61f9c6ab98ff38f1b02658c90723468ba045f] Start setting up a way to traverse the structure tree. Still WIP. 2019-07-22 Kohei Yoshida [c13f0e5475ac1fe69e5ba4eb436aef840558c557] Set up a hook for automatic mapping. It gets invoked when the user specifies a map mode without an explicit map file path. 2019-07-22 Kohei Yoshida [bd1e7c6696472f7b55fb3f9f57c014e64e47c98c] Let's not forget a line break at the end. 2019-07-19 Kohei Yoshida [d153ea4c254f7454a2fd9a1a27df8f51cd62152a] Don't forget to call finalize(). 2019-07-19 Kohei Yoshida [778703f49df7e838b5967d61ea9121d84c10b42f] Add the ability to specify custom field labels. 2019-07-19 Kohei Yoshida [f55ab1e05158adbbb86a169636c464a6384af31d] New test case for importing array of arrays with header labels. 2019-07-19 Kohei Yoshida [06b4a44f323e793a08c40045e02e5aec6a267c08] Read the row-header attribute from the map file and make use of it. Also add a test case for this. 2019-07-18 Kohei Yoshida [85e20916a5f9681396de982789be98f124d55d73] Pick up the last object key value, and use if as the field label. If that field is associated with an object key that is. 2019-07-18 Kohei Yoshida [e9faff9b90c04b52381111c1e471715a2e7d7e5b] Const correctness. 2019-07-18 Kohei Yoshida [f955248ed111d2e9bf762ce6bce59415538239ab] We don't really need direct access to the nodes that fields belong to. 2019-07-18 Kohei Yoshida [75812aadf9f2ffa2b609475868adde20e1ec1fa6] Add the logic of inserting row headers for linked ranges. It's not turned on yet. 2019-07-17 Kohei Yoshida [7bf1b1165c4aca8c1e1e85751b3955b41f813f9e] How about this? 2019-07-17 Kohei Yoshida [545ebb279ba10920b23d0fde0cc93924ea7438e7] Another try. 2019-07-17 Kohei Yoshida [c4af63f3ea9d053d9804e55981f4466719d379b1] Remove this. This is no longer needed. 2019-07-17 Kohei Yoshida [751f92468eaad544e43051a5099682d53bdaacc8] Revert "Try to query the distro name." This reverts commit 4f318070c57fa2d498284531d7dc635b37d4922e. 2019-07-17 Kohei Yoshida [4f318070c57fa2d498284531d7dc635b37d4922e] Try to query the distro name. 2019-07-17 Kohei Yoshida [e71a600d640ff51db009857c88979bdcb1bdfaa9] Move odf-styles-context-test from src/liborcus to src. If you get build issues, be sure to nuke the .deps directories and re-run configure. 2019-07-17 Kohei Yoshida [61feccca10d201b25d27a0334453396f3956170d] Empty array can happen. 2019-07-17 Kohei Yoshida [c5a217875c966bd89d31dc9f0cbb102fdfac8342] Trynig to figure out the base distro for this runner. 2019-07-17 Kohei Yoshida [5c1179a72ef9790ccc4b092812cdbec5c04da74b] Maybe I need to specify -8 (?) 2019-07-17 Kohei Yoshida [b077114e31266f120aa91caf481e07cce2260767] Put gfortran first. 2019-07-17 Kohei Yoshida [536d3580797ac8a598fef851515785eecfe162d5] Not git, but apt. 2019-07-17 Kohei Yoshida [46c521ce775c8d0e398423d8dec036d449524faf] Let's see what happens if I try to install gfortran separately... 2019-07-17 Kohei Yoshida [b25b52a92ce6ab8d325ff582874889fd06f0fc88] Add another test case for triply-nested repeats. 2019-07-17 Kohei Yoshida [1828703b38b5e008faf2eee11a2f792563113c0d] Correctly handle loading of invalid json map file. 2019-07-16 Kohei Yoshida [d1d88d2972e17987f96e49f6e2af5b15d2e4b5f1] Another test case for nested repeats. This one has three nested levels. 2019-07-16 Kohei Yoshida [bb48c1b3d72522b16535444c14cf0dd95766a12a] Add the nested-repeats to the list of tested cases for imports. 2019-07-16 Kohei Yoshida [c381373959ab3c39b8cb6a6bf2008ae3e7498f09] Perform fill-downs for real. 2019-07-16 Kohei Yoshida [d5d2e61e7b95e3ff38bfb4729f7df3a2cd18960e] Anchor linked field nodes to their respective row group node. This information will be used to figure out which fields need to be filled when they need to. 2019-07-16 Kohei Yoshida [35b68659245858fb15058f52905fc71dbba5c016] Have get_or_create_destination_node() to return the whole stack. Rather than just returning the destination node, we need access to the whole stack from the root to the destination. 2019-07-16 Kohei Yoshida [d12b91606e02e5b96b6e644bc1cad2c7e30ef360] Commit row-group paths first before the range field paths. 2019-07-16 Kohei Yoshida [2f8c338fc3bac86658f70cd83539092006d7e597] Start the start row position of each row group ... ... and identify the code location in which to fill down the rows. 2019-07-16 Kohei Yoshida [e411f7bf7c13fe19b431e7068cac99fc64a9af3f] Add more records to the test file. 2019-07-15 Kohei Yoshida [2793333f44b687740feeba08d845b1f89d4d4d3c] Revise the logic of when to increment row positions. This is necessary to support nested repeat nodes. 2019-07-15 Kohei Yoshida [d0aeb994164e5cf8ad163cc08e77bdacb3b3962d] New test case for nested repeat nodes. 2019-07-15 Kohei Yoshida [67593474ed3f4054ced9939ce45d52a4d58c37ae] Add test for object being the root of a tree. 2019-07-15 Kohei Yoshida [f0004cfefc3a7786b919d6d2f5cdc2a3e0315a63] Handle object node type in get_get_destination_node(). 2019-07-12 Kohei Yoshida [ede18ded1acb8129a003c9973ee51b1644c5348f] Add another test case to the unit test. 2019-07-12 Kohei Yoshida [9f87a4ba552d74ff4b8961952a280763dd426f7b] Clean this up a bit. 2019-07-12 Kohei Yoshida [efab9712aa39cf2532dcea6c675e5ef2482880f5] Handle pushing and popping of objects. Now the mapping works with the current test file containing objects. 2019-07-12 Kohei Yoshida [38d402bccde665e0c3d80058f87f2dee03758dd9] Parse object keys and start handling paths with objects. Still WIP, with lots of TODO markers inserted. 2019-07-12 Kohei Yoshida [0a6430b64666f59f0b452c529671ec610fe95b85] Make the 'cells' and 'ranges' nodes optional in JSON map def file. 2019-07-12 Kohei Yoshida [e43d256f81ea04365a453fc48e57b8fe2247fe26] New set of test files for loading an array of objects, ... ... which has yet to be implemented. 2019-07-11 Kohei Yoshida [c9f4e5da6169646da8591980a2c470c17bd0091b] Remove debug statements. I don't think I need them any more. 2019-07-11 Kohei Yoshida [af76aa2cb667596c6c3ad30b2e8d549d8449c705] Clean up the code a bit. Remove the try - catch block since that was intended for the CLI usage. 2019-07-11 Kohei Yoshida [ec3ca441d74a1578094fae126f6644b4e6e92870] Set up a basic unit test framework for json mapping. And move the code that loads entire map difinition from map file to orcus_json so that we can call it from the test code. 2019-07-11 Kohei Yoshida [ed5700c5d39e06157963899b2a2d4518c4dae9b1] Use boost filesystem on these guys... 2019-07-11 Kohei Yoshida [528455eb5b18fd0688f7ffa1a4ba42c07e1c0ba0] Handle the 'check' format in the document::dump() as well. 2019-07-11 Kohei Yoshida [31106a729709fe7f6f7f5390384bbbf65e58d0e6] Handle 'none' format correctly without errors. 2019-07-11 Kohei Yoshida [2195dbf159b9c14709850a0a98ca32b2b17d986d] Support dumping of document content the same way the other orcus-* do. 2019-07-11 Kohei Yoshida [6b36332f199e3bb1f32b871d13c55ab2f90ee41d] Move output directory handling into the document class implementation. 2019-07-11 Kohei Yoshida [e31acf0372ce0ff6ddc2ab72948806deddc70a19] Merge json_config::output_format_type with dump_format_t. 2019-07-11 Kohei Yoshida [911bb8ad12bba4b67004b0c8c568111c627d3d84] Move output stream creation to cmd_params. 2019-07-10 Kohei Yoshida [43b166f6f90c0cb775fb6267e412cdf6c5891dc5] Import the linked values to spreadsheet document. 2019-07-10 Kohei Yoshida [f005a284c0a49874187e8d251f53cd3c67e052b1] Handle value nodes in json input ... ... and ensure that the traversal of the map tree works correctly. 2019-07-10 Kohei Yoshida [521d9497826f5295f89105ddb21ad1d83c59bb8d] Implement pop_node() but it has some issues I need to fix. 2019-07-09 Kohei Yoshida [f295f50e5bfc2bd7122301f2f3dc092fd81a59c5] Set up a walker class and handle pushing of array nodes. I still need to handle array popping, which is my next task. 2019-07-09 Kohei Yoshida [fb63caa85a7022c927c8a06a6308f64339d59cf0] Check the row group attribute too. 2019-07-09 Kohei Yoshida [e564866391af2616d041cd85a753358a258e3269] Add a test case for linking a range and fix one bug discovered. It's always good to write test for your code. 2019-07-08 Kohei Yoshida [38b105a8655d5376da0105128f9929f1eed2dd71] Support linking of range references. 2019-07-08 Kohei Yoshida [8c5608fc95a7a14d729ed4a3ab4cfb5368a5c32d] No need to handle named tokens anymore. 2019-07-08 Kohei Yoshida [c21f6ade61fdfd7a1a7b1b45ed84cdd6e3d50172] Add another test case and address the issue discovered. 2019-07-08 Kohei Yoshida [3eeb296ee34a4b10e6c8949d77226a5593e7ae51] Add a get_link() method to retrieve linked nodes ... ... and add one test case for it. 2019-07-03 Kohei Yoshida [9d04f7ff4e2fc847f09bb12b852bcd48ab5eb626] Re-arrange this code a bit, to make it easier to follow. 2019-07-03 Kohei Yoshida [6b953bbbd8df63464efb9e44bde6dd1474d18e8e] Move this code into a method, for future re-usability. 2019-07-03 Kohei Yoshida [1e60a25c25242c05e8ac41c96825310875576297] Give this special child position a name. 2019-07-03 Kohei Yoshida [e3630f0b6b18bb9de264652218b76fe4e38f3420] WIP: manage to link single cell references at root array. 2019-07-03 Kohei Yoshida [0420e804f73da8fcf4e296de2c9adf3125043725] Let's use JSONPath for the paths in the map file. I believe we can use slightly modified JSONPath for mapping definition. I'll decide what to do for the paths in the structure output. 2019-07-03 Kohei Yoshida [1fbae5c1b49f20ef1154a7e90b07c32f4ff2af12] WIP: Fully parse array elements at root level. 2019-07-03 Kohei Yoshida [f383334d83e1550a8a8812e24675fe49c9118073] Regenerate the expected values for json structure outputs. 2019-07-02 Kohei Yoshida [a386016b58b9a163c1149a941a951c758c61c2dc] WIP: Start writing a json path parser. Still incomplete. It's enough to parse the first 'array' token. 2019-07-02 Kohei Yoshida [563e0e0ae492e102f499ec55a163b152d1c060e8] I forgot to add this file to the slickedit project. 2019-07-02 Kohei Yoshida [3dd58d95ea0eeee7dac6b8d7b536c62645c3dcf6] Display the array size for all array nodes. 2019-07-02 Kohei Yoshida [79569b1e208c8bfb92b937e67336a366105dc0db] Handle appending of sheets. 2019-07-02 Kohei Yoshida [7c2b70cccb9b652000c3ccde864c184f448bce13] Route mapping all calls to the json_map_tree instance. 2019-07-02 Kohei Yoshida [fd19cea13342ff3a91c0e9411c67c5d4800bb90f] Complete the parsing of the map file. 2019-06-28 Kohei Yoshida [9ab30c284d2b1907d4b2972d0b586474bd750e1d] Remove duplicated code blocks. 2019-06-28 Kohei Yoshida [524a0b3ab036d1b1f094a80f5f28ef64f231cdbb] Add tests for this const_node_iterator and add an assignment operator. 2019-06-28 Kohei Yoshida [5020b19f47d5bf277e1b90431a44c2d676bb7eba] Add iterator support to json::const_node. And switch to using ranged for loop where applicable. 2019-06-28 Kohei Yoshida [83dc8c68879fdd142084390339813b7fa4ad2fff] Iterate through the field nodes. 2019-06-27 Kohei Yoshida [3cdb05f30d16c4067b73a5af8aa95a645292528e] Start putting things into orcus_json app instance. Not finished yet. 2019-06-27 Kohei Yoshida [5bfc32d0bae5e71565ba44131b2cf6a41dc04709] Move the code that maps json to spreadsheet in a separate source file. 2019-06-27 Kohei Yoshida [6d3e6f4fab1b3e681433dc039fff8de246acfbf4] Rename orcus_json_main.cpp to orcus_json_cli.cpp. 2019-06-27 Kohei Yoshida [640e6371d0ad131706dbc2574726de98cec874f4] Start parsing the map file. 2019-06-27 Kohei Yoshida [cb13554678e8b2bdb4d8039970e71e6a9ad79b6a] We can safely ignore these files. 2019-06-27 Kohei Yoshida [8956f84b8aaf5c2c4dc6eafdfa159654caa56969] Add skeleton orcus_json and json_map_tree class definitions. 2019-06-27 Kohei Yoshida [c5293894aca06edc8a00b370f9ef5edd1a9478c2] Pick up the map file content and make file_content movable. 2019-06-26 Kohei Yoshida [a78d8eed96b6d48aab55f4b5e6fc3b1f6c710341] Parse CLI parameters for the map mode. 2019-06-26 Kohei Yoshida [73eb4ec6220e295d996e5220f2a32da5231b911a] Very first test data set for json mapping. Still subject to change. 2019-06-26 Kohei Yoshida [0f8211062e271992341d3180ad6d0b2e7944ddc2] This is probably wrong too, since we are parsing an object... 2019-06-26 Kohei Yoshida [fe11df7199c7a1816e9dec6994e04e6906d139b3] Set the expectation straight. The code was expecting either '}' or ',' for sure, but that's not what the exception message said. 2019-06-26 Kohei Yoshida [89c3a9f4b4e398042a9b8ddd29e338f3c935aee9] Capture json parse error in a single place. Both for convert and structure mode, and probably for the future map mode implementation. 2019-06-25 Kohei Yoshida [58688aa83cb4570bc607d88641aec262646af771] Extract the convert mode arg parsing into its own function. 2019-06-25 Kohei Yoshida [3e877c8a463e5f17b3c4f8a913b67631eeec3276] Add 'map' mode and adjust the parsing code accordingly. 2019-06-24 Kohei Yoshida [11ce5652ca7319842b7ab27c1cf8b0178a049c6d] Make sure we handle empty structures correctly. 2019-06-24 Kohei Yoshida [e9dd23339d8304dbabe1c2829de4f920a6723858] Regen the expected outputs for unit tests. 2019-06-24 Kohei Yoshida [5a24c87547e6224ffdf2933c912066784128182a] Change the structure output to make the paths look a bit like JSONPath. Not exactly identical to JSONPath, but close... 2019-06-24 Kohei Yoshida [3b525e46bdd6dfdcd3aeedd7f1e5e3283c24f390] Omit the final 'value' node in json structure output when displaying. 2019-06-22 Kohei Yoshida [934f44292c8c215b1c75843a6caea6f779c84bb5] Handle transient strings properly. 2019-06-22 Kohei Yoshida [58076df48d65fbcdbac3cc8224ae80e0e9aed37b] I forgot to remove these debug statements. 2019-06-22 Kohei Yoshida [e7abe5b5799af707fdd0f2f5cb82a88317771f88] Add test for json::structure_tree::dump_compact(). 2019-06-22 Kohei Yoshida [0abaa6858c6be983c1c9f4abf3292160886e67be] Expected output file should be named check.txt. 2019-06-22 Kohei Yoshida [45eaf06c7c28a4668ec338221d43c6c0cf3d12ea] Generate expected outputs. 2019-06-22 Kohei Yoshida [adda2250f03d394f4b2981ec4485ea181661d141] Three more test json contents. 2019-06-22 Kohei Yoshida [e48ec10665b6166d62e22639c544f60e2c8b3dc3] Slight format tweak. 2019-06-21 Kohei Yoshida [e8027fe541715510c1e2aed2eafcdaf60a8ba7cd] Let's make sure we handle all value types equally. 2019-06-21 Kohei Yoshida [71f1be032a2d273983a7ea6220b2c251a88900aa] Handle object key nodes. Object key nodes are special non-leaf nodes in that they can only store one child node. As such, we need to immediately move up the scope whenever the scope position moves up to an object key node. 2019-06-21 Kohei Yoshida [39bcaf55f95df286cf5d895cdc6ad44a2313cc5e] Pick up the output file path parameter also for the structure mode. 2019-06-21 Kohei Yoshida [4cfc4a815ab9166990d5a3a156777e9d83266129] Record array widths in the JSON structure tree. A width of an array node in a structure tree is the maximum width of an array for that particular node. 2019-06-21 Kohei Yoshida [0ed5d32c00a5914bea1081950c0ccfbc7af87f0d] Handle repeating structure nodes. The current prevailing rule is that only an object or array node that is a child of an array node can be repeatable. 2019-06-20 Kohei Yoshida [3ddfb30dc7dcfcb9154ba32b403ff94e47cd71fa] Implement dumping of tree for simple nested arrays. Still incomplete. 2019-06-20 Kohei Yoshida [84e3ac0542a18fad26f513c7dae5b43263877852] Allow equality check for object key nodes. Object key nodes must be compared by the key value as well. 2019-06-20 Kohei Yoshida [206954e1f488d267119265e91d56e3524330f621] First test JSON content. This one consists of simple nested arrays with numeric values. 2019-06-19 Kohei Yoshida [87850b9912a8f36037169cc6e478018573361141] WIP: start parsing json to build structure tree. 2019-06-18 Kohei Yoshida [22616dd8df24d033e50533ba455e40117e91d0e7] Set up an empty json parser handler. 2019-06-18 Kohei Yoshida [73d600fd9c8e4545b3f4c64041e56fb7fca9e305] More on switching to using std::unique_ptr from raw pointer. 2019-06-18 Kohei Yoshida [5838d0e5d2e2a1ba34097b8ebbeb7a15637f632b] Avoid use of raw pointer here... 2019-06-18 Kohei Yoshida [d3eec7b0b48ef37a887fc916bd0f8f87d7482cfd] Modernize the code a bit. 2019-06-18 Kohei Yoshida [9af9bc083f6efc545c525210e2bedc9ffac3c75a] Use sorted_string_map here. 2019-06-17 Kohei Yoshida [2dff8a8ed020574ff03fda6fb463ca1ebae1e376] Make sure an input file is given even for the structure mode. Also, let's just put the whole main function body in a try block... 2019-06-17 Kohei Yoshida [d996681295b0dc723391043839d0bdf0ac3693f9] Add empty json_structure_tree class and use it from the cli main code. 2019-06-17 Kohei Yoshida [ddc4758d6065241877f800665998c95d500aa057] cmd_context -> cmd_params. The word 'context' is overused (by me). 2019-06-17 Kohei Yoshida [bc2af2a456e6b978090f7583ba4bcb453cd45b05] Output to stdout when the output file path is not given. 2019-06-17 Kohei Yoshida [bb8960335a493e38bdade8fb096f07d14f85f4da] Add --mode option to orcus-json. 2019-06-17 Kohei Yoshida [e430f3d826e41344f5482bb93cb56d1efc619eea] Correct my English. 2019-06-17 Kohei Yoshida [4c85aef95ed01728fe68a9daa2f20752db46e328] Generate better error message on missing map file. Also, improve the help output a bit. 2019-06-17 Kohei Yoshida [840aae66d7bdc2ec66b62f2fccc25cb01aab9d5b] Use ORCUS_ASCII here. 2019-06-17 Kohei Yoshida [ebb73553c11cb7763b60a1c36303bd44186a7b5a] Remove duplicated code blocks. Related to #83. 2019-06-17 Kohei Yoshida [93a0f6d091d643462788a7faaf064854dc1c797f] Correctly handle ']' that occurs right after '['. Also, make sure that we only recognize 0x09, 0x0A, 0x0D and 0x20 to be whitespace characters when parsing JSON. This fixes #83. 2019-06-16 Kohei Yoshida [8db6eabdbad399369696887d2b59d444ed030685] Some formatting change. 2019-03-21 Kohei Yoshida [c3d4ef51d24e09162d6e2918cb45d1168f2c74de] Add some inline docs. 2019-03-21 Kohei Yoshida [a1231ee9a50a9ae58d185a5b67c3b82fd15cf352] Remove the remaining uses of load_file_content(), and remove the function. 2019-03-20 Kohei Yoshida [e895a34ce74b0572e48e48f5a6c4f9c480fa7978] More on replacing load_file_content(). 2019-03-19 Kohei Yoshida [34d78934298a272c35fb703803e6dbc3aa375fc8] More on replacing use of load_file_content() with file_content class. 2019-03-19 Kohei Yoshida [4d641016acc051c2308e775f4900fc92f2a8de71] Use file_content for css loading. 2019-03-19 Kohei Yoshida [395b1cd6188ef7796a9adc72d19f6a5e39944e86] Move the utf-8 conversion function to file_content class. It makes more sense this way. 2019-03-19 Kohei Yoshida [3a70aef91ecee787ee72f6921c4afb29899b3650] Workaround for MSVC. Without this, you'd get a linker error for undefined function. 2019-03-18 Kohei Yoshida [88052e205828d63a211a06d3d94d1b66e4411912] Create a file_content that memory-maps file instead of loading to memory. And use this class in orcus_csv first. 2019-03-15 Kohei Yoshida [c9479978417ab13dc75c68005240e585eb387258] Let's also handle UTF-16 little-endian as well. This is related to #80. 2019-03-14 Kohei Yoshida [38ff668bff16f7cacfc9639ea62ad82199a2aad1] Annotate the function. 2019-03-14 Kohei Yoshida [5829b0d5a1610ce42aacdffe48f1025614f1f8b3] Convert UTF-16 big-endian file per BOM. This resolves #80. 2019-03-13 Kohei Yoshida [b2646739d9ac1922cb4cc8d981b70655b7f94e40] Add a test case for the upper-case color names. 2019-03-13 Kohei Yoshida [c3a757f1d9c3dbf5622e985181a4d541081c75f1] Make sure the colored names are evaluated in a case-insensitive manner. 2019-03-13 Kohei Yoshida [cdbfa702e1808053536cf8fca957e4ea29cf3ceb] Add a test case to ensure that the colors are imported properly. 2019-03-13 Kohei Yoshida [e29c252e0d10065b173ff8edadab5720bfb415e6] Add named-color to the list of content checks. 2019-03-13 Kohei Yoshida [effc2ad5fc3cc84e4163e3f51a94ebc3297d2e74] Make use of to_color_rgb_from_name() to handle named colors properly. 2019-03-12 Kohei Yoshida [d7f2ee12936e055ac071b540d43bad49cecab239] Add a new public utility function to convert color name to RGB. Still not tested yet. 2019-03-12 Kohei Yoshida [66ce2c1dc30086ab7c039c66a8d650a465b6ef85] Create a valid test file with named colors. * saved-by-excel.xml - original source XMLSS file saved by Excel. * input.xml - source file with the raw RGB values replaced with their respective color names. Excel can still open this file without errors and their colors intact. So I assume this file is valid. 2019-03-12 Kohei Yoshida [78065b9e750b0b31fa0f3d521933d07e36aadc96] Script to replace raw RGB values to their respective color names. 2019-03-11 Kohei Yoshida [da521afc9297597b5ee9b33a98f7f25d2a9e20aa] Test file that contains all named colors from CSS color 3. This is the original file saved from Excel. I need to find a way to auto-convert the raw RGB values to their named equivalents. 2019-03-11 Kohei Yoshida [9fa69b43db0aba9330fb463f932c6f5200b11461] Be specific about the ixion API version it requires. 2019-03-08 Kohei Yoshida [c635930d63b6e0f0b051ab7f4c7e150c1e790f8d] Use virtual dtor when using class inheritance with virtual methods. 2019-03-08 Kohei Yoshida [3c1f94102bbba5140f86e5d38268f40e1cf19630] I forgot to add this file. 2019-03-08 Kohei Yoshida [781d993bf1b1f97369c6dc28ae0bf08e7d9fced8] Add another test case for triply-nested row groups. Also, let's not write output xml unless we want to compare input to output. 2019-03-08 Kohei Yoshida [16e40f5078dfce1823c0e113e738588a01c4c857] Don't forget to initialize this data member. Now the test passes. 2019-03-08 Kohei Yoshida [bef98a78886c3604ba7ff977a1c76e0a1ad467c5] Use lossless numeric format for dump-check. Also modify the nested row-group test. It currently fails. 2019-03-08 Kohei Yoshida [fe6f72a45b8256a9e2d56440bd82b9f021b25076] This is no longer needed. Remove it. 2019-03-08 Kohei Yoshida [dc84d5eb886f10fb22ed9889f25dafce1736f1ec] Properly implement filling down of parent row-group element values. 2019-03-08 Kohei Yoshida [eb1e47c38dd943ce677ef1354a072df7a31c0126] Rename row_size to row_position. The latter sounds more appropriate. 2019-03-06 Kohei Yoshida [d6fa3d8051daf6bbe7134ec6ceba6bea90b4bbb7] Add logic & hook to copy cell values down the columns for parent values. For now I'm setting "---" value to those cells that need to be filled. Next step is to implement copying down of the values. 2019-03-06 Kohei Yoshida [7b2b5b2c58d3d5b69914def175c673028c3f1944] Add a bit of annotation. 2019-03-05 Kohei Yoshida [76f7810a725659f22c517856a309ef0442a45c1b] Add a central place to manage numeric value formatting for file output. And this format _must_ be lossless. 2019-03-01 Kohei Yoshida [a883b55101f9288a39151bd5427b234b7f2c1433] Revise the logic of incrementing the row position to support nested groups. We now require explicit row-group definitions in the map file. 2019-02-28 Kohei Yoshida [b04b664adc873de6cf80fccc252710b7c6cea6aa] Remove excessive typedef. 2019-02-27 Kohei Yoshida [7c0e62fb076985aa8c08fcc6c1261fef2755df86] Rename get_element_stack() to get_linked_node() ... ... and have it return both the element stack and the linked node pointer. 2019-02-27 Kohei Yoshida [c9f1f34425b7b80494b6a4e482daa098833b3859] Another place we can use get_or_create_child(). 2019-02-27 Kohei Yoshida [c39c7e2ce21b08ddc108216433eb89525858e069] Extract a method here as well. 2019-02-27 Kohei Yoshida [99eaddc7d0171e890e1114cb9343b5a81aa953ed] Extract method for ease of read. 2019-02-26 Kohei Yoshida [6e12e838f8c074c6cc4315e3765fae87fa7a8134] intern() can take a pstring instance now. 2019-02-26 Kohei Yoshida [b9a67db431b506fe4fe603138fb65e0693d0fbcb] Use unique_ptr for the root element instance as well. 2019-02-26 Kohei Yoshida [6da475db306466c138d1c33d271e75cbb7d59c2f] Use unique_ptr to replace raw pointer with new. 2019-02-26 Kohei Yoshida [144122558aa79daabfafc9cc1ad2909a793552ec] Use unique_ptr for this pimpl idiom. 2019-02-25 Kohei Yoshida [49899c9b8e924950477ce959724715874d40a319] Test file to use to implement nested repeat elements. 2019-02-21 Kohei Yoshida [ecd6bc630bf946bc78820073d297407a4703ca6d] Point to the readthedocs doc. 2019-02-21 Kohei Yoshida [21992002cfae64ac941bbeb84b8a3fc13f502602] Adjust the doc configuration for readthedocs build. 2019-02-20 Kohei Yoshida [37bfd4efa28d712c2d7217347d46c1fae1797e55] Enable sax-token-parser-test in cmake build. 2019-02-20 Kohei Yoshida [0e2be8524b1d1bbccfbba2e39bb426b062e0b20a] Add sax-parser-test to the cmake test. 2019-02-20 Kohei Yoshida [bf0c6b115531287d4ba5f522a7e7ab48600d572e] Fix cmake build. 2019-02-20 Kohei Yoshida [c93e27e211fc5221df24cf648942954607c4030a] Finally make use of the output format in orcus-xml. 2019-02-20 Kohei Yoshida [7a8ece3b4f9ba9c8f0cd4eca716530794fd17ce3] Remove the unnecessary virtual method interfaces. 2019-02-20 Kohei Yoshida [2b4b4f679d540cde2d21f4a1d93b1370999cf9ce] Add dump() method interface that takes dump format type as parameter. 2019-02-20 Kohei Yoshida [f81876c49ec6fc56bdc454790c126618a29ecacd] I shouldn't use argv here... 2019-02-19 Kohei Yoshida [a94c5a58fdbeab3d683f3c26ab064e0d030c2bcc] Add output-format option to orcus-xml. Not used yet. 2019-02-19 Kohei Yoshida [d79acf35b0d05303d1e0cdd9cb1172f0beeb6274] A bit more simplification. 2019-02-19 Kohei Yoshida [a23f0f4258af7a535deee5fcce2ea239ec49096e] Move doc_output_format::type to a public place and call it dump_format_t. And use it where doc_output_format::type was expected. 2019-02-19 Kohei Yoshida [841a812040b35b99cb38c3645d13eee16355ad7f] Use std::unique_ptr to replace a naked pointer. 2019-02-18 Kohei Yoshida [fc16018f874c0026c24530c53f9d2c4d7cd4bdab] Add the ability to dump the XML structure information. 2019-02-18 Kohei Yoshida [c2c5bcecf098d6f643d55f561e928f30f568e8df] Make use of the --output option. 2019-02-18 Kohei Yoshida [f43bfaab083a8b66f800a559be660b872888abb8] Switch to using boost::program_options for handling CLI arguments. 2019-02-14 Kohei Yoshida [7adfed69d1627f3962f404bc3e03455ec229502a] Use memcmp over strncmp for slightly better performance. 2019-02-14 Kohei Yoshida [8101665fd75efbeef1824b78a0579143c40f4860] Prevent integer overflow going from size_t to int. For a very large stream, the length can be greater than the max value of 32-bit signed integer... 2019-02-14 Kohei Yoshida [91753487b67c1c9904f20c8797c65b2ca3eed018] Append offset value to the exception message. 2019-02-13 Kohei Yoshida [e4941bc995e0bae31a736d9a33e248bd4a6851eb] Use skip_space_and_control() over its own blank(). This seems to slightly improve the XML parsing performance. 2019-02-13 Kohei Yoshida [470130f7a17f218dcf1f7dac1c9fcc2e05971c21] Use SSE 4.2 to parse XML element names. This one does make the XML parsing slightly but noticeably faster. 2019-02-12 Kohei Yoshida [53f3976500594a61972aeb42baea79034bdd36a8] Fix a bug in pstring's equality check. Pointing to the same buffer doesn't necessary mean equality; we still need to check their sizes. 2019-02-11 Kohei Yoshida [649b0c10d6ebd511b4799b953b88e7036ada620b] This callback method is no longer used. 2019-02-11 Kohei Yoshida [96edfa8b460f1ed3af4779eed01e68b5c20a1613] Add test case for transient stream handling in sax_parser. 2019-02-11 Kohei Yoshida [4a286c8c3240d2572d1f8c54f52421f4fb226a01] Have dom::document_tree to support transient streams. 2019-02-11 Kohei Yoshida [c6f29b32b0685cea25e18a94f1750645c93e5ce0] Propagate the transient_stream parser flag up to sax_token_parser. A test case (or two) has yet to be added. 2019-02-10 Kohei Yoshida [2408e745ce581421eb1c78ec7384499915de6a44] Add a boolean flag to specify whether the stream itself is transient. And use this flag in the sax_parser code to determine the transient flag for each call site. This *should* cover all of sax_parser, sax_ns_parser and sax_token_parser since the latter two do not do their own transient flag handling. 2019-02-08 Kohei Yoshida [e4cbec0954318ecce8eb0affd33840c9abb3efbf] This assertion is simply incorrect. It's valid for an XML attribute to have an encoded character immediately followed by a ';'. This fixes #77. 2019-02-06 Kohei Yoshida [6067fa45d90fb913c39c04fb75c7b14fdb62b479] dom_tree -> dom::document_tree. 2019-02-06 Kohei Yoshida [f5c862ec3c6cfb1e7b6424d5bff1d43eb835d57b] A bit more test code... 2019-02-06 Kohei Yoshida [80af553aad903a0f60bcf7ab5c55b352c89a6c68] When no parent exists, the node type becomes unset. 2019-02-06 Kohei Yoshida [4e3bf672fa3dc4026552d98e12647a0d9555b987] Remove 'content' node type. Also make sure the copying works. 2019-02-06 Kohei Yoshida [f8ceee372e0ef5b36931abc0added4002f1c4ce7] The attribute node type is no longer applicable. 2019-02-06 Kohei Yoshida [421de16eb842b55ee940fac48e5c51aef5ff0203] Add parent() method and equality and non-equality methods. 2019-02-06 Kohei Yoshida [c9ff699663df5660812ddf3dcd7ca1dde8e5af16] Add attribute_count(). It returns non-zero only from declaration and element instances. 2019-02-05 Kohei Yoshida [7add5706f4c6d79cca775625584b5c712be897c8] Start supporting element hierarchy traversal. Not finished yet. 2019-02-05 Kohei Yoshida [9dfccd3f5526751a5231c068e9ebe6bdbca7bf74] Support element name retrieval. 2019-02-05 Kohei Yoshida [95a6a2168661eb9d7ed0f55f5fde0ed630ab627c] Have declaration support attribute() instead. This feels more natural & the code becomes more concise. 2019-02-05 Kohei Yoshida [95d4c97a26b9fc3fbdecb06ffe248da71cade9d7] Implement the hash function for entity_name. 2019-02-05 Kohei Yoshida [b2d188d5ebda9083e805148c718f0a5738a8691c] Test for a non-existing attribute. 2019-02-05 Kohei Yoshida [69d3be4318e51a7aa7652731d7b5491ef9929bc0] Support attribute() method in const_node. 2019-02-05 Kohei Yoshida [6a80e1bed1eb6ff0431a0217b86bf45a3ae70500] Get the root() method functional. 2019-02-05 Kohei Yoshida [fdede58252f54edc8dbfa115788ea5620df380dd] Modernize the code a bit. 2019-02-05 Kohei Yoshida [6556833571bbaddb4c4cecd5bd837a24c6240e26] Use std::deque here to avoid memory fragmentation. 2019-02-05 Kohei Yoshida [2c2e3a93a850a19d3c851c2218553f7699a7e1a1] Move up the dom_tree::impl method code & use lambda for std::sort. 2019-02-05 Kohei Yoshida [69e616f56c335e674699a19e10ae8a493af94557] Move the internal structure types into hiding. 2019-02-04 Kohei Yoshida [2cae144f9e0cdfc99232fc9948602abe445a8cf2] Move the print() function for attr into a private space. 2019-02-04 Kohei Yoshida [66c1324cae88eca0e7b46c02ff141f0a27c054c2] Use dom::entity_name instead of dom_tree::entity_name. 2019-02-04 Kohei Yoshida [c0038a90008516cec4627ce2aefdadae0e5f8e82] Use the node-based traversal method. And remove the old get_declaration_attributes() method. 2019-02-04 Kohei Yoshida [03030add98c0362b645caca9b1fd483beee0c447] Add test case for traversing declarations. 2019-02-04 Kohei Yoshida [1e29beac50e959765f4b26c39debf842822b85d0] This type is an implementation detail. Hide it. 2019-02-01 Kohei Yoshida [95fb6095a860c733558bee5b920b99b6e972e14d] Use std::unique_ptr instead of naked new. 2019-02-01 Kohei Yoshida [2b5acf44b578f6ce59c4421774e6560c5147a157] Use dom_tree::impl as the handler for the sax parser. And move dom_tree's original handler methods to its impl counterpart. Now its interface looks a lot cleaner. 2019-02-01 Kohei Yoshida [c74d4e765b1c46e1945a0a18bfdffb5b5d786adb] Remove these files from the slickedit project. 2019-02-01 Kohei Yoshida [795b79a66d01c7fd4bd2fff73f92a86bcc8bb470] Fix AVX2 version of skip_space_and_control(). Turns out that _mm256_cmpgt_epi8() is a comparison of *signed* integers, which means any value greater than 0x7F is considered smaller than whitespace thus to be skipped. We need to work around this by checking for the signed bit and mark that char disqualified if it's on. If there is an equivalent AVX intrinsic for unsigned integers, we chould use that instead. But so far I couldn't find one. 2019-01-31 Kohei Yoshida [80c29d71c16b3791fcfd5d15c2446c0193284fc3] Use dom_tree directly. Now dom_tree_sax_handler is no longer used. 2019-01-31 Kohei Yoshida [bc109ad09d5c9abac32004d4dcf3824ff45d29cd] dom_tree_impl -> dom_tree::impl. 2019-01-30 Kohei Yoshida [057492a8fd724c0b1bfeb91d32ef9bc5ef791bca] Add AVX2 variant of skip_space_and_control(). 2019-01-29 Kohei Yoshida [2ae22680b94d86fb2856d0b74bdb918673b24d30] Add compiler flag for AVX2 for cmake-based build. 2019-01-29 Kohei Yoshida [64c995ad3c2ed877580abad6fb7fd4f08f3f4e37] Simply use cmake's configure_file for this. 2019-01-29 Kohei Yoshida [7432760f2e2db8b7b5222f2075960f8a55c31933] option() is for boolean flags. set() is for string options. 2019-01-29 Kohei Yoshida [09843f7e5676d22e0bd7f5178c328a623e79d1f5] Boost_USE_STATIC_LIBS should be set externally. Also run the tests in quiet mode during the build. 2019-01-22 Kohei Yoshida [5f3ef41a96bb6f6237cd945bcdbd41c832935eea] Fix the make check build on the Linux side. 2019-01-22 Kohei Yoshida [c1c433eced50838f15246551d1a1eee2bfad42d9] Use boost::filesystem::remove() to remove files. 2019-01-22 Kohei Yoshida [06ece7dbb8c6d10361aa18032c6e138fa4831262] Add option to turn on SSE 4.2 with CMake-based build. 2019-01-22 Kohei Yoshida [ff96ba9ff6474ff75fbe9e49ca038f43052e05d7] Add test programs in src to CMake-based build. 2019-01-18 Kohei Yoshida [7a4d23c547a8b0d2bd384983fb9694c986a61791] Actually I can use const_cast hack to make the node non-copyable. This is a legitimate workaround for the time being, until we have a moveable initializer_list. c.f. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4166.pdf 2019-01-18 Kohei Yoshida [457819b751275e1a044046bc67fc62919d1fd58a] Fix json document initialization with nested initializer lists. This type of initialization json::document_tree doc = { { true, false, nullptr }, { 1.1, 2.2, "text" } }; failed previously because the inner initializer list instance would delete all the enclosing node instances before handing them to the outer initializer list. The code was "moving" the inner initializer list to the outer one, which seems to have worked with gcc, but MSVC does not move the values. This change makes the initialization node copyable, and copy them before handing them over to the outer list. Not ideal, but better than not working... 2019-01-18 Kohei Yoshida [bda930efeff53fc7dff0c083f1776321c091ce59] A bit more helpful exception message. 2019-01-18 Kohei Yoshida [c45632ee68832e87982ba4f740d1f5b19c57bbd3] Add most of the test programs for the liborcus target. 2019-01-18 Kohei Yoshida [289deb50be72eae854f2e27b7bee0a0966ff7ee6] Use the python interpreter the builder has specified. 2019-01-18 Kohei Yoshida [e1b8fa3f0e1704e3eda3790f930d53fcac10afa9] No need to specify full source paths. CMake looks into current dir. And if one needs to specify full path, you can always use the CMAKE_CURRENT_SOURCE_DIR variable. 2019-01-18 Kohei Yoshida [348a4c2bda1c1b87cc1ce0d22fcc58593796a250] Specify the full path of each test source file. 2019-01-17 Kohei Yoshida [c915d16370e6743ea69db37c5d5420a2d95807fc] Add parser tests to the CMake-based test framework. 2019-01-17 Kohei Yoshida [3020b5906a12ca150fac79693100fafcc9ebaad5] Split CMakeLists.txt into multiple, one per directory. And use add_directory() to link them all together. 2019-01-17 Kohei Yoshida [c1ba3926cf3d15b0cb8d61badf27dffecae7274e] More on fixing the build with MSVC. * Disable warnings on implicit type casting. * Disable warnings on "unsafe" C API calls. * Fix inconsistent linkage issue with certain public symbols. 2019-01-16 Kohei Yoshida [048d872aeb7db9b3547030475475a4c2cd4ea544] Get orcus to build again on Windows via CMake. 2019-01-12 Kohei Yoshida [23a11e8c209480739da8e370f8fd31d716503efa] Use 32-bit int type instead of size_t for better hashing performance. Also use int values for loop condition. 2019-01-12 Kohei Yoshida [8a29df751e620f102def548703bb8a3ad4bb3380] Take advantage of the fact that most pstring instances are pooled. This slightly improves parsing performance. 2019-01-12 Kohei Yoshida [77420c6a6615f7173d97ad27880cf2f7a5fe74ea] Up the size of the initial memory block. 2019-01-12 Kohei Yoshida [2d8bbda2507249eac4755a1c075338b3b8704802] Use boost::object_pool in the implementation of string_pool. This addresses #69. Unfortunately this change doesn't give us noticeable performance improvement I was hoping to see. But it at least keeps the implementation a bit cleaner. 2019-01-12 Kohei Yoshida [4195360c482dc158f9ff606aa76d3a84a62132d6] Use ranged for loop instead of for_each. 2019-01-12 Kohei Yoshida [09d014425056cad6a2b30a920b32f4e629004f39] Set a default null date value. Turns out a null date is not always specified in the document. 2019-01-12 Kohei Yoshida [3fd8e011bca9fec6aedac33e0fffa8fb0e9e8c67] Optionally support debug levels. Not used in the code yet. 2019-01-11 Kohei Yoshida [4a28670be7fd750e38c9ff62fbc066b30b584cde] Remove unused method. 2019-01-09 Kohei Yoshida [c0e1b73635303f88a69d8ff95b32ac786afbd341] Inline frequently used simple methods. 2019-01-08 Kohei Yoshida [92f8b61b06b6987f58d6763715209299c44ee575] Update the method doc to match the parameter addition. 2019-01-08 Kohei Yoshida [276c91bc2fc51ea5bf1eb0d08cbd17029435e69b] Implement parse_expected using SSE4.2 intrinsics. 2019-01-08 Kohei Yoshida [ae2834ac3dac4888231a05d754096b34ee26f8aa] Pass the length of the string since we already know it ahead of time. 2019-01-08 Kohei Yoshida [0bee80ee946000480e7deba28883d7f6ea65d0f7] Delay clipping of the segment length until before it's really needed. 2019-01-07 Kohei Yoshida [4ecbc9dae1ae889bdc7a658db839d8f015e4b925] Finally convert json_value_array, and remove 'store' from json_value. 2019-01-07 Kohei Yoshida [f8aaf8f1b472a573af5c28a590063e71ba88d4d1] Use object_pool for json_value_object. This actually makes the code slightly slower with document with many objects. 2019-01-07 Kohei Yoshida [64feb4d03869c8ab3f0e256045a8aed6f3f64508] Remove json_value_kvp and store key-value pair directly with json_value. This will not affect the performance of json document loading since this node type is only used when initializing a json document via initializer. 2019-01-07 Kohei Yoshida [90acef58b43121677ad0c4f295d2854203fba2fe] Store a json string value directly with the json_value instance. This shaves off roughly 0.7 seconds in my environment with perf-test/files/files/json/many-string-values.json as the input file. 2019-01-07 Kohei Yoshida [00fa950d783a71446f22b2803fecaf11a1c3888a] Store numeric value directly in json_value. This shaves off roughly 0.5 seconds in my environment. 2019-01-07 Kohei Yoshida [2072eda5d2578c0811d170036db4d5f97ad47c2e] Use object pool to manage all json_value instances. 2019-01-07 Kohei Yoshida [a5f1c5b69025eaf7ea01ab029f0da6153647eb7f] Add object pool for json_value to the resource instance. Also rename string_pool instance from pool to str_pool. 2019-01-07 Kohei Yoshida [7e4680fd6351ceae86c54e734ddd073926b13032] Wrap document's string_pool within document_resource struct. 2019-01-06 Markus Mohrhard [7f15dfb26e451228f5bf42b2fab4ed776aed4064] enable more fixed json validation tests 2019-01-06 Markus Mohrhard [6d7570f9e24e7e293cbd61eb8a4663759d14c7fd] for signed char this comparison would catch too many characters 2019-01-06 Markus Mohrhard [3ff8120238a87cd070bf5564bf9b5ad2924c56e6] parse_number: don't eat the 'e' if exponent parsing fails 2019-01-06 Markus Mohrhard [90def344a8144c035449789298dc2ba12ebd16e7] reorganize parse_number test cases 2019-01-06 Markus Mohrhard [2bb670f937bf4cafa3838dea35fa2a483d0865e9] don't accept numbers without a digit The following would be an invalid number "+." or "-.". 2019-01-06 Markus Mohrhard [3d4f564c90294d504f0ccfba8019b7713e7f361d] add a few tests for the orcus::parse_numeric method 2019-01-06 Markus Mohrhard [2e4a66a297ffd3bc59b364d75bed78c7cacf3ac0] json: at least one digit is needed for a valid number 2019-01-06 Markus Mohrhard [ae18da54dbb8bc44cac32ecb954efd395acf0b08] json: enable fixed tests 2019-01-06 Markus Mohrhard [b0f789e322e854087fe91eaf493179ce75bd3a20] json: at least some json content is required in a valid document 2019-01-05 Markus Mohrhard [a984f9b0f4ff17cd28cae9608cf689f31d9f41aa] json: after trailing comma in object a new key is expected 2019-01-05 Markus Mohrhard [5132158b17b3a14200eed612f6d3b4a0eebb5898] json: trailing comma in array is forbidden We already handled the case where a space was following the comma. This now also covers the case that the trailing ']' is directly following the comma. 2019-01-05 Markus Mohrhard [d57a142e6136cd89cd860646c91fd74bf9f50ad3] Add validation test cases from nst/JSONTestSuite Fixes #61. 2019-01-03 Kohei Yoshida [e9a4479b44e4709fe4bb62b99690152b8b7ad4ba] Add MPL 2.0 full license text. 2019-01-03 Kohei Yoshida [7a14fe48d7f61788dfc4aa5c62996763652c5c13] This was wrong. n was already clipped at 16 at all times. 2019-01-03 Kohei Yoshida [2a02e8e2b169ef98857c2253c4d4bee3d548d5ff] Add simple unit test for skip_space_and_control(). 2019-01-03 Kohei Yoshida [e8374cacf0cf0c34e8c339c36e5902df4dc98c22] I believe we can simply subtract 16 here. Since the only way the code path reaches here is when the segment length is 16 (full length) and the whole segment consists of skippable characters. 2019-01-03 Kohei Yoshida [105c5af87996a7c9b256c6249df33022ef65877a] Fix --enable-debug-utils configure switch. Now, not specifying the switch will set its flag to 'no' (as it should). 2019-01-03 Kohei Yoshida [4dcb2bd13d18318345fad50f6c9e5a2253c964be] Add this file to the slickedit project. 2018-12-10 Kohei Yoshida [da2f88a1a2e95aa61f36baddda0fcbba98ebc138] Initialize this only once. 2018-12-10 Kohei Yoshida [8e6c6686f7882b071e852c2cf376e6f712e65177] Remove unnecessary branching. 2018-12-10 Kohei Yoshida [4291c7b5c75e137d5e293974846abd9396403cea] available_size() is actually correct here. 2018-12-10 Kohei Yoshida [8ca4f060fb81078623ebc7c73755f3136eb2df28] Try to reduce the number of function calls. 2018-12-07 Kohei Yoshida [df27b948db4b1b854d01e93c7aca0e4db9563ac1] Use SSE4.2 for skipping space and control characters. 2018-12-07 Kohei Yoshida [fa1cc351e1dccdd9c1512753373e2fa4f32d09e4] Implement SSE4.2 version of parser_base::skip(). And have json::parser_base::skip_blanks() use it. Unfortunately this causes the parser to be a bit slower even with the speedup with the SSE4.2 intrinsics. 2018-12-05 Kohei Yoshida [8f2a6857c94bc4a0aec89fab8c7d04b2340c1b97] Introduce available_size() to check the available character. This one includes the current character so it's the same as remaining_size() + 1. 2018-12-05 Kohei Yoshida [8ed6b8954ead8b1e0355f0574ea1b2e60d532289] Add a debug util facility to start adding some extra checks. Useful during development. 2018-12-05 Kohei Yoshida [57c0937ea7be9174533c28bd4e0369574a486c75] is_in(...) to take additional parameter for the length of char array. To support non-null-terminated char array and also in the future avoid having to call strlen() before SIMD call each and every time. 2018-12-04 Kohei Yoshida [3f408d170110f0efb073415026ebd47ab582283d] These functions ought to be constexpr. 2018-12-04 Kohei Yoshida [4155a70335629f14b795e33426d8f6ac11287980] Let's determine CPU features at compile time rather than run-time. 2018-12-04 Kohei Yoshida [b629feded161afcff41b643d606b4a29ddb42485] Let's not forget to add this file. 2018-12-04 Kohei Yoshida [0e5f5db5845441edd2e944405539f8718e4b2319] Use cpu_features to query for SSE 4.2 availability. 2018-12-04 Kohei Yoshida [cff162fd3e744718c993890abc0e655ad7e923d7] Set up a simple CPU feature bucket and a utility to dump it for debugging. 2018-12-04 Kohei Yoshida [f75265c09d678b95984ce76bac2f74c889b28aba] Add --with-cpu-features configure switch. 2018-12-04 Kohei Yoshida [cf1d91dcb9a3c1737bca91565ce7eadd39f09790] Use std::unique_ptr for cell format storage. 2018-12-03 Kohei Yoshida [b1abd72e01bfb96a1fdd9c8ec2572861891e6603] Let's not require the sheet ID be passed twice. 2018-12-03 Kohei Yoshida [781de319107ff7beb1441dd8f8d1eb240c725c7e] Overlapped ranges are only used in the html dumper code. Move it there. 2018-12-03 Kohei Yoshida [67d885478d0f1218dfc4ab569dd6b5486d5f2162] Move the html dumper code into its own files. 2018-11-29 Kohei Yoshida [ce1d82fe24e2c58f672796e2159ea5d774e87fdc] Let's use a simple vector instead of multi_type_matrix. Since we are only dealing with one element-type matrix, a simple vector will do & and it's much faster this way. This is related to #66. 2018-11-29 Kohei Yoshida [f4cf5e21509d525064c7e1b2da883318466911f7] Avoid duplicate block searches for each element position. This is related to #66. 2018-11-29 Kohei Yoshida [b6c96fbcbc1087a1c3f95ee509c20d0f2bc0e0da] Refactor flat dumper for better performance. This is related to #66. 2018-11-24 Kohei Yoshida [fd8ec37c9555e3af770b4b7c929aea99439fc950] Move the flat dump code into its own source file. 2018-11-21 Kohei Yoshida [c6b2e38467758f58119d271d0958b721bf5fc108] Support convertion from millimeters to twips. 2018-11-21 Kohei Yoshida [ee11571f50e1dcde51908e2f73423a7499905e52] Generate a more useful error message. 2018-11-20 Kohei Yoshida [283fb19885c41948b924c22c9313f3ac7b011887] Add pivot table section. 2018-11-19 Kohei Yoshida [991dfcc9e1ccb3085006813148eeecc83071176e] A bit more editing. 2018-11-19 Kohei Yoshida [4a0063c296c5356ff4481991f8791ac01dae5e34] Add more missing types and functions. Also predefine ORCUS_DLLPUBLIC to be empty in order to improve some symbol generations. 2018-11-19 Kohei Yoshida [ab0ddd18cb9666a10616e1ad10c7f33d4a3acdac] Add missing interface types. A whole bunch more interfaces have been added since 0.13. 2018-11-19 Kohei Yoshida [07a2b9701e70032ff31bda1fc3b4429128d5df8a] Split out the types and interfaces into separate file. And a bit more editing. 2018-11-16 Kohei Yoshida [6f2f19a4b912f96aee3ca331fe2e6d367ac13d0a] Author the formula interface section. 2018-11-16 Kohei Yoshida [181d5294e23862e8e26798ee03ee9b3a35a588f9] Annotate formula_grammar_t. 2018-11-15 Kohei Yoshida [231de5c4de1dd9937df7063a9dca6a884dbfe1ab] Finish up the example code for receiving formula cells. 2018-11-15 Kohei Yoshida [8c3227af01b7dc2cbb65c7027cd29075380a8b2d] Add operator<< overload for formula_grammar_t enum type. 2018-11-15 Kohei Yoshida [8277686257696458e654194ad76495c0cc5d02d0] Let's not differentiate xlsx 2007 from xlsx 2010. That would be too much of a hassle for a very little gain. 2018-11-14 Kohei Yoshida [ccf916c9310e96193d7ae11310101e37333adc2b] Add a new example code to illustrate how to receive formula data. Still WIP. 2018-11-14 Kohei Yoshida [5300d50d2b2de7236d12e221f29a1338ba322b8b] Write a segway into the import_formula interface. 2018-11-14 Kohei Yoshida [b1ffd08a1062eea73aa5057e123ca30f51a6ab77] Finish up the section. 2018-11-14 Kohei Yoshida [c2e3b31c734009bff9ba57850cdae613319b1c71] Rewording a bit & add more method docs. 2018-11-13 Kohei Yoshida [7c05c1132015ad9358eb5839906963c83b700a8d] More on documenting the shared strings interface. Still not finished. 2018-11-13 Kohei Yoshida [fb51e2236fc2be46f70b868ab5608308a51f91e0] A bit more editing on sheet interface & shared strings doc. 2018-11-12 Kohei Yoshida [6d2ae67f1bf3966f11c4a0970a4ef0e36200ed29] Add an example code for string pool import. 2018-11-12 Kohei Yoshida [547d4681500a3e51dd72f79c495daa0c23d62579] More on authoring the sheet accessor documentation. Still not finished yet. 2018-11-09 Kohei Yoshida [eb2f009ed7d4df5648cfabf1a2eb61fc49ec352b] More on documenting the sheet accessor. 2018-11-08 Kohei Yoshida [8d319578c2945ecdf058517cdf544ab4a4b5db92] Update the example code and the file being used in that code. This is to be used in the documentation. 2018-11-07 Kohei Yoshida [e160737d0bbe179467982f94c1c7bbb6772f3782] Add a test case which previously caused unsigned integer underflow. It's basically an empty stream with a few whitespace characters. 2018-11-07 Kohei Yoshida [3876e8bff097620f8612f1b27f7881e3e1ce0694] Prevent unsigned integer underflow. 2018-11-07 Kohei Yoshida [bbbc39e72c01536831d787441091699e8f5d6080] Set up a mechanism to parse invalid css files. 2018-11-07 Kohei Yoshida [5d8875ca0afeaefdac3bf3387cff4affec3a5fb1] Move this up since this can be used outside of XML specific code. 2018-11-07 Kohei Yoshida [2c52e2992f105c882c2371dd2a2620c033267b71] Switch the documentation theme to cloud theme. 2018-11-07 Kohei Yoshida [479952f420e2493fdedfdffc4245c6836a567b7d] Switch to mdds-1.5. No other code changes necessary. Quite uneventful. 2018-11-07 Kohei Yoshida [f96240206ca5246914483a455a572c792705ec1b] ixion needs spdlog now. 2018-11-07 Kohei Yoshida [bd51a375241cab623cb1632ce273ed1807aaf425] Adjust CI to use ixion from the master branch. 2018-11-07 Kohei Yoshida [b2636937c1f759e1662ee25143d18f15ec12f52e] Switch to using ixion-0.15. 2018-10-31 Kohei Yoshida [e3a6e29bafe4161e3f97e72d356cb101631a008b] Fix all shadowed variables and make it buildable with -Wshadow. Also up the version and the API version. 2018-10-03 Kohei Yoshida [0dfa88f2adca7887dbe44bdb7025985777c89673] Remove unused VERSION file. Thanks to Stephan Bergmann for pointing this out. 2018-09-14 Kohei Yoshida [e2bfc774801f7dffb734d3f47efa12ccb0bde9cb] Add URL's to the 0.14.1 packages. 2018-09-14 Kohei Yoshida [4ff564ab58c4525648371ffd9430232e366ed26d] Up the version to 0.14.1, and fix configure error with werror enabled. 2018-09-14 Kohei Yoshida [a832279652f5b59d9983abd51ed0392c5c951b55] Update boost.m4 from http://github.com/tsuna/boost.m4. 2018-09-13 Kohei Yoshida [2970d026e52f84e7c7a824826ff186a56ea30a0d] Updated. 2018-09-13 Kohei Yoshida [b4e561504be8af5ff4ec09aaf37244aebcfc946f] CID#191680: Wrapper object use after free (WRAPPER_ESCAPE) The coverity report says: 3. escape: The internal representation of local jv escapes into const_node->parent, but is destroyed when it exits scope. but jv itself is returned from the function *moved*, and it lives on in the caller's scope (as intended). I'm pretty certain that this one is false positive. The additional code added here verifies that the pointers stored in the child nodes match that of the core of the parent. 2018-09-12 Kohei Yoshida [a8b3e09bf08a3c0c5c417b14c4049309a75be4a2] CID 191672 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 2. uninit_member: Non-static class member field m_panes.m_selection is not initialized in this constructor nor in any functions that it calls. 4. uninit_member: Non-static class member field m_split_pane.top_left_cell is not initialized in this constructor nor in any functions that it calls. 6. uninit_member: Non-static class member field m_frozen_pane.top_left_cell is not initialized in this constructor nor in any functions that it calls. 2018-09-12 Kohei Yoshida [cc06d201a9855305692cb260afba361f84130ae6] CID#191675: Not restoring ostream format (STREAM_FORMAT_STATE) end_of_path: Changing format state of stream os for categories uppercase, basefield without later restoring it. 2018-09-12 Kohei Yoshida [831b146a8486d29a8b2211bc5d7c6d56d38f6484] The name of the second column may be empty too. 2018-09-12 Kohei Yoshida [d44e514fe848c773b1834db1d90ffac8a2872f29] CID#89231: Improper use of negative value (NEGATIVE_RETURNS) negative_returns: col1_index is passed to a parameter that cannot be negative. 2018-09-11 Kohei Yoshida [fd7bc42587bd005735e6dbeda76088fe233c1bd4] CID#191681: Uninitialized scalar variable (UNINIT) uninit_use: Using uninitialized value ret. Field ret.transient is uninitialized. 2018-09-11 Kohei Yoshida [5420e08bbb0b6e7bb4abba80afc906e50dad27be] CID#149339: Uncaught exception (UNCAUGHT_EXCEPT) root_function: In function main(int, char **) an exception of type orcus::general_error is thrown and never caught. 2018-09-11 Kohei Yoshida [56b6c15629783e0fdc880a6c20c7c7c29293407d] CID#149314: Uncaught exception (UNCAUGHT_EXCEPT) root_function: In function main(int, char **) an exception of type boost::exception_detail::clone_impl > is thrown and never caught. 2018-09-11 Kohei Yoshida [1999f8823bdf769a5366cb8ac721082057950888] CID#164674: Uncaught exception (UNCAUGHT_EXCEPT) root_function: In function main(int, char **) an exception of type mdds::type_error is thrown and never caught. 2018-09-11 Kohei Yoshida [bdbdfe7c604153819f30cbd0e8aeab1593813d2f] CID#149342: Uncaught exception (UNCAUGHT_EXCEPT) root_function: In function main(int, char **) an exception of type orcus::xml_map_tree::xpath_error is thrown and never caught. 2018-09-10 Kohei Yoshida [ea3c29e8cc43858ffe7053a9af7b36cdb8234c66] CID#191671: Uncaught exception (UNCAUGHT_EXCEPT) root_function: In function main(int, char **) an exception of type std::invalid_argument is thrown and never caught. 2018-09-10 Kohei Yoshida [7a9b818264b3d18937b0c42381cdc5b84b94f24f] CID#191673: Uncaught exception (UNCAUGHT_EXCEPT) root_function: In function main(int, char **) an exception of type orcus::general_error is thrown and never caught. 2018-09-10 Kohei Yoshida [b107a20722b48f096efc0cd4253b3ee8089b3d3c] CID#149337: Uncaught exception (UNCAUGHT_EXCEPT) root_function: In function main(int, char **) an exception of type boost::exception_detail::clone_impl > is thrown and never caught. 2018-09-10 Kohei Yoshida [d821b83af344d74bbba7e4fb47c46be8414d3c7f] CID#89234: Uncaught exception (UNCAUGHT_EXCEPT) root_function: In function main(int, char **) an exception of type orcus::general_error is thrown and never caught. 2018-09-10 Kohei Yoshida [53292c46f8a271c2405664d2fa2f8f50b5e0432e] CID#89230: Unchecked return value (CHECKED_RETURN) 2. check_return: Calling to_rgb without checking return value (as is done elsewhere 4 out of 5 times). This change also simplifies the code a bit. 2018-09-10 Kohei Yoshida [829813863730c6908813edb3c14f170245ca8848] CID#54448: Uninitialized scalar field (UNINIT_CTOR) 2. uninit_member: Non-static class member field m_cur_array_range.first is not initialized in this constructor nor in any functions that it calls. 4. uninit_member: Non-static class member field m_cur_array_range.last is not initialized in this constructor nor in any functions that it calls. 6. uninit_member: Non-static class member m_active_pane is not initialized in this constructor nor in any functions that it calls. 2018-09-10 Kohei Yoshida [57942a5f6807ecf88d79eb2d3973bb9f4b6ad189] CI to use ixion-0.14 for now. The ixion master branch is gearing toward ixion-0.15, but orcus is not yet ready to move on to it just yet. 2018-09-10 Kohei Yoshida [9c92565a47aceee82eb1470a3630a270b9835a6b] Missing header for std::tolower. 2018-09-04 Kohei Yoshida [a3e472464753f0eada274feb6bb8a02a8e6e07f4] CID 191674 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 2018-09-04 Kohei Yoshida [3341786c0777105a0c00bc1772503bbb95bcb322] CID 191677 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 2. uninit_member: Non-static class member pattern_type is not initialized in this constructor nor in any functions that it calls. 2018-09-04 Kohei Yoshida [5aefa964f73abee0c7a9a147d9318198e243cd40] CID#191684: Side effect in assertion (ASSERT_SIDE_EFFECT) assert_side_effect: Argument ++it of assert() has a side effect. The containing function might work differently in a non-debug build. 2018-08-29 Kohei Yoshida [87bb64f1723831a47211dc006c539e8494ffd1a7] 0.14.0 is already out & talk about improved numeric precision. 2018-08-29 Kohei Yoshida [1d30abeb74dd07f1398f586b7b0ab2bd047cf237] No idea why I applied an extra indent on all lines... 2018-08-29 Kohei Yoshida [bd87f46ba21669b175517cc80af4aa3d0e6f8c4e] Reduce the number of numeric operations when converting points to twips. Hopefully this will fix #65. 2018-08-23 Kohei Yoshida [2316ecc3ccb3149ff9a53d584582a4a9d5dda8f2] Add URL's to the 0.14.0 packages. 2018-08-23 Kohei Yoshida [63452e56e01b793686c719360fcd073e3f63fa3c] Up the version to 0.14.0. 2018-08-22 Kohei Yoshida [50652df4c6a5c495c0b8801a4462d7136f8628c6] Fix 'make distcheck'. 2018-08-22 Kohei Yoshida [92d5c0f9da5fa65b51d48425e98bc372a2703e36] Add a few items for the new release. 2018-08-22 Kohei Yoshida [2e6db4525dceb34f643ee919b2e2145e2ac8e1f9] ixion 0.14.0 (API version 0.14) is released. 2018-08-21 Kohei Yoshida [e86a1ea1f69841580405e53973240f822592f028] mdds 1.4.0 is released. 2018-07-23 Kohei Yoshida [e6a7fa8f828ebdaad57998a96b993b12e8768c8f] xlsx: Add a test case for #63. 2018-07-23 Kohei Yoshida [9bda3a966d657fe0f80de477ccbb83b6026291a6] xlsx: Count the sheet and use its counter as sheet index. Excel's internal sheet indices are not necessarily sequential in increasing order esp. when the sheets get shuffled around after they have been created. This fixes #63. 2018-07-23 Kohei Yoshida [9666c0c4af9c11f6180c895aa6fe368063bbc208] xlsx: Modernize it a bit. 2018-06-12 Kohei Yoshida [c1816fef9b4e458a5b3c77b6fc0dffd1605118e2] Use nproc for ixion build. 2018-06-12 Kohei Yoshida [2039a4c18177ee76a2e3cfe03b8ee164da21a523] It now depends on the master branch of mdds. 2018-06-12 Kohei Yoshida [45e18ee358dcd4a2e325d66916479baf791733fd] Use get_all_namespaces() method in the example code. 2018-06-12 Kohei Yoshida [2dd2f17e0e6530afed76b262a5331f76c7ede798] get_all_namespaces() to return a vector. 2018-06-12 Kohei Yoshida [ab52b4cb077378edd99026b828c7a6d69fe4a2b7] Add code example for stacked namespaces. 2018-06-12 Kohei Yoshida [6f71d44fa5b12f581a4f87a720c6eb9961cf33ed] Use unique_ptr for pimpl. 2018-06-12 Kohei Yoshida [6dddb95c1815f12bfb551582e5b6ab74bec6e9ed] Simple example on how to use xml namespace classes. 2018-05-23 Adam Majer [f7485813af8e50f88c77312fb29b7bb489a0a17d] Fix build with Boost 1.67 Boost:DateTime that no longer accepts non-integer types. In the past, these types were implicitly cast down to integer values. Now this requires explicit cast. https://svn.boost.org/trac10/ticket/11168 This fixes #60 2018-04-13 Kohei Yoshida [8d885d135667c412475fb88695fec322fe36ab66] Wrong license header. This is supposed to be MPL. 2018-04-13 Kohei Yoshida [6fa535308bf55d7c4a1caffbf8a324b0a0b69ce5] We don't really need to fully-qualify these types with orcus::spreadsheet. Remove'em. 2018-04-13 Kohei Yoshida [11a25c9e2925c7fc713dbf3c234f869f33244a1b] Add the bits about the import_formula interface class. And re-organize the items a bit. 2018-04-13 Kohei Yoshida [2479d637e646eab37fe9e8986f47f5e08fadf4a0] Those set_formula_result() methods are no longer necessary. Nuke'em. 2018-04-13 Kohei Yoshida [5b3fa87a3b0d031ae7a7bd9b5a641bd0c1ebc53c] Remove set_shared_formula in favor of import_formula. 2018-04-13 Kohei Yoshida [d2777c7126a8e37fa6b3f9331acddee0e5106c21] Remove set_formula and replace its use with import_formula interface. 2018-04-13 Kohei Yoshida [6f45d887cbf66be54475b6bc7aaabc8246e3ea4b] Add import_formula interface class. Not used yet. 2018-04-13 Kohei Yoshida [b73d55c361dcde0ad810fedaa1f59e18177b407f] Remove duplicated code blocks. 2018-04-12 Kohei Yoshida [bcaa2597385dd87a943b091d0759ba42989c3406] Talk about the array formula interface change. 2018-04-12 Kohei Yoshida [b9c6d01c2cee4738a493cfc71d00d2ad38e98469] Add a new feature. 2018-04-12 Kohei Yoshida [21945a5ff6917e0cd980776aa96312a8a5cf2da4] xls-xml: add unit test for the array formula import. 2018-04-12 Kohei Yoshida [adeb28f5e1cdbd1b8bff3f404096b26687abfec9] xls-xml: remove duplicate code blocks. 2018-04-12 Kohei Yoshida [76fc6847d85d4f83fa265875bfd0415a1824e325] xls-xml: check the array formula store at the end of each table... ... and push them as needed. 2018-04-12 Kohei Yoshida [5dd96d0770e95d610ab8b7f7837ae1fb4159a6ea] Manage to store and push array formulas to the model. Still not without issues. The last array formula won't get pushed unless there is a cell following it. 2018-04-11 Kohei Yoshida [f49315729a1c6ee1e152f4dd875d48a6ffbf7e3a] Add a dedicated import interface class for array formulas. 2018-04-11 Kohei Yoshida [8a2187a3187dd0baa21bb91b8667e6269c70e435] xls-xml: get the formula string from the parent context as well. 2018-04-11 Kohei Yoshida [ff1b89707df456a1f8453a0598d22405017eefbc] xls-xml: get the current cell position from the parent context. 2018-04-11 Kohei Yoshida [93b9cc800397b6395c70f8d35a75c850c2757b32] xls-xml: get the sheet interface from the parent context. 2018-04-11 Kohei Yoshida [be940db5abb5c4889d18c79de2ab535a7d7208d5] xls-xml: pass refernce to the parent context to the data context. This way there is no need to pass the import factory pointer. 2018-04-11 Kohei Yoshida [869221727fad81927452f90686c8a2f9784e53b5] xls-xml: pick up the array formula range. It is not utilized yet. 2018-04-10 Kohei Yoshida [7d8aced0b24bcc5c8c4a083894d0fa0acec63471] xls-xml: New test file for array formula import. 2018-04-10 Kohei Yoshida [5183e1487e8ff01be420ad9b5b5497c05635e173] Another item to add to CHANGELOG. 2018-04-10 Kohei Yoshida [d4b9dc58e366a92971a8fb6d7afab6a9a1aab219] Let's not forget to pass on the character set when appending a sheet. 2018-04-10 Kohei Yoshida [19b99a6ee42ce54dde9d72ab11111625d8a26a98] Add new items to CHANGELOG. 2018-04-10 Kohei Yoshida [1d9caf728ea511ea4372ab079a119935e2dfc28f] Store the charset with the factory too. And add a test case for it. 2018-04-10 Kohei Yoshida [af7cfe4707d829e334fc8880343880c0770563fe] Use unique_ptr for this impl. 2018-04-10 Kohei Yoshida [8dcec9d1699a65509af980bf7cb4a28640d054b0] Pass the charset value to the sheets who need it. 2018-04-10 Kohei Yoshida [6f4cc8ebe3a6469d4294ba4507933c347c9044e7] Manage to pass the character set all the way to the import factory. Also, import_global_settings does not have to be exposed in public. 2018-04-10 Kohei Yoshida [ac487227a38b3b52de92b1394fae5593d17f15db] Rename char_encoding_t to character_set_t. 2018-04-09 Kohei Yoshida [c9099eb337eab7edf764d2357cdd7afbfb78d3e7] Rename xml_encoding_t -> char_encoding_t. This is not specific to XML documents. 2018-04-09 Kohei Yoshida [7ee154b64ad83876c26929498f40e2f4ec833a32] Add test cases for the XML declaration parsing. 2018-04-09 Kohei Yoshida [f512a90655f17fe67daf25962972c686a0fdef05] Pass the parsed XML declaration content to the handler. This adds an additional method declaration() that the handler is required to provide. 2018-04-09 Kohei Yoshida [ed98b02877b9aa1c1b23a880b1af676029cab9a5] Parse XML declaration and store the results into xml_declaration_t. 2018-04-09 Kohei Yoshida [025dacf453a8ee51abc44c10876a0a30975fc51d] Adjust for the recent ixion change. 2018-04-08 Kohei Yoshida [1123c5b1e67564ca1f3942fee691c79215839539] Add formula array test case to the automated test. 2018-04-08 Kohei Yoshida [48f5433fdebf1626addf6fde57605dc143abd8cc] Handle dumping of array formula strings correctly. 2018-04-08 Kohei Yoshida [2bf46b6e15fd5e7803df27ab745cb48a905f95b9] Let's not forget to add override to this method as well. 2018-04-07 Kohei Yoshida [80511a90172287c665f5cd0b0e824a4f0a12007d] Add more cells below the first matrix formula cells. 2018-04-07 Kohei Yoshida [7d8255f7b75ef9da01d6ddf2a4e0ed575a44db03] Fix the flat dump wrt matrix results. 2018-04-07 Kohei Yoshida [05940cf71c8f02c84490e79f3931bad96e7f574e] Put array formula cells into the sheet model for real. 2018-04-07 Kohei Yoshida [1fa57fadd30c4c6826261a5f2d03338248166818] Add mechanism to send array formula results to the client app. This adds a new interface called import_formula_result, which optionally gets returned from the set_array_formula() interface method. 2018-04-07 Kohei Yoshida [4e9674164b05293579aee883f773d28d8db08212] xlsx: Store cached array formula results during the load. 2018-04-05 Kohei Yoshida [b577a311ebf1c363ee1aa4c40ccc98e54e6affcb] Store array formulas separately from the regular formula cells. 2018-04-05 Kohei Yoshida [502b8165f16f1745b622f5cca4a14489701c5a7f] New structures to store cached formula results. Not used yet. 2018-04-05 Kohei Yoshida [6567b290ab7360bca562da0ed47cd7907300fe85] xlsx: Resolve formula reference range earlier to avoid string copies. 2018-04-05 Kohei Yoshida [c2b866922a49be3416a6ef52a4744f1bd4152fcf] Pass range_t to data range's set_range() interface method. 2018-04-05 Kohei Yoshida [805989dbbec5bc7fea394cca8eb8a743c5501ff9] Potentially intern these attribute strings. 2018-04-05 Kohei Yoshida [df4dcd963558fcf83b33fb5aafb2e37d60d65d85] Use sorted_string_map for this string to enum conversion. 2018-04-05 Kohei Yoshida [c2148660fe4d54a486098d450ad38a446b73afe8] Let's not forget to check the namespace value. 2018-04-05 Kohei Yoshida [9b80ae96e0397fbe2787986d20168e391f1d29f7] Use range-based for loop over function object with for_each. 2018-04-04 Kohei Yoshida [cf71adf47a58bc12514ecb556928271b3c3c190f] Unify the previosly two set_array_formula() interface methods. This fixes #54. 2018-04-04 Kohei Yoshida [140bf38551a1b857aaa23ef0785cf8113396181a] New Excel file containing a group of array formula cells. 2018-04-04 Kohei Yoshida [6da8bfbd3b913430469b0d0ba37b84c5f07fc5f8] xlsx: Add permanent test case for shared formulas. 2018-04-04 Kohei Yoshida [0bd44f3d9dd33fcd7ee95be610a05813c07c6890] Remove the variant of set_shared_formula with a range. As promised in #58. 2018-04-04 Kohei Yoshida [fd6da05deab540d158a475598a41165d8a5d0ea3] Handle regular formula cells on the factory side as well. 2018-04-04 Kohei Yoshida [0aab32342e9df4b6d6c4fb7cc8c0d9d6e28a5667] Manage shared formula pool on the orcus side. This was previosly managed on the ixion side, but now we do this in orcus. It makes more sense this way. 2018-04-04 Kohei Yoshida [cad45fda50b6d8892bb2077f4d6015d28728ba4f] Get a single result value here as well. 2018-04-02 Kohei Yoshida [e9078d37f6ac91d2e17455b8e6bf26ec7cd04cf5] Get it to build again against the latest ixion. I still need to fix the shared formula handling in the sheet backend. 2018-03-10 Kohei Yoshida [2729ff4cc863262234412fd3f88d1e94711bc116] Switch import_auto_filter::set_range() to take range_t parameter. This is more generic than taking a range string whose style may be different depending on the filter type. This addresses #49. 2018-03-10 Kohei Yoshida [6274f11529ec97433215047f691c6dd7c63c9cf2] Use range-based loop. 2018-03-09 Kohei Yoshida [1d8d5c2ba55408d2a6d4b65707b89f36ba89e4f2] Use std::unique_ptr for this pimpl pattern. 2018-03-09 Kohei Yoshida [af7fd72dba418349397617fdf4011c7a49bc84e0] Remove iface::export_sheet base interface class from the sheet class. This concludes #56. 2018-03-09 Kohei Yoshida [04ff9a43fb90cf83b472b6205d00d65a558f92a8] Create a separate export_sheet wrapper. And have export_factory return that wrapper instead of the wrapped sheet instance. 2018-03-08 Kohei Yoshida [83fd13a92f83c9702e211f703c2f44cdf084b195] Rename table.?pp to factory_table.?pp for consistency. 2018-03-08 Kohei Yoshida [782af462663811e0f510f7f3a2c3a88a4addcb1c] Rename table -> import_table. 2018-03-08 Kohei Yoshida [358b040dea1eea7f42fea2f94f3cf14e547feba9] Move the table wrapper out of sheet, to import_sheet. 2018-03-08 Kohei Yoshida [3f379a2ba42ff2ea41eccfc45d849e7412c7f3d7] Use std::unique_ptr for this pimpl pattern. 2018-03-07 Kohei Yoshida [eaa000acf6d54fbcf90f865b636f2fffd0b90d23] Move the auto_filter wrapper away from sheet. This is related to #55. 2018-03-07 Kohei Yoshida [eb377dc3cd1ad9dea2c53017b5b08ea97b109c55] Remove the data_table wrapper from sheet. Turns out that this one was an empty wrapper with no beef. This is related to #55. 2018-03-07 Kohei Yoshida [85a7de9faf40cfcb09f9bcffbfee188b194f3b02] Remove sheet_properties wrapper from sheet. And add import_sheet_properties near import_sheet. This is related to #55. 2018-03-07 Kohei Yoshida [4e2088c3b20dccee476bc8fffc6c4c2480067510] Use unique_ptr for pimpl. 2018-03-06 Kohei Yoshida [669b1cea3a565219a804601c21dba0045b804dd5] Move the header include to reduce dependency in header. 2018-03-06 Kohei Yoshida [e1cdb7482c363925f4bb92d37dc2034947d59ca5] Apply pimpl to the styles class, to hide the private parts. 2018-03-06 Kohei Yoshida [021b2724460dc4ac2717a8c7f18f7bec45e961c3] The styles class no longer needs string_pool. 2018-03-06 Kohei Yoshida [d20b9964852c753af015e7764368c133e8d9cba7] Move the cell styles buffer to import_styles. This is the last one of the bunch. 2018-03-06 Kohei Yoshida [f8fda2d708bc25fba715998a5d02f6e50a77d8eb] Move the cell format buffer to import_styles. 2018-03-05 Kohei Yoshida [bd227887c68a82d7d56447510771e960697c198e] Move the number format buffer to import_styles. 2018-03-05 Kohei Yoshida [5dfad73f520f54707d34cee1976a420a342c1751] Move the cell protection buffer to import_styles. 2018-03-05 Kohei Yoshida [667911e6ee46bba09b53388751104c0de7c94ac9] Move the border buffer from styles to import_styles. 2018-03-05 Kohei Yoshida [469df4a8fd6166da7893d8c85e0d3241aae67057] Move the fill buffer from styles to import_styles. 2018-03-05 Kohei Yoshida [ccf5668dedaf46ffe0368c528f0227364e1e7537] Move the font buffer used during import from styles to import_styles. It makes more sense this way. The other properties will follow suit. 2018-03-03 Kohei Yoshida [9deacc9c641b184d3398d453cae6dd10cebd68d6] Rename _import_styles -> import_styles. 2018-03-03 Kohei Yoshida [9379f03a1c5924e3fc39a5a1bae1701ccd9c1932] Rename import_styles -> styles. This class now represents a pure styles store, independent of the import part. 2018-03-03 Kohei Yoshida [b5c7cf2b40f82e3a0445d6d43d3c401449ebf9ca] Remove iface::import_styles base class from the styles store class. I needed to move the wrapper class to header since the odf styles import class needs access to it. 2018-03-03 Kohei Yoshida [c50d91a377ae1d2844f9431e963559563a013ef3] Switch to using the interface wrapper during import. 2018-03-03 Kohei Yoshida [f783478d2379bb585ad248a7fe6ae88bda295ffc] Have the interface wrapper store ref to the concrete styles instance. And have each interface method call its corresponding method in the concrete class. 2018-03-03 Kohei Yoshida [0336d4f1b608902f4e4e20e433551cf83f04973e] Add an empty interface wrapper class for import_styles. 2018-03-03 Kohei Yoshida [fa0b15861c85b7015bb99d0794547467b3a5bebb] Add new items. 2018-03-03 Kohei Yoshida [8cec652b0eebfe877cf243b3c2b300490c28203d] Switch to using fill_pattern_t enum class instead of string values. This addresses #50. 2018-03-03 Kohei Yoshida [d16762b79d514fa0bc5e6651c34c6751cc9e8597] Add a test case for #52. 2018-03-03 Kohei Yoshida [230e43033178cba61ac3e476de8ab858708e2591] Be lenient on XML stream with leading whitespace. This fixes #52. In the future we should make this configurable, either build-time or run-time. 2018-03-02 Kohei Yoshida [53a9490099bcc672cd45a7ce3e8f224bc34b5a1f] doc: Start working on the sheet accessor code example. 2018-03-01 Kohei Yoshida [e073562877e20974b577c73d89859f31a3019531] doc: More editing. Hopefully the first section is finished. 2018-02-28 Kohei Yoshida [5b56ff6e444b70757bc44df7f2ca7e1ebb37b3c7] doc: More editing. 2018-02-26 Kohei Yoshida [f6a8382c5e6fe6373cc28560092ac86ff596c20b] Add URL's to the 0.13.4 source packages & update the change log. 2018-02-23 Kohei Yoshida [6954b667528e371eac23aad949d12f08c2f8dae1] doc: Start authoring a new section on using a custom doc model. 2018-02-22 Kohei Yoshida [02db0852e69d736609673a0591151fc48e92be7d] Make the ods import filter tolerate empty import_factory instance. This is related to a new example code I'm working on which uses an entirely empty import_factory implementation, and I don't want that code to segfault. 2018-02-21 Kohei Yoshida [c21dbb11b352beb5e2c89b139d22ab69670511af] doc: More editing. 2018-02-21 Markus Mohrhard [4d5deaa553cd254211edb2e4be9e8938390dd5b8] add test for self-closing root xml elements 2018-02-21 Markus Mohrhard [12e5d89cbd7101c61fbdf063322203a1590a0ef5] protect the self-closing xml element code against self-closing root elements Found by Antti Levomäki and Christian Jalio from Forcepoint. 2018-02-20 Kohei Yoshida [15b359a0b1c270b6cb9cc423ef84e195da400670] doc: More on editing the Overview section. 2018-02-19 Kohei Yoshida [a0057703e4bcad6562b42482c59ca9d57e3e681f] doc: More editing. 2018-02-19 Kohei Yoshida [f785468dd419466dea0e7d7dde707f9ea29093c1] doc: Split the content into multiple files & revise structure a bit. 2018-02-19 Kohei Yoshida [2ced45a97195c6f3bf73b5d79d2426a39de600fb] yaml: Rename detail::node to const_node. Again, to be consistent with json::const_node. 2018-02-19 Kohei Yoshida [7b416061ef640554da37ac6d970f502bd7cf0734] yaml: Rename several classes to put them under 'yaml' namespace. To be consistent with json::document_tree and its friends. * yaml_node_t -> yaml::node_t * yaml_document_error -> yaml::document_error * yaml_document_tree -> yaml::document_tree 2018-02-19 Kohei Yoshida [d448724bf2b90cbe6b8922d7e85e4ea70432a120] xls-xml: Add a new test case for #51. Also add a mechanism to configure output format, to limit precision to 2 for this specific test case. 2018-02-19 Kohei Yoshida [32a1b05ffc6edd7d528b6760dab9035252329ab0] xls-xml: Gracefully handle formula cells without cached results. This fixes #51. 2018-02-19 Kohei Yoshida [9bc310a9efb1af1ff07721fdb9895b971dd21da1] xls-xml: Add debug statement for current cell data. 2018-02-15 Kohei Yoshida [53da9a0e804e754d42841a7bd78d5559f9672ee2] More editing. 2018-02-14 Kohei Yoshida [dc9136fe9e3124780276aa4ab0b7834399b5ce1e] Update the change log to add new items. 2018-02-14 Kohei Yoshida [fc0917edfce068de93690ae01246b0ebc3e65dea] Add URL's to the 0.13.3 packages. 2018-02-13 Kohei Yoshida [7b5e292fb721ec1ce948f7d520beb34e2c8827a1] xls-xml: Add a test case for importing hidden row and column flags. 2018-02-13 Kohei Yoshida [95420c1a1e8c082bb5953b2a49f0d56eef0e5f7e] xls-xml: Import hidden row and column flags. 2018-02-13 Kohei Yoshida [c535d48c2edc7a3ce2eb3bff7d5ba8d515910aa4] xlsx: Add a test case for importing hidden row and column flags. 2018-02-13 Kohei Yoshida [d331b7c100f7fe303d4ab3b5a7c949113cb438d9] Add new test cases for importing hidden rows and columns. 2018-02-13 Kohei Yoshida [509ef95fdc22afb4dfb3e845f906deeb957ff8be] More editing of the Overview section. 2018-02-14 Markus Mohrhard [4e8ad812f4e682f7afaebb7a5c57831b43084928] select elements by path in structured xml tree, fixes #48 2018-02-13 Kohei Yoshida [49df2050d7c7ad38db265cf58922adc4db8022d4] Custom cmake build script only to build the CSV parser portion. 2018-02-12 Kohei Yoshida [06ea6f784d2a7bbbd298c556fb36114d978d2d0c] ods: Add a new test document for importing parameterized functions. 2018-02-12 Kohei Yoshida [14e1a62673c2be1c17f92d2fc198321f6c3f1aee] We need to set ';' as the arg separator for when loading ODS. And this change requires the current master version of ixion, hence the required version bump. 2018-02-09 Kohei Yoshida [466e95dddc59876a78691ee33017a168fcd2681e] More editing of the Overview section. 2018-02-09 Kohei Yoshida [02819781d916740b7ec364e9002a0b133d8819e9] More addition to the Overview section. 2018-02-08 Kohei Yoshida [6644c24de2edd6ad6edd4fbb1f0d3ce1c6b2f436] This wasn't meant to be checked in. 2018-02-08 Kohei Yoshida [8ee2b32d03cf7feb663f761ed7ee5dc09c303f22] xlsx: Add check to make sure multi-line strings are imported. 2018-02-08 Kohei Yoshida [0412bd269983825e5019a8a12267b54f51117aba] xlsx: Remove carriage returns from multi-line strings. Let's try to consistently only use linefeed characters for multi- line strings. 2018-02-08 Kohei Yoshida [7e9f6542a151eeca71dc88c96f4e9ebd53c973e6] xls-xml: Add check to make sure multi-line strings are imported. 2018-02-08 Kohei Yoshida [62a0d70ed19b0b472a9a6e074b68b7defb2cfe11] More editing of the Overview section. 2018-02-08 Kohei Yoshida [dcb71604f48d64d4c46d5b463ffdaa05019b8fee] xls-xml: Add a test case for border color imports. 2018-02-08 Kohei Yoshida [e065d26dabafea465ec49e7d79775e62014ac0db] xls-xml: Pick up border colors. 2018-02-07 Kohei Yoshida [683231b61a450ee0b3bb8214d8d2bd720330554e] xlsx: Add test case for border color imports. 2018-02-07 Kohei Yoshida [e64bdf3b8ad5771c47f238fc9a010ab82322b20a] Have color_t support ostream operator. 2018-02-07 Kohei Yoshida [c392ea15000b331bb6580b09c1045fd14b449b46] xlsx: Let's not forget to apply color for diagonal borders too. 2018-02-07 Kohei Yoshida [1729aabd9f2bfe44af00ace3b363ecc2d3815e98] Update the contents to fix errors. 2018-02-07 Kohei Yoshida [c4c4eb328d894a4d454dcd5eb1cf0a7675134493] New test documents for importing colored cell borders. 2018-02-05 David Tardon [e2cb7738ed7880292302de23910d0c2daefd16a0] fix GCC 8 warnings error: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct orcus::css_property_value_t’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Werror=class-memaccess] 2018-02-03 Kohei Yoshida [f4953441b56cd2288197f18d6929252d3dbb714e] doc: More editing of the Overview section. 2018-02-03 Kohei Yoshida [a67dd7e709476098c9cbf67a170290c1cd9eca56] Finish the example code. 2018-02-02 Kohei Yoshida [9365a095ea5e27ba9f9feaf187afc59c18eacc84] WIP: working on an example code for loading document. 2018-02-01 Kohei Yoshida [a643d9354451d5dc679bbe645500f263c0a77579] xls-xml: Add checks on white font colors. 2018-02-01 Kohei Yoshida [e6cab3b46dd94c9b69093d7474a151f3f290b508] More editing of the overview section. 2018-01-31 Kohei Yoshida [f821995022df8dd1e580dd22cf131584b2b1ac4f] We are supposed to use the foreground color for solid fill. 2018-01-31 Kohei Yoshida [f7953a814d6a43205791b6cc01c528ef5d4b1ce3] Alpha value of 0 means fully transparent. I'm sure 255 was intended. 2018-01-31 Kohei Yoshida [132ea4d2b7aa4096854a895ff06da147be0462ed] This is meant to be a background color. 2018-01-31 Kohei Yoshida [62b17ac3aaf82e4901d071acaa5645824dea8b56] Add method docs to the fill-related interface methods. 2018-01-30 Kohei Yoshida [cb03b1b56704eb586faf88f0c3cd391906657a43] doc: Add some paragraphs to the Overview section. 2018-01-26 Kohei Yoshida [92582c78f8901b5d25e6f5da5a2e5979a14d3ef7] Happy new year. 2018-01-26 Kohei Yoshida [f0648c0a2346a93532e64870c6e530a2ff40ccc8] Add links to the 0.13.2 packages. 2018-01-26 Kohei Yoshida [dd673df312955bb2c2fe534d6dec4e700f69fcd6] Fix automake file list... 2018-01-26 Kohei Yoshida [4be5858af87ece662199b2b6b53cfdc05ee9857e] Update for the upcoming 0.13.2. 2018-01-26 Kohei Yoshida [3bcff0fdb59af4dd4c3326e57b26180f46d4aee4] xls-xml: add another test case for cell border import. 2018-01-25 Kohei Yoshida [b47f8a0f1f4d9fbb1bd55ea3f037d1ec3559999f] xls-xml: add a test case for importing cell borders. 2018-01-25 Kohei Yoshida [83f7fb42f5280f1732dfb135e3aa41adc29f29b2] xls-xml: import cell borders. We'll just map these cell borders to xlsx's cell border styles. 2018-01-24 Kohei Yoshida [95266fc56f2793cc0a9a209ccf5c6859516b5877] xlsx: test diagonal border import results. 2018-01-24 Kohei Yoshida [6f4ff977fb912f389cb5f066c136f758e8431f78] xlsx: pick up diagonal borders. 2018-01-24 Kohei Yoshida [75776c8077bf67ffc656c24719a4c010967f1248] Update the test files to include cross diagonal borders. 2018-01-23 Kohei Yoshida [b162787321b3796f9e8b558d503134d9a51cb8cf] xlsx: add new test case for importing cell borders. 2018-01-23 Kohei Yoshida [b5d3809c70ef7531e2891d8ac0b04873a4573480] xlsx: fix exception being thrown when diagonal element is encountered. 2018-01-23 Kohei Yoshida [1175a3e6e7576c36f9fc8c20a5a369996320ac19] xlsx: add a test case for cell border styles import. 2018-01-23 Kohei Yoshida [5150e83acef8d22df4467703a0cf82a74ed19a18] Consistent look for sorted_string_map singletons. 2018-01-23 David Tardon [658e77a9fc43853cb25a9511e01772dd1bef3c36] fix build failure in Rawhide 2018-01-23 David Tardon [719ab1789710a32c034f85b826025c71808a5eb5] fix automake warning 2018-01-14 Kohei Yoshida [0f13b99c58e830470324c25c3337721695857346] Add new test files for importing cell borders. 2018-01-13 Kohei Yoshida [fef2ca47cb85184e3bac0fd1a752355884e6d4f6] xls-xml: add test case for importing text alignment properties. 2018-01-13 Kohei Yoshida [caece95470f4ba5cf4aaca513f493d6a94b4dfa7] xls-xml: pick up text alignment properties. 2018-01-13 Kohei Yoshida [9df31de04aab1e0c00136fa0c5dc636cbd3b59ca] Ignore more files. 2018-01-13 Kohei Yoshida [fa3daf48cd5624ace41bdf2d5c534280effcbf5a] I guess I never checked in this file... 2018-01-13 Kohei Yoshida [3e1f42b185e7b4d44961c6f1a1f21c7cd0ba6968] CI still not happy yet. Let's try again. 2018-01-13 Kohei Yoshida [8a159c60a8540ba19c3e0007b28c95751f81b119] Try to keep the CI happy. 2018-01-10 Kohei Yoshida [4247eb8c38aa3663d7bef53c350652ab001043e3] Re-align the expected values. 2018-01-10 Kohei Yoshida [b39f90b7132b6fbf3878a31375c5d142120bbf05] xlsx: add a test case for this. 2018-01-10 Kohei Yoshida [a138b970085b2ff1f43888d39f1e891f46c7e2b1] xlsx: pick up justified and distributed alignment types as well. 2018-01-10 Kohei Yoshida [39cdb272512799edd34d6556da3ee3aee3dd0a8b] Update the test files to include distributed alignments. Both in horizontal and vertical directions. 2018-01-05 Kohei Yoshida [9728fa6ab59c1524911a07181e21f5158c3addd6] New test files for import text alignment settings. For both xlsx and xls-xml formats. 2018-01-04 Kohei Yoshida [4b98396cedc46cd8e2999934eb7dd45a16990c15] xls-xml: add test case for importing solid background fills. 2018-01-04 Kohei Yoshida [62e49b9297c4c3417524d960bd0cd3e4fa4f9885] xls-xml: alpha value must be 255 for being fully opaque. 2018-01-04 Kohei Yoshida [f3c8707042914b1c771dd643983d773f9fcf217b] xls-xml: pick up solid fill colors. 2018-01-03 Kohei Yoshida [cd190dccaa478dd97853d235a43d03553ca05ecb] xlsx: add test case for background color fill import. 2017-12-30 Kohei Yoshida [239500e9ad0273e29f9d7a2be2b22430faa4f0e9] Add ranged column widht and row height properties. 2017-12-30 Kohei Yoshida [967159775ac053f22cb1c7e644c9ef8b70029390] Add test cases for importing column width and row height properties. 2017-12-30 Kohei Yoshida [0b9323fc39e4f4cc0f7b063f55fd8443feedf21c] Pick up row height properties. 2017-12-30 Kohei Yoshida [057d65f7db30f58fca880aa2952d9536e5d2a5ac] Pick up column width properties. 2017-12-30 Kohei Yoshida [06e8c13e40fc34230ef43c8c53ea0dcf4f4e18ac] Add ranged column width and row height properties. 2017-12-28 Kohei Yoshida [4edc295ec37ba51c191ebebd366024b5e225918f] Test file for importing standard cell background colors. 2017-12-28 Kohei Yoshida [30eedd2088a3d6b40427aed3eaa31cc205b74a2c] New test file for column widths and row heights import. 2017-12-17 Kohei Yoshida [251e44ca74f41c0b90b214c2277c0473441936ff] Add these formula-cells test cases to the list of test cases. 2017-12-17 Kohei Yoshida [f28458d29d5839db9f927a92f5d651aad65cf167] Two new test cases for testing formula cell import. 2017-12-17 Kohei Yoshida [53ecae110cf2977bcd8da342b1491961bd24bd8c] New test cases for matrix formulas. 2017-12-09 Kohei Yoshida [6855117f47f146ef8337c38e7c2144e4e46f9165] Fix the sentence. The word 'not' was repeated. 2017-11-27 Caolán McNamara [0a5014ae282f7a3bd2dae0cf6425d7b61d06b034] Silence an assert. 2017-11-15 Kohei Yoshida [58c0a5295eab51f926ac784e6ae4b16f6b134b25] Add links to the 0.13.1 source packages. 2017-11-15 Kohei Yoshida [496f1eeed45a655c30d2be788ffa196dc75798cb] Update to add another item. 2017-11-15 Kohei Yoshida [7dbcb917fa85a94d00384c3d74085c3c3d4e5a0d] Update the changelog. 2017-10-26 Mike Kaganski [43be0bed1084880f45c1040371f0975fe72ffa6b] Remove unreachable code 2017-10-08 Kohei Yoshida [c2a256e6ea1788d7f3de8fc51260b916d1a70c8a] Removing obsolete Visual Studio solution files. Use cmake on Windows instead. 2017-10-08 Kohei Yoshida [bfba82d2389a81f91a4e532bd5922a7677cf4348] python: add test for format types. 2017-10-08 Kohei Yoshida [e06371e01ce88a57335af63e8dbaf747b44e2e16] python: actually check the specified format type. And make sure it is correctly set to CSV. 2017-10-07 Kohei Yoshida [faa7d776f540cc96b9a4faf24896a47c39f3114b] python: add two more test cases. 2017-10-07 Kohei Yoshida [4f2ff9f1124d4035cb2543ab524a369d3bb7d847] python: test the exported csv stream content against check.txt. 2017-10-07 Kohei Yoshida [f1cad2b673ea94339e972e8d24ac679ad89241e0] Add this file to slickedit project. 2017-10-04 Kohei Yoshida [6845921412bc966d668a1392390d43475e410e0b] python: write only when the content is not empty. 2017-10-04 Kohei Yoshida [71203cc4723f6037c1bf4b3ffa9459f5b4d13220] python: add unit test for csv export. Still WIP. 2017-10-04 Kohei Yoshida [cbde5496aaeecf28b3848b23c809b43a00024829] python: finish implementing the write() method. 2017-10-04 Kohei Yoshida [302092ebe03adc03f20cb92e0d3270ae00033739] python: get the csv content bytes and dump it to stdout (for now). 2017-10-04 Kohei Yoshida [23faf94b92842ae4dd6ff6c6b63a4976c4592e5d] python: set up a skeleton write() method for exporting. Still to be implemented. 2017-10-04 Kohei Yoshida [a83a0282448cc418cce957e987db450cfdd1e7e0] python: add FormatType enum, to be used to specify export format type. 2017-10-03 Kohei Yoshida [3f2487e928bb587b62cb36774a1f9015d53686e6] I guess I forgot to add this file... 2017-09-29 Kohei Yoshida [49284ff6b867817bab1cc54e3ad8db479d0fdd0a] python: add gnumeric import test. 2017-09-29 Kohei Yoshida [588c042f120e0400fd9641ade0674c34b9722e5c] Add a rudimentary test framework for gnumeric. 2017-09-29 Markus Mohrhard [bd9d921c671777cb0942aba210d4d03940747961] Fixes #46. Use efficient way to set format ranges in spreadsheet model 2017-09-26 Kohei Yoshida [830c735fe965472e7e093bf26a52d24115ccc21d] Add new python functions. 2017-09-26 Kohei Yoshida [502c60f5f115b623851e4e71a8da1aac7e414094] python: add the entire test case set for xls-xml. 2017-09-26 Kohei Yoshida [f7e9e4819df01d8a419876fe8469e830f8f8d5a4] python: fix the line parsing of a formula line. And enable the "formula-1" test for ods. 2017-09-26 Kohei Yoshida [fbdf80ed7b07ef583f6444b945698245071d4d64] python: fix the crasher bug on calling get_rows() on empty sheet. And enable another assert that checks for empty row set. 2017-09-25 Kohei Yoshida [5a9f55fb8aec54402aba64c096d6f427f43a23db] Throw an exception with a better error message. 2017-09-25 Kohei Yoshida [10f805a99740bf5d27c46056cac65dd6ce312355] python: parse the formula cell lines in check.txt correctly. 2017-09-25 Kohei Yoshida [a5da2fd8b41beeb2915343350c91d57283dcc8bc] python: try all five import test cases. And fix the "boolean-values" test case. The "empty-shared-strings" test case still fails. 2017-09-25 Kohei Yoshida [30491e96f8218d518f8f8180d23c33cabaf52067] It acutally looks fine without those ':'s. 2017-09-25 Kohei Yoshida [1ffbca49d8ef0f05323c4be8ec6998f6b799031e] python: properly unescape string cell values from check.txt. Now all csv tests do pass. 2017-09-25 Kohei Yoshida [200df821413c7d9c21cae90376bfab949ab7b319] python: add test file for csv file load. One test case currently fails. I need to look into this. 2017-09-24 Kohei Yoshida [0f9c442a08f63d071e695599df6f03fe39fb3a52] python: make use of check.txt file for content check. This will make it easier to add new test cases. 2017-09-24 Kohei Yoshida [4cc2113e4076750a22335b84dc6bb64ca29e1ae2] python: first test case for orcus.xls_xml.read(). 2017-09-24 Kohei Yoshida [2be8b0f394d73ccf9504e55b7a06778732822707] xls-xml: new test case, to be integrated. 2017-09-24 Kohei Yoshida [d715d085721ccd7c422b811c49bda8f3dc216fda] python: implement orcus.gnumeric.read(). 2017-09-24 Kohei Yoshida [a3d5f3b0ee6e1dadda05ce6ca242c30c124afeb3] python: implement orcus.xls_xml.read(). 2017-09-23 Kohei Yoshida [cdeeaa70c63351800b657ca0a8bca7fc79a294b1] python: add support for loading csv files. 2017-09-23 Kohei Yoshida [28f8e23b378f837a1e6ef2d2eda9493f0dceb46f] python: move the identical test case into common module. This module will be shared between multiple test files for multiple file format types. 2017-09-23 Kohei Yoshida [1b77b2bb99b55c4e44250be6e9d7dddfb562b2e5] python: add a rudimentary test case for loading of ods. 2017-09-23 Kohei Yoshida [ed4d554367257f2021c8e023a3b5ba816b360cc8] python: further refactoring to make the code a bit more shorter. 2017-09-22 Kohei Yoshida [641fd99bfd3153139b65699276e218fe6a4487df] python: check for null pointers and handle it gracefully. 2017-09-22 Kohei Yoshida [1061404ec1fd89a7c7249099a43e2c0f756f50ff] python: use the term 'stream' consistently. 2017-09-22 Kohei Yoshida [ec2197a93ea7741c9d6b07b8cdee1b529c166a4c] python: implement orcus.ods.read(). 2017-09-22 Kohei Yoshida [384039be2efb3232568bd8bf8d5e49a398aec85e] python: extract another function to be reused. 2017-09-21 Kohei Yoshida [7054fd3867417a9403f0ecdb932c7609d05759c5] Extract some functions to make them reusable. 2017-09-21 Kohei Yoshida [49bbc80c384a98d616b8c04a007a5256b913a60e] Add the change. 2017-09-21 Kohei Yoshida [d17429c9f8d7827ac950afd432166086ba8ea58c] python: completely remove the read_file() function. 2017-09-21 Kohei Yoshida [107acc453f313cec438550e98ddba27da83e2447] python: use the new read() method to load xlsx file. 2017-09-19 Kohei Yoshida [edeb521f28b2d56e96286c8f28810c24ff806283] python: first cut on xlsx.read(). Some clean up to do later, as some temporary copy-n-paste has been done... 2017-09-19 Kohei Yoshida [ded737140e27cf5a8bb050ad7acb70c71ff7ab82] python: add new method skeleton orcus.xlsx.read(...). To be implemented. 2017-09-19 Kohei Yoshida [fb49dab9b074b31f76a4797bdccf977b5fa532d8] Add recent changes. 2017-09-18 Kohei Yoshida [4208d5f28d32cba1bfccd9573c1bf0b0532ae86b] No more read_file() and write_file(), and no more persistent stream. 2017-09-18 Kohei Yoshida [694e04be17452ea3c40d4a99c5c31f04db2ed4c2] Test to make sure it works without persistent source XML stream. 2017-09-16 Kohei Yoshida [098750dcc5d17295bbf36d8a24f065bfb5b58bac] Do the file I/O outside of orcus_xml instance. 2017-09-16 Kohei Yoshida [0f5e4cd54013ece55b3f2ba4a69ca92d98c63cc1] orcus-xml: create a generic write() method. This method takes the input stream from the caller and the output will be a generic ostream object. 2017-09-16 Kohei Yoshida [cd1daf2b5761f5cd9385660d3824343bffc07fe2] Exporting to a file doesn't change the state of the instance. 2017-09-13 Kohei Yoshida [6ecea85efd5f156dc29242cd7065cc806a75dbc1] Up the API version. 2017-09-13 Kohei Yoshida [0f83fa41bee1d010dc8806353f7fda065ce27a71] Store stream offsets instead of pointers to char. In order to avoid having to store the original stream in memory forever... 2017-09-13 Kohei Yoshida [5e700a4cbf7f19de707d29c769f0143fb7f0d87f] Ensure that we don't change the stream begin position once set. We need this guarantee when using the offset values of a stream at different points in time. 2017-09-07 Kohei Yoshida [eafd86f475a7de9d9d43df472f453e068cb06141] Reflect the latest patch from Miklos. 2017-09-07 Miklos Vajna [cc8356089eb7ee226521162a23c32d48407833bb] css parser: handle single quotes for property values And modify one of the testcases where there are already two double-quoted strings, so that one of them is single-quoted. This way make check fails without the code change. 2017-08-30 Kohei Yoshida [4d24143521d469b90541521b37d95862619ddcc2] Add class descriptions. 2017-08-30 Kohei Yoshida [715c91c6fc1ab38c5e9bd3fe354a85bbc4856c38] doc: add example for json array's push_back() method. 2017-08-29 Kohei Yoshida [891b21809ef02a91decec00e6b83b1de6f1f6ce6] Add some class descriptions. 2017-08-29 Kohei Yoshida [d048e01866588056fb3882116feec219982f1846] doc: add the rest of the code examples and annotate them. 2017-08-28 Kohei Yoshida [25196a7de1046ad68332c120d32d2ed3edce1835] doc: this flows better. 2017-08-28 Kohei Yoshida [4951f1b0a9bf526cb5b55a51412d5e6716a4c2f1] doc: add more examples. 2017-08-28 Kohei Yoshida [35801917a0985161aa3fac0a2366b2527df11511] doc: add more code snippets and narratives. 2017-08-26 Kohei Yoshida [60b505a3440950a80c0020f6572d9ca791d0ff95] doc: edit and add some content. 2017-08-26 Kohei Yoshida [d1e03f528ead6e57370cf4c222e044d548350bdd] doc: add more example code blocks. 2017-08-24 Kohei Yoshida [e1c57ee747a090c67d26eb21041aa928fd35a2b2] Add these files to slickedit project. 2017-08-24 Kohei Yoshida [206fd9ba51ad0815ea54c28ba53a610575a814fe] doc: add another example code for direct json doc tree initialization. Not finished yet. 2017-08-23 Kohei Yoshida [3dcd866b0a20d7294772359df061b1035d63c5bf] orcus-xml: rename read_content to read_stream. To be consistent with the equivalent methods in the other orcus-* classes. 2017-08-23 Kohei Yoshida [543cf40fe554fa2b883df8cea2194b93a916c003] doc: update the CLI options. 2017-08-23 Kohei Yoshida [20bfdc6870d68095d7e3779d3e8acbb8871cabce] doc: update the class names here as well. 2017-08-23 Kohei Yoshida [eedf17c9f20aef4cd602202d95ee36d23bc52a3d] doc: update the json example codes. 2017-08-23 Kohei Yoshida [e829380c28ee48eb9935b9b8e2c0e1a056e38eaf] Make the doc example code a part of the automatic test suite. These codes now get run as part of 'make check'. 2017-08-23 Kohei Yoshida [5f33e788ebbe5bcc40ffdb420a4aec68727c2b4d] Add more classes to the doc. 2017-08-23 Kohei Yoshida [337473cb0724a3a80590809261d87fc4c5bc81b5] Avoid decltype and use real type of nullptr. Doxygen also trips on decltype. 2017-08-23 Kohei Yoshida [1e2e43a90a47d7cc0306ee8809f56d8e6bde01c7] Fix the doc a bit. 2017-08-22 Markus Mohrhard [c2c8948110f630c48ed22b0660623472048811ed] orcus_xml: add a read_content method 2017-08-15 Kohei Yoshida [91b1b9cf81b01e5d1fba02b2c2031b5d86c51ae6] Update the changelog post the 0.13.0 release. 2017-08-15 Kohei Yoshida [941a31ca3644c8519146d652f1e24b9c68d60e06] Fix the release date. 2017-08-15 Kohei Yoshida [cd34695b55d598c6573923b638534944e037fc1b] Add URL's to the 0.13.0 source packages. 2017-08-15 Kohei Yoshida [c3b3b36e4a1a3dc97a12f062a483f96bbeaf0259] Update the authors list. 2017-08-15 Kohei Yoshida [0de183f531cf1e7890771ae5bddaf61a292eda5f] Fix 'make distcheck'. 2017-08-15 Kohei Yoshida [dc16a9fdcc1b18b0a892abc7f43a5d26bab03e6e] Set the version to 0.13.0. 2017-08-15 Markus Mohrhard [37450e08b8cf29ddeef6cafc2ab00ae64b7af1ab] add test for underscore as starting character of attributes and elements 2017-08-15 Markus Mohrhard [a9b0ea6e0ac482b0af1a99881507a118e29242ee] also allow underscore as starting char for element names 2017-08-15 Kohei Yoshida [ed7469e397cb5e369a9c6b5f72f2b0c9a1abb084] sax: XML 1.0 apparently allows documents with no header declaration. 2017-08-15 Markus Mohrhard [f9628b892860fa69e4cab5b081ba97899e52f3d5] underscore is a valid starting character for xml element names and attributes 2017-08-15 Kohei Yoshida [1fbd4fb79625afb77cb1a7bb83863a47671109b4] Get it to build with MSVC once again. 2017-08-09 Kohei Yoshida [44964c728b7e4c82ccadd9aff9a7dd60a89c2e75] csv-split: test case for truncating data on the first sheet. 2017-08-09 Kohei Yoshida [922e39517658b35108b53e6e197b0379053530ee] csv-split: make the decision of whether to split the data optional. And add --split option to turn on this flag. It's off by default. 2017-08-09 Kohei Yoshida [967c501e1e358f90ad6b1043963d132404de1c62] Make the --row-size option available in other spreadsheet filters. And move the json specific functions out of the global filter code. 2017-08-08 Kohei Yoshida [929d28276598d27b00344f8434630e5c94b76e40] csv-split: add another CLI option to specify max row size in a sheet. 2017-08-08 Kohei Yoshida [4f57790c168e31ba1e9a5e18000cf67d7db26b79] csv-split: add mechanism to allow extending the CLI args. And have orcus-csv use it to add --row-header option. 2017-08-07 Kohei Yoshida [a9bf0f2182eebc9e3aebe6cede877e5dfb42395d] csv-split: duplicate the header rows when appropriate. 2017-08-05 Kohei Yoshida [dd612f82f5b54d1a75444b8599aa4077093b7c0d] Let's avoid directly touching mp_char. 2017-08-05 Kohei Yoshida [6f8ec8c733ae38f00733af0096bd6b04bcf08794] csv: potentially skip byte order mark if present. Excel-generated csv files may contain byte order mark. Skip it if present. 2017-08-05 Kohei Yoshida [cae53c2d78a43c9db2c94890659dc4238646d3cd] Better output in case of content verification failure. And I just discovered that an Excel-generated csv file contains the leading EFBBBF bytes (byte order mark). 2017-08-03 Kohei Yoshida [c1b3a55ce0fde3fcbe31f3c834b1c2ec9edabff6] csv-split: write the first test, and fix a few things... But it still fails. Data won't get imported in the 2nd column on sheet 1 for some reason. 2017-08-03 Kohei Yoshida [d07e353aa04637c6022ff512cf64b6fe1807b2d7] Re-structure config to accommodate format-specific settings. For now only CSV will make use of this. 2017-08-03 Kohei Yoshida [daf1853174af90ecb37995489ade3e7c15cfab62] csv-split: add new test file to import. 2017-08-02 Kohei Yoshida [fd955033be2c7dc20992e21cbb24a8c16cff37b4] csv-split: add a new method to import_sheet to return sheet size. And use it to decide whether or not to append a new sheet during csv import. It's not tested yet. 2017-08-02 Kohei Yoshida [4cc0e545466c1be1ee0714fa3ef96b83aa4ee681] csv-split: Prepare for importing csv data into multiple sheets. 2017-08-01 Kohei Yoshida [041bcbcf5f9ec4cf16cb6e0f731a7a1207b3f9fc] Actually this isn't needed. Whether or not to quote the cell value is determined at the top of the function now. This line was a left-over of the older method I used. 2017-07-31 Kohei Yoshida [e626f986b89e0f9e919154e12667ceae369ec474] cmake: add new files to make it buildable again. 2017-07-31 Kohei Yoshida [1c80baaf30c7031613cfe76bd13f868dc8f4b55f] csv: correctly handle double-quotes when dumping as csv. Now all tests pass. 2017-07-31 Kohei Yoshida [a896aeab74f829169b40572a872c9cfb7e089111] Add a stand-alone function for verifying document content. We will improve the error output to make it more viewer-friendly later. 2017-07-31 Kohei Yoshida [884e8d09d0c48b9974e6dc16fd240052468eb067] Start defining commonly-used test functions in a central place. They will be used in other test code as well. 2017-07-31 Kohei Yoshida [d2ae5380383757a15d443e4c105891cd9a7d54f4] csv: update the csv test to test for csv dumping. It currently fails. 2017-07-31 Kohei Yoshida [d10f73bd6560badab87d641eb3439a0e83bbc869] Modernize the code a bit, and remove 'using namespace std'. 2017-07-27 Kohei Yoshida [9eb1f0521e774a8ebe9ab6d79248884ca9dc9671] And finally sheet::dump_csv() as well. 2017-07-27 Kohei Yoshida [25b80ac0116bf43bb02d6dae7659c022acc68cf8] sheet::dump_json() to also take a generic output stream. 2017-07-27 Kohei Yoshida [6999a8aa199750f8f8984eedbf920558890e7b58] Rename output->os for consistency. 2017-07-27 Kohei Yoshida [a71086899f25d6fa9297aaf69dd44407b7ef067d] sheet::dump_html() to take a generic output stream. 2017-07-27 Kohei Yoshida [0ad4a861f88e3eac1e7b48ff880fee13f25f85b0] Remove near-duplicate code blocks. 2017-07-27 Kohei Yoshida [c9fe0c67a4288fee6159ae7e9008a9ad0446a03a] Initial implementation of csv dumping. 2017-07-25 Kohei Yoshida [b8903c1672a413b301f40c92aed9082cfe86868b] Add an entry point for csv dumping. To be implemented later. 2017-07-25 Kohei Yoshida [1ab0b47252ceec8e0a72f98dcec9b13b4ad5170c] Re-work the cli option parsing code to make it easier to extend... ... w.r.t the outout format types. The new format type 'csv' is now added, but not yet implemented. 2017-07-25 Kohei Yoshida [593a12b8d567a9dd994b70d108e6c6845b2c3514] fix the wording. 2017-07-25 Kohei Yoshida [aa308d733d8a0cec63b298ad96f4d4d609eeab89] ods: don't output debug statements unless the debug option is set. This fixes issue #41. 2017-07-25 Kohei Yoshida [609ac965561973ed8b891931aef7c26fca4f68a8] ods: use unique_ptr for this impl member. 2017-07-21 Kohei Yoshida [dbd330ba3e7486bd3c0bd8feae556fd31be02ae9] interface: append_sheet to receive the index of the new sheet. This will be used e.g. in case when the document provider initializes with one sheet instead of no sheets and doesn't want to append a new sheet on the first call. 2017-07-18 Kohei Yoshida [4b7786a15a7cea88f37b270fff1858355b0c97ff] Use lambda here too. 2017-07-18 Kohei Yoshida [b036464ed168e40d1d6ef0dc7e05a8709730efe1] This comment is no longer true. 2017-07-18 Kohei Yoshida [ccc0bbbcfa518aea32dfbba736de85e1f222139c] Use lambdas in lieu of the old-style function objects. 2017-07-12 Kohei Yoshida [e6162381b3b5929366395d3af1ddf0b43c1f9837] cmake: enable parallel build with MSVC backend. 2017-07-12 Kohei Yoshida [99e1794c0243a6338e0855f4e22f2426165490af] xlsx: properly handle boolean cell values. This requires latest ixion from the master branch at the time of this commit. 2017-07-12 Kohei Yoshida [4a001c990889f57dec6349456894ffcb099022ec] Slight update on the test file. 2017-07-12 Kohei Yoshida [9791f7ae256e1aa6cc6650870f3b9a89957ef491] Honor the debug flag for --dump-check mode as well. 2017-07-12 Kohei Yoshida [b196b6ef7b56ea420ef1009ce77371b828035abd] xlsx: new test file containing cells with boolean values. 2017-07-10 Kohei Yoshida [5b631bd9fa2bdfa29fb8b56201baee034c2f2f60] cmake: add orcus-xlsx and orcus-xls-xml. 2017-07-07 Kohei Yoshida [791a4cd9e765098e727869f37f2384fd4b103f96] cmake: add orcus-csv, orcus-xml, orcus-ods, and orcus-styles-ods. 2017-07-06 Kohei Yoshida [c2a85ea45a97804183f5bead9892deca53b8f2ae] cmake: add liborcus-spreadsheet-model. 2017-07-06 Kohei Yoshida [7d2f26d993c5184c0a60fb716dcc46c1af12e9bf] cmake: add orcus-yaml. 2017-07-06 Kohei Yoshida [bb0eadb2426bb1c1dad88cfd20eb627a9780a76d] cmake: add orcus-json. 2017-07-06 Kohei Yoshida [acdf115882eab4664823a24f3ad269143efc1afc] cmake: expand the TODO comment for the gnumeric filter code. 2017-07-06 Kohei Yoshida [8b9d2caea39059ab51a56a1b7a86c1121f66d90b] cmake: add orcus-xml-dump. 2017-07-06 Kohei Yoshida [cd24b9f25f04d6ed91eaab541bc3fb1ccd851232] cmake: add orcus-css-dump. 2017-07-06 Kohei Yoshida [103af0abad2155f6513fa645551438cdbcd4c7a7] cmake: add orcus-zip-dump. 2017-07-06 Kohei Yoshida [d530ffd256ed62d62cf81421dd88a7c082744bbe] cmake: add orcus-detect. 2017-07-05 Kohei Yoshida [f79e04b7c1071dcb6518d985905c767d0669961d] cmake: gnumeric code requires boost with zlib and gzip support. Boost by default doesn't build with zlib and gzip support on Windows. Find out a way and document it. 2017-07-05 Kohei Yoshida [3095c6e9144def5584d81e47fc217d0694368aa2] cmake: add the ods filter part to liborcus. 2017-07-05 Kohei Yoshida [5eebd05dc8cb6e8fca69f4f34badd468d1e80d05] Ignore C4251 and C4275 warnings on MSVC. 2017-07-05 Kohei Yoshida [99a47ecadeabc52d39bb9a9de635cd9b738be71b] cmake: add the xlsx and xls-xml filter parts. 2017-07-05 Kohei Yoshida [964aba4815d20f34556c6a3e0afab892cd9b4926] cmake: build the core part of liborcus. 2017-07-01 Markus Mohrhard [a6f4e233ca810f5d1d7974712c1479c47d0b2bb6] fix crash on windows with nullptr in operator<< E.g. http://crashreport.libreoffice.org/stats/crash_details/8962b764-6550-45c9-b08b-e99f5c968d61 2017-06-30 Kohei Yoshida [9dab508d1d786fd346396050f7b431d2c2012664] Use cmake to build liborcus-parser. Thge other libraires will be added later. 2017-06-15 Kohei Yoshida [87104e10f13dc9a9e9159babbfdf0bca5e18a809] xls-xml: import the frozen pane information. 2017-06-15 Kohei Yoshida [c01c28f9d105cf8d2d9befafd47ed963579e6910] xls-xml: import the split pane information. 2017-06-15 Kohei Yoshida [44ed3042d9d462931bb990d5035807bc65587e39] xls-xml: re-use the resolver owned by the document. This way the resolver type is set to the current grammar specified by the client code. 2017-06-14 Kohei Yoshida [3b43f2651c0a232c3b094493ebb6c4c8c08d773e] xls-xml: import cursor selection. TODO : range resolver is hard-coded for A1-style. I need to fix this. 2017-06-14 Kohei Yoshida [f24b1d485410ee7c520975a75bf6d31244b5fadc] xls-xml: updated test documents. Added a new one for frozen pane import. 2017-06-14 Kohei Yoshida [ffb89ec82b1fde21cf825cc0b561781f5b60bd1b] xlsx: add tests for frozen panes. 2017-06-13 Kohei Yoshida [277c2ca1c8c5d8d61b6da4ef10198a3896d5d058] xlsx: add TODO for tomorrow. 2017-06-13 Kohei Yoshida [8bb05bf47f9d142251376e739d53f4b1648d90fb] xlsx: add tests for Sheet3 and Sheet4. 2017-06-12 Kohei Yoshida [c9cb6a696116ada258d6e5e4ba2600358e441493] xlsx: add test code for cursor-split-pane.xlsx test file. Not finished yet. 2017-06-12 Kohei Yoshida [dadd8e2155b9d85f2907127646deafa4611857bc] xlsx: import the pane element data. 2017-06-09 Kohei Yoshida [29b82ffdadfae04f1ffd4cc6171d3867a82c4d23] Revise the interfaces for importing the split and frozen panes. They are not implemented yet. 2017-06-09 Kohei Yoshida [949ca52ad639bd306aa40e8a57477e41bfd05ad2] xlsx: new test file for frozen panes. Frozen panes are slightly different from split views. 2017-06-09 Kohei Yoshida [f05be527bb079ec8304f003f8712d7ffae60d9f1] xlsx: add two more sheets. 2017-06-08 Kohei Yoshida [ae9d4001b0ceb5282e9f01d4c3e75d1a1e721022] Clarify the expectation of what's considered a range address string. 2017-06-08 Kohei Yoshida [63fda4ca2ea59c2ee08e8c72ef5ad3ef1fe23783] xlsx: properly import cell cursor data. 2017-06-08 Kohei Yoshida [2e052056c88781927422a738c29db64d0d53b3dc] xlsx: import selected sheet setting. Now the test passes. 2017-06-08 Kohei Yoshida [9685a1b2780212eeb327303b69f372cdf9ce0a1d] Start writing a test case for xlsx's view import. Still WIP. 2017-06-08 Kohei Yoshida [2ec5388edc8bea441a68d9a345cbe554a52cc929] Minor optimization. 2017-06-08 Kohei Yoshida [d6d2b1be65579ebf4d6e471c6bd798529a16322e] Add beef to the view import. 2017-06-08 Kohei Yoshida [73defadff0a2bbfb92d99dde089c8d94f56f298b] Add skeleton import_sheet_view implementation. No beef yet. 2017-06-08 Kohei Yoshida [636e5c9ab52d02b77020cab3d10b623d9d1f788a] Support optional view store in import_factory. And use it for xlsx and xls-xml for a starter. 2017-06-08 Kohei Yoshida [21471b446e471f86f72e8a47b9a91034d9778330] Use std::unique_ptr for the pimpl pattern. 2017-06-08 Kohei Yoshida [915e8a55aaccaf4f74c372e37a125fad803229fc] Initial impl. for view storage. Not used yet. 2017-06-08 Kohei Yoshida [cd295b761fd2cc29304300b83e267125358142be] Add initial set of interfaces for view import. 2017-06-08 Kohei Yoshida [1fece02a5f68faaf101b51e8127eecbe07dd0e85] Add another sheet for range cursor in split sheet view. 2017-06-08 Kohei Yoshida [39dad0ab00a24baf9327bbe6a1834468a30e4e02] Add new sheet for range selection. 2017-06-08 Kohei Yoshida [ef1886b9a5c1dc8d7ec277e84055ff709d11b114] Add another sheet for range selection. 2017-06-08 Kohei Yoshida [6f493173e1143a86327a0b93df3bf57a534836d8] Add a script to unpack and beautify all zipped XML files. 2017-06-08 Kohei Yoshida [a6d9a2bb0b85babcabf237d9ebcd33bb07fd9d4d] Add skeleton interface for importing sheet view data. Nothing is implemented yet. 2017-06-08 Markus Mohrhard [21f82eface013cb34430ffa20f5462c8e44f36a3] we no longer need the old API 2017-06-08 Markus Mohrhard [da91fda87295c6b76ebe62f6688fb7434c42696b] update boost.m4 2017-04-26 Kohei Yoshida [0fb8477aaa04de95f2afa51095463dcffc03c21d] Add new test files to import some of the view settings. As a starter we're gonna handle cursor positions. 2017-03-31 Kohei Yoshida [8434ea465f85492e6a412570860622e2d69b7f31] json: I guess this code path should never hit (in theory). 2017-03-29 Kohei Yoshida [5d958ef330cc65829ef04f55249700543df8c1e8] json: support object assignment and a bit of cleanup. 2017-03-29 Kohei Yoshida [58fdcb687939d499d0edb9faaac87c6eb8ee40d9] json: perhaps this is a hair bit better than using int... 2017-03-29 Kohei Yoshida [1a52c4afc59d82629f2d18c561a8f4eac2a4a319] json: support assignments of true, false, and nullptr. Also, direct assignment should work now. 2017-03-29 Kohei Yoshida [cc64fa2993fa12722d61e1d2a6f9f9f6071eb455] json: json_value_ov_placeholder is no longer necessary. 2017-03-29 Kohei Yoshida [6c445f78ec9dc6b0ed158077c2cf01c56f7d6756] json: rename value to store. 2017-03-29 Kohei Yoshida [9b978d31f3264505f9d18bc47ac1564056680f00] initial sweep on removing class inheritance from json_value. 2017-03-28 Kohei Yoshida [1031afddae06cff6434b3558105af198e05d9d67] json: it works fine now. 2017-03-27 Kohei Yoshida [cddef5b938a75bd9b44ebc4552d9c8f60353a481] json: assignment of initializer list. The parent() call currently fails. Look into this. 2017-03-27 Kohei Yoshida [12e5a9ce0949012923046014bb1aea724d77543e] json: support additions of child nodes to object via [] operator. Only for a non-existing key for now. 2017-03-24 Kohei Yoshida [3b13f36bce8ce84dbe9e2045f847c35b08498569] xlsx: new test file for autofilter import. 2017-03-22 Kohei Yoshida [b9b5c6439f2af5d909ea289f31f2f966d86219a3] typo 2017-03-22 Kohei Yoshida [6651f882343da8a45a5cdabf4e2ded2ec03dcad3] xls-xml: add a test for colored text attributes. 2017-03-22 Kohei Yoshida [47de1ae5552e2e2f9442a1a7d1fe0171294310dd] xls-xml: add this test file to the list of standard test files. 2017-03-22 Kohei Yoshida [0ef40173dc781830bfedeef2ae23a156a6d2ac29] xls-xml: color attribute is a part of the string format attributes. 2017-03-21 Kohei Yoshida [0bd5dfd20103d6d4255842dd1147598f2db30f8a] xls-xml: pick up colors for string segments. Still the colors aren't getting applied. Need to look into this. 2017-03-20 Kohei Yoshida [c7ddc06423c7fd4927db487bd5203d9c2044db16] xls-xml: pick up color attributes for cell formats. 2017-03-19 Kohei Yoshida [79867b9017d44e531ebe0b8d64683d8b2c7c3335] xls-xml: add test for bold and italic test document. 2017-03-19 Kohei Yoshida [7b4975b6e50c67883035741ad0dd32627d1e8e8b] xls-xml: move bold-and-italic.xml test file to add it to the list. 2017-03-18 Kohei Yoshida [0f14985286ed380e0eca378f65202a7e2cf8904b] xls-xml: correctly handle mixed-format text strings. 2017-03-17 Kohei Yoshida [35bb0226773c4fba87331b517dddfefd4ba7a029] xls-xml: some javadoc comments. 2017-03-17 Kohei Yoshida [197715f5152a02349cf1d4cec0eda60253d91cb2] xls-xml: prepare for storing string format segments. 2017-03-17 Kohei Yoshida [3c3215cb1fb22271a57aff692f58306f5a49aa17] xls-xml: explicit destructor. 2017-03-17 Kohei Yoshida [246b3ea9aeaf414431f73424699da7c583c32b0f] xls-xml: use child context for the Data element scope. 2017-03-16 Kohei Yoshida [d54a2922982f7e320ed00f517ef7e521efd1cbf6] xls-xml: pick up cell string characters recursively. Sometimes a cell string value may not appear immediately under a element. 2017-03-16 Kohei Yoshida [5ed0d8acdaeeefb1b84b27b97848f7c6b0d0d7b9] xls-xml: add missing tokens and re-generate token values. 2017-03-16 Kohei Yoshida [18baca18765de4d86111f71f57443d1de5aff634] xls-xml: use intern() correctly. 2017-03-16 Kohei Yoshida [487a99052672cf28fe0c54404c8a1fb3cd3b13a2] xls-xml: apply cell formats to cells for real. 2017-03-16 Kohei Yoshida [b935d08734d56515bee25faa011141624067e43d] xls-xml: build a map of style ID strings to numeric xf ID's. 2017-03-16 Kohei Yoshida [1d3e4bcbc33ff9568bd1ee4f5a30ee084e5993c2] Let's not forget this structural check. 2017-03-15 Kohei Yoshida [24bc41aa5165128502d84a64d9dd59c7e4d1da1f] xls-xml: pick up bold and italic flags in Styles. 2017-03-03 Kohei Yoshida [5fcd660fd7f89533c9558c0261062fa4ce71d244] Remove deprecated method interface. 2017-03-03 Kohei Yoshida [0c73285fbb8a407c4bf51562a18b8b364e42f5a3] xls-xml: test files for some formatted text strings. 2017-03-02 Kohei Yoshida [678eb01868f0f1953321bc88b0035dbda0099e04] xls-xml: test file for autofilter import. 2017-03-01 Kohei Yoshida [aa1fe204ecc88903aef81f79db585a0d9f0d8dae] Test file to quickly test flat output with utf-8 strings. The second column's right border is not aligned at all. 2017-02-28 Kohei Yoshida [436d9e1d1374e2eb2137b2d267f18131d9c47b6e] Update the changelog. 2017-02-28 Kohei Yoshida [09b8c9b786dc86229d3c49b2fa7518e51e6c9f51] Get the test to pass. 2017-02-28 Kohei Yoshida [321c2e1c61fa5cb2aa793d4d31f8a764658ac521] Support single-quoted attribute values. 2017-02-28 Kohei Yoshida [09ca1954a700aa4c25aad3f820af3c8a2a3be28c] Test XML file for single-quoted attribute values. 2017-02-27 Kohei Yoshida [09ad997a1fdcd9fc79017d5226fd27d5524dabf0] More C++11-ness. 2017-02-27 Kohei Yoshida [7a8fb8865fae90e7c38378f7090d81e7b16ea41e] Use C++11 features. 2017-02-27 Kohei Yoshida [7a29fcf0b8f40486d5fde146db0b27ab9c5cc443] Add the recent bug fix. 2017-02-27 Kohei Yoshida [63cbde920fd309f13142bced6d2bf2c9c11b73eb] Don't forget to intern transient strings. 2017-02-27 Kohei Yoshida [2fe6be4978d7c16b4ddc06702b7962ee5a7dc465] Make sure the row size gets incremented even with empty first column. 2017-02-27 Kohei Yoshida [04a0ce6c5b9048e4d41ee1b5bf4ddf6fc401ae93] Simplify test to make it a bare minimum. 2017-02-27 Kohei Yoshida [786534848ac9dea02cf3baf41a48511e901c7ae5] Casing was wrong. 2017-02-26 Kohei Yoshida [6aac40af3cb2d4147e5c268d89e0aa6ffcf74cc2] Test file for debugging. 2017-02-20 Kohei Yoshida [5e408b16932d500493f398e28682b32d2c473736] json: not meant to be a publicly accessible method. 2017-02-20 Kohei Yoshida [69837e4fdba941bdde50953346f650f7002825de] json: javadoc comment. 2017-02-20 Kohei Yoshida [01a785359fdba3f8a7202d3f7ac2827f44cbabe0] json: tuck the init namespace inside detail. To show that it's an implementation detail. 2017-02-20 Kohei Yoshida [efd19c6add6a36badc3767cdff8729985cfea6bd] json: allow explicit object root initialization. 2017-02-20 Kohei Yoshida [ab98f8bf78be9f77f343db6b93cba986595ca9ec] json: test assignment of non-const node to const one. 2017-02-20 Kohei Yoshida [69c0d5eadc4eb0c4261a29fd39f398940210a496] json: have const_node and node to separate mutable vs immutable nodes. 2017-02-19 Kohei Yoshida [013005a70430d03485c226a01399a748ac4d416f] json: support tree initialization with explicit empty array. 2017-02-18 Kohei Yoshida [4698f1a8323769f80901634024bbc4392e437ca5] json: update the method docs. 2017-02-18 Kohei Yoshida [74e29e6c3909545449b6dfdde39d2835ec3dd47c] json: add push_back() to json node. 2017-02-17 Kohei Yoshida [72044ebd91930df6cc2b4fa1764e477fcedfaaeb] json: support direct assignment of json::array to document_tree. 2017-02-16 Kohei Yoshida [0ffba879b0bb9ce083e87c11725cc983cdb35b05] Simplify this a bit. 2017-02-16 Kohei Yoshida [2de4e2f6522c2e2b6ce62213ef5bf9e857a78632] Update the example code. 2017-02-15 Kohei Yoshida [2c7ccdf9b3fa0e103d7d31bf149d675d7e842184] json: explicit array structure declaration. 2017-02-15 Kohei Yoshida [d07c1b9bc553ff9e4c5ee5198e026f3e763669a8] json: test for initializing nested objects. 2017-02-15 Kohei Yoshida [dd1f9e38b06027405f5a6c625eaa55cfd11cc438] Attempt to fix the ci build. 2017-02-14 Kohei Yoshida [890b08662d63c541612a4265a9ae53cd46809813] json: extra check. 2017-02-14 Kohei Yoshida [cded7573c17db1324ddfe79edfe084b2b323cae0] json: let's turn this function object into a normal function. 2017-02-14 Kohei Yoshida [7d44ba13227a28d339b2ce3a6e536bee2f34afc7] json: support objects in braced initializer lists. 2017-02-14 Kohei Yoshida [69dfc43e3153d2ab124b8d291558a6292183326b] json: refactor it a bit to prepare for object node creation. 2017-02-14 Kohei Yoshida [5d5d11e9db1db44dd9db258ec3f7c3af974f6786] json: support nested array values in braced initializer lists. 2017-02-13 Kohei Yoshida [bdcde4f8bf31519a0c32c71653725e442122dd6e] json: make it truly non-copyable. 2017-02-13 Kohei Yoshida [6d88a5fa2c081f92ff11d0ac72b9f4ad5f32a94c] json: initial work on supporting braced initializer lists. 2017-02-13 Kohei Yoshida [f63569bf6130814a3b6f5a6f93f206d05fb4bd7e] json: json_document_tree -> json::document_tree 2017-02-13 Kohei Yoshida [e291e54253cb7ce0f11d66a641d5f92d4b583c06] json: json_document_error -> json::document_error. 2017-02-13 Kohei Yoshida [f493c1653264c5ba674532f58e33b90166b0cec5] json: remove the detail namespace. 2017-02-10 Kohei Yoshida [26ff3f5301ad00290a5f73ce0080b8d02f87fc5e] Update. 2017-02-10 Kohei Yoshida [9029483610d2d9b907db7884f1ea6e5ad8df97db] xls-xml: add sheet-local named expression import to the test. 2017-02-10 Kohei Yoshida [912a0bd4520aeab1cc5ef311c5b927b5f29a32a9] xls-xml: pass the sheet-local named expressions to the model. 2017-02-10 Kohei Yoshida [8977f24d9d8eaf2364cf470fb2d5494a82543f27] xls-xml: pick up sheet-local named expressions during parsing. They are not committed to the model just yet. 2017-02-09 Kohei Yoshida [8d919424d26cdf3d7b5ada8b0f9e220c4b225003] xls-xml: add test for global named expression import. 2017-02-09 Kohei Yoshida [45be7c80e05e63e21a977bd29ab97c04ef084a1b] xls-xml: import global named expressions. 2017-02-09 Kohei Yoshida [d1187b04f78c51e1c96125a2345a5d801fa07454] Get the sheet-local named expressions to finally import for real. 2017-02-08 Kohei Yoshida [4f36977502c1f7c2653909520e423612aa6b7123] Create an import sheet wrapper interface for the sheet class. To separate the import interface from the actual sheet class. We'll slowly refactor the rest of the import interface out of the sheet class. 2017-02-07 Kohei Yoshida [bdd007b2e1242094037468ff14c644fae4432832] xlsx: pick up sheet-local defined names. They are not pushed to the document just yet. 2017-02-07 Kohei Yoshida [46c6820ea48124733d625e34a6df28aafe45563b] Add test files for sheet-local named expressions. 2017-02-07 Kohei Yoshida [791cd9a9ee27005681da8c250faa77fbb459c0be] xlsx: get the import of global named expression to finally work. 2017-02-07 Kohei Yoshida [b3cb8fe540668d9fe7165a6d66045201c057b56b] xlsx: use lambda to simplify code a bit. 2017-02-06 Kohei Yoshida [6deafd6aeaf4de69a3e4215601419c83bd8b8f1a] xlsx: implement the interface for named expression import. Only to realize that we need to defer this until the end of the import because no sheets have been created yet. 2017-02-06 Kohei Yoshida [f97e5847e5f845015ea68cef81b826a206f5a85a] xlsx: pick up global named expressions. 2017-02-03 Kohei Yoshida [f24e9f5792dc91dd1acef5084cfd4b64bd184018] ixion-0.13 is required now. 2017-01-19 Kohei Yoshida [66a4b33cba7d1a759226f3560f59a69cbb3912e6] xlsx: pick up the anchoring positions of drawing objects. And dump them to stdout for now. 2017-01-19 Kohei Yoshida [39f6eb5fbcc3eaca046d4e457da1d2d6b384d2bc] xlsx: initial setup for parsing drawing parts. 2017-01-19 Kohei Yoshida [2d12b32bfe68948dd07c2dc7da8122dd1de7c9c8] xlsx: add missing relationship type for drawing. 2017-01-19 Kohei Yoshida [8d4d7f2ca036fee3aa75d5bda88e582cb3c88095] Add content type for image/png. 2017-01-19 Kohei Yoshida [9690c72dc9de8a1e99e77f9d71213f5f81f0e338] opc: split out unknown content type warning only when debug is on. 2017-01-13 Kohei Yoshida [56ad5c85d35fbe4cd6f0cf795b95d3e0a2e8ca61] Add new interface for importing named expressions. 2017-01-11 Markus Mohrhard [4fcf7cc97f17aa692f4ae54b228064c5dcbac2ce] print error message if we catch an exception 2017-01-11 Markus Mohrhard [2a074c647619ed8ec1cb7f3869bd8a55124ac166] throw an excecption if the odf styles file is invalid instead of assert 2017-01-11 Markus Mohrhard [db8842edd0f6847a3d354809e83692f61d762f8d] throw exception when the xml stream is invalid 2017-01-11 Markus Mohrhard [dc9365eb070b5120d8b9ac688d25bff28e64dc99] add app for fuzzing the odf styles import 2017-01-10 Kohei Yoshida [1fa13be048b02f7cacd3482a3ea0462060e8800c] yaml: handle key value that begins with '-'. A sequence requires a ' ' to be present after the '-'. 2017-01-06 Kohei Yoshida [e4d466ec1d7d42a3c0fbe5068f5aa99e3b241f19] yaml: correctly handle invalid sequence. 2017-01-06 Kohei Yoshida [b03d389cb39ef17454a32a7f1375a0d6796822fa] yaml: tuck these enum classes under 'detail' namespace. Since they are technically implementation details. 2017-01-06 Kohei Yoshida [378c000c691eba3be5ec7aacf147134f54ebe0eb] yaml: handle sequence with two empty elements. 2017-01-06 Kohei Yoshida [ce21551d54c2705c8c400f59384c3815a6efe425] yaml: handle sequence with one empty element. 2017-01-06 Kohei Yoshida [573e00d0add795d2fff52924206890a0254ec204] yaml: simplify loading of test files. 2017-01-06 Kohei Yoshida [d0efb98b6a07008f997b76429a6674cf87acf7bf] yaml: handle map with empty values correctly. When a value is not explicitly given, a null value is assumed. 2017-01-05 Kohei Yoshida [b3c34ebb74d1e9889334f9d3c5ebfa6cb03018d0] yaml: add test case to automate parsing of all invalid files. And make sure we get yaml::parse_error exception as expected. 2017-01-05 Kohei Yoshida [1c0d381af238523e64dc3569fd9814ecfc628083] yaml: properly handle invalid yaml file 2. 2017-01-04 Kohei Yoshida [d12a21bfde0ba00a729e60f75811d2339a2dedab] yaml: another invalid yaml test file. 2017-01-04 Kohei Yoshida [fafaadf90c7a18d137a29301506a05615d678886] yaml: handle invalid indentation on first node. 2017-01-03 Kohei Yoshida [c51f467faf1834be2bbee446097b767ef3239014] xls-xml: do convert date-time value to fractional days since epoch. So that we can test this in our test code. 2017-01-03 Kohei Yoshida [7fc92a35c4feb956bbefca57f527e418c5680500] xlsx: add test case to ensure correct imports of date-time values. 2017-01-03 Kohei Yoshida [74926871e44b7ac11537ccc4f3ddcfc4d1d7f38b] Add new test files for importing named expressions. 2017-01-03 Kohei Yoshida [f2609828b61f5ee14a46db53fa62d12ed2fcf1e7] Add new test files for date-time value imports. For xlsx and xls-xml. 2017-01-03 Kohei Yoshida [362181569a6ccbbfb47aeae11a32219a22746334] Catch XML parse error and output the details of the error. 2017-01-03 Kohei Yoshida [74f570d65b555b984ad5b768e907e9120435325b] This was added by mistake. 2017-01-03 Kohei Yoshida [8be5e62519e3f51133cbc377ddb3911e601579e0] Test to make sure we are picking up merged cell ranges correctly. 2017-01-03 Kohei Yoshida [8bacfd6549e16e7ea1db1cca8aeae3a4968fc68f] Add this file to the test-file list. 2017-01-03 Kohei Yoshida [55188fa0557ab4b51bd429619c457e40341b850c] Pick up merged cell ranges, and skip columns as appropriate. 2017-01-03 Kohei Yoshida [1e25a5a6a1aba0588a00979222bd22ca9643b6a3] yaml: offset is off by one. 2017-01-03 Kohei Yoshida [df854c7431974362cf0702ef6f9725d2db234995] yaml: try to pass correct offset while parsing the line 2nd time. 2017-01-03 Kohei Yoshida [300794ee7f80ddcf302686dc73afd3a02c61bbc9] yaml: first of invalid yaml files. More to come. We should add a test code that will pick all yaml files in this 'invalids' directory, parse them all and make sure we don't crash and exit gracefully. 2017-01-03 Kohei Yoshida [61fb9a6a61028f65d124f2cc1a7c440321d7a028] yaml: pass stream offset to the exception. To allow generating more useful error message when parsing fails. But due to the way the yaml parser works, the current offset position stored in the parser_base does not represent the actual position of error. We need to rework this to pass the correct offset position. 2017-01-04 Markus Mohrhard [98414a3569d1fb0807761dfd3c667de9a5316682] catch all exceptions before the end of main 2017-01-02 Markus Mohrhard [f022bbbd52f8bdfa744a7b97fae1f125a6d3d563] prevent accessing out of bounds memory 2016-12-31 Markus Mohrhard [2ab3f6003c35fde26c55600b7d99fa0c0f4478f8] add documents from the fuzzer for json 2016-12-31 Markus Mohrhard [ea51673da4fffa995e334cf012bd972e7b93df33] don't try to add the same key twice to the map 2016-12-31 Markus Mohrhard [c7e6a32aab315d6e984b4d33a53be86019736a1c] bail out when we know that the stream is broken Otherwise we would call next() at the beginning of the next iteration which would move the pointer past the end of the string. 2016-12-23 Markus Mohrhard [91a31b5b1a11e2e184a59ae3aea56a06f27dc1a1] start to collect documents found by the fuzzer and caused crashes 2016-12-23 Markus Mohrhard [bab04c19555feb7a80198f0edbb89f8379e881c3] this code can only be reached with has_char ()== false We should not operate on the stream anymore as soon as we hit the has_char() == false case. It signals the end of the stream. 2016-12-23 Markus Mohrhard [f50b0dba46a086203a2747250dd53bed72778ebc] if the offset points at a new line char we need the old row 2016-12-23 Markus Mohrhard [fa25b534a6c0b6c6ad345b68ab43e28be1dd0054] avoid reading past the end of stream if stream ends with delimiter an example would be something like "1, 2," The same could also happen if skipping blanks is enabled with a stream like "1, 2, " 2016-12-23 Markus Mohrhard [7d522bf56bb47ba1d3901e594da19622cccac743] add assert to find when we run past the array 2016-12-23 Markus Mohrhard [23ed3de011df402655cdd5281c8f59aaad9539d8] fix the ORCUS_DEBUG_CSV build 2016-12-23 Markus Mohrhard [95b06f91d08b827080f472aefab4399a085feda2] fix previous commit 2016-12-23 Markus Mohrhard [43805da3c4168ff24b0e6b82041fbe58dc8b4e6d] throw an exception instead of asserting on invalid input This was found by afl. 2016-12-15 Kohei Yoshida [136b2732d47818cd1ec24162f22629ad1739c07b] Add test case for importing merged cell ranges. 2016-12-15 Kohei Yoshida [ead3ea063e6aefb02bc30861f35b74bb6d5d1f67] Suppress warnings unless debug flag is turned on. 2016-12-15 Kohei Yoshida [66a79b077ed1db5bdc98b27e0d7e93a730f74772] Add a new interface for resolving references. And add an implementation that uses ixion's name resolver for orcus' own spreadsheet model implementation. For now, this is used only for resolving merged cell ranges. 2016-12-14 Kohei Yoshida [75225dce1892279afb4a6c69f24053a371675492] Add a new test file with merged cells for xls-xml. It has the same content as the xlsx counterpart. 2016-12-14 Kohei Yoshida [d78c2f32504a7a310d0fcb3a3ae7874a92f64505] Add a new test file for importing merged cells. 2016-12-14 Kohei Yoshida [293cc3ffe87fde91fbcf464c4cb93d4c9bd0c8f0] Update CHANGELOG. 2016-12-14 Kohei Yoshida [12560dce49d1c0b72ac87264a1cb97f96be46d08] Modernize this a bit. 2016-12-14 Kohei Yoshida [006d388528438fa87d598be0e3a8793d50a7b2b9] Add the empty-rows test file to the list for testing. 2016-12-14 Kohei Yoshida [1110e0a5d7212e2f93b5b6a27a2e292f63b57dde] Pick up formula cells from Excel XML. Initial attempt. Needs more testing. 2016-12-13 Kohei Yoshida [ed67b31898c628052300402c40fbdf34f0b01ace] Add a new test file for Excel XML 2003. 2016-12-13 Kohei Yoshida [de95066a32af79913f54736d5beafea75e430cc4] Add test for error-values.xlsx and fix the bug it had uncovered. 2016-12-12 Kohei Yoshida [404b0c0ced25f1e9c38a81a0bf34b6a2ff75c2d6] Use forward declaration of std::ostream. 2016-12-12 Kohei Yoshida [b207c87bccda578165d83f1ddf6d29f497611502] Implement and pick up error values in pivot cache's shared items. 2016-12-07 Kohei Yoshida [a30063119ba5c32cbc2cb0bcad3fe089834d5532] Add a test test xlsx file with pivot table with error values. 2016-12-07 Kohei Yoshida [014921a907c87ee18c921717e573a10a4716d8b2] Add more test on pivot cache records. 2016-12-06 Kohei Yoshida [6e7d02b50d26b257fc9c2948c1110086e9189186] Extra blank line. 2016-12-06 Kohei Yoshida [aeff7302828681771c6600dee7def40a047f09e8] Rename datetime to date_time, to be consistent. 2016-12-06 Kohei Yoshida [77ddd653d28a40945fc468a1e57d4ed251bd6a3c] Add tests for pivot cache records. 2016-12-05 Kohei Yoshida [5d4d9b9c40fdd2b912dfdeb6dda2d031df1a4a0d] Import pivot cache records for real. I still need to add tests for this. 2016-12-02 Kohei Yoshida [db76e54622c2fc087fa802206f4afa91a8e4ee50] Implement create_pivot_cache_records(). 2016-11-28 Kohei Yoshida [87b5078fcc9c399fe9a8a8c431f12ffde42436e2] This will be stored inside the field structure. 2016-11-28 Kohei Yoshida [44a30d875ff8277ba862efcac97ff39878dc3669] Rename string to character, to be consistent with pivot_cache_record_value_t. 2016-11-28 Kohei Yoshida [466f0755d99bfc5a6c4409c6b7ff4b2aef4c587b] Rename datetime to date_time. 2016-11-28 Kohei Yoshida [29ae32ba1bbfd814e5aab0de03eb69b50d608871] New structure to store pivot cache record values. 2016-11-23 Kohei Yoshida [f958047fbd59000d3219571070db9ffd97549610] Pass the import interface instance to the pivot cache records handler. Still no concrete implementation yet, so nothing happens. 2016-11-23 Kohei Yoshida [9da789d10a898b1f08f40b62509b86899083d5e6] Pass the pivot cache ID's to read_pivot_cache_rec(). 2016-11-22 Kohei Yoshida [426f8fd428093e1b91cbc8cd020d11cc1c8a5546] Make opc_rel_extras_t moveable. 2016-11-22 Kohei Yoshida [8335b96e8d1b44a735450a75c3e8894f449e475c] Use std::unique_ptr in opc_rel_extras_t::map_type. 2016-11-21 Kohei Yoshida [1d00aaa8c8d1d9ea33debc4d9189b0d7915f9775] Separate the pivot interface implementation classes into own files. 2016-11-21 Kohei Yoshida [f7c2a91a415623b2c441a8919c53c719f04f8a33] Use date_time instead of datetime, to be more consistent. 2016-11-21 Kohei Yoshida [78e8f9f41dcea809bfaad8d38a307933a279d910] Add more interface methods to begin with. More will be added later. 2016-11-18 Kohei Yoshida [fa741fa7137116b9598c3e0b3df13c63297c57d4] Start defining the interface for importing pivot cache records. 2016-11-16 Kohei Yoshida [b9e137c10c34ff33beb4ec6283f6e0af5f99bbe5] Add documentation to the rest of the interface methods. 2016-11-15 Kohei Yoshida [5c327a1b5bff32f27e42a557594fefea2007d0e8] Rename range group field setters to start with set_range_... In order to make it clear that they are for range group fields. Also add some method documentation. 2016-11-15 Kohei Yoshida [6aae717f0624c5924a4b0c97417e6daa48e65070] Up the API version and set the version to 0.12.99. 2016-11-14 Kohei Yoshida [616e16e50615c2cca367987e087331731fbb51a6] Supress more debug outputs in non-debug mode. Still quite a bit more to go. 2016-11-11 Kohei Yoshida [73c161e80d262add07d9db971e66f771505df39d] Typo. 2016-11-11 Kohei Yoshida [79b80e6ae544ca10aba845b9a9ee99a3cb170194] Add the rest of the test. 2016-11-09 Kohei Yoshida [4f824f15f8949c3e93b0469278f6f8cb4a39e8fd] More on testing. 2016-11-09 Kohei Yoshida [7c2351d70286cf7ecaf5a61e413d9697494c1de5] Just call it set_interval(). Since the class name contains the term "group" already. 2016-11-09 Kohei Yoshida [73e12de573bd07c5406d9cd4370b80ddf68b5d9d] Pick up the start and end dates from rangePr, and test their values. 2016-11-07 Kohei Yoshida [39da5febea93c27466b124fa9ff6cf2b7391dc76] max/min datetime to date. 2016-11-05 Kohei Yoshida [bdb8084a5a877c6e144ccb2e177829b2f0894ce5] Call this to_string() for consistency. 2016-11-04 Kohei Yoshida [bfad95ab030df81d4559719e1e5978bc92c559c8] Pick up range grouping type. 2016-11-01 Kohei Yoshida [f1e33d6bd34115fce97c139db665f42d214affe1] Test the group items. 2016-10-31 Kohei Yoshida [3403470ba7ca77fac24d0faa6a7830f125e59887] Pick up date values as cache field items. 2016-10-28 Kohei Yoshida [3afd743e84992bc8892583b2a3141d8c2ef25764] Pick up min and max dates of a field. 2016-10-25 Kohei Yoshida [4784901d339fb0c99917bf0385fa073fb9dca1e6] Next target is group-by-dates.xlsx. 2016-10-25 Kohei Yoshida [721e08b1684d5f27b03c77dcb1e83d719918605a] Test the 2nd field. Now I'm done with this document. 2016-10-25 Kohei Yoshida [e24c81121a11f53892839032ec8f9330cc3c64f2] Add a commit() method to commit the field group data to the current field. To be consistent with the rest of the orcus interface API design. 2016-10-24 Kohei Yoshida [dd225ae209bc5bcbdbd8eeb26161dd0bc61e43b8] Pass the numericn range properties and add checks for them. 2016-10-22 Kohei Yoshida [dc2a01d63d36573f42d064875414bc10888e79fe] Parse the grouping properties for numeric ranges. 2016-10-21 Kohei Yoshida [beadbd4bfd24235e0eec99d81ecc57d54ede5c61] More test code. 2016-10-17 Kohei Yoshida [d4c65665e0b357dc1e170234bb1f3930e64d1cdd] Add a bit of a test code for numeric grouping. Still lots of test code to be written... 2016-10-17 Kohei Yoshida [5da7642b2ef3d1dd1fbb473a1f86838793a40f97] Have the low-level numeric parser support parsing exponents. 2016-10-16 Kohei Yoshida [f396068a778f14677356cd1266ccf3e73f5d90a4] Add get_pivot_cache() helper function for test code. 2016-10-16 Kohei Yoshida [08f4dd61001350c66451e5cc41831fec426eeba6] Rename set_field_group() to create_field_group(). 2016-10-15 Kohei Yoshida [9cff3040b0d8d68c97b42051e6e3573a21d61ae7] Pick up group items and add a new test case. 2016-10-15 Kohei Yoshida [02324aeaa29598c609487ffd61c2c18c093963a4] Pick up base-to-group index linkages. 2016-10-14 Kohei Yoshida [efb549b15b0d3fb8920e566ad33e9ed3a0d4af5f] Getting ready to receive group field data. 2016-10-13 Kohei Yoshida [c5c209e9fda5acdef8cbd773898f11cf6f6ebe8e] Define the structure of a group field. Not used yet. 2016-10-13 Kohei Yoshida [0b1544528afbd05d5364b8663c2c98c9af9783ec] Parse group field related items. Not passed to the model yet. 2016-10-10 Kohei Yoshida [d93e56db7432fa304b0b07102ca2f236bd2edfdd] Add empty group field type, and rename structs for consistency. 2016-10-10 Kohei Yoshida [266c14b2f49b501a39504dab6def235eb7e9c39a] Check the 2nd field of cache #2. Nothing eventful. 2016-10-09 Kohei Yoshida [4fb56e6ddfc3c97cab684685f303340c05f12b25] Handle unused items. 2016-10-09 Kohei Yoshida [607134465fc5110c57880f6cfbbc2c1acdbaee1b] Import field with string and numeric type items mixed. 2016-10-09 Kohei Yoshida [38260f4cf22e10509be36fedd4fe687224632b2c] Test the content of the 2nd cache. 2016-10-09 Kohei Yoshida [5d0049a3b30b9c25db896d6c231fc3193fcf5bdb] Import min and max values. 2016-10-07 Kohei Yoshida [9d02b357e35bc2483c061d3fea8a517cd8fd4d6c] Check the content of field with only string items. 2016-10-06 Kohei Yoshida [511f4173e8ccde182f7a62296a22bbc8b5eb4ec2] Test file with pivot chart. 2016-10-05 Kohei Yoshida [363c1cc7d63bb2c201da88e659fb2947f1294564] Store cache field string items. 2016-10-05 Kohei Yoshida [42a0f489e7e69dba9b55550695df10699f0073d8] Prepare for sending field attributes. We'll switch to set-attributes-then-commit style of interface for import cache fields. 2016-10-04 Kohei Yoshida [c01f923687a33cd179988dbda9dd76a63b03d273] Apparently there is "mixed types" and "semi-mixed types". 2016-10-04 Kohei Yoshida [69b0333c55679d732db49dabf890b4ab2f8e83e6] Pick up and store attribute values of sharedItems locally. They are not yet passed to the interface yet. 2016-10-04 Kohei Yoshida [7defaf70babe94de0db7e5c8813a6396e671fc8f] Add new excel file with pivot cache with mixed type fields. 2016-10-04 Kohei Yoshida [66981f7c1b848d95dbd758605d60736211a50562] Check the field names. 2016-10-03 Kohei Yoshida [c2a87a68b771bcbba59bb2bba26b62fd3e20ba45] Import pivot cache fields, but no field members yet. 2016-09-29 Kohei Yoshida [bf5843c13e52cfe296aa524f7faf09eb67f3ffe6] Start testing the pivot cache import. 2016-09-29 Kohei Yoshida [1f1cef5dc87810ebfd1720c3fa851c15d6052882] Add mapping of source range to cache ID to detect duplicate caches. 2016-09-28 Kohei Yoshida [9035df987b1757cf3c10fa09000d97154769463c] Introduce pivot_collection to store pivot related models. 2016-09-27 Kohei Yoshida [4cb693c44cb4cb0bda37f6710fc01044c777cb4c] Let's create a separate wrapper for pivot cache import. Still WIP. 2016-09-26 Kohei Yoshida [886a6d77f64854f42be3b168c8cc76c5d3c9410e] Pass the worksheet info to the pivot interface. 2016-09-23 Kohei Yoshida [a9083ced69137684d00868663c360ab07d08c8fd] Create and pass a pivot cache import interface to the context. 2016-09-23 Kohei Yoshida [1372858f2fd0b869dfd575d20056740f8f1b0f71] Some renaming of variables to make them more representative. 2016-09-22 Kohei Yoshida [cd60a8e5fb8b010d2c95759f25fc87de7dbc1ac8] Use the actual rank values rather than the schema type values. Because not all schema types are ranked. 2016-09-22 Kohei Yoshida [e071b92b8cd495e9c7a613156b7ebd81e1e7ad47] Re-order workbook's relations to get shared strings imported first, then pivot caches seconds, before the sheets get imported. 2016-09-22 Kohei Yoshida [3f23a2f92ff2f1a6bc2bc467e7bf23c07d1c4afa] Store the pivot cache ID's to relation ID's mapping from workbook.xml. 2016-09-22 Kohei Yoshida [ee665d086b2f043f4c7a3bfdb74f7466b875672d] Let's use closure in lieu of a function object. 2016-09-22 Kohei Yoshida [855c1a18fabf89ad6c878b87e23a6d2a24d306bc] Instantiate a pivot cache instance. Still not used during the import. 2016-09-21 Kohei Yoshida [0c3761571fa800f11dd5258845f1c8a1740347f4] Set up a new interface for pivot cache definition import. Still pretty much empty. 2016-09-21 Kohei Yoshida [89c454860cf7bfd149c7381a697dbcfee6ce56e8] Add several new test files with pivot table data. Saved by Excel 2013. 2016-09-21 Markus Mohrhard [9e928d9f144d78b1302bab3d4b6d87aa1b792e65] try to install ixion and build with spreadsheet model 2016-09-21 Markus Mohrhard [b58480edb261953ef576eea08fef1683f6921f87] call make check as well We are not using the testing stage right now because I was unable to figure out how to make the testing stage use the binaries built for the build stage. 2016-09-21 Markus Mohrhard [9df89a3abb079b061400c277aa7f4eedbb39e5cc] autoconfirm the package install questions 2016-09-20 Kohei Yoshida [c31a6614aa94b1642f3f0816c2ce7174c3c03e1a] Parse pivot cache information stored in workbook.xml. 2016-09-20 Kohei Yoshida [3be2fdaaa7ab278a6b3424966e0bb1bd5b20955c] New test xlsx file for pivot table import. It has one sheet that contains 3 pivot tables and 3 data sources. Saved by Excel 2013. 2016-09-20 Stephan Bergmann [05d3e608ce09a9cf34aa085de6180978a03f0f13] Allow passed-in CXXFLAGS to override -fvisibility=hidden e.g. needed by LibreOffice, see "external/liborcus: Let us override -fvisiblity=hidden" 2016-09-19 Markus Mohrhard [1b8354f68585a0c659afb35c8d3f586de88fc702] somehow the ci infra tries to start fresh for the tests We disable them for now. Without the spreadsheet model they are not that useful anyway. 2016-09-19 Markus Mohrhard [9fc5c84f0e5ba6266df3057c80af8279e03b7c04] -Wtautological-compare, compare against the 'other' parameter 2016-09-19 Markus Mohrhard [36e1fdf8225ee6a5c6408a6dea9098f139835802] install python3 in CI 2016-09-19 Markus Mohrhard [1cbe852309e1168297bc6538376755c405ae3632] try to be more resilient with downloading packages Conflicts: .gitlab-ci.yml 2016-09-19 Markus Mohrhard [c2047db5dc7fab008983cf4100a68d728e5b8955] try to clone mdds for orcus builds Conflicts: .gitlab-ci.yml 2016-09-19 Markus Mohrhard [5225b54537d77cdd26140fb0e7c0dcedb660a34c] we can't use the mdds packages from the distro 2016-09-19 Markus Mohrhard [9d08a0b04d64eb982f558ec77c422455a267e6ea] we need to use the old ABI for the CI builds 2016-09-19 Markus Mohrhard [993ecfb7dc27564522a5b406f2c680f61d76b11f] the ubuntu documentation about mdds packaging is lacking 2016-09-19 Markus Mohrhard [9c4f5b7e645b577f34cb3f3c03079f9c5b096d44] install pkg-config and mdds 2016-09-18 Kohei Yoshida [1b89a51c097735730fe074fbc599d8b535e4cf8b] Punctuation... 2016-09-18 Kohei Yoshida [62430cc05bb5ce1bc3feee483efcc1f3220a25ba] Add 0.12.1 packages to the download section. 2016-09-18 Markus Mohrhard [10ee7ec58fc057f123dac5a89fb3f8a7e830e30f] fix the boost install command 2016-09-18 Markus Mohrhard [ef072309d13894f394f3db076bc23bf3a2ebacd4] install all boost development packages 2016-09-18 Kohei Yoshida [9bd4c5459c266fdefa62afb044cb0857f15d6998] Add boost-filesystem package for CI. 2016-09-18 Kohei Yoshida [638c70faf2f0e3c07dfa79b70d61ec08e851bc90] Update CHANGELOG etc. 2016-09-18 Kohei Yoshida [175d7e743e40e4e10b82d4603f06d54b80d0a584] Remove version number from the boost dev package. 2016-09-18 Kohei Yoshida [f4969601e79b37a1e0b63b49b75f3739a1824e35] Install more packages for the CI. 2016-09-18 Kohei Yoshida [8eaa932123d99bdfacd17aab692cc02809e6ab92] Load stream as binary stream. Apparently without this, the stream doesn't load correctly on Windows. https://gitlab.com/orcus/orcus/issues/30 2016-09-17 Markus Mohrhard [172faa0a99481d84d5bb2f3296261e29aa5e603e] Add initial CI support 2016-09-16 Kohei Yoshida [4a0a45f9fed05f0fd8afac1bd4b0ec8a22a7fd70] Python's xlsx API implicitly depends on the spreadsheet model. When --disable-spreadsheet-model is passed, we should disable Python's xlsx API so that it builds fine without dependency on ixion. 2016-09-08 Kohei Yoshida [7588097dc08c0692d2287d87ee425cfc61447ae6] It's element s, not x. 2016-09-08 Kohei Yoshida [74cfb7010a3385350d8f88d92afc8dc93751d987] Improve the parsing of pivot table contents etc. 2016-09-08 Kohei Yoshida [26f28ff6ea4de65337dfc1b40323b0ff1870e900] Get the debug flag to work again. 2016-08-21 Kohei Yoshida [78cf3467cd4ff29207d677714e52b81a2346fadc] Add download entries to 0.12.0 packages. 2016-08-20 Kohei Yoshida [ff4bb90adb4db0ff68e9904c21293724ae9b2356] make distclean finally passes. 2016-08-20 Kohei Yoshida [5ee9bfc343ec974f292d5aac197535d8f73d9977] number-format.xml was missing. 2016-08-20 Kohei Yoshida [341ad741c9d1467a820085b30db7413b528ed680] Test all python tests to pass under 'make distcheck'. 2016-08-20 Kohei Yoshida [5d7872796438baacb46e6859fc330f8d8088b2d8] Work toward getting 'make distcheck' to pass. 2016-08-20 Kohei Yoshida [b4422e594e60a3351be6fe377062892dd4d8cc77] Update doc files. 2016-08-18 Kohei Yoshida [e49518922404a11f16c10b9a832c68bd17cba9b4] Use data() here since we don't need a null-terminated string. 2016-08-18 Kohei Yoshida [7719f87f1ac6dcc7ca1cbff7a5b1eda28861ff0a] Handling of encoded unicode characters may fail. 2016-08-18 Kohei Yoshida [45d7e7a95a05bbfabe16a7750c9f0a0ed35f5174] Extra line. 2016-08-18 Kohei Yoshida [9b01bca0f5202ff38173aa7f5398671473d6deb8] Revise the function documentation a bit. 2016-08-19 Markus Mohrhard [3bc601326e326bcc27b370a2b7b89bb02c4e34d9] add items to CHANGELOG 2016-08-19 Markus Mohrhard [3b1fc92c5e54931d48fc66b57eadb4abf7721970] cid#169010, uninitialized members 2016-08-19 Markus Mohrhard [8321dce1f84aaac2df8d875139540798eda5eb90] cid#169009, missing break in switch 2016-08-19 Markus Mohrhard [011cb56a536f5c092c784d9cec14487701756585] remove unnecessary member variables 2016-08-19 Markus Mohrhard [037e1edc9e62f439a347a2f3d4823da232ac9b03] create less temporary objects for unicode decoding 2016-08-18 Jaskaran Singh [e9fe31aa28dd5a278a60d92b1671f4ec333a6213] Add test for decoding a unicode string 2016-08-18 Jaskaran Singh [9f3de32151e29e3a1523e9ec7fcc13c9c29f2219] Add code for character reference in sax parser and re-enable test related to it 2016-08-18 Markus Mohrhard [06aff1c8a9afd0c99992fb136f2ca7fce7b3af36] add initial code for handling escaped unicode characters 2016-07-26 Markus Mohrhard [36e0e645bd00b5c383ed67ff1554811e10601883] fix indentation 2016-07-26 Markus Mohrhard [f44c39ff0804d7d8b8bea72bb06e6968e85c09ce] use the color attr parser instead of own function 2016-07-26 Markus Mohrhard [4875f8b14b48eabc42cbc4a3736805f2ed6c9cd3] remove unnecessary underline type solid and single_line should be the same. 2016-07-25 Markus Mohrhard [ba1a48655d32df358cb5919af3d61f0f79d41f77] we need to intern transient strings if we store a reference to them 2016-07-25 Markus Mohrhard [51cffeae8d3767a7783b4af29ccb233b78c8137a] use nullptr everywhere and remove use of NULL The mix of NULL and nullptr became a bit confusing. 2016-07-25 Markus Mohrhard [86292ae249b7c56a926d1ae748dae953c8b0acf4] fix a huge number of unused parameter warnings 2016-07-25 Markus Mohrhard [feeca2012005e942aca7c334c69562d400a04f06] fix warning: "moving a temporary object prevents copy elision" 2016-07-25 Markus Mohrhard [43c7455793f8b1741eedcf62ce72351bdb9366db] remove unnecessary variable 2016-07-25 Markus Mohrhard [9f951d8f9e8079e96e28cc7b9bdc9f3a04e8fdac] let us use the full namespace prefix in the header 2016-07-25 Markus Mohrhard [6bf3d7537fa935ec2dbd9700c64535d90ddb7c6a] use sorted_string_map instead of own implementation 2016-07-25 Markus Mohrhard [ad47a630ed2f70522c2ccb1d23ee285317e97575] assert correct sort order for sorted_string_map in debug builds 2016-07-25 Markus Mohrhard [df887008f7bc74ed2d0cc5c0c38841f4a1905beb] fix cell style odf test file 2016-07-25 Markus Mohrhard [8f2498e59c5716be0814bc87bb59198782a67297] pretty-print test ods cell style file 2016-07-25 Jaskaran Singh [3d412381b2274f875f957d477d20aa905a8ebd1c] Add test for odf text alignment 2016-07-25 Jaskaran Singh [5c2e75a4e3e1d4d65b3d95dcaf92a1a3ae8874a1] Import odf vertical and horizontal alignment 2016-07-25 Jaskaran Singh [d524f93c688f1fce1448803ae92a4b4bfc95747c] Add paragraph properties parser class 2016-07-25 Jaskaran Singh [c0c79b2337996868005cf7b4e7f0c4c394f85f22] Add case for vertical alignment to the parser and related functions for it 2016-07-25 Jaskaran Singh [8dc4430364c2cf9e2074c6deefafcf70b327bda0] Add extract alignment attributes function to odf helper 2016-07-25 Markus Mohrhard [c833445c12406b96ddc510d64bb507d4d872a5d8] add license header to new file 2016-07-25 Markus Mohrhard [931b4246b520f59bc554ac1efecec55d891859b6] disable that test for now Related to issue #27. 2016-07-25 Markus Mohrhard [ee292f8edcabf670a7e815183001eb1b123361cf] small stylistic improvements 2016-07-25 Markus Mohrhard [171f5e415fe0e9b908266ec7e59eef33656a6728] avoid test failure by reseting character variable in start_element 2016-07-25 Markus Mohrhard [0efdff8dd9f44e5c9be8968f5701752cc0230d5c] correct handling for transient strings in odf number format import 2016-07-25 Markus Mohrhard [86308d001f62aed98a862fedf6877070342d7b00] ithe entries need to be sorted 2016-07-25 Markus Mohrhard [f6b8b4b772938c18f8813faf5bed4ac644ea88d7] add a few missing breaks 2016-07-24 Markus Mohrhard [e972e936831cd00189e3344458b5e968465a3a3f] rename strikeout to strikethrough 2016-07-24 Markus Mohrhard [a86e5df580efb6bcf354ae025221849c5eb55a83] fix number-format style test file for ods 2016-07-24 Markus Mohrhard [91325818033c0b48f93adde908e50b25192d9920] format the cell-styles odf test file 2016-07-24 Markus Mohrhard [09e11140113fdea975e456157de337a7a3e1b150] const for by-value return values makes no sense 2016-07-24 Markus Mohrhard [3cd1fc8a41dbd416083636373f88e327ea8b2d38] add some more strikethrough values from the ODF spec 2016-07-24 Jaskaran Singh [cdaf4433178a473bc77b3f2e8f942c80bee2ff88] Add test for ODF strikeout 2016-07-24 Jaskaran Singh [4cfa770c5a96c099a196ca70830dd47901d8f4b7] Add code for importing ODF strikeout 2016-07-24 Jaskaran Singh [4d775034aaebd04838f336ba0a452500c0906438] Remove un-neccessary entries for odf border style 2016-07-24 Jaskaran Singh [7e1a44fead65d8631e416ff4271f97433ecb3d41] Re-implement Interface for importing border width 2016-07-16 Kohei Yoshida [e2b8c919f7c50e6690e56a62864e373b008cc26a] Adding new files to the slickedit project. 2016-07-15 Kohei Yoshida [6da3d8f4922e501f9685761e91e6014ab565835a] We now require ixion 0.12.0 (API version 0.12). 2016-07-14 Jaskaran Singh [703f568dcf5be7dcea58100b754f49f79883a0a1] Fix for Coverity report - Fix memory leak Resolves the following issue: coverity#164673 Full report available here: https://scan3.coverity.com/reports.htm#v34198/p10518 2016-07-14 Jaskaran Singh [69fd63423e977a78c1210ea2b40965e73ee6d674] Fix for Coverity report - Initialize variables Resolves these issues : coverity#164683 to coverity#164677, coverity#164675, coverity#164673, coverity#149352 Full Coverity report available here https://scan3.coverity.com/reports.htm#v34198/p10518 2016-07-13 Jaskaran Singh [0e12839333f2cf620c60c0e1dc1227f282930061] Change order of function calls in commit_default_style() method This commit prevents libreoffice to crash because of wrong order of function call 2016-07-05 Kohei Yoshida [07dd57cda627dfe0bb32042c64e237d1d5c5a374] Rename build-doc-* to just doc-*. because *make* *build*-doc sounds redundant. 2016-07-03 Jaskaran Singh [f9a8d20b88ec599c703beba78139c3798b8dee9e] Make generic classes 2016-07-03 Jaskaran Singh [ea7d8b75f7aa5c91d6378d937b312871709cf217] Restructure ods styles test and test cases for number formatting 2016-07-03 Jaskaran Singh [4cfccdd5a4e372200a09361a3f4fea4ce88ecad0] Add test document for number-format 2016-07-03 Jaskaran Singh [e45bc8b77a624cace0e1a5c5477eaf8e8f2d05ac] Add code for mapping number format styles 2016-07-03 Jaskaran Singh [dcd22e95a2fa4c881cc0a51ebebd045d8a596cf1] Add code for time number formatting import and a few quick fixes 2016-07-03 Jaskaran Singh [12ec0b17892cfca97739604365dd649dbfcf74ca] Add code for date number format import 2016-07-03 Jaskaran Singh [e6fb2cacaaa0d18aa89e211918482c231cde421f] Add code to import boolean number format and fix for fraction parser class` 2016-07-03 Jaskaran Singh [c17c185d7f0e194ce17a6f90cb1c2103a834778f] Add code for text style import 2016-07-03 Jaskaran Singh [b32d2c0858c4e78e45737b41982d5008fa36a3cf] Add code for scientific number formatting import 2016-07-03 Jaskaran Singh [e3f3ee3c9397922e739a17153e6649c53e92e89a] Add code for percentage number format import 2016-07-03 Jaskaran Singh [ffa92b57b07700ee8e002f92833a135536bb16e5] Add code for importing currency styles and its sub-elements 2016-07-03 Jaskaran Singh [81886cc2b590c3447568f756d0fd08fd0f09e202] Add ODF Number formatting as a child context to styles context and parser classes for it 2016-07-03 Jaskaran Singh [89db6c730ebf8359c4c083e9c3135ddf7ca214ac] Switch orcus_import_ods from xml simple stream handler to xml stream handler 2016-06-27 Markus Mohrhard [54a4b3c761a709989486d6405a9b21de604a9646] add license header 2016-06-26 Kohei Yoshida [ddae07284f441519fdfefdafeb5bdacfb5a79ddd] Make sure the key references the string instance that just got moved in. 2016-06-26 Kohei Yoshida [21fbfce5e5becfa118c3acdbf410c0ac539d4e1c] Properly parse ods' content.xml using threaded parser. We need to retrieve the string pool content and merge it with the one in the session context, to make sure all referenced strings remain valid. 2016-06-26 Kohei Yoshida [463fa41d114555c2a9ac0073d5c783527a94ec41] Have both xml_stream_parser and threaded_xml_stream_parser. Because we don't want to always use the threaded xml parser across the board. For small-size xml stream, using 2 threads may be slower. 2016-06-26 Kohei Yoshida [fc74b6fbf2eef5c1b72676bc35a8331df26e6b70] Remove exception class that nobody uses. 2016-06-26 Kohei Yoshida [d58bfe104615f533822a037fbc19a12fa8676f95] Add swap_string_pool() method to both threaded json and sax parsers. To allow the caller to retrieve the string pool used during threaded parsing. 2016-06-26 Kohei Yoshida [37d2ce78bb074f7a1befd99b217abd7de6b3a57a] Support merging of two string_pool instances. 2016-06-22 Kohei Yoshida [26407cdb30fa0f9f8f2854d8007b71173ca2aa1e] Add configure option to enable/disable threaded XML parsing. 2016-06-22 Kohei Yoshida [8243b2e6333f8007060a9d98e557ff75a3115e1a] Finally pass the element and character values. Now the test passes. 2016-06-22 Kohei Yoshida [a7649d5c9d4c38ca32011c55c9e0b630b64ca191] rename sax_token_parser_element to xml_token_element_t. To be consistent with xml_token_attr_t. 2016-06-22 Kohei Yoshida [a758f4b94223932fb7d3e7bede37c06df34147a2] Implement constructors for sax_token_parser_element. 2016-06-22 Kohei Yoshida [e1706326ba6ba3715f3820a553922a47abf5fbaf] Document how to debug a test program. 2016-06-22 Kohei Yoshida [cede21cd252a90f6b735428a846bf77bbf34f526] Actually start parsing. We still aren't converting tokens into client callbacks. 2016-06-22 Kohei Yoshida [e6ca1f6108c7ddb1ed94fa5221ed533ce9174c72] Initial setup on threaded sax token parser. Still non-functional. And test rightly fails. 2016-06-22 Kohei Yoshida [8454b85ab963fa0e6f3afc0906d183577b19d0ca] Update the help text to add the json output option. 2016-06-22 Kohei Yoshida [e0f83db6d99966bf27191bcee1cda45ea7fedb09] Escape json strings properly. 2016-06-22 Kohei Yoshida [f530e91c9a17789eaf3884c828169ef91cdd31a1] Handle formula cells in json dumper. 2016-06-22 Kohei Yoshida [ae00044b52255615f2d759c158d1d43379c21bb4] Dump cell values, except for formula cells. BTW, this change requires mdds 1.2.1 or above, for the handling of boolean element block. 2016-06-22 Kohei Yoshida [a8bebedb4faba8d7bdf0abbdddd794aeb491f034] Use column labels in lieu of column indices. 2016-06-22 Kohei Yoshida [2636a7af9d98223c3d2d764469dc485defdfaa15] Iterate through cell data, and dump some json content. Still work-in-progress. 2016-06-22 Kohei Yoshida [b318c95f8254514361aec3dd54dc1c492b78a11d] Set up a skeleton for implementing json dumper. 2016-06-22 Kohei Yoshida [1bb896b1136d2d069d9df47d8bcd9a12ac42d89c] Use lock_guard for simpler locking needs. lock_guard is lesser overhead than unique_lock. 2016-06-22 Kohei Yoshida [9e9d5515b57546c37d40cde3275f30f077b57dcc] No need to have this atomic. m_parsing_progress can only be changed by the parser thread while the m_mtx_tokens is locked. So, as long as the access is being made while the lock is held, it's safe. 2016-06-22 Kohei Yoshida [813533944543aa30896f0fa8b60e29553a7e22b1] No need to check on parsing progress ahead of time. Even without this it should be the same outcome. And it may be slightly faster since we can skip the branching on every single visit to next_tokens(). 2016-06-22 Kohei Yoshida [704ccfd25481e56883c4f9bd1a6b12598a8c580c] Just use one mutex since we are only protecting one data member. 2016-06-22 Kohei Yoshida [f1bc4fef8ac5ec7af5a700526e5618047ae86cbd] More fine-grained locking, to avoid holding lock more than necessary. Also, change the parer token buffer type from deque to vector + reserve(). 2016-06-16 David Tardon [875639f08a3294699dbdb1f57410598b273a2a5a] update boost.m4 to fix version detection with gcc 6.1 2016-06-15 Jaskaran Singh [9b3ebb679d5da6f9b5333c536293d35e8a0125a0] Add test for odf font import 2016-06-15 Jaskaran Singh [88f2c5e369be6d123727773fcf9072832d7c5a97] Add code to commit font underline 2016-06-15 Jaskaran Singh [10d207d3a4c5344e24008c6b9338ab95fbb79235] Add code to read odf underline attributes 2016-06-15 Jaskaran Singh [501d9f76a1ac794c13c0ff622330d3de09a152cb] Add helper function for odf underline style 2016-06-15 Jaskaran Singh [06c668f394633f3b8d3dda8bcef845259c4b18e5] Add helper function for odf underline width 2016-06-15 Jaskaran Singh [4c0dea68535df504b731569104d685b57532d848] Add a few functions for underline attributes to import interface 2016-06-15 Jaskaran Singh [821198cb51a8b786e6a0162b6e4550dc5695c1d6] Add enums and entries for various underline attributes 2016-06-15 Jaskaran Singh [380e2a9a362eaec0755b578b6f7267b71b4464ff] Improve test for odf border styles 2016-06-15 Jaskaran Singh [538219baa9e123918dd27fe88d9040a323bf5486] Correct entries for border style(sort them) 2016-06-06 Jaskaran Singh [74d75eed965adf8e5fe9efdccf171974c17a704c] Add test for odf cell protection 2016-06-06 Jaskaran Singh [90121fd55613937dfc566740f91cccbe98f66196] Add code to commit cell protection attributes 2016-06-06 Jaskaran Singh [9b3565332085b89721d511e1c404fb7ef41dd6aa] Add code to read cell protection attributes 2016-06-05 Jaskaran Singh [0f4e00dcf8b43bdf6e36e8167688ecc0384f958d] Add entry for cell protection in a few necessary places 2016-06-05 Jaskaran Singh [e1173954171171f9bc6dd85e3bba085bd5145197] Add option to hide formula cell to existing protection options 2016-06-05 Jaskaran Singh [fdce38520a5c58453b1d8a5038e84697672063cf] Add option to hide cell while printing to existing protection options 2016-06-03 Kohei Yoshida [8d964f02802d80295a781b1a7fa975ec87b83a55] NULL->nullptr 2016-06-03 Kohei Yoshida [b2695baf8b0297227e1c8abbaa153a8c435f256b] Turn token_type enum into enum class, to remove 'attribute' naming clash. 2016-06-03 Kohei Yoshida [cc18466c32d5b8f378c1f8e28c484ed351e18dd9] Add new files to slickedit project. 2016-06-03 Kohei Yoshida [4ce3a5973726c39c8acdb666ba04697c5248eb32] Use const where it makes sense. Normal getter methods can be const. Also made a few style fixes here and there. 2016-06-03 Kohei Yoshida [2ae32543dd8b8d6deb190b965ef0e4cca2979a6a] I tend to use foo_type for class internal types and foo_t for public ones. This is just a nitpick, and nothing wrong with it but it's better to be consistent. 2016-06-03 Kohei Yoshida [a7fddc82d977c041c4c97f29548acdca5c293995] Move length_t from measurement.hpp to types.hpp... now that it is referenced in the import_interface header. I try to keep all types used in the interfaces in the types header files. 2016-06-03 Kohei Yoshida [62d126e7b3a3bff1e0b3b6de385acff1b564dd74] Fix linkage error for orcus-odf-helper-test. You need to link against both liborcus and liborcus-parser. 2016-06-03 Markus Mohrhard [8c241cc1a1cae847e8074d3f65d1c4276a300bac] cppcheck: initialize member variable in constructor 2016-06-03 Markus Mohrhard [7610b89b859802014869b95cb40113fcc5cda451] cppcheck: initalize variable in constructor 2016-06-03 Markus Mohrhard [c955ab2d116b1a20b322c3be0f6bc7a22a8cd7b6] cppcheck: initialize variables in constructor 2016-06-03 Markus Mohrhard [eae35e2239c4f8430a997182327c0bdf48fdfbdd] cppcheck: reduce scope of variable 2016-06-03 Markus Mohrhard [c7b2e5d7906a18ca1a650e163b6ff62c52c7afae] remove dangerous unused constructor 2016-06-03 Markus Mohrhard [2c7c9ac527f35244937e3db3f596139b0dbccbf7] init all variables in the constructor 2016-06-03 Markus Mohrhard [a4890b1348924e83e3d46d356349fc9a950ca601] cppcheck: remove consecutive break 2016-06-03 Markus Mohrhard [157d3b22516ac27d56312a85995ab1d2ff271f50] code style improvements 2016-06-03 Markus Mohrhard [ce5d915181d65abf6007e9d58fdd8aafa7cc537a] remove unused variables 2016-06-02 Jaskaran [6cd2fda9c544f73d1496ae766210420e5e7eaafa] Add test for diagonal border 2016-06-02 Jaskaran [0bfcf614a6ec90a4ab5782eb0dfcbcbd7fbf8ec8] Add facility to read diagonal border 2016-06-02 Jaskaran [4b42c4a93b7aec744e41e8d26403d5fa5a6b2535] Add test for border import 2016-06-02 Jaskaran [5b7301c06bb85498f5f1a267d58452ad9b97b0e1] Implement facility to parse and commit border 2016-06-02 Jaskaran [4d4791c8a788dd8f4a112d996089a9011c50b84a] Add facility to set border width 2016-06-02 Jaskaran [b63638e7160bd85631b23cb98f1a1fb7735fe067] Add facility to read Border style - solid 2016-06-02 Markus Mohrhard [1c543d278c9eb5dd7aa603f00018e290b7dc6e1e] fix indentation and remove tab 2016-06-02 Markus Mohrhard [309d378a0cea55d2f72ef23d5cad1a0037800a35] don't leave a space between id and comma 2016-06-02 Jaskaran [e5c0d91c92bc59f6c2f8bea9b575a5e6e51ab462] Add facility to extract border details out of xml attributes 2016-05-26 Kohei Yoshida [f0f4e6ea98490536bed2317205e17df538c2c949] Remove unprotected asserts. 2016-05-26 Kohei Yoshida [4cf71cb92de1aa06a58c530eef8f23a91d26a811] A bit more work on the benchmark & print the final token buffer threshold. 2016-05-25 Kohei Yoshida [ad6fd49ebb33c18e97df1b03e963c4cd17fbe3fc] Print file over here too. 2016-05-25 Kohei Yoshida [5657d62b210345b2c0957f691e2548407839dd81] Add artificial overhead to the processor thread. 2016-05-25 Kohei Yoshida [86847968cf3a7be82c665a36afdd6b161dafba06] Consistent naming style. 2016-05-25 Kohei Yoshida [27c62174a7b26deeb555b59812b985691fdf8223] Add simple benchmark test programs. 2016-05-25 Kohei Yoshida [a83d2592f8790b199c3eeec2043a057ae8a45368] Sorted string map is no longer in orcus. It's in mdds now. 2016-05-25 Kohei Yoshida [0500d3bbe18a3bb6cf009c7667cd7e9ddba278a1] Mention which thread should call which method. 2016-05-24 Kohei Yoshida [290e7d3ec4ec795635d6e2da0eaee560309a849d] This has the same effect, and much simpler. 2016-05-24 Kohei Yoshida [f5e88a43226b4462114d66fa86cf9b21985f7d63] Add it to slickedit project. 2016-05-24 Kohei Yoshida [a540ce0d643b82ca1668ff1c95e1c752b207f754] Clear the client token buffer to ensure it's really empty. It's safer this way, than asserting that it's empty and putting the responsibility of emptying it onto the client code. 2016-05-24 Kohei Yoshida [86dc98fd53af9730cb5a4f9c914e581ecde41b01] Avoid next_tokens to wait forever. This could happen when parsing was done while no more tokens were added after the last token exchange. 2016-05-24 Kohei Yoshida [e87e4f49df44c0a53f936a2b81a5e184145b8300] Separate the parser client token buffer management code. This can be re-used for other multi-threaded parsers in the future. 2016-05-24 Kohei Yoshida [4ab3330ed5697a1ffa4fd32f239b2836ac73266c] Add the ability for the client code to specify max token size. 2016-05-23 Kohei Yoshida [a72abdead195912188ae98bf774dee6360c912a9] Make sure the child thread is joined even when the main thread throws. 2016-05-23 Kohei Yoshida [7ff191ff7d2cf169f93ef126e844a636c84a035d] Use an array of static test cases. 2016-05-23 Kohei Yoshida [17b9f09ac50d8d890b5f73e23246a73e250098a5] Use container initializer to promote readability. 2016-05-23 Kohei Yoshida [1fd1395857af7bd65e64cc1137f9b2edb88c3631] We should wait for the client to finish processing the tokens... ... if we can't increase the threshold any more. 2016-05-22 Kohei Yoshida [e4faaf5640ad514ad296ca0434bfd03e6790f3f8] These are constexpr. 2016-05-22 Kohei Yoshida [7fc2d8ffb0b7823cbccc5677555a05391866fd3a] It's not safe to call m_tokens.empty() without mutex. 2016-05-21 Kohei Yoshida [34c72e9d958f625f081c48b4a91e3cb73425feac] Rename the variable. It is a minimum token size since the token size can be larger than the size specified by this variable, but should never be smaller than this value unless it's the last token set. 2016-05-21 Kohei Yoshida [a637417f4ceb873a987b2efefee6d3d76033519a] Fix the timing and get it to work. 2016-05-21 Kohei Yoshida [6f4661d198fc8d126cf80478f20aa64cdaecad07] Dump token lists (expected vs actual) when they are not equal. 2016-05-21 Kohei Yoshida [3ebbaeefc45a6a907446be002b05a1dfd3dd055c] Add the ability to set arbitrary max token size. 2016-05-20 Kohei Yoshida [7015e3626ddbc1554014c759db3ae05169dfad96] First real test! 2016-05-20 Kohei Yoshida [815d884d7a9a677fca80777d85bc1ec66b7be60d] Make it a little more complete. Still not tested. I'm working on it. 2016-05-20 Kohei Yoshida [fc72cbda06b5d4469a1c73db4f09e23282b4f8e6] Add this to the slickedit project. 2016-05-17 Kohei Yoshida [43add758afbd741b2019ca4cf2499aeb9cf0b197] First pass on threaded json parser. Still totally untested. 2016-05-17 Kohei Yoshida [bfed38e43eaccde65cb5ed0ee0d6b33dfe26482f] Set up a skeleton framework for the new threaded json parser code. 2016-05-11 Kohei Yoshida [67c297cf1088256191fdb5c763fd3bfa40da6fa3] Update it. 2016-05-11 Kohei Yoshida [bde5e86ce7634cfe27b53858a256c3482cbbac45] Add 0.11.2 source packages. 2016-04-17 Kohei Yoshida [01c314f4f10f0628538ccec98c85271051683974] Add other missing symbols. 2016-04-15 Kohei Yoshida [933a70c182625a22a2419c75fea2b09f8bf20f57] Add utility classes to the doc. 2016-04-15 Kohei Yoshida [dc68e62c5ac72368bd69eecd83c2c38802f03f1c] Fill the XML parser section, and expand macros when generating doxygen. 2016-04-15 Kohei Yoshida [f23c7bce9666c14c53926c7c98443cc17a5148e3] Add CLI documentations. Pretty much a direct copy of the help outputs. 2016-04-13 Kohei Yoshida [d41522906f002d34ffe41f3cb046ba0f2705df29] Add hook for command-line tools. 2016-04-13 Kohei Yoshida [e7c8dc3943bc82aa6d984eb1bea6f9b2db97da66] Add spreadsheet types to the doc. 2016-04-13 Kohei Yoshida [53f90afb5ba60f369a437ce5aa8324790150f514] Let's use standard int types. This bumps up the API version. 2016-04-12 Kohei Yoshida [05f3f4da3f185e6fec71804bd5e3ea18e5efbf5a] Spell it out. 2016-04-12 Kohei Yoshida [5f11ee030fd4c3f48cb77678594e8ac94702b10b] Add orcus interfaces to the doc. 2016-04-12 Kohei Yoshida [c63f3c2cb591877981b6b239a0020a731bd28e2b] Fix YAML parser handler test. 2016-04-11 Kohei Yoshida [247dcd6cd472a67a4ec5f44b40576e292031439f] Add csv::parser_config to the doc. 2016-04-11 Kohei Yoshida [230cb7c8120a31f4029a8d9a4b36be38068df429] Fill the CSV parser page. 2016-04-11 Kohei Yoshida [07cd076be05271c2d2fd22da83c44c9c87798fb1] Add YAML API page. 2016-04-11 Kohei Yoshida [4999f7c26bf0fe86e450e23802c7d7620a7bdb99] Re-organize the C++ API documentation structure. Now it consists of: * Overview * C++ API * Python API and their respective sub-structures. 2016-04-11 Kohei Yoshida [fb725c0766ffe06aa4274dcf162b736ee510eff6] Put doxygen output into _doxygen directory. 2016-04-08 Kohei Yoshida [0c937e3ee0c3d9a071ebe1da5ebb2cad56881e44] Add links to documentations. 2016-04-08 Kohei Yoshida [c486aed857d2440c01bf44271eb19e289c486379] Finish up the page & up the version in the doc. 2016-04-08 Kohei Yoshida [38fa9e68711d2705e1bd8fa0d59e6c736852adf1] Start writing up on Python API. 2016-04-05 Kohei Yoshida [6729c8540168d179e38353879a8081855e6a8cc7] Re-organize the documentation structure. And make room for Python API and comman line tools. 2016-04-04 Kohei Yoshida [ce483317e3a67909eeb4e47cce0a08e6c3d3a5a8] Turn xlsx.py into a real unit test file. 2016-04-04 Kohei Yoshida [f974f0de58a2b44f88e6f7b7874e8c4b1daef1ce] Prefix a class that represents a python object with 'pyobj_'. To make the code a little less confusing. 2016-04-04 Kohei Yoshida [3a1bb25393aaa81979b8adb009dfd05fab6a27a2] Handle formula results for real. 2016-04-04 Kohei Yoshida [aee890f8411e31b9a3ab1bfd5a65190064b3faa5] Remove this. 2016-04-03 Kohei Yoshida [f48adaaf737c49c1c3816b6ea4acb2e52ca3d0ff] Pick up real cell values. 2016-04-02 Kohei Yoshida [548625a24ea4bbe78bac77f3277c90075da11d70] Use mdds::mtv::collection to iterate through rows. 2016-04-02 Kohei Yoshida [e6403513134cf3052cc757bf1ba09ce56d7b0cdf] Next version will be 0.12.0, and will require mdds-1.2. 2016-03-25 Kohei Yoshida [92fbe89153135988053f833e2e06103e3a5e106c] python: iterate for the number of rows. Next step is to fill in the actual row values for each iteration. 2016-03-25 Kohei Yoshida [42574d851dbfc39bf57da5f9884d01a919f86872] python: add get_rows() to orcus.Sheet to return a SheetRows object. 2016-03-25 Kohei Yoshida [0070bc2e274ad3188a94cc1006c5f3ca8674b9c6] Add gdb mode to allow debugging with gdb. 2016-03-25 Kohei Yoshida [24d832f472f64d26f83bf5815cd81e28e26d58c7] python: add boilerplate for orcus.SheetRows. This will be an iterator class that allows iteration of sheet data by rows. 2016-03-24 Kohei Yoshida [1274bb51a10ea6afdc081b70f2b1ed736053dd55] Apparently Py_CLEAR is safer than Py_XDECREF. 2016-03-24 Kohei Yoshida [e33ebd6eab8ce5b2dc2b2bf14723092d56cade3b] We don't need these... 2016-03-24 Kohei Yoshida [13e4405bf1dd52420f38b766c53ee9ca8555d5b7] This is no longer a TODO. 2016-03-24 Kohei Yoshida [08f4ec25c2858a38500a2b148cc7ed867c28295a] Add comments. 2016-03-24 Kohei Yoshida [e9862fc62e0539a4cbaff2062480e4ca46d8571b] python: Sheet to have data_size and sheet_size members. data_size is the size of the data on the sheet, while sheet_size is the size of the entire sheet, which is for now almost always 1024 by 1048576. Incidentally, spreadsheet::document is not swappable since each sheet instance holds reference to the parent document instance. 2016-03-24 Kohei Yoshida [c265689f6f80ffb6400e24b1f46547269f417d8f] Update project file. 2016-03-24 Kohei Yoshida [02f8be3c5064a5376ef3487a24bcb36aa7090ecd] Remove header project. 2016-03-22 Kohei Yoshida [b993d651fe05fc88535855d9f9aa57cb944b4fdd] python: orcus.Sheet object to have a 'name' attribute member. It's read-only. 2016-03-22 Kohei Yoshida [1d49560636de37103b6dfbdd5439fd74e23b640b] python: create and store sheet objects in orcus.Document.sheets. This is an attribute. It's a tuple to ensure that no sheets are ever inserted externally. 2016-03-22 Kohei Yoshida [4f63a7f05ad757c28c86873423c4d75e3fda3068] python: add Sheet class to orcus module. 2016-03-22 Kohei Yoshida [8c626354240b95fa4f307b854e1220bda114cfc4] python: add a skeleton orcus.Sheet class object. It's still pretty much empty. 2016-03-21 Kohei Yoshida [4123bc51b66bdf8f224f7bb12de5f43a2bb47263] python: store the document instance in another place. 2016-03-21 Kohei Yoshida [44769818c1cf78f77bf5a1d21d04d50cdf108f0a] Store the document data inside orcus.Document object. We can't access it just yet. 2016-03-21 Kohei Yoshida [ea8dd36458b130a005b7abaad1d4b9918b530b8f] Add these to slickedit project. 2016-03-21 Kohei Yoshida [018f4e35807ad90ebb95f99d02fed94dc730afd3] python: Have read_file() function to return a document instance object. 2016-03-21 Kohei Yoshida [5c50ba2ac431da81f63bbea15b655552639683a0] Add an empty orcus.Document skeleton. 2016-03-20 Kohei Yoshida [c088a1002d3ab6c4af4a6bf8cbbe3e7805e4273c] python: do load the file for real. 2016-03-20 Kohei Yoshida [121d6ebeef462fe36470ab90f252b3e33c0d8e6c] python: xlsx.read_file() to be enabled only when xlsx and sp-model are. 2016-03-20 Kohei Yoshida [818ba50b7df8ea7d415641af2a56d44b53e4ac32] python: add empty read_file() function in orcus.xlsx. Going forward, we'll just make one python module and manage sub-modules by way of wrapper python scripts in src/python/orcus. 2016-03-20 Kohei Yoshida [c05ef01413e0f1c2823a643f9125eea533757d2d] Move the module root implementation into own set of files. From this point on, python.cpp glues all fuctionalities into a single module, and root.* to contain the actual implementations of the module root. 2016-03-11 Kohei Yoshida [29248b39a04fe03250f02838fb300f5157b60805] Add 0.11.1 to the download table. 2016-03-11 Kohei Yoshida [00037fa23178c3876b31272cc2becacbf6b0dc07] Up the version to 0.11.1. 2016-03-08 David Tardon [821f16a55b7d87a2a5fca1c90221c0ee084ac7a5] distribute renamed files again They are not distributed automatically anymore because they have non-standard names. 2016-03-08 David Tardon [eac3ccbf24d3b7dcb83d2451361a2eaac1255b0d] add new tools to gitignore 2016-03-08 David Tardon [d3536f3125507ac1ed7a8d4f81a9450fd0bd32ea] Boost.Filesystem is needed uncoditionally 2016-03-07 Kohei Yoshida [c5d7282214727bcc28b6ec7e2b8016b40872cd3b] Get it to build on Windows. 2016-03-06 Kohei Yoshida [a1df2d984d527931c6cbbe6547856283bdbf6a9b] Fix for OSX build inside LibreOffice. 2016-03-03 Kohei Yoshida [1bc8ff1c677ab5684f633190093f6aebe1b0e861] Add API Version column. 2016-03-03 Kohei Yoshida [19ea60f04a273679b2c006645c82899b6c5a61aa] Add download links to the 0.11.0 package. 2016-03-03 Kohei Yoshida [5a5f0aa54cd8549255cc020643ae102732c207c1] Fix build on OSX. 2016-03-01 Kohei Yoshida [f1bd1601f85c72eb526d0a219e992400c9019ea9] Finally python tests pass under 'make distcheck'. But this wasn't easy... 2016-03-01 Kohei Yoshida [aa8976732222f3547c2a07632e5e3a6150800f9b] More fixing of make distcheck. Still test/python/run-all.sh fails. 2016-03-01 Kohei Yoshida [eb3528599712898051ac0ea78d8a59f7fb83ee8b] Try to get make distcheck to pass. Still with issues. 2016-02-14 David Tardon [da946ed8908550cb5fe281055dcff46c1aefebab] hash container sel. has been removed in mdds 1.0 2016-02-04 Kohei Yoshida [40f437d1014cf8346bfa3877aee66c0fde7532b0] Add new items in 0.11.0. 2015-11-22 Maks Naumov [e7614d0be63a4d140ae1586f830ff4d3a4ff9766] Fix throw malformed_xml_error 2015-11-03 Kohei Yoshida [51b35daab24e973ad2341375fdc823c08835f734] Add a rudimentary test case for create_parse_error_output(). 2015-11-03 Kohei Yoshida [f19eac2eacf67c6eff87b34df744fd0117ad6bc0] Correctly compute line offset for one-liner stream. 2015-11-03 Kohei Yoshida [976c641dd19f77bc341706442c60a5d708328feb] Fix JSON parser to properly handle empty objects and arrays. 2015-11-03 Kohei Yoshida [8a55078aaa680074a72c7453d0e559988be1365b] mdds 1.0.0 is officially out now & set the API version to 0.11. We will depart from the previous API versioning scheme in favor of the same API versioning used by mdds and ixion. 2015-10-27 Kohei Yoshida [f4482a43109133fe04195654ac61462ddd8ec8c6] More code annotation for doxygen. 2015-10-27 Kohei Yoshida [502511a95b18a54239350aba1b9274db318d0753] Annotate json_config, to be picked up by doxygen. 2015-10-27 Kohei Yoshida [3fa60e5aa8dfece53da9033baa8717436b5af65c] Sync the example code. 2015-10-27 Kohei Yoshida [71a2c7c2e8fded83713ab976958458ea231c3d81] More editing of JSON documentation. 2015-10-26 Kohei Yoshida [a23d7d3c74a5bdfc70fe9bc0c774e7f5e5a946ac] Update the required ixion API version. 2015-10-21 Kohei Yoshida [aa7e3c69b4d15adb0dc1cd56a0be0dd8b2110de2] Another example code. 2015-10-21 Kohei Yoshida [0f0d35f3efdcf00b50d1772468ea7d4c8c441e35] More on JSON documentation. 2015-10-20 Kohei Yoshida [30d73bf0fe7fb7b92886e3ea5d5a9d7cd7954580] Redundant std:: namespacing. 2015-10-20 Kohei Yoshida [2967ddefecc0b6d33bfad6636db1d78b6b62a50c] More on JSON documentation. 2015-10-20 Kohei Yoshida [a0006d387fabbd0c3443085af28b56fb4f8ee670] keys should return an ordered key series when available. 2015-10-16 Kohei Yoshida [d8dbcce48e134ca06fe0af9564d8b60a9a45db13] Fix wrong syntax. 2015-10-16 Kohei Yoshida [9f83127fedeb35e0b4b11e9afa15e0f1dac37e47] Add section about building documentation. 2015-10-16 Kohei Yoshida [4e5a058cb732dd4b13071621630611a635d90360] Add more code documentation. 2015-10-16 Kohei Yoshida [d5e3d6b7371b61b923cfe17ae761ed340a7cb16a] Add JSON related classes. 2015-10-16 Kohei Yoshida [c94044cd4ec097f553ee453141ec6a28a7f9e373] Add empty section files. 2015-10-16 Kohei Yoshida [d1db5c919b9c2e51bad44b981708a0b5e5d5e054] Set up some basic documentation building stuff. 2015-10-16 Kohei Yoshida [fab2ee3162e9b793f0dbd129dab6494f01a3b657] Move doc into misc/notes. 2015-10-13 Kohei Yoshida [a85191096feb1b19bd0455d86be86ec46e44fe1b] Rename some files to get them to show up on GitLab front page. 2015-10-13 Kohei Yoshida [57001b41484678df8539ed13157d7aa52787681d] Add build instructions. 2015-10-12 Kohei Yoshida [066a7ad4206907ba8a31ffaacc4122fd0e64d53f] Move the zip archive test to the parser module. Because the zip archive framework belongs to the parser. 2015-10-12 Markus Mohrhard [468e489730081549b90b8f39946d9f7ec6a5660e] support passing in the file content to orcus This allows to pass in the stream of a file that is not necessarily on the local system. This fixes issue #21. 2015-10-12 Kohei Yoshida [0dc1795eae1bda6ae87851247d852e09711ecf70] Get this to compile with clang++ on OSX. 2015-10-12 David Tardon [939b136bb17041a5d555cfed2c16db998a40ebba] add test for zip_archive_stream_blob 2015-10-12 David Tardon [a2a68f7430b8d216274c49dd3983e4b28c92acd0] do not allow seeking past the end 2015-10-12 Caolán McNamara [bd051c422c37ca2dcad93cdcb0c8f2f2fd691c95] fix crash on loading ooo55043-1.odt, etc. 2015-10-09 Kohei Yoshida [0c5b769cd5265f9c3b281acbe282dd74096d4389] Show only partial line in case the line is too long to fix in screen. This is useful especially with xml parse errors since many xml streams put everything on a single line. 2015-10-09 Kohei Yoshida [80304e26bd72fe07f9ccef1774a3999604327cf4] Generate sensible output on malformed xml error. 2015-10-09 Kohei Yoshida [99bffe909ff5cc6e79e4cea1a53916a9a3bfe8a8] sax::malformed_xml_error to be a child class of parse_error. To be able to pass offset error position. 2015-10-08 Kohei Yoshida [74113acce597718af072d87ae1f8e6c4cfb8741b] sax: sax::parser_base to be a child class of global parser_base. sax's next_char() has been renamed to next_and_char() due to it having different behavior than the global next_char(). 2015-10-08 Kohei Yoshida [b20315c7b055707842fcdc3742ea86a408067abc] sax: m_pos is a goner now. 2015-10-08 Kohei Yoshida [c36fe45e7aaf9692c24548e9aa02884c5c7d6a1e] sax: and characters_with_encoded_char() too. 2015-10-08 Kohei Yoshida [d26bfbc836fbc6587502193a4398e8b3f80cd119] sax: ditto with value_with_encoded_char(), value() and name(). 2015-10-08 Kohei Yoshida [cebe98154024a9016af06fc303c5a16847cbc050] sax: remove use of m_pos from characters(). 2015-10-08 Kohei Yoshida [2a5984e745f64bd458dc982cfe6b4d0ff177116e] m_size is not needed. Remove it. 2015-10-08 Kohei Yoshida [eb06c7af075b1bd54e0a155d725b6e8dcaa2dfd2] Rename char pointer members and add mp_end. To match with the global orcus::parser_base. 2015-10-08 Kohei Yoshida [44a749b22d8f2c03c41ce6aa35c28ff175e8e42d] Typo. 2015-10-08 Kohei Yoshida [f92f7539e19bbc785d21fcf60f5f7d1696fa6381] Oops this was not intended. 2015-10-08 Kohei Yoshida [333b7c80bc764e6ad64adc284faf1c2f2ce166bc] json: let's not emit this error output directly. Let the caller decide what to do with it. We may hit this code path from outside orcus-json too, in which case, emitting an error message right away to stderr may not be desirable. 2015-10-08 Kohei Yoshida [6d250d7b1e179f6c0119f7b96d05c26eede9bf65] Fix build breakage with clang++. 2015-10-07 Kohei Yoshida [741f13e3bc2cc14c55e20207f2e835f69100cdfd] json: catch parse_error in the right place for external files. We need to spit out the error while the external file stream is still alive. 2015-10-07 Kohei Yoshida [713a0f3b0209f3fd02d6633e22667b7bfe3c3ed3] json: generate nicer error output for parse error. The new variant prints out the line where the parser error occurred as well as the offset of the error on that line. 2015-10-02 Kohei Yoshida [ba1b121770f03e66412f54abf5db5df3bdb0a05c] json: Optimize skip_blanks() a bit more. 2015-10-02 Kohei Yoshida [baac12ce7a21e7c2340a479e9141f2a0a4ce0483] Remove m_length and m_pos and add real end position. 2015-10-02 Kohei Yoshida [40005e213ea363034a894fe5c124ee19fc8364d5] Print the file paths. 2015-10-02 Kohei Yoshida [741fe37e7420bd411a77615b13a7b0b3d40fad34] Optimize skip_blanks(). 2015-10-02 Kohei Yoshida [f29d137c33a30f8c37316f71d32c26ad2e3f8d60] python: Use json_parser directly to for orcus.json.loads(). This is understandably faster, since we now avoid "loading" the tree twice. Still slower than the built-in json.loads(). 2015-10-02 Kohei Yoshida [9ffaca44545b7f1c34c872916621e722ff89c256] Add skeleton handler code to json_parser. It's intentionally MIT license to make it free-to-take for all. 2015-10-02 Kohei Yoshida [92ddb8652ab17ebb5e166245b05acf7ac1686035] Test file to measure json parser performance. 2015-10-01 Kohei Yoshida [4cd17b6c38038e32d0a92b940edff0b635de222d] Be more specific on caller's responsibility. 2015-10-01 Kohei Yoshida [039208172acf9a216b5b3a4aa10fcf1819ca65b0] json: add ability to specify string_pool instance to use for the doc tree. And share the same string pool when resolving external json files. 2015-10-01 Kohei Yoshida [46f1eca49785f18594230ef1c9cd8da40f864bfa] python: turn off persistent string values for orcus.json.loads(). The caller holds the stream instance. No need to allocate memory to copy string values. 2015-10-01 Kohei Yoshida [7f60d4806aa9b0e868cbb582e6d3053789a42d70] json: new configuration flag to control who owns the string values. 2015-10-01 Kohei Yoshida [882c860a4466f6dea9783e504cdb527d376cde85] json: have the document tree use string pool and use pstring everywhere. 2015-10-01 Kohei Yoshida [57ca2cda706ce3196efe960e9ad0ff2425607447] Record whether the parsed string is transient or not. I'll use this information later in the json parser. 2015-09-30 Kohei Yoshida [5238555ecd4a4df0a921a7933c1cb61f618c4e12] License header for these guys too. 2015-09-30 Kohei Yoshida [6b2562056d7b5dc70d1ea00878a9406397f1c4e9] python: catch and translate exception into proper python error. 2015-09-30 Kohei Yoshida [51f20597f1cc01ae33c1adfdad7fe83c57a2a2ca] json_document_tree to support loading from a char array. 2015-09-30 Kohei Yoshida [266f2fd25f09f44a74de3bdbf27fb35a8b688816] Prevent naming clash. 2015-09-30 Kohei Yoshida [fb03713750893c595862502854cdf0e5c1b4ccde] python: add unit test for orcus.json.loads(). 2015-09-30 Kohei Yoshida [82e67daf7d111a83c1f284346409adfeb4bf93ac] python: implement orcus.json.loads() using json_document_tree. Intentially similar to the built-in json.loads(). 2015-09-30 Kohei Yoshida [f2000b2c698558bf91d8f4a03ece2d44085c89a4] python: add skeleton orcus.json module. 2015-09-29 Kohei Yoshida [ce3e50e0430ad9bd148982ed1703e5d74f95aaa5] Add this file to slickedit's project. 2015-09-19 Kohei Yoshida [19aee4b44de1addffc85c40752fd38f57e3a35f6] Use a table syntax to store release packages. 2015-09-18 Kohei Yoshida [b7771d458b7b0e229b7afc95b6d64dcc06b67a52] coverity#149353: initialize value_number of json_value_number. 2015-09-18 Kohei Yoshida [c35b2564c0c6e1a4316d6c40ea40da27f541d637] coverity#149354: initialize 'transient' boolean member. 2015-09-18 Kohei Yoshida [d255ebaa7327e43ad4bb60b4d773d32675c259c5] yaml: add a few more methods to yaml's node class. Borrowed from JSON's counterpart. 2015-09-18 Kohei Yoshida [f52510e0061bac41d4e723abc3298523fff20a08] json: add some documentation. 2015-09-18 Kohei Yoshida [13ef02e212d82d53be53f23ab7a30401cd40396a] json: apply that to all the other tests. 2015-09-18 Kohei Yoshida [dedb609a953f31c62fb857213dd928494ee135cd] json: Use closure to re-run the test on dumped JSON string. 2015-09-18 Kohei Yoshida [a745478993aacd3b6c4d26c662198e20fb3577e4] json: add test for nested2. 2015-09-18 Kohei Yoshida [5c5f03e598d6a7a532b97f07dc8a31335ae9ea5b] json: add test for nested1. 2015-09-18 Kohei Yoshida [0e225dedf7f5564bd5df1e8d1cfd8e44615077b1] json: test for basic4. Also add keys() and child() that takes a key to the node class. 2015-09-18 Kohei Yoshida [09192d3c664d5167ae0342052d461b9d376f35e1] json: add test for basic3 and fix the bug discovered. 2015-09-18 Kohei Yoshida [32b9862cc8a02d058d15bc319ba86d443188ef38] json: start writing unit tests for node traversal. 2015-09-18 Kohei Yoshida [4ece1b6ac05bd31054ecf347b3b3abb5dec94ed8] json: copy and adopt YAML's node implementation to JSON's. The two are almost identical, with a few minor differences. 2015-09-18 Kohei Yoshida [0ca6f5e1fa1edbb83f90d52c8dd49c4cb5cfbd2d] json: move json_value and json_node_type into the header under json::detail. 2015-09-18 Kohei Yoshida [91818b70b3d06f1c18251547eac976c6f5b1d643] Add YAML to the list. 2015-09-16 Kohei Yoshida [e1fabb02cedb1e8603d7398fc098221f4348bd4c] yaml: optionally quote strings when dumping in YAML format. 2015-09-16 Kohei Yoshida [f249653f4b628cee55604b824b69280497dc3655] yaml: some friendly warning when writing multiple docs to JSON. 2015-09-16 Kohei Yoshida [9430610cbc28d29e21b8886bea073e0e6167d137] Share JSON dump string code between json and yaml document trees. 2015-09-16 Kohei Yoshida [06c1dc0e7ed94b029e9761812041f049840f0819] json: reformat the help output for better output format list. 2015-09-16 Kohei Yoshida [48450b9acdd35c430ccdd883fabdc60ddc28565d] yaml: support output format of JSON. 2015-09-16 Markus Mohrhard [3d0d7cad7c455029968127093e009791111ba5c4] move the odf styles test to src to avoid dependency problems 2015-09-15 Kohei Yoshida [2fbd89523441cf821150423565dbe06e18c4bfed] yaml: remove these debug statements. 2015-09-14 Kohei Yoshida [9cbc0781e3f461d0193c38b05c9a56ce4d8c4823] yaml: add a few more test cases for double-quoted strings. 2015-09-14 Kohei Yoshida [73d7445b6ffb700bda7680959397083c0d79950c] yaml: do the same with double quotes. 2015-09-14 Kohei Yoshida [fb599d84ad2ed3b74245719e8ef4d29224c0a05a] yaml: '#' inside single quotes is not the beginning of a comment. We need to do the same thing for double quotes. 2015-09-14 Kohei Yoshida [5cc7a1824b5dde5fabe1942aa4ad928c95556151] yaml: correctly parse "key: value" vs "key:value". The latter is not to be parsed as a key-value pair, but as a string that happens to contain a ':'. 2015-09-14 Kohei Yoshida [17e481430a36c626b2b40b31124f88c1c89d0478] yaml: actually parsing of an inline map item can be done this way. Thus removing some duplicated code. 2015-09-14 Kohei Yoshida [8c98ee9f581b1c09bce955eb7d41c8dca5bdf500] yaml: common function for duplicate code blocks. 2015-09-14 Kohei Yoshida [5f3e3e17e11838387b67b1b603ceaf303b864d76] yaml: finally handle single-quoted strings correctly. 2015-09-14 Kohei Yoshida [f18cc1f04ae2386b7e0faa766588bd0e4d16a8aa] yaml: parse_quoted_string_value()->parse_double_quoted_string_value() 2015-09-14 Kohei Yoshida [2990a7d34d567c8993c78314417a7f9335dae98a] yaml: update the test case to add single quoted string values. This currently fails. 2015-09-14 Kohei Yoshida [a03e4f65d2f4cd1f8a61793e9bf47e3f97af678b] yaml: call this parse_double_quoted_string(). to make it clear that it expects double quotes, not single quotes. 2015-09-14 Kohei Yoshida [951c8cc13d3f1e35fbf46c5af1d25a61367c25a7] yaml: these code blocks can go to the base. Since they don't interact with the handler. 2015-09-14 Kohei Yoshida [4d452e7607016f3ab11c217a519424a083925c40] yaml: handle literal block as a child node of a map. 2015-09-14 Kohei Yoshida [988684b030b70024a762caad38a797007f7fc6a6] yaml: a little more helpful exception messages. 2015-09-14 Kohei Yoshida [3c64f5639099be7b4059bc13ebc8c8506bb17bf5] yaml: rename test directory multi-line-3 to literal-block-1. 2015-09-14 Kohei Yoshida [c8f69dee0de4627099d322c7d2dddab380b8657c] yaml: support literal block as root value. 2015-09-14 Kohei Yoshida [8e5f60b098adb9d9017fefd5a6b2c55cfdb6528a] yaml: much bigger example yaml file (that is not parsed correctly ATM). This one is from http://editor.swagger.io/#/. 2015-09-14 Kohei Yoshida [0b26283b17133414082cf7edbf6462b38c1a9070] yaml: add another multi-line string test file that currently is not handled. This one defines a multi-line string value where the line breaks need to be preserved. 2015-09-14 Kohei Yoshida [b26fb66ed87b31014250ec08302626f281eff0aa] yaml: intentionally omit the document marker to make sure it's still valid. 2015-09-14 Kohei Yoshida [ac9a5e4431613f6a93ff534c71d7e65e6474af0e] yaml: clean up the test code a bit. 2015-09-14 Kohei Yoshida [506f4d5c683f28afea30ab897de004df4c08077a] yaml: ensure that when in multi-line mode, we take line strings as-is. 2015-09-14 Kohei Yoshida [68faf0726150bce0d78e0a15548720c8fbf46f5a] yaml: micro-optimization. 2015-09-14 Kohei Yoshida [bdff85edadcd7f1c809c3395b13149b8b6d1f8fa] yaml: handle string spanning over multiple lines. e.g. --- 1 2 3 is equivalent of --- "1 2 3" 2015-09-14 Kohei Yoshida [3238fb9aec5bc2184c8deabe495f4a99e175381e] yaml: what comes after the doc marker '---' becomes first node. This --- foo is equivalent of --- foo 2015-09-14 Kohei Yoshida [61ffb2dcf5b7098ab28c0671e75df00ec07fa1ed] yaml: Add a test case for multi-line string. This currently fails because it's not handled correctly yet. 2015-09-14 Kohei Yoshida [114246db0392dd2836dc21256930ed13502b0c91] yaml: build fix with g++. 2015-09-14 Kohei Yoshida [2f7d868e98f20e016f3d253bb981684caf316d59] yaml: add test for basic3. 2015-09-14 Kohei Yoshida [a3252c3ff0cf4b710c279249be163f75dae45f7f] yaml: parse inline list item as if it's on its own line. Then it gets parsed correctly. 2015-09-14 Kohei Yoshida [8a8be6072b3dfc5f2be87343e5e2e6adf269d67c] yaml: new test file to parse, which currently is not parsed correctly. 2015-09-14 Kohei Yoshida [f9654a325fb314d98539f14e81dd24329117814d] yaml: share these string constants. 2015-09-14 Kohei Yoshida [54ed0ffaaf475a894edc8c4ee86c5193e0f02d4a] yaml: dump yaml document tree in yaml. 2015-09-14 Kohei Yoshida [0d84f41df370d74ad8664a895012f50184284103] Add wrappers for orcus-json and orcus-yaml. 2015-09-14 Kohei Yoshida [527ee5764cabc34bf890376e119041c0775093c6] yaml: add new file to slickedit project file. 2015-09-14 Kohei Yoshida [9a13900ed75c9d12161dd19f2413a6dac58d45f3] yaml: add orcus-yaml command-line executable. 2015-09-14 Kohei Yoshida [3b2e6f2ba7bbacba06b06dcf785ffcb7d41bb07a] yaml: let's not forget to add this file. 2015-09-14 Kohei Yoshida [e18c2ebc693872c78a518b157e62bd8d6570f9c1] yaml: test the content of quoted-string/input.yaml. 2015-09-14 Kohei Yoshida [6198a23b05580a31d1506141c3342eb7fbac668d] yaml: remove duplicated code blocks. 2015-09-14 Kohei Yoshida [7e2a4f0b6dbd521f1fe1424830130e798738fb5d] yaml: handle quoted string values correctly. 2015-09-14 Kohei Yoshida [98cd57c8cf521f948cccb704e82e944f506912af] Use the common function in both places. 2015-09-14 Kohei Yoshida [e0f5ab6c1c2af7521614496dc2ba8732d1976e54] Refactor json_parser's quoted string parser code to make it re-usable. I need this for the yaml_parser. 2015-09-14 Kohei Yoshida [4fc780b6991a5027211d7d5a385196d5388441aa] yaml: handle boolean keywords and add a test for it. 2015-09-14 Kohei Yoshida [950ff89dc0a76fbcc6ea1fd443d4bd4ecd0e1130] yaml: Check the content of the list of nulls. 2015-09-14 Kohei Yoshida [dbab64a4e44e5622c0dbb80d08f165cab3f845fc] yaml: start working on handling null keyword. 2015-09-14 Kohei Yoshida [ecf38fb136dff76906b53055efc5d616a6fd4391] yaml: test the structure of the second test file. 2015-09-14 Kohei Yoshida [3a4653c3fa880a719bca3abed00760e5d7bc6611] yaml: remove tree_walker. It no longer makes sense design-wise. 2015-09-14 Kohei Yoshida [0ab9b3f9325c4301f16afe2075b4c0d0f780594c] yaml: add another test file with missing document start marker. Also support line containing only a number. 2015-09-14 Kohei Yoshida [09cd0e380c4a9b4ae70708a8e9bd1c5667dc1193] yaml: rename the test function. 2015-09-14 Kohei Yoshida [5c12272f7ab25d349c145ab80fced67ca7062c96] yaml: add numeric_value() to node class and test the entire tree. 2015-09-14 Kohei Yoshida [0499b854d4e50e4000af68968be76b4ba1382f58] yaml: Recognize and parse numeric values as appropriate. 2015-09-14 Kohei Yoshida [5a77617761c4f7a452c41d5a511750a251ff080a] yaml: add parent() to node class and add test for it. 2015-09-14 Kohei Yoshida [af6863b77621b98c583507959d62f928c81f4518] yaml: store parent node. 2015-09-14 Kohei Yoshida [d527d9aa5a33a2de32570f921eb5093a1c35fcc5] yaml: Implement node::child() and add more test code. 2015-09-14 Kohei Yoshida [663b7e37b20b615533ca96df3d0b6e25023327af] yaml: Re-design the tree walker to make it node-based. The interface looks better & easier on the implementation. 2015-09-14 Kohei Yoshida [b51ff7f8c25121ff66b7c5f18e4cbd6b2e0919c6] yaml: add map_keys class to allow walking into map keys. Still work in progress. 2015-09-14 Kohei Yoshida [83f6e0b548fda73ae7ef15e7f2307bb0397b9cf7] Add lldb as an option. lldb is the debugger to use on OSX. 2015-09-14 Kohei Yoshida [aebc931fa840332be2ea946a8f8bbdd2ad1eea2b] yaml: start working on the tree walker class. 2015-09-14 Kohei Yoshida [5c0366df3782a7d655036935a9d39d328f57b717] Get orcus-test.sh to run on OSX. 2015-09-14 Kohei Yoshida [79e483425b7efc6c6246995215e16fddbcbd2cbd] yaml: Do actually store the document tree after parsing is done. 2015-09-14 Kohei Yoshida [87629a2cdfaba7e13c2f9d43f7de5831efcdfbda] yaml: Get the rest of the value types stored & fix a crasher. 2015-09-14 Kohei Yoshida [81a0ae30786cdb946cd8a3b4ecb0edef543f5480] yaml: start working on filling the document tree. 2015-09-14 Kohei Yoshida [61d6aaff430addae2332c3e4bcee1a2bd8eca07d] yaml: Add the structures to store node values in the syntax tree. 2015-09-14 Kohei Yoshida [354b40c28dbf2ce7857fbb163528e962c3baa143] yaml: start pushing tokens to the handler. Still lots to do. 2015-09-14 Kohei Yoshida [ada7cc51c20fa439028ccbaa14c8d4d0bfc623c2] yaml: add skeleton handler methods. 2015-09-14 Kohei Yoshida [4cc1901181772baf6b763b79eba08ebe3bae4632] yaml: clean up the debug statements. 2015-09-14 Kohei Yoshida [f393dcd1498b8a29964a3c138e7185b5ec3bdf66] yaml: parse dictionary keys. 2015-09-14 Kohei Yoshida [fadb0fc7a131d5e964faacd85f10dfe9dd2531dc] yaml: Handle quasi-scoping for inline list items. e.g. Inline list item such as - 1 - 2 is (for the purpose of parsing and validating) equivalent of - 1 - 2 2015-09-14 Kohei Yoshida [f82399423c28d6879c4c73f816d6d3bd4cdd29e9] yaml: keep track of scope levels and detect invalid indent levels. 2015-09-14 Kohei Yoshida [549e9ebb74239a29c5a2b7326847fb8f5e1c903d] yaml: work on parsing each line. Not entirely sure if I'm on the right track, but we shall see... 2015-09-14 Kohei Yoshida [3c1fe3db3e920e92b4a6c25f40a450d6427d9f3f] yaml: Move these methods up to the base. 2015-09-14 Kohei Yoshida [315ffa5f48b02d978a38dc5ff423093501b05c26] yaml: I need to catch the return value when trimming. 2015-09-14 Kohei Yoshida [ba67baf04bdf91dcd5be48583ec645d697d19361] Add a test case for testing pstring::trim() for trimming only the tail. 2015-09-14 Kohei Yoshida [d24e058cbce443db43192949ba500cbcf66dc2c2] yaml: skip inline comments. 2015-09-14 Kohei Yoshida [c1c24857e7fcca424170e581a6c38e17a706a0c1] yaml: Parse the indent and the rest in each line. 2015-09-14 Kohei Yoshida [e0cd53463349a2159fe653ddb2d364e4c1233093] yaml: set up the very first test. 2015-09-14 Kohei Yoshida [1c7e440ba644268524ba0b071802666bb4724f5e] yaml: add skeleton parser and document tree classes. 2015-09-14 Kohei Yoshida [6e9d2944eccb8b671a50f5e8b9a3f22c887d76cd] yaml: very first sample file. 2015-09-01 Markus Mohrhard [fc6d762611429f956cdc3e7d7bc806e6c1bbf846] add a few more tests for orcus::to_length They now cover at least all units that are in the sorted_string_map. 2015-09-01 Markus Mohrhard [e36431cfb29869105cea9e7d3ed08956a920af6a] switch from many if to mdds::sorted_string_map 2015-09-01 Markus Mohrhard [3b6be3f42c5f994df24df8f8a2b4f20ba2ecffac] extract useful string handling code to own file 2015-09-01 Markus Mohrhard [31840c11421c03472d99f22006ed3f4e3ece43b6] add more length units 2015-08-30 Markus Mohrhard [d96d5b2be3ad353fc95f3f956765b0cd59c328e3] sort entries for sorted_string_map 2015-08-30 Markus Mohrhard [3539e1fdba84e75e1302a8ac6604187eede4d188] API Change: import_styles::set_border_style should take an enum This removes the requirement for the consumer to know what string might need to be handled. There are no users for the old method anymore. Bug#17 2015-08-29 Markus Mohrhard [fbdb2b40117e686d7207ae5b6814eb8d9ee97848] add test for odf_helper 2015-08-29 Markus Mohrhard [c93ed7aea9a4ed72fd33f37db2cc3889aa9f1149] improve odf cell style import test 2015-08-29 Markus Mohrhard [add284d0e2301385afad9a24b71fb08c3f90877a] fix color conversion functions 2015-08-29 Markus Mohrhard [27041adc3398c0feecfaa3fcdc10424bec9dd553] move more cell style import work into the cell style code While we need the xf id for the cell code we should import the styles in the cell style import code and not somewhere else. This is a first step to limit the amount of cell style information that we need to transport to other places. 2015-08-28 Markus Mohrhard [6b2f5210500b77c859cc4bb795f6838ffd15e499] add a few more convenience functions to spreadsheet::import_styles 2015-08-28 Markus Mohrhard [a429c5d5c69d7bfb91b8f80975c85a0ddf641111] provide infrastructure for odf styles import tests 2015-08-28 Markus Mohrhard [9907f46e9fdddc205e5f2cdb09463e26058acf60] prevent double delete in new import_ods::read_styles 2015-08-28 Markus Mohrhard [e4b12f7ea557b362a60f7efd8b48fe8569583468] also accept office:styles as parent of style:style 2015-08-28 Markus Mohrhard [afeaa6866219d26b1279c13e149762dd7ab76a06] it makes more sense to use the import_styles interface directly 2015-08-28 Markus Mohrhard [1205755863848681070f5318d9fc3a96bd9d0419] add way to import styles part of odf file 2015-08-28 Markus Mohrhard [06b507fb7c0dc580cc957d499a1346cbdc17eb85] refactor auto styles code to handle real styles as well 2015-08-27 Markus Mohrhard [24483fcb096f090bc58421b484724835d64566b5] set the fill id to the odf_style struct 2015-08-27 Markus Mohrhard [0160ffc4f46b0266ebd7d1850b1b741d59c1ccf0] import optional parent-style-name to keep hierarchy 2015-08-27 Markus Mohrhard [4ae0e8e5cc59371e6a11341073f0a6581f79eb94] add interface to set parent style name That allows us to import the style inheritance correctly. 2015-08-27 Markus Mohrhard [fac0f57a5a0eb0279ac7be749795368225c55f0a] import coll background color in styles 2015-08-27 Markus Mohrhard [d91463fc088c8a9a4391c7bfbaab23f9a37bea5c] import font color in odf styles import 2015-08-23 Kohei Yoshida [e52d0793a4ee1fc987527def70310fa30b5a9e73] Make sure we don't use singular iterator here. With this fix, 'make check' passes on OSX. 2015-08-22 Kohei Yoshida [1e40245cce1b5e0da093d78e3ba8fb879f224b85] Get the python tests to run on OSX. AM_TESTS_ENVIRONMENT is too clever for me to figure out how to use properly. Let's just handle the test environment setup in a separate script for ease of maintenance. 2015-08-22 Kohei Yoshida [bdd80174f2e574347daa64f603658e27e0aee539] Fix incorrectly exported symbol for the python module. 2015-08-18 Kohei Yoshida [678c30e5d2ee145022decb43635dc9cd0db6d1f2] Handle --enable-python configure switch properly. 2015-08-06 Kohei Yoshida [55287b9ef56ebc3f6162d46aadef2c533a8f1aea] Add these header files to the list. 2015-08-06 Kohei Yoshida [83ddb360f26fb1c5caaffacc59f8a78ba7c83cd3] Added JSON parser. 2015-08-04 Kohei Yoshida [6703a8ffa93a7e3f4286da9e072fea3707c6d49a] And let's not forget to add these files. 2015-08-04 Kohei Yoshida [0e3689c0bccb745b21b4eab11d8453a87f3dba39] Add test case for resolving JSON references. 2015-08-04 Kohei Yoshida [b93424a5a9debbafcf95caf15ef4235e70381975] Define default namespace for the XML generated from orcus-json. Let's use "http://schemas.kohei.us/orcus/2015/json" as the identifier. 2015-08-03 Kohei Yoshida [1c89bd04858daa4172f791b6a1f0943fa883fca2] Let's not use a global variable here. 2015-08-03 Kohei Yoshida [aefb17247210f67df1b3e2629d1620129a0eb00d] json: Correctly throw a parse_error in incorrect root value. The root value must be either an array or an object. 2015-08-02 Kohei Yoshida [0b0767ca64bd3e32416dc19d1b6be0eaa2a97e68] Let's all use the variant of load_file_content() that returns a string. 2015-08-02 Kohei Yoshida [4969978041fbd9f0eed02db29657235013f5d1fb] json: Re-organize the unit test code and validate the JSON doc contents. 2015-08-02 Kohei Yoshida [4e48cf08a2103079be91516c9b79d95626c5db6b] Re-organize the structure of JSON test files. 2015-08-02 Kohei Yoshida [369bdbfdcc0cc2e9dd23307db5bd4eadfaf0db15] json: Additional output format for content verification during unit tests. 2015-08-02 Kohei Yoshida [f69da550c8bbd2af65fc3bd91860c3193921c84f] Refactor dom_tree to allow it to load from an XML stream directly. 2015-08-02 Kohei Yoshida [e776befeb3f88ea2c84ee35edc56ba15bb44380b] Prefer using std::unique_ptr for pimpl. 2015-08-02 Kohei Yoshida [1cd8c4cb5a109867d53825022ed5ade3137dfab8] Return std::unique_ptr directly. 2015-08-02 Kohei Yoshida [774d0054bec70952721abe609ceac58634fca030] Add a semi-complex example JSON file. 2015-07-31 Kohei Yoshida [d02c9f1d1e0709ca654ed3cd680786032f46d351] Remove some duplicated code blocks. 2015-07-31 Kohei Yoshida [ed6f501adfa715c02d03cd8ea2497088d3b293c6] Better JSON dump output. 2015-07-31 Kohei Yoshida [eedb2ed13c898b3441fafa6ede62b5cf9db4c801] Fix the build error. 2015-07-31 Kohei Yoshida [466ba16fae07a2957f269c0200e6e2a9f07de7e6] Add an option to resolve JSON references. External files only for now. 2015-07-31 Kohei Yoshida [893aeecd8b3eca4e28cdc7af9a116ebb16be8502] No need to escape a forward-slash when dumping a JSON output. 2015-07-30 Kohei Yoshida [be58de7b1696dce83a44b69ccc2ea66fec0b92e2] Do the same when dumping to XML. 2015-07-30 Kohei Yoshida [688aefe33fbffddb44f0e813f52864314fdd5b2c] Add option to preserve JSON object's original key ordering. It's internally configurable, but the option is not yet exposed to the command line tool yet. 2015-07-30 Kohei Yoshida [87c828625768284fdf29ead6dffd2d935096b52c] Have orcus-json support the JSON output as well. That basically parses an input JSON file and generates a "pretty-fied" JSON file of the same content. 2015-07-29 Kohei Yoshida [0001613070365ef7fec77297eb8ec66bb5e4e38b] Dump the JSON content as XML for real. 2015-07-29 Kohei Yoshida [1616f3b331e415ff836ca025e33f8021f6055a2a] Add orcus-json executable & handle command-line arg parsing. 2015-07-25 Kohei Yoshida [648a7848692ae4fb78420f313848194dea6684d7] json: Add javadoc to its methods. 2015-07-25 Kohei Yoshida [9f0007d083d73631d975c2ae7d1bf7ba3230eeed] json: Add dump() to json_document_tree. Unlike the method of the same name in css_document_tree, this one returns a string rather than directly dumping it to std::cout. 2015-07-25 Kohei Yoshida [0bc7dea963977bb85954e53709d6410e5d71aeb8] json: Properly dump string values. 2015-07-25 Kohei Yoshida [dd7679164d52b583ea9b3ccb2fac87cdd1351a5e] json: remove debug statements. 2015-07-25 Kohei Yoshida [7ff1ea7289e4094cf57785d6ababec0252c1ec18] json: Handle nested arrays and objects & re-enable all tests again. 2015-07-25 Kohei Yoshida [7a483f799bcc08e8a08c94d1be702924047b7ea3] json: Store object nodes. 2015-07-24 Kohei Yoshida [6dc4c84bd0ef44fe59b1cdf4de609d7ad4d8742b] json: the crasher was due to object slicing. Fixed now. 2015-07-24 Kohei Yoshida [b247287ac04e846864db32731da6c25a17ae9742] json: work on building the json model as we parse. It crashes during the dump wrt string objects. I need to look into it. 2015-07-24 Kohei Yoshida [05bfc22f7af08e8358561c03cab9c09786327659] Support debug commands for the test binaries. 2015-07-23 Kohei Yoshida [ffdda410c22c91cd199421e4265fb9675138bc0a] json: Add data structures for housing json elements. 2015-07-22 Kohei Yoshida [0e8f08d888230fd594b662fb184d40c908cd6689] json: another invalid JSON example ... that doesn't begin with either one of 'f', 't' or 'n'. 2015-07-22 Kohei Yoshida [89f3dedb6e9d7ad288dc20441e0055537c73a7f5] json: 2 more test cases for nested array/object. They both happily pass. 2015-07-20 Kohei Yoshida [349198de3f53cf3870af9f35bd99273eccb74c51] json: add test to make sure invalid JSON strings rightly fail. 2015-07-20 Kohei Yoshida [e9fe1046f88000a03ea4079b9609e51d987bba33] json: use different callback for object key string. 2015-07-20 Kohei Yoshida [db6653d9d79fcb810ce75e20eaabf71b3c927c39] json: hide these methods that are now only used in the impl detail. 2015-07-20 Kohei Yoshida [f99704b2609a19d9a95f4f6186b193119fb8ce91] json: refactor string parsing to make it handler-independent. 2015-07-20 Kohei Yoshida [d73fe41145d3f944e77b73a5a8a746e3ad0b04a1] json: first stab at parsing objects. I'm not done yet. 2015-07-17 Kohei Yoshida [7ec146f4fbd4c9f866f35e7243954d0de492ce90] json: parse null. 2015-07-17 Kohei Yoshida [782e804808c8ee7b70638bb14c726059eb75ef53] Don't forget to skip blanks at the end of each handler. 2015-07-17 Kohei Yoshida [1cdbbd8d083386f5175dc72de980b05f23641ddd] json: Parse numbers. 2015-07-17 Kohei Yoshida [533953b30526e9a6eb6bc027d880ac98158874b1] Move the logic of determining the escape char type to parser_base. and use it in two places. 2015-07-17 Kohei Yoshida [35b32b29c421dd99dc909f30de0cf1c82f527f06] Another string pattern to make sure this still works. 2015-07-16 Kohei Yoshida [bfbbf0449a8f0b71b0b53d74ce007265c86dd032] json: handle string in the parser. 2015-07-10 Kohei Yoshida [e2b676844a1ad9b2ab42517f734c97bb79824233] Each handler should advance to the next non-blank character upon exit. 2015-07-10 Kohei Yoshida [06f99db8b8cb1d322c1d964c3cf2004547928bc0] Actually this shouldn't be here. 2015-07-10 Kohei Yoshida [9c8ca5187e41bf5a0dd6e27be1d1db3245f65872] Successfully parse basic1.json. 2015-07-10 Kohei Yoshida [899ef2c7caa3db0e9bb78e46e8f0f9678e48b039] Set up first JSON test case. For now it doesn't test it for real. 2015-07-10 Kohei Yoshida [417e2bc58494add30280119df15474ba3e70e958] More reorganization of all available tests. And make them reachable from orcus-test.sh & move one test from src/common to src/parser/common. 2015-07-10 Kohei Yoshida [7c513c1b335b855e775ac06d9935d54c85ae72db] We don't need this anymore. 2015-07-10 Kohei Yoshida [e78d9bbb48a028257c3aa97ba4e242c7f3629761] Add parser tests to the mix. 2015-07-10 Kohei Yoshida [85e4a5a4e283817f8a9827776927afe51e1761bb] Consolidate all test scripts into orcus-test.sh. 2015-07-10 Kohei Yoshida [63d306f2b761a9bb7f7f26a5efaf69a89dc98f85] Add skeleton document tree storage for JSON documents. And an empty test file for it. 2015-07-10 Kohei Yoshida [974c03f063f449f55eb78720088b6f44724f8b29] Copy n paste error. 2015-07-09 Kohei Yoshida [b852c13b37e0232455a1a53feead1048326018e6] Set up a skeleton json_parser to fill in the blanks later. 2015-07-09 Kohei Yoshida [40f21ffc8b342b40361a7f639c503d9efff21799] Simplify a bit. 2015-07-09 Kohei Yoshida [5b46b909c0fb57586ac964eadc9bdb1aacb086c9] Share skip_blanks() implementations. Here, what is considered a "blank" character differs whether it's a csv or css. 2015-07-09 Kohei Yoshida [2e4b7ef235d21477523cd49062376c8652f0ac09] Update slickedit project file. 2015-07-09 Kohei Yoshida [3d63775509749b7b3151706d7f3f8fc639702f13] Add orcus::parser_base as the base for css and csv's parser_base. sax::parser_base could in theory use this as its base class, but that would take some amount of reworking since that one does a lot more stuff... 2015-07-09 Kohei Yoshida [4bc2e8e5a233b14302f2a6e19fc9aab8d919e435] Turn databar_axis_t into enum class. This one is not used anywhere yet. 2015-07-09 Kohei Yoshida [07dcbbb132fb7ef0623ff2cc6da971a17bec66c2] Turn condition_date_t into enum class. 2015-07-09 Kohei Yoshida [9ddccb082774cc6b65af177b238e8aef0817b901] Turn condition_type_t into enum class. 2015-07-09 Kohei Yoshida [a573de373f5c311bf456658b991a510a62be78e7] Turn condition_operator_t into enum class. 2015-07-09 Kohei Yoshida [6c47347fc5cf38956ed190573b444506534f8747] Turn conditional_format_t into enum class. 2015-07-09 Kohei Yoshida [485b7eedfaf507b26e838ce4ae5497f845da89e5] Turn totals_row_function_t into enum class. 2015-07-09 Kohei Yoshida [a31ed954056a3f443bcc2a9aa7fc140e9ce81be1] Turn four more enum types into enum class. 2015-07-08 Kohei Yoshida [c7a45ee25d5d211a36f4c885fe17cfd56772c902] Turn formula_t into enum class. 2015-07-08 Kohei Yoshida [4bc04f7601d12cc95685a9042227535a8b023a71] Turn formula_grammar_t into enum class. 2015-07-08 Kohei Yoshida [62dc806d5defae09e5d88ebeb647d03dc3095e45] Turn border_direction_t into enum class. 2015-07-08 Kohei Yoshida [4212671bd019391c3ed2721ec194a18d03581ac9] Turn keyword_type into enum class. 2015-07-08 Kohei Yoshida [cc85effc33a789ace0a800f4b8d026df854b4e85] Turn dom_tree::node_type into enum class. 2015-07-08 Kohei Yoshida [f7cdfd67c1e25f16f440d451c7f2f3a97a6d5105] Turn css::property_value_t into enum class. 2015-07-08 Kohei Yoshida [8bdf5e70b58b1e6b89b46724368649e3a4793146] Turn css::property_function_t into enum class. 2015-07-08 Kohei Yoshida [5b87e2b1ea4b4e96803d9bb353167fea32c6c32b] Turn css::combinator_t into enum class. 2015-07-08 Kohei Yoshida [1b286b6901cc04dbe9ff93596663a02365b051e9] Turn format_t into enum class. 2015-07-08 Kohei Yoshida [3cf0ef74708554642ef159da9c8cb1b5fa25ccb1] Turn length_unit_t into enum class. 2015-07-07 Kohei Yoshida [27fdcb786666e19ea147180820f49acbc17bd694] Use the master branch of mdds. 2015-07-01 Kohei Yoshida [67494ab53550b483beb25c1aab4c714dcebd42f3] master now requires ixion master branch build. Mostly the new C++11 stuff. 2015-06-30 Kohei Yoshida [e66e238235a94fca5642b88c94590daab4ad87eb] Polish it a bit. Also, Remove orcus specific bits as it will be copied over to ixion later. 2015-06-29 Kohei Yoshida [938ce2ce065e61db439c85628678b5bc7fe8eacf] Use full file path. 2015-06-29 Kohei Yoshida [03d49518d2e97760576d58a000fc7feacbb14b82] Update the slickedit project file. 2015-06-29 Kohei Yoshida [a339efd850090a83be026b4f2c42716d224747f4] python: implement orcus.info() for real. 2015-06-29 Kohei Yoshida [2cf323993b14c863ac707d80b452962daf11f4cc] Add license header. 2015-06-25 Kohei Yoshida [2d9b34de14a1df4192cce8e287211e6b3a863f87] Initial minimalist hook for adding python binding. We now just need to add more beef to it. 2015-06-23 Kohei Yoshida [f8b823718fae8ddde6fe1e3173b21336689bed3a] Remove the final boost::unordered_map. The second one could not be replaced with std::unordered_map due to build error. std::map is fine for now. 2015-06-23 Kohei Yoshida [1aababca07cab7453e76203fd3e649f3e3414ba9] Replace boost::ptr_map with std::map and std::unique_ptr. 2015-06-23 Kohei Yoshida [41e7551b0d136f93f79bd47939c377dcbbbfe2e4] Replace boost::ptr_vector with std::vector. 2015-06-23 Kohei Yoshida [eb43d1e81df4f7cf63520b57cbc031aff626c2c5] No more boost's smart pointers. 2015-06-23 Kohei Yoshida [040338e03fdca297e06d6a29da8ce9c7187f1a54] Replace boost::unordered_* with std ones & remove boost::noncopyable. 2015-06-20 Kohei Yoshida [67697b9e88cb7ebff457c88e5fa82b21880c8516] Replace boost::scoped_ptr with std::unique_ptr in liborcus. 2015-06-20 Kohei Yoshida [1f12d182ca0fa4f3f0fd017cce551d8fdc30a1a2] Remove use of boost in orcus-spreadsheet-model. 2015-06-19 Kohei Yoshida [f4eda4b4bf7c675494768d3981abeeb9cd4811f5] Reduce use of boost containers from orcus-parser. The stuff that handles base64 needs to stay because there is no std equivalent for it (that I know of). 2015-06-18 Kohei Yoshida [ef2b46ff05ed732f714691f5301d8e214b1aed77] Add 0.9.2 download links. 2015-06-13 Kohei Yoshida [45f6294f9a167610130142843cd7a578e5da75fe] Turns out that nobody uses string_hash and string_equal_to. 2015-06-13 Kohei Yoshida [6d13bf3b04f35fc3231f2543efa4fb2344ce5338] Remove boost::ptr_vector usage from the public headers. 2015-06-13 Kohei Yoshida [ef2396f303938e13cdcad1abfef300ed43674a28] boost::unordered_* to std::unordered_*. 2015-06-11 David Tardon [514e49810afe47b90bf430d2b23b3b22e777cda7] add more stuff to .gitignore 2015-06-11 David Tardon [0ab64ddae791db1d412c8560e4cf1fa140852c2c] remove unused m4 files 2015-06-11 David Tardon [9a17647fcb33b96e1d7246ddaf05da91fb2a57c3] adapt to boost.m4 2015-06-11 David Tardon [f717048ac19c6a4a4c9a1be41ad8b5385ff6c547] allow to force-set boost libs 2015-06-09 Kohei Yoshida [e104bb8f01215821650d67d6e9a3776d489a72e5] Use pimpl for string_pool and hide boost use from its public header. 2015-06-09 Kohei Yoshida [e78a0562b336364c5450c024c851fe100b2df2b4] default_deleter is no longer used. 2015-06-09 Kohei Yoshida [7b079eecfd9f06f5a64d9d1d95ea1e3325ada71b] Prefer std::unique_ptr now that we use C++11. 2015-06-09 Kohei Yoshida [f414a2caab0a337aada8b10c55c2591cbb14233f] Hide the cell buffer data member (and ptr_vector use) from the header. Incidentally, I'm using std::unique_ptr for the pimpl idiom. Due to the way C++11 compilers work, the detail of which are well explained in Item 22 of Effective Modern C++, we need to declare (or delete) all special member methods explicitly in the header, else the code wouldn't compile. 2015-06-09 Kohei Yoshida [270e1c37b5bee48bc8d19dd744bf23f0ccdbee04] Set the next minor version to 0.11.0. 2015-06-08 David Tardon [2cee53197e98793aee318339efd25529fe883148] correctly implement assignment of CSS properties This fixes unit test failure on some platforms, e.g., ppc64. Sigh, if the union were not anonymous, it would be possible to use std::swap on it... 2015-06-07 Kohei Yoshida [28c34415a4422611b24ad6c051843682a3852bd6] Fix wrapper scripts. 2015-06-05 David Tardon [063941c6034f586b894a90f40b9d61a6ffb27d1e] disable opt. in debug build 2015-06-04 David Tardon [26d33d7cfd93b22e2fa13e6a3e28d133619948cf] these functions are implemented in liborcus 2015-06-03 David Tardon [9bd36bfb207b5edced90c4e4f5e8fb4fa08ebb19] __ORCUS_BUILDING_DLL is set conditionally 2015-06-03 David Tardon [718b1adfe9c327e06b1ab796c5cd9805db63c9b3] mark more symbols as public 2015-06-02 David Tardon [3e08d2264984b8d5227e22c7089f00f8f2e36513] fix dllexport decls 2015-05-17 Kohei Yoshida [572a14285bdac90d51e1033d314713333e9734bf] Add heading for older releases. 2015-05-17 Kohei Yoshida [e560c45921fd3897f4256698cc60e52f10393b1b] Better formatting. 2015-05-17 Kohei Yoshida [d8dfcb519339fc300a5ecd518ab71b4fce56c570] Add 0.9.1 to the download section. 2015-05-17 Kohei Yoshida [a305e88024d54a5d02d596694618cb05bb69bb08] Up the version to 0.9.1. 2015-05-04 David Tardon [da5d99c57ecdf54b40c248a109969021b70f5a38] do not let main() throw 2015-05-01 Kohei Yoshida [cb515746761b909052d0d2473f96a3f3570dd3cf] Here too. 2015-05-01 Kohei Yoshida [5f88a7a772d792306e7adb45efa44944a5951d41] Define these macros to please MSVC. Only relevant on Windows, apparently. 2015-04-30 Kohei Yoshida [5c3078a9d5d78e6d747ddab9625f12d7e4996343] These zip related classes are now in orcus-parser. 2015-04-26 Kohei Yoshida [72aa9320317a50fe0a336cf6e10e7f28da4e1285] Remove MDDS_CFLAGS from Makefile.am; it is now defined in configure.ac. 2015-04-26 Markus Mohrhard [002f8278fe44988be4701623d0467874f28ec4a8] we need MDDS_CFLAGS as well in the CXXFLAGS 2015-04-26 Kohei Yoshida [7ad405e7438a6f62b4e1f93520c9a493756a8504] cell_buffer is now in the orcus-parser. 2015-04-23 Kohei Yoshida [b40624ea24a2b3fe7a09471ae211fde0b78df248] Add mdds cflags for the parser for use of mdds/sorted_string_map.hpp. 2015-04-18 Kohei Yoshida [ad2c11d03cb41c8a74f71fadcff65476403e9915] Add download URL to 0.9.0. 2015-04-18 Kohei Yoshida [e46ee01f3e03d660de914397e73f2c48acb28c58] These test files are not in the repository. 2015-04-18 Kohei Yoshida [d438b16dcafd066626b0d31daeca6e6b2709602f] Fix all Makefile.am to get 'make distcheck' to pass. 2015-04-11 Kohei Yoshida [e57d8a860cbd07438cc6fc0653c5fd7b0f35e69a] Write test for sax_token_parser's handling of raw element names. 2015-04-10 Kohei Yoshida [53a2b2673b6ab432ee6a5d747901f594d49223f8] Rename to sax_token_handler_wrapper_base. 2015-04-10 Kohei Yoshida [e7fa0d8c02cdce11eacb47639fbb11bb5c42fe43] No need to keep reference to ns_cxt in the token parser. 2015-04-10 Kohei Yoshida [0e96d65cc7cca308cb559b383dbd61168b9b71b9] Remove the _Token template parameter and move some stuff out of template. 2015-04-09 Kohei Yoshida [847501f3d3ec54538a2252ab92e3f747f72314fa] Set up test framework for sax_token_parser. 2015-04-09 Kohei Yoshida [312554a4b97602bb8d40bdbe54652fb356a307de] Move tokens.cpp in the slickedit project file. 2015-04-09 Markus Mohrhard [b73f777a45dfe0dc8601016145932c8c4bddf907] use c++11 for orcus This allows us to use some simple C++11 features. 2015-04-09 Kohei Yoshida [1f3adc69145e47348d9a6a90239f28f1e5123193] Now all sax parser family belongs to orcus-parser. This makes more sense. 2015-04-09 Kohei Yoshida [ae4906773e2b3729236e358d7e04d7f00e8ca631] Move tokens.cpp from liborcus to parser. 2015-04-09 Kohei Yoshida [b205d8c8334241c988f179e495e9c6ef0dcee7a5] These belong to orcus-parser. 2015-04-09 Kohei Yoshida [9301016cebb58cc4212744fa832fd482226d18fe] Store raw element/attribute string pointer along with the token. Useful in presence of elements or attributes that are not on the master token list. 2015-04-08 Kohei Yoshida [08ff1da6575d9c9d07c5f3a0db76198ce7680faa] It's not 2015-04-07 Kohei Yoshida [8d3f0f8f5cf8ea7aa3344b57c2e2fbc2c602d0ca] Annotate the skeleton handler for sax_token_parser. 2015-04-07 Kohei Yoshida [7dca7894bddcb721d8560d7911f868763d8e0e67] Annotate the sax skeleton handler methods. 2015-04-07 Kohei Yoshida [aa7ede2c6995c9458dfe1c9f5eda6cef092954d7] Add skeleton handler for sax_ns_parser. 2015-04-07 Kohei Yoshida [9e740396e74804abb0474c4a5443291ad8a3ae7f] Add Download section to README. 2015-04-06 Kohei Yoshida [dc758344d79685a4a60d08875aed7dd079a7755c] Add skeleton handler for sax_token_parser. 2015-04-06 Kohei Yoshida [910670f6dd9be9083d27eb1478faf893a69f6bbd] Take these example handlers out of orcus namespace. Since they are for external code, they shouldn't be in orcus namespace. 2015-04-06 Kohei Yoshida [4abcca164bdfc2f48346162b2835ff6cc47d87cd] Add skeleton handler for sax_parser. 2015-04-04 Kohei Yoshida [e9517a147cb7bf9b768561c47175d4797f1dd0e3] Add a csv_parser handler skeleton too (and a test for it). 2015-04-04 Kohei Yoshida [6605f84f9e09a8cbdd02e7e2d571f62ce072b5f3] Add css_parser handler skeleton code to copy from. This is for the user of css_parser to copy this handler class to use as the starting point for his/her own handler. The test ensures that the handler skeleton is correct and useable. This skeleton code is intentionally released under the MIT/X11 license. 2015-04-02 Kohei Yoshida [fc5d99a02e20e4eb43e25d9318fdd8af207aa44a] Update AUTHORS. 2015-04-02 Kohei Yoshida [6e139be58619476890fe1af347ae838eb0dfd6aa] Mention about the low-level parsers. 2015-04-02 Kohei Yoshida [b4e61f50356a75a67f7f18b1242f90019dd42ce6] Add markup. 2015-04-02 Kohei Yoshida [365c38ba6d95cfbeaa22ffb2ca6c02bf07b6e4e7] Rename README to add .md extension. 2015-04-02 Kohei Yoshida [4c8af0a142a2f35bfff0f6de318dd01ffcd8510d] Disable debug statements. 2015-04-02 Kohei Yoshida [afe23f3920791d708212448f9ab99c39816b65c0] Add test case for HSLA value & fix a related bug. 2015-04-02 Kohei Yoshida [fd0721688839625bacaade1ea11ae521cadc8d45] Run the test for real. 2015-04-02 Kohei Yoshida [e3b611fe4e2604b33b18bdd9a10ab706f66e19b5] Handle HSL and HSLA color values & test for HSL values. 2015-04-01 Kohei Yoshida [5ec26ec444e1a0bd1c3a6045296c43c6645a8393] Handle single quoted or unquoted URL values. 2015-04-01 Kohei Yoshida [63625f6d266613bb2da2ec66aa6614d30cbc071e] Prepare for handling single quoted values as well as double quoted ones. 2015-03-31 Kohei Yoshida [e7a04374a816c59e01dac37f29bdc381095850ab] Add test case for url property value type. Once again, quoted URL value only for now. CSS also support URL value that's not quoted, which is yet to be handled. 2015-03-31 Kohei Yoshida [a2c00e388cbb29e685c91cfebc854d07d656ebcd] Handle and store url property value. Quoted URL only for now. 2015-03-30 Kohei Yoshida [06dce2de90a228af3b0f7ad181596d0acf5d3bc8] Fix parse failure on literal of length 0 & test case for it. 2015-03-30 Kohei Yoshida [804c74bed072e724d2748c7a90e1a827a940584e] Move these into 'complex' directory. These are not to be confused with those that are unit-tested. 2015-03-30 Kohei Yoshida [863e3fae47c7bb2499ea9737f675e011defe166a] Write test case for rgb property values. 2015-03-30 Kohei Yoshida [2f4ab44d64da604977c9960394c290797b140b39] Store property value as css_property_value_t instead of pstring. 2015-03-30 Kohei Yoshida [3efb76502843599d1be6f68ce84789205dd31d03] Add copy ctor, assignment operator and swap() method. 2015-03-29 Kohei Yoshida [652ae63cbfaf3b060ba28a8b5679723e12d04f6e] Alpha value ranges from 0.0 to 1.0 and is not an integer. 2015-03-29 Kohei Yoshida [2fe55a205607676972e14f8e48a461e0a53be374] Set up a structure for storing a CSS property value. Not used yet. 2015-03-25 Kohei Yoshida [3e8d725e53fe5fdc38c42c6e442b24c5f2287497] Clip the value to max value when exceeding it. 2015-03-25 Kohei Yoshida [383b4b7775beeb927e69909ebd5a86f6aa59c1fd] New basic test case. Not tested yet. 2015-03-25 Kohei Yoshida [f387de630ef9a22b3d20d847b96ca70971d0fbb0] Parse 'rgb' and 'rgba' color functions. More to come. The color values are not stored in the document tree yet. 2015-03-25 Kohei Yoshida [e63acf3681556eb85751136766fa14420e896442] CSS file that the parser currently fails to parse. 2015-03-24 Kohei Yoshida [e5959a34cdc9558599183b442583e81460a92d57] Another test case for chained selector plus bug fix for it. 2015-03-24 Kohei Yoshida [d75066163c0ed121dc836dc9e0ae29b7a79707c4] Don't forget to descend to the next level when iterating on the chain. Plus some scope reduction opportunity up above. 2015-03-24 Kohei Yoshida [d140c53978bb8cbdbeaf418b3f3492665b446391] Add test for first chained selector. 2015-03-24 Kohei Yoshida [e487aba7179523de1d500a288f092c548acc56e0] Dump properties of chained simple selectors. 2015-03-24 Kohei Yoshida [43b97ed1b49b6385f8d30646ff5580ea39e01780] Print chained simple selectors and combinators. 2015-03-24 Kohei Yoshida [a3c019aab1c2825144ecc7bfcb8b1d6f778fc04f] Have the handler store combinators and add insertion_error exception. 2015-03-24 Kohei Yoshida [c85176a2eb43181cb4e6fc697d972bd5640df736] Re-use orcus::general_error for exception with message. 2015-03-24 Kohei Yoshida [10a4115576f7ee28dccce561c40295641e0afa8a] Parse and push combinators to the handler. Also use common function to throw exceptions to reduce templatized code. 2015-03-24 Kohei Yoshida [6ef7a4c00384d68e16ea93615a8145f8bb569116] Finally store properties with pseudo class correctly. And write test case for it. 2015-03-24 Kohei Yoshida [fe5f05821be3cc38b5fa5f3dc1b55081f45d6b65] More on handling pseudo classes. Not done yet. 2015-03-24 Kohei Yoshida [10d0279dce509ffba0215872da88851febeb5fbf] pstring actually belongs to orcus-parser. 2015-03-24 Kohei Yoshida [0317d817ba6f793701d539d531865e09bb13d55d] Add pseudo class types and a function to convert them. 2015-03-24 Kohei Yoshida [c264203488f2d5238d2a533370e6aaaa0f8b3788] I forgot to add this file. 2015-03-24 Kohei Yoshida [aabefd6789e0856694453f874f1cd49bba4c1b42] Add a new method to fetch all property sets for given selector. This is more efficient in case the caller needs to pull all properties for all pseudo element values for a given selector. 2015-03-24 Kohei Yoshida [cf1efec2c489367567ce055970d67fb92b4bf10a] Test for multiple pseudo elements in single selector. 2015-03-24 Kohei Yoshida [a2c44b63be78249e77b05c7cfaa4aa71053774b8] Add test case for handling pseudo elements. 2015-03-24 Kohei Yoshida [baa3a4c0bc43af05c3f5e4ed482a1cfcdc2ea12c] Parse and store pseudo elements. I still need to write a test for this. 2015-03-24 Kohei Yoshida [f025abe48bb496fe07a8bd8dd9df87810ab44f10] Put primitive css types under css namespace. No idea what's wrong with slickedit wanting to mess with own project file this bad.... 2015-03-24 Kohei Yoshida [4d66d03a70affd2e18aa74981ac9234f73f5ac82] Handle pseudo element and class separators in css_parser. And separate the css selector structures from css primitive types. The css primitive types will be used directly in the parser itself. 2015-03-24 Kohei Yoshida [a667f7b2524691a65b2264b560fc73c2cc778cb1] Implement is_in() and remove duplication. 2015-03-24 Kohei Yoshida [83bc48d8201db2491295b20394117a16b9a41f37] Prepare for storing properties for different pseudo element flags. 2015-03-24 Kohei Yoshida [bfc0b43d2f3c9105c3ec22c9751f5216e6bf7311] Let's not store this here... 2015-03-24 Kohei Yoshida [61d6a8aab3d4e59a6dda1a8ef0f6fe488d68a8c1] Implement hash function for real. 2015-03-24 Kohei Yoshida [5eba99af03781dff7021d656fcbc90168b736bf3] Mention that this is a bitfield. 2015-03-24 Kohei Yoshida [b1aee6d5c3e2d0e3f2ac578a562b4d954d017e04] Add CSS pseudo element types. They are not used yet. 2015-03-24 Kohei Yoshida [8b148f0667a2f6c2549edadc49f55aa6fa0a3a46] Handle selectors with just ID. 2015-03-24 Kohei Yoshida [cf8c1cd19de3dd99782e5c77898f7c738977e164] Support selector with multiple classes. 2015-03-24 Kohei Yoshida [99395ec9ffbce23d0a38387676b707b1252970ff] Move more code out of the template. 2015-03-24 Kohei Yoshida [e8bcfc5dce27924942e2770f24c954a13c7b286e] Re-use identifier() for this. 2015-03-24 Kohei Yoshida [36e08473bb2e80c62980e93621894189caa22429] Move some code out of the template by creating css::parser_base. css::parser_base is a non-template base class that stores code that doesn't need to be templatized. 2015-03-24 Kohei Yoshida [837f35a77ca2d5688494dc9d47f7a40e3f21cc1c] Clean this up a bit. 2015-03-24 Kohei Yoshida [33aa19cf661ed72fee78bae2acb6ffef111293fd] Handle CSS ID's. 2015-03-24 Kohei Yoshida [8ad18bdaf69bdf257f7fd5bc42fc06d1194f1233] Add test for handling of comments and fix the parser while at it. 2015-03-24 Kohei Yoshida [d68f5a4a1bc2cd8294f85449d08a9bc5f008f4fd] Add another test case and fix the bug uncovered by it. 2015-03-24 Kohei Yoshida [0435c6ad3cab24bcda9b7d4e293758f563960a28] Add comment at the top of each test css files. 2015-03-24 Kohei Yoshida [a3fcc58851979a95b01382ad4e0638c8906c6a7a] Handle inline comments in more locations. 2015-03-24 Kohei Yoshida [ed5327d09b25163abb08c2d8ae09455b89a3d8a2] Handle inline comments in some locations. Not all locations are covered yet. 2015-03-24 Kohei Yoshida [d829bc845968fb450734260c7e67f6d49dd77556] Another test case, and fix one bug in css_parser. '%' may appear in a property value e.g. 'height: 100%'. 2015-03-24 Kohei Yoshida [36674d0de5ea3d098b45a97ebad0fe1cee260ec0] Add test for global class selector. 2015-03-24 Kohei Yoshida [3e992f9fdf4712dce5f462f61f771b35198fa507] Add this new file to the slickedit project. 2015-03-24 Kohei Yoshida [829eda079b2142a6c94ce2c2ecd77c7b97f150a0] Test for a property whose value consists of multiple strings. 2015-03-24 Kohei Yoshida [a6fc2f6f820bc11f3795015b65b35a3c787cec32] Correctly handle property value that consists of multiple values. e.g. 'border: solid 1px;' where the value of 'border' consists of 'solid' and '1px'. 2015-03-24 Kohei Yoshida [ce291d1806d124ed6758404c528ef98075b8061c] Check the size of returned property container in unit test. 2015-03-24 Kohei Yoshida [da678fd2cd9545e006a14368c97c76141cf3d459] Check property values in unit test. 2015-03-24 Kohei Yoshida [7fe8bef237025cdc055f8d9008ff9f60052eee54] Rename to disambiguate these two const and non-const functions. Apparently mp_impl->m_root doesn't automatically become const even when mp_impl is a const pointer. 2015-03-24 Kohei Yoshida [c4c87c4093174a5ed1dd590676029828a4183382] Add script to execute test binary independently. This will makes it easier to debug in case a test fails. 2015-03-24 Kohei Yoshida [7feb8595f7ab6c9e12357620886b13d12f3734e8] Test something for real. This currently fails. 2015-03-24 Kohei Yoshida [3c9aabbf37cb6866fe2fda69c52c6f9912dd6eb3] Set up the basis for testing css parsing. 2015-03-24 Kohei Yoshida [cfe008b0e58c7e3140d29bd202a60263e853ec74] Header cleanup. 2015-03-24 Kohei Yoshida [00e2b3f69fb368317aafb9452f63345ffccec546] Move css_parse_error to css::parse_error with non-inlined methods. 2015-03-24 Kohei Yoshida [1ab6015e71eb04d02384311913775c947d465112] Move the css loading code to css_document_tree. 2015-03-24 Kohei Yoshida [8ab05ab9dcdd3534ad78085b5e4361dd2269ff30] Implement css_document_tree::get_properties(). This method is not yet used, but will be used from unit tests later. 2015-03-24 Kohei Yoshida [3239443686b272cfb536df74ac5656104fdc09ff] Print selector name only when the property set is not empty. 2015-03-24 Kohei Yoshida [379f27383f3f4dcc2604fde07fc9197fdc5e4d85] Dump all properties afterwards. Properties for chained selectors are not dumped yet. 2015-03-24 Kohei Yoshida [b0c5a2d9477c790961616babced91cb2a5b58bb4] Store properties for real. 2015-03-24 Kohei Yoshida [beb328f9e87c8237d0c5eefa6cb410ff2450094c] Push CSS rules to the document tree instance. They are not yet stored for real. 2015-03-24 Kohei Yoshida [9687529eac23fb7e07748ef1334a6e69349cb391] Set up skeleton CSS tree class and some associated CSS data types. 2015-03-23 Kohei Yoshida [eba40c57149edbfe34fe2a9c32c31deca5d7582e] Change the wording and punctuation a bit. 2015-03-23 Kohei Yoshida [1d60ff3f44d0611c737a860e62b1eafadcbd9a73] ORCUS_ASCII->MDDS_ASCII 2015-03-23 Markus Mohrhard [5c4ad45b64a576683d96a59b49e2465cd463aab8] add missing interface methods for iconset import 2015-03-23 Markus Mohrhard [e014e0bd8e2992d902459dbbc8e788b63d2b6116] add more databar import interface methods 2015-03-23 Markus Mohrhard [2716332a3cfb595cc85331238a080ce46052b4c5] add more interface methods for conditional formatting 2015-03-23 Markus Mohrhard [5762ce3b432bac9f10bd33f4764b708ab6c0f0a6] gcc complains despite handling all possible values in the switch 2015-03-23 Markus Mohrhard [7bbefd72f20be004210161802b0cb45b8d1e9795] make sure that colorScale entries don't appear in the unhandled list 2015-03-23 Markus Mohrhard [e340c8b3d2b62ba5e684dfbcc9cc5b645f508066] import icon name 2015-03-23 Markus Mohrhard [15b0969de46d830864a1ebfdc52ffa747510670d] handle cfvo and color for colorScale, iconSet and dataBar 2015-03-23 Markus Mohrhard [a62acfce324988ae1afb4b6f138c31b5d3e1f268] store colors also in container for later consumption 2015-03-23 Markus Mohrhard [5d5f14d79f75e469c13b67dac48040c16bc252f2] import icon set attributes 2015-03-23 Markus Mohrhard [1880d41b28b3ba70d97ff3bf8833418ff1af49c4] import databar attributes 2015-03-23 Markus Mohrhard [148748694f6224ea11443701524db73e976cffc1] store cfvo to map to colors imported later 2015-03-23 Markus Mohrhard [1e9cff839f566a345d8f1ee92fc9c7b5893b06d3] parse cfvo attributes in xlsx conditional format import 2015-03-23 Markus Mohrhard [d45f22b23ac4870d0c1a8be6097ed3cf810d5c02] import rank for xlsx conditional format import 2015-03-23 Markus Mohrhard [1d895599d7db34733111233e0622a5da374f997e] first part for stdDev import in xlsx conditional format import 2015-03-23 Markus Mohrhard [4f35344386c961078b462a7e68e91ac1ebe001b2] first part for dxf id import in xlsx conditional format import We still need to import dxf records and translate between dxf and xf ids. 2015-03-23 Markus Mohrhard [b61d4754900ab00181dccaf8cd833bc4e6fec253] import text for xlsx conditional format import 2015-03-23 Markus Mohrhard [7fd379ea8ae6eb6f0f60d3c2c91f9378f8c8677e] import range for xlsx conditional format import 2015-03-23 Markus Mohrhard [65d438ad9b635a2a31f06eecaecca325a7e8af9b] import date period for xlsx conditional format import 2015-03-23 Markus Mohrhard [f83603365aa81c2f008a164307b0e8ddb985e059] import operator for cellIs in xlsx conditional format import 2015-03-23 Markus Mohrhard [7cff80490caf102b3a9eb1da6ccf9c7681b44042] more work for conditional format import for xlsx 2015-03-23 Markus Mohrhard [d0c4ce628a78445cf067966df33aa786546b1217] add one more condition operator to the enum 2015-03-23 Markus Mohrhard [cc28a9a4bc17c461cb72ee1d6314c426723aa005] first step for implementing conditional formatting for xlsx 2015-03-23 Markus Mohrhard [77b55e7d230df0507e41811c9bc97215a6b1f9b6] extract useful function into own helper file 2015-03-23 Markus Mohrhard [c8a759f898e8f257c2f635f20959ca59e4f00e88] that should have been above_equal_average 2015-03-23 Markus Mohrhard [4f80dcbefbb5be2f83cd1f198dc03049a8b6ae29] prevent hiding virtual method from base class 2015-03-23 Markus Mohrhard [4637310868250ae447292dc49c309d743f3dc95c] import dxf records from xlsx 2015-03-23 Markus Mohrhard [00bb6782a3f635038ee0e824703fffd33cdf91d7] add interface methods for dxf import 2015-02-28 Kohei Yoshida [741bd9454474eba76c2be7928c382db53b26a973] Remove this file as it no longer exists. 2015-02-28 Kohei Yoshida [eddd91c119411f9be18a0837940674f470c3819f] Create orcus-css-dump utility for debugging & testing the css parser. 2015-02-24 Kohei Yoshida [cc8887655b49ab93b364c9e23c138e4b3cfdade0] These are in fact all bash scripts. 2015-02-24 Kohei Yoshida [efe3b05a8d55922e4373a8c144d76f80c724a006] Have css_parser use parser_global functions. Rather than rolling its own. 2015-02-24 Kohei Yoshida [da65dfbf6bd099b91c0149687edd0067db40bce6] Next version up will be 0.9.0. 2015-02-24 Kohei Yoshida [a0d4159e4f3cf7e232485d80e3721663ec9437e7] sorted_string_map.hpp is no longer in orcus. 2015-02-24 Kohei Yoshida [e47d724812596f4e84ab6f53f60b0bcde30e52be] Fix test_data. 2015-02-23 Kohei Yoshida [97185665fab60572779596361842ff0a5cc0f6e7] main dosn't belong here. 2015-02-09 David Tardon [9b8a788334eec08f15c10246a7a504bac51a7ede] add compile to .gitignore 2015-02-09 David Tardon [a1736425b79689b35bbc4aba450377afa25e1cfe] update boost.m4 The old one breaks on detecting boost version when used with gcc 5. 2015-02-07 Kohei Yoshida [f5f55b1a8f31bb621c924c50431aeb68ed248674] Update slickedit project files for the ixion update. 2015-02-07 Kohei Yoshida [0c9cb1b690fd89c2c63cd1343013cfe82b0fa048] Add more file extensions to ignore. 2015-02-07 Kohei Yoshida [72ddbe088709166d425326dc6392fedb352dfa48] orcus now requires libixion-0.10. And get it to build. 2015-01-30 David Tardon [0eb23341e9a921cac7e97894d31c885896ea4867] add missing include 2015-01-28 Kohei Yoshida [9809a9d0f5ccce3d52f056b8e9477db7cb2fe04c] Rename condition_date_type -> condition_date_t. 2015-01-28 Markus Mohrhard [0cebed695e2821105ad44dc46687a9a20af87803] implement conditional format import for gnumeric import 2015-01-28 Markus Mohrhard [7bd52259491f0e660b2da50f44c7b1938fd2f4cb] no need to store that in the region data 2015-01-28 Markus Mohrhard [68e3680e310205524c2ac0586413b0886864898c] first part for conditional formatting interface The interface is still incomplete but already contains the basic concepts with format, entry, condition split. 2015-01-27 Kohei Yoshida [fe3d6ae6e2da24d5a3aaafcca6ad9bb093e86f1b] Fixed link errors when building on Ubuntu 14.04. 2015-01-12 Kohei Yoshida [5c5d7f00ec1f64b79830f3a4ea813c0bd2e16763] Rename set_format_range -> set_format. Other interface methods whose names are set_*_range() all tend to take a string value that represents a cell range address. Because of this, the name set_format_range may give the impression that it too expects a range address string. Hence the rename. 2015-01-12 Markus Mohrhard [32e092ead98d76e7f5151ebb48ec605cd8887a92] gnumeric: foreground color is also the text color 2015-01-12 Markus Mohrhard [6df38c8ec49f74635cdf9be4f51c4489ef613505] add test for gnumeric color conversion 2015-01-12 Markus Mohrhard [c689f78806cf8e081420fef56fa60bc27777c505] fix color conversion for gnumeric 2015-01-12 Markus Mohrhard [921b3cd98b08bb586954cd631ae6d1cc8f6af898] use new interface method for gnumeric style import 2015-01-12 Markus Mohrhard [f6ced059faa4e5fdcfc454f841f63e349ed5eee6] add interface method to import cell format for several cells at once 2015-01-12 Markus Mohrhard [ea7bd5e3ad607455dead301115a03147a3d97576] actually import the cell format in gnumeric 2015-01-12 Kohei Yoshida [9ec5ff5aa5fe103b075104145136fa458741ce82] sorted_string_map is now in mdds. 2014-11-12 Kohei Yoshida [8fb916a4ccfcfa0f2b2087e756f03995888033e9] Split visibility macros for different shared objects. 2014-10-27 Dmitry Roshchin [34706da0bd20b9872d352e51c74fcaff2f49d3de] Fix build with boost 1.56 2014-09-25 Caolán McNamara [3ba9bbfe69ce0b66cc0f2689d94224b7e12d5b0d] coverity#54449 Uninitialized scalar field 2014-09-25 Caolán McNamara [6968ef1a13101375230b390589771953bee96b97] coverity#54451 Uninitialized scalar field 2014-09-25 Caolán McNamara [8e4727ca850912c5606d7b70321c3b9b986c2c08] coverity#54450 Uninitialized scalar field 2014-09-25 Caolán McNamara [9ef8ed8bdbe2c9756115c7d3e98c7180bb63fd0f] coverity#54448 Uninitialized scalar field 2014-09-09 Markus Mohrhard [35a7291d93507abe941769f32c23f8d3177eb298] coverity#54439 store pointer to local variable after it has been destructed 2014-09-09 Markus Mohrhard [e3b01b6d864b3634640caf2dfbf7d1a9150e05d0] coverity#54426 missing break in switch statement 2014-09-09 Markus Mohrhard [98342d1d0ff0c7584efa856af10823c688f174fc] coverity#54427 missing break in switch statement 2014-09-09 Markus Mohrhard [24c2fa2247f8a65920fd01ca6ef260ef1b0960d2] coverity#54428, missing break in switch statement 2014-09-09 Markus Mohrhard [bc494f3cc0538b662065183e039a0fbb9dcdf282] coverity#54429, missing break in switch statement 2014-09-06 Kohei Yoshida [aee4af3ca04e70004af156c79c9f8fe8a3a849e9] Increment row position for skipping header row, not decrement it. 2014-09-06 Kohei Yoshida [69b3e2b95b75435c14157389adbf7d97cdaa752e] Add test xlsx document that has table reference with column range. 2014-09-06 Kohei Yoshida [80476580493ec61e99d092200224bf657335807d] Handle column ranges in table reference as well. 2014-09-06 Kohei Yoshida [25bbbf2f8dea989335a9131194d9ecf50ffb1e3e] Implement ixion::table_handler interface to handle table references. 2014-08-29 Kohei Yoshida [01bb1eb0cdfbb46fde7650f663ca8c965874f542] Pick up subtotal attribute from dataField element. This defines the function for data field inside pivot table. 2014-08-21 Kohei Yoshida [ddc9c03fbc81dd4081e696c0273d224692bd3265] New test xlsx document containing 2 pivot caches. 2014-08-21 Kohei Yoshida [1ed93c2f2d921a928fb0551ee7b46787edcb10e6] Tweaking the output. 2014-08-21 Kohei Yoshida [9445348559914663f9cd54f9fb2c2f2972a448cf] Note about the undocumented value of -2 as pivot field index. 2014-08-20 Kohei Yoshida [bbbab33fb44fb0439f6d60ba43cef50ae52638a6] Direct string entry in pivot cache record. 2014-08-20 Kohei Yoshida [e379c11376b9ea41811bdb5c06b8e14b0133ba77] More tweaking of the dump output for pivot table data. 2014-08-20 Kohei Yoshida [193d83b9377bce118952cb8a16a473f5fece2638] Pick up pageField elements and their attributes. 2014-08-20 Kohei Yoshida [ae15790d8d91f8620e57514261b04f36705717f1] More on parsing pivotTable[n].xml parts. 2014-08-20 Kohei Yoshida [55fcbb36200191ccbeb65282a458c01ed4d41022] More attributes to pick up. 2014-08-20 Kohei Yoshida [b818917670905d6691cce33ed5f2e47fa55cf7ea] Another xlsx document with pivot table with many fields. Just to see what sort of pivotTable content it generates... 2014-08-20 Kohei Yoshida [e77aa61c36fe27e2edd080df7595a63ee947f15f] Some comments. Pivot table structure is really complex... And reading the spec adds more confusion. 2014-08-20 Kohei Yoshida [24719150cbf2deb31cc967020c28f3cdfd73b5d9] element has 'dataField' boolean attribute. 2014-08-20 Kohei Yoshida [d5402243bae27931d464c6cbc70bfea9643f139d] Parse pivotTable[n].xml parts fully. 2014-08-19 Kohei Yoshida [47784398fd1885de3fa131188ae089ed06578ccf] Parse the attributes of pivotTableDefinition in the pivot table part. 2014-08-19 Kohei Yoshida [b881b6fa33a2062c38bde0fdf2fc2a7975bf8e15] Class descriptions. 2014-08-19 Kohei Yoshida [efdba74623b7aebeff3daea0acc6a8d29a36fe28] Parse pivot cache record parts & dump content to stdout for now. 2014-08-19 Kohei Yoshida [237564a72b18ec21b425312ad44e89e1de086001] Comment unused method arguments. 2014-08-19 Kohei Yoshida [318b0db68ce7a91933e9411a9165e1e31e5078db] Add test xlsx document that has pivot tables in it. 2014-08-19 Kohei Yoshida [8a7451d4e725ed18d3a5e682491c482d5915ce8b] Parse the pivot cache definition parts for real. For now, I'll dump the data to stdout. Later I'll work on designing a public interface for this. 2014-08-19 Kohei Yoshida [c9c563c9d1fb61eede332e84473802eca099c234] Add skeleton code for pivot cache record parts. 2014-08-19 Kohei Yoshida [eafae1d3fc0386b85bc4cc17526de0d9d283f73b] No output when the debug flag is not set. 2014-08-19 Kohei Yoshida [132792f3f37bae96ad0eb99fbbbb8760f5cc2f87] Store handled part paths to avoid reading the same part twice. And follow the relations of pivot cache and pivot table parts. 2014-08-19 Kohei Yoshida [8d547b1a9eff589a22122e8da50da1d733b010ab] Add skeleton handler for pivot cache definition parts. One thing to note is that the same pivot cache definition part is referenced multiple times: once from the workbook.xml and twice or more times from the pivotTable#.xml parts. One way to handle this is to have the OPC code to keep track of which parts have already been read, and skip any attempts to read the same part twice. 2014-08-19 Kohei Yoshida [008ee5e014e01462bc81875a82a2a5bd26a7d822] Set up skeleton pivot table xml parts handler. 2014-08-19 Kohei Yoshida [0bc1de66495f586d110a2446c1c7d98448fbde13] Set up paths for pivot cache and table parts in the OPC handler. They are empty for now. 2014-08-19 Kohei Yoshida [e2a27ed0abb17d0c37ed72a0c4b346d437a1c612] Add new schema types for pivot cache and pivot table relations. 2014-08-19 Kohei Yoshida [1fee3b0a2e13bf43bc7ce27a08a62255361b4355] Add new files to slickedit projects & fix header guard. 2014-08-19 Kohei Yoshida [1422ce461c6d061f97ef702b7c858448b5657e39] Fix the control file to adjust for a bug fix in ixion. Ixion's name resolver would previously print all range references as relative i.e. without the $ signs. That was fixed and we need to change the control file to reflect it. 2014-08-18 Markus Mohrhard [24c014b962f3944e8804771e838436f933ed6671] allow standalone table import from xlsx This allows to use the table import for small parts of an import process without the need to bring in the whole orcus in one big step. 2014-08-18 Markus Mohrhard [4b0fe6827eb5a44cd559094c0520dc74a0665fe4] by default don't use Werror 2014-08-13 Kohei Yoshida [6816142a974da1fc5f6bef159bbd87542165fe3d] This is no longer needed. 2014-08-13 Kohei Yoshida [ae843d439e8396740e16c155f05066d00fb27bb5] Fix buffer overflow in sorted_string_map by specifying key length. This also (in theory) lifts the restriction that the key must be null-terminated. 2014-08-13 Kohei Yoshida [709e6e49d4e885ba99f18a2497f9cf3533362788] Avoid potential buffer overflow with 'input'. 2014-08-13 Markus Mohrhard [0bdeb971d905abf71020c198215361a92d75d2b3] fix invalid memory access in base64 functions Boost expects the input to be a multiple of 3 bytes for the encoding and a multiple of 4 bytes for the decoding. Otherwise it accesses past the end of the input array. Therefore we now pad with '\0' and replace the generated 'A' with '='. 2014-08-09 Kohei Yoshida [29ebb131b3caa6771dff4feed28dbaf27607749b] Hide these debug statements as well. 2014-08-09 Kohei Yoshida [c5d64acb3f43a79b65309ba9868bd34439f4f125] Import style info for table. 2014-08-09 Kohei Yoshida [3d6fb5180c696b526df9cf0d3b3c451f904f87a8] Turn off debug statement for table context when --debug is not given. 2014-08-08 Kohei Yoshida [0bbf9cab6580ba2961f658bd194f5cfdec5fec65] Make it a real swap. 2014-08-08 Kohei Yoshida [2476d9380ee82f4b46f2fc09447a0f3e10f2beb5] Extract common code blocks into a shared method. 2014-08-08 Kohei Yoshida [cffcfbc7a250da1b0dc9098ef1324da9cbb1aac9] Implement import_auto_filter interface for table, and enable the test. 2014-08-08 Kohei Yoshida [6026f2d00c347eb1db081ee6ccac83e299094dc5] Check the contents of table columns in the test code. 2014-08-07 Kohei Yoshida [24085ffc91811e78c632d3d4a3506dd11f7672f7] Start writing test for table import. Some parts still fail. 2014-08-06 Kohei Yoshida [ac194ea45f2f9b526e1737f63ba86235ba3e7251] Store table data to the document model for real. 2014-08-05 Kohei Yoshida [e710bae2b93a9e889ce6cfbb8caf8edb64ac9d58] Add note about spreadsheet's types.hpp header. 2014-08-05 Kohei Yoshida [e2a8af3aead3686392ec5011878fc91517f0ff9d] Calling get_auto_filter() should reset its internal state. The same with any other getter methods that return a feature interface. Let's make this a rule. With this rule, the filter code needs to call the getter at the beginning only once since calling it will initialize the state of its internal feature data. 2014-08-05 Kohei Yoshida [655d76767c1649742e19c0d4e00eec37cbbca1b5] Pass picked-up table data to the table interface. 2014-08-05 Kohei Yoshida [aa1efe7d4680c05051d682e85abbffd417be5657] Common method to push auto filter data to the model via interface. 2014-08-05 Kohei Yoshida [64249d1223a9f4d498962dfdb722ddc765e00158] Pass the table interface as reference, not as pointer. The pointer has already been checked for NULL-ness earlier in read_table() call. 2014-08-05 Kohei Yoshida [88044a0431db8f53e4bf4e0d970e4486608ead67] Parse tableStyleInfo element inside table. 2014-08-05 Kohei Yoshida [ffdff6d9736aab6ba945c4bd056abe11bb89e9e2] Parse tableColumn elements in the table part. 2014-08-04 Kohei Yoshida [6c1a6ca2b4dd54a1b550ce78aa03617f1b9f8c73] Work on picking up table data. Not done yet. 2014-08-04 Kohei Yoshida [98d3df7137faedac2089960caf302f1503303757] Initial data structure set for storing table data. I put them in the same place with the autofilter data, since the two are quite similar in nature and usage. 2014-08-04 Kohei Yoshida [1ec974b9d963d56a8272f3b958113326dbc4b974] Note about ixion dependency in public header files. 2014-08-04 Kohei Yoshida [f06695995995611f8a54837bf5df67a4df77ce90] Move table.hpp from public directory to private one. 2014-08-03 Kohei Yoshida [8282d8380046b950c72d8a27de0c4d6af806435c] Add class descriptions. 2014-08-03 Kohei Yoshida [5e3a5502773ae4e19133a9e4d745ee45dbee9327] Update slickedit project files. 2014-08-03 Kohei Yoshida [ddbdd4b93d84af212b3821a4c57592378e84cd6f] Move this from a public header directory. We don't need to expose the implementation of an interface. 2014-08-02 Kohei Yoshida [389bd496efa1b48db6c0a62a0b179270576792b3] Test the import of sheet auto filter data for real. 2014-08-02 Kohei Yoshida [54d5225d5aaf2da65a6d6cdbdbad65a71aa8f6c7] Implement auto filter sheet storage. This is for auto filter stored directly in the sheet only. 2014-07-19 Kohei Yoshida [29781fb04718e8d4ec958d0e950f054db7fbfa06] Pass the config and namespace context objects to child contexts. Let's not forget this. 2014-07-19 Kohei Yoshida [e0c5b0a4b30043e20668b1400357c6d6fcde59b3] Set up autofilter test code. No actual test yet. I need to first store autofilter content into the document first. 2014-07-19 Kohei Yoshida [69ce0e632473ae64d9344602328d1d6ed3a3e7eb] Another debug statement I overlooked. 2014-07-19 Kohei Yoshida [f97f067d637d78c19e8fd1928038d2a8c8759944] Add documentation of the config options. 2014-07-19 Kohei Yoshida [f59024b44f60c35049f1e8358cfe6e92a40a8d95] Add structure check config option to replace its compiler macro counterpart. 2014-07-19 Kohei Yoshida [7996e40b0dde1539836a2ab61997d7b4e0747de0] More on turning off debug output. 2014-07-19 Kohei Yoshida [06db6b3ab2b5b299d48b4798ae2b994795588abd] Move config out of iface namespace, since it's not really an interface. 2014-07-19 Kohei Yoshida [35d99e24cb32f5f8ea431bf5c75b9dff6a9529b2] xml_stream_parser now requires config object to be passed. 2014-07-19 Kohei Yoshida [1108e6b79087b3f26bb3de6082a2bb657ebb3c85] Stream name parameter is not used. Let's remove it. 2014-07-19 Kohei Yoshida [53c4eb6c2bb9bed568439a6f0a617d0d3363df10] Turn on/off debug output in orcus_xlsx. 2014-07-19 Kohei Yoshida [8184dc9b805168569b396bad83ba125e56d0e1dc] Use the debug flag to turn on/off debug output in opc_reader. 2014-07-19 Kohei Yoshida [df0aa43bfc4324011457cdb6d9e2d01516b0de44] Pass config option to opc_reader. 2014-07-19 Kohei Yoshida [1c816f6d852909bf359f1f92308b9a23d01a3146] Add a debug option to turn on / off run-time debug output. Not used yet. 2014-07-19 Kohei Yoshida [2375dab0f97241abdcbe19a16727ffad74ad2f44] Output directory should not be needed when specifying "none" format type. Because the format type of "none" does not create any output files. 2014-07-15 Kohei Yoshida [819a60658a9d53b455589968661fd07a3461610c] Cleanup. 2014-07-15 Kohei Yoshida [f9e0b84e2e9e071d1efd24675c4cd776bedc655d] Print namespace alias values for unhandled element warnings. Aliases look easier on the eye than full namespace URI's. 2014-07-15 Kohei Yoshida [8710cf96ebe9c2c9e3a5396769bc5bb7d6027667] Better output. 2014-07-15 Kohei Yoshida [28e441f3a84340b62154fb82df8dd57417e20d23] These elements can occur under 'oc' or 'nc'. 2014-07-15 Kohei Yoshida [6e04fedd93dc2511ed92cae3d00309410ad0846d] Use xlsx_cell_t for the sheet cells as well. 2014-07-15 Kohei Yoshida [ccea9843e01f4f508520543bb321d6867988a8d9] Pick up row column insert delete revisions. 2014-07-15 Kohei Yoshida [fa8db6bce5b8246b71f326c1125a1563922bf6a1] Parse cell change revisions. 2014-07-15 Kohei Yoshida [4c36d302761c8cb3c63e0337ac7c94ccf2838d4c] Get all revision types. 2014-07-15 Kohei Yoshida [321c893b9412e8c5a0a58c76233cc2e250f58592] Parse revision header XML part. 2014-07-14 Kohei Yoshida [37dd03d124fd78e7f75dcd152ed2d261570bde2c] Empty context handler for revision log parts. Likewise, it doesn't pick up anything yet. 2014-07-14 Kohei Yoshida [f95fc792cad8b25eb62ffc7b2a042b89199e502c] xlsx_revheaders_context.* -> xlsx_revision_context.* 2014-07-14 Kohei Yoshida [f866dc375fb1efb40224c6df1e88baf7240187be] Add skeleton handler for revision headers part. It doesn't pick up anything yet. 2014-07-14 Kohei Yoshida [1157c42d9c71715cfb7563dbc5e1d482a5f98022] Two more MCE-related schema values. 2014-07-14 Kohei Yoshida [932068afc78e8bd2db4b51d7a3c7d65ce4d3644f] Add missing schema types. 2014-07-14 Kohei Yoshida [5cef3bdf41831372dd36bc5f976f7eb7318b02cd] These elements can occur under customSheetView element. 2014-07-14 Kohei Yoshida [0f9ba39235cb2cc1c227c587858df6fc7c7ec278] Add new content type values needed to parse revision data. 2014-07-14 Kohei Yoshida [efa7aae7c60a517563203b20214fdc74b943a5df] New document to test importing of revision logs. 2014-07-06 Kohei Yoshida [bcc9a408855221572b15b922be076df8af34b5cf] Add skeleton implementation for table import interface. 2014-07-06 Kohei Yoshida [2780d754b38fe6236f2144864595cd5032240a61] Build fix. 2014-07-06 Kohei Yoshida [ed45c182010781cb4a7e87f0acf3db7832adcae4] Pass the sheet interface to read_table() to fetch table interface from it. 2014-07-06 Kohei Yoshida [d5465ef16d6dd78cbfb7a5b028b92c83a1f4cb22] There is a function object for this. 2014-07-06 Kohei Yoshida [6790a876fee0823e6e1eb22b48c2c52ada1bce9b] Throw an exception when appending a sheet instance fails. 2014-07-06 Kohei Yoshida [781ec3be0a049bfb8dce81f45782c011dd105b40] Populate the table interface to import basic table data. We may add more methods later as needed. 2014-07-05 Kohei Yoshida [bd3915390f7812e21adb92e1de8f4a0ee97b3216] import_table interface to import table data. Empty for now. Also fix some spell error. 2014-07-05 Kohei Yoshida [cc6be7eafbf13c7f7b0530ed3f9fd388e11106dd] Fix the description. 2014-07-05 Kohei Yoshida [5689b5e25d075f928f3e4a1df009b3db2ea25bb0] Pick up autofilter data from table stream. 2014-07-05 Kohei Yoshida [244299a428f2cab644208b52809504ad782d18ad] Fix build breakage. 2014-07-05 Kohei Yoshida [ee0ca2e2a8a44a626690ee09f29593b7d6f0b39b] Use xlsx_autofilter_context to parse autoFilter in the sheet stream. 2014-07-05 Kohei Yoshida [79444376514c29708be3022730e468d1dd044274] We need to get the ref range too. 2014-07-05 Kohei Yoshida [f962a1c0ff9f1bf9016e3aa38ddb4aeac5143f9d] Write separate context for autoFilter scope. 2014-07-05 Kohei Yoshida [b241f0ece5dd904809dc6ede9633f3eb62315783] Set up an empty context for handling 'table' parts. 2014-07-04 Kohei Yoshida [fd74fd462f341a5f27886b411581537eb8dab6e2] Make this non-copyable for now. 2014-07-04 Kohei Yoshida [de8cdc2c24b0ac9864ccfcb155f046c73496d285] Make these interface methods non-abstract. So that if the client doesn't want to implement them they can just do nothing. 2014-07-04 Kohei Yoshida [fc49b22d8f78e94e70658042fa697fc2b5849d7b] Fix memory leak. 2014-07-04 Kohei Yoshida [b787951bd6bef675bb23ad7997d6bc15a8a9f131] Do the same for the sheet handlers. 2014-07-04 Kohei Yoshida [e6c67585e6923c18c243f662086e78c4f0c61b8d] Now we can delete the workbook handler & context before moving on. Since all xml parts in an opc package are parsed recursively, it's better to explicitly do cleanup when we finish parsing each part. Otherwise none of these allocated objects would get cleared until the very end of the whole import process. 2014-07-04 Kohei Yoshida [deec0ffa38fdfdfc0235f552f2d13d880cb4c9b1] Have opc_rel_extras_t directly manage the life cycles of opc_rel_extra. 2014-07-03 Kohei Yoshida [7c7a76f6a51af87576aca7ee7c6de29213891955] Resolve path containing "..". 2014-07-03 Kohei Yoshida [d65ff070e68c3be8c199b77a067d1dd2653f7a6a] Add read_table() method and call it as necessary. For now, the zip stream retrieval fails because the path contains unresolved "..". 2014-07-03 Kohei Yoshida [5da8397af3b470840707b3e38d826f68c3a712a8] Add table schema type. 2014-06-19 Kohei Yoshida [c997d334c6929bac7cf49f354a25153c04041689] New test file that contains Excel's Table. A Table also contains an autofilter definition. 2014-06-16 Kohei Yoshida [289ab37c253e3f566c6103a0ed370b4c7930df79] Use to_long here. 2014-06-16 Kohei Yoshida [6561798cbd1daf2265022fd92af585d8f8a0ecb2] "used" sounds better than "selected". 2014-06-16 Kohei Yoshida [d8b63f105072f1ade379893da2d2c226596f3c8d] Make dump-check handling a separate function. 2014-06-16 Kohei Yoshida [8fd10365bf4fde250326a97ba2f5d45a5f82eb58] Add --dump-check option. Useful when adding new test files to test suite. 2014-06-15 Kohei Yoshida [85baece7d6470c4f3de448bb8bfdf024022f3ec4] Test formula import for ods. 2014-06-13 Kohei Yoshida [1bd7235eeeed48ca465a3b7bb8dd43c6f948ee7b] Write test for sorted_string_map. 2014-06-13 Kohei Yoshida [fc93b69f441cba2497758eeef4eed7b4b50eb710] Use sorted_string_map here. This makes ods import slightly faster. 2014-06-12 Kohei Yoshida [df1ef73333daf25a4b372969a28ca359dbc1ba67] Class description. 2014-06-12 Kohei Yoshida [4b3184df34e73097dcc085771959815565f4fe79] Add sorted_string_map template class for fast string to integer mapping. This is useful when we have a known set of string keys to map to a known set of integer values (or enums). It's 8 times faster than doing the mapping using boost::unordered_map. 2014-06-11 Kohei Yoshida [9b60ec29dc93bec185c69825a47fba906cdcbba4] Buffer formula cells and push them after sheet data has been imported. Else sheet name resolution would fail during formula parsing. 2014-06-11 Kohei Yoshida [be65ba793785ba6f0c8db4472da0c5500f53c7f5] Add skeleton ods session data. This will be used to later store formula cell data. 2014-06-11 Kohei Yoshida [04f9126883b2bfcf9e71aaf52a83621b62b49da1] Restore the original grammar once the import is done. 2014-06-11 Kohei Yoshida [e233c0e0f0e77c5c735ac2038ccd347a8495616a] This doesn't have to be created on the heap. 2014-06-08 Kohei Yoshida [2ab4cfaa52973eda117f331eedeef6463c96dbb1] Provide a name resolver instance when setting formulas to ixion model. 2014-06-08 Kohei Yoshida [184be55b6f79d530622a4cf5716c53f9cb25999d] Set default grammar to ods at the beginning of load. 2014-06-08 Kohei Yoshida [2e6350e50963d47f65ba24f3beb4d06794e1b5f3] Adjust for change in ixion. The document now stores formula name resolver instance which is responsible for handling different reference types. 2014-06-07 Kohei Yoshida [7f59acf19741ea64a29320f63cd20936d4294550] Move import_global_settings instance from document to factory. Only used by the import filters. Makes no sense to store it in the document. 2014-06-07 Kohei Yoshida [6857ed25928e21b3dd561f9dcea767c8e02a94d8] Allow app to set or get default formula grammar type. This will be used when e.g. parsing range strings. 2014-06-07 Kohei Yoshida [a1ab6f3ed616e35ef891174cbdfc0febd2228cb3] We don't need this now. 2014-06-07 Kohei Yoshida [9b0810be6fb3b61f2ea9d8bdb51c6a75fa821bd0] Do the same with export_factory. 2014-06-07 Kohei Yoshida [16c377dff6dc06e31cd25731309234050ef721c7] import_factory to take a reference to the document instance. 2014-06-07 Kohei Yoshida [28b70ceaaa30d34f2453e9aad7ec921428e1a048] No need to use boost::scoped_ptr for these. 2014-06-07 Kohei Yoshida [84873ab565dd1daeda34db03f68689b7ba3158b7] Fix memory leak. orcus_foo doesn't delete the factory instance. 2014-06-07 Kohei Yoshida [be47298e952877d0c8318e9ff7170e5d6b900e41] Use pimpl for import_factory. 2014-06-07 Kohei Yoshida [f8cb16b5aceaed2350ab37b5f6d5e225e2b4d2ec] Prefix formula_grammar_t values with formula_grammar_. Just to be consistent. 2014-06-07 Kohei Yoshida [cd8a3eb7af83f8e1e23866f32ec0e8c04920313e] Document set_origin_date(). 2014-06-07 Kohei Yoshida [d2aac2554319ad342de541375bf72adbef185fff] Don't forget to return a real global settings instance here. 2014-06-06 Kohei Yoshida [fe342b4f0798f43053bf6e2288c34686780e9cdd] Pass cached formula results & remove '=' from formula. set_formula() interface expects formula expression without a '=' prefix. 2014-06-06 Kohei Yoshida [dd15fdc468b3d1005279332ee8ada1063d7fc149] Pick up formula expressions from ods. Still work in progress. 2014-06-06 Kohei Yoshida [65dfa023b181b6ef5390496004d1cc773bb86b9a] Rename this file for consistency. 2014-05-06 David Tardon [868a8fe0b53c5d93d3993e6455da132fce1c1e95] add support for ppc64le 2014-04-21 Markus Mohrhard [79f06c21a9c94643e49b6cdd9ea6cbf246c858f6] improved filters import from gnumeric 2014-04-21 Markus Mohrhard [b01db7845019634ffa5540b39fdcceeb6b961d66] that forward declaration is not needed anymore 2014-04-21 Markus Mohrhard [ea12957781328aa6c0cd6919659b38b0072ca7a9] import the remaining alignment properties 2014-04-19 Markus Mohrhard [56d5dba2a359001ac0a994a1153dbe3fb69925fc] fix test failure in gnumeric test 2014-04-19 Markus Mohrhard [f8fc5e46aadc6a614d000a3527b25892f894a38a] initial work on gnumeric vertical and horizontal alignment import 2014-04-19 Markus Mohrhard [5ea98c810ea860a21b33a7bbe583fb7425e9fcad] add initial support for auto filter in gnumeric import 2014-01-22 David Tardon [0a73f3d6400c1878cb02f2b6e655bcced3e29c8e] add build support for aarch64 2013-12-14 Kohei Yoshida [40dd6d86cafb26cb964f9807177d2545087f7c61] Update the Visual Studio solution files & get it to build with MSVC. 2013-12-13 Kohei Yoshida [85310451bcf001a6485212faf83b6f6a082bec32] Make sure the stream instance is alive during the test. Else pstring may be accessing invalid memory location. 2013-12-13 Kohei Yoshida [e9481933deb09c2e085c2892f5564af26132be73] Typo. It needs to be _LIBS, not _LIB. 2013-12-13 Kohei Yoshida [0b07334884efec15b2b228f4919bceac646e1bce] Add missing header. 2013-12-13 Kohei Yoshida [4883a40a70be6e77d5fee25c96b841cf423ddb65] We need to include iostream header here. 2013-12-13 Kohei Yoshida [4c46a1b5304ddf63c297df0d714cdb5f1247cba3] Updated extra file list. 2013-12-13 Kohei Yoshida [8f970b70fab21719457211f65392045617416f50] We don't need this anymore. We use 'make dist' these days. 2013-11-14 Kohei Yoshida [8c7ebf5e36ceed6acb25f8effa237e104be7612c] Some work toward importing number formats from xlsx. Still WIP. 2013-11-06 Kohei Yoshida [1262e5404c4296847341c27405e60ee28568a599] Define auto filter interface, and use it to import auto filter data. 2013-11-05 Kohei Yoshida [1df6eed749f0f1a55234f88cc1b0b2ce801ede80] We don't use this any more. 2013-11-05 Kohei Yoshida [78810b225f65a2c2a605d17d6c04780a1cc70eae] Use different interface for importing data tables. 2013-11-02 Kohei Yoshida [59a76c4f1c074e74640097837ebb91ae3f36c0c8] Started parsing the autoFilter data. Not finished yet. 2013-11-02 Kohei Yoshida [603e901469f873e9e797056381081a3dba252e0a] A little cleanup. 2013-11-02 Kohei Yoshida [200d8e39d896fc4daa1a9786865f2a02654c9e41] Remove old debug outputs. 2013-11-02 Kohei Yoshida [768a8da0f6bef4bad01c4e34150438202d0e46cc] New xlsx test file for importing autofilters. 2013-11-02 Kohei Yoshida [c1c1d5f910eacf9ce82b4f0a2f7328b857b6eefc] Move set_data_table() interface to import_sheet. It makes more sense to keep it together with the rest of the formula import methods. 2013-11-01 Kohei Yoshida [88d6c9995af0dcdb2a5c0e8d4dc47b0f5e73992b] Fix the one-var data tables. The column and row input cell references were flipped. 2013-11-01 Kohei Yoshida [cbdbc73a84779e4583d9344863257d50b3fbd350] Add test xlsx file for importing single-variable data tables. Both column and row-oriented tables. 2013-10-31 Kohei Yoshida [289772ea1d80279dfbb769cdbe070d7c5a7d829c] Parse and import data tables from xlsx. Data table not yet stored in the spreadsheet model. 2013-10-31 Kohei Yoshida [24bb41e1c39c919722cdbfc2d7229524021080a7] Add xlsx test file for importing 2-variable data table. 2013-10-27 Kohei Yoshida [7a0614043a6f75137d676918eaf7ea9ccf7d4f89] Add output format type 'none' which disables writing output files. This is useful for benchmarking. 2013-10-27 Kohei Yoshida [19172fc0ceb4736a4491479acdcb94c504e6fdcc] Let's use 'middle' instead of 'center' for vertical alignment. Stick with CSS's wording when in doubt. 2013-10-27 Kohei Yoshida [52a480fe1ae345b58b7209a023a6bca083e0f403] Import 'top', 'center', 'bottom' vertical alignment from xlsx. And use it in html output. We still need to handle other vertical alignment types. 2013-10-27 Kohei Yoshida [aafa2f526f8eb0c6ca7848e5cd3231683dbddc33] Fix syntax error. 2013-10-25 Kohei Yoshida [32d69dc569919090082b1d8f6b19a0922e8113fd] Import horizontal text alignments from xlsx and use them in html output. 2013-10-24 Kohei Yoshida [709a6cd5a48203e7d9e2485d25cee6f26e5d6da7] Prevent potential memory leak. 2013-10-24 Kohei Yoshida [27f15785ce9de7f12a162224b9f2f82cee9c9317] Skip cells that are overlapped by merged cells in html output. 2013-10-22 Kohei Yoshida [9d76110aff86031985b52d4780d75b34c12cdb49] Get 'make check' buildable again. 2013-10-21 Kohei Yoshida [a52a5efa7454f773e0e905c47f27f8be97608382] Map merge cell info to html's colspan and rowspan. TODO : skip cells that are overlapped. 2013-10-21 Kohei Yoshida [8eb7476297c7ba8920af62f1946551ba37d97f2e] Import merged cell ranges from xlsx. 2013-10-21 Kohei Yoshida [22825152472d7db223119190e17ce78fd85d3dbc] Test file for importing standard colors from xlsx. 2013-10-21 Kohei Yoshida [2f280e04959817deb970be7ade7a4985d2b9b8ad] Output background colors in html output. 2013-10-21 Kohei Yoshida [666843bd4a37427dc0fb0f9ef8af9d8e4eae9d11] The color attribute can occur under 'mruColors' element. 2013-10-21 Kohei Yoshida [e97c7be5761f86dc87a285d6e76350e89c8e6de8] This actually breaks cells that don't have borders all around them. 2013-10-15 Kohei Yoshida [80ef5bec76d83fb213b2cb68d742f8121e076307] Handle shared formula cells correctly when dumping. 2013-10-15 Kohei Yoshida [2ad306bd18aed428479e6059b43eb47ec29d8240] Move this to a separate method. 2013-10-15 Kohei Yoshida [e189d68d9b8e5ba553f4c89b1a54f7cd0718cc46] Defer formula cell insertion after the parsing is done. So that formula cells get inserted after the shared string table is imported. Tokenization of formulas may add new shared string instances to the table, which may mess up the string ID's if that happens before the string table is imported. 2013-10-14 Kohei Yoshida [9b56e5c73d72dde1000557e7f8a2b8853c8879e0] Reallly append strings when importing shared string table from xlsx. Sometimes we encounter strings that are identical character-wise but different in terms of format runs. 2013-10-14 Kohei Yoshida [886b3b3608e4f38e17257789f6ffe4d77c2ee417] Allow session_context to store custom data. And have the xlsx import session make use of it. Right now its session data is empty, but I'll start filling it. 2013-10-13 Kohei Yoshida [ad17d1583b90be0580b68dee02f5f56852d9371f] Import font colors and use it in html output. 2013-10-13 Kohei Yoshida [50d7bdb2f5785f952677ebf6039ba455cb808ca8] Rename spreadsheet data structures to append _t. To be consistent with other data structures in orcus. 2013-10-13 Kohei Yoshida [0f647fe6be0769d693ddbe080a79de31a1ab2ff7] New test file to import colored texts from xlsx. 2013-10-13 Kohei Yoshida [128baf9d7ef185803db14939296f05adc422f078] Handle transient string values correctly. 2013-10-12 Kohei Yoshida [fe1db279986d3f1cb17900ee78d19c5c180aaf42] Switch back to 'collapse', and remove default gray borders. 2013-10-12 Kohei Yoshida [fe90f9fceda8a56ac595e7aa2ac909d31a2603eb] Remove debug statement. 2013-10-12 Kohei Yoshida [1410f0d431792e65edfbe21a8b46641d6f6646c6] More complete border mapping from xlsx to html. 2013-10-07 Kohei Yoshida [b39a34d58cf325467c8c09b7e7aac383c9aa6dfb] Import border colors and honor them in html output. 2013-10-07 Kohei Yoshida [20963a91012dcad8156c766f41da24e98aa2d9b8] Display some border types in html output. think, medium and thick border types only for now. 2013-10-07 Kohei Yoshida [e4ddea30cd73620e2ab5e38c89b6d6bd423989d4] Avoid strto* system calls. Because they are slow on Windows. 2013-10-07 Kohei Yoshida [29e0658da6cbef8c89efff8b48d1b3d3833a91d1] More test files for border imports. 2013-10-06 Kohei Yoshida [d72200cb18916f56ab77fba982bf8199eee49c58] Set custom row height to html output as well. 2013-10-06 Kohei Yoshida [d92f23d51e8b201147e8b68c42f95b7b11d9b059] Some cleanup. 2013-10-06 Kohei Yoshida [2245542560ddf3445c52813b61321d9a27c99e2a] Use CSS to define styles rather than hard-coded styles for each cell. 2013-10-05 Kohei Yoshida [205e2f66bfbe772dfb61d09018b5d9cf07988555] Apply column widths when dumping in html format. 2013-10-05 Kohei Yoshida [c0c6baae528343a44a87d59ec8c4e19e0eb65b4b] New test file for importing borders from xlsx. 2013-10-05 Kohei Yoshida [bc6f31223a5ef0d2597f791fcb5331a7e789217d] Change the license from MIT to MPL 2.0. 2013-09-24 Kohei Yoshida [69d83847ef596434f65763f8e38a7d957e49cf19] Forgot to add this new header. 2013-09-23 Kohei Yoshida [3e013204792d50c9fc103d69ae602688759628ef] Do the same for csv, xls-xml and gnumeric command line tools as well. 2013-09-23 Kohei Yoshida [a76bf86d57585b93963d6f309fbc41858dc10f36] Use the arg parser for orcus-xlsx. 2013-09-23 Kohei Yoshida [ac81b7bd9758110abb85392f056f63f0351a227a] Make the arg parser more generic, by removing the ODS-ness. 2013-09-23 Kohei Yoshida [de0f7dead0483d0e006960b462d0b86384e7b8f8] Move command line arg parsing to its own function. 2013-09-21 Kohei Yoshida [3be2f8288300c29a1824650c15ed32a71703c04f] Redirect flat dump output to files, one per sheet. 2013-09-21 Kohei Yoshida [ee2b9a629ac0a6a7f4535563ba78c1bfca933ea8] Check the output directory presence. 2013-09-21 Kohei Yoshida [44eab74ec432c9dc6f83d9be644c930d86ab41f9] boost::program_options required only --with-tools. 2013-09-21 Kohei Yoshida [6a3475ac65b66cf8e17b33eaf63eb95a0af00ae9] We don't need this file. 2013-09-21 Kohei Yoshida [3ed0ce110a57bb51b159f36a77e5a79abb1542c0] Check the input values, and honer output directory path. 2013-09-21 Kohei Yoshida [cfb1595eb0ceb430e12390b7e89804dcde5930c2] Use boost::program_options to handle inputs for orcus-ods. Options are not being handled yet. 2013-09-02 Kohei Yoshida [7f413eeabead88869e5967d83c95065e055d9f41] Class description. 2013-09-02 Kohei Yoshida [d891873eb1fce192865dae7d151e65b298462539] Add test for gnumeric file format detection. 2013-09-02 Kohei Yoshida [6db06cff35a9f27918e3021687b8b2761759ce23] Detect gnumeric file type. 2013-09-02 Kohei Yoshida [509ed74ca1fccffd7b4715bdf0892e9f8c1fae8e] Set up detection handler skeleton for orcus-gnumeric. 2013-09-02 Kohei Yoshida [1a6b368673767b4a3cc36604f5d772d01e595fed] We don't need this. 2013-09-02 Kohei Yoshida [23f41f806e38adca24e0c55d1215784b33bbb852] Remove unused header includes. 2013-09-02 Kohei Yoshida [b3c0e6a295ebd5cb5ed858f634906012a479c16c] Use common function to decompress gzipped stream for gnumeric files. 2013-09-02 Kohei Yoshida [3606f0bb396628a2b492ca042458e37999e0201e] Use boost::iostreams to decompress gzipped stream in memory. 2013-09-02 Kohei Yoshida [c5e3b74bc36e7f60c99824a9ac1ecc273997091b] Use boost.m4 to simplify boost library detection during configure. 2013-09-02 Kohei Yoshida [9e4db7758abef3bb49a76441af3f0aff403744ff] Note on using boost iostreams to do in-memory gzip decompression. 2013-09-02 Kohei Yoshida [915e1ff5f1156a03e57189c99c81dc05e57d84a7] Notes on how to implement in-memory gzip handling. 2013-09-01 Kohei Yoshida [01181e16807858baa21a511d68d81ad6536b768d] Detect Excel XML format for real. 2013-09-01 Kohei Yoshida [b554e16c154b6bf9e64ecc883e134cf5c2301b6f] Prevent infinite loop in case the magic number is not found. 2013-09-01 Kohei Yoshida [8d72817ab9c6a6fbe4f6fa276efb104d6478c669] Add skeleton code for xls xml detection. It still doesn't detect anything yet. 2013-08-09 Kohei Yoshida [4955af1fd41583200befc433c625b502ef397dc2] Add detect method to orcus_gnumeric, and use scope object for gzfile. The detection code will come later. Decompressing a gzip in memory needs a bit more work. 2013-08-09 Kohei Yoshida [a45d443dab9028ffea3d6379e1a5c573e270ec3d] Mistake in the comment. 2013-08-08 Kohei Yoshida [9892202225dd7a15b5eb0d36a454ddc7eb2db85e] Detect xlsx file type. 2013-08-08 Kohei Yoshida [b991c2e4a72135e5731318741e04aae3246597a7] Detect ods type for real. 2013-08-08 Kohei Yoshida [1223ba4947f59661e35b596752ea12a7c96241bd] Implement zip_archive_stream_blob. 2013-08-08 Kohei Yoshida [b75e5f9dd9d5e0b473c16eeb922c1f238ddc81de] Set up skeleton for orcus-detect. 2013-08-04 Kohei Yoshida [8ac64c5d38a48e245e7b14baead3fe1731d38a75] Set up testing for detecting ods format. Right now, it doesn't really detect anything. 2013-08-04 Kohei Yoshida [f5a065ca3cd7df3fbe85ac08ee718e1f1e638ebd] Add xlsx, xls-xml and gnumeric there as well. 2013-08-03 Kohei Yoshida [e723a36a778c6e090dc020c11f0d430bed067ed9] Start working on format detection code. It's just a skeleton for now. 2013-08-01 Kohei Yoshida [c50c13255e1c0f1dfbe6be92a053238fdee146a8] Don't forget to specify mdds flag & fix the build. 2013-07-28 Kohei Yoshida [3efe6aef22cdbb5501b21a2470d5be75e24c60cf] Add test for cell formats for ods import. Also, rename struct xf to cell_format. It is more intuitive that way. 2013-07-21 Kohei Yoshida [2afe66133d0427e50fdca035d21ad86d9ad4e584] Add test for text format import. Not done yet. 2013-07-21 Kohei Yoshida [0de6d50f8f3cf30b34c16cbfde8801054b21f77d] Fix HTML dumping code. 2013-07-21 Kohei Yoshida [6837b6219a55a1e49cfac65964aab76e4914684b] Set font for each formatted segment. 2013-07-21 Kohei Yoshida [8bfbc92a711c3ae2d3545cbc2cd2c83f7753d4d4] Update copyright years. 2013-07-21 Kohei Yoshida [f649b43c39176dceed328ac123e2be384a71f355] Append each segment separately rather all all at once at the end. 2013-07-20 Kohei Yoshida [a0a25089c1ac00f40c5338f69c904600dec72959] Handle stack inside scope. 2013-07-20 Kohei Yoshida [c5fe9fe300e6f8c2cc4a56aa46cd8d4963f7b485] Move single_attr_getter to a global location. 2013-07-20 Kohei Yoshida [8fd1c4c558f702fd75644f5ad971c15f7d633341] More on handling transient attribute values. 2013-07-20 Kohei Yoshida [30e1a28c3fb00a9b3862adde144d25d89e23ae56] Pass the transient state of an attribute value to the callback. 2013-07-20 Kohei Yoshida [6904388f8ec93a512f33b4d3dc9356d596c0e1a7] Intern values of transient text contents. 2013-07-20 Kohei Yoshida [71bb2007101a6c85d41a0ff001af51262c867da4] Print font ID for text style properties (for debugging). 2013-07-05 Kohei Yoshida [90c3fb3db6ad4ec3634b809ba154aa41a6fcd231] Make this a separate method. 2013-07-05 Kohei Yoshida [3c3b7ce815e3b7b0a650c8b9ceb2b96c6c2dd1a3] font-size is under fo namespace not style namespace. 2013-07-05 Kohei Yoshida [aebf3b67d4fc315ad4830330c8856b0ec5662d72] New test document for importing font styles. 2013-07-05 Kohei Yoshida [e47a5080dfedd2904207eb4c848df79b841df685] Set default styles first before importing real styles. 2013-07-05 Kohei Yoshida [77bccd3c1d2558f5f922aac27c8b799273bc6b77] Try to pick up font styles for cells during ods import. 2013-07-04 Kohei Yoshida [99326d20fa69696c76a52d5cc46afc35c9c89d99] Fix a bug in cell format import. 2013-07-04 Kohei Yoshida [c757be84b499e58e77f8c5a60ef00478b8778db4] This doesn't have to be a template. 2013-07-04 Kohei Yoshida [5e2893a4ea0ba4ad04ff36448955b01358cfc499] Let's not include headers that the project doesn't use. 2013-07-04 Kohei Yoshida [dcdfde13d18af39bfe4f957193a18dbda9864703] Switch from mdds::mixed_type_matrix to mdds::multi_type_matrix. The former type is deprecated. 2013-07-04 Kohei Yoshida [e03a645476b5a8f4b6ae92e85bf162ffae255d8f] Another test for parsing text delimiter inside quotes. 2013-07-04 Kohei Yoshida [3b72f291159f389dff8049a70604ac2321bbd109] I didn't really need this. 2013-07-04 Kohei Yoshida [97e487f11d5903ecb1075f492c6c7802d428970b] Add test for parsing literal double-quotes in csv. And fix one bug associated with it. 2013-07-04 Kohei Yoshida [1cfa6d22b68ee6218ebccef9e281d33e933dbb27] Convert normal-quotes test. 2013-07-04 Kohei Yoshida [ea6145d6a9d8a102c3d82f6c893acd974a2551af] Escape double quote characters when dumping check content. 2013-07-04 Kohei Yoshida [3bb2a3ead763c3f1ee180cd226dc775543b8d09e] Make the csv tests consistent with tests for the other format types. 2013-07-04 Kohei Yoshida [523a7586e7f7e601e66e7cd9aedd3532934e67d4] Add test for xls-xml on basic content import. 2013-06-30 Kohei Yoshida [405ef42742d1c5c17da511d44cd8be380c439e12] Pass to the handler whether or not a content string is transient. It's the same logic as with attribute values. 2013-06-30 Kohei Yoshida [0452816377fd3ae62cf0f780a9dac2dbd6a59d1c] Pass to the caller whether or not attribute value is transient. When the attribute value is transient, its value is stored in a temporary buffer and is not expected to survive beyond the scope of the callback. 2013-06-30 Kohei Yoshida [9b7a697020c76f655fa27c191a3651fadb1de787] Import cell data from Excel XML. 2013-06-30 Kohei Yoshida [768a3c628f67d522053e5bbfe3df31dabaab9d2c] Add test for parsing multiple attributes with encoded characters. 2013-06-30 Kohei Yoshida [ea7d058d8e21c80b60bd9c29b007fd05e44447c3] Allow sax parser to have more than one cell buffer. This is to ensure that when multiple attributes of the same element have encoded values the newer value won't overwrite the older one in the temporary buffer. This is needed for sax_token_parser as it stores all attributes in std::vector before sending them to the handler. 2013-06-30 Kohei Yoshida [712bed871814abdecff8942f052dd13789d2efb1] Pick up sheet names. 2013-06-30 Kohei Yoshida [e66f5b2253d7c3b8b4915a83962962e29e72da65] Parse it down to cell data. 2013-06-30 Kohei Yoshida [7211ca4baa14346898fd265798f0ad4308bbb790] Add predefined namespaces for xls xml. 2013-06-30 Kohei Yoshida [b3285b80e90f622ea6f66da362272256b5120f76] Set up context stacks for xls xml. 2013-06-29 Kohei Yoshida [189852c9835103657e62777695c736b12fe6ec8a] Add csv::parser_base to move non-templatized code for size reduction. 2013-06-29 Kohei Yoshida [e4dd386196bbd20a717987d9204ae5bb21cef1fe] Add csv base to move code that doesn't have to be inline. 2013-06-29 Kohei Yoshida [655d838d08d27306bb58ca9bc86361d2af5160c5] Move these generic functions to parser global. 2013-06-29 Kohei Yoshida [c0c1259d65fddd63f6325888f70d37a36aec9236] Rename sax_parser_global to sax_parser_base. 2013-06-29 Kohei Yoshida [f0f43cbb4fa12779f06ff1bb1bc8a45267fd7b18] Move this to base. 2013-06-29 Kohei Yoshida [8c361e0059957a42716d671fab1cfabd5d78afbe] Move this to base too. 2013-06-29 Kohei Yoshida [d614bbcafe0f4b7b954d4192fda6c200930cab22] Simply this a bit. 2013-06-29 Kohei Yoshida [522744de1e53942543c60290b65a46d3b658bc4b] We can move this to global too. 2013-06-29 Kohei Yoshida [76fca2d4893918faf75d2002bbc726442a6a95f6] Move sax_parser_element to global. 2013-06-29 Kohei Yoshida [fad3ecf5666390312b011bb1e7089f3b36d41d99] Move parts of sax_parser out of its template part. To keep the size of template instances smaller. 2013-06-28 Kohei Yoshida [27c83579e2b96e6c4a3c3c86147facf4c3fffcaa] Move this to sax_parser_global. 2013-06-28 Kohei Yoshida [3bb6f01846f7513834fc38539891dd3c63276104] Add a test case to catch this. 2013-06-28 Kohei Yoshida [6f06d7b09e5be271159b788fecc1325f26f07d10] Remove these incorrect assertions. For instance, ';' is a valid content that can trigger these assertions. 2013-06-16 Kohei Yoshida [59614b60552b3d9334e5f37109467d9f5309ba32] A bit more on xls-xml, but not much. 2013-06-16 Kohei Yoshida [0f7bde6b047f3d843a9ade8806cf62d9f3a49f39] Bootstrap for orcus-xls-xml. 2013-06-16 Kohei Yoshida [5569c0512222beddda831dadf24be76fa4b698c3] Generate token files for Excel XML format. 2013-06-16 Kohei Yoshida [105cbf9072e955e28ac466a186042a94e463f256] Add namespace parsing mode. It's still rough around the edges, but it's good enough for now. 2013-06-16 Kohei Yoshida [d1dd367fdc2f590e5277decc5ff4fc005d3135a6] Re-organize the python token generator scripts. 2013-06-16 Kohei Yoshida [1139259951736c525b7141ea6ad93235220f3139] General-purpose XML Schema key dumper. 2013-06-16 Kohei Yoshida [f23ccdea36406e54aec2c715c175c19082328eed] Move these token generator python scripts from bin to misc. They are rarely used anyway. They don't deserve to be in the bin directory. 2013-06-15 Kohei Yoshida [9a0c1a5e1f8183d547a070db4fbb52e0c1a29689] Change content of this XML file. 2013-06-15 Kohei Yoshida [45d7d23335d57ceb8a9df215c3c22ffc516f8d8d] Rename xls2003 to xls-xml. This format is not specific to Excel 2003. 2013-06-15 Kohei Yoshida [0392d6db4a60807112f3e767353b7d4952b03ec2] Remove obsolete forward declarations. 2013-06-11 Kohei Yoshida [11b98ee394192cd92bd28dfb7ad17305a42d6b4d] Add a method to simplify check for a sequence of characters. 2013-06-11 Kohei Yoshida [277ab911eeaa2bd92bb5a1241dcbd4f9fe00d04e] Prevent possible buffer overflow. 2013-06-11 Kohei Yoshida [8d40f2d7a384cc68530dfdf26f3391be8236c0bb] Make sax_parser more secure against buffer overflow. 2013-06-10 Kohei Yoshida [d6c385c9307b42dbfa867b3e4475d412c829cbdc] Make it easier to add new dtd tests. 2013-06-10 Kohei Yoshida [66fc6181f460b0154ba324b1b123e032ee2f1457] Add test for parsing . 2013-06-10 Kohei Yoshida [fcf1fb5af875eba637ea219b8e7b22069dace79a] We don't need this. 2013-06-10 Kohei Yoshida [9a1edd96b8009fa85326f11e611caf566404df7c] Parse in sax_parser. 2013-06-09 Kohei Yoshida [60706724653013dc882e75188f1230fb8d856ede] Test case for parsing CDATA. 2013-06-09 Kohei Yoshida [f3388144fcb939de394d7a25e9ffb7ee4a46bd80] On 2nd thought, let's not keep the characters and cdata separate. They should both be handled as character data, with the same callback method. Simpler the better. 2013-06-09 Kohei Yoshida [ec4d03cad4f96b9181366bbbd877391b8443861d] Add parse only test for sax_parser. No content check for this file. 2013-06-09 Kohei Yoshida [a77ff705890f7b93374f31efd727348024c0e434] Treat cdata and characters identically for tests, skip tabs as blanks. Maybe it's okay to route cdata as characters in all cases. But they are separate calls for now. 2013-06-09 Kohei Yoshida [714645bcaa12155868ea33c55e917ca8e80d60f6] Add support for CDATA in sax_parser. 2013-06-09 Kohei Yoshida [3e2701ece5d4cc4ac6d58688b7585061ece1c456] Tab character is also a blank character. 2013-06-09 Kohei Yoshida [c39d49c65ccbcee4a860ffd3a65f0e1acdac9bf1] Add a bit more debug outputs for sax_parser. 2013-06-09 Kohei Yoshida [895cfed521e4d604c905477dd0faba33122e95e2] Test RSS file taken from my own website: http://kohei.us/feed/. 2013-06-09 Kohei Yoshida [c5b017fce8624806e766fe98c19fc8c0c58fe6a5] I forgot to remove this. 2013-06-09 Kohei Yoshida [8f46f9231da41a7cd4a6d677c96131e3e0753f27] Share the xml parsing part. 2013-06-09 Kohei Yoshida [bb6fbda483d2981dd353f0561b82245c17aac81a] Add unit test for parsing the xml declarations. 2013-06-09 Kohei Yoshida [d3c04c3333d4fd58e0c4ad8ba66f6e408c8a245e] Have dom_tree store multiple declaration attributes with names as keys. 2013-06-08 Kohei Yoshida [6ba3916ca4366f5943de9e63794bcad3f13dfe62] Add test for parsing custom declarations. The test file is a simple Excel 2003 XML document. 2013-06-08 Kohei Yoshida [f2d3c7c91f4742caf0930c09806336691df87a2e] Make sax_parser configurable. The first item toggles whether the parser requires every xml stream begins with or not. 2013-06-08 Kohei Yoshida [69f7412f6bce5e017175a7a8bf4efa69b923d99b] No more declaration() handler callback. The declaration is also handled by the start_ and end_declaration() callback pair. 2013-06-08 Kohei Yoshida [a91346a442b8ddacb790a356e4b3a3cfa0ecdc68] Declaration may have multiple attributes. 2013-06-08 Kohei Yoshida [09b90f1952f7d01bece00eec26b3db0f0fc15828] Add mechanism to parse arbitrary xml declarations. With this, we can correctly parse tags. 2013-06-08 Kohei Yoshida [1fbaf3fa79aaeafd3e8cff10e0e45f72bf1f1db8] This method is unused. 2013-06-08 Kohei Yoshida [ea4dff2dd746ce0011d2083a5c9065741a6545cf] Put these global sax functions inside sax namespace. 2013-06-08 Kohei Yoshida [54af9b740719630d2ab2a50b58df5d3441b04246] These functions don't have to be part of the template. 2013-06-08 Kohei Yoshida [73aeac52b8402f1f5e08e78b782f753a39b63dc8] First Excel 2003 XML file to play with. Currently, parsing this file throws an exception, but we need to at least be able to parse this format without throwing exceptions. 2013-06-08 Kohei Yoshida [7da44ea1e56ca89fe1709ae3827a67dc504e9b7b] Let's not silently exit when exception is thrown. That's not very helpful. 2013-06-08 Markus Mohrhard [ba43e43600660681c072941d9af350f7fe3c636b] use an exception to signal invalid xml files, fdo#63844 2013-06-08 Markus Mohrhard [49da4b0c745b22318589048a59c5a3133b35fc9a] column width is an optional attribute 2013-06-08 Markus Mohrhard [f1e523e7ab33fcc265905d8b934e1f32dfdc5fd3] add test for xlsx hidden row/column import 2013-06-08 Markus Mohrhard [7b2857db802bb11c4f23b23d480bee2773c0962a] add hidden col/row import from XLSX 2013-06-08 Markus Mohrhard [774eca5e029944d929f0df2f581f0c85af2bacc7] add support for hidden col/row import from gnumeric 2013-06-08 Markus Mohrhard [83dd743f136b979694a05723be9097d5e9fd9903] add mock implementation for import_sheet_properties 2013-06-08 Markus Mohrhard [e2907363d91149cb71bc4f58ea0c55d4b16c2d61] add test case for gnumeric col width/row height import 2013-06-01 Kohei Yoshida [1661335a85bead5ff79a54d281bc35956a015c89] Export these structs. 2013-06-01 Kohei Yoshida [ac6a9ac26aa09f01b769cb65c490e2c85773efee] Move these structs out of import_styles scope. 2013-06-01 Kohei Yoshida [d4038cd9b530a52433452fdf13ef6b9544d63e11] Export this struct. 2013-06-01 Kohei Yoshida [3771ee2c93da4d3098361b118d0aab5254b44cf1] Make cell format storage column major. 2013-06-01 Kohei Yoshida [2f953961f24e1654ffbde575e50e18817b5d7c8c] Make format_run struct a top level item. 2013-06-01 Kohei Yoshida [2a62185bac0de30dca3e993e5b0f8df25db8749a] New xlsx document for importing formatted text content. Bold and italic text only for now. 2013-06-01 Kohei Yoshida [ee22a06d46afe3433252359299a3c19395fcac63] Add unit test for column width and row height import from ods. 2013-05-30 Markus Mohrhard [c81da4317b297ccc4acb27d30d77f1b17b167d19] r is an optional attribute in row and c 2013-05-30 Markus Mohrhard [0ea76ebc78080dfb4f462f9ee2cdec3b9fbe82a4] import col and row height/width from gnumeric 2013-05-30 Kohei Yoshida [960156ec673a7a2e91ca103dd3cad6fa88fe63e3] Add test case for XML byte order mark (BOM). 2013-05-29 Markus Mohrhard [71d4efba781af4ddb8c5e4e2589ebdac22ff87df] skip byte order mark for xml streams We only handle UTF-8 streams right now so we can bail out already when we read a wrong byte order mark. 2013-05-29 Fridrich Štrba [2ba8c2407be26a7a6c6f0b681567311d5bf15c74] Some cleanup of pkg-config file 2013-05-23 Fridrich Štrba [833caa16d7c5662217f9789f901952f20bf1dca8] Fix distcheck errors and allow tests run from build directory 2013-05-19 Kohei Yoshida [0930ef22a9f17db09d3f2cbb6a0b6f5b0cdd770f] Add swap() to document. 2013-05-19 Kohei Yoshida [e02676394e2cca319ac3c9df4425a6f0e9943a4e] Add sheet_size() to document to return the number of sheets. 2013-05-19 Kohei Yoshida [51c3616cb2cef20674c6f4a96d76a1fba15f0929] Sheet now returns its actual row and column sizes via these methods. 2013-05-19 Kohei Yoshida [debe48461edbde7f8484e45381792dc12a5d536b] Have the factory implementation store the default column and row sizes. 2013-05-19 Kohei Yoshida [c3058828ff212618e43275586f74f1ea54826cd9] Let the caller specify the default row and column sizes for sheets. 2013-05-17 Kohei Yoshida [bf0b31d923ed50c15831b26146d73e3f5987102e] Import row heights from xlsx documents. 2013-05-16 Kohei Yoshida [fad8ea5c291bfd9f8ca549947ece034098b7864c] Import Excel's column widths. But the conversion may not be correct. Find a better way to convert them. 2013-05-14 Kohei Yoshida [5da5b5558c6a786dd4f3d60f8466c12bd16a0c95] Parse column widths in xlsx. 2013-05-14 Kohei Yoshida [17cd3795042d4de1dc6ebe8c65fceda11aa804da] Calculate formula cells during finalize() phase. 2013-05-13 Kohei Yoshida [3a5b274e5c25a6f9af68e9f729a801a35403e156] Remove these debug statements. 2013-05-09 David Tardon [db809c970400142d477f969ced247ce77d91435e] catch exception in main 2013-05-09 David Tardon [05066b918d31c3e8b4811fe1c42a6c75615225cf] drop unused variable 2013-05-09 David Tardon [c71a7358d8d5760ca560c0d45d700f1f42dc4561] coverity: do not return contents of a local object 2013-05-09 David Tardon [786a6a5ff22b9f94bb755936a4be9c8a12276b19] coverity: uninitialized members 2013-05-09 David Tardon [c644d8793bc5309a798667d4fc07e657c6e2c2ca] coverity: missing break 2013-05-09 David Tardon [dd8c40155672905f651ce83fb050e7aa58ff080b] coverity: add missing throw 2013-05-08 Kohei Yoshida [12a347acf8f340d49c28b91a8c68be0f604730ae] Support convertion from cm to twips. 2013-05-05 Kohei Yoshida [1dcc9c1e47c4bcd13a067ab8c01cc028a79c15b3] Allow fetching sheet object by index. 2013-05-05 Kohei Yoshida [6750976a35b10ff88d0616cbeacb873afaf4c12a] Two new constants for default column width and row height. 2013-05-05 Kohei Yoshida [9aa213e81b45990f493bdd0c51377735ed9334d7] Adopt to API change in mdds 0.8.0. 2013-05-05 Kohei Yoshida [df6432ba9a27cd7ac7de6a225a2747a21eb5041b] Require mdds 0.8.0 (yet to be released, the lateast on the master branch). 2013-05-05 Kohei Yoshida [eaaa0ffba5183f80fb9b021a9b8f7f0be49b92c5] Add getters for column widths and row heights. 2013-05-05 Kohei Yoshida [2647d1ad9126249b09d239f14164158767dc95e6] Return the real column and row sizes. 2013-05-05 Kohei Yoshida [14aa0909edab7505cdc3fdf1179ee9a562847054] Build tree for column width and row height containers at the end. 2013-05-04 Kohei Yoshida [e69f33a4abd360c459550785c09f560b7ed63c8d] Convert row heights and column widths to twips on import. 2013-05-02 Kohei Yoshida [59f75039672165d205475ff14b896e2359e166f7] Add methods to set column widths and row heights. Not used yet. 2013-05-02 Kohei Yoshida [40c5f632a9d67053e943370a3c4323d29e29a2d4] Some comments. 2013-05-02 Markus Mohrhard [669598c2378873cdd76bba501b00dfcd428af3e0] activate the missing two tests 2013-05-02 Markus Mohrhard [c8ac4f888455fdfe2fe06c8300af0da5f4388b24] this should be an equality check 2013-05-02 Fridrich Štrba [11f559cb7de6ab84cbb33ec1cbf3075ca2a8581b] Sanitize a bit. 2013-05-01 Kohei Yoshida [59a72df2cd50c9da62441925f407a0b88999361f] In ptr_map::insert(), the 1st arg must be non-const reference. when the 2nd argument is a raw pointer. There is also a variant that takes a const ref as the 1st arg and a auto_ptr wrapped pointer as the 2nd arg. 2013-05-01 Kohei Yoshida [3ffce11e638ef2a3f1cbcb1faa0fb4b1329e0b9b] Remove warning. 2013-05-01 Kohei Yoshida [61625786a4cb510330903ee751603365e11043bc] comment 2013-05-01 Kohei Yoshida [b9db29da1ab2d8448618b97e07baa161c37b3b09] Pass row heights to sheet properties as well. 2013-05-01 Kohei Yoshida [d8ce5e4fe3b57ff687b4fb0b76b91c36bd30c6dd] Pass column widths to the sheet properties interface. 2013-05-01 Kohei Yoshida [aa5ae47e1aef51cdf8c379729a0ab8ed86082a5f] A littl cleanup. 2013-05-01 Kohei Yoshida [cf1440d4ea48744167af133ea722b97b86c5dfa4] Implement sheet_properties to import & store column widths and row heights. For now it's just an empty implementation. 2013-05-01 Kohei Yoshida [6920d14eb8fc3bb81732025af15ffce9f2a408bb] New import interface to import column widths and row heights. 2013-05-01 Kohei Yoshida [06ed5c944cfb8883563d44c29812d5af7f48daed] A bit better printout of style data. 2013-05-01 Kohei Yoshida [577728cfa443bd93a4868d690ee0b2115ab2cd78] Initialize data with NULL pointer. 2013-05-01 Kohei Yoshida [17d0402e80d69fad9df4e49723c06ad396a7eeea] Print styles picked up at the end of the automatic-styles context. 2013-04-30 Kohei Yoshida [c919260e29f2d77e94a6f4eff108666792e30286] Insert some asserts (just to be sure...) 2013-04-30 Kohei Yoshida [6d43aa139123caadbe617edee4e0cdd59ec09ca1] Pick up column widths and row heights as I parse automatics-styles. 2013-04-30 Kohei Yoshida [94b7f645f21f6ff7fd03613e461b3492bacd4c37] Add odf_style struct. Still pretty much empty & not even used. 2013-04-30 Kohei Yoshida [423adb86d57683b1cf9ac0410d8a420c0a339734] Test document for import of column widths and row height values. 2013-04-29 Kohei Yoshida [80bf4ea23cd5dd9beae2c7ff81a65c062b3d6de5] Simple stream handler needs to have its own element handlers. To prevent the only context from being popped from the stack. 2013-04-29 Kohei Yoshida [e87a267c556f299a7d714143a051181968cc3cf7] Fix for werror. 2013-04-28 Kohei Yoshida [05f3048c9ffeb560b33da560de882444da47e409] Make ixion's model_context accessor public. 2013-04-28 Kohei Yoshida [9e39d0ed1311bc1c47a8aa0bc05256b0fce38324] Require libixion-0.8. 2013-04-28 Kohei Yoshida [15d8931f07cef9ec7420fa00bb2b2dad14aa89a3] Fix this whitespace error. 2013-04-27 Kohei Yoshida [36bfc73bb7a3df1c84f6b84c08ac0006163c00ca] Add method clear() to document. 2013-04-27 Kohei Yoshida [f165610acb8f21d660425d89848e591052943a7d] Typo. 2013-04-27 Kohei Yoshida [d5df9acef4257a6ceedc35d65b477c93d1bf34d4] Move the spreadsheet headers to public place. 2013-04-26 Kohei Yoshida [e7830fe7c57fbc8eb31c113cdcc2f3c94103fc56] Use mdds's pkg-config file to detect it. Much simpler this way. 2013-04-24 Tomas Chvatal [6d6aeb7d11057b5df774f1425bb49837f13c80c2] Better to use AC_CONFIG_HEADERS here. 2013-04-24 Tomas Chvatal [fb81582e3a0366620306efba93741437c049d67c] liborcus-parser needs to link to boost. 2013-04-21 Kohei Yoshida [025430a1cf765c9f66e0c352a2d0c0c0fbd9cf22] Convert column widths and row heights in ods styles parsing. 2013-04-21 Kohei Yoshida [e350451ddfcb0da0e1a2256f9170cee12bd96ada] Add to_double function to convert string to double. In the future we'll be using this in lieu of stdtod, which is very slow on Windows. 2013-04-21 Kohei Yoshida [0d423f1dedc33969fe6fccff501ce72540be6a07] Test for 'cm' parsing & fix the decimals handling in the test code. 2013-04-21 Kohei Yoshida [969ad1c22c7aaad124b0bcab7acd729abf2c7901] Test for parsing 'in' for inches. 2013-04-21 Kohei Yoshida [7cc9bbc8881c0335c87c427f8d089a7236bc667a] Manually convert numeric string into a double. 2013-04-20 Kohei Yoshida [a34c43e9820743d9201de22ceebf096e03bdd04c] Just use boost::unordered_map for this, to keep it simple. 2013-04-17 Kohei Yoshida [273694f4d9a567b9c86a57781021b7701cc0bf08] Function to convert style family textural value into an enum. But I should probably turn this into a more generalized function. 2013-04-16 Kohei Yoshida [fa31d5502a0b731fa2998c71d66d4e6c3b7a17eb] More on parsing automatic styles context. 2013-04-16 Kohei Yoshida [edc4de335634933c7f4bf6b253d8acce178ec0a8] ORCUS_ header guard prefix. 2013-04-16 Kohei Yoshida [ca726bad0f052c87da27d58a4061119f2e1c5913] Minor formatting oddity. Auto-generated from SlickEdit. Apparently the compiler parses it fine... 2013-04-16 Kohei Yoshida [ceab79d45e5e671f640ef72ade50de82e83811bf] Skeleton implementation for handling automatic styles in ods. 2013-04-16 Kohei Yoshida [6618de4dd6792972eddd2db1de3bd13cf0645854] New test file with custom column widths and row heights applied. 2013-04-16 Kohei Yoshida [021854d0abdc80d70f33cc902e57d7515574f5fc] Make it a concrete data member. 2013-04-16 Kohei Yoshida [aff7bfc51499355d50760626a38ea36be02350ce] Re-use the same para_text_context instance, for better efficiency. 2013-04-16 Kohei Yoshida [43453d70e923e6fcf415f201bf97ae04d8d4f6df] Move the context stack handling part up to xml_stream_handler. It was just a bunch of copy-n-pasted block code blocks. 2013-04-16 Kohei Yoshida [126348551dff4e1e0a54ce71947b9840fe9a8b52] Fix memory leak in orcus-gnumeric. 2013-04-16 Kohei Yoshida [5bea4103aace7ba24bfbec9a5c5d00858ec3743d] Have immediate parent context manage the life cycle of its own child contexts. The top level context handler now only deletes the root xml context instance. Each individual context class is now responsible for managing the life cycles of its own child contexts that it returns. With this, a context can re-use the same instance repeatedly as a child context instead of creating each child context on the heap. 2013-04-16 Kohei Yoshida [6c495a08fba6d28027ea18c5d4b59b1c08433078] Fix memory leak. 2013-04-16 Kohei Yoshida [2bfc90e09d8734de6bc8fce4935646454f106241] Disable this. 2013-04-16 Kohei Yoshida [c25a006ed2f7f226f515d66150c44f3eca1a63f8] Get liborcus-spreadsheet-model to build when --enable-static. 2013-04-16 Kohei Yoshida [8d59bf1321aa7ccca6cdb8cad95265657192aae7] Add --without-tools configure to skip building of binary tools. 2013-04-16 Kohei Yoshida [20cf0da0e4dce431c4705e043c9a11a046117048] Keep it consistent in configure.ac & test files updated. 2013-04-16 Kohei Yoshida [d09d7b61b28dcd18495ec8e7cc9a8c2dc3030baf] Add documentation on how xlsx and ods handle column widths and row heights. 2013-04-14 Kohei Yoshida [84175ac8aa8e52577dfaf0bd9ed6e1f7b7ddb3b1] Up the version to 0.7.0 and the API version to 0.8. pstring's exported symbols have changed due to the removal of static intern methods. 2013-04-14 Kohei Yoshida [0647853c30ac3c54201a0d0fb4e0cfcef1954945] No more global pstring intern pool, to make orcus filters re-entrant. Now, each orcus_* class stores string_pool instance, and the document has its own string pool. 2013-04-14 Kohei Yoshida [6c6e4a9b95e7464ed8dafb97b98efbad2f112821] Add session_context which stores data shared in each import session. 2013-04-14 Kohei Yoshida [b38bfa1c511da7d98c1a79dfbe41d86dc1e714e8] We don't need to do this. 2013-04-12 Kohei Yoshida [363241399191418d057c036cfcc1b11cb2cde677] Up the version to 0.5.1 since I need to release a newer version. 2013-04-12 Kohei Yoshida [0b4a9fa900200fc42d5bbc0355e4df4804e34a2e] Add BOOST_ALL_NO_LIB compiler macro. 2013-04-12 Kohei Yoshida [05d61a55bd33249e5c5a09c16bf02220f0e0821d] Don't forget to list this windows only header file. 2013-04-11 Kohei Yoshida [7ee792804ab45f448058973cb7b03fcc4629d4c9] Let's not include these manual test files. They'd make the package too big. 2013-04-11 Kohei Yoshida [926026ce350d161b52f782a25dfd7d4c37ae41a0] make dist was still broken. Hopefully fixed it this time. 2013-04-11 Kohei Yoshida [b986729f576ad01b4663c0a47deffcbc0a401e95] Rename package name from orcus to liborcus. 2013-04-11 Kohei Yoshida [077d8bbc7581b9d23687280471e902ea78e6492b] Up the version number, with a new API version. 2013-04-11 Kohei Yoshida [e4738f083542eb237c3c514643b3648b605bff2b] Fix 'make dist'. 2013-04-11 Kohei Yoshida [22f2be74a9fb389c884743c3c3d36d0f251d8ec0] Update Visual Studio solution. 2013-04-10 Kohei Yoshida [fc648b4b8688c5cb53f4eaef272a0d5d79af2e02] I forgot to add these files. 2013-04-10 Kohei Yoshida [f025ef4f386954d71cdacfbb2db7ddd9ee41bc4a] Pick up and set the "origin date" aka epoch during ods import. For now, we don't use this information. But later we will. 2013-04-10 Kohei Yoshida [dba063dbe21ad3a6e3190bec1d405f7bb986c7c5] I'll convert date values into string values for now. 2013-04-10 Kohei Yoshida [5a8de96af52e7bdf802ddc9607e639288332f474] Found and fixed a bug in to_date_time. Added another test. 2013-04-10 Kohei Yoshida [4e29297c9801a2a169afe7c332f69f1b6dad508a] Run the test for real, which fails miserably... 2013-04-10 Kohei Yoshida [a92bc4ba1b501d3dbb27a9b9d32a08b853fdff8b] Add framework for common test in liborcus. I'll use this to test the date-time conversion function. 2013-04-10 Kohei Yoshida [9662b62f10f7fc698c4175230c07df6b944e83a4] License header. 2013-04-09 Kohei Yoshida [f01f585941fd680529a3694a12d99cb3cbe13375] Add set_date to the sheet import interface. ODS needs this. ODS treats date values separately whereas xlsx imports them as numeric values. 2013-04-09 Kohei Yoshida [a42a3e4d0f8bb9e5015494618f05302b787911d0] Add finalize() to the import_factory and call it at the end of import. This is to give the implementor a chance to do post-processing at the end of each import session. 2013-04-09 Kohei Yoshida [cfc9950c61d36c3975046fdc5d637171ee2d2754] Check whether the client code supports style import. And if not, abort reading of styles. 2013-03-25 Kohei Yoshida [f736b278e566df92a4ea05ac993fd47913e02716] These forward declarations are no longer needed. 2013-03-24 Kohei Yoshida [25a99aa68364a1c47843fea746cd95a0eeba399e] Open file stream in binary mode, else zip archive fails on Windows. Windows file stream calls apparently differentiates binary mode and non-binary mode. On Linux the two don't cause little noticeable differences. 2013-03-24 Kohei Yoshida [7e700b93afadb5e3fe8c2a334d6c17e9df3b2319] Fix project dependency for orcus-xml. 2013-03-24 Kohei Yoshida [e05d04d8d4a7ffe9c9e1400d4a3860601517b0b2] Add liborcus-static project to Visual Studio Solution. liborcus-static depends on liborcus-parser-static. 2013-03-24 Kohei Yoshida [6119e0ef1409f89c48ba8da513b687d56b495083] Get liborcus to build in Visual Studio 2008. On Windows, liborcus also includes the libparser part, instead of keeping liborcus and liborcus-parser as two separate libraries. This is the only way to build this on Windows, else we would have to define a new set of DLL macros for each separate library. 2013-03-24 Kohei Yoshida [c103556d448c53b26f8f25cacd44027e91ce1c56] Some re-organization... 2013-03-24 Kohei Yoshida [58d3b85cc896fa71fa4e5f5887803c2ef2f5ff44] Hide global constant values. 2013-03-24 Kohei Yoshida [8076f58963f8c9b9f77242ed03264b4be757c7da] Remove the libzip dependency bits from vs project files. 2013-03-24 Kohei Yoshida [94174040b8061ce59c97054d385c39e4b4a9f8df] Update the copyright years. 2013-03-24 Kohei Yoshida [c9d67f836c36dbdff1b4cccbe474ea9894f08fc2] Don't take a reference from for_each. Because, by the time for_each call ends, the object that is referenced has been destroyed, and the reference is pointing to a non-existing object. 2013-03-24 Kohei Yoshida [2c42c37fc82a15444e0b6c3b2b1f1fe005910779] Add new test for xlsx. To make sure we parse empty shared string xml stream correctly. 2013-03-24 Kohei Yoshida [83225d62da38b05949752f54f70dad75758c13a2] Don't call characters() unless we are in xml hierarchy. For instance, when we are still in the xml declaration (before the opening root element), we shouldn't call characters. 2013-03-23 Kohei Yoshida [2ff31d015ce5c59177d37d1af1cfadb0ef2776ca] Add new test xlsx file that currently crashes orcus-xlsx. It has a sharedStrings.xml stream but the list is empty. 2013-03-23 Kohei Yoshida [145a129670d70dac59165eb47da8849e8986f8b5] Remove the libzip bits. Now orcus no longer depends on libzip. 2013-03-23 Kohei Yoshida [ade634f3e4ca7864a50bc5d23dae3e1d4962f2c2] Switch orcus::opc_reader from libzip to using zip_archive. 2013-03-21 Markus Mohrhard [63b5a2182f07b0b80426a0fbfe360eb955b2f14e] fix some linking errors on windows 2013-03-21 Markus Mohrhard [63f4dbbbb42f2ac08ca8bbec83857973a96f68f6] license header 2013-03-21 Markus Mohrhard [f559085b2483be8400ea8a9951174c52dd360239] liborcus project compiles again with visual studio still some linker problems 2013-03-21 Markus Mohrhard [8530fae41358c5a7c45b7e6d9d8f7dd97e9c5b74] use environment variables also for libzip 2013-03-21 Markus Mohrhard [7cb6e4210f80fd0d82869d8abc4d73f729d42157] get the parser projects working again 2013-03-21 Markus Mohrhard [a3694c0941c7137241e8e160ed7839d64c8f1534] visual studio before 2010 does not support stdint.h abstract the handling of stdint.h on windows to differentiate between versions supporting C99 and ones that don't 2013-03-21 Markus Mohrhard [8b86ed0d148752eaadd6eaeae3f7cdff22236221] MSVC does not know fseeko and ftello map these functions to the corresponding windows functions on windows 2013-03-21 Markus Mohrhard [7dc83bfc43aa8a939a978b57651cb3cd442c0e25] fix liborcus-parser* on windows 2013-03-17 Kohei Yoshida [9e34b91627f1d17bd2d48f7a679ab79a5638d49f] A bit more cleaning. 2013-03-17 Kohei Yoshida [afc6d1b1ef0b07640419b9fb12e52ba35e4d4493] orcus-ods to use our own zip_archive instead of libzip. 2013-03-17 Kohei Yoshida [5954e3044cb4ab7f4e6e3d63122f7b6f2c9c7e45] Rename class stream to zip_stream_parser. 2013-03-17 Kohei Yoshida [a0855792f3b791afa5af7d9ebfddcec32b8aa972] Add method documentation. 2013-03-17 Kohei Yoshida [74a685b8fbaf37ccc77cf418882f0dad692da828] Support dumping by file entry name. 2013-03-17 Kohei Yoshida [70dcea9a487fc3797f96cf614f1357cf7407a3da] Turn off debug mode for zip_archive. 2013-03-17 Kohei Yoshida [508bf3b1d7fd95cec23a4d084d8bc89e019afe28] A little more cleanup. 2013-03-17 Kohei Yoshida [f2b8f29c374831fe424cb9243b4eedd076e77ed1] Clean up read_file_entries wrt debug statements. 2013-03-17 Kohei Yoshida [828e690ca90436796c588f33c253a56733cb23ae] Clean up zip_archive_impl::read_central_dir_end(). 2013-03-16 Kohei Yoshida [330704d2ea6ece23300012e6efde12d089697595] Remove duplicate code. 2013-03-16 Kohei Yoshida [edffd5d5857f94db02973bbaa2bbce096646179e] Read zip file entry content by the entry name. 2013-03-10 Kohei Yoshida [6dfc13c8e99d7789d09e6ea88ba49652f1dac3f1] Method description. 2013-03-10 Kohei Yoshida [38d7f74c942264691975eca20c6c4a79fba74e2b] Reading the file entries should be part of load(). 2013-03-09 Kohei Yoshida [f12328d1e173a5d9d2f3a34ec1cfb97281987840] Use the abstracted stream access to unzip a stream. 2013-03-09 Kohei Yoshida [1dcb817141b31bc76e5c59210dde08f8aab66e20] First step toward abstracting the stream access. This change includes file stream on disk via file descriptor. 2013-03-09 Kohei Yoshida [5d37a9c3479906564ed81d139a2488f93a3748ba] Add this file to the slickedit project. 2013-03-09 Kohei Yoshida [1d246ade3fde211ceebbafe51b64f82d04f8d612] Do the z_stream initialization in zip_inflater. Looks cleaner that way. 2013-03-09 Kohei Yoshida [897a7ff5c6c3dc9470c460c6c998b30b48d6a968] Implement lightweight zip archive support directly in orcus. This will eventually replace the use of libzip within orcus, and to remove dependency on libzip. With this change, zlib is now a hard requirement. Previously, zlib was required only when the gnumeric filter was enabled. 2013-02-16 Stephan Bergmann [f60d6eecee72349993a392a9a63ddf3383d3b8c8] Missing include (at least when compiling against Boost 1.53.0) 2013-02-16 Stephan Bergmann [b09150fd4374d9f1198c3c843260729cebbd9be5] Missing dependency on boost_system lib (for boost::system::generic_category(), boost::system::system_category(), at least when building against boost-devel-1.50.0-4.fc18.x86_64) 2013-01-28 Markus Mohrhard [beabb3349ee5dd3ea1019fbb207da3e1976e8c65] move the xlsx test too 2013-01-28 Markus Mohrhard [74764e3889cc43e9b601a63d01bbbc455bc9a5f4] fix some problems around gnumeric style import 2013-01-28 Markus Mohrhard [08747f360db6805ac5ea5f760847995594a6c6a9] add number format import from gnumeric 2013-01-28 Markus Mohrhard [51f87949aaea342205c3cb576a4475b41de1e346] support number format import 2013-01-28 Markus Mohrhard [23c91ec14f0c424d2852bba24e65cf9563a2ef8e] add boolean cell import from XLSX 2013-01-28 Markus Mohrhard [1c80404ce2d515603b7142c274ce74b34f5c623d] add bool cell import from gnumeric 2013-01-28 Markus Mohrhard [38921e6f2efa25d9535095ae293931c324976d6f] add boolean cell import 2013-01-28 Markus Mohrhard [99b7f4e1a9e7d1bc12da4a69cdcd710534b10c3b] make these names more orcus-like 2013-01-28 Markus Mohrhard [b456713d31c697fe5044088b99aa4bdcab775032] add test for xlsx array formula import 2013-01-28 Markus Mohrhard [9ebc22a10eaddb8215575afc29a9075d42699058] add intial test for xlsx_sheet_context 2013-01-28 Markus Mohrhard [266f66c2b57ee88a5ff4d2caa330b0a83944095d] import array formulas from OOXML 2013-01-28 Markus Mohrhard [f18e0ed1c77dea3df71eec40fba31ebdcb3c6c4d] import array formulas from gnumeric 2013-01-28 Markus Mohrhard [67646f6cb57f3f6d32b9c5f0ff218875aa569172] initial support for array formula import However we still need to decide how we want to handle the cells in the range of the array formula. ODF and OOXML write only the top left cell into the document as a formula cell, all other cells are written as normal value cells. We have two ways to handle this: * Leave this problem to the implementer of the interface * Store internally all array ranges and decide there whether a value cell is a real value cell or the value represents a formula result. The second approach breaks a bit the concept of orcus because we no longer can easily import the content without knowing what has been imported already. The first one however means that we move some of the import problems to the implementer and the mentioned concepts are only found in ODF and OOXML. 2013-01-28 Markus Mohrhard [3dc5cd2bb2019704bbd6dee2d833438b7fc4d4e0] add tests for gnumeric shared formula import 2013-01-23 Kohei Yoshida [cb66fab7e473a37e011c002f29f72d07ef681c3e] Add the new files to slickedit, and remove the mock classes from iface. The iface namespace is reserved for the pure interface classes that need to be exported to the external code. Let's keep these mock interface implementations outside this namespace. 2013-01-23 Kohei Yoshida [34d2ac9af76600d01cebb11613881922fe4ac68b] Move the test files into liborcus directory. To keep the test file alongside the source file it tests, and its name being the source file name + _test. 2013-01-23 Markus Mohrhard [1771dfdb034769a4ba938f954f4473a7e9440892] proof of concept for tests 2013-01-02 Kohei Yoshida [f53ff7a4e0ff0ac613e2f4c1cdc1b773a7f8c807] Fix header guard. 2012-12-26 Kohei Yoshida [17fe108ba9787465a9f99f0c570cd0f67dd296fa] Appropriate copyright holder lines. 2012-12-26 Markus Mohrhard [2bb52a736d3d9269abc605ba56794af2c013e43e] set_auto is not a good idea if you know the content type Edited by Kohei: some formatting consistency. 2012-12-26 Markus Mohrhard [57c58c90b976dbcffa78e9ebca0e505db6ac9428] remove unused include 2012-12-21 Kohei Yoshida [7deffe5a4d1940f15a61a01737d9669b3c29754a] Sniff the rest of the encryption info data. 2012-12-21 Kohei Yoshida [0c213ca7402dcc8377911c945d7347f477278959] These handlers will not be used for this. 2012-12-21 Kohei Yoshida [96109d7aca098e44c6dc4a3ddb313e9d854c580d] Sniff key data from encryption info stream. 2012-12-21 Kohei Yoshida [a307626a62283f5a61eb91274c7c5bbd8d700211] liborcus-mso should only against liborcus-parser. 2012-12-21 Kohei Yoshida [4eacef9e61fb93d258098f2f5a3c8df0a5b27164] More on bootstrapping orcus-mso-encryption. Moved pstring, string_pool and xml_namespace all to liborcus-parser. 2012-12-21 Kohei Yoshida [7990025b32ecbd7b57122d45a88b8284844a910a] Bootstrap orcus-mso-encryption executable. In this change, moved load_file_content() from liborcus' global.hpp to parser's stream.hpp, since I need to call it from liborcus-mso which doesn't depend on liborcus proper. 2012-12-21 Kohei Yoshida [41dfaae47e31048ec66c0b2eecab3732245515b2] Wrong header was included. I need string, not ostream. 2012-12-21 Kohei Yoshida [a57ea6cd30f526f37a1e899ab91dcd6311f24d73] Formatting consistency. 2012-12-21 Kohei Yoshida [0549ce47877661050b5897b92fbdbf50aaed7b0b] Add base64 encoder and decoder functions. 2012-12-20 Kohei Yoshida [011cacf1c03a36abe67895ec9c8032ce1d9920a3] Skeleton for parsing MS Office's xml-based encryption info header. This will create another library liborcus-mso, which will provide self-contained various msoffice utilities. 2012-12-19 Kohei Yoshida [6b8a56001950edd8f56eddaa73cc8252aeaf4653] Destructors shouldn't throw. Let's use assert() here. 2012-12-18 Kohei Yoshida [3dfc99c59c07d105cc1030d5f3c25f915573c775] Test parsing encoded character immediately followed by ';'. 2012-12-18 Kohei Yoshida [6b5f7e821534980baf1955874148873b102f49e4] Make it easier to run callgrind. 2012-12-18 Kohei Yoshida [27682800170224433ac03ca10e5060454ef1c7b9] A ';' after an encoded character can happen and is still valid. Example: "B"; -> "B"; 2012-12-18 Kohei Yoshida [822b2c8f133f0c1205f0274fea6ca8e55102d738] Use FNV-1 string hash algorithm. It's supposed to be efficient. 2012-12-18 Kohei Yoshida [2c9cee0f1cf7f318b3e67eccadb1d0b0eb56233d] Slightly more efficient string interning. This improves the performance just a tiny bit. Not as much as I'd hoped but it's still an improvement. 2012-12-18 Kohei Yoshida [7042909bc5b6cac95a67e70890ba6087f87ed806] Debug statement. 2012-12-18 Kohei Yoshida [6f9d53a960cd20c0d8410fbc2f5d749ad62652b4] Fix invalid memory access. xmlns_context instance relies on the xml stream being alive for the duration of its life time. We need to hold the stream in memory to avoid invalid memory access. 2012-12-18 Kohei Yoshida [7a01ec377033a8b6e4bc2083fa8343ac0b42b852] Wrapper to execute orcus-test-xml-mapped test alone. 2012-12-17 Kohei Yoshida [ea8282b051aabd8cc9a66b54730bc0bc91b89cdd] Removed all traces of xmlns_token_t. We won't be needing this anymore. From now on we'll be using xmlns_id_t in its place. 2012-12-17 Kohei Yoshida [e9ee867ac9c0d50b6e310e9667941cdad96bec7c] Let's be consistent in naming a file. 2012-12-17 Kohei Yoshida [84a25bf121c6288bb6fd8338d4afc919ad2118ac] Fix header guard. 2012-12-17 Kohei Yoshida [7c7f309740b81de869a2205f90505a50f24ba5f5] Follow-up changes to get the test to pass again. 2012-12-17 Kohei Yoshida [1bbff9670fe9bdfdaf85e514344d33c73f4aad47] Big change on replacing all uses of xmlns_token_t with xmlns_id_t. It compiles but the test fails. 2012-12-17 Kohei Yoshida [8b8f091548c738ae2bec02b0bd57cf97a7405bbe] Add predefined namespace values for orcus_ods, _xlsx and _gnumeric. 2012-12-17 Kohei Yoshida [53d5139563c2e0811c6ca37954823a4ccf8a4ed6] Add gnumeric namespace set. The list may not be exhaustive. Add new ones as needed. 2012-12-17 Kohei Yoshida [02b6ba3a36c54e40035888b20eaf7a1b0d8a80db] Add test for ODF predefined namespaces. 2012-12-17 Kohei Yoshida [1c1baf1be1629111b8165eefef1869e530f13504] Wrong namespacing braces. 2012-12-17 Kohei Yoshida [b1f87ebf8befcd0bd4ed1454f52451df503eff2b] Add ODF namespace values. Values are auto-generated by script. 2012-12-17 Kohei Yoshida [e681c51bdacbe3833e5cb360e53f69a4edc8eeac] Update token generator script to auto-generate ODF namespace values. 2012-12-17 Kohei Yoshida [a43d7878c2b3dab098c5663d16ddc82dd18ba3dd] Use the official v1.2 Relax NG schema file. 2012-12-17 Kohei Yoshida [b1bbc28c45d54f62c54ec529a88b07e4ad7f9852] Let's make sure we get the right namespace value.... 2012-12-17 Kohei Yoshida [2eafa5ca988da15370edf71631748c209c9bde69] A little more test. 2012-12-17 Kohei Yoshida [217f9839fe608eb62376273ad88bf6796ae09be9] Support adding predefined namespace values to the repository. 2012-12-17 Kohei Yoshida [d47de10f478c4f9f360d9d063d6d92a78ec20b2b] Started working on passing predefined namespace values to the repository. Not done yet. 2012-12-17 Kohei Yoshida [99ea480ee7d634294b12a7407cf891c97f9894c2] Pass the xml namespace context to the sax token parser. 2012-12-17 Kohei Yoshida [45604205d1cc8e9bda33a3a1e1b8fdab92d07a5b] xml_stream_parser to take xmlns_repository to create ns context. 2012-12-17 Kohei Yoshida [561bd91a243839d5b878fddf77ae410e582f07ad] Test XML content for Agile-style EncryptionInfo stream. This format is typically used in encrypted Excel 2010 documents. 2012-12-16 David Tardon [1b7e06c0f08f42f49c5d817a53cfd7946d1cd584] coverity: uninitialized member(s) 2012-12-16 David Tardon [d92bc459f218d873947c1747f386d1465114e126] coverity: uninitialized member(s) 2012-12-16 David Tardon [0055fa5e4f1debe8d1ddf1ea0ebc791519b7b0ef] coverity: uninitialized member(s) 2012-12-16 David Tardon [831b598b039aa0c8c58333d705bf94feace1427b] coverity: uninitialized member 2012-12-16 David Tardon [5fa50940d9d135593e73f63e09ed8329d99eacee] coverity: catch all exceptions 2012-12-16 David Tardon [c5f77a570eaadb48c4bf0f69d2a4d9b25538b73c] coverity: catch all exceptions 2012-12-14 Kohei Yoshida [b38d2ba78a817518b8602158c95872b9de18fc6a] Test code for ods import. 2012-12-14 Kohei Yoshida [69fae02dd5f441b834b837056b3c0d791be864b4] orcus-ods: import numeric values as numeric values, not as strings. 2012-12-13 Kohei Yoshida [560e99824b2ab8a0525dc3a3b75205de0ff0a6cb] Reworking ods filter's cell attribute handling. Still work in progress. 2012-12-13 Kohei Yoshida [83a0777df7f0fabce473f1995896244f0eed8b28] New raw value test document for ods import. This is basically the same content as xlsx counterpart. 2012-12-13 Kohei Yoshida [345ac364695e9a8f01bb9f669038f70359061291] Finish up the test code for xlsx import. 2012-12-11 Kohei Yoshida [4e9eb9f113ec4c23e02033e853cd560c0a11b3d7] Working on setting up a test for xlsx import. I'm not done yet. 2012-12-11 Kohei Yoshida [9c8078f370a4c915a44c1c311df17ed7e8a3fcc9] Extra blank line we don't need. 2012-12-11 Kohei Yoshida [cb98b54d94693eb72654a5502251e2969e87cf10] Did some debugging in class sheet due to incorrect string cell import. Turns out that the problem was on the ixion side. The string ID of 0 was reserved for an empty string, which obviously doesn't work with xlsx import. 2012-12-11 Kohei Yoshida [fda0ae31807e53da320d1e925da044a69ab78652] New test file for xlsx import. Unfortunately orcus imports this incorrectly. 2012-12-11 Kohei Yoshida [c161a31edd460a28b8e18fff6a481b702b0a88e9] make dist to package tar.bz2 as well. 2012-12-11 Kohei Yoshida [d8847708c7969bf3b50218bc58e76d4e997af22a] liborcus-parser to build .dll, and liborcus-parser-static to build .lib. 2012-12-11 Kohei Yoshida [c55d51c2b6e48bdfbaa944ca72d42cb78e7dec1a] Fix the liborcus-static-nozip project as well (for MSVS). 2012-12-11 Kohei Yoshida [f9b8ae77061b30613dd8e44b7707035a819f1d02] Updated liborcus project in MSVS solution. We have yet to fix the -nozip project for the new file organization. 2012-12-11 Kohei Yoshida [5218c1b875eaf1fc627a6bda665dbba47e76a0b7] Add parser lib directory to get the wrapper scripts to run. 2012-12-11 Kohei Yoshida [c7da7a6c422116fd3ed812821fa9e64bca152730] Finally, move all the ooxml headers into liborcus. 2012-12-11 Kohei Yoshida [361855da7bf26b1cfe21d4d6951346ee643581bd] Move odf related headers into liborcus, to avoid public eyes. 2012-12-10 Kohei Yoshida [61b115698cfecf42a13dcc77c0d4d93ea4cfa563] Move gnumeric stream handler files into liborcus. 2012-12-10 Kohei Yoshida [98b36c060d0748dc3d66152622a2fe7cb1d5f368] Hide and rename xml_context.* too. 2012-12-10 Kohei Yoshida [380a3da76c6750210b87ce7cc7ec57431fde83f2] Rename files to fit their respective class names. 2012-12-10 Kohei Yoshida [a2a907bc5d773d371eeed67591b92169a556ac2e] Moved several non-exported headers into liborcus internal. For better encapsulation. 2012-12-10 Kohei Yoshida [5de884eb02c36a0a989ebdedaafeebca52b43cad] Add opc namespace values too. 2012-12-10 Kohei Yoshida [6a386b08cf3d860d55b4ac530276796111c0def1] Add stock ooxml namespace types. 2012-12-10 Kohei Yoshida [118be886d64966fde4e026e9ea2f3149cd1ceee5] Stock content types should be const. 2012-12-09 Markus Mohrhard [b9d29ee2b8847dd3b53baf1f1560eee408dca757] adapt librorcus-parser build on win to latest changes 2012-12-08 Kohei Yoshida [e3019f42ef925b9da842cc6eb17b5b819a9afd2c] Link to liborcus-parser in pkgconfig. 2012-12-08 Kohei Yoshida [d0707a6f03cd75421df57db131376966adacb55b] Explain that '\0' is returned on failure. 2012-12-08 Kohei Yoshida [de01f469198caf2e900a67b4a5ad5e000b89dfec] Move XML encoded character decoding code to liborcus-parser. 2012-12-08 Markus Mohrhard [5c4838bf2bd420b44d62d82a7dbd7ea76c34b7c4] adapt windows build to liborcus-parser lib 2012-12-08 Markus Mohrhard [6118da82748240c59b4b666db3bc0e5c563831ce] fix orcus-gnumeric build on windows 2012-12-08 Markus Mohrhard [3229ae71a644ff833a3c1439e0bed44cb5dac46a] warning C4099: mix of struct and class 2012-12-08 Kohei Yoshida [c6b8fefe80353cf7e3343fe58af9de59d4fc483b] liborcus-parser shouldn't link against libixion. That was just a simple copy-n-paste mistake. 2012-12-06 Kohei Yoshida [26c112898484716d5f840c5dc1fce66a0cec1e44] Another library instance for low-level parser code. From now on, using the low-level parser templates do require linking to liborcus-parser library. This is done to reduce the size of binaries. 2012-11-28 Markus Mohrhard [03338097294cb6e667060fa87bfe176f1db90f8c] xlsx: import cell protection attributes 2012-11-27 Kohei Yoshida [792c8f4c6dc8c81c12ea1fc7ecf67447c32dee89] Remove execution bits from these files too. 2012-11-27 Kohei Yoshida [19a7218b63b154fc74c0326560dd446fcda3078a] Remove the execution bit. 2012-11-27 Markus Mohrhard [551da550bd5b9854184708ceefa141f278c4465a] add the new source files to vsproj files 2012-11-27 Markus Mohrhard [367f560220018bbed627f1d8276a19f961bfe496] gnumeric: we need to commit and set style entries 2012-11-27 Markus Mohrhard [69a82188a4ab2c73ac5446fd6c9151873758ca05] gnumeric: import cell hidden and cell locked attributes 2012-11-27 Markus Mohrhard [ba0ebdec19c96f0577501709cf5e29e8dcdbd062] cell protection support 2012-11-27 Markus Mohrhard [bd472644bfb6b090fcf77e899887cec5db15c93a] support cell color in gnumeric import 2012-11-27 Kohei Yoshida [3a7fd7ca0c23d77e7a2f928aea592e632503d92a] Remove MSVC warnings. It doesn't like implicit int to bool conversion. 2012-11-27 Kohei Yoshida [586c6c768c182fc6903d0b17dd83eea807071429] More editing of MSVS project files. 2012-11-26 Kohei Yoshida [e0ebf9fa480d74e420dbf369d33a6fdfeac1f1ce] Fix coding style and indentation. 2012-11-26 Kohei Yoshida [6c860d7d8a99fd05b4c40fc9bd3030c26befd3d1] This won't build without ORCUS_DEBUG_XML_NAMESPACE set to 1. 2012-11-26 Kohei Yoshida [e61a143535ea83dfb96075e1b2a424ce0a54451b] Add gnumeric files to static-nozip MSVS project. 2012-11-26 Kohei Yoshida [5c1ca7c832395a395e33a335131778702609a01a] Update MSVS project file for liborcus-static-nozip. 2012-11-26 Kohei Yoshida [936a96d7ca3502ade661fbce0c45abbdb1f7a811] Fixed 'make dist'. 2012-11-21 Kohei Yoshida [392ff85f2aff1ea8760cb63c06b7346b5f2dd4f1] Add a means to obtain the short version of an xml namespace name from the walker. 2012-11-21 Kohei Yoshida [8c3f8b1e3c10cd1f47db0bd815e5cece4633d221] Quote all string values in the "dump check" format. To avoid ambiguity in case the string value contains ':'. 2012-11-21 Kohei Yoshida [ff1832700e60db050c8326d51ec8a4778184a25f] Header label should only the short version of xml namespace name. This breaks several tests. I need to adjust those failing test cases. 2012-11-21 Kohei Yoshida [aeeff94a7755c5174cb9d31db06123a08e1fb23a] Be sure to intern the namespace alias strings in xml map tree. Because xmlns_context itself doesn't intern the aliases. 2012-11-21 Kohei Yoshida [a2560876103a79a5e7e1397bca735532e7f653c2] Print aliases in the context for debugging. 2012-11-21 Kohei Yoshida [9a54506fbdac4aad0ed34a96f791b6138c690fa0] More debug statements. 2012-11-21 Kohei Yoshida [59e7f513f1f17d1a688365dee3fd0b0948249b5b] Let's have xml_map_tree to take the ns repo, and keep its context internal. 2012-11-21 Kohei Yoshida [6e53d70703af67abc9dc819d4b9e0a6998732e74] More debug statement. 2012-11-21 Kohei Yoshida [cccd1c6c1f5f76d216c910c96219d8b7017e240d] Add method to get xmlns identififer from its numerical index. 2012-11-21 Kohei Yoshida [f5b81963a94e2559ca4acaef3a28c1417dfa6bd1] Add get_xmlns_index() method to the tree walker. This is for convenience. 2012-11-21 Kohei Yoshida [ccddd488859bd535c37ece6934ce87b571836cac] Add another test case to test namespaced linked attributes. 2012-11-20 Kohei Yoshida [4875a787ebf3736aa5fba0aede4c6a826d2b4ff1] Intentionally change the namespace aliases in the map file. And the test should still pass. 2012-11-20 Kohei Yoshida [7980ac64fc56e5ead16c09e1251b20561ee18ae6] New test case for namespaced xml content for round-tripping. 2012-11-20 Kohei Yoshida [9d50cdcf59ec8137ab27a9c3fb8f5f59dca101b7] Set the namespace alias on field-linked elements as well. And adjust the test code to allow cases where the input and output xml contents don't match. That can happen when the range linked sub-structure contain foreign element(s) which will not be included in the output content. 2012-11-20 Kohei Yoshida [b27e68aec1e6d6aaf0eb59ca58b0c9b7e3caddcb] Let's not forget to intern these namespace alias strings. They need to survive even after the import content stream is destroyed. 2012-11-20 Kohei Yoshida [64a0ab1e735992ccc9c0703402f4a1c4aed41518] Store in the map tree the actual namespace aliases used in the content stream. We need this when writing transformed xml content to file. 2012-11-20 Kohei Yoshida [93d35d3d5d4ea4084c2fd60cb29629ffab26505c] More targetted namespace trimming scheme. 2012-11-20 Kohei Yoshida [f42391d21d58fe71a1939363c8b0c002171c99eb] Let's not use this in_parse flag. I find it a bit hacky. This will make get_all_namespaces() call a little more expensive, but only the test code should call that method anyways... 2012-11-20 Kohei Yoshida [6d2bc9787f760107b81443722bcd1dccc5388f38] Don't forget to call parse()! 2012-11-20 Kohei Yoshida [0464810b61941f7fcc788684b1d6038a1afe933e] Correctly keep track of unlinked element stack while traversing the map tree. 2012-11-20 Kohei Yoshida [76ef20cac8b68cede013418460b82d5eaedcd86e] Rename xml_attr_t to xml_token_attr_t. 2012-11-20 Kohei Yoshida [3a2327c7eeb1361226b9aaff42bb288a0641265a] More debugging and assertions. 2012-11-20 Kohei Yoshida [29b6999c66cd936207d493fb5cbcb0d9044d03dd] Added new test for traversing a xml map tree. This currently fails. 2012-11-19 Kohei Yoshida [12bf185249d480062789c5109ff8469f94910b71] New test files for handling namespaces during mapped xml import. It's disabled as the export is not yet working. 2012-11-19 Kohei Yoshida [6cde6360ecb31febf46dbc13bc46bf38d4cad18f] Turn off debug outputs for orcus_xml. 2012-11-19 Kohei Yoshida [77803d74266ede855a7185a51e3f952620c874fd] Finally, handle xml namespaces correctly when parsing the data xml. 2012-11-19 Kohei Yoshida [dc77d35a27b8afc7add1ae2fea8f4462b9b6de89] Correctly handle namespaces while building xml map tree. 2012-11-19 Kohei Yoshida [bcb1ebd5eaf056f9e1e822c01201187b93314729] Properly process namespaces when parsing mapped xpaths. 2012-11-19 Kohei Yoshida [b23733e1c32d2b02393990c1ecbe13cbf7815301] I don't think we'll need this. 2012-11-19 Kohei Yoshida [ca061603398ff4c9d648c33bfefb49d5445694e6] orcus_xml to take additional xmlns_context parameter. 2012-11-19 Kohei Yoshida [0a175395901e8b75b5015096978df4914587807f] Test for nested default namespaces. 2012-11-19 Kohei Yoshida [f2e8aacbb11fab44d4dc23dda8e62ef2d03533dc] New test case for custom namespace handling. 2012-11-19 Kohei Yoshida [23a8c634430cfe44fa7b32d29febc22b97fcd63f] Adjusted test files for xml parsing & new test for default namespace handling. 2012-11-19 Kohei Yoshida [7c54dce88eb5d9efec3e8819a1792c47d4240b53] get_namespaces() to return namespace list sorted by order of occurrences. 2012-11-19 Kohei Yoshida [212bfe617b9b320cdd16094732dbb36349b57f49] Print namespaces aliases instead of namespace values when dumping. 2012-11-19 Kohei Yoshida [462e1f10e40253fea504d0bf38d12b3f82fc6ee8] XML structure dumper to use proper namespace management. 2012-11-19 Kohei Yoshida [fbd0e87ada85fa615e1a028c002f271e2f04e4e5] Adapt dom_tree to make proper use of xml namespace management. 2012-11-19 Kohei Yoshida [642d5e1fdab355327e1af028d547e6c8109ab7e2] Make sure the ns indices represent their order of first occurrences. 2012-11-19 Kohei Yoshida [0b3abc94a364ca23a1c6c2071cea359ef1a8ac85] Check the return value of push(). 2012-11-16 Kohei Yoshida [ecf118c39b298f51abfdfd62b0a45b7fb5a490c0] Correctly dump namespaces, and add check for it. 2012-11-16 Kohei Yoshida [d72f1da6379c18d20595fb55329da922351e86ff] Fix the crash in the new test. 2012-11-16 Kohei Yoshida [5a77f10fe793d8cd36b788879c842b232f5893fe] I forgot to add these too. 2012-11-16 Kohei Yoshida [4adce0038f7c4e95d5c410a40d4a2fbca1de7847] Add new header to the automake file. 2012-11-16 Kohei Yoshida [7b3866863874dfcd074f089dc24edd5da5df765e] Add this script too. 2012-11-16 Kohei Yoshida [fc33d6b64d306c3cabadf2050b212bf652d928a8] Somehow I forgot to add this header. 2012-11-16 Kohei Yoshida [44e7d1586f8885cf33b99588fe6ae47092bac648] Retrieve all used namespaces instead of keys during dump(). Disable the test as this crashes at the moment. 2012-11-16 Kohei Yoshida [6a2335d56f15c7295e020af7bca3a2da9ca90102] Handle XML namespaces properly at the parser level. And use it from xml_structure_tree. 2012-11-15 Kohei Yoshida [8cb9c4801f696d79b7a1611234ca9b684574c513] Support numerical indices for namespace IDs. Useful when displaying namespaces canonically. 2012-11-15 Kohei Yoshida [85d065f7713625d491df3b4caf06cc4ad1799d52] Unit test for string_pool. For now it only tests a very basic thing. 2012-11-15 Kohei Yoshida [c29b38ec3618c4715aa5a5c4160b47bace51aea0] string_pool::intern() now returns a pair. The first is the interned pstring instance and the second is a boolean parameter indicating whether or not the string is a new instance or a re-use of an existing instance. True for the former, and false for the latter. 2012-11-14 Kohei Yoshida [3c02946f50b88709b3696aeb5702b6d4d8035315] Let's handle cases where the temp cell buffer is empty. 2012-11-14 Kohei Yoshida [7b61576ae0d6f42078a30b900cf1681b6157d4bd] Check single character case also. 2012-11-14 Kohei Yoshida [982ab62ffd13f94eb3022bca114f04b768bd7aa1] Don't forget to delete the root element, else we'd leak. 2012-11-14 Kohei Yoshida [d3b3eb3a9dd2fcc27c52be36332600d7e91158e1] Test the same thing for content. 2012-11-14 Kohei Yoshida [0bdd3ea490d0a42bf1bd1ba7d161424275cb216e] More correct handling of attribute value with encoded chars. 2012-11-14 Kohei Yoshida [79d92b834a31660cf13e013ae14cb8db335a42e2] Handle cases correctly where a string value ends with an encoded char. 2012-11-14 Kohei Yoshida [924a89f1cc27905537a4ef8d7c00910efcf76dde] More descriptive exception message. 2012-11-14 Kohei Yoshida [8013b39592f5f29195303580f75dab6dfeaead2c] Turn off sax parser debug. 2012-11-14 Kohei Yoshida [199d678e4f0c2b3aff0935512044ff0a9c069bbe] Escape certain characters when dumping dom content. 2012-11-14 Kohei Yoshida [3fb2d140119c37dd1e06fa64af7fc01243b6d3fe] Convert encoded chars in the attribute values too. 2012-11-14 Kohei Yoshida [0141711f69fbe40b6a6e7ad6c24ced7c26f35707] Less indentation is preferred. 2012-11-14 Kohei Yoshida [77300457584d4bf62a6f22ae904d49cb3fe5a69e] We don't need to reinterpret_cast anymore. This was there when the char type was a template parameter. 2012-11-14 Kohei Yoshida [eb3f5c76d506208c76fd3bf0e02839f48e68fbad] Make sure these strings become persistent before storing them. 2012-11-14 Kohei Yoshida [2888e72181b13c23c5ae9120eeba70cca6f1d38f] Use the pimpl idiom for dom_tree. Mainly to move the member declarations to the source file to have access to the internal only string_pool class. 2012-11-14 Kohei Yoshida [ab812e7be73d0bc014027406969da2f835923e7a] Detect and convert encoded characters during xml parsing. 2012-11-14 Kohei Yoshida [0775135f2da2734d59100b9b81a2fa54e2e4157f] Extracted temporary cell buffer code from csv_parser to make it reusable. And added new xml test case for encoded characters. This currently fails since we don't handle encoded characters in sax_parser yet. 2012-11-14 Kohei Yoshida [93db2ba1de2380ed7453ad6c2e622ae2216792d5] Relocate test files for xml parser. 2012-11-09 Kohei Yoshida [bfc3624490ac47b8fb3ccb67498dc8d3aa6bea2e] Don't forget to make the sheet name persistent for start_range() too. 2012-10-20 Markus Mohrhard [4e80be4b18e88187457338e2f7d77d956976dc1a] implement underline support for xlsx 2012-10-20 Markus Mohrhard [c03f477349e1e722851de8b01b5e00f8690e3719] implement the font underline for gnumeric 2012-10-20 Markus Mohrhard [ff7df79f86b4c942eac590e95cd61be20b654dff] add support for underlined text 2012-10-20 Markus Mohrhard [414024c02c6a3d71c13d75437ab8282b3fd26fc4] implement basic style import for gnumeric 2012-10-20 Kohei Yoshida [b1ae7ac68a8f9e388e4014416eb079f9f7f0ce65] Method description. 2012-10-08 David Tardon [4bb99bff6941d72ccf6705ce647c685808c34139] link with Boost.System if needed 2012-10-06 Kohei Yoshida [84fd5273a593460a2b5793d2219bba8c0b235f1d] More compact dump-check format. One cell value per line. 2012-10-06 Kohei Yoshida [89f317a54f06a1bca2fdd7a94d17986d720d6730] Don't take a reference of a deleted object. Make a copy. The original pstring value object is gone by the time the for_each scope ends. 2012-10-06 Kohei Yoshida [033bd08b91dd18afafcf67f86f9eea0ee9803153] Remove extra ']' which would show up in the help text. 2012-10-06 Kohei Yoshida [af67c614d6ae6bc30a936080fa7429baffebfed2] Fix the makefiles for headers. Otherwise the header files won't get installed correctly. 2012-10-05 Kohei Yoshida [63c771c1aaf42b671c8369a697f08be6503fcc79] Another test case to check nested repeat element states. 2012-10-05 Kohei Yoshida [833611cd4d78f1db98e6fad126af75908d75e5ea] Set the repeat flag only when the element occurs multiple times in the same scope. 2012-10-05 Kohei Yoshida [3d141d3a8866dc817da2249aa3f8a2a07f3c26f7] Sort child elements and attributes in order of appearance, not by name. 2012-10-05 Kohei Yoshida [a46ecebe550bf25534f0d7e0a72081bfc03de54f] Put the ods-filter and xlsx-filter bits in the right place. 2012-10-05 Kohei Yoshida [d21fa00bf86b336550f74500b25c5b7d6c4e12c6] Get numeric-filter to really build without libzip. 2012-10-05 Kohei Yoshida [a14a1f9a6c2c8eb7694bfc4630ad2f2dad6c9401] New test case for traversing attributes from the walker instance. 2012-10-05 Kohei Yoshida [6c38ddf19cac78fec52e052bbb2e94b0fe397f80] Remove duplicate typedef. 2012-10-05 Kohei Yoshida [4466024ff73e9cf0370a63f14b5659ef73a88f1e] Test attribute detection. 2012-10-05 Kohei Yoshida [2acfab69f94e61807a0490fbdf9d9f0240e25eae] Reorganized test files. 2012-10-05 Kohei Yoshida [d0cbfb6416bdcb0a64942c0ab01e29f70e02a146] Detect attributes during xml structure detection. 2012-10-05 Kohei Yoshida [f8a479be9b491d220709d324db659f3612f162ad] Remove unnecessary copying of entity_name objects. 2012-10-05 Kohei Yoshida [72686f95d5614d13e82b2c045f30424f257934b2] Remove the internal elem_name struct and use entity_name instead. They were structurally identical. 2012-10-05 Kohei Yoshida [2b2b502d9441d341fdc66749a5759c8cee9dfe52] Add attribute structure. 2012-10-05 Kohei Yoshida [489732f9c0e9ebffde14405e6ab7039caaa58546] Rename element_name to entity_name so that I could use for attributes. 2012-10-05 Markus Mohrhard [a3738fb8b3dcfdc38944faf3048bddef5637d5f6] gnumeric import only depends on zlib, not on libzip 2012-10-05 Markus Mohrhard [d576da5ffc18e3eec8d9c9b821edf42f9f31258f] make ods and ooxml filter configurable New configure options: --without-xlsx-filter --without-ods-filter 2012-10-05 Kohei Yoshida [553e904220176a5c7f3eb7fdd1af01d43caa62fa] Write self-closing elements inside linked ranges correctly. Write instead of 2012-10-04 Kohei Yoshida [05e4c585826e6225fb552ab8eb61644b2792550c] Another test case and found & fixed bugs and wrong assertions. 2012-10-04 Kohei Yoshida [89b536bc8fb1facd0250f54f07c28edb7ff90594] Another test file with single-element case. This time the only element has a non-linked content. The round-tripping shouldn't remove the content. 2012-10-04 Kohei Yoshida [61d3a2dfb9b981b54c15d15dc973ecddcd1bc3e4] Write self-closing elements correctly & new test file set. 2012-10-04 Kohei Yoshida [662e68941d138d55257ea7f2671eab674da0e0e4] Test the xml export part of orcus-xml. For the purpose of this test, the output xml should be structurally identical to the input xml. 2012-10-04 Kohei Yoshida [9d4829b14724ea42c526b82fc2d3167ccae66bc9] Separate the sax handler for dom tree into its own files. 2012-10-04 Kohei Yoshida [0a54445e29309ccd67850b82e7feb6033125c7f0] Also write linked attributes anchored to linked elements. 2012-10-04 Kohei Yoshida [6854433228ec9ea4c250d61db2e309d2a018e6ff] Write linked attribute values fresh from the document. 2012-10-04 Kohei Yoshida [08d31e959ee38d58080ae70f5f1e962914161114] It makes more sense to store element's stream positions with element. Now that I also need to handle unlinked elements when linked attributes are present. 2012-10-04 Kohei Yoshida [bf59ac2a4c50cbf54ddf8a2d6bd80f2282a1132c] Add test for linked attribute xml import. 2012-10-04 Kohei Yoshida [62e2c0bc3c4d4f70e1dd36d7b32930d84623fbe7] Allow output mode to be specified for orcus-xml. In the future we should use boost::program_options for consistent command-line option parsing. 2012-10-04 Kohei Yoshida [6e4ca7677c1958e8ece49e98960676c2c902d94d] Reorganize test file structure for mapped xml import. 2012-10-04 Kohei Yoshida [30a3edf54cf92437ba495c8f32329504eace80b3] Write linked attribute content fresh from the document model. Round-tripping now works. Yay! 2012-10-04 Kohei Yoshida [bcf938081312ea8c99c27b94870f108f000feb8d] Fix the wrong assertion. An element in a scope may be linked, and that's not an error. 2012-10-04 Kohei Yoshida [f21be9ce7204c1e0144b3e3ba6e7c5e387c4a965] Test for late linking of element. 2012-10-04 Kohei Yoshida [9b1d77f1439835402aad1116f642e86ab404906a] New test files for linked attribute import. 2012-10-04 Kohei Yoshida [65d2b5a70db8427dbd7dd8628a9ae8150f5d7681] Set values for linked attributes into document for real. Now the linked attribute values are correctly imported. 2012-10-04 Kohei Yoshida [83838171766179f1bf943715ba2b44ad3fb67d7a] Range reference now stores a list of linkables instead of just elements. 2012-10-03 Kohei Yoshida [10591f2dbbdb0ca5fa00d47231b5ed978fe18b53] More fix for linked attribute nodes. Still import fails. 2012-10-03 Kohei Yoshida [79ff3a5b45c3f5fd735927f9c6118fec68b7aa59] Rename element_leaf to element_linked, element_non_leaf to element_unlinked. Because sometimes a leaf element may be unlinked when linked attributes exist in that element. 2012-10-03 Kohei Yoshida [e992c892ae4996d5a9384ced4361aecdec7adac5] Allow existing element to get linked when the conditions are met. 2012-10-03 Kohei Yoshida [43daa0a85a0a5bcd50d0deddb80983bdff551f7c] Correctly insert and retrieve linked attributes. The test now passes. 2012-10-03 Kohei Yoshida [48e722c6b584de8cbf4e00a618b31e9617453e73] Spell out 'reference'. 2012-10-03 Kohei Yoshida [ea40c1eebea9a8a6b0b676b27871af6a4364067a] Reorganize the element and attribute structures. Especially their type flags. 2012-10-03 Kohei Yoshida [57fd20d1931f09eab4435351ea4ccebc39c5b900] XPath parser now returns a state token instead of just an element name. 2012-10-03 Kohei Yoshida [c1eba9423a5e1b125dcce1f2fbd93bc9a13545d9] Pass xml namespace context to the xpath parser. It's not used yet. 2012-10-03 Kohei Yoshida [b0e9ad368704ffe3c8973bbdbb97c8be2ba76d51] Pass xml namespace context to the map tree in order to handle namespace correctly. 2012-10-03 Kohei Yoshida [f48f96b0462fdfe34905ef106da624888e6a266a] Add linkable attribute structure to xml map tree. 2012-10-03 Kohei Yoshida [a5454a05f4001c7b4ba19f328fb4ad619314ed36] Rename basic.* test files to content.*. To make room for test file set for testing attribute mapping. 2012-10-03 Kohei Yoshida [05290c2c08b016747ac224dd6b9e4a26bee83de1] Fix the naming clashes in pstring. 2012-10-02 Kohei Yoshida [2e1f62a2e3588552c87a0c8e6dc389b8b57e204e] Hide the implementations of public classes. 2012-10-02 Kohei Yoshida [2c0b19c00fa824c8ad24f5a8d77ec7a5345cc5dd] Reduce header dependency in public header. 2012-10-02 Kohei Yoshida [8f7f4bbeedd2f69e1e1583a6a91fe44abf4efb39] Updated slickedit project file. 2012-10-02 Kohei Yoshida [52f2b7dde427fdfaa41315e77cc0f5cf341fc9e5] Add a wrapper script for gnumeric (useful for development). 2012-10-02 Kohei Yoshida [eb391a976b345ad045b598153e48e4b162936823] We don't need this forward declaration. 2012-10-02 Kohei Yoshida [b46907a804a43e61d6a151269c9c2218c247d84c] Fix the coding style to make it consistent. 2012-10-02 Markus Mohrhard [7c21a41cc3eaf0d93310eece164939a5fe043347] Test file for gnumeric import. 2012-10-02 Markus Mohrhard [9896e61d3efde09b50f66d087afc682430e0db40] finally support all kinds of formulas 2012-10-02 Markus Mohrhard [627973974cb2f252aa2ffab83dc99edae41e4fb9] add way to insert shared formula without attached range 2012-10-02 Markus Mohrhard [59cccd259bff296f5852cc433afc634c39c589cd] also dump the shared formulas 2012-10-02 Kohei Yoshida [a8e5f13f8b2ec2ec61bd538e858ee0983b412e58] Program name should use '-' instead of '_'. 2012-10-02 Markus Mohrhard [1a275e1288664b241e247372685da51b508d1e9f] add configure option for gnumeric import filter --without-gnumeric-filter will disable building the gnumeric filter 2012-10-02 Kohei Yoshida [876114fa199b98ef8c3e3fcf50add3255f06cc8a] Just adding a ';' in the default case should suffice. 2012-10-02 Markus Mohrhard [4f290fa19341950b967eaf1967f05d5308c6beeb] fix some warnings with gcc in the gnumeric import 2012-10-02 Markus Mohrhard [92f123c2e8223d7f8f8cc68a26e6a286a4a66f11] also add the inline files for gnumeric 2012-10-02 Markus Mohrhard [db799a1fd44c486b729a5128e1c4fa7e0e480104] CRLF to LF 2012-10-02 Markus Mohrhard [752e845580f55047f5dd24f5a81875942d5feaa3] adapt to changed shared orcus code 2012-10-02 Markus Mohrhard [1003dfd6f86a80ef3309858f90986e9b7172c10b] first step into gnumeric formula handling 2012-10-02 Markus Mohrhard [3c95ff05738c9f8ec5466ab86abda61898b38aae] tabs to spaces 2012-10-02 Markus Mohrhard [6f2308780758ad7f1ee3fd7d69a3a796e3fcde79] add gnumeric files to liborcus project file 2012-10-02 Markus Mohrhard [3880eadca31317703d4f6ca484402126ea85a5a7] add files for gnumeric parser 2012-10-02 Markus Mohrhard [47fd025a51a2ca4ed59e7042ad44057257e231ac] add orcus-gnumeric project 2012-10-02 Markus Mohrhard [22474f4179e4fe5c541210fb3e297be5b53cbf98] script for generating gnumeric tokens 2012-10-02 Kohei Yoshida [506ad567f28ce2c38abab2caeea1187c56c9a268] Converting LF-CR line endings to LF only. 2012-10-02 Kohei Yoshida [3a7adf427884d642ca395cffe6083643dbe26306] Converting tabs to spaces. 2012-10-02 Markus Mohrhard [1e8b5f9c165c1cfef130575232838831381d5631] add zLib as dependency to liborcus 2012-10-02 Markus Mohrhard [760d4b8ec009044b55da6637e0b39080d5abe135] add xml_context_base::get_parent_element 2012-10-02 Markus Mohrhard [3cf3951a9bc1907ae5bc1bca0691120f2fd1427e] add gnumeric schema file 2012-09-26 Kohei Yoshida [f0be9d81039bed37dfa1198742b0a6e44e2f6438] Merge branch 'xml-structure-detection' 2012-09-19 Kohei Yoshida [85c58d590598d10d12a1af95b4374406bdc564aa] Implement xml_structure_tree::walker correctly. This at least passes the very first unit test. 2012-09-18 Kohei Yoshida [fe25ad08bb441160fd96dd7ab22d5b4b25c53725] Implement walker::descend(). 2012-09-18 Kohei Yoshida [96b1256a06464feda9d83c1a6830b4e764231719] More on implementing the walker. 2012-09-18 Kohei Yoshida [45e11d9c00824a2eaa3caf0ccf898a4b60cc6c77] Let's use elem_name here. 2012-09-18 Kohei Yoshida [95a0ffde0f65a5533c3dcbef984386c2338796bf] Set the basic interfaces for tree walker. Most of its methods are still empty. 2012-09-11 Kohei Yoshida [294514ebe1b8a04399d989f285130f4d5dc73ff3] Let's hide these structures. 2012-09-11 Kohei Yoshida [adb32938cb24ab84055e5a43a89f261209453eb4] Another test case. 2012-09-11 Kohei Yoshida [bac1022db99c2f5458909b148bd5c3cfca73d61c] Test for parsing comment with a single hyphen. 2012-09-11 Kohei Yoshida [82a973ee31e71bd4b182f15ff82a950c58c1b18f] Fixed a bug in XML comment parsing in a presence of a hyphen in comment. 2012-09-11 Kohei Yoshida [9834c686e6c3ffa872777e66af4fa25d9c2dea3d] Fixed a bug in XML comment parsing in a presence of a hyphen in comment. 2012-09-11 Kohei Yoshida [c4a62b6231b193386826e3999ae0020cb678627b] Another basic test case for XML structure detection. 2012-09-11 Kohei Yoshida [c11f0f9fc170da96a3c51dcd6b4163c83c364363] Dedicated test file set for xml_structure_tree. 2012-09-11 Kohei Yoshida [fc86674a270775ef627c8b1f57da45e744a37458] Next version will be 0.3.0 due to incompatible API change. The API version will up from 0.2 to 0.4. 2012-09-11 Markus Mohrhard [ee6d56e26d49089c808e34ee2f41abc1e32f51b8] commit stlye methods should return index for later usage 2012-09-11 Kohei Yoshida [00af1ff5254f4a3ba814344d049057c41972b363] Removed the pre directory. 2012-09-11 Kohei Yoshida [41c49f04ece444dce9ce500dcaab253adac0c70d] Let's check in these inline files. Dynamically generating them causes issues with vcproj files as well as automake based build. These files are not re-generated too often, so it's probably better to just check them in. 2012-09-11 Kohei Yoshida [bd72b3d493562c90f0f07f298518906fc78b4be4] Set executable bit. 2012-09-11 Kohei Yoshida [9071e67571aec733af9f7cb5fcd5f2064c5c09c5] Let's use '[*]' to mark repeated base elements. 2012-09-11 Kohei Yoshida [152a65931a95d21ea6ff8350189f357c67cde351] Only set the repeat flag with the base element of repeated structures. 2012-09-11 Kohei Yoshida [c2c6e6e990b02292f61aa99bfa5848a56c4692de] Implement dump_compact() for xml_structure_tree. 2012-09-11 Kohei Yoshida [11f0f115c7ed81bb775f0a28086df848cf689612] Hide the root element definition. 2012-09-11 Kohei Yoshida [c83d153f4acbde79c4683c2272d5a4e8943bb076] Parse xml content and build a structure tree. Not tested yet. 2012-09-10 Kohei Yoshida [0e933d663b783ff241238b38f73c45ba4390ec7f] More work on xml element structure class. 2012-09-10 Kohei Yoshida [6bc730dae8bbe077f916a9ae538a9196a416299b] Use namespace ID's instead of raw namespace keys. But to get it to do the right thing will need a little more coding. 2012-09-10 Kohei Yoshida [47f3d33a88dde8ee2ebe0c1b50ca06a8c3fcc84d] Make this method available only for xmlns_context. 2012-09-10 Kohei Yoshida [601bf82650189ac8f2ab69485047d001b58d1c38] Basic test for XML namespace management code. 2012-09-10 Kohei Yoshida [7511bd0dc2daa6336c687bee341b647ab74cb625] Initial draft implementation of xml namespace management. 2012-09-10 Kohei Yoshida [a3fdb386fbf9234e173ca72df8dd42a70291af44] Started working on xml_structure_tree. This tree will be used to detect canonical structure of elements in an arbitrary XML content. In this tree, duplicate elements under the same parent are represented by a single element entry. 2012-09-10 Kohei Yoshida [941b8ff85f73be941f0dfa98aa9e7ec5bd0317fd] Class description. 2012-09-10 Kohei Yoshida [046b43542dd2f2656dbb8e1a0473cb8beeedbd8f] Fill package description. 2012-09-10 Kohei Yoshida [7cc9639eeb319bc24f2a850db1bfd75ed4ce9947] Revert "Revert "No need to create gen file."" This reverts commit df63dac42210d92a16c0c37bcdbf569a39d4f5f7. Even with the gen file, the script gets run on every re-build. No idea what's going on here. 2012-09-10 Kohei Yoshida [df63dac42210d92a16c0c37bcdbf569a39d4f5f7] Revert "No need to create gen file." This reverts commit 858c81477289966b535fe0fd17870abc4f674322. Without gen file, it causes re-compilation of non-modified source files. 2012-09-10 David Tardon [1b39351b33b49d833c90b5881c8a28c5d3f0ad37] fix mingw build 2012-09-10 Tomas Chvatal [64d46e779ea123853e2331f9497571458c2ce81c] Update the pc files and add also pc file for spreadsheet-model 2012-09-10 Tomas Chvatal [858c81477289966b535fe0fd17870abc4f674322] No need to create gen file. 2012-09-10 Tomas Chvatal [d2ddb9f7c7169694225e4c148ce387b45fe8576c] Add missing files to the make dist generated tarball 2012-09-10 Tomas Chvatal [fbf69b8393930784a1dc3393a1a26d564aaf3083] Fix out-of sourcedir build. 2012-09-10 Tomas Chvatal [f720329ca7efc4c4534540432f19a7f57caff1ba] Add missing license file. 2012-09-07 Kohei Yoshida [a9b7ac05b3d07ecd342fd91b1bd1ed7c60d42d84] Make --enable/disable-debug to actually work. Previously, debug symbols were enabled regardless. 2012-09-07 Kohei Yoshida [6541759abea6b8d1f233932a3812f5cd085a13de] Update the slickedit project file. 2012-09-07 Kohei Yoshida [13b6fc647dd775c46f8fa478c8b8be12876040d9] Rename orcus-format-xml to orcus-xml-dump. Let's have all xml-related programs begin with orcus-xml- for consistency. 2012-09-07 Kohei Yoshida [f8056cbbea31319672af12609b5dc2942b0f0bd5] Typo. 2012-09-07 Kohei Yoshida [c7765c62679d70d8ef71a9f49180c151e75de032] Removed unnecessary linkages to libixion and libzip. 2012-09-07 Kohei Yoshida [0a2bc46d2d164fd82cca421f4df329086583fcc6] Hide the implementation of class sheet too. 2012-09-07 Kohei Yoshida [b10646e5a5da9f171919d7c55d93c76b53fca331] Hide more implementation details. 2012-09-07 Kohei Yoshida [1e5768ba7b2490c9db78cf23cda9affada8a1692] Only friends of document should access these. 2012-09-07 Kohei Yoshida [cf1bcaf6ef9454f08462c577e4a973fcf555c12f] Move ixion headers out of here. 2012-09-07 Kohei Yoshida [f0b3fbbe065f230d4c858103d67484c734ed3ba6] Unused methods. 2012-09-07 Kohei Yoshida [5b4ebe81494962b32c737f2360d6a2e9f95d4f98] Is this how to disable boost's autolink? 2012-09-07 Kohei Yoshida [88139456a50bf82cd163078b47b4423ce26014aa] Misc build fix due to the API version change in ixion. 2012-09-07 Stephan Bergmann [0101150e04f7e8dde9a32d40085b506ad1f09bd9] Fix various compiler warnings. 2012-09-07 Kohei Yoshida [a5d1ad87f27d5167fe496c3124cd3dcd26347138] Run make dist when creating a package. 2012-09-06 Kohei Yoshida [ab284e1ef09b3c939f8066ee4980aa92ae6596c7] Revert "Modified package script. I don't think we need to pack m4 files." This reverts commit 8a86c221a8db1392f4526d5dd1ee604950df0a0f. Actually we do need those m4 files. 2012-09-06 Kohei Yoshida [8a86c221a8db1392f4526d5dd1ee604950df0a0f] Modified package script. I don't think we need to pack m4 files. 2012-09-06 Kohei Yoshida [5ce8e8cb1e8ad435fcd6cea2db37adfbc7b753de] Stop parsing when the root element is closed. 2012-09-06 Kohei Yoshida [e65bd8af9b102d02a916376cb65500e4aae9ae5a] Underscore (_) is also a valid character in xml names. 2012-09-06 Kohei Yoshida [a8cb2e0db01d14cc55a7b76e8abe718a77c93c98] Meaningless duplicates. Removed. 2012-09-06 Kohei Yoshida [936177a96666ac528e622852efa1c9d69efed1bc] Filled NEWS and README. 2012-09-06 Kohei Yoshida [80326cce838599c1cfe93a4f9d8dcb138e317de5] List of authors (from git log). 2012-09-06 Kohei Yoshida [6747b0fd7952e1cc9035e9f884be4d2e83e82f8b] Disable assignments too on non-copyable classes. 2012-09-06 Kohei Yoshida [76018dbc96a04e431afed79fdef905d596ae4e5f] liborcus-static-nozip project uses DefaultConfig for boost location. 2012-09-06 Kohei Yoshida [3839c76cfbe508018e6cb588c4850eae7132485b] Split BOOST_DIR into BOOST_INCLUDE_DIR and BOOST_LIB_DIR. LibreOffice build needs this in order to have orcus build internally. Also fix the build with MSVC. 2012-09-06 Kohei Yoshida [6772f28499153467b45aa3559a48ec9257bea2d1] Pass sax_token_parser_element struct to handler. To future-proof the API. I may extend this later to support passing of non-tokenized elements. 2012-09-06 Kohei Yoshida [004fcf17433e6ea4c2b72c7f6b0839b798555b15] Deleted obsolete files. 2012-09-06 Kohei Yoshida [f6c895afa6b13780cbec5909d54da3e0d6ef62a0] Fix the script for a case where no argument is given. 2012-09-05 Markus Mohrhard [2afd3ac7c1827db080701f49874e159ae1b767c7] all paths can be set through user macros now 2012-09-05 Kohei Yoshida [3ae449992984de3c1f24bcc7ba8b3a0f0dbe54a5] Move them into ods directory. 2012-09-05 Kohei Yoshida [a35d85028a6d31139f8bb1f2fa35551c3789e43d] Isolate large test files and don't package them. 2012-09-05 Kohei Yoshida [d147c8db43dc64263f454260c8b5dd7bd61f5313] --enable-libzip is now --with-libzip. Make that option work. 2012-09-05 Kohei Yoshida [f6323faf70fbc5e05c8c8990fc954b3bcd9b9ffe] Forgot to change this. 2012-09-05 Markus Mohrhard [ed41dbdf59aa353ffe111424b1fba756f38502e6] all new project files can share the additional libs settings 2012-09-04 Markus Mohrhard [7b93e34a7b06aeb99d5fbfd36d3f0e6e9115c101] use shared property files in new project files 2012-09-04 Kohei Yoshida [25a44baed0da9e90cf9d5aa8c05002a530e5bfb4] No debug info in Release config. 2012-09-04 Kohei Yoshida [d2807cfc4cbd6f4901b03a01e7dcb8b76eda0cf1] Add missing vs project files. 2012-09-04 Kohei Yoshida [797b74418c600115e89ca4171c337db2ccadec82] Don't ignore these. 2012-09-04 Markus Mohrhard [b79758b35e7941f54a4b764084bd0c7b1b3206ab] extract boost dir and make it a user macro is vs project files 2012-09-04 Kohei Yoshida [e822334e7cb8453d903348ab72218f8a0b1ad919] Fixed mdds configure check test. 2012-09-04 Kohei Yoshida [a9ccf90cf5acdcbad012219ef2e40fb6135fee50] autogen.sh should automatically run configure at the end. 2012-09-04 Tomas Chvatal [9a1c4bd842f4a036792f0f78be1366825eeb740c] Fix default cflags line. Copy/pasto. 2012-09-04 Tomas Chvatal [a012ef59cd698e013bb2d7b4149f3cb31c4226e9] Update Makefile stuff to include libs and headers where needed properly. 2012-09-04 Tomas Chvatal [d05a89b17bceb46627e3657f6453a7bba9f5212b] Update configure.ac to be up par with libvisio/etc libraries. 2012-09-04 Tomas Chvatal [d31db139d3c1cb4f6fcdf3899dd00c123c5e2d66] Update gitignore. 2012-09-04 Tomas Chvatal [2699272c0d8ec8cbae85ecf777a48315d876fa0a] Update autogen.sh script. 2012-09-04 Tomas Chvatal [94c499d9e9302662827b198fa961d746a5a5114e] Simplify the changelog creation 2012-09-04 Kohei Yoshida [017f3c303d4f9716550277fc793e0355d12e3d73] Remove orcus-csv-static project. It doesn't even build. 2012-09-04 Markus Mohrhard [6c1ce741439fd9ba1e090c18989200483dd81789] extract common inclued paths into own property files 2012-09-03 Markus Mohrhard [aa9ba8d71d561d526e3db8541950d7c12c1079e6] more absolute path to relative path in vs project files 2012-09-02 Kohei Yoshida [8d41d4a2d4e8a3befa3c947521981bfeda5b9f67] Avoid potentially passing NULL pointer to std::string even when len = 0. Apparently std::string doesn't like that. 2012-09-02 Kohei Yoshida [a22d099361b2b1caa213334e6f4fa6d1d7158eeb] More Visutal Studio bits. 2012-09-02 Markus Mohrhard [438324a17d9e88df8f2581f6604775e8db543409] use relative path where possible in vs project file 2012-09-01 Kohei Yoshida [a0c97c22b3fc040e15ae5b21afd5b1938c172ba3] Building and linking a static library shouldn't use declspec at all. 2012-08-31 Kohei Yoshida [9b33aa3551f0887dfb7ecca5915f2688c1675303] More programs to check in configure. 2012-08-31 Kohei Yoshida [1f0600a01f0fa9f60344d76727e1a1c96137c399] Set the output library to orcus.lib. 2012-08-31 Kohei Yoshida [e5030bfaf71c8af1a3f8925e2aef60b7636da908] More fix in vs project files. 2012-08-31 Kohei Yoshida [f30da77e72ca0a8509cdbc2c28becc1848b68637] More VS project bits. 2012-08-31 Kohei Yoshida [74f15d570ae5c502825775f6503d45d047650ee7] New VS project, to build liborcus without libzip support. 2012-08-31 Kohei Yoshida [7ec27dda2ed31bc45751caeb935768080b2774e9] No manual -fPIC flag. We can use --with-pic configure option. 2012-08-31 Kohei Yoshida [c2668c38d7743d12ecf16c571f9a61334463e5de] Improved package script a bit. 2012-08-31 Kohei Yoshida [06e17c019073188f57ab1ace897ca32cc7eb10e9] Don't forget -fPIC when compiling shared objects. 2012-08-31 Kohei Yoshida [32ec4e26f2e3becb5c1a6b80e25c73b8b8b90296] This is wrong. 2012-08-31 Kohei Yoshida [b41d98e0bed8a3fe7aec7f880f997ebdfa4f229f] Cleaned up configure a bit, esp around CXXFLAGS and CPPFLAGS. 2012-08-30 Kohei Yoshida [0921e4431f073c4bff6a437d13735a4696ba057c] Package script now optionally supports adding md5sum to its name. 2012-08-30 Kohei Yoshida [2cb3b3d14b97b00d57de83f6fa54bf773f84dff8] Move this up a bit. 2012-08-30 Kohei Yoshida [0a52fcd088e4ce07bca7a23cd1df292e37f6ca1a] Don't deliver headers for ods and xlsx when libzip is disabled. 2012-08-30 Kohei Yoshida [89107141de61fb3e5a7005d872255259680ad344] More vsprojects bits... 2012-08-30 Kohei Yoshida [f0412fa219d32d94910a411d33bdd827ca3a8ef7] Add orcus-csv orcus-xml and orcus-xlsx as projects. 2012-08-30 Kohei Yoshida [855de63e551b307cde365129edd2a8a62fab2217] Add two more projects, and get orcus-ods.exe to build. And it works! 2012-08-29 Kohei Yoshida [ef95538eea5c2e6a44bc10078a439293590c38fa] Make it buildable in Release configuration too. 2012-08-29 Kohei Yoshida [5c41e35b5248b1056ed6e022487725b541c47efa] Visual Studio solution file for orcus. 2012-08-29 Kohei Yoshida [15c8e88365f6a1debd82fcf8d67d097124a4c7be] Misc Windows build bits, to fix errors and warnings. 2012-08-29 Kohei Yoshida [b6bbbd54f79e2c68c0dea501190a05d52a13bf5e] Shell script to manually run token generators. This is useful on Windows where we can't run pre-build scripts as part of the build process. 2012-08-29 Kohei Yoshida [58d7e40bcbfc5cb566640e8f82287d960544c6dd] Add --disable-libzip as a configure option. Disabling libzip will disable all zip-archive based formats, such as ods and xlsx. 2012-08-29 Kohei Yoshida [50279f4e571d92222185cc32d60397d5d2ba65e5] Common and XML tests don't depend on the spreadsheet model. 2012-08-29 Kohei Yoshida [9751f80eb1405b478ee42b51587e118c66d73e6c] Move orcus-format-xml out of BUILD_SPREADSHEET_MODEL. orcus-format-xml doesn't require the spreadsheet model part to function. 2012-08-29 Kohei Yoshida [938fe4d25003f76773aae54324448c11d63a9bca] Rename --disable-spreadsheet to --disable-spreadsheet-model. In the future we will use --disable-spreadsheet to disable the spreadsheet-related parts of liborcus. The spreadsheet model implementation lives in a separate shared library (liborcus-spreadsheet-model). 2012-08-29 Fridrich Štrba [26fd490abe60d664b905642eb572583b015418fc] Define __ORCUS_BUILDING_DLL when buildig the DLL 2012-08-29 Fridrich Štrba [961525e9dd95fb60f235ffa50d4606dda0f5d896] Don't fail configure when cross-compiling 2012-08-28 Kohei Yoshida [5c3ab9d38165d38a803ece14a5841d8ce0491248] Add or fix inline comments. 2012-08-28 Kohei Yoshida [226954a5a11a8bc6d6274a6de8cf954ed9a59f3a] A little cleanup. 2012-08-28 Kohei Yoshida [7b43f928aa7cbeff66638277ea6228b0bdd083b7] Get the cell values from the document, and repeat the loop for each record. Now we can finally export a series of rows to XML. 2012-08-28 Kohei Yoshida [fd382527482c3a0e2fb2e2766e0f7cb09e5ba654] Write a sub-structure comprising the range reference from the xml map tree. Now I need to repeat this for the number of records. 2012-08-28 Kohei Yoshida [18a8596e60d7f84f033e1058e8059ef07d9ff91a] Rename m_root to mp_root since it's a pointer. 2012-08-28 Kohei Yoshida [1778b3e964289662305309e31691c11d8409c5ed] Get range data from the sheet. 1st cut. 2012-08-27 Kohei Yoshida [b9410c9742ac8cd90fb4fc2cf1430f23affd963d] Check for export_factory instance just in case... 2012-08-27 Kohei Yoshida [58a07d1a1544da7873ac97c5e2bbbf16311ab40c] Get single cell link values from the document model. String and numeric values only for now. 2012-08-27 Kohei Yoshida [64836b0c30866f4a7fb9e5972c55c13c1d52c819] Rename import_factory.* back to factory.*. 2012-08-27 Kohei Yoshida [a0fbc2367f757d18ecc52111dbbde57305600ec7] Removing unused code. 2012-08-27 Kohei Yoshida [3bacddde598126961f1d66d95a78fc0ed024f10a] Prefix all import interface implementations with import_. 2012-08-27 Kohei Yoshida [f998ae0e81851a67ac000853b3b75fefa0e43002] Rename header guards too. 2012-08-27 Kohei Yoshida [65d9fe4b00887268150eb7dbbcf07c751b0c2502] Rename interface.hpp to import_interface.hpp. 2012-08-27 Kohei Yoshida [d24eb53dc0d487f45cd88cf47f6678c67b0c148c] Rename factory to import_factory, to make room for export_factory. 2012-08-27 Kohei Yoshida [5300fafdc56322a2cad537dabe21053e04983374] Remaining model_ to spreadsheet_ name change. 2012-08-27 Kohei Yoshida [0ff85e3ca3231d9e24f343b0e9076c92a5f6f0dd] Preparing for replacing the linked content. But first, I need to work on expanding the interface for export. 2012-08-27 Kohei Yoshida [60e897d41924733af29a0696492cf383bf4039bc] Fix this wrapper script. 2012-08-27 Kohei Yoshida [1bfc23ca878fa160c7cf8cc23c9d6ddf681d2cd8] Re-construct the XML file using stream position data. Next step is to replace the linked segments with content from the document model. 2012-08-27 Kohei Yoshida [d47a070605ff0e733d7becb052227186a4efd4c7] Let's use field links of different depths just to test the logic in my code. 2012-08-27 Kohei Yoshida [b705143a63e9e754e4516143e71d37cced91c309] Use the element one level up as the parent element of a range. Its immediate child element (it should only have one child element) is to be used to group each record entry. 2012-08-27 Kohei Yoshida [5b11b8746d712aab53172a924ae88a5a18f44210] Pick up the stream positions of range refenreces too. But this one has a bug. I need to re-think the logic again. 2012-08-27 Kohei Yoshida [bddb0894a525422974d44da437e95542d8281287] Rename ref to pos. 2012-08-27 Kohei Yoshida [df7d5d98aa39b2695092b8e067c62caaf461d7df] range_ref to ref. Short and sweet. 2012-08-27 Kohei Yoshida [73de9ee2988cb014306fd174b91fc778baa2ec46] Let's store the cell position just once in range_reference. Instead of duplicating it in each field_in_range. This saves memory. 2012-08-27 Kohei Yoshida [bf0c16d243efd10da937e4d18b2344b5f4fbb0eb] Determine the parent element of each range reference. Parent element of a range reference is the deepest element that is common among all the field link elements in that range reference. 2012-08-27 Kohei Yoshida [13f8608d342ce887d97e0e356edd56efcb72fb6e] get_element() to get_element_stack(). I need a full stack for range links in order to determine the common parent element for all range field links. 2012-08-27 Kohei Yoshida [720e7a3119f9e87ea824b0d069816749c6d003d7] Re-organized typedef's and class description. 2012-08-25 Kohei Yoshida [8d45c1b4b71a23695ecaef4730200b2f7b1ab59e] Same logic, slightly simpler. 2012-08-25 Kohei Yoshida [03e070e4cfafb7715b7c8902af3b1f9bd927840c] Record positions of single linked elements. This information will be used during export, to replace them with new data from the linked cells in the document. 2012-08-25 Kohei Yoshida [4d24ddc48c2e134b30ebfef34f64f41f516c44d9] Back to xml. More on writing out transformed xml stream. 2012-08-24 Kohei Yoshida [d9c7277b631077081b57f1a0fda5d54858cf13c3] Let's call this open_zip_stream. This pairs better with close_zip_stream. 2012-08-24 Kohei Yoshida [2c802e70414bec3e33f06c9d2f1dbb77176c59dd] Some javadoc comments. 2012-08-24 Kohei Yoshida [6a410f7251d5f0045bcf9707f578a426c7bfa343] A little cleanup. 2012-08-24 Kohei Yoshida [397858f23a10862a42004a7b6d43fec15f0be6b9] Move opc_reader header file under ooxml. 2012-08-24 Kohei Yoshida [e31b0d12fca904470e3a70c1501395248874b444] I need to fix it here too. 2012-08-24 Kohei Yoshida [68d719fa23fb1e7587262bb344106f1daf1a61cf] Have orcus_xlsx use opc_reader. 2012-08-24 Kohei Yoshida [c32ba3d2473facb0968fb5648b853f21277c5112] Oops this is a bad style. 2012-08-24 Kohei Yoshida [6d78ed6cf6cd56321cd6f294e219f9d31cdff672] Add opc_reader class which takes care of parsing the opc structure. This class is not yet used. 2012-08-24 Kohei Yoshida [0240264c3afeee0476749904e3589104d1dca657] More on renaming model -> spreadsheet. 2012-08-24 Kohei Yoshida [1d0ec7bfe5cebfbfacadd9fb69c6e197d53163b5] Rename header guard names appropriately. 2012-08-24 Kohei Yoshida [0dd61aee8c4d11cc8a4fff2fad62d83598cd5553] Rename directory model -> spreadsheet. 2012-08-24 Kohei Yoshida [7aa4abc991c2d6683f094bf4fbe7f7217813e920] Rename namespce 'model' to 'spreadsheet'. 2012-08-24 Kohei Yoshida [755736b5ac18dd6fdb1a311b13620f9585238036] Fix orcus-xlsx.sh and orcus-ods.sh scripts. 2012-08-24 Kohei Yoshida [0844bce541ae99de051100a76d58f72b81d067c4] Store the open close element positions for single-linked elements. For single-linked elements, storing the positions of their immediate parent element pair is sufficient. 2012-08-24 Kohei Yoshida [0def57a8dd92a621acb1cc7c2a4c5188d479ed2d] cell_reference to store cell_position as its member. 2012-08-24 Kohei Yoshida [bb9c7e429197fbb7bc39a91979d0b2e68df14a8a] Rename cell_reference to cell_position. 2012-08-23 Kohei Yoshida [23fe265cb87f2b0529720b7b38f8fe641ccca3cd] Store begin and end positions of each element and pass them to handler. 2012-08-23 Kohei Yoshida [7be1e2c3605d369948a906d08c4360469b0d0d8c] Pass element properties in a struct instead of individually. This makes it easier to later add more properties if I so decide. 2012-08-23 Kohei Yoshida [0b843a4827ebe4604220ce86196000bfec41f408] Started working on writing transformed xml content. 2012-08-22 Kohei Yoshida [078621c0242a774be45487da6fcc6824369a2d63] Rename row_offset to row_size. I can re-use this during export to figure out the vertical size of each range reference. 2012-08-22 Kohei Yoshida [6db706a12aa8adf7df27cbe00f6f92c159faefd9] Dump document content after load, and cross-check it against known datum. 2012-08-21 Kohei Yoshida [57ea7a99d7ed7584fa0de3251646717b12991e0f] Get the test code for mapped xml to parse the map and data xml files. 2012-08-21 Kohei Yoshida [f88bd1d5dd2f8d1a8fb20f0ee85ad12d5aec074a] Added empty unit test framework for mapped XML import. 2012-08-21 Kohei Yoshida [496b7f12c415f14bff32992c054bf9afbfc293fe] When calling set_auto(), try to detect numeric value strings. 2012-08-21 Kohei Yoshida [9745212b21f062e619af9d771aa345553877b2ba] Add dump_check() method to dump content for use in unit test. 2012-08-20 Kohei Yoshida [138f0f80477c4e76420b263248a1bacddd6f0115] Fixed memory leak. 2012-08-20 Kohei Yoshida [247db5ba59c6e3feb28da577bb23988c722460f5] Finally, parse and insert linked range data. 2012-08-20 Kohei Yoshida [8815e26185af0e1a935b4241846ccc19d267ba26] Insert range header names before parsing the data xml. 2012-08-20 Kohei Yoshida [28ce2aa01be472e12566d85a9119203eb8f39fee] Let's make the column position implicit. This makes it easier to handle range field references. 2012-08-20 Kohei Yoshida [2eaca4b2df431c48ba75dc20c384016ab9b1819e] A little bit of this and that. 2012-08-20 Kohei Yoshida [dcbbee3f6d1e1bf586fdbdc7cb561b51fef36505] Make sure to intern sheet name strings. 2012-08-20 Kohei Yoshida [ea7a70ac856deae31cd6cc47328efcbb832405a7] Import just the single cell links. Sheet names are corrupted. I need to debug that. 2012-08-20 Kohei Yoshida [778015bbdb937c8ab52209065a6bbf5c518d5ea8] Also test the descending direction. 2012-08-20 Kohei Yoshida [c4a3cb78a475f99a6e4809454ae57f754553a04b] Unit test, and found the bug. Yay! 2012-08-20 Kohei Yoshida [9e5527b349531f88d532a72220b461248f3ea3a6] Try to detect content elements, but it's not working. I need to debug. 2012-08-20 Kohei Yoshida [b95738feb694413c7c15e3daa4fdc446869a0e8f] Fully implement xml tree walker. 2012-08-20 Kohei Yoshida [0d0c65c0d6c3be1f577cab596fdfa2e375f61748] Tree walker to traverse the xml map tree structure. Also, for now I ignore namespaces, but in the future I need to write a separate xml namespace manager to correctly handle namespaces in xpath. 2012-08-17 Kohei Yoshida [cc8a2f70d726496283da91e0cb386ba8383e3ced] Move the xml-map parsing code outside of orcus_xml. 2012-08-17 Kohei Yoshida [0deac50efe04421b44613a79dd49af4cb7edffd6] Map file needs to explicitly specify sheet names to insert. 2012-08-17 Kohei Yoshida [a2362698a636d1af231cc1038f94b4af142eec9e] Remove debug statements. 2012-08-17 Kohei Yoshida [2068d6ab63b6dba6eea02ded6e2537296a6b49db] Test for range field link insertion. 2012-08-17 Kohei Yoshida [69f4e5db70dcf945110c9ebe33146e8ff75ba6be] Test multiple link insertions. 2012-08-17 Kohei Yoshida [ee66fcc79cc7c1921cbf18e741a4195604065a83] Rewrite get_element() to use xpath_parser for simplification. 2012-08-17 Kohei Yoshida [cd23097b35608f95fb89672c58f683d6ddecb462] Really fixed the scripts. The test executables must be run in their respective working directory. 2012-08-17 Kohei Yoshida [0a1fbe69a697df1fa375ee83c451b53f14cac5c8] Fixed the script. 2012-08-17 Kohei Yoshida [18b4eb776e8978d827ba3be634b53ec260496c6c] Test for link insertion. 2012-08-17 Kohei Yoshida [eb3806569638d6cc6cf45d38c614b072e7ce89b2] Add construct to unit-test xml_map_tree. 2012-08-17 Kohei Yoshida [631e4b30ff2f0d407ef1673e7cc9fad7d9440127] I need to intern name strings, since they must survive after the parsing. 2012-08-17 Kohei Yoshida [afdbf8a5981fc0d611abf347a846b9a01863b25a] Finished parsing and constructing the xpath tree. 2012-08-16 Kohei Yoshida [c841d574cfdc1826e69a02db451e19cefb44dabf] Get the root element when one doesn't exist yet. 2012-08-16 Kohei Yoshida [ffeaa409dd5555f8535981f6471e3c090cac82d8] Parse xpath and split it into names separated by '/'s. 2012-08-16 Kohei Yoshida [b9bf3ab6ca17c21a1783e8bb820885e028829af5] element's constructor... 2012-08-16 Kohei Yoshida [3381d05c4150cd7bb1b5c52c9fff9232627a059a] A bit more work. 2012-08-16 Kohei Yoshida [2eb675c785e21698b76c9c88e787b05008e60f60] Moved internal-only headers out of public include directory. 2012-08-16 Kohei Yoshida [0fe725a3b2088626cb843fff989e35fab28eea53] Route the map link calls to xml_map_tree. 2012-08-16 Kohei Yoshida [436a9ca1ad6c6a9fcc6a45b70290e5a08e840b39] Added string_pool and xml_map_tree. string_pool is the interned string storage part of pstring becoming independent on its own. 2012-08-16 Kohei Yoshida [2a78afb59f31dc34d6bd673c7d5fe22c9d4bb370] Share common bits among launch scripts. 2012-08-14 Kohei Yoshida [0111bec4b7c412c7a76b5904f71ae2a6c9378cd2] Parse the map xml file and register the links. The filter side is still empty. I'll work on that. 2012-08-13 Kohei Yoshida [43f70e5369fb9644653caa9e01c43b887124139a] Running make check in a prestine state should also run the pre scripts. Previously, make check -j would fail unless you've already run make prior to it. This should fix it. 2012-08-13 Kohei Yoshida [845cf29ae40bd009ee73d3a19c8874cd86d89427] A little more progress. Still a bunch of skeletons without meat. 2012-08-13 Kohei Yoshida [b358f37110d413addda5f650231ce0bcdf216ce5] Added data xml and its map file (also xml) to use for xml import. 2012-08-10 Kohei Yoshida [c76224b6578c400813a20bff621e7924738e72bd] Skeleton files for orcus-xml. 2012-08-10 Kohei Yoshida [97cda21b1492b3a5b4361cf10f77e7c930cfac80] Generalize sax parser testing. Now I can specify multiple files to test at will. 2012-08-10 Kohei Yoshida [36b80887c2fa28c884e70f6d7653776af343c96d] Added --disable-debug, which defines NDEBUG during the build. 2012-08-10 Kohei Yoshida [14d059bddf293c3f7ef90cda36ce0f4fc3dda98b] Cross-check the xml content against known static content. 2012-08-10 Kohei Yoshida [1ddfa92caea271ab5e6e00061ba58d7288662d08] Clean up. 2012-08-10 Kohei Yoshida [6be1847b24113a3094eadc6746812894270ee458] -O2 seems faster than -Os overall. 2012-08-10 Kohei Yoshida [d66cfd769f7f8f2dfeb33bfc7ae2816dc38d793d] New command line tool orcus-format-xml. 2012-08-10 Kohei Yoshida [dfdbec4ed935db5022347d6d0ea666c50835832a] Add more patterns. 2012-08-10 Kohei Yoshida [a9b3be192d566f8456e9182aa7bb60153a4d8c97] Add test for pstring::trim(). 2012-08-10 Kohei Yoshida [ad52531d608ae03ab7ce90ad2e2757f9c7622216] Wrapper script for xml testing. 2012-08-10 Kohei Yoshida [7789ffdbd4337d5ac1e071e00bb553e8992c3faf] Test file for shared stuff. 2012-08-10 Kohei Yoshida [ec3e43c3e61b9b1f41fd1acabf993f5bc8bd1350] Rename orcus-*-test to orcus-test-*. 2012-08-10 Kohei Yoshida [55cbda7d6bcbe3aa735a348f9c6d6995e6376f95] Print the attributes too. Now the dump method is complete. 2012-08-10 Kohei Yoshida [ed7183f462ec9b3dd26679b531ca50950f8ad84b] Cleaner way to print node contents. 2012-08-10 Kohei Yoshida [180f28d032bb69818ee37646fa4927aeeea2aba3] A little cleanup etc. 2012-08-10 Kohei Yoshida [0ddf39c60df3e1d8a6eba6dc79f722fd93cb527c] Print content values in the correct position. 2012-08-10 Kohei Yoshida [36c0f8b69d0b1f73555a6b80d227dc1cc2ccfb0c] Fixed pstring::trim() method and correctly push trimmed content. 2012-08-10 Kohei Yoshida [070d54a9abc09a206b3988e864e0747272d2e54c] Dump the tree content. Elements only for now. 2012-08-10 Kohei Yoshida [82c5206469dc184b24d868d3f82fa9139ed401a7] Trim content string before storing it. 2012-08-10 Kohei Yoshida [f4e76b976b956f2bf89760a0eb3fb741b8a372e2] Added dom tree structure. 2012-08-09 Kohei Yoshida [03e89f6f4ab855b7aead146df51290e487d226f7] We don't need this now. 2012-08-09 Kohei Yoshida [60c2237ba47214e5082bb0beaef9b9fee9a1380f] Rename sax.hpp -> sax_token_parser.hpp 2012-08-09 Kohei Yoshida [a60055a5494353d5d7c9c15d8e7a099b0c053c49] Class description. 2012-08-09 Kohei Yoshida [5def92d11c917e68262ef8bff4ec0de6d3178cd5] Have sax_token_parser use sax_parser internally. This finally removes the duplicated parser code. 2012-08-09 Kohei Yoshida [b9c706b79b9c340743d72f13ea4353d11541ff1c] Parse xml comments. 2012-08-08 Kohei Yoshida [576ac1b5f7f9bc147c807be7bbab6fc31be3a14c] XML comment currently fails. 2012-08-08 Kohei Yoshida [98fb33549c68eb2ffc37a3f1c0e8962c2921eb94] Correct name is xmlns. 2012-08-08 Kohei Yoshida [513e958702e9ef21532a705a3779aae0a67a8863] Add test xml document to start parsing. 2012-08-08 Kohei Yoshida [9239f2114687e5bfac011af3d41acbbf27ceac5f] Started working on a generic sax xml parser. This is necessary when you don't know the token names beforehand. 2012-08-08 Kohei Yoshida [689d3a8c24005745d8bdd94fd8defec988df4d7b] Rename sax_parser to sax_token_parser. 2012-08-08 Kohei Yoshida [b6ed0b79a7154741694b27dfededd5eabfbc1f50] Remove the libxml related pieces. 2012-08-01 Kohei Yoshida [033df4a7c1a2ce97ca58113f22cf6b10c893c31d] Updated copyright years. 2012-08-01 Kohei Yoshida [f2332196ae741ce54f9cff2fe242beb5b9c50b78] Move exception classes into own files. 2012-07-31 Kohei Yoshida [7827df650d34b1e80f5fa26309f2c814ffb1ef33] Update copyright years. 2012-07-31 Kohei Yoshida [5a61f56b180f0de3c47da48442600340922a343e] Non-inline the destructors of the base interface classes. 2012-07-31 Kohei Yoshida [c46bfba770c82fe54f9bcaebfb92561f1443a9dc] Have the client code manage the life cycle of factory. 2012-07-31 Kohei Yoshida [3624ba6f8f9882cea75ebbff97583d22c57741ac] Forgot to add this header file. 2012-07-31 Kohei Yoshida [b7101fec89097e82a6114dd3efd4b2645e7fdbc0] Add script file for creating a source package. 2012-07-31 Kohei Yoshida [b6f7fb28372eecec45de7c398ce6db362ef9d160] Put the pre-build scripts in own subdirectory. Parallel build seems to run more reliably with this scheme. 2012-07-31 Kohei Yoshida [f72f412b0aba74ac41c95bd9918835a48c299b9e] Add a VERSION file, which will be used by a package script. 2012-07-31 Kohei Yoshida [426ea0ebc40f327f2d8e0bfdb015b4cd9d6e48aa] Limit symbol visibility of shared objects. 2012-07-31 Kohei Yoshida [b0fb169cee60b23bdfa4355725f299c087a08bf5] A bit more re-organization. 2012-07-31 Kohei Yoshida [b2fefd067cbfc054144edb1dc65dc2ad5958f935] Unindent test code. 2012-07-31 Kohei Yoshida [909654a29e8e85b3e00ae4884425675502f61cd1] Add --enable-symbols configure option. 2012-07-31 Kohei Yoshida [b4574d1e43afc4248a6120ecf55799c2ee969723] Config option for whether to build the model implementation. When this is disabled, orcus won't have link dependency on ixion. 2012-07-30 Kohei Yoshida [3e0dc6b730f74bb73c7e98bf341ef9632b0b2ec4] Split the ixion and libzip dependencies. 2012-07-30 Kohei Yoshida [c3c4c955f75707f02cdafb53182d75a381907f7f] Removed dependency on C++11. I think we are a bit too early on requiring C++11. 2012-07-30 Kohei Yoshida [04af44bf2866ce440b8caf73690638e7f863728b] Renamed global.hpp -> types.hpp 2012-07-30 Kohei Yoshida [2253a734f7963d1aa51f5e3791dc5232c8ce5f53] Remove global dependency on ixion. 2012-07-30 Kohei Yoshida [c2a6d5c626b401fd15259fbb8bcf8de47b962d7c] Separated the orcus document model implementation from liborcus. 2012-07-23 Kohei Yoshida [b0eea99a178f09d9b998ef2f9d187c09adf52faf] Add skeleton for csv file load testing framework. 2012-07-23 Markus Mohrhard [018b079252a9b290eaa7a5ce85d9517ec6e884a9] Don't trim whitespaces in csv parser if not requested. Signed-off-by: Kohei Yoshida 2012-05-22 Kohei Yoshida [8b300d7e6ed77832df4f60139d984326a2f16980] Disabled debug statement. 2012-05-14 Kohei Yoshida [ea8c4157cf6bd089522e3fc393a400aa3a9074d7] Append sheet container to ixion::model_context at start of each sheet. 2012-05-13 Kohei Yoshida [d30398fb842c908e31e83b8d69db347e0051ff80] Use ixion::model_context for shared formula token storage. 2012-05-13 Kohei Yoshida [b1f4b0cf972889d10cad6ad697b82fafdebef392] Regular formula tokens are now stored in ixion::model_context. 2012-05-12 Kohei Yoshida [729268e3d8cbbad7fe23cf2c0081b0b3e0adcdce] I don't need this file either. 2012-05-12 Kohei Yoshida [fd4b39c7a6602914f3e224458f2c1e1c26e4c6be] Shell script wrappers for orcus-*. Useful during development. 2012-05-12 Kohei Yoshida [1053af7c54a2f8e6322ea6ec04bbba4ff97e5587] Build without libxml-devel installed. 2012-05-12 Kohei Yoshida [8469682e7d8ac878370363b926f937c818cc9c60] Disable these once again. 2012-05-12 Kohei Yoshida [3f16368dd483eee72416beafb244180585129ea1] Store shared strings to ixion::model_context. 2012-05-12 Kohei Yoshida [ab05976286b57291a32c5c3cc81691f791bdb7d9] Re-implemented sheet::dump_html(). 2012-05-12 Kohei Yoshida [5517eec9ed4ddda6a4df22d1f07ebe5d63a18942] Removed unused methods. 2012-05-12 Kohei Yoshida [e3fa82276c794d79eb308b32e81ae1d7291cf5de] I don't need formula_context here any more. I use ixion::model_context implementation directly. 2012-05-12 Kohei Yoshida [4676e9d105f3474e491b300083a3fd41d5bee587] Dump the formula cells too. 2012-05-12 Kohei Yoshida [a69e397ee5b802225f9d15c393c71e20ab9fb398] Dump sheet content, except for the formula cells. 2012-05-12 Kohei Yoshida [7f6a8e7c0412f30a8bc75760fbf6c4ac6cf7a829] Slowly working toward re-implementing sheet::dump(). 2012-05-12 Kohei Yoshida [73c8da0c5ddec2a3118458f8eb08c17da67bf517] Managed to get it to compile. 2012-05-12 Kohei Yoshida [cefc74d6eb566b379a17d209f72eeab6ff302ba5] Started cleaning up the old ixion constructs. 2012-05-12 Kohei Yoshida [f317250751802228694375e745b2dd4cffd7cbde] I don't need these slickedit project files. All slickedit project files are now under the slickedit directory. 2012-04-16 Eike Rathke [953d65d4df1f15404b65793aded0417fb1ca4045] fix orcus to not fiddle with literal strings 2012-04-16 Kohei Yoshida [ebf6cfe21625117944eebcfb89e2320ad6c3e938] csv parser: by default, we shouldn't trim cell values. 2012-04-04 Kohei Yoshida [310cad3e3568ddf5e57c331f381349fa709bed5b] Check mdds header usability & in some environments lib64 is used. 2012-04-04 Kohei Yoshida [73d5fdee9d4fa1d1f76ab47f97277bec7bf8b0f1] Moved slickedit workspace files. 2012-04-04 Kohei Yoshida [49dd40c4c399236c343c5daac7bead24818c1115] Makefiles for headers. 2012-04-04 Kohei Yoshida [ec1954eb7edbd8e9737f553f3820c79c253d0681] make clean to remove pre-build-script-generated files. 2012-04-04 Kohei Yoshida [74b9ac44144862b35997131f4022e0f4a79bbe68] Converted to automake based build system. 2012-03-10 Kohei Yoshida [42a01082dfd3438e5aa21979dcccd2fa6dc5221e] Get orcus to compile again using the latest ixion. 2011-11-10 Kohei Yoshida [419e6c00d00ea45de493f58e3d309290e006d73e] Renamed namespace interface to iface. 'interface' is a keyword with MSVC++ compiler. 2011-11-10 Kohei Yoshida [a987af05a00a292ca647729cb0ae3c300bdf9917] ixion-0.4 to libixion-0.4. 2011-10-19 Kohei Yoshida [47cc2b2f034604d7f70ee3e5823505a6ff3ebd54] More cleanup, added triple literal quote cell. 2011-10-19 Kohei Yoshida [2ce52716404fff69bd9ff5ee680892ee6d6602d7] Cleaned up a bit. 2011-10-19 Kohei Yoshida [f64ba871a18e8094d3340254b80a4f83071125b2] Now the csv parser handles double quotes correctly. 2011-10-19 Kohei Yoshida [3c47bfed17ea5b03cfc6de7c0682b9e08b479fde] More debugging. Something is not quite working. 2011-10-19 Kohei Yoshida [b824dcbd3396801e332627374f6ef3f41c298e8e] Forgot to use endl. 2011-10-19 Kohei Yoshida [d48bca0be96983055c9a59798589846d5b862c1a] Resizing std::string invalidates pointer to the old char array. We need to obtain a new pointer to the char array after resizing. 2011-10-19 Kohei Yoshida [b9ec7175b2b2bc0e73c8b42d2d0a872da3c29a20] Initial work on supporting temp cell buffer for literal quotes. It's still work in progress; it doesn't do what it's expected to do. 2011-10-13 Kohei Yoshida [4630620b27a05ac5d182b5bd2a7f3a2ba8dcdd15] Added CSV RFC as a reference. 2011-10-09 Kohei Yoshida [0a704a313a1f370dd529d7186c6557bd44d18d7f] Print formula cells correctly when dumping to html output. This is a copy and paste from the dump to stdout code. Clean this up later. 2011-10-09 Kohei Yoshida [8a9d8fe7011ebb879b0684eeb1f5fa822d2cb6cd] No debug statement for csv_parser. 2011-10-09 Kohei Yoshida [c2150293577920a3560c7fc6bce672dac5d15c94] Dump to html output once again. 2011-10-06 Kohei Yoshida [713505e2c0429740096a91c32d69a80fbaa2b59d] Mark value cells as such when dumping to stdout (to make debugging easier). 2011-10-06 Kohei Yoshida [71f219fdd3de3258ecbced6fd26c2844b8e71dbe] Fixing out-of-range assignment of values to matrix. 2011-10-05 Kohei Yoshida [635e6e082682ac2d933bf22ff96b2f21fff84f45] Don't forget to pass the context pointer to the resolver. Or else the sheet parsing will fail. 2011-10-05 Kohei Yoshida [b3246feeed4f13d193d175c5ce434030b1716471] Implemented interface methods in formula_context for handling sheet names. 2011-09-27 Kohei Yoshida [0daa348ba7e938b9df92c72c0da7e86b1c39ac5c] Handle shared formula cells correctly during the dump. 2011-09-27 Kohei Yoshida [5413b47d7b1e38e62535d10c43ff37bf418a9ef6] Make use of the passed shared index number. 2011-09-27 Kohei Yoshida [9e6217cef5f335bfb92b1ed9fb384a05875f0d7a] Store slave shared formula cells. 2011-09-27 Kohei Yoshida [60dc6cf138bee6c0c455cfa02394ed40fbd0389e] Parse and store master shared formula cells. 2011-09-27 Kohei Yoshida [773c077ea0920a17d78d3eb270871077c8c08abb] Pass shared formula range. 2011-09-27 Kohei Yoshida [cd9cbf75c74c92e3f094954edf2b5e2424efbfa0] Initial work on storing shared formulas. 2011-09-26 Kohei Yoshida [6bbebaca2db0eb665a9a1d657098b8d352ce18ab] New test document for importing shared formulas. 2011-09-26 Kohei Yoshida [9603371e90defacc1c22e22a9a6281b3b5988e1e] Added more non-shared formulas. 2011-09-26 Kohei Yoshida [8bf07a9d8e95df24c4bc75de7f55cdae96d0fbd7] Show what named expression is being passed in the error message. 2011-09-25 Kohei Yoshida [10be9e965fd73d681bce1ea372c906195a39ce07] Properly implemented get_range_value() in formula_context. 2011-09-25 Kohei Yoshida [b5aef4e091d29b820c13aaf466377a95e198e2b4] Properly implemented cells_in_range and its const sibling. 2011-09-25 Kohei Yoshida [043c4a489dd374fc73bb6c7c6fab668edd020d2c] Extracted a common code block into a method. 2011-09-25 Kohei Yoshida [6b2120ff04cdb7fcf6fc32e3182286f759ee6977] Dump the formula results if available. The formula results should be available when called after calc_formulas() is called. 2011-09-25 Kohei Yoshida [baa371e8e6bf05567fd4875244081821351c81e4] Properly implemented get_cell_name in formula_context. Now document::calc_formulas() completes without throwing exceptions. 2011-09-25 Kohei Yoshida [26620589ec2332d95036ea100763124fec161a98] Properly implemented get_cell() methods in formula_context. 2011-09-25 Kohei Yoshida [80b88c06634cb4935dd75c03b81f4e10d2afc9df] Properly implemented get_cell_position(). 2011-09-25 Kohei Yoshida [44015989da9e3d546dcc3b7f61e09ac8cc5ddbea] Throw an exception on unimplemented context methods. 2011-09-25 Kohei Yoshida [d4888a5492e7f25e125585279b03a63f647cd1c6] Properly implemented get_formula_tokens() for the context. 2011-09-25 Kohei Yoshida [a6e20a991aed6805d120ebae8f019910caf78a13] Updated interface for formula_context. 2011-09-24 Kohei Yoshida [4d0945a1fd761cacc892cc60c52c97dc8c82701f] Collect all formula cells during import and calculate them all at the end. 2011-09-23 Kohei Yoshida [347012e0a56776f367140ef98b919bed67f33bba] Oops. abs_address_t ctor takes, sheet, row and column in this order. I got the order wrong. 2011-09-22 Kohei Yoshida [95cb799248ea486937f638167fbf31a1b2bfdc4e] Started working on doing full calculation of formula cells at the end of the import. 2011-09-22 Kohei Yoshida [f4550b39dfd95a460fdf9fe37e51613f571dc0d3] Store sheet ID with each sheet object. 2011-09-21 Kohei Yoshida [be01d3b898773f671aa9e32d0dd87e41e0cf3583] Use ixion's cell classes instead of rolling our own. 2011-09-21 Kohei Yoshida [1dc6dffb3d3e359c238b82007e39caad174a7a98] sheet_type -> rows_type. 2011-09-21 Kohei Yoshida [9980cde6494aa14e11aebf538b2edbfd5918a8cd] Formula tokens are now stored per sheet in ixion. 2011-09-20 Kohei Yoshida [a1a31084a52198767429f5d6cfd99c56f13e2b37] Tokenize formula strings using ixion. (Finally!!!) 2011-09-20 Kohei Yoshida [d23a18bda1f4fb83a14cfc40afd026c54f9a1d2e] Updated formula_context to match the latest interface from ixion. 2011-09-20 Kohei Yoshida [f69d27e228fe3b986875b52bd39df676fc63f95d] formula_context should be under the model namespace. 2011-09-20 Kohei Yoshida [7e3d3240e9f167cb2a7ded02fa4b1cb752f7d9eb] Forgot to add this file to the slickedit project. 2011-09-17 Kohei Yoshida [baa280b9ea6fd15c38bdb0d1c12b8f2aafdc1f06] Forgot to add break. 2011-09-17 Kohei Yoshida [f7cd11a2288207fbd70aa1a9a2135bc87d50ec9a] Extra check to make sure the ixion headers are usable. Also a note about sourcing setenv before running make. 2011-09-13 Kohei Yoshida [98e480faa35c92a6ca45170c1d5ab06573fc7abf] Skip whitespace before and after the quoted contents. 2011-09-07 Kohei Yoshida [bec5f51672a59d7d20f3cc456f1ac18f8d4bb690] Forgot to add ixion-headers project file for slickedit. 2011-09-05 Kohei Yoshida [cf8d2e9d224bac05f93551402f402b36c49b57f9] Added skeleton for formula_context. This is the context instance used in the ixion engine. 2011-09-05 Kohei Yoshida [df0af77f7444c9041701bea52c11193050b86258] Initial work on importing formula cells. This is being done in parallel with adding useful public functions to ixion. 2011-09-04 Kohei Yoshida [554cd09197c05b7420792c09b814ca73f7d6177d] Moved xlsx_workbook_context into its own files. 2011-09-04 Kohei Yoshida [b86e5b5fa51f52f64d0090f8c3ec2073a376f0de] Move compile-time dependent env variables into setenv.in. 2011-09-04 Kohei Yoshida [becb530233ef994182c179b56a484b0f89eeb3b6] Some cosmetics. 2011-09-03 Kohei Yoshida [10a507f932ed2900a52e1b52141f50ce516883bd] Separate xlsx_sheet_context into its own files. 2011-09-03 Kohei Yoshida [2d46a09ac3ee25d66de0d7720f5f41216c237c44] Very simple document to test formula import. 2011-09-03 Kohei Yoshida [4207e1b310a519ff1d380ec26ab1e89bdd6eadbc] Prepare for importing formula expressions to the model. 2011-09-03 Kohei Yoshida [82d88e2c8fe0315cd2d18d8de482bb692acec7fe] Including ostream header is just fine. 2011-09-03 Kohei Yoshida [2ccc4e9baf907913994e1342bd99b44e29c23f0f] Set LD_RUN_PATH to ensure the executables know where to find libixion. 2011-09-03 Kohei Yoshida [342d17a92f00600e12324132f7a7779ef594322b] Specify path to ixion library & fixed a build breakage. 2011-09-03 Kohei Yoshida [579ef7e378548b836562d50e8c58f2f1adc02fdb] Parse formula contents. 2011-08-30 Kohei Yoshida [b2193eb16eed17f7b3dc0396ec8a5ac83fa42084] New test file to test importing formula expressions. 2011-08-28 Kohei Yoshida [af8f5664e80421aec31bfad3a8b2412e4d08208f] There is no reason to keep the last context instance. 2011-08-28 Kohei Yoshida [a2e9470b8a4521b1c9f3446e4688a16e2e6f42ca] Organized test files. 2011-08-28 Kohei Yoshida [c29d53c44f4485aa710fd4c014731cdb103e6e97] Separated the main function of orcus-xlsx into own file. 2011-08-28 Kohei Yoshida [bc55b9274eaa5a85347c914cdda8baa100544ea4] No need to increment after parsing of each rule. 2011-08-28 Kohei Yoshida [07e2172be4326385abd1d0a0e6f34f51b5d0bf8f] Separated the main function of orcus_ods into its own file. 2011-08-28 Kohei Yoshida [b0e75826e086aadc18a06ee32425abd93fba3ae6] Clean up. Not more output path needed; I dump content from the document. 2011-08-27 Kohei Yoshida [321ccfa97d189f46db6e3bb4af6d61e34d80fcfd] Clean up. 2011-08-27 Kohei Yoshida [575c96675f1b4767f611dc6acfc1f912ac002d56] Separated the main part of orcus_csv. 2011-08-27 Kohei Yoshida [014826469db2ec83bef78df2585ef614c7451305] Conditionally trim cell values before pushing to the handler. 2011-08-27 Kohei Yoshida [cb2c1523b56a7d6d83653a59dbd023b968e69090] Quoted value must be followed by a delimiter without blanks. 2011-08-27 Kohei Yoshida [2aef9ab9e07c8fde3b7b35218fa4e9a843bb38d9] Added back the trailing whitespace. 2011-08-27 Kohei Yoshida [e038a9edf536799e69bd956c1064076bd57459c5] Handle quoted cell contents. 2011-08-27 Kohei Yoshida [6ea07e98f972b9058397e6274c89daeee518f93e] Handle and import data from csv into document. 2011-08-27 Kohei Yoshida [33909d1b078aba5a3a7e5062b7b1d80f766f5d92] Dump imported content into ./obj. (For now nothing gets dumped.) 2011-08-27 Kohei Yoshida [9e5f3ed3c4207833d3afb1b3c19fb79155ae0854] options -> config 2011-08-27 Kohei Yoshida [b0bde99dd7e953624a1f6cb386c10f5a852a77a5] More on parsing CSV stream. 2011-08-21 Kohei Yoshida [9a4dd833e83a8679d9ec0ff5e6617b3d0be03fae] I don't use boost::thread in orcus (yet). 2011-08-21 Kohei Yoshida [e94d4413dbbe990e3c1b439ba23efd03ee4178e6] Pass document instance to the CSV parser. 2011-08-21 Kohei Yoshida [13661736290db29ff88555338ba8eec61f82df5a] Use interface:: instead of _base naming conventions. 2011-08-21 Kohei Yoshida [9ec28b05b6bdd6f12b0a7da5c371ac4702fbded5] Pass CSV options to the parser. 2011-08-21 Kohei Yoshida [91378c5610f84c737ea83975b394f69d9e9809b4] CSV, not CSS. 2011-08-21 Kohei Yoshida [4d39588b3f53e6f8afde23c5e93153aef969202b] Simple test case. 2011-08-21 Kohei Yoshida [36e2fb3fe68e8892605ad9df670bcea0f18e6d27] Set it up to start working on CSV parser implementation. 2011-08-21 Kohei Yoshida [e1be28cd18a852c246687432233b15946cfa92ec] ODF to ODS where appropriate. 2011-08-21 Kohei Yoshida [755b3a8d86a0c13fc7fae815250e03ebaef0afc6] Separated orcus_ods declaration into its own header. 2011-08-21 Kohei Yoshida [820bf389ae4243b2f9ee2ea8bce7bb066de8cf55] Prefer forward declaration over including header. 2011-08-21 Kohei Yoshida [3335f7680237a17046f293f8ee9c491d84ddf959] Separated orcus_xlsx declaration into its own header. 2011-08-21 Kohei Yoshida [9d2551a9848a11fca65cfb1f6f8745105d1173f5] Added autogen.sh script. 2011-08-19 Kohei Yoshida [182c2a0461279a530ca3b5b699872477534ed330] Now, remove the dependency on libgsf for real. 2011-08-19 Kohei Yoshida [51eb85b04fda13a7785ec68236dac8175d1fa5b8] Remove the unused code. 2011-08-19 Kohei Yoshida [107d6f16d6cddd7951835bd018579be1949a76f2] Read the rest of the streams I previously read. 2011-08-19 Kohei Yoshida [2134ec6ebc570113584e680f50a0d1fc23b88ce8] Method for reading zipped stream from archive. 2011-08-19 Kohei Yoshida [c2e6e6f75ef52266cf6b68e6e550bf966e179676] Converted more code to using libzip. 2011-08-18 Kohei Yoshida [646c01f202232857cb937236bbf2bc48e535bd46] Read relation files. 2011-08-18 Kohei Yoshida [b8c5a2eb3037ed25db91160b9f5a0d971b055c1b] Started migrating orcus_xlsx to using libzip instead of libgsf. 2011-08-18 Kohei Yoshida [2b88fdbd4b15e0ff6881967fe24ca7083b35892b] Let's not use mmap. 2011-08-14 Kohei Yoshida [e53d60339a8ad4b570f4141209aa2be8dfb02f87] Let's use uint8_t array instead of char array for xml buffer. 2011-08-14 Kohei Yoshida [65a612c676d0e4550d7e291c3c2376b9dad8a841] Removed calls to libgsf from orcus-ods. 2011-08-14 Kohei Yoshida [5ad2495c66af7a372df814aeb3cc9711de85b309] Added configure.ac script, to use autoconf. 2011-08-14 Kohei Yoshida [9703404892b9d42e3bb1fafc88bce9d021103c3d] Better in-line comments about syntax rules. 2011-08-14 Kohei Yoshida [3a19b75532d210843d844615b48c8182ed8ec9c9] Test code to read zip archives using libzip instead of libgsf. 2011-08-02 Kohei Yoshida [3c8f25299b0f78583818760ee57f7f581d9159b6] I don't need to append an extra char for the CSS parser. 2011-08-02 Kohei Yoshida [2f0996dfda981f70d71249dc6c5238a264ad0418] Differentiate the element and class names in a selector. 2011-08-02 Kohei Yoshida [c126c518437f290b3678d878d84765e063a77b09] Separate handler for at-rule names. 2011-08-02 Kohei Yoshida [fbce4ad01614985d585f5aa6226e42e0966fc662] Differentiate at-rule names from regular selector names. 2011-08-02 Kohei Yoshida [ff32fb60fe5434e00547cc4bd9561d317bab4d1c] Extracted method for parsing identifiers. 2011-08-02 Kohei Yoshida [c44ac37931e03a8f459c3122d153a267b94f2f1a] Properties -> block, and detect at-rule names. 2011-08-02 Kohei Yoshida [d710fcaebe4cdc1be69ce2a75c41389b580067f1] Correct terminology per CSS spec. 2011-08-02 Kohei Yoshida [9a53442dec2aa7538a16728502411e1850c3204a] Provide callbacks for the begin / end of each property item. 2011-08-02 Kohei Yoshida [d39606371e42401771cbe4f79ad22028b177436e] Separate property names from class names. 2011-08-02 Kohei Yoshida [669ab00231b0ef3302030c28cad3984b5a885cd7] Real world example CSS content from Excel-generated html. 2011-08-02 Kohei Yoshida [66f56f403d38abf076fa582898f4a396a01e5e79] classname is apparently a valid name. Print multiple values on the same line. 2011-08-02 Kohei Yoshida [3bee3c8ab46389efdfb9e532b80f00a8159af225] Call handler's methods for callbacks. 2011-08-02 Kohei Yoshida [714963a5895d87848cb4f83dbacb298ce42e56d7] Safeguard against unclosed quoted values. 2011-08-02 Kohei Yoshida [5b7679534a93aa18505c21658d758850937b60e5] More on CSS parser. Now the test file gets parsed correctly. 2011-08-02 Kohei Yoshida [722298a91207adfcc95727d8d99666f18154cea0] More on CSS parser. 2011-08-02 Kohei Yoshida [a2ea1c2fbef73aa87f4092998c9fd83368324acd] More on CSS parser implementation. 2011-08-02 Kohei Yoshida [a57b56b310b5b7f802cbf5c21ff04eedbc46e9c1] Extracted methods to share common blocks. 2011-08-02 Kohei Yoshida [a1a07e5b84814c649f0fd441dffce1a5f62080eb] Load file content and start parsing CSS stream. Skip any leading and trailing blanks and comment braces if any. 2011-08-01 Kohei Yoshida [6fd6cf3100a2a543425e4006447fd3e0230b521d] Don't forget the test CSS file. 2011-08-01 Kohei Yoshida [b8567dbb411831685572bddbdc122df674e0112f] Added skeleton for implementing CSS parser. 2011-02-01 Kohei Yoshida [10c959f9f36117e004e4e51423af084d10ce2b85] Assume that we may get more than one paragraph segments even for the unformatted. 2011-02-01 Kohei Yoshida [415d69316f341dd3cb1195dcb118874e9c9cf45a] Disable dumping of contents. 2011-01-28 Kohei Yoshida [1e1df9710853ee04bf2a6f75ead8136d8839aff6] Added a new sheet to import formula cells. 2011-01-28 Kohei Yoshida [e2ec65cbd4d717d0092c8c47d1128e36b99f2911] Finally process RGB colors for fill attributes correctly. 2011-01-28 Kohei Yoshida [f71b077551471fe92ebffbf4d40feef2b5754006] Pick up fill colors and apply them to html output. The colors are still hard-coded. I still need to convert RGB text into values properly. 2011-01-28 Kohei Yoshida [854a79ec125349b65d068de5a26a7bae784e6a34] A little cleanup & append style text instead of replacing it. 2011-01-28 Kohei Yoshida [0afb5192ae486879f001cf27614ecaf5a634e780] Finally apply correct font attributes to cells. 2011-01-28 Kohei Yoshida [4ae7f921d520e51a7dad752fdf4155edec05fc4c] Apply cell formats. Turn the text green for now. 2011-01-28 Kohei Yoshida [db692b0bfafcfcd92f02316802ab532c54525e9c] I need to use sorted map to store cell values. 2011-01-27 Kohei Yoshida [23292982092d035c65a95b509029b45c69883dd2] Store the cell formats with the sheet object for real. 2011-01-27 Kohei Yoshida [c0095f3168c85acdf4ffe25a70e9178596d49dd8] Added printer settings schema type, though I don't handle this yet. Also, changed the way how the directory is unwinded, to support moving up directories via "..". 2011-01-27 Kohei Yoshida [ff521f59b251bf6a1cd0fa4326262760d3cc2f8c] Generalize the check for .rels parts, and read the .rels parts associated with the sheet parts. 2011-01-27 Kohei Yoshida [1bb37d54067a6699d2266542030841fe0d6bcc8a] The client code should manage the factory object life time, not the filter code. 2011-01-27 Kohei Yoshida [2187c37d61a15ccd5a3778adeaf1a28e3c24934c] Removed unused output file path. 2011-01-27 Kohei Yoshida [b93db69555af831a210bb6723cffd8e85729e640] Pick up cell format (xf) index from the c element. 2011-01-27 Kohei Yoshida [1e7d26fbd9649a8ffe34ec1ff573ce2fc371f140] Renamed xlsx_sheet_xml_context to xlsx_sheet_context. We all know that this code is for XML, so let's just skip that in the name. 2011-01-27 Kohei Yoshida [ac2985af65925619c747fad03eff8e00fddcc83b] Added set_format to sheet & removed unused methods. 2011-01-27 Kohei Yoshida [47b2bc1a61d1adbbb7acb5680783fc1ed7c05611] More annotations. 2011-01-27 Kohei Yoshida [f67f9741931e79279ec2b2347646d8fbc2e67c14] Some annotations. 2011-01-27 Kohei Yoshida [ae79af2c762d612a845b82248a839ee1c022c115] Let's not separate the API for cell format storage. 2011-01-27 Kohei Yoshida [6ab9bf473c50b10ed2d9f07f5770b5e3b750dad0] More on parsing cell format attributes. 2011-01-27 Kohei Yoshida [e633ae180197d064dba666b5dad89d8a6637ce93] More on parsing cell styles and formats. 2011-01-27 Kohei Yoshida [1a124835190ea74ef4643f1402a767f57d1f4694] Use default ctor to reset member values. 2011-01-27 Kohei Yoshida [194c1a0d0cdd0c6ddf12a1ba6ab5737d65cf684e] Added skeleton methods for picking up cell format records. 2011-01-27 Kohei Yoshida [505f657cf13b21baf273f1a8c2e77155b63d3f3b] Parse extra elements in styles.xml. 2011-01-27 Kohei Yoshida [39410d5652d903d953045f6786a33fc296a2dcca] Forgot to commit the borders. 2011-01-27 Kohei Yoshida [fd90a7c74d8cef314afd3c052c95375a841c326f] Pick up and store border styles. 2011-01-27 Kohei Yoshida [1ccc5b4839047e742b3a9baf8b09c43cbf2ddbd1] Cleanup 2011-01-27 Kohei Yoshida [066f03cfe7e379ed5cbea680633470e7fd29ce81] Pick up and store fill pattern attributes. 2011-01-27 Kohei Yoshida [fce901db6cb75c038b8ca0e3fcd933fbdd55bd62] Fixed a build breakage. 2011-01-27 Kohei Yoshida [988d1837f9a77a7cad2e9226d131cdcdb5e06872] Store the font attributes for real. 2011-01-27 Kohei Yoshida [3b26cd3888dd129e4a9a8e4e42207484c48d5af9] Pick up more font attributes for the styles. 2011-01-27 Kohei Yoshida [cc59506a47a2c79549f4ce2e0ceb56dd11d8bba9] Pass the styles object to the styles context. 2011-01-27 Kohei Yoshida [d99da7ab941805a13d02effce7316515763f8a59] Let the document instance manage the styles container. 2011-01-27 Kohei Yoshida [1ce36920743ab3377e6c820cd7b4120e66db5295] More on parsing the styles.xml part. Also added styles storage impl skeleton. 2011-01-27 Kohei Yoshida [224330602e29d69960fdc709c736f4593e6d57eb] Wrong template declaration. 2011-01-27 Kohei Yoshida [0e55197c04e352c65721f1438567dcfb903ac0a9] Moved useful func object to ooxml/global. 2011-01-26 Kohei Yoshida [d2d76f0a447e0d9c2c5f609cb43f48a165b607d3] Initial skeleton for parsing xl/styles.xml part. 2011-01-26 Kohei Yoshida [739c744b0a935387d8329a6970859bb58f550606] Removed commented line. 2011-01-26 Kohei Yoshida [89ae412851f8d48e2c49f1c8e5c8984a2fee1501] Removed debug code. 2011-01-26 Kohei Yoshida [5c33d35c3376f1961706fd80f04dee860b1aa914] Pick up font names too. 2011-01-26 Kohei Yoshida [4b0d8ce73bb25ca877449f5286a66d51c15cf1dd] Pick up font size. 2011-01-26 Kohei Yoshida [c82387587f9319973344a89745078e4d267a3311] Let's use element to apply format to text segments. 2011-01-26 Kohei Yoshida [ead1100931da2ca7923ab7156ca27dc5bbd01486] Dump document content to html files, one per sheet. 2011-01-26 Kohei Yoshida [3247fd4399fd092c2bdb390f9e3591e1df07993b] New method to retrieve format runs by string IDs. 2011-01-26 Kohei Yoshida [0e42a26ffa530e8bb46a26c8779cba3a8a155fad] Renamed segment_format to format_run, to be consistent. 2011-01-26 Kohei Yoshida [a80e320e1f0e9cbf42f5188957e02b0a643aa2bb] Store format runs for the shared strings. 2011-01-26 Kohei Yoshida [c2cc1c3ea5edd71df9f5f8c2006370107c096645] Intern the sheet name or else it becomes invalid during the dump. 2011-01-26 Kohei Yoshida [99fbd8b3b97a52d8abbbdbfc23326444b729917b] Use for_each instead of manual looping. 2011-01-25 Kohei Yoshida [c3e1569255066d23c794daf9c4ef206eefe99604] Initial work on picking up the rich text format properties. 2011-01-25 Kohei Yoshida [517e23ebf442ed5dd87c8387f1c7b6a0e042e6f0] XML structure check. 2011-01-25 Kohei Yoshida [11878cb2d690d741363e72aa092c5609ea29dd0f] Hide the libgsf calls inside orcus_foo. 2011-01-25 Kohei Yoshida [be628ee20098365fb0168fcf248d6ba2106db904] Forgot to dispose of all the interned strings. 2011-01-25 Kohei Yoshida [7b0d9f9ede5c45c86c275559eb26cf1610a53004] Fixed a bug wrt repeated columns. 2011-01-25 Kohei Yoshida [7984ac18f18b838a372ddb75341548ed47c3065b] Little cleanup. 2011-01-25 Kohei Yoshida [5cfe8b055700f0fcf26a7939e5066f0fd9f10290] ods: Handle formatted paragraphs correctly. 2011-01-25 Kohei Yoshida [0b3d43eeb88be245573b6941e97404d7a9e855c5] Add string to the shared string record inside the para context. 2011-01-25 Kohei Yoshida [beadb2fafb6818af32da9058465e7c055dde0f94] String index was off by one in error. 2011-01-25 Kohei Yoshida [2bb89f2845c8e9d8df3bebddc5e7a3c6790fee18] Removed comment that's no longer true. 2011-01-25 Kohei Yoshida [75cf0f76612e02ae7e354b60f37c6388dbfe61f4] Now orcus-ods builds and runs once again. It also uses the shared string facility to share the same API as the xlsx parser counterpart. 2011-01-25 Kohei Yoshida [8bbf99369ae1fc37aa661c336013131d97aa1325] Correct mdds path. 2011-01-25 Kohei Yoshida [279d999a3ca1401f307b7b7d760aa7c16223f59d] Reflected the file name change. 2011-01-25 Kohei Yoshida [0fd54941e9ab96cf5b443ca51db832e3bb483289] Renamed a bunch of files. 2011-01-25 Kohei Yoshida [c328b82bf4f3f9531904f69d7a9e2e358f5e9b21] Store factory instance inside orcus_ods. 2011-01-25 Kohei Yoshida [31a3471ccb26d7afe02671783b07536217b80e9e] Handle format runs in shared string record. For now I'll ignore the format attributes. I'll take care of that later. 2011-01-25 Kohei Yoshida [e1130b5721a3a9a1e52023ab99f09a5b7f6927e6] Properly format the sheet grid when printing to stdout. 2011-01-25 Kohei Yoshida [7cae0f5fb88d6196f91446e9e7a10a86745f6758] Print sheet content to stdout. 2011-01-25 Kohei Yoshida [b21d85caa3f6bd23e8cbf52784f22e63b4c00d20] unary_function template takes return type as the second argument. 2011-01-25 Kohei Yoshida [c7a0d2921111ac9d54133fd62f3f367192953949] Refactored sheet internal a bit. 2011-01-25 Kohei Yoshida [7eae3ade9f293afd5db8e776a8d4d1b7871d37a9] Pick up the value cells too. 2011-01-25 Kohei Yoshida [6562e28af9b33b6e36251114014600a2eb95a530] Parse the sheet xml parts enough to insert string cells. 2011-01-24 Kohei Yoshida [c602cc971a34dcc792b84a046a4fc705f858d922] Initial work on printing sheet's content to stdout. 2011-01-24 Kohei Yoshida [c57d75b036fbcb136b930a53ba0044fd41baa9ef] Instantiate sheet objects from the factory & pass sheet name. 2011-01-24 Kohei Yoshida [13903b25951e9c0cfb5e0e3fa40aefb3a0484533] More on shared strings. Two methods of inserting strings: one for appending without checking for a duplicate, and another for checking for a duplicate before each insertion. 2011-01-24 Kohei Yoshida [a14486d76ed754fbd4dcd45b1d26fbd107535f84] Embed a document object inside the factory class. 2011-01-24 Kohei Yoshida [a51f551af6da6d4d518ae173f0b41994f280c81f] Now I can finally remove the dummy sheet name. 2011-01-24 Kohei Yoshida [380e851aaf6410d133c61fcde7b37fa5614084d4] New files for document concrete implementation. 2011-01-24 Kohei Yoshida [0582f3913e0636ab98e876c44712cff859c6087f] Class document_base to allow filters to instantiate concrete class objects. 2011-01-24 Kohei Yoshida [cc3c41a48a341883a6216fb3cde9d6c3bdf2359e] The sheet instance shouldn't store the sheet name. 2011-01-24 Kohei Yoshida [7a410e475697cd4a40ad5822ab98eb50e6ff08e1] Started working on creating interface classes. The idea is to allow external document models to be constructed via polymorphism. 2011-01-24 Kohei Yoshida [a69a13963a50eb23ffa20c4e464ded7a2c576b27] Started re-working the ods parser to make use of shared strings. 2011-01-24 Kohei Yoshida [b41c29aa4a4d5a802ad7530c727e292d554e4148] Pick up and append strings from sharedStrings.xml part to the internal storage. 2011-01-24 Kohei Yoshida [8d90f63126e75ec461f7829a8d54c1c0d17c620c] The main class now stored document model data members. And pass the shared string instance to the ss handler. 2011-01-24 Kohei Yoshida [ae4600235ec726a93e4ef5f1a97b55c6deb9c2be] Added new files for shared string storage in the model. 2011-01-02 Kohei Yoshida [2d8d32567d2c0b9e006bceaeacfa016586f481ae] Let's not print shared string content. 2011-01-02 Kohei Yoshida [1887b602a864b5a9868ff4d066ddc39eaa9908ab] Some code to create and destroy mmapped buffer. 2011-01-01 Kohei Yoshida [2a4c7acf93d473932c068ee2e2fe11fe784fea9e] Added new schema type. 2011-01-01 Kohei Yoshida [ea95f7198f59c36df75b014e5ab27a1149f9b35f] Don't add relationships of unknown types. 2011-01-01 Kohei Yoshida [8d690583aacd5e18c74ab5eb93d32630510db044] Added .gitignore. 2011-01-01 Kohei Yoshida [202a91823a88203ce5c1166542e4fcf960ebcf04] Apparently I didn't add the include directory when I renamed it (?) 2010-12-30 Kohei Yoshida [bcfc44a9edaeb8bb33b7ffaeb5d39d6a44a138d0] Added back the .inl files accidentally removed. 2010-12-30 Kohei Yoshida [7e90cf1141687a6e3e0ebb79ebbe0ef0ef4e7676] Put all orcus headers into orcus directory. 2010-12-30 Kohei Yoshida [f7512a148a8795a7c20790281847ca17b710dca7] Renamed inc to include. 2010-12-30 Kohei Yoshida [2762f9fdd4d7b2b65ab40c1ec882e55cfd0b533a] opc_rel_t::extra -> opc_rel_extra. 2010-12-30 Kohei Yoshida [a85551ab8414cb1d0c56ae37ded80c915f9f45f5] Let's not store extra relationship data with opc_rel_t struct. 2010-12-30 Kohei Yoshida [bfc29b6c07d306e23ce81c6f42b1b75eedb59df2] Managed to pass sheet metadata from workbook.xml to worksheets/sheet*.xml parts. 2010-12-30 Kohei Yoshida [5655252f48d9fe588adc85d39d03cd49b12f0d08] Initial cut on parsing sharedStrings.xml part. 2010-12-28 Kohei Yoshida [f9cf94a8394f2cf7f1e54787f556f3aa01e0ed4e] Read the sheet xml parts from the workbook.xml.rels. 2010-12-28 Kohei Yoshida [74883080dfdf6200c8484423fde0d17c3d45150a] Added more schema types and renamed some. 2010-12-28 Kohei Yoshida [2262bb48f477d8e327aea4e3f5fd3673caec4179] Read the relationship file associated with xl/workbook.xml. 2010-12-27 Kohei Yoshida [d088e18b935c6c1a579d61372ee177eca7de549f] Pick up sheet info from workbook.xml and print them out to stdout. 2010-12-27 Kohei Yoshida [a960eec4e4e7e6e5ac920ff699099cf0b8a1fcac] Re-organized a bit for workbool.xml parsing. Re-named ooxml/types.hpp to ooxml/ooxml_types.hpp to avoid header naming clash. 2010-12-27 Kohei Yoshida [f69a61e17783912f7a44a17e5ad3cbfea3d5ccea] Removed opc_handler.* files as they are no longer used. 2010-12-27 Kohei Yoshida [44fb242995e233d02daf7f4341f2698b60d64a59] Simple simple xml handler to handle content types. 2010-12-27 Kohei Yoshida [a86d5d379c5a3de5fdc212764b6dfdfd6a9affab] Use simple xml handler to handle relationship parts. 2010-12-27 Kohei Yoshida [9f558990ac6bd03aea6412b9202d83dfaca45f1b] Added new xml handler class for simple parsing needs. 2010-12-27 Kohei Yoshida [086c647f56c94cce594cf0bfb4961fe6b3d41ab4] Renamed xmlfoo.* to xml_foo.* 2010-12-27 Kohei Yoshida [404e602fd9285f7f0e144a4acd9122a0d2ad34c3] Handler doesn't use tokens. 2010-12-27 Kohei Yoshida [7f0c1da2d0c9b8134e8fd1aafb6dcb96c5b2746f] Added hook for workbook.xml parser bootstrapping. 2010-12-27 Kohei Yoshida [e62d3d08008d54bbd11a378c79cc0ed43b5df302] More on using directory stack to manage package paths. 2010-12-27 Kohei Yoshida [84a885dc8f38e45f8afc06d8760721857d641d39] Counter for each dumped interned string. 2010-12-27 Kohei Yoshida [8a93cdfe20a7c01a968d7ea1fab05b4e3bf07631] opc_relations_handler now a data member to allow re-use. 2010-12-27 Kohei Yoshida [4eab4c6b9b117a2602c4ff9ab59108f8fa1a0cfb] parts and ext_defaults are now data members. 2010-12-27 Kohei Yoshida [3130b774aafdd59e5eb9ad107a702514c54b3fc7] Put all top-level functions into orcus_xlsx class. 2010-12-27 Kohei Yoshida [1b3b1f2203a580c5581306c3b957c697b332a85b] Add method to dump interned strings for debugging. 2010-12-27 Kohei Yoshida [b25fe979573e6de527ff7814ef865149a8b0ca8d] Added global files for ooxml, and fixed relationship attribute parsing. 2010-12-26 Kohei Yoshida [406fde6c5a284967678eeeb9f024d836e72943cf] Pick up relationships from the context. 2010-12-26 Kohei Yoshida [c954c9c6ddd53207abc5321b7ae93697099a1139] Method comments. 2010-12-26 Kohei Yoshida [3ed17fc8c0af7cf57db7770c764cb486e76e20ae] Moved some methods into src file. 2010-12-26 Kohei Yoshida [26d63f4c9d2e158c30038bbe080e57ca5557ffe1] Moved ooxml types into ooxml/types.hpp. 2010-12-25 Kohei Yoshida [502db6530f581e6a485e40c408df3ee0fd29fd29] Intern part names and extensions to make them persist in memory. 2010-12-25 Kohei Yoshida [2f43425094a02f18ce073ed714a0bf73c8cbf4f2] More on interning of pstrings. 2010-12-25 Kohei Yoshida [9768bd39d03b6db9a67be8ecf30d32442dcb2ff8] Add assert statements to the test code. 2010-12-25 Kohei Yoshida [22846daeafbb78dceb956e1cdadd977748568f4f] Removed unused class. 2010-12-25 Kohei Yoshida [cc04470574215b7a57527a935458991db24965ee] Fixed pstring test build. 2010-12-25 Kohei Yoshida [0b9656ac01cf2114242bc3226fba6869af586dfa] More testing... 2010-12-25 Kohei Yoshida [3d63a1c6c320371defc86869fec6307dd2a2158a] More on pstring intern, with a test code. 2010-12-25 Kohei Yoshida [8f4acc3f7522b02eeeb18af6f44fd3546bf1c6b3] Added empty methods for interning strings. 2010-12-25 Kohei Yoshida [dc3c99a313ab105dac9086a8a825196f81c1e24d] Moved pstring::hash into src file. 2010-12-25 Kohei Yoshida [8069ca28021a15e88b64c8377caf243a467740c3] Added pstring source file and organized Makefile. 2010-12-24 Kohei Yoshida [db765482939e5b49cb00bd6becf779681e08a7f8] More on schema types. 2010-12-24 Kohei Yoshida [57d821bfc047e696794e405b6ed306b829011b9e] Start using schema constants. 2010-12-24 Kohei Yoshida [c59a609dbbbbf6f40bb5a2fd6c22003e46ffe69c] New files for pre-defined schema types. 2010-12-24 Kohei Yoshida [fa2d5485e915174c87f446dfbc93146d8b8def9f] Parse Relationship elements. 2010-12-24 Kohei Yoshida [3ea5d80265a0454a5a243b94cb824fa617af44ee] Parse xmlns from Relationships and set the default namespace. 2010-12-24 Kohei Yoshida [b3043daa4b04faf19b18be6a401412efbd7d6ff0] Handlers don't need to store the token set. 2010-12-24 Kohei Yoshida [f85a319869b10c6c868f1148dd2e41ee6576804b] Set up skeleton context and handler for relations parts. 2010-12-12 Kohei Yoshida [643d2f1f2c7dd28fcbe2bb2786d5121a2c53f0fd] More content types discovered. 2010-12-12 Kohei Yoshida [cbf162a4c1105572ce454cef96ca119afb734f32] Print unknown content types. 2010-12-12 Kohei Yoshida [93845689ddc06be56b97675291cc39dc3dfc4f6d] More content types added. 2010-12-12 Kohei Yoshida [4d6a5cc2294ec3281a283a208fed639c0d141185] Preparing to parse the .rels parts. 2010-12-12 Kohei Yoshida [f92cc57fef52babeb5f030869dca05d8238b9ea4] More helpful error message containing the name of the stream. 2010-12-12 Kohei Yoshida [aecf58e796a73f878c5c0a161e3625147bb04567] A little cleanup. 2010-12-12 Kohei Yoshida [2cda55281f87811ccbfb77d56367edf0c0b5a2e9] Error checking in guard's constructor. 2010-12-12 Kohei Yoshida [41022afa16b4a2783f7778aa6a98dd61b74f46e2] Use infile context guard for safer infile object handling. 2010-12-12 Kohei Yoshida [f816743db945a087441c24c303b1ebac513edc32] Print partitions. 2010-12-12 Kohei Yoshida [f9ddeba678abe14b7a398048a055b816a04abec9] Added new content type for spreadsheet's printer settings. 2010-12-12 Kohei Yoshida [641c1c9a7afbcc36f6eeec05b02880cd91e533b4] Pick up extension default content types from [Content_Types].xml. 2010-12-11 Kohei Yoshida [bfece0ea2ce16e64051bcb473d3a2cb0cf73d5b9] Added comments. 2010-12-11 Kohei Yoshida [737ac8747978b9cbf129dc03eb96665ebadf9cb8] Put everything but main() in anonymous namespace. 2010-12-11 Kohei Yoshida [44c5b2a19461778a2854e0c3522096c019918e9a] Added two new content types. Also re-arranged content type definitions to make it easier to add new ones in the future. 2010-12-11 Kohei Yoshida [d3bb8e2d2df886edeedf020c7e2fea530047ba5e] Don't print content type when it's NULL. 2010-12-11 Kohei Yoshida [6290a38a1be3b678e2e9d9ac9ab5c6e8ef0ea1ab] This should be content_type_t. 2010-12-11 Kohei Yoshida [36921572338c365324f342317df29a72beabf08a] Better output for part names. 2010-12-11 Kohei Yoshida [f3f0b4900182a05261720faa9ff05750e1380077] Pop the part info out of the handler and print them. 2010-12-11 Kohei Yoshida [f24442f5ce8b43a1d655a5397d8002671a6cdd47] Parse and store the xml parts info from the [Content_Types].xml. 2010-12-11 Kohei Yoshida [6aa6f0b43792a116a8c38861836ed4d769a74780] Moreon content type parsing & moved hash code for pstring. 2010-12-11 Kohei Yoshida [f5fb3c55b950e10afaf05f5f0ea12fa4f1ad8380] Added content types files to the project. 2010-12-11 Kohei Yoshida [9275862a4d9d05eb53b1b2c447de5bd6240a2cf0] Added content types constants for (mostly) ooxml parsing. 2010-12-11 Kohei Yoshida [05b5b59b67569f5ba0c89bc09f8ea6bbb3f54e24] Typo 2010-12-11 Kohei Yoshida [b2ccd2aa9702e8a09aa5a3642e394f118db1bda0] More on parsing [Content_Types].xml part. 2010-12-11 Kohei Yoshida [35b9464eac2bca18a753a2caec5addd215610b9c] Moved the handling of default namespace up to xml_context_base. 2010-12-11 Kohei Yoshida [c0610429cf66d0c3f4e2deb1da518fe04cfe9401] Two more namespaces for opc content types and opc relations. 2010-12-11 Kohei Yoshida [84bb4eb42c6ad2cccd68ed7771e66c61f2d898aa] Removed - no longer used. 2010-12-09 Kohei Yoshida [4da3a6a4eafa9afba7acab1fe4a7c33c78e6ec89] Added main context class for the OPC content types part. 2010-12-09 Kohei Yoshida [871f4a9b84c670840d11e2059a490ced723a72b3] Removed 'xml' from opc_content_types_xml_handler; it's redundant. 2010-12-09 Kohei Yoshida [85c1fd2a74dfe90589eade6bb2d8cbd531e8455d] Finally start parsing [Content_Types].xml part. 2010-12-09 Kohei Yoshida [a352861d2715b0569bd95c316b10c19a3c840c64] Renamed tokens_base.* files to tokens.*. 2010-12-09 Kohei Yoshida [c097fa7612186f4664d3d3a511d39443d2045587] Renamed tokens_base -> tokens. 2010-12-09 Kohei Yoshida [bbaf110baaad72853c98f38148893734708ef2a3] Removed them from the project also. 2010-12-09 Kohei Yoshida [ff9392275783c95c7525aa396cfc7ee3bccb9007] Removed files for the old tokens class. 2010-12-09 Kohei Yoshida [343f97505efaf555275083f9788b546b0663a5ee] Adapted orcus-xlsx to use non-static token map instance. 2010-12-08 Kohei Yoshida [2b8a79fa5f9eafce6f8f7bee00a95f613294813e] More on using non-static token map instance. 2010-12-08 Kohei Yoshida [5df15e114b1aef872f0ba217e92bc58c83d0d619] Adapted orcus-ods to use non-static token map instance. 2010-12-08 Kohei Yoshida [1120c8ebc1919ab316b78d1b877ec3ec2a9fdbf8] Added non-static tokens_base class which as a replacement for the static tokens class. 2010-12-08 Kohei Yoshida [da6feda946a60194a977e29f808aa80ee96e873f] More on preparing to parse OPC parts. Not finished yet. 2010-12-08 Kohei Yoshida [a7787b32180620c6894912b3a5604bec761e7588] Added the new file to the wrong project. Fixed. 2010-12-08 Kohei Yoshida [ab2be962f02b88b0f61fe143f640418ea69230d0] Added OPC token source files to the project. 2010-12-08 Kohei Yoshida [d8e504397815cbe28efab8114d640932aa527239] Reduce namespace token count for OPC. OPC only needs 'xmlns' namespace token. 2010-12-08 Kohei Yoshida [2fe2bb5d5a6196c0d7e90d32672ea87a08411a07] Added schema type parameter to the ooxml token parser script. 2010-12-08 Kohei Yoshida [7c233698c4efdf513bf0f9d6f717b15fb1c38c95] Generate OPC token list as well. 2010-12-08 Kohei Yoshida [ddb39b052b01ca08941fcc9874564cb85d5e0c57] Added xml schema for ooxml open package convention. 2010-12-05 Kohei Yoshida [bfc901c615a98990eaaf0ac679a2ac5ed056d13e] Added cases for row, c and v elements. 2010-12-05 Kohei Yoshida [b5f7fd359bb17259925a6a5711811b2cc73f90a0] Creat an internal sheet instance at the start of parsing the sheet xml fragments. 2010-12-05 Kohei Yoshida [da799e27a35008e6602659f65ad31b9a1851837d] Added class diagram. 2010-12-05 Kohei Yoshida [e67e20c3ad6ae057b86383c9706e1bdea472b74a] More content parsing on xlsx sheet.xml. 2010-12-05 Kohei Yoshida [bcf2f3f4cbe746c8bb50777ab75ba3828d4439c2] Rename spreadsheetML namespace to xlsx for the sake of brevity. 2010-12-05 Kohei Yoshida [3789b6c3ee888084eb6d393ed5557bead34a6491] More overloaded operators. 2010-12-05 Kohei Yoshida [13b766bd8c0e67f955e287d61e2e61efa6ab9681] Make pstring usable with ostream object. 2010-12-05 Kohei Yoshida [05fe612894eab420029dedf06a390be9dd97eb17] Hard-code xmlns token name; we need this for default namespace attribute. 2010-12-04 Kohei Yoshida [d068e63d6ceafda24eda7c392d07ea2eb58a1efd] Renamed odstable.* to sheet.* to reflect the class name change. 2010-12-04 Kohei Yoshida [1672489129cb408b2e3115c9a427485531fea159] Added comments. 2010-12-04 Kohei Yoshida [ccaf838d24b64d1eb7be30018d9174a02909fe8d] Renamed model::ods_table to model::sheet. I'm gonna use this class as an internal generic sheet object, for both ods and xlsx parser. So the name ods_ was not appropriate. 2010-05-08 Kohei Yoshida [7ffb5fa6a24df608d1add329fdf48c8a839d9860] Cleaning 2010-05-08 Kohei Yoshida [f4e120f75f6ff305487a46fefcd6b9e27fcbbff5] Removed _Char type name from the sax parser template. Let's always use char as the char type. 2010-05-08 Kohei Yoshida [201ba6f295a835aa70581ccf1ba2075afbd084e1] Use char pointer to keep track of current position & return current char. Doing this is slightly faster than array-type access via [] operator. 2010-05-08 Kohei Yoshida [db31009de400fe72324f5437f55464515898ca33] Generate a flat list of tokens in addition to C++ code. 2010-05-08 Kohei Yoshida [b362ea4ec28e8ae9849d7983b80ec6927ba4a9e6] Slightly better string hash algorithm. 2010-05-08 Kohei Yoshida [31fef6f5d27b84b9a72f9197bfc0611d4e069f76] Modify the rest of the handler/context classes to use the new sax parser. 2010-05-08 Kohei Yoshida [208904d0e88e74fd051f6cb40001affbb5aa2371] Removed unnecessary using namespace std statements. 2010-05-08 Kohei Yoshida [1a365b08fa6770ffa0dd4767ff46e66b404c8bf1] Store attributes for later processing in the handler class. 2010-05-08 Kohei Yoshida [4a9b9de6f137143288cccf8d4ea0fa4174e99feb] Remove extra indent from the closing '>' of opening elements. 2010-05-05 Kohei Yoshida [047e593bf97e334343df4852b77f1cbf12b3f9ff] Put raw token strings and its associated classes into anonymous namespace once again. 2010-05-05 Kohei Yoshida [9c8ab07867f044aafcec1a2b9de8c2585ef0045b] Integrate token generator into the sax parser, and convert strings into tokens as we parse the stream. 2010-05-04 Kohei Yoshida [4cbd65ed5e63f3f526de337ccb0c86ce7185c62b] Let's use char as char_type in the sax_parser. 2010-05-04 Kohei Yoshida [e45581da81d333ecf166d14fa6843abdfc7591fb] Disable string processing in libxml handler, which cuts a lot from the parsing performance. 2010-05-04 Kohei Yoshida [efa5cc2bf8914077113449ab3ae3b61e3ca7bb67] Separated common tokens implementation code into tokens.inl. 2010-05-04 Kohei Yoshida [64f7e1b712352445a29180f58c9e176c94b5899d] Use pstring to store element names, attribute names and values in the sax parser. Doing so is much much cheater than using std::string to store those strings. There is very little overhead for doing this, in fact. 2010-05-04 Kohei Yoshida [849924f679b33b8aed003fcea0f848a0b28492fb] Added c_str() to pstring class. 2010-05-04 Kohei Yoshida [c71827bb0926537e1ca586acd3c8f01b1e839fb9] Use pstring for the xlsx parser as well. 2010-05-04 Kohei Yoshida [83d1228bcebc6285b2030101bbe289394e93b5c4] Code cleanup. 2010-05-04 Kohei Yoshida [4619f791a787987db1783aaf393b69902963a443] Implemented pstring, which acts like std::string but doesn't store a char array of its own. 2010-05-02 Kohei Yoshida [d26aac7df0d2ce745f381784a7e0f2857d2e4db1] Comment out all that is very costly, for now. 2010-05-02 Kohei Yoshida [bab3fd31c1dc003155f595002f87fa27231859df] Disable debug output for the new sax parser. 2010-05-02 Kohei Yoshida [8d306c1234e3f8986fba71afd33ab7fc043dd5ec] Parse closing elements. 2010-05-02 Kohei Yoshida [5713d4706a115079731afdc937e9c1f62d241a8f] Better debug output. 2010-05-02 Kohei Yoshida [15df55bdc56e2991022a0ebe229216e579ed308d] Parsing elements. 2010-05-02 Kohei Yoshida [df8c92a448d47527aed37fd2aaee01ea0b558474] More on parsing blank chars. 2010-05-02 Kohei Yoshida [4efb520a5d345811036347af15689e637e3ca4cf] Code cleanup. 2010-05-02 Kohei Yoshida [a1627a061a37bd3041c0ee57e05e6c7c89b13ca2] Parse XML header. 2010-05-02 Kohei Yoshida [fa909e4a2e17a143526f92deee2fac8206999b0c] Added hook for a template-based sax parser. 2010-05-01 Kohei Yoshida [c7e7c19399d18dfc8541a996371a2cc87f3bb559] Added slickedit workspace files. 2010-05-01 Kohei Yoshida [af7691a179676a8ccca571dc16d2e92472404a9c] Fixed build so that both orcus-ods and orcus-xlsx can be built without altering compiler switch. 2010-05-01 Kohei Yoshida [b9e1b10bae53c7fd19d3171fbc13b0c4703d5991] Added license header. 2010-05-01 Kohei Yoshida [ac2254445cf8a9538f1ef75086c76f6edb194d38] Fixed parallel build issue wrt token file generation. 2010-04-30 Kohei Yoshida [96de136d20c3edf1eae034b4d1855790b2143712] More on xlsx parsing. 2010-04-30 Kohei Yoshida [bdade14ef7bef5193c83d5818695a54ea15d2f01] More file for the xlsx parser. 2010-04-30 Kohei Yoshida [f8b117284dda2a00fa8cf68925c9ac162803fc79] New files for xlsx parser. 2010-04-30 Kohei Yoshida [df3fb072b7744f1b81ae1bf628b0ad93cb69af60] Finally got the ooxml parser to build. But I need to resolve the token name clash somehow... 2010-04-30 Kohei Yoshida [dbbefc90440aab2bc75144db4c8b3324e522c725] Read content of sheet1.xml. 2010-04-30 Kohei Yoshida [6a4b8ada498ceeadc1669a3a3ad5881992709e26] More on xlsx parser. 2010-04-30 Kohei Yoshida [41963fffe853a16de723095dfb68212c0f209370] More on ooxml xlsx parser. 2010-04-30 Kohei Yoshida [7265b82750199d6fd46a60b23bb9ced8ea346d9c] Extract xml tokens from ooxml schema files. 2010-04-30 Kohei Yoshida [4dd1f602ca4fc359814fb33c5b1e144790d2c817] Moved ODF handling files into odf directory. 2010-04-30 Kohei Yoshida [e83f4e0fe926ffd1106dc9482fea74d3271c7686] model object files into obj/model/*.o. 2010-04-30 Kohei Yoshida [6eeeadc94fc3f6210b1a47d6501d9d6ad137e104] Totally removed $(EXEC) with orcus-ods. 2010-04-30 Kohei Yoshida [e293f3d72b42eab00c7f9f89678022744c16e533] Renamed main.cpp to orcus_ods.cpp. 2010-04-30 Kohei Yoshida [29e3a868455841e64156f9ea0c11b9bffd0a6f0b] Renamed executable to orcus-ods. 2010-04-30 Kohei Yoshida [1d0f1c4733cd9f95345b74a0a18dcf2e9891ba17] Renamed a bunch of token-related files with a odf_ prefix. 2010-04-09 Kohei Yoshida [c752aaa0f94f63554d600443147ed529034ad629] Use ::std::string instead of const char* when converting to tokens. This speeds up the performance of name_to_token somewhat. 2010-04-09 Kohei Yoshida [89ebb184c3d547fcaad6f56e28f1137b801db22b] Reserve only 15 chars instead of 100. This improves performance. 2010-04-09 Kohei Yoshida [55ef441c3cb86cd41de1a1bbd37641dd147f0824] Added new header to store global items for the model namespace. 2010-04-09 Kohei Yoshida [0d27cef39f5b38f762bdc5a19bbbfda43f439087] Put cell values into ods_table instances, and print cell contents to html. 2010-04-08 Kohei Yoshida [faa73697982189be1458577812ad7380b6af3cd3] Made a header guard longer and more complex. 2010-04-08 Kohei Yoshida [39bd8a62ae30d1a1050b4feec15fdda7b657e097] Return a const ref of string. 2010-04-08 Kohei Yoshida [d65221299b39f33d73d4202442cde867ea27b14f] Store the content of and set it as a cell value to the table model. 2010-04-08 Kohei Yoshida [7fca80b1580575ea52f98284aa1f382dd81f8a48] Added end_child_context() as a means for the child context to talk to its parent. 2010-04-08 Kohei Yoshida [abad8782ca7fbe4494b1e052400597582c6fb528] Use unordered_map instead of hash_map. hash_map is deprecated. 2010-04-05 Kohei Yoshida [79d9404ffb3a445c1c8f1863877bc0637055c5f5] More on processing content. 2010-04-05 Kohei Yoshida [ff09014c936e44534f9fb27999bc3d60d77295e4] Removed start_context() and end_context(). I can use constructor and destructor instead. 2010-04-05 Kohei Yoshida [e14c0bcc0d23d472cc053221c0f923ad55c8596a] Use text_para_context to pick up contents. 2010-04-05 Kohei Yoshida [19dbbe2103b3934fee06e06ab8afdf0ada40cc6b] Added text_para_context to handle element structure. 2010-04-05 Kohei Yoshida [8910a9357f288d8689b1110dc6642c42f8edf731] Renamed files. 2010-04-05 Kohei Yoshida [fc379a822621b37ceab9aa48902c75c219f3c63b] Renamed ods_context_base to xml_context_base, since that class is not ods specific. 2010-04-04 Kohei Yoshida [fec27490da1ecafe89bb616436f89cbd30c67521] Handle stacking of multiple contexts in the xml stream handler. 2010-04-04 Kohei Yoshida [00e6bbc74327d192d2aaddf46360cce5b6c5863e] Add new virtual methods to query whether or not to create a child context. 2010-04-04 Kohei Yoshida [57219a7768bc59e8da784cb1d18f03802a6a533f] Move the element stack handling to the base class. 2010-04-04 Kohei Yoshida [6ab7a6b5e4906dcf872e408a6b31fcb8f6fc5e14] Handle characters in the context classes. 2010-04-04 Kohei Yoshida [e28699c2f184a8cde17ac88b60b6a8a3d9903f1b] Implemented stacked contexts in the handler class. 2010-04-04 Kohei Yoshida [ccbf0f9f851ca4f04739bc1e7ec0e03505c2af70] Moved ods_context_base into its own files. 2010-04-04 Kohei Yoshida [8e5fe9aa27b1ea85b57f1fe6b85da39a97ad8c3b] Make certain methods private. 2010-04-04 Kohei Yoshida [f7637bd7deefe371b5c1924cb3ecd1e7aeec4cb1] Moved all the xml stack handling to the context class from the handler class. 2010-04-04 Kohei Yoshida [a97a44b8176ede1391978a4396d536954ed1c133] Debug output for repetition of rows and cells. 2010-04-04 Kohei Yoshida [27986d4f9003c5c473614c8aa7116c3e39fb2876] Pick up table-cell attributes, especially the table:number-columns-repeated attribute. 2010-04-04 Kohei Yoshida [28cb599d0741b349670b55af47d62a676fbdcef4] Added test document that loads slow in OOo due to too many cell styles. 2010-04-03 Kohei Yoshida [81f26ffcc48f58c0810e647fd6dddbafcaf2236c] Pick up table-row attributes, especially number-rows-repeated. 2010-04-03 Kohei Yoshida [99000b9c2715f5437ab774ede9507c1964a96161] Added a test file with Japanese content. 2010-04-03 Kohei Yoshida [e3dd6a4408aa8dcd2b257f695e7d7ffcc71874e1] Write html table for each sheet imported, and display their names. 2010-04-03 Kohei Yoshida [5cee489db52b46e7a3c51a3a1831564932082c6b] Pick up table name from the table:name attribute. 2010-04-03 Kohei Yoshida [73cb4551100a3a3120f14db9e7e2edff74a21567] Added skeleton files for ods_table class, under namespace 'model'. 2010-04-03 Kohei Yoshida [0cba348bdceffad4ee443c59a67442a25132780d] More on content.xml parsing. 2010-04-03 Kohei Yoshida [706f014d5ec3b74aa4f5fd1f9dc28b21849f0e5c] Pass parent element to the element handlers. 2010-04-03 Kohei Yoshida [82862adfa556cff1e7f7bb63ed19ec972bd1d095] Print parsed content of content.xml to html for debugging. 2010-04-03 Kohei Yoshida [a14f7e526726f84846a137fe24c19bf343baa0c6] Get parent xml element to branch element handling. 2010-04-03 Kohei Yoshida [0305d3cf4c215d260b222cdc2c3f3d2bb94f7e0b] Print warnings on unhandled elements. 2010-04-03 Kohei Yoshida [4b19defe8290aa2f70756fa1919eba4ff6b7dc61] More on parsing ods content.xml. 2010-04-03 Kohei Yoshida [9d3ffe93d09dcdf19915ba7f07f617f7c0444be8] Code cleanup. 2010-04-03 Kohei Yoshida [562cee1b83ad4ee19df14bf5be01fad82166341d] Renamed ods_context_base to ods_content_xml_context. We should have one context class for each xml stream. 2010-04-03 Kohei Yoshida [9fc15c5ca2850233b9153876ac0e8fae83a777af] More on ods' context.xml parsing. 2010-04-02 Kohei Yoshida [f2de245b887204ba50703dd63b81b2e917b0e1c8] Instantiate ods context class and pass it to each ods handler. 2010-04-02 Kohei Yoshida [4ae4af692e6a91b59f340b2e4aa39eb0c1298aed] Added skeleton files for ods_context_test. Class ods_context_test is a test implementation of ods_context_base, used only for testing. 2010-04-02 Kohei Yoshida [e22cbc92a2a7ff123fe3ccca0a3f7f50f12d655a] Added ods_context_base skeleton files. 2010-04-02 Kohei Yoshida [b8d7724b28594372cb3980333ff2b2ea914c1d14] Separated ods handler class into own files. 2010-04-01 Kohei Yoshida [f2b45129d3c448c81ee1128022beb67391ad3226] Pass elements etc from the parser to the handler. 2010-04-01 Kohei Yoshida [269c6ded4221886071b1796db8b6030920e4c8cc] Have gen-token script generate constants into a .inl file. 2010-03-31 Kohei Yoshida [920fb5038fe72d8fc200cf1c480899bad3b46d3e] Add class for handling content.xml of ods document, and pass that to the parser. 2010-03-31 Kohei Yoshida [f14186df62e85609b3ae0b806cf1aace4581c37c] XML handler class to handle specific XML structures. It's still a skeleton class. 2010-03-28 Kohei Yoshida [195b1e1b603afef1c57d696cb050318b5c5d0054] Added test document from George Ou, which is probably one of the worst case scenarios. 2010-03-28 Kohei Yoshida [c7dc98128c0a8637ba65aa05e78153542eb9c9fc] Some string hash optimization. Reversing the bits of the string size as the initial hash value makes the query speed a bit faster. 2010-03-28 Kohei Yoshida [9f72f38fc252ce30ddb49667bd9546f22ff7b776] Run gen-tokens script before the headers, since one of the headers get generated by the script. 2010-03-28 Kohei Yoshida [0f94026cbe7fa6f352ff63c1b7b21a07bcf69357] Forgot to add this file... 2010-03-27 Kohei Yoshida [3c4d7badaebd7c25f957b74cf55b588ca58d7e32] Convert textural element names into a pair of tokens during the parse. 2010-03-27 Kohei Yoshida [d554ddb9927df7d95fa4e49990738f25f69a43eb] Add methods for namespace tokens in the 'tokens' class. 2010-03-27 Kohei Yoshida [6f500f99cf700fb7cc04ead4cbed2897d08be9ab] Generate name array for the namespace tokens as well. 2010-03-27 Kohei Yoshida [6b3e59d16cf2e70123666d18ee2b4d3be1e97264] Separate namespace tokens from the normal tokens. 2010-03-27 Kohei Yoshida [e33a00f1ca7375ec0acd8e2999ef249df5e4a58b] Return XML_UNKNOWN_TOKEN when the token name is not found. 2010-03-27 Kohei Yoshida [0fe3445cc4a179692e1b0cdb28bd8a14d4600712] Split the main() method code. 2010-03-27 Kohei Yoshida [b79c09fa2bc0258e3064c59277342ce39404407d] Make token generation part of the build dependency. 2010-03-27 Kohei Yoshida [10677294ed6f10f3f5a7363b59786ffb7ff573f5] Use mutex guard class for exception safety. 2010-03-27 Kohei Yoshida [d1e2d86d4cb4cd5b404143efb1ddb7249661b265] Finished up the tokens class definition. The class should be usable now. 2010-03-27 Kohei Yoshida [79def6dab0febc67e729d9a57f59d91db22861ef] More on token generation & added token handler class. The whole thing now compiles. 2010-03-27 Kohei Yoshida [4519855aec9790d0b645b6ac65d7d06676af8b13] More on token generation. 2010-03-27 Kohei Yoshida [a0e93d2881223f5e05ff5747e17e379c3b98273d] More on token generation script. 2010-03-27 Kohei Yoshida [29c5a42b04de4275f5884e776f4c601b5dfbd5e1] Add script to parse the ODF schema and pick up a set of unique tokens. 2010-03-27 Kohei Yoshida [56670c4285613785dd07fae0304539cce511ca45] Added latest ODF schema file. 2010-03-27 Kohei Yoshida [f6aca50f1ebb666bc3eaa21ae5b47bf1acf7e7bf] Code cleanup. 2010-03-27 Kohei Yoshida [0af98d42ef39f1a46b998985cb24b946218cb9b9] Start and end document sax handlers. 2010-03-27 Kohei Yoshida [6e0d313bc8e205754862c35c8b0e181bd9b04bc6] Initial skeleton code for implementing libxml's sax interface. 2010-03-27 Kohei Yoshida [036c5fe8dbd6c15bf6944f4310a9130b2c3d82ca] Use libxml to read and build xml doc tree from xml in-memory stream. 2010-03-27 Kohei Yoshida [c6d606319bce0918afff69a3496917c69f09ea1e] dump content to stdout during parsing of content.xml. 2010-03-27 Kohei Yoshida [7d98a2b678a1f2dca9bd3eeeae42caffc9488382] added xmlparser skeleton files. 2010-03-27 Kohei Yoshida [3293e58a5d8db727b6e5ea3e5af0b477b83218d8] only read content.xml for now. 2010-03-27 Kohei Yoshida [8e26709a93431e8341e30363f00d248bb3a10aaa] Turn off parts that are specific to libgsf's own ODF support. 2010-03-27 Kohei Yoshida [949d70fe8467d204342e97b9fab93e163d57f1fa] Fixed makefile header dependency. 2010-03-25 Kohei Yoshida [ad3158ec9bc9378d91f3e49d6c7af0a910d0c05b] Use get_gsf_ooo_ns() instead as the header says. 2010-03-25 Kohei Yoshida [4aa74be86dd6ea998c2a0bc1c047575f51c997e5] Initial code on parsing xml sub-stream. 2010-03-25 Kohei Yoshida [4acc83c58b66e107701fc220002633194c77edc1] Squashed tabs. 2010-03-25 Kohei Yoshida [a5ee2d7f26b133170a1c0a180d63c7b008162880] Initial commit.