1. 07 Dec, 2015 1 commit
    • Craig Watson's avatar
      Fixed protractor tool · 7e96ab18
      Craig Watson authored
      - Corrected and cleaned up rotation calculation
      - Fixed button position/size issues (clickable area didn't correspond to the button image)
      - Fixed tool flashing during resizing
      - (new feature) Buttons now scale proportionally to the protractor when it is resized
      - Everything is now drawn by default at a scale of 1 instead of 1.5
      - Pen width set to 0 (i.e always 1 pixel thick regardless of zoom), to keep the old look & feel
      - Scaled the marker tool image (.svg) to look like it did before without scaling it in code
      - Removed debug messages
      
      Tested on OS X, works fine.
      7e96ab18
  2. 04 Dec, 2015 2 commits
    • Craig Watson's avatar
      Fixed "Add to library" button showing up for apps · b5b8c722
      Craig Watson authored
      Caused by one occurence of "uniboardtool" having been replaced by
      "OpenboardTool" instead of "openboardtool".
      For consistency's sake, this was changed to openboardtool, but these URL
      / application name changes require a clean-up (all occurences of
      "uniboardtool" are commented out; these should either be removed, or the
      changes reverted)
      b5b8c722
    • Craig Watson's avatar
      Added Vim files to .gitignore · 16b4a8fc
      Craig Watson authored
      16b4a8fc
  3. 03 Dec, 2015 2 commits
    • Craig Watson's avatar
      Fixed compilation on Windows; · 8254e807
      Craig Watson authored
      The project didn't compile on Windows.. list of modifications:
      
      - Added essential changes that hadn't been committed / pushed (Qt4->Qt5
      changes; other misc. changes by Abdel)
      - Temporarily disabled podcasts, as the modules don't compile with Qt5.2/
      5.5
      
      Currently, the application compiles on Windows, with MSVC2010 32-bit
      8254e807
    • Craig Watson's avatar
      Video fixed on OS X · ce521ede
      Craig Watson authored
      QVideoWidget had to be abandoned in favour of QGraphicsVideoItem. This
      is because UBGraphicsMediaItem, i.e the class representing a media
      (audio or video) object on the board, is a QGraphicsProxyWidget, and is
      used to embed a QWidget into the Scene.
      
      With Phonon's video widget, it was possible to embed the video widget in
      this ProxyWidget. This is no longer possible (except on Windows, for
      some reason), so this commit is a workaround, to use a
      QGraphicsVideoItem instead of a QVideoWidget while modifying the rest
      of the class hierarchy as little as possible.
      
      Ultimately, a cleaner solution (not making UBGraphicsMediaItem inherit
      QGraphicsProxyWidget, for example) may be desirable.
      ce521ede
  4. 30 Nov, 2015 3 commits
    • Craig Watson's avatar
      Podcast recording on OSX fixed. Details: · 427cdbb6
      Craig Watson authored
      The threading logic was changed somewhat. UBQuickTimeFile's run()
      function no longer handles enqueuing the video/audio samples in a while
      loop. Instead, it runs once, and uses Apple's Dispatch Queues to handle
      enqueuing samples.
      One dispatch queue was thus added for each input to the AssetWriter.
      Each input is associated to one queue, and the requestMediaDataWhenReady
      function insures that the inputs go and fetch any available samples when
      they are able to write them.
      
      As tested (for short podcasts, repeatedly), this solves all the problems
      encountered earlier, such as the program hanging due to one input not
      being ready, or corrupt files due (presumably) to missing samples.
      427cdbb6
    • Craig Watson's avatar
      clean-up; temporary solution for waiting until audio assetWriter is ready... · fc554bae
      Craig Watson authored
      clean-up; temporary solution for waiting until audio assetWriter is ready before appending sample buffers
      fc554bae
    • agriche's avatar
      - comment all checkupdate(). · 2b75543e
      agriche authored
      2b75543e
  5. 26 Nov, 2015 5 commits
  6. 24 Nov, 2015 3 commits
  7. 23 Nov, 2015 2 commits
  8. 20 Nov, 2015 4 commits
  9. 19 Nov, 2015 6 commits
  10. 18 Nov, 2015 2 commits
  11. 17 Nov, 2015 6 commits
  12. 16 Nov, 2015 2 commits
    • Craig Watson's avatar
    • Craig Watson's avatar
      First pass at OS X port (Qt4->5; Carbon->Cocoa) · 91cc74fb
      Craig Watson authored
      Application compiles and runs, with some caveats. Full list of changes:
      
      - minor changes related to Qt4->Qt5 API differences
      
      - Replaced calls to Carbon framework by Cocoa
      
      - Removed registering of AE event handler. Seems to be done
      automatically in Qt5.
      
      - temporarily removed Podcast functionality, pending (presumably)
      complete re-write due to Quicktime being obsolete in newer OS X
      versions.
      
      - Created OBCocoa namespace, and associated files src/core/OBCocoa.h/.mm, to
      handle OS X - specific system calls. Currently used only by
      UBApplication, but can in the future provide a useful interface between
      the cocoa framework and OB, to avoid having too much OSX-specific code
      in various files
      91cc74fb
  13. 12 Nov, 2015 2 commits