Skip to content
Snippets Groups Projects
  1. Jun 12, 2020
  2. Jun 10, 2020
  3. Jun 09, 2020
  4. Jun 07, 2020
  5. Jun 02, 2020
    • Paul Asmuth's avatar
      update the documentation · 312f9c1c
      Paul Asmuth authored
      - Add a logo
      - Improve the page layout slightly and change link colours
      - Update the favicon
      - Update the readme demo chart
      312f9c1c
  6. May 29, 2020
  7. May 24, 2020
    • Paul Asmuth's avatar
      update the draw/text interface · a8c434ba
      Paul Asmuth authored
      a8c434ba
    • Paul Asmuth's avatar
      add runtime sanity checks · 078f8203
      Paul Asmuth authored
      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.
      078f8203
    • Paul Asmuth's avatar
      add a global exception/crash handler · 4a24ae3a
      Paul Asmuth authored
      4a24ae3a
  8. May 22, 2020
    • Paul Asmuth's avatar
      add a new and improved syntax for drawing styles · a9caad61
      Paul Asmuth authored
      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.
      a9caad61
  9. May 20, 2020
  10. May 18, 2020
    • Paul Asmuth's avatar
    • Paul Asmuth's avatar
      use the new unit system for font sizes · dcafb514
      Paul Asmuth authored
      dcafb514
    • Paul Asmuth's avatar
      add the draw/{text,rectangle} commands · 619edf09
      Paul Asmuth authored
      619edf09
    • Paul Asmuth's avatar
      fix a bug in fill_style_read · 1c8e371d
      Paul Asmuth authored
      The `fill_style_read` method would previously not accept
      color specifications of the form ({rgb, rgba} ...).
      1c8e371d
    • Paul Asmuth's avatar
      add a new and improved unit conversion mechanism · 6e18cdc6
      Paul Asmuth authored
      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.
      6e18cdc6
  11. May 15, 2020
  12. May 14, 2020
  13. May 10, 2020
Loading