Ian McInerney
e662e33104
Store the current filename in the history on close
2020-05-17 00:12:49 +01:00
Ian McInerney
613c020920
Move the file history into the frames
2020-05-17 00:12:49 +01:00
Jon Evans
d599648ec7
ADDED: Enable color themes for schematic printing
2020-05-16 13:19:43 -04:00
Jon Evans
42319e57c6
Clean up libedit color settings
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4433
2020-05-16 09:24:12 -04:00
Wayne Stambaugh
980aefea4b
Eeschema: fix copy and paste bug.
...
Add required library symbols to new file formatter and parser when copying
schematic symbols to prevent missing library symbol when pasting into a
different schematic which may not have the same library symbol available.
Fix a minor bug where the default schematic symbol reference was not set
by the parser when loading.
Fixes https://gitlab.com/kicad/code/kicad/issues/4442
2020-05-15 15:53:59 -04:00
Jeff Young
84160c1da4
Fix typo.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4448
2020-05-15 00:27:19 +01:00
Wayne Stambaugh
ad88874adf
Use new file formats for copy and paste in schematic and symbol editors.
2020-05-13 18:56:19 -04:00
Jeff Young
4a1ee40058
Pretty print bus definitions to the menus.
2020-05-13 16:26:53 +01:00
Jeff Young
050191460f
Check for empty bus vectors and allow backwards vector specs.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4421
2020-05-13 13:42:23 +01:00
Jeff Young
ba301c292a
Check for single item seletion for most property dialogs.
2020-05-13 13:42:23 +01:00
jean-pierre charras
2cf82d9129
fix a wxWidgets minor alert and compil warnings
2020-05-13 08:53:32 +02:00
Jeff Young
ed57c3464d
Fix sch parser issue with older file versions.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4417
2020-05-12 20:05:23 +01:00
Jeff Young
ec5f7b35a9
Attempt to fix crash with RMB on un-selected graphic line.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4414
2020-05-12 19:48:59 +01:00
Jeff Young
724c669434
Move a few more commands to tool framework.
2020-05-12 18:12:38 +01:00
Jeff Young
301ac3461c
Fix some more pen width issues from global removal.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4408
2020-05-12 15:20:17 +01:00
Jeff Young
06dea92bcb
Fix issues with Kicad Manager frame and new kicad_sch files.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4410
2020-05-12 15:20:17 +01:00
Jeff Young
c66bf3df67
Move tool shutdown to after all cancel opportunities.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4401
2020-05-12 00:07:19 +01:00
Jeff Young
105f85e551
Fix new bus parsers to correctly handle non-buses.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4403
2020-05-11 22:56:09 +01:00
Frank Severinsen
9ca61b50b6
Check reference designator type when comparing comp
...
example: prevents a 10K NTC resistor from getting grouped with a 10K SMD resistor
2020-05-10 23:54:28 +00:00
Jon Evans
0d654b3574
Use dynamic_cast for safety in eeconfig()
...
Calling config() gets you whatever APP_SETTINGS_BASE is returned
by the underlying kiface, which is currently going to be an
EESCHEMA_SETTINGS everywhere this is used, but that isn't a
guarantee.
2020-05-10 18:43:01 -04:00
Jon Evans
108cf23892
Restore separate libedit settings for common settings params
...
Be careful when calling config() in eeschema/libedit/pcbnew/modedit
It's usually not the thing you want.
A better fix for #4389
2020-05-10 18:02:58 -04:00
Jeff Young
1cfcfc3ca7
Fix some formatting issues in syntax help.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4233
2020-05-10 22:34:40 +01:00
Jeff Young
1a1ecd8ce1
Rearrange some code to keep from hitting a wxGrid d'tor bug.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4384
2020-05-10 19:42:45 +01:00
Jon Evans
df5b093fda
Fix missing GetWindowSettings for LIB_EDIT_FRAME
...
Fixes #4389
2020-05-10 14:28:41 -04:00
Jeff Young
cbe4b79107
Add syntax help for bus definitions (and upgrade parser to handle them).
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4233
2020-05-10 18:40:06 +01:00
Jeff Young
cc1ebca242
Add syntax help to pin dialogs.
2020-05-10 18:40:06 +01:00
Jeff Young
f3a5f5b6ca
Don't resync the screen before we've changed it back.
...
Fixes: lp:4382
* https://bugs.launchpad.net/kicad/+bug/4382
2020-05-10 18:40:06 +01:00
jean-pierre charras
bc24d8e957
Fix typo and I18N string
2020-05-10 16:55:15 +02:00
Wayne Stambaugh
8c2aee1261
Eeschema: fix new schematic file format image parser buffer size.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4387
2020-05-10 08:47:42 -04:00
Simon Richter
632494cba7
Add missing includes
...
A few more instances of missing <algorithm> for std::max
2020-05-10 00:24:11 +02:00
Wayne Stambaugh
a81286d9ea
Fix infinite loop bug in new schematic file format image parser.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4362
2020-05-09 14:20:27 -04:00
jean-pierre charras
ee08baca03
Eeschema: fix issue when saving a S expr symbol library in countries using comma as fp separator
...
Fixes #4381
https://gitlab.com/kicad/code/kicad/issues/4381
2020-05-09 19:39:08 +02:00
jean-pierre charras
b29f55c1ca
Cosmetic minor changes for 2 icons.
...
Avoid using the same icon for 2 different actions in the same screen or menu.
2020-05-09 16:22:29 +02:00
Jeff Young
04057423a9
A bit of cleanup.
2020-05-09 14:14:38 +01:00
Jeff Young
d645c22411
Allow path separators in the sheet filename validator.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4374
2020-05-09 00:04:29 +01:00
Jeff Young
8ef66732e4
Add syntax help for text markup.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4233
2020-05-08 23:30:33 +01:00
Jeff Young
ae102c7411
Remove bogus assert. Also fix const leak.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4367
2020-05-08 23:30:33 +01:00
Jeff Young
3c3984a6fc
Generalize default footprint fields.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/2289
2020-05-08 23:30:33 +01:00
Wayne Stambaugh
35f3eb6220
Eeschema: fix large diffs when saving schematics.
...
Apparently the < operator was never implemented for SCH_JUNCTION objects
so they were not get sorted which was causing the large diffs between
schematic saves.
Fixes https://gitlab.com/kicad/code/kicad/issues/4369
2020-05-08 16:01:14 -04:00
Wayne Stambaugh
1840fe351e
Eeschema: fix assertion when duplicating a sheet.
...
The duplicate sheet code path assigned a SCH_SCREEN object instead of a
SCH_SHEET object as a parent. A recently added assertion to check for
this did it's job.
Fixes https://gitlab.com/kicad/code/kicad/issues/4369
2020-05-08 14:57:44 -04:00
Wayne Stambaugh
62d72ae081
Eeschema: fix new symbol library file format parser bug.
...
LIB_FIELD objects require a LIB_PART as a parent. Add missing parent on
symbol library load.
Fixes https://gitlab.com/kicad/code/kicad/issues/4360
2020-05-08 13:34:21 -04:00
Jon Evans
302646cb3c
Check for null parent in GetFullText
...
Fixes #4360
2020-05-07 20:31:06 -04:00
Wayne Stambaugh
bc0fc0bb3a
Eeschema: fix broken net list items in schematic symbol object.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4358
2020-05-07 16:28:59 -04:00
Wayne Stambaugh
61e981be17
Symbol editor: fix broken alternate body style toolbar state.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4329
2020-05-07 15:55:04 -04:00
Jeff Young
73e1496b25
Change attached-label algorithm.
...
Rather than try and keep moving with other items, calculate nearest
point on current line to original label at each step.
Fixes https://gitlab.com/kicad/code/kicad/issues/4347
2020-05-07 18:59:47 +01:00
Jeff Young
f0cda374a0
A few more visual adjustments to the new note text.
2020-05-07 17:51:27 +01:00
Jeff Young
8efa8af8cc
Add persistence of DRC error severities.
2020-05-07 17:51:27 +01:00
Wayne Stambaugh
3fbc2f9035
Symbol editor: adding a new library should not create legacy format.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4346
2020-05-07 11:25:48 -04:00
Wayne Stambaugh
26803f54f0
Eeschema: fix sheet file extension warning.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/4351
2020-05-07 10:28:47 -04:00
Wayne Stambaugh
e253862f77
Eeschema: remove automatic conversion of time stamp UUIDs.
...
In order to avoid confusion when loading legacy schematics, updating time
stamp UUIDs is no longer performed. If users where not experiencing issues
with time stamp clashes with shared schematics then this was probably a
case of me being overly cautious.
The original conversion code has be moved to
SCH_EDIT_FRAME::ConvertTimeStampUuids() so the working functionality is
not lost. This function should not be used until a way is found to update
the board from the schematics with the appropriate settings.
2020-05-07 09:26:43 -04:00