jean-pierre charras
c3b51b0d07
2 very minor fixes in Eeschema:
...
* Component doc: add https as prefix in list of urls which are opened by a Internet browser.
* Import .cmp files: Use "IdModule" instead of "IdModule =" as keyword for footprint name and use '=' only as separator.
2015-11-14 09:20:17 +01:00
Damien Espitallier
16c2c398e9
CvPcb: count unique pin numbers when filtering by pin count. (fixes:1300719)
2015-11-11 13:35:26 -05:00
jean-pierre charras
91391a5975
Small change in gr_basic.cpp to try to fix Bug #1514635 , which is a bug in wxWidgets Print process, on Linux (current pen having sometimes its setup lost after setting wxBrush in curren DC)
...
It was previoulsy incorrectly fixed when forcing the black and white print option.
2015-11-10 13:17:33 +01:00
jean-pierre charras
6cc91a074b
Remove a few conditional compilation for wxWidgets version < 3.0
...
Update a old .fbp file.
2015-11-09 13:14:28 +01:00
jean-pierre charras
ecad3ad235
Netlist generator: avoid changing the order of parts in libparts section each time libraries are reloaded.
...
pic_programmer demo: very minor fix and update netlist.
cached_container.cpp: more info when the message "Out of memory" is displayed.
2015-11-05 17:28:31 +01:00
jean-pierre charras
a23cbe052d
Opengl canvas: avoid hanging when the CACHED_CONTAINER is "out of memory" (which can happen which very large boards) and the vertex manager cannot allocate an other vertex: the message "Vertex allocation error" is now shown only once.
...
the opengl canvas cannot show the full board, but at least the user can save the board, or switch to the legacy canvas.
2015-11-04 13:27:42 +01:00
jean-pierre charras
6d8fb6015b
Fix Bug #1512726 (pl_editor can't not load template that have image with (option page1only) )
...
demo kit-dev-coldfire-xilinx_5213.kicad_pcb: minor 3d shape update
2015-11-03 17:03:44 +01:00
Chris Pavlina
85c3ae3715
Common: fix subtle project path bug when loading sym-linked project files.
...
* Assuming: a project exists in /a/b/project.pro, and /a/b is symlinked to
/a/c
1. Load /a/b/project.pro
2. Load /a/c/project.pro
Expectation: file name switches to /a/c/project.pro (even though they are
the same file, a user would expect the path to reflect the file selection
they just made)
Reality: file name does not switch
This is because PROJECT::SetProjectFullName() does not do anything if the
path is not changed, and it uses wxFileName::SameAs() to check this. For
some bizarre reason, wxFileName::SameAs compares filesystem inodes rather
than actual paths.
This patch instead creates a second wxFileName from the candidate name in
order to normalize the path, and then compares paths directly. This should
be much more in line with what a user would expect.
2015-11-02 14:04:53 -05:00
jean-pierre charras
c877c5ff6e
3D viewer: Fix potential crash risk introduced in rev 6279 (from a coverity warning). Make strings translatable in wx_html_report_panel_base.
2015-10-26 08:46:19 +01:00
jean-pierre charras
ade51289a7
All: use solid lines instead of dashed lines to draw X and Y axis in legacy canvas (like in Gal canvas). The main reason: on OSX axis using dashed lines are very very slow to draw (looks like a wxWidget issue when the wxDC scale factor is very small)
2015-10-25 17:58:04 +01:00
jean-pierre charras
184eff0e69
Remove duplicate id for 2 buttons in dialog hotkeys editor and use better button label (Cancel instead of Close, because changes are actually cancelled by closing the editor).
2015-10-16 10:53:57 +02:00
Dimitris Lampridis
7d5cb75507
Update Greek translators list in about dialog.
2015-10-08 13:48:27 -04:00
jean-pierre charras
a112a33fa2
Fix Bug #1498252 (segfault + assert failed in Yield(): wxYield called recursively) and a few other issues (footprint viewer or 3D viewer not always raised in some cases). Linux specific
2015-10-06 08:23:05 +02:00
Wayne Stambaugh
a6a9d8eedf
Default and most recently used path fixes. (fixes: 1494210)
...
* Rename Eda_FileSelector to EDA_FILE_SELECTOR.
* Add optional pointer to wxString to save the most recently used path to EDA_FILE_SELECTOR.
* Rename Eda_DirectorySelector to EDA_PATH_SELECTOR.
* Replace wxGetCwd() with wxStandardPaths::GetDocumentsDir(). This fixes the windows issue
where wxGetCwd() returns the path where the executable files are located.
* Add code to handle most recently used path to EDA_BASE_FRAME.
* Fix string formatting error in kicad/files-io.cpp.
* Remove setting and restoring current working directory when launching GerbView. Setting the CWD
has no effect on the launched executable which starts with it's own CWD.
* Allow project path to be passed to GerbView when launched from KiCad.
* Note: this is a work in progress. Do not expect every path and/or file selection dialog to properly
update the most recently used path. The correct solution to this problem requires a much more
well though out solution which will not happen until after the next stable release.
2015-09-25 15:38:09 -04:00
Wayne Stambaugh
66a9b04487
Fix windows help path bug. (fixes lp:1313412)
...
* SearchHelpFileFullPath(): clean up platform specific path code, add executable path sans bin
directory on non-osx platforms, and move KICAD path variable to the beginning of the search
list.
* Minor search stack debug output improvements.
2015-09-20 14:23:17 -04:00
jean-pierre charras
f7b8ac52e1
Disable proxy menu in Unity window manager. Only usual menubar works with wxWidgets (at least <= 3.1). When the proxy menu menubar is enable, some important things for us do not work: menuitems UI events and shortcuts. Also issues when switching from Legacy to GAL display mode.
2015-09-14 09:58:31 +02:00
Simon Richter
fdefe25fbd
Make netlist_reader.h a build dependency of the pcbcommon library.
2015-09-13 15:11:45 -04:00
Maciej Suminski
247f018075
FIxed rendering artifacts in OpenGL canvas.
2015-09-09 10:49:25 +02:00
Chris Pavlina
b55c074a11
Interpret unassigned hotkeys correctly.
...
* If a hotkey is set to "unassigned" (typically by causing a conflict), it
is not loaded correctly. The loader interprets "unassigned" as "keep the
default assignment", which leads to a conflict later that causes an
assertion failure.
2015-09-07 16:04:16 -04:00
jean-pierre charras
7b0d597f6d
Fix some issues related to the footprint wizard frame:
...
* Mainly the wxDialog that was opened when the wizard is created is now no more created by the wizard frame CTOR. On some W.M. it created a serious issue related to the way Event Loops are managed. Now the user has to call it by the toolbar tool.
* 2 settings not saved in config are now saved.
* a few other minor enhancements
* better icon in footprint wizard frame
Remove a few #define relative to the wxWidgets 2.8 version, no more supported.
2015-09-07 12:52:16 +02:00
Brian Sidebotham
34aab6f687
Add axis origin to the Footprint Editor to align with the Legacy canvas
2015-09-05 20:47:35 +01:00
jean-pierre charras
0a56afe566
Fix typo
2015-09-05 16:53:53 +02:00
jean-pierre charras
7808b2e240
Fix in KIWAY_PLAYER::ShowModal: the top level windows children of the KIWAY_PLAYER Modal frame are now enabled (previously were disabled). It fix some issues for instance with the aui toolbar when moved, and the dialog open when starting the footprint wizard frame. Perhaps explain a few other bugs.
...
footprint wizard frame: now shows messages from footprints python scripts. Especially usefull when a parameter is incorrect. Fix also an other issue (IO error) with some scripts which were usint the print command to output messages (now they use the nes message window.
2015-09-05 14:10:54 +02:00
unknown
276a923027
SHAPE_POLY_SET: fix segfault when checking for a point in empty polyset
2015-09-02 08:32:24 +02:00
jean-pierre charras
f7f7e3e918
Remove useless or not working code used in Load/Save config.
2015-08-31 08:43:33 +02:00
jean-pierre charras
156d5f50d6
fix unwanted foreground frame change on Windows when creating BOM and netlists from scripts.
...
Very minor coverity warning fixes.
2015-08-28 16:15:45 +02:00
Maciej Suminski
51a6d389fb
Fix jumping when block-moving items for certain window managers.
2015-08-27 10:29:12 +02:00
Jon Neal
0aa9fad668
Push UI preferences to child edit and view windows. (fixes lp:1468388)
...
* Push center on zoom, use middle mouse button to pan, limit panning, and
pan while moving object settings from schematic editor to symbol library
editor and symbol library viewer child windows.
* Push center on zoom, use middle mouse button to pan, limit panning, and
pan while moving object settings from board editor to footprint library
editor and footprint library viewer child windows.
2015-08-25 10:16:15 -04:00
Maciej Suminski
8fa28797f9
Fixed the problem of GAL frames excessively taking over focus in Windows.
2015-08-25 11:21:00 +02:00
Mario Luzeiro
61f4f1ca9d
Add hole count function and other minor improvements to SHAPE_POLY_SET.
2015-08-24 09:55:22 -04:00
Marco Ciampa
49ef3ac132
Fix environment variable dialog error messages.
2015-08-24 08:50:47 -04:00
jean-pierre charras
bb3dc5771c
Pcbnew: Fpid parser: Fix crash when reading a .kicad_pcb file containing a valid fpid with a revision value.
...
Fix an issue when a .kicad_pcb file contains an incorrect fpid ( containing a '/ ' in footprint section ) . After saving the board the file was no more readable, due to a broken fpid saved in file
(can happens in old .kicad_pcb files, coming from the bzr 4022 stable version, and/or in files converted from an other EDA tool like altium)
Fix 2 very minor coverity warnings.
2015-08-23 14:35:49 +02:00
Maciej Suminski
0386a4df94
Bulletproof canvas switching.
2015-08-21 10:33:36 +02:00
Tomasz Wlostowski
a96299d456
router: improvements to shove algorithm
2015-08-19 18:07:16 +02:00
Wayne Stambaugh
b384c94e46
Envrionment variable dialog improvments.
...
* Remove ENVIRONMENT_VARIABLE_CHAR_VALIDATOR::OnChar() because it was skipping
the filtering of the first character. Not sure what was going but this seemed to fix the issue.
* Added environment variable name test to DIALOG_ENV_VAR_CONFIG::TransferDataFromWindow
because apparently validators do not get called in wxGrids even whe the extend window style
wxWS_EX_VALIDATE_RECURSIVELY is set.
* Set the default button using wxFormBuilder since the OK button is not part of a wxStdDialogButtonSizer.
* Minor improvements to the HTML help dialog.
* Fix assertion when calling HTML help dialog. Apparently any dialog derived from DIALOG_SHIM must
have a KIWAY top level window as a parent.
2015-08-16 20:30:29 -04:00
jean-pierre charras
c63f6aa3c5
Polygon boolean operations on SHAPE_POLY_SET: Add a parameter (aFastMode) to speed up calculations. By default, the transforms use an option to create stricly simple polygons.
...
In 3D viewer, this option can take a *very long* calculation time (minutes instead of seconds, or hangs) and they are now using aFastMode = true to do polygon calculations, especially for zones inside zones belong to the same net but having different priority (which creates weak polygons).
aFastMode = false is the default for other calculations (zone filling) as before.
2015-08-16 14:07:58 +02:00
Maciej Suminski
a09d6431e4
Coverity report fix: handle an exception potentially thrown by CONTEXT_MENU::runOnSubmenus.
2015-08-15 16:00:33 +02:00
jean-pierre charras
7a51a502b4
3D viewer: optimizations in code to build the 3D view.
...
Remove no more used code.
Building the 3D view is now faster.
2015-08-10 17:17:10 +02:00
unknown
2330b13864
Fix coverity reported strcat/strcpy potential overflows
2015-08-10 10:17:22 +02:00
jean-pierre charras
9d3a24a87c
Fix bug #1482809 (Pcbnew crashes when opening if it was closed in OpenGL mode)
2015-08-08 14:44:39 +02:00
Maciej Suminski
6018bb6625
Pcbnew saves the type of used canvas.
2015-08-07 19:15:47 +02:00
Maciej Suminski
ddcdda1a59
GalType -> GAL_TYPE
2015-08-07 18:24:43 +02:00
Maciej Suminski
03d8d6850a
Minor fixes. - Prevent a crash if m_activeTools is empty (should not happen, but you know the Murphy's law) - Better use of conditions in FOOTPRINT_EDIT_FRAME::Process_Special_Functions()
2015-08-07 18:17:51 +02:00
Maciej Suminski
a4ffb065d4
Corrected TEXTE_MODULE:GetBoundingBox() function.
2015-08-07 18:17:51 +02:00
Maciej Suminski
9ecc593aac
TOOL_SETTINGS acquires wxConfigBase each time it is used.
2015-08-07 18:17:51 +02:00
Maciej Suminski
5cd464f244
Exit gracefully when there are errors during initialization.
2015-08-07 17:07:43 +02:00
Chris Pavlina
fa29c62277
Fix saving undo/redo limits in Eeschema.
2015-08-05 20:10:52 -04:00
Chris Pavlina
aaadb40a71
Make undo/redo limits user configurable.
...
* Add code to allow each editing window it's own undo/redo count.
* Add code to allow for infinite undo/redo when count is set to 0.
* Add edit control to all editing windows general options dialog for
user configuration of undo/redo count.
* Add code to save and restore undo/redo count for each editing window.
2015-08-05 10:28:27 -04:00
Maciej Suminski
d624115f35
Fixed failing undo while routing.
2015-08-04 23:08:13 +02:00
Maciej Suminski
4739c54f0e
Few minor updates to CACHED_CONTAINER & GPU_MANAGER classes. - Reduced the number of memory reallocations - Updated code for tests
2015-08-03 21:12:00 +02:00
Maciej Suminski
3e99290a3d
Fixed style change in WX_HTML_REPORT_PANEL after a reported action.
2015-08-03 21:11:59 +02:00
Tomasz Wlostowski
07f5516e59
geometry: Parse() method for SHAPE_LINE_CHAIN, working on Read() in SHAPE_FILE_IO
2015-08-03 20:29:44 +02:00
Tomasz Wlostowski
9c2bcb2f3c
Fixed crash on right click on zone with GAL mode.
2015-08-03 11:53:58 +02:00
Tomasz Wlostowski
037772fe3c
Corrected SHAPE_POLY_SET::pointInPolygon() return value.
2015-08-03 10:45:30 +02:00
jean-pierre charras
b0585253c3
Avoid creation of the zones_dump.txt file each time the zones are re-filled, when this option is not enabled.
2015-08-02 19:39:24 +02:00
Wayne Stambaugh
0cff6444e0
Fix assertion when exporting hotkeys. (fixes lp:1479859)
...
* wxFD_SAVE and wxFD_OPEN cannot be specified when calling wxFileDialog. it even says so in
the documentation.
2015-08-01 17:46:27 -04:00
jean-pierre charras
4b4d9d9770
Plot solder mask layer: fix incorrect margin of zones drawn on this layer (zone areas were slighly larger than the actual areas)
...
Fix a few minor and very minor other issues: coverity warnings and compil warning.
2015-08-01 12:20:23 +02:00
Simon Richter
362ebd039d
Remove superflous includes.
2015-07-31 09:50:47 -04:00
Simon Richter
b35ad79d7b
Disambiguate fabs() cast.
2015-07-31 08:15:42 -04:00
Maciej Suminski
3049bc1d5f
Fixing SELECTION_TOOL heuristics, take #2 .
2015-07-30 13:49:35 +02:00
Maciej Suminski
29cbaa206e
Fixed updating of Zoom & Grid context menus.
2015-07-30 13:49:35 +02:00
Maciej Suminski
094c286024
Fixed issues reported by Coverity.
2015-07-30 13:49:35 +02:00
Tomasz Wlostowski
fb29373b4c
fix hang in fracturing algorithm
2015-07-30 13:49:22 +02:00
jean-pierre charras
6dd0073130
Move the non shared file class_sch_screen.h to eeschema folder. Code cleaning. Remove some wxCHECK_VERSION tests now useless.
2015-07-29 20:06:45 +02:00
jean-pierre charras
32f0ea621f
Shape poly set: fix bug in BBox calculation. Class MARKER : fix broken code and clean code. Fix bug #1369682 (EESchema Erc not show error count) due to this broken code.
2015-07-29 14:18:53 +02:00
Maciej Suminski
c9837595ef
Fixed VIEW_CONTROLS too frequent reset.
2015-07-28 10:30:06 +02:00
Maciej Suminski
e9921d8eea
Fixed an assert when footprint viewer was closed before the pcbnew window.
2015-07-28 10:29:00 +02:00
Tomasz Wlostowski
1d7e49a45c
SHAPE_POLY_SET::Inflate(): correct arc approximation for negative offsets (deflation). Control circle->segments count explicitly in all Inflate() calls
2015-07-27 21:46:47 +02:00
Tomasz Wlostowski
63b35f40a7
Removed all dependencies on boost::polygon except for bitmap2component. Replaced almost all instances of CPOLYGONS_LIST with SHAPE_POLY_SET.
2015-07-27 21:45:57 +02:00
jean-pierre charras
f18aef8182
Minor fixes: Bug #1478279 : wrong icon in "YES/NO" dialog; Bug Bug #1478278 (crappy warning/log messages)
2015-07-26 19:50:13 +02:00
jean-pierre charras
ee08e8d1de
Pcbnew: Fix some issues in dialog netlist: remove useless check box, avoid a message sometimes erroneously shown, use lazy mode to build the netlist report, store the netlist report options in user config.
2015-07-24 20:49:47 +02:00
unknown
e4c8854159
Added lazy rendering mode for HTML reporter widget (allows a faster report creation, when the report has many lines)
2015-07-24 17:47:48 +02:00
jean-pierre charras
9b9c7945a2
Many minor fixes (like bug #1477213 ). Better help in dialog environment variables editor (the tooltip was never shown on Windows)
2015-07-24 12:23:34 +02:00
Maciej Suminski
d010703eaf
Fixed cursor freeze in pcbnew (GAL).
2015-07-24 10:58:47 +02:00
Maciej Suminski
d6bc33bd42
Removed a few more memory leaks and fixed crash on exit.
2015-07-24 09:42:46 +02:00
Maciej Suminski
982eee7905
Do not invoke PNS inline dragging when 'Duplicate' is run.
2015-07-24 09:42:45 +02:00
Maciej Suminski
f7fa0852b5
Fixed screen scrolling on zooming in/out.
2015-07-24 09:42:45 +02:00
Maciej Suminski
cd205db812
VIEW_CONTROLS::GetMousePosition() returns VECTOR2I.
2015-07-24 09:42:45 +02:00
Wayne Stambaugh
49d8b90e0b
Fix middle mouse panning bug and cross-hair drawing bug. (fixes lp:1462067).
...
* Update cross-hair position when using mouse wheel to pan.
* Add ugly hack when mouse cursor enters canvas to force the cross-hair visibility counter
back to zero. There was a bug on Windows when using the middle mouse button to pan
and the user released the middle mouse button off of the canvas, the cross-hair would no
longer be displayed until the window was closed and reopened.
2015-07-22 19:33:50 -04:00
Simon Richter
068b1d035f
Fix sort function signature used by EDA_LIST_DIALOG.
2015-07-22 18:54:55 -04:00
Wayne Stambaugh
8482637c83
Default KISYSMOD and KISYS3DMOD path fixes. (fixes lp:1455472)
2015-07-20 20:46:58 -04:00
jean-pierre charras
1885a924d3
Fic bug #1475891 (Assertion failed when appending a board in pcbnew)
2015-07-19 11:18:07 +02:00
jean-pierre charras
3e0334a972
Avoid Cvpcb crash from malformed fp libraries (namely converted from Eagle) when the fp names are not coded using ASCII/UTF8 code.
2015-07-17 15:13:31 +02:00
unknown
40ccc0bedf
replace round() with KiROUND(), our function that is used almost everywhere for rounding, and detects int overflows in debug mode.
2015-07-17 10:26:48 +02:00
Maciej Suminski
36d3d9f78e
Cursor warps to the drag origin (GAL).
2015-07-15 17:32:30 +02:00
jean-pierre charras
5fb7c211f9
Fix issues on Unbuntu Unity (dialogs/frames not raised when they are created and shown)
2015-07-15 15:03:19 +02:00
Maciej Suminski
59af7a96f8
Minor code cleaning.
2015-07-15 14:08:52 +02:00
jean-pierre charras
ac1deb32ee
Fix issues on Linux/Unity (dialogs not always raised)
2015-07-15 10:18:48 +02:00
Maciej Suminski
d2ebf688f9
Reverted commits that remove boost::polygon dependency (need more testing).
2015-07-14 22:23:13 +02:00
Tomasz Wlostowski
9f18e5a98f
SHAPE_POLY_SET::Inflate(): correct arc approximation for negative offsets (deflation). Control circle->segments count explicitly in all Inflate() calls
2015-07-14 15:05:41 +02:00
Tomasz Wlostowski
41c753b05d
Removed all dependencies on boost::polygon except for bitmap2component. Replaced almost all instances of CPOLYGONS_LIST with SHAPE_POLY_SET.
2015-07-14 13:36:24 +02:00
jean-pierre charras
c8f8256329
Fix 2 minor issues in SVG plots: sometimes a color was not good. Rectangles with 0 vertiacl or horizontal size are not plot.
...
Minor code cleaning.
Also fix a minor coverity warning about a not initialized member.
2015-07-13 20:36:06 +02:00
jean-pierre charras
1c9115ee91
opengl_gal: fix a strange but already encountered issue on Ubuntu/Unity when switching to GAL: the dialog which test the opengl version was never raised, and the Pcb editor frame partially no more responding to menu events.
...
Also fix a bug: this test dialog was never destroyed.
2015-07-13 10:46:05 +02:00
Wayne Stambaugh
5ddc9b378b
Correctly fix version header generation to be rebuilt during make.
...
* Use CMake add_custom_target() to run WriteVersionHeader.cmake as a command.
* Modify WriteVersionHeader.cmake to be run as a command instead of a macro.
* Add version header creation as a CMake common library build dependency.
* Add cached CMake variable KICAD_BUILD_VERSION when build version is defined during
configuration.
2015-07-10 14:47:59 -04:00
Maciej Suminski
9c44750ae0
Method to check WX_UNIT_BINDER value validity.
2015-07-09 13:35:50 +02:00
Jon Neal
fdf5b821f0
Add centering cursor on zoom to GAL.
2015-07-09 10:18:27 +02:00
Maciej Suminski
f2785d35bf
Muting Coverity report.
2015-07-07 18:37:03 +02:00
Maciej Suminski
4661e39e08
Fixed displayed modifiers for hotkeys in context menus (GAL).
2015-07-07 18:37:00 +02:00
jean-pierre charras
169905d26e
Drc dialog: fix some issues, and mainly the fact the progress bar shown during track tests and zone filling can be sent to the background and the dialog can be closed during tests or the board edited during tests.
...
Add a minor change in dialog_shim only for OSX. (force raising the dialog).
Very minot other fixes: coverity warnings, better message in debug mode in baord outlines calculations.
2015-07-07 19:49:03 +02:00
Tomasz Włostowski
24170f5588
Fixes to SHAPE_POLY_SET slitting/fracturing algo, some speed optimization.
2015-07-06 15:15:48 +02:00
Wayne Stambaugh
9d69b73b85
Minor version string generation changes.
...
* Fix CMake macro create_bzr_version_header to always update version.h file whenever a repo change
is found. Running `make rebuild_cache is no longer required.
* Add new CMake function for writing version.h file.
* Always use version.h file for build version string instead of meaningless hard coded date.
* Only use bzr version string when build version is not defined at configuration time for stable release
version strings.
* Minor cleanup of FindBazaar.cmake.
* Remove unnecessary version.h.cmake file.
2015-07-05 15:24:34 -04:00
jean-pierre charras
8d5ee67c9c
New attempt to manage the Cmd key on OSX in menus.
2015-07-04 10:36:58 +02:00
Maciej Suminski
3cb095b7c2
GAL canvases update status bar, message panel & zoom widget.
2015-07-03 20:58:12 +02:00
Maciej Suminski
705c4ef4c5
bugfix: Blank footprint viewer in legacy canvas.
2015-07-02 21:25:39 +02:00
Maciej Suminski
766da1e494
Code formatting.
2015-07-02 16:11:15 +02:00
Tomasz Wlostowski
a86fda1d37
tools: added TOOL_SETTINGS class for storing persistent tool settings in config file (just a wrapper for wxConfigBase) router: free angle mode (mark obstacles only) & persistent settings
2015-07-02 16:09:51 +02:00
Mathias Grimmberger
7724c581fd
router: support for non-90 degree pad orientations
2015-07-02 16:09:43 +02:00
jean-pierre charras
c48a417dcd
Pcbnew: Replace wxComboBoxes by wxChoice in auxiliary horizontal toolbar, to try to avoid issues on OSX (combo boxes not responding to mouse clicks).
2015-07-02 14:51:27 +02:00
jean-pierre charras
1311f81448
Replace wxComboBoxes by wxChoice in auxiliary horizontal toolbar, to try to avoid issues on OSX.
2015-07-02 11:50:38 +02:00
Maciej Suminski
9d27caca75
More robust method of regaining keyboard focus (GAL).
2015-07-02 11:40:33 +02:00
jean-pierre charras
5c7f073a28
Hotkeys: try to use Cmd instead of Ctrl on Mac OSX.
2015-07-02 09:28:54 +02:00
Maciej Suminski
51c0ae3480
Fixed cursor offset in GAL.
2015-07-01 03:46:42 +02:00
Maciej Suminski
6ad6f0bde2
Corrected VIEW::ToScreen().
2015-07-01 03:22:50 +02:00
Maciej Suminski
785638a396
more fix for Cairo setting screen size.
2015-06-30 15:06:30 +02:00
Maciej Suminski
d3c7b45438
Corrected GAL canvases screen size, so they do not include scroll bars.
2015-06-30 14:08:35 +02:00
LordBlick
3adf12344a
Use the system text color in WX_HTML_REPORT_PANEL.
2015-06-29 10:43:09 +02:00
Wayne Stambaugh
c288d200fb
Minor wxPython scripting improvements.
...
* Wrap Pgm().OnPgmExit() changes in APP_SINGLE_TOP to build conditionally
when KICAD_SCRIPTING_WXPYTHON is enabled.
* Check the result of loading the correct wxPython version during
initialization.
2015-06-27 15:05:26 -04:00
Chris Pavlina
ada5274b28
Remove some unused variables.
2015-06-26 19:29:01 -04:00
Maciej Suminski
1c5cde94f0
Make WX_HTML_REPORT_PANEL use the default system background color.
2015-06-26 17:34:07 +02:00
Maciej Suminski
37db33cbca
Update cross hairshape (GAL).
2015-06-26 17:30:41 +02:00
unknown
71b3125d8e
Cleanup: remove unnecessary macros EXCHG and NEGATE. add MIRROR macro.
2015-06-26 15:41:56 +02:00
Marco Hess
be01e15f66
KiCad: add html file support to tree view.
...
* Create bitmap for html files in tree view.
* Run default web browser when html files are double clicked.
2015-06-24 15:30:35 -04:00
jean-pierre charras
a928bbfaac
Fix issue in richio.cpp, when printing strings with a size > 500 chars.
...
This was due to an use of twice the same va_list by 2 calls to vsnprintf, but the first call can change the va_list.
2015-06-24 15:53:03 +02:00
Chris Pavlina
c9d52c8894
Fix segfault when exiting Pcbnew with wxPython scritping enabled. (fixes lp:1431028)
2015-06-23 08:42:12 -04:00
Chris Pavlina
8879c0a411
Fix segfault when exiting stand alone apps under certian conditions. (fixes lp:1467221)
2015-06-23 08:31:27 -04:00
jean-pierre charras
bf2f480b7c
Dialog exchange modules: add a fp selection from the fp viewer
...
Fix also an issue on Windows, when using the footprint viewer or the component viewer in modal mode:
Reason: these frames (when run under the Kicad manager) have the Kicad manager as parent, and were built with wxFRAME_FLOAT_ON_PARENT style.
On windows, when the frame with style wxFRAME_FLOAT_ON_PARENT is displayed its parent frame is brought to the foreground, on the top of the calling frame.
and stays displayed when closing the frame in modal mode.
This issue does not happen on unix so we use now wxSTAY_ON_TOP on Windows, and wxFRAME_FLOAT_ON_PARENT on unix to simulate a dialog called by ShowModal.
This is not perfect, but at least it works.
2015-06-22 19:21:34 +02:00
unknown
97010c3867
Fix Bug 146731: Zone fills entire area when set to THT Thermal ( fracturing (holes->single contour) algorithm bug )
2015-06-22 09:09:44 +02:00
jean-pierre charras
7c8c1d4954
Minor fix and cleanup. 3D viewer: modify the status bar. (Should be enough to avoid the bug #1467111 ).
2015-06-21 20:21:20 +02:00
Tomasz Wlostowski
e8fca89a2c
fix dereference of a deleted pointer
2015-06-19 19:39:33 +02:00
Maciej Suminski
a988ebaabd
Zone merging (GAL).
2015-06-19 17:32:33 +02:00
Maciej Suminski
28a270a328
Refactored grid origin point drawing (GAL).
2015-06-18 17:51:53 +02:00
Maciej Suminski
b3d4a680fa
Prevent weird viewport settings after switching twice to GAL canvas.
2015-06-18 17:51:52 +02:00
jean-pierre charras
d0daa2cab7
Add color selector in 3D viewer for silkscreen, solder mask and copper.
...
Remove unused or duplicate icons.
2015-06-16 20:04:02 +02:00
Maciej Suminski
06aa47c93d
Fixed wxString to char* cast for wxWidgets built with certain flags.
2015-06-16 19:15:28 +02:00
Maciej Suminski
d3b31316ba
Fixed module text visibility settings (GAL).
2015-06-16 17:03:36 +02:00
Maciej Suminski
dd5275f6c6
Minor SELECTION_TOOL fixes.
2015-06-16 14:51:39 +02:00
Maciej Suminski
c007e308f8
One more dialog assert fix.
2015-06-16 14:51:34 +02:00
Maciej Suminski
5c6ecb0491
Zoom hotkeys fix for Windows (GAL).
2015-06-16 14:22:12 +02:00
Tomasz Wlostowski
b562cfb8bb
WX_HTML_REPORT_PANEL: a REPORTER widget on steroids.
2015-06-16 14:20:42 +02:00
jean-pierre charras
49fac351ab
Fix a few coverity warnings.
2015-06-15 16:01:43 +02:00
Maciej Suminski
6d07e9a754
Fixed dialogs asserts.
2015-06-15 15:54:58 +02:00
jean-pierre charras
dc9ebf30e5
A few minor fixes. Eeschema: add a workaround (not afix) to solve issue Bug #1464773 (Print bug with differently sized subsheets).
2015-06-14 19:58:57 +02:00
Tomasz wlostowski
eba3a55bb2
pcbnew: new zone filling algorithm using ClipperLib. Possibility to fall back to the old one
2015-06-12 17:13:18 +02:00
Tomasz Wlostowski
feaa403266
common/geometry: introducing set-of-polygons class (SHAPE_POLY_SET) and File I/O for shapes class (SHAPE_FILE_IO)
2015-06-12 17:12:02 +02:00
Tomasz Wlostowski
9cf885c383
common/geometry: rouding error fixes
2015-06-12 17:11:50 +02:00
Wayne Stambaugh
f97191b050
Fix some more OSX bundle issues due to CvPcb changes.
2015-06-11 16:42:48 -04:00
Maciej Suminski
c23adc47b7
Ratsnest algorithm distinguishes layers (GAL).
2015-06-04 14:54:08 +02:00
Maciej Suminski
d89d1d49a3
Fixed ghost effect in GAL view.
2015-06-04 14:54:07 +02:00
Brian Sidebotham
8afeba3325
* Fix EDA_LIST_DIALOG which had incorrect wxWidgets version check in
...
column sizing. Now the columns are sized to fit either the headers or
items, depending on which is widest
2015-06-02 23:34:55 +01:00
jean-pierre charras
0cab3e47ad
Enable plot in clipboard on Linux and OSX in eeschema, and copy in clipboard in 3d viewer ( was existing on Windows, but disabled on other OS ).
...
Minor other fixes (duplicate hot key in eeschema, which fixes Bug #1460359 )
2015-05-31 13:51:50 +02:00
jean-pierre charras
9f03d15a2e
Try to enable Clipboard copy on linux
2015-05-31 13:14:57 +02:00
unknown
de06578b4b
Fix IDF code bug in the calculation of the outlines winding direction.
2015-05-26 08:18:50 +02:00
Garth Corral
e63cafa62a
Update WX_VIEW_CONTROLS::onMagnify() to recent changes.
2015-05-22 09:37:57 +02:00
Garth Corral
6eaf029a0e
Pinch to zoom for OS X.
2015-05-21 22:54:29 +02:00
jean-pierre charras
a5367391a9
Plot PS and PDF: fix bug Bug #1457215 (rect/trap pads plotted with an incorrect pen size, and therefore an incorrect size and shape. Only noticeable with a large default pen size)
...
Very minor coding style fixes.
2015-05-21 11:04:47 +02:00
Maciej Suminski
48a74dba37
Added missing 'def'
2015-05-21 00:47:53 +02:00
Maciej Suminski
420c1d1bcd
Changed the patch to support full resolution on Retina screens to be more bulletproof.
2015-05-21 00:42:46 +02:00
jean-pierre charras
84ba36fa72
Allows switching GAL or legacy mode in footprint editor (previously, the mode was inherited from the board editor, and was not modifiable without closing the footprint editor) by menu or F9, F11 and F12 keys)
2015-05-19 18:39:05 +02:00
Maciej Suminski
4026cb6c58
Moved zoom limits and area boundaries handling to VIEW.
2015-05-18 13:48:13 +02:00
Maciej Suminski
6fc59f9acd
Full resolution in OpenGL canvas on Retina displays
2015-05-18 13:48:12 +02:00
Maciej Suminski
cbb86c3b9c
Fixed zooming with Apple pointing devices (GAL).
2015-05-18 13:48:12 +02:00
Maciej Suminski
2043d4696f
Scrollbars (GAL).
2015-05-18 13:48:10 +02:00
jean-pierre charras
77249d9b2d
Minor fixes: remove a few useless includes and move a few others to the right file. Remove a few coverity warnings about not initialized members.
...
Minor bug fix: Zone duplicate zone in legacy mode: duplicate a zone to the same layer (and therefore the same location) is no more allowed.
2015-05-15 14:49:11 +02:00
jean-pierre charras
37b0868376
Pcbnew: fix minor issues about fast grid switching, and next/previous grid selection from hotkeys. (GAL mode still has an issue)
2015-05-12 11:05:36 +02:00
Wayne Stambaugh
b2745c4b00
Unify platform information code in about dialog and version information.
2015-05-11 12:25:33 -04:00
Maciej Suminski
da75c52665
Hot keys settings are synchronized between GAL & legacy
2015-05-05 20:39:42 +02:00
Maciej Suminski
99e5228948
Moved the list of TOOL_ACTIONs to ACTION_MANAGER.
2015-05-05 20:39:41 +02:00
jp charras
722435f317
Fix issues in auto-save files:
...
* auto-save was broken for all sub sheets with are in a sub-directory of the project directory. (reason wxFileName::Normalize(), used to create the absolute path has issues with filenames starting by '$', perhaps due to env var which also start by $). the auto-save prefix is modified ( now AUTOSAVE_PREFIX_FILENAME which defines "_save_" ) and defined only once.
* auto-save files from sub-sheets were not found due to the fact the path was not set (fixed by Blair Bonnet's patch)
2015-05-03 15:48:05 +02:00
jean-pierre charras
d41bc31c49
Fix bug #1447905 (very minor bug, in fact). Fix a few minor coding style issues.
...
Fix 2 coverity warnings.
2015-05-03 08:31:14 +02:00
jean-pierre charras
2047d87317
Minor fixes (Bug #1414328 and Bug #1440312 ). Remove translatable attribute in a debug message.
...
tools/edit_tool.cpp: remove limitation (GAL mode) to delete the last pad in a footprint (a footprint can have 0 pad, for instance a logo)
2015-05-01 17:01:09 +02:00
jean-pierre charras
5a02b91e5f
Fix some issues created by rev 5632:
...
* Use only double to store zoom levels in class BASE_SCREEN (int type is not working for eeschema or page layout editor) (this fix Bug #1450551 , Assertion failed on wxRound() when zooming)
* Fix crash in all apps but Pcbnew when a grid or a zoom was selected from the popup menu.
* Modify default hotkeys for Next Grid and Previous Grid: the initial key was a dead key, not suitable as hotkey. the 'N' and Shift N keys are used instead (with a change for unfill zone hotkey)
* Modify code in EDA_DRAW_FRAME::SetNextGrid() and EDA_DRAW_FRAME::SetPreviousGrid() to make them compatible with other editors than the board editor.
2015-05-01 11:31:23 +02:00
Maciej Suminski
8390fec69d
Minor fixes.
2015-04-30 10:46:08 +02:00
Maciej Suminski
47582e2741
GAL autozooms on every EDA_DRAW_FRAME::Zoom_Automatique
2015-04-30 10:46:08 +02:00
Maciej Suminski
e37b07a6fc
Explicit destruction of menu entries in CONTEXT_MENU.
2015-04-30 10:46:07 +02:00
Maciej Suminski
b218c1099f
Added TA_CONTEXT_MENU_CLOSED tool event.
2015-04-30 10:46:07 +02:00
Maciej Suminski
f2788a3086
Corrected way of storing cursor coordinates for context
2015-04-30 10:46:06 +02:00
Maciej Suminski
06b978b829
Refactored CONTEXT_MENU, added handler for updating.
2015-04-30 10:46:05 +02:00
Maciej Suminski
dfb0443b67
Refactoring library dependencies.
2015-04-30 10:46:05 +02:00
Maciej Suminski
025d4cf23a
Alternative way of handling grid settings in GAL.
2015-04-30 10:46:04 +02:00
Maciej Suminski
4be876a13a
Expandable CONTEXT_MENUs (GAL). Minor CONTEXT_MENU
2015-04-30 10:46:04 +02:00
Maciej Suminski
946b9d1933
setTransitions() are called automatically for tools.
2015-04-30 10:46:03 +02:00
Maciej Suminski
50afd515c2
Minor code cleaning.
2015-04-30 10:46:03 +02:00
Maciej Suminski
c4888afbcc
Refactored the way GAL handles zoom settings.
2015-04-30 10:46:02 +02:00
Maciej Suminski
557bb43dd2
Moved TOOL_MANAGER & TOOL_DISPATCHER to EDA_DRAW_FRAME.
2015-04-30 10:46:02 +02:00
Maciej Suminski
5c984aa069
Parametrized TOOL_ACTIONs.
2015-04-30 10:46:01 +02:00
jean-pierre charras
569c2be354
Minor fixes: dialog rescue: make strings translatable. Remove a few coverity warnings (not initialized members). Very minor other changes.
2015-04-28 17:07:36 +02:00
Chris Pavlina
26c320db57
Add schematic component library change rescue feature (fixes lp:1435338).
...
* Add code to test if any of the components in the schematic cache have been changed
in the component libraries.
* Prompt user to accept or reject components when changes are found.
* If the user chooses to use the components in the cache, create a new library with the old
components and add it to the beginning of the component library list so the schematic will
not be changed.
* Create dialogs to handle user feedback and status.
2015-04-25 18:26:51 -04:00
Maciej Suminski
709697ea40
Better way to determine supported OpenGL version and extensions.
2015-04-20 14:16:41 +02:00
Maciej Suminski
7480bcf1ae
Yet another desperate trial to fix the depth buffer issues.
2015-04-17 12:15:25 +02:00
Maciej Suminski
d281d86eee
Fixed undo/redo display refresh for miras & dimensions (GAL).
2015-04-17 12:15:07 +02:00
jean-pierre charras
4daf9039db
Eeschema: Fix a very old bug relative to the tool to load power parts:
...
Previously, only the lib named "power" was used (and therefore power parts defined in other libs not shown).
Now, all power parts can be loaded from any library.
Also, when loading power parts from the chose component dialog or the lib viewer, libs and parts are filtered: only power parts and libs containing power parts are listed.
Hotkeys: move a few global strings in the files where ther are actually used (and make them local.) and code cleaning.
Fix a few other minor issues.
2015-04-16 17:26:51 +02:00
jean-pierre charras
9c0c89256e
Make hotkeys editor titles translatable.
2015-04-14 19:44:19 +02:00
jean-pierre charras
ec17455d35
board_items_to_polygon_shape_transform.cpp: remove full duplicate code between DRAWSEGMENT and EDGE_MODULE, and fix incorrect conversion of DRAWSEGMENT polygon type to its polygonal shape.
...
Gerbview: better info from X2 filefunction attribute displayed in layer manager about copper layers
2015-04-09 20:53:36 +02:00
Wayne Stambaugh
4274f2d5d5
Fix config.h default data install path assignment during configuration.
...
* Remove redundant definition of KICAD_DATA_PATH since DEFAULT_INSTALL_PATH
was already defined.
* Use DEFAULT_INSTALL_PATH as the substitution for the default environment
variable paths.
* Add option to define DEFAULT_INSTALL_PATH during CMake configuration with
fall back to CMAKE_INSTALL_PREFIX if not not defined.
* Developer note: this change is primarily for package builders where
CMAKE_INSTALL_PATH is the path where the package builder temporarily
installs the build output before creating the package. When building
packages, DEFAULT_INSTALL_PATH should be set to the path where the
package will be installed by default.
2015-04-08 13:27:04 -04:00
jean-pierre charras
17297babe7
Eeschema: extend max number of units per package to 52 and clean code to easily extend this value upto 26x26 (but 52 is a reasonable max value).
...
Fix a few minor coverity warnings.
Add about_dialog typo fix from Nick Østergaard
2015-04-07 13:52:29 +02:00
Nick Østergaard
0241776d54
Sync the about dialog with AUTHORS.txt, and updates the copyright year
2015-04-05 11:48:54 +02:00
Maciej Suminski
b1cd83c197
Icons in GAL context menus.
2015-04-02 16:09:48 +02:00
Maciej Suminski
6083f3b011
Internationalization of GAL dialogs & menus.
2015-04-02 16:09:26 +02:00
jean-pierre charras
bbbb84e6c2
Fix a few minor coverity warnings.
...
Fix minor 3D viewer issues (includling change number of segments and its optimization to draw pad holes.)
Fix Bug #1439132 (track and via list on toolbar not always refresh after loading a board).
Remove useless tool in Modedit.
2015-04-02 13:18:19 +02:00
Maciej Suminski
589dd442f5
Clippy returns home.
2015-04-02 09:18:45 +02:00
Maciej Suminski
8be73ad05a
KiCad assistant.
2015-03-31 23:45:02 +02:00
Wayne Stambaugh
a6172bb72e
Minor path configuration code fixes.
...
* Fix bug (and Coverity error) when deleting environment variable map entries.
* Remove debug logging code inadvertently left over from development.
2015-03-31 11:46:31 -04:00
Maciej Suminski
4dae107dab
Alternative depth range in OpenGL GAL.
2015-03-30 22:14:37 +02:00
Wayne Stambaugh
6aff74665a
Fix build error cause by difference in wxRichMessageDialog between versions 3.0.1 and 3.0.2.
2015-03-30 10:52:54 -04:00
Maciej Suminski
9e8719d3ff
Fixed overlapping segment endings in OpenGL view.
2015-03-30 14:09:56 +02:00
Wayne Stambaugh
45d0448bb9
Add path (environment variable) configuration dialog.
...
* Create new dialog to edit environment variables.
* Add helper class ENV_VAR_ITEM to manage environment variable values and
if they were defined externally.
* A path configuration dialog access to KiCad, CvPcb, Pcbnew, and Footprint Editor
window menus.
* Add validator for environment variables.
2015-03-29 17:22:53 -04:00
jean-pierre charras
1bc3e9f105
Better error messge when a .kiface file ( or, if it exists, a .dll or .so shared library ) is not found at start up
2015-03-26 18:27:13 +01:00
jean-pierre charras
bb50e141f4
Pcbnew: Force visibility of items which have no option in dialogs to controle this visibility, when reading the .kicad_brd file.
...
these options are used in GAL mode, but the usercannot control this visibility. So if the board file does not have these visibility flags set, the GAL never show them.
Fix also a compil warning.
2015-03-26 14:20:11 +01:00
Maciej Suminski
b74b2efff0
More printing fixes.
2015-03-25 18:27:17 +01:00
jean-pierre charras
85bc2ae015
Rework on Gerber plot functions: add X2 attributes in J5 version. Minor code cleaning.
2015-03-25 14:07:05 +01:00
Maciej Suminski
0b7fd874a0
Fixed printing issues under Linux.
2015-03-25 10:55:00 +01:00
jean-pierre charras
0e03fbff07
Make hotkey string info translatable in dialogs. These strings are now prefixed by _HKI , which can be used by translation tools to extract them.
2015-03-22 15:04:09 +01:00
https://launchpad.net/~john-j-beard
0350290499
Fix Bug #1426675 (Undo and cancel commands don't have effect for Duplicate operation in legacy mode)
2015-03-22 10:42:41 +01:00
jean-pierre charras
6e8a8a6b25
Fix some coverity warnings (mainly not initialized members)
2015-03-21 10:06:04 +01:00
unknown
35c23f3135
Fix incorrect close function in HTML_MESSAGE_BOX (whichcan be shown in modal or not modal mode)
2015-03-20 20:11:11 +01:00
jean-pierre charras
834b31b491
Plot pdf: fix issue when a 0 sized text is plotted (files are broken): now 0 sized texts are ignored.
...
pcbnew: remove a false error message when undoing a change on a text, or some other board items (graphic items for instance)
2015-03-18 20:50:42 +01:00
Chris Pavlina
1d2e2e555b
Final solution for the text overbar problem in GAL.
2015-03-16 18:18:18 +01:00
Chris Pavlina
e6db185f2e
Adjusted text overbar height in GAL.
2015-03-16 16:42:45 +01:00
Chris Pavlina
be29952819
Fix for hotkey collisions when modifiers are used.
2015-03-16 10:34:45 +01:00
jean-pierre charras
3c4f76abe4
Fix a not shown dialog under XFCE and Unity. Make display hotkeys window not modal.
2015-03-15 12:41:06 +01:00
jean-pierre charras
f743b98844
Try to fix Bug #1431391 (Unable to edit pins in Schematic library editor). It happens on XFCE, but also on Unity. This fix works on Unity. (it is due to the fact the dialog is not raised, for an unknown reason, and this bug depend on the way Eeschema and Libedit are run).
...
Add Ctrl+E hotkey in eeschema to edit a component with Libedit (similar to pcbnew Ctrl+E hotkey)
As usual, fix a few minor coverity warnings
2015-03-14 12:50:39 +01:00
jean-pierre charras
9004ed8801
Remove a few coverity warnings. Fix some comments which were incorrect, due to the changes in code. Remove not compiled code (kept as comments), now outdated or useless
...
legacy plugin: better compatibility with old brd files (current track width and current vias size, stored in SETUP section, were not read from file and incorrectly set)
2015-03-13 17:48:42 +01:00
unknown
b3b791961a
coverity common folder fixes (mainly not initialized members).
2015-03-11 17:04:20 +01:00
Maciej Suminski
b6c5b291a2
Coverity fixes.
2015-03-11 14:17:43 +01:00
unknown
f87577ca72
class PLOTTER: dash lines parameters in one place for plot. I made minor changes (values in mm and set to give the same size as dashed lines drawn by wxDC, using short dash.)
2015-03-10 21:00:50 +01:00
Maciej Suminski
4ad4898254
Fixed jumping cursor when closing pad properties window (GAL footprint editor).
2015-03-10 17:27:15 +01:00
Maciej Suminski
143f52eb4d
VIEW_CONTROLS::CaptureCursor()
2015-03-10 13:20:38 +01:00
Maciej Suminski
e6a10faab7
FIxed a few clang warnings.
2015-03-09 11:06:54 +01:00
Eldar Khayrullin
5d8f7ba0e6
bugfix: cannot draw 180 degree arc in OpenGL canvas
2015-03-09 10:26:29 +01:00
jean-pierre charras
086ff54ef0
Fix minor issues: plot svg did not handle dashed lines.
...
Eeschema now uses dashed lines for graphic lines (to be consistent with plot functions and toolbal icon).
Fix an old bug in some envionments which warp the mouse on a bad monitor when opening eeschema, pcbnew and some other windows, only noticeable guys who are lucky enough to have more than one monitor.
2015-03-06 18:46:04 +01:00
Alexander Golubev
f2ce42ddb5
fix several -Woverloaded-virtual warnings in common/* dir
...
- CACHED_CONTAINER::GetVertices: removed useless and unused function
which does nothing but tainted the API
- SHAPE_LINE_CHAIN::Collide( const BOX2I& aBox, int aClearance ):
removed an outdated function with assert(false)
- SHAPE::BBox(): fix a small typo in the doc string
2015-03-06 15:26:47 +01:00
unknown
c3e3ff3682
Minot fixes: Minor coding style issues fix (tab -> spaces). Add missing GetClass to all classes derived from EDA_ITEM. Make debug method Show() only compiled in debug mode.
2015-03-06 09:58:32 +01:00
jean-pierre charras
02c8d4db8a
Minor fixes: coding style in 3d-viewer and minor code cleanup, and some fixes in bom python scripts, which did not work when a non ascii char (but a valid utf8 symbol) was found in xml netlist. Add comments.
2015-03-05 20:46:38 +01:00
jean-pierre charras
8d6e75fce6
Fix 2 coverity warnings, and cleanup a old code in dialog_color_config.
2015-03-04 20:45:18 +01:00
jean-pierre charras
a550ff84db
Fix some coverity and cppcheck warnings (most are very minor issues: not initialized members and initialized but not used variables)
2015-03-04 10:26:00 +01:00
jean-pierre charras
c7d04c3d08
Code cleaning: Remove EDA_BASE_FRAME::m_FrameName member which is a duplicate of wxFrame name.
2015-03-03 15:53:47 +01:00
Maciej Suminski
9716165d06
Merged the differential pair router & track length tuning tool.
2015-03-03 13:41:43 +01:00
Maciej Suminski
a6bd3314e4
Fixed warnings.
2015-03-03 12:59:26 +01:00
Maciej Suminski
0dd9efd9db
Merged the differential pair router & length tuning tool.
2015-03-03 11:50:50 +01:00
jean-pierre charras
2804d2e566
Add hotkeys to Kicad manager, and some rework on hotkeys management.
2015-03-02 18:29:18 +01:00
jean-pierre charras
4bab8dde65
Fix some minor coverity warnings. Fix a bug in pcad2kicad plugin. Scripting: map BASE_SET. Rename some python bom scripts with better names. Fix erroneous comments and add comments
2015-03-02 09:28:49 +01:00
Wayne Stambaugh
25b9a42ea3
More Coverity scan error fix goodness.
2015-02-28 15:50:35 -05:00
Blair Bonnett
2101324691
Fix wxGTK scrollbar assertion in Pcbnew layer setup dialog.
2015-02-28 11:48:39 -05:00
jean-pierre charras
d6c6b4debb
Fix some coverity warnings (mainly not initialized vars).
2015-02-27 15:33:13 +01:00
Bernhard Stegmaier
30acc07e11
Default path fixes and remove old to find 3D model path code.
...
* Fix default KISYSMOD/KISYS3DMOD (#ifdef typo) for OSX builds.
* Remove setting KIGITHUB from kicad/pcbnew Info.plist in favor of hardcoded default
setting for OSX builds.
* Remove now unneeded Set3DShapesDefaultPath() and other small things.
2015-02-27 08:34:02 -05:00
jean-pierre charras
10d67ffbd9
Fix some coverity warnings (not initialized members). Add comments. Better (more informative) title in dialog to download .pretty libs.
2015-02-26 11:33:15 +01:00
Bernhard Stegmaier
1e6c8cf88f
Enable file extension filters on OSX file dialog.
2015-02-22 17:48:33 -05:00
Wayne Stambaugh
4c6ca81f2c
More Coverity scan error fixes.
2015-02-22 16:25:29 -05:00
jean-pierre charras
0975e3e5bd
Move exact dialog: make all messages translatable. Fix minor issues (some can be Windows specific). Remove useless declarations. Fix coding style issues
...
Fix minor warnings from cppcheck.
2015-02-22 15:43:44 +01:00
jean-pierre charras
c1978b3242
Pcbnew: fix crash when undoing a move exact pad in board editor.
...
Fix also very minor warnings detected by cppcheck.
2015-02-22 10:39:58 +01:00
jean-pierre charras
c6f4f15926
Eeschema: Minor code reorganization:
...
* move not shared files (sch_item_struct.*, sch_base_frame.h) to eeschema;
* move wxEeschemaStruct.h to eeschema and rename it schframe.h to be consistent with the other corresponding file name schframe.cpp;
* remove few not needed #include
2015-02-21 10:46:44 +01:00
Mark Roszko
3918d3f0b2
Eeschema code cleanup and coverity fixes.
2015-02-21 09:11:58 +01:00
Wayne Stambaugh
d1d1e2b58a
Lots of Coverity scan error fixes.
2015-02-20 19:41:10 -05:00
jean-pierre charras
bd5d468251
Pcbnew: fix bug #142348 (airwire does not always appear after deleting a track). Very minor other fixes.
2015-02-20 20:04:32 +01:00
Maciej Suminski
590d9b3b18
Merged lp:~john-j-beard/kicad/moveexact with some patches.
2015-02-20 14:46:12 +01:00
Tomasz Wlostowski
f0e7363f88
SHAPE_LINE_CHAIN: fix segfault
2015-02-20 10:37:25 +01:00
Maciej Suminski
c2bd2491f1
Added asserts in spots where DEGREES are not handled.
2015-02-19 16:03:45 +01:00
Maciej Suminski
f7a32e839e
Moved UndoInhibit related functions from TOOL_MANAGER to EDIT_TOOL.
2015-02-19 14:53:31 +01:00
Maciej Suminski
f06690c8d3
Merged lp:~john-j-beard/kicad/moveexact.
2015-02-18 20:27:00 +01:00
Maciej Suminski
4fb9bce354
Code formatting.
2015-02-18 17:53:46 +01:00
Tomasz Włostowski
8bd9dd49bb
view: added quick hiding mechanism in VIEW/VIEW_ITEM
2015-02-18 00:43:02 +01:00
Tomasz Włostowski
c87b136522
geometry: new methods and fixes in SEG class
2015-02-18 00:40:11 +01:00
Tomasz Włostowski
f0c913c65e
common: added WX_STATUS_POPUP and WX_UNIT_BINDER widget classes
2015-02-18 00:35:18 +01:00
Tomasz Włostowski
1112681a77
Merge branch 'bzr/master'
2015-02-17 23:09:30 +01:00
Wayne Stambaugh
f4d5e349bf
Fix a bunch of Coverity scan "unhandled exception" errors.
2015-02-17 13:47:21 -05:00
jean-pierre charras
39497b109e
Pcbnew: fix Bug #1422093 (pcbnew crashes after editing a footprint cominng from the board with the fp editor and saving it on a librray and trying to load it to the board)
...
Some other very minor fixes.
2015-02-17 17:32:47 +01:00
Maciej Suminski
b1ace1607b
Reworked GAL switching.
...
Now OpenGL can report its problems instead of shutting down the application.
2015-02-15 02:18:35 +01:00
Maciej Suminski
902d0e3f1f
Tools are processing const TOOL_EVENT& (Tool Framework).
2015-02-14 21:28:47 +01:00
John Beard
4f3672da4d
Add "move exact" and "duplicate" tools to pcbnew
2015-02-12 03:22:24 +00:00
jean-pierre charras
74e83e924a
Pcbnew: Fix Bug #1420074 (Crash when a footprint is added to the board (or edited) from the footprint editor, if a new pad was added, because the net info of the new pad is broken in this case)
2015-02-11 11:10:53 +01:00
Maciej Suminski
0001bc2844
Fix for clarification menu crash (GAL/Windows).
2015-02-11 00:23:45 +01:00
Tomasz Włostowski
ae9eacb2c3
Merge branch 'bzr/master'
2015-02-07 09:58:30 +01:00
Adam Wolf
88ce5920b5
Fix OSX help search paths.
2015-02-06 16:13:35 -05:00
jean-pierre charras
7dadeadbf3
bugfix 1418736: pcbnew crashes if "Interactive Router" was selected from the context menu.
2015-02-06 22:01:57 +01:00
Tomasz Włostowski
b03d421801
Merge branch 'bzr/master'
2015-02-06 21:32:33 +01:00
Wayne Stambaugh
bd199b894e
Set default footprint library table and 3D model library environment variables.
2015-02-03 15:42:33 -05:00
jean-pierre charras
b1cd42cf08
Pcbnew: simplify draw code in default canvas and plot functions by removing the plot LINE option, which is not existing in all plotters, not existing in opengl/cairo canvas, and not usefull in default canvas.
2015-02-02 09:06:39 +01:00
Wayne Stambaugh
93b0a0831e
Minor fixes and code cleaning.
...
* Check to see if image handler is already initialized to prevent warning
on debug builds.
* Change LIB_PART destructor message output to use wxLogDebug for debugging
on windows builds.
* Minor code cleaning and coding policy fixes.
2015-01-27 13:40:52 -05:00
Maciej Suminski
2647fdfd89
Fixed context submenus event handlers (GAL/Windows).
2015-01-25 19:11:02 +01:00
jean-pierre charras
f0a52644ea
Pcbnew: fix Bug #1413701 (Segfault on highlight "unconnected" net 0 in Pcbnew ). Also, remove now useless code and other very minor fixes.
2015-01-23 12:24:32 +01:00
Wayne Stambaugh
ca065833ea
Remove EDA_DRAW_FRAME::IsActive() and replace with wxFrame::IsActive().
2015-01-22 08:42:24 -05:00
jean-pierre charras
64dd1f7461
Eeschema: fix a minor bug and enhances SCH_MARHER::Matches function ( partial use of 0005-SCH_MARKER-fix-a-Woverloaded-virtual.patch, from <fatzer2@gmail.com> ) and other very minor fix.
2015-01-20 13:06:44 +01:00
jean-pierre charras
d4e04dcc97
Fix bugs detected by Cppcheck.
2015-01-19 20:03:50 +01:00
Tomasz Włostowski
78442a8b06
Merge branch 'bzr/master'
2015-01-19 19:35:47 +01:00
Tomasz Włostowski
ee66a3cd1d
common: added WX_UNIT_INPUT to CMakeLists
2015-01-19 19:35:05 +01:00
jean-pierre charras
64925bfc4f
Very minor fixes: add missing const return type to some GetBoundingBox() declarations. Change few functions names to better names in some places (like GetName() to GetPinName() )
2015-01-18 18:28:14 +01:00
jean-pierre charras
ac539b9578
Minor and very minors fixes: move -DKICAD_USE_WEBKIT definition to the main CMakeLists.txt. Remove duplicate semi-colon at end of some lines.
2015-01-17 09:01:16 +01:00
jean-pierre charras
c27b2fbf4c
Fix issues in fp lib table wizard
2015-01-16 09:10:23 +01:00
jean-pierre charras
0b1a6fd7c3
More work on fp lib table wizard: add a button to import the full list of .pretty libs on github.
...
* if the current select plugin is the github plugin, one can select some of these libraries and add them to the table
* if the current select plugin is the kicad plugin, one can select some of these libraries and download them to make alocal copy.
They can added to the table after they are downloaded.
2015-01-15 21:01:53 +01:00
jean-pierre charras
972329527e
Cvpcb: fix issues relatives to .equ files management:
...
* Add dialog to edit the list of active equ files.
* allows use of our environment variables in .equ file names.
2015-01-11 18:22:45 +01:00
jean-pierre charras
9cfb97d8b4
Add hight contrast option in Modedit. In hight contrast mode, solder masks and solder paste are shown.
...
this option was possible only by modifying the way display options are managed.
before these changes, display options were a global DISPLAY_OPTIONS class instance.
Now each EDA_DRAW_FRAME(and derivated classes) includes its own DISPLAY_OPTIONS class instance.
As a consequence, some duplicate display option variables in these classes have been removed, because there were just duplicate variables of the DISPLAY_OPTIONS class instance.
2015-01-10 11:27:49 +01:00
Jose Ingnacio
c9a1b239a6
Use XDG_CONFIG_DIR for lock file path on Linux.
...
* With fixes from Adam Wolf.
2015-01-07 10:04:57 -05:00
jean-pierre charras
678a763481
Pcbnew: better display of tracks/vias/grid in toolbar. All: modify the zoom value shown in toolbar or status bar (roughly now zoom 1.0 is near the 1:1 scale, on a 22 inches Monitor). Fix also many other minor and very minor issues
2015-01-06 08:38:58 +01:00
jean-pierre charras
ad74a9a191
Pcbnew: better display of tracks/vias/grid sizes in toolbar
2015-01-05 14:20:04 +01:00
jean-pierre charras
6a19315557
Fix compat with swig 3.03
2015-01-04 08:19:04 +01:00
Fat-Zer
846b2ae24e
Fix Bug #1381287 (CvPCB ignores the footprint filter field on aliased components)
2015-01-02 08:52:29 +01:00
jean-pierre charras
45fcc04dbf
Update ecc83 demo. default KISYS3DMOD definition on Linux: add /usr/local/kicad/share/kicad/module/package3d test to find a suitable value.
2015-01-01 19:52:23 +01:00
jean-pierre charras
605a9bb5f2
Page layout selection: fix Bug #1405972 , and add minor enhancement in page layout selection dialog (the new layout is shown after selection).
...
When the filename is not absolute, the page layout file is now searched first in project folder, and then in kicad template folder, if not found in project.
2014-12-31 13:31:19 +01:00
jean-pierre charras
bc230f7650
Code cleaning: move class PAGE_INFO from common.h to class_page_info.h;
...
Fix issue when using a page layout file in project folder: eeschema and Pcbnew did not use it, unless using an absolute path.
Now, if the file path is nor absolute, it is seen as relative to the project (which is the expected behavior)
fp lib wizard: when pcbnew id compiled with USE_GITHUB_PLUGIN=OFF, the github plugin option is no more accessible (and the web viewer no more used).
2014-12-23 14:01:59 +01:00
jean-pierre charras
6deb3823d7
Aesthetic enhancements ( use few svg icons from Konstantin Baranowskiy).
...
Allows use of modifier shift key with letters A ... Z in hot keys (including hot key editor). Thanks to John Bird, who helped me with his patch.
2014-12-18 19:53:19 +01:00