Clément Fauconnier
bc61f169a3
fixed a forgotten return (used while debugging)
5 years ago
Clément Fauconnier
9adb8e6643
Due to perfomance issues at openboard start, in a network-attached storage context, I had to find some (dirty) optimizations in order to counter-balance the huge response time of the directory scans performed when creating the documents tree (very huge in slowest machines (HDD, low CPU, with a thousand documents)). The simplest solution (I found) was to let the opening of metadatas fail, and to prevent any scanning. This implied to introduce the page-count as a metadata. As this issue is not encountered with a standard use of OpenBoard (with local documents), no update operation (of every document) should be necessary out of the described context
5 years ago
Clément Fauconnier
7d570b3a2e
fixed a regression where an renamed document at import would display the previous name
5 years ago
Clément Fauconnier
7b678ab7c7
improved behavior when replacing active document during import
5 years ago
Clément Fauconnier
15c4ca9323
fixed a crash when replacing active document during import
5 years ago
Clément Fauconnier
38032fb42d
fixed some issues where copying a page could result on images loss
6 years ago
Clément Fauconnier
6df843dc58
fixed set current background on a new page
6 years ago
Clément Fauconnier
fccc1afd9f
several fixes on document mode (buttons' state update, no active document on trash)
6 years ago
Clément Fauconnier
c77b8fd8b8
code cleaning + copyright update + i18n update
6 years ago
Clément Fauconnier
e228fb19e5
updated Copyright to 2018
6 years ago
Clément Fauconnier
41c50a2c0a
new document and new folder editable at creation + expand path if needed
6 years ago
Clément Fauconnier
e963b7e8df
fixed document names
6 years ago
Clément Fauconnier
8ecf99f838
First step of OpenSankore Document Mode integration
6 years ago
Clément Fauconnier
3860e97b49
1.4 release without real time previews on left palette
7 years ago
Clément Fauconnier
dcf039448c
added translations
7 years ago
Clément Fauconnier
cd1b2e0087
added code lost in auto-resolved conflicts during my last 'stash apply'
7 years ago
Clément Fauconnier
0344a4c293
added translations
7 years ago
Clément Fauconnier
e2aef9f0aa
increased messages during document loading + optimized some calls
7 years ago
Craig Watson
75ecc33bcf
When creating a new page, set the background grid size to the same as
...
the last active page
7 years ago
Clément Fauconnier
1f9a4858e1
replaced previous workaround on thumbnail views by a fix
7 years ago
Clément Fauconnier
7b1f64eabf
merge 1.4-dev + thumbnail views & fixes
7 years ago
Craig Watson
694123c344
Fix for crash when exiting with an empty document
...
This removes a few instances of deleting a scene twice, or accessing
elements of a scene after they've been deleted.
Previously, the application would crash upon exiting if the scene was
empty but had been modified (e.g if an object was placed on the board
then deleted, then the application closed)
8 years ago
Craig Watson
4cff84737d
When loading a scene that is about to be deleted, don't cache the previous and next scenes.
...
This prevents crashes that may occur when deleting multiple pages from a document.
8 years ago
Craig Watson
def5f7f719
Added ruled background
8 years ago
Craig Watson
575d14a5c2
Updated headers
9 years ago
Craig Watson
f4b1079d81
Revert "Revert changes pushed to wrong branch"
...
This reverts commit 4aa0ee6197
.
9 years ago
Craig Watson
11b9bf74fb
Save metadata.rdf less often
...
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)
9 years ago
Craig Watson
59207cbbf2
Moved document metadata saving to UBPersistenceManager's worker thread
...
(Reading is still done synchronously, for now at least)
9 years ago
Craig Watson
fe9affeea1
Overhaul of UBGraphicsMediaItem class
...
- 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)`
9 years ago
Craig Watson
4aa0ee6197
Revert changes pushed to wrong branch
...
When the time comes to merge dev into master (for real), the
following may be useful:
https://metlos.wordpress.com/2012/01/13/
git-merging-after-a-revert/
9 years ago
Craig Watson
26f6de7851
Minor compatibility updates (strings etc; missing includes)
9 years ago
Claudio Valerio
7cd7af2de4
when page is deleted the pictures are deleted too
10 years ago
Claudio Valerio
dd6a41fde3
fixed duplication issue
10 years ago
Claudio Valerio
8713dc3bcb
removed monitor for document directory
10 years ago
Claudio Valerio
bddb4db2b8
cosmetics
11 years ago
Claudio Valerio
f84d204226
removed hack and correct duplication on a group
11 years ago
Claudio Valerio
aaa09c9921
document removed if it contains only <<structural>> QGraphicsItems
11 years ago
Claudio Valerio
6d7350445f
workaround for issue related to the group duplication
11 years ago
Claudio Valerio
998e074ea7
duplicated images on page duplication
11 years ago
Claudio Valerio
39a1284023
duplication fixed. Crash on closing the application after creating a new document fixed.
11 years ago
Claudio Valerio
422ab4c537
scene are deleted on gui thread
11 years ago
Claudio Valerio
5cea797ef1
Scene is copied before being queued to avoid concurrence
11 years ago
-f
bea0740472
one scene document error when asking isEmpty. Load scene was called before persisted on disk
11 years ago
-f
ccf7532af8
waiting the end of worker thread correctly
11 years ago
-f
61e588bb94
Threaded the storage of the scene. Asynchronous reading of the previous and next scene to be stored on cache.
11 years ago
-f
2c1a2c953d
object selection on board remain unchanged after an automatic saving
11 years ago
Claudio Valerio
5c47e5493e
header updated
11 years ago
Claudio Valerio
f973c8b2d2
importing pdf doesn't add a blanc page anymore. Issue 81
11 years ago
Claudio Valerio
d6768f35ed
removed debug log
11 years ago
Claudio Valerio
8d4be60b9e
good behavior horror code
11 years ago