From 2efdfbfb1b8ad386b5198f3ce022562ea8397217 Mon Sep 17 00:00:00 2001 From: "Fletcher T. Penney" Date: Fri, 21 Jul 2017 20:43:04 -0400 Subject: [PATCH] UPDATED: Use astyle with header files as well --- .astylerc | 15 +++++- Makefile | 2 +- Sources/libMultiMarkdown/aho-corasick.h | 26 +++++------ Sources/libMultiMarkdown/beamer.h | 24 +++++----- Sources/libMultiMarkdown/char.h | 24 +++++----- Sources/libMultiMarkdown/critic_markup.h | 28 +++++------ Sources/libMultiMarkdown/epub.h | 26 +++++------ Sources/libMultiMarkdown/fodt.h | 24 +++++----- Sources/libMultiMarkdown/html.h | 22 ++++----- Sources/libMultiMarkdown/i18n.h | 8 ++-- Sources/libMultiMarkdown/latex.h | 22 ++++----- Sources/libMultiMarkdown/lexer.h | 28 +++++------ Sources/libMultiMarkdown/memoir.h | 24 +++++----- Sources/libMultiMarkdown/mmd.h | 22 ++++----- Sources/libMultiMarkdown/object_pool.h | 32 ++++++------- .../libMultiMarkdown/opendocument-content.h | 46 +++++++++---------- Sources/libMultiMarkdown/opendocument.h | 44 +++++++++--------- Sources/libMultiMarkdown/scanners.h | 24 +++++----- Sources/libMultiMarkdown/stack.h | 38 +++++++-------- Sources/libMultiMarkdown/textbundle.h | 46 +++++++++---------- Sources/libMultiMarkdown/token_pairs.h | 46 +++++++++---------- Sources/libMultiMarkdown/transclude.h | 26 +++++------ Sources/libMultiMarkdown/uuid.h | 34 +++++++------- Sources/libMultiMarkdown/writer.h | 26 +++++------ Sources/libMultiMarkdown/zip.h | 46 +++++++++---------- 25 files changed, 358 insertions(+), 345 deletions(-) diff --git a/.astylerc b/.astylerc index 6acda5c..24a2053 100644 --- a/.astylerc +++ b/.astylerc @@ -8,12 +8,25 @@ # Switch statements --indent-switches +# Break long conditionals +--break-after-logical + +# Indent pre-processor directives +--indent-preproc-block +--indent-preproc-cond + # Excludes --exclude="Sources/libMultiMarkdown/scanners.c" --exclude="Sources/libMultiMarkdown/parser.c" --exclude="Sources/libMultiMarkdown/lexer.c" ---exclude="Sources/multimarkdown/argtable3.c" + +--exclude="Sources/libMultiMarkdown/i18n.h" --exclude="Sources/libMultiMarkdown/miniz.c" +--exclude="Sources/libMultiMarkdown/miniz.h" +--exclude="Sources/libMultiMarkdown/uthash.h" + +--exclude="Sources/multimarkdown/argtable3.c" +--exclude="Sources/multimarkdown/argtable3.h" --ignore-exclude-errors diff --git a/Makefile b/Makefile index 93f4e23..7ca2d3f 100644 --- a/Makefile +++ b/Makefile @@ -128,4 +128,4 @@ CHANGELOG: # Use astyle .PHONY : astyle astyle: - astyle --options=.astylerc "Sources/libMultiMarkdown/*.c" "Sources/multimarkdown/*.c" + astyle --options=.astylerc "Sources/libMultiMarkdown/*.c" "Sources/multimarkdown/*.c" "Sources/libMultiMarkdown/*.h" "Sources/multimarkdown/*.h" diff --git a/Sources/libMultiMarkdown/aho-corasick.h b/Sources/libMultiMarkdown/aho-corasick.h index dc0bb71..fec780d 100644 --- a/Sources/libMultiMarkdown/aho-corasick.h +++ b/Sources/libMultiMarkdown/aho-corasick.h @@ -4,11 +4,11 @@ @file aho-corasick.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `c-template` project is released under the MIT License. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -113,7 +113,7 @@ void trie_to_graphviz(trie * a); #ifdef TEST -#include "CuTest.h" + #include "CuTest.h" #endif diff --git a/Sources/libMultiMarkdown/beamer.h b/Sources/libMultiMarkdown/beamer.h index eca3beb..a25a78b 100644 --- a/Sources/libMultiMarkdown/beamer.h +++ b/Sources/libMultiMarkdown/beamer.h @@ -4,11 +4,11 @@ @file beamer.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/Sources/libMultiMarkdown/char.h b/Sources/libMultiMarkdown/char.h index f14ae50..ffae451 100644 --- a/Sources/libMultiMarkdown/char.h +++ b/Sources/libMultiMarkdown/char.h @@ -8,7 +8,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -57,7 +57,7 @@ #define CHAR_SMART_STRING_H #ifdef TEST -#include "CuTest.h" + #include "CuTest.h" #endif /// Define character types diff --git a/Sources/libMultiMarkdown/critic_markup.h b/Sources/libMultiMarkdown/critic_markup.h index 1c78b6e..167668c 100644 --- a/Sources/libMultiMarkdown/critic_markup.h +++ b/Sources/libMultiMarkdown/critic_markup.h @@ -4,11 +4,11 @@ @file critic_markup.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,20 +18,20 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -39,10 +39,10 @@ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. @@ -50,7 +50,7 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - + */ @@ -80,7 +80,7 @@ enum cm_types { CM_ADD_PAIR, CM_DEL_PAIR, CM_SUB_PAIR, - CM_HI_PAIR, + CM_HI_PAIR, CM_COM_PAIR, CM_PLAIN_TEXT diff --git a/Sources/libMultiMarkdown/epub.h b/Sources/libMultiMarkdown/epub.h index 2f9e2e9..a16d228 100644 --- a/Sources/libMultiMarkdown/epub.h +++ b/Sources/libMultiMarkdown/epub.h @@ -4,11 +4,11 @@ @file epub.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,20 +18,20 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -39,10 +39,10 @@ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. @@ -50,7 +50,7 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - + */ diff --git a/Sources/libMultiMarkdown/fodt.h b/Sources/libMultiMarkdown/fodt.h index 0f4ff93..80d43b2 100644 --- a/Sources/libMultiMarkdown/fodt.h +++ b/Sources/libMultiMarkdown/fodt.h @@ -8,7 +8,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -18,20 +18,20 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -39,10 +39,10 @@ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. @@ -50,7 +50,7 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - + */ diff --git a/Sources/libMultiMarkdown/html.h b/Sources/libMultiMarkdown/html.h index 4e033e3..39a4b74 100644 --- a/Sources/libMultiMarkdown/html.h +++ b/Sources/libMultiMarkdown/html.h @@ -8,7 +8,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/Sources/libMultiMarkdown/i18n.h b/Sources/libMultiMarkdown/i18n.h index 07d158f..e406ec3 100644 --- a/Sources/libMultiMarkdown/i18n.h +++ b/Sources/libMultiMarkdown/i18n.h @@ -9,14 +9,14 @@ swapping out certain strings based on user-specified languages at runtime. This does slow down compiling, as multiple hash strings are compiled (seemingly - quite slowly). But, to my understanding and testing, it does not affect the + quite slowly). But, to my understanding and testing, it does not affect the speed when actually running MMD. This should allow translating an arbitrary number of strings into an arbitrary number of languages without a performance penalty. @author Fletcher T. Penney - @bug + @bug **/ @@ -121,7 +121,7 @@ static inline const char * Translate(unsigned long x, int l) { case 2977473004: return lc_lookup[2 * kNumberOfLanguages + l]; case 3851221863: - return lc_lookup[3 * kNumberOfLanguages + l]; + return lc_lookup[3 * kNumberOfLanguages + l]; default: return "localization error"; } @@ -144,7 +144,7 @@ enum lc_languages { // MMD expects a lower case 2 letter code in the metadata or command-line arguments` -static inline short i18n_language_from_string(const char * l) { +static inline short i18n_language_from_string(const char * l) { if (strcmp(l, "es") == 0) { return LC_ES; } else if (strcmp(l, "de") == 0) { diff --git a/Sources/libMultiMarkdown/latex.h b/Sources/libMultiMarkdown/latex.h index c755882..d9368e7 100644 --- a/Sources/libMultiMarkdown/latex.h +++ b/Sources/libMultiMarkdown/latex.h @@ -8,7 +8,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/Sources/libMultiMarkdown/lexer.h b/Sources/libMultiMarkdown/lexer.h index 053692b..4c65139 100644 --- a/Sources/libMultiMarkdown/lexer.h +++ b/Sources/libMultiMarkdown/lexer.h @@ -4,12 +4,12 @@ @file lexer.h - @brief Description of the regular expressions used to define tokens, + @brief Description of the regular expressions used to define tokens, used by re2c to create a lexer/tokenizer. @author Fletcher T. Penney - @bug + @bug **/ @@ -19,30 +19,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -69,7 +69,7 @@ typedef struct Scanner Scanner; /// Scan for the next token int scan( - Scanner * s, //!< Pointer to Scanner state structure - const char * stop //!< Pointer to position in string at which to stop parsing + Scanner * s, //!< Pointer to Scanner state structure + const char * stop //!< Pointer to position in string at which to stop parsing ); diff --git a/Sources/libMultiMarkdown/memoir.h b/Sources/libMultiMarkdown/memoir.h index 6d6aa2d..0edecca 100644 --- a/Sources/libMultiMarkdown/memoir.h +++ b/Sources/libMultiMarkdown/memoir.h @@ -4,11 +4,11 @@ @file memoir.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/Sources/libMultiMarkdown/mmd.h b/Sources/libMultiMarkdown/mmd.h index 8ba2ff1..de74275 100644 --- a/Sources/libMultiMarkdown/mmd.h +++ b/Sources/libMultiMarkdown/mmd.h @@ -8,7 +8,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/Sources/libMultiMarkdown/object_pool.h b/Sources/libMultiMarkdown/object_pool.h index a311c4a..3dcaca7 100644 --- a/Sources/libMultiMarkdown/object_pool.h +++ b/Sources/libMultiMarkdown/object_pool.h @@ -5,12 +5,12 @@ @file object_pool.h @brief Allocate memory for "objects" in large slabs, rather than one at a time. Improves - performance when generating large numbers of small chunks of memory, as the expense of + performance when generating large numbers of small chunks of memory, as the expense of allocating memory in larger units. Could cause difficulty in extreme low memory situations. @author Fletcher T. Penney - @bug + @bug **/ @@ -20,30 +20,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -76,25 +76,25 @@ typedef struct pool pool; /// Allocate a new object pool pool * pool_new( - short size //!< How big are the objects to be allocated + short size //!< How big are the objects to be allocated ); /// Free object pool void pool_free( - pool * p //!< Pool to be freed + pool * p //!< Pool to be freed ); /// Drain pool -- free slabs previously allocated void pool_drain( - pool * p //!< Pool to be drained + pool * p //!< Pool to be drained ); /// Request memory for a new object from the pool void * pool_allocate_object( - pool * p //!< Pool to be used for allocation + pool * p //!< Pool to be used for allocation ); diff --git a/Sources/libMultiMarkdown/opendocument-content.h b/Sources/libMultiMarkdown/opendocument-content.h index e99eed2..4bfd49e 100644 --- a/Sources/libMultiMarkdown/opendocument-content.h +++ b/Sources/libMultiMarkdown/opendocument-content.h @@ -4,11 +4,11 @@ @file opendocument-content.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,38 +18,38 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - + uthash library: Copyright (c) 2005-2016, Troy D. Hanson - + Licensed under Revised BSD license - + miniz library: Copyright 2013-2014 RAD Game Tools and Valve Software Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC - + Licensed under the MIT license - + argtable3 library: Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann All rights reserved. - + Licensed under the Revised BSD License - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -57,10 +57,10 @@ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. @@ -68,10 +68,10 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - + + ## Revised BSD License ## - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -85,7 +85,7 @@ names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -97,7 +97,7 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + */ diff --git a/Sources/libMultiMarkdown/opendocument.h b/Sources/libMultiMarkdown/opendocument.h index c7abb02..5de817e 100644 --- a/Sources/libMultiMarkdown/opendocument.h +++ b/Sources/libMultiMarkdown/opendocument.h @@ -8,7 +8,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -18,38 +18,38 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - + uthash library: Copyright (c) 2005-2016, Troy D. Hanson - + Licensed under Revised BSD license - + miniz library: Copyright 2013-2014 RAD Game Tools and Valve Software Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC - + Licensed under the MIT license - + argtable3 library: Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann All rights reserved. - + Licensed under the Revised BSD License - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -57,10 +57,10 @@ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. @@ -68,10 +68,10 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - + + ## Revised BSD License ## - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -85,7 +85,7 @@ names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -97,7 +97,7 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + */ diff --git a/Sources/libMultiMarkdown/scanners.h b/Sources/libMultiMarkdown/scanners.h index cb6591c..cb2e2f5 100644 --- a/Sources/libMultiMarkdown/scanners.h +++ b/Sources/libMultiMarkdown/scanners.h @@ -9,7 +9,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -19,30 +19,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -58,7 +58,7 @@ #define SCANNERS_MULTIMARKDOWN_H #ifdef TEST -#include "CuTest.h" + #include "CuTest.h" #endif enum alignments { diff --git a/Sources/libMultiMarkdown/stack.h b/Sources/libMultiMarkdown/stack.h index 5248a59..87c7a7c 100644 --- a/Sources/libMultiMarkdown/stack.h +++ b/Sources/libMultiMarkdown/stack.h @@ -8,7 +8,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -71,39 +71,39 @@ typedef struct stack stack; /// Create a new stack with dynamic storage with an /// initial capacity (0 to use default capacity) stack * stack_new( - int startingSize //!< Default capacity for stack + int startingSize //!< Default capacity for stack ); /// Free the stack void stack_free( - stack * s //!< Stack to be freed + stack * s //!< Stack to be freed ); /// Add a new pointer to the stack void stack_push( - stack * s, //!< Stack to use - void * element //!< Pointer to push onto stack + stack * s, //!< Stack to use + void * element //!< Pointer to push onto stack ); /// Pop the top pointer off the stack and return it void * stack_pop( - stack * s //!< Stack to examine + stack * s //!< Stack to examine ); /// Peek at the top pointer on the stack (but don't remove it from stack) void * stack_peek( - stack * s //!< Stack to examine + stack * s //!< Stack to examine ); /// Peek at a specific index in the stack void * stack_peek_index( - stack * s, //!< Stack to examine - size_t index //!< Index to peek at (0 is first pointer on stack) + stack * s, //!< Stack to examine + size_t index //!< Index to peek at (0 is first pointer on stack) ); diff --git a/Sources/libMultiMarkdown/textbundle.h b/Sources/libMultiMarkdown/textbundle.h index 68d8bfd..d56e668 100644 --- a/Sources/libMultiMarkdown/textbundle.h +++ b/Sources/libMultiMarkdown/textbundle.h @@ -4,11 +4,11 @@ @file textbundle.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,38 +18,38 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - + uthash library: Copyright (c) 2005-2016, Troy D. Hanson - + Licensed under Revised BSD license - + miniz library: Copyright 2013-2014 RAD Game Tools and Valve Software Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC - + Licensed under the MIT license - + argtable3 library: Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann All rights reserved. - + Licensed under the Revised BSD License - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -57,10 +57,10 @@ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. @@ -68,10 +68,10 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - + + ## Revised BSD License ## - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -85,7 +85,7 @@ names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -97,7 +97,7 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + */ diff --git a/Sources/libMultiMarkdown/token_pairs.h b/Sources/libMultiMarkdown/token_pairs.h index 4de480e..6e4001e 100644 --- a/Sources/libMultiMarkdown/token_pairs.h +++ b/Sources/libMultiMarkdown/token_pairs.h @@ -9,7 +9,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -19,30 +19,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -62,7 +62,7 @@ #ifdef TEST -#include "CuTest.h" + #include "CuTest.h" #endif #define kMaxTokenTypes 230 //!< This needs to be larger than the largest token type being used @@ -70,7 +70,7 @@ #define kMaxPairRecursiveDepth 1000 //!< Maximum recursion depth to traverse when pairing tokens -- to prevent stack overflow with "pathologic" input -/// Store information about which tokens can be paired, and what actions to take when +/// Store information about which tokens can be paired, and what actions to take when /// pairing them. struct token_pair_engine { unsigned short can_open_pair[kMaxTokenTypes]; //!< Can token type open a pair? @@ -99,24 +99,24 @@ token_pair_engine * token_pair_engine_new(void); /// Free existing token pair engine void token_pair_engine_free( - token_pair_engine * e //!< Token pair engine to be freed + token_pair_engine * e //!< Token pair engine to be freed ); /// Add a new pairing configuration to a token pair engine void token_pair_engine_add_pairing( - token_pair_engine * e, //!< Token pair engine to add to - unsigned short open_type, //!< Token type for opener - unsigned short close_type, //!< Token type for closer - unsigned short pair_type, //!< Token type for pairing - int options //!< Token pair options to use + token_pair_engine * e, //!< Token pair engine to add to + unsigned short open_type, //!< Token type for opener + unsigned short close_type, //!< Token type for closer + unsigned short pair_type, //!< Token type for pairing + int options //!< Token pair options to use ); /// Search a token's childen for matching pairs void token_pairs_match_pairs_inside_token( - token * parent, //!< Which tokens should we search for pairs - token_pair_engine * e, //!< Token pair engine to be used for matching - stack * s, //!< Pointer to a stack to use for pairing tokens - unsigned short depth //!< Keep track of recursion depth + token * parent, //!< Which tokens should we search for pairs + token_pair_engine * e, //!< Token pair engine to be used for matching + stack * s, //!< Pointer to a stack to use for pairing tokens + unsigned short depth //!< Keep track of recursion depth ); diff --git a/Sources/libMultiMarkdown/transclude.h b/Sources/libMultiMarkdown/transclude.h index f21aff2..beac7fb 100644 --- a/Sources/libMultiMarkdown/transclude.h +++ b/Sources/libMultiMarkdown/transclude.h @@ -4,11 +4,11 @@ @file transclude.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -59,7 +59,7 @@ #include "stack.h" #ifdef TEST -#include "CuTest.h" + #include "CuTest.h" #endif diff --git a/Sources/libMultiMarkdown/uuid.h b/Sources/libMultiMarkdown/uuid.h index 174f59b..91827f6 100644 --- a/Sources/libMultiMarkdown/uuid.h +++ b/Sources/libMultiMarkdown/uuid.h @@ -4,11 +4,11 @@ @file uuid.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,31 +18,31 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - + uthash library: Copyright (c) 2005-2016, Troy D. Hanson - + Licensed under BSD Revised license - + miniz library: Copyright 2013-2014 RAD Game Tools and Valve Software Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC - + Licensed under the MIT license - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -50,10 +50,10 @@ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. @@ -61,7 +61,7 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - + */ diff --git a/Sources/libMultiMarkdown/writer.h b/Sources/libMultiMarkdown/writer.h index 7d6594d..2582c4a 100644 --- a/Sources/libMultiMarkdown/writer.h +++ b/Sources/libMultiMarkdown/writer.h @@ -8,7 +8,7 @@ @author Fletcher T. Penney - @bug + @bug **/ @@ -18,30 +18,30 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -57,7 +57,7 @@ #define WRITER_MULTIMARKDOWN_H #ifdef TEST -#include "CuTest.h" + #include "CuTest.h" #endif #include "d_string.h" @@ -115,7 +115,7 @@ typedef struct { stack * outline_stack; short recurse_depth; - + short in_table_header; short table_column_count; short table_cell_count; diff --git a/Sources/libMultiMarkdown/zip.h b/Sources/libMultiMarkdown/zip.h index 4c774e2..0340a7f 100644 --- a/Sources/libMultiMarkdown/zip.h +++ b/Sources/libMultiMarkdown/zip.h @@ -4,11 +4,11 @@ @file zip.h - @brief + @brief @author Fletcher T. Penney - @bug + @bug **/ @@ -18,38 +18,38 @@ The `MultiMarkdown 6` project is released under the MIT License.. - + GLibFacade.c and GLibFacade.h are from the MultiMarkdown v4 project: - + https://github.com/fletcher/MultiMarkdown-4/ - + MMD 4 is released under both the MIT License and GPL. - - + + CuTest is released under the zlib/libpng license. See CuTest.c for the text of the license. - + uthash library: Copyright (c) 2005-2016, Troy D. Hanson - + Licensed under Revised BSD license - + miniz library: Copyright 2013-2014 RAD Game Tools and Valve Software Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC - + Licensed under the MIT license - + argtable3 library: Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann All rights reserved. - + Licensed under the Revised BSD License - - + + ## The MIT License ## - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -57,10 +57,10 @@ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. @@ -68,10 +68,10 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - + + ## Revised BSD License ## - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -85,7 +85,7 @@ names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -97,7 +97,7 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + */ -- 2.40.0