Maciej Suminski
ef865aab68
Grid settings apply to GAL based rendering.
2013-06-24 14:33:02 +02:00
Maciej Suminski
322c71d2cc
Fixed hotkeys for switching GAL backends.
2013-06-24 13:46:24 +02:00
Maciej Suminski
81c674387e
Added convertsion from wxColour to COLOR4D.
2013-06-24 10:32:08 +02:00
Maciej Suminski
08c54e8acf
Passing COLOR4D parameter using constant reference.
2013-06-24 10:21:34 +02:00
Maciej Suminski
f7d85691c2
Added conversion from EDA_COLOR_T to COLOR4D.
2013-06-24 10:12:36 +02:00
Dick Hollenbeck
4fad477d1a
add CTL_OMIT_INITIAL_COMMENTS and CTL_FOR_BOARD PCB_IO::Format()ing flags
2013-06-24 00:30:22 -05:00
Dick Hollenbeck
9d86345ea5
fix copy constructor with new MODULE::m_initial_comments member handling
2013-06-23 17:41:35 -05:00
Dick Hollenbeck
1f9ee2e45e
Support for 'initial single line comments' in the pretty footprint format.
...
This is limited to round tripping the lines of commented text in the
loading and saving to disk through PCBIO::Format() and PCBIO::Parse().
No editing of the comments is given.
2013-06-23 14:18:33 -05:00
Maciej Suminski
26f6e259e6
Shows single layer pads with proper colors.
2013-06-21 12:02:17 +02:00
Maciej Suminski
145a3f20de
Changed atan2() to VECTOR2D::Angle()
2013-06-21 09:01:40 +02:00
Alexander Lunev
2b25beb074
Fix an issue with setting the Reference and Value of a module.
...
The bug was revealed on re-opening the saved version of a file imported by pcad2kicadpcb.
2013-06-20 15:53:23 -05:00
Maciej Suminski
8552a6e29d
Fixed some minor rendering issues, mostyl for shaderless OpenGL GAL.
2013-06-20 16:37:21 +02:00
Maciej Suminski
fd6ab6003d
Bug fixes:
...
- VBO_CONTAINER::allocate() was returning wrong value in case of error
- framelimiter had wrong formula for computing destined period between frames
- removed _padding field from VBO_VERTEX, as it was not speeding up, but wasting memory
2013-06-20 13:16:12 +02:00
Maciej Suminski
929a849b99
Added a framerate limiter.
...
Now it does not use all the CPU power while panning even on simple boards.
2013-06-20 09:58:18 +02:00
jean-pierre charras
781cc00aca
Pcbnew: netlist dialog: add silent mode option, and tool tip to the 2 options (dry run and silent mode)
...
dialog_display_info_HTML_base: derived now from dialog_shim.
2013-06-19 18:11:12 +02:00
Maciej Suminski
bb9ee216e8
Changed order of used headers, so there is no need to include again 'wx/wx.h' needed by layers_id_color_and_visibility.h
2013-06-19 12:07:25 +02:00
Maciej Suminski
83f5bd60c1
Moved fields containing information about currently used color, shader and transformation for vertices from VBO_ITEM to VBO_CONTAINER (OPENGL_GAL).
2013-06-19 10:50:46 +02:00
jean-pierre charras
3b423cb12d
Pcbnew fix Bug #1192203 (I hope ...)
...
Bitmap2component: add export for .kicad_mod new footprint file format, and export polygon descr for page layout description (.kicad_wks file)
2013-06-18 19:27:47 +02:00
Maciej Suminski
4de43d7c5f
Removed unnecessary functions from VBO_VERTEX.
2013-06-18 17:53:12 +02:00
Maciej Suminski
1fc0113b06
Removed unnecessary casting from VIEW_ITEM to EDA_ITEM. Added Type() function to VIEW_ITEM.
2013-06-18 17:01:23 +02:00
Maciej Suminski
cd517f67db
Added VBO_CONTAINER as a faster storage for vertices (OPENGL_GAL), tuned for exchanging data with GPU.
...
Removed a few unnecessary variables and fields from OPENGL_GAL.
Added function GAL::ClearCache() for freeing memory used by cached items.
Fixed a few memory leaks (tesselator, PAINTER's settings & VIEW_ITEM's groups).
Changed a few functions into inlines.
2013-06-18 16:20:29 +02:00
Maciej Suminski
876bf75d89
Added GAL_TYPE_NONE as an indicator of GAL uninitialized state.
2013-06-18 16:19:30 +02:00
jean-pierre charras
4536e27426
Eeschema: Fix wx28 compatibility issue.
2013-06-17 21:01:47 +02:00
jean-pierre charras
b4d0cd7467
Eeschema: Add dialog and utilities (help files ...) to create BOMs from generic netlist, using python scripts or xsltproc+style sheet.
...
Remove dead code relative to old BOM generation.
Rename witha more explicit name bom-example?.py , fix some issues and move them from script/bom-in-python/ky to script/bom-in-python
Rename ki.py utility to more explicit ky_generic_netlist_reader.py
2013-06-15 20:02:52 +02:00
Wayne Stambaugh
60eb4b006d
Pcbnew netlist read performance improvements.
...
* Do not search for footprint when no footprint is defined for a component
in the netlist.
2013-06-15 12:55:51 -04:00
jean-pierre charras
26b7bdc35c
Eeschema: add dialog and utilities to create BOMs from generic netlist
2013-06-14 16:59:52 +02:00
Dick Hollenbeck
2810f5a5fe
fix error message in legacy_plugin
2013-06-13 11:17:25 -05:00
Dick Hollenbeck
dea9dd2361
better error reporting and parsing of bad legacy footprint libs
2013-06-13 11:09:35 -05:00
Dick Hollenbeck
64f8e0b8e1
various
2013-06-13 06:43:29 -05:00
Alexander Lunev
a3f2980d80
Fix pcad2kicad issue, from A. Lunev, and a minor code cleaning in component_references_lister.cpp.
2013-06-12 21:43:22 +02:00
jean-pierre charras
179ada1c70
Eeschema: fix Bug #1189893 (ps plot file opened twice)
2013-06-11 16:27:07 +02:00
jean-pierre charras
39993e27e4
Fix issue in auto panning while moving in EDA_DRAW_PANEL::OnMouseLeaving()
2013-06-10 15:23:58 +02:00
Dick Hollenbeck
00adc67d2a
Rename invoke_a_dialog.h. Code an alternate implementation for std::string BOARD_ITEM::FormatInternalUnits( int aValue ), for verification.
2013-06-10 07:24:01 -05:00
Dick Hollenbeck
36aca68e40
fix autopan non-response problem when dragging block to right or bottom
2013-06-09 13:14:01 -05:00
jean-pierre charras
b1489cbe40
Remove a useless message shown only in debug mode, about page layout file not found
2013-06-09 18:50:57 +02:00
jean-pierre charras
92ac2ac47e
Cvpcb: Bug fix: Select previous free component crashes Cvpcb when no previous free component found, and both Select next and previous free component where not working very well.
2013-06-09 18:36:54 +02:00
jean-pierre charras
a287f89304
Custom page layout: add support for poly-polygons (useful for logos)
2013-06-08 20:19:09 +02:00
Wayne Stambaugh
98eb5e75e5
CvPcb focus and status bar improvements.
...
* Fixed status bar update bug that caused the selected footprint information
to be overwritten.
* Remove unnecessary SetFocus() calls in list control OnChar() handlers.
2013-06-08 12:06:26 -04:00
Dick Hollenbeck
515f5fbe5e
*) Introduce "invoke_a_dialog.h" to information hide between top frame
...
and various DIALOG classes called from top frames. See comments in
{eeschema,pcbnew}/invoke_a_dialog.h.
*) Move some dialog classes into *.cpp files from *.h files.
*) void SCH_EDIT_FRAME::OnErc( wxCommandEvent& event ) was opening the modeless
ERC dialog more than once if icon was clicked more than once.
*) Remove BOM stuff.
2013-06-07 15:56:55 -05:00
jean-pierre charras
0c5d9fa20c
Fix compil issue on wxWidgets 2.8.12, created by my last commit.
2013-06-07 19:35:09 +02:00
jean-pierre charras
ee6cd0883d
Plot files : fix Bug #1188664 (full filename instead of short file name, and swapping between sheet path and file name)
2013-06-07 18:37:44 +02:00
Wayne Stambaugh
ecbe947bc6
CvPcb pin count filtering improvement. (fixes lp:1188325)
...
* Add option to MODULE::GetPadCount() to exclude non-plated through holes.
2013-06-07 09:17:52 -04:00
Wayne Stambaugh
9929919b59
Fix CvPcb library filtering bug. (fixes lp:1188321)
2013-06-07 08:15:32 -04:00
jean-pierre charras
aaab12d37e
Mainly for testing purposes: page layout: if the environment variable KICAD_WKSFILE points a S expr page layout descr, this descr is used instead of internal descr.
...
Therefore one can use a custom page layout and title block.
Eeschema, dialog edit component: minor enhancement (the last selected notebook page is remembered during a session)
2013-06-07 13:09:18 +02:00
jean-pierre charras
c8c05cb4ee
page layout: if the environment variable KICAD_WKSFILE points a S expr page layout descr, this descr is used instead of internal descr. Mainly for testing purposes.
...
Eeschema, dialog edit component: minor enhancement (the last selected notebook page is remembered during a session)
2013-06-07 11:49:36 +02:00
jean-pierre charras
7432d4de29
Page layout: add comments, and fix a very minor issue.
...
Eeschema, dialog netlist: fix a bug when removing a plugin panel, when is is not the last.
dialog netlist:Add a predefined command string for python scripts, when creating a new netlist plugin entry.
2013-06-06 20:03:29 +02:00
Wayne Stambaugh
7f18b883ab
CvPcb filtering and other minor improvements.
...
* Change filtering from single selection to logically and each filter type.
* Remove clear filtering button and logic.
* Filter buttons now behave as true toggle buttons.
* Improve list control pane focus following when using arrow keys to change
list pane.
* Remove unused parameters from list box constructors.
* Make tab key behave like right arrow key when moving focus to next list
pane.
* Make list pane focus wrap around to next or previous control.
* Simplify component list filtering code.
* Improve status bar updating.
* Tell Bazaar to ignore .downloads-by-cmake instead of downloads-by-cmake.
2013-06-06 11:37:48 -04:00
Maciej Suminski
e7b7e0e687
Removed some debug messages.
2013-06-06 11:54:37 +02:00
Maciej Suminski
8742dae4a4
Removed indices storing from VBO_ITEM as they are always consecutive numbers. Removed storing pointers to VBO_ITEMs that have to be drawn - instead they are memcpied to mapped GPU memory.
...
Some functions of VBO_ITEM became inline.
2013-06-06 11:52:39 +02:00
Dick Hollenbeck
142306e238
fix libeditframe.cpp, which in release build would not show multipart text in listbox. dialog uses DIALOG_SHIM.
2013-06-05 14:23:55 -05:00