Wayne Stambaugh
38e7debdec
Merge Cirilo's OCE plugin branch.
2016-09-01 16:36:45 -04:00
Chris Pavlina
4b6d28333e
Revert "Memoize SHAPE_LINE_CHAIN bounding box computation"
...
This reverts commit 30566de69a
, which
caused some issues in PNS.
2016-09-01 12:09:06 -04:00
Maciej Suminski
fcedef836a
Revert "Do not use double component primitives in Spice netlist exporter"
...
This commit creates more issues than resolves. It could happen that
there are components with different reference types (e.g. U1 and IC1)
that would be later converted to X1, causing a conflict.
2016-08-31 11:51:17 +02:00
Wayne Stambaugh
9287b42648
Revert commit 67230ac8e7
.
2016-08-30 09:04:25 -04:00
Maciej Suminski
81e015036e
Fixes for drawing color labels in simulator's signal list
2016-08-30 14:25:59 +02:00
Maciej Suminski
f954abae4e
Comments for NETLIST_EXPORTER_PSPICE
2016-08-30 14:25:59 +02:00
Maciej Suminski
67573f15be
Do not use double component primitives in Spice netlist exporter
...
Fixes: lp:1617768
* https://bugs.launchpad.net/kicad/+bug/1617768
2016-08-30 14:25:56 +02:00
Johannes Maibaum
b87bac22c7
Simulator: Fix probe and tune cursors on OSX.
2016-08-30 10:48:40 +02:00
jp-charras
69e4231303
Sch editor and Simulator: close the simulator frame when the schematic editor is closed, to avoid crash, due to the fact the simulator can try to access to a no more existing frame..
2016-08-29 19:47:08 +02:00
jp-charras
26b1c732de
Simulator: add simulator icon, and colored icons to identify more easily traces in trace list and cursor list.
2016-08-29 11:39:54 +02:00
jp-charras
440f8c8b69
Fix an issue in DRC min via drill value, created in git commit 3a92db4312
2016-08-28 21:26:51 +02:00
Chris Pavlina
82ed0fde32
Fix shared data access in raytracer, tidy up render loop
...
Render loop lost track of which blocks had been rendered due to a
synchronization issue. Specifically, std::vector<bool> is special-cased
as a bitfield and so is pretty much guaranteed not to be atomic unless
synchronized externally.
Also:
- Clean up types of a few variables
- Clean up openmp sharing type of variables (may result in better
optimization)
- Replace shared rendered block count with an openmp reduction (results
in fewer locks)
Fixes: lp:1608289
* https://bugs.launchpad.net/kicad/+bug/1608289
2016-08-28 02:13:55 -04:00
Niki Guldbrand
67230ac8e7
Keep Source tree clean
...
* Move all generated files to the build tree during build so the source
tree is kept clean.
Signed-off-by: Niki Guldbrand <niki.guldbrand@gmail.com>
2016-08-26 17:25:12 -04:00
Niki Guldbrand
80b52c8a5d
Cleanup after switch to Git
...
* Remove the .gitconfig file, it's only purpose was to load the
ignore file from bzr which has now been renamed to .gitignore.
Signed-off-by: Niki Guldbrand <niki.guldbrand@gmail.com>
2016-08-26 07:15:53 -04:00
jp-charras
36ff4b5e93
Merge branch 'master' of git+ssh://git.launchpad.net/kicad
2016-08-25 09:37:20 +02:00
jp-charras
9d5300b284
Fix: Pcbnew net class editor is chopping off net class names
...
Fixes: lp:1616599
* https://bugs.launchpad.net/kicad/+bug/1616599
2016-08-25 09:35:35 +02:00
Maciej Suminski
ca499b80e1
Fixed wxLogTrace() calls in PNS
...
Fixes: lp:1616702
* https://bugs.launchpad.net/kicad/+bug/1616702
2016-08-25 09:24:55 +02:00
Simon Richter
91e953868a
DRC: Test all segments
...
The DRC also runs per-segment tests, not just segment-segment, so the last
segment needs to be tested as well, with an empty list of segments to test
against.
2016-08-24 22:17:39 -04:00
Simon Richter
3a92db4312
DRC: Add test for via drill size
...
This test is only run when the via size itself is acceptable, to avoid
bigger changes to the codebase.
2016-08-24 22:17:21 -04:00
Simon Richter
260b0f6b5f
Via properties: apply microvia settings to microvias
2016-08-24 22:16:21 -04:00
Jon Neal
532a5fb827
Small grammar fix
2016-08-24 16:18:04 -04:00
jp-charras
fdd434244c
dialog footprint properties: better tool-tips
2016-08-24 18:20:20 +02:00
jp-charras
d0fbd32bee
dialog edit footprint properties: Generate an error message if a parameter is incorrect.
...
(previously when happens, no message but the dialog cannot be closed)
2016-08-24 17:18:51 +02:00
jp-charras
4a3cb050ed
Fix incorrect management of C locale in vrml plugin
2016-08-24 14:37:30 +02:00
Wayne Stambaugh
e1ab68638f
Renamed .bzrignore to .gitignore.
2016-08-22 14:50:23 -04:00
Maciej Suminski
30e3097484
Findngspice.cmake: Refined build instructions
2016-08-22 16:08:45 +02:00
Maciej Suminski
cf537023c9
Findngspice: add a message explaining the current libngspice status
2016-08-22 14:39:35 +02:00
Cirilo Bernardo
b656a8180a
Added 3D plugin for OCE; this plugin is activated by -DUSE_OCE=ON
2016-08-22 15:50:38 +10:00
jean-pierre charras
7e3aedda82
Slightly modify the way DIALOG_SIM_SETTINGS m_settingsDlg is created in SIM_PLOT_FRAME frame: for an obscure reason, if it is created in ctor SIM_PLOT_FRAME, m_settingsDlg has an annoying issue on Windows: when shown, the parent SIM_PLOT_FRAME is sent to the background. When created outside the ctor, this issue is gone.
2016-08-20 19:51:33 +02:00
jean-pierre charras
2456db3817
Simulator: Make a few strings translatable.
2016-08-20 17:37:51 +02:00
jean-pierre charras
13cfe74956
Simulator dialogs: fix minimal sizes and best sizes.
2016-08-20 17:25:51 +02:00
jean-pierre charras
c0b1e4cd38
Do not allow spaces in component name (value field) in component library editor, in dialogs (Edit field, Create component).
...
In component libraries, a space in name breaks the library, and is not allowed.
2016-08-19 18:42:39 +02:00
Maciej Suminski
7ea120c2a1
Spice model editor by default looks for libraries in the project directory when there is no library assigned
2016-08-19 17:33:26 +02:00
Maciej Suminski
e1d20dd6e3
NETLIST_EXPORTER_PSPICE skips removed pins when processing a list of sorted pins.
...
NETLIST_EXPORTER marks removed duplicates by setting them to NULL in m_SortedComponentPinList vector.
2016-08-19 17:32:30 +02:00
jean-pierre charras
ea59ce40e1
sch_legacy_plugin.cpp: fix compil warnings about incorrect return type.
2016-08-19 17:31:46 +02:00
Maciej Suminski
42f6cf33a1
Unbind REPORTER from NGSPICE before deleting
2016-08-19 16:39:46 +02:00
Maciej Suminski
fe30985742
Do not delete the NGSPICE singleton
2016-08-19 16:33:31 +02:00
Maciej Suminski
2a6b8f153b
NGSPICE as a singleton
...
One cannot call ngSpice_Init() twice without unloading the dll. When calling
ngSpice_Init, we pass a pointer to a NGSPICE instance and thus it cannot be changed.
When any of the callback function is called with a stale pointer everything crashes.
2016-08-19 15:51:19 +02:00
Wayne Stambaugh
bcfce68daa
Fix debug build warning due to improper debug macro.
2016-08-19 08:53:06 -04:00
jean-pierre charras
9f46d83175
Gerbview: locate item now does not take in account not visible layers. Remove an unused file
...
3d viewer: Remove a few ToUTF8() bad usage (replaced by GetData() )
2016-08-19 09:45:59 +02:00
Wayne Stambaugh
eaa7f3f114
Eeschema: implement schematic I/O plugin symbol library parser.
...
* Write SCH_LEGACY_PLUGIN_CACHE object for handling the legacy symbol library
file format.
* Write legacy symbol library file parser.
* Write code to transfer cache to PART_LIB object so existing library save
code can be used for round trip testing. This is temporary until Eeschema
is updated to use the plugin for library management rather than PART_LIB.
* Add LIB_XXXX object helper functions where there was no way to set the member
variables of an object.
* Give the cache object friend status to some object where there are incredibly
byzantine ways of setting text in LIB_XXXX objects.
2016-08-18 19:23:10 -04:00
Maciej Suminski
cac571c056
Initialize ngspice only once
2016-08-18 18:10:00 +02:00
Maciej Suminski
ad3c2ac4ea
NGSPICE_NETLIST_EXPORTER: Display a message if there is a missing library. Wrap library file names in quotes.
2016-08-18 18:06:26 +02:00
Maciej Suminski
7f5bce3772
More robust condition for checking sufficient space in CACHED_CONTAINER
...
Having enough space is not enough, we need a continuous block of memory.
2016-08-18 17:18:13 +02:00
Maciej Suminski
630d5e04fe
Ratsnest NODE stores its parents in a set instead of a list
...
It happens that the same parent is assigned multiple times, but then removed once, causing ratsnest artifacts.
2016-08-18 17:17:52 +02:00
Wayne Stambaugh
5f2099f0d2
Add simulation demo folder to install target list.
2016-08-17 15:11:43 -04:00
Maciej Suminski
78050c05e2
Changed PNS logging routine to wxLogTrace
2016-08-17 16:00:21 +02:00
Maciej Suminski
9f0b42cb35
pns: fixed a few memleaks & conditional jumps depending on uninitalized variables
2016-08-17 15:09:48 +02:00
jean-pierre charras
7909de6127
Gerbview: better management of d_codes list in toolbars.
2016-08-17 10:19:10 +02:00
jean-pierre charras
3f1a90c8a4
3D viewer; Fix a few incorrect use of ToUTF8() in log and error messages. Only noticeable when messages contain non ASCII7 chars.
2016-08-17 09:37:51 +02:00