summaryrefslogtreecommitdiff
path: root/Source/Modules/xml.cxx
Commit message (Collapse)AuthorAgeFilesLines
* XML whitespace changesWilliam S Fulton2022-10-101-13/+13
| | | | Remove non-conventional whitespace before closing tag with '>'.
* Use https for swig.org linksOlly Betts2022-10-061-1/+1
|
* Add DOH Exit() and SetExitHandler()Olly Betts2022-03-061-3/+3
| | | | | | | | | | | | | | | | | | | | | Exit() is a wrapper for exit() by default, but SetExitHandler() allows specifying a function to call instead. This means that failures within DOH (e.g. Malloc() failing due to lack of memory) will now perform cleanup such as removing output files. This commit also cleans up exit statuses so SWIG should now reliably exit with status 0 if the run was successful and status 1 if there was an error (or a warning and -Werror was in effect). Previously in some situations SWIG would try to exit with the status set to the number of errors encountered, but that's problematic - for example if there were 256 errors this would result in exit status 0 on most platforms. Also some error statuses have special meanings e.g. those defined by <sysexits.h>. Also SWIG/Javascript tried to exit with status -1 in a few places (which typically results in exit status 255).
* Update xml.cxx to return typenames (#777)ahmed-usman2016-09-271-2/+2
| | | | Typenames were being returned wrong, so add a condition to handle templateparms correctly.
* [xml] Fix how the output filename is builtOlly Betts2016-08-051-3/+5
| | | | | Avoid problems when it contains the embedded strings ".c", ".cpp" or ".cxx". Fixes #540 reported by djack42.
* Remove cvs/svn Id stringsWilliam S Fulton2013-01-121-2/+0
|
* Fix display of pointers on 64 bit systems, only 32 bit values were being shown.William S Fulton2012-07-211-10/+10
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Apply #3513569 which adds a catchlist to the xml outputWilliam S Fulton2012-04-131-3/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* SWIG license change - Source moves to GPLv3William S Fulton2010-02-271-2/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* customised ccache support: read the CCACHE_OUTFILES env variable and if ↵William S Fulton2008-11-031-3/+3
| | | | | | exists, the names of all generated files are written to the filename specified in the env variable git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Replace cvs $Header$ with svn $Id$William S Fulton2007-10-171-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* beautify/format source code with gnu indentWilliam S Fulton2006-11-011-317/+260
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* cosmetic modsWilliam S Fulton2006-05-131-3/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Common template for head of each file detailing licence, distribution and ↵William S Fulton2006-03-061-11/+5
| | | | | | authors information git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Better error message displayed when file cannot be openedWilliam S Fulton2005-09-081-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Bug #1251832 - C++ template may generate invalid XML file (+correction)William S Fulton2005-08-151-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix incorrect xml escaping in base class name when base class is a templateWilliam S Fulton2005-08-141-1/+16
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* swig -help prints to stdout not stderr nowWilliam S Fulton2005-02-151-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* XML patch from Robin Dunn adds -dump_xml and -xmlout <file> for generating ↵William S Fulton2004-07-121-5/+33
| | | | | | XML of post processed parse tree git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Eric Sunshine patch - Mods to work on NextStepWilliam S Fulton2004-01-221-2/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Moved non static function declarations from source files into header filesWilliam S Fulton2003-12-281-6/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* [ 829319 ] XML module tweaksDave Beazley2003-10-311-2/+11
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Major refactoring of DOH List/Hash iterators. See CHANGESDave Beazley2003-09-111-13/+13
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* -outdir commandline option support => directory for proxy class and other ↵William S Fulton2003-08-071-2/+2
| | | | | | | | | language specific files -help tidy up git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added preprocessor symbolsWilliam S Fulton2003-07-041-0/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fixed xml sym:name problem.Dave Beazley2003-03-231-4/+8
| | | | | | | | | | | | | | | **** SPECIAL CAUTION TO DEVELOPERS **** The strings that represent attribute key names like "name", "sym:name", "type", and so forth are extensively shared to save memory. If a key name is modified for some reason (which is not recommended), be aware that those change may affect thousands of parse tree nodes. Moreover, changes to a key name will break the hashing algorithm used to perform attribute lookup. Bottom line: don't modify hash table key strings. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* deprecated -xml output.xmlKlaus Wiederänders2003-02-221-9/+15
| | | | | | | use -o instead git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* (Xml_print_attributes): Do "&" replacementThien-Thi Nguyen2003-01-081-63/+64
| | | | | | | | before any others that might introduce "&" into the stream. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* File moveDave Beazley2002-12-031-0/+318
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4150 626c5289-ae23-0410-ae9c-e8d60b6d4f22