jean-pierre charras
d00fae588a
Footprint Editor: fix a crash when the dialog to set pad properties is called from the main toolbar (i.e. to define the default setting for new pads, and not to edit an existing pad)
2014-03-13 08:15:19 +01:00
Maciej Suminski
52791f2375
Changed cast from float to double in RN_POLY::HitTest.
2014-03-12 22:42:08 +01:00
Maciej Suminski
c7e3887ba4
Fixed erroneous hit testing for polygons in ratsnest for GAL.
2014-03-12 15:00:14 +01:00
Maciej Suminski
55f9aaabd7
Workarounded SWIG problems (does not support nested C++ classes, more on the subject: http://www.swig.org/Doc1.3/SWIGPlus.html#SWIGPlus_nested_classes ).
2014-03-12 14:58:49 +01:00
Maciej Suminski
f0251ebdb6
Merge selection tool branch.
2014-03-11 20:45:01 -04:00
Marco Serantoni
5feddb8cac
[MacOSX] fixes some interations with KicadOSXBuilder
2014-03-10 23:37:59 +01:00
jean-pierre charras
4fd3dbb5a5
Finishing work on a better 3D viewer. this also fix bugs like Bug #1129630 .
2014-03-09 19:43:53 +01:00
jean-pierre charras
f24bc87a84
Pcbnew: fix Bug #1289416 (Broken setting of layer list in D_PAD:: ViewGetLayers() for GAL).
2014-03-08 20:07:35 +01:00
jean-pierre charras
63401f3d95
Rework on 3D viewer (work in progress): Disable or enable layers, grid or 3D footprint shapes should be now faster.
2014-03-08 20:04:23 +01:00
Wayne Stambaugh
c89d52ee1a
Pcbnew: make block rotate honor the rotation angle setting. (fixes lp:1281605)
...
* Make block rotate command honor the rotation angle setting. Thank you
Umesh Mohan <mohan.umesh@gmail.com> for the patch.
* Change block rotate undo command from UR_ROTATE to UR_CHANGED so consecutive
rotations do not lead to round errors and for proper undo in case the user
changes the rotation angle setting between block rotations.
2014-03-07 17:34:54 -05:00
Wayne Stambaugh
339dd0daf2
Coding policy fixes.
2014-03-06 13:38:39 -05:00
Maciej Suminski
5ed0980dd5
Merged upstream.
2014-03-06 09:42:16 +01:00
Maciej Suminski
3cb168be5a
Removed warnings.
2014-03-06 09:14:06 +01:00
jean-pierre charras
a1b065c190
Fix a minor bug I created in commit 4733
2014-03-05 18:57:13 +01:00
jean-pierre charras
764b5c11bf
Minor code cleanup in 3d viewer (remove dead or useless code). Some minor other fixes.
2014-03-05 18:40:23 +01:00
Maciej Suminski
b8e3ff8ca3
Fixed undo while PNS is active.
2014-03-05 16:44:08 +01:00
Maciej Suminski
c557e52dab
Squashed memory leaks.
2014-03-05 14:57:14 +01:00
Maciej Suminski
505b38416d
Removed a few memory leaks.
2014-03-03 17:15:41 +01:00
Martin Janitschke
b33fa0cc13
Pcbnew: add option to merge non-plated through holes to drill file. (fixes lp:1133330)
2014-03-03 09:28:05 -05:00
Maciej Suminski
36813fe8ab
Pcbnew: fixed SIGFPE arithetic exception. (fixes lp:128339, 1285969, and 1286426)
2014-03-02 20:18:26 -05:00
Martin Janitschke
7c3918da2a
Pcbnew: fix global deletion bug and minor dialog changes. (fixes lp:1263795)
...
* Handle different item global deletions correctly. No more removing of text
if graphics is selected.
* Layer settings are always obeyed for modules, zones, text, and graphics.
* Text will be removed from copper layers if all layers are selected or
according to the current layer.
* Added check boxes for "normal" and "locked" footprints to be consistent
with the naming for the track deletion options.
2014-03-01 12:20:22 -05:00
jean-pierre charras
47e5026cfe
3D viewer: fix mirroring issue for texts in flipped footprints.
2014-02-28 18:46:18 +01:00
Fabrizio Tappero
9c71f62e1c
Commit patch about cvpcb, pcbnew and layout editor menu items, with 3 menu labels modified in Eeschema.
2014-02-28 18:31:00 +01:00
jean-pierre charras
4a461cd09b
3D viewer: shows now the texts of footprints (ref, value and others) when visible.
...
Fix also other very minor issues.
Realistic mode shows or not the copper thickness (depending on selected option in preferences) to speed up the screen redraw.
2014-02-28 11:51:47 +01:00
Maciej Suminski
41397f5b5b
Fixes ratsnest crashing on zones with negative net codes.
2014-02-28 11:12:55 +01:00
Marco Serantoni
9413b30567
Fix for bug #1285878 , build fails with clean repository and high parallelism due missing dependance between router and pcbcommon
2014-02-27 23:56:16 +01:00
Martin Janitschke
29e7638a3c
make microwave toolbar accessible from menu (Bug #1285425 )
2014-02-27 19:48:18 +01:00
Marco Serantoni
e009721982
[MacOSX] Avoid race between cmake -E copy_directory, which triggers a build error when using an high parallelism
2014-02-26 21:46:25 +01:00
jean-pierre charras
fbecc0d9ce
* fp_lib_table.cpp: fix an issue on Windows in ConvertFromLegacy: sometimes, because the comparison was case sensitive, lib nicknames were not found, although libs exist ( for instance if a path was given like f:\mypath instead of F:\mypath)
...
* getpart.cpp: fix a potential bug on a translatable string with has requirements in spelling.
* fix bug #1066179
* kicad: fix erroneous labels in sub menus.
2014-02-26 15:06:24 +01:00
Maciej Suminski
75026d8754
Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode()
...
Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
Fixed module editor crash when launched to edit a module from a PCB.
Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
2014-02-25 11:40:34 +01:00
Marco Serantoni
d475c544c8
[MacOSX] Fixing resize issue in layer setup dialog
2014-02-21 17:38:29 +01:00
Maciej Suminski
151826b206
Upstream merge.
2014-02-21 11:05:28 +01:00
Maciej Suminski
8a8e5d8d14
Quick fix for unsupported pad types in PNS router.
2014-02-21 09:53:10 +01:00
Marco Serantoni
932c92af55
[MacOSX] New reorg for building system, typos and path refines
2014-02-19 22:39:21 +01:00
Marco Serantoni
7da13137da
[MacOSX] Fix for bugs #1258081 and #1267772
2014-02-18 21:30:17 +01:00
jean-pierre charras
fd2afec6f5
Remove some fully outdated code (#pragma, from Henner Zeller's report, and some other things)
2014-02-18 12:41:53 +01:00
Marco Serantoni
fcd17a59ee
[MacOSX] Fix some small issues, this should be the least for scripting
2014-02-17 19:58:03 +01:00
Maciej Suminski
9b1eb35472
Pcbnew: fix OpenGL PNS router track not shown bug. (fixes lp:1275319)
2014-02-15 18:54:51 -05:00
Marco Serantoni
fb9e5b94ca
[MacOSX] support for plugins in the bundle
2014-02-15 11:01:27 +01:00
Cirilo Bernardo
d5064b98a4
Export VRML and IDF maintenance.
...
Fix minor bug in eeschema (opening a relative path does not work) (patch from HennerZeller).
2014-02-15 08:39:06 +01:00
Marco Serantoni
1c5a997f82
[MacOSX] Reorg and preparation to include scripts into Bundles
2014-02-14 22:09:48 +01:00
jean-pierre charras
63eac42d07
Fix a minor error in class D_PAD: void D_PAD::Flip( int Y ) changed to virtual void D_PAD::Flip( const wxPoint& aCentre ) (as defined in BOARD_ITEM)
...
Scripting: fix compatibility current pcbnew version in 2 examples and the default extension of board files in board.i (was .kicad_brd, now is .kicad_pcb)
2014-02-13 18:27:48 +01:00
Miguel Angel Ajo
3329ed26f3
switching to the new python scripting console icon
2014-02-12 22:19:12 +01:00
Maciej Suminski
ec763dfede
NETINFO_ITEM for orphaned items now have empty netname and net code = 0 (to avoid problems).
...
Fixed case for the footprint legacy plugin when added module's do not have set parent (BOARD).
Added copyright notice for pcbnew/class_netinfolist.cpp (feel free to correct, it is just copied from corresponding header file).
2014-02-12 18:01:03 +01:00
jean-pierre charras
29a1bdb32a
Fix issues in print mirror. (include some changes coming from Cirilo Berdarno's patch)
...
gr_basic.cpp: rewrite the function which draws the outlines of a thick segment.
2014-02-12 11:03:34 +01:00
Nick Østergaard
f214a57629
Fix wrong numbering in the QFP footprint wizard python script
2014-02-12 08:59:56 +01:00
Fabrizio Tappero
7061d6c2a5
Icon update, and an other very minor fix.
2014-02-11 19:32:09 +01:00
Maciej Suminski
e6a01e5a41
Fixed ratsnest related segfaults on BOARD destruction.
2014-02-11 14:26:33 +01:00
Lorenzo Marcantonio
29dcb49c62
- Do not autonumber NPTH pads on add in module editor (keep the number blank)
...
Factored out the next-pad-number function
2014-02-10 18:19:15 +01:00
jean-pierre charras
c935624779
Use environment KISYS3DMOD to know defaut path for 3D shapes in footprint editors dialogs.
2014-02-10 10:30:08 +01:00
Miguel Angel Ajo
bbcd2c61d6
BOARD saving test
2014-02-09 00:21:47 +01:00
Marco Serantoni
2acaa2871d
[MacOSX] Fixing build system, sorry guys, refining build system and make building smoother.
2014-02-08 16:15:06 +01:00
jean-pierre charras
fff54d759e
Add the environment variable KYSYS3DMOD to define a default path for 3D models.
2014-02-08 11:44:55 +01:00
Maciej Suminski
222017758c
Moved PCB_VISIBLE size check to .cpp.
2014-02-07 20:54:58 +01:00
Maciej Suminski
9ef713dfa8
Right click on an item when there is nothing selected - enables the context menu.
2014-02-07 20:44:34 +01:00
jean-pierre charras
d6f348f41e
Remove duplicate icon apply.svg (use ckecked_ok.svg instead which is the same icon).
...
Add a workaround to fix a new bug in wxWidgets 3.0 ( Windows specific ) which shows icons only with a size = 16x16 in menus which have attribute wxITEM_CHECK
2014-02-07 20:32:08 +01:00
Marco Serantoni
c441c287b0
[MacOSX] Fixing minor issue for wxPython
2014-02-07 20:19:53 +01:00
Maciej Suminski
63e4defd2a
Corrected bounding box for arcs (DRAWSEGMENT).
2014-02-07 19:55:40 +01:00
Marco Serantoni
eb34364d89
[MacOSX] Automating building for OSX with KICAD_SCRIPTING, see Documentation/compiling/mac-osx.txt
2014-02-07 19:53:54 +01:00
Cirilo Bbernardo
87d2caa4c6
IDF export: fix incorrect rotation of flipped items.
2014-02-07 17:01:46 +01:00
Maciej Suminski
25dfbcd39f
Upstream merged.
2014-02-07 09:52:47 +01:00
Maciej Suminski
d124cf45f3
Reverted changes introduced by the revision 4655.
2014-02-06 21:34:03 +01:00
jean-pierre charras
f366f26523
Fix some incorrect icons (which were using a not supported font for texts). Add ps_router icon from Konstantin Baranovskiy.
2014-02-06 15:13:31 +01:00
Maciej Suminski
468e14f003
Merged ratsnest_threadsafe branch.
2014-02-05 11:55:04 +01:00
Maciej Suminski
3a15f5ad28
Initialized value to suppress Valgrind warnings.
2014-02-05 11:33:45 +01:00
Maciej Suminski
17c030aa98
Fixed removal of items in the KiCad-default style.
2014-02-05 11:08:34 +01:00
Maciej Suminski
857956e42e
Fixed bug introduced in the last commit.
2014-02-05 10:47:55 +01:00
Maciej Suminski
d7517e472b
Some items were still marked as selected after undoing an operation.
2014-02-05 10:30:50 +01:00
Cirilo Bernardo
fbe8484225
Apply IDF tools patch from Cirilo Bernardo
2014-02-05 10:27:21 +01:00
Maciej Suminski
a9031edc0d
Grip margin is relative to the world's zoom.
2014-02-05 10:17:14 +01:00
Maciej Suminski
f922533978
Added possibility for editing pads properties.
2014-02-05 09:05:27 +01:00
Maciej Suminski
8df0f769f7
Added KiCad-style modification methods (hover over an item and press a hot key, without selecting first).
...
Modification point is selected basing on the number of selected items.
Rotation angle setting (Preferences->General) is taken into account while rotating.
2014-02-04 17:27:00 +01:00
Maciej Suminski
625dcddb27
Added 2 tool actions:
...
- pcbnew.InteractiveSelection.Single for selecting a single item
- pcbnew.InteractiveSelection.Clear for clearing the selection
Made SELECTION_TOOL::clearSelection private.
2014-02-04 16:03:56 +01:00
Maciej Suminski
106fa9bbd8
Edit tool may still be activated if it was invoked with no selected items.
2014-02-04 14:21:29 +01:00
Maciej Suminski
347649e855
Protection against non consecutive net codes.
2014-02-04 13:40:39 +01:00
Maciej Suminski
82ca611ed3
SELECTION_TOOL::SELECTION::Clear made private, as there was no chance to call it outside the SELECTION_TOOL class.
2014-02-04 11:37:54 +01:00
Dick Hollenbeck
142782b402
remove wxApp()::FindLibraryPath() usages from Pcbnew. Use environment variable substitution.
2014-02-03 15:39:42 -06:00
Maciej Suminski
f87b6962e0
Enabled PNS for selected items.
2014-02-03 18:09:17 +01:00
Maciej Suminski
f6aa447036
Ratsnest lines for zones are removed when a zone is dragged.
2014-02-03 17:40:39 +01:00
Dick Hollenbeck
4f26386e8d
Initial KIWAY (modular-kicad) work. Various tweeks.
2014-02-03 09:10:37 -06:00
Maciej Suminski
3f5c3d4349
Minor changes (fix cvpcb build issue, wx2.8 compatibility, some other stuff).
2014-02-03 16:02:54 +01:00
Maciej Suminski
63bc40b58e
Takes into account hidden module text settings.
2014-02-03 07:22:31 -06:00
Maciej Suminski
fff616c8dc
Moved netnames (GAL specific layers) to a separate enum, to avoid saving/reading their settings from files.
...
Added a check for the number of PCB_VISIBLE elements.
Worksheet & general purpose overlay layers are visible by default.
2014-02-03 14:14:53 +01:00
Maciej Suminski
2fe85cf43d
Minor changes.
2014-02-03 13:26:25 +01:00
Maciej Suminski
864c86062d
Changed ROUTER_PREVIEW_ITEM layer.
2014-02-03 13:09:10 +01:00
Maciej Suminski
db252ea88c
Changed BOARD_DESIGN_SETTINGS::m_VisibleElements from int to long, to assure at least 32 bits length (without depending on the platfrom int size).
2014-02-03 13:08:01 +01:00
Maciej Suminski
44861f5889
Fixed tracks of 0 width causing division by 0 error.
2014-02-03 13:05:27 +01:00
Miguel Angel Ajo
15bfac3f4e
Moved QA to root.
2014-02-02 22:50:45 +01:00
Dick Hollenbeck
741bfb685b
Another attempt at wxFrame::SaveSettings() standard infrastructure.
2014-02-02 14:18:10 -06:00
Cirilo Bernardo
5a6665ec08
Dxf import fix (patch from Cirilo Bernardo, with a minor change)
2014-02-02 10:07:02 +01:00
Carl Poirier
1490099ddd
Parallelized the RN_DATA::Recalculate() function.
2014-01-31 18:27:06 +01:00
Maciej Suminski
0c67e26e9c
Added the dynamic ratsnest for the tracks that are currently routed with the PNS router.
2014-01-31 18:05:11 +01:00
Maciej Suminski
3e2e11fb42
Undo/redo buffer fixed once again..
2014-01-31 16:08:20 +01:00
Maciej Suminski
24ba75ba92
Minor change to clearing selection handling.
2014-01-31 14:52:01 +01:00
Maciej Suminski
630a3fb1b9
Safer RN_NET::GetNodes()
2014-01-31 14:41:15 +01:00
Maciej Suminski
7f3bf1bef7
Added missing operators==/!= for RN_NODE_PTR.
...
Moved ClearSimple() functions back to the header file.
2014-01-31 13:19:59 +01:00
Maciej Suminski
7f4648149b
Ratsnest is updated after backend switch.
2014-01-31 13:14:18 +01:00
Maciej Suminski
3827f495ca
Ratsnest color is saved in RENDER_SETTINGS. Temporary ratsnest is drawn using a brightened color.
2014-01-31 11:16:01 +01:00
Maciej Suminski
5fea60d20f
Fixed undo/redo while routing with the PNS error.
2014-01-30 17:11:40 +01:00
Maciej Suminski
510fee1358
Another way of handling items for the ratsnest (clearer and now finally supports undo/redo of the PNS created tracks).
2014-01-30 15:46:39 +01:00