kicad patches
Go to file
Chris Pavlina f8415633bd Switch component chooser to wxDataViewCtrl, refactor
This refactors COMPONENT_TREE_SEARCH_CONTAINER into a Model-View-Adapter
architecture comprising:

- eeschema/cmp_tree_model.h
    - CMP_TREE_NODE: Base class representing a searchable library
        set with scoring and sorting

        - CMP_TREE_NODE_UNIT
        - CMP_TREE_NODE_ALIAS
        - CMP_TREE_NODE_LIB
        - CMP_TREE_NODE_ROOT

- eeschema/cmp_tree_model_adapter.h
    - CMP_TREE_MODEL_ADAPTER: mediator between wxDataViewCtrl (via
        wxDataViewModel) and CMP_TREE_NODE*

                   +---+                      +------------------+
 +---+  Generates  | A |                      |       VIEW       |
 | M |  from libs  | D |   wxDataViewModel    |------------------|
 | O | <---------- | A | <------------------> |  wxDataViewCtrl  |
 | D |             | P |                      |------------------|
 | E | <---------> | T | <------------------- |    wxTextCtrl    |
 | L | UpdateScore | E | UpdateSearchString() |------------------|
 +---+             | R |                      |                  |
                   +---+                      +------------------+

Representing the data with a proper model allows the wxDataViewCtrl to
be updated in bulk, which is significantly faster than the old method of
populating it one item at a time. This also adds flexibility if more
data is to be added in the future (which may come in handy with the
upcoming .sweet format, as that adds more ways components can be related
to each other).

Replacing the wxTreeListCtrl with a wxDataViewCtrl also significantly
reduces the general GUI quirkiness, as wxDataViewCtrl is much more well
behaved.
2017-03-06 09:50:48 -05:00
3d-viewer Workaround for non-ASCII filenames in Windows 2017-03-03 14:30:47 -05:00
CMakeModules Removed obsolete Shader.cmake script 2017-03-04 11:48:37 +01:00
Documentation Add missing install package to the compiling document. 2017-03-05 14:08:12 -05:00
bitmap2component Add -Wshadow compil option, if exists to warn about shadowed variables. 2017-02-23 13:17:23 +01:00
bitmaps_png Update pl editor icon 2017-02-22 08:53:36 +01:00
common Switch component chooser to wxDataViewCtrl, refactor 2017-03-06 09:50:48 -05:00
cvpcb Better footprint association and filtering: 2017-02-26 18:15:23 +01:00
demos Action plugins: handle undo/redo feature when running an action plugin. 2017-02-06 08:39:32 +01:00
eeschema Switch component chooser to wxDataViewCtrl, refactor 2017-03-06 09:50:48 -05:00
gerbview Icons options menu: code rework 2017-03-03 14:18:25 +01:00
helpers Extended fixes_alias description 2016-10-07 16:52:52 +02:00
include Switch component chooser to wxDataViewCtrl, refactor 2017-03-06 09:50:48 -05:00
kicad Icons options menu: code rework 2017-03-03 14:18:25 +01:00
lib_dxf Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
new 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
pagelayout_editor Icons options menu: code rework 2017-03-03 14:18:25 +01:00
patches Add wxwidgets patch for unicode pasteboard. 2016-09-17 13:20:00 -04:00
pcb_calculator Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
pcbnew Removed code resetting VIEW_CONTROLS settings 2017-03-06 15:04:27 +01:00
plugins Workaround for non-ASCII filenames in Windows 2017-03-03 14:30:47 -05:00
polygon Update Clipper to 6.4.2 2017-03-01 14:55:21 +01:00
potrace Update potrace library from 1.12 to 1.13, due to a bug fix in 1.13 2016-02-28 18:04:51 +01:00
qa Fix PAD_SHAPE_T value in a old python script 2016-11-25 14:52:34 +01:00
resources/linux/mime Add mime package for gerber and excellon files 2016-06-08 09:41:36 +02:00
scripting Pcbnew: Add ACTION_PLUGINS class. It allows loading python scripts in footprint editor and run them from the Tools/External Plugins menu 2017-01-23 13:27:49 +01:00
scripts Add python script for DDR3 length matching using T topology. 2016-09-28 11:02:05 -04:00
template Make pagelayout_default.kicad_wks match defaultPageLayout 2016-09-17 12:05:41 -04:00
tools io_benchmark: Add wxBufferedInputStream benchmarks 2017-03-02 12:28:53 -05:00
utils Workaround for non-ASCII filenames in Windows 2017-03-03 14:30:47 -05:00
.gitignore gitignore: add .DS_Store 2017-01-23 09:08:22 -05:00
AUTHORS.txt Update credits in AUTHORS.txt and about dialog. 2015-11-29 14:02:42 -05:00
CMakeLists.txt Make show/hide icons in menus a run time option, instead of compil option. 2017-03-02 15:45:54 +01:00
CTestConfig.cmake See CHANGELOG.txt 2010-02-14 14:59:43 +00:00
Doxyfile Remove MaxUndoItems, make devel option DevelMaxUndoItems 2016-05-12 12:51:32 -04:00
INSTALL.txt Updated INSTALL.txt to list new dependncies. Fixed a dead link to documentation as well. 2016-09-04 18:34:29 -04:00
README.txt Update the REAMDE.txt to reflect the current structure 2016-09-16 16:43:19 -04:00
TODO.txt Modular KiCad Blueprint Milestone B), major portions: 2014-08-13 15:28:54 -05:00
copyright.h Update copyright header template to reflect current usage 2016-06-07 11:05:35 -04:00
license_for_documentation.txt 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
uncrustify.cfg Fix case statement indentation setting for uncrustify. 2015-01-08 09:02:27 -05:00

README.txt

KiCad README
============
For specific documentation like Compiling, GUI translation, old
changelogs see the Documentation subfolder.

Files
-----
AUTHORS.txt       - The authors, contributors, document writers and translators list
CMakeList.txt     - Main CMAKE build tool script
COPYRIGHT.txt     - A copy of the GNU General Public License Version 2
CTestConfig.cmake - Support for CTest and CDash testing tools
Doxyfile          - Doxygen config file for KiCad
INSTALL.txt       - The release (binary) installation instructions
TODO.txt          - Todo list (looks outdated)
uncrustify.cfg    - Uncrustify config file for uncrustify sources formatting tool

Subdirectories
--------------
3d-viewer         - Sourcecode of the 3D viewer
bitmap2component  - Sourcecode of the bitmap to pcb artwork converter
bitmaps_png       - Menu and program icons
CMakeModules      - Modules for the CMAKE build tool
common            - Sourcecode of the common library
cvpcb             - Sourcecode of the CvPCB tool
demos             - Some demo examples
Documentation     - Developer documentation. Old changelogs etcetera.
eeschema          - Sourcecode of the schematic editor
gerbview          - Sourcecode of the gerber viewer
helpers           - Helper tools and utilities for development
include           - Interfaces to the common library
kicad             - Sourcecode of the project manager
lib_dxf           - Sourcecode of the polygon library
new               - Staging area for the new schematic library format
pagelayout_editor - Sourcecode of the pagelayout editor
patches           - Collection of patches for external dependencies
pcbnew            - Sourcecode of the printed circuit board editor
plugins           - Sourcecode of the new plugin concept
polygon           - Sourcecode of the polygon library
potrace           - Sourcecode of the potrace library
qa                - Testcases using the python interface
resources         - Resources for freedesktop mime-types for linux
scripting         - SWIG Python scripting definitions
scripts           - Helper scripts for various things
template          - Project and pagelayout templates
tools             - Other miscellaneous helpers for testing
utils             - Small utils for kicad, e.g. IDF tools