Chris Pavlina
2ff439b894
Move some old legacy save code into the block for that
2016-01-15 10:34:51 -05:00
Simon Richter
a568f35978
Fix preprocessor logic
...
The C++ preprocessor is actually not required to process "true" and "false"
correctly. This works in C if <stdbool.h> is included, because these are
then macros themselves, and resolved correctly, but C++ requires them to be
keywords, so no such macros exist, and the preprocessor can treat both as
undefined/zero.
2016-01-14 20:48:44 -05:00
Simon Richter
1190b7880a
Fix double class name
...
Mostly cosmetic change, although there are compilers that choke on this.
The C++ standard specifies that classes contain themselves as members,
probably so they shadow any other definition of the same name for their own
member functions, but there is really no reason why the class name should
be duplicated here.
2016-01-14 20:43:38 -05:00
Chris Pavlina
b30a461ee9
Pcbnew: fix Flip hotkey for blocks in legacy (fixes lp:1534120)
2016-01-14 12:52:27 -05:00
Tomasz Wlostowski
991b9d509a
GAL: apply grid offset when board is loaded and respect grid color setting. (fixes lp:1533168)
2016-01-13 13:37:52 -05:00
Simon Wells
731a137af0
Remove unused items in gpcb_plugin.cpp
2016-01-11 22:07:33 -05:00
Cirilo Bernardo
217a5f39e1
Resync with main branch r6449
2016-01-12 10:36:31 +11:00
Simon Wells
a88e61a6e0
Fix uninitialized variable in PCBNEW_CONTROL::CursorControl
2016-01-11 17:12:49 -05:00
Simon Wells
712ff51d3f
Clarify assignment as conditional in EDIT_TOOL::Main
2016-01-11 17:12:11 -05:00
Simon Wells
dbb7b38bae
Delete unused variables in GRID_HELPER::AlignToSegment
2016-01-11 17:06:11 -05:00
Tomasz Wlostowski
95252267ec
Router: check layers of all traversed joints in FindLinesBetweenJoints(). (fixes lp:1531762)
2016-01-11 13:37:00 -05:00
jean-pierre charras
74b629fa19
Fix issues I created in rev 6442 (no issue on msys2/gcc5.3, but issues on Kubuntu 14.04/ gcc 4.8). I'll find a better fix later.
2016-01-11 10:13:13 +01:00
jean-pierre charras
41db57c5f0
pcbnew.py: fix error "NameError: name 'UNDEFINED_LAYER' is not defined" when running pcbnew/wxPython, which prevents from openning the Python console.
...
CMakeLists.txt: remove no more used boost libs, and add missing coroutine lib in list.
Fix 2 minor compil warnings.
2016-01-11 09:26:55 +01:00
Wayne Stambaugh
5c6c2a0661
GitHub plugin: fix potential multiple initialization of libcurl bug.
...
* Prevent libcurl from inadvertently being initialized twice.
* Dynamically load libcurl only when required.
* Reduce the number of worker threads when loading footprint libraries to
prevent issues with the GitHub plugin.
2016-01-10 16:44:37 -05:00
Jon Neal
f309eaab00
Pcbnew: spread and pick up new footprints when loaded.
2016-01-10 16:24:13 -05:00
Chris Pavlina
13c5341040
pcbnew/scripting: delete orphaned header
2016-01-10 09:08:13 -05:00
Simon Schubert
c1b8a01e03
pcbnew: simplify pad DRC
...
This simplifies the pad DRC significantly and fixes a bug when two pads
are close to each other in a right angle, when the edge distances are
below the clearance, but the corner distance is actually above the
clearance:
+---..
|
+---..
+---+
| |
: :
---
----
<Chris> Pad DRC has handling for trapezoid pads and handling for square
pads. This patch looks relatively low-risk to me, as square is a subset
of trapezoid and the handling for trapezoid pads is not specific to that
pad type.
2016-01-09 16:07:52 -05:00
Chris Pavlina
c44c076bdb
Fix coding style error in 6429
2016-01-07 17:33:31 -05:00
Johannes Agricola
07b73b9677
Properly set keepout flag for new zones in GAL
2016-01-07 14:39:21 -05:00
Maciej Suminski
203e8156a1
pcbnew asks before rotating/flipping a locked item (GAL).
2016-01-05 17:01:59 +01:00
Cirilo Bernardo
43c2c7223b
Sync with main branch r6421
2016-01-05 16:37:52 +11:00
Wayne Stambaugh
ff924f6983
Remove download_avhttp.cmake and avhttp source archive.
2016-01-03 18:55:42 -05:00
Wayne Stambaugh
c751bf60bc
Remove Boost library building and other build improvements.
...
* Remove download and build Boost from source and all CMake boost source build
dependencies.
* Make FindCairo.cmake use pkg-config when it's available not just all
platforms except windows.
* Add version checking to FindCairo.cmake.
* Change find GML version to 0.9.5.1 which is the current version in Ubuntu
14.04 LTS.
* Update required Cairo version to 1.12.1.
2016-01-03 15:33:09 -05:00
Cirilo Bernardo
548b54d75d
+ resync with main branch r6409
...
+ work in progress: new VRML2 3D plugin
2015-12-31 09:28:39 +11:00
jean-pierre charras
6ff0092e21
Github plugin: fix lack of message when trying to download a non existing footprint library (Curl does not return an error: the message "Not Fount" is stored in buffer, and the zip handler returns a not suitable error message)
...
Minor and very minor other fixes.
2015-12-30 08:46:32 +01:00
Element Green
0417538ab3
Fix Bug #1529214 (pcbnew VRML export dialog settings have no effect)
2015-12-27 18:33:15 +01:00
jean-pierre charras
9d994663f1
Fix Bug #1527446 (Flipping a block in pcbnew doesn't flip inner layers nor their connected microvias).
...
Also fix a few typos and remove dead code.
2015-12-27 16:51:13 +01:00
Simon Wells
415c72262a
Pcbnew: use Legacy instead of Default when referring to wxDC canvas.
2015-12-22 16:25:59 -05:00
Simon Wells
6721545011
Pcbnew: remove the sunken border from the design rules dialog,
...
* On Linux it has no effect
* On OSX it removes the line border which looks ugly.
* On Windows it makes the dialog look cleaner.
2015-12-22 13:53:13 -05:00
unknown
a49b313c77
Fix a cosmetic issue: the "Move exactly" dialog was not exactly right on init
2015-12-22 15:34:34 +01:00
unknown
e506a4354b
Replace avhttp with libcurl: Some fixes:
...
1. Fixed an assumption somebody originally made in the plugin that std::string had contiguous storage. This is not specced behavior pre C++11 so we gamble by calling .reserve() which should give a far better guarantee.
2. Added copy to clipboard information for curl
3. Removed some openssl references in compiling.md
4. Renamed struct vars to be uppercase to match "public var" code style policy
2015-12-22 15:19:00 +01:00
jean-pierre charras
59d02cf1a4
Minor fixes:
...
* fix minor coding style issues.
* remove unused member in modview_frame.
* use different frame names in ctor of modview_frame and viewlib_frame depending on the fact they are built modal or not modal (allowing identifications when calling wxFindWindowByName)
* change questionnable code in class_libentry.cpp.
* remove unused code in class_treeproject_item.cpp
2015-12-22 12:58:26 +01:00
Cirilo Bernardo
07bd4cbc04
+ Resync with main r6397
...
+ Work in progress: VRML parser
2015-12-22 11:08:39 +11:00
Mark Roszko
e47bc6883d
Replace the avhttp library used by the github plugin with libcurl.
2015-12-21 15:30:33 -05:00
jean-pierre charras
56d1cac0e8
Pcbnew: avoid crash if something is wrong when opening the Python Console (for instance missing python module)
2015-12-21 21:00:32 +01:00
unknown
f041177c3a
Fix Bug #1526158 (pcbnew Zone tool: Minimum width is compared against thermal relief spoke, when Pad connection set to "None")
2015-12-21 19:42:16 +01:00
Wayne Stambaugh
96832a5185
Fix build error cause by previous commit when KICAD_SCRIPTING_WXPYTHON is not enabled.
2015-12-21 10:39:36 -05:00
unknown
0ea1c67caf
eeschema plot dialog: cosmetic enhancement:
...
Including the inline of the Output directory and its text field/browse button.
Moving the plot format to the left of the plot options as the plot options depend on the plot format.
2015-12-21 16:08:37 +01:00
Strontium
c3d3a7a4c8
Scripting: replace PyCrust shell with enhanced PyAlaMode shell.
2015-12-21 09:55:31 -05:00
jean-pierre charras
a11bbffe9b
Code reorganization, and change the way 3D viewer frame is managed (now using wxWidgets wxWindow::FindWindowByName() to know if it is existing) , to prepare others fixes.
2015-12-21 12:52:00 +01:00
jean-pierre charras
e175a96be4
Pcbnew: Enhancement: in Get footprint (hotkey 'T') : better footprint selector dialog.
2015-12-20 19:47:52 +01:00
jean-pierre charras
b881ba2bd7
Fix minor Bug #1527398 (Some items (NPTH holes) printed in color with B&W radiobutton checked)
2015-12-20 15:09:06 +01:00
Cirilo Bernardo
2c4b220f3c
Resync with main branch r6383
2015-12-19 15:02:52 +11:00
Simon Wells
f11da559c7
Removed the sunken border from the Design Rules dialog
2015-12-18 11:56:23 +13:00
Simon Wells
e7ac0d6764
Fix building layer widget in stand alone mode.
2015-12-16 10:19:27 -05:00
jean-pierre charras
178cf0dc25
Polygon calculation (zones filling): use fast mode when possible (in fact most of time) and strictly simple polygon option only in critical cases (in fact in plot Gerber functions mainly).
...
In polygon calculations (combining polygons, fracture) the mode of calculation (fast or strictly simple polygon option) as no more a default value, because choosing the best mode is better to optimize the calculation time.
2015-12-15 21:21:25 +01:00
Maciej Suminski
0caa47e73c
Fixed crash on undo pad placement in the footprint editor (GAL).
2015-12-15 13:39:53 +01:00
Cirilo Bernardo
1940bd71e4
Resync with main branch + fix MSWin build (accidental inclusion of dlfcn.h)
2015-12-15 10:56:11 +11:00
Cirilo Bernardo
2128594a85
Coding policy fixes: remove trailing white space.
2015-12-14 16:20:54 -05:00
Simon Wells
7b2858acc8
Updated layer_widget.cpp to remove build errors when STAND_ALONE is set
2015-12-15 06:45:11 +13:00
jean-pierre charras
5d429ed977
Pcbnew: drill file generation: always creates a NPTH file in separate files mode (as it was made in initial code) to avoid mistakes (old broken NPTH file after board edition for instance).
...
Eeschema: prepare case sensitive label comparison in netlist generation.
2015-12-14 09:00:49 +01:00
Cirilo Bernardo
c5e9bda936
Fix OpenGLM build errors for OSX homebrew developers.
2015-12-10 14:20:35 -05:00
Maciej Suminski
843c9b99d5
Fixed ratsnest for PCBs imported using plugins (GAL).
2015-12-10 16:29:12 +01:00
unknown
eaef5c1043
* Replace questionable wxString::PrintfV() call (which doesn't work reliably on different platforms) with wxString::Format()
...
* Extra win: due to use now of the THROW_IO_ERROR() macro, error messages contain line numbers.
2015-12-10 09:13:35 +01:00
jean-pierre charras
04271893ff
Fix Bug #1521282 (footprint wizard for SOIC ICs generates a wrong position pin mark)
2015-12-09 17:11:32 +01:00
Cirilo Bernardo
a0597c4614
GUI improvements including interactive update of model orientation/position
2015-12-09 16:43:30 +11:00
Cirilo Bernardo
47f40def0c
GUI improvements including control of panel sizes and resizing of GL canvas in preview
2015-12-09 10:38:25 +11:00
Cirilo Bernardo
2ba7c05cbf
Resync with main branch and fixed to work with new symbol visibility rules
2015-12-09 09:52:02 +11:00
unknown
0ae5fed41f
When changing the number of copper layers, new layers added to the board in pcbnew are now selected by default for plotting
2015-12-08 16:15:24 +01:00
unknown
893e018bc9
Better warning messages in duplicate zone
2015-12-08 13:02:44 +01:00
Mario Luzeiro
69cc788e8e
+ Removed glm source from kicad tree (Maciej / Cirilo)
...
+ Added renderer for 3D model preview (Mario)
+ Added 3d_cache including name resolver and modifications to 3D model dialogs (Cirilo)
2015-12-08 18:31:57 +11:00
unknown
2e04d4d621
Fix the following bugs in the IDF export:
...
1. incorrect orientation of components on the bottom side of the board
when the #D model rotation is non-zero
2. failure to export when some components have no model set
2015-12-07 10:22:09 +01:00
jean-pierre charras
4c880400b1
Better sizing of wx_html_report_panel in dialog_netlist (fix bug #1522758 )
2015-12-04 18:06:54 +01:00
Wayne Stambaugh
b04f18b245
CMake: remove OpenSSL download and build dependency code.
...
* Removed some left over OSX_DEP_BUILDER code missed in my previous commit.
2015-12-03 10:59:02 -05:00
Maciej Suminski
d373915340
Fixed crash when context menu is invoked during track dragging (GAL).
2015-12-03 14:26:12 +01:00
jean-pierre charras
f4cf050669
Eagle plugin: fix typo errors. Use paired fab layers for layers 51 and 52. Not perfect, but better than the old choice (drawing layer)
2015-12-02 12:46:55 +01:00
unknown
42525dda98
Eagle importer support dimensions
2015-12-02 09:47:02 +01:00
unknown
6abffca175
Fix incorrect import of footprint fields NAME and VALUE in Eagle import board.
2015-12-02 09:18:32 +01:00
jean-pierre charras
7f49fc9a03
Fix a minor bug I created in rev 6332 in dialog_design_rules.cpp (a line of code removed by accident).
2015-11-29 16:17:47 +01:00
jean-pierre charras
da9f68911c
Autosize row label column in wxGrid in pcb_calculator and design rules dialog.
...
Pcbnew: auxiliary axis shape: use the same look as GAL, to be consistent with GAL.
Minor change in dialog_env_var_config (use the wxStdDialogButtonSize for usual OK, Cancel and help buttons)
2015-11-29 15:19:22 +01:00
jean-pierre charras
407aa9c586
Very minor fix: a pcbnew option (show page limits) was not stored in user config, and was lost after closing the session.
...
3d-viewer: very minor fix
2015-11-29 07:56:27 +01:00
jean-pierre charras
2afee8fb58
Make translation easier in dialog_create_array_base.
2015-11-22 11:21:14 +01:00
jean-pierre charras
4749921bbc
Remove confirmation dialog when deleting footprints.
...
Very minor other fixes.
2015-11-18 19:59:24 +01:00
Tomasz Wlostowski
72b0593fdb
Pcbnew: push and shove router fixes.
...
* Fix segfault caused by invalidation of the end item by
PNS_LINE_PLACER::UpdateSizes().
* GAL zone drawing tool updates the ratsnest after zone drawing is complete.
* Fixed performance issue in zones processing using strict simplification
only for the final filled area.
2015-11-18 09:35:17 -05:00
jean-pierre charras
21d700facc
Replace "module" by "footprint" in a few messages.
2015-11-17 17:18:00 +01:00
Wayne Stambaugh
ebdc1e4b17
Pcbnew: minor footprint properties dialog fixes.
...
* Replace the term module with footprint.
* Use default dialog size to allow sizers to determine the size of the dialog.
* Fix a few alignment and spacing issues.
* Fix some minor grammatical issues.
* Use front and back for board side instead of top and bottom to be consistent
with layer naming scheme.
2015-11-17 09:03:57 -05:00
jean-pierre charras
49d75d5850
Drill file generation: add the option to merge NPTH and PTH, which was disabled recently, due to code changes.
...
Add missing translator name in AUTHORS.txt and About dialog (patch from Eldar Khayrullin)
2015-11-16 19:42:58 +01:00
jean-pierre charras
d5aef07816
Kicad manager: fix a very serious bug which crashes Kicad when running and closing gerbview, pcb_calculator, bitmap2component or pl_editor, when the Kicad manager frame is not the top level frame (It happens very easily if eeschema or pcbnew is running, after opening and closing a dialog).
...
Fix a few wxWidgets asserts.
menubar in pcbnew: move the recreate .cmp file menu to export menu, and fixes its help comment which was fully outdated.
2015-11-15 19:04:19 +01:00
unknown
4141a250fe
Eagle plugin: remve a non-static initializer.
2015-11-15 18:53:26 +01:00
Jon Neal
19075e3434
Pcbnew: fix segfault in eagle plugin when importing zone keepout areas.
2015-11-15 08:29:48 -05:00
jean-pierre charras
a356293fee
Cvpcb: Fix incorrect unique pad count for footprints using mixed letters/digits in pad name (like AA12, AB12 or Anod for instance.) and skip pads with no pad name.
2015-11-13 12:32:42 +01:00
Wayne Stambaugh
8f79b4fb11
Pcbnew: fix minor Doxygen comment error.
2015-11-11 15:16:39 -05:00
jean-pierre charras
34f1c0ea2d
Fix a few Coverity warnings.
2015-11-11 19:47:51 +01:00
Damien Espitallier
16c2c398e9
CvPcb: count unique pin numbers when filtering by pin count. (fixes:1300719)
2015-11-11 13:35:26 -05:00
jean-pierre charras
6cc91a074b
Remove a few conditional compilation for wxWidgets version < 3.0
...
Update a old .fbp file.
2015-11-09 13:14:28 +01:00
unknown
d830b24c56
Fix memory leak in meander placer.
2015-11-09 13:11:27 +01:00
unknown
2f92087bac
Small fix in eagle_plugin.cpp (see bug Bug #1513112 ). This is not actually a bug, just a fix in comments, and a minor enhancement
2015-11-05 19:38:19 +01:00
Tomasz Wlostowski
08178104bb
router: take track width changes into account when calculating trace length for tuning
2015-11-05 19:20:08 +10:00
unknown
1ee7458140
1. Fixed copy paste error in append_board_to_current.cpp ruining a if else condition, should fix a possible bounding box computation bug
...
2. Whole bunch of pointless casts removed
3. Unused variables removed
4. Fix bug caused by JP on April 25, 2015 where strings were adjusted for translation and the hotkeys section table accidentally swapped the footprint editor title with tag, resulting in "footprint editor" being exported instead of "[footprinteditor]"
No functional changes besides #4 , technically it'll "break" imports hotkeys files but April 25 broke imports as well.
2015-11-04 09:48:34 +01:00
jean-pierre charras
602e38dab5
Clipper.cpp: fix a few minor Coverity warnings (about not initialized private members)
2015-11-03 17:55:31 +01:00
Thomasz Wlostowski
6e470ece1d
Pcbnew: fix push and shove router segfault bug.
2015-11-03 11:19:42 -05:00
Simon Wells
0a9a07af2e
OSX package maker fixes.
...
* Removed outdated package maker information, the pmdoc is generated and does
not belong in the KiCad tree, it is also highly specific as seen due to the
references to /Users/marco. This is not used in normal builds nor in the
packaging for KiCad OSX nightly builds.
* Updated identifiers in package marker docs to remove references to sourceforge
and to follow other identifiers.
2015-11-02 13:29:55 -05:00
jean-pierre charras
ae506e8223
polygons in footprint body: fix incorrect calculation of polygons with clearance or outline thickness (fix bug #1511366 )
...
Clean demos
2015-11-02 10:24:32 +01:00
jean-pierre charras
c94a5dd46f
Footprint wizard: fixes and enhancements in python scripts.
2015-10-31 12:54:48 +01:00
Simon Wells
96918d4a8a
Changed the bundle identifier to org.kicad-pcb.<app> to follow the kicad domain name
2015-10-30 08:43:04 +13:00
jean-pierre charras
ad2c4b807b
footprint generators python plugins: fix a few issues, and make them more compliant with the KiCad Library Convention 0.11
2015-10-29 18:35:52 +01:00
jean-pierre charras
77f1d8a848
Pcbnew: Fix a bug in exchange footprints: if a set of pads having the same name (complex pads) is found in a footprint, not all pads of this set have the netname updated (however reading the netlist fixes this isssue).
2015-10-28 19:45:20 +01:00
jean-pierre charras
bb95fcccfc
plotcontroller: add method to get the current plot full file name and the current plot folder full path from Python script.
...
gen_gerber_and_drill_files_board.py:
* fix to make it compatible with rev 6280.
* allow this script to create files in the current plot folder defined from the board forder, no more only in current working directory.
2015-10-26 18:51:41 +01:00
unknown
1af9b46ada
Pcbnew, dialog create drill file: remove option to merge plated holes and not plated holes:
...
reasons:
* This option is called "bad practice" in gerber files format specifications and is even forbidden in gerber drill files.
* Generates problems with some board makers because these holes are not identified in a single NC file.
* No one was able to explain us how to identified them in a single NC file.
* Recent change in drill file generation is not compatible with merged holes (minor reason)
2015-10-26 08:43:30 +01:00
jean-pierre charras
ade51289a7
All: use solid lines instead of dashed lines to draw X and Y axis in legacy canvas (like in Gal canvas). The main reason: on OSX axis using dashed lines are very very slow to draw (looks like a wxWidget issue when the wxDC scale factor is very small)
2015-10-25 17:58:04 +01:00
jean-pierre charras
bafb06c8c0
Footprint wizard frame: closing the messages box before closing the frame is no more allowed, to avoid a pcbnew crash when changing a parameter or closing the wizard frame.
2015-10-24 19:46:50 +02:00
unknown
a0f52db1c8
Drill files generation: when using blind/buried vias, the files are now created for each via layer pair, each file groups vias having the same pair, and one for through holes.
...
Drill report: serious enhancements.
Plot files names for copper layers: build from the user layer name, like in bzr 4022 stable version. no change for other layers.
2015-10-23 16:30:22 +02:00
jean-pierre charras
289897e364
Pcbnew, Netlist reader: when replacing footprints, activate option "use library local settings values" for new footprints which replace old footprints, prepared by rev 6274.
2015-10-23 09:14:11 +02:00
jean-pierre charras
d63c017a0a
Exchange footprints: remove duplicate code, and keep the "Locked" attribute state after exchange/replace.
2015-10-22 18:50:27 +02:00
unknown
ad10218a58
Rename {Set,Get}GerberExtensions() to {Set,Get}GerberProtelExtensions() (better name) in public API.
2015-10-21 08:55:30 +02:00
jean-pierre charras
4dc2ece011
Fix a few wording issues in dialogs (dialog plot and dialog move exact) for translators (more explicit words/sentences to remove ambiguities).
...
Pcbnew: Plot files: for copper layers, create suffix from user copper layer names instead of default copper layer names, like in last stable Kicad version (bzr 4022), to build the plot files filenames.
Better test of illegal chars in plot filename, both in plot dialog and functions aclled by Python scripts.
Fix a Plotcontroller issue to make SetUseGerberExtensions() work as expected from Python scripts ( from Henner Zeller'patch with a fix to be sure it works properly from a Python script)
Note also using Protel Gerber Extensions is now a bad practice, because the official Gerber extension is .gbr since X2 Gerber version. But some users still use them)
2015-10-20 20:03:07 +02:00
jean-pierre charras
9aba2f2683
Add tool tips in pns settings dialogs. Use default events handlers in cancel and ok buttons and close window.
...
Fia an incorrect sentence in general board editor options dialog.
2015-10-16 17:56:50 +02:00
unknown
3ca82446d8
Fixes in GEDA footprint plugin import.
2015-10-14 20:22:47 +02:00
Wayne Stambaugh
bc6e9e855c
Pcbnew: fix broken board ratsnest visibility storage behavior.
...
* The board ratsnest visibility state was being saved in both the board file
and the Pcbnew configuration files causing visibility state issues. Use the
board file to save the board ratsnest visibility state.
* Remove all of the board ratsnest save visibility state to configuration file
code.
* Add code to set the board modified property when layer visibility states
change to give the user a chance to save the state in the board file.
* Some minor code cleaning and coding policy fixes.
2015-10-14 14:12:17 -04:00
jean-pierre charras
014f0eb61f
Gerber file X2 attribute: Change the attribute Project Id key word from .TF.JobId to .TF.ProjectId, due to a change between the draft Gerber file format specif and a the final specifs (Revision 2015.08).
...
Remove a few wxCHECK_VERSION conditional compilation, now useless.
2015-10-14 09:20:28 +02:00
Traumflug
c5f9896dec
Pcbnew: gEDA plugin fix to recognize values with units. (fixes lp:1427494)
...
* Recognize values with units in more recent gEDA footprint files and scale accordingly.
* Join both parseInt() implementations. This should reduce rounding errors as well as
code duplication.
2015-10-12 19:31:26 -04:00
Tomasz Wlostowski
0725575830
router: fixed disappearing segments when dragging corners/vias
2015-10-12 14:08:27 +02:00
Maciej Suminski
42b598d677
Fixed missing ratsnest lines when nodes are connected to different subpolygons of a zone.
2015-10-12 11:13:16 +02:00
Tomasz Wlostowski
cd0031be47
router: fix segfault when placing a via with failed shove of head trace
2015-10-12 10:02:03 +02:00
jean-pierre charras
70b584c5f5
Dialog Pad Properties: fix 2 issues: Bug #1504749 (pad parameter "delta" checking error for non trapezoid pads which do not use this parameter) and SMD pads allowed on all layers
...
The existing test was disabled for an unknown reason, which is a non sense and more important breaks the DRC.
2015-10-10 18:56:31 +02:00
Tomasz Wlostowski
3596ef2d4c
router: fixed loop removal regression in shove mode
2015-10-09 14:31:06 +02:00
Wayne Stambaugh
74f00d4027
Minor string and coding policy fixes.
...
* Make the about dialog help string consistent across all menus.
* Improve print preview window and print initialization error messages.
* The usual smattering of coding policy fixes.
2015-10-08 09:52:03 -04:00
Stefan (stol)
9537884f7e
Try to fix Bug #1502012 (Can not close print preview window with the "X" icon) Linux spécific.
2015-10-08 13:59:00 +02:00
Tomasz Wlostowski
b4fd9f3ed5
router: pick similar starting shapes for the diff pairs, not the very nearest one
2015-10-07 19:26:33 +02:00
Wayne Stambaugh
346b721156
Pcbnew: remove redundant export from IDFv3 menu entry. (fixes lp:1503076)
2015-10-07 11:05:21 -04:00
Wayne Stambaugh
40e48a6bb7
Pcbnew: fix design rules dialog tab switching bug on OSX. (fixes lp:1502823)
...
* Add skip event to notebook page changed event handler. Apparently OSX
updates the selected notebook page in this event instead of the page
changing event used on Window and Linux.
* Improve duplicate net class name error message.
2015-10-07 10:15:24 -04:00
Maciej Suminski
53cd964910
Merge lp:~xzcvczx/kicad/clarify-menu-fix into lp:kicad
2015-10-07 15:57:51 +02:00
Simon Wells
5bc6a55015
Changed behaviour so if the menu is closed without selection by pressing esc or clicking outside of the menu that the last highlighted option wont be selected
2015-10-08 02:32:36 +13:00
Maciej Suminski
a3786fd6d8
router; Changed 'custom track via/size' hotkey to Q (to avoid conflict with cycling through defined track widths).
2015-10-07 11:10:34 +02:00
jean-pierre charras
a112a33fa2
Fix Bug #1498252 (segfault + assert failed in Yield(): wxYield called recursively) and a few other issues (footprint viewer or 3D viewer not always raised in some cases). Linux specific
2015-10-06 08:23:05 +02:00
Maciej Suminski
2607497b37
Code formatting.
2015-10-05 18:28:41 +02:00
Maciej Suminski
480cf85102
router: Layer switching uses the layer pair settings when placing a through-hole via.
2015-10-05 13:28:32 +02:00
jean-pierre charras
8e08baee10
Export vrml: fix Bug #1502550 (Pcbnew Messes Up File-Name and File-Path with Multiple Export WRL) and fix a not so good file name handling after loading an other board in a stand alone Pcbnew session.
2015-10-04 19:07:20 +02:00
Nick Østergaard
5591353871
Pcbnew: fix minor issues with eagle plugin. (fixes lp:1399737).
...
* Co-authored by John Neal <reportingsjr@gmail.com>
2015-10-04 12:56:59 -04:00
jean-pierre charras
19124ceee8
Fix crash when exporting vrml (see bug Bug #1502549 ) when there is a Glu error.
...
Enhancement: dialog_footprint_wizard_list remembers now its size.
2015-10-04 13:46:56 +02:00
Bernhard Stegmaier
3f807bdc78
OSX Python scripting plugin path fixes.
2015-10-02 16:07:29 -04:00
Wayne Stambaugh
8e5e2164e8
Pcbnew: design rules dialog fixes and improvements. (fixes lp:1499538)
...
* Use default dialog size to allow sizers to do their job.
* General layout and sizer improvements.
* Remove HTML message window which could not be used when error dialog was displayed.
* Use wxStdDialogButtonSizer for the OK and Cancel buttons.
* Check for design rule validity in TransferDataFromWindow() to prevent dialog from being
closed and all new design rules being lost when an error is detected. This gives the user a
chance to fix any design rules errors before dismissing the dialog.
* Add missing test for extra via drill diameter violations.
* Remove unnecessary OK and Cancel butten clicked event handlers.
2015-10-02 15:11:33 -04:00
jean-pierre charras
a0b31b62ba
Eeschema: fix crashes when closing or moving the print preview frame on Windows 7
2015-10-02 16:07:37 +02:00
Andrey Fedorushkov
845638fc63
pcbnew: fix not build in linux
2015-10-02 07:07:08 +03:00
Wayne Stambaugh
053458b81a
Minor scripting improvements and code cleaning.
...
* Coding policy fixes in the scripting initialization code missed in my previous commit.
* Remove redundant checks for valid Python library paths in kicadplugins.i.
2015-10-01 20:15:01 -04:00
Brian Sidebotham
28bda90e87
Fix system scripting plugin path on Windows and Linux.
2015-10-01 15:21:00 -04:00
Maciej Suminski
ea005bc94d
Fixed crash on disabling all layers in the pad properties window.
2015-10-01 16:03:20 +02:00
Maciej Suminski
db8560f055
Fixed crash when placing 45-degree lines in the footprint editor (GAL).
2015-10-01 15:52:45 +02:00
Wayne Stambaugh
8f99fc0496
Minor Python scripting fixes.
...
* Actually install the contents of the pcbnew/scripting/plugins directory on
Windows and Linux
* Move the test for existence of a directory before adding it to the Python
system library paths when loading the Python plugins.
2015-09-30 16:14:59 -04:00
jean-pierre charras
ad48723deb
Update 2 footprint wizard python scripts to display the value of parameters in the window messages. DRC: do not generate warnings for pads which are only on tech layers and over a hole.
...
A very minor other fix.
2015-09-30 18:42:28 +02:00
Maciej Suminski
f13208dc04
router: Display an error message when trying to place diff pair tracks that violate design rules.
2015-09-30 13:37:19 +02:00
Maciej Suminski
f752f7875e
Code formatting.
2015-09-30 11:18:19 +02:00
jean-pierre charras
2a4f8db792
Pcbnew, archive footprints: fix bug #1495321 . The user can now save the footprints in a library in fp lib table, or in a new library.
2015-09-28 10:46:00 +02:00
jean-pierre charras
68bca14e64
wizard_3DShape_Libs_downloader : show/hide warning message when the target local folder name is modified by hand.
2015-09-26 18:03:38 +02:00
jean-pierre charras
d957ef9f71
Fix a Coverity warning (potential bug)
...
Prepare work to fix Bug #1495321 (clean code in dialog_select_pretty_lib, fix incorrect comments)
2015-09-26 08:46:25 +02:00
Wayne Stambaugh
a6a9d8eedf
Default and most recently used path fixes. (fixes: 1494210)
...
* Rename Eda_FileSelector to EDA_FILE_SELECTOR.
* Add optional pointer to wxString to save the most recently used path to EDA_FILE_SELECTOR.
* Rename Eda_DirectorySelector to EDA_PATH_SELECTOR.
* Replace wxGetCwd() with wxStandardPaths::GetDocumentsDir(). This fixes the windows issue
where wxGetCwd() returns the path where the executable files are located.
* Add code to handle most recently used path to EDA_BASE_FRAME.
* Fix string formatting error in kicad/files-io.cpp.
* Remove setting and restoring current working directory when launching GerbView. Setting the CWD
has no effect on the launched executable which starts with it's own CWD.
* Allow project path to be passed to GerbView when launched from KiCad.
* Note: this is a work in progress. Do not expect every path and/or file selection dialog to properly
update the most recently used path. The correct solution to this problem requires a much more
well though out solution which will not happen until after the next stable release.
2015-09-25 15:38:09 -04:00
Maciej Suminski
45a9b1c000
Fixed the build problem introduced in revision 6215.
2015-09-24 18:59:10 +02:00
Maciej Suminski
9bb74e5244
Synchronize layers visibility on canvas switch.
2015-09-24 18:34:22 +02:00
Maciej Suminski
f2807035df
router: Improved via placement code. - Blind/buried vias going through all layers are converted to TH vias. - If current layer is not set in the pair, router switches to the top layer instead of keep using the same layer. - Microvias switch between one of the outer layers and the adjacent one.
2015-09-24 18:34:22 +02:00
Maciej Suminski
504cf55642
Minor code formatting corrections.
2015-09-24 18:34:22 +02:00
Maciej Suminski
41e96e03d6
router: Added messages explaining why a blind/buried/microvia cannot be placed.
2015-09-24 11:04:42 +02:00
Dick Hollenbeck
b27176f230
Pcbnew: fix segfault after deleting a pad from a footprint then performing a DRC action such as a via drag.
2015-09-23 19:02:40 -04:00
Simon Wells
c0d9fc1b5c
Changed about menu items to just say About Kicad as its a common about dialog across the project
2015-09-24 06:59:31 +12:00
Simon Wells
e45cdaedb6
fixed footprint editor accelerator
2015-09-24 06:45:24 +12:00
Simon Wells
1b26ca59b1
Added getting started to the remaining menus and fixed the icons
2015-09-24 06:29:21 +12:00
Simon Wells
58d0abb23a
Made help menu items consistent
2015-09-24 04:47:34 +12:00
Wayne Stambaugh
41242a5a00
Pcbnew: fix error message on footprint ID load failure.
2015-09-22 13:05:07 -04:00
Maciej Suminski
0c92a8583a
Fixed crash on tracks & vias clean up (GAL).
2015-09-22 17:55:10 +02:00
Wayne Stambaugh
1831b2329a
Pcbnew: minor keep out zone properties dialog fixes.
...
* UI capitalization policy fixes.
* Set OK button as the default.
* Use default dialog size to allow sizers to do their job.
* Minor grammar and abbreviation string fixes.
2015-09-21 11:36:13 -04:00
Maciej Suminski
25d5a2fbfb
Disable capture cursor & autopanning for tools in idle state (GAL).
2015-09-21 10:16:23 +02:00
Wayne Stambaugh
3adff48dcd
Pcbnew: minor UI improvements.
...
* Make OK button the default in the copper zones properties dialog.
* Change the set global text edit properties menu entry so that is describes
what the dialog actually does.
* Make the clean up tracks and vias menu entry description more accurate.
2015-09-17 16:43:14 -04:00
Wayne Stambaugh
25ef22b00c
Pcbnew: fix assertion due to string formatting error when loading footprint from board in footprint editor. (fixes lp:1495744)
2015-09-15 13:16:23 -04:00
Tomasz Wlostowski
5bbf980ec7
router: fixes for disappearing segments after shoving & assertion in PNS_NODE destructor
2015-09-14 18:40:29 +02:00
Simon Richter
0e7f3bf366
Make forward declaration of SELECTION consistant with actual declaration.
2015-09-13 15:38:27 -04:00
jean-pierre charras
00cffb080e
Make call to DXF importer not possible if a footprint does not exist, also in GAL mode.
2015-09-13 18:44:07 +02:00
jean-pierre charras
8193a898f3
Footprint Editor: make call to DXF importer not possible if a footprint does not exist, to avoid crash. ( It fixes an issue on Unity, where the file menu to call the DXF importer is not always disabled when no footprint loaded)
2015-09-13 16:23:01 +02:00
Wayne Stambaugh
72e50b496c
Pcbnew: minor VRML export dialog improvements.
...
* Track the last used path for the current session.
* Set focus back to OK button after wxFilePickerCtrl button is pressed to change file path
and/or file name so next return key press fires OK event.
* Use default dialog size to let the sizers set initial dialog size.
* Add spacer to improve layout when resizing dialog.
2015-09-12 12:57:38 -04:00
Wayne Stambaugh
f3a142b03c
Pcbnew: minor pad properties dialog improvements.
2015-09-11 19:13:54 -04:00
Wayne Stambaugh
4541eb4f37
Pcbnew: minor graphic items properties dialog improvements.
...
* Use colons for consistency with other dialogs.
* Use default size to allow sizers to determine dialog size.
* Use "segment" rather than abbreviation "segm".
* Use width and height to describe text instead of X and Y.
* Add spacer to improve layout when resizing dialog.
2015-09-11 10:31:45 -04:00
Wayne Stambaugh
0ac50f3671
Pcbnew: minor track and via property dialog fixes.
...
* Use colons consistently in labels.
* Use default dialog size to allow sizers to size dialog.
* Fix control alignment and spacing consistency.
* Add spacer to improve layout when resizing dialog.
2015-09-11 10:02:57 -04:00
Wayne Stambaugh
b6bb87af74
Pcbnew: minor graphic item properties dialog improvements.
...
* Make control spacing and alignment consistent.
* Use default dialog size and to allow the sizers to do thier job.
* Add colons to per item labels for consistency.
* Fix error message box title capitalization per UI policy.
2015-09-11 09:08:53 -04:00
Wayne Stambaugh
2e3806c397
Pcbnew: minor display option dialog fixes.
...
* Remove hard coded dialog size and let the sizers do their job.
* Minor UI policy text fixes.
* Minor text changes to improve readability.
* Minor tool tip changes to improve readability.
2015-09-10 16:29:45 -04:00
Wayne Stambaugh
cae9b8b885
Pcbnew: minor global delete dialog fixes.
...
* Fix control spacing for more aesthetic layout.
* Minor UI policy text changes.
* Set OK button as the default action.
2015-09-10 16:00:18 -04:00
Wayne Stambaugh
a42adc096c
Pcbnew: minor IDF export dialog fixes.
...
* Fix control spacing and alignment for more aesthetic layout.
* Minor text changes to improve readability.
2015-09-10 15:48:28 -04:00
Wayne Stambaugh
c0d7c3fd0b
Remove unnecessary edits left over from previous commit.
2015-09-09 15:17:19 -04:00
Tomasz Wlostowski
2088b5296e
Fix bug when plotting DXF board outline.
2015-09-09 11:51:02 -04:00
Wayne Stambaugh
42ecf0a994
Fix VRML export bug.
...
* Split graphic circle objects into two 180 degree arcs to prevent the
VRML_LAYER::AddCircle() function from obscuring objects in the hole
(cut out) area of the circle.
2015-09-09 11:08:53 -04:00
Maciej Suminski
5659e3f8dc
Adjusted ROUTER_PREVIEW_ITEM depth values.
2015-09-09 11:56:16 +02:00
Maciej Suminski
6e23979253
Removal tool asks for confirmation only for modules (GAL).
2015-09-08 11:17:30 +02:00
jean-pierre charras
168940158d
Footprint wizard frame: Remove an assert message in Debug mode.
2015-09-07 20:25:45 +02:00
Simon Wells
3bcda184dd
Fix issue in plot Gerber X2 format ( missing % char). Stra,gely, does not happen on all platforms.
2015-09-07 20:09:41 +02:00
jean-pierre charras
4a06cd2326
Pcbnew: try to fix a crash (only on some Linux versions) when exporting a footprint from the footprint wizard frame.
...
Replace %zu by %d in wxString::Format (%zu format not always known by wxString::Format on Windows, depending on the way wxWidgets was built ) in a few messages
2015-09-07 17:45:44 +02:00
jean-pierre charras
991927a177
Fix crash (only on Linux) when exporting a footprint from the footprint wizard frame.
...
Replace %zu be %d in wxString::Format (%zu format not known by wxString::Format on Windows 32 bits)
2015-09-07 17:20:15 +02:00
Maciej Suminski
b98d745336
Fixed crash on "Cleanup Track and Vias" when GAL canvas is active.
2015-09-07 14:02:02 +02:00
jean-pierre charras
7b0d597f6d
Fix some issues related to the footprint wizard frame:
...
* Mainly the wxDialog that was opened when the wizard is created is now no more created by the wizard frame CTOR. On some W.M. it created a serious issue related to the way Event Loops are managed. Now the user has to call it by the toolbar tool.
* 2 settings not saved in config are now saved.
* a few other minor enhancements
* better icon in footprint wizard frame
Remove a few #define relative to the wxWidgets 2.8 version, no more supported.
2015-09-07 12:52:16 +02:00
Maciej Suminski
73e8645e2a
pcbnew starts with F.Cu layer selected as the active one.
2015-09-06 22:49:47 +02:00
Maciej Suminski
2f0cf27ae4
More adjustments to the layer ordering (GAL).
2015-09-06 12:58:46 +02:00
Brian Sidebotham
34aab6f687
Add axis origin to the Footprint Editor to align with the Legacy canvas
2015-09-05 20:47:35 +01:00
Maciej Suminski
8f14e9e0b7
Improved the displayed layer order (GAL).
2015-09-05 19:00:54 +02:00
Maciej Suminski
bfca6f083f
Bounding box for arc contains only the arc itself (excluding the center point) (GAL).
2015-09-03 23:05:01 +02:00
jean-pierre charras
7995f0e7de
Fix KIWAY_PLAYER::ShowModal: the top level windows children of the KIWAY_PLAYER Modal frame are now enabled (previously were disabled). It fix some issues for instance with the aui toolbar when moved, and the dialog open when starting the footprint wizard frame. Perhaps also explains a few other bugs in modal mode.
...
footprint wizard frame: now shows messages from footprints python scripts. Especially usefull when a parameter is incorrect. Fix also an other issue (IO exception error) with some python scripts when they are usin a print command to output messages (now they use the new message window.
2015-09-05 16:47:16 +02:00
jean-pierre charras
7808b2e240
Fix in KIWAY_PLAYER::ShowModal: the top level windows children of the KIWAY_PLAYER Modal frame are now enabled (previously were disabled). It fix some issues for instance with the aui toolbar when moved, and the dialog open when starting the footprint wizard frame. Perhaps explain a few other bugs.
...
footprint wizard frame: now shows messages from footprints python scripts. Especially usefull when a parameter is incorrect. Fix also an other issue (IO error) with some scripts which were usint the print command to output messages (now they use the nes message window.
2015-09-05 14:10:54 +02:00
Maciej Suminski
4636d8d615
PNS router changes layer on 'Place Via' hot key while it is not laying out a track.
2015-09-03 18:25:48 +02:00
Maciej Suminski
b1d241c271
Net highlighting mode is toggled when used on the same net (GAL).
2015-09-03 17:56:30 +02:00
Maciej Suminski
9f41fe0bda
Added a hot key for (un)locking modules (GAL).
2015-09-03 17:35:41 +02:00
Maciej Suminski
8dbf6beed6
Fixed a corner case for arc bounding box calculation.
2015-09-03 10:42:52 +02:00
unknown
8fedc57499
Small cleanup: remove a few unnecessary casts, and minor cleaning code.
2015-09-03 09:44:30 +02:00
jean-pierre charras
4a56ee42c5
Footprint wizard: Fix IO exception error in python scripts which happens sometimes, due to the fact these scripts printed messages to a console, but when Pcbnew is not run from a console, there is no IO channel to read these messages.
...
The fix is not perfect (still no IO channel to read these messages) , but it works better.
Also, fix erroneous comments in code, and cleanup code.
2015-09-02 15:55:36 +02:00
Maciej Suminski
387054d83f
Fixed a mistake in the previous commit.
2015-09-02 10:55:35 +02:00
Maciej Suminski
9c9b0d1c6d
One more fix for #1490786 .
2015-09-02 10:48:10 +02:00
Maciej Suminski
1d877f5b74
Redraw module texts on "Reset Footprint Field Sizes" (GAL).
2015-09-01 18:06:11 +02:00
Maciej Suminski
8fe18d83a0
Added missing comments for the last commit.
2015-09-01 15:06:54 +02:00
Maciej Suminski
3cddf14e73
Ratsnest algorithm handles items in pad areas (GAL).
2015-09-01 13:44:07 +02:00
Maciej Suminski
24e7f961b9
Fix a Coverity report (catches an unhandled exception).
2015-09-01 11:32:23 +02:00
Maciej Suminski
8b8098d228
GAL canvas highlight net mode works on all layers.
2015-09-01 11:27:38 +02:00
jean-pierre charras
dba0494b02
Pcbnew: Rework on dialog global deletions.
2015-09-01 11:13:22 +02:00
Maciej Suminski
330b253018
Recalculate ratsnest on canvas switch.
2015-09-01 10:50:59 +02:00
jean-pierre charras
f7f7e3e918
Remove useless or not working code used in Load/Save config.
2015-08-31 08:43:33 +02:00
jean-pierre charras
3eae0feeaa
Fix incorrect default URL in wizard_add_fplib_base. Update an old test dialog.
2015-08-30 13:00:30 +02:00
jean-pierre charras
156d5f50d6
fix unwanted foreground frame change on Windows when creating BOM and netlists from scripts.
...
Very minor coverity warning fixes.
2015-08-28 16:15:45 +02:00
Cirilo Bernardo
adddfd22a3
Pcbnew: add user position option to DXF import dialog.
...
* Dialog UI policy fixes and layout improvement provided by Wayne Stambaugh.
2015-08-27 14:10:28 -04:00
Michael Beardsworth
2e4136720d
Removed set-but-unused failingDirCheck variable
2015-08-26 17:52:56 +02:00
Maciej Suminski
33dd214b4f
Fixed crash on closing the footprint editor with hot key (GAL).
2015-08-26 11:50:16 +02:00
Maciej Suminski
a813deb579
Fix a ratsnest assertion when selecting a copper connection between only 2 nodes.
2015-08-25 18:27:04 +02:00
jean-pierre charras
f67c7fe052
Very minor changes. ( changes in clipper are made to avoid coverity minor warnings).
2015-08-25 16:47:09 +02:00
Jon Neal
0aa9fad668
Push UI preferences to child edit and view windows. (fixes lp:1468388)
...
* Push center on zoom, use middle mouse button to pan, limit panning, and
pan while moving object settings from schematic editor to symbol library
editor and symbol library viewer child windows.
* Push center on zoom, use middle mouse button to pan, limit panning, and
pan while moving object settings from board editor to footprint library
editor and footprint library viewer child windows.
2015-08-25 10:16:15 -04:00
Maciej Suminski
11275f78e5
Preserve module editor settings when a new footprint is created.
2015-08-25 11:44:45 +02:00
Tomasz Wlostowski
0723ac5bef
enumeratePads: fix segfault when no module is loaded in the editor
2015-08-25 10:22:52 +02:00
jean-pierre charras
204eb49ce5
Minor enhancement in python console: remove margins around the client area. simplify code.
2015-08-24 20:32:56 +02:00
Wayne Stambaugh
7ba02bad7c
Pcbnew: bug fix and minor changes in github plugin. (fixes lp:1484331)
...
* Catch all unhandled exceptions derived from std::exception() class in
KICAD_PLUGIN::get_remote_zip() to prevent KiCad from crashing when
exceptions are thrown from the C++ standard library.
* Make boost::system::system_error() catch const and and improve comments
about avhttp library usage in KICAD_PLUGIN::get_remote_zip(). Thanks to
Dick Hollenbeck for these improvements.
2015-08-24 13:30:26 -04:00
unknown
44b5d19d3b
barcodefootprint wizard - cleanup python code.
2015-08-23 21:44:34 +02:00
jean-pierre charras
4fc230b773
Rework on Enum PAD_SHAPE_T, PAD_DRILL_SHAPE_T and PAD_ATTR_T (see rev 6008) : the new and better names are now used in Kicad code and existing python scripts.
...
PAD_SHAPE_T and PAD_ATTR_T still have a double definition (new names and old names) to be sure python scripts are nor broken by the change.
PAD_DRILL_SHAPE_T does not have a double definition, because it is unlikely oblong holes are used in python scripts.
Double definitions will be removed in the (next) future.
2015-08-23 21:40:33 +02:00
jean-pierre charras
705eb1f245
Minor change in a fp wizard (better name). Add a new fp wizard to generate a fp with a bar code on the silkscreen layer.
2015-08-23 15:06:39 +02:00
unknown
d6b1aa764e
kicad footprint plugins wizards: avoid spaces in generated footprint names (which often creates issues in filenames)
2015-08-23 14:44:56 +02:00
jean-pierre charras
bb3dc5771c
Pcbnew: Fpid parser: Fix crash when reading a .kicad_pcb file containing a valid fpid with a revision value.
...
Fix an issue when a .kicad_pcb file contains an incorrect fpid ( containing a '/ ' in footprint section ) . After saving the board the file was no more readable, due to a broken fpid saved in file
(can happens in old .kicad_pcb files, coming from the bzr 4022 stable version, and/or in files converted from an other EDA tool like altium)
Fix 2 very minor coverity warnings.
2015-08-23 14:35:49 +02:00
Maciej Suminski
0386a4df94
Bulletproof canvas switching.
2015-08-21 10:33:36 +02:00
Tomasz Wlostowski
a33fc223ae
router: take net clearance when deskewing diff pairs.
...
Apply correction on DP corner radius to avoid DRC issues.
2015-08-21 16:37:44 +02:00
Tomasz Wlostowski
b4135e0a33
router: fixed snapping to target while placing diff pair
2015-08-21 16:35:34 +02:00
jean-pierre charras
2605ab0984
Fixes related to exchage footprint dialog:
...
* The exchange dialog can be now called from the footprint popup menu.
* It can be (as before) called from the footprint properties menu, but in this case, the footprint properties menu is closed before calling the exchange menu.
* Changes in exchange dialog to avoid truncation of long FPIDs
* Changes in exchange dialog to make some texts translatable (Previously, the same English sentence was used in very different contexts)
2015-08-20 20:13:18 +02:00
Tomasz Wlostowski
2b70aeafba
fix rare segfault when head line had unsimplified segments
2015-08-20 15:11:16 +02:00
jean-pierre charras
392600276f
Pcbnew: Add a wizard to download 3d shapes libraries from Github and make a local copy.
2015-08-20 12:23:38 +02:00
Tomasz Wlostowski
9da18f6db6
router: fix ortho snap mode for diff pairs
2015-08-20 09:46:19 +02:00
jean-pierre charras
edbcf2d0cb
Add a wizard to Pcbnew to download 3d shapes libraries from Github
2015-08-20 09:14:44 +02:00
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
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
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
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
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
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
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
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
Chris Pavlina
fa29c62277
Fix saving undo/redo limits in Eeschema.
2015-08-05 20:10:52 -04:00
Chris Pavlina
aaadb40a71
Make undo/redo limits user configurable.
...
* Add code to allow each editing window it's own undo/redo count.
* Add code to allow for infinite undo/redo when count is set to 0.
* Add edit control to all editing windows general options dialog for
user configuration of undo/redo count.
* Add code to save and restore undo/redo count for each editing window.
2015-08-05 10:28:27 -04:00
Jon Neal
89f4316afc
Pcbnew: fix minor string formatting error in DIALOG_PLOT_BASE.
2015-08-05 09:00:01 -04:00
Maciej Suminski
d624115f35
Fixed failing undo while routing.
2015-08-04 23:08:13 +02:00
Tomasz Wlostowski
b6f61ff676
PNS: correctly snap to offset pads
2015-08-04 12:15:47 +02:00
Tomasz Wlostowski
86b07d89a7
PNS: fixed crash on via dragging
2015-08-04 11:37:16 +02:00
Maciej Suminski
2a93d083ee
More DXF import fixes.
2015-08-03 21:11:59 +02:00
Maciej Suminski
0fbf31ef38
P&S: memory mgr & disappearing trace fixes. Still a bit buggy, though...
2015-08-03 21:11:51 +02:00
Tomasz Wlostowski
07f5516e59
geometry: Parse() method for SHAPE_LINE_CHAIN, working on Read() in SHAPE_FILE_IO
2015-08-03 20:29:44 +02:00
Tomasz Wlostowski
9c2bcb2f3c
Fixed crash on right click on zone with GAL mode.
2015-08-03 11:53:58 +02:00
Bernhard Stegmaier
5f4423f7af
Changed abs() to std::abs() in pns_topology.cpp.
2015-08-03 10:50:05 +02:00
Wayne Stambaugh
7b39b1bfc4
Pcbnew: fix dimension dialog default button on Linux.
2015-08-02 18:14:13 -04:00
jean-pierre charras
b0585253c3
Avoid creation of the zones_dump.txt file each time the zones are re-filled, when this option is not enabled.
2015-08-02 19:39:24 +02:00
jean-pierre charras
9f61254839
Fix bug #1480619 (Moving silkscreen reference of rotated footprints glitches in GAL)
2015-08-02 11:19:01 +02:00
Wayne Stambaugh
e9ed3e3e55
Pcbnew: make OK button default item in dimension properties dialog.
2015-08-01 17:30:38 -04:00
jean-pierre charras
6a6a55f9bf
A few messages modified in dialogs to help translations.
2015-08-01 14:48:38 +02:00
jean-pierre charras
4b4d9d9770
Plot solder mask layer: fix incorrect margin of zones drawn on this layer (zone areas were slighly larger than the actual areas)
...
Fix a few minor and very minor other issues: coverity warnings and compil warning.
2015-08-01 12:20:23 +02:00
jean-pierre charras
75d02086ad
Modedit: fix a minor bug in footprint transform (polygons not mirrored or rotated in global footprint transform).
...
Code cleaning: in class EDGE_MODULE and TEXTE_MODULE, remove duplicate methods for fp edition (about rotation, mirroring and move) and add comments.
2015-07-31 21:04:30 +02:00
Maciej Suminski
f140e36021
Footprint editor uses the same canvas as the layout editor.
2015-07-31 17:40:19 +02:00
Maciej Suminski
73a6e95407
Ratsnest algorithm takes into account pad offset.
2015-07-31 17:40:19 +02:00
Maciej Suminski
e3cbfb0609
Better way of handling changes in EDIT_TOOL (GAL).
2015-07-31 17:40:19 +02:00
Maciej Suminski
cb629e0ad4
Fixed DXF placing problem (GAL).
2015-07-30 13:49:36 +02:00
Maciej Suminski
781ac8df9f
RN_NET::GetClosestNodes() minor fix.
2015-07-30 13:49:36 +02:00
Maciej Suminski
3049bc1d5f
Fixing SELECTION_TOOL heuristics, take #2 .
2015-07-30 13:49:35 +02:00
Maciej Suminski
4718b6d7c8
Code formatting.
2015-07-30 13:49:35 +02:00
Maciej Suminski
29cbaa206e
Fixed updating of Zoom & Grid context menus.
2015-07-30 13:49:35 +02:00
Maciej Suminski
094c286024
Fixed issues reported by Coverity.
2015-07-30 13:49:35 +02:00
unknown
07ad6cb0bb
Fix potential crash in pcbnew (if if a pad in a footprint in a mal-formed .pretty library contains a reference to a net)
2015-07-29 20:55:56 +02:00
jean-pierre charras
32f0ea621f
Shape poly set: fix bug in BBox calculation. Class MARKER : fix broken code and clean code. Fix bug #1369682 (EESchema Erc not show error count) due to this broken code.
2015-07-29 14:18:53 +02:00
Maciej Suminski
63b0e63152
Prevent 'select copper' & 'select trivial connection' from picking modules.
2015-07-28 17:33:18 +02:00
Maciej Suminski
f7dbd8a213
Fixed a refresh issue on footprint insert (GAL).
2015-07-28 17:33:18 +02:00
Maciej Suminski
c632f3db18
Update ratsnest on footprint change (GAL).
2015-07-28 17:33:18 +02:00
Maciej Suminski
5402bf0960
Allow zone drawing tool to start a new zone in the previous zone last point.
2015-07-28 17:33:18 +02:00
Maciej Suminski
55b09483df
Picker tool captures cursor by default.
2015-07-28 11:11:18 +02:00
Maciej Suminski
c9837595ef
Fixed VIEW_CONTROLS too frequent reset.
2015-07-28 10:30:06 +02:00
Maciej Suminski
6983f90b9f
Align cursor to the grid when dragging multiple items (GAL).
2015-07-28 10:28:59 +02:00
Jean-Pierre Charras
1d26647a60
de-boostization: Fixed incorrect zone fill clearance when overlapped with another zone of higher priority.
2015-07-27 21:47:49 +02:00
Tomasz Wlostowski
1d7e49a45c
SHAPE_POLY_SET::Inflate(): correct arc approximation for negative offsets (deflation). Control circle->segments count explicitly in all Inflate() calls
2015-07-27 21:46:47 +02:00
Tomasz Wlostowski
63b35f40a7
Removed all dependencies on boost::polygon except for bitmap2component. Replaced almost all instances of CPOLYGONS_LIST with SHAPE_POLY_SET.
2015-07-27 21:45:57 +02:00
jean-pierre charras
17d900411f
Pcbnew fixes in import plugins: Legacy .brd files: accept pcb texts tracks on non activated copper layers (tracks are removed and texts front on top layer) .
...
Eagle plugin: if a board has a odd number of copper layers, the converted board copper layer count is rounded to the next even count (a odd count creates issues in .kicad_pcb files).
2015-07-25 13:16:05 +02:00
jean-pierre charras
ee08e8d1de
Pcbnew: Fix some issues in dialog netlist: remove useless check box, avoid a message sometimes erroneously shown, use lazy mode to build the netlist report, store the netlist report options in user config.
2015-07-24 20:49:47 +02:00
jean-pierre charras
9b9c7945a2
Many minor fixes (like bug #1477213 ). Better help in dialog environment variables editor (the tooltip was never shown on Windows)
2015-07-24 12:23:34 +02:00
Maciej Suminski
d010703eaf
Fixed cursor freeze in pcbnew (GAL).
2015-07-24 10:58:47 +02:00
Maciej Suminski
656790a672
Make module texts selectable if overlapping with module pads.
2015-07-24 09:42:46 +02:00
Maciej Suminski
74584e2081
Fixed crash on undo layer change in TEXTE_MODULE.
2015-07-24 09:42:46 +02:00
Maciej Suminski
7650b0e8ad
Minor code cleaning (PNS).
2015-07-24 09:42:46 +02:00
Maciej Suminski
d6bc33bd42
Removed a few more memory leaks and fixed crash on exit.
2015-07-24 09:42:46 +02:00
Maciej Suminski
982eee7905
Do not invoke PNS inline dragging when 'Duplicate' is run.
2015-07-24 09:42:45 +02:00
Maciej Suminski
f7fa0852b5
Fixed screen scrolling on zooming in/out.
2015-07-24 09:42:45 +02:00
Tomasz Wlostowski
591f54f540
DRAWING_TOOL: show cursor when placing text
2015-07-22 13:51:59 +02:00
Tomasz Wlostowski
afb6571249
PNS_NODE: fix segfault when dragging a track/corner of a track forming a ring
2015-07-22 13:51:12 +02:00
Tomasz Wlostowski
8752f46f07
PNS_ROUTER: correctly handle NPTH pad layer sets.
2015-07-22 13:49:53 +02:00
Maciej Suminski
83171482b3
Fixed a memleak (CONDITIONAL_MENU).
2015-07-22 10:46:57 +02:00
Maciej Suminski
6cb57f100a
Fixed a memleak (PNS).
2015-07-22 10:46:56 +02:00
Maciej Suminski
b16ade0805
PNS code formatting.
2015-07-22 10:46:56 +02:00
Jan Dubiec
7f1f436a4e
Proper OPT_OBSTACLE casting.
2015-07-22 10:46:45 +02:00
Chris Pavlina
ca0849b968
Pcbnew: fix default button while in text edit control on Linux in footprint text edit dialog.
2015-07-21 09:28:19 -04:00
Chris Pavlina
991d1066ef
Pcbnew: improve dialog message when no footprints on BOM export.
2015-07-20 16:49:39 -04:00
Ruben De Smet
4b98dc9dda
Minor coding policy fix.
2015-07-20 10:24:56 -04:00
jean-pierre charras
1885a924d3
Fic bug #1475891 (Assertion failed when appending a board in pcbnew)
2015-07-19 11:18:07 +02:00
unknown
40ccc0bedf
replace round() with KiROUND(), our function that is used almost everywhere for rounding, and detects int overflows in debug mode.
2015-07-17 10:26:48 +02:00
jean-pierre charras
3372b77b43
Fix a minor issue on Windows: when a viewer or a lib editor is already open and iconized, and when one try to run it, it stayed inconized. It is now raised, like on Linux.
2015-07-16 21:29:40 +02:00
Maciej Suminski
27eafcb5c1
Fix erroneous cursor control with keys when grid size is less than one pixel with certain zoom levels.
2015-07-16 17:52:08 +02:00
Maciej Suminski
232d7462b6
Removed wrong assert.
2015-07-16 12:05:07 +02:00
Maciej Suminski
dd8f7cc4b5
Fixed crash on ratsnest calculation after a zone was removed.
2015-07-16 11:10:31 +02:00
Maciej Suminski
cba132aaf4
Fixed an assert in the Create Array dialog.
2015-07-16 11:10:30 +02:00
Maciej Suminski
fbdaf9bbdc
Removed unnecessary header file.
2015-07-16 11:06:17 +02:00
Maciej Suminski
6451fcf174
Fixed double EndModal() assert in the Global Deletion dialog.
2015-07-15 19:05:59 +02:00
Maciej Suminski
36d3d9f78e
Cursor warps to the drag origin (GAL).
2015-07-15 17:32:30 +02:00
jean-pierre charras
5fb7c211f9
Fix issues on Unbuntu Unity (dialogs/frames not raised when they are created and shown)
2015-07-15 15:03:19 +02:00
jean-pierre charras
2ee222e3bc
Fix issues on Linux/Unity (dialogs not always raised)
2015-07-15 14:41:30 +02:00
Maciej Suminski
4b45146c46
Improvements to the SELECTION_TOOL heuristics & sanitization rules.
2015-07-15 14:08:52 +02:00
Maciej Suminski
6a6ea35335
Fixed assert on double 'Move' command invocation (GAL).
2015-07-15 14:08:52 +02:00
Maciej Suminski
59af7a96f8
Minor code cleaning.
2015-07-15 14:08:52 +02:00
Maciej Suminski
36d1818b54
Fixed snapping problem when commands are issued from the context menu (GAL).
2015-07-15 14:08:51 +02:00
Maciej Suminski
2752953f34
Merging for non-copper zones (GAL).
2015-07-15 14:08:50 +02:00
Maciej Suminski
694ff39f53
Footprint Library Wizard accepts any folder name as .pretty library.
2015-07-15 14:08:50 +02:00
Maciej Suminski
6f8b02c726
Zones cleared in the legacy canvas are not refilled on modification in GAL.
2015-07-15 14:08:50 +02:00
Maciej Suminski
600bb2b640
Track & via properties dialog start with focus on track width/via diameter text input.
2015-07-15 14:08:50 +02:00
jean-pierre charras
ac1deb32ee
Fix issues on Linux/Unity (dialogs not always raised)
2015-07-15 10:18:48 +02:00
Maciej Suminski
d2ebf688f9
Reverted commits that remove boost::polygon dependency (need more testing).
2015-07-14 22:23:13 +02:00
Tomasz Wlostowski
9f18e5a98f
SHAPE_POLY_SET::Inflate(): correct arc approximation for negative offsets (deflation). Control circle->segments count explicitly in all Inflate() calls
2015-07-14 15:05:41 +02:00
Tomasz Wlostowski
41c753b05d
Removed all dependencies on boost::polygon except for bitmap2component. Replaced almost all instances of CPOLYGONS_LIST with SHAPE_POLY_SET.
2015-07-14 13:36:24 +02:00
Andrew Zonenberg
561a962977
Fixed bug where "add text" tool in module editor did not update the toolbar radio buttons correctly
2015-07-11 17:03:50 -07:00
Andrew Zonenberg
6775cf392a
Removed leading space
2015-07-11 16:50:31 -07:00
Andrew Zonenberg
1ea566b59d
Fixed bug where GAL text tool was overzealously capturing the cursor when not necessary
2015-07-11 16:03:07 -07:00
Andrew Zonenberg
a3a0db9be9
Fixed bug where GAL module editor does not release mouse capture after exiting text tool
2015-07-11 15:31:01 -07:00
Wayne Stambaugh
c01a9d0285
Footprint editor dialog improvments and UI policy fixes.
...
* Clean up formatting and make OK button the default in the array dialog.
* Make the OK button the default in the move exact dialog.
* Change the directory picker control from wxGenericDirCtrl to wxDirPickerCtrl so the native
directory picker dialog is used to select the directory in the select pretty library path dialog.
* Make the OK button the default in the select pretty library path dialog.
2015-07-11 19:11:34 -04:00
Maciej Suminski
c9370ae5e6
Fixed a PNS assert.
2015-07-10 23:42:13 +02:00
Maciej Suminski
a530ffad50
Code formatting.
2015-07-10 23:42:05 +02:00
Tomasz Wlostowski
a7613b6d6a
Fixed cancelling inline track dragging.
2015-07-10 12:14:27 +02:00
unknown
be42bd163b
BOARD::chainMarkedSegments() : fix coding style, bad comments, and better debug messages.
2015-07-10 18:43:25 +02:00
jean-pierre charras
6ec3d891d4
Pcbnew: remove erroneous warning message when starting pcbnew if scripting mode is enabled and wxpython disabled
2015-07-09 21:22:40 +02:00
Maciej Suminski
ca27eeb5c7
Fixed "select copper connection".
2015-07-09 20:04:54 +02:00
jean-pierre charras
01ae08a9a9
Remove the call to wxversion.py on winbuilder, because it does not work (not found, even when exists), ans it is not useful. Avoid crashes when wxPython scripting layer is not loaded, on kicad exit, and when trying to open the py console.
2015-07-09 18:44:23 +02:00
Maciej Suminski
f0a1f6dd78
Hotkeys for selecting trivial or copper connection (GAL).
2015-07-09 17:11:34 +02:00
Maciej Suminski
825fe8e5de
F4 panning (GAL).
2015-07-09 17:09:34 +02:00
Maciej Suminski
33e1797116
Tracks & vias properties dialog.
2015-07-09 13:35:51 +02:00
Maciej Suminski
f7ea9f9136
DIALOG_TRACK_VIA_SIZE does not allow to set 0 for track width or via diameter/drill.
2015-07-09 13:35:50 +02:00
Maciej Suminski
13739217b8
New SELECTION_CONDITION subclass (OnlyTypes).
2015-07-09 13:35:49 +02:00
Jon Neal
fdf5b821f0
Add centering cursor on zoom to GAL.
2015-07-09 10:18:27 +02:00
Garth Corral
901e96126d
Fix OSX Python scripting builds.
2015-07-08 13:44:55 -04:00
jean-pierre charras
da89f8a47a
A bit of cleaning code.
2015-07-08 19:46:24 +02:00
Maciej Suminski
4fffd147f2
Fix one warning.
2015-07-07 18:38:49 +02:00
Maciej Suminski
f2785d35bf
Muting Coverity report.
2015-07-07 18:37:03 +02:00
Maciej Suminski
df15be4f01
CONTEXT_TRACK_VIA_SIZE_MENU: generic context menu that displays track/via sizes.
2015-07-07 18:36:56 +02:00
Maciej Suminski
3a908b8b8a
PNS: fix hotkey conflict (Diff Pair Dimensions vs Drag).
2015-07-07 18:36:54 +02:00
Maciej Suminski
15e9e69ae0
Clicking with keyboard handles keyboard modifiers (GAL).
2015-07-07 18:36:52 +02:00
Maciej Suminski
e7099036d7
Fixed one key delay when moving items with arrow keys (GAL).
2015-07-07 18:36:50 +02:00
Maciej Suminski
2dc9d2ae66
PNS: hide cursor after inline dragging.
2015-07-07 18:36:47 +02:00
Maciej Suminski
5b7d08f2fd
PNS: initalize starting point.
2015-07-07 18:36:45 +02:00
Maciej Suminski
8e98008f67
PNS: prevent placing multiple vias in the same spot.
2015-07-07 18:36:43 +02:00
Maciej Suminski
e7626a8592
PNS: hide preview via when disabled.
2015-07-07 18:36:41 +02:00
Maciej Suminski
66778e1b00
PNS code formatting.
2015-07-07 18:36:38 +02:00
Maciej Suminski
1b4daade82
GRID_HELPER anchors for vias (GAL).
2015-07-07 18:36:32 +02:00
unknown
fa9727b3e3
Drc dialog, progress bar: fix issue on OSX.
2015-07-08 09:33:11 +02:00
jean-pierre charras
169905d26e
Drc dialog: fix some issues, and mainly the fact the progress bar shown during track tests and zone filling can be sent to the background and the dialog can be closed during tests or the board edited during tests.
...
Add a minor change in dialog_shim only for OSX. (force raising the dialog).
Very minot other fixes: coverity warnings, better message in debug mode in baord outlines calculations.
2015-07-07 19:49:03 +02:00
jean-pierre charras
351914da9d
Fix minor and very minor compil and Cppcheck warnings.
2015-07-06 19:56:05 +02:00
Garth Corral
c9739b622b
Canvas switching with Alt-Fx on Mac OS.
2015-07-06 13:52:52 +02:00
Maciej Suminski
8c80f0b4dd
Fixed fatal assert on track removal.
2015-07-06 10:52:58 +02:00
jean-pierre charras
b9f1ada90b
Use Clipper lib in 3D viewer, in calculations that crashed the 3D viewer when using boost:: polygon. Work in Progress.
2015-07-04 18:38:08 +02:00
unknown
a85964b8ad
fix incorrect slot orientation and width in export IDF
2015-07-04 18:32:37 +02:00
Maciej Suminski
bbce641ad5
Umbilical lines for module texts (GAL).
2015-07-03 20:58:13 +02:00
Maciej Suminski
453b05db09
One more zoom fit-to-screen fix (GAL).
2015-07-03 20:58:13 +02:00
Maciej Suminski
0cc6992d88
Double click finishes drawing (GAL).
2015-07-03 20:58:13 +02:00
Maciej Suminski
1b208e0a5e
Display info in the message panel if only one item was selected using area selection tool.
2015-07-03 20:58:12 +02:00
Maciej Suminski
3cb095b7c2
GAL canvases update status bar, message panel & zoom widget.
2015-07-03 20:58:12 +02:00
Maciej Suminski
891bd3d629
Do not show 'Properties' menu entry if there is more than one item selected (GAL).
2015-07-03 20:58:11 +02:00
unknown
10098b5c71
Some minor fixes and cleanup.
2015-07-03 10:42:47 +02:00
jean-pierre charras
3907de0289
Modedit: fix Bug #1471020 (user grid not stored)
2015-07-03 10:15:37 +02:00
Maciej Suminski
766da1e494
Code formatting.
2015-07-02 16:11:15 +02:00
Tomasz Wlostowski
f650eca784
dialogs: store inline drag mode in PNS settings dialog
2015-07-02 16:10:54 +02:00
Tomasz Wlostowski
a180f70086
router: compute (and display) DP gap dynamically when tuning length
2015-07-02 16:10:49 +02:00
Tomasz Wlostowski
0ade919a98
router: fix shortcut crash & inline dragging for inline dragging P&S
2015-07-02 16:10:07 +02:00
Jonathan Jara-Almonte
2fd493255d
router: compute diff pair gap on the fly when tuning the length
2015-07-02 16:10:02 +02:00
Tomasz Wlostowski
171d39c8d0
router: invoke interactive drag when dragging traces/vias in edit tool (disabled by default)
2015-07-02 16:09:56 +02:00
Tomasz Wlostowski
a86fda1d37
tools: added TOOL_SETTINGS class for storing persistent tool settings in config file (just a wrapper for wxConfigBase) router: free angle mode (mark obstacles only) & persistent settings
2015-07-02 16:09:51 +02:00
Mathias Grimmberger
7724c581fd
router: support for non-90 degree pad orientations
2015-07-02 16:09:43 +02:00
Tomasz Wlostowski
4abcc159d2
router: don't run optimizer if head line == NULL or on shove failure
2015-07-02 16:09:38 +02:00
Tomasz Wlostowski
52e193eded
router: fixing assert
2015-07-02 16:09:32 +02:00
Tomasz Wlostowski
e6dd016cb2
router: improve rounding error handling in hull calculation
2015-07-02 16:09:29 +02:00
Tomasz Wlostowski
f96c65254c
router: allow for insertion of a via without leading trace (e.g. in the middle of already existing trace)
2015-07-02 16:09:24 +02:00
Tomasz Wlostowski
a3edd9706f
router: more robust nearest obstacle clipping
2015-07-02 16:09:16 +02:00
jean-pierre charras
c48a417dcd
Pcbnew: Replace wxComboBoxes by wxChoice in auxiliary horizontal toolbar, to try to avoid issues on OSX (combo boxes not responding to mouse clicks).
2015-07-02 14:51:27 +02:00
jean-pierre charras
1311f81448
Replace wxComboBoxes by wxChoice in auxiliary horizontal toolbar, to try to avoid issues on OSX.
2015-07-02 11:50:38 +02:00
Maciej Suminski
1073ba1999
Fixed crash on double switching to legacy canvas on start.
2015-07-02 11:40:36 +02:00
Maciej Suminski
d3e276387d
Ratsnest fix (GAL).
2015-07-02 11:25:59 +02:00
jean-pierre charras
5c7f073a28
Hotkeys: try to use Cmd instead of Ctrl on Mac OSX.
2015-07-02 09:28:54 +02:00
Maciej Suminski
51c0ae3480
Fixed cursor offset in GAL.
2015-07-01 03:46:42 +02:00
jean-pierre charras
377942ed2a
Minor fixes.
2015-06-30 18:31:48 +02:00
Maciej Suminski
b352ef9deb
Panning with keyboard (GAL).
2015-06-30 14:08:29 +02:00
Maciej Suminski
30b679ae5e
Cursor control with keyboard (GAL).
2015-06-30 14:08:24 +02:00
Maciej Suminski
b5ef511063
Fixed alignment to grid when there is a grid offset (GAL).
2015-06-30 14:08:03 +02:00
Maciej Suminski
5ca8e0b9d6
Fixed incorrect polygon finishing in 45-degree mode (GAL).
2015-06-30 13:55:30 +02:00
jean-pierre charras
3076876ef2
Dialog set grid: add error checking in dialog (min and max grid size and max offset)
2015-06-28 16:11:57 +02:00
Eldar Khayrullin
f556161a21
Fix Pcad to kicad circle conversion.
2015-06-28 16:02:47 +02:00
jean-pierre charras
7be1d32a10
Fix minor issues (included Bug #1469358 hierarchical sheet pin not redrawn after edition)
2015-06-27 11:12:32 +02:00
Maciej Suminski
15857f22ca
Fixed dragging offset in eeschema after crossprobing a multipart component in pcbnew GAL canvas.
2015-06-26 17:32:48 +02:00
Maciej Suminski
37db33cbca
Update cross hairshape (GAL).
2015-06-26 17:30:41 +02:00
Maciej Suminski
a43a288e10
Update zones when DRC is launched (GAL).
2015-06-26 17:30:04 +02:00
Maciej Suminski
ac6a90afa3
Update ratsnest after properties are changed.
2015-06-25 17:36:57 +02:00
unknown
71b3125d8e
Cleanup: remove unnecessary macros EXCHG and NEGATE. add MIRROR macro.
2015-06-26 15:41:56 +02:00
Jon Neal
3e398ce1c6
Fix assertion in CvPcb, Eeschema, and Pcbnew when cancel is selected from save on exit dialog.
2015-06-25 15:06:51 -04:00
Marco Hess
8699fdf12e
Pcbnew: minor Protel gerber file extension fixes.
...
* Assign file extensions .g1d, .g2d, .g3d, ... for internal copper layers.
* Assign file extension .gm1 for edge cut layer.
2015-06-24 13:59:44 -04:00
unknown
257ee806fd
Pcbnew: enhancements in algorithm to build the board outlines as polygon (with holes) in specctra.cpp. the polygonal description is used in specctra export but also in 3D viewer.
2015-06-24 18:13:25 +02:00
Maciej Suminski
a8bffb862c
Fix for disappearing ratsnest lines (GAL).
2015-06-24 00:28:21 +02:00
Chris Pavlina
5a4e528d6a
Correct PNS boundaries for offset pads.
2015-06-23 11:41:53 +02:00
unknown
3160553d31
Specctra export/import: fix an issue: via drill sizes were not round tripping if they were bigger than the default.
2015-06-23 10:37:54 +02:00
jean-pierre charras
bf2f480b7c
Dialog exchange modules: add a fp selection from the fp viewer
...
Fix also an issue on Windows, when using the footprint viewer or the component viewer in modal mode:
Reason: these frames (when run under the Kicad manager) have the Kicad manager as parent, and were built with wxFRAME_FLOAT_ON_PARENT style.
On windows, when the frame with style wxFRAME_FLOAT_ON_PARENT is displayed its parent frame is brought to the foreground, on the top of the calling frame.
and stays displayed when closing the frame in modal mode.
This issue does not happen on unix so we use now wxSTAY_ON_TOP on Windows, and wxFRAME_FLOAT_ON_PARENT on unix to simulate a dialog called by ShowModal.
This is not perfect, but at least it works.
2015-06-22 19:21:34 +02:00
Tomasz Wlostowski
c55e729117
fp library wizard: remember last local download directory & refresh download progress dialog.
2015-06-22 14:24:40 +02:00
unknown
bea46ddde3
Fix a regression in session back-import from specctra, broken recently (The symptoms of this regression is that all tracks are moved to the front layer as they are back imported)
2015-06-19 20:01:22 +02:00
Maciej Suminski
09febe745d
Remove a corner from zone outline function (GAL).
2015-06-19 17:32:33 +02:00
Maciej Suminski
a988ebaabd
Zone merging (GAL).
2015-06-19 17:32:33 +02:00
Maciej Suminski
39ddb3e9ae
Two new selection conditions: same net & same layer.
2015-06-19 17:32:33 +02:00
Maciej Suminski
e91fdd0079
Removed redundant transition in SELECTION_TOOL.
2015-06-19 17:32:32 +02:00
Maciej Suminski
8162260e80
Removed another dialog assert.
2015-06-19 17:32:32 +02:00
Chris Pavlina
872a43ff92
Pcbnew: assertion work around when automatically saving an unnamed file.
2015-06-19 09:27:06 -04:00
J. Morio Sakaguchi
4464032b6d
Blind vias currently user ALT-V for a hotkey. This will also open the View menu.
2015-06-19 08:32:31 -04:00
unknown
fe6cf2f5f8
3d-viewer: Fix a regression: grid was not updated ( now updated by calling CreateDrawGL_List )
2015-06-19 11:06:52 +02:00
jean-pierre charras
355bd47e16
Edit microvia: fix incorrect drill size (Bug #1466653 )
...
Fix a few coverity minor warnings.
2015-06-19 10:55:37 +02:00
Henner Zeller
e211a77d8b
Pcbnew: fix ADD_APPEND option in BOARD::Add() so using version control for board files is practical.
2015-06-18 15:23:01 -04:00
jean-pierre charras
4f71260319
Fix micro via size incorrect when adding it in pns router
2015-06-18 20:22:23 +02:00
Maciej Suminski
a16dd894d5
Show Place & Drill origin in GAL.
2015-06-18 17:51:54 +02:00
Maciej Suminski
28a270a328
Refactored grid origin point drawing (GAL).
2015-06-18 17:51:53 +02:00
Maciej Suminski
2ebacfa3c2
GAL sets appropriate top layer after loading a PCB.
2015-06-18 17:51:53 +02:00
Maciej Suminski
fa3d074ca4
Find command zooms in found items (GAL).
2015-06-18 17:51:52 +02:00
Maciej Suminski
8964ff8922
Hotkey lists displayed after pressing the Help button (GAL).
2015-06-18 17:51:52 +02:00
Maciej Suminski
f63170ca84
Tools available under toolbar buttons: delete items, highlight net, set drill/place origin (GAL).
2015-06-18 17:51:51 +02:00
Maciej Suminski
057bd1b886
PICKER_TOOL - generic tool for picking a point.
2015-06-18 17:51:51 +02:00
Maciej Suminski
ac10ca40f8
Net highlighting is moved to a separate TOOL_ACTION.
2015-06-18 17:51:50 +02:00
unknown
c636c4e735
Fix to closing polylines in DXF imports.
...
The DXF format polylines and lwpolylines have a 'flags' field of which bit 0 indicates if the polyline/lwpolyline is to be closed or open.
This flags field is correctly read during the import but in the conversion to board segments, was previously not used.
2015-06-18 17:51:17 +02:00
unknown
1c8fd8b207
Eeschema: remove the run cvpcb menu entry from eeschema tools menu when running as stand alone.
...
Pcbnew: fixes a problem exporting to DSN where the layername for B_Cu provided to the *.DSN file was incorrect
2015-06-18 15:29:26 +02:00
jean-pierre charras
6ff03b41fd
Vias, creation and editon: fix a bug in legacy mode when creating a micro-via (the drill diameter was the standard vias drill, not the micro-via drill).
...
Also in global vas edition, always set the via drill to the actual current netclass value (do not use anymore the 0 value as default), to avoid unwanted invisible drill change for existing vias when the netclass value is modified.
This is consistent with the via creation, in GAL mode
2015-06-18 15:20:32 +02:00
jean-pierre charras
07d6cbaeb7
Vias, creation and editon: fix a bug in legacy mode when creating a micro-via (the drill diameter was the standard vias drill, not the micro-via drill).
...
Also in global vas edition, always set the via drill to the actual current netclass value (do not use anymore the 0 value as default), to avoid unwanted invisible drill change for existing vias when the netclass value is modified.
This is consistent with the via creation, in GAL mode
2015-06-18 15:19:30 +02:00
Jon Neal
3a9dfe274b
Zoom to DRC error after double clicking an entry (GAL).
2015-06-18 11:35:02 +02:00
Maciej Suminski
d3b31316ba
Fixed module text visibility settings (GAL).
2015-06-16 17:03:36 +02:00
Maciej Suminski
12adb25a71
Fixed 'Edit in footprint editor' hotkey (GAL).
2015-06-16 15:27:59 +02:00
Maciej Suminski
dd5275f6c6
Minor SELECTION_TOOL fixes.
2015-06-16 14:51:39 +02:00
Tomasz Wlostowski
b562cfb8bb
WX_HTML_REPORT_PANEL: a REPORTER widget on steroids.
2015-06-16 14:20:42 +02:00
Maciej Suminski
d433a06d11
Fixed initialization for custom track/via size values (PNS). More meaningful error messages.
2015-06-15 17:54:58 +02:00
jean-pierre charras
49fac351ab
Fix a few coverity warnings.
2015-06-15 16:01:43 +02:00
Maciej Suminski
6d07e9a754
Fixed dialogs asserts.
2015-06-15 15:54:58 +02:00
Maciej Suminski
db44fc3649
Removed debug messages from Footprint Library Wizard.
2015-06-15 14:53:40 +02:00
unknown
c70f4a0706
Pcbnew: Increase board thickness limit from 3mm to 10mm
2015-06-14 20:18:34 +02:00
jean-pierre charras
dc9ebf30e5
A few minor fixes. Eeschema: add a workaround (not afix) to solve issue Bug #1464773 (Print bug with differently sized subsheets).
2015-06-14 19:58:57 +02:00
jean-pierre charras
fc15404947
Fix a build issue in scripting mode (due to a no more existing method still declared in class_zone.h header)
2015-06-12 18:32:24 +02:00
Tomasz wlostowski
eba3a55bb2
pcbnew: new zone filling algorithm using ClipperLib. Possibility to fall back to the old one
2015-06-12 17:13:18 +02:00
Chris Pavlina
8b33bfc61b
Fix remaining invalid net ID bugs in board file parser.
2015-06-12 09:59:58 -04:00
jean-pierre charras
0027bb14c5
Pcbnew: read netlist dialog: remove the .cmp file option. Use only the netlist to know the footprint associated to a component.
2015-06-12 14:46:41 +02:00
Chris Pavlina
097c73b8eb
Fix crash when parsing a PCB file with an invalid net code.
2015-06-08 15:28:04 -04:00
Dick Hollenbeck
8fb520249e
Use KiwayExpress messaging for CvPcb footprint assignment instead of *.cmp file.
...
* Remove global s_NetObjectslist.
* Separate out non-owning version of NETLIST_OBJECTS_LIST into NETLIST_OBJECTS.
* Fix double free pertaining to ~NETLIST_READER().
* Remove all file-io from CvPCB.
* Remove exe launcher cvpcb, retain only cvpcb.kiface, since cvpcb.kiface has no file i/o.
* Add void CVPCB_MAINFRAME::KiwayMailIn( KIWAY_EXPRESS& mail ) and teach it to use old
netlist loading code with a STRING_LINE_READER LINE_READER.
* Fix BEGIN_EVENT_TABLE( CVPCB_MAINFRAME, KIWAY_PLAYER )
2015-06-07 14:18:45 -04:00
Maciej Suminski
aadcd93ab5
Removed a redundant field in RN_NODE class.
2015-06-05 17:49:01 +02:00
Maciej Suminski
e86351b1b0
Fixed ratsnest for tracks with 0 length.
2015-06-05 17:49:01 +02:00
Maciej Suminski
fa421f15d8
Clearer dynamic ratsnest (for moved items).
2015-06-05 17:49:00 +02:00
Maciej Suminski
16db8e644b
Logical operators for ratsnest node filters.
2015-06-05 17:49:00 +02:00
Maciej Suminski
6cc535f27f
Less significant changes to the ratsnest code (GAL).
2015-06-05 17:49:00 +02:00
Maciej Suminski
f202e5318c
Fixed SELECTION_CONDITIONS::lessThanFunc().
2015-06-05 17:48:59 +02:00
Wayne Stambaugh
16daa04518
Fix title capitalization in P&S router properties dialog.
2015-06-05 09:59:57 -04:00
Maciej Suminski
209e630873
Disable net highlighting after loading a new board.
2015-06-04 14:54:08 +02:00
Maciej Suminski
ce4b4f8221
Update ratsnest on zone refill (GAL).
2015-06-04 14:54:08 +02:00
Maciej Suminski
c23adc47b7
Ratsnest algorithm distinguishes layers (GAL).
2015-06-04 14:54:08 +02:00
Maciej Suminski
42215f2388
Moved GetLayerSet() to BOARD_ITEM.
2015-06-04 14:54:07 +02:00
Maciej Suminski
a12ea29de8
Refactored the way zones are kept in ratsnest model (GAL).
2015-06-04 14:54:07 +02:00
Maciej Suminski
a2b8ab6b41
Ratsnest fix (GAL).
2015-06-04 14:54:07 +02:00
Maciej Suminski
0331d9958a
Minor optimization for ratsnest.
2015-06-04 14:54:06 +02:00
Wayne Stambaugh
e81477704d
Make OK button default in P&S router properties dialog.
2015-06-04 08:21:30 -04:00
Chris Pavlina
064e8a82e1
Fixed an assertion in arc drawing tool (GAL).
2015-06-02 20:16:55 +02:00
jean-pierre charras
ba37f33bbb
Pcbnew: Use a better (i.e. more suitable to calculate clearance areas) algorithm to inflate/deflate zones outlines. It fixes bug#1459734.
...
Previously, acute angles (especially small angles) in zone outlines create incorrect shapes and sometimes strange shapes for clearance areas, when using generic algorithms.
This happens when zones outlines have "spikes", but not usually for smooth outlines.
2015-05-30 14:02:55 +02:00
Wayne Stambaugh
2500976e31
Fix undefined MODULE dtor for auto_ptr in pcb_netlist.h which caused a memory leak. Thanks Simon Richter for finding this.
2015-05-28 20:21:38 -04:00
Simon Schubert
2db1b3adc8
Print out footprint texts placed on layers different than silkscreen.
2015-05-27 22:14:51 +02:00
Simon Schubert
cfeabde282
Grey out text in high-contrast mode.
2015-05-27 22:13:51 +02:00
Dick Hollenbeck
89143851ba
Added missing config file for nginx.
2015-05-27 15:33:33 +02:00
jean-pierre charras
1cf6979d89
Dialog BOM: update help displayed by the help button.
...
Rename dialog_footprint_wizard_list.fbp to dialog_footprint_wizard_list_base.fbp, to be consistent with other dialogs.
2015-05-27 11:35:21 +02:00
Dick Hollenbeck
60bcbba585
Configuration file for nginx.
...
Radically improves the speed of github plugin if run on a machine near you. It acts as a cache-ing proxy server.
2015-05-26 17:12:43 +02:00
Chris Pavlina
775f08b2bb
Eliminate "PAD has no layer" warning for valid pads.
2015-05-26 16:33:46 +02:00
jean-pierre charras
9ebcf41b8d
Fix bug #1458188 , about zone clearance, when a zone is inside an other zone, the clearance was sometimes not right.
2015-05-23 19:12:40 +02:00
jean-pierre charras
fd907a413c
Minor changes: modify a few messages in dialogs to allow a better or more easy translation of these messages (too short messages cannot be safely translated).
...
Remove no more existing special.lib from template file kicad.pro
2015-05-22 13:00:43 +02:00
jean-pierre charras
84ba36fa72
Allows switching GAL or legacy mode in footprint editor (previously, the mode was inherited from the board editor, and was not modifiable without closing the footprint editor) by menu or F9, F11 and F12 keys)
2015-05-19 18:39:05 +02:00
Maciej Suminski
01c9f09833
wxWidgets under OS X require wxMenuItem ids to be >0.
2015-05-18 13:48:13 +02:00
Maciej Suminski
6788e31a1e
Fixed context menu crash on OS X (GAL).
2015-05-18 13:48:12 +02:00
Maciej Suminski
7c59d0dcc4
Layer toggling with 'Place Via' hot key when router is
2015-05-18 13:48:11 +02:00
Maciej Suminski
26ee2092af
PNS router uses the legacy canvas hot key bindings.
2015-05-18 13:48:11 +02:00
Maciej Suminski
15cefcda9f
Code formatting.
2015-05-18 13:48:11 +02:00
Maciej Suminski
4fe65715a2
Added trivial connection selection (GAL).
2015-05-18 13:48:10 +02:00
unknown
00cf800ce8
Pcbnew: fix false DRC violations for oval pads, minor code cleaning and translate French comments in drc_clearance_test_functions.cpp file.
2015-05-17 12:58:23 +02:00
jean-pierre charras
77249d9b2d
Minor fixes: remove a few useless includes and move a few others to the right file. Remove a few coverity warnings about not initialized members.
...
Minor bug fix: Zone duplicate zone in legacy mode: duplicate a zone to the same layer (and therefore the same location) is no more allowed.
2015-05-15 14:49:11 +02:00
Maciej Suminski
4f3337f5ed
Fix hot keys for adjusting grid size (GAL).
2015-05-12 12:03:39 +02:00
jean-pierre charras
37b0868376
Pcbnew: fix minor issues about fast grid switching, and next/previous grid selection from hotkeys. (GAL mode still has an issue)
2015-05-12 11:05:36 +02:00
jean-pierre charras
4ebe471420
Minor fixes in add zone and duplicate zone (legacy mode)
2015-05-10 21:10:10 +02:00
jean-pierre charras
e2c7e6bf02
onrightclick.cpp: remove useless wxClientDC, which was used only the hide/show (to the same location) the on-grid cursor during the creation of the popup menu (perhaps a trace of legacy code).
...
Minor changes in pcb_calculator GUI messages to make easier translation of these messages.
Cosmetic enhancements for 2 icons
2015-05-09 10:37:50 +02:00
jean-pierre charras
e3700cae91
Enable/disable (depending on the display mode) menus which are usable only in GAL mode (and have no action in legacy mode)
2015-05-08 10:58:59 +02:00
Maciej Suminski
7eaceffd35
Fixed weird handling of 'Find' action.
2015-05-05 20:39:42 +02:00
Maciej Suminski
da75c52665
Hot keys settings are synchronized between GAL & legacy
2015-05-05 20:39:42 +02:00
Maciej Suminski
99e5228948
Moved the list of TOOL_ACTIONs to ACTION_MANAGER.
2015-05-05 20:39:41 +02:00
jean-pierre charras
425ddb92a7
Cosmetic enhancements in dialogs and menus
2015-05-03 20:43:07 +02:00
unknown
04ffd0a4ac
i18n pcbnew GAL popup menu entries
2015-05-03 17:53:44 +02:00
jean-pierre charras
d41bc31c49
Fix bug #1447905 (very minor bug, in fact). Fix a few minor coding style issues.
...
Fix 2 coverity warnings.
2015-05-03 08:31:14 +02:00
jean-pierre charras
2047d87317
Minor fixes (Bug #1414328 and Bug #1440312 ). Remove translatable attribute in a debug message.
...
tools/edit_tool.cpp: remove limitation (GAL mode) to delete the last pad in a footprint (a footprint can have 0 pad, for instance a logo)
2015-05-01 17:01:09 +02:00
jean-pierre charras
5a02b91e5f
Fix some issues created by rev 5632:
...
* Use only double to store zoom levels in class BASE_SCREEN (int type is not working for eeschema or page layout editor) (this fix Bug #1450551 , Assertion failed on wxRound() when zooming)
* Fix crash in all apps but Pcbnew when a grid or a zoom was selected from the popup menu.
* Modify default hotkeys for Next Grid and Previous Grid: the initial key was a dead key, not suitable as hotkey. the 'N' and Shift N keys are used instead (with a change for unfill zone hotkey)
* Modify code in EDA_DRAW_FRAME::SetNextGrid() and EDA_DRAW_FRAME::SetPreviousGrid() to make them compatible with other editors than the board editor.
2015-05-01 11:31:23 +02:00
Maciej Suminski
81ea3ce408
Missing files.
2015-04-30 11:08:18 +02:00
Maciej Suminski
872259981a
CONDITIONAL_MENU supports separators and ordering.
2015-04-30 10:46:08 +02:00
Maciej Suminski
958046ddb2
Moved SELECTION_TOOL context menu to a separate class.
2015-04-30 10:46:08 +02:00
Maciej Suminski
9ef9b7b8e1
Preliminary selection mode for SELECTION_TOOL.
2015-04-30 10:46:07 +02:00
Maciej Suminski
b8295b6af8
Code formatting.
2015-04-30 10:46:07 +02:00
Maciej Suminski
d18ed945c9
Do not run OpenMP loops when there is no data to
2015-04-30 10:46:06 +02:00
Maciej Suminski
787415c2aa
Updating the user grid size on change in GAL.
2015-04-30 10:46:06 +02:00
Maciej Suminski
3e46f2233a
Corrected "Zoom Auto" in GAL with empty board.
2015-04-30 10:46:06 +02:00
Maciej Suminski
6379d80636
Zoom & grid menus for GAL canvases.
2015-04-30 10:46:05 +02:00
Maciej Suminski
06b978b829
Refactored CONTEXT_MENU, added handler for updating.
2015-04-30 10:46:05 +02:00
Maciej Suminski
dfb0443b67
Refactoring library dependencies.
2015-04-30 10:46:05 +02:00
Maciej Suminski
10a4b64005
More icons for context menus.
2015-04-30 10:46:04 +02:00
Maciej Suminski
025d4cf23a
Alternative way of handling grid settings in GAL.
2015-04-30 10:46:04 +02:00
Maciej Suminski
4be876a13a
Expandable CONTEXT_MENUs (GAL). Minor CONTEXT_MENU
2015-04-30 10:46:04 +02:00
Maciej Suminski
946b9d1933
setTransitions() are called automatically for tools.
2015-04-30 10:46:03 +02:00
Maciej Suminski
c4888afbcc
Refactored the way GAL handles zoom settings.
2015-04-30 10:46:02 +02:00
Maciej Suminski
557bb43dd2
Moved TOOL_MANAGER & TOOL_DISPATCHER to EDA_DRAW_FRAME.
2015-04-30 10:46:02 +02:00
Maciej Suminski
5c984aa069
Parametrized TOOL_ACTIONs.
2015-04-30 10:46:01 +02:00
jean-pierre charras
699c76ccea
Rework on EXCELLON_WRITER class, to allow gerber and drill files creation from a python script.
...
added the example gen_gerber_and_drill_files_board.py in demos, which shows how to do that.
Fix a Printf format issue (shown in Debug mode) in Libedit (%d used for a size_t, changed in %zu)
2015-04-29 17:37:37 +02:00
jean-pierre charras
569c2be354
Minor fixes: dialog rescue: make strings translatable. Remove a few coverity warnings (not initialized members). Very minor other changes.
2015-04-28 17:07:36 +02:00
jean-pierre charras
c74f7b1a3d
Add missing dependency to build python wappers.
2015-04-27 21:27:59 +02:00
jean-pierre charras
9da39717ae
Add a python script example in demo folder to create various plot files from a board. Fix also some issues in plot controller helper class.
...
Important note: from a python script one cannot plot the palge layout, because the page layout template file is not stored in the board file, but it is part of the project.
Because when using a python script, the project is not loaded, the page layout template is not known.
Trying to plot it crashes the script.
2015-04-27 20:02:27 +02:00
unknown
665f346a03
Arcs in modules and board were rendered incorrectly on vrml export (bug 1448192).
2015-04-27 10:55:08 +02:00
jean-pierre charras
3084c0aa0b
Eeschema: add missing rotate and mirror sheet in sheet context menu (these transforms were possible in block commands, but not from the sheet menu).
...
Fix a i18n issue in field names when loading a component, if the language was changed during a session, and kicad not restarted (see Bug #1448654 ).
However changing the language needs restarting kicad, in order to have all messages or menus translated.
2015-04-26 18:32:16 +02:00
Wayne Stambaugh
ad9ec412f5
UI consistency and assertion fixes.
...
* Use "Close" in the file menu of every main frame window instead of the
mismatch of the terms "Close", "Exit", and "Quit".
* Change the terminology in the Pcbnew graphic text edit dialog to match the
module text edit dialog.
* Improve the layout of the Pcbnew graphic text dialog.
* Fix some wxPrintf parameter type assertions for 64 bit time_t.
* Fix all (at least I think I got all of them) duplicate menu accelerator
characters.
2015-04-23 15:43:45 -04:00
jean-pierre charras
20dfe9ca29
Minor fixes: dialog_create_array.* files: clean code ( remove useless declarations and functions ).
...
fix a few coverity warnings about not initialized members in ctors.
2015-04-22 18:39:49 +02:00
Dick Hollenbeck
e637493e04
Github plugin: Do not hard code https as the URI scheme for GITHUB_PLUGIN.
...
Use whatever comes from the lib_path in the fp-lib-table, thus opening up the same plugin for alternative generic servers.
2015-04-22 14:02:18 +02:00
jean-pierre charras
584f35e6d4
Minor fix in a long message.
2015-04-21 17:53:51 +02:00
jean-pierre charras
ea6b03cd5f
footprint wizard python plugins management: Fix a memory leak. Remove useless and outdated code, and add a minor enhancement.
...
Make a string translatable in a pcbnew info dialog.
2015-04-21 17:42:30 +02:00
jean-pierre charras
53b8a8ca96
Pcbnew: add the board thickness setup in dialog_layers_setup.cpp (mainly for the 3D viewer)
2015-04-20 18:48:31 +02:00
jean-pierre charras
4e210a2d05
ModEdit: fix a refresh issue after deleting a pad (depending on the position of the pad, the pad was sometimes not immediately undrawn).
...
Fix a few coverity wanings (not initialized members in ctors)
2015-04-20 16:59:25 +02:00
jean-pierre charras
016eef39e4
Dialog layers setup: cosmetic enhancements (fix a very minor issue on Windows). Remove a not used and outdated file.
2015-04-19 13:09:35 +02:00
jean-pierre charras
dcdf9066b9
Better handling of disabled layers when editing a footprint (value, ref) from the board editor (avoid the "illegal layer" message box when possible).
2015-04-17 12:24:35 +02:00
Maciej Suminski
d281d86eee
Fixed undo/redo display refresh for miras & dimensions (GAL).
2015-04-17 12:15:07 +02:00
jean-pierre charras
4daf9039db
Eeschema: Fix a very old bug relative to the tool to load power parts:
...
Previously, only the lib named "power" was used (and therefore power parts defined in other libs not shown).
Now, all power parts can be loaded from any library.
Also, when loading power parts from the chose component dialog or the lib viewer, libs and parts are filtered: only power parts and libs containing power parts are listed.
Hotkeys: move a few global strings in the files where ther are actually used (and make them local.) and code cleaning.
Fix a few other minor issues.
2015-04-16 17:26:51 +02:00
unknown
d40ea8adcb
3D viewer: fix issues with transparencies in some models (material issues in VRML2 parser)
...
Fix some issues in filling zones normals.
Fix an issue with some models that have materials but didn't defined the diffuse color.
Workaround for Bug #1443431 .
Implement some missing "code logic" for pervertexperface normals.
Remove some not used functions.
Calculate normals using double type.
2015-04-16 09:43:27 +02:00
jean-pierre charras
79af0c454d
2 very minor fixes.
2015-04-14 17:57:07 +02:00
jean-pierre charras
19347b1243
3D viewer: minor fixes. Use our class REPORTER to show warning messages and activity info when building the 3D board view. Add a few comments in sources.
...
Very minor other fixes.
2015-04-14 17:12:35 +02:00
jean-pierre charras
c519eea12b
3D viewer: fix (the fix is not perfect) a minor issue in zone rendering: copper thickness was not good when the option 'Show Holes in Zones" was OFF, and "Show Copper Thickness" ON.
...
Fix a few coverity minor warnings.
2015-04-12 19:44:46 +02:00
Maciej Suminski
cec0a956bd
bugfix: pcbnew segfaults after adding footprint directly from editor
2015-04-11 23:41:22 +02:00
Chris Pavlina
3fc45fb74f
Fix bug where user defined grid change does not update in GAL canvas. (fixes lp:146098)
2015-04-10 19:43:15 -04:00
Chris Pavlina
148ba4302e
Make tab order more sensible for DIALOG_PCB_TEXT_PROPERTIES.
2015-04-10 19:28:25 -04:00
unknown
d545c698fb
3D vrml export: fix for bug #1441734
2015-04-10 09:30:21 +02:00
Nick Østergaard
44d6595c6a
Fix swapped M and N in create array dialog string.
2015-04-09 19:41:08 -04:00
jean-pierre charras
ec17455d35
board_items_to_polygon_shape_transform.cpp: remove full duplicate code between DRAWSEGMENT and EDGE_MODULE, and fix incorrect conversion of DRAWSEGMENT polygon type to its polygonal shape.
...
Gerbview: better info from X2 filefunction attribute displayed in layer manager about copper layers
2015-04-09 20:53:36 +02:00
jean-pierre charras
0d77a8600d
Pcbnew: always save the line width of footprint graphic edges in files, to allow width = 0 in polygon outlines.
...
(should not change anything currently for all existing footprints).
2015-04-08 15:45:34 +02:00
jean-pierre charras
0f7e358030
3D viewer: fix a bug introduced in rev 5579s. Remove a few useless wxBusyCursor. Minor other fixes.
2015-04-08 14:50:36 +02:00
Maciej Suminski
78d9e7b789
bugfix: pcbnew crashes when selected component is removed in OpenGL canvas
2015-04-07 18:31:37 +02:00
jean-pierre charras
17297babe7
Eeschema: extend max number of units per package to 52 and clean code to easily extend this value upto 26x26 (but 52 is a reasonable max value).
...
Fix a few minor coverity warnings.
Add about_dialog typo fix from Nick Østergaard
2015-04-07 13:52:29 +02:00
Mikhail Karpenko
886a8521a4
Comments typos fixed.
2015-04-06 21:50:12 +02:00
Eldar Khayrullin
7d5ad2785a
Make translatable 'Routing Options...' entry
2015-04-05 18:01:50 +02:00
Sven D.
a7af3346e0
Enable 'Via Gap' setting when respective checkbox is selected.
2015-04-05 16:58:19 +02:00
jean-pierre charras
f25f465d4c
Make strings translatable in Create Array dialog (and a minor cosmetic enhancement).
...
Modview: fix issue about mouse on wrong monitor when starting Modview.
2015-04-05 11:52:41 +02:00
Eldar Khayrullin
5d55fa018e
Translate Selection tool "Select..." entry.
2015-04-04 21:57:38 +02:00
jean-pierre charras
cbf487c598
Pcbnew: duplicate and create array: popup menus in legacy mode: remove these options for a few items which cannot be (safely) duplicated (pads in board editor, and a few others )
...
Modedit, GAL mode: fix a crash when a duplicated area includes the ref or value fields.
Add missing bitmap for pad enumerate.
fix bad flag for Portuguese language.
Fix a few typo in messages.
2015-04-03 21:10:09 +02:00
jean-pierre charras
4def0958a5
Fix some coverity warnings. Fix typo and errors in comments. Very minor other fixes.
2015-04-03 11:13:06 +02:00
Tomasz Wlostowski
be785d554b
Update GAL ratsnest on canvas switch.
2015-04-02 22:45:19 +02:00
Maciej Suminski
b1cd83c197
Icons in GAL context menus.
2015-04-02 16:09:48 +02:00
Maciej Suminski
6083f3b011
Internationalization of GAL dialogs & menus.
2015-04-02 16:09:26 +02:00
Maciej Suminski
be839aca29
Fixed Footprint Library Wizard for builds with GIthub plugin disabled.
2015-04-02 13:31:29 +02:00
jean-pierre charras
bbbb84e6c2
Fix a few minor coverity warnings.
...
Fix minor 3D viewer issues (includling change number of segments and its optimization to draw pad holes.)
Fix Bug #1439132 (track and via list on toolbar not always refresh after loading a board).
Remove useless tool in Modedit.
2015-04-02 13:18:19 +02:00
Maciej Suminski
589dd442f5
Clippy returns home.
2015-04-02 09:18:45 +02:00
Maciej Suminski
8be73ad05a
KiCad assistant.
2015-03-31 23:45:02 +02:00
jean-pierre charras
c9a917eef1
3d viewer: fix a few warning coverity (and a potential bug). fp libs wizard: make it internationalized, and replace an untranslatable string created by grouping 3 strings by one translatable string.
2015-03-31 13:14:21 +02:00
Maciej Suminski
bfb700c79b
Removed the remaining lines related to WebViewer. Undone reduced number of layer in VIEW.
2015-03-30 22:40:29 +02:00
Maciej Suminski
09f2af3c42
Fixed invisible tracks in PNS.
2015-03-30 21:49:30 +02:00
Maciej Suminski
7f1ea9e54d
New Footprint Library Wizard.
2015-03-30 18:42:39 +02:00
Maciej Suminski
9e8719d3ff
Fixed overlapping segment endings in OpenGL view.
2015-03-30 14:09:56 +02:00
Wayne Stambaugh
45d0448bb9
Add path (environment variable) configuration dialog.
...
* Create new dialog to edit environment variables.
* Add helper class ENV_VAR_ITEM to manage environment variable values and
if they were defined externally.
* A path configuration dialog access to KiCad, CvPcb, Pcbnew, and Footprint Editor
window menus.
* Add validator for environment variables.
2015-03-29 17:22:53 -04:00
unknown
26990213db
3ED viewer: added more support for the VRML2 parser
2015-03-28 17:16:40 +01:00
Wayne Stambaugh
ec4d74c984
Minor 3D viewer improvements (fixes lp:1406680).
...
* Make OK button the default action in the 3D viewer option dialog per UI
policy.
* Fix standard button sizer padding in 3D viewer options dialog.
* Let sizers do their job by using default size for 3D viewer options
dialog.
* Set 3D viewer hot key to Alt+3 in all parent windows where 3D viewer is
accessible.
* Minor code cleaning and coding policy fixes.
2015-03-26 15:04:52 -04:00
jean-pierre charras
45808deb47
Minor fix: Gerber X2 attribute: remove one attribute (TF .GerberVersion, now no more in use) I added in my recent changes relative to the new J5 gerber version attributes.
2015-03-26 19:57:19 +01:00
jean-pierre charras
bb50e141f4
Pcbnew: Force visibility of items which have no option in dialogs to controle this visibility, when reading the .kicad_brd file.
...
these options are used in GAL mode, but the usercannot control this visibility. So if the board file does not have these visibility flags set, the GAL never show them.
Fix also a compil warning.
2015-03-26 14:20:11 +01:00
jean-pierre charras
85bc2ae015
Rework on Gerber plot functions: add X2 attributes in J5 version. Minor code cleaning.
2015-03-25 14:07:05 +01:00
Maciej Suminski
0b7fd874a0
Fixed printing issues under Linux.
2015-03-25 10:55:00 +01:00
Wayne Stambaugh
ec8bf0c13a
Library configuration menu naming improvements.
...
* Add footprint and drop table from the Pcbnew footprint library table menu
entry to make it clear to new users.
* Add component to the Eeschema library configuration menu entry.
2015-03-23 11:44:19 -04:00
unknown
74154480de
Eeschema enhancements: Option to annotate keeping multi-unit parts grouped and friendlier warning for modifying power values.
2015-03-23 12:45:31 +01:00
jean-pierre charras
9c43d6f22b
Very minor fixes: 3D viewer: remove artifacts with NPTH pads having the save size as their hole. Kicad: remove duplicate submenu in menubar. remove a minor coverity warning
2015-03-23 09:28:12 +01:00
jean-pierre charras
0e03fbff07
Make hotkey string info translatable in dialogs. These strings are now prefixed by _HKI , which can be used by translation tools to extract them.
2015-03-22 15:04:09 +01:00
https://launchpad.net/~john-j-beard
0350290499
Fix Bug #1426675 (Undo and cancel commands don't have effect for Duplicate operation in legacy mode)
2015-03-22 10:42:41 +01:00
jean-pierre charras
6e8a8a6b25
Fix some coverity warnings (mainly not initialized members)
2015-03-21 10:06:04 +01:00
jean-pierre charras
834b31b491
Plot pdf: fix issue when a 0 sized text is plotted (files are broken): now 0 sized texts are ignored.
...
pcbnew: remove a false error message when undoing a change on a text, or some other board items (graphic items for instance)
2015-03-18 20:50:42 +01:00
unknown
eef494d9c5
Pcbnew: Fix an Incorrect save-on-quit in pcbnew with unamed board
2015-03-17 08:34:02 +01:00
jean-pierre charras
115cb2d647
Try to fix Bug #1431765 (Pcbnew crashes in GAL when entering 3d display when a board outline is not closed)
...
This change modify the way warning messages are displayed: now the are displayed outside a paint event.
2015-03-16 18:39:35 +01:00
John Beard
900ecbae9d
Fix for cancellation of duplicate in GAL mode.
2015-03-16 10:25:40 +01:00
jean-pierre charras
5c26381963
Pcbnew: Fix Bug #1432370 (Solder mask cutouts extended by "Zone min thickness value")
2015-03-15 16:11:14 +01:00
Balint Kiss and John Beard
797ff5eeb7
Better icons for diff pair routine menus
2015-03-15 15:22:37 +01:00
jean-pierre charras
efe5658a9b
Fix bug Bug #1432165 (fp lib table dialog editor not shown on XFCE and Unity)
...
Cvpcb: Shows a better message when a netlist is not found.
2015-03-14 17:47:25 +01:00
jean-pierre charras
f743b98844
Try to fix Bug #1431391 (Unable to edit pins in Schematic library editor). It happens on XFCE, but also on Unity. This fix works on Unity. (it is due to the fact the dialog is not raised, for an unknown reason, and this bug depend on the way Eeschema and Libedit are run).
...
Add Ctrl+E hotkey in eeschema to edit a component with Libedit (similar to pcbnew Ctrl+E hotkey)
As usual, fix a few minor coverity warnings
2015-03-14 12:50:39 +01:00
unknown
adf2fc830e
Pcbnew, legacy mode: add Hotkey for editing module with module editor (Ctrl-E)
2015-03-14 08:43:36 +01:00
unknown
cbb0e2ad35
Rework on 3D viewer. Fix some issues, some optimizations and better rendering.
2015-03-13 20:27:25 +01:00
jean-pierre charras
9004ed8801
Remove a few coverity warnings. Fix some comments which were incorrect, due to the changes in code. Remove not compiled code (kept as comments), now outdated or useless
...
legacy plugin: better compatibility with old brd files (current track width and current vias size, stored in SETUP section, were not read from file and incorrectly set)
2015-03-13 17:48:42 +01:00
jean-pierre charras
2427b40271
Fix Bug #1431423 (pcbnew: edited 3d model filename is not saved).
...
Eechema, libedit, pin dialog editor: show pin texts in pin preview canvas.
2015-03-12 18:43:39 +01:00
Tomasz Wlostowski
aeddbb51ff
router: respect NPTH holes too
2015-03-11 23:48:53 +01:00
Tomasz Wlostowski
e9bc7b58cc
Snap cursor to pad center when moving (GAL footprint editor).
2015-03-11 18:06:44 +01:00
unknown
b3b791961a
coverity common folder fixes (mainly not initialized members).
2015-03-11 17:04:20 +01:00
jean-pierre charras
f16e083ecf
Fix minor bug #1429990 (3D viewer shows hidden footprint graphic texts ). Fix minor coverity warnings (not initialized members and dead code)
2015-03-11 14:59:43 +01:00
Maciej Suminski
b6c5b291a2
Coverity fixes.
2015-03-11 14:17:43 +01:00
jean-pierre charras
c586d9735e
Eeschema: fix bug #142970 (broken append sheet function)
...
Fix a few minor coverity warnings.
2015-03-10 19:31:21 +01:00
Maciej Suminski
035b231b62
Refinement for fix in 5497.
2015-03-10 18:31:23 +01:00
Maciej Suminski
2ecb72da84
Fixed disappearing selected items when switching between GAL canvases.
2015-03-10 17:05:38 +01:00
Maciej Suminski
26f20fbb00
Moved "Place Target" and "Place Module" tools from DRAWING_TOOL to PCB_EDITOR_CONTROL (to avoid placing modules in the footprint editor).
2015-03-10 16:58:26 +01:00
Maciej Suminski
721949b50e
Fix memory leak in pns_node and pns_line_placer. Fix coverity uninitialized warnings.
2015-03-10 15:38:27 +01:00
Maciej Suminski
97e4a3897c
Minor fix to ratsnest algorithm (GAL).
2015-03-10 15:02:27 +01:00
Maciej Suminski
c160a7de17
Capturing cursor in drawing tools (GAL).
2015-03-10 14:43:14 +01:00
Maciej Suminski
cc72e585f0
Fixed segfault in arc drawing tool (GAL footprint editor).
2015-03-10 14:32:40 +01:00
Maciej Suminski
56b692ae3e
"Select net/connection" (GAL).
2015-03-10 09:36:04 +01:00
Maciej Suminski
190af5d95b
Added functions to resolve connectivity queries in ratsnest (GAL).
2015-03-09 13:41:34 +01:00
Maciej Suminski
e6a10faab7
FIxed a few clang warnings.
2015-03-09 11:06:54 +01:00
jean-pierre charras
c9b9ccd2b6
Fix issue #1429665 (eeschema doesn't recognize .sch file when the LIBS section is empty. But the section is not used, just a comment, therefore can be empty).
...
Very minor other fixes.
2015-03-09 10:25:39 +01:00
jean-pierre charras
086ff54ef0
Fix minor issues: plot svg did not handle dashed lines.
...
Eeschema now uses dashed lines for graphic lines (to be consistent with plot functions and toolbal icon).
Fix an old bug in some envionments which warp the mouse on a bad monitor when opening eeschema, pcbnew and some other windows, only noticeable guys who are lucky enough to have more than one monitor.
2015-03-06 18:46:04 +01:00
unknown
c3e3ff3682
Minot fixes: Minor coding style issues fix (tab -> spaces). Add missing GetClass to all classes derived from EDA_ITEM. Make debug method Show() only compiled in debug mode.
2015-03-06 09:58:32 +01:00
Tomasz Wlostowski
435ca8a7dd
router: fix tuning status popup & incorrect length display
2015-03-05 10:02:29 +01:00
Tomasz Wlostowski
504c8bf286
router: fix segfault on misnamed DP complementary net
2015-03-05 10:01:54 +01:00
jean-pierre charras
6a016742c9
Fix a typo.
2015-03-04 21:08:57 +01:00
Wayne Stambaugh
d13912c26a
Fix bug in gEDA footprint library parser and OpenSSL version CMake file. (fixes lp:1427917)
...
* Fixed incorrect parameter ordering in gEDA footprint library parser
which read drill diameter, pad clearance and solder mask clearance.
* Fix FindOpenSSL.cmake version detect bug which was exposed by OpenSSL
version 1.0.2.
2015-03-04 14:46:06 -05:00
Maciej Suminski
8cc70d4468
Refinement to the previous commit.
2015-03-04 20:22:33 +01:00
Maciej Suminski
63ae839489
Fix for uninitialized length tuning status popup.
2015-03-04 20:08:30 +01:00
jean-pierre charras
a550ff84db
Fix some coverity and cppcheck warnings (most are very minor issues: not initialized members and initialized but not used variables)
2015-03-04 10:26:00 +01:00
Tomasz Wlostowski
5f1c9060ac
P&S router: fix unguarded boost optional derefernce. (fixes lp:1427880)
2015-03-03 20:16:14 -05:00
Tom Wlostowski
b580ef70c5
Fix segfault in P&S router.
2015-03-03 15:58:36 -05:00
Tom Wlostowski
7977ac5421
Fix double free in P&S router causing KiCad to segfault. (fixes lp:1427803)
2015-03-03 15:07:56 -05:00
jean-pierre charras
c7d04c3d08
Code cleaning: Remove EDA_BASE_FRAME::m_FrameName member which is a duplicate of wxFrame name.
2015-03-03 15:53:47 +01:00
Maciej Suminski
9716165d06
Merged the differential pair router & track length tuning tool.
2015-03-03 13:41:43 +01:00
Maciej Suminski
a6bd3314e4
Fixed warnings.
2015-03-03 12:59:26 +01:00
Maciej Suminski
161b360297
Fixed frozen cursor (GAL).
2015-03-03 11:55:23 +01:00
Maciej Suminski
0dd9efd9db
Merged the differential pair router & length tuning tool.
2015-03-03 11:50:50 +01:00
Tomasz Włostowski
385d3648d6
router: removed some printfs()
2015-03-03 10:36:44 +01:00
jean-pierre charras
2804d2e566
Add hotkeys to Kicad manager, and some rework on hotkeys management.
2015-03-02 18:29:18 +01:00
Tomasz Włostowski
fe40567426
router: shove now respects diff pair gap
2015-03-02 17:21:04 +01:00
Tomasz Włostowski
bf3128c683
router: fix syntax error in PNS_LOGGER output files
2015-03-02 17:20:48 +01:00
jean-pierre charras
399ab4baa4
Footprint editor: set the default footprint text size to 1 mm. Minor cleaning code. Very minor other fixes.
2015-03-02 16:59:03 +01:00
jean-pierre charras
4bab8dde65
Fix some minor coverity warnings. Fix a bug in pcad2kicad plugin. Scripting: map BASE_SET. Rename some python bom scripts with better names. Fix erroneous comments and add comments
2015-03-02 09:28:49 +01:00
Wayne Stambaugh
25b9a42ea3
More Coverity scan error fix goodness.
2015-02-28 15:50:35 -05:00
John Beard
873e0740e8
Fix bug in footrpint editor when creating circular arrays. (fixes lp:1424331)
2015-02-28 12:39:05 -05:00
Blair Bonnett
2101324691
Fix wxGTK scrollbar assertion in Pcbnew layer setup dialog.
2015-02-28 11:48:39 -05:00
jean-pierre charras
d6c6b4debb
Fix some coverity warnings (mainly not initialized vars).
2015-02-27 15:33:13 +01:00
Bernhard Stegmaier
30acc07e11
Default path fixes and remove old to find 3D model path code.
...
* Fix default KISYSMOD/KISYS3DMOD (#ifdef typo) for OSX builds.
* Remove setting KIGITHUB from kicad/pcbnew Info.plist in favor of hardcoded default
setting for OSX builds.
* Remove now unneeded Set3DShapesDefaultPath() and other small things.
2015-02-27 08:34:02 -05:00
Tomasz Włostowski
3f015705ac
working on shove fix for DPs
2015-02-26 16:34:10 +01:00
jean-pierre charras
10d67ffbd9
Fix some coverity warnings (not initialized members). Add comments. Better (more informative) title in dialog to download .pretty libs.
2015-02-26 11:33:15 +01:00
jean-pierre charras
dbdadbf519
Fix someminor coverity warning, and one bug found by coverity in drill report files : buried holes were not properly counted and listed.
2015-02-25 20:43:37 +01:00
jean-pierre charras
ede0daf9db
lib_dxf: Update to version 0.5.13 (previous: 0.5.11) due to a bug (memory leak) fixed in 0.5.13, which has also more comments, and try to fix most of coverity warnings (not initialized class members).
...
These members are now initialized, which also fix some other more serious coverity issues.
2015-02-24 10:07:40 +01:00
jean-pierre charras
feb14fa37d
pcbnew, place file: Fix a minor bug in side identification: a comment in file header was generated with always "top side" id even when the bottom side file was created. Fix also a minor coverity warning (no bug)
2015-02-23 14:03:20 +01:00
Bernhard Stegmaier
1e6c8cf88f
Enable file extension filters on OSX file dialog.
2015-02-22 17:48:33 -05:00
Wayne Stambaugh
4c6ca81f2c
More Coverity scan error fixes.
2015-02-22 16:25:29 -05:00
jean-pierre charras
7e80e7207c
Pcbnew, Footprint place file: use standard keywords "top" and "bottom" as board side identifiers instead of external copper layers names, which have no meaning in this fabrication file
2015-02-22 16:42:13 +01:00
jean-pierre charras
0975e3e5bd
Move exact dialog: make all messages translatable. Fix minor issues (some can be Windows specific). Remove useless declarations. Fix coding style issues
...
Fix minor warnings from cppcheck.
2015-02-22 15:43:44 +01:00
jean-pierre charras
c1978b3242
Pcbnew: fix crash when undoing a move exact pad in board editor.
...
Fix also very minor warnings detected by cppcheck.
2015-02-22 10:39:58 +01:00
Maciej Suminski
014905e7db
bugfix: pad enumerator skips pads if mouse cursor is moved too fast (GAL module editor).
2015-02-21 21:16:28 +01:00
Maciej Suminski
de03accdb1
Coverity report fixes.
2015-02-21 14:58:39 +01:00
Mark Roszko
3918d3f0b2
Eeschema code cleanup and coverity fixes.
2015-02-21 09:11:58 +01:00
Wayne Stambaugh
d1d1e2b58a
Lots of Coverity scan error fixes.
2015-02-20 19:41:10 -05:00
jean-pierre charras
bd5d468251
Pcbnew: fix bug #142348 (airwire does not always appear after deleting a track). Very minor other fixes.
2015-02-20 20:04:32 +01:00
Maciej Suminski
3e9bb6b887
SELECTION::GetCenter() returns VECTOR2I instead of wxPoint.
2015-02-20 11:40:36 +01:00
Maciej Suminski
c2bd2491f1
Added asserts in spots where DEGREES are not handled.
2015-02-19 16:03:45 +01:00
Maciej Suminski
84517d0e79
BOARD::DuplicateAndAddItem() handles vias too.
2015-02-19 14:55:46 +01:00
Maciej Suminski
f7a32e839e
Moved UndoInhibit related functions from TOOL_MANAGER to EDIT_TOOL.
2015-02-19 14:53:31 +01:00
Maciej Suminski
aafdfd015e
Disabled 'Duplicate' & 'Create array' for pads in the layout editor.
2015-02-18 20:30:14 +01:00
Maciej Suminski
9bed4814a3
Ratsnest update in 'Create array' tool (GAL).
2015-02-18 20:29:52 +01:00
Maciej Suminski
f06690c8d3
Merged lp:~john-j-beard/kicad/moveexact.
2015-02-18 20:27:00 +01:00
Maciej Suminski
4fb9bce354
Code formatting.
2015-02-18 17:53:46 +01:00
jean-pierre charras
63d3c835cb
Pcbnew: refinement to Bug #1422093 fix.
2015-02-18 10:13:17 +01:00
Tomasz Włostowski
112adccbcb
router: differential pairs & length tuning support
2015-02-18 01:29:54 +01:00
Tomasz Włostowski
e5deafb4bb
bulk improvements for selection and edit tools (GAL) disambiguatin heuristics and smarter grid alignment
2015-02-18 01:10:20 +01:00
Tomasz Włostowski
a46a92f918
new IDs for diff pair & length tuning tools
2015-02-18 01:06:14 +01:00
Tomasz Włostowski
9f0b02268b
tools: moved tools registration outside pcbframe.cpp
2015-02-18 01:04:47 +01:00
Tomasz Włostowski
4da839f30f
groundwork for invoking module editor on selected footprint in GAL mode
2015-02-18 01:01:02 +01:00
Tomasz Włostowski
da9fc84421
improved module locking: lock pads only/lock whole module mode added
2015-02-18 00:58:14 +01:00
Tomasz Włostowski
5d78a007cc
added ClassOf() for DRAWSEGMENTs, PADs and PCB_TEXTs
2015-02-18 00:53:57 +01:00
Tomasz Włostowski
0879b457ac
undo should work on pads too (GAL view)
2015-02-18 00:51:40 +01:00
jean-pierre charras
6312f8386a
Temporary fix a crash I created in rev 5427, when erasing all modules on a board and read the netlist. Will be fully fixed later.
...
Very minor fixes: remove duplicate #define in vrml_v2_modelparser.cpp, and "undo" a very minor change I made in class_board.cpp when I tried to fix a Pcbnew crash.
2015-02-17 21:32:49 +01:00
Wayne Stambaugh
f4d5e349bf
Fix a bunch of Coverity scan "unhandled exception" errors.
2015-02-17 13:47:21 -05:00
jean-pierre charras
39497b109e
Pcbnew: fix Bug #1422093 (pcbnew crashes after editing a footprint cominng from the board with the fp editor and saving it on a librray and trying to load it to the board)
...
Some other very minor fixes.
2015-02-17 17:32:47 +01:00
Cirilo Bernardo
dcdaee4c63
Pcbnew IDF and VRML exporter Coverity scan error fixes.
2015-02-17 09:56:45 -05:00
Wayne Stambaugh
f2edf02b35
Coverity error fixes.
...
* Fix unitialized variable in MSG_PANEL_ITEM default ctor.
* Fix a bunch of uncaught exception issues.
* Fix a memory leak in the NETLIST_READER::GetNetlistReader() when an
an attempt to read an invalid net list file occurs.
2015-02-15 19:04:48 -05:00
Maciej Suminski
b0ad779ee4
Calming down the Coverity report.
2015-02-15 23:21:52 +01:00
Miguel Angel Ajo
1e2af7fed1
Add GetLayerID method to BOARD.
...
This method is added for scripting purposes, to be able to query
specific board layer names thru a board object.
If no board specific layer name is found, it will fallback to
standard layer names.
2015-02-15 14:31:47 +01:00
Maciej Suminski
b1ace1607b
Reworked GAL switching.
...
Now OpenGL can report its problems instead of shutting down the application.
2015-02-15 02:18:35 +01:00
Maciej Suminski
b19010ff8b
Cross-probing pcbnew<->eeschema (GAL).
2015-02-14 21:52:22 +01:00
Maciej Suminski
bb861b81b2
Missing comments in the PLACEMENT_TOOL class.
2015-02-14 21:49:06 +01:00
Maciej Suminski
902d0e3f1f
Tools are processing const TOOL_EVENT& (Tool Framework).
2015-02-14 21:28:47 +01:00
Wayne Stambaugh
69553d6fa3
wxPython find and version loading fixes. (fixes lp:1408060)
...
* Add test to CMakeLists.txt to verify wxPython is installed when
KICAD_SCRIPTING_WXPYTHON=ON.
* Add test to make sure wxPython version major and minor numbers match
the version of wxWidgets found.
* Add code to set the correct version of wxPython to the python scripting
initialization code.
* Minor code simplification in Pcbnew KIFACE main window creation.
2015-02-14 19:23:54 -05:00
jean-pierre charras
1a74913063
Minor fixes: fix issue Bug #1420910 (Linux specific).
...
Rename eeschema/dialogs/dialog_sch_find.fbp to dialog_schematic_find_base.fbp, to be consistent with other dialogs.
Pcbnew run from the project manager: add menu Save Copy As..., which is the same command as Save As ... in stand alone mode, but with the constraints of a project (no cwd change, no board filename change, and keep project settings)
2015-02-14 13:43:11 +01:00
John Beard
d7f96d37a4
Add Fit() call to move exact and create array dialogs
2015-02-12 03:22:24 +00:00
John Beard
8c6313ac1a
Extend arrays and duplicate to pcbnew (GAL and legacy), covering modules, text, lines, tracks, dimensions and targets.
...
Text arrays can now use "%s" as a placeholder to be substituted with the array index.
Also expand menu options for move exact, arrays and duplicate.
Minor fixes for arrays - use proper unit parsing, add numbering start for circular arrays
Add circle radius indicator to array dialogue
2015-02-12 03:22:24 +00:00
John Beard
3c5f3f7049
Add create array tool
2015-02-12 03:22:24 +00:00
John Beard
4f3672da4d
Add "move exact" and "duplicate" tools to pcbnew
2015-02-12 03:22:24 +00:00
jean-pierre charras
74e83e924a
Pcbnew: Fix Bug #1420074 (Crash when a footprint is added to the board (or edited) from the footprint editor, if a new pad was added, because the net info of the new pad is broken in this case)
2015-02-11 11:10:53 +01:00
jean-pierre charras
698bd331c4
Dialog enum pads: fix incorrect use of sizers.
2015-02-10 11:38:22 +01:00
jean-pierre charras
80f6a4f2a0
Pcbnew: fix ver minor issues. ModEdit: fix issue in GAL mode: when importing a footprint from the footprint wizard, the new footprint was not shown.
2015-02-10 09:35:17 +01:00
Blair Bonnett
07db7c8d29
Prevent Pcbnew edit graphics property dialog from excepting zero length objects. (fixes lp:1392117)
2015-02-06 16:49:40 -05:00
jean-pierre charras
d52436aed8
Pcbnew: fix Bug #1418135 (scrollbars never shown in design rules dialog, in netclasses grid list, which prevent to use many netclasses). Also fix very minor other issues.
2015-02-06 11:54:55 +01:00
jean-pierre charras
4265fa60bd
Pcbnew - plot dialog: fix Bug #1417435 (Gerber(and some others) plot mode is fixed as”sketch” instead of "filled" )
2015-02-03 11:35:46 +01:00
jean-pierre charras
5eb7b41fba
Dialogs edit footprint in module editor and edit footprint in board editor: add button to edit the selected 3D shape filename.
...
Dialog edit component in library editor: add button to edit the selected footprint filter.
2015-02-02 17:43:34 +01:00
jean-pierre charras
b1cd42cf08
Pcbnew: simplify draw code in default canvas and plot functions by removing the plot LINE option, which is not existing in all plotters, not existing in opengl/cairo canvas, and not usefull in default canvas.
2015-02-02 09:06:39 +01:00
jean-pierre charras
3c343b415a
Fix the minor bug 1016924 ( Unhandled event id 6263 in pcbnew ). Remove duplicate code.
2015-02-01 08:19:31 +01:00
jean-pierre charras
8412f2ad4e
ModEdit: add a settings menu option(and the corresponding dialog) to set default values used when creating a footprint or add graphic items to a footprint being edited.
...
These settings are now not common to the board editor, because the footprint editor can be run outside the board editor.
download_boost.cmake: ignore .htm* files when installing boost. They are not used, and often have a very very long (and stupid) name which sometimes creates issues.
2015-01-30 19:42:46 +01:00
Maciej Suminski
789bb9663c
bugfix: Find does not work in high contrast mode in GAL.
2015-01-29 18:23:54 +01:00
jean-pierre charras
b556fb2324
Class BOARD: Rename an overloaded method named SetLayer with the better name SetLayerDescr, and comment it. It also remove some warnings when compiled with option -Woverloaded-virtual
2015-01-29 17:01:48 +01:00
jean-pierre charras
ba6e2ffbcf
Footprint Editor: New footprint creation: change defaults for ref and value texts: now Ref text is REF** and Value text is the footprint name. Also Value is put on fab layer (front)
...
muonde.cpp: cleanup this very old code, and fix not working code.
2015-01-28 11:00:48 +01:00
jean-pierre charras
2a4d0bad60
Fix minor aesthetic issues in dialogs (these minor issues (overlapping widgets) exit only with some Windows managers like KDE)
2015-01-27 08:34:19 +01:00
Maciej Suminski
2647fdfd89
Fixed context submenus event handlers (GAL/Windows).
2015-01-25 19:11:02 +01:00
Maciej Suminski
5447bb5914
bugfix: Pcbnew (Windows) crashes using selection tool in OpenGL or Cairo
2015-01-25 19:08:52 +01:00
jean-pierre charras
f0a52644ea
Pcbnew: fix Bug #1413701 (Segfault on highlight "unconnected" net 0 in Pcbnew ). Also, remove now useless code and other very minor fixes.
2015-01-23 12:24:32 +01:00
Wayne Stambaugh
ca065833ea
Remove EDA_DRAW_FRAME::IsActive() and replace with wxFrame::IsActive().
2015-01-22 08:42:24 -05:00
jean-pierre charras
ebb967c46f
Pcbnew: fix issues and potential issues when reading board files and mainly old board files, and enhance the DRC tests and Delete Single Pad Net option when reading a netlist:
...
* Delete Single Pad Net option does not delete the net if a zone use this net (i.e. is attached to this pad).
* pcb_parser accept now negative netcodes in zones (can happen with old files, which previously could crash Pcbnew)
* pcb_parser accept now files with incorrect or missing net count (can happen with old files, which previously could crash Pcbnew)
* if a zone has a non-existent net name it now keep this net name, and DRC detect it (previously, the net name was lost, and the DRC did not tected this issue).
* Drc test: now detect a "dead" net, i.e. a net with 0 pads, but still used by a zone. It happens easily after a schematic modification, when a net disappears or is renamed.
2015-01-22 13:06:34 +01:00
jean-pierre charras
59f497978a
Pcbnew, layers manager: Fix an annoying bug I added in rev 5359, in Render options: in Board editor many render options were not displayed (similar fp editor mode).
...
Now fixed.
2015-01-20 08:01:32 +01:00
jean-pierre charras
d4e04dcc97
Fix bugs detected by Cppcheck.
2015-01-19 20:03:50 +01:00
jean-pierre charras
79e2a41469
Pcbnew: Fix potential bug in DRAG_SEGM_PICKER (a variable type bool was used as int. type is now int). Minor code cleanup.
2015-01-19 09:23:10 +01:00
unknown
8876fdf4af
Misc minor fixes (Fix some minor compil warnings).
2015-01-18 12:49:32 +01:00
jean-pierre charras
ac539b9578
Minor and very minors fixes: move -DKICAD_USE_WEBKIT definition to the main CMakeLists.txt. Remove duplicate semi-colon at end of some lines.
2015-01-17 09:01:16 +01:00
Maciej Suminski
92a8f8f19c
Support for zone cut-outs in the point editor (GAL).
2015-01-16 16:44:42 +01:00
jean-pierre charras
c27b2fbf4c
Fix issues in fp lib table wizard
2015-01-16 09:10:23 +01:00
jean-pierre charras
0b1a6fd7c3
More work on fp lib table wizard: add a button to import the full list of .pretty libs on github.
...
* if the current select plugin is the github plugin, one can select some of these libraries and add them to the table
* if the current select plugin is the kicad plugin, one can select some of these libraries and download them to make alocal copy.
They can added to the table after they are downloaded.
2015-01-15 21:01:53 +01:00
unknown
b269128b8c
Fixes issues with IDF file I/O on Windows (the famous 'ascii vs. binary' issue) and the reported problem of partial paths when KISYS3DMOD is specified.
2015-01-13 11:47:07 +01:00
Wayne Stambaugh
0b6d1bbcf7
Minor dialog improvements.
...
* Make generate button the default in Eeschema netlist dialog.
* Fix spacing issues in export IDF dialog.
* Make OK button the default in export IDF dialog.
* Remove unnecessary end dialog code from export IDF dialog.
* Improve resizing of export IDF dialog.
2015-01-12 14:25:20 -05:00
jean-pierre charras
0cb7c3dc7d
ModEdit: fix incorrect size of the toolbar grid size combo box
2015-01-10 12:08:12 +01:00
jean-pierre charras
9cfb97d8b4
Add hight contrast option in Modedit. In hight contrast mode, solder masks and solder paste are shown.
...
this option was possible only by modifying the way display options are managed.
before these changes, display options were a global DISPLAY_OPTIONS class instance.
Now each EDA_DRAW_FRAME(and derivated classes) includes its own DISPLAY_OPTIONS class instance.
As a consequence, some duplicate display option variables in these classes have been removed, because there were just duplicate variables of the DISPLAY_OPTIONS class instance.
2015-01-10 11:27:49 +01:00
jean-pierre charras
7d8df0425f
Modedit: now shows a specific layers manager, which allows user to select the technical layer which is used when adding a new graphic text or outline to the current footprint.
...
Please, note the layer manager was already available in GAL mode, but is was the same as tne board editor, which is not good.
Now:
- In default mode or GAL mode, the look is the same.
- Only suitable technical layers (i.e. paired layers) are selectable from the layers manager (for special purposes, some other layers can be used, via the graphic items properties dialog)
2015-01-07 20:07:15 +01:00
jean-pierre charras
678a763481
Pcbnew: better display of tracks/vias/grid in toolbar. All: modify the zoom value shown in toolbar or status bar (roughly now zoom 1.0 is near the 1:1 scale, on a 22 inches Monitor). Fix also many other minor and very minor issues
2015-01-06 08:38:58 +01:00
Paulo Henrique Silva
f5059ec4c2
Fix duplicate text in IDF header export. (fixes lp:1407336)
2015-01-05 16:51:47 -05:00
Wayne Stambaugh
a2129fcd39
Minor toolbar and menu coherence fixes.
...
* Change Read to Load in Pcbnew and Eeschema preference menus.
* Make electrical rules check status bar message the same for both the menu
and toolbar entries.
2015-01-05 16:01:35 -05:00
jean-pierre charras
ad74a9a191
Pcbnew: better display of tracks/vias/grid sizes in toolbar
2015-01-05 14:20:04 +01:00
unknown
036a7cd8ed
Fix a typo error in wizard lib.
2015-01-04 12:50:12 +01:00
jean-pierre charras
6a19315557
Fix compat with swig 3.03
2015-01-04 08:19:04 +01:00
Fat-Zer
846b2ae24e
Fix Bug #1381287 (CvPCB ignores the footprint filter field on aliased components)
2015-01-02 08:52:29 +01:00
jean-pierre charras
9aa4fb6955
Cvpcb: force project name in stand alone mode, to allow access to project fp lib table. In project mode: disable the read netlist option (the netlist is read when Cvpcb is started by eeschema)
...
Dialog fp lib table editor: now shows the table full filenames, to help users.
2015-01-01 16:46:11 +01:00
jean-pierre charras
6ba5e40669
Fix a minor issue in fp lib wizard.
...
Remove a duplicate code for dialog select dir list.
2015-01-01 12:37:23 +01:00
jean-pierre charras
605a9bb5f2
Page layout selection: fix Bug #1405972 , and add minor enhancement in page layout selection dialog (the new layout is shown after selection).
...
When the filename is not absolute, the page layout file is now searched first in project folder, and then in kicad template folder, if not found in project.
2014-12-31 13:31:19 +01:00
jean-pierre charras
de8ae428fd
Minor fixes (typo in messages)
2014-12-30 18:15:46 +01:00
Bernhard Stegmaier
fcbce8b60e
Add KIGITHUB definition for stand alone version of Pcbnew on OSX
2014-12-28 17:07:15 -05:00
Cirilo Bernardo
0ceb90dfe1
Fix bug in IDF exporter when circles and arcs have zero radius. (fixes lp:1371656)
2014-12-28 10:09:35 -05:00
Maciej Suminski
a5972e7b48
Fixed crash on toggling the pad outline display mode in CvPcb.
2014-12-26 18:07:45 +01:00
jean-pierre charras
bc230f7650
Code cleaning: move class PAGE_INFO from common.h to class_page_info.h;
...
Fix issue when using a page layout file in project folder: eeschema and Pcbnew did not use it, unless using an absolute path.
Now, if the file path is nor absolute, it is seen as relative to the project (which is the expected behavior)
fp lib wizard: when pcbnew id compiled with USE_GITHUB_PLUGIN=OFF, the github plugin option is no more accessible (and the web viewer no more used).
2014-12-23 14:01:59 +01:00
jean-pierre charras
21cc8e0dc0
Freeroute dialog: remove freeroute access via java web start, because freeroutecanot be run now via java web start.
...
freeroute.jarcan be run by Kicad, as long freeroute.jar is found by Kicad (for instance if it is in kicad bin folder)
2014-12-22 17:58:43 +01:00
jean-pierre charras
e4a74213e4
Add wizard to fp lib dialog to easily add entries to this table.
2014-12-21 15:13:14 +01:00
unknown
05073c15ed
Add option to VRML Export for Plain PCB (patch from Cirilo Bernardo)
2014-12-20 17:13:51 +01:00
Nick Østergaard
41e044c0b4
Handle arcs in board outline in Eagle pluging.
2014-12-19 17:02:02 -05:00
jean-pierre charras
bb7a74f58f
Pcbnew: fix Bug #1404191 (Zone filling fails when a zone inside having the same net and a highter priority exists, which is allowed to manage different fill parameters )
2014-12-19 20:09:53 +01:00
jean-pierre charras
6deb3823d7
Aesthetic enhancements ( use few svg icons from Konstantin Baranowskiy).
...
Allows use of modifier shift key with letters A ... Z in hot keys (including hot key editor). Thanks to John Bird, who helped me with his patch.
2014-12-18 19:53:19 +01:00
jean-pierre charras
d83eb11aa6
Minor fixes. Remove unused icon. Add 3 new icons. Change one icon (3 icons are from Konstantin Baranowskiy)
2014-12-11 13:00:59 +01:00
Nick Østergaard
1df31338a3
Shortcut for fill all and unfill all zones for GAL.
2014-12-08 23:41:47 +01:00
Blair Bonnett
de4e688b83
Imporve hot key name description. (fixes lp:1066193)
2014-12-07 14:10:12 -05:00
Paul LeoNerd Evens
33f39fc282
Fix Eagle footprint library import of arcs. (fixes lp:1399745)
2014-12-07 12:07:05 -05:00
Nick Østergaard
e373850d26
Add remove fill and fill all zones hot keys.
2014-12-06 16:21:13 -05:00
jean-pierre charras
0e996cac9e
Pcbnew: fix Bug #1395594 (pcbplotparams parser sensitive to formatting)
...
Looked like a minor issue, but was due to a more serious bug, when using 2 different DSN_LEXERS which were not synchronized.
The fix is not perfect, but unfortunately, the parser used to read the PCB_PLOT_PARAMS in .kicad_pcb files is also used in legacy board file reader.
Therefore it is better than write 2 parser functions, one for legacy files, the other for the .kicad_pcb files, which make the same thing.
2014-12-04 20:15:26 +01:00
jean-pierre charras
f3765a32d8
Fix minor issues. Fix some outdated and broken BOM python scripts. Add info in BOM python scripts.
...
BOM dialog: remove a not very useful button, and merge its function with an other (not perfect, need more work)
Add message box to show info added in BOM python scripts (See scripts/bom-in-python/README-bom.txt about this info)
2014-12-03 17:22:06 +01:00
jean-pierre charras
479af2a7a8
Pcbnew, export Solder masks in Gerber Format: fix not working export when the solder mask minimal width is not 0 (the exported shapes were the same as if the vule = 0) with boost version >= 1.56
...
This is due to the fact the boost::pylygon function resize ( a inflate/deflate function) used for calculations does not work with boost version >= 1.56.
Use Clipper inflate/deflate function instead. It is faster and works fine.
2014-12-01 15:54:33 +01:00
jean-pierre charras
25a801ed8a
Modify usage of Inflate/deflate polygon in zone calculations, in order to be compatible with boost::polygon >= 1.56
...
Some code cleanup.
2014-11-30 18:07:02 +01:00
jean-pierre charras
4bba4b875d
Pcbnew: Allows trapezoidal pads in zones.
2014-11-29 13:58:34 +01:00
Maciej Suminski
e6ff6af7b3
Fixed typo.
2014-11-27 11:51:16 +01:00
Maciej Suminski
0daa1fa67e
Missing fixes for the revision 5301.
2014-11-27 11:47:17 +01:00
Angus Gratton
6c4808bd49
pns: Non-copper pads are not treated as obstacles.
2014-11-26 15:46:47 +01:00
Maciej Suminski
03f7003c00
pcbnew: Unconnected items share the same NETINFO_ITEM, even if on different boards.
2014-11-24 16:34:47 +01:00
Maciej Suminski
0c1a87ca56
selection_tool: Added SelectItem and UnselectItem actions.
2014-11-21 11:50:13 +01:00
Maciej Suminski
823623acb8
selection_tool: Renamed deselect* to unselect* for naming consistency.
2014-11-21 11:49:54 +01:00
Maciej Suminski
62e2537e73
selection_tool: Renamed selectSingle to selectCursor.
2014-11-21 11:49:28 +01:00
jean-pierre charras
1e5fa54d1a
Try to fix an issue on Ubuntu/Unity for some dialogs which are not displayed. Adding GetSizer()->Fit( this ) after last dialog "geometry" change (size for instance) or Raise() if the window is not a dialog fix it.
...
Partial fix. There are few cases where the frame is still not displayed.
Looks like a Unity issue, not a Kicad issue.
2014-11-19 20:13:10 +01:00
Blair Bonnett
149a04f331
Fix crash in footprint editor when SMD pad diameter is zero. (fixes lp:1378917)
2014-11-19 13:39:02 -05:00
jean-pierre charras
8a1c8a91f4
More fixes on Ubuntu/Unity for dialogs which are not displayed.
2014-11-19 18:13:55 +01:00
jean-pierre charras
1ebaf1371a
Fix remark 1 in Bug #1393277 (the option "use absolute paths" acts reversed: ticked exports relative paths, unticked exports absolute paths)
2014-11-17 14:55:26 +01:00
Wayne Stambaugh
1dc5178095
Message panel consistency improvements and coding policy fixes.
...
* Make title capitalization consistant.
* Replace some instances of module with footprint.
* Use angle instead of orientation where appropriate.
* Remove abbreviations where it made sense.
* Coding policy fixes.
2014-11-15 14:06:05 -05:00
Camille
5729ee7ea5
Compile warning fixes and minor code policy fixes.
2014-11-15 08:43:23 -05:00
John Beard
71e5fb13e6
Segment message panel infromation improvements.
...
* Make "Drawing" string translatable.
* Add segment length to message panel.
* Add segment angle to message panel.
2014-11-15 08:09:59 -05:00
Maciej Suminski
9245b90392
Code formatting.
2014-11-14 20:19:00 +01:00
Tomasz Wlostowski
4e280f065f
P&S router: fixed shove force propagation incorrect issues causing improper via dragging.
2014-11-14 19:17:52 +01:00
Tomasz Wlostowski
4e67de5c15
P&S router bugfixes
...
- fixed walkaround bug causing unwanted overlap/clearance violation when the first segment of trace being laid intersects the obstacle's hull at the same point twice (ie. goes in, turns around and goes out).
- fixed placer bug not splitting the start segment after toggling via placement or changing trace width
2014-11-14 19:17:01 +01:00
Tomasz Wlostowski
80adf9d85b
router: multiple changes
...
- re-worked PNS_LINE_PLACER and PNS_ROUTER classes a bit, removing duplicate class members
- cleaned up Andrew's blind/buried via fixes
- fixed 'custom via width' dialog bug updating the width even when closed/cancelled
- fixed incorrect radius of drawn microvias
2014-11-14 19:15:58 +01:00
Nick Østergaard
32eb568ec4
Pcbnew place track menu entry hot key text fix.
2014-11-14 11:09:07 -05:00
jean-pierre charras
35c591166f
Pcbnew: fix Bug #1391561 (PCBNew segfaults on BOM creation). Does not happen on all platforms. Could be due to use of data just previoulsy deleted.
...
Very minor other changes.
2014-11-14 08:25:17 +01:00
Maciej Suminski
15aa24afe8
pcbnew: Modules can be selected with block selection tool without including texts & references (GAL).
2014-11-13 17:32:59 +01:00
Maciej Suminski
4eabe23104
pcbnew: Allows selecting module edges in module editor, when they are covered with other items (GAL).
2014-11-13 16:58:24 +01:00
Maciej Suminski
1855db5493
pcbnew: Fix persistent multiple items selection box that stays after selecting a polygon/line (GAL).
2014-11-13 14:11:26 +01:00
unknown
d54675b56b
Fix bug in IDF export (plus minor cleaning up of IDF/VRML export)
2014-11-13 12:29:05 +01:00
Maciej Suminski
d84567ae40
pcbnew: fixes crash when a new part footprint is changed.
2014-11-13 11:06:41 +01:00
jean-pierre charras
f5fd471dd9
Pcbnew: fix Bug #1392087 ( adhesive layer plot broken ).
2014-11-13 09:00:28 +01:00
Wayne Stambaugh
37da6766ec
Update avhttp-master.zip to the latest version so Boost 1.57 can be used to build KiCad.
2014-11-12 19:13:27 -05:00
Blair Bonnett
1188cd433b
Fix wxWidgets debug assertion for wxTextCtrl::IsSingleLine() in GTK.
...
* Fix assertions in Eeschema when editing net labels, electronic rules check,
and plotting.
* Fix assertion when opening PCB calculator.
* Fix assertions in Pcbnew when changing footprints in footprint properties
dialog and adding or editing text.
2014-11-09 14:24:37 -05:00
jean-pierre charras
6a93777a51
Polyline.h: remove useless class CRect. Use the more powerful EDA_RECT instead. Clean and remove duplicate code.
2014-11-08 13:25:29 +01:00
jean-pierre charras
f55a436d58
map class CPolyLine (used in zones) in Python.
2014-11-06 16:27:22 +01:00
jean-pierre charras
24f516f6ae
Fix many doxygen warnings (due to missing info, old comments, typo ...) when building the doxygen doc.
2014-11-02 17:25:04 +01:00
Marco Ciampa
40f044bd8d
More renaming instances of module to footprint for consistency.
2014-11-02 07:44:57 -05:00
Michal Jahelka
835bb37b88
Remove library nickname from module position file
2014-10-31 21:18:25 +00:00
jean-pierre charras
7b5318ff64
Fix minor issues about translated strings and coding style. Add comment relative to file function info in X1 gerber file format.
2014-10-31 19:59:37 +01:00
jean-pierre charras
db31daffe4
Fix compil issue I created in rev 5242 when KICAD_SCRIPTING_WXPYTHON is ON
2014-10-31 16:21:57 +01:00
jean-pierre charras
4fd2a4da94
Pcbnew, python console: refinements.
2014-10-31 15:45:46 +01:00
jean-pierre charras
7e431a0d4b
Pcbnew: Console python: use a wxMiniFrame to show the console and remove the management by a EDA_PANEINFO, which was not the right way to manage this console.
2014-10-31 08:51:22 +01:00
Marco Ciampa
359e64850d
More renaming instances of module to footprint for consistency.
2014-10-30 13:31:56 -04:00
Marco Ciampa
5d306bb244
Rename instances of module to footprint for consistency.
2014-10-30 11:37:46 -04:00
jean-pierre charras
09e20c6c0f
Pcbnew: fix a serious bug in ZONE_CONTAINER class copy constructor: a pointer was not initialized. Pcbnew crashes when deleting or filling a copied zone.
...
Eeschema: remove dead code and uncrutify class_netlist_object.h
2014-10-30 09:42:11 +01:00
Wayne Stambaugh
f86eb756af
Source license, coding policy, and documentation fixes.
...
* Add more missing source code licenses.
* Fix coding policy violations (tabs and trailing white space) in Python
scripting code.
* Add stable release policy to full documentation build.
2014-10-28 15:43:12 -04:00
jean-pierre charras
3abfb6ca97
Cvpcb: Add a tool to solve conflict assignments when the schematic netlist and the .cmp file do not contain the same assignment and both are valid fpid.
...
It happens when footprint assignments are modified outside Cvpcb (when editing the footprint assignment field in schematic)
2014-10-28 16:15:39 +01:00
Wayne Stambaugh
86b39ca3c0
More missing source license fixes.
2014-10-27 10:14:39 -04:00
Wayne Stambaugh
e273a48ddc
Remove old build configuration since kiway is now the only way to build kicad.
2014-10-26 15:54:48 -04:00
unknown
ad645abac4
Eeschema, Plot dialog: add Plot directory selection. The patch from 1383026@bugs.launchpad.net was widely used.
2014-10-26 14:59:01 +01:00
Maciej Suminski
1338774d54
pcbnew: Disable DXF import in the module editor when there is no module loaded.
2014-10-24 11:19:54 +02:00
Luis
83d666806c
Fix temporary file bug when saving modified footprints. (fixes lp:1384550)
...
* Use wxRenameFile which falls back to a file copy and file remove when
wxRename fails.
2014-10-23 16:25:04 -04:00
Wayne Stambaugh
f12953855e
More missing source license fixes.
2014-10-23 13:53:38 -04:00
Wayne Stambaugh
b7f890adb3
Fix parallel build bugs.
...
* Make all files generated by make_lexer() dependencies of thier respective build targets.
* Make building Boost a dependency for all libraries.
* Remove duplicate make_lexer() call for Specctra lexer files.
2014-10-22 19:25:59 -04:00
Wayne Stambaugh
431ed318e0
Pcbnew VRML export improvements.
...
* Improve VRML export dialog lay out.
* Make the OK button the default action in the export dialog.
* Make 3D model export work correctly and avoid redundant file copies.
* Fix embedded path separators in wrl files on windows.
* Fix absolute model file path creation in wrl files.
* Clean up VRML export code.
2014-10-17 19:28:12 -04:00
Bernhard Stegmaier
f06bfe6d70
Commit the rest of the OSX build fixes missed in the previous commit.
2014-10-17 13:45:33 -04:00
Mark Roszko
816974b8ca
Hot key editor dialog improvemnts.
...
* Change hot key editing contol from wxGridTableBase to wxListCtrl.
* Separate hot key lists into separate tabs rather than one large list.
* Coding policy fixes.
2014-10-17 10:36:47 -04:00
Bernhard Stegmaier
a4c59e6b97
More OSX build fixes.
...
* Many path related fixes.
* Fix execution of external applications.
* Update mac-osx.txt.
* Add top-level links for standalone applications inside OSX bundle.
* Fix document icons for Eeschema and pl_editor.
* Create individual bundles for standalone applications inside the main application bundle.
* Add usual 'site-packages' to python path in OSX bundle.
* Fix name of OSX bundle plugin folder.
2014-10-16 18:13:01 -04:00
Mark Roszko
606f2e91f8
Make hotkey command titles use consistent capitalization.
...
Rename "Switch highcontrast" to "Toggle High Contrast".
Eliminate most of the abbreviated hotkey titles.
Doxygenize dialog_hotkeys_editor.h and add missing license block.
Display <unassigned> if key code is 0 (NULL).
2014-10-15 21:17:51 -04:00
Mark Roszko
651a92a80f
Hotkey Editor Polishing
...
Refactor hotkey editor to use tab control instead of one giant list.
Each tab is a separate hotkey section.
Modify EDA_HOTKEY_CONFIG to change the m_Comment member to m_Title for a new purpose.
We want a pretty title in the hotkey editor. We use m_Title for the key export comment which
still conveys the purpose just as easily.
Refactored usage of wxGrid into wxListCtrl which allows capturing navigation characters
and also works better (single selection is built in).
Add hotkey overwrite prompts that are paired with "Common" section. It will check if a hotkey
overlaps with the proper sections. i.e. Common with the all other sections; or Section 1 with just Common.
Right-click menu removed due to wxListCtrl being able to catch the special keys properly.
2014-10-15 21:17:46 -04:00
jean-pierre charras
d82f403fd7
Libview and Modview: fix issues relative to hotkeys (hardcoded keys instead of user defined keys) and not working tools and popup menus.
...
Fix also some minor coding style issues.
2014-10-15 13:40:38 +02:00
Maciej Suminski
788a25438a
pcbnew: Minor fixes to 'Find Item' dialog (GAL canvas).
2014-10-13 20:27:36 +02:00
Maciej Suminski
d12ffd307f
Added missing header file.
2014-10-13 15:30:57 +02:00
Maciej Suminski
0d7b7b02e7
pcbnew: Apply display settings on canvas switch (GAL canvas).
2014-10-13 15:26:06 +02:00
Maciej Suminski
ac7bdfc7f6
pcbnew: Fixed 'Find Item' (GAL canvas).
2014-10-13 15:25:16 +02:00
Maciej Suminski
18c9a62c6e
pcbnew: DIALOG_FIND allows to change warp options and set callbacks for found items.
2014-10-13 15:23:30 +02:00
Maciej Suminski
1c74019f4c
pcbnew: Added "Get and Move" in pcbnew (GAL canvas).
2014-10-13 15:22:14 +02:00
unknown
4280a1f5d3
Fix absence of PCB_TARGET class in python interface.
2014-10-13 13:14:02 +02:00
jean-pierre charras
82339a9235
Fix bug #1358742 (drill map file output faulty), which was Gerber format specific.
...
Minor code change (which removes a SWIG warning)
2014-10-13 10:40:34 +02:00
Mark Roszko
2d008c79fd
More module to footprint UI fixes.
2014-10-12 11:12:02 -04:00
Mark Roszko
a08471b725
Convert UI inconsistent use of legacy term module to footprint.
2014-10-09 20:23:40 -04:00
Bernhard Stegmaier
a9ab824373
Fix OSX wxPython scripting build when running parallel builds.
2014-10-09 19:45:58 -04:00
Berhnard Stegmaier
b8d1789a22
OSX build fixes and improvements.
...
* Fix creation of single app bundle with respect to scripting support.
* Cleanup scripting search paths for OSX.
* Fix some small CMake bugs from previous OSX build change.
* Optimize bundle file structure to be consistent with Apple specs.
* Add helper script for compiling wxWidgets and wxPython
* Update OSX build instructions.
2014-10-08 14:41:36 -04:00
Mark Roszko
fbc4abc55a
Update module to footprint in the little info bar at bottom of window
...
Fix text in Get and Move Footprint Dialog
Fix right click in board editor options
2014-10-08 02:26:26 -04:00
Mark Roszko
fcbfaac7c9
Update footprint editor property dialog to use "Footprint" instead of "Module"
2014-10-08 01:58:59 -04:00
Mark Roszko
bfdc13df61
Update footprint property editor (activated from board editor) to use "Footprint".
2014-10-08 01:54:52 -04:00
Mark Roszko
08f0051799
Rename module to footprint in menu,toolbars, window, etc that are in code
2014-10-08 01:50:56 -04:00
Henri Valta
bfab279a43
Fix parallel build issue when KICAD_SKIP_BOOST=ON.
2014-10-07 14:10:01 -04:00
jean-pierre charras
fc2229dfca
Eeschema: fix Bug #1376669 (graphics lost in aliased components)
...
Cleaning 3 svg files (no icon change)
Very minor other changes.
2014-10-06 20:13:11 +02:00
Wayne Stambaugh
99f30c9d38
Road map and Doxygen work.
...
* Remove obsolete settings from Doxygen configuration file.
* Fix some Doxygen warnings.
* Add the board edge segment snapping to developers road map.
* Fix some coding style issues in CMakeLists.txt
2014-10-05 21:18:24 -04:00
Lorenzo Marcantonio
94f8c2a276
Implemented TEXTE_MODULE::GetShownText
...
Handles % macro expansion in user texts inside pcb modules.
At the moment the following are available:
%% A plain %
%R Insert the reference
%V Insert the value
2014-10-04 17:15:38 +02:00
Bernhard Stegmaier
8b3c14c08b
OSX build improvements.
...
* Compile all binaries into a single application bundle.
* Use CMake BundleUtilities to make application bundle relocatable.
* Restructure build output to directly create an image file.
* Fix default search paths.
* Set KIGITHUB environment variable.
* Added patch to fix wxWidgets so names for OSX.
2014-10-02 19:03:52 -04:00
jean-pierre charras
e6274f70b0
BOARD::Add(): fix an issue for tracks: parent not set (could be an issue only in python scripts, because the parent is set by the constructor)
...
*.i : fix coding style issues.
python method: add BOARD_ITEM Duplicate, which is a wrapper to Clone(). ( defined as Cast_to_BOARD_ITEM(selt.Clone()).Cast() )
update some .py examples.
2014-10-02 19:09:32 +02:00
Wayne Stambaugh
7c747c1a44
Fix field greater than 2 legacy footprint library file parser bug. (fixes lp:1375419)
2014-10-01 10:13:11 -04:00
jean-pierre charras
e617c5e6b1
Pcbnew: fix some issues when using python scripting (remove outdated SEG_ZONE item, fix broken access to netclass, track width and via size lists, add missing access to zones)
...
Update listPcb.py to show how to access zones.
2014-09-30 20:23:27 +02:00
Andrew Zonenberg
45a8e4da74
pns_router: Support for blind/buried vias.
2014-09-30 16:46:19 +02:00
jean-pierre charras
927d11f78c
Eeschema: fix Bug #1375581 (libraries setup empty after clicking "print" icon)
2014-09-30 10:12:00 +02:00
jean-pierre charras
24ed7f50f5
Pcbnew: fix Bug #1370321 (Change Segment function applies last netclass used).
...
Also update main toolbar track width and via size info in pns router mode, when starting a track, and other very minor update issue.
2014-09-28 16:44:47 +02:00
jean-pierre charras
b653da5e29
change name TEXTE_MODULE::MirrorWithModule to TEXTE_MODULE::MirrorTransformWithModule, because it is a function specific to a footprint transform in modedit.
...
change also name TEXTE_MODULE::RotateWithModule to TEXTE_MODULE::RotateTransformWithModule for same reason.
Pcbnew: fix Bug #1374484 (text changes position when module is flipped and rotated). Fix also some bugs in modedit, in block commands.
2014-09-27 18:39:18 +02:00
jean-pierre charras
ea06ad14ae
Pcbnew: fix Bug #1373468 (Non Copper Zones Properties dialog "Layer selection" empty) (Linux specific)
2014-09-25 09:07:17 +02:00
jean-pierre charras
980ffac1c3
Pcbnew: add append board function, only available when Pcbnew is run in standalone mode (outside a project), to allow a basic panelization.
...
(this function is not compatible with a project, because it breaks the coherency with the schematic)
2014-09-24 18:56:20 +02:00
jean-pierre charras
70a61b8028
Pcbnew: fix Bug #1373267 (polygons in footprint outlines do not flip correctly)
...
Minor other fixes.
2014-09-24 18:42:56 +02:00
jean-pierre charras
dda896d530
dialog fp lib table: fix compatibility issue with wx 2.8
2014-09-22 11:37:22 +02:00
jean-pierre charras
6bae852cb9
Minor fixes: specctra export: skip malformed circles (having a radius = 0) in board outline creation, which can crash 3d-viewer or vrml export.
...
dialog_fp_lib_table: remember during a session the last open table (global or local).
drawing_tool: fix compil warning
Update demos.
2014-09-22 09:51:06 +02:00
Wayne Stambaugh
12f3fd35de
Fix Pcbnew design rules dialog wxGrid tab traversal bug. (fixes lp:1060028)
...
* Set wxGrid tab behavior to leave grid when using the tab key.
* Lots of coding policy fixes.
2014-09-19 19:58:32 -04:00
jean-pierre charras
686253cbaa
IO_MGR::PCB_FILE_T IO_MGR::GuessPluginTypeFromLibPath() : better test for KICAD type footprint libraries: previoulsy, just test if a library name ends with .pretty, which is not enough.
...
GitHub lib names also ends by .pretty, so also test if a lib name does not start by http (which could be a GitHub lib name).
2014-09-18 12:29:52 +02:00
jean-pierre charras
93a3d4cb28
Eeschema: back to KICAD_KEEPCASE option, to find parts in lib, when using case sensitive option (default).
...
Schematic component properties dialog: add 2 helper buttons to manage the chip name (name of the corresponding part in lib)
- a browse button to chose an other chip name
- a test button, to know if the part exists. If not existing, list the parts found when searching using a case insensitive comparison.
2014-09-17 18:04:04 +02:00
Tomasz Wlostowski
0cf334a072
pcbnew: bugfix for "PNS router allocates all memory"
2014-09-16 14:12:59 +02:00
Maciej Suminski
d3f6e3d623
pcbnew: Fixes crash when a module is changed after modification in the module editor.
2014-09-15 16:21:48 +02:00
jean-pierre charras
efd4c123eb
Fix bug #1369281 ( Pcbnew, initial save broken )
2014-09-14 19:12:56 +02:00
unknown
c1e0a8d067
Patch for the Python footprint wizard helpers. This adds a few more drawing functions, such as for circles, and also uses a matrix-based transform stack with greatly simplifies constructing footprints consisting of regularly spaced elements (e.g. in lines, grids, circles, or some list of points that you specify).
...
This fixes bug #1366299
2014-09-14 18:29:10 +02:00
jean-pierre charras
aa9de21cd7
Ref and Value for footprints: use now the layer color, not a specific color: this is needed by the fact these fields can be on an other layer than silk screen, and therefore must have the corresponding color
...
Also do not allow copper layers, solder paste and solder mask: put Ref or Value on these layers has no sense, and can create serious issues on the board.
2014-09-14 17:34:37 +02:00
Lorenzo Marcantonio
260ca0e79f
Added support for decoupling stored text from shown text in EDA_TEXT
...
Factored out text ellipsing support to max 15 character (for generating menu items)
2014-09-13 20:15:45 +02:00
Lorenzo Marcantonio
1247264458
Added layer change to the module text dialog (both user text and reference/value)
...
Since reference and value are not anymore always on silk changed the label on the corresponding options in the plot dialog
The 'proper Gerber extensions' was renamed in dialog as 'Protel Gerberl extensions': I don't know if it was a typo/misunderstanding or what but the proper extension is gbr; the set of alternative extensions seems to be the one used by Protel/Altium.
2014-09-13 08:15:16 +02:00
Lorenzo Marcantonio
0da38e5b62
More work on module texts, and especially on the collector
...
The members SetIgnoreMTextsOnCopper, SetIgnoreMTextsOnCmp,
SetIgnoreModulesOnCu, SetIgnoreModulesOnCmp in the collector guide are
renamed to the clearer SetIgnoreMTextsOnBack, SetIgnoreMTextsOnFront,
SetIgnoreModulesOnBack, SetIgnoreModulesOnFront
Modified the collector and drawing behaviour for text in modules as
discussed in the mailing list.
* Now module text on layers different than Silk should work! *
Still need UI support for setting the layer in the module editor.
2014-09-11 18:35:19 +02:00
Lorenzo Marcantonio
424aac6cf2
TEXTE_MODULE cleanup in preparation for text on different layers
...
- Removed the friends MODULE and FOOTPRINT_EDIT_FRAME from TEXTE_MODULE
(as in the @todo comment)
- Refactored the Rotate/Flip/Mirror for text in modules into the
TEXTE_MODULE class itself (members RotateWithModule, FlipWithModule,
MirrorWithModule)
- New behaviour in coloring text on screen: reference and value still
take the color from the MOD_TEXT_FR_VISIBLE and MOD_TEXT_BK_VISIBLE
visibles; other text takes the color of the layer containing it
(except when hidden, obviously) but still get its visibility
controlled by those visibles (probably the most intuitive and useful
behaviour)
- Still need to decide: should text on a layer be hidden when the layer
is? Probably yes (still to be implemented);
- Some comment fixed and many cast converted to static_cast
2014-09-10 17:18:42 +02:00
Lorenzo Marcantonio
c5681a3278
Backed out assembly plot patch
2014-09-09 18:55:27 +02:00
jean-pierre charras
fb590c7231
Fix PCB Module Editor Help Error.
...
Remove a minor compil warning in shape_collisions.cpp
2014-09-09 18:46:12 +02:00
Lorenzo Marcantonio
032b7cb71b
Implemented special rules for plotting assembly layers
...
- Reference is visible on silk and the corresponding assembly layer
- Reference is shown on assembly always on the component insertion point
Hidden references are not forced shown in assembly plots (there is
already a user option for that)
2014-09-08 19:57:39 +02:00
Maciej Suminski
9fca82c23f
pcbnew: bugfix for crashes when canvas is switched while dragging items (GAL).
2014-09-08 14:09:20 +02:00
Maciej Suminski
16b2c40184
pcbnew: Fix crashes of tools that rely on BOARD data.
2014-09-08 14:07:10 +02:00
Maciej Suminski
9195409f5e
pcbnew: GAL updates the worksheet layout when it is reloaded.
2014-09-08 14:06:38 +02:00
jean-pierre charras
ded4bf6477
Pcbnew: fix Bug #1366701 (Module position file (.pos) generation fails for F.Cu layer)
2014-09-08 13:07:54 +02:00
Dick Hollenbeck
3e861db371
Lock file improvements.
2014-09-07 15:01:26 -04:00
jean-pierre charras
fc6d73813e
Kicad: more understandable dialog when creating a project from template. Fix also a bug when copying and renaming template files.
...
Pcbnew: dialog to create new .pretty lib: fix an issue which prevent to open a full disk directory (at least on Windows)
2014-09-06 21:55:20 +02:00
Moses McKnight
6da5e2cdd0
Configuration file consolidation patch from Moses McKnight.
...
* Create GetNewConfig() and GetKicadConfigPath() to unify configuration file
creation and location.
* Move Windows configuration out of the registry into configuration files.
* Move Linux configuration files from $HOME to $HOME/.config/kicad to eliminate
configuration file pollution in the users $HOME folder.
* Fix a bug in the configuration file where the Eeschema hot keys are saved.
2014-09-05 17:12:38 -04:00
Maciej Suminski
c13cdb0964
Fixed line width settings in the module editor (GAL).
2014-09-01 13:48:51 +02:00
Maciej Suminski
b86ac3b3ab
GAL module editor selects the front silkscreen layer by default.
2014-09-01 13:48:10 +02:00
jean-pierre charras
3814cdaff1
Pcbnew: Minor fix in hotkeys. Demos: add an example to use a local fp-lib-table and local libs, and update schematics and boards.
2014-08-31 18:19:07 +02:00
Wayne Stambaugh
ec9cd765bc
Fix default menu alt key accelerator bug. (fixes lp:1035151)
...
* Add hot key handled return indicator to DRAW_FRAME::GeneralControl() and
DRAW_FRAME::OnHotKey() and all classed derived from DRAW_FRAME.
* Add code to all GeneralControl() and OnHotKey() functions to return true if
hot key was handled.
* Call event skip in DRAW_PANEL::OnKeyEvent() when key event is not handled to
allow default menu event handler to function properly.
2014-08-29 16:23:40 -04:00
jean-pierre charras
3d83434275
Very minor fixes.
2014-08-29 08:47:05 +02:00
jean-pierre charras
d8c3ccb424
Pcbnew, Eeschema: release lock file when these editors are closed (Until now, the lock file was released when the full Kicad application was closed, not when the editor was closed).
...
Should fix Bug #1360470 and Bug #1359502 .
2014-08-26 12:54:22 +02:00
Wayne Stambaugh
0b69ed3a5c
Fix Eeschema sheet issues. Should close out bug lp:593782
...
* Refresh canvas when user cancels edits so that the discarded sheet is
cleared from the schematic.
* Add file name validation to the sheet properties dialog to prevent
illegal file name characters from being entered into the text control.
* Rename FOOTPRINT_NAME_VALIDATOR to FILE_NAME_CHAR_VALIDATOR for clarity.
2014-08-24 18:49:31 -04:00
jean-pierre charras
5a38d2b657
Rework on env. variable KISYS3DMOD. Until now, was used in different files using different ways, so no consistency between files.
...
code cleanup.
2014-08-24 09:05:07 +02:00
jean-pierre charras
4c20fb4c4b
3d-viewer: code cleaning.
2014-08-21 13:59:57 +02:00
jean-pierre charras
fafd19c616
Add patch from Mario Luzeiro to 3D viewer. Fix a serious issue due to duplicate ID used in menus and toolbars between sub-applications, related to wxUpdateUIEvent events loop.
...
wxUpdateUIEvent events can be sent to parent frames, when opening a menu in a child frame, if parent and child frame share same ID fro menuitems (or tools)
The wrong menuitem can be used in some cases ( because there are more than one menuitem with the same identifier), by a wxUpdateUIEvent event function run in a parent frame.
2014-08-19 16:51:15 +02:00
Dick Hollenbeck
49538cafb9
https://lists.launchpad.net/kicad-developers/msg14286.html
2014-08-17 18:00:49 -05:00
Dick Hollenbeck
26c731ff42
abandoned
2014-08-14 09:05:07 -05:00
Andrew Zonenberg
484bc8344c
Fix a c_str() to wxString conversion memory overflow bug.
2014-08-13 16:57:22 -04:00
Dick Hollenbeck
7e483f69bd
Modular KiCad Blueprint Milestone B), major portions:
...
*) When kicad.exe closes a project, close any open KIFACEs so that they cannot
get disassociated from their true PROJECT.
*) Allow loading eeschema library editor from kicad.exe
*) Allow loading pcbnew library editor from kicad.exe
*) Rename LIB_COMPONENT to LIB_PART.
*) Add class PART_LIBS, and PART_LIB.
*) Make PART_LIBS non-global, i.e. PROJECT specific.
*) Implement "data on demand" for PART_LIBS
*) Implement "data on demand" for schematic SEARCH_STACK.
*) Use RSTRINGs to retain eeschema editor's notion of last library and part being edited.
*) Get rid of library search on every SCH_COMPONENT::Draw() call, instead use
a weak pointer.
*) Remove all chdir() calls so projects don't need to be CWD.
*) Romove APPEND support from OpenProjectFiles().
*) Make OpenProjectFiles() robust, even for creating new projects.
*) Load EESCHEMA colors in the KIWAY::OnKiwayStart() rather in window open,
and save them in the .eeschema config file, not in the project file.
*) Fix bug with wxDir() while accessing protected dirs in kicad.exe
*) Consolidate template copying into PROJECT class, not in kicad.exe source.
*) Generally untangle eeschema, making its libraries not global but rather
held in the PROJECT.
2014-08-13 15:28:54 -05:00
Wayne Stambaugh
c63459653a
CvPcb: fix broken event ID for configuration button on toolbar.
...
* Remap configuration button on toolbar to launch footprint library table
editor.
* Remove legacy footprint library path dialog from CVPCB_MAINFRAME.
* Remove unused event ID ID_CVPCB_CREATE_CONFIGWINDOW.
* Minor coding policy fixes.
2014-08-13 15:26:31 -04:00
unknown
c8d69f19c8
Pcbnew: add drc test for texts on copper layer (only in full drc test, not in on line drc), from a patch sent by Simon Schumann
...
Add EDA_TEXT::TransformTextShapeToSegmentList function to export a list of segments used to draw/plot the text.
2014-08-13 17:47:02 +02:00
Tomasz Włostowski
adbf343fef
bugfix: SIGABRT after starting a track with PNS and switching canvases a few times
2014-08-13 17:25:54 +02:00
Wayne Stambaugh
fc13e5d651
Footprint text properties dialog improvements and coding policy fixes.
...
* Improve footprint text properties layout.
* Use wxStdDialogButtonSizer instead of manually laid out buttons to improve
platform UI consistency.
2014-08-13 09:15:15 -04:00
jean-pierre charras
5b28980a05
Pcbnew, Cvpcb: fix Bug #1355883 . Due to a missing call to a delete operator in CMP_READER class (also creates memory leak).
2014-08-12 19:52:12 +02:00
Maciej Suminski
b649578734
FIxed invisible layers problem after changing the number of layers (GAL).
2014-08-12 10:17:16 +02:00
unknown
84a985f8af
Pcbnew: Commit patch (with very minor changes) about SVG file export with the layers ordered from bottom to top. ( bug 1286646 ), from Thiadmer Riemersma.
2014-08-10 16:15:02 +02:00
jean-pierre charras
cd85ee626b
Cosmetic enhancement: change plot icon in menus.
...
3dviewer: back to double (from float) in class S3D_MASTER for 3 members (m_MatScale, m_MatRotation, m_MatPosition) which are used in dialogs and r/w file functions, which expect double.
Using float create minor but unwanted issues in r/w file functions.
S3D_MATERIAL: enable all color options: if a 3d shape has bad color parameters, the shape must be modified, not the 3d rendering.
The rendering now matches what we see in other vrml viewer like FreeCAD.
Some minor coding style fixes.
2014-08-09 20:18:04 +02:00
Maciej Suminski
ca399b6401
Buried/blind vias indicate the layers they go through (GAL).
2014-08-06 13:53:02 +02:00
Maciej Suminski
bcdd3d7bb9
Items are either dragged by their origin or moved by a vector (depending on the number of selected items) (GAL).
2014-08-06 09:35:03 +02:00
Maciej Suminski
1b058cae1e
Disable highlight mode in the module editor (GAL).
2014-08-06 09:33:10 +02:00
Maciej Suminski
242d42cf1d
Changed 'line width change' & 'change arc posture' to TOOL_ACTIONs.
2014-08-04 14:23:19 +02:00
Maciej Suminski
64a9ebc70e
Selected items do not disappear after rendering backend switch.
2014-08-04 10:43:26 +02:00
Maciej Suminski
fa08d9fdcf
Fixed module anchor drawing (GAL).
2014-08-04 10:42:20 +02:00
Maciej Suminski
03a17a284b
bugfix: modules are not selectable in the high contrast mode (GAL).
2014-08-04 10:06:24 +02:00
jean-pierre charras
764369439e
Add comments. Fix bug #1351507 (pad color does not reflect, whether the pad is on front or back layer) and bug #1351388 (Adding a keepout area appears on the opposite layer than selected)
2014-08-02 12:29:10 +02:00
Maciej Suminski
94a46bf2df
Fixed pcbnew crash when a locked footprint is dragged from an edge of the screen.
2014-08-01 11:28:08 +02:00
Michael Narigon
34b645daed
warnings
2014-07-30 22:04:34 -05:00
jean-pierre charras
01a8442b35
3d viewer: minor code cleaning (remove useless #include )
...
dialog_track_via_size: set minimal size and make dialog resizable.
Update demo file.
2014-07-30 17:39:55 +02:00
unknown
7a4ea8955e
3D viewer enhancements (better render + better vrml reader) from Mario Luzeiro
2014-07-30 11:01:25 +02:00
jean-pierre charras
1540368422
Minor fixes and changes:
...
Remove a minor warning message in Debug mode for 2 dialogs.
Pcbnew: update Gerber X2 file format (File Attribute) to very last X2 specification
Eeschema: Fix a minor bug in block selection (sometimes the last selected component was select instead of items in selected area)
and better drag behavior when draging an item by the drag hotkey.
2014-07-29 18:38:27 +02:00
Maciej Suminski
6ba1410054
Fixed vanishing pads issue in the pad properties dialog (GAL).
2014-07-28 14:01:29 +02:00
Andrew Zonenberg
59be0f6ef7
1) Pad properties dialog can trigger divide-by-zero when "0" is entered as the pad size
...
2) PNS router incorrectly detects collisions with blind/buried vias that don't actually intersect the active layer
3) PNS router silently converts blind/buried vias to through-board vias when shoved
2014-07-28 11:32:15 +02:00
jean-pierre charras
33605eaaec
Eeschema fixes: fix Bug #1348983 save cmp file crashes cvpcb when eeschema is opened (backannotation crashes). Happens only when some footprint names are not set (blank names).
...
Also fix incorrect backannotation when footprint names contain spaces (put spaces in names is always a bad idea)
* Fix minor Bug #1349058 Choose component dialog: Search field loses focus after entering a character and internationalize the dialog.
* Fix a subtle bug which prevent eeschema to read the project config file when launched from kicad manager, and when kicad.pro is not found.
2014-07-28 11:24:15 +02:00
Andrew Zonenberg
e6fba84e13
Push-and-shove router now handles existing blind/buried vias properly. Can't yet create new ones.
2014-07-27 15:01:06 -04:00
Andrew Zonenberg
8c1dd1392e
Fixed divide-by-zero in D_PAD::ViewGetLOD()
2014-07-27 15:00:39 -04:00
jean-pierre charras
37757b5283
* Fix Bug #1348607 and a possible crash in libedit dialog component properties after moving up the first user field (which in not possible now).
...
* better info message in pcbnew when trying to delete a footprint in legacy library
2014-07-25 19:49:14 +02:00
jean-pierre charras
6cc3addc68
Fix overflow in track len calculations and display (Bug #1347878 ), in high-light tool.
2014-07-24 19:36:26 +02:00
Maciej Suminski
893618bf3f
Fixed a hot key conflict.
2014-07-24 13:09:16 +02:00
jean-pierre charras
13b0784cd5
Fix overflow in track len calculations and display (Bug #1347878 ).
2014-07-24 08:43:23 +02:00
Andrew Zonenberg
c1f11a1bd1
Draw VIAs only if a layer they penetrate is visible.
2014-07-23 11:27:52 -05:00
unknown
bde2a0a1be
Pcbnew: fix issue for "one file per layer" option in "Export SVG file"
2014-07-23 15:01:23 +02:00
Maciej Suminski
1d378cfcd1
View is automatically centered when a module editor or viewer are opened (GAL).
2014-07-23 12:06:24 +02:00
jean-pierre charras
4fc4ea6147
Make some system error messages not translatable. Better comments in some dialogs.
2014-07-23 12:48:30 +02:00
jean-pierre charras
580a1a6aa0
ModEdit: fix some issues due to the fact legacy footprint libraries cannot handle 32 copper layers, and are therefore no more editable:
...
* in file/library save as..., remove option to save a lib under the legacy format (which is not possible and creates an error message)
* if the current loaded lib is a legacy lib, when the user try to save or delete a footprint, displays a message which explains what the user should do.
* add a suitable dialog to select/create a .pretty folder library (a file dialog or a dir dialog coming from wxWidgets is not friendly usable.)
2014-07-23 12:28:48 +02:00
Maciej Suminski
e46780f89f
Modules loaded by the module editor are placed in the world origin (GAL).
2014-07-22 09:50:40 +02:00
jean-pierre charras
38027eb998
3d viewer: Add high quality mode option is realistic mode (Shows holes in copper zones, but with longer calculation time)
...
Gal: fix a very minor issue: the keys to switch between copper layers are now - and + (according to the doc and the normall mode), instead of - and =
2014-07-21 18:26:18 +02:00
Maciej Suminski
2f7b9bcd71
Fixed bug: module editor doesn't respect global "per module" solder mask clearance (GAL).
2014-07-21 13:17:11 +02:00
Maciej Suminski
0ec256ccb4
Fixed bug: solder paste clearance is not displayed (GAL).
2014-07-21 12:54:58 +02:00
jean-pierre charras
cab7e67b59
fix Bug #1345193 : Drill Map coordinates alway 0 when using Gerber format (due to a missing plotter initialization).
2014-07-21 11:42:36 +02:00
jean-pierre charras
680ca22279
Fix crash in Pcbnew and Gerbview when seceting (in layers manager) "always hide all layers but activer"
2014-07-20 19:41:12 +02:00
unknown
d6fbfbc001
Pcbnew: fix bug when generating drill files for blind/buried vias.
2014-07-20 16:46:59 +02:00
jean-pierre charras
4c77724134
Very minor fixes. *.kicad_pcb files update to current Pcbnew version.
2014-07-20 12:41:14 +02:00
jean-pierre charras
9ecb10996c
Fix wx28 compil issue, and a compil warning.
2014-07-15 20:13:08 +02:00
jean-pierre charras
197371de5f
dialog non copper zones: better look. dialog copper zones: fix a minor bug.
2014-07-15 18:53:13 +02:00
Maciej Suminski
0adb6fa943
Module editor does not ask for permission to modify a locked module.
2014-07-15 17:33:19 +02:00
Maciej Suminski
f24075bbf5
Fixed offset of dragged items when the moving tool is invoked by the hotkey (GAL).
2014-07-15 16:33:46 +02:00
Maciej Suminski
2c5b79456e
Fixed crash in pad properties dialog with wxWidgets 2.8.
2014-07-15 16:02:08 +02:00
Maciej Suminski
568fc74a3c
Clicking on the Selection Tool toolbar button deactivates the current tool (GAL).
2014-07-15 11:50:00 +02:00
Maciej Suminski
a1e08ae568
Drawing tools reset its state on layer change.
2014-07-15 11:41:55 +02:00
Maciej Suminski
8d91587863
PNS settings dialog size corrected.
2014-07-15 10:57:51 +02:00
jean-pierre charras
a82127277c
Gerbview: fix scaling error in x.6 file format. Minor cleaning code.
...
Better separation between Pcbnew code and Gerber code.
Update export to Pcb code (uses now the version 4 kicad_pcb file format).
2014-07-14 20:59:41 +02:00
Maciej Suminski
3aef4252ab
Refinement to commit #4993 .
2014-07-14 16:43:21 +02:00
Maciej Suminski
c3ed210e5d
Increase panning area in GAL view.
2014-07-14 09:43:20 +02:00
Kirill Mavreshko
ae44fb62fc
bugfix: pcbnew crashes when you try to save a file
2014-07-14 09:41:02 +02:00
Maciej Suminski
14cfd173e6
Fixed the Module viewer crash when there is no footprint loaded.
2014-07-09 16:57:01 +02:00
Maciej Suminski
78853febbe
Zone fill/unfill actions in context menu (GAL).
2014-07-09 16:57:01 +02:00
Maciej Suminski
898e4e269e
Fixed the only-type condition for empty selection case.
2014-07-09 16:50:31 +02:00
Maciej Suminski
e6c1254dc8
"Create corner" context menu entry for draw segments and zone outlines (GAL).
2014-07-09 16:50:31 +02:00
Maciej Suminski
4068d6c858
Selection tool uses the real drag origin to compute offset when dragging items.
2014-07-09 16:50:31 +02:00
Maciej Suminski
b8fd1de71c
Added module texts to the preferred types list in SELECTION_TOOL.
2014-07-09 16:50:31 +02:00
Maciej Suminski
433e17a582
Support for "locked" property for modules (GAL).
2014-07-09 16:50:31 +02:00
Maciej Suminski
c1eda6b88c
Some of the Tool Actions need to be run in immediate mode - fixed.
2014-07-09 16:50:31 +02:00
Maciej Suminski
49dd416c53
Dragged items offset is cleared when dragging is finished.
2014-07-09 16:50:31 +02:00
Maciej Suminski
f32419f7e6
New pads in the module editor does not show up in the center of the edited module.
2014-07-09 16:50:31 +02:00
Maciej Suminski
327f307a7f
FIx layer switching after via placement in PNS router.
2014-07-09 16:50:31 +02:00
Maciej Suminski
0953d5730b
Clear selection before opening the module editor.
2014-07-09 16:44:23 +02:00
Maciej Suminski
f2b5cf7d94
Fixed module editor crash when pcbnew is started from the main launcher.
2014-07-09 16:44:23 +02:00
Maciej Suminski
0163b589b4
Workarounded restoring focus to GAL canvas after layer switching.
2014-07-09 16:44:22 +02:00
Maciej Suminski
b1837615aa
Added event queue to handle events at the end of the event processing cycle.
2014-07-09 16:25:50 +02:00
Maciej Suminski
81ad03cf91
Code formatting.
2014-07-09 16:25:50 +02:00
Maciej Suminski
db0d708300
Simplified code for switching layers in GAL view. Tools are notified of layer change event.
2014-07-09 16:25:50 +02:00
Maciej Suminski
c0a96141df
Added AF_NOTIFY flag for TOOL_ACTIONs.
2014-07-09 15:10:32 +02:00
Maciej Suminski
b2d0737329
Fixed continous line drawing.
...
Outline mode can be set up on any layer.
2014-07-09 15:10:32 +02:00
Maciej Suminski
d7c3c7828b
wxWidgets 2.8 compatibility fixes.
2014-07-09 15:10:32 +02:00
Maciej Suminski
5275d4b58f
Fixed minor bugs introduced with outline mode display for module texts and edges.
2014-07-09 15:10:32 +02:00
Maciej Suminski
778011a893
Ratsnest is recalculated after global deletion of tracks and after importing a netlist.
2014-07-09 15:10:32 +02:00
Maciej Suminski
587f22e10b
Outline display mode for module edges & texts in the module editor.
2014-07-09 15:10:32 +02:00
Maciej Suminski
3b5ece39a1
Modules inserted from the module editor are instantly visible in GAL.
...
Ratsnest is updated after exporting changes from the module editor to the layout editor.
2014-07-09 15:10:32 +02:00
Maciej Suminski
65c116621d
Added support for changing the cursor size.
2014-07-09 15:10:32 +02:00
Maciej Suminski
15f5c228cc
Fixed autozooming with empty board/module.
2014-07-09 15:10:32 +02:00
Maciej Suminski
31e25ac4cf
Fixed module viewer crash.
2014-07-09 15:10:32 +02:00
Maciej Suminski
2b0e27f132
Introduced SELECTION_CONDITIONS to determine which menu entries should be visible in the SELECTION_TOOL context menu, depending on the selection.
2014-07-09 15:10:32 +02:00
Maciej Suminski
bfa15d8db0
Moved SELECTION out of SELECTION_TOOL class.
2014-07-09 15:10:32 +02:00
Maciej Suminski
d21271b432
Pad Enumeration tool support for SMD pads.
2014-07-09 15:10:32 +02:00
Maciej Suminski
709dfcc16e
Added settings dialog for Pad Enumeration tool.
2014-07-09 15:10:32 +02:00
Maciej Suminski
2bcbb67528
Initial version of the Pad Enumeration tool.
2014-07-09 15:02:56 +02:00
Maciej Suminski
cf79b4c64f
Removed redundant accessor calls in MODULE_TOOLS.
2014-07-09 15:02:56 +02:00
Maciej Suminski
ed88c40be5
Moved module editor-specific tools to a separate class (MODULE_TOOLS).
2014-07-09 15:02:56 +02:00
Maciej Suminski
0b9387fb12
Added support for graphics on Edge.Cuts layer in modules. Tested functionality that works fine:
...
- zone filling algorithm
- printing
- plotting (pdf & gerbers)
- SVG export
- Specctra export
- 3D viewer
2014-07-09 15:02:56 +02:00
Maciej Suminski
a6484f1acb
Drawing tools used to crash when the drawing tool was interrupted - fixed.
2014-07-09 15:02:56 +02:00
Maciej Suminski
b42091bc06
Fixed anchor placement tool in module editor (GAL).
2014-07-09 15:02:56 +02:00
Maciej Suminski
5f297726ca
Module anchors are visible in GAL canvas.
2014-07-09 15:02:56 +02:00
Maciej Suminski
6f772c90d9
Renamed "Placement" context menu to "Align/distribute".
2014-07-09 15:02:56 +02:00
Maciej Suminski
84fa537b22
Changes in display options are handled by PCBNEW_CONTROL (GAL).
2014-07-09 15:02:56 +02:00
Maciej Suminski
2b1d6b303a
Added support for module edge splitting with double click.
2014-07-09 15:02:56 +02:00
Maciej Suminski
47f1fec31d
DXF drawing placement tool for GAL.
2014-07-09 15:02:56 +02:00
Maciej Suminski
445d935880
Created dialog_dxf_import.h. Cleaned up some unnecessary stuff and fixed file open dialog DIALOG_DXF_IMPORT.
2014-07-09 15:02:56 +02:00
Maciej Suminski
72c70148e8
Fixed a few memory leaks and Valgrind warnings.
2014-07-09 15:02:56 +02:00
Maciej Suminski
da67880907
DXF files import is supported by module editor.
2014-07-09 15:02:56 +02:00
Maciej Suminski
b2a601756e
Refactored DXF import routines:
...
- DIALOG_DXF_IMPORT works with PCB_BASE_FRAME instead of PCB_EDIT_FRAME
- imported items are not immediately added to a BOARD
- imported items are held in a list, instead of vector
- imported items are instantly visible in GAL view
- added DIALOG_DXF_IMPORT::GetImportedItems()
- code formatting
2014-07-09 15:02:56 +02:00
Maciej Suminski
4ac277028b
Code formatting.
2014-07-09 14:41:52 +02:00
Maciej Suminski
77d8b2d84e
Context menu for the Placement Tool.
2014-07-09 14:23:13 +02:00
Maciej Suminski
f0ff744e97
Initial version of the Placement Tool.
2014-07-09 14:23:13 +02:00
Maciej Suminski
e3c4f425dc
Fixed wrong reference point for copied items in subsequent module editor invocations (GAL).
2014-07-09 14:23:13 +02:00
Maciej Suminski
ac8ee56e51
Pasted module texts are rotated in the right way.
2014-07-09 14:23:13 +02:00
Maciej Suminski
5941f196c3
Reference point is selected for copied items. Enabled autopanning for copy & paste operations (module editor/GAL).
2014-07-09 14:23:13 +02:00
Maciej Suminski
95a4f61eee
wxWidgets 2.8 compatibility fix.
2014-07-09 14:23:13 +02:00
Maciej Suminski
5e48a79639
Copy & paste for module editor (GAL).
2014-07-09 14:22:29 +02:00
Maciej Suminski
ae431bbb05
Added MODULE::Add( BOARD_ITEM* )/Remove( BOARD_ITEM* )/Delete( BOARD_ITEM* ).
...
Removed MODULE::AddPad().
2014-07-09 14:22:29 +02:00
Maciej Suminski
d73ab976df
Added support for placing the footprint anchor.
2014-07-09 14:01:06 +02:00
Maciej Suminski
637919a699
Added support for pads, texts and graphics removal in module editor (GAL).
2014-07-09 14:01:06 +02:00
Maciej Suminski
5dc1f92608
Added pad placement tool for module editor (GAL).
2014-07-09 14:01:06 +02:00
Maciej Suminski
67136d21b1
MInor fixes.
2014-07-09 14:01:06 +02:00
Maciej Suminski
ad000aefa4
Fixed the legacy module editor.
2014-07-09 14:01:06 +02:00
Maciej Suminski
99043b777d
Adapted graphics tools to cooperate with module editor.
2014-07-09 14:01:06 +02:00
Maciej Suminski
ba320ac7c3
Added "edit modules" mode for DRAWING_TOOL.
2014-07-09 14:01:06 +02:00
Maciej Suminski
fc44f34ade
Fixed DRAWING_TOOL::PlaceTextModule() method.
2014-07-09 14:01:06 +02:00
Maciej Suminski
d085ace884
Created a header file for DialogEditModuleText class.
2014-07-09 14:01:06 +02:00
Maciej Suminski
b05885c2f1
Refactored drawing tools: lines, circles and arcs.
2014-07-09 14:01:06 +02:00
Maciej Suminski
69c73b0ebc
Updated POINT_EDITOR to handle module edges.
2014-07-09 13:50:27 +02:00
Maciej Suminski
26323007b5
Added a handler for not implemented toolbar buttons functionality in GAL.
2014-07-09 13:50:27 +02:00
Maciej Suminski
94cc845b3f
Added AF_ACTIVATE flag for TOOL_ACTIONs.
...
Reworked the way of processing events in TOOL_MANAGER class.
Added GetCommandStr() for TOOL_EVENT class.
2014-07-09 13:50:27 +02:00
Maciej Suminski
34fbde42fc
Improved way of translating wxEvent commands to TOOL_ACTIONs.
2014-07-09 13:50:27 +02:00
Maciej Suminski
74522d5b3c
Corrected names of common tool actions.
2014-07-09 13:50:27 +02:00
Maciej Suminski
e3015930f1
Module editor: modules are shown in GAL mode when loaded from file/library.
2014-07-09 13:50:27 +02:00
Maciej Suminski
9ee8d1a2a7
Module editor loads the last edited footprint in GAL mode.
2014-07-09 13:50:27 +02:00
Maciej Suminski
6d1417bafa
SELECTION_TOOL in edit module mode does not try to select MODULEs.
2014-07-09 13:50:27 +02:00
Maciej Suminski
8e90a6167b
Rotate support for pads.
2014-07-09 13:50:27 +02:00
Maciej Suminski
583de985c7
Added required resets for tools.
2014-07-09 13:50:27 +02:00
Maciej Suminski
5d1ec2b204
Restored invocation of SELECTION_TOOL commands with TOOL_ACTIONs.
2014-07-09 13:50:27 +02:00
Maciej Suminski
5ce29330b1
Restored support for custom angle rotation.
2014-07-09 13:50:27 +02:00
Maciej Suminski
6e0bd1eedc
Adapted tools to PCB_BASE{_EDIT}_FRAME.
2014-07-09 13:50:27 +02:00
Maciej Suminski
b0f3e79e54
Created a common interface for edit frames.
2014-07-09 13:50:27 +02:00
Maciej Suminski
eee2779f6b
Moved some layout editor specific tool actions to another class (PCB_EDITOR_CONTROL).
2014-07-09 13:50:27 +02:00
Maciej Suminski
8898b34755
Code formatting.
2014-07-09 12:10:28 +02:00
Maciej Suminski
1617f15b51
FOOTPRINT_EDIT_FRAME undo buffer handles operations done with GAL editor.
2014-07-09 12:10:27 +02:00
Maciej Suminski
7ade7db078
SELECTION_TOOL got a new mode to edit MODULEs.
2014-07-09 12:10:27 +02:00
Maciej Suminski
d98a5c4efe
Unconditionally initialize the Tool Framework in FOOTPRINT_EDIT_FRAME.
2014-07-09 11:59:24 +02:00
Maciej Suminski
953f71df3e
Move() method updates local coordinates in EDGE_MODULE, D_PAD and TEXTE_MODULE classes.
2014-07-09 11:59:24 +02:00
Maciej Suminski
2ee890d74b
Minor changes.
2014-07-09 11:59:24 +02:00
Maciej Suminski
a6dac245c0
Removed TOOL_ACTIONs: selectionSingle, selectionClear. SELECTION_TOOL methods are called directly instead.
2014-07-09 11:59:24 +02:00
Maciej Suminski
b5b20ef4bd
Added layer widget to the module editor.
2014-07-09 11:59:23 +02:00
Maciej Suminski
dca4667e66
PCB_LAYER_WIDGET became able to cooperate with PCB_BASE_FRAME.
2014-07-09 11:59:23 +02:00
Maciej Suminski
0306ec7efe
{Set,Get}ActiveLayer moved from PCB_EDIT_FRAME to PCB_BASE_FRAME.
2014-07-09 11:50:27 +02:00
Maciej Suminski
5a428e1957
Moved layers visibility synchronization to PCB_DRAW_PANEL_GAL::SyncLayersVisibility().
2014-07-09 11:24:56 +02:00
Maciej Suminski
a24576f3ce
Initial version of the GAL-based Module Editor.
2014-07-09 11:22:43 +02:00
Maciej Suminski
8a5fedb728
Code formatting and cleaning.
2014-07-09 11:22:43 +02:00
Maciej Suminski
1f7ce5416c
Next/previous footprint toolbar buttons are handled in the Module Viewer using GAL canvas.
2014-07-09 11:22:43 +02:00
Maciej Suminski
553996e7be
bugfix: pads edited with properties dialog were not refreshed.
...
bugfix: changing track width/via size using the dropdown menu when custom size was enabled did not change anything.
2014-07-09 11:22:43 +02:00