Russell Oliver
2a0a999350
Eeschema Eagle Import: Code clean-up and formatting
2017-10-20 09:34:32 +02:00
Maciej Suminski
985aed36c7
Moved FMT_UI & FMT_ANGLE macros to a separate header
2017-10-20 09:34:32 +02:00
Russell Oliver
3b0855d204
Eagle Project Import: Code cleanup and documentation.
...
- Also makes the project and file import functions filetype dependent.
- The change from IO_MGR::KICAD to IO_MGR::KICAD_SEXP removes a conflict from a compile definition for KICAD when compiling kicad/import_project.cpp
2017-10-20 08:58:40 +02:00
Russell Oliver
230e8978f5
Eagle Parser: Fix overwritten changes
2017-10-20 08:58:40 +02:00
Russell Oliver
869743d573
Kicad Eagle Project Import Improvements. -- schematic and board files are both visible in file selection dialog. -- Allows for the selection of either the board or schematic file. -- silently fails on not detecting the corrosponding board or schematic file. -- all new kicad files are generated in new project directory -- Silently read netlist without generating annotation warnings which synchronises timestamps and paths based on given eagle references, otherwise renumbering schematic references will break links accross schematic and pcbnew.
2017-10-20 08:58:40 +02:00
Russell Oliver
3145829b77
Fix compiler redefined warnings for FMT_IU
2017-10-20 08:58:40 +02:00
Russell Oliver
a8fa64f158
Eeschema Eagle Import: Shift convertTextSize to common eagle parser.
2017-10-20 08:38:42 +02:00
Russell Oliver
433aa653fe
Kicad: Add Project import function. -- add menu entry -- add ImportFile kiway function -- expose functions for creating/reading netlist -- add example eagle boad file as well
2017-10-20 08:38:42 +02:00
Maciej Suminski
08907d4fe8
Eeschema Eagle Import: generate unique timestamps for multiunit parts
2017-10-20 08:38:42 +02:00
Maciej Suminski
2adc3d48b4
Eeschema Eagle Import: Assign timestamps for modules
2017-10-20 08:38:39 +02:00
Maciej Suminski
f5e7c2ee48
Eeschema Eagle Import: Check if alignment is defined before parsing
2017-10-20 08:38:39 +02:00
Russell Oliver
bb754b33d0
Eeschema Eagle Import: Parse instance attributes for value and refererence positions and alignment.
2017-10-20 08:38:38 +02:00
Russell Oliver
c274a21548
WIP: Symbols are imported and displayed, and save to cache file on schematic save.
2017-10-20 08:38:38 +02:00
Russell Oliver
b9edfe4fe4
WIP: Refactor symbol importation to account for multiple gates and device connect pin maps.
2017-10-20 08:38:38 +02:00
Russell Oliver
82cc0c7e2e
Common: Eagle parser add EPART, EINSTANCE, EGATE, ECONNECT, EDEVICE
2017-10-20 08:38:38 +02:00
Russell Oliver
96317fb7c3
Common: Reorder some functions in eagle_parser.*
2017-10-20 08:38:38 +02:00
Maciej Suminski
e03bc32e49
Eagle plugin: Code formatting
2017-10-20 08:38:38 +02:00
Maciej Suminski
f049b01a59
Eagle plugin: Added 'static' and 'const T&' as applicable
2017-10-20 08:38:38 +02:00
Russell Oliver
ea8f7ed02d
Eeschema: Eagle plugin> work on schematic and symbol elements
2017-10-20 08:38:37 +02:00
Maciej Suminski
c727423979
Work in progress
...
- !! Eeschema uses Eagle plugin for loading schematics (i.e. it does not
use KiCad format anymore)
- Fixed build errors
- Fixed a few crashes
- Code formatting
2017-10-20 08:38:37 +02:00
Maciej Suminski
f5b2a2ea57
Code formatting and cleanup
2017-10-20 08:38:37 +02:00
Tomasz Włostowski
bcde2a77e2
common/single_top: allow to launch footprint editor from the command line (--frame switch)
2017-10-19 23:15:48 +02:00
Tomasz Włostowski
dc7b743782
common: VECTOR2I-based RotatePoint()
2017-10-19 23:15:13 +02:00
Tomasz Włostowski
d2c9a5d81a
geometry: Area() method in SHAPE_LINE_CHAIN
2017-10-19 23:14:36 +02:00
jean-pierre charras
b5f23befeb
Fix incorrect initialization of default colors for some items.
...
Fix incorrect detection of key handled in footprint_wizard_frame.cpp
2017-10-09 10:35:53 +02:00
jean-pierre charras
246f8cae24
Fix missing initialization of colors settings of a board, when created by a python script.
...
A pointer was not initialized, therefore plots from a python script sometimes crash.
Fixes: lp:1721166
https://bugs.launchpad.net/kicad/+bug/1721166
2017-10-08 16:21:27 +02:00
jean-pierre charras
4905bbe500
hotkey management: enhancements in code to know if a hotkey was handled by an event or not.
...
No actual change in key management: in legacy it was partially existing, and not yet used in GAL mode.
2017-10-06 09:23:13 +02:00
jean-pierre charras
1164eaab72
Make the "No Net" mark color editable (mark for pads having no net name)
...
Note: this mark is currently drawn only in legacy canvas.
2017-10-05 20:11:55 +02:00
jean-pierre charras
acccb10ca5
Minor fix: Fix a incorrect min size of COLOR4D_PICKER_DLG on Linux+KDE
2017-10-04 16:35:57 +02:00
jean-pierre charras
4b010ca129
Fix useless trailing and leading spaces in a few messages. Fix also capitalization in a few menus.
2017-10-02 09:25:48 +02:00
Kristoffer Ödmark
c0981b8444
Added a new plugin that can save and load to clipboard, using ctrl+shift+c/v for copy pasting
...
Added the needed kicad_clipboard files and made copy pasted modules have no path
2017-09-30 14:28:53 +02:00
Maciej Suminski
4bd51b7049
Fixed EDA_BASE_FRAME::removePaneBorder() for classes not using AUI
...
Fixes: lp:1720386
* https://bugs.launchpad.net/kicad/+bug/1720386
Fixes: lp:1720388
* https://bugs.launchpad.net/kicad/+bug/1720388
Fixes: lp:1720389
* https://bugs.launchpad.net/kicad/+bug/1720389
2017-09-29 17:08:32 +02:00
jean-pierre charras
5aeb6129ca
Fix a bug in KIGFX::COLOR4D ctor: . The alpha channel (opacity) was set to 0. this is a mistake. It is now set to 1.0
...
Fixes lp:1718389
2017-09-29 14:52:51 +02:00
Maciej Suminski
6006b54dd9
Fixed a crash when editing a pad of a bottom layer module
...
Fixes: lp:1720007
* https://bugs.launchpad.net/kicad/+bug/1720007
2017-09-28 09:58:34 +02:00
Maciej Suminski
068a29952c
Changed AUI toolbars background from gradient to solid
...
Based on patches from Windsor Schmidt <windsor.schmidt@gmail.com>
2017-09-27 23:23:06 +02:00
jean-pierre charras
b4a59eb96d
Fix minor issues in DIALOG_KEEPOUT_AREA_PROPERTIES.
...
Fix keepout zone creation in legacy canvas.
Add a comment in lset.cpp
2017-09-27 16:54:28 +02:00
Oliver Walters
363fc598c0
Fixed bug in FlipLayerMask
...
- Offset for internal copper layers was incorrect
- Incorrect mask was used
2017-09-27 10:35:00 +02:00
Oliver Walters
0f6ec7632b
Enable multi-layer for keepout zones
...
- Load / save from PCB file correctly
- Doesn't display properly yet
- Keepout only actually applies to one layer (for now)
2017-09-27 10:34:59 +02:00
Kevin Zheng
6487ec5c21
Reword hotkey reset menu items
...
Fixes lp:1717637
2017-09-26 09:21:48 -04:00
Jon Evans
9383987b1c
Skip calling RTREE::Remove() when adding items to a VIEW
2017-09-25 13:39:38 +02:00
Maciej Suminski
05a120f09f
Unified {Load,Save]CanvasTypeSetting in EDA_DRAW_FRAME
2017-09-25 13:39:32 +02:00
Jon Evans
77bf22359e
Move zoom_tool.h to include
2017-09-25 13:35:01 +02:00
Jon Evans
0b9b8d3e93
Add support for reversed draw order and Cairo negative draw mode
2017-09-25 13:35:01 +02:00
Maciej Suminski
df472e6426
Added mouse position refresh event WX_VIEW_CONTROLS::WarpCursor()
2017-09-22 11:13:45 +02:00
Michael Geselbracht
da037027fb
Do not warp viewport when dragging FPs
...
Fixes: lp:1714611
* https://bugs.launchpad.net/kicad/+bug/1714611
2017-09-22 11:13:40 +02:00
Wayne Stambaugh
427e5ec461
Eeschema: fix crash when undo called during item edit.
...
Add EDA_DRAW_FRAME::isBusy() method to test if the current item is being
edited or a block operation is in progress.
Ignore undo and redo commands when editor is busy.
Fixes lp:1718656
https://bugs.launchpad.net/kicad/+bug/1718656
2017-09-21 12:37:52 -04:00
Wayne Stambaugh
cb764d73c5
Minor trace logging improvements.
...
Make all trace environment variable strings upper case and prefix with
KICAD_TRACE_ for consistency.
Add Doxygen group for the trace environment variable strings.
2017-09-21 08:58:41 -04:00
jean-pierre charras
b18601dfc6
Send wxEVENT_CHAR to GUI (if the key is not a special key that scrolls the draw panel) both on Linux and Windows
...
fix lp:1718488
2017-09-20 20:21:54 +02:00
jean-pierre charras
4e8ad8516a
Update gerber job file format and job file extension.
...
Gerber job file extension is now .gbrjob, according to latest changes in Gerber job file spec.
2017-09-20 18:14:20 +02:00
jean-pierre charras
d8ade988ce
workaround for a minor and strange issue: size of chars '-' and '_' are incorrect in msdf_atlasgen fonte. the size of 'x' char is used instead.
2017-09-19 18:56:33 +02:00
jean-pierre charras
e2d3fcec02
Add support for custom pad shape. Full support in DRC and PnS.
...
add option to use shape or convex hull as clearance area in zones.
simplify code to handle clearance area
2017-09-19 09:02:53 +02:00
jean-pierre charras
48393c605e
Try to fix special keys (ARROWS, PAGE UP/DOWN) issues both on Linux and Windows in GAL mode
...
Fixes: lp:1717270
https://bugs.launchpad.net/kicad/+bug/1717270
2017-09-18 16:04:31 +02:00
jean-pierre charras
e2505cb2fd
better fix than commit c0bc2f1
that tried to fix an overzealous event propagation:
...
The fix is now only for Windows, because it creates issues and does not fix the special keys issues on Linux.
This is due to the serious differences in event management between platforms.
2017-09-15 16:29:26 +02:00
Jon Evans
d9396616ef
Add support for panning with left and right mouse buttons
2017-09-15 13:35:52 +02:00
jean-pierre charras
c0bc2f1bee
Try to fix an overzealous event propagation that creates some key events (arrows, page up page down and some others) and mouse events called twice.
...
the first call is the right call, the last call being the default handler.
2017-09-15 11:29:50 +02:00
jean-pierre charras
cf178fd20a
add a wxASSERT just in case.
2017-09-15 11:29:49 +02:00
Jon Evans
93de82f0b2
Fix scrollbars in macOS GAL canvases
2017-09-15 11:29:49 +02:00
Jon Evans
5364cd9681
Improved zoom behavior on MacOS
2017-09-15 11:27:35 +02:00
Jon Evans
49a3e7ec2d
Support scrollbar controls in GAL canvas
2017-09-14 07:34:29 +02:00
Wayne Stambaugh
33cc7b3f99
Fix broken default icons in menus setting for OSX.
2017-09-13 12:59:42 -04:00
Jon Evans
8182369c64
Make RULER_ITEM generic and ensure text mirroring is disabled
2017-09-12 12:49:43 +02:00
Jon Evans
b6298a0a41
Don't force grid color to LAYER_GRID in EDA_DRAW_PANEL_GAL
2017-09-12 12:49:17 +02:00
jean-pierre charras
e15acbb00d
Fp editor and board editor have now a separate color setup.
...
fp viewer uses the default colors, because it has no color setup dialog.
class_colors_design_settings: remove not used members.
Fix issue in modedit: the color config was never read.
2017-09-11 18:51:48 +02:00
Maciej Suminski
8c7175b00d
Upload correct amount of vertex data in CACHED_CONTAINER_RAM
...
Previous implementation uploaded only vertices with indices less
or equal to the number of stored vertices, which is invalid when
the container become fragmented.
Fixes: lp:1712887
* https://bugs.launchpad.net/kicad/+bug/1712887
2017-09-09 21:07:32 +02:00
Maciej Suminski
342bb2bf78
Code formatting
...
Renamed VERTEX related constants to follow UPPER_CASE naming.
2017-09-09 21:07:32 +02:00
jean-pierre charras
8c70681b31
Remove useless includes and more fixes to avoid including curl.h in files, when not mandatory.
2017-09-05 08:07:31 +02:00
jean-pierre charras
6ea6c7219a
Avoid including curl.h in dialog about (including curl.h creates constraints with wxWidgets especially on Windows)
...
and remove duplicate code.
2017-09-04 12:53:50 +02:00
Wayne Stambaugh
d190aa423f
Minor version information improvements.
...
Include GTK+ version when appropriate so developers don't have to try to
figure out which version of GTK+ wxWidgets was built against.
Add KICAD_SPICE option status.
2017-09-01 08:19:17 -04:00
Jon Evans
eec1366ead
Move ZOOM_TOOL to common; add RMB-drag to zoom out
2017-08-31 10:04:00 +02:00
jean-pierre charras
50164e9968
Add Gerber job file writer in Pcbnew, and a basic reader in Gerbview. Currently disabled
...
Fix also very minor issues in Gerbview
2017-08-30 11:04:33 +02:00
Tomasz Włostowski
2e4c22f718
router: fix corruption of board data when the inline drag is activated while the router tool is running
...
Fixes: lp:1712838
* https://bugs.launchpad.net/kicad/+bug/1712838
2017-08-30 01:16:06 +02:00
Michael Kavanagh
82ce90ecdc
PL Editor UI Improvements: Menubar, toolbar and hotkeys
2017-08-29 11:52:34 -04:00
jean-pierre charras
758445e33e
Fix a compil warning and a wxASSERT in COLOR4D_PICKER_DLG_BASE
2017-08-28 17:40:26 +02:00
jean-pierre charras
e3c64f1f06
Slightly modify keywords used to store color config of Eeschema and Pcbnew, to avoid this config destroyed each time a stable version is run.
2017-08-27 09:06:26 +02:00
Mathias Grimmberger
ffeba9de93
Change track width setting to dropbox
2017-08-25 16:46:49 +02:00
Maciej Suminski
31ef52a365
Fix fine-grid cursor movement using arrow keys
...
Fixes: lp:1497976
* https://bugs.launchpad.net/kicad/+bug/1497976
2017-08-22 15:14:33 +02:00
Maciej Suminski
d4fddf1929
Fix eeschema crash when saving LIB_BEZIER objects
2017-08-22 13:29:53 +02:00
Maciej Suminski
b5db6a7d5d
Map/unmap vertices once per layer order update
...
Multiple memory map/unmap operations cause a significant delay on
GPUs that fetch vertices from RAM.
Fixes: lp:1701936
* https://bugs.launchpad.net/kicad/+bug/1701936
2017-08-21 13:28:09 +02:00
jean-pierre charras
6be2f2934e
Exchange footprint dialog uses now the reporter widget for a better report of actions and errors.
...
Fixes: lp:1711379
https://bugs.launchpad.net/kicad/+bug/1711379
2017-08-18 20:26:45 +02:00
jean-pierre charras
28c04cbbf5
Fix filename in a include
2017-08-18 16:56:49 +02:00
jean-pierre charras
4c9d0b9c0a
Refactor About dialog:
...
Code refactor
Fix coding style issues
Add a button to display the build version info, and add a tooltip to the copy button.
2017-08-18 16:16:48 +02:00
Maciej Suminski
6ff065fa63
Fixed recognition of GPUs not handling glMapBuffer() efficiently
...
Fixes: lp:1685335
* https://bugs.launchpad.net/kicad/+bug/1685335
Fixes: lp:1683041
* https://bugs.launchpad.net/kicad/+bug/1683041
2017-08-18 15:02:46 +02:00
jean-pierre charras
0999b5cb77
Make texts search-able in PDF files (using invisible texts behind stroked texts)
2017-08-15 15:53:00 +02:00
Wayne Stambaugh
f781691049
Eeschema: add symbol library table editor dialog.
...
Create a new dialog to edit global and project specific symbol library
tables.
Add menu entries for new symbol library table editor in schematic editor
and symbol library editor main frame menus.
Add command event handler for symbol library table editor dialog to
SCH_BASE_FRAME so it is accessible from derived frames.
Fix bug in default environment variables initialization. A test for
existing user defined environment variables was preventing any new
default environment variables added to the list from being initialized.
2017-08-12 08:10:34 -04:00
jean-pierre charras
84f1c8e0c6
color4Dpickerdlg.cpp: avoid selecting accidentally a new color when the mouse cursor is inside a color map when opening the dialog
2017-08-12 07:52:15 +02:00
jean-pierre charras
8a1a3ed36c
Better fix for compil problems in utils.cpp
2017-08-09 15:30:01 +02:00
jean-pierre charras
7ab6368869
Fix compil problems in utils.cpp, to be compatible with msys2/windows and linux.
2017-08-09 14:05:10 +02:00
Maciej Suminski
c18d148589
Moved VERTEX_CONTAINERs intialization to the constructors
2017-08-08 15:33:57 +02:00
Maciej Suminski
4ae29aa693
Fixed a shadowing variable warning
2017-08-08 15:31:45 +02:00
Maciej Suminski
2697a21a7a
Yet another try for correct function signature type cast
2017-08-08 15:26:50 +02:00
Maciej Suminski
ef6910faa9
Take two for satisyfing picky compilers (casting nullptr to void*)
2017-08-08 14:53:34 +02:00
Maciej Suminski
e91ce300fb
Cast nullptr to const void* to satisfy picky compilers
2017-08-08 14:47:27 +02:00
Maciej Suminski
262fcc91af
Fixes for video cards unable to use gl{Un,}MapBuffer correctly
...
Fixes: lp:1685335
* https://bugs.launchpad.net/kicad/+bug/1685335
Fixes: lp:1683041
* https://bugs.launchpad.net/kicad/+bug/1683041
2017-08-08 14:26:05 +02:00
Maciej Suminski
46b5575c51
OpenGL driver debug routines
2017-08-08 09:31:57 +02:00
Maciej Suminski
ef22c2589d
Store forced cursor position in VC_SETTINGS
2017-08-07 08:59:32 +02:00
Maciej Suminski
e8345dce51
Display GRID_HELPER auxiliary axes and snap points
2017-08-07 08:59:32 +02:00
jean-pierre charras
b8c621a991
fix a few Coverity warnings.
2017-08-06 14:23:03 +02:00
jean-pierre charras
4e96f9990d
Use the new color4Dpicker to choose a color in Eeschema.
...
However, the opacity is not modifiable because the wxDC used in Eeschema does not know the alpha channel.
2017-08-06 10:42:11 +02:00
Tomasz Włostowski
32185ddcd3
Multiple improvements concerning colors, configuration handling and legacy features in pcbnew:
...
- support for background color setting
- removed several global config settings (such as g_Drc_On)
- wrapped most of global config settings in PCB_GENERAL_SETTINGS class
- reorganized PCB general options dialog to clearly mark which options concern only the legacy canvas
- new GAL feature for legacy users: double-click (or E) to change track width available as an option.
Fixes: lp:1530543
* https://bugs.launchpad.net/kicad/+bug/1530543
Fixes: lp:1707145
* https://bugs.launchpad.net/kicad/+bug/1707145
2017-08-04 16:06:57 +02:00
jean-pierre charras
1f6854f2b8
Make internal errors messages not translatable
2017-08-01 13:12:59 +02:00
jean-pierre charras
abe2a46ae7
Pcbnew: Fix plot PDF, broken by commit f3457794cf
...
Also disable option to use native font in PDF and PS plotter format, because this option has never worked.
Fixes: lp:1707412
https://bugs.launchpad.net/kicad/+bug/1707412
2017-07-31 20:05:30 +02:00
Maciej Suminski
76bd05a69b
Prevent creating too many transitions by TOOL_MANAGER
...
- added TOOL_INTERACTIVE::resetTransitions()
- made protected and moved TOOL_BASE::setTransitions() to TOOL_INTERACTIVE
- TOOL_MANAGER calls TOOL_INTERACTIVE::resetTransitions() instead of
setTransitions()
2017-07-31 15:09:19 +02:00
jean-pierre charras
e10f0c729b
Fix minor compil warnings
2017-07-30 14:24:21 +02:00
Maciej Suminski
2652cfeafd
Restore the cursor position after the context menu is closed
...
Fixes: lp:1696328
* https://bugs.launchpad.net/kicad/+bug/1696328
2017-07-28 10:55:38 +02:00
Maciej Suminski
7399759b3b
Fixed polygon DRAWSEGMENT rendering in OpenGL GAL
...
Fixes: lp:1704542
* https://bugs.launchpad.net/kicad/+bug/1704542
2017-07-28 10:34:47 +02:00
Tomasz Włostowski
b964569db7
pcbnew: enable net selection combobox in Track/Via properties dialog
2017-07-27 16:21:54 +02:00
Maciej Suminski
950d87a920
Removed boost::adaptor from ACTION_MANAGER
2017-07-27 16:06:30 +02:00
Maciej Suminski
75f68061a4
Save the drag origin only on the first click
2017-07-27 10:54:08 +02:00
jean-pierre charras
58c32367ee
filter useless autosave tests, and optimization of autosave test in Eechema
2017-07-26 18:06:04 +02:00
Dick Hollenbeck
19e6bde09a
Rewrite class UTF8 to contain rather than extend std::string storage.
...
This forces the compiler class specific features rather than borrowing
from the base class's std::string. In some cases prior to this,
wxString( std::string ) was being called rather than UTF8::operator
wxString() leading to garbled wxStrings.
Added function UTF8::wx_str() which is of great convenience also.
Implicit conversions still work as before, and hopefully more reliably.
2017-07-26 08:30:12 -04:00
Dick Hollenbeck
4e7de8a761
Reverse commit 4011ed4e31
.
...
This commit was too broad and not cognizant of the purpose of the class
UTF8.
Add MAYBE_VERIFY_UTF8() macro, which can trap non-UTF8 encoded strings in
debug builds.
Use that macro conditionally in class UTF8 to trap non-UTF8 encoded strings
being put into UTF8 instances.
2017-07-26 08:26:56 -04:00
Oliver Walters
161045f17d
Speed improvement for select / deselect in GAL
...
- No longer invalidates the item layers
- For multiple items, this results in a drastic speed improvement
2017-07-25 16:34:03 +02:00
Oliver Walters
c27f5b725d
Improved various error messages
...
- Moved developer "jargon" to details pane
- Changed error messages to "WHAT" rather than "WHY" or "WHERE"
2017-07-25 07:37:14 -04:00
Oliver Walters
a0a3ca6646
Added extra information to error and info messages
...
Optional extra information string which is displayed in a drop-down "details" box
2017-07-25 07:37:13 -04:00
Fabrizio Tappero
cef616fcd8
fixed text titles that should have only the first word capitilized
2017-07-21 10:19:29 -04:00
Fabrizio Tappero
7be14f774d
fixed plot menu labels
2017-07-21 10:19:29 -04:00
Maciej Suminski
fe89fdfb24
Removed incorrectly defined assert
2017-07-19 13:05:30 +02:00
jean-pierre charras
cb75b72978
Refinements if new color 4D selector
2017-07-19 11:26:28 +02:00
Maciej Suminski
984ac70106
Added COMMIT::GetStatus() and minor refactor
...
Moved duplicated code to a new function and added
an assert to warn against possible memory leak.
2017-07-19 10:46:10 +02:00
jean-pierre charras
5f4599fb56
Add a new color selector, to adjust color selection for GAL mode, with support of opacity (alpha channel)
...
Pcbnew: save opacity value in color config, and keep it when switching between legacy and gal mode.
2017-07-18 19:07:47 +02:00
Chris Pavlina
5755582c53
Minor FOOTPRINT_FILTER fix
2017-07-17 15:00:13 -06:00
jean-pierre charras
ed66496242
Fix an issue (created by commit 16cb6a6ca0
) when converting a color4D to a legacy color
...
Fixes: lp:1704724
https://bugs.launchpad.net/kicad/+bug/1704724
2017-07-17 09:59:34 +02:00
jean-pierre charras
16cb6a6ca0
color4d: fix incorrect conversion from rgb to HSV when r = g = b.
2017-07-16 17:10:24 +02:00
jean-pierre charras
d3b382c281
GAL mode: the grid don't fill the full screen when moving the grid origin to negative values.
...
Fixes: lp:1703330
https://bugs.launchpad.net/kicad/+bug/1703330
2017-07-14 20:18:37 +02:00
Wayne Stambaugh
e01eb29758
Symbol and footprint library table parser fixes.
...
Fix potential memory leak in both footprint and symbol library table
parsers when a duplicate library nickname entry exists.
Parse entire symbol library table before raising duplicate nickname
exception.
Improve the duplicate library table nickname error message to make
life easier for users to fix broken tables.
2017-07-13 10:09:38 -04:00
Maciej Suminski
d5095252a0
eeschema: Fixed use-after-free on exit when paste operation is aborted
2017-07-13 13:33:13 +02:00
jean-pierre charras
c93ab4d5da
Fix possible crash and issues when a incorrect fp lib table is loaded:
...
correct lines are loaded, and pcbnew / eeschema is no more aborted.
Fixes: lp:1701627
https://bugs.launchpad.net/kicad/+bug/1701627
2017-07-12 20:24:35 +02:00
Maciej Suminski
08c4a0bc7b
Fixed SELECTION_TOOL::selectCursor()
...
In the previous version the method did not work correctly
when an action was invoked from context menu. In such case,
the cursor position was obtained in the moment of selecting
the action, instead of using the right click location.
2017-07-12 09:34:20 +02:00
jean-pierre charras
969209c2cc
Fix a few doxygen warnings and add a few comments.
2017-07-04 11:08:27 +02:00
Maciej Suminski
098814e205
Fixed a memory leak in BLOCK_SELECTOR
2017-07-04 10:14:58 +02:00
Maciej Suminski
e18475f220
Renamed remaining constants to match the action (see ab44e7cc
)
2017-07-04 10:08:33 +02:00
Kristoffer Ödmark
4fb2f80dd4
Eeschema copy/cut/paste to ctrl+c/x/v cut is now undoable Highlight net is now at ctrl+b by default
2017-07-03 16:41:47 +02:00
jean-pierre charras
f074b57094
Pcbnew: fix minor issue in %TO.C advanced attribute, and avoid creating an unused D10 tool in Gerber files.
2017-07-02 16:41:31 +02:00
Maciej Suminski
3afef4e19d
Display an error when pcbnew.kiface is not available for FP selector
...
DIALOG_COMPONENT_CHOOSE displays footprint preview when pcbnew kiface
is available, but it crashed when it was not in the same directory
as the executable. Now it displays an error message that allows the
user to quickly identify the problem.
Fixes: lp:1695005
* https://bugs.launchpad.net/kicad/+bug/1695005
2017-06-30 23:01:21 +02:00
jean-pierre charras
e3d69b619f
Pcbnew: fix issue in dialog_fp_lib_table: when the only changes were the plugin name, changes were not taken in account.
...
Because the FP_LIB_TABLE::operator == was incorrect
2017-06-30 16:03:17 +02:00
jean-pierre charras
1e770f56a6
Fix a non ASCII7 string in a message. Only ASCII7 chars can be used in sources.
...
Non ASCII7 symbols are not allowed because the encoding is OS dependent.
2017-06-24 20:05:11 +02:00
jean-pierre charras
0719b99ad8
Minor enhancement in color selection on Windows
2017-06-24 10:45:26 +02:00
Tomasz Włostowski
5c0edbabab
Fixes for the connectivity & board cleanup algorithms
2017-06-23 11:12:38 +02:00
Tomasz Włostowski
de7f4d7aa4
fixed unresolved symbols while running cvpcb
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
3b16d3cffe
further DLIST/Iterators cleanup, some code formatting
2017-06-23 11:12:37 +02:00
Tomasz Włostowski
9ad886344b
New connectivity algorithm.
2017-06-23 11:12:36 +02:00
jean-pierre charras
996bcdf458
Fix a few doxygen warnings
2017-06-16 09:18:31 +02:00
jean-pierre charras
2476e88c9d
Fix a few doxygen warnings
2017-06-15 13:13:24 +02:00
Wayne Stambaugh
66e97fa905
Doxygen comment improvements.
...
Fix lots of Doxygen warnings.
Fix Doxygen comment for IO_MGR::FootprintEnumerate() which was recently
changed.
2017-06-13 19:47:46 -04:00
Kristoffer Ödmark
19d5cc7548
Removed all exception specifiers since deprecated.
...
Exception specifiers are deprecated in cpp11, so went through them all
and removed them from the code.
2017-06-12 13:54:55 -04:00
Maciej Suminski
dcc803ecb1
VIEW_CONTROLS::GetMousePosition() returns the mouse position in world coordinates.
2017-06-12 16:24:52 +02:00
jean-pierre charras
ad48cd435d
Replace SetToolID( ID_NO_TOOL_SELECTED, ...) by SetNoToolSelected() in code
2017-06-12 16:17:48 +02:00
jean-pierre charras
6ed4f9b208
Make EDA_DRAW_FRAME::SetToolID and mouse cursor shape setting working in GAL canvases, and uses same mouse cursor shapes in legacy and gal canvases.
...
Starting fixing incorrect UI behavior of Zoom to selection in Pcbnew.
2017-06-12 15:16:09 +02:00
Wayne Stambaugh
3cec63e9b9
Pcbnew: plugin improvements.
...
Allow partial library reads in libraries that support footprint per file.
This includes the KiCad and GEDA footprint libraries.
Allow for partially cached libraries rather than ignoring all valid files
when an error occurs.
2017-06-11 16:21:19 -04:00
jean-pierre charras
526b5e2cd3
Fix broken behavior of the "Zoom to selection" tool in Gerbview and Eeschema.
2017-06-10 09:07:17 +02:00