Jeff Young
a4837f7d32
Move DRC dialogs to wxDataView.
This allows for hierarchy and better selection handling.
6 years ago
Jeff Young
c5077aeb97
Move weak-reference stuff to UUIDs.
6 years ago
Jeff Young
c7ec110fba
Only center focused items when they're not visible.
This includes outside the window and behind an occluding dialog.
This keeps the view from jumping around when focusing on nearby
objects.
6 years ago
Jeff Young
7fdb74569f
Attempt to fix test expectation.
I'm pretty sure this will fix it, but I've never been able to
build the tests on my Mac so I'm not sure.
Fixes https://gitlab.com/kicad/code/kicad/issues/3928
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
Jon Evans
b4786e4121
Cross-probe into schematic using selection rather than HIGHLIGHTED flag
6 years ago
jean-pierre charras
a8e905a1e8
QA: fix a python test issue due to code changes in board.h
FindModule() does not exist anymore. Use FindModuleByReference() instead.
Fixes #3927
https://gitlab.com/kicad/code/kicad/issues/3927
6 years ago
jean-pierre charras
fee5db80dc
parseARC: parsing UUID: fix missing call to NextTok(), creating parse error.
6 years ago
jean-pierre charras
7206b567ac
Gerbview: Gerber attributes display: fix incorrect attributes deletion.
The Gerber attribute deletion command (%TD,xxx) always cleared all attributes,
instead of clearing xxx attribute.
Therefore some attributes were not always displayed.
6 years ago
Jon Evans
41f59ab873
Avoid intermittent compiler crash in GCC 7.4
Somehow the previous way this statement was written can cause an
internal compiler crash on gcc 7.4.0-1ubuntu1~18.04.1 sometimes.
6 years ago
Seth Hillbrand
68be5fc1f4
Eagle: Set linewidth in polylines
6 years ago
Seth Hillbrand
62cc733fe6
Eagle: update RTree after moving schematic
After importing, some schmeatics are moved, item at a time. When moving
schematic items, we need to update the RTree bounding box to allow
searching on position
Fixes #3915 | https://gitlab.com/kicad/code/kicad/issues/3915
6 years ago
Jon Evans
d3d74b36bd
Allow version selection; make buttons the same size
6 years ago
Jon Evans
80233aece9
Fix URL launching on MacOS
6 years ago
Jeff Young
41b7c62c15
Delay initialisation of global EDA_ITEMs.
It causes issues with boost::uuid generation in some versions of
boost.
6 years ago
jean-pierre charras
f206db2041
Pcbnew: fix crash on exit after using the track length tool.
This is due to the fact the PNS_TUNE_STATUS_POPUP was not hidden
before calling its destructor.
It is now fixed by setting its virtual destructor calling Hide().
TODO: see if it could be used for any class derived from STATUS_POPUP.
(We already have this issue in other places)
6 years ago
Jon Evans
712ae5a953
Check if scaling factor has changed when top-level window is moved
Fixes #2592
6 years ago
Jon Evans
96da45f12f
Rework window size and position fixing code
Fixes #2624
Fixes #3888
6 years ago
Seth Hillbrand
8c19b4b6ae
pcbnew: Adding arcs to PNS
This is allows ARCs in tracks to be synchronized with
the PNS router. Note this does not yet include the UI components
to route curved traces
7 years ago
Seth Hillbrand
3af868e3d1
Adding Arcs to TRACKS
This expands the TRACKS class to also include ARCS
7 years ago
Seth Hillbrand
c52b3ce0e4
SHAPE_LINE_CHAIN: Add ability to insert arcs
Creates new substructure for arc management. Existing functions provide
wrapper to use SHAPE_LINE_CHAIN as normal, without arcs while also
permitting the addition of arcs into the chain
7 years ago
Jeff Young
83057a48e1
Write Eeschema "AR" references in legacy timestamp format.
Also fixes a bug with path separators not getting added to the
m_PathsAndReferences array.
Fixes https://gitlab.com/kicad/code/kicad/issues/3925
6 years ago
Jeff Young
ea025a35e5
Change KUUID to KIID.
6 years ago
Jeff Young
383403ef98
Push deprecation warning suppression down into boost.
Note: requires boost 1.67 or later.
Current boost version is 1.72.
6 years ago
Jon Evans
a533748796
Cleanup
6 years ago
Jon Evans
ad3e99f933
Fix file history save order
6 years ago
Jon Evans
fcdf2bac0b
Remove dead code
6 years ago
jean-pierre charras
6d44a93eaf
Linking, mingw: Add bcrypt to libraries linked to libcommon.
It is already added with MSVC, and must be added with gcc/mingw
However, the cmake option:
add_definitions( -DBOOST_UUID_FORCE_AUTO_LINK )
does not work on msys2 (at least with my cmake version), so another syntax is used.
6 years ago
Jon Evans
ea733639ff
Rearrange about dialog; add easy bug report button
Fixes #3871
6 years ago
Jon Evans
da1ba54188
Expose curl_easy_escape via KICAD_CURL_EASY
6 years ago
Jon Evans
dc75c2b800
Factor out utility to launch a given file or folder
6 years ago
Jon Evans
e8e3b4f11e
Rename UUID to KUUID to fix MSVC build
Also add another newly-required boost flag
6 years ago
Jon Evans
affdaa8c33
Fix one more warning
6 years ago
Jon Evans
cd86dd516c
Fix signed vs unsigned warnings
6 years ago
Jeff Young
2778dc90f3
Cleanup.
6 years ago
Jeff Young
e69c82f45f
Back out changes which updated the eeschema file format.
We'll wait until we have the new eeschema format to turn on UUID
generation for Eeschema. Right now only Pcnbew generates full UUIDs.
6 years ago
Jeff Young
490f39a671
Remove obsolete code requiring unique sheet names.
6 years ago
Jeff Young
e1d59337d1
Protect GCC #pragmas.
6 years ago
Jeff Young
e033e394e7
Add visibility flags for sheet names and sheet filenames.
6 years ago
Jeff Young
48874a7f19
Fix mis-match between color defaults in old and new systems.
6 years ago
Jeff Young
81dd1d7a68
Timestamp-based paths were ugly. UUID-based ones are worse.
Show a human-readable path in the Edit Footprint dialog.
6 years ago
Jeff Young
129042f8a6
Convert timestamps to UUIDs.
6 years ago
Jeff Young
4014afad54
Remove unused functionality.
6 years ago
Jeff Young
d374abc79b
Remove unused functionality.
6 years ago
Jon Evans
1a216f3703
Change action plugin settings storage to preserve hidden buttons
6 years ago
Jon Evans
4f555e7794
Fix QA crash: Pgm is null in test suite
6 years ago
jean-pierre charras
59517ac24d
Cvpcb: fix incorrect display of a bold text inside the main toolbar.
6 years ago
Jon Evans
e59a3d981e
Implement a new settings framework across all of KiCad
CHANGED: Settings are now stored in versioned sub-directories
ADDED: First-run dialog for migrating settings from a previous version
CHANGED: Settings are now stored as JSON files instead of wxConfig-style INI files
CHANGED: Color settings are now all stored in a separate settings file
CHANGED: The symbol editor and footprint editor now have their own settings files
CHANGED: Color settings are no longer exposed through BOARD object
CHANGED: Page layout editor now uses Eeschema's color scheme
Settings are now managed through a central SETTINGS_MANAGER held by PGM_BASE.
Existing settings will be migrated from the wxConfig format on first run of each application.
Per-application settings are now stored in one class for each application.
6 years ago
Jon Evans
1449af40ed
Add forward-declaration header for nlohmann/json
6 years ago
jean-pierre charras
625249322e
Pcbnew: regroup drc files to the already existing drc folder.
6 years ago