https://mirrors.sustech.edu.cn/git/github_fork/clip/-/commits/master2020-06-11T18:39:19+02:00https://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/5fca358e56e6334a22aa09264f2ccb7d41bd156fadd an improved mechanism for referencing data files2020-06-11T18:39:19+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/b69b0981952bb8274031792a887169a2cca12d95update the readme and getting started page2020-06-09T19:50:22+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/f5b10e063dc28f29dd50759799831e80e20a2b7fset the default dpi to 1922020-06-09T19:28:43+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/20fd705775cdf075f8c672ba2f4ba371883e98a7update all test cases to the new syntax2020-06-09T19:20:25+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/c8daa4d87d0f15863a442e67c243a85a4adce916modify the plist parser to emit sexprs instead2020-06-08T23:55:58+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/811362d9fd19964aa6103df31cf28adca5bca6dfrestore plist{,_parser}.{h,cc} from history2020-06-08T22:52:09+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/acde965b77a241d768132729f45ec89f93aa46eeminor documentation updates2020-06-08T22:45:44+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/c27740c4074b3482dc651b15ae829eec7c552b3cset the version to 0.8.02020-06-06T21:47:38+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/540b36ebfa63e6b82d0ba2454baad9df5230ad05add a new module system2020-06-06T21:47:27+02:00Paul Asmuthpaul@asmuth.com
- Add the new (class ...) statement
- Move the existing commands into the plot and draw namespaces
- Update the documentationhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/312f9c1c7858bef4837f1226ccba485dcd556859update the documentation2020-06-01T19:33:44+02:00Paul Asmuthpaul@asmuth.com
- Add a logo
- Improve the page layout slightly and change link colours
- Update the favicon
- Update the readme demo charthttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/e2cdac084b967b126fc05a28b3568ce0ccc02ce5replace C99 designated initializer lists with proper constructors2020-05-29T00:21:41+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/df003d3e2ad4ddb02cce4c78a40c36c00830e3edimproved SVG output formatting2020-05-29T00:03:33+02:00Paul Asmuthpaul@asmuth.com
- Set the output precision of all numbers to three digits after
the decimal point, except for integers, which are formatted as
integers
- Always use {fill, stroke}-opacity instead of #RGBA hex codes
- Remove the redundant fill-opacity=1, stroke-opactity=1 and
fill=black attributeshttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/595544ae27eb88485896fdbed57f9e2ad802ba9aadd homebrew to the installation instructions2020-05-28T23:42:14+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/a8c434bac948188fe7c8158d93cfdfefeb652ae5update the draw/text interface2020-05-24T16:55:11+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/078f8203f34be585a2faa01dc706adb537da32c3add runtime sanity checks2020-05-24T16:29:13+02:00Paul Asmuthpaul@asmuth.com
In contrast to most of the other parts of the codebase, the "sexpr"
utility and manipulation code deals with a lot of raw pointers. This
change adds a number of runtime assertions and null pointer checks
so that potential future bugs in consumers of the API will trigger
an exception instead of generating invalid memory reads or writes.
Still, correct could should never trigger any of the newly added
runtime errors; every thrown exception is considered a bug.https://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/4a24ae3a9b3c52a59fad059b6f6cfb21a212e90aadd a global exception/crash handler2020-05-24T15:48:53+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/a9caad61049e4867b55cc87ad03afffacafefe8aadd a new and improved syntax for drawing styles2020-05-22T17:42:28+02:00Paul Asmuthpaul@asmuth.com
The new syntax is more consistent and allows users to specify
multiple stroke/fill types per draw command.
This change also introduces new drawing style structs. Note that
the new type names use snake case and don't follow the previous
naming convention of using capitalized names for types. This will
eventually be cleaned up by either changing everything to snake
case or by capitalizing the new type names.https://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/3769cd156e3a0f82ff897869673ac19480722bd8add improved plot data loading routines2020-05-19T18:36:37+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/8447b2fe528bc226b4ce7b2abb66f6fd62aac040update all commands to the new unit conversion mechanism2020-05-17T20:56:52+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/dcafb51425c08b55495e4e0f7f5c58a1621de98duse the new unit system for font sizes2020-05-17T20:56:52+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/619edf092eef5fe1e88c22e58acb136f2fcf3345add the draw/{text,rectangle} commands2020-05-17T20:56:52+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/1c8e371d69f8e5f96be0527112780d1926e6fdf1fix a bug in fill_style_read2020-05-17T20:56:52+02:00Paul Asmuthpaul@asmuth.com
The `fill_style_read` method would previously not accept
color specifications of the form ({rgb, rgba} ...).https://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/6e18cdc69e2631a0e967df10eb87838af3b6e66dadd a new and improved unit conversion mechanism2020-05-17T20:56:14+02:00Paul Asmuthpaul@asmuth.com
The "old" method for converting units was to store numerical values
alongside their units in a "Measure" struct which was then passed
through the various layers of the code, from parsing to the graphics
backend. The problem with that approach was that we now have a big
mess where unit conversions are scattered throughout the whole
codebase and it's often unclear at which point a given value should
be converted.
The new approach will be to convert all user-specified values into
internal (unitless) numbers as soon as possible; ideally right
after parsing. The conversion from all user-specifiable units to
the internal unit system is clearly defined using the UnitConvMap
struct. During export, all values should then be converted back from
the internal unitless system to the requested output coordinate
system and units.
This change only adds the first parts of the new unit conversion
system. The refactoring of all existing commands to use the new
mechanism is yet to be done.https://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/382dca297b0b532d687f6527217f4a8447b40bdbadd support for named international paper sizes2020-05-15T00:58:02+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/95aa790cd076e533c8ae4989a883329dda2e3e65add support for the 'mm' unit2020-05-15T00:47:24+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/361a944d278c03be5c8a58ea6ba29ee7d97e77cbfix a typo in the documentation2020-05-15T00:32:10+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/809eea695b434dec9343ecdcd57514925d725dc3update the documentation2020-05-14T14:55:52+02:00Paul Asmuthpaul@asmuth.com
- Update the "Getting Started" page
- Update the examples page
- Add automatic page titles for all documentation pages
- Add new URI redirects for the wwwdocshttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/1b72664dd19ff448d1dde76e0213d91fc97d250asimplify the draw command list2020-05-14T13:29:55+02:00Paul Asmuthpaul@asmuth.com
Convert the DrawCommandList into a simple, flat vector of draw
command structs. A mechanism for piping semantic text information
through to the output file will be reimplemented later.
This change also removes the dependency on std::variant, which is
a C++17 feature, but is not supported on macOS 10.13.https://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/e4e6b679d7d9d538baa944f8786d3400e7ab0b76update readme2020-05-14T03:13:00+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/38c864d224f243c142083a6a7b98842fa6b79251add missing includes2020-05-14T03:04:39+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/5512b9e8373db5a2e3c2b0a55bbb93b1d2183ecbfix a precedence issue2020-05-14T03:03:44+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/bb8870442ce3ffbe7170f25166b99d99e4de7515replace all calls to bind(...) with std::bind2020-05-14T02:56:09+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/4872dcad51dbbb1fb0577d0c5e980dc665e61d4aswitch back from std::optional to our own Option<T>2020-05-14T02:49:16+02:00Paul Asmuthpaul@asmuth.com
std::optional is part of C++17, which is not supported on macOS 10.13https://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/63e4fa21d30e4f9fabe4f927b61520415626230eupdate travis.yml (test build on macOS 10.13)2020-05-14T02:36:53+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/9a48103597d4eb967707ed39d09e01c355e296a1rename tools/plotgen -> figure/plot2020-05-14T02:14:31+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/bfe3e8c2c153e42fe98999ae03e0eeeeab9a20ecupdate CMakeLists.txt2020-05-14T01:36:48+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/2ac3529aded5c0d59b9eecb37074a9199fb1c8baMerge branch 'master' into website2020-05-14T01:28:07+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/9ce5301fe5b2366f4addc5760a827c9d051c94c8update the documentation2020-05-14T01:27:17+02:00Paul Asmuthpaul@asmuth.com
- move examples into a separate repository
- restructure the documentation
- add a new front pagehttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/11cd2df226da6d7ef3b6ecc36413cd51e40738bbupdate examples2020-05-10T15:09:36+02:00Paul Asmuthpaul@asmuth.comhttps://mirrors.sustech.edu.cn/git/github_fork/clip/-/commit/708c02648180c905811030fbf7b48ec1ffc6de21reimplement scale autoranging2020-05-10T15:08:57+02:00Paul Asmuthpaul@asmuth.com