1. 03 Jul, 2019 1 commit
  2. 08 Jan, 2019 1 commit
  3. 02 Oct, 2018 1 commit
  4. 25 Jul, 2018 1 commit
  5. 12 Jun, 2018 1 commit
  6. 19 Feb, 2018 1 commit
  7. 06 Dec, 2017 1 commit
  8. 06 Nov, 2017 1 commit
  9. 24 Sep, 2017 1 commit
  10. 17 Sep, 2017 1 commit
    • Craig Watson's avatar
      Hide library pane's detail view for local items · 5ac37603
      Craig Watson authored
      Web results still show the details which include some metadata about the
      image retrieved, for example.
      
      This is now a setting so it can easily be re-enabled if desired (which
      could be useful especially if we decide to also display metadata of
      local items)
      5ac37603
  11. 24 Apr, 2017 1 commit
  12. 11 Mar, 2017 1 commit
    • Craig Watson's avatar
      Fix/re-enable checking for updates · 1de820dc
      Craig Watson authored
      We can (again) check for updates and, if an update is available, send
      the user to the site to download them.
      
      The old format (a .json specifying a version number and download URL)
      was kept. The address for this file is now specified in the settings.
      1de820dc
  13. 04 Mar, 2017 1 commit
    • Craig Watson's avatar
      Fix/re-enable checking for updates · 3d46bd0b
      Craig Watson authored
      We can (again) check for updates and, if an update is available, send
      the user to the site to download them.
      
      The old format (a .json specifying a version number and download URL)
      was kept. The address for this file is now specified in the settings.
      3d46bd0b
  14. 13 Nov, 2016 1 commit
    • Craig Watson's avatar
      Background cross color is now a setting in the config file · 2fd0cc87
      Craig Watson authored
      This allows users to change the color of the background grid e.g if they
      are using a projector or other low-contrast display.
      
      The settings are in the `Board` category and are named `CrossColorDarkBackground`
      and `CrossColorLightBackground`. They take strings representing the
      color in any of the following formats:
      
      - #RGB (Hexadecimal digits)
      - #RRGGBB
      - #AARRGGBB
      - #RRRGGGBBB
      - #RRRRGGGGBBBB
      - Any SVG color keyword name (as defined by W3C)
      2fd0cc87
  15. 06 Nov, 2016 1 commit
  16. 15 Oct, 2016 1 commit
    • Craig Watson's avatar
      Added stroke simplification algorithm · df71f158
      Craig Watson authored
      If enabled in the preferences menu, pen and marker strokes will be
      replaced by a simplified stroke after they are drawn.
      
      The algorithm is very basic (for now): if three points are almost lined
      up (the threshold angle can be specified in the config file), then the
      middle one is removed. This is repeated over the whole stroke; new
      polygons are then generated based on the simplified stroke points.
      
      This typically cuts down on number of points and polygons by a factor of
      about 10, while having minimal visual impact.
      df71f158
  17. 03 Sep, 2016 1 commit
  18. 02 Sep, 2016 1 commit
    • Craig Watson's avatar
      User-resizable background grid: · 081dbee1
      Craig Watson authored
      - The background selection palette now includes a slider to change the
      size of the background grid. Default min/max values are 16 and 64px,
      defined in UBSettings. Grid resizes dynamically as the slider is moved.
      - Measuring tools' (ruler, triangle) markers follow grid size: 1 square
      of the background grid corresponds to 1cm
      - Grid size can be different for each page of a document
      - Grid size is saved in the .svg
      - Documents with a background grid but no specified grid size follow the
      default size defined in UBSettings.
      
      Previously, grid size was calculated based on DPI, which can vary from
      one OS, computer or display to the next. This new setting allows
      documents to be migrated from one machine to another with no unexpected
      changes in grid size happening. It also makes it easy to correct any
      problems importing old documents (whose grid size might be smaller or
      larger than expected when imported on a new version of OpenBoard).
      081dbee1
  19. 22 Jun, 2016 1 commit
    • Craig Watson's avatar
      Document's pageDpi is now stored in UBDocumentProxy rather than in UBSettings · 3995d007
      Craig Watson authored
      This fixes an issue where if one document was imported with a different
      DPI than the current one, any document created thereafter would have
      this same value (which could then cause problems if a PDF was added to
      that new document).
      
      Saving this value to UBDocumentProxy not only makes more sense, it also
      fixes this issue.
      3995d007
  20. 13 May, 2016 1 commit
  21. 09 May, 2016 1 commit
    • Craig Watson's avatar
      (WIP) Interpolation of strokes. Progress so far: · 4491341a
      Craig Watson authored
      - UBGraphicsScene calls UBGraphicsStroke::addPoint, which returns a list
      of points that can be drawn. It may be none (e.g we discard very small
      segments), one (if we do no interpolation) or several.
      
      - Added a UBInterpolator base, abstract class. Various interpolation
      methods can be added easily.
      
      - Current methods: Basic spline (custom), Catmull-Rom spline (based on
      alglib), and Bézier
      
      - Added a setting to toggle interpolation. Added this to the UI as well
      4491341a
  22. 20 Apr, 2016 1 commit
  23. 14 Apr, 2016 1 commit
  24. 14 Mar, 2016 1 commit
    • Craig Watson's avatar
      Fixed force load of all settings · 241f672d
      Craig Watson authored
      The previous solution didn't really have any effect; only a handful of
      settings were in the mUserSettings or mAppSettings at the moment it was
      called. The better solution is to just call value() in the constructor
      of UBSetting, which means the setting is cached as soon as it is
      created.
      241f672d
  25. 09 Mar, 2016 2 commits
  26. 04 Mar, 2016 2 commits
    • Craig Watson's avatar
      Check settings at launch to avoid crashing · 46ce553d
      Craig Watson authored
      Some settings were changed between v1.02 and 1.10 (current), and some
      of these changes cause OpenBoard to crash at launch. This commit adds
      a function to check for these specific new settings, and wipe the old
      values if they are found.
      This avoids problems when the user upgrades from 1.02 without deleting
      their configuration file.
      
      (This is an alternative to having a post-install script, which would be
      ineffective in a multi-user configuration)
      46ce553d
    • Craig Watson's avatar
      Settings: save values to queue as they are requested · 85acf0d6
      Craig Watson authored
      UBSettings::value() now saves the requested value to the settings
      "queue" (hash table) for faster subsequent access
      85acf0d6
  27. 02 Mar, 2016 1 commit
    • Craig Watson's avatar
      New settings queue for UBSettings · 599f925d
      Craig Watson authored
      This should cut down on disk access. Instead of loading and saving
      settings directly through QSettings instances (which occasionally
      read and write to their associated file; but there is no way to control
      how often this happens), they are now added to a QHash for in-app
      access.
      
      Save() and load() functions were also added to enable manually saving
      the settings, and loading all settings from file, respectively.
      599f925d
  28. 21 Jan, 2016 1 commit
  29. 31 Jan, 2015 1 commit
  30. 07 Oct, 2014 1 commit
  31. 11 Dec, 2013 1 commit
  32. 04 Dec, 2013 2 commits
  33. 29 Nov, 2013 1 commit
  34. 28 Nov, 2013 1 commit
  35. 22 Nov, 2013 1 commit
  36. 14 Aug, 2013 1 commit
  37. 28 Jun, 2013 1 commit