1. 21 Mar, 2016 1 commit
  2. 15 Mar, 2016 2 commits
  3. 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
  4. 07 Mar, 2016 1 commit
  5. 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
  6. 24 Feb, 2016 1 commit
  7. 17 Feb, 2016 2 commits
    • Craig Watson's avatar
      Removed forgotten debug message · c619a9db
      Craig Watson authored
      c619a9db
    • Craig Watson's avatar
      Fixed pen strokes not being loaded in right position · 0879179c
      Craig Watson authored
      - Modified UBvgSubsetAdaptor to correctly save and load strokes, so the
      transform matrices that were saved are now loaded correctly.
      
      - Added handling of mousePress / Move / Release events to
      UBGraphicsStrokesGroup, so that the transform matrix is calculated and
      stored after moving a pen stroke directly (by clicking on it, and not on
      its frame). Note: this duplicates quite a bit of code that is in
      UBGraphicsDelegateFrame. It may be best to go back and modify both
      classes so that the same functions can be called when moving a stroke.
      0879179c
  8. 15 Feb, 2016 1 commit
  9. 21 Dec, 2015 1 commit
    • Craig Watson's avatar
      Corrected pen stroke duplication issue (see below) · 6faeea9d
      Craig Watson authored
      Presumably due to the change in how pen strokes were saved to file (commit
      8ed2e245), pen strokes with pressure levels were badly saved. They were
      converted to lines instead of polygons, meaning that every time a page
      was saved or duplicated, the lines would look worse and worse -- and
      artefacts would appear.
      
      This should now be fixed.
      6faeea9d
  10. 14 Dec, 2015 1 commit
    • Craig Watson's avatar
      Quick fix for issue #14 · 2cec22c9
      Craig Watson authored
      Page DPI is now saved as the DPI that was read when opening the file.
      While not a perfectly fool-proof fix, it will at least allow files to be
      migrated between OB 1.02 and 1.10.
      2cec22c9
  11. 11 Dec, 2015 1 commit
    • Craig Watson's avatar
      Fix video loading from file · 76636f73
      Craig Watson authored
      - Added an overload for setMatrix in UBGraphicsMediaItem, to propagate
        matrix changes to the child videoItem
      - Upon loading a video, the child videoItem is now added correctly, and
        set to the right position
      76636f73
  12. 10 Dec, 2015 2 commits
  13. 09 Dec, 2015 1 commit
  14. 08 Dec, 2015 1 commit
    • Craig Watson's avatar
      Removed export of polygons outside of groups · 8ed2e245
      Craig Watson authored
      The lines removed in this commit led to (presumably) unintended
      behavior: when saving a document, pen strokes were saved not as a group,
      but just as their constituent polygons.
      This meant that the following block of code, that handles saving pen
      strokes correctly, was never executed.
      
      This doesn't fix the z-Value issue (#12), but it seems to be a step in the right
      direction.
      8ed2e245
  15. 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
  16. 09 Nov, 2015 1 commit
  17. 06 Nov, 2015 1 commit
  18. 05 Nov, 2015 5 commits
  19. 14 Oct, 2014 2 commits
  20. 07 Oct, 2014 1 commit
  21. 25 Apr, 2014 1 commit
  22. 24 Apr, 2014 1 commit
  23. 16 Apr, 2014 1 commit
  24. 14 Apr, 2014 1 commit
  25. 11 Apr, 2014 1 commit
  26. 13 Mar, 2014 1 commit
  27. 28 Feb, 2014 1 commit
  28. 24 Feb, 2014 1 commit
  29. 13 Feb, 2014 1 commit
  30. 12 Feb, 2014 1 commit
  31. 13 Jan, 2014 1 commit
  32. 11 Dec, 2013 1 commit