Clément Fauconnier
d95a408683
updated copyright
3 years ago
Clément Fauconnier
ee3b9aec7d
improved selection behavior in document mode and updating of buttons/actions + reduced the amount of some calls
3 years ago
Clément Fauconnier
b943a0d79d
cherry-picked 670d772 + b944207c
3 years ago
Clément Fauconnier
6994400e71
use progressdialog and QtConcurrent in order to create documentProxies structure (improving performances in a network-storage context)
3 years ago
Clément Fauconnier
6e21cd4c27
updated translations
3 years ago
Clément Fauconnier
bfcaace42e
fixed a lot of issues regarding thumbnails
3 years ago
Clément Fauconnier
6504c42e75
fixed an issue where mSelectedThumbnail could become inconsistent + fixed an issue where a blank page would be added while importing the same document again and again
3 years ago
Clément Fauconnier
937b031d6e
improved thumbnails handling as they could be re-generated 2-3 times with no reason. Huge performance issue in a network-storage context, especially with large files
3 years ago
Clément Fauconnier
5a8b0a1117
fixed deselect all on autosave
3 years ago
Clément Fauconnier
60bed975fd
fixed an issue where reloadThumbnails & treeviewSelectionChanged would be called every time a page is deleted ! Resulting on really poor performances for the deletion operation, even in a crash, if trying with a lot of pages.
3 years ago
Clément Fauconnier
19e6331f5d
Revert "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"
...
This reverts commit 9adb8e6643
.
3 years ago
Clément Fauconnier
43f2aba2cc
persist metadata when docs are renamed by the replace dialog
3 years ago
Clément Fauconnier
0611fafed1
fiexed two issues where page count could be corrupted
4 years ago
Clément Fauconnier
d30d9862d4
improved last fix + fixed an issue where rename a folder could result broken folders hierarchy
4 years ago
Clément Fauconnier
d91e92780c
fixed an issue where metadata was not updated correctly in some cases of a page deletion
4 years ago
Clément Fauconnier
ab74e1d0da
scan document if pagecount metadata contains the value 0, as it could prevent the document to be displayed in the Document Mode (didn't found ways to get into this scenario, but still)
4 years ago
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