Sun, 29 Jan 2017 15:05:14 +0200
Major overhaul of object→document relationship: added the Model class which models the object buffer. Each object is to be included in a model (an invariant that currently does not hold). A document is a subclass of a model. The LDObject is also now agnostic about selection, and the selection is now a set. A lot of things are probably broken now but it's a major step forward.
The LDObject::destroy method is also now gone. The model decides when objects are destroyed and calls the destructor directly. The end result removes a lot of cruft and adds structure to LDObject relations.
Notes:
- Inlining does not currently work (nothing simply gets inlined in)
- More work is required to ensure that each object actually goes into a model
810
04e05381ad32
- imported the .gitignore from the old git repository as .hgignore and adapted it slightly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
1 | syntax:glob |
04e05381ad32
- imported the .gitignore from the old git repository as .hgignore and adapted it slightly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
2 | build |
945
c310073e4f22
More sharedpointer removal
Teemu Piippo <crimsondusk64@gmail.com>
parents:
904
diff
changeset
|
3 | debug |
c310073e4f22
More sharedpointer removal
Teemu Piippo <crimsondusk64@gmail.com>
parents:
904
diff
changeset
|
4 | release |
810
04e05381ad32
- imported the .gitignore from the old git repository as .hgignore and adapted it slightly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
5 | *.kdev4 |
04e05381ad32
- imported the .gitignore from the old git repository as .hgignore and adapted it slightly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
6 | *.dat |
04e05381ad32
- imported the .gitignore from the old git repository as .hgignore and adapted it slightly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
7 | .kdev_include_paths |
04e05381ad32
- imported the .gitignore from the old git repository as .hgignore and adapted it slightly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
8 | *.cfg |
04e05381ad32
- imported the .gitignore from the old git repository as .hgignore and adapted it slightly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
9 | .kdev4 |
945
c310073e4f22
More sharedpointer removal
Teemu Piippo <crimsondusk64@gmail.com>
parents:
904
diff
changeset
|
10 | *~ |
c310073e4f22
More sharedpointer removal
Teemu Piippo <crimsondusk64@gmail.com>
parents:
904
diff
changeset
|
11 | *.bak |
c310073e4f22
More sharedpointer removal
Teemu Piippo <crimsondusk64@gmail.com>
parents:
904
diff
changeset
|
12 | *.rej |
860
a496e72af069
- more refactor, updated .hgignore
Teemu Piippo <crimsondusk64@gmail.com>
parents:
810
diff
changeset
|
13 | *.orig |
1038 | 14 | CMakeLists.txt.user* |
971
c00f9665a9f8
Now compiles and links but crashes shortly after startup.
Teemu Piippo <crimsondusk64@gmail.com>
parents:
945
diff
changeset
|
15 | *.pyc |
1038 | 16 | doc |