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