Commit Graph

948 Commits

Author SHA1 Message Date
charras 654045f2de code cleaning 2009-05-23 15:53:47 +00:00
charras 1b1be19593 changes in modedit for MacOSX compatibility 2009-05-23 07:16:05 +00:00
stambaughw 8bf7911125 Build improvements, compiler warning fixes and build fixes, and lots of clean up.
* Created separate SVN version header.
* Add true config.h for platform dependency checks.
* Add dependency check cmake module.
* Remove some leftover hand crafted make files.
* Remove non-cmake build instructions from COMPILING.txt.
* Fix split _() strings causing Visual C++ compiler error.
* Fix lots of compiler warnings.
* Change project file parameter container from wxArray to boost::vector_ptr.
* Removed lots of redundant header definitions.
* Fixed green_xpm redefinition in ercgreen.xpm.
* Remove some dead code and unnecessary class methods.
2009-05-21 17:42:42 +00:00
charras 555b1c5ad9 code cleaning 2009-05-21 14:59:54 +00:00
charras b256efc50e minor bugs fixed 2009-05-21 12:45:21 +00:00
charras 1f01cd50aa Rework on TEXTE_PCB, SCH_TEXT and EDA_TextStruct classes.
Code seriously cleaned, obscure and duplicated code removed, and some oddities removed.
Better support of multiline texts.
2009-05-12 13:46:43 +00:00
charras 756f191a7b Rework on TEXTE_PCB, SCH_TEXT and EDA_TextStruct classes.
Code seriously cleaned, obscure and duplicated code removed, and some oddities removed.
Better support of multiline texts.
2009-05-12 13:38:47 +00:00
charras 5759f734a8 Rework on TEXTE_PCB, SCH_TEXT and EDA_TextStruct classes.
Code seriously cleaned, obscure and duplicated code removed, and some oddities removed.
Better support of multiline texts.
2009-05-12 12:12:34 +00:00
charras 13a1c6be37 delete "old" makefiles. Use CMakefiles only 2009-05-07 17:33:05 +00:00
charras dfa7e1d618 Code cleaning and enhancements about EDA_TextStruct 2009-05-07 17:10:53 +00:00
stambaughw 86a40a93c3 Fix over zealous clean up of user grid dialog in PCBNew. 2009-05-06 17:13:09 +00:00
charras b49c2d2b9d code cleanup, remove multiline text option in eeschema (multiline text is a work in progress) and minor enhancements 2009-05-05 17:32:07 +00:00
dickelbeck 7258d23b81 something that allowed this to compile with 2.9 wxWidgets 2009-05-02 18:51:43 +00:00
charras 6e6134ea5a improved wxWidgets 3 compatibility 2009-05-02 07:35:04 +00:00
stambaughw 1e6a46528d Removed non-standard dialog UI control text colors missed in last commit. 2009-05-01 19:46:52 +00:00
stambaughw 0652ab4fd2 PCBNew UI normalization and global variable reductions.
* All: remove all remaining occurrences of g_DialogFont and dialog font menu handers.
* All: remove all remaining non-standard fonts and button text colors from common dialogs.
* PCBNew: remove all non-standard fonts and button text colors from dialogs.
* PCBNew: update project library and path dialog to match changes to CVPCB version.
* EESchema: update project library and path dialog to match changes to CVPCB version.
* EESchema: save vertical/horizontal line direction setting between sessions.
2009-05-01 18:06:03 +00:00
charras ac45264b4e some enhancements in pcbnew (see changelog) and Cmake files updated to handle a change in doc files 2009-05-01 16:46:56 +00:00
charras a6278c25f4 removed warn compil., updated CMakefiles for macosx and removed obsolete makefile.macosx 2009-04-29 12:10:15 +00:00
drannou fb25b5c403 Adding multi-line feature in PCBNEW and EESCHEMA 2009-04-28 19:34:42 +00:00
charras d6af27a308 eeschema: enforce time stamp control and repairs bad time stamps in annotation. 2009-04-25 10:12:30 +00:00
charras b9ba67c8c3 Pcbnew: Fixed: fully broken netlist import from eeschema when using time stamp (fully broken also in stable version). 2009-04-24 07:36:36 +00:00
stambaughw aa51c05dc6 CVPcb code refactoring, global variable elimination, and UI updates.
* Add methods to read and write project file parameters using dynamically defined list.
* Remove all global variables defined in CVPcb code.
* Dynamically define project file settings so class member variables can be used.
* Separate reading and writing application settings from project file settings.
* Make application UI objects and dialogs respect system UI font.
* Remove non-standard widget colors from CVPcb dialogs.
* Changed CVPcb object link list implementation to use wxList.
* Changed project library and path dialog to make OK button save project file instead of confusing "Save Cfg" button.
* Eliminate some duplicate file wildcard and extension definitions.
* The usual code reformatting, commenting, and spelling fixes.
2009-04-23 15:02:18 +00:00
faa bd3b4baa32 pcbnew: double dot in file name plot svg 2009-04-22 04:23:16 +00:00
charras b4b57a96e7 Added: handling multiple user paths in library path list in Cvpcb. Other minor changes 2009-04-21 17:56:27 +00:00
charras 6039a5f785 Added: handling multiple user paths in library path list in pcbnew.
Small change in doc files: footprint_doc moved from help to share/modules
TODO: change dialog_cvpcb_config and copy code (from pcbnew) for multiple user paths in library path list in cvpcb.
2009-04-19 15:03:48 +00:00
charras 9edace2f5f Code clarification about 3 confusing functions to display info: DisplayInfo (displaying a message info) and class members DisplayInfo and Display_Infos doing the same thing (see changelog) 2009-04-17 08:51:02 +00:00
dickelbeck 69fd16ed26 switch to GetChars() and away from wxString::GetData() 2009-04-17 06:37:23 +00:00
charras 989ccd0e0e wxWidgets 2.9 compatibility change. 2009-04-16 15:50:55 +00:00
charras 7ab924c3e1 minor bugs fixed, and remove warnings when using wxWidgets 3 in specctra.cpp 2009-04-16 08:48:54 +00:00
stambaughw cc661bdce8 Minor search path updates, initial UI clean up, and more wxDC zoom work.
* Add default OS program install path(s) to search path list as fail safe.
* Remove unnecessary wxGetApp calls in WinEDA_App class methods.
* Remove non-standard message panel font and changed background to system menu color.
* Remove italic fonts from menus.
* Remove non-standard font in Kicad app project tree.
* Remove font selection dialog menu items from apps for removed fonts.
* Remove all global variables and settings associated with the removed fonts.
* Fixed PCBNew export and import library file dialog response tests from wxCANCEL to wxID_CANCEL.
2009-04-15 19:53:41 +00:00
charras 50d1bcb171 more about management of lib files in defualt paths 2009-04-15 15:53:21 +00:00
charras dd4e90215e typo; bug in lib component edition: doc filename was entered from browse button without extension. 2009-04-15 12:12:59 +00:00
charras 7cd50d33a0 fixed in pcbnew: module copy: bad 3d shape list copy. 2009-04-15 07:20:30 +00:00
charras 9aba378fac fixed in pcbnew: module copy: bad 3d shape list copy. 2009-04-15 06:32:15 +00:00
charras 20cb87a8b7 better handling of libraries paths (removed g_RealLibraryBuffer that had no sense with the new code), mainly in Eeschema
TODO: better handling of user lib paths (more than one path)
2009-04-14 16:45:22 +00:00
charras 89e7f96574 made kicad compilable with wxWidgets 2.9 (wxWidgets 3) 2009-04-13 05:58:11 +00:00
charras f3e4682f54 eeschema: some fixes, see CHANGELOG 2009-04-12 14:39:54 +00:00
stambaughw d96039a1fb Change search path order, wxDC zoom updates, and code clean ups.
Add helpers for inserting paths to and removing paths from search list.
Moved user defined path before default library paths in search list.
Renamed m_Draw_Auxiliary_Axis to DrawAuxiliaryAxis.
Changed parameter to fix wxDC set mode from FALSE to GR_COPY.
Minor wxDC zoom improvements.
2009-04-09 18:39:39 +00:00
dickelbeck 4ee4f83de4 move polar coordinates display to status field 2, so that field 0 persists. 2009-04-09 18:16:16 +00:00
dickelbeck 20f8b2168b UpdateStatusBar() not callable from RedrawActiveWindow on MAC, and it is not the right place to call it for other OSes even though it might work on those other OSes such as Windows and Linux 2009-04-09 17:25:59 +00:00
stambaughw dfb88c6495 Library search path fixes, library configuration dialog fixes, and code cleaning.
Added application method to fix searching for user libraries.
Fixed documentation search path bug.
Moved auto pan setting from draw frame to draw panel were it is defined.
Some minor device context drawing changes.
2009-04-08 18:06:22 +00:00
charras cf752a5812 fixed in modedit: save module not working 2009-04-08 06:05:54 +00:00
charras e719b42e1f made GetAssociatedDocument() compatible with last changes in kicad path handling. 2009-04-07 15:54:40 +00:00
charras 1343d9fd41 pcbnew: fixed: bug 2738052 (Delete tool does not delete zones outlines)
eeschema: fixed: void history file list in menu
2009-04-07 11:53:58 +00:00
charras 70707523dd show axis in module editor and gerbview 2009-04-07 07:24:33 +00:00
charras 9efbf02042 add and translate some comments. fixed a problem in modedit (delete module in lib not working) 2009-04-06 16:05:25 +00:00
charras 71ca194b68 overbar patch merged mainly in eechema/class_pin.cpp. Some cleanup and compil problem fixes. 2009-04-06 10:56:17 +00:00
stambaughw 689579bde1 Global variable unobfuscation, new library path search, and lots of other changes. See CHANGELOG.txt. 2009-04-05 20:49:15 +00:00
dickelbeck 68d0e4664a Mac fix 2009-03-30 19:28:54 +00:00
charras 4ef16f53d9 pcbnew: added BOM generator (in postprocess menu) 2009-03-30 15:36:41 +00:00
charras b65590f708 code cleanup in project_config.cpp and some enhancements 2009-03-28 20:02:34 +00:00
charras 2eaa28f0cb Pcbnew: some enhancements 2009-03-26 19:27:50 +00:00
charras 0f725ee2fc DRC: added test pads to holes (pcbnew). Others minor changes 2009-03-23 19:54:15 +00:00
charras 4c920f52e2 finishing worl on trapezoidal pads in zones 2009-03-19 18:11:37 +00:00
charras df3939f894 pcbnew: better look of the drill map, in PS format 2009-03-19 10:54:53 +00:00
charras 9fb53f0c4f pcbnew: enhancement in printing function. 2009-03-18 16:46:07 +00:00
charras 3e477651c7 finishing work on hpgl plotting functions 2009-03-18 15:38:16 +00:00
charras f9642fd4ac fixed: 2 bugs that crashes pcbnew (see changelog) 2009-03-16 20:13:26 +00:00
charras 17dc3090c4 fixed: 2 bugs that crashes pcbnew (see changelog) 2009-03-16 19:51:23 +00:00
dickelbeck 4a2aebcd60 double not float 2009-03-15 21:11:12 +00:00
charras 2a9a799f01 eeschema: Added: option to print ALL (more than 8) users fields in B.O.M.
pcbnew: added 5 metric grids and fixed a very minor bug when creating drill map.
2009-03-12 15:24:52 +00:00
charras 3bd6aa1dd1 fixed: a bug that can delete an existing zone after creating a new zone (see changelog)
Switch to RC6
2009-03-11 13:29:10 +00:00
charras 6431e9c94d pcbnew, gerbview: print&plot: error message displayed when no layer selected. 2009-03-10 08:26:52 +00:00
vesa_solonen 8ef28d56a1 Thermal stub fix 2009-03-05 17:40:23 +00:00
charras cbca180a12 bug fix 2660689 Unconnected pads in RC4 2009-03-05 15:58:06 +00:00
charras 39afce35ca pcbnew: serious bugs fixed (see changelog) 2009-03-05 13:41:34 +00:00
charras 76d4054de9 cvpcb doc update. others updates and minor bugs fixes. 2009-03-03 19:42:49 +00:00
charras 8593838f7a fixed: cursor is not positioned properly in find function (pcbnew) 2009-02-26 20:06:51 +00:00
charras b0a2d7a48f fixed seg fault in DRC just after a .ses import 2009-02-26 09:33:14 +00:00
dickelbeck a28492f47c bug fixing, gerbers, etc. 2009-02-26 00:37:04 +00:00
dickelbeck 073d076730 fix markers on pads when pads are high-lighted 2009-02-25 16:35:47 +00:00
charras 6d91cdd694 fixed: a problem when using arcs as edge pcb in zones and when filling zones 2009-02-25 15:01:56 +00:00
dickelbeck d055f67318 remove redrawing/flashing, fix magnetic tracks option 2009-02-24 22:41:30 +00:00
charras 89f0211029 bug fix: 2628615, 2625434, 2625090 2009-02-24 13:55:13 +00:00
charras 92ab71c2c2 Correct handling of arcs and circles (when used in pcb edges) in zone filling. 2009-02-23 16:04:11 +00:00
charras e9c7d50ca6 fixed some typo, misspelling and errors in menus. 2009-02-21 15:12:26 +00:00
charras f2c03f2b97 gr_basic.cpp now clips filled polygons,using the Sutherland and Hodgman algo to clip the poly against a rectangle
Filled polygons are now correctly displayed under Linux(i hope)
2009-02-20 14:31:16 +00:00
charras e1fb4c786f pcbnew: fixed: delete zones filling commands was inconsistant when filled by segments
(does not delete segments or does not deleting areas outlines)
2009-02-19 14:57:15 +00:00
dickelbeck 47cf3a0660 wrap freeroute.jnlp path in double quotes 2009-02-18 14:23:17 +00:00
charras 3920946ef1 fixed: in module editor: block copy hangs pcbnew 2009-02-18 07:37:53 +00:00
dickelbeck a27dcae61e layer count changing fix 2009-02-17 21:54:14 +00:00
charras 4e348a58fe pcbnew: fixed bug when printing at accurate scale 1: fine X scale adjust not working 2009-02-17 18:02:55 +00:00
charras 5cf5bbce8b Dialog track options redesigned with wxFormBuilder Alt via drill renamed Specific via drill. Added tips in dialog. 2009-02-17 09:03:45 +00:00
charras aa541fcb97 fixed: bug 2602865 (change module crashes pcbnew) 2009-02-15 20:14:26 +00:00
charras c0b31f92f9 Zoom 0.5 added in eeschema and pcbnew. Some artefacts when drawings filled zones accepted. 2009-02-14 18:01:07 +00:00
charras c6f68578b3 Removed some warnings in compilation. A small bug fixed when drawing grids on screen. 2009-02-11 15:49:28 +00:00
charras 0d6c62a9ef Bug (only in my last commit) fixed under Windows. Removed some warnings in compilation 2009-02-10 12:37:12 +00:00
charras 5b74766316 fixed: pcbnew: incorrect texts width in PS plot output. 2009-02-09 12:42:39 +00:00
charras 88cde3090e Pcbnew: Alternate via drill value entered in dialog box is now saved in config and board. 2009-02-09 07:49:02 +00:00
charras 2075ac8476 minor (and old) bugs fixed.
minor changes in search paths for help and translation files.
2009-02-07 20:11:09 +00:00
dickelbeck 3a618567bb netless zone support fix to specctra export 2009-02-07 16:45:07 +00:00
dickelbeck d58296c804 netless zone support fix to specctra export 2009-02-07 16:06:55 +00:00
charras 1d3f2d520c Pcbnew : refinements for user grig 2009-02-07 14:13:16 +00:00
charras aee56a936e Change grid size type from integer to double (using wxRealPoint insteed of wxSize).
Mandatory in Pcbnew to handle without error metric grid used now for some footprints (BGA, connectors)
Not fully tested
2009-02-07 08:33:25 +00:00
dickelbeck 35e8a286e8 resolved the zone 'cutout' support to specctra, handle zones with attached to no nets, namelessly 2009-02-06 22:10:37 +00:00
dickelbeck 31aee8ef3e specctra export zone 'cutout' support 2009-02-06 14:23:56 +00:00
charras d73e132455 See changelog 2009-02-06 11:45:35 +00:00
stambaughw 80e03c8c1b Build optimizations and cursor movement key bug fix. 2009-02-05 20:53:08 +00:00
dickelbeck 9f555dbdbc faster if tests 2009-02-05 18:17:01 +00:00
dickelbeck f65d3882e8 improved zoom factors 2009-02-05 18:16:28 +00:00
vesa_solonen 8e437b23b2 New zoom factors 2009-02-04 18:17:24 +00:00
stambaughw b833a46bad More header file realignments to reduce recompiling and general code cleaning. 2009-02-04 15:25:03 +00:00
charras ea38af91fb doc update and some minor enhancements before Release Candidate 2009-02-02 12:12:18 +00:00
charras f83bc3e3fa pcbnew: solved: info not displayed when clicking on a module. Removed: gcc 4.2.1 warning in moduleframe.cpp 2009-01-31 21:42:05 +00:00
charras 5813a12ebb Print functions and display zoom level modified to use the new zoom implementation
Comments added in some functions.
2009-01-31 10:05:16 +00:00
stambaughw 2e5a57e100 New zoom implementation and some build optimizations. 2009-01-29 14:26:20 +00:00
charras 790d646a00 doc update 2009-01-28 17:08:35 +00:00
vesa_solonen 9d76274a43 Polygon enhancements 2009-01-27 14:16:09 +00:00
charras b5c64fd757 Pcbnew:solved: bug in autorouter. 2009-01-25 17:48:59 +00:00
charras 69ce4a2b77 Pcbnew:solved: bug in autorouter. 2009-01-25 17:38:30 +00:00
charras c5725437c6 Zones not attached to a net are now allowed. Not sure it is a good idea, but a lot of users want this. 2009-01-24 19:30:39 +00:00
charras fbdd340647 Pcbnew: added Vesa Solonen's patch to enhance thermal reliefs shapes. 2009-01-22 18:45:33 +00:00
charras a3a4bbc03b pcbnew test scale values when printing/ploting to avoid 0 scale or others stupid values
(scale now allowed from 0.01 to 100)
2009-01-18 19:20:15 +00:00
charras c333da1916 some "todo" cleanup 2009-01-18 15:51:06 +00:00
charras 0d3fc60155 Found why remove unused thermal stubs fails sometimes.Solved 2009-01-18 13:14:50 +00:00
charras 9f8e1d9d1c removed some warning when compiling. Added comments 2009-01-18 10:15:10 +00:00
stambaughw 21faf9d370 Integrate wxFileHistory, add missing header files to fix Linux build, initial search path work, and general housekeeping. 2009-01-17 20:31:19 +00:00
charras 5c4c584b93 Cleaning code in print dialogs. 2009-01-17 17:32:20 +00:00
charras c39ef78ddc minor changes. 2009-01-15 20:41:41 +00:00
charras 962b8b0ead Added: patch from Rok Markovic, and some changes in printing functions 2009-01-15 14:32:29 +00:00
charras f64b282778 BUGFIX: .mdc is incomplete after 'archive footprint' 2009-01-15 08:12:03 +00:00
charras 94cf5b0d28 pcbnew: minor but mandatory change when printing tracks (removed net names printing) 2009-01-14 08:27:16 +00:00
charras b27bbe9cac Eeschema+Pcbnew: code cleanup and refinements in plot SVG format 2009-01-13 19:18:54 +00:00
charras 19e5bc3b01 Added: Pcbnew print SVG format (see changelog) 2009-01-11 19:12:18 +00:00
charras 30da5aff07 Calculations to create filled areas in a zone modified and uses 2 pass. See changelog 2009-01-10 17:12:51 +00:00
charras a369275153 Pcbnew: solved: incorrect DCODE used to plot board edges and silkscreen 2009-01-10 08:03:07 +00:00
charras 0c0b2a40de Pcbnew: allows autopan when editin or creating a zone 2009-01-09 19:09:13 +00:00
stambaughw 4a489895a3 More zoom clean ups and code cleaning. 2009-01-07 15:59:49 +00:00
charras 63724083f6 Pcbnew: force scale 1 in gerber format, regardless the options value. Solved a bug when retrieving plot scale options 2009-01-07 07:58:45 +00:00
dickelbeck b603580355 WinEDA_BasePcbFrame::m_Pcb is now private, use GetBoard() to access it. 2009-01-05 05:21:35 +00:00
charras 441efc9f2c Bugs and problems solved in fields edition (some are windows only) 2008-12-31 15:01:29 +00:00
dickelbeck 0d790e57a2 polygon work, EDGE_MODULE::m_PolyPoints is now std::vector 2008-12-29 18:02:54 +00:00
charras f08585f96a Added dialog box to edit graphic items 2008-12-23 13:15:08 +00:00
charras 5c790f50fd Added dialog box to edit graphic items 2008-12-23 13:14:01 +00:00
charras 57d9096a08 Uploaded forgotten files 2008-12-23 08:23:28 +00:00
charras daeb9f0e07 Cleaning code to draw/plot texts; italic allowed for pcbnew 2008-12-22 21:06:44 +00:00
charras 35b0a8a00f soved a bug in my last commit: incorrect number of layers shown in the dialog box 2008-12-21 18:02:19 +00:00
charras 9c2b4c8c37 pcbnew: Convert dialog_display_option from DialogBlocks to wxFormBuilder, rename files and remove typos 2008-12-21 16:54:27 +00:00
charras 06ca175064 pcbnew: Convert dialog_general_option from DialogBlocks to wxFormBuilder and add tips to all options 2008-12-21 12:11:47 +00:00
charras b9b8bf2fab In zones filling better shape around rectangular pads (patch from Vesa Solonen) 2008-12-21 08:35:21 +00:00
charras 4d12bd3e3d Solved problems with mirrored texts. cleaning obsolete files 2008-12-20 20:38:39 +00:00
charras af048ff2e3 Italic option for pcb texts 2008-12-20 17:28:25 +00:00
charras f1eb69a1a3 more about texts and labels options under eeschema 2008-12-20 13:12:57 +00:00
charras cd6fbbef68 All: cleaning code to draw/plot texts (work in progress). Eeschema: italic and bold texts and labels allowed
(plot functions not yet updated for bold texts)
2008-12-19 20:40:08 +00:00
stambaughw 1ecea828c2 Initial ground work for zoom improvements and minor build updates. 2008-12-19 13:51:48 +00:00
faa a64f15677d pcbnew crashes set color 2008-12-18 08:44:53 +00:00
charras 6e6098a05c cleanup 2008-12-17 06:51:39 +00:00
charras beeaf53a0b Code cleaning. Removed obscure code to draw texts 2008-12-16 19:44:57 +00:00
charras 23003001f1 minor changes. 2008-12-15 10:24:19 +00:00
charras 6d856f60a6 Pcbnew: Added display a short net name on vias and pads. Also, code cleaning 2008-12-14 19:45:05 +00:00