jean-pierre charras
bae892dfe5
Pcbnew: make all dialogs derived from DIALOG_SHIM.
2012-10-03 13:25:30 +02:00
jean-pierre charras
c169de804d
Pcbnew: Make scripting version compilable under Windows
2012-10-01 08:04:06 +02:00
jean-pierre charras
0e941708f4
Make scripting version compilable under Windows
2012-09-30 19:50:17 +02:00
jean-pierre charras
6bb4dea501
Eeschema: fix a bug in my previous commit
2012-09-28 20:45:04 +02:00
jean-pierre charras
143af26952
Eeschema: code cleanup, remove dead code and some global and useless variables
2012-09-28 19:47:41 +02:00
jean-pierre charras
63257245e8
Eeschema: fix Bug #1057225
2012-09-27 20:18:56 +02:00
marco.
0355119044
[MacOSX] Updated Icons - Document ones still missing :(
2012-09-27 19:20:44 +02:00
Felix Morgner
21dbfef350
Added support for multi-selection and multi-editing in cvpcb.
2012-09-26 15:57:58 -05:00
Felix Morgner
4fec212627
fixed code to better comply with the coding style guidelines
2012-09-26 19:22:48 +02:00
Felix Morgner
99c1d45fa0
Added mutli-selection to cvpcb
2012-09-26 17:36:48 +02:00
marco.
92f8f006fa
MacOSX - Fixed some issues launching bundles/binaries
2012-09-26 00:33:42 +02:00
jean-pierre charras
5fa61ecd25
Finishing code cleaning in plot functions.
2012-09-25 09:49:29 +02:00
jean-pierre charras
2d49ced742
Pcbnew: fix compil warning and a minor bug in plot negative (frame fer plotted in white therefore not visible).
...
minor code cleaning
2012-09-24 18:03:03 +02:00
jean-pierre charras
c646c2f806
convert_from_iu: erroneous definition of MILS_PER_IU, MM_PER_IU (and therefore Iu2Mils)
...
only for Pcbnew in Decimils version. These definitions are provided, but not yet used in code.
2012-09-24 08:46:20 +02:00
jean-pierre charras
cc47e88b9e
Pcbnew, plot functions: fix bug in SVG plotter, fix a minor other bug when using PS plotter (trcak width fine adjust not working)
...
and plot code cleaning continued
2012-09-24 08:39:59 +02:00
jean-pierre charras
160560c916
pcb_calculator: fix compil issue about isinf (under mingw)
2012-09-22 17:45:15 +02:00
jean-pierre charras
fb193c1232
pcb_calculator: fix compil issue about isinf.
2012-09-22 14:13:57 +02:00
jean-pierre charras
6454d91923
Cvpcb: remove macros MAX, MIN, ABS (forgotten file in my last commit)
2012-09-22 13:29:30 +02:00
jean-pierre charras
b660b033ad
All: remove macros MAX, MIN, ABS from macros.h and replace these macros by std::max, std::min and std::abs (mainly found in old code).
2012-09-22 13:19:37 +02:00
Dick Hollenbeck
210a7036db
switch all <math.h> includes to <cmath> includes on an attempt to dodge some abiguous references to atan2()
2012-09-21 12:02:54 -05:00
jean-pierre charras
eb94e66c9d
Pcbnew: some code cleanup in plot functions.
2012-09-21 10:20:38 +02:00
jean-pierre charras
b1c9c54221
Fix incorrect titles in SVG export dialog
2012-09-20 21:15:14 +02:00
jean-pierre charras
9e0960615a
dcsvg (and therefore KicadSVGFileDC) is now unused. Use SVG plotter only to export a board SVG file.
...
SVG export does not use no more wxWidgets wxDC.
In pcbnew SVG files can be created by plot menu (in B&W) or export SVG menu (B&W or Color).
Export SVG menu is more suitable to create a view of a board, and plot menu is better to create a B&W document of silkscreen layers.
(In the future, the 2 menus could be merged, because they are not very different).
Note: pcbnew plot code is cleaned, mainly in dialog files, but still needs more cleanup.
2012-09-20 20:58:41 +02:00
Craig Southeren
436c17f60b
This fixes a MSVC compile error caused by a static scalar initialiser.
2012-09-20 08:54:35 -05:00
Craig Southeren
534c8a8944
Fix MSVC compile errors caused by struct forward declared as class
2012-09-20 08:38:50 -05:00
Dick Hollenbeck
136d84ef3c
fmin() was giving grief to MSVC, switch to std::min()
2012-09-20 08:22:33 -05:00
Dick Hollenbeck
44ced95e66
This change fixes a compile error on MSVC
2012-09-20 08:15:12 -05:00
jean-pierre charras
5179ed926b
eeschema: plot functions: code cleaning.
...
SVG plotter: fix issues in draw arc and draw rectangle.
2012-09-18 16:50:30 +02:00
jean-pierre charras
c3ecce2ec6
Eescheam: plot HPGL: add comments and minor fix.
2012-09-18 10:39:56 +02:00
jean-pierre charras
5590e1ebf5
eeschema: plot dialog: minor fix
2012-09-17 21:28:17 +02:00
jean-pierre charras
0037e153a0
Eeschema: Plot dialogs: unify 5 dialogs (which means 5 duplicate code) to only one plot dialog (like in Pcbnew)
...
remove duplicate code and clean it.
Simplify HPGL dialog: plot offet removed and replaced by only one option:
plot origin to center of sheet or not (some HPGL plotters have the plot origin to center of the paper area,
and others have this origin at the bottom left corner)
This is surely enough.
2012-09-17 20:39:42 +02:00
Marco Mattila
3ed33e3912
Move pcbnew pcb edge layer plot checkbox to common plot options
2012-09-17 21:14:41 +03:00
jean-pierre charras
996bf80d1f
Add missing files
2012-09-17 19:56:40 +02:00
jean-pierre charras
16064881be
Eeschema: Plot dialogs: unify 5 dialogs (which means 5 duplicate code) to only one plot dialog (like in Pcbnew)
...
clean duplicate code.
Simplify HPGL dialog: plot offet removed and replace by only one option (plot origin to center of sheet or not)
This is surely enought.
2012-09-17 19:42:27 +02:00
jean-pierre charras
a9744e3f84
Pcbnew: added: SVG plotter. Need refinements, but works.
...
Mainly to plot drill maps, but can be used to plot boards, for documentation.
The print svg still exists, but the plot SVG has more options (mirroring, holes in pads),
however print svg allows color print, and full board printing, and plot does not.
2012-09-15 14:13:03 +02:00
jean-pierre charras
a2b9241ea3
Pcbnew: fix minor issue when loading a foorprint: if the footprint name has lower case letters, the name was asked twice
2012-09-13 14:15:24 +02:00
jean-pierre charras
819589cf05
All: fix most of Doxygen warnings.
2012-09-12 19:28:55 +02:00
jean-pierre charras
3ff16a0b14
Pcbnew: fix compil error I created in my previous commit.
...
All: fix some Doxygen warnings
2012-09-12 13:11:30 +02:00
jean-pierre charras
93ebdb2cd0
All: better code to handle opened frames libview, libedit, modview, modedit.
...
Other minor fixes.
2012-09-12 11:53:11 +02:00
jean-pierre charras
b810135e4e
Code cleaning, minor fixes and minor coding style fixes. wxWidgets 2.9.4 compatibility fix( deprecated function MakeModal )
2012-09-11 21:03:21 +02:00
jean-pierre charras
bb6795ddf1
Pcbnew: drag functions: serious cleanup and better code. Use now the connectivity functions to find tracks connected to pads,
...
and therefore tracks are now dragged when a end point is inside a pad, not necessary on the pad position.
However, drag functions still need more cleanup.
2012-09-11 09:33:17 +02:00
jean-pierre charras
3668f4ccc3
Pcbnew: cleanup functions: now, cleanup uses same algorithm as connectivity calculations to detect pads connections, and is faster.
...
therefore tracks which have a end point inside a pad, but not necessaryexactly to the pad position are seen as connected, and are no more removed.
Side effect: reconnect to pads option is removed, because it is useless.
TODO: use this algorithm in drag functions.
Minor other fixes
2012-09-07 21:29:44 +02:00
Dick Hollenbeck
5aec46049d
apply DIALOG_SHIM to dialog_lib_edit_text_base and make dialog_lib_edit_pin_base apportion more width for pin name
2012-09-07 11:15:18 -05:00
Lorenzo Marcantonio
7d154606be
Substituted the few remaining uses of long instead of time_t
2012-09-05 14:13:33 +02:00
jean-pierre charras
61c3339d09
The last one compil error fix.
2012-09-02 19:53:34 +02:00
jean-pierre charras
05dc1bbf3d
fix compil errors
2012-09-02 18:38:52 +02:00
Lorenzo Marcantonio
a66e910827
Another fix for wx2.9 compilation (same issue as before, another call...)
2012-09-02 17:46:19 +02:00
Lorenzo Marcantonio
34c74d17b4
Probable fix for compilation under wx 2.9 (doesnt hurt anyway)
2012-09-02 16:13:50 +02:00
Lorenzo Marcantonio
e771112259
Enforced EDA_COLOR_T type and minor const-ification
2012-09-02 14:06:47 +02:00
Lorenzo Marcantonio
3157b4d188
Enforced EDA_COLOR_T type and minor const-ification
2012-09-02 13:01:12 +02:00