Commit 89b3eb5a authored by charras's avatar charras
Browse files

bug fixes and merging my development with svn rep.

parent 13f2e75b
Loading
Loading
Loading
Loading
+17 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,23 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with 
Please add newer entries at the top, list the date and your name with 
email address.
email address.


2007-June-13 RELEASE  Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+All:
	merging my development with svn version

+ pcbnew:
	bug fix (problem in postscript generation due to the internationalization
		of floating point number notation )
	added tool to select layer pair and monitor active layer
	
+ eeschema
	bug fix:
		crash libedit when loading certain components (linux only)
		incomplete generation of erc file list
	


2007-June-13 UPDATE   Richard A Burton <richardaburton@gmail.com>
2007-June-13 UPDATE   Richard A Burton <richardaburton@gmail.com>
================================================================================
================================================================================
+ build:
+ build:
+8 −2
Original line number Original line Diff line number Diff line
@@ -117,14 +117,20 @@ bool success = FALSE;
	fullfilename.Replace(WIN_STRING_DIR_SEP, UNIX_STRING_DIR_SEP);
	fullfilename.Replace(WIN_STRING_DIR_SEP, UNIX_STRING_DIR_SEP);
#endif
#endif


	wxString mask(wxT("*")), extension;
#ifdef __WINDOWS__
	mask += wxT(".*");
	extension = wxT(".*");
#endif

	if ( wxIsWild(fullfilename) )
	if ( wxIsWild(fullfilename) )
	{
	{
		fullfilename =
		fullfilename =
			EDA_FileSelector(_("Doc Files"),	/* Titre de la fenetre */
			EDA_FileSelector(_("Doc Files"),	/* Titre de la fenetre */
					wxPathOnly(fullfilename),		/* Chemin par defaut */
					wxPathOnly(fullfilename),		/* Chemin par defaut */
					fullfilename,				/* nom fichier par defaut */
					fullfilename,				/* nom fichier par defaut */
					wxEmptyString,				/* extension par defaut */
					extension,				/* extension par defaut */
					wxEmptyString,				/* Masque d'affichage */
					mask,						/* Masque d'affichage */
					frame,					/* parent frame */
					frame,					/* parent frame */
					wxFD_OPEN,					/* wxSAVE, wxFD_OPEN ..*/
					wxFD_OPEN,					/* wxSAVE, wxFD_OPEN ..*/
					TRUE,	/* true = ne change pas le repertoire courant */
					TRUE,	/* true = ne change pas le repertoire courant */
+0 −9
Original line number Original line Diff line number Diff line
@@ -77,9 +77,6 @@ WinEDA_App::WinEDA_App(void)
	m_Locale = NULL;
	m_Locale = NULL;


	m_PdfBrowserIsDefault = TRUE;
	m_PdfBrowserIsDefault = TRUE;

	/* Init de variables globales d'interet general: */
	g_FloatSeparator = '.';		// Nombres flottants = 0.1 par exemple
}
}


	/*****************************/
	/*****************************/
@@ -161,9 +158,6 @@ bool succes = SetLanguage(TRUE);
		{
		{
		}
		}


	if ( atof("0,1") ) g_FloatSeparator = ','; // Nombres flottants = 0,1
	else  g_FloatSeparator = '.';

#ifdef KICAD_PYTHON
#ifdef KICAD_PYTHON
	PyHandler::GetInstance()->SetAppName( name );
	PyHandler::GetInstance()->SetAppName( name );
#endif
#endif
@@ -380,9 +374,6 @@ wxString dic_path;
	SetLanguageList(NULL);
	SetLanguageList(NULL);




	if ( atof("0,1") ) g_FloatSeparator = ','; // Nombres flottants = 0,1
	else  g_FloatSeparator = '.';

	return m_Locale->IsOk();
	return m_Locale->IsOk();
}
}


+1 −0
Original line number Original line Diff line number Diff line
@@ -39,6 +39,7 @@ static wxString s_HelpPathList[] = {
	wxT("d:/kicad/help/"),
	wxT("d:/kicad/help/"),
#else
#else
	wxT("/usr/local/kicad/help/"),
	wxT("/usr/local/kicad/help/"),
	wxT("/usr/share/doc/kicad/help"),
	wxT("/usr/share/doc/kicad/"),
	wxT("/usr/share/doc/kicad/"),
#endif
#endif
	wxT("end_list")	// End of list symbol, do not change
	wxT("end_list")	// End of list symbol, do not change
+4 −2
Original line number Original line Diff line number Diff line
@@ -289,7 +289,7 @@ void ChangeSpaces(char * Text, int NewChar)
char * to_point(char * Text)
char * to_point(char * Text)
/**************************/
/**************************/
/* convertit les , en . dans une chaine. utilis pour compenser
/* convertit les , en . dans une chaine. utilis pour compenser
l'internalisation imbecile de la fct printf
l'internalisationde la fct printf
qui genere les flottants avec une virgule au lieu du point
qui genere les flottants avec une virgule au lieu du point
*/
*/
{
{
@@ -297,7 +297,9 @@ char * line = Text;


	if ( Text == NULL ) return NULL;
	if ( Text == NULL ) return NULL;
	for ( ; *Text != 0; Text++ )
	for ( ; *Text != 0; Text++ )
		if (*Text == g_FloatSeparator) *Text = '.';
	{
		if (*Text == ',') *Text = '.';
	}


	return line;
	return line;
}
}
Loading