Jeff Young
84151990cd
Don't set dirty bit when adding MARKERs.
They're not saved in the file, so they shouldn't dirty it.
Fixes: lp:1762497
* https://bugs.launchpad.net/kicad/+bug/1762497
8 years ago
jean-pierre charras
39b4afecfa
fix code after file renaming
8 years ago
Maciej Suminski
984ac70106
Added COMMIT::GetStatus() and minor refactor
Moved duplicated code to a new function and added
an assert to warn against possible memory leak.
9 years ago
Tomasz Włostowski
9e73c3117e
Added possibility to disable undo entries creation in COMMIT/BOARD_COMMIT
9 years ago
Maciej Suminski
c96db4f5c4
Removed aCreateUndoEntry flag from COMMIT::Push()
It was not used anywhere and COMMIT should handle creating
undo buffer entries.
9 years ago
Maciej Suminski
89055c4425
Code formatting
9 years ago
Tomasz Włostowski
27a10e8597
Multiple simplifications to GAL tools in PCBNew:
- Finalize transition to BOARD_COMMIT (removed all remaining uses of PICKED_ITEMS_LIST) and implicit view/ratsnest updates
- Simplified SELECTION class, it now can be directly added to a VIEW
- Removed unnecesary casts and templates
- Introduced C++11 features (range based for, lambdas) where they improve code readability
- Added non-undoable COMMITs, which can be used to propagate change notifications to interested listeners (e.g. ratsnest/view)
9 years ago
Maciej Suminski
6481ff75c9
Changed one of COMMIT::Stage() methods to COMMIT::Modified()
9 years ago
Maciej Suminski
65b1225231
Added CHT_DONE flag to COMMIT::Stage to skip add/remove step
9 years ago
Maciej Suminski
acd7214586
Moved commit.h to 'include' directory
10 years ago
Maciej Suminski
38177b70b9
Comments for COMMIT class
10 years ago
Maciej Suminski
940765f4b3
COMMIT class: removed m_committed flag, added clear() and Empty() methods.
10 years ago
Maciej Suminski
b8350f037b
COMMIT: Added an interface to store items that already have a copy created.
10 years ago
Maciej Suminski
0223425d30
COMMIT: changed BOOST_FOREACH to for.
10 years ago
Tomasz Wlostowski
9588a7974c
Added classes COMMIT & BOARD_COMMIT.
10 years ago