[Wesnoth-bugs] [patch #2785] Improvements to schema generator tool

2011-08-11 Thread Sytyi Nick
Update of patch #2785 (project wesnoth): Status:Works For Me => Done ___ Reply to this item at: ___ Message se

[Wesnoth-bugs] [patch #2785] Improvements to schema generator tool

2011-07-29 Thread Sytyi Nick
Update of patch #2785 (project wesnoth): Status:None => Works For Me ___ Reply to this item at: ___ Message se

[Wesnoth-bugs] [patch #2815] Validation tool initial version.

2011-07-29 Thread Sytyi Nick
Follow-up Comment #4, patch #2815 (project wesnoth): right schema file (file #13694) ___ Additional Item Attachment: File name: schema.cfg Size:55 KB ___ Reply

[Wesnoth-bugs] [patch #2815] Validation tool initial version.

2011-07-29 Thread Sytyi Nick
Follow-up Comment #3, patch #2815 (project wesnoth): Initial realization of validation - checks if tag is allowed. Do not count tags yet. (file #13692, file #13693) ___ Additional Item Attachment: File name: real_validator.patch

[Wesnoth-bugs] [patch #2815] Validation tool initial version.

2011-07-22 Thread Sytyi Nick
Follow-up Comment #1, patch #2815 (project wesnoth): Rewrited some methods signature due to mordante's critics. Abstract part of validation. (file #13631) ___ Additional Item Attachment: File name: validator.patchSize:7 K

[Wesnoth-bugs] [patch #2785] Improvements to schema generator tool

2011-07-22 Thread Sytyi Nick
Follow-up Comment #3, patch #2785 (project wesnoth): Full list of all improvements in this patch. * Access to all tag child (tags, keys,links) * Implemented search using root. * Type support - reading and saving. * Validation of all keys - whether type exists or no. * Validation of all links, inc

[Wesnoth-bugs] [patch #2815] Validation tool initial version.

2011-07-19 Thread Sytyi Nick
URL: Summary: Validation tool initial version. Project: Battle for Wesnoth Submitted by: sytyi Submitted on: Втр 19 Июл 2011 12:55:18 Priority: 5 - Normal Status: None

[Wesnoth-bugs] [patch #2629] An example of WML Annnotation

2011-07-17 Thread Sytyi Nick
Follow-up Comment #4, patch #2629 (project wesnoth): Patch to commit with changes to wiki grabber. (file #13598) ___ Additional Item Attachment: File name: anno.patch Size:8 KB __

[Wesnoth-bugs] [patch #2629] An example of WML Annnotation

2011-07-16 Thread Sytyi Nick
Follow-up Comment #3, patch #2629 (project wesnoth): A patch to commit. (file #13592) ___ Additional Item Attachment: File name: anno.patch Size:7 KB ___ Reply

[Wesnoth-bugs] [patch #2629] An example of WML Annnotation

2011-07-16 Thread Sytyi Nick
Follow-up Comment #2, patch #2629 (project wesnoth): Added initial type support (file #13591) ___ Additional Item Attachment: File name: anno.patch Size:46 KB _

[Wesnoth-bugs] [patch #2785] Improvements to schema generator tool

2011-07-16 Thread Sytyi Nick
Follow-up Comment #2, patch #2785 (project wesnoth): ooops (file #13582) ___ Additional Item Attachment: File name: sg.patch Size:33 KB ___ Reply to this ite

[Wesnoth-bugs] [patch #2785] Improvements to schema generator tool

2011-07-16 Thread Sytyi Nick
Follow-up Comment #1, patch #2785 (project wesnoth): All from below stays true for this patch + Some style issues + Expanding tags (file #13581) ___ Additional Item Attachment: File name: sg.patch Size:33 KB __

[Wesnoth-bugs] [patch #2785] Improvements to schema generator tool

2011-07-11 Thread Sytyi Nick
URL: Summary: Improvements to schema generator tool Project: Battle for Wesnoth Submitted by: sytyi Submitted on: Пнд 11 Июл 2011 18:40:57 Priority: 5 - Normal Status: None

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-07-09 Thread Sytyi Nick
Follow-up Comment #18, patch #2636 (project wesnoth): Fixed some style bugs. Added type support. Added checking if key type exists, and generate warning if no. Warnings are cached, and if new type appears - warnings are deleted. If any need - caching can be rewritten to take less memory. (file

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-07-04 Thread Sytyi Nick
Follow-up Comment #17, patch #2636 (project wesnoth): fixed warning about using unsigned type - used std::string::size_type instead. fixed style bugs - lines are 80 symbols long and indentation is made with tabs. (file #13461) ___ Addit

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-07-03 Thread Sytyi Nick
Follow-up Comment #16, patch #2636 (project wesnoth): WML polishing. Added toplevel tag [wml_schema] to contain [root] (file #13455) ___ Additional Item Attachment: File name: sg.patch Size:48 KB __

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-07-01 Thread Sytyi Nick
Follow-up Comment #15, patch #2636 (project wesnoth): Fixed bug with quoting default value. Changed the default output from ./utils/schema.cfg to ./data/gui/schema.cfg (file #13440) ___ Additional Item Attachment: File name: sg.patch

[Wesnoth-bugs] [patch #2629] An example of WML Annnotation

2011-06-30 Thread Sytyi Nick
Follow-up Comment #1, patch #2629 (project wesnoth): A patch with a couple of annotated documents. (file #13433, file #13434) ___ Additional Item Attachment: File name: anno.patch Size:42 KB File name: GREP_WIKI.bash

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-29 Thread Sytyi Nick
Follow-up Comment #14, patch #2636 (project wesnoth): Fixed bug in default value, /// doxygen comments, Changed default initial indentation for schema file to 0 instead of 1. Added support of super-tag (inheritance in tag annotations) Also included annotated file canvas.cpp as examp

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-22 Thread Sytyi Nick
Follow-up Comment #13, patch #2636 (project wesnoth): Change magic number tp Int_Max (file #13315) ___ Additional Item Attachment: File name: schema.patch Size:54 KB

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-22 Thread Sytyi Nick
Follow-up Comment #12, patch #2636 (project wesnoth): Fixed bugs with returning pointer and while loop. (file #13314) ___ Additional Item Attachment: File name: schema.patch Size:54 KB

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-22 Thread Sytyi Nick
Follow-up Comment #11, patch #2636 (project wesnoth): Fixed style bugs. Added support of "add a child to link " and "forgotten close tag". The second looks like @begin{tag}{name=foo} @begin{tag}{name=bar} @end{tag}{name=foo} Tag bar will be closed and added to foo children, and then foo will

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-21 Thread Sytyi Nick
Additional Item Attachment, patch #2636 (project wesnoth): File name: schema.patch Size:53 KB ___ Reply to this item at: ___ Message sent via

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-21 Thread Sytyi Nick
Follow-up Comment #10, patch #2636 (project wesnoth): Polish & polish. (file #13305) ___ Additional Item Attachment: File name: schema.patch Size:60 KB ___ Reply

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-20 Thread Sytyi Nick
Follow-up Comment #9, patch #2636 (project wesnoth): Add a support to @allow{global} - link to multiuse tag in global/ Refactored and styled code. After long thinking decided not to support {tag}...{global="true"} Details on irc. If you haven't looked at previous - don't do it. (file #13293

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-19 Thread Sytyi Nick
Follow-up Comment #8, patch #2636 (project wesnoth): The first patch. Contains source, changes to CMakeLists.txt and sone annotated source for test. But this annotations confuses wiki greabber, so need to do smth. Sorry if any style errors, - have been working for near 16 hours. @Todo add {globa

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-18 Thread Sytyi Nick
Follow-up Comment #7, patch #2636 (project wesnoth): Created new parent support. Now all parents schold be spelled like /topleveltag/grandparenttag/.../parent This will solve all problems with merging tags. the / element is called root and it is saved in root.txt. (file #13267)

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-17 Thread Sytyi Nick
Follow-up Comment #6, patch #2636 (project wesnoth): Add regex factory. Made isparent a not mandatory annotation. Changed minoccurs and maxoccurs to min and max. Work on isparent support in progress. want to make something like tree of tags. When adding a parent you schould mention his way to r

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-17 Thread Sytyi Nick
Additional Item Attachment, patch #2636 (project wesnoth): File name: example.0.4.zipSize:11 KB ___ Reply to this item at: ___ Message sent via

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-15 Thread Sytyi Nick
Additional Item Attachment, patch #2636 (project wesnoth): File name: example.0.3.zipSize:68 KB ___ Reply to this item at: ___ Message sent via

[Wesnoth-bugs] [patch #2636] a small proof on concept of WML validation

2011-06-13 Thread Sytyi Nick
Additional Item Attachment, patch #2636 (project wesnoth): File name: example.0.2.zipSize:20 KB ___ Reply to this item at: ___ Message sent via