Jeff Young
afacb6e7cb
Improve safety around un-committed grid changes.
2018-08-21 10:34:41 +01:00
Jeff Young
a6d10d6e28
Constant-size page layout object handles w/respect to zoom.
...
Fixes: lp:1787491
* https://bugs.launchpad.net/kicad/+bug/1787491
2018-08-21 10:34:41 +01:00
Jeff Young
86a801aabc
Allow updating of file history size on the fly.
...
Also updates the file menu IDs so that we can actually handle
more than 9 items in the file history.
Also adds configurable file history length to the other gerber
files (zip, drill and job).
Fixes: lp:1745729
* https://bugs.launchpad.net/kicad/+bug/1745729
2018-08-21 10:34:41 +01:00
José Jorge Enríquez
8d625854b8
Allows custom number of entries in recently opened files menu.
...
NEW: Adds a configuration option to set number of entries in the "Open Recent" menu.
Fixes: lp:1745729
* https://bugs.launchpad.net/kicad/+bug/1745729
2018-08-21 10:34:41 +01:00
Nick Østergaard
6db71cd734
Add documentation for KICAD_USE_OCC
2018-08-20 13:26:40 -07:00
Carsten Schoenert
80a5dba868
Add German translations entries to appdata.xml
...
Some basic German tranlation for the AppData file.
2018-08-20 13:18:44 -07:00
Ronnie Gaensli
00d912f0b8
eeschema: fix dangling pin marker after adding NoConnect
...
Fixes: lp:1787858
* https://bugs.launchpad.net/kicad/+bug/1787858
2018-08-19 19:48:22 -07:00
Seth Hillbrand
5bd959d92c
Eagle: Fix NULL-dereference on malformed Eagle files
...
Eagle files that are edited may be missing required data. While we do
not need to handle these files, we do need to prevent segfaults in KiCad
when reading them.
2018-08-19 19:48:10 -07:00
Jeff Young
e47351d1a6
Highlight only leaf nodes when filtering lib tree.
...
Fixes: lp:1787709
* https://bugs.launchpad.net/kicad/+bug/1787709
2018-08-19 17:59:32 +01:00
Jeff Young
53cd923305
Minor fix to tooltip and comment.
2018-08-19 17:02:47 +01:00
Jeff Young
bd543f12b5
Bring track design rule widths in line with via design rule sizes.
2018-08-19 16:15:14 +01:00
Jeff Young
b4bb36f017
Define minHeight so 3D model grid doesn't grow to include all rows.
...
Fixes: lp:1787269
* https://bugs.launchpad.net/kicad/+bug/1787269
2018-08-19 16:10:41 +01:00
Jeff Young
4364384f06
Simplify list of nets dialog.
2018-08-19 16:10:41 +01:00
Jeff Young
672d5ec1aa
Make orientation popups match combobox values.
2018-08-19 16:10:41 +01:00
Jeff Young
c5781105ee
Fix layout and grouping issues in color picker.
2018-08-19 16:10:41 +01:00
Jeff Young
bbb76a0de0
Initialize filters with current values.
...
Fixes: lp:1787403
* https://bugs.launchpad.net/kicad/+bug/1787403
2018-08-19 16:10:41 +01:00
Jeff Young
bb5e6bbd79
Include default netclass in Global Edit Track & Via Properties.
...
Fixes: lp:1787403
* https://bugs.launchpad.net/kicad/+bug/1787403
2018-08-19 16:10:41 +01:00
jean-pierre charras
7a10feb35d
Libedit: Fix a crash when trying to revert changes in a library
...
(No crash when reverting changes in a part, only in a library)
Fixes: lp:1787772
https://bugs.launchpad.net/kicad/+bug/1787772
2018-08-19 10:33:05 +02:00
Ronnie Gaensli
46fddab126
pcbnew: fix pan while moving mouse after cancelling selection box
...
Fixes: lp:1776648
* https://bugs.launchpad.net/kicad/+bug/1776648
2018-08-17 13:39:36 +02:00
Maciej Suminski
01925fd6a7
Changed the OpenGL CMake preference to LEGACY
...
Certain distribution does not handle GLVND well, as the result the
accelerated canvas is not enabled. For the time being it is better to
keep using the legacy preference.
Thanks to Aurelio Lucchesi for investigating the cause.
Fixes: lp:1781581
* https://bugs.launchpad.net/kicad/+bug/1781581
2018-08-17 10:03:59 +02:00
jean-pierre charras
6fdc5972f8
Better fix for accelerator menus using "Back" (previously named "BkSp") key
...
Use the wxWidgets official accelerator key string for WXK_BACK (this is "Back") in menuitems instead of "BkSp"
Also when reading the hotkey config file, avoid to set a hotkey to unassigned when its name is not found in list.
The default value is used.
Unassigned hotkey use <unassigned> as key name (and 0 as key code) in file.
2018-08-16 15:56:13 +02:00
Tomasz Wlostowski
aab40ee9e8
OPENGL_GAL: don't use glCopyBuffer() on faulty Intel GL drivers
...
Fixes: lp:1787221
* https://bugs.launchpad.net/kicad/+bug/1787221
2018-08-16 14:34:36 +02:00
John Beard
a88831d7a9
Fix -Wcatch-value in kicad2step.cpp
2018-08-15 12:39:33 -04:00
jean-pierre charras
0c4828df12
footprint_wizard_frame: try to fix a crash that happens sometimes when modifying a parameter.
...
(not noticed on Windows, happens sometimes on Linux. so this commit is just a trial to fix the crash)
2018-08-15 15:55:32 +02:00
jean-pierre charras
8fd686e8f4
Eeschema: Fix 2 minor compil warnings. Pcbnew, very minor fix: avoid using fixed scaling factor in code. Use internal units conversion instead.
2018-08-15 13:39:25 +02:00
Jeff Young
8db361882b
Fix compile error on Linux.
2018-08-14 14:57:42 +01:00
Jeff Young
122d7ed3b3
Improve document file handling.
...
Fixes: lp:1779512
* https://bugs.launchpad.net/kicad/+bug/1779512
2018-08-14 13:54:04 +01:00
Jeff Young
3c455949fc
Revert some dialog changes that lost button sizes.
...
These are required on MSW. Also back-dates the .fbp file to work
on Mac wxFormBuilder.
2018-08-14 13:54:04 +01:00
Jeff Young
d72fdaed29
Rewrite Library Symbol Properties dialog.
...
Fix the user-model issues around aliases and alias selection.
Fold Library Symbol Fields into Library Symbol Properties.
Update to the new look.
Fixes: lp:1744773
* https://bugs.launchpad.net/kicad/+bug/1744773
Fixes: lp:1766205
* https://bugs.launchpad.net/kicad/+bug/1766205
Fixes: lp:1786339
* https://bugs.launchpad.net/kicad/+bug/1786339
2018-08-14 13:54:04 +01:00
Jeff Young
01882d3103
Add more/better error messages for file i/o problems.
2018-08-14 13:54:04 +01:00
Jeff Young
529521a7ba
Increase max-units to 'ZZ' (676).
...
Fixes: lp:1786659
* https://bugs.launchpad.net/kicad/+bug/1786659
2018-08-14 13:54:04 +01:00
Maciej Suminski
d5ee3296b2
Spice simulator: search each line of a text field for a Spice directive
...
Fixes: lp:1786119
* https://bugs.launchpad.net/kicad/+bug/1786119
2018-08-14 10:25:28 +02:00
Maciej Suminski
f82b839d06
Spice simulator: prevent double quoting library file names
...
Fixes: lp:1786559
* https://bugs.launchpad.net/kicad/+bug/1786559
2018-08-14 09:46:52 +02:00
jean-pierre charras
f0b8b2136a
Pcbnew: Change a duplicate hot key.
2018-08-13 09:28:48 +02:00
jean-pierre charras
595666d46e
Add support of GAL in FOOTPRINT_WIZARD_FRAME.
...
Some refinements are needed (for instance the context menu shows the filter
command if something is selected, that is useless in the footprint wizard.
2018-08-12 17:48:21 +02:00
Jeff Young
08e04acb10
Add missing include for non-OSX platforms.
2018-08-12 01:09:56 +01:00
Jeff Young
4b1a31ffad
Regularize save-changes dialogs.
2018-08-12 00:02:37 +01:00
Jeff Young
acec00f80a
Fix bug displaying canvasses when starting in Legacy mode.
2018-08-11 23:43:19 +01:00
Jeff Young
4c08a71df5
Warn before replacing edited footprint in footprint editor.
...
Fixes: lp:1786570
* https://bugs.launchpad.net/kicad/+bug/1786570
2018-08-11 20:37:30 +01:00
Jeff Young
d81faa72c9
Overhaul border drawing in all the Kicad frames.
...
Primary change is to replace most control/window borders with
AUI pane borders. We implement our own AUI border drawing
routine which avoids the ugly one-pixel white frames around
dark canvasses.
Also increases the signal-to-noise ratio of all the pane
creation code in the various frames.
2018-08-11 17:25:38 +01:00
Jeff Young
68bd1abf78
Fix nullptr access on 2nd launch of eeschema.
2018-08-11 17:14:27 +01:00
Jeff Young
43e99e6df0
Inflate footprint bounding box to include texts.
...
This makes zoom automatique work much better in the footprint
editor, and should improve other things which probably assumed
the bounding box included everything (such as refresh code).
Callers which still want just the module outline should call
GetFootprintRect() instead of GetBoundingBox().
2018-08-11 17:14:27 +01:00
Jeff Young
38464827fc
Fix some issues with zooming.
...
Don't process zoom both in Legacy code and Modern code; one of
them will decide the zoom has already changed and do odd things.
Make sure the view is updated after zooming, otherwise you have
to move the mouse over the canvas before seeing the new zoom.
2018-08-11 17:14:27 +01:00
Jeff Young
e932eed738
Allow TemplateFieldNames to specify URL-behaviour.
...
Fixes: lp:1785879
* https://bugs.launchpad.net/kicad/+bug/1785879
2018-08-11 17:14:27 +01:00
jean-pierre charras
d2eb9e0735
Eeschema, Dialog annotate: fix incorrect management that creates a crash when try to open it a second time.
...
Fixes: lp:1786618
https://bugs.launchpad.net/kicad/+bug/1786618
2018-08-11 17:19:24 +02:00
jean-pierre charras
009044bd6b
FOOTPRINT_EDIT_FRAME: fix incorrect layer manager initialization depending on canvas type.
...
Especially, the color selector is not the same when selecting GAL or Legacy canvas.
Due to this incorrect init, the color selector type was incorrect.
2018-08-11 13:16:41 +02:00
jean-pierre charras
bd46f720a1
Fix a few AUI issues.
2018-08-11 11:26:47 +02:00
jean-pierre charras
78ab5c3f07
Fix ASCII code used in accelerator menus for BkSp key (Linux only)
...
On Linux (GTK?) the accelerator key BkSp, when used in menus must be coded as "\t\b" and not "\tBkSp".
However, On Windows, it must be "\tBkSp".
Joys of multi-platform development.
2018-08-09 17:55:08 +02:00
jean-pierre charras
3eb3db02c3
Cvpcb, DISPLAY_FOOTPRINTS_FRAME: add measurement and zoom to selection tools.
2018-08-09 11:15:43 +02:00
jean-pierre charras
274572bf20
Rename tool_cvpcb.cpp to toolbars_cvpcb.cpp
2018-08-09 10:08:32 +02:00