]> Raphaël G. Git Repositories - bbcode/log
bbcode
5 years agoRemove stdbool, seems a deprecaded c99 feature master
Raphaël Gertz [Sun, 10 Feb 2019 05:39:19 +0000 (06:39 +0100)]
Remove stdbool, seems a deprecaded c99 feature
Add dump feature header
Add pcre header
Add root zend_string in bbcode_object
Fix type of flag to zend_long
Disable definition of not yet implemented flags
Fix accordingly default flag
Fix bbcode_destroy and bbcode_free prototypes to match php7 definitions
Reimplement bbcode_free to correctly free ressources of custom bbcode_object
Reimplement bbcode_destroy to trigger the destructor on the zend_object
Fix bbcode_clone to correctly duplicate object
Add comment and default members values in bbcode_create function
Allow tag arg to be null (we may use that to implement a default tag array later)
Implement bbcode_gen_child and bbcode_gen_parent functions (used in bbcode_check_tag)
Finish implementation of bbcode_check_tag
Check that tag don't contains a special chars =[]()/\\ which may trigger errors in pcre search
Sanitize warning messages
Add warning for empty parent array
Fix immutable array detection
Disable useless immutable empty array copy
Add open, close and default keys generation for root and multi types
Add child generation for root and multi types
Add parent generation for multi and single types
Add arg and img automatic support in single type
Compute opattern and cpattern, that we may use later for child detection
Duplicate root string to avoid any trouble with refcount
Use latest style in parameters parsing in constructor
Enable exception throwing to prevent the possibility to have an incomplete object returned
Comment useless code in destructor
Add work in progress bbcode_parse implementation
Add work in progress BBCode::parse method
Add various cleanup and comments

5 years agoRemove old useless test
Raphaël Gertz [Sun, 10 Feb 2019 04:54:54 +0000 (05:54 +0100)]
Remove old useless test

5 years agoAdd code enable and disable scripts
Raphaël Gertz [Sun, 10 Feb 2019 04:49:41 +0000 (05:49 +0100)]
Add code enable and disable scripts

5 years agoAdd basic tests
Raphaël Gertz [Sun, 10 Feb 2019 04:46:39 +0000 (05:46 +0100)]
Add basic tests
Add README for tests

5 years agoReset allow_null for args
Raphaël Gertz [Tue, 8 Jan 2019 18:06:10 +0000 (19:06 +0100)]
Reset allow_null for args

5 years agoSwitch to single|root|multi type
Raphaël Gertz [Tue, 8 Jan 2019 18:00:49 +0000 (19:00 +0100)]
Switch to single|root|multi type
Add bool feature
Remove IS_CONSTANT type as it's not avaible anymore in current php api
Partial implementation of bbcode_check_tag
Partial implementation of bbcode_check_smiley
Implement destructor
Add todos

5 years agoSwitch to single|root|multi type
Raphaël Gertz [Tue, 8 Jan 2019 17:59:32 +0000 (18:59 +0100)]
Switch to single|root|multi type
Adapt to new data structure

5 years agoAdd new cloning test
Raphaël Gertz [Sat, 15 Sep 2018 10:14:33 +0000 (12:14 +0200)]
Add new cloning test

5 years agoAdd unit tests
Raphaël Gertz [Sat, 15 Sep 2018 10:13:55 +0000 (12:13 +0200)]
Add unit tests

5 years agoAdd package.xml template for pecl integration, later
Raphaël Gertz [Sat, 15 Sep 2018 10:13:30 +0000 (12:13 +0200)]
Add package.xml template for pecl integration, later

5 years agoFix api by replacing __toString with parse
Raphaël Gertz [Sat, 15 Sep 2018 10:11:19 +0000 (12:11 +0200)]
Fix api by replacing __toString with parse
Add parse arginfo
Fix args naming

5 years agoFix credits correctly
Raphaël Gertz [Sat, 15 Sep 2018 10:10:25 +0000 (12:10 +0200)]
Fix credits correctly

5 years agoFix flag default value
Raphaël Gertz [Tue, 26 Jun 2018 13:33:05 +0000 (15:33 +0200)]
Fix flag default value
Fix cloning to fetch correctly bbcode object
Replace member flag value with old one

5 years agoAdd debug
Raphaël Gertz [Tue, 26 Jun 2018 08:50:23 +0000 (10:50 +0200)]
Add debug

5 years agoMove handler as global like in
Raphaël Gertz [Tue, 26 Jun 2018 07:41:45 +0000 (09:41 +0200)]
Move handler as global like in
https://wiki.php.net/phpng-upgrading

5 years agoFirst import
Raphaël Gertz [Tue, 26 Jun 2018 07:06:28 +0000 (09:06 +0200)]
First import