0e42e80f92Define aliases for certain types globally instead of in classes, and expand it to other ones, such as std::string. Primarily useful for testing.
master
Jacob2024-08-23 17:26:23 +0200
33f793d395Include algorithm header in docpp.cppJacob2024-08-23 14:21:36 +0200
dfc99c1854This commit makes many breaking changes to the library. They're far too many to list, but all of them are syntactical - no major behavior will be altered with this commit. However, C++17 is now required in order to make use of docpp. It will **no longer build** with a C++11 or C++14 compiler. Thus, please update your projects to make use of C++17, or stick with the last commit.Jacob2024-08-23 14:11:46 +0200
9172b69a36Fix linking on macOS. God this operating system is a pain to use sometimes.Jacob2024-07-22 02:23:45 +0200
9479ff7834Add methods, allowing you to get elements from a section by reference and make changes to them.Jacob2024-06-18 04:04:37 +0200
c29d29d592Some minor changes to constructors, fix Tag::StyleJacob2024-06-17 22:44:09 +0200
d9f24ecd53Remove some more useless methods and overloaded operators.Jacob2024-06-17 21:16:00 +0200
65491ee2acAdd CONTRIBUTIONS.md file, with guidelines for contributors.Jacob2024-05-20 01:52:01 +0200
14cd8c4122Remove/replace some "C with classes" junk. The C++ core guidelines state that you must not use ALL_CAPS for enum members. enum class is now used as well, to further reinforce the idea that this is a C++ library. While neither of these changes are necessary, it leads to a better and more intuitive API design.Jacob2024-05-20 01:32:49 +0200
223f81dc90Fix dist_release function call in Make script.
v0.0.1
Jacob2024-05-17 23:54:24 +0200
29dea51b6bChanged my mind, disable Debug testing.Jacob2024-05-17 23:07:47 +0200
95ac0d5057Don't include .git* in the release tarballs.Jacob2024-05-17 23:05:41 +0200
3449a39154Some minor cleanup. I'm basically nitpicking at this point.Jacob2024-05-16 10:59:59 +0200
3e7a63e282Move another constructor to the header.Jacob2024-05-16 10:51:42 +0200
b206aa3ea7Optimize template functions a little bit.Jacob2024-05-16 08:20:57 +0200
d6db5690b3Optimize constructors by initializing variables rather than overriding the values using the appropriate set() methods.Jacob2024-05-16 08:09:27 +0200
6d7cb9af86Add missing tag, resolve_tag now returns the proper closing tag as well, for convenience.Jacob2024-05-15 23:33:17 +0200
247b2cbf37Add <link> tag, forgot about this one.Jacob2024-05-15 22:48:33 +0200
c4034adceaReplace case statement with a static const std::unordered_map.Jacob2024-05-15 17:36:47 +0200
fa107fcb64Name the enums, and use them in the function declarations.Jacob2024-05-15 10:57:47 +0200
1458273912Simplify testing. No need to use CMake testing module for this.Jacob2024-05-14 20:33:05 +0200
93b5a57c35Change the shell, for better compatibility.Jacob2024-05-14 19:21:13 +0200
f139028debI don't know if it's so small anymore.Jacob2024-05-14 15:46:43 +0200
8a3d21ea31Add Gentoo ebuild, along with code necessary to generate one. Also, clean up the CMakeLists.txt file, allowing it to be more cross platform.Jacob2024-05-14 15:39:50 +0200
ceda875213Make use of the template functions in the test cases.Jacob2024-05-14 10:04:32 +0200
b44a934d20Add docpp.pc file, allowing pkg-config to find docpp.Jacob2024-05-13 02:00:40 +0200
8ba0aff55cRevise examples a little bit.Jacob2024-05-13 00:57:27 +0200
27ff72f2a5Add some more templates for methods that return std::string.Jacob2024-05-13 00:45:04 +0200
8caa3d92ebAdd template get() methods. Also, remove instances of the auto type.Jacob2024-05-12 23:43:44 +0200
7fa001bcdeRemove a method I accidentally declared.Jacob2024-05-12 23:04:04 +0200
2f9c24e8abAdd Doxygen file, remove old aliases.Jacob2024-05-12 21:56:03 +0200
35a15651caRename the different classes. I felt it was too verbose.Jacob2024-05-12 20:18:06 +0200
8f3ba89445Implement iterators for several classes and rename HTMLElementProperties to HTMLProperties.Jacob2024-05-12 20:05:23 +0200
17d8bf6b4bAdd front() and back() methods for the various classes.Jacob2024-05-07 22:58:53 +0200
43daa77f6dImplement support for plain text elements and sections without a tag. Also, add example replica of biteme.lol.Jacob2024-05-07 21:21:58 +0200
21ddd1d82cChange the behavior of FORMATTING_PRETTY to include tabs. FORMATTING_NEWLINE can be used if you want to preserve the old behavior.Jacob2024-05-07 17:26:11 +0200
804309d323Implement operator overloading for several classes.Jacob2024-05-07 00:08:54 +0200
aca33e80d5Implement at() methods for several classes.Jacob2024-05-06 14:18:01 +0200
cddf11235fAdd position functions for HTMLElementProperties.Jacob2024-05-06 13:19:16 +0200
292b6018d6Add position functions for CSSElement.Jacob2024-05-06 11:47:24 +0200
298a3c96b6Implement push_front() method for CSSElement, implement find() method that takes an std::string for CSSStylesheet.Jacob2024-05-06 11:06:45 +0200
f9bf0bbfd4Add new HTMLSection::find() method that takes an std::string parameter containing a deserialized section or element, and returns the position of an identical section or element, or npos.Jacob2024-05-06 02:45:15 +0200
8f1f175138Change the behavior of find() functions. They no longer throw an exception, but rather return npos (-1).Jacob2024-05-06 02:28:23 +0200
8a8313a01cMinor change to the Code of Conduct section.Jacob2024-05-06 01:23:23 +0200
9c990fe9ebLower C++ standard to C++11, because currently we're not using any newer features.Jacob2024-05-06 01:00:54 +0200