Lorenzo Marcantonio
f37812f898
Refactoring: split in two the SCH_BUS_ENTRY class
2013-04-01 12:35:20 +02:00
Lorenzo Marcantonio
cc0524a21a
Converted the IS_BUS/IS_WIRE define to an enum
2013-04-01 07:47:44 +02:00
Lorenzo Marcantonio
c32f56ffaa
Removed the long time dead SCH_POLYLINE class (schematic level polyline)
2013-03-31 22:40:22 +02:00
Lorenzo Marcantonio
9fd79dfa91
Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
2013-03-31 15:27:46 +02:00
jean-pierre charras
8e09679437
Minor cosmetic fixes (mainly on Linux) in dialogs.
2013-03-31 14:44:23 +02:00
Lorenzo Marcantonio
27ee815742
Minor flags and layer mask cleanup
2013-03-30 20:55:26 +01:00
Lorenzo Marcantonio
c650c378c0
Fixed the logic for "do you want to make the footprint visible" requester
...
(meaning was inverted)
2013-03-30 18:49:58 +01:00
Lorenzo Marcantonio
e0303a4558
- New typedef LAYER_MSK to encapsulate a layer bitmap
...
- Renamed ReturnMaskLayer to GetLayerMask (since it's a plain getter)
2013-03-30 18:24:04 +01:00
Wayne Stambaugh
45fc0125a7
Fix field position bug in edit component dialog when OK button cancelled due to empty field.
2013-03-29 20:06:08 -04:00
Lorenzo Marcantonio
675f8d4a0b
Typedef STATUS_FLAGS to encapsulate EDA_ITEM bitmapped flags
2013-03-28 20:12:46 +01:00
Lorenzo Marcantonio
4865a68fa0
Extremely trivial stuff (mostly cosmetics)
2013-03-28 07:40:19 +01:00
Andrey Fedorushkov
5a5b90984a
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
5874ac0f6f
Commit patch for x3d file reader (with minor changes). Commit other minor patches and fixes
2013-03-27 19:34:23 +01:00
Wayne Stambaugh
a6232e2c92
Fix field text position access bug in Eeschema. (fixes lp:1160214)
2013-03-26 13:25:18 -04:00
Wayne Stambaugh
db5d90ce9f
Fix SCH_FIELD get reference designator text bug. (fixes lp:1159401)
2013-03-25 13:09:55 -04:00
Andrey Fedorushkov
2b9297020b
eeschema: fix build when KICAD_GOST ON (insert in bzr4019)
2013-03-24 00:37:48 +04:00
Carl Poirier
8421cacef4
Add library column to component and module select dialog.
2013-03-18 21:25:19 -04:00
Wayne Stambaugh
7d0ec1a138
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
c8ed3280f3
Pcbnew: Fix many minor issues in print dialog, mainly in modedit.
2013-03-12 16:17:44 +01:00
jean-pierre charras
e4f72171f5
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
jean-pierre charras
7a5386a1a1
Minor fixes and cleanup
2013-02-26 12:25:30 +01:00
Baranoviskiy Konstantin
af433f8031
Remove redundant Eeschema plot submenu on platforms that do not support plot to clipboard.
2013-02-23 15:08:28 -05:00
Wayne Stambaugh
348b7de4ab
Fix Eeschema plot dialog escape key handling bug on some Linux distros.
2013-02-22 16:59:53 -05:00
Wayne Stambaugh
0e4bb20e3c
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
74540cb49a
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
Baranovskiy Konstantin
e37372f45f
Eeschema border and title block DXF plot color bug fix.
2013-02-21 18:45:46 -05:00
jean-pierre charras
ee2ed120bd
Eeschema: Fix Bug #1130262 (Inverted pins are plotted with erroneous line width)
2013-02-20 12:46:38 +01:00
Wayne Stambaugh
0564cbc70c
Minor dialog spacing, grammar, and sizer fixes.
2013-02-19 14:43:48 -05:00
Wayne Stambaugh
8cd77e78f9
Minor dialog spacing, grammar, and UI policy fixes.
2013-02-18 15:14:53 -05:00
Emmeran
13972e0678
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
Antia Puentes
fa0a51411a
Eeschema: force file ext in"Sheet Save As" command (Bug #1122212 )
2013-02-13 18:18:23 +01:00
Emmeran
6a54a198ca
converted linux to dos file endings for wxfb files
2013-02-12 05:30:28 +01:00
Emmeran
95213372fe
moved changes to dialogs into fbp files
2013-02-12 05:18:22 +01:00
jean-pierre charras
e206a1b4c5
Eeschema: All fixed fields are now always saved in libraries. Therefore the footprint field can be set in lib (size, visibility) and imported in schematic with its predefined attributes, even if the footprint text is not set.
2013-02-11 19:50:55 +01:00
Wayne Stambaugh
4d465ec8a0
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
00fafe7d58
eeschema, libedit l fix a bug in lib_arc.cpp which creates incorrect arc start and arc end parameters after rotation or mirror.
...
the Bug #1121079 is due to this bug, but Bug #1121079 itself cannot be fixed because this is the data inside the lib which is broken.
2013-02-10 19:02:45 +01:00
jean-pierre charras
42c2399af7
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
3af054c702
Improve Eeschema find dialog behavior.
...
* Remove ignore mouse events before creating find dialog for true mode-less
behavior as was originally intended.
2013-02-07 15:36:35 -05:00
Jacobo Aragunde Perez
da757938e6
Commit patch for bug 1116059 (Inconsistency between confirmation dialogs)
2013-02-07 18:35:37 +01:00
jean-pierre charras
410644343d
Eeschema, Libedit: fixes color artifacts when moving/placing a pin.
...
Very minor other fixes.
2013-02-06 12:54:51 +01:00
jean-pierre charras
02bacd668e
Very minor changes (tooltips update, to synchronize them with the doc update)
2013-02-04 09:52:56 +01:00
Emmeran
0bdf5bac72
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
619125f9ab
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
Jacobo Aragunde Perez
638decafae
Commit fixes for bugs #1108773 and #1110651 and a bug fix improvement for #1101718 and #1102381 .
2013-02-01 08:58:49 +01:00
Jacobo Aragunde Perez
85562b45e8
Commit patch to fix bug 1108838 (+ fix a very minor fix in eeschema, when loading a new component)
2013-01-30 17:15:45 +01:00
jean-pierre charras
5d5a50dde9
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
Jacobo Aragunde Perez
a641ebb344
Eeschema: Add "append schematic" feature. Fix bug 1101718 <Empty plot filename>
2013-01-24 18:46:37 +01:00
Jacobo Aragunde Perez
03ffc93786
Eeschema: hotkey enhancement while moving a block or an item.
2013-01-21 21:16:04 +01:00
Jacobo Aragunde Perez
2f3c5e7a1e
Eeschema: fix Bug #1102381 <eeschema: -cache.lib file not created the first time you save a schematic>
2013-01-21 20:58:02 +01:00
Wayne Stambaugh
f8a56d446f
Base object decoupling improvements.
...
* Improve MSG_PANEL_ITEM to handle message panel information.
* Create containers for passing message panel items between objects and
the message panel.
* Rename EDA_ITEM::DisplayInfo to EDA_ITEM::GetMsgPanelInfo.
* Remove all direct manipulation of EDA_DRAW_FRAME from all objects derived
from EDA_ITEM.
2013-01-12 12:32:24 -05:00
jean-pierre charras
ccfd2369b9
EDA_LIST_DIALOG: add a filter option to select names to display is list, from a kamil zorychta's patch <kamil.zorychta@gmail.com>
...
Use wxFormBuilder to create EDA_LIST_DIALOG_BASE, like other dialogs.
Minor code cleanup (remove unused functions and coding style fixes) and minor bug fixes.
2013-01-10 13:18:43 +01:00
Jacobo Aragunde Perez
f914cd0dec
Eeschema:commit patch <Prevent Eeschema from opening the same file twice> with a small fix for windows.
2013-01-04 13:06:50 +01:00
jean-pierre charras
7dbcbf6d15
Kicad manager: cleanup code, remove dead or not working code. Fix minor isssues
2013-01-03 20:25:12 +01:00
jean-pierre charras
2fc643de36
Eeschema, Libedit: Fix potential issues when using some hot keys.
2013-01-02 09:34:46 +01:00
jean-pierre charras
9c62d2dfb7
Eeschema, Libedit: fix potential bugs.
2013-01-02 08:55:48 +01:00
jean-pierre charras
dd3b684ce6
Eeschema: fix Bug #1095005
2013-01-01 21:52:37 +01:00
Antia Puentes
f4af52f94d
Eeschema: Allow to edit an schematic item while dragging
2012-12-29 13:55:36 +01:00
jean-pierre charras
d2126bafff
Eeschema: fix incorrect hotkey commands while moving/dragging a component.
2012-12-28 16:56:41 +01:00
jean-pierre charras
8653e362b2
Pcbnew: board editor: allows pad edition by hotkey 'E' (was accessible only by mouse button right click)
...
All: minor code cleaning and very minor bug fixes.
2012-12-27 17:42:41 +01:00
jean-pierre charras
97749ed192
Eeschema: fix bug 1092864
2012-12-21 19:57:56 +01:00
jean-pierre charras
d919d71054
Eeschema: fix bug 1092834 (Hotkey 'G' Drag label not working)
2012-12-21 13:56:17 +01:00
Wayne Stambaugh
63b884558a
Doxygen warning fixes.
2012-12-18 08:54:44 -05:00
jean-pierre charras
4352eddadb
eeschema: make new netlist format (S expr netlist format) the default for Pcbnew netlists in dialog netlist.
...
Also move netlist_control.* to dialogs/dialog_netlist.*, to be consistent with other file dialogs.
2012-12-16 12:36:18 +01:00
jean-pierre charras
1886082fce
Eeschema: Erc dialog: enhancement. Now not modal.
...
Pcbnew: Drc dialog: fix a old very minor bug.
Added: single click on an item in marker list moves the board graphic cursor on the corresponding marker location on the board
Double clicking is not modified.
2012-12-10 20:08:09 +01:00
jean-pierre charras
926dec84a5
Eeschema: fix compil issue with wxWidgets 2.8.12
2012-12-08 20:36:28 +01:00
jean-pierre charras
ba05519662
Eeschema: Add hotkey 'U' to edit reference. Better filtering for hotheys V, F, U: now the corresponding field is selected without selection list between component and the field.
2012-12-08 18:24:49 +01:00
jean-pierre charras
1671432ac1
All: Fix an usually unwanted behavior in kicad: When closing a dialog (mainly ERC, DRC and recently a component selection by the library viewer on a double click) the mouse release left button event (which is seen by the parent after closing the dialog, becuse it is actually made in the parent) generate an unwanted command (item selection, component place ...)
...
This event can be now skipped if needed by calling EDA_DRAW_FRAME::SkipNextLeftButtonReleaseEvent() from the dialog.
Very minor other fixes
2012-12-07 11:05:19 +01:00
jean-pierre charras
14fcf7f933
Try to fix an unwanted left mouse release button event, when closing a dialog on a click or double click,
...
and therefore when the mouse butoon is released in the parent window
Minor other fixes.
2012-12-06 22:53:00 +01:00
Dick Hollenbeck
151f81aa95
merge patch with refinement
2012-12-04 13:12:50 -06:00
Dick Hollenbeck
79015495b1
Prevent the double click from being as a single click in the parent
...
window which would cause the part to be parked rather than staying
in drag mode.
2012-12-04 13:09:53 -06:00
Antia Puentes
c971460467
In eeschema, when inserting a component into the schematic using the
...
Library Browser tool, you have to select it in the components listbox
and then press the "Insert component into schematic" button to close the
window and return to the schematic.
The attached patch enables the selection and insertion of a component in
schematic by double clicking on it in the Library Browser component
listbox. As the double clicking should have effect only if the Library
Browser was launched to load a component in schematic, the patch checks
for NULL the m_Semaphore variable, used two distinguish the mode in
which the Library Browser is running (modal, used when inserting a
component in schematic, or non-modal).
2012-12-04 13:04:04 -06:00
Marco Mattila
275f02adc3
Fix BOM-by-reference generator to print the separator character instead of the ascii code
2012-12-03 17:06:49 +02:00
jean-pierre charras
91d5bb5812
Eeschema: dialog ERC: minor enhancements and code cleaning.
2012-11-30 13:28:23 +01:00
jean-pierre charras
efdf28f67e
Polyline.cpp: fix a bad wxASSERT test which generate error messages in Debug mode when there is no error, in DEBUG mode, when filling zones with holes.
2012-11-27 21:12:39 +01:00
jean-pierre charras
2d1a7e099b
Csv Boom file: fix a minor error in commit 3818
2012-11-26 20:14:38 +01:00
jean-pierre charras
978ae91841
Eeschema: Fixes and enhancements in BOM list generation and BOM code:
...
* remove useless spaces in csv bom file format.
* remove KICAD_GOST conditionnal compilation and merge KICAD_GOST code with the "normal" code.
* Csv file format created by KICAD_GOST code is now available for everybody through the BOM dialog options (as it should).
* fix coding style issues.
2012-11-26 18:28:54 +01:00
jean-pierre charras
22645084bb
Pcbnew: fix bug1082146 (Keep-out areas get destroyed by "export settings to other zones" )
...
Eeschema: fix bug 1082107 (error message" component not found" when no component selected from select component dialog box)
2012-11-23 10:10:37 +01:00
jean-pierre charras
bf3b8f567a
BOM list code cleanup.
2012-11-22 21:33:52 +01:00
jean-pierre charras
1dd0adf7e0
Eeschema: item drag command: Fix issue for overlapping items (from a Younes Manton's idea)
...
Added: display info when clicking on labels.
2012-11-20 12:35:09 +01:00
Dick Hollenbeck
a93637b14f
remove -std=c++0x compiler option since nobody is ready for it, and accordingly back into auto_ptr from unique_ptr
2012-11-15 10:04:10 -06:00
Dick Hollenbeck
9bbff22d96
1) Switch to boost hashtable support from wx macros which did not handle std::string.
...
This required the additional compiler command line option "-std=c++0x".
2) Switch to unique_ptr from auto_ptr which is C++ deprecated.
3) Change to new English layer names per mailing list discussion, see class_board.cpp.
4) When saving to *.kicad_pcb or *.kicad_mod, identify opportunities to use wildcard
layer sets, for pads so far.
5) Switch to two std::string hashtables in pcb_parser.cpp, away from one wxString based one
for layer names and layer sets mapping. One hashtable holds the mask, the other the index.
Layer sets are only in the mask table.
6) Move "LOCALE_IO toggle" into PCB_IO::Format() since it is a public API function and
caller should find it as convenient as possible to use. LOCALE_IO should handle
nesting OK in the case where public Format() is called from one of the Footprint*()
functions.
7) Drop support for "export module to new library". Creating new libraries will have to
be handled in concert with library table entries, and we've talked recently about
creating a better footprint library manager, one that resides in a DLL/DSO. So
this kind of functionality needs to be handled in there in the near future.
8) Change name of exported PCB_IO module/footprint to *.kicad_mod and not *.emp.
2012-11-14 01:15:59 -06:00
jean-pierre charras
31e58d87d4
Eeschema: fix an old bug: sometimes E hotkey (and some other' hot keys) was editing a previously selected item, not the item under the mouse cursor
...
Templates: remove useless backup files
2012-10-31 21:27:31 +01:00
Dick Hollenbeck
dd519d68ea
remove unused #include <wxfstream.h> from several places
2012-10-29 16:56:18 -05:00
Dick Hollenbeck
7c5e42b4d0
switch from STREAM_OUTPUTFORMATTER to FILE_OUTPUTFORMATTER mostly throughout,and minor richio factoring
2012-10-25 10:41:20 -05:00
jean-pierre charras
6abf0e9f94
Eeschema: Bug fix (move component field was not undoable)
...
Minor enhancement in popup menus for wire and bus.
Kicad: stm32f0discovery template: very minor fix.
2012-10-23 18:37:19 +02:00
jean-pierre charras
292c1f0912
Kicad: bug fix in menubar when changing the selected locale.
...
fctsys.h: remove useless define.
Fix minor issues and add minor enhancements.
2012-10-18 21:31:40 +02:00
Brian Sidebotham
9823666ca9
Commit patch from Brian Sidebotham: Project template in Kicad manager
2012-10-14 18:57:11 +02:00
jean-pierre charras
621a43c4ad
Eeschema: always stores sheet filename in unix-like notation, and fix a bug when editing sheet file name.
...
Pcbnew: add PDF format for drill map generation.
Plotter classes: tweaking code.
2012-10-13 20:54:33 +02:00
Andrey Fedorushkov
cedcd2bace
eeschema: fix segfault when edit text and empty editing text
2012-10-13 22:33:58 +04:00
marco.
eee9738755
OSX: Corrected issue with Menus, workaround/fix for an issue with Mountain Lion
2012-10-13 20:23:03 +02:00
Dick Hollenbeck
44c25d14ec
eeschema erc dialog extends from DIALOG_SHIM
2012-10-08 14:34:04 -05:00
Dick Hollenbeck
b97ece7f58
minor.
2012-10-08 14:30:38 -05:00
jean-pierre charras
143af26952
Eeschema: code cleanup, remove dead code and some global and useless variables
2012-09-28 19:47:41 +02:00
jean-pierre charras
63257245e8
Eeschema: fix Bug #1057225
2012-09-27 20:18:56 +02:00
marco.
0355119044
[MacOSX] Updated Icons - Document ones still missing :(
2012-09-27 19:20:44 +02:00
jean-pierre charras
b660b033ad
All: remove macros MAX, MIN, ABS from macros.h and replace these macros by std::max, std::min and std::abs (mainly found in old code).
2012-09-22 13:19:37 +02:00
jean-pierre charras
5179ed926b
eeschema: plot functions: code cleaning.
...
SVG plotter: fix issues in draw arc and draw rectangle.
2012-09-18 16:50:30 +02:00
jean-pierre charras
c3ecce2ec6
Eescheam: plot HPGL: add comments and minor fix.
2012-09-18 10:39:56 +02:00
jean-pierre charras
5590e1ebf5
eeschema: plot dialog: minor fix
2012-09-17 21:28:17 +02:00
jean-pierre charras
996bf80d1f
Add missing files
2012-09-17 19:56:40 +02:00