Commit 69756df3 authored by charras's avatar charras
Browse files

Some update for Kicad Release Candidate 1

parent aa541fcb
Loading
Loading
Loading
Loading

AUTHORS.txt

0 → 100644
+48 −0
Original line number Original line Diff line number Diff line
* Copyright (C) 1992-2008 Jean-Pierre Charras, jean-pierre.charras@inpg.fr
* Copyright (C) 1992-2008 Kicad Developers
* under GNU General Public License (see copyright.txt)

Main author:
Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
Maitre de Conferences
IUT1 GEII2
Universite Joseph Fourier (U.J.F.)
Saint Martin d'Hres (38402)
Laboratiore GIPSA-Lab
Saint Martin d'Hres

Contributors
Dick Hollenbeck <dick@softplc.com>
Jerry Jacobs <jerkejacobs@gmail.com>
Jonas Diemer <diemer@gmx.de>
KBool Library http://boolean.klaasholwerda.nl/bool.html
Rok Markovic <rok@kanardia.eu>
Tim Hanson <sideskate@gmail.com>
Vesa Solonen <vesa.solonen@hut.fi>
Wayne Stambaugh <stambaughw@verizon.net>

See also CHANGELOG.txt for contributors.


Document writers
Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
Igor Plyatov <plyatov@gmail.com>

Translators
Czech (CZ) Martin Kratoška <martin@ok1rr.com>
Dutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>
French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
Polish (PL) Mateusz Skowroński <skowri@gmail.com>
Portuguese (PT) Renie Marquet <reniemarquet@uol.com.br>"
Russian (RU) Igor Plyatov <plyatov@gmail.com>
Spanish (ES) Pedro Martin del Valle <pkicad@yahoo.es>
Spanish (ES) Iñigo Zuluaga <inigo_zuluaga@yahoo.es>

Remy Halvick
David Briscoe
Dominique Laigle
Paul Burke

Programm credits for icons and others
Icons by Iñigo Zuluaga
3D modules by Renie Marquet <reniemarquet@uol.com.br>
+65 −44
Original line number Original line Diff line number Diff line
@@ -15,6 +15,21 @@
#define FILLED 1
#define FILLED 1
#endif
#endif


/* Important Note:
  * These drawing functions  clip draw item before send these items to wxDC draw functions.
  * For guy who aks why i did it, see a sample of problems encounted when pixels
  * coordinates overflow 16 bits values:
  * http://trac.wxwidgets.org/ticket/10446
  * Problems can be found under Windows **and** Linux (mainly when drawing arcs)
  * (mainly at low zoom values (2, 1 or 0.5), in pcbnew)
  * some of these problems could be now fixed in recent distributions.
 *
  * Currently (feb 2009) there are overflow problems when drawing solid (filled) polygons under linux without clipping
 *
  * So before removing cliping functions, be aware these bug (they are not in kicad or wxWidgets)
  * are fixed by testing how are drawn complex lines arcs and solid polygons under Windows and Linux
  * and remember users can have old versions with bugs
 */


/* global variables */
/* global variables */
extern BASE_SCREEN* ActiveScreen;
extern BASE_SCREEN* ActiveScreen;
@@ -58,8 +73,8 @@ static inline int USCALE( us arg, us num, us den )
#endif
#endif
}
}


static int inline ZoomValue( int val )

{
static int inline ZoomValue( int val ) {
    return ActiveScreen->Scale( val );
    return ActiveScreen->Scale( val );
}
}


@@ -313,6 +328,7 @@ void GRSetBrush( wxDC* DC, int Color, int fill )
/*************************************/
/*************************************/
void GRForceBlackPen( bool flagforce )
void GRForceBlackPen( bool flagforce )
/*************************************/
/*************************************/

/** function GRForceBlackPen
/** function GRForceBlackPen
 * @param flagforce True to force a black pen whenever the asked color
 * @param flagforce True to force a black pen whenever the asked color
 */
 */
@@ -320,9 +336,11 @@ void GRForceBlackPen( bool flagforce )
    ForceBlackPen = flagforce;
    ForceBlackPen = flagforce;
}
}



/***********************************/
/***********************************/
bool GetGRForceBlackPenState( void )
bool GetGRForceBlackPenState( void )
/***********************************/
/***********************************/

/** function GetGRForceBlackPenState
/** function GetGRForceBlackPenState
 * @return ForceBlackPen (True if  a black pen was forced)
 * @return ForceBlackPen (True if  a black pen was forced)
 */
 */
@@ -338,8 +356,10 @@ void GRSetDrawMode( wxDC* DC, int draw_mode )
{
{
    if( draw_mode & GR_OR )
    if( draw_mode & GR_OR )
#if defined (__WXMAC__) && wxMAC_USE_CORE_GRAPHICS
#if defined (__WXMAC__) && wxMAC_USE_CORE_GRAPHICS

        DC->SetLogicalFunction( wxCOPY );
        DC->SetLogicalFunction( wxCOPY );
#else
#else

        DC->SetLogicalFunction( wxOR );
        DC->SetLogicalFunction( wxOR );
#endif
#endif
    else if( draw_mode & GR_XOR )
    else if( draw_mode & GR_XOR )
@@ -905,12 +925,13 @@ static void GRSClosedPoly( EDA_Rect* ClipBox, wxDC* DC, int aPointCount, wxPoint
    }
    }
}
}



/* not used
/* not used
static void GRSClosedPoly( EDA_Rect* ClipBox, wxDC* DC, int n, wxPoint Points[],
  * static void GRSClosedPoly( EDA_Rect* ClipBox, wxDC* DC, int n, wxPoint Points[],
                    bool Fill, int Color, int BgColor )
  *                 bool Fill, int Color, int BgColor )
{
  * {
    GRSClosedPoly( ClipBox, DC, n, Points, Fill, 0, Color, BgColor );
  * GRSClosedPoly( ClipBox, DC, n, Points, Fill, 0, Color, BgColor );
}
  * }
 */
 */




+2 −2
Original line number Original line Diff line number Diff line
@@ -9,7 +9,7 @@ COMMON_GLOBL wxString g_BuildVersion
#    include "config.h"
#    include "config.h"
     (wxT(KICAD_SVN_VERSION))
     (wxT(KICAD_SVN_VERSION))
#  else
#  else
     (wxT("(20090214-RC1)")) /* main program version */
     (wxT("(20090216-RC1)")) /* main program version */
#  endif
#  endif
#endif
#endif
;
;
@@ -20,7 +20,7 @@ COMMON_GLOBL wxString g_BuildAboutVersion
#    include "config.h"
#    include "config.h"
     (wxT(KICAD_ABOUT_VERSION))
     (wxT(KICAD_ABOUT_VERSION))
#  else
#  else
     (wxT("(20090214-RC1)")) /* svn date & rev (normally overridden) */
     (wxT("(20090216-RC1)")) /* svn date & rev (normally overridden) */
#  endif
#  endif
#endif
#endif
;
;
+2 −2
Original line number Original line Diff line number Diff line
@@ -17,12 +17,12 @@


; General Product Description Definitions
; General Product Description Definitions
!define PRODUCT_NAME "KiCad"
!define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2008.08.25"
!define PRODUCT_VERSION "2009.02.16"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME ""
!define COMPANY_NAME ""
!define TRADE_MARKS ""
!define TRADE_MARKS ""
!define COPYRIGHT "Jean-Pierre Charras"
!define COPYRIGHT "Kicad Team (Jean-Pierre Charras and others)"
!define COMMENTS ""
!define COMMENTS ""
!define HELP_WEB_SITE "http://groups.yahoo.com/group/kicad-users/"
!define HELP_WEB_SITE "http://groups.yahoo.com/group/kicad-users/"
!define DEVEL_WEB_SITE "http://groups.yahoo.com/group/kicad-devel/"
!define DEVEL_WEB_SITE "http://groups.yahoo.com/group/kicad-devel/"
+2 −2
Original line number Original line Diff line number Diff line
release version:
release version:
25 aug 2008
16 feb 2009
files (.zip,.tgz):
files (.zip,.tgz):
kicad-2008-08-25
kicad-2009-02-16-RC1