1. 14 Apr, 2016 1 commit
  2. 13 Apr, 2016 1 commit
  3. 04 Apr, 2016 1 commit
  4. 22 Mar, 2016 1 commit
  5. 21 Mar, 2016 2 commits
  6. 15 Mar, 2016 1 commit
  7. 14 Mar, 2016 4 commits
  8. 09 Mar, 2016 3 commits
  9. 08 Mar, 2016 1 commit
    • Craig Watson's avatar
      Save metadata.rdf less often · 11b9bf74
      Craig Watson authored
      The documents' metadata.rdf file is now persisted only when a scene in
      the document is also persisted; as well as when the document is modified
      (trashed / path changed) in the the Documents pane.
      
      Code was cleaned-up a bit too (added a forgotten return value, etc)
      11b9bf74
  10. 07 Mar, 2016 1 commit
  11. 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
  12. 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
  13. 01 Mar, 2016 1 commit
    • Craig Watson's avatar
      Overhaul of UBGraphicsMediaItem class · fe9affee
      Craig Watson authored
      - Removed inheritance of UBGraphicsProxyWidget; cleaned up related code
      - Added two children classes: UBGraphicsVideoItem and
      UBGraphicsAudioItem. UBGraphicsMediaItem is now an abstract class.
      - Better encapsulation; the Scene and other external classes no longer
      access the mediaObject directly
      
      There is now less distinction between audio and video items to outside
      code: apart from the UBSvgSubsetAdaptor, there is no need to know
      whether a media item holds a video or audio file. Creation is handled
      through the static function `UBGraphicsMediaItem::createMediaItem(URL,
      parent)`
      fe9affee
  14. 21 Jan, 2016 2 commits
  15. 14 Jan, 2016 1 commit
    • Craig Watson's avatar
      Code clean-up · da5378a6
      Craig Watson authored
      Mostly, removal of old code that had been commented out instead of
      removed
      da5378a6
  16. 12 Jan, 2016 1 commit
  17. 11 Jan, 2016 1 commit
  18. 17 Dec, 2015 1 commit
  19. 16 Dec, 2015 1 commit
  20. 09 Dec, 2015 3 commits
  21. 04 Dec, 2015 1 commit
    • 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
  22. 03 Dec, 2015 1 commit
    • 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
  23. 30 Nov, 2015 1 commit
  24. 26 Nov, 2015 1 commit
  25. 24 Nov, 2015 1 commit
    • Craig Watson's avatar
      Hide dock and menubar on OSX; · 20ebdf3c
      Craig Watson authored
      Due to QWidget::showFullScreen having side-effects on OSX (setting the
      dock and menubar to autohide, making it impossible to then set them as
      hidden), the calls to that method were replaced with
      UBPlatformUtils::showFullScreen(QWidget *). This function then calls
      QWidget::showMaximized() on OSX, or QWidget::showFullScreen() on Linux
      and Windows.
      
      It is currently still impossible to switch smoothly between showing or
      hiding the dock on OSX; current behaviour is to hide it all the time,
      even in desktop mode.
      20ebdf3c
  26. 20 Nov, 2015 1 commit
  27. 19 Nov, 2015 2 commits
  28. 17 Nov, 2015 1 commit
  29. 16 Nov, 2015 1 commit
    • 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