1. 16 Oct, 2016 2 commits
  2. 15 Oct, 2016 2 commits
    • Craig Watson's avatar
      b8507871
    • 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
  3. 09 Oct, 2016 2 commits
  4. 30 Sep, 2016 1 commit
  5. 24 Sep, 2016 2 commits
  6. 18 Sep, 2016 2 commits
    • Craig Watson's avatar
      Bumped version to 1.3.4 · 2263c46d
      Craig Watson authored
      2263c46d
    • 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
  7. 11 Sep, 2016 3 commits
  8. 10 Sep, 2016 1 commit
  9. 08 Sep, 2016 2 commits
  10. 06 Sep, 2016 4 commits
  11. 05 Sep, 2016 3 commits
  12. 04 Sep, 2016 2 commits
  13. 03 Sep, 2016 4 commits
  14. 02 Sep, 2016 3 commits
    • 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
    • Craig Watson's avatar
    • Craig Watson's avatar
      Merge branch 'dev' into 1.4-dev · 32af9631
      Craig Watson authored
      32af9631
  15. 27 Jun, 2016 2 commits
    • Craig Watson's avatar
      Bumped version to 1.3.3 · 3a7c2945
      Craig Watson authored
      3a7c2945
    • Craig Watson's avatar
      Fixes to import and export of files containing PDFs · 3abf154d
      Craig Watson authored
      The scale of PDF items was sometimes badly calculated when opening a
      document made with a previous version of OpenBoard or made on another
      computer.
      
      Specifically, this solves the following issues:
      
      - PDF scale calculation in documents that did not specify the pageDPI
      used to render the PDF (happened with documents created with some old
      versions of OpenBoard)
      
      - PDF scale calculation in multi-page documents (it was set correctly
      for the first page, but not the following ones)
      3abf154d
  16. 22 Jun, 2016 3 commits
  17. 13 Jun, 2016 1 commit
  18. 13 May, 2016 1 commit
    • Craig Watson's avatar
      Merge branch 'ffmpeg-podcast' into 1.4-dev · 1ee405bc
      Craig Watson authored
      This adds screencast support on Linux. This is based on
      ffmpeg for the encoding & muxing (default format is MP4 with AAC audio
      and H264 video).
      The microphone sound is grabbed using QAudioInput. The encoder should
      be able to handle virtually any input format (it has been tested with
      a stereo input at different sampling rates with one format (16-bit
      signed) but it should work fine with any number of channels, sample
      format etc.).
      
      The only problems I have run into so far are that desktop recording is
      very slow (compared to OS X) and that the last few video frames are
      usually not included in the video. This may be due to GOPs not being
      complete, but that's just a wild guess.
      1ee405bc