Maciej Suminski
282995eaee
Fixed disambiguation menu issue.
2013-08-08 14:50:32 +02:00
Maciej Suminski
402f3c6f2c
Added brightened mode for selecting items using disambiguation menu.
2013-08-08 12:30:00 +02:00
Maciej Suminski
cc5c038362
Added selection box for modules.
2013-08-08 11:53:29 +02:00
Maciej Suminski
16437e5d45
Added general purpose overlay layer and moved selection box to it.
2013-08-08 11:43:56 +02:00
Maciej Suminski
62ea71fcae
Fixed layers caching settings. Added some comments.
2013-08-07 10:52:50 +02:00
Maciej Suminski
e050133c07
Simplified color computation.
2013-08-07 09:51:39 +02:00
Maciej Suminski
7d5a456344
Code reformatting.
2013-08-06 10:30:09 +02:00
Maciej Suminski
f193e389ec
Moved highlighted flag from VIEW_ITEM to EDA_ITEM. Added brightened and selected flag to EDA_ITEM.
2013-08-06 09:31:08 +02:00
Maciej Suminski
8753bef2fa
Moved VIEW_ITEM::ViewGetRequiredLayers() functionality to the VIEW class. Now required layers are set per layer basis instead of per item.
2013-08-05 16:28:58 +02:00
Maciej Suminski
2c2e506edf
Fixed bounding box for TEXTE_PCB class.
2013-08-05 14:06:01 +02:00
tomasz.wlostowski@cern.ch
d1a0bfcc39
pcbnew: fixed missing Select Tool icon warning
2013-08-02 19:18:58 +02:00
tomasz.
fdf9898eb2
pcbnew: removed printf() causing a bug
2013-08-02 17:57:28 +02:00
tomasz.
8ea0f7ae5b
Merged Orson's changes
2013-08-02 17:28:09 +02:00
tomasz.
31389c4063
pcbnew: tool initialization should belong to PCB_EDIT_FRAME to avoid linking errors on cvpcb.
2013-08-02 17:25:53 +02:00
tomasz.
69a44d5f13
pcbnew: hooked Tool Framework into the edit panel. Added a sample selection tool (not fully functional).
2013-08-02 16:53:50 +02:00
tomasz.
4c777e92f3
PCB painter: improve label highlighting
2013-08-02 16:53:04 +02:00
Maciej Suminski
2fd2c1dc03
Upstream merge.
2013-08-02 15:57:24 +02:00
jean-pierre charras
744dd80eaf
Minor fixes. Minor code cleaning. Pcbnew: better iniatilization of members in DRAWSEGMENT, TRACK, EDGE_MOD (not bugs: just useful when using python scripting).
2013-07-31 18:41:32 +02:00
Maciej Suminski
8d7054a592
Added drawing of solderpaste layer for pads.
2013-07-31 14:51:20 +02:00
Maciej Suminski
f5b0c19830
Added missing outline for polygon segments.
2013-07-31 13:35:02 +02:00
Maciej Suminski
8fda1d2264
Fixed drawing of polygon segments (eg. microwave extension traces).
2013-07-31 11:36:46 +02:00
Maciej Suminski
f9d74ccb70
Removed shaderless OpenGL backend.
2013-07-29 16:38:07 +02:00
Maciej Suminski
bd182aad9f
Fixed top layer pads netnames issue.
2013-07-29 14:20:40 +02:00
Maciej Suminski
be012cac94
Added initialization of variable, preventing unconditional jumps. Fixed typos in comments.
2013-07-29 14:12:27 +02:00
jean-pierre charras
4a7f92fb4f
Minor code cleaning. Pcbnew: better iniatilization of members in DRAWSEGMENT, TRACK, EDGE_MOD (useful when using python scripting).
2013-07-29 09:33:56 +02:00
Dick Hollenbeck
b1ed22f7ed
minor tweaks to debug statements and cmake
2013-07-28 11:30:39 -05:00
Ben Harris
1760a28ea7
fix FP_CACHE::Load()
2013-07-28 11:30:02 -05:00
matheiulj
d786ac91df
Fix pad bounding box calculation bug. (fixes lp:1202828)
2013-07-26 17:29:16 -04:00
Maciej Suminski
ee1b8e2a80
Added display of soldermask for pads.
2013-07-26 18:15:11 +02:00
Maciej Suminski
9dd6b6a8ee
Fixed recaching after changing display properties.
2013-07-26 10:05:57 +02:00
Maciej Suminski
c9199ea80a
Fixed high contrast mode in OpenGL. Split display settings loading into more appropriate places.
2013-07-25 18:04:15 +02:00
Maciej Suminski
618a5f0e75
OpenGL multitarget rendering (compositing).
2013-07-23 18:39:07 +02:00
jean-pierre charras
50743cf3ba
Initial release of pl_editor, the page layout and title block editor.
2013-07-19 20:27:22 +02:00
Maciej Suminski
861ea0592e
Different approach to coloring netname labels.
2013-07-17 14:02:08 +02:00
Maciej Suminski
f4114d22c5
Display preferences for showing netnames applies to the GAL backend.
2013-07-17 13:38:56 +02:00
Maciej Suminski
cc901496e9
Restored missing Refresh() on switching the high contrast mode.
2013-07-17 10:26:29 +02:00
Maciej Suminski
c5ca075e24
Added an interface for highlighting.
2013-07-17 10:21:46 +02:00
Maciej Suminski
aa6a5ab671
Moved bottom netnames layer over bottom tracks & pads. Changed int to LAYER_NUM where applicable.
2013-07-16 15:45:21 +02:00
Maciej Suminski
7739cfef2f
Added support for multiple active layers (colored ones in the high contrast mode).
...
Added separate layers for pad netnames (now these are divided into multilayer/top/bottom pads).
More appropriate layers are selecting a copper layer in the high contrast mode (now it shows the copper layer itself, vias & multilayer pads and netnames).
2013-07-16 13:40:53 +02:00
Maciej Suminski
0544134ae3
Moved rendering order settings to a more appropriate place.
2013-07-16 10:49:56 +02:00
Maciej Suminski
cbec733deb
Refactored code responsible for high contrast mode. Now it allows to have more than one layer on the top.
...
Selecting layer using the dropdown list on the toolbar influences the layer displayed in high contrast mode.
2013-07-16 09:26:29 +02:00
Maciej Suminski
58280f749a
Fixed multiline vertical strings drawing bug.
2013-07-09 10:00:23 +02:00
Dick Hollenbeck
34e6314a3e
dialog information hiding, initial Fit()
2013-07-09 00:48:26 -05:00
Maciej Suminski
6c3534bd35
Dynamic color setting for netnames.
2013-07-08 20:42:46 +02:00
Maciej Suminski
32db0d469a
Dynamic font scaling for pads netnames.
2013-07-08 20:04:43 +02:00
Maciej Suminski
b7747bc224
wxWidgets 2.8 compatibility fix.
...
Scripting engine build fix.
2013-07-08 17:14:16 +02:00
Maciej Suminski
89637b89b8
Separate layers for each copper layer netnames.
2013-07-08 16:46:04 +02:00
Maciej Suminski
36f1147da1
Upstream merge.
2013-07-08 15:05:12 +02:00
Maciej Suminski
46eabaa44e
Fixed 'disappearing via' issue.
2013-07-08 14:06:45 +02:00
Maciej Suminski
fb1f4ad8e5
Lighter pads & tracks net names color. Proper rotation of text on symmetrical pads.
2013-07-08 13:57:09 +02:00
Maciej Suminski
3841b0ac3a
Showing net names on pads.
2013-07-08 11:30:50 +02:00
Maciej Suminski
032ef3a74c
Showing net names on tracks.
2013-07-08 09:57:23 +02:00
Maciej Sumiński
d51b8a8744
Removed some more KICAD_GAL ifdefs.
2013-07-07 20:02:06 +02:00
Maciej Sumiński
d81a351c73
Removed drawing hatch lines for polygons.
2013-07-07 18:55:23 +02:00
Maciej Sumiński
07781d34be
Removed KICAD_GAL CMake option.
2013-07-07 02:30:28 +02:00
jean-pierre charras
28d702f6a9
Eeschema: fix a *very subtle* bug noticeable only in complex hierachies, for multiple parts per package:
...
sometimes, the modified flag was set for these components just when switching from a sheet to an other sheet.
Pcbnew: fix Bug #1197414 (dragged track segments does not show clearance area)
2013-07-05 19:48:01 +02:00
Maciej Suminski
84392f1723
Moved STROKE_FONT from PAINTER to GAL.
2013-07-04 11:37:43 +02:00
Maciej Suminski
68961c82fd
Added possibility to change display modes of zones.
2013-07-02 14:02:42 +02:00
unknown
4360860bee
Removed different styles of line caps and line joins, leaving only round caps & joins.
...
Fixed drawing stroked semicircles using OpenGL backend.
2013-07-01 14:39:27 +02:00
Dick Hollenbeck
caf5fc8d8d
DSNLEXER::NextTok() organizes the specctraMode code better, into one if block mostly.
...
This keeps it out of the KiCad mode path, making that leaner and less confusing about
what is supported in KiCad mode. Within KiCad mode, treat quoted vs. non-quoted tokens
as the two general categories, with non-quoted having sub-categories. Eliminate
an unimplemented, unused function declaration in DSNLEXER.
Improve the output formatting of THROW_PARSE_ERROR().
2013-07-01 01:47:36 -05:00
Dick Hollenbeck
44d31a1897
Speed up DSNLEXER::findToken() to such an extent that it resulted in an approximate 13% reduction
...
in *.kicad_pcb file loading times.
2013-06-30 20:05:40 -05:00
jean-pierre charras
5c247857d3
Replace in EDA_TEXT::Draw the parameter EDA_DRAW_PANEL* aPanel by EDA_RECT* aClipBox, which is the actual parameter used by Draw.
...
This change make more easy to use this function when a EDA_DRAW_PANEL canvas is not used to draw texts.
Remove dead code in worksheet.cpp.
2013-06-29 11:52:22 +02:00
jean-pierre charras
ccbc4882fd
Pcbnew: fix bug Bug #1194219 (Solder mask clearance ignored for oval pads )
...
When KISYSMOD is not defined , in GetAllFiles, skip hidden directories
Gerbview: fix a collision name for GetLayout method.
Eeschema: fix potential crash when editing a pin electrical type (The user was able to enter a non existing type)
2013-06-28 08:31:24 +02:00
Dick Hollenbeck
0a11144cad
fix legacy board file footprint name setting in MODULE
2013-06-27 16:34:01 -05:00
Dick Hollenbeck
cec229bf83
WTF
2013-06-27 15:33:28 -05:00
Wayne Stambaugh
ce94880a52
Pcbnew: fix bug reading legacy board format. (fixes lp:1195368)
2013-06-27 16:27:29 -04:00
jean-pierre charras
10352b1df5
Minor fixes. Gerbview: fix a collision name for GetLayout method.
2013-06-27 21:12:01 +02:00
Maciej Suminski
649a7fa305
Proper handling of toggling outline display of items.
2013-06-27 17:23:54 +02:00
Maciej Suminski
58de62aacc
High contrast mode with showing the selected layer on the top.
2013-06-26 16:31:52 +02:00
Alexander Lunev
b66d6e2d8c
pcad2kicadpcb: check for file format
2013-06-25 11:05:51 -05:00
Dick Hollenbeck
e513380a85
Add script to make a footprint library table from the KiCad Bazaar library repository, either in s-expr or CSV format. Add also the generation of such tables as of today.
2013-06-25 10:56:12 -05:00
Maciej Suminski
db74de74f5
Added possibility to change cached layer color (for the purpose of high contrast display).
2013-06-25 17:12:54 +02:00
Maciej Suminski
322c71d2cc
Fixed hotkeys for switching GAL backends.
2013-06-24 13:46:24 +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
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
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
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
1fc0113b06
Removed unnecessary casting from VIEW_ITEM to EDA_ITEM. Added Type() function to VIEW_ITEM.
2013-06-18 17:01:23 +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
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
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
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
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
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
Dick Hollenbeck
0f1f0f92f1
downloads-by-cmake now configurable, fix wx2.8 compiler errors
2013-06-05 09:24:03 -05:00
jean-pierre charras
91c3f3bc83
All: use a S expression to describe the page layout (title block and grid references). Work in progress.
...
This should allow users to define their own page layout.
2013-06-05 14:03:16 +02:00
Maciej Suminski
e9ebdf2583
Upstream merge.
2013-06-05 10:01:53 +02:00
Maciej Suminski
04b4f236be
Switching to OpenGL using shaders backend on the fly (changed keyboard shortcuts: different backends are available using Alt+F9..F12).
2013-06-04 16:18:33 +02:00
Maciej Suminski
28511cf4fe
Introducing shaders.
...
Shader's parameters are stored in VBO_ITEM. Changed VBO_ITEM data structure. Added UseShader() function for selecting shader for a given VBO_ITEM.
Added one main vertex & fragment shader program to be used for with all kinds of items (type of shader is selected using attributes that are stored in VBO). Currently available shaders are: at-least-1px-width line, filled circle and stroked circle.
Removed unnecessary param (aDepthOffset) from a few functions (OPENGL_GAL::drawSemiCircle(), OPENGL_GAL::drawLineCap()). Removed function OPENGL_GAL::DrawRoundedSegment(). Changed some asserts to debug info or error log.
2013-06-04 15:58:53 +02:00
Dick Hollenbeck
2fc698846b
*) Refinements to ExternalProject_Add( boost )
...
*) Enhancements to make_lexer().
*) Support multi-threaded build.
*) Switch to "bzr patch" from patch.exe for Windows users.
2013-05-31 16:22:34 -05:00
Dick Hollenbeck
6231ce5959
fix buggy double2str()
2013-05-30 16:46:14 -05:00
jean-pierre charras
57b30ad254
Pcbnew: Fix Bug #1185556 . fix issue about Solder Paste Ratio value which was accepting only one digit in mantissa in 3 dialogs (now 6 digits in all dialogs).
...
fix potential issue in .kicad_pcb file creation, in some places where a %g or %.16g format was used:
al least under Mingw/gcc4.7.2, the floating number was written using scientific notation, not accepted by the S-expr reader.
2013-05-30 21:32:00 +02:00
jean-pierre charras
da6f4024ff
Fix issue created by the template selector change, on Linux.
2013-05-29 20:00:40 +02:00