Commit Graph

368 Commits

Author SHA1 Message Date
Dick Hollenbeck 49bca46a5c -fPIC only for non-MINGW. See http://mingw.5.n7.nabble.com/Option-fPIC-not-supported-td18480.html 2013-02-14 09:31:56 -06:00
Dick Hollenbeck fdc8a1345d typo 2013-02-14 08:50:32 -06:00
Dick Hollenbeck e4d09b96bc add -fPIC for all builds, even cross comiling to Windows from Linux, even non Debug and Release builds 2013-02-14 07:12:54 -06:00
Wayne Stambaugh 4d465ec8a0 Configuration and compile documentation improvements.
* Improve the stable and testing build version option logic.
* Use CMake FindPythonInterp to configure the Python interpreter.
* Use Python interpreter to determine the system Python module install
  path if not already defined on the command line.
* Add header symbol checks for asinh(), acosh(), and atanh().
* Add test source to check for isinf() which can be defined as a C++template.
* Replace conditional compile on windows systems for aXXXh() with CMake
  configuration tests.
* A few minor MSVC compile fixes.
* Fix incorrect python environment string in fixswigimports.py
* Create a separate document for KiCad CMake build options.
* Create a separate how to compile KiCad on Windows document.
2013-02-10 19:41:49 -05:00
acobo Aragunde Perez 2bea1c677c Eeschema: Add "append schematic" feature. Fix bug 1101718 <Empty plot filename> 2013-01-24 19:46:42 +01:00
Dick Hollenbeck f1af605d6c when linking a DSO, require all symbols to be resolved 2013-01-04 17:02:10 -06:00
Alexander Lunef 40f4304b2f Pcbnew: Add pcad2kicad pcb plugin, to import PCAD boards ( .pcb ASCII data file PCad 2000 format ) from Alexander Lunef 2012-12-29 10:54:25 +01:00
Dick Hollenbeck 2aa27122b0 Eliminate many assumptions in Pcbnew's library manager, pertaining to locality of libraries and
their type, by using the more abstract PLUGIN::Footprint*() functions.

This is an intermediate phase only, other changes will be necessary as library table support comes in.
Encapsulate usage of library path searching, since that will go away as library table support comes in.
Add FOOTPRINT_EDIT_FRAME::{get,set}LibPath() and FOOTPRINT_EDIT_FRAME::{get,set}LibNickName() functions
to provide this encapsulation.
2012-11-19 10:19:38 -06:00
Dick Hollenbeck a93637b14f remove -std=c++0x compiler option since nobody is ready for it, and accordingly back into auto_ptr from unique_ptr 2012-11-15 10:04:10 -06:00
jean-pierre charras 3688bae75f Fix compil issue under MinGW: for an obscure reason the option -std=c++0x creates error in wxWidget code:
some functions used in wxWidgets ( like _strdup and few other) are not defined when this option is set. 
but the equivalent option -std=gnu++0x works fine so it is used under mingw instead of  -std=c++0x.
(Under Linux/OSX  the option -std=c++0x is used)
2012-11-14 21:07:09 +01:00
Dick Hollenbeck 9bbff22d96 1) Switch to boost hashtable support from wx macros which did not handle std::string.
This required the additional compiler command line option "-std=c++0x".

2) Switch to unique_ptr from auto_ptr which is C++ deprecated.

3) Change to new English layer names per mailing list discussion, see class_board.cpp.

4) When saving to *.kicad_pcb or *.kicad_mod, identify opportunities to use wildcard
   layer sets, for pads so far.

5) Switch to two std::string hashtables in pcb_parser.cpp, away from one wxString based one
   for layer names and layer sets mapping. One hashtable holds the mask, the other the index.
   Layer sets are only in the mask table.

6) Move "LOCALE_IO toggle" into PCB_IO::Format() since it is a public API function and
   caller should find it as convenient as possible to use.  LOCALE_IO should handle
   nesting OK in the case where public Format() is called from one of the Footprint*()
   functions.

7) Drop support for "export module to new library".  Creating new libraries will have to
   be handled in concert with library table entries, and we've talked recently about
   creating a better footprint library manager, one that resides in a DLL/DSO.  So
   this kind of functionality needs to be handled in there in the near future.

8) Change name of exported PCB_IO module/footprint to *.kicad_mod and not *.emp.
2012-11-14 01:15:59 -06:00
Dick Hollenbeck 0e1e7f53b1 remove one-ness bug from CMakeLists.txt 2012-10-16 00:28:39 -05:00
Wayne Stambaugh e7925279ab Only use -O1 GCC optimization level for versions 4.7 and above for now. 2012-10-15 21:42:50 -04:00
Dick Hollenbeck 26eab9c767 make nanometers the default board internal units within Pcbnew 2012-10-15 00:21:31 -05:00
Brian Sidebotham 9823666ca9 Commit patch from Brian Sidebotham: Project template in Kicad manager 2012-10-14 18:57:11 +02:00
Wayne Stambaugh 1468a4ae31 Pcbnew s-experssion footprint library implementation.
* Add footprint methods to PCB_IO.
* Add FP_CACHE and FP_CACHE_ITEM for handling new footprint library design.
* Add code to save legacy libraries in new format.
* Change behavior of BOARD_ITEM::GetLayerName() to return the default layer
  name when the item does not have a BOARD as a parent.
* Minor changes to the module output formatter when writing to module library
  files (no BOARD as parent).
* Add new (and some that I forgot along the way) CMake flags to
  EDA_BASE_FRAME::CopyVersionInfoToClipboard().
* Add -Wno-narrowing to GCC flags to stop GCC 4.7 from complaining about
  a conversion from int to unsigned in the Boost polygon library.
* Add INPUT_STREAM_READER to richio.cpp to allow using any object derived
  from wxInputStream as a LINE_READER (needs to be validated).
2012-10-07 11:37:25 -04:00
jean-pierre charras 0e941708f4 Make scripting version compilable under Windows 2012-09-30 19:50:17 +02:00
Dick Hollenbeck 367bfb4e14 fix problem with eeschema print dialog showing up on missing monitor 2012-08-15 12:55:48 -05:00
jean-pierre charras c0992a9386 Remove Kbool from Kicad. Use Clipper instead, last changes 2012-08-04 13:47:24 +02:00
Miguel Angel Ajo 89dd074841 pcbnew scripting: cleanup, renamed KICAD_SCRIPTING_EXPERIMENT to KICAD_SCRIPTING_WXPYTHON, now every flavour compiles 2012-08-02 19:24:53 +02:00
Miguel Angel Ajo b0881d8ec5 scripting: fixed kicad compilation, cleanups 2012-08-02 09:47:30 +02:00
Miguel Angel Ajo beec323603 Double Python initialization fixed 2012-08-01 13:54:20 +02:00
Miguel Angel Ajo 5d0dee1364 Adam Vašíček patches for WIN32 compilation of kicad scripting 2012-07-22 14:15:38 +02:00
Miguel Angel Ajo 465dabd919 Fixes Win32 compilation that my previous commit broke, thanks to JP 2012-07-16 16:48:51 +02:00
Miguel Angel Ajo db427cb2cd merge with lp:kicad 2012-06-25 22:51:19 +02:00
Dick Hollenbeck a71857baaa Commit Dick's Pcbnew s-expression file parser bug fixes.
* Apply Dick's patch along with a few minor changes to fix some clashes with
  changes in my branch.  Thanks Dick!
* Added missing DRAWSEGMENT line angle.
* Fix thru hole pad layer mask issue.
2012-06-10 20:47:15 -04:00
Miguel Angel Ajo 30e251bfba merge 1 with tip 2012-06-03 22:06:51 +02:00
Dick Hollenbeck 173c93969d Remove zip library by switching to wxZlibOutputStream for PDF plotter.
Delete LEGACY_PLUGIN cache after deleting library of same name.
Remove automatically generted freerouter help header.
Add Normalize() to BOX2.
Clamp some values in the virtual space of drawframe.cpp
2012-05-04 23:55:36 -05:00
jean-pierre charras 61acac28e1 Add patch from Lorenzo Marcantonio. Fix some warning issues, and zlib issue under Windows (zlib sources added) 2012-05-03 20:37:56 +02:00
Dick Hollenbeck 3fa7c200b7 Add tools/parser_gen.cpp which is the beginnings of an s-expression parser
generation tool.  For now, it is just an s-expression beautifier using
our "non-specctra mode" version of s-expressions.
2012-04-29 21:57:48 -05:00
Miguel Angel Ajo aef92a345c Merged to testing, needs some fixes 2012-04-21 22:04:02 +02:00
Dick Hollenbeck 3341669fc6 more footprint support for LEGACY_PLUGIN 2012-04-16 20:35:43 -05:00
Miguel Angel Ajo 55c0eafd6f merged testing branch 2012-04-14 23:18:27 +02:00
Miguel Angel Ajo a201522f6b lajos kamocsay compilation patches 2012-04-09 08:53:24 +02:00
Wayne Stambaugh 9c16a218c0 Pcbnew s-expression file format changes.
* Save dialog now supports saving boards to new file format.
* Add CMake option to build s-expression file save.
* Add check to main CMakeList.txt file to make sure nanometers are
  enables when the new file format is built.
* Minor tweaks to object format functions for improved output.
* Rename kicad_plugin.h/cpp to legacy_plugin.h/cpp.
2012-04-07 14:05:56 -04:00
jean-pierre charras d739f03c5f Remove old xpm icons files 2012-04-07 13:09:57 +02:00
Dick Hollenbeck 1effb1fefc USE_NEW_PCBNEW_LOAD and USE_NEW_PCBNEW_SAVE are enabled by default.
This uses the new LEGACY_PLUGIN, so we can force more usage & testing of it
before ioascii.cpp and item_io.cpp are deleted, along with 
BOARD_ITEM::Save() and BOARD_ITEM::ReadDescr() associated functions.
2012-04-06 14:31:28 -05:00
Dick Hollenbeck f8490ff4af Remove g_PcbPlotOptions, use wxformbuilder to subclass DIALOG_SHIM on several dialogs 2012-04-05 13:27:56 -05:00
Wayne Stambaugh d7feb9ab45 Initial Pcbnew s-expression file format commit.
* Add s-expression Format() function to all objects derived from
  BOARD_ITEM.
* Add s-expression Format() function to base objects as required.
* Add functions to convert coordinates from base internal units
  (nanometers) to millimeter string for writing to s-expression
  file.
* Add temporary dummy conversion functions to prevent link errors
  until schematic and board object and action code can be separated
  into DSO/DLL.
* Add CMake build option to build Pcbnew with nanometer internal
  units.
2012-04-01 16:51:56 -04:00
Miguel Angel Ajo f422350605 pcbnew_scripting_helpers.cpp/h to handle generic scripting tools
CMakeLists.txt options to build scripting or scripting modules
2012-03-17 16:17:13 +01:00
Dick Hollenbeck 7fd0f0cab5 add tools directory, move container_test.cpp there on standby 2012-01-23 09:25:46 -06:00
Dick Hollenbeck b8a0ab4c52 switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths 2012-01-22 22:33:36 -06:00
Dick Hollenbeck 90bb27ca66 cannot use plugin until done 2012-01-05 09:36:45 -06:00
Dick Hollenbeck d3afe95ca8 remove page size globals from eeschema 2012-01-04 00:18:38 -06:00
Wayne Stambaugh 98fa228302 Removed -static-libgcc linker flag that caused Pcbnew to crash on Windows when raising an exception in release builds using MinGW GCC 4.6.1 2011-12-21 08:19:14 -05:00
Dick Hollenbeck 4c2a1dd5d1 more kicad_plugin work, make BOARD::m_NetInfo private 2011-12-09 23:33:24 -06:00
Dick Hollenbeck c4979318d2 more plugin work 2011-12-06 23:28:49 -06:00
Dick Hollenbeck cc097762c7 Temporarily reverse out the evolving support for finer Board Internal Units (BIU)s. 2011-11-24 11:32:51 -06:00
Vladimir Ur a273b7bdb5 Work on internal (nano)metric length units started.
Added configuartion option KICAD_NANOMETRIC for this.
* With option set to false: *
- it should work and compile as usual
- some values are saved with decimal point (which should be backward/forward compatible as old versions should just drop fractional part)
* With option set to true: *
- lengths in Global Design Rules should be settable 1nm steps.
FROM/TO_LEGACY_LU(_DBL) macros introduced for easy interconnection between old and new units.
2011-11-09 17:25:49 +04:00
jean-pierre charras 4cbcf56cee remove useless USE_BOOST_POLYGON_LIBRARY cmake option, and remove unused files.
BOOST POLYGON is always used in zone filling functions.
Kbool is still in use in other calculations.
2011-10-25 18:24:56 +02:00
Wayne Stambaugh d4fb921b43 Eeschema ERC improvements and other minor fixes.
* Move the hierarchical label connected test into the NETLIST_OBJECT class.
* ERC pin type strings can now be translated.
* Remove unused EDA_DRAW_PANEL attribute from all ERC test functions.
* Add get marker count method to SCH_SCREENS object.
* Redundant header removal.
* Lots of coding style policy fixes.
2011-10-07 10:41:30 -04:00
Wayne Stambaugh 5602177d45 Minor copy version information to clipboard improvements.
* Add KiCad build option states to copy version information to clipboard
  function.
* Add a note to the main CMakeList.txt file to let developers know that
  new option states should be added to the copy version information to
  clipboard function.
2011-10-05 14:26:22 -04:00
jean-pierre charras 1c412879d5 New icons: fix problems about .ico files (under Window)
Remove or move old .ico and .pgn files and add new icons (.ico files and .png files) in bitmaps_png/icons and bitmaps_xpm/icons
.png files and .ico are used to build desktop shortcuts
Handle variable size bitmaps in kicad.
2011-09-10 19:48:35 +02:00
Dick Hollenbeck 1d696bf69f PNG fixes 2011-09-08 01:58:52 -05:00
Dick Hollenbeck 50dbd5b762 merge from testing 2011-09-08 01:20:13 -05:00
Dick Hollenbeck 07ab5534e5 PNG bitmap support, initial implementation 2011-09-08 00:58:45 -05:00
jean-pierre charras c7dee03967 Remove minizip from kicad sources. Useless because now (and since a long time) wxWidgets supports full zip file read/write, and minizip build creates problems under Windows, due to zlib not always installed. 2011-09-07 20:41:35 +02:00
Wayne Stambaugh c5c98f9518 Add CMake code to enable or disable using images in menu items.
* Add USE_IMAGES_IN_MENUS definition to override the default platform
  behavior for adding images to menu items.
* Update COMPILING.txt to document how to use USE_IMAGES_IN_MENUS.
* Fix Windows segfault when creating language selection submenu introduced
  by new bitmap code in r3087.
* Changed per email from JP from CVPcb to CvPcb because I'm getting old and
  blind and misread the email.
* Lot's of Doxygen comment and coding style policy fixes.
2011-08-29 15:50:05 -04:00
jean-pierre charras 1275240759 Add a new utility: pcb_calculator (need of course wore work)
Eeschema: optimize import of footprints names ( .stf files) that was time consumming with large designs.
2011-08-05 21:53:42 +02:00
Wayne Stambaugh c18020374b Schematic object plot code refactoring and CMake required version changes.
* Change the minimum required CMake version to 2.6.4 for all build platforms
  except Windows and OSX.
* Move all schematic plot code from plot.cpp into the appropriate schematic
  objects.
* Create SCH_SCREEN plot method to plot all objects in the schematic
  screen.
* Delete plot.cpp and remove it from the CMakeList file.
2011-06-17 09:24:22 -04:00
jean-pierre charras d5c985866f Eeschema: bug fix: incorrect behavior when changing(for a multiple parts per package component) the selected part (component not deselected)
Fix a minor compil warning in lib_polyline.cpp
2011-04-11 13:45:16 +02:00
jean-pierre charras c2ff1d9416 Viewlib: fix a zoom error (due to a call to BestZoom() made before the full window is built)
CMake: add definition KICAD_TESTING_VERSION and KICAD_STABLE_VERSION.
One of these 2 options *must* be now defined (i.e. run cmake with option -DKICAD_STABLE_VERSION or -DKICAD_TESTING_VERSION
Stable and testing branches should be more easier to maintain.
2011-04-09 20:53:39 +02:00
Wayne Stambaugh e764474f9d CMake and other minor improvements.
* Merged CMake 2.8.4 version of FindwxWidgets.cmake with local copy.
* Merged CMake 2.8.4 version of UsewxWidgets.cmake with local copy.
* Bump required version of CMake to 2.8.0.
* Delete commented out include from eeschema/protos.h that I forgot on my
  last commit.
2011-04-06 09:44:38 -04: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
Wayne Stambaugh 2a60327545 Build default change and minor schematic screen object improvements.
* Change default build to enable wxDC zooming.
* Move sheet label find function into SCH_SCREEN object.
* Move draw screen items function into SCH_SCREEN object.
* Remove redundant page print method from SCH_EDIT_FRAME.
* Add method to hit test for all items in SCH_SCREEN.
* Add method for testing if junction is required in SCH_SCREEN.
* Fix Doxygen waring in help_common_strings.h
2011-01-11 15:34:29 -05:00
jean-pierre charras ff9cdca994 Dialog annotate changes to use new annotation algorithm. 2011-01-04 21:27:52 +01:00
Dick Hollenbeck 4f956712e2 fill out more /new files 2010-12-27 10:49:39 -06:00
Dick Hollenbeck 8384d7e013 implement some of the DIR_LIB_SOURCE Read*() functions 2010-12-20 00:06:34 -06:00
jean-pierre charras 6886e50d15 Pcbnew: For zone filling algo, change the default polygon library from Kbool to Boost::polygon (USE_BOOST_POLYGON_LIBRARY default is ON). (need to rebuild makefile)
Gerbview: added decimal format for coordinates, sometimes found in Gerber files.
2010-12-02 18:26:32 +01:00
Vovanium 15652d8d34 Make option not uppercasing component names. I'm so bored with my Eeschema is convert ADuC, Si, component names to ADUC, SI etc., so I contribute this patch so anyone now may keep components 2010-10-22 19:02:11 +04:00
Dick Hollenbeck b1ffd179d1 move cmake_uninstall.cmake to CMakeModules directory 2010-10-12 13:42:29 -05:00
Fabio Varesano 73fd4fb2ba add CMake rules to create an 'uninstall' make rule.
It follows the CMake wiki 
      
      http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
      
      and it should work if one
      compiles from the build directory (building all kicad).
      
      You can use it running the following commands from the kicad source
      tree root:
      mkdir build
      cd build
      cmake ../
      make
      (using root) make install
      (using root) make uninstall
2010-10-12 05:20:28 -05:00
Marco Serantoni ea812ef5c9 Zones drawing optimization with WXGrapchisContext + Fix bug #612132 2010-10-09 10:08:29 +02: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
Dick Hollenbeck 4eb80203bb ++eeschema:
* Now link with XML support within wxWidgets.
  * Start of export the generic netlist in XML.  Still need to rework the chain
    loaded netlist plugin.
  * OBJ_CMP_TO_LIST class now uses a std::string to hold the 8 bit string m_Ref,
    but hides this behind accessors which provide for both Unicode and 8 bit
    set and get functions.
  * build_BOM.cpp retains the selected filename on subsequent runs as a default.
  * Code cleaning, especially in build_BOM.cpp.
2010-07-30 16:41:55 -05:00
Dick Hollenbeck 3aabdd265a fix cmake warning 2010-07-28 07:11:55 -05:00
jean-pierre charras 68d652cd63 update changelog and CMakeLists.txt 2010-07-27 11:15:44 +02:00
Dick Hollenbeck 6eb66721c9 add doxygen-docs target to build system 2010-06-12 23:10:16 -05: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 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
jean-pierre charras b5a19ab953 Synchronize testing and stable version 2010-05-10 20:37:54 +02:00
jean-pierre charras 95fadd7ab8 Set Cmake version requirement to 2.8.0 (2.6.0 does not work with Eeschema Cmakefile) 2010-05-10 20:31:11 +02:00
Wayne Stambaugh 1c70230e0b Update version header generator CMake script to use Bazaar. 2010-04-21 08:25:16 -04:00
Dick Hollenbeck 916f231903 moved internat to 'docs' branch 2010-04-16 09:10:47 -05:00
dickelbeck 52dbb13c2f from Florian Delizy
This patch applies on the very last svn  (r2402) and removes all
disfunctionnal python code (including deletion of unused strings)
2010-02-28 13:44:29 +00:00
dickelbeck d176e98d94 patch from wafeliron@yahoo.com via pastbin.com 2010-02-12 23:12:00 +00:00
stambaughw 3066c70559 Implement wxDC coordinate handling and wxGCDC.
* Implement code to allow wxDC to handle coordinate conversions between
  device and drawing units.
* Add build settings to enable wxGCDC for wxGraphicsContext testing.
* Remove wxAUI conditional build cruft as it is now required to build
  Kicad.
* Fix scroll increment size regression to prevent jumping around the
  zoom center position.
* Add find GDI+ cmake module for building on WXMSW when wxGraphicsContext
  is enabled.
2010-02-08 18:15:42 +00:00
faa 3e838053aa new font does not demand -DKICAD_CYRILLIC 2010-02-02 07:18:40 +00:00
charras 323a62fee5 Fixed a problem with aui lib (now mandatory) in CMakeList.txt (could be not included at link time) 2010-01-26 11:05:30 +00:00
dickelbeck 98fab0b59e visibles work, update TODO.txt 2010-01-25 06:45:34 +00:00
charras 84d82cf2f5 pcbnew: Update Layer manager display when changing active layer (from hotkey or menus)
fixed minor problems and fixed Layer Alignment Target bug.
2010-01-23 10:50:05 +00:00
jerryjacobs cae96bceb1 Fixed aui component for other platform other than OSX, with wxwidgets 2.9 we dont need to define aui 2010-01-16 22:39:58 +00:00
jerryjacobs 30f6c51407 Application title spelling corrected on OSX 2010-01-16 22:32:26 +00:00
charras 6efce74c96 Eeschema: fixed bug when edit a component reference using the component dialog editor
Code cleaning and using DrawPanel->Refresh() instead of ReDraw() when possible.
2010-01-13 13:43:36 +00:00
charras fca4a7dd42 Uses a buffered DC in OnPaint event. Seems solve slow grid redraw on some PC. 2010-01-12 13:44:22 +00:00
charras 54b561236f Uses a buffered DC in OnPaint event. Seems solve slow grid redraw on some PC. 2010-01-12 13:15:13 +00:00
charras 6eda97fbdd fixed missing options -DKICAD_AUIMANAGER and -DKICAD_AUITOOLBAR in makefiles when using aui 2010-01-10 19:20:26 +00:00
dickelbeck 56995b3359 AUI support into topmost CMakeLists.txt 2009-11-05 08:52:41 +00:00
jerryjacobs 17dd0e2766 Big cleanup of sourcetree root structure, added Documentation subfolder, moved packaging stuff for osx and windows (nsis) to packaging. 2009-10-15 18:44:06 +00:00
charras bd9dd26163 change CMakeLists.txt to use boost headers in include/boost 2009-10-01 18:28:56 +00:00
charras 2b46b7d9a3 remove erroneous change in CMakeLisr.txt 2009-09-28 19:34:36 +00:00
charras fb3a12adc6 fixed typo and minor problems. updated German translation 2009-09-28 19:28:22 +00:00
stambaughw 3803b79ac5 Component library editor improvements, build fix, and bug fixes.
* Add offset and block hit testing to library component objects.
* Improved search for library entries.
* Fixed library component editor component removal and addition.
* Library editor now uses wxUpdateUIEvents for updating all UI objects.
* Added version check to cmake find boost macro.
* Removed unused code in file libalias.cpp.
* Added method to WinEDA_DrawPanel to take mouse out of managed mode.
2009-09-14 13:24:17 +00:00
f3nix 7fc9e5f177 Clean some CMakeLists.txt files. 2009-06-21 13:37:27 +00:00
faa 98267c43db correct path for mime in linux, add scripts in CMakeLists.txt 2009-06-02 19:18:09 +00:00
jerryjacobs 607054a04c Added support for mime installation in CMakeLists.txt 2009-06-02 13:51:57 +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 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
faa bfb53744ff not build in linux 2008-12-20 08:14:33 +00:00
stambaughw bcbcdebf39 Fix wxWidgets library find order and SVN create version header bugs. 2008-12-02 15:39:20 +00:00
faa 8bed5053da cyrillic font support, russian GOST support 2008-11-05 11:41:15 +00:00
f3nix 422ffdabc1 CMake:
* Require CMake version 2.6.1 on Windows and version 2.6.0 for other systems.
* Update FindSubversion to version from CMake 2.6.1 (localization issue solved).
* Remove FindwxWidgetsCVS and use the default one (some issues solved upstream).
* Formatting style changes.
2008-09-07 19:32:07 +00:00
raburton 46f931b6ae allow build version to be set, while preserving program version
useful for creating a config.h via an extraction script that creates a source tar bundle
2008-08-29 14:06:19 +00:00
jerryjacobs 71e09566b1 Begin PNG icon set 2008-08-24 12:24:41 +00:00
jerryjacobs 867d30d159 Linux/Unix desktop files updated and moved to resources directory, about dialog updated 2008-08-17 10:10:20 +00:00
jerryjacobs 8fd4401e12 all-programs: about dialog improved 2008-08-15 16:38:05 +00:00
jerryjacobs 18b8932b50 Code comment clean, cmake file cleanup 2008-08-11 11:45:29 +00:00
charras 18f22a2b75 cleanup up and update files before stable release 2008-07-15 10:11:44 +00:00
f3nix c77e62eb90 Fix Windows build with CMake 2.4. 2008-06-21 08:55:39 +00:00
kintel c2d7a555c6 Mac OS X build system fixes 2008-06-15 16:31:32 +00:00
f3nix 6bb111cb8e CMake files cleaning. 2008-06-06 12:39:00 +00:00
charras 44743723d1 removed GPC library due to its unacceptable license. Using the great and powerfull kbool library insteed 2008-05-30 18:06:21 +00:00
dickelbeck 845e95c3e4 make and use static bitmaps library 2008-05-17 19:24:22 +00:00
f3nix 75bba55a38 CMake:
* Move svn version header creation to a macro (Unix-only for now).
* Use CVS version of FindSubversion macro.
2008-05-05 18:23:24 +00:00
stambaughw 994e4e5d7e Use Subversion to automatically generate date and version information when building with CMake. 2008-05-05 13:26:46 +00:00
f3nix 63de4115dc CMake:
* Add mingw_resource_compiler macro (Win32).
* Fix windres wxWidgets include paths (Win32).
2008-04-13 19:07:32 +00:00
f3nix 2c7eaa608b CMake: add check_find_package_result macro. 2008-04-13 14:00:01 +00:00
f3nix 3e06ab44db CMake cleanup. 2008-03-31 01:32:15 +00:00
charras 9e35d3ef1b refined the dialog_freeroute_exchange. See changelog 2008-03-20 21:32:25 +00:00
f3nix f1925912ce CMakeLists.txt formatting. 2008-03-19 18:05:19 +00:00
plyatov 6d17236b0d Added icon and "kicad.desktop" for Gnome/KDE menu. 2008-03-18 21:16:49 +00:00
f3nix bfc705ed20 Move list of useful CMake variables from CMakeLists.txt to how-to-build-kicad.txt 2008-03-12 09:18:51 +00:00
f3nix 07a0e142ed Lowercase CMake commands. 2008-03-11 15:57:54 +00:00
plyatov 7356d48388 Eliminated installation of *.po files. 2008-03-11 07:17:50 +00:00
plyatov d4b34ab362 install.txt was corrected.
demos installation added in CMakeLists.
Temporary problem with help appeared.
2008-03-05 07:16:43 +00:00
f3nix bbb131b2ea Small CMake fixes. 2008-03-05 00:49:34 +00:00
plyatov b2daea17bc KiCad librarys separated from KiCad source code to the trunk/kicad-library. 2008-03-04 20:54:18 +00:00
plyatov 0fb8f818ad docs->doc and help->doc/help relocation. DO NOT UPDATE YOU WORKING COPY UNTIL MY NOTEsvn st! Huge files will be relocated. 2008-03-04 17:14:58 +00:00
f3nix e92706bc3c Small CMake fixes. 2008-02-27 20:47:03 +00:00
stambaughw 803ebdf3c4 Fix escape key handling in annotate dialog and some eeschema code refactoring. 2008-02-27 19:38:16 +00:00
f3nix a9ff3f965c Small CMake cleanup. 2008-02-19 04:30:17 +00:00
lifekidyeaa c5cd85027b 2008-Feb-12 UPDATE Tim Hanson sideskate@gmail.com
================================================================================
+eeschema
        * commiting my changes to allow multiple instances of a given schematic file within 
a hierarchy:
        ** internally, m_currentScreen has been replaced with m_currentSheet,
                which is a list or 'path' of screens.  The path of screens is used to 
generate
                a series of timestamps, which is converted to flat component reference via 
a look-up
                table in the schematic files.
        ** this means that m_currentScreen is no longer used -- use GetScreen().
        ** GetScreen is virtual, as some of the dialogs keep around a WinEDA_BaseScreen 
pointer.
        ** all sub-sheets in a given schematic must have different names to generate a 
meaningful netlist.
2008-02-12 21:12:46 +00:00
f3nix 47e7d24f45 Fix win32 "filename.ico not found" error. 2008-02-06 20:36:44 +00:00
f3nix af1c15646f CMake:
* Change tabs to spaces.
* Make Boost required.
2008-01-30 09:42:19 +00:00
dickelbeck 6ab5ad27f5 Wayne Stambaugh's patch which allows infospgm.cpp to be compiled once rather than for each program 2008-01-28 05:49:15 +00:00
f3nix ba3b2934ef CMake. Add comment about static/shared. 2008-01-06 21:56:45 +00:00
f3nix 338e0db75a Debug build should be easier now. See how-to-build-kicad.txt. Tested on linux only. 2008-01-06 12:03:13 +00:00
raburton 8777ab79e0 The install prefix couldn't be overridden on the command line, the SET overrode any value you specified. Adding the cache keyword to SET seems to have fixed it though. Is this a cmake bug? 2008-01-06 10:05:15 +00:00
raburton 32b4d32bef Make building minizip optional, if your linux distro supplies a minizip binary (e.g. in the zlib-bin package on debian) you might as well use it instead of building this one.
Note that this isn't implemented in the minizip CMakeLists.txt, but at the higher level (kicad) that includes the minizip subdirectory, so that the whole minizip directory can be dropped from the shipped source tree if it isn't needed on your distro. This makes the source package a fraction smaller and removes possible complications of having a different license on the minizip code to the rest of kicad.
2008-01-05 19:16:30 +00:00
f3nix 95565cda3e Some small CMake fixes. 2008-01-05 13:47:52 +00:00
f3nix cbea44a663 * Fix CMake build.
* Add polygon library.
2007-12-30 03:30:34 +00:00
f3nix cda4ed9659 Some tweaks for Windows CMake. 2007-12-26 03:48:17 +00:00
f3nix 61ebbd58f8 Small CMake cleanup. 2007-12-25 20:48:58 +00:00
dickelbeck a7d68dd5fb added boost checking 2007-12-23 06:30:05 +00:00
dickelbeck 315850fa6d Added and tested Windows support 2007-12-20 00:55:04 +00:00
dickelbeck 57a2791bc8 removed __WXDEBUG__ for debug compiles. Instead, edit the CMakeCache.txt file and append --debug to the wx-config command line 2007-12-11 21:40:10 +00:00
dickelbeck 63b2a1fed5 added __WXDEBUG__ for debug compiles 2007-12-11 21:02:05 +00:00
f3nix 4fd9325f6d Some small CMake fixes. 2007-12-02 13:56:03 +00:00
plyatov 2a1843c3a9 Increased required version of CMake to 2.4.6, because I have a troubles with CMake 2.4.3 and don't have it with CMake 2.4.6. 2007-11-16 16:25:27 +00:00
f3nix 89a872b86e Add CMakeLists.txt for the help files. 2007-11-09 22:15:22 +00:00
f3nix efe7edf2f1 CMake:
- Fix minizip build.
- Fix eeschema/plugins build.
- Update TODO.
2007-11-09 21:45:26 +00:00
plyatov b55b0abbb8 Comments corrected in the root CMakeLists.txt. 2007-11-08 21:03:58 +00:00
plyatov f6b8194dec Comments added in to the root CMakeLists.txt. 2007-11-08 20:38:30 +00:00
f3nix 7a65708459 CMake build: preliminary support for install targets under linux. 2007-11-08 12:46:02 +00:00
f3nix 8c6f6facff CMake build: replace deprecated commands. 2007-11-08 10:13:59 +00:00
f3nix 9307b49eec CMake build system for all apps. Usage in install.txt 2007-11-08 07:17:37 +00:00
plyatov 6e9097b402 CMake enhancements. 2007-11-07 21:35:18 +00:00
plyatov 77cb86a1ea Draft files for CMake build system support 2007-11-07 16:18:24 +00:00