jean-pierre charras
c1347bbe35
Pcbnew: fix a crash when aborting a pad move or drag in board editor
2011-02-12 20:38:55 +01:00
Wayne Stambaugh
7b8b51b240
Draw panel object refactoring and other minor code cleaning.
...
* Rename all member variables and methods that reference the cross hair
code in draw panel object from cursor to cross hair to eliminate confusion
between the two concepts.
* Rename cursor capture call backs in draw panel object to improve code
readability.
* Create helper class for turning off the cross hair while drawing.
* Remove redundant block clear code.
* Remove redundant mouse capture call back reset code when end capture
call back is called.
* Remove unused function definitions in base draw frame object.
* Lots of minor coding policy and doxygen comment fixes.
2011-02-11 15:48:13 -05:00
Marco Mattila
563bff9d70
Keep current tool selection when saving in pcbnew.
2011-02-09 20:41:46 +02:00
jean-pierre charras
e3637dd369
Code cleaning and minor enhancements
2011-02-08 19:39:41 +01:00
Wayne Stambaugh
e01f89670b
GerbView rendering bug fix and other minor improvements.
...
* Fix rendering bug in GerbView caused by wxDC scaling change caused by
setting the wxDC clipping region.
* Eliminate the need to have optional background erasing as the change
above fixed that problem as well.
* Default cursor handling improvements.
2011-02-08 09:48:38 -05:00
jean-pierre charras
9370dd83de
CvPcb: Code cleanup. Rename WinEDA_CvpcbFrame to CVPCB_MAINFRAME, according to coding style policy.
...
Change in CvPcb: CvPcb does not use now .dcm files, only .mod files to read modules keywords and doc
2011-02-05 17:15:48 +01:00
Wayne Stambaugh
0d8cb9b53c
EESchema improvements and other minor fixes.
...
* Remove base screen methods from draw frame object and correct current
screen methods in derived objects.
* Move restore old wires function code into schematic screen object.
* Make add junction method use current screen position instead of store
position.
* Move poly line ghosting function into the delete current segment method
as that was the only place is was being used.
* Add method to base schematic object of testing if object has a label
that can be incremented.
* Simplified the schematic hierarchy traversing code.
* PCBNew Doxygen warning fixes.
2011-02-04 21:21:11 -05:00
Marco Mattila
77c641618c
Add limit checking to plot dialog fields.
2011-02-04 00:26:30 +02:00
Wayne Stambaugh
50f063da07
Changes to use cursor position as parameter and snap to grid settings.
...
* Changed managed cursor callback definition to include the current
cursor drawing position.
* Modified all managed cursor callbacks to match new definition.
* Added snap to grid option to base drawing frame object.
* Changed add no connect managed cursor callback to use new position
parameter instead of the stored one.
* Lots of coding policy fixes.
2011-02-03 14:27:28 -05:00
Marco Mattila
ad2a7e8a87
Change pcb plot dialog close callback name.
2011-02-03 19:18:17 +02:00
Dick Hollenbeck
1ae44d090a
work around 8 bit wxString B.S.
2011-02-02 13:41:35 -06:00
Wayne Stambaugh
6a26a7f9bf
Use logical cursor position and other minor changes.
...
* Remove unused member variable m_SizeVisu from base screen object.
* Move nearest grid position code into base screen object.
* Add get cursor position method to base screen object.
* Add position parameter to OnHotKey method in base draw frame and all
derived objects.
* Pass logical position on left mouse button click and double click
events instead of device position.
* Pass logical position to on right mouse button click instead of device
position.
* Use logical event position parameter for locating items in EESchema
instead of the stored position.
* Remove unused position parameter when displaying component edit dialog
in EESchema.
* Comment out debugging macro in eeschema/template_field_names.cpp that was
preventing debug builds using wxWidgets 2.8.x.
2011-02-02 14:01:21 -05:00
Dick Hollenbeck
0093f4f612
++common:
...
* macros.h now has TO_UTF8() and FROM_UTF8() which are working converters
to and from UTF-8 encoding for any wxWidgets build mode. We can switch to
them at any time. I am using them now for specctra conversions and
elsewhere where I wanted gauranteed UTF8 encoding.
* added OUTPUTFORMATTER::Quoted( const wxString& ) to simplify converting
to UTF8 encoded s-expression atoms. The recommended technique is now simply:
out->Quoted( wxString ).c_str()
2011-02-02 09:31:48 -06:00
jean-pierre charras
740c03e717
Fix bug 711751.
2011-02-02 11:52:00 +01:00
Marco Mattila
c9b27ee785
Tune pcbnew plot dialog layout.
2011-02-02 01:03:26 +02:00
jean-pierre charras
7bd85a393d
Pcbnew: plot dialog: minor enhancement and minor issue fix (could be a wxFromBuilder issue)
2011-02-01 19:37:32 +01:00
Wayne Stambaugh
85ae0373e3
Global variable removal and coordinate fixes.
...
* ActiveScreen global variable is gone, yeah!
* Use drawing coordinates instead of screen coordinates when calling
GeneralControle().
2011-02-01 10:46:25 -05:00
Marco Mattila
146b78995f
Reduce pcbnew plot dialog height.
2011-02-01 11:53:03 +02:00
jean-pierre charras
fd98de2d28
Minor change: reduce Pcbnew dialog plot width, too large when strings are translated.
2011-01-31 20:36:19 +01:00
Wayne Stambaugh
44e474c25c
Drawing, pcbnew, and other minor fixes.
...
* Use wxDC to calculate screen center position.
* Minor grid drawing optimization.
* Remove an unnecessary use of global variable ActiveScreen.
* Doxygen warning fixes.
2011-01-31 13:26:12 -05:00
Wayne Stambaugh
d657b43052
Use wxDC for all coordinate manipulations.
...
* Remove all occurrences if #ifdef USE_WX_ZOOM and all associated code within
the #else/#endif block ( old zoom code ).
* Removed the build option for USE_WX_ZOOM from CMakeList.txt and config.h.in.
* Removed all scaling code in base screen object.
* Fixed buffered paint and buffered client DC on Windows. Buffering works
properly on Linux and Windows.
* Modified kicad_device_context.h to automatically uses buffering on platforms
where double buffering is supported natively.
* Remove all of the scaled versions of the drawing functions in gr_basic.cpp
and any support code.
* Removed all traces of ActiveScreen global variable from eeschema and
gerbview.
* Renamed Recadre_Trace to RedrawScreen in draw frame object.
* Renamed PostDirtyRect to RefreshDrawingRect in draw panel object.
* Lots of code cleaning an Doxygen comment improvements.
2011-01-30 17:22:38 -05:00
Marco Mattila
126fe2603f
Fix plot format selection in plot dialog.
2011-01-30 22:21:39 +02:00
Dick Hollenbeck
604edcac3a
++all:
...
* DSNLEXER::NextTok() now uses two separate modes to parse quoted strings.
This gives us the freedom to control our own destiny separate from the
constraints put on us by the Specctra DSN spec.
* Added Documentation/s-expressions.txt to explain all this.
* Enhanced our quoting protocol by moving away from doubling up double quotes
to a C line escape mechanism.
* Now support multi-line strings, which when properly escaped, can still be
read in as a token originating on a single line.
2011-01-30 13:26:03 -06:00
Marco Mattila
73bdd76a5c
Tune pcb plot dialog layout. Make output directory accept relative paths.
2011-01-30 20:55:56 +02:00
Dick Hollenbeck
bf5c8f55e1
temporary fix until tomorrow
2011-01-29 16:04:51 -06:00
Marco Mattila
7ccdb5589d
Add saving of pcb plot settings in board files.
2011-01-29 00:54:16 +02:00
jean-pierre charras
3e0921eafa
Very minor fixes: fix some warnings in Debug mode.
2011-01-27 21:24:57 +01:00
Marco Mattila
249cb0dea0
Fix zone fill state toggling when saving and reloading a board file in pcbnew.
2011-01-27 16:54:21 +02:00
Marco Mattila
2c7628fdf7
Fix board file layer type reading bug in pcbnew.
2011-01-27 16:33:48 +02:00
jean-pierre charras
c63908b5bd
Pcbnew, Module Editor: fix bug 707692 and other potential crashes (when having a block command in progress and try to make an edit command)
2011-01-26 08:43:59 +01:00
jean-pierre charras
4f3708c13f
Eeschema: bug 706677 fixed (delete connection, junction persist).
...
This was due to a duplicate constants ( with sligtly different values) used to select items in some seach functions that broke filtering. Old definitions removed.
2011-01-25 15:06:17 +01:00
Wayne Stambaugh
73e38ce98c
EESchema code refactoring and coding policy naming fixes.
...
* Move schematic wire and bus break code into schematic screen object.
* Move schematic test for dangling ends into schematic screen object.
* Remove left over debugging output in schematic screen object.
* Remove unused file eeschema/cleanup.cpp.
* Fix bug in schematic line object hit test algorithm.
* Fix a string concatenation compile error added in r2752.
* Rename class WinEDA_BasicFrame to EDA_BASE_FRAME.
* Rename class WinEDA_DrawFrame to EDA_DRAW_FRAME.
* Rename class WinEDA_DrawPanel to EDA_DRAW_PANEL.
2011-01-21 14:30:59 -05:00
jean-pierre charras
1d2ca601cb
Gerbview: fix printing issue.
...
Minor others fixes and enhancements
2011-01-21 15:19:06 +01:00
Marco Mattila
907117aafe
Fix locked module checkbox enable/disable in block dialog in pcbnew.
2011-01-20 22:36:17 +02:00
jean-pierre charras
b0b49df4e2
Pcbnew: bug fix: m_ZoneMinThickness parameter not copied in zone copy function. In copy block, copied zones have an erroneous m_ZoneMinThickness parmeter value.
2011-01-20 19:40:33 +01:00
Wayne Stambaugh
e560573c5e
Schematic object encapsulation and other minor improvements.
...
* Encapsulate file name member of base screen object.
* Encapsulate associated screen member of schematic sheet object.
* Create add screen method to schematic sheet object to simplify setting
the associated screen.
* Move the change file name code in the schematic sheet object to the edit
sheet method in the schematic editor frame object to eliminate message
dialogs.
* Improve reference counting in schematic screen object.
* Add helper type definitions for changing schematic object storage to C++
containers.
2011-01-20 11:34:57 -05:00
jean-pierre charras
fbeb411632
Eeschema: Fix incorrect behavior of block drag and wire drag commands.
...
Other minor fixes
2011-01-20 12:26:10 +01:00
Dick Hollenbeck
ed8c021f63
++all:
...
* TokenList2DsnLexer.cmake now supports comments, which start with a leading
# character, and may be either on their own line or on a line after a token.
* DSNLEXER::PopReader() now pops even the last LINE_READER* and returns it.
++pcbnew:
* SPECCTRA_DB now inherits from new class SPECCTRA_LEXER, which led to a great
deal of simplification and code factoring.
* Moved specctra keywords into specctra.keywords.
2011-01-19 14:46:07 -06:00
jean-pierre charras
42b9e0e676
Eeschem: fix bug when moving fields in schematic: incorrect field move for rotated+mirrored components
...
(added InverseTransform( ) in TRANSFORM class)
2011-01-19 11:34:56 +01:00
jean-pierre charras
f43f7af5fe
Modedit: fix issues when printing a footprint. But needs refinement. Work in progress (mainly "Fit in page" is not working).
...
Minor code cleaning
2011-01-17 19:37:58 +01:00
jean-pierre charras
2fd7f4ca14
StrPurge( char* text ): Fix incorrect behavior when string text is void.
...
Very minor enhancement in module edition dialogs.
Fix a minor bug in design rules editor: in Global Rules Edition: drill values > via diameter not checked
and the first item (track or via) in list was not checked (explains Bug 702177, that is not really a bug)
2011-01-16 13:49:58 +01:00
Dick Hollenbeck
c4722e0f39
StrPurge(), see mailing list
2011-01-15 23:11:17 -06:00
jean-pierre charras
5e37723587
Pcbnew: Fix wrml export bug when a 3D shape has offset.
2011-01-15 21:21:46 +01:00
jean-pierre charras
73585a8514
Fix minor bug (layer color not updated in toolbar when changed in layer manager)
...
Pcbnew: fix that prevents loading modules from libraries (footprint name not identified in lib)
Module Editor: Try to fix incorrect printing. Fixed now only for scale 1. Nor working for other scales. (Work in progress).
Gerbview: Known bug: printing not working.
VRML export: Fix incorrect export of 3D shapes rotations when the 3D shape was rotated.
2011-01-15 19:06:10 +01:00
Marco Mattila
e79b596308
Add FILTER_READER class. Introduce FILE_LINE_READER into pcbnew.
2011-01-14 19:43:30 +02:00
Dick Hollenbeck
6113bbf606
Brian's save grid origin patch
2011-01-14 01:49:16 -06:00
jean-pierre charras
f34926be10
Eeschema: minor enhancement: When a netlist is created and a component is not yet annotated, the annotate dialog is called from the netlist dialog
...
(no need to close the netlist dialog, open the annotated dialog and reopen the netlist dialog).
2011-01-10 18:47:50 +01:00
Marco Mattila
cfeb55a288
Fix clearance problem between zones and edge segments in pcbnew.
2011-01-09 23:12:22 +02:00
Marco Mattila
b752cfdea2
Add edit menu and right-click menu items to pcbnew for resetting module and other text field sizes to current defaults set in Preferences->Dimensions->Texts and Drawings.
2011-01-09 13:17:28 +02:00
Wayne Stambaugh
1e2e144231
Schematic reference object refactoring and minor dialog fix.
...
* Schematic reference object now completely encapsulated.
* Schematic reference list object refactoring complete.
* Make OK default button in PCBNew block operation dialog.
2011-01-06 11:55:18 -05:00
jean-pierre charras
9618c3a5f5
Pcbnew: Bug fix: arcs in modules outlines (when flipped) were incorrectly saved and read in .brd files.
...
this was due to incorrect macro NORMALIZE_ANGLE (was the same as NORMALIZE_ANGLE_POS), now modified and renamed NORMALIZE_ANGLE_360
2011-01-05 18:28:55 +01:00
Dick Hollenbeck
84ed5f501d
++new:
...
* Added the basic structure to the Sweet parser in sch_part.cpp.
* Got inheritence working off of the 'extends' keyword and PART::inherit()
* Tossed the units support out of sweet.keywords, since we agreed to go dimensionless.
++richio:
* Added the problemInputLine support to PARSE_ERROR, so UI can show the
offending line of bytes. Yes bytes, not even guaranteed to be characters.
2011-01-01 16:56:07 -06:00
Dick Hollenbeck
0ff5faaf23
++richio:
...
* Deleted kicad_exceptions, because it required the big #include <wx/wx.h> and
that was slowing down compiling. Moved that stuff back into richio.h where
it came from.
* Enhanced IO_ERROR to format an errorText.
* Added THROW_IO_ERROR() and THROW_PARSE_ERROR() macros to capture the
the call site of the thrower. If you have problems compiling, it is probably
due to the definition of __LOC__ in richio.h. Some compilers may not support
__func__ in C++ yet. Find a macro that identifies your compiler, and we can
work out something in the #define of __LOC__.
2010-12-30 16:21:23 -06:00
Dick Hollenbeck
d2cc77ac71
see CHANGELOG.txt
2010-12-30 16:15:53 -06:00
Marco Serantoni
3caca699cc
typo fixed
2010-12-29 23:44:45 +01:00
jean-pierre charras
a9010796e0
Doxygen comment warning fixes.
2010-12-29 18:47:32 +01:00
Marco Serantoni
92af087a10
OSX: Little fixes and update of packagemaker
2010-12-28 23:38:59 +01:00
jean-pierre charras
258cebf1a8
Fix some Doxygen warnings. No new code.
2010-12-28 12:24:42 +01:00
Dick Hollenbeck
a7c11a0b11
implement most of SCH::LIB_TABLE, start SCH::LPID, enhance richio
2010-12-27 20:44:30 -06:00
Dick Hollenbeck
5b5db5557d
change order of constructor args of DSNLEXER::DSNLEXER()
2010-12-27 15:27:52 -06:00
Wayne Stambaugh
b98538ec35
Add copy constructors and cloning to schematic objects and other minor fixes.
2010-12-21 10:13:09 -05:00
jean-pierre charras
c699c726b6
Eeschema: in component properties dialog, add control for fields texts justification, like in Libedit.
...
Fix some Doxygen warnings.
2010-12-21 13:41:17 +01:00
jean-pierre charras
5bab73d638
Eeschema: fix issues in drag command (mainly hotkey command and forgotten wire ends connected to components to drag).
...
Rename EDA_Rect::Inside to EDA_Rect::Contains ( EDA_Rect::Inside( const EDA_Rect& aRect ) was very ambiguous )
Fix some Doxygen warnings and erroneous comments; Add comments.
2010-12-20 18:44:25 +01:00
jean-pierre charras
1901a379b0
Gerbview: remove flicker when refresh screen. Pcbnew fix (partially) issue when printing in mirror mode ( version compiled with USE_WX_ZOOM = ON specific). Minor enhancements.
2010-12-18 17:09:06 +01:00
Marco Serantoni
d18ce728c0
Patch from Craig Cross - fix to spurious event handling of wx-2.8
2010-12-18 10:26:01 +01:00
Marco Serantoni
81b3fdf157
Mac: OVERLAY FIXES for WX2.8 and Enhancements
2010-12-17 23:57:09 +01:00
jean-pierre charras
b8eba35cba
Gerbview: remove flicker when refresh screen, and loadind files. Fix very minor bugs.
...
Minor cosmetic enhancements.
commint forgoten files in boost lib.
2010-12-17 21:34:29 +01:00
Wayne Stambaugh
7cb34aece7
Schematic component object encapsulation and Doxygen comment warning fixes.
2010-12-14 10:56:30 -05:00
jean-pierre charras
5daccd29dd
Pcbnew plot functions: code cleanup, coding and UI policy fixes and minor enhancements
2010-12-12 12:41:18 +01:00
Dick Hollenbeck
9e8fb76123
touch ups mostly to Marco's draw_gerber_screen patch
2010-12-11 20:29:33 -06:00
jean-pierre charras
6964a4b6df
UI policy fixes
2010-12-11 21:57:25 +01:00
jean-pierre charras
99ee5507db
coding policy fixes
2010-12-11 20:33:21 +01:00
jean-pierre charras
e9f557e65a
Pcbnew plot functions: code cleanup, coding policy fixes and minor enhancements
2010-12-11 19:40:39 +01:00
jean-pierre charras
dd5386db37
minor change to match UI policy
2010-12-10 21:36:39 +01:00
Wayne Stambaugh
adb4ad1a7b
Schematic object improvements and other minor fixes.
2010-12-10 14:47:44 -05:00
jean-pierre charras
f64b3a5188
Pcbnew: fix crash after displaying "The text thickness is too large for the text size. It will be clamped" when editing pcb text properties (Linux specfic)
2010-12-09 19:15:01 +01:00
jean-pierre charras
ba0fbd1924
Pcbnew: remove not used old files. Minor enhancements
2010-12-09 18:34:08 +01:00
Wayne Stambaugh
c79077c9a2
Minor fixes and lots of coding policy changes.
2010-12-08 15:12:46 -05:00
jean-pierre charras
e6b2f3929f
Fix minor issue relative to thermal shapes: better shape of thermal having removed stubs.
2010-12-08 16:08:06 +01:00
jean-pierre charras
a6a34f3509
Eeschema: fix bug in dialog_lib_edit_text (OnOkClick method never called).
...
Other very minor changes.
2010-12-07 12:42:58 +01:00
Dick Hollenbeck
f0790efd39
fixups for dialog and formatting to Marco's patch
2010-12-06 16:18:39 -06:00
Marco Mattila
9dc9cc1f78
Board manufacturers typically do not print silkscreen on areas without
...
soldermask. Nevertheless, it would be nice to have proper gerbers to
begin with, i.e., gerbers with no silkscreen in soldermaskless areas.
Of course, most of the problem can be taken care of by drawing the
footprints properly. However, sometimes the silkscreen of one
footprint ends up on the pads of another one (think components under a
so-dimm card, for example). The attached patch adds an option to
subtract the soldermask from the silkscreen when doing gerber output.
marco
2010-12-06 16:05:12 -06:00
jean-pierre charras
249267edb4
Pcbnew: fix minor bug in via edition.
2010-12-05 17:24:08 +01:00
jean-pierre charras
384fc5724e
Cosmetic enhancements. Eeschema: in libedit the Value Field is n more editable in the field editor dialog (due to recent changes in library code)
2010-12-04 13:56:19 +01:00
jean-pierre charras
0134da4c9f
Pcbnew: fix a bug in filling zone algo, only when using boost::polygon. Gerbview: preparing enhancements.
2010-12-01 08:51:21 +01:00
Wayne Stambaugh
8c7017aa57
Fix CMake generated header build error in PCBNew.
2010-11-29 10:49:22 -05:00
jean-pierre charras
67d98658bc
minor cleanup. minor enhancements. Finish file housekeeping. add Bug 682586 fix from Mark van Doesburg.
2010-11-29 16:05:01 +01:00
jean-pierre charras
8e0937e6a2
Pcbnew: code cleaning, dialogs converted from Dialogblocks to wxFormBuilder, file housekeeping. Add patch from Manveru.
2010-11-27 14:09:18 +01:00
jean-pierre charras
8a0b632ae6
add forgotten files
2010-11-26 21:05:31 +01:00
jean-pierre charras
1f47f8c6ed
Pcbnew: files housekeeping and code cleanup
2010-11-26 21:00:39 +01:00
jean-pierre charras
cdd9e8cabe
Pcbnew: code cleanup
2010-11-26 18:47:35 +01:00
jean-pierre charras
6963001a00
Fix very minor bugs. Boost update. Pcbnew: files housekeeping and code cleanup.
2010-11-26 12:55:34 +01:00
jean-pierre charras
95e0456b26
Pcbnew: files housekeeping.
2010-11-24 21:37:00 +01:00
jean-pierre charras
5944f4c405
Pcbnew: gen drill functions: morecode cleanup
2010-11-24 20:54:59 +01:00
jean-pierre charras
259d9a024c
Pcbnew: gen drill files code cleanup. Fix minor bug 680558
2010-11-24 16:10:33 +01:00
jean-pierre charras
c660028ba4
Fix a bug that crashes Pcbnew when closing Freeroute dialog ( Only happens with wxWidgets 2.9.1, but this was a bug)
2010-11-22 19:41:02 +01:00
jean-pierre charras
814f4e435e
Code cleaning. Also fix gcc 4.5 compil warnings.
2010-11-21 19:28:32 +01:00
Marco Mattila
4451dd3aab
This patch adds an output directory field into the plot dialog in
...
pcbnew and directs gerber/hpgl etc. output into that directory.
There's a browse button that opens a dialog for browsing. If the
directory does not exist, it is created. Tested in linux, not in
windows. Wxwidgets methods are used for file (name) manipulations, so
things are probably ok in windows, too.
marco
2010-11-21 09:12:37 -06:00
jean-pierre charras
f01653fc56
Fix gcc 4.5 warnings compil.
2010-11-20 20:53:00 +01:00
jean-pierre charras
f930894d9f
Common dialog file housekeeping. Code cleanup, and minor fixes.
2010-11-20 11:59:59 +01:00
jean-pierre charras
8257ebeb32
Code cleanup
2010-11-19 19:50:23 +01:00
jean-pierre charras
e095b07cc3
code cleaning
2010-11-18 22:16:28 +01:00
jean-pierre charras
2cdce05d45
Pcbnew: minor code cleanup and enhancement in zone filling. Commit patch from Marco Mattila. Eeschema: minor bug fix about dangling ends. removed obsolete file
2010-11-18 14:38:08 +01:00
Wayne Stambaugh
e3b4eeb160
More EESchema dialog file housekeeping
2010-11-17 16:47:27 -05:00
jean-pierre charras
746dea5ae3
Pcbnew: fix a serious bug in ZONE_CONTAINER::HitTestFilledArea( ) which could break connectivity calculations relative to copper areas.
...
Fix also very minor issues relative to copper zones.
Update boost::polygon from Boost svn repository.
2010-11-13 20:21:16 +01:00
jean-pierre charras
9b77f2a415
Formatting, code cleaning and fix erroneous or inconsistent comments in block functions
2010-11-13 12:02:24 +01:00
jean-pierre charras
bc9d521738
Eeschema: fix bug in load_one_schematic_file.cpp: error about files version, that create errors for hierarchical labels.
...
Pcbnew: cleaning code in block.cpp, and modifye previous way to calculate block size in block command, because old way creates unexpected behavior in block rotate and block flip.
Pcbnew: Fix a bug in plot silkscreen layers.
Cvpcb: Fix compilation issue under MACOX
2010-11-12 19:38:48 +01:00
Dick Hollenbeck
25df2772db
formatting
2010-11-12 11:33:20 -06:00
Dick Hollenbeck
6c9244e8c3
fix function comments, this time ones in *.cpp files until they
...
can be deleted later if they exist in the headers, or moved to
headers if they should exist in the headers.
2010-11-12 10:59:16 -06:00
Dick Hollenbeck
636b2d301e
function comments, fix ones in *.cpp files until they can be deleted if they exist in the headers
2010-11-12 10:36:43 -06:00
Dick Hollenbeck
5e1bf243d5
fix warnings
2010-11-12 09:43:26 -06:00
Dick Hollenbeck
845d61acc5
coding standards consistency updates
2010-11-12 09:17:10 -06:00
Macor Mattila
f05b6d4962
Pcbnew: Commit block move patch from Marco Mattila
2010-11-11 22:46:55 +01:00
Dick Hollenbeck
067bf8518c
change IOError class name spelling to IO_ERROR to conform to coding standards
2010-11-09 09:45:11 -06:00
Marco Serantoni
a8d5e06818
Gerbview: Added new LayerBox
2010-11-04 22:43:42 +01:00
Marco Serantoni
ec35a66ffb
LayerBox little enhancements and adjust; fix bug #669495
2010-11-03 22:19:46 +01:00
jean-pierre charras
dfc54fb3a5
Fix issue with new layer box, mainly with wxWidgets 2.9.1
2010-11-03 20:42:38 +01:00
jean-pierre charras
c0eeafa070
Fix issue with new layer box, mainly with wxWidgets 2.9.1
2010-11-03 19:55:51 +01:00
Andrey Fedorushkov
3584323840
pcbnew: not build in linux
2010-11-03 09:06:43 +03:00
Marco Serantoni
d65b648722
pcbnew: layer combo update, code cleanup
2010-11-03 00:13:56 +01:00
jean-pierre charras
ed9213c174
Pcbnew: try to fix an old bug (when moving the Layer manager window) without recreate bug size MsgPanel
2010-11-02 19:46:48 +01:00
Andrey Fedorushkov
be6a9921b0
pcbnew: fix minor bug size MsgPanel
2010-11-02 17:59:42 +03:00
Marco Serantoni
25700d31d1
Fixed kicad.app linking, layer behaviour on OSX and toolbar behaviour
2010-11-01 20:03:08 +01:00
jean-pierre charras
b251a5b63a
restore minor changes lost in my recent commit.
2010-11-01 14:43:12 +01:00
jean-pierre charras
3be88ac29f
Pcbnew: fix minor issue created by recent menubar_pcbframe.cpp change.
2010-11-01 14:24:38 +01:00
jean-pierre charras
527de3e5aa
Minor enhancements, and minor code cleanup. Eeschema: added hotkey J to place junctions
2010-10-30 12:03:41 +02:00
jean-pierre charras
d44521fe6f
fix bad class_pcb.cpp file
2010-10-28 21:50:12 +02:00
Marco Serantoni
ab0216f111
Commit from Jerry Jacobs - pcbnew menu
2010-10-28 20:30:31 +02:00
jean-pierre charras
787ca931f1
Fix bug in PolyLine.cpp, Fix bug in DRC calculations (see changelog).
...
Cvpcb and Gerbview: move dialog files in dialogs/.
Eeschema: fix bug in libedit: crashes with import a symbol.
2010-10-28 18:30:48 +02:00
jean-pierre charras
fd1c159a59
Fix bug in PolyLine.cpp, Fix bug in DRC calculations (see changelog). Cvpcb: move dialog files in dialogs/
2010-10-28 15:02:07 +02:00
jean-pierre charras
704e3c5133
Try to fix a gencad export issue.
2010-10-26 13:47:16 +02:00
jean-pierre charras
64be6fd26a
Eeschema: converted plot PS dialog from Dialogblocks to wxFormBuilder Fixed a minor bug when plotting shapes with filled in background option. Pcbnew: Added locked modules block patch
2010-10-25 18:14:36 +02:00
Andrey Fedorushkov
9afa89261f
pcbnew: fix slowly module change at ratsnest invisible
2010-10-25 16:33:00 +04:00
jean-pierre charras
f0364c9da6
Gerbview: support for plot lines (currently: not arcs) with a rectangular pen (Yes, it exists!). pcbnew: try to fix an issue when exporting arcs in gencad.
2010-10-25 09:43:50 +02:00
jean-pierre charras
347f32cc76
Pcbnew: try to fix a minot but old issue when movint the layer manager frame
2010-10-19 21:18:30 +02:00
jean-pierre charras
19def3d56b
Gerbview: Fixed compil problem in debug Mode. Pcbnew: try to fix an issue in export gencad (incorrect rectangular pads)
2010-10-18 12:49:09 +02:00
jean-pierre charras
a8ebad2fc4
Gerbview: added: image polarity, axis select, layer rotation. Code cleanup.
2010-10-16 16:51:22 +02:00
Martijn Kuipers
b5019b823f
wxLOCALE_LOAD_DEFAULT patch from Martijn Kuipers.
2010-10-14 14:17:14 +02:00
jean-pierre charras
6b05cf315f
Fixed bug in GRLineArray(). Cleanup Gerbview code
2010-10-13 21:50:23 +02:00
Marco Serantoni
ea812ef5c9
Zones drawing optimization with WXGrapchisContext + Fix bug #612132
2010-10-09 10:08:29 +02:00
Andrey Fedorushkov
562f26dd6f
pcbnew: fix very slowly hands place module at ratsnest visible off
2010-10-07 13:05:28 +04:00
Dick Hollenbeck
0267b05938
add PushReader and PopReader to DSNLEXER, make FILE_LINE_READER own its FILE*
2010-10-05 02:15:29 -05:00
jean-pierre charras
a188f9d06e
added orto2 patch
2010-10-04 14:58:07 +02:00
jean-pierre charras
bc0d79d587
finished Draw functions for aperture macros. Now aperture macros are drawn correctly.
...
Known bug: aperture macros having parameters are incorrect: parameters are not transmited correctly. Work still in progress.
2010-10-03 17:39:06 +02:00
Dick Hollenbeck
961a51bdb3
CMAKE macro
2010-09-29 15:39:53 -05:00
Dick Hollenbeck
2dc5327634
pieces of Amir's 2010-09-28 patch
2010-09-29 13:19:26 -05:00
jean-pierre charras
b992af3eb3
Gerbview code redesign
2010-09-28 16:42:05 +02:00
jean-pierre charras
0c02dc0754
Pcbnew: fixed 2 minor issues.
2010-09-24 18:36:20 +02:00
Marco Serantoni
148baffdd9
OSX implementation of wxOverlay (speedups board operations) and cleanup
2010-09-22 01:46:02 +02:00
jean-pierre charras
f1df65c51f
DRC code cleaning, and added DRC tests for trapezoidal pads. Needs more tests
2010-09-20 18:21:47 +02:00
jean-pierre charras
809aacb40b
drc code cleaning
2010-09-19 19:44:46 +02:00
Marco Serantoni
e149951bba
OSX - should resolve problems on case sensitive filesystem
2010-09-19 13:06:30 +02:00
Marco Serantoni
bf67eed7eb
OSX adjustments - grid fix - speedup of refresh
2010-09-19 12:23:53 +02:00
jean-pierre charras
ed54bdfc9d
drc: more code cleaning. Added comments and fixed some erroneous comments. Fixed bug 638839.
...
fixed bug 641982 (I hope)
2010-09-18 19:55:08 +02:00
jean-pierre charras
5738d2960d
removed in drawpanel an erroneous change (was made only for a test). drc code cleaning. cmakelist.txt changes in minizip.
2010-09-18 10:29:40 +02:00
jean-pierre charras
59f25e7f3c
fixed bugs 639774 and 639586
2010-09-15 19:50:47 +02:00
jean-pierre charras
e66a007ee3
Preparing work on trapezoidal pad DRC: cleaning code. some comments and translations added in drc.cpp. uncrustify drc.cpp
2010-09-15 16:54:44 +02:00
jean-pierre charras
fe6733b723
Preparing work on trapezoidal pad DRC: cleaning code. some comments and translations added in drc.cpp. uncrustify drc.cpp
2010-09-15 16:53:33 +02:00
Marco Serantoni
86fbcdfd59
Removed redundant AUI Manager Update, should speedup refresh
2010-09-14 19:38:34 +02:00
jean-pierre charras
e162ffee3c
Use D_PAD::BuildPadPolygon() in plot functions
2010-09-13 13:51:09 +02:00
jean-pierre charras
1b0da6c324
fixed compil errors with USE_WX_ZOOM on.
2010-09-12 07:13:30 +02:00
jean-pierre charras
a989a21417
added test of trapezoidal pads parameters before draw them
2010-09-11 21:15:24 +02:00
jean-pierre charras
658ca2a21e
Fixed some issues about trapezoidal pads. Better pad editor dialog. fixed other (very) minor bugs. Code cleaning
2010-09-11 18:33:43 +02:00
Dick Hollenbeck
f360d5ccb6
got bit by a bug in freerouter
2010-09-07 12:04:39 -05:00
Dick Hollenbeck
c38b25194b
negative starts with an n
2010-09-07 11:21:26 -05:00
Dick Hollenbeck
774e6dbbd5
support trapezoid padstacks in specctra export
2010-09-07 10:46:55 -05:00
jean-pierre charras
b45a35b719
Switch to new Kicad about dialog: removing old code.
2010-09-03 19:39:57 +02:00
jean-pierre charras
44269729ab
New patch for kicad about dialog
2010-09-03 16:33:09 +02:00
jean-pierre charras
86210d1089
added file.
2010-09-02 15:13:03 +02:00
jean-pierre charras
cc4b36236d
Design rule dialog: use wxLC_VIRTUAL options in wxListBoxes tu speed up nets lists display (which was very long for board with a lot of nets)
2010-09-02 15:10:48 +02:00
jean-pierre charras
f578abcc97
Remove pad move/drag/edit hotkeys id board editor (Marco Mattila'patches)
2010-09-02 10:23:38 +02:00
jean-pierre charras
657f62ab0c
fixing bug 626875. Cleaning code
...
Try to fix block selection issue with some windows managers.
2010-08-31 17:54:05 +02:00
Marco Mattila
23b7e766a6
https://lists.launchpad.net/kicad-developers/msg05245.html
2010-08-29 16:31:27 -05:00
Marco Mattila
c3d76bf383
https://lists.launchpad.net/kicad-developers/msg05225.html
2010-08-29 12:55:53 -05:00
jean-pierre charras
f77121a57a
Fixed compatibility with wxWidegets 2.9.1.
...
Added hotkeys editor from David Turner, with a lot of enhancements and fixes
Added pins connections info in intermediate netlist for each compoment. This is redundant, but some netlist formats (ORCADPCB, PSPICE) are very easy to create with this redundant info.
2010-08-28 20:02:24 +02:00
Wayne Stambaugh
91530e7a60
Added help menu item to copy bug report information to clipboard.
2010-08-24 13:26:51 -04:00
Wayne Stambaugh
80bc0ad65a
Minor build and compiler warning fixes.
...
* Fix build errors for ambiguous wxDialog constructor using gcc 3.4.5 on
MinGW/MSYS.
* Fix compiler warnings in VRML export.
2010-08-23 13:30:51 -04:00
jean-pierre charras
027c4cca2d
Enhancement in copper zones dialog, useful for large boards having a lot of nets
2010-08-23 14:13:48 +02:00
jean-pierre charras
3820154aed
3D view: now displays polygons used in footprint shapes, like logos. Fixed very minor issues (minor warnings in debug mode)
2010-08-19 16:21:05 +02:00
jean-pierre charras
ba3e69dd72
3D export: Added patch from Lorenzo Marcantonio. Fixed issue in VRML export dialog. Removed useless messages in debug mode.
2010-08-19 10:07:55 +02:00
jean-pierre charras
16c404acd0
Pcbnew: hot key move in board editor: minor fixes and enhancements
2010-08-17 19:45:45 +02:00
jean-pierre charras
7774d684c7
Pcbnew: Added move and rotate hot keys in board editor. hotkeys.cpp code cleaned. Fixed a bug that can crashes Pcbnew when switching track posture.
2010-08-17 12:41:44 +02:00
jean-pierre charras
0e7fa2224b
merge trunk. Prepare hotkeys move and rotate items in board editor
2010-08-12 21:41:13 +02:00
jean-pierre charras
2a14f2d55e
minor code cleaning
2010-08-12 07:57:14 +02:00
jean-pierre charras
883d5b51c9
minor cleanup
2010-08-11 20:17:12 +02:00
jean-pierre charras
f6962b6202
minor change when deleting a pad in modedit: the pad is deleted silently
2010-08-11 15:15:30 +02:00
jean-pierre charras
dcf7542514
Added hotkey E to edit items. Minor code cleaning
2010-08-10 20:34:26 +02:00
Dick Hollenbeck
772a1e0fd9
fix a bug in zone filling with Kbool: https://lists.launchpad.net/kicad-developers/msg05100.html
2010-08-10 09:11:56 -05:00
Dick Hollenbeck
fb0bb79a8d
TokenList2DsnLexer.cmake, netform.cpp enhancements
2010-08-08 21:03:16 -05:00
Dick Hollenbeck
f285c8295b
S-expression in xnode.cpp
2010-08-07 19:31:07 -05:00
jean-pierre charras
75b5c2474f
Updated boost::polygon from http://svn.boost.org/svn/boost/trunk/boost/polygon (boost 1.44) Seems fix some issues.
2010-07-31 14:26:07 +02:00
jean-pierre charras
0a63587342
added " pcbnew module editor toolbar items now in menubar" patch from Jerry Jacobs. Fixed TODO.
...
minor code cleaning. fixed minor warnings in debug mode.
2010-07-29 22:00:24 +02:00
jean-pierre charras
60c1cbe843
fixed issues with wxWidgets 2.9.1
2010-07-27 18:49:38 +02:00
jean-pierre charras
141d5b5f3c
fixed somes issues with wxWidgets 2.9.1
2010-07-27 14:47:08 +02:00
jean-pierre charras
90621bef00
Updated boost to version 1.34
...
Added boost::polygon (experimental)
Added experimental zone fill calculations with boost::polygon
Added patches from Yury Khalyavin
2010-07-26 19:06:36 +02:00
jean-pierre charras
3c3727039f
minor enhancements. fixed issues in microwave tools.
...
finished replacement of Get_Message (not very useful) by wxTextEntryDialog
2010-07-21 10:15:54 +02:00
jean-pierre charras
f0213de0ef
code cleaning.
2010-07-20 20:11:34 +02:00
jean-pierre charras
5605ce89ff
Fixed very minor issues.
...
Fixed compil warning under wxWidgets 2.9.1.
File beautification
Statring using wxTextEntryDialog instead of Get_Message (because Get_Message does not handle properly cancel option)
2010-07-20 12:30:40 +02:00
Dick Hollenbeck
2fb1de809f
Running cmake with -DCMAKE_BUILD_TYPE="Debug" causes build errors at:
...
/pcbnew/class_netclass.cpp:324
eeschema/class_sch_component.cpp:933
2010-07-19 10:40:54 -05:00
jean-pierre charras
28a3e5840f
Added grag labels patch
2010-07-17 13:14:57 +02:00
jean-pierre charras
f45c260a00
Code cleaning. Minor fixes. Better link to gnucap.
...
Fixed a minor issue when creating a netlist. for nets having global labels, global label names were ignored when naming this net.
2010-07-14 15:24:36 +02:00
jean-pierre charras
3097b919ed
Pcbnew: Added grid origin patch from Lorenzo Marcantonio. Converted set grid dialog from DialogBlocks to wxFormBuilder, and added in this dialog the grid origin parameters settings.
2010-07-13 12:42:32 +02:00
Dick Hollenbeck
bc14e66d78
A little useful feature: even if the default unit can be changed between
...
inches and mm, the industry is crazy enough to force us with mixed
design. For example I routinely use imperial units for track size and
clearance, but drilling is strictly a metric issue...
So I added a little parser to recognize a suffix specification in the
unit text boxes... so you can put in things like:
1in (1 inch)
1" (idem)
25th (25 thou)
25mi (25 mils, the same)
6mm (6 mm, obviously)
The rules are: spaces between the number and the unit are accepted, only
the first two letters are significant.
As a bonus, it also recognize the period (.) as a decimal point
substituting it with the correct locale character (there was a wishlist
for it, IIRC). Most useful for number pad fans :D
2010-07-12 09:07:09 -05:00
jean-pierre charras
052876079a
fixed bug 603481. Better bitmap2component look. fixed some locate problems for footprints using polygons (mainly created by bitmap2component)
2010-07-11 18:24:44 +02:00
jean-pierre charras
1872a80836
Cleaning code: moved some help strings used both in toolbars and menus in a single file help_common_strings.h,
...
in order to avoid slightly different help strings for the same command, and avoid some not needed translations.
2010-06-30 13:15:34 +02:00
jean-pierre charras
c580d5d72c
fixed a serious bug in zone filling, for pads with drill but not on all layers
2010-06-28 15:11:14 +02:00
jean-pierre charras
9cf56261b6
give an icon to bitmapt2component frame
2010-06-20 16:47:30 +02:00
jean-pierre charras
c22c0bada9
merging last changes from repository
2010-06-19 15:52:32 +02:00
jean-pierre charras
1ab68d8fb8
fixed very minor things.
2010-06-19 12:58:50 +02:00
Dick Hollenbeck
0361ad6a55
factor some pioneering code into a the stable building block class DSNLEXER, generalize expected valued for name and value within the template field parser.
2010-06-18 11:00:16 -05:00
Dick Hollenbeck
a6cbee35c5
use Unexpected not Expected
2010-06-17 13:21:28 -05:00
Dick Hollenbeck
f3d5c4948b
meet Ralph, a big harry template fieldnames patch
2010-06-17 11:30:10 -05:00
jean-pierre charras
2f5c24aeee
added track posture pacth from lorenzo marcantonio
2010-06-16 17:01:45 +02:00
jean-pierre charras
12a0e4942a
fixed bugs 593546 ( 'Update module' in module editor becomes sometimes unavailable after undo ) and 593547 ('no' confirmation in module editor overlaps modules)
2010-06-14 22:16:47 +02:00
jean-pierre charras
ac11d86c2f
Added an experimental tool to create logos from .bmp bitmaps. Added Potrace library to convert bitmaps to polygons
2010-06-10 20:43:12 +02:00
jean-pierre charras
aefad04995
Pcbnew: fixed unwanted mouse cursor move when using the t hotkey
2010-06-04 20:16:13 +02:00
jean-pierre charras
13ddd1b47f
Pcbnew: Better dialog when starting pcbnew in a new project, when the .brd file does not exists
2010-05-30 11:46:37 +02:00
jp
4574d4369e
fixed bug 585140 and minor cleaning
2010-05-27 12:23:29 +02:00
Wayne Stambaugh
5ce9c9a9d7
Open file dialog fixes and minor code cleaning.
...
* Fix a minor problem with wxFileDialog to open a file that no longer
exists in PCBNew.
* Make GerbView open file behavior the same as PCBNew.
* Remove redundant PCB file wild card definition.
* Add open file refactor task to the todo list.
* Fix some minor code formatting issues.
2010-05-17 16:35:46 -04:00
Jerry Jacobs
a2765a8564
Merge
2010-05-16 20:20:05 +02:00
Jerry Jacobs
d2994d586f
Updates for OS X
2010-05-16 20:18:38 +02:00
jean-pierre charras
0dddb72002
Set minimum cmake version to 2.6.4. Added footprint name edition in the module editor dialog properties.
2010-05-16 16:05:04 +02:00
Dick Hollenbeck
7a73d87abe
carve out specctra_test.cpp unit testing program from specctra.cpp
2010-05-15 06:31:37 -05:00
Dick Hollenbeck
aaea7473d8
carve out specctra_test.cpp unit testing program from specctra.cpp
2010-05-15 06:30:57 -05:00
Jerry Jacobs
6f3c444285
Update OS X icns icons
2010-05-13 21:03:12 +02:00
jp
42aea17946
Pcbnew: fixed a problem when using graphic arcs in board.
2010-05-05 11:21:28 +02:00
jp
ec6849502e
Fixed a minor bug in footprint editor dialog when changing module orientation or side
2010-05-03 17:24:54 +02:00
jean-pierre charras
9026fe6e56
fixed bug 573833
2010-05-02 21:35:46 +02:00
jean-pierre charras
bbb126db2e
Board and footprint editors: Auto update 3D display after a footprint or board change.
2010-05-01 15:32:25 +02:00
jean-pierre charras
e14311997d
Auto update 3D display after footprint or board edition.
2010-05-01 14:46:33 +02:00
jean-pierre charras
a35a083690
Convert gendrill dialog from Dialogblocks to wxFormBuilder. Minor fixes.
2010-05-01 11:22:12 +02:00
jean-pierre charras
7e7f101a95
Convert gendrill dialog from Dialogblocks to wxFormBuilder
2010-04-30 20:39:10 +02:00
Administrateur
dfc624e6b3
Fixed a crash that happens sometimes when opening the design rule dialog.
...
preparing auto refresh of the 3D view in mod edit (not yet working)
2010-04-29 11:06:01 +02:00
Wayne Stambaugh
c9d6d1f922
Fixed solder mask clearance not getting loaded properly.
...
* Closes bug report 570021.
* Removed unused variable from pcbnew.cpp
* Use new message box methods when saving board file.
* Minor code cleaning.
2010-04-28 10:06:14 -04:00
jean-pierre charras
3b658b4be6
Fixed bugs #568896 and #569312
2010-04-24 11:03:35 +02:00
Wayne Stambaugh
c58c388aba
Add PCBNew setting to remember last net list read and other minor fixes.
...
* PCBNew remembers last net list read during the current editing session
as well as between project editing sessions. Closes bug 576902.
* Separate PCBNew application settings from project file settings and
allocate them dynamically instead of statically to make it easier to
eliminate global variables.
2010-04-23 10:46:00 -04:00
jean-pierre charras
4787b38a63
Pcbnew: Fixed minor problems (bugs 568357 and 568356). Changed French word COTATION to DIMENSION in class COTATION (now class DIMENSION)
2010-04-23 11:54:40 +02:00
jean-pierre charras
b471f8d70c
Fixed minor bugs and printing problems, and others minor enhancements
2010-04-22 19:47:10 +02:00
jean-pierre charras
e066b91cd4
Pcbnew+gerbview: fixed some issues in printing dialog
2010-04-21 20:57:34 +02:00
jean-pierre charras
8560488612
Printing functions fixes, and other minor enhancements
2010-04-21 19:22:27 +02:00
jean-pierre charras
ff3861caa5
fixing some issues in SVG print.
2010-04-20 17:56:47 +02:00
jp
ec5e682ef8
fixed some issues in SVG export.
2010-04-20 13:23:59 +02:00
jean-pierre charras
b448040808
Pcbnew: Added VRML export, from the patch sent by Lorenzo Marcantonio ( october 2009, 11)
2010-04-19 13:38:57 +02:00
jean-pierre charras
6be07af669
Pcbnew: Added VRML export, from the patch sent by Lorenzo Marcantonio ( october 2009, 11)
2010-04-19 08:21:56 +02:00
jean-pierre charras
d4c811fc8b
minor enhancement (mainly for Cvpcb)
2010-04-17 18:30:25 +02:00
jean-pierre charras
0d485b4b4a
fixed bug 564619.
2010-04-17 12:45:00 +02:00
jean-pierre charras
ff11ed0f38
Bug fixes, code cleaning and Cvpcb enhancements (see changelog)
2010-04-16 18:28:35 +02:00
jean-pierre charras
4f8049f875
fixed 2 minor bugs
2010-04-13 18:38:20 +02:00
charras
32ff242157
Pcbnew: fixed an inconsistency in DRC. (see changelog)
...
fixed others very minor bugs.
2010-04-08 11:33:43 +00:00
charras
f55234fc57
minor fix
2010-04-07 05:40:11 +00:00