Chris Pavlina
ac54b7d114
libedit: fix iterator off end of vector (lp:1537946)
2016-01-25 20:52:13 -05:00
Wayne Stambaugh
2aac71700b
Eeschema: move is complex hierarchy and find next item from SCH_SHEET_PATH to SCH_SHEET.
...
* Add function to get a list pointers to this sheet and all of it's sub-sheets
to SCH_SHEET.
* Remove unused function SetFootprintField() from SCH_SHEET_PATH.
2016-01-24 15:46:14 -05:00
Martin d'Allens
d18baf1487
Eeschema: Set modified flag after "Append Schematic Sheet"
2016-01-23 10:25:07 -05:00
Wayne Stambaugh
ac30be332f
Eeschema: move get multi-unit components from SCH_SHEET_PATH to SCH_SHEET.
2016-01-21 19:01:34 -05:00
Chris Pavlina
8e8e126dcd
Regression fix: hotkeys in eeschema not saved
...
Regression introduced in bzr 6474 / git 5173699
2016-01-21 10:17:55 -05:00
Chris Pavlina
c490e7dd06
Fix typing problems with GR_KB_* constants
2016-01-20 07:11:17 -05:00
Wayne Stambaugh
cf9a9a09ad
Eeschema: decouple SCH_COMPONENT from SCH_SHEET_PATH.
...
* All reference paths except netlist objects are retrieve from the parent
sheet of the component rather than the external sheet path object.
2016-01-18 18:47:55 -05:00
Chris Pavlina
5d805e94eb
Remove last vestiges of DIALOG_COLOR_CONFIG
...
The color config dialog in libedit edits the same settings as the one in
eeschema, so there's no reason for it - it's just duplicated.
2016-01-16 18:51:56 -05:00
Chris Pavlina
b891fa4358
Remove separate color configuration dialog
2016-01-16 18:51:48 -05:00
Chris Pavlina
bf03642220
Pull colors widget into preferences dialog
2016-01-16 18:51:38 -05:00
Chris Pavlina
9513741816
Rename WIDGET_COLOR_CONFIG -> WIDGET_EESCHEMA_COLOR_CONFIG
2016-01-16 18:51:27 -05:00
Chris Pavlina
8c2427d3fa
Add and use WIDGET_COLOR_CONFIG::InstallOnPanel
2016-01-16 18:50:55 -05:00
Chris Pavlina
c4694e029d
Move color configuration into a separate widget
2016-01-16 18:50:45 -05:00
Chris Pavlina
2ed78cf84b
Move import/export button back into menu
2016-01-15 21:06:41 -05:00
Chris Pavlina
80fae7161e
Coding style fixes
2016-01-15 21:06:25 -05:00
Chris Pavlina
73faa8238e
Adjust options window
2016-01-15 21:06:15 -05:00
Chris Pavlina
4dad12794a
Add and use WIDGET_HOTKEY_LIST::InstallOnPanel
2016-01-15 20:58:39 -05:00
Chris Pavlina
af042628ff
Refactor WIDGET_HOTKEY_LIST out of DIALOG_HOTKEYS_EDITOR
2016-01-15 20:56:57 -05:00
Chris Pavlina
9663060f97
Recreate menu bar after changing hotkeys
2016-01-15 20:56:23 -05:00
Chris Pavlina
2e4bb307dc
Fix dialog sizing issue on Windows
2016-01-15 20:56:16 -05:00
Chris Pavlina
db178dcdaf
Eeschema options+hotkeys fixes
...
Fix wxTreeListCtrl column sizing
Minor: fix signed/unsigned comparison
Remove unnecessary m_parent direct access
2016-01-15 20:56:00 -05:00
Chris Pavlina
5173699eec
Pull hotkey editor into eeschema preferences
2016-01-15 20:55:50 -05:00
Simon Wells
e5f3edf0f1
Eeschema: minor coding policy fix
2016-01-15 20:26:34 -05:00
Simon Richter
769104d542
pin table: Support flat table
2016-01-14 21:26:42 -05:00
Chris Pavlina
ca01527d20
Coding style fix in the previous patch
2016-01-14 21:21:54 -05:00
Simon Richter
64782736ac
pin table: Add GetString() to retrieve string value for column
...
This is in anticipation of the introduction of icons -- retrieving all the
icons and throwing them away during sorting takes ages.
2016-01-14 21:21:26 -05:00
Simon Richter
5af18e553c
Compress consecutive numbers in pin summary.
...
For pin numbers ending in digits, consecutive numbers are collapsed to
ranges for a better overview.
2016-01-13 14:18:05 -05:00
Simon Richter
3c5a4a3505
Add pin number summary
...
Below the pin table, display which pins are currently defined, in order to
find gaps.
2016-01-13 14:17:54 -05:00
Chris Pavlina
f7c7920b0b
Add missing files from 6461 and 6462
2016-01-13 14:13:38 -05:00
Simon Richter
9e8acdc71a
Move container functionality
...
The "set of pin numbers" functionality is also useful outside the pin table
dialog, so create a wrapper class that exposes the relevant interfaces.
2016-01-13 14:09:24 -05:00
Simon Richter
a7b102c366
Move comparison helper class to generic header
...
This class wraps the comparison function in a way that is compatible with
std::map and std::set. This, too is generally useful, so it should be moved
to the generic header.
At the same time, the criterium for less-than is changed from "equal to -1"
to "smaller than 0", because technically the comparison function may return
other values.
2016-01-13 14:09:18 -05:00
Simon Richter
88ccd787a4
Split off pin number comparison
...
Pin numbers need to be ordered in more places in the future, so fold this
out of the pin table dialog into a utility class.
2016-01-13 14:09:07 -05:00
Wayne Stambaugh
cdba425bad
Eeschema: move get components from SCH_SHEET_PATH to SCH_SHEET.
...
* Add sheet number that is set by schematic file load order. This duplicates
the previous SCH_SHEET_PATH behavior.
* Uncouple SCH_REFERENCE and SCH_REFERENCE_LIST from SCH_SHEET_PATH.
* Add - operator to SCH_SHEET for comparison purposes. This duplicates the
behavior of SCH_SHEET_PATH::Cmp().
2016-01-12 21:31:34 -05:00
Chris Pavlina
3a8e78c586
Eeschema: always enable Replace All when there is a search term
2016-01-12 10:57:17 -05:00
Chris Pavlina
fc22580d9a
Eeschema: replace accidental dynamic_casts with static_casts
...
Coverity: 134084, 134805, 134086, 134087
2016-01-09 18:36:09 -05:00
Chris Pavlina
b381d99300
Eeschema: fix uninitialized members
...
Coverity: 102614, 102723
2016-01-09 18:35:20 -05:00
Chris Pavlina
5e36c48012
Eeschema: remove dead code in autoplace (Coverity)
...
CID 134043, 134094 in autoplace_fields: variable overwritten due to dead code
that should have been removed.
2016-01-09 16:59:01 -05:00
Wayne Stambaugh
e8e0a75b8c
Eeschema: move update all screen references from SCH_SHEET_PATH to SCH_SHEET.
...
* Uncouple SCH_COMPONENT::GetRef() from SCH_SHEET_PATH and use SCH_SHEET
instead.
* Uncouple SCH_COMPONENT::GetUnitSelection() from SCH_SHEET_PATH and use
SCH_SHEET instead.
* Fix all calls to GetRef() and GetUnitSelection() to pass a pointer to the
appropriate SCH_SHEET object instead of an SCH_SHEET_PATH object.
2016-01-06 19:07:30 -05:00
Wayne Stambaugh
133b8f6b96
Eeschema: move annotate power symbols from SCH_SHEET_PATH to SCH_SHEET.
...
1
* Uncouple SCH_COMPONENT::SetRef() from SCH_SHEET_PATH and use SCH_SHEET instead.
2016-01-03 08:58:27 -05:00
unknown
662d35633a
Minor changes to eeschema options dialog
2016-01-01 10:47:17 +01:00
jean-pierre charras
a84d8f70bc
Very minor fixes in dialog_eeschema_options_base: make the dialog resizable, and remove duplicate accelerator keys in 2 items.
2015-12-31 17:11:47 +01:00
Chris Pavlina
e12d6fb82f
Eeschema: improve default field option dialog tab (fixes lp:1527309)
...
* Use wxGrid to edit default fields in option dialog which allows user to
directly instead a separate edit panel.
* Implement TransferData{To,From}Window methods.
2015-12-31 10:12:09 -05:00
jean-pierre charras
6ff0092e21
Github plugin: fix lack of message when trying to download a non existing footprint library (Curl does not return an error: the message "Not Fount" is stored in buffer, and the zip handler returns a not suitable error message)
...
Minor and very minor other fixes.
2015-12-30 08:46:32 +01:00
Chris Pavlina
3dff6c097e
Eeschema: reorganize options dialog.
2015-12-28 08:33:21 -05:00
jean-pierre charras
9d994663f1
Fix Bug #1527446 (Flipping a block in pcbnew doesn't flip inner layers nor their connected microvias).
...
Also fix a few typos and remove dead code.
2015-12-27 16:51:13 +01:00
jean-pierre charras
c4ea4dc0df
Fix some warnings (looking like potential bugs) detected by cppcheck, (a few from a patch from Julien Nabet <serval2412@yahoo.fr>), remove not used vars and a few coding style fixes.
2015-12-27 13:16:46 +01:00
jean-pierre charras
59d02cf1a4
Minor fixes:
...
* fix minor coding style issues.
* remove unused member in modview_frame.
* use different frame names in ctor of modview_frame and viewlib_frame depending on the fact they are built modal or not modal (allowing identifications when calling wxFindWindowByName)
* change questionnable code in class_libentry.cpp.
* remove unused code in class_treeproject_item.cpp
2015-12-22 12:58:26 +01:00
unknown
0ea1c67caf
eeschema plot dialog: cosmetic enhancement:
...
Including the inline of the Output directory and its text field/browse button.
Moving the plot format to the left of the plot options as the plot options depend on the plot format.
2015-12-21 16:08:37 +01:00
Wayne Stambaugh
81e6af6c81
Eeschema: move auto-save test from SCH_SHEET_PATH to SCH_SHEET.
2015-12-20 15:58:18 -05:00
Chris Pavlina
769e18d376
Eeschema: add wildcard and regular expression search to componet select dialog.
...
* Create base class EDA_PATTERN_MATCH to hand multiple pattern matching methods.
* Create classes for regular expression and wildcard pattern matching.
* Add new pattern matching semantics to component select dialog.
* Thanks to Henner Zellar <h.zeller@acm.org> for improvments to the original patch.
2015-12-20 15:52:39 -05:00