Wayne Stambaugh
78e2f0fd4d
Sheet instance handling improvements.
3 years ago
Jeff Young
e28f6ecc00
Fetch a better location for keepout area collsions.
Fixes https://gitlab.com/kicad/code/kicad/issues/13220
3 years ago
Jon Evans
995a153f27
Update nlohmann::json to 3.11.2
Also update json_schema_validator to match new deprecations
3 years ago
Marek Roszko
4472435380
Fix broken constructor
3 years ago
Marek Roszko
fd6564cc82
Allow KIID to directly take in std::string
Reduces multibyte conversion banging on library load. uuids already are ASCII by their nature and the logic checks that or else it generates a new kiid.
3 years ago
Forrest Voight
bbc0c61ccb
kiid.cpp: Fix Boost version incompatibility and use of boost::*::detail
Fix compile with Boost 1.65.1 (and possibly some or all of the 1.59-1.66
range); remove dependence on private boost::*::detail members.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12175
Comment tweaks by Mark Roszko @mroszko
3 years ago
Marek Roszko
d440ff7c37
Try and ducktape boost api change for seeder
idk what im doing
4 years ago
Marek Roszko
7a0d8c2fe0
Remove extra boost include
4 years ago
Marek Roszko
3f0f846435
Read the boost manual right-side up
4 years ago
Marek Roszko
2e689901fc
Ensure the kiid generator rng is actually uniquely seeded each start
4 years ago
Jeff Young
228edd4121
Don't generate duplicate IDs in line/wire/bus tool.
Also cleans up existing duplicate IDs when reading.
Fixes https://gitlab.com/kicad/code/kicad/issues/9749
4 years ago
Jon Evans
572747a3f9
Protect KIID generator from threading
4 years ago
Jonathan Haas
e79fd19326
Pass the rng as reference to randomGenerator constructor
Fixes https://gitlab.com/kicad/code/kicad/issues/9714
4 years ago
Jon Evans
1e8284bc1a
Add ability to seed the KIID generator
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9689
4 years ago
Seth Hillbrand
9a8d1246cc
We don't keep a CHANGELOG.TXT
Direct interested readers to AUTHORS.TXT instead.
4 years ago
Wayne Stambaugh
bcd6bddfd4
Start expunging NULL.
Given that KiCad is a C++ project, we should really be using nullptr
instead of NULL.
4 years ago
Roberto Fernandez Bautista
5822cd85c4
Fix eeschema copy/paste: save and load sheet and symbol instances
Save sheet and symbol instance information to the clipboard on copy
Load sheet and symbol instance information from the clipboard on paste
and renumber page numbers after loading.
Correctly handle pasting in a multiple hierarchy by ensuring symbol and
sheet instances are updated for all instances of the destination sheet.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8207
5 years ago
Jon Evans
c04e19f9ac
Include optimization: move some things from common.h to point-of-use
5 years ago
Jon Evans
6d502cb2a5
Don't generate real random UUIDs while loading libraries
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7921
5 years ago
Marek Roszko
907e282347
Silence some msvc warnings
- exception variables that were unused
- RAYSEG2D improperly foward declared with class instead of struct
- unused vars
5 years ago
Wayne Stambaugh
664c301cc7
Coverity fixes.
The Boost UUID random generator can throw an entropy error in the KIID
object constructor which leaves the UUID generator in an undefined state.
This is treated as a fatal error and KiCad is closed. The likelihood of
this occurring is low but at least now it is properly handled and cannot
result in UUID clashes.
Reports 305311, 305372, 305492, 314743, 314754, 314757, 316277.
5 years ago
Jeff Young
8c93fc76ae
Don't require keepout zones to be named.
insideArea() now takes A, B, a UUID or a zone name. (Only the UUID
is new.)
5 years ago
Marek Roszko
64484f5fc4
Split KIID out of common.h
5 years ago