jean-pierre charras
6f19a7deac
pcbnew: fix some cosmetic issues (could be very dependant on wxWidgets/Gtk versions)
2013-03-30 14:36:19 +01:00
jean-pierre charras
811585b00f
Fix many issues in config functions, mainly a rounding issue when a double is stored in wxConfig file (was stored only using 4 digits in mantissa)
...
Remove dead or obsolete code.
2013-03-30 10:28:59 +01:00
jean-pierre charras
8c549a28df
Fix rounding issue when a double is stored in a wxConfig file (wxWidgets 2.9.4 store only 4 digits in mantissa).
...
A new inline function ConfigBaseWriteDouble( config, key, double_value ) is used instead of config->Write( key, double_value ) which store 12 digits
2013-03-29 11:14:32 +01:00
Lorenzo Marcantonio
60c9f576f6
Typedef STATUS_FLAGS to encapsulate EDA_ITEM bitmapped flags
2013-03-28 20:12:46 +01:00
Wayne Stambaugh
b619c2069f
Fix X3D patch commit coding policy issues.
2013-03-28 12:51:22 -04:00
jean-pierre charras
f6b6665fed
Pcbnew, Module Editor: fix bug Bug #1161114 (pad not visible after undoing a move pad)
2013-03-28 10:40:29 +01:00
Lorenzo Marcantonio
0da9086397
Extremely trivial stuff (mostly cosmetics)
2013-03-28 07:40:19 +01:00
Andrey Fedorushkov
c5852c1237
all: new Russian GOST patch - author Konstantin Baranovskiy
...
pcbnew: fix print format in THROW_IO_ERROR
fix properties file export_vrml.cpp
2013-03-28 00:38:20 +04:00
jean-pierre charras
a3b4a09fd2
Commit patch for x3d file reader (with minor changes). Commit other minor patches and fixes
2013-03-27 19:34:23 +01:00
Lorenzo Marcantonio
bf783c42bd
Renamed global variables:
...
Drc_On => g_Drc_On
Route_Layer_TOP => g_Route_Layer_TOP
Route_Layer_BOTTOM => g_Route_Layer_BOTTOM
Track_45_Only_Allowed => g_Track_45_Only_Allowed
2013-03-27 19:32:12 +01:00
Dick Hollenbeck
57e832dc65
reference a test program in a comment
2013-03-27 09:01:50 -05:00
Dick Hollenbeck
ab2d301968
remove interrim fix, no longer needed
2013-03-27 08:33:24 -05:00
jean-pierre charras
8e345bd09c
Pcbnew: Fix Bug #1160396
2013-03-26 19:15:30 +01:00
jean-pierre charras
fb8e505590
Pcbnew: fix an issue when texts in footprints have a size = 60 mils (default size for texts). After saving and reading the .kicad_pcb file, the size was not correct.
2013-03-26 18:05:47 +01:00
jean-pierre charras
ec2804a78a
Pcbnew: Fix a collision name between 2 methods: EDA_ITEM::GetFlags() and ZONE_CONTAINER::GetFlags(), which creates a very strange behavior when creating/edition zones.
...
ZONE_CONTAINER::GetFlags() is now named ZONE_CONTAINER::GetLocalFlags().
2013-03-26 10:58:40 +01:00
jean-pierre charras
6e3e6a1944
Pcbnew: fix issue in zone keepout dialog: layers not displayed on Linux, and minor changes
2013-03-25 19:48:07 +01:00
jean-pierre charras
ab666cc267
Pcbnew: fix issue in zone keepout dialog: layers not displayed on Linux
2013-03-25 18:02:29 +01:00
jean-pierre charras
e79df21353
Very minor changes in dialog zones.
2013-03-25 14:37:48 +01:00
jean-pierre charras
d1604137cc
Pcbnew, ModEdit: fix issue when setting anchor position, and minor code cleaning.
2013-03-23 14:30:00 +01:00
Wayne Stambaugh
969efff611
Encapsulation, bug, context menu string, and, coding policy fixes.
...
* Complete encapsulation of the ZONE_CONTAINER class.
* Fixed a bug in the EDA_TEXT::Format() default effects behavior due to
improper conversion to internal units and missing test for default
thickness.
* Improved grammar of some Pcbnew context menu strings.
* Moved some more cleverly hidden BOARD object methods into class_board.cpp.
* Lots of coding policy and documentation fixes.
2013-03-20 10:50:12 -04:00
Dick Hollenbeck
293f7cca28
Consistent with my email posting from a day or two ago, remove the translated
...
standard layer name support from BOARD::GetLayerName(). This function evolved
in a contorted direction over time, and was being asked to return one of 3
different kinds of layer names, even though it only took a boolean to control
that choice.
Users are better served by forcing them to get to know the concise new
English Standard layer names. This is because these concise names show up
in the "pretty" footprint/module files as the standard representation of
both feature and copper layers.
Change the name of BOARD::GetDefaultLayerName() to GetStandardLayerName().
Drop boolean argument to both BOARD::GetStandardLayerName() and
BOARD::GetLayerName().
2013-03-19 23:46:32 -05:00
Carl Poirier
45a48cfcb2
Add library column to component and module select dialog.
2013-03-18 21:25:19 -04:00
Wayne Stambaugh
822cc6a781
More encapsulation work.
...
* Complete encapsulation of the MODULE class.
* Complete encapsulation of the EDA_TEXT class.
* Encapsulate most of the ZONE_CONTAINER class.
* Add pcbcommon library as a dependency for reSWIGging the scripting
support. This should cover most dependency cases.
2013-03-18 15:36:07 -04:00
jean-pierre charras
8d675d9bc0
Pcbnew: fix Bug #1156193 . Fix compil issues when KICAD_SCRIPTING_WXPYTHON is not enabled and KICAD_SCRIPTING is enabled
2013-03-17 20:04:42 +01:00
Miguel Angel Ajo
a2bb144556
New register() method in plugins, used by the loader to handle runtime plugin reloading
2013-03-17 02:18:09 +01:00
Miguel Angel Ajo
c867ed9de4
Refactoring python to wxArrayString, and better exception error reporting
2013-03-17 02:14:46 +01:00
Miguel Angel Ajo
39ef596bdc
Fix wxString.Print call to be compatible with wx2.8, thanks to Барановский Константин and Edwin van den Oetelaar for submiting same patch, same hour, are you twins? ;)
2013-03-17 00:51:43 +01:00
jean-pierre charras
a9bcaa1493
Pcbnew: designe rule dialog: fix incorect size of track list grid
2013-03-16 12:12:18 +01:00
Miguel Angel Ajo
f05163fbeb
Allow plugins to be reloaded without closing/opening pcbnew, next step is plugin editor, just a few lines away...
2013-03-16 04:27:48 +01:00
Miguel Angel Ajo
24882a9324
tool for checking coding style
2013-03-16 00:21:53 +01:00
Miguel Angel Ajo
9bb6ead2b1
LOCALE_IO toggle implementation for locale switches on scripting; code cleanups to comply with kicad coding style policy
2013-03-15 17:35:24 +01:00
Miguel Angel Ajo
d6bcbc5cdf
Fixed wxGrid re-creation and missing icon for dialog
2013-03-15 15:50:54 +01:00
Miguel Angel Ajo
dc4b261c68
wxT added to the locales fix, message box on python exceptions inside wizard, added some missing copyright notices
2013-03-15 14:27:18 +01:00
Miguel Angel Ajo
9262f13eef
Fix for locales that set , as a decimal point (which is incompatible with python scripting), also fixed the m_Reference encapsulation in module to Reference()
2013-03-15 01:56:36 +01:00
Dick Hollenbeck
82998d0cc0
EAGLE_PLUGIN now establishes (trace_min), (via_min_size), (via_min_drill), and Default Net's (clearance)
...
by groking the eagle *.brd info. This makes it more probable that fewer DRC errors come about on first
DRC attempt.
2013-03-14 17:54:47 -05:00
jean-pierre charras
c10d1fe279
Very minor fixes, mainly for the stable version
2013-03-13 20:15:09 +01:00
jean-pierre charras
9ed5ee8310
Last (minor) fixes for the stable version
2013-03-13 20:06:46 +01:00
Wayne Stambaugh
7b266ef475
Pcbnew encapsulation and code cleaning.
...
* Encapsulate most of the MODULE class.
* Start encapsulating the DIMENSION class.
* Lay some groundwork for EDA_TEXT encapsulation.
* Move cleverly hidden MODULE functions into class_module.cpp.
* Use std::swap to exchange TEXTE_PCB values for undo/redo.
* Remove unused members from MODULE class.
* The usual coding policy and documentation fixes.
2013-03-13 14:53:58 -04:00
Dick Hollenbeck
09f1a4fbb8
EAGLE_PLUGIN cu layer map fix broke footprint library loading
2013-03-13 11:38:54 -05:00
Dick Hollenbeck
c7f55381a5
EAGLE_PLUGIN cu layer map fix
2013-03-13 11:17:16 -05:00
jean-pierre charras
81f35ffe73
Pcbnew: fix a bug in autoplac.cpp
2013-03-12 17:37:41 +01:00
jean-pierre charras
597b362603
Pcbnew: Fix many minor issues in print dialog, mainly in modedit.
2013-03-12 16:17:44 +01:00
Miguel Angel Ajo
0163e4b4e4
Reverted back the ( i ) parameters for python, applied the PyGILState_Ensure from Dick into his PyLOCK class
2013-03-12 01:37:45 +01:00
jean-pierre charras
98a77ee649
Pcbnew: print dialog: code cleanup and bug fixes (added some fixes from Sergey A. Borshch)
2013-03-11 20:30:58 +01:00
Dick Hollenbeck
c9edd2c8de
improvements to python's GIL acquisition and release, but not done yet, since I think the GIL needs to be acquired even when not involving wxPython.
2013-03-11 03:09:48 -05:00
jean-pierre charras
379ad3a8e7
Kicad manager: fix bug: .kicad_pcb files not saved in zip file
2013-03-10 20:55:21 +01:00
jean-pierre charras
aca64b5dda
Pcbnew: fix issues: Ensure pads type connector have a drill size= 0, like SMD pads. Ensure keepout zones have no net.
2013-03-10 14:59:47 +01:00
jean-pierre charras
0d4b157207
Pcbnew: Partial merge from pcad2kicad (from Alexander Lunev). Fix an old bug related to pads with offset: sometimes the connection to a zone was not detected.
2013-03-09 20:36:31 +01:00
jean-pierre charras
58160d9624
Pcbnew: fix bug in export vrml (bad Z position of 3D shapes). Very minor code cleaning.
2013-03-08 08:29:30 +01:00
Wayne Stambaugh
57e34dfb3c
Documentation and coding policy fixes.
...
* Fix all Doxygen warnings except polygon files.
* Add footprint library table tasks to TODO.txt.
* Add definition to drag.h to prevent nesting.
* Coding policy fixes.
2013-03-07 12:12:59 -05:00
jean-pierre charras
ee467d0203
Pcbnew: fix Bug #1148785 (pcbnew crashes when using only one layer in autorouter ) , and a minor bug in dialog cleanup.
2013-03-06 10:04:27 +01:00
jean-pierre charras
24dc1092b1
Refinements
2013-03-04 20:31:09 +01:00
jean-pierre charras
ab953f1381
Refinements
2013-03-04 20:15:23 +01:00
jean-pierre charras
83174e996e
Dialog edit module: remove some wxStaticBoxSizer sizers.
2013-03-04 19:49:32 +01:00
jean-pierre charras
38069048fd
Still fix very minor issues in dialog_edit_module_for_BoardEditor.cpp
2013-03-04 17:57:24 +01:00
jean-pierre charras
9fda651595
Still fix minor issues in dialog_edit_module_for_BoardEditor.cpp (noticeable only for non English users)
2013-03-04 17:39:08 +01:00
Wayne Stambaugh
cb13ae57bc
Minor Pcbnew dialog spacing and consistency fixes. (fixes lp:1143465)
...
* Fix spacing and consistency issues and debug warning due to improper flex
grid sizer in module editor module properties dialog.
* Fix spacing and consistency issues in Pcbnew module properties dialog.
* Fix spelling error in DRC dialog message box text.
2013-03-04 11:04:53 -05:00
jean-pierre charras
6a45d30715
Pcbnew: fix strange things in module edit dialogs.
2013-03-04 13:08:35 +01:00
Andrey Fedorushkov
a43f24617d
pcbnew: fix build in linux gcc-4.5.2
2013-03-02 20:32:05 +04:00
jean-pierre charras
f11a148d2d
Eeschema: fix broken mirroring for texts and labels in block mirror X and Y (this fixes Bug #1135505 )
...
Pcbnew: add in module popup menu an option to edit the footprint in Modedit (like in Eeschema for components)
minor icons enhancements.
2013-03-01 20:59:29 +01:00
Dick Hollenbeck
8ea3cd1cb5
Debug build fix
2013-02-28 22:20:29 -06:00
Dick Hollenbeck
62979ae06d
parse *.kicad_pcb files with numeric net_names
2013-02-28 10:17:24 -06:00
Dick Hollenbeck
5e998288d6
specctra_export to handle Edge Cuts graphics in modules
2013-02-27 09:54:29 -06:00
jean-pierre charras
02c1ec5efc
Minor fixes and cleanup
2013-02-26 12:25:30 +01:00
jean-pierre charras
78a6ba31d8
Fix Bug #1132416 . Minor update in templates.
2013-02-24 18:31:18 +01:00
Wayne Stambaugh
36ba9a7309
Add build option to use footprint library table.
2013-02-23 14:30:43 -05:00
Anton Blanchard
7ee129b21a
Fixes segfault in Pcbnew module editor when clicking delete tool where there is no object.
2013-02-22 18:29:44 -05:00
Wayne Stambaugh
5bfd330692
Minor dialog and footprint ID class fixes.
...
* Make Pcbnew net list dialog honor escape key on Linux.
* Make Pcbnew swap layers dialog honor escape key on Linux.
* Layout and UI policy fixes for Pcbnew swap layer and net list dialogs.
* Layout and UI policy fixes for Eeschema plot dialog.
* Rename fpip.h to fpid.h.
* Fix FPID class compiler errors.
* Restore fpid.cpp to Pcbnew static library source list.
2013-02-22 15:03:00 -05:00
Dick Hollenbeck
49125d1a7d
wxID_CANCEL, 5 pixel border around sizers, resizable search combobox, dialog_shim usage on a few dialogs
2013-02-22 07:47:35 -06:00
jean-pierre charras
6050ef41a9
Pcbnew: Very minor fix in plot dialog.
2013-02-22 09:04:15 +01:00
jean-pierre charras
da20e80de6
Pcbnew: plot Dialog: add a popup menu (try mouse right click in plot dialog) to selected/unselect groups of layers to plot.
...
All: For new zoom centering option: use Shift+Ctrl key instead of Alt key to select the new zoom centering, because Alt key has a special function under Windows.
2 very minor other changes.
2013-02-21 21:53:50 +01:00
Wayne Stambaugh
490c8d856e
Minor dialog spacing, grammar, and sizer fixes.
2013-02-19 14:43:48 -05:00
jean-pierre charras
897a5b8de6
Pcbnew: Export vrml: fix an issue for 3D shapes having a local offset defined: the local offset was not correctly scaled.
2013-02-19 10:21:55 +01:00
Wayne Stambaugh
155cb4f158
Minor dialog spacing, grammar, and UI policy fixes.
2013-02-18 15:14:53 -05:00
Emmeran
445cf5860a
Adds zooming method for zooming relative to the crosshair instead of centering
...
the crosshair after zooming.
This method is only used when the ALT key is held while using the mousewheel or
if it's permanently enabled in the options dialog next to the middle mouse
button panning option.
2013-02-18 09:57:39 -06:00
Dick Hollenbeck
6cb1bae032
fp lib table work
2013-02-15 19:09:53 -06:00
Dick Hollenbeck
c0c9d667cd
typos and tooltip
2013-02-15 18:13:35 -06:00
Antia Puentes
df8826240f
Commit patch from Antia Puentes relative to bug Bug #1125047 : PcbNew: Insert a footprint in the board, from the Library Browser, by double clicking on it, with a change to avoid the button release event (from the double click) to be seen by the main window.
2013-02-14 22:20:56 +01:00
unknown
5dda4f95a6
MacOSX: now autoplace is drawn correctly
2013-02-14 20:57:19 +01:00
jean-pierre charras
69bdc16751
Pcbnew: Pcad2kicad: remove dead code.
2013-02-13 18:19:46 +01:00
Wayne Stambaugh
403a1a7e1f
Fix bug caused by setting default drill size in D_PAD (fixes lp:1123392).
...
* Add check for pad type and force drill size to zero if pad is surface
mount in PCB_PARSER.
* Modify the D_PAD SetAttribute method to clear drill size if pad type is
set to surface mount.
2013-02-12 20:01:22 -05:00
Dick Hollenbeck
cf481d2fc4
fix compiler warnings on gcc 4.6.3, Debug build
2013-02-12 11:41:13 -06:00
Emmeran
c3e3fc4dba
converted linux to dos file endings for wxfb files
2013-02-12 05:30:28 +01:00
Emmeran
254ad1b26b
moved changes to dialogs into fbp files
2013-02-12 05:18:22 +01:00
Wayne Stambaugh
e43fab7c01
Pcbnew pad properties dialog assertion and layout fixes.
...
* Fixed spacing issue in pad properties dialog.
* Remove wxSHAPED flag from pad drawing panel to prevent assertion in
wxSizer.
* Used sane default pad size and drill size settings to prevent wxRound
assertions.
* Add license to class_board_design_settings.cpp.
2013-02-11 20:07:04 -05:00
Wayne Stambaugh
96d7ac7c6a
Configuration and compile documentation improvements.
...
* Improve the stable and testing build version option logic.
* Use CMake FindPythonInterp to configure the Python interpreter.
* Use Python interpreter to determine the system Python module install
path if not already defined on the command line.
* Add header symbol checks for asinh(), acosh(), and atanh().
* Add test source to check for isinf() which can be defined as a C++template.
* Replace conditional compile on windows systems for aXXXh() with CMake
configuration tests.
* A few minor MSVC compile fixes.
* Fix incorrect python environment string in fixswigimports.py
* Create a separate document for KiCad CMake build options.
* Create a separate how to compile KiCad on Windows document.
2013-02-10 19:41:49 -05:00
jean-pierre charras
dad83c9004
Pcbnew: Try to find a better workaround for zone fiill bug (crash or bad fil areasl in very rare cases).
...
pcbnew+Eeschema: Fix a very minor bug: filename not displayed in frame reference.
2013-02-09 21:03:20 +01:00
Wayne Stambaugh
c6444b7d05
Improve zone context menu descriptions, fixes lp:1116483
2013-02-07 12:56:41 -05:00
jean-pierre charras
6b81b6931f
Pcbnew: rework on connection calculation: fix an issue for "composite" pads (complex pad build by association of some basic pads):
...
sometimes connections where not seen.
2013-02-07 18:40:50 +01:00
Jacobo Aragunde Perez
b391fb3faf
Commit patch for bug 1116059 (Inconsistency between confirmation dialogs)
2013-02-07 18:35:37 +01:00
Dick Hollenbeck
2649c38bf7
plotter output file being left open fix.
2013-02-06 09:21:37 -06:00
jean-pierre charras
05189f9ff5
Eeschema, Libedit: fixes color artifacts when moving/placing a pin.
...
Very minor other fixes.
2013-02-06 12:54:51 +01:00
Emmeran
d2ed926077
added option to allow zooming around the crosshair instead of the center; can be enabled via options or by holding alt while using the mousewheel
2013-02-02 20:10:48 +01:00
jean-pierre charras
c0b3ad8253
Changes for CvPcb to eeschema stuff file: the stuff file generation from CvPcb is removed. Eeschema now imports footprints names from the .cmp usual file created by CvPcb or by Pcbnew (Why to use 2 file formats for the same thing?) .
...
Pcbnew: in netlist dialog: The user now can choose between the netlist and the .cmp file to import footprints names.
Therfore no need to delete the .cmp file when exists to use only the netlist.
This is useful for users who use CvPcb only once to fill footprints fields in schematic, and after edit/modify the footprints fields in schematic outside CvPcb.
2013-02-02 18:39:59 +01:00
jean-pierre charras
0f06a927ff
Pcbnew: Workaround to fix a crash when filling zone in Pcbnew nanometers (see Bug #1106451 ). Also happens with one of my boards.
...
Could be a bug inside boost::polygon. This is a workaround, because one never knows if this kind of bug is fixed.
However it fixes this issue for the 2 boards.
2013-01-27 14:54:43 +01:00
jean-pierre charras
1f4ca54938
Pcbnew: fix a very old bug in DRC, pad to pad drc tests: sometimes a test between a rectangular pad and an oval pad was skipped.
...
Segment Hit Test: enhanced detection near segment ends (noticeable for instance when clicking on short tracks in Pcbnew.
Remove duplicate code about segment hit test.
remove unused file.
2013-01-26 18:49:48 +01:00
jean-pierre charras
720e3e9272
Eeschema: fix a bug which crashes Eeschema (when a label is being created, and its type is changed by popup menu, for instance to a text, before it was put on schematic)
...
remove unused file and minor coding style fix
2013-01-25 18:29:54 +01:00
Dick Hollenbeck
744d875838
fix intermittent build problem involving out of sequence python invocation
2013-01-23 10:35:40 -06:00
Dick Hollenbeck
59d2523c49
fix compiler warnings with gcc 4.6.3 on x86_64 linux
2013-01-23 10:13:42 -06:00
Dick Hollenbeck
8f45c7d27e
merge in branch fp-lib-table
2013-01-20 21:27:01 -06:00