Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model and Controller MVP done #7

Merged
merged 230 commits into from
Jun 9, 2024
Merged

Model and Controller MVP done #7

merged 230 commits into from
Jun 9, 2024

Conversation

extio1
Copy link
Owner

@extio1 extio1 commented Jun 9, 2024

Model is document physical representation (i.e. classes for rows, cols, pages, characters, ...) in include/document src/document.
Controller supports ctrl+z, ctrl+y operations, gives API for any view to operate model (document) via classes of Command. (see usage in main.cpp)

extio1 and others added 29 commits May 27, 2024 19:51
…sert command

ci changed - permissions for new test executables in build/test/*/* added
Serialization of Document, Page, Column, Row, Character works
Now all of them use shared_ptr to get Document instance, not &
Load of classes Document, Page, Column, Row, Character
Bug when:

Executor(3) e
Do(c1)
/ c1
Do(c2)
/ c1 c2
Do(c3)
/ c1 c2 c3
Undo()
/ c1 c2 .c3
Undo()
/ c1 .c2 .c3
Do(c4)
/ c1 c4 .c3
Redo() --> It execute c3, but mustnt do this

Now: it do nothing on such Redo()
Added downloading of boost and it usage in build and test
@extio1 extio1 merged commit 8d10113 into release Jun 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant