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
jean-pierre charras
16064881be
Eeschema: Plot dialogs: unify 5 dialogs (which means 5 duplicate code) to only one plot dialog (like in Pcbnew)
...
clean duplicate code.
Simplify HPGL dialog: plot offet removed and replace by only one option (plot origin to center of sheet or not)
This is surely enought.
2012-09-17 19:42:27 +02:00
jean-pierre charras
a9744e3f84
Pcbnew: added: SVG plotter. Need refinements, but works.
...
Mainly to plot drill maps, but can be used to plot boards, for documentation.
The print svg still exists, but the plot SVG has more options (mirroring, holes in pads),
however print svg allows color print, and full board printing, and plot does not.
2012-09-15 14:13:03 +02:00
jean-pierre charras
93ebdb2cd0
All: better code to handle opened frames libview, libedit, modview, modedit.
...
Other minor fixes.
2012-09-12 11:53:11 +02:00
jean-pierre charras
b810135e4e
Code cleaning, minor fixes and minor coding style fixes. wxWidgets 2.9.4 compatibility fix( deprecated function MakeModal )
2012-09-11 21:03:21 +02:00
jean-pierre charras
3668f4ccc3
Pcbnew: cleanup functions: now, cleanup uses same algorithm as connectivity calculations to detect pads connections, and is faster.
...
therefore tracks which have a end point inside a pad, but not necessaryexactly to the pad position are seen as connected, and are no more removed.
Side effect: reconnect to pads option is removed, because it is useless.
TODO: use this algorithm in drag functions.
Minor other fixes
2012-09-07 21:29:44 +02:00
Dick Hollenbeck
5aec46049d
apply DIALOG_SHIM to dialog_lib_edit_text_base and make dialog_lib_edit_pin_base apportion more width for pin name
2012-09-07 11:15:18 -05:00
Lorenzo Marcantonio
7d154606be
Substituted the few remaining uses of long instead of time_t
2012-09-05 14:13:33 +02:00
Lorenzo Marcantonio
e771112259
Enforced EDA_COLOR_T type and minor const-ification
2012-09-02 14:06:47 +02:00
Lorenzo Marcantonio
082d901d60
Encapsulated drawmode as an enum for type checking
2012-09-01 15:38:27 +02:00
jean-pierre charras
37ee239449
Pcbnew: in SVG export, add option to export only the board area, not the full page.
...
dialog plot functions: fix compil warnings with wxWidgets 2.8
2012-08-31 09:43:37 +02:00
Lorenzo Marcantonio
fef8347176
Script plotting patch
2012-08-29 18:59:50 +02:00
jean-pierre charras
79d55c0460
Minor cosmetic enhancements.
...
Kicad manager: shows now svg files in tree files.
Pcbnew: fix incorrect printing (board out of page) when creating drill map in postscript format ( noticeable mainly for small boards)
2012-08-29 14:40:09 +02:00
jean-pierre charras
31ff1bac4f
3D viewer:
...
* serious code cleanup (remove duplicate code)
* shows (option in 3D preference menu) the copper items (tracks, zones...) in 3D, using 35 microns copper thickness.
However, because there are a lot more3D data to show (roughly 4 times more), this is slower.
2012-08-26 15:59:55 +02:00
Dick Hollenbeck
3a07ab1f09
*) 64 bit size_t is not compatible with %u printf format control. use "%zu"
...
where the 'z' prefix is for size_t arguments.
*) minor beautification
2012-08-24 06:14:10 -05:00
jean-pierre charras
0ebc3f063e
3D-viewer: code cleanup.
...
Eeschema: annotate and netlist dialogs: enhancements.
Minor coding policy fixes and changes.
2012-08-21 12:45:54 +02:00
Dick Hollenbeck
898275fa43
work around wx2.8 wierdness
2012-08-16 10:34:41 -05:00
Dick Hollenbeck
367bfb4e14
fix problem with eeschema print dialog showing up on missing monitor
2012-08-15 12:55:48 -05:00
jean-pierre charras
abe5c08e20
3D-viewer: code cleaning. Added option in menu: show a 3D grid.
...
All: press ctrl+shift key when moving the mouse allows the graphic cursor to be moved outside the grid.
(useful to place graphic objects, texts in any position, regardless the current grid)
2012-08-11 14:52:13 +02:00
jean-pierre charras
1f277fd66d
Remove Kbool from Kicad. Use Clipper instead.
2012-08-04 11:43:27 +02:00
jean-pierre charras
3b56ea6732
Eeschema: fix crash when changing a label type to a global label during creation.
...
Pcbnew: code cleaning in polygons
2012-08-02 15:23:53 +02:00
jean-pierre charras
99b90d2fa3
More work on a better support of polygons in Kicad (code cleaning).
2012-07-25 20:46:25 +02:00
jean-pierre charras
4f01bedf97
Eeschema: fix a bug that crashes eeschema (only when compiled in debug mode) when creating a new wire, and when any wire orientation is allowed.
2012-07-21 18:52:29 +02:00
Marco Mattila
9ec6139f9d
Edit eeschema single part per line sorting code.
2012-07-17 22:13:35 +03:00
jean-pierre charras
9d8c684a4a
Libedit and Modedit: fix minor, but annoying issues when editing items
2012-07-17 17:29:29 +02:00
Marco Mattila
5742bfb8cc
Fix eeschema single part per line bom generation.
2012-07-16 21:49:04 +03:00
jean-pierre charras
8439dc450f
Eeschema: fix compatibility issue with wxWidgets 2.8.12
2012-07-12 16:59:06 +02:00
jean-pierre charras
701140a6dd
Eeschema: fix wrong bitmap size in hierarchy navigator tree
2012-07-10 14:26:26 +02:00
jean-pierre charras
af0d21474d
Pcbnew: commit Lorenzo Marcantonio's patch for THT thermals (added loading/saving using S. expr).
...
Fix incorrect import of smd pads from Gpcb.
Very minor change in dialog print.
2012-07-09 09:10:07 +02:00
jean-pierre charras
7f16520498
Eeschema: bug fix: when creating new connections, junctions were not always automatically added when needed.
...
Fix an other minor bug.
2012-07-05 13:37:48 +02:00
Moses McKnight
70c30bce74
Commit patches from Moses McKnight, to avoid duplicate junctions.
2012-06-20 11:52:29 +02:00
Wayne Stambaugh
2d0d805014
Add Pcbnew s-expression file parser.
...
* Add s-expression file parser object and keyword files.
* Fix minor issues with s-expression file formatting.
* Fix a minor bug the zone container fill state parsing in the legacy plugin.
* Move EDA_TEXT visibility definition to eda_text.h.
* Add minor BOARD_ITEM object improvements to support s-expression file
parser.
2012-06-09 13:00:13 -04:00
jean-pierre charras
de471744cd
Fix some minor bugs in plot functions
2012-06-09 11:38:58 +02:00
Ryan Bunch
e07fd7ef82
allow comments in library files
2012-06-06 09:12:39 -05:00
jean-pierre charras
20a6b7ea70
Eeschema: Fix incorrect display refresh when editing the reference of a component from the popup menu.
2012-06-03 13:16:08 +02:00
jean-pierre charras
808020b1eb
Eeschema, Libedit: Fix bug that can crashes Eeschema: In libedit 2 mandatory fields could be deleted. Fixed now.
...
Very minor other fixes.
2012-05-31 15:47:02 +02:00
Lorenzo Marcantonio
28bcad847e
Rename BASE_SCREEN member m_NumberOfScreen to m_NumberOfScreens.
2012-05-26 20:19:12 -04:00
Andrey Fedorushkov
d8c14403f2
eeschema: fix set bus width when define KICAD_GOST
2012-05-25 18:33:58 +04:00