Tomasz Włostowski
3f7c5a0845
fixed post-rebase issues
2016-12-12 16:45:52 +01:00
Tomasz Włostowski
1c1f4e9a50
Refactoring of VIEW/VIEW_ITEM classes:
...
- Remove dependency of EDA_ITEM on VIEW
- VIEW_ITEM is now a pure virtual interface
2016-12-12 16:45:52 +01:00
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)
2016-12-12 16:45:52 +01:00
Maciej Suminski
e37488f145
Minor code simplification in BOARD_COMMIT
2016-12-07 16:50:23 +01:00
Maciej Suminski
89a5f8ce69
Remove boost::bind from BOARD_COMMIT
2016-11-28 15:51:18 +01:00
Maciej Suminski
7f9380af26
Update the status panel after every commit.
2016-09-19 12:08:29 +02:00
Maciej Suminski
65b1225231
Added CHT_DONE flag to COMMIT::Stage to skip add/remove step
2016-09-12 13:45:57 +02:00
Maciej Suminski
86895822b7
BOARD_COMMIT retracts changes in reversed order
2016-09-12 13:45:57 +02:00
Maciej Suminski
32c4bec31c
Implemented BOARD_COMMIT::Revert()
2016-09-12 11:50:06 +02:00
Maciej Suminski
08d15a9961
BOARD_COMMIT::Revert() marked as not tested
2016-09-12 11:50:06 +02:00
Maciej Suminski
f1b37109e3
BOARD_COMMIT code cleaning
...
Moved a few conditionals to scopes where they can be executed.
Simpler way to create ITEM_PICKERs.
2016-09-12 11:50:06 +02:00
Maciej Suminski
c7ce82a4bf
BOARD_COMMIT creates only one copy of a modified module
2016-09-12 11:50:06 +02:00
Maciej Suminski
992ca6e7c7
Fixed removal function in BOARD_COMMIT.
2016-09-12 11:50:06 +02:00
Maciej Suminski
2ab7196035
Reenabled and corrected BOARD_COMMIT::Revert().
2016-09-12 11:50:06 +02:00
Maciej Suminski
497fb31ae0
BOARD_COMMIT can be constructed using a PCB_BASE_FRAME*.
2016-09-12 11:50:06 +02:00
Tomasz Wlostowski
9588a7974c
Added classes COMMIT & BOARD_COMMIT.
2016-09-12 11:50:06 +02:00