Marek Roszko
b2f5c989a6
Suppress leaking eda_item so much via undo_redo_container.h
5 years ago
Jon Evans
247da631f9
Revert "Fix typo and clean up leftover tracks"
This reverts commit ed66c0f14d .
Revert "Clean up co-linear tracks after finishing routing"
This reverts commit 1a102f03c0 .
More complex solution needed
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8526
5 years ago
Jon Evans
1a102f03c0
Clean up co-linear tracks after finishing routing
This involved adding some extra infrastructure to be able
to handle the case where a track that is sitting in the
router's commit waiting to be added to the board actually
needs to be deleted instead.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8419
5 years ago
Wayne Stambaugh
6ab1144ea3
Fix broken Doxygen comment specifiers.
Please note, ///> is not a valid Doxygen comment specifier. ///< is the
correct specifier to use for single line or short Doxygen comments.
5 years ago
Wayne Stambaugh
bf00ebee3b
Header clean up round 1.
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Mark Roszko
1082402b33
Convert UNDO_REDO_T to an enum class
5 years ago
Ian McInerney
acc3217a95
Renormalize line endings and enforce normalization for all contributors
5 years ago
Seth Hillbrand
7c28c3838a
Comment-only changes
Makes class comments conform to coding standards
6 years ago
Ross Schlaikjer
64a42ffa35
Add keepout in footprints: Starting point.
6 years ago
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