jean-pierre charras
54fe060b5a
add tool to open system file browser to main toolbar
2018-11-02 13:51:13 +01:00
jean-pierre charras
d3dc56a42f
pl_editor: cosmetic enhancements
2018-11-02 13:47:48 +01:00
jean-pierre charras
d465af65a7
LIB_FIELD: fix incorrect text thickness for small sized texts.
...
Also remove duplicate code.
2018-11-02 11:36:07 +01:00
Maciej Suminski
b7b9cccffc
Moved wxPython/Phoenix detection to a separate CMake module
2018-11-02 11:28:30 +01:00
Maciej Suminski
23e574fbcd
Remove a redundant semicolon in Python path configuration command
2018-11-02 10:40:05 +01:00
Maciej Suminski
1c19a50f31
Add license header to Findngspice.cmake
2018-11-02 09:42:08 +01:00
Maciej Suminski
179c46ce49
Handle another type of wxPython/Phoenix version string
...
Fixes: lp:1801109
* https://bugs.launchpad.net/kicad/+bug/1801109
2018-11-02 09:42:08 +01:00
jean-pierre charras
5e44686711
Eeschema, symbol editor: re-enable PNG export and fix a minor issue in SVG export (was in B&W mode instead of color).
...
Add a comment in plotter.h to avoid other errors when selecting plotting mode B&W or color
Fixes: lp:1801058
https://bugs.launchpad.net/kicad/+bug/1801058
2018-11-02 09:24:55 +01:00
jean-pierre charras
a55950bd68
DIALOG_COLOR_PICKER_BASE: fix a minor wxWidgets alert.
2018-11-01 16:51:14 +01:00
Seth Hillbrand
672e98bd89
Phoenix: Fix wxwidget version
...
Phoenix reports version 4.x but wxWidgets do not follow this version.
Phoenix also does not have or require the wxPython.h file.
Fixes: lp:1801109
* https://bugs.launchpad.net/kicad/+bug/1801109
2018-11-01 08:49:51 -07:00
jean-pierre charras
ad99983672
Windows build: link gdiplus library on all Windows targets, not only mingw.
2018-11-01 16:03:21 +01:00
jean-pierre charras
601e0a31b5
Open project folder in host OS: refinements.
...
Remove 2 png files that should not be is trunk.
2018-11-01 15:11:29 +01:00
Ashutosh Gangwar
efe6b04ca2
kicad: Open project folder in host OS
...
NEW: Adds support to browse project directory in default file manager in the host OS
CHANGED: Main frame's Browse menu now contains third option to Browse Project Files
Fixes: lp:1584977
https://bugs.launchpad.net/kicad/+bug/1584977
2018-11-01 09:11:42 +01:00
jean-pierre charras
8be3471ba2
Windows specific: define GDI_PLUS_LIBRARIES even if USE_WX_GRAPHICS_CONTEXT is not used.
...
Because the cairo printing system uses gdiplus library, GDI_PLUS_LIBRARIES must be always defined
2018-11-01 08:38:23 +01:00
John Beard
bf42247971
Eeschema: fix potential crash when closing Kicad app.
...
The crash happens when a wxPaint event is fired after deleting the schematic frame.
It happened only on one Linux install.
Fixes: lp:1800874
* https://bugs.launchpad.net/kicad/+bug/1800874
2018-11-01 08:27:19 +01:00
Maciej Suminski
08814b0512
Small layout adjustments in DIALOG_PRINT_GENERIC
2018-10-31 19:17:30 +01:00
Maciej Suminski
ca1687d7ce
Fixed disabling the block title for footprint editor printouts
2018-10-31 19:17:30 +01:00
Maciej Suminski
afda69c9cc
Removed default line width setting from the printing dialog
2018-10-31 19:17:30 +01:00
Maciej Suminski
38f94483f4
Warn the user about wxWidgets/Python toolkit mismatch instead of overriding the setting
2018-10-31 19:17:30 +01:00
Maciej Suminski
948f28ebcc
Enforce the same toolkit version for wxWidgets and wxPython libraries
...
Fixes: lp:1747677
* https://bugs.launchpad.net/kicad/+bug/1747677
Fixes: lp:1783634
* https://bugs.launchpad.net/kicad/+bug/1783634
2018-10-31 19:17:30 +01:00
Maciej Suminski
cbf7d708b2
pcbnew: Draw title block normally even when the view is flipped
2018-10-31 19:17:30 +01:00
Maciej Suminski
6602e17edc
Add copyright header to sch_view.h
2018-10-31 19:17:30 +01:00
Maciej Suminski
a18be5d37c
Adjust GAL world unit for eeschema
2018-10-31 19:17:30 +01:00
Maciej Suminski
64da77538f
Fix bitmap scale in printouts
...
Display GALs had an incorrect world unit value set. Now the world unit
value says how many internal units are in an inch, in accord with the comments
in the GAL header. Bitmap drawing code relied on the information about DPI,
so scaling worked differently for display and print GALs.
2018-10-31 19:17:30 +01:00
Maciej Suminski
7ab8171422
Disabled translucency in printouts as it is not supported by cairo
2018-10-31 19:17:30 +01:00
Maciej Suminski
262a105416
Disable zone outlines and hatched lines rendering in printouts
2018-10-31 19:17:30 +01:00
Maciej Suminski
42c5fc0ef8
Link GDI+ library when building libgal
2018-10-31 19:17:30 +01:00
Maciej Suminski
3d15092643
Fixed loading layer visibility setting for printouts
2018-10-31 19:17:30 +01:00
Maciej Suminski
90b6156448
Store line width setting for printouts
2018-10-31 19:17:30 +01:00
Maciej Suminski
b727b310b4
Fix 'fit to page' for print outs
2018-10-31 19:17:30 +01:00
Maciej Suminski
d3ea63e133
Removed a redundant parameter from BOARD_PRINTOUT constructor
2018-10-31 19:17:30 +01:00
Maciej Suminski
ff0909c90c
Fully initialize PCB_RENDER_SETTINGS::m_sketchMode
2018-10-31 19:17:30 +01:00
Maciej Suminski
dea778842b
Grand printing dialogs refactor
...
Patch introduces a generic printing settings window that is customized by pcbnew and gerbview.
2018-10-31 19:17:30 +01:00
Maciej Suminski
e81c3a59a2
Refactored and unified board editor and footprint editor print dialogs
2018-10-31 19:17:30 +01:00
Maciej Suminski
562b8d7948
Printing code clean-up
2018-10-31 19:17:30 +01:00
Maciej Suminski
92c5cb288e
Fixed scale in Gerbview printouts
2018-10-31 19:17:30 +01:00
Maciej Suminski
8cb464b725
Handle drill mark options in pcbnew printouts
2018-10-31 19:17:30 +01:00
Maciej Suminski
3e5ee254cf
Fix for 'fit to page' scaled printouts
2018-10-31 19:17:30 +01:00
Maciej Suminski
698a380827
Clear selection before printing
...
Selected objects are hidden in VIEW, that makes them disappear from
printouts.
2018-10-31 19:17:30 +01:00
Maciej Suminski
347e21daaa
Handle printout settings: line width, color/mono, mirror
2018-10-31 19:17:30 +01:00
Maciej Suminski
47d0eaa2c6
GAL: changed line width setting to float type
2018-10-31 19:17:30 +01:00
Maciej Suminski
59f77e68c9
Removed unused pcbnew printing code
2018-10-31 19:17:30 +01:00
Maciej Suminski
1cce194c8a
Handle layer settings in printouts
2018-10-31 19:17:30 +01:00
Maciej Suminski
5b94f20e6f
Adapted printout controllers to the new printing routines
2018-10-31 19:17:30 +01:00
Maciej Suminski
6c689305a6
Decouple GAL printing interface and its Cairo-based implementation
2018-10-31 19:17:30 +01:00
Maciej Suminski
e36f6b476d
Changed the CAIRO_GAL class hierarchy
...
There is a dedicated class for display (CAIRO_GAL) and another one
for printing. The common part has been moved to CAIRO_GAL_BASE.
2018-10-31 19:17:30 +01:00
Maciej Suminski
5a64343fb4
CAIRO_PRINT_CTX class
...
CAIRO_PRINT_CTX provides a Cairo context created from wxPrintDC.
It allows one to prepare printouts using the Cairo library and
let wxWidgets handle the rest.
2018-10-31 19:17:29 +01:00
Maciej Suminski
f948e46330
VIEW: changed wxASSERTs to wxCHECKs
2018-10-31 19:17:29 +01:00
Maciej Suminski
17205b4599
Added VIEW::DataReference() for sharing data with another VIEW instance
2018-10-31 19:17:29 +01:00
Maciej Suminski
1411e1f73a
GAL: added methods to modify rotation in the transformation matrix
2018-10-31 19:17:29 +01:00