aboutsummaryrefslogtreecommitdiffstats
path: root/main/xmldoc.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-17Merged revisions 253032 via svnmerge from lmadsen1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r253032 | lmadsen | 2010-03-16 19:40:51 -0500 (Tue, 16 Mar 2010) | 1 line Fix a typo. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@253033 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Merged revisions 196948 via svnmerge from seanbright1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r196948 | seanbright | 2009-05-26 18:43:21 -0400 (Tue, 26 May 2009) | 8 lines Reset the terminal to the correct fg/bg after XML documenation is rendered. (closes issue #15200) Reported by: ajohnson Patches: 05262009_xmldoc.patch uploaded by seanbright (license 71) Tested by: ajohnson ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@196951 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-15Merged revisions 194635 via svnmerge from eliel1-0/+9
https://origsvn.digium.com/svn/asterisk/trunk ........ r194635 | eliel | 2009-05-15 09:23:37 -0400 (Fri, 15 May 2009) | 16 lines Allow to specify an enumlist inside an enum. It was not possible to use an enumlist inside an enum: <enumlist> <enum name="aa"> <enumlist> ... </enumlist> </enum> </enumlist> Now we will be able to insert as many levels as we want. (closes issue #15112) Reported by: lmadsen ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@194648 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-31Don't forget to free typenametwilson1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167057 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-13Merge ast_str_opaque branch (discontinue usage of ast_str internals)tilghman1-21/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@163991 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-08- Fix a leak while printing an argument description.eliel1-5/+52
- Avoid printing the name of an argument in the [Arguments] tag if there is no description for that argument. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@161637 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-29incorporates r159808 from branches/1.4:kpfleming1-1/+1
------------------------------------------------------------------------ r159808 | kpfleming | 2008-11-29 10:58:29 -0600 (Sat, 29 Nov 2008) | 7 lines update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them format attributes in a consistent way ------------------------------------------------------------------------ in addition: move some format attributes from main/utils.c to the header files they belong in, and fix up references to the relevant functions based on new compiler warnings git-svn-id: http://svn.digium.com/svn/asterisk/trunk@159818 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-19Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon ↵twilson1-1/+1
trying to parse an invalid config git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157818 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-15Avoid a not needed cast, making code more readable.eliel1-14/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157073 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-13Introduce XML documentation for:eliel1-2/+13
- MeetMe() - MeetMeCount() - MeetMeChannelAdmin() - MeetMeAdmin() - SLAStation() - SLATrunk() - Add an attribute to optionlist 'hasparams' with the same functionality as the one we have in <parameter> and <argument> (the DTD was updated) - Fix a leak when getting an attribute while parsing an <optionlist>. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@156575 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-13Fix a typo introduced when changing xmldoc_has_arguments() to ↵eliel1-2/+2
xmldoc_has_inside() we need to pass the name of the node that we are looking for. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@156541 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-13Remove trailing whitespaceseliel1-6/+6
using ':%s/\s\+$//' pointed by seanbright on #asterisk-dev git-svn-id: http://svn.digium.com/svn/asterisk/trunk@156535 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-12- The paramname is a pointer allocated with strdup() or malloc(), so,eliel1-3/+3
we need to free it with ast_free(). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@156162 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-12Implement AGI XML documentation parsing functions.eliel1-10/+193
A new <agi> element is used to describe the XML documentation. We have the usual synopsis,syntax,description and seealso for AGI commands. The CLI 'agi show commands' command was changed to show all the documentation se ctions. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@156051 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-10Move all the XML documentation API from pbx.c to xmldoc.c.eliel1-0/+1621
Export the XML documentation API: ast_xmldoc_build_synopsis() ast_xmldoc_build_syntax() ast_xmldoc_build_description() ast_xmldoc_build_seealso() ast_xmldoc_build_arguments() ast_xmldoc_printable() ast_xmldoc_load_documentation() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@155711 f38db490-d61c-443f-a65b-d21fe96a405b