1. 19 Feb, 2018 2 commits
  2. 31 Jan, 2018 1 commit
  3. 23 Jan, 2018 1 commit
  4. 13 Dec, 2017 1 commit
  5. 09 Dec, 2017 1 commit
  6. 06 Dec, 2017 1 commit
  7. 28 Nov, 2017 1 commit
  8. 27 Nov, 2017 1 commit
  9. 21 Nov, 2017 1 commit
  10. 20 Nov, 2017 1 commit
  11. 13 Nov, 2017 1 commit
  12. 06 Nov, 2017 1 commit
  13. 24 Sep, 2017 1 commit
  14. 17 Sep, 2017 2 commits
  15. 24 Apr, 2017 1 commit
  16. 11 Mar, 2017 2 commits
  17. 05 Mar, 2017 1 commit
    • Craig Watson's avatar
      Add "set as background" to frame menu for images · aedebaf2
      Craig Watson authored
      Images (UBGraphicsPixmapitem and UBGraphicsSvgItem) can be set as
      background via the menu on their frame. Currently, the image is first
      centered and un-transformed before being set as background.
      
      The option in the frame appears for any UBGraphicsItem for which
      `data(UBGraphicsItemData::ItemCanBeSetAsBackground)` is true.
      
      This is (currently) only enabled for image items.
      aedebaf2
  18. 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
  19. 12 Feb, 2017 2 commits
  20. 08 Jan, 2017 1 commit
  21. 14 Nov, 2016 1 commit
  22. 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
  23. 06 Nov, 2016 1 commit
  24. 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
  25. 09 Oct, 2016 1 commit
  26. 24 Sep, 2016 2 commits
  27. 18 Sep, 2016 1 commit
    • Craig Watson's avatar
      Correct screen indexing in some cases · 6d35a5a3
      Craig Watson authored
      Several issues remain with multi-screen mode on Linux. The behavior is
      inconsistent from one desktop evironment to the next, making it hard to
      work around these problems. Among the known issues at this stage:
      
      On Ubuntu 14.04, a call to QWidget::setGeometry requires the widget to
      be hidden on KDE, but visible on MATE, for the geometry changes to take
      effect.
      Despite the widget's geometry being updated by this call, the windows
      aren't necessarily moved. Meaning that the control and display widgets
      will tend to be displayed on the same monitor, even though their
      positions are correctly set to different areas on the extended screen.
      
      In the current state, this behavior is observed on MATE. Unity works
      fine and KDE only has transient positioning issues (for example,
      swapping control and display windows in multi-screen mode leads to both
      windows being placed on the same monitor, until multi-screen mode is
      turned off then on again).
      
      # Please enter the commit message for your changes. Lines starting
      # with '#' will be ignored, and an empty message aborts the commit.
      # On branch dev
      # Your branch is ahead of 'origin/dev' by 29 commits.
      #   (use "git push" to publish your local commits)
      #
      # Changes to be committed:
      #	modified:   src/core/UBApplicationController.cpp
      #	modified:   src/core/UBDisplayManager.cpp
      #	modified:   src/core/UBDisplayManager.h
      #
      # Changes not staged for commit:
      #	modified:   release_scripts/linux/build.sh
      #	modified:   release_scripts/linux/package.sh
      #
      # Untracked files:
      #	release_scripts/linux/generateDependencies.sh
      #
      6d35a5a3
  28. 11 Sep, 2016 1 commit
  29. 06 Sep, 2016 1 commit
  30. 03 Sep, 2016 2 commits
  31. 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
  32. 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
  33. 13 May, 2016 2 commits