Jeff Young
889b6cb1b1
Clean up some commenting and rename MODULE_EDITOR_TOOLs to match filename.
6 years ago
Jeff Young
56946f4db1
Fix pad name increment to use last edited pad.
Fixes https://gitlab.com/kicad/code/kicad/issues/1882
6 years ago
Jeff Young
1535c83b88
Lay some groundwork for adding distances to DRC errors.
modified: eeschema/lib_rectangle.cpp
6 years ago
Jeff Young
7f1b409305
Remove dead legacy print code.
6 years ago
Jeff Young
c08a6adb2a
Implement GUI and file R/W for 3D model opacity.
Fixes https://gitlab.com/kicad/code/kicad/issues/2087
6 years ago
Jeff Young
6e800bddae
Rationalize penWidth processing as first step in removing some globals.
6 years ago
Jeff Young
174856bac5
Promote 3D model "preview" flag to a persisted "show" flag.
Fixes https://gitlab.com/kicad/code/kicad/issues/2061
6 years ago
Jeff Young
aba0fa7bf8
Allow cross-referencing text substitutions.
6 years ago
Jeff Young
fe3e0307d8
Move sheet name and filename to SCH_FIELD architecture.
Only internal storage architecture has changed (so far).
6 years ago
Jeff Young
c68b554c8e
Promote PathsAndReferences from wxArrayString to first-class-citizen.
Keeping the data in an un-serialized format greatly simplifies usage,
and should make it more robust.
6 years ago
Jeff Young
ea025a35e5
Change KUUID to KIID.
6 years ago
Jon Evans
e8e3b4f11e
Rename UUID to KUUID to fix MSVC build
Also add another newly-required boost flag
6 years ago
Jeff Young
129042f8a6
Convert timestamps to UUIDs.
6 years ago
jean-pierre charras
ed0a28769a
code cleaning: remove useless includes.
6 years ago
Mark Roszko
19ceb11ae7
Change more enums over to scoped enums
6 years ago
Mark Roszko
11ff16be4e
Switch to scoped enums
6 years ago
jean-pierre charras
65bf669387
Refinements in gerber placefile writer: allows adding board edge cuts in file.
Use a pad bounding box for footprints having no valid courtyard defined.
Refinement also in Gerber files when plotting oval pads.
6 years ago
jean-pierre charras
bc5dcf182f
keepout in footprint: fix some crashes and issues. Create a specific type (PCB_MODULE_ZONE_AREA_T) for zones in footprint. The new class (MODULE_ZONE_CONTAINER) is the same as ZONE_CONTAINER, but the type ID is PCB_MODULE_ZONE_AREA_T instead of PCB_ZONE_AREA_T.
This is mandatory because these zones must be handled differently in many functions.
6 years ago
Ross Schlaikjer
64a42ffa35
Add keepout in footprints: Starting point.
6 years ago
jean-pierre charras
64b5e8bee2
Minor fix and enhancement code.
6 years ago
Jeff Young
19b463ec78
Add option to keep 3DModel info when exchanging footprints.
Fixes: lp:1841303
* https://bugs.launchpad.net/kicad/+bug/1841303
6 years ago
Jeff Young
a25368cc6b
Improve spelling.
The groundwork here is thanks to kunda1.
Fixes: lp:1831510
* https://bugs.launchpad.net/kicad/+bug/1831510
6 years ago
Jeff Young
375e8a2f97
Only add ref & value to boundingBox if they're visible.
Fixes: lp:1746911
* https://bugs.launchpad.net/kicad/+bug/1746911
6 years ago
Jeff Young
37af3adffb
Add preference for flip axis.
Fixes: lp:1836267
* https://bugs.launchpad.net/kicad/+bug/1836267
6 years ago
Seth Hillbrand
6a45446496
pcbnew: Remove the last dlist from modules/pcbnew
7 years ago
Seth Hillbrand
9163ac543a
pcbnew: Move pads to std::deque
7 years ago
Seth Hillbrand
d1877d7c1b
Moving modules from DLIST to std::deque
7 years ago
Jeff Young
d6e9bdf07b
Convert remaining legacy drawing code to print code.
7 years ago
Jeff Young
1e9da7f57b
Remove CurItem() architecture and legacy routers and drawing code.
7 years ago
Seth Hillbrand
ac435ecd68
Moving further arc approximations down
This corrects an issue with fill segments-per-circle and moves the error
to segmetns calculation down in a number of functions to expose the
single value for approximation
7 years ago
Seth Hillbrand
ddc6079ceb
Move remaining hard-coded segment counts
This removes the remaining hard-coded segments counts and replaces them
with the relative error calculation where the segments per arc is
determined by the maximum error we allow (smaller arcs = fewer segments)
7 years ago
Jeff Young
fd546da640
Homogenize hit testing and selection return types.
Prep work for sharing SCH_SELECTION_TOOL with LibEdit.
7 years ago
Jeff Young
d90d0780ae
Fix some fall-out from the non-reference GetText().
7 years ago
Seth Hillbrand
27b4f2fbe9
pcbnew: Fix incorrect Type settings
Fixes: lp:1816259
* https://bugs.launchpad.net/kicad/+bug/1816259
7 years ago
John Beard
88f9f6f072
Break out ref-des-centric functions to own header
This breaks the following functions out to a general-purposed refdes utils
header:
* MODULE::GetReferencePrefix()
* kicad_string.h RefDesStringCompare()
This acheives:
* Slimming of MODULE interface
* Placement of refdes code in common rather than pcbnew
** Testing of this code in qa_common
* Tighter and smaller includes for code that only needed refdes functions
Note: there are failing tests commited (as expected failures). These
are the cause of lp:1813669 and will be fixed as a follow-up commit.
7 years ago
jean-pierre charras
04aeec1223
Remove useless includes
7 years ago
Jeff Young
3439551543
Implement a work-around for net-ties.
Fixes: lp:1799318
* https://bugs.launchpad.net/kicad/+bug/1799318
7 years ago
Jeff Young
0f9ded9563
Space out placed footprints with some padding.
Fixes: lp:1788917
* https://bugs.launchpad.net/kicad/+bug/1788917
7 years ago
Jeff Young
e55bb9e748
Increment references when creating an array.
While it's not always correct, not doing so is pretty much always
incorrect.
Fixes: lp:1625964
* https://bugs.launchpad.net/kicad/+bug/1625964
7 years ago
Jeff Young
49ea6e1670
Fix occurrences of "edition" which should be "editing"
Fixes: lp:1778168
* https://bugs.launchpad.net/kicad/+bug/1778168
(cherry picked from commit bcb1220)
8 years ago
Jeff Young
eacaa39aa2
Remove global units usage from GetSelectionText...
... and GetMsgPanelInfo.
Step 4 in the g_UserUnit eradication effort.
Also removes a couple of conversion routines that were close
enough to extinction.
(cherry picked from commit c75da51)
8 years ago
Jeff Young
0010ad37d1
In-place editing for footprint TEXTE_MODULEs.
Fixes: lp:1102168
* https://bugs.launchpad.net/kicad/+bug/1102168
Fixes: lp:1779913
* https://bugs.launchpad.net/kicad/+bug/1779913
(cherry picked from commit 83781ab)
8 years ago
jean-pierre charras
ffa454d6f9
class MODULE: use timestamp_t instead of time_t in SetLastEditTime and GetLastEditTime, like in all other methods using a time stamp.
8 years ago
Jon Evans
1e66a23dbc
Rework footprint selection filtering to improve behavior
Fixes: lp:1751960
* https://bugs.launchpad.net/kicad/+bug/1751960
8 years ago
Jeff Young
c69db55c1f
Fix regression in auto-selection-disambiguation.
Fixes: lp:1646339
* https://bugs.launchpad.net/kicad/+bug/1646339
8 years ago
Jon Evans
01ab8b0584
Use polygonal hit testing for module selection
8 years ago
Camille
9ff66a5274
Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases
8 years ago
Jeff Young
0f943f1e4b
Disambiguation menu fix for footprints with a single pad.
Fix selection disambiguation to allow for selecting of footprints which are
mostly covered by their pads, text, etc.
Fixes: lp:1739425
* https://bugs.launchpad.net/kicad/+bug/1739425
Fixes: lp:1723469
* https://bugs.launchpad.net/kicad/+bug/1723469
8 years ago
Tomasz Włostowski
a4528988ca
pcbnew: fix graphical polygon movement, rotation, flipping and edit points synchronization.
Fixes: lp:1738449
* https://bugs.launchpad.net/kicad/+bug/1738449
Fixes: lp:1738032
* https://bugs.launchpad.net/kicad/+bug/1738032
8 years ago
Henner Zeller
3f57fa5d24
Change time_t in the functions that deal with timestamps to a new typedef timestamp_t (defined as a long).
that makes sure the c++ side and swigged Python side agree on the type, because time_t create problems in Python scripts.
8 years ago