📄 changelog
字号:
- Use the new 'WBXMLLanguage' enum. - Added a new parameter to wbxml_parser_parse_to_tree() to force to parse the document to a given Language. - Added wbxml_parser_set_language() that replaces the old wbxml_parser_set_wbxml_public_id(). - Changed wbxml_parser_get_wbxml_public_id() and wbxml_parser_get_xml_public_id() behaviour. * src/wbxml_encoder.c: Use the new 'WBXMLLanguage' enum. * conv/wbxml_conv.h: Added the 'lang' parameter to WBXML2XMLParameters structure. * conv/wbxml2xmlc.: Use wbxml_parser_set_language() in Direct Mode. Use the new parameter of wbxml_parser_parse_to_tree() in Tree Mode. * tools/wbxml2xml_tool.c: Added '-l' option so that the user can force parsing of document to a given Language. * win32/*.dsp, conv/Makefile.am, src/Makefile.am, tools/Makefile.am, tools/wbxml2xml_tool.c, src/wbxml.h, src/wbxml_errors.h, src/wbxml_log.h, src/wbxml_encoder.c, src/wbxml_errors.c, src/wbxml_log.c, wbxml_parser.c, wbxml_tables.c: Added compilation flags for selecting supported languages.2003-04-30 Aymerick J閔anne <libwbxml@jehanne.org> * src/wbxml.h : Added #pragma for WIN32 plateform, so that some hidden warnings generate errors. Thanks to Ramki for it's ARM compilation support ;) * src/*, conv/*, tools/* : Modified numerous files to correct this 'new' errors. Modified some structures (mainly in 'src/wbxml_tables.h', and added some macro for automatic casts so that we don't have to modify the API. Most of the modifications concern WB_TINY to WB_UTINY casts.2003-04-26 Aymerick J閔anne <libwbxml@jehanne.org> * New release of wbxml2: 0.7.22003-04-26 Aymerick J閔anne <libwbxml@jehanne.org> * src/wbxml.h: Casted strlen(), strdup(), strcmp(), strncmp() and strstr() parameters to (const char*) in macros. * src/wbxml_tables.[h|c]: Added function wbxml_tables_contains_attr_value_from_xml() * wbxml_encoder.c: - Changed WBXML_ENCODER_STRING_TABLE_MIN to '3'. - In wbxml_strtbl_collect_strings(): check if the attribute value is tokenisable before adding it to string table. - In wbxml_encode_value_element_buffer(): corrected a bug when splitting the buffer for String Table elements2003-04-25 Aymerick J閔anne <libwbxml@jehanne.org> * testsuite/prov: Added OMA Prov 1.0 Test Suite * src/wbxml_tables.c: Updated Prov 1.0 tables (added new OMA elements / attributes) * src/wbxml_encoder.c: Ignore blanks Text Node when building String Table2003-04-24 Aymerick J閔anne <libwbxml@jehanne.org> * Changed 'CR-LF' to 'LF' in all source files and Makefiles. This should permits Linux users to compile normally. Thanks to Jannes Faber for finding this solution.2003-04-19 Aymerick J閔anne <libwbxml@jehanne.org> * Added Parsing of WV DateTime - Encoding not yet finished * src/wbxml_tables.c : wbxml_tables_get_attr_from_xml() - check if attr table is NULL ... thanx to Bo Lincoln2003-03-26 Aymerick J閔anne <libwbxml@jehanne.org> * wbxml_encoder.c, wbxml_tables.c: More work on WV. Now Extension tokens are generated, even while encoding simple String.2003-03-25 Aymerick J閔anne <libwbxml@jehanne.org> * wbxml_errors.[h|c]: Added 'WBXML_NOT_ENCODED' and 'WBXML_ERROR_WV_INTEGER_OVERFLOW' error codes. * wbxml_encoder.c: Added wbxml_encode_wv_content() and wbxml_encode_wv_integer() functions. Now WV Integers are encoded correctly. * wbxml.h: Added 'enum WBXMLWVDataType_e', that is used in Encoder and in Parser. * wbxml_tables.[h|c]: Added wbxml_tables_get_ext_from_xml() to get an Extension Token from tables. * wbxml_parser.c: Added decode_opaque_content() and decode_wv_integer(). Now WV Integers are decoded correctly. 2003-03-24 Aymerick J閔anne <libwbxml@jehanne.org> * wbxml_tables.[c|h]: wbxml_tables_get_attr_from_xml(): modified for better behaviour. Now it returns the attribute value part that is not included in Attribute Token returns. * wbxml_encoder.c: Now use wbxml_tables_get_tag_from_xml() and wbxml_tables_get_attr_from_xml(). * conv/xml2wbxml_clb.c: Modification due to changes of wbxml_tables_get_attr_from_xml() prototype.2003-03-23 Aymerick J閔anne <libwbxml@jehanne.org> * wbxml_tables.[h|c]: Added Wireless-Village 1.2 tokens. This is taken from a Beta spec from OMA that contains some bugs. Hope this will be corrected in next release of the spec. Corrected XML Public ID and DTD of OMA WV 1.1. * wbxml_tables.c: Added macro WBXML_TABLES_SEPARATE_WML_VERSIONS. If undefined, only WML 1.3 tables are used, for all versions of WML. * testsuite/wv: Corrected for OMA WV 1.12003-03-22 Aymerick J閔anne <libwbxml@jehanne.org> * Added 'testsuite/emn': E-Mail Notification 1.0 Test Suite * src/wbxml_encoder.c, src/wbxml_parser.c: Added encoding/decoding of EMN 1.0 'timestamp' attribute2003-03-21 Aymerick J閔anne <libwbxml@jehanne.org> * New release of wbxml2: 0.7.12003-03-20 Aymerick J閔anne <libwbxml@jehanne.org> * Added /doc directory, with Docbook file and generated HTML * Added /web directory, with the few website files * Worked with Pau Alliagas on Linux port 2003-03-19 Aymerick J閔anne <libwbxml@jehanne.org> * Review the header files include mecanism * Debug2003-03-17 Aymerick J閔anne <libwbxml@jehanne.org> * Added Encoding/Decoding of SI %Datetime Attribute Values * Added /testsuite/testsuite.xml Index File * Added /testsuite/si/si-022.xml, /testsuite/si/si-023.xml, /testsuite/si/si-024.xml, /testsuite/si/si-025.xml2003-03-16 Aymerick J閔anne <libwbxml@jehanne.org> * New 'wbxml2' branch. A lot of changes: - Now, we have two libraries: - libwbxml2 (standalone) - libwbxml2_conv (needs libwbxml2 and Expat libraries) - A new representation of WBXML Document: The WBXMLTree - Review of tokenisation of Attribute Values - etc... * The Makefile for wbxml2xml and xml2wbxml tools is not finished2003-02-21 Aymerick J閔anne <libwbxml@jehanne.org> * src/Makefile.am: Removed definition of WBXML_LIB_VERBOSE, replaced by the '-DWBXML_LIB_VERBOSE' CFLAG in src/Makefile.am (thanks to Pau Aliagas)2003-02-03 Aymerick J閔anne <libwbxml@jehanne.org> * wbxml_tables.c: Fixed "WVCSPFeat" attribute * bootstrap: chmoded correctly2003-01-28 Aymerick J閔anne <libwbxml@jehanne.org> * New release v0.6.1 (not yet packaged) 2003-01-27 Pau Aliagas <pau@smsarena.com> * Adapt to autotools * Build dynamic library * Create a spec file for rpm 2003-01-25 Aymerick J閔anne <libwbxml@jehanne.org> * wbxml_tables.c: Removed a bug in 'sv_prov10_attr_table'. Thanks to Pau Aliagas. * src/wbxml_parser.c and test/parser_clb.c: Removed a bug with empty attribute value. 2002-12-08 Aymerick J閔anne <wbxml_lib@jehanne.org> * New release v0.62002-12-08 Aymerick J閔anne <wbxml_lib@jehanne.org> * wbxml_parser.c : Removed bug when parsing Literal Tag * wbxml_buffers.c : Removed bug in wbxml_buffer_create() * wbxml_encoder.c : Now encode Literal Attribut Names and Tags * Added Leak Tracker Support in several files * Redone a new 'makefile' (still needs 'configure' to searche for LibXML2)2002-12-07 Aymerick J閔anne <wbxml_lib@jehanne.org> * Added wbxml_lists.[h|c]: List module needed by String Table handling in wbxml_encoder.c. * Added support of String Table in WBXML Encoder (still needs testing) * Still needs: - Apply String Table to attribute values - Handle Literal tags and Attribute Names2002-12-04 Aymerick J閔anne <wbxml_lib@jehanne.org> * Changed the Log Mecanism: Added Macros with variable parameters number 2002-12-01 Aymerick J閔anne <wbxml_lib@jehanne.org> * More work on Wireless-Village CSP2002-11-24 Aymerick J閔anne <wbxml_lib@jehanne.org> * Added first version of WBXML Encoder... not really tested yet * Todo in WBXML Encoder: - Remove Ignorable XML Whitespaces before parsing - Handle String Table - Parse CDDATA - Parse PI - Encode Literal tags and Literal attribute names - Correctly encode the attribute values (not only as Inline Strings) - Handle Charsets Encoding 2002-11-14 Aymerick J閔anne <wbxml_lib@jehanne.org> * Commited Benedykt Kroplewski modifications2002-11-11 Benedykt Kroplewski <benedykt@age.pl> * Correct simple lenght variable bug in wbxml lib and parser * Correct macros for compile with my Slackware linux... * Make more detailed debug messages... * Added SyncMl 1.0 definitions...(my phone use it)2002-11-11 Aymerick J閔anne <wbxml_lib@jehanne.org> * Reorganized DLLs to start coding of a WBXML Encoder: - wbxml_common: Common WBXML Functions - wbxml_parser: WBXML Parser - wbxml_encoder: WBXML Encoder * wbxml_tables.c: New function wbxml_table_get_main() to get pointer on main WBXML Languages Table * wbxml_parser.c: Modified to use wbxml_table_get_main() * New files wbxml_encoder.[h|c]: nothing inside for now * Removed file wbxml_types.h => moved into new file wbxml.h * New magic macro "WBXML_DECLARE" for automatic DLL export under Windows, so lot of files has been updated to use this macro2002-09-22 Aymerick J閔anne <wbxml_lib@jehanne.org> * Added a best effort mode (WBXML_PARSER_BEST_EFFORT define). * New release v0.52002-09-08 Aymerick J閔anne <wbxml_lib@jehanne.org> * Removed bug in parse_attr_start() for 'attrCodePage' search.2002-08-16 Aymerick J閔anne <wbxml_lib@jehanne.org> * Changed a stupid logic in wbxml_buffers.c for memory management (gosh)2002-08-15 Aymerick J閔anne <wbxml_lib@jehanne.org> * Changed all Tabs to '4 spaces' * Changed root element of WTA WML 1.2 to 'wta-wml' * Changed 'Channel 1.2' token from 0x0D to 0x0E. I don't really understand if Channel 1.2 Public ID is "-//WAPFORUM//DTD DLREL 1.0//EN" or "-//WAPFORUM//DTD CHANNEL 1.2//EN" (http://www.wapforum.org/wina/wbxml-public-docid.htm) * Added Token an Attribute tables for Wireless Village CSP 1.1, but it's not really usefull, because there is no PublicID defined for it. I have to implement support of Extension Tokens for CSP 1.1 too... but... well... why have they defined use of Extension Tokens instead of normal Attribute Value Table ??2002-08-03 Aymerick J閔anne <wbxml_lib@jehanne.org> * Enum and Struct naming clean-up * Added "NULL" line in sv_table_entry to avoid crash if publicId not found. * New release v0.42002-07-13 Aymerick J閔anne <wbxml_lib@jehanne.org> * Makefile for Linux done (only tested with Cygwin) * src/wbxml_parser.c: Removed duplicate WBXMLParser Typedef (Linux Error generated) * test/parser_tester.c: Changed main() argv parameter type (Linux Warning generated) * Added a WBXML Test File * Making release v0.32002-06-29 Aymerick J閔anne <wbxml_lib@jehanne.org> * Making release v0.22002-06-29 Aymerick J閔anne <wbxml_lib@jehanne.org> * Added a Windows GUI. It seems to work.. it's late... and i go to bed... 2002-06-28 Aymerick J閔anne <wbxml_lib@jehanne.org> * Added 'extern "C"' in *.h files, so that we can use the library in a C++ program.2002-06-19 Aymerick J閔anne <wbxml_lib@jehanne.org> * Ho yes ! Now wbxmllib is accessible via SourceForge ! =)2002-06-15 Aymerick J閔anne <wbxml_lib@jehanne.org> * First release of WBXML Library (v0.1) under LGPL 2.1 It contains a WBXML Parser, with a SAX like interface. Known issues: - Support of Charsets not fully implemented (we assume that strings are NULL terminated). - Only tested with WML Content.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -