TreeSheets 7861249636
Trigger rebuild manually
wxWidgets issue with color picker dialog crashing seems to be fixed.
Zaloguj
lub
Zarejestruj się
aby zobaczyć!
Trigger rebuild manually
wxWidgets issue with color picker dialog crashing seems to be fixed.
Consider MacOS platform specific path for translation files (#609)
Co-authored-by: Tobias Predel <tobiaspredel@192.168.1.73>
Small optimizations for cmake (#611)
* Avoid redundant branch for the condition Linux and Filesystem Hierarchy Standard
* Put translations back to own directory on MacOS
Do not install wxWidgets along with TreeSheets static build (#612)
Add selection cycle (#613)
Jump to the opposite side of the grid at the grid border
Replace wxScrolledWindow with wxScrolledCanvas (#616)
According to <Zaloguj lub Zarejestruj się aby zobaczyć!>,
`wxScrolledCanvas` is more suited to the use case of TreeSheets
as there are no child controls in `TSCanvas`.
Put clipboard data on the system stack (#617)
The clipboard data structures are created by the first document on the
heap and then are subsequently overridden by other documents.
It can be a better design to put the clipboard data into one central place
on the stack of `System` as it is available during the lifetime of the
program.
Clipboard data structures must live on the heap
Destructors call free by themselves
Avoid wxDataObjectComposite for pasting (#619)
* Avoid wxDataObjectComposite for pasting
wxDataObjectComposite does not work properly on Wayland for text atoms,
so avoid it.
In addition to that, the paste operation wxDataObjects for text, image and
file name can be handled completely on the stack.
Only the drag and drop operation still requires an composite data object
on the heap, so handle it separately.
* Add comment to document the rationale of the change
* Only refresh once after paste or drop operation
Keep track of images undergoing manipulation (#620)
* Keep track of images undergoing manipulation
Prior to this commit, the image operation got executed on each image in
the cells of the selection per cell.
The issue was that if the same image was referenced in multiple cells in
the selection, the operation was executed per cell, thus on the same image
multiple times.
In order to prevent this, keep track of all images and the cells
referring to them in the selection, to execute the image operation
only once on each image and to reset the layout of the referencing cells.
* Also reset children
Before this commit, the layout did not fit to the updated image dimensions in some cases.
Place Drag and Drop data structures per document
When a page gets closed, the destructor of DropTarget is called
that also frees the associated data. If we maintain only one data
structure associated with each DropTarget of each page, it tries to
free this data structure multiple times, resulting in a crash.
To avoid this, keep a Drag and Drop data structure in each document.
Apply changes from clang-format (#622)
* Apply clang-format on main.cpp
* Apply clang-format on document.h
* Apply clang-format on cell.h
* Apply clang-format on grid.h
* Apply clang-format on myframe.h
* Apply clang-format on myapp.h
* Apply clang-format on mycanvas.h
* Apply clang-format on mywxtools.h
* Apply clang-format on selection.h
* Apply clang-format on stdafx.h
* Apply clang-format on tools.h
* Apply clang-format on threadpool.h
* Apply clang-format on script_interface.h
* Apply clang-format on system.h
* Apply clang-format on text.h
* Apply clang-format on treesheets_impl.h
* Apply clang-format on evaluator.h