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