Tomasz Wlostowski
a96299d456
router: improvements to shove algorithm
2015-08-19 18:07:16 +02:00
Tomasz Wlostowski
95c59c8060
router: multiple fixes:
...
- PNS_ITEMSET now keeps ownership info (does not rely on PNS_ITEM::Owner(), avoiding the risk of dangling pointers)
- fixed vias losing connected traces when dragging in mark obstacles mode
- fixed rare segfault when board item returned null netclass
2015-08-19 17:27:23 +02:00
Cirilo Bernardo
33a9f7ecc8
Pcbnew: restore automatic calculation of reference position when exporting to IDF.
2015-08-18 19:48:42 -04:00
jean-pierre charras
adca4d55f0
Dialog tracks and vias properties on GAL: fix a minor issue ( min size not set: missing call to SetSizeHints() ), which fixes also a more annoying issue on Unity (dialog never raised).
...
Remove useless code to find 3 sizers by just making them protected in wxFormBuilder.
2015-08-18 18:15:57 +02:00
unknown
cc7549a2a5
* Python scripting: brings pad.GetZoneConnection() and in example pad.SetZoneConnection(pcbnew.PAD_ZONE_CONN_FULL) to full workable.
...
* Cleanup namespace in enum ZoneConnection in pcbnew/zones.h to self-explained names unification: PAD_ZONE_CONN_INHERITED, PAD_ZONE_CONN_NONE,PAD_ZONE_CONN_THERMAL,PAD_ZONE_CONN_FULL, PAD_ZONE_CONN_THT_THERMAL
2015-08-18 16:19:17 +02:00
Tomasz Wlostowski
f6689f75a8
router: fixed loop removal issue
2015-08-18 11:38:17 +02:00
jean-pierre charras
eb71c15b46
3D viewer: Minor enhancement: in show on/off layers menu option, user layers options are disabled in realistic mode to avoid mistakes, because they are never shown in this mode.
2015-08-18 12:59:43 +02:00
Chris Pavlina
56084b3ee2
Fix bug in Eeschema component rescue library. (fixes lp:1485352)
...
* Rescue creates invalid file for project names with spaces. This fix replaces the spaces with
underscores to resolve the issue.
2015-08-17 19:12:34 -04:00
Wayne Stambaugh
b384c94e46
Envrionment variable dialog improvments.
...
* Remove ENVIRONMENT_VARIABLE_CHAR_VALIDATOR::OnChar() because it was skipping
the filtering of the first character. Not sure what was going but this seemed to fix the issue.
* Added environment variable name test to DIALOG_ENV_VAR_CONFIG::TransferDataFromWindow
because apparently validators do not get called in wxGrids even whe the extend window style
wxWS_EX_VALIDATE_RECURSIVELY is set.
* Set the default button using wxFormBuilder since the OK button is not part of a wxStdDialogButtonSizer.
* Minor improvements to the HTML help dialog.
* Fix assertion when calling HTML help dialog. Apparently any dialog derived from DIALOG_SHIM must
have a KIWAY top level window as a parent.
2015-08-16 20:30:29 -04:00
jean-pierre charras
c63f6aa3c5
Polygon boolean operations on SHAPE_POLY_SET: Add a parameter (aFastMode) to speed up calculations. By default, the transforms use an option to create stricly simple polygons.
...
In 3D viewer, this option can take a *very long* calculation time (minutes instead of seconds, or hangs) and they are now using aFastMode = true to do polygon calculations, especially for zones inside zones belong to the same net but having different priority (which creates weak polygons).
aFastMode = false is the default for other calculations (zone filling) as before.
2015-08-16 14:07:58 +02:00
jean-pierre charras
cc2fe47c95
Fix a few coverity warnings.
2015-08-16 11:02:19 +02:00
Maciej Suminski
0cad702fc7
Fixed footprint editor crash on ref/val text layer change (GAL).
2015-08-15 16:00:34 +02:00
Maciej Suminski
a09d6431e4
Coverity report fix: handle an exception potentially thrown by CONTEXT_MENU::runOnSubmenus.
2015-08-15 16:00:33 +02:00
Henrik Nyberg
5486104e8d
Fixed the missing remove zone corner menu entry.
2015-08-15 15:28:48 +02:00
unknown
37742627b4
Restore Meter option to VRML export + other changes
...
* Adds a "Grid Reference Point" to the VRML export; this allows a user to specify the (X,Y) coordinate which will be the origin point on the output
* Adds a "Grid Reference Point" to the IDF export; this is similar in purpose to the corresponding VRML export feature.
2015-08-13 15:13:34 +02:00
jean-pierre charras
ef0e13331d
Eeschema: fix and other case where the UFT8 strings are not correctly read on Windows (part name and ref in schematic files correctly saved but not correctly read)
2015-08-13 12:48:14 +02:00
Tomasz Wlostowski
e342744a32
router: Do not use reference to a temporary object. Prevent double freeing (m_joints). Draw tuned track always on top.
2015-08-12 21:12:13 +02:00
Maciej Suminski
6989af7904
Minor fixes (PNS).
2015-08-12 21:12:13 +02:00
Maciej Suminski
127fcfa7c9
Code formatting.
2015-08-12 21:12:12 +02:00
Henrik Nyberg
a6c94e26f6
Improved code for handling zone corner dragging (GAL).
2015-08-12 10:15:45 +02:00
jean-pierre charras
666e825e17
Eeschema: fix Bug #1483693 : eeschema for Windows fails to deal with Cyrillic (UTF8) (Windows specific).
...
lib_dxf/libdxfrw.cpp: try to fix a coverity warning about resource leak.
2015-08-12 09:24:18 +02:00
jean-pierre charras
5ba6cb975b
3D viewer: a few optimizations to speed up scene building, and better look of circles in footprint outlines.
2015-08-11 13:56:02 +02:00
Maciej Suminski
65ebfe12c1
Fixed oval pads highlighting in mark collisions mode (PNS).
2015-08-10 17:50:10 +02:00
jean-pierre charras
7a51a502b4
3D viewer: optimizations in code to build the 3D view.
...
Remove no more used code.
Building the 3D view is now faster.
2015-08-10 17:17:10 +02:00
Maciej Suminski
8b46c4eb8f
Fixed crash when pcbnew was set to start with GAL canvas.
2015-08-10 14:34:55 +02:00
unknown
2330b13864
Fix coverity reported strcat/strcpy potential overflows
2015-08-10 10:17:22 +02:00
unknown
140d17bf82
fixes Coverity issue 109780 in project_rescue.cpp: an uncaught exception on load or save of the project library list
2015-08-10 09:39:13 +02:00
jean-pierre charras
ef2e05c8d7
Try to fix coverity warning 102619.
2015-08-09 20:13:22 +02:00
jean-pierre charras
fa55c0f18e
Minor fix (minor bug #148296 ) and very minor change.
2015-08-09 17:04:49 +02:00
jean-pierre charras
11be2b2d3d
Commit missing files
2015-08-09 11:46:18 +02:00
jean-pierre charras
9de24b15ae
Pcb_calculator: Fix a bug which prevents the pcb_calculator to write and read correctly its configuration file.
...
* Cosmetic enhancements in transmission lines panel.
* Fix very minor cosmetic issues in track width versus current panel
2015-08-09 11:03:25 +02:00
unknown
61818578fb
PCB calculator enhancement: track width units change auto-recalculation:
...
* Automatically update results on input change
* Allow user to specify trace width and calculate maximum current it can handle
* Allow the trace thickness to be set separately for external and internal layers
* Allow specification of the resistivity
* Change the non-editable text boxes (resistance, power loss etc) to labels
2015-08-09 09:15:42 +02:00
jean-pierre charras
f58e288140
Pcbnew option dialog: fix very minor bug #1482647 and remove the option about zone filling algo, now useless.
2015-08-08 15:54:32 +02:00
jean-pierre charras
9d3a24a87c
Fix bug #1482809 (Pcbnew crashes when opening if it was closed in OpenGL mode)
2015-08-08 14:44:39 +02:00
Maciej Suminski
6018bb6625
Pcbnew saves the type of used canvas.
2015-08-07 19:15:47 +02:00
Maciej Suminski
1d6fc920e6
Simplified code for switching canvases.
...
Moved SwitchCanvas() to PCB_BASE_FRAME and made it common for all subclasses.
More code from UseGalCanvas() is shared between classes.
2015-08-07 19:15:36 +02:00
Maciej Suminski
ddcdda1a59
GalType -> GAL_TYPE
2015-08-07 18:24:43 +02:00
Maciej Suminski
f43510739c
Append board in GAL.
2015-08-07 18:24:42 +02:00
Maciej Suminski
0bd85fd8d1
Fixed a minor memleak.
2015-08-07 18:20:49 +02:00
Maciej Suminski
03d8d6850a
Minor fixes. - Prevent a crash if m_activeTools is empty (should not happen, but you know the Murphy's law) - Better use of conditions in FOOTPRINT_EDIT_FRAME::Process_Special_Functions()
2015-08-07 18:17:51 +02:00
Maciej Suminski
a4ffb065d4
Corrected TEXTE_MODULE:GetBoundingBox() function.
2015-08-07 18:17:51 +02:00
Maciej Suminski
9ecc593aac
TOOL_SETTINGS acquires wxConfigBase each time it is used.
2015-08-07 18:17:51 +02:00
Maciej Suminski
5cd464f244
Exit gracefully when there are errors during initialization.
2015-08-07 17:07:43 +02:00
Maciej Suminski
5caa1523bd
Handling Coverity reports.
2015-08-07 17:07:06 +02:00
jean-pierre charras
a0b5d1cd7b
Pcbnew, dialog exchange footprints: better messages in option radio box.
2015-08-07 10:28:14 +02:00
Cirilo Bernardo
64760cc952
Pcbnew: minor exporter fixes.
...
* Remove unused 1 inch units choice from VRML export dialog.
* Fix model offset calculation in IDF exporter.
2015-08-06 19:13:02 -04:00
Chris Pavlina
acb2c54594
Option dialog mnemonic and padding fixes
...
* Fix conflicting mnemonics in Eeschema options dialog.
* Add mnemonics to Pcbnew, Footprint editor, and Component editor option
dialogs.
* Fix padding in all option dialogs.
* Remove obsolete DIALOG_LIBEDIT_DIMENSIONS.
2015-08-06 14:40:22 -04:00
Wayne Stambaugh
09d8e85d84
Pcbnew: minor fixes to exchange footprint dialog.
...
* Replace module nomenclature with footprint for improved consistency.
* Replace abbreviations in control text.
* Replace exchange nomenclature with change.
2015-08-06 13:11:51 -04:00
Wayne Stambaugh
90a53b9aa2
Pcbnew: set default button in footprint editor options dialog.
2015-08-06 11:29:06 -04:00
jean-pierre charras
d9ba0b975b
Bug #1474624 fixed (eeschema crashes on a further pressing the DOWN KEY on the last component folder selection)
2015-08-06 11:17:23 +02:00