You can subscribe to this list here.
| 2005 |
Jan
(98) |
Feb
(101) |
Mar
(60) |
Apr
(38) |
May
(26) |
Jun
|
Jul
|
Aug
(159) |
Sep
(78) |
Oct
(31) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(6) |
Oct
|
Nov
(1) |
Dec
(3) |
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(5) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
(8) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Emilien K. <cur...@us...> - 2005-08-11 14:44:36
|
Update of /cvsroot/wxdevcenter/StdPlugin/plugins/StdPlugin.Text In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11253/plugins/StdPlugin.Text Log Message: Directory /cvsroot/wxdevcenter/StdPlugin/plugins/StdPlugin.Text added to the repository |
|
From: Emilien K. <cur...@us...> - 2005-08-11 14:44:36
|
Update of /cvsroot/wxdevcenter/StdPlugin/plugins/StdPlugin.Bitmap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11253/plugins/StdPlugin.Bitmap Log Message: Directory /cvsroot/wxdevcenter/StdPlugin/plugins/StdPlugin.Bitmap added to the repository |
|
From: Emilien K. <cur...@us...> - 2005-08-11 14:43:57
|
Update of /cvsroot/wxdevcenter/StdPlugin/features/StdPlugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11072/features/StdPlugin Added Files: feature.xml Log Message: Add the feature descriptor. --- NEW FILE: feature.xml --- <?xml version="1.0" encoding="UTF-8"?> <feature id="StdPlugin" version="0.3.0" label="StdPlugin" provider-name="Arcallians"> <description>Standard plugin.</description> <copyright>Notes</copyright> <license>Licence</license> <requires> <plugin name="StdPlugin.Bitmap" /> <plugin name="StdPlugin.Text" /> </requires> </feature> |
|
From: Emilien K. <cur...@us...> - 2005-08-11 14:43:50
|
Update of /cvsroot/wxdevcenter/StdPlugin/features/StdPlugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11041/features/StdPlugin Log Message: Directory /cvsroot/wxdevcenter/StdPlugin/features/StdPlugin added to the repository |
|
From: Emilien K. <cur...@us...> - 2005-08-11 14:43:50
|
Update of /cvsroot/wxdevcenter/StdPlugin/features In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11041/features Log Message: Directory /cvsroot/wxdevcenter/StdPlugin/features added to the repository |
|
From: Emilien K. <cur...@us...> - 2005-08-11 11:03:14
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28941/src Modified Files: Application.cpp Plugin.cpp Log Message: Use new command line options to parse others directories for images caching and features/plugins preloading. Index: Application.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/Application.cpp,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** Application.cpp 11 Aug 2005 09:58:17 -0000 1.26 --- Application.cpp 11 Aug 2005 11:02:47 -0000 1.27 *************** *** 425,437 **** bool Application::DoCahceIcon(wxString strIcon) { wxIconBundle IB; wxString strPathRoot; - strPathRoot << GetConfig().GetDataPath() << wxT("/icons/") << strIcon; - strPathRoot.Replace(wxT("\\"), wxT("/")); - wxArrayString arFiles; ! wxDir::GetAllFiles(strPathRoot.BeforeLast(wxT('/')), &arFiles, strPathRoot.AfterLast(wxT('/')) + wxT("*.gif"), wxDIR_FILES); ! wxDir::GetAllFiles(strPathRoot.BeforeLast(wxT('/')), &arFiles, strPathRoot.AfterLast(wxT('/')) + wxT("*.png"), wxDIR_FILES); ! wxDir::GetAllFiles(strPathRoot.BeforeLast(wxT('/')), &arFiles, strPathRoot.AfterLast(wxT('/')) + wxT(".ico"), wxDIR_FILES); wxBitmap EmptyBitmap(16, 16, 24); --- 425,446 ---- bool Application::DoCahceIcon(wxString strIcon) { + long l; wxIconBundle IB; wxString strPathRoot; wxArrayString arFiles; ! ! l=0; ! while(strPathRoot = GetConfig().GetDataPath(l++),!strPathRoot.IsEmpty()) ! { ! strPathRoot << wxT("/icons/") << strIcon; ! strPathRoot.Replace(wxT("\\"), wxT("/")); ! ! if(wxDir::Exists(strPathRoot)) ! { ! wxDir::GetAllFiles(strPathRoot.BeforeLast(wxT('/')), &arFiles, strPathRoot.AfterLast(wxT('/')) + wxT("*.gif"), wxDIR_FILES); ! wxDir::GetAllFiles(strPathRoot.BeforeLast(wxT('/')), &arFiles, strPathRoot.AfterLast(wxT('/')) + wxT("*.png"), wxDIR_FILES); ! wxDir::GetAllFiles(strPathRoot.BeforeLast(wxT('/')), &arFiles, strPathRoot.AfterLast(wxT('/')) + wxT(".ico"), wxDIR_FILES); ! } ! } wxBitmap EmptyBitmap(16, 16, 24); Index: Plugin.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/Plugin.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Plugin.cpp 5 Aug 2005 18:59:11 -0000 1.5 --- Plugin.cpp 11 Aug 2005 11:02:47 -0000 1.6 *************** *** 440,470 **** void PluginLoader::PreLoadDescription() { ! wxString str; bool bCont; ! wxDir dir; wxLogDebug("Preload feature descriptions :"); ! if(dir.Open(Application::GetApp().GetConfig().GetFeaturesPath())) ! { ! bCont = dir.GetFirst(&str, wxEmptyString, wxDIR_DIRS); ! while(bCont) ! { ! wxLogDebug(wxT(" -> %s"), str.GetData()); ! PreLoadFeature(str); ! bCont = dir.GetNext(&str); ! } ! } ! wxLogDebug("Preload plugin descriptions :"); ! if(dir.Open(Application::GetApp().GetConfig().GetPluginsPath())) ! { ! bCont = dir.GetFirst(&str, wxEmptyString, wxDIR_DIRS); ! while(bCont) ! { ! wxLogDebug(wxT(" -> %s"), str.GetData()); ! PreLoadPlugin(str); ! bCont = dir.GetNext(&str); ! } ! } } --- 440,480 ---- void PluginLoader::PreLoadDescription() { ! wxString str, strPath; ! long l; bool bCont; ! wxDir dir; wxLogDebug("Preload feature descriptions :"); ! l = 0; ! while(strPath=Application::GetApp().GetConfig().GetFeaturesPath(l++), !strPath.IsEmpty()) ! { ! if(wxDir::Exists(strPath) && dir.Open(strPath)) ! { ! bCont = dir.GetFirst(&str, wxEmptyString, wxDIR_DIRS); ! while(bCont) ! { ! wxLogDebug(wxT(" -> %s"), str.GetData()); ! PreLoadFeature(str); ! bCont = dir.GetNext(&str); ! } ! } ! } ! ! wxLogDebug("Preload plugin descriptions :"); ! l = 0; ! while(strPath=Application::GetApp().GetConfig().GetPluginsPath(l++), !strPath.IsEmpty()) ! { ! if(wxDir::Exists(strPath) && dir.Open(strPath)) ! { ! bCont = dir.GetFirst(&str, wxEmptyString, wxDIR_DIRS); ! while(bCont) ! { ! wxLogDebug(wxT(" -> %s"), str.GetData()); ! PreLoadPlugin(str); ! bCont = dir.GetNext(&str); ! } ! } ! } } |
|
From: Emilien K. <cur...@us...> - 2005-08-11 09:58:31
|
Update of /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/msw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18216/include/wxDevCenter/msw Modified Files: Config.h Log Message: Add command line parser to allow to add paths to include data/features/plugins/config. Index: Config.h =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/msw/Config.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Config.h 8 Aug 2005 19:13:58 -0000 1.7 --- Config.h 11 Aug 2005 09:58:17 -0000 1.8 *************** *** 37,53 **** { protected: - /** Chemin d'installation.*/ - wxString m_strInstallPath; - /** Chemin d'installation des données.*/ - wxArrayString m_strDataPath; - /** Chemin d'installation des fonctionnalités.*/ - wxArrayString m_strFeaturesPath; - /** Chemin d'installation des plugins.*/ - wxArrayString m_strPluginsPath; - /** Chemin d'installation des fichiers de configurations.*/ - wxArrayString m_strConfPath; - /** Chemin d'installation des fichiers de configurations utilisateur.*/ - wxArrayString m_strUserConfPath; - wxConfig *m_pConfig; --- 37,40 ---- *************** *** 93,126 **** /** @name Configuration système. * @{*/ - /** Retourne le chemin d'instalation de l'application. - * @return Chemin physique de l'instalation. - */ - virtual wxString GetInstallPath(); - /** Retourne le chemin racine des données (images, icones, etc). - * @return Chemin racine de stockage des données. - */ - virtual wxString GetDataPath(long lStackIndex=0); - /** Retourne le chemin racine des fonctionnalités. - * @param lStackIndex Indice dans la liste des chemins. - * @return Chemin racine des fonctionnalités. - */ - virtual wxString GetFeaturesPath(long lStackIndex=0); - /** Retourne le chemin racine des pluggins. - * @param lStackIndex Indice dans la liste des chemins. - * @return Chemin racine des plugins. - */ - virtual wxString GetPluginsPath(long lStackIndex=0); - /** Retourne le chemin racine de la configuration globale. - * @param lStackIndex Indice dans la liste des chemins. - * @return Chemin racine de configuration globale. - */ - virtual wxString GetGlobalConfPath(long lStackIndex=0); - /** Retourne le chemin racine de la configuration utilisateur. - * @param lStackIndex Indice dans la liste des chemins. - * @return Chemin racine de configuration utilisateur. - */ - virtual wxString GetUserConfPath(long lStackIndex=0); - /** Crée un profile utilisateur si aucun n'existe. - */ virtual void CreateUserProfile(); /** @} */ --- 80,83 ---- |
|
From: Emilien K. <cur...@us...> - 2005-08-11 09:58:31
|
Update of /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/unix In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18216/include/wxDevCenter/unix Modified Files: Config.h Log Message: Add command line parser to allow to add paths to include data/features/plugins/config. Index: Config.h =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/unix/Config.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Config.h 8 Aug 2005 19:13:59 -0000 1.7 --- Config.h 11 Aug 2005 09:58:17 -0000 1.8 *************** *** 37,53 **** { protected: - /** Chemin d'installation.*/ - wxString m_strInstallPath; - /** Chemin d'installation des données.*/ - wxArrayString m_strDataPath; - /** Chemin d'installation des fonctionnalités.*/ - wxArrayString m_strFeaturesPath; - /** Chemin d'installation des plugins.*/ - wxArrayString m_strPluginsPath; - /** Chemin d'installation des fichiers de configurations.*/ - wxArrayString m_strConfPath; - /** Chemin d'installation des fichiers de configurations utilisateur.*/ - wxArrayString m_strUserConfPath; - wxConfig *m_pConfig; --- 37,40 ---- *************** *** 92,124 **** /** @name Configuration système. * @{*/ - /** Retourne le chemin d'instalation de l'application. - * @return Chemin physique de l'instalation. - */ - virtual wxString GetInstallPath(); - /** Retourne le chemin racine des données (images, icones, etc). - * @param lStackIndex Indice dans la liste des chemins. - * @return Chemin racine de stockage des données. - */ - virtual wxString GetDataPath(long lStackIndex=0); - /** Retourne le chemin racine des fonctionnalités. - * @param lStackIndex Indice dans la liste des chemins. - * @return Chemin racine des fonctionnalités. - */ - virtual wxString GetFeaturesPath(long lStackIndex=0); - /** Retourne le chemin racine des pluggins. - * @param lStackIndex Indice dans la liste des chemins. - * @return Chemin racine des plugins. - */ - virtual wxString GetPluginsPath(long lStackIndex=0); - /** Retourne le chemin racine de la configuration globale. - * @param lStackIndex Indice dans la liste des chemins. - * @return Chemin racine de configuration globale. - */ - virtual wxString GetGlobalConfPath(long lStackIndex=0); - /** Retourne le chemin racine de la configuration utilisateur. - * @param lStackIndex Indice dans la liste des chemins. - * @return Chemin racine de configuration utilisateur. - */ - virtual wxString GetUserConfPath(long lStackIndex=0); /** Crée un profile utilisateur si aucun n'existe. */ --- 79,82 ---- |
|
From: Emilien K. <cur...@us...> - 2005-08-11 09:58:31
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18216/src Modified Files: Application.cpp Config.cpp Log Message: Add command line parser to allow to add paths to include data/features/plugins/config. Index: Config.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/Config.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Config.cpp 7 Mar 2005 15:23:03 -0000 1.9 --- Config.cpp 11 Aug 2005 09:58:17 -0000 1.10 *************** *** 86,87 **** --- 86,210 ---- m_SubConfigMap.clear(); } + + + ////////////////////////////////////////////////////////////////////// + // Configuration système + + // Retourne le chemin d'instalation de l'application. + wxString Config::GetInstallPath() + { + return m_strInstallPath; + } + + // Retourne le chemin racine des données (images, icones, etc). + wxString Config::GetDataPath(long lStackIndex) + { + if(lStackIndex>=0l && lStackIndex<(long)m_strDataPath.GetCount()) + return m_strDataPath[lStackIndex]; + else + return wxT(""); + } + + // Retourne le chemin racine des fonctionnalités. + wxString Config::GetFeaturesPath(long lStackIndex) + { + if(lStackIndex>=0l && lStackIndex<(long)m_strFeaturesPath.GetCount()) + return m_strFeaturesPath[lStackIndex]; + else + return wxT(""); + } + + // Retourne le chemin racine des pluggins. + wxString Config::GetPluginsPath(long lStackIndex) + { + if(lStackIndex>=0l && lStackIndex<(long)m_strPluginsPath.GetCount()) + return m_strPluginsPath[lStackIndex]; + else + return wxT(""); + } + + // Retourne le chemin racine de la configuration globale. + wxString Config::GetGlobalConfPath(long lStackIndex) + { + if(lStackIndex>=0l && lStackIndex<(long)m_strConfPath.GetCount()) + return m_strConfPath[lStackIndex]; + else + return wxT(""); + } + + // Retourne le chemin racine de la configuration utilisateur. + wxString Config::GetUserConfPath(long lStackIndex) + { + if(lStackIndex>=0l && lStackIndex<(long)m_strUserConfPath.GetCount()) + return m_strUserConfPath[lStackIndex]; + else + return wxT(""); + } + + // Ajoute un chemin sur la pile des chemins de stockage de données. + void Config::AddDataPath(wxString strPath) + { + m_strDataPath.Insert(strPath, 0); + } + + // Ajoute un chemin sur la pile des chemins des features. + void Config::AddFeaturesPath(wxString strPath) + { + m_strFeaturesPath.Insert(strPath, 0); + } + + // Ajoute un chemin sur la pile des chemins des plugins. + void Config::AddPluginsPath(wxString strPath) + { + m_strPluginsPath.Insert(strPath, 0); + } + + // Ajoute un chemin sur la pile des chemins de configuration globale. + void Config::AddGlobalConfPath(wxString strPath) + { + m_strConfPath.Insert(strPath, 0); + } + + // Ajoute un chemin sur la pile des chemins de configuration utilisateur. + void Config::AddUserConfPath(wxString strPath) + { + m_strUserConfPath.Insert(strPath, 0); + } + + // Log la configuration courante vers le flux d'informations. + void Config::LogConfig() + { + long l; + wxString str; + + wxLogDebug(wxT("Configuration :")); + + wxLogDebug(wxT("Installation path : %s"), GetInstallPath().GetData()); + + wxLogDebug(wxT("Data path :")); + l = 0; + while(str=GetDataPath(l++), !str.IsEmpty()) + wxLogDebug(wxT(" - %s"), str.GetData()); + + wxLogDebug(wxT("Features path :")); + l = 0; + while(str=GetFeaturesPath(l++), !str.IsEmpty()) + wxLogDebug(wxT(" - %s"), str.GetData()); + + wxLogDebug(wxT("Plugins path :")); + l = 0; + while(str=GetPluginsPath(l++), !str.IsEmpty()) + wxLogDebug(wxT(" - %s"), str.GetData()); + + wxLogDebug(wxT("Global config path :")); + l = 0; + while(str=GetGlobalConfPath(l++), !str.IsEmpty()) + wxLogDebug(wxT(" - %s"), str.GetData()); + + wxLogDebug(wxT("User config path :")); + l = 0; + while(str=GetUserConfPath(l++), !str.IsEmpty()) + wxLogDebug(wxT(" - %s"), str.GetData()); + + } + Index: Application.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/Application.cpp,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** Application.cpp 5 Aug 2005 18:59:11 -0000 1.25 --- Application.cpp 11 Aug 2005 09:58:17 -0000 1.26 *************** *** 38,41 **** --- 38,44 ---- #include <wx/sysopt.h> #include <wx/tokenzr.h> + #include <wx/datetime.h> + #include <wx/cmdline.h> + // Utilisation du namespace *************** *** 46,51 **** END_EVENT_TABLE() - #include <wx/datetime.h> - Application* Application::ms_pTheApp = NULL; --- 49,52 ---- *************** *** 61,66 **** SetVendorName(WXDC_SETUP_VENDOR); ! // Initialise les gestionnaires m_ConfigManager.Initialize(); m_DocManager.Initialize(); m_ProjectManager.Initialize(); --- 62,74 ---- SetVendorName(WXDC_SETUP_VENDOR); ! // Initialisation du gestionnaire de configuration. m_ConfigManager.Initialize(); + + if(!wxApp::OnInit()) + return false; + + m_ConfigManager.LogConfig(); + + // Initialise les gestionnaires m_DocManager.Initialize(); m_ProjectManager.Initialize(); *************** *** 463,464 **** --- 471,505 ---- + // Initialise la ligne de commande. + void Application::OnInitCmdLine(wxCmdLineParser& parser) + { + wxApp::OnInitCmdLine(parser); + + parser.AddOption(wxT("APd"), wxT("addpath-data"), WXDC_CMDLINE_ADDPATH_DATA, wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE); + parser.AddOption(wxT("APf"), wxT("addpath-features"), WXDC_CMDLINE_ADDPATH_FEATURES, wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE); + parser.AddOption(wxT("APp"), wxT("addpath-plugins"), WXDC_CMDLINE_ADDPATH_PLUGINS, wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE); + parser.AddOption(wxT("APc"), wxT("addpath-conf"), WXDC_CMDLINE_ADDPATH_CONF, wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE); + parser.AddOption(wxT("APu"), wxT("addpath-userconf"), WXDC_CMDLINE_ADDPATH_USERCONF, wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE); + } + + // Parse la ligne de commande pour récupérer toutes les options voulues. + bool Application::OnCmdLineParsed(wxCmdLineParser& parser) + { + if(!wxApp::OnCmdLineParsed(parser)) + return false; + + wxString str; + if(parser.Found(wxT("APd"), (wxString*)&str)) + GetConfig().AddDataPath(str); + if(parser.Found(wxT("APf"), (wxString*)&str)) + GetConfig().AddFeaturesPath(str); + if(parser.Found(wxT("APp"), (wxString*)&str)) + GetConfig().AddPluginsPath(str); + if(parser.Found(wxT("APc"), (wxString*)&str)) + GetConfig().AddGlobalConfPath(str); + if(parser.Found(wxT("APu"), (wxString*)&str)) + GetConfig().AddUserConfPath(str); + wxLogDebug("Plop"); + return true; + } + |
|
From: Emilien K. <cur...@us...> - 2005-08-11 09:58:31
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src/msw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18216/src/msw Modified Files: Config.cpp Log Message: Add command line parser to allow to add paths to include data/features/plugins/config. Index: Config.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/msw/Config.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Config.cpp 8 Aug 2005 19:13:58 -0000 1.7 --- Config.cpp 11 Aug 2005 09:58:17 -0000 1.8 *************** *** 108,162 **** // Configuration système - // Retourne le chemin d'instalation de l'application. - wxString ConfigWindows::GetInstallPath() - { - return m_strInstallPath; - } - - // Retourne le chemin racine des données (images, icones, etc). - wxString ConfigWindows::GetDataPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strDataPath.GetCount()) - return m_strDataPath[lStackIndex]; - else - return wxT(""); - } - - // Retourne le chemin racine des fonctionnalités. - wxString ConfigWindows::GetFeaturesPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strFeaturesPath.GetCount()) - return m_strFeaturesPath[lStackIndex]; - else - return wxT(""); - } - - // Retourne le chemin racine des pluggins. - wxString ConfigWindows::GetPluginsPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strPluginsPath.GetCount()) - return m_strPluginsPath[lStackIndex]; - else - return wxT(""); - } - - // Retourne le chemin racine de la configuration globale. - wxString ConfigWindows::GetGlobalConfPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strConfPath.GetCount()) - return m_strConfPath[lStackIndex]; - else - return wxT(""); - } - - // Retourne le chemin racine de la configuration utilisateur. - wxString ConfigWindows::GetUserConfPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strUserConfPath.GetCount()) - return m_strUserConfPath[lStackIndex]; - else - return wxT(""); - } - // Crée un profile utilisateur si aucun n'existe. void ConfigWindows::CreateUserProfile() --- 108,111 ---- |
|
From: Emilien K. <cur...@us...> - 2005-08-11 09:58:31
|
Update of /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18216/include/wxDevCenter Modified Files: language.h Application.h Config.h Log Message: Add command line parser to allow to add paths to include data/features/plugins/config. Index: Config.h =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/Config.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Config.h 8 Aug 2005 19:14:00 -0000 1.9 --- Config.h 11 Aug 2005 09:58:17 -0000 1.10 *************** *** 144,176 **** * @return Chemin physique de l'instalation. */ ! virtual wxString GetInstallPath()=0; /** Retourne le chemin racine des données (images, icones, etc). * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de stockage des données. */ ! virtual wxString GetDataPath(long lStackIndex=0)=0; /** Retourne le chemin racine des fonctionnalités. * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des fonctionnalités. */ ! virtual wxString GetFeaturesPath(long lStackIndex=0)=0; /** Retourne le chemin racine des pluggins. * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des plugins. */ ! virtual wxString GetPluginsPath(long lStackIndex=0)=0; /** Retourne le chemin racine de la configuration globale. * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration globale. */ ! virtual wxString GetGlobalConfPath(long lStackIndex=0)=0; /** Retourne le chemin racine de la configuration utilisateur. * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration utilisateur. */ ! virtual wxString GetUserConfPath(long lStackIndex=0)=0; /** Crée un profile utilisateur si aucun n'existe. */ virtual void CreateUserProfile()=0; /** @} */ --- 144,201 ---- * @return Chemin physique de l'instalation. */ ! virtual wxString GetInstallPath(); /** Retourne le chemin racine des données (images, icones, etc). * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de stockage des données. */ ! virtual wxString GetDataPath(long lStackIndex=0); /** Retourne le chemin racine des fonctionnalités. * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des fonctionnalités. */ ! virtual wxString GetFeaturesPath(long lStackIndex=0); /** Retourne le chemin racine des pluggins. * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des plugins. */ ! virtual wxString GetPluginsPath(long lStackIndex=0); /** Retourne le chemin racine de la configuration globale. * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration globale. */ ! virtual wxString GetGlobalConfPath(long lStackIndex=0); /** Retourne le chemin racine de la configuration utilisateur. * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration utilisateur. */ ! virtual wxString GetUserConfPath(long lStackIndex=0); ! ! /** Ajoute un chemin sur la pile des chemins de stockage de données. ! * @param strPath Nouveau chemin. ! */ ! virtual void AddDataPath(wxString strPath); ! /** Ajoute un chemin sur la pile des chemins des features. ! * @param strPath Nouveau chemin. ! */ ! virtual void AddFeaturesPath(wxString strPath); ! /** Ajoute un chemin sur la pile des chemins des plugins. ! * @param strPath Nouveau chemin. ! */ ! virtual void AddPluginsPath(wxString strPath); ! /** Ajoute un chemin sur la pile des chemins de configuration globale. ! * @param strPath Nouveau chemin. ! */ ! virtual void AddGlobalConfPath(wxString strPath); ! /** Ajoute un chemin sur la pile des chemins de configuration utilisateur. ! * @param strPath Nouveau chemin. ! */ ! virtual void AddUserConfPath(wxString strPath); ! /** Crée un profile utilisateur si aucun n'existe. */ virtual void CreateUserProfile()=0; + + /** Log la configuration courante vers le flux d'informations.*/ + virtual void LogConfig(); /** @} */ *************** *** 202,206 **** /** @} */ ! }; --- 227,243 ---- /** @} */ ! protected: ! /** Chemin d'installation.*/ ! wxString m_strInstallPath; ! /** Chemin d'installation des données.*/ ! wxArrayString m_strDataPath; ! /** Chemin d'installation des fonctionnalités.*/ ! wxArrayString m_strFeaturesPath; ! /** Chemin d'installation des plugins.*/ ! wxArrayString m_strPluginsPath; ! /** Chemin d'installation des fichiers de configurations.*/ ! wxArrayString m_strConfPath; ! /** Chemin d'installation des fichiers de configurations utilisateur.*/ ! wxArrayString m_strUserConfPath; }; Index: Application.h =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/Application.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Application.h 14 May 2005 12:15:54 -0000 1.12 --- Application.h 11 Aug 2005 09:58:17 -0000 1.13 *************** *** 33,36 **** --- 33,39 ---- #include <wxDevCenter/Config.h> + + class wxCmdLineParser; + namespace wxDevCenter { *************** *** 259,262 **** --- 262,276 ---- WorkBarManager& GetWorkBarManager(){return m_WorkBarManager;} /** @} */ + + protected: + /** Initialise la ligne de commande. + * @param parser Parseur de ligne de commande. + */ + void OnInitCmdLine(wxCmdLineParser& parser); + + /** Parse la ligne de commande pour récupérer toutes les options voulues. + * @param parser Parseur de ligne de commande. + */ + bool OnCmdLineParsed(wxCmdLineParser& parser); }; Index: language.h =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/language.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** language.h 30 Mar 2005 18:47:18 -0000 1.8 --- language.h 11 Aug 2005 09:58:17 -0000 1.9 *************** *** 184,186 **** --- 184,194 ---- if not, write to the\nFree Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA" + ////////////////////////////////////////////////////////////////////// + // Textes de la ligne de commandes. + #define WXDC_CMDLINE_ADDPATH_PLUGINS wxT("Add a path to search plugins") + #define WXDC_CMDLINE_ADDPATH_FEATURES wxT("Add a path to search features") + #define WXDC_CMDLINE_ADDPATH_DATA wxT("Add a path to search data") + #define WXDC_CMDLINE_ADDPATH_CONF wxT("Add a path to search config") + #define WXDC_CMDLINE_ADDPATH_USERCONF wxT("Add a path to search user config") + #endif |
|
From: Emilien K. <cur...@us...> - 2005-08-11 09:58:31
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src/unix In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18216/src/unix Modified Files: Config.cpp Log Message: Add command line parser to allow to add paths to include data/features/plugins/config. Index: Config.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/unix/Config.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Config.cpp 8 Aug 2005 19:14:00 -0000 1.9 --- Config.cpp 11 Aug 2005 09:58:17 -0000 1.10 *************** *** 56,65 **** m_strInstallPath = ReadConfig(WXDC_CONF_KEYNAME_INSTALLDIR , wxT(wxDC_INSTALL_TARGET)); ! m_strDataPath.Add( ReadConfig(WXDC_CONF_KEYNAME_DATADIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/data"))); ! m_strFeaturesPath.Add( ReadConfig(WXDC_CONF_KEYNAME_FEATURESDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/lib/")) + WXDC_SETUP_APPIDENT + wxT("/features"))); ! m_strPluginsPath.Add( ReadConfig(WXDC_CONF_KEYNAME_PLUGINSDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/lib/")) + WXDC_SETUP_APPIDENT + wxT("/plugins"))); ! m_strConfPath.Add( ReadConfig(WXDC_CONF_KEYNAME_CONFDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/conf"))); ! m_strUserConfPath.Add( ReadConfig(WXDC_CONF_KEYNAME_USERCONFDIR , wxGetHomeDir() + wxT("/.") + WXDC_SETUP_APPIDENT + wxT("/conf"))); ! } --- 56,66 ---- m_strInstallPath = ReadConfig(WXDC_CONF_KEYNAME_INSTALLDIR , wxT(wxDC_INSTALL_TARGET)); ! ! AddDataPath( ReadConfig(WXDC_CONF_KEYNAME_DATADIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/data"))); ! AddFeaturesPath( ReadConfig(WXDC_CONF_KEYNAME_FEATURESDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/features"))); ! AddPluginsPath( ReadConfig(WXDC_CONF_KEYNAME_PLUGINSDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/plugins"))); ! AddPluginsPath( ReadConfig(WXDC_CONF_KEYNAME_PLUGINSDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/lib/")) + WXDC_SETUP_APPIDENT + wxT("/plugins"))); ! AddGlobalConfPath(ReadConfig(WXDC_CONF_KEYNAME_CONFDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/conf"))); ! AddUserConfPath( ReadConfig(WXDC_CONF_KEYNAME_USERCONFDIR , wxGetHomeDir() + wxT("/.") + WXDC_SETUP_APPIDENT + wxT("/conf"))); } *************** *** 102,160 **** } - - ////////////////////////////////////////////////////////////////////// - // Configuration système - - // Retourne le chemin d'instalation de l'application. - wxString ConfigUnix::GetInstallPath() - { - return m_strInstallPath; - } - - // Retourne le chemin racine des données (images, icones, etc). - wxString ConfigUnix::GetDataPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strDataPath.GetCount()) - return m_strDataPath[lStackIndex]; - else - return wxT(""); - } - - // Retourne le chemin racine des fonctionnalités. - wxString ConfigUnix::GetFeaturesPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strFeaturesPath.GetCount()) - return m_strFeaturesPath[lStackIndex]; - else - return wxT(""); - } - - // Retourne le chemin racine des pluggins. - wxString ConfigUnix::GetPluginsPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strPluginsPath.GetCount()) - return m_strPluginsPath[lStackIndex]; - else - return wxT(""); - } - - // Retourne le chemin racine de la configuration globale. - wxString ConfigUnix::GetGlobalConfPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strConfPath.GetCount()) - return m_strConfPath[lStackIndex]; - else - return wxT(""); - } - - // Retourne le chemin racine de la configuration utilisateur. - wxString ConfigUnix::GetUserConfPath(long lStackIndex) - { - if(lStackIndex>=0l && lStackIndex<(long)m_strUserConfPath.GetCount()) - return m_strUserConfPath[lStackIndex]; - else - return wxT(""); - } - // Crée un profile utilisateur si aucun n'existe. void ConfigUnix::CreateUserProfile() --- 103,106 ---- |
|
From: Emilien K. <cur...@us...> - 2005-08-10 14:37:03
|
Update of /cvsroot/wxdevcenter/wxDevCenter/build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22305/build Modified Files: wxDevCenter.bkl Log Message: Change target destination to lib compilation. Index: wxDevCenter.bkl =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/build/wxDevCenter.bkl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** wxDevCenter.bkl 6 Aug 2005 16:13:22 -0000 1.8 --- wxDevCenter.bkl 10 Aug 2005 14:36:52 -0000 1.9 *************** *** 22,26 **** <lib id="specific" template="wxLib"> <include>include</include> ! <dirname>./bin</dirname> <sources> --- 22,26 ---- <lib id="specific" template="wxLib"> <include>include</include> ! <dirname>./lib</dirname> <sources> *************** *** 42,46 **** <version>0.3.0</version> ! <dirname>./bin</dirname> <depends>specific</depends> <library>specific</library> --- 42,46 ---- <version>0.3.0</version> ! <dirname>lib</dirname> <depends>specific</depends> <library>specific</library> *************** *** 88,95 **** <app-type>gui</app-type> <exename>wxDevCenter$(SUFFIX)</exename> ! ! <depends>wxDevCenterLib</depends> ! <library>wxDevCenterLib</library> <dirname>./bin</dirname> <include>include</include> --- 88,98 ---- <app-type>gui</app-type> <exename>wxDevCenter$(SUFFIX)</exename> ! <dirname>./bin</dirname> + + <depends>wxDevCenterLib</depends> + + <lib-path>./lib</lib-path> + <sys-lib>wxDevCenterLib</sys-lib> <include>include</include> |
|
From: Emilien K. <cur...@us...> - 2005-08-10 04:16:28
|
Update of /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20113/include/wxDevCenter Modified Files: Config.h Log Message: Use stack to store multi path for config. Index: Config.h =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/Config.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Config.h 14 May 2005 12:15:54 -0000 1.8 --- Config.h 8 Aug 2005 19:14:00 -0000 1.9 *************** *** 146,168 **** virtual wxString GetInstallPath()=0; /** Retourne le chemin racine des données (images, icones, etc). * @return Chemin racine de stockage des données. */ ! virtual wxString GetDataPath()=0; /** Retourne le chemin racine des fonctionnalités. * @return Chemin racine des fonctionnalités. */ ! virtual wxString GetFeaturesPath()=0; /** Retourne le chemin racine des pluggins. * @return Chemin racine des plugins. */ ! virtual wxString GetPluginsPath()=0; /** Retourne le chemin racine de la configuration globale. * @return Chemin racine de configuration globale. */ ! virtual wxString GetGlobalConfPath()=0; /** Retourne le chemin racine de la configuration utilisateur. * @return Chemin racine de configuration utilisateur. */ ! virtual wxString GetUserConfPath()=0; /** Crée un profile utilisateur si aucun n'existe. */ --- 146,173 ---- virtual wxString GetInstallPath()=0; /** Retourne le chemin racine des données (images, icones, etc). + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de stockage des données. */ ! virtual wxString GetDataPath(long lStackIndex=0)=0; /** Retourne le chemin racine des fonctionnalités. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des fonctionnalités. */ ! virtual wxString GetFeaturesPath(long lStackIndex=0)=0; /** Retourne le chemin racine des pluggins. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des plugins. */ ! virtual wxString GetPluginsPath(long lStackIndex=0)=0; /** Retourne le chemin racine de la configuration globale. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration globale. */ ! virtual wxString GetGlobalConfPath(long lStackIndex=0)=0; /** Retourne le chemin racine de la configuration utilisateur. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration utilisateur. */ ! virtual wxString GetUserConfPath(long lStackIndex=0)=0; /** Crée un profile utilisateur si aucun n'existe. */ |
|
From: Emilien K. <cur...@us...> - 2005-08-10 04:16:19
|
Update of /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/msw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20113/include/wxDevCenter/msw Modified Files: Config.h Log Message: Use stack to store multi path for config. Index: Config.h =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/msw/Config.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Config.h 14 May 2005 12:15:55 -0000 1.6 --- Config.h 8 Aug 2005 19:13:58 -0000 1.7 *************** *** 40,52 **** wxString m_strInstallPath; /** Chemin d'installation des données.*/ ! wxString m_strDataPath; /** Chemin d'installation des fonctionnalités.*/ ! wxString m_strFeaturesPath; /** Chemin d'installation des plugins.*/ ! wxString m_strPluginsPath; /** Chemin d'installation des fichiers de configurations.*/ ! wxString m_strConfPath; /** Chemin d'installation des fichiers de configurations utilisateur.*/ ! wxString m_strUserConfPath; wxConfig *m_pConfig; --- 40,52 ---- wxString m_strInstallPath; /** Chemin d'installation des données.*/ ! wxArrayString m_strDataPath; /** Chemin d'installation des fonctionnalités.*/ ! wxArrayString m_strFeaturesPath; /** Chemin d'installation des plugins.*/ ! wxArrayString m_strPluginsPath; /** Chemin d'installation des fichiers de configurations.*/ ! wxArrayString m_strConfPath; /** Chemin d'installation des fichiers de configurations utilisateur.*/ ! wxArrayString m_strUserConfPath; wxConfig *m_pConfig; *************** *** 100,120 **** * @return Chemin racine de stockage des données. */ ! virtual wxString GetDataPath(); /** Retourne le chemin racine des fonctionnalités. * @return Chemin racine des fonctionnalités. */ ! virtual wxString GetFeaturesPath(); /** Retourne le chemin racine des pluggins. * @return Chemin racine des plugins. */ ! virtual wxString GetPluginsPath(); /** Retourne le chemin racine de la configuration globale. * @return Chemin racine de configuration globale. */ ! virtual wxString GetGlobalConfPath(); /** Retourne le chemin racine de la configuration utilisateur. * @return Chemin racine de configuration utilisateur. */ ! virtual wxString GetUserConfPath(); /** Crée un profile utilisateur si aucun n'existe. */ --- 100,124 ---- * @return Chemin racine de stockage des données. */ ! virtual wxString GetDataPath(long lStackIndex=0); /** Retourne le chemin racine des fonctionnalités. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des fonctionnalités. */ ! virtual wxString GetFeaturesPath(long lStackIndex=0); /** Retourne le chemin racine des pluggins. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des plugins. */ ! virtual wxString GetPluginsPath(long lStackIndex=0); /** Retourne le chemin racine de la configuration globale. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration globale. */ ! virtual wxString GetGlobalConfPath(long lStackIndex=0); /** Retourne le chemin racine de la configuration utilisateur. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration utilisateur. */ ! virtual wxString GetUserConfPath(long lStackIndex=0); /** Crée un profile utilisateur si aucun n'existe. */ |
|
From: Emilien K. <cur...@us...> - 2005-08-10 03:58:10
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src/msw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20113/src/msw Modified Files: Config.cpp Log Message: Use stack to store multi path for config. Index: Config.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/msw/Config.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Config.cpp 14 May 2005 12:15:56 -0000 1.6 --- Config.cpp 8 Aug 2005 19:13:58 -0000 1.7 *************** *** 59,67 **** m_strInstallPath = ReadConfig(WXDC_CONF_KEYNAME_INSTALLDIR , wxT("")); ! m_strDataPath = ReadConfig(WXDC_CONF_KEYNAME_DATADIR , wxT("")); ! m_strFeaturesPath = ReadConfig(WXDC_CONF_KEYNAME_FEATURESDIR , wxT("")); ! m_strPluginsPath = ReadConfig(WXDC_CONF_KEYNAME_PLUGINSDIR , wxT("")); ! m_strConfPath = ReadConfig(WXDC_CONF_KEYNAME_CONFDIR , wxT("")); ! m_strUserConfPath = ReadConfig(WXDC_CONF_KEYNAME_USERCONFDIR , strDefHomeDir); } --- 59,67 ---- m_strInstallPath = ReadConfig(WXDC_CONF_KEYNAME_INSTALLDIR , wxT("")); ! m_strDataPath.Add( ReadConfig(WXDC_CONF_KEYNAME_DATADIR , wxT(""))); ! m_strFeaturesPath.Add( ReadConfig(WXDC_CONF_KEYNAME_FEATURESDIR , wxT(""))); ! m_strPluginsPath.Add( ReadConfig(WXDC_CONF_KEYNAME_PLUGINSDIR , wxT(""))); ! m_strConfPath.Add( ReadConfig(WXDC_CONF_KEYNAME_CONFDIR , wxT(""))); ! m_strUserConfPath.Add(ReadConfig(WXDC_CONF_KEYNAME_USERCONFDIR , strDefHomeDir)); } *************** *** 115,145 **** // Retourne le chemin racine des données (images, icones, etc). ! wxString ConfigWindows::GetDataPath() { ! return m_strDataPath; } // Retourne le chemin racine des fonctionnalités. ! wxString ConfigWindows::GetFeaturesPath() { ! return m_strFeaturesPath; } // Retourne le chemin racine des pluggins. ! wxString ConfigWindows::GetPluginsPath() { ! return m_strPluginsPath; } // Retourne le chemin racine de la configuration globale. ! wxString ConfigWindows::GetGlobalConfPath() { ! return m_strConfPath; } // Retourne le chemin racine de la configuration utilisateur. ! wxString ConfigWindows::GetUserConfPath() { ! return m_strUserConfPath; } --- 115,160 ---- // Retourne le chemin racine des données (images, icones, etc). ! wxString ConfigWindows::GetDataPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strDataPath.GetCount()) ! return m_strDataPath[lStackIndex]; ! else ! return wxT(""); } // Retourne le chemin racine des fonctionnalités. ! wxString ConfigWindows::GetFeaturesPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strFeaturesPath.GetCount()) ! return m_strFeaturesPath[lStackIndex]; ! else ! return wxT(""); } // Retourne le chemin racine des pluggins. ! wxString ConfigWindows::GetPluginsPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strPluginsPath.GetCount()) ! return m_strPluginsPath[lStackIndex]; ! else ! return wxT(""); } // Retourne le chemin racine de la configuration globale. ! wxString ConfigWindows::GetGlobalConfPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strConfPath.GetCount()) ! return m_strConfPath[lStackIndex]; ! else ! return wxT(""); } // Retourne le chemin racine de la configuration utilisateur. ! wxString ConfigWindows::GetUserConfPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strUserConfPath.GetCount()) ! return m_strUserConfPath[lStackIndex]; ! else ! return wxT(""); } |
|
From: Emilien K. <cur...@us...> - 2005-08-10 03:57:05
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20729/src Modified Files: WorkBar.cpp Log Message: Unused param. Index: WorkBar.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/WorkBar.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** WorkBar.cpp 2 Aug 2005 12:50:54 -0000 1.7 --- WorkBar.cpp 8 Aug 2005 19:16:42 -0000 1.8 *************** *** 85,89 **** } ! bool WorkBarType::Destroy(bool bForce) { return false; --- 85,89 ---- } ! bool WorkBarType::Destroy(bool WXUNUSED(bForce)) { return false; |
|
From: Emilien K. <cur...@us...> - 2005-08-10 03:56:32
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src/unix In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20113/src/unix Modified Files: Config.cpp Log Message: Use stack to store multi path for config. Index: Config.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/unix/Config.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Config.cpp 6 Aug 2005 16:12:37 -0000 1.8 --- Config.cpp 8 Aug 2005 19:14:00 -0000 1.9 *************** *** 56,64 **** m_strInstallPath = ReadConfig(WXDC_CONF_KEYNAME_INSTALLDIR , wxT(wxDC_INSTALL_TARGET)); ! m_strDataPath = ReadConfig(WXDC_CONF_KEYNAME_DATADIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/data")); ! m_strFeaturesPath = ReadConfig(WXDC_CONF_KEYNAME_FEATURESDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/lib/")) + WXDC_SETUP_APPIDENT + wxT("/features")); ! m_strPluginsPath = ReadConfig(WXDC_CONF_KEYNAME_PLUGINSDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/lib/")) + WXDC_SETUP_APPIDENT + wxT("/plugins")); ! m_strConfPath = ReadConfig(WXDC_CONF_KEYNAME_CONFDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/conf")); ! m_strUserConfPath = ReadConfig(WXDC_CONF_KEYNAME_USERCONFDIR , wxGetHomeDir() + wxT("/.") + WXDC_SETUP_APPIDENT + wxT("/conf")); } --- 56,64 ---- m_strInstallPath = ReadConfig(WXDC_CONF_KEYNAME_INSTALLDIR , wxT(wxDC_INSTALL_TARGET)); ! m_strDataPath.Add( ReadConfig(WXDC_CONF_KEYNAME_DATADIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/data"))); ! m_strFeaturesPath.Add( ReadConfig(WXDC_CONF_KEYNAME_FEATURESDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/lib/")) + WXDC_SETUP_APPIDENT + wxT("/features"))); ! m_strPluginsPath.Add( ReadConfig(WXDC_CONF_KEYNAME_PLUGINSDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/lib/")) + WXDC_SETUP_APPIDENT + wxT("/plugins"))); ! m_strConfPath.Add( ReadConfig(WXDC_CONF_KEYNAME_CONFDIR , wxString(wxDC_INSTALL_TARGET) + wxString(wxT("/share/")) + WXDC_SETUP_APPIDENT + wxT("/conf"))); ! m_strUserConfPath.Add( ReadConfig(WXDC_CONF_KEYNAME_USERCONFDIR , wxGetHomeDir() + wxT("/.") + WXDC_SETUP_APPIDENT + wxT("/conf"))); } *************** *** 113,143 **** // Retourne le chemin racine des données (images, icones, etc). ! wxString ConfigUnix::GetDataPath() { ! return m_strDataPath; } // Retourne le chemin racine des fonctionnalités. ! wxString ConfigUnix::GetFeaturesPath() { ! return m_strFeaturesPath; } // Retourne le chemin racine des pluggins. ! wxString ConfigUnix::GetPluginsPath() { ! return m_strPluginsPath; } // Retourne le chemin racine de la configuration globale. ! wxString ConfigUnix::GetGlobalConfPath() { ! return m_strConfPath; } // Retourne le chemin racine de la configuration utilisateur. ! wxString ConfigUnix::GetUserConfPath() { ! return m_strUserConfPath; } --- 113,158 ---- // Retourne le chemin racine des données (images, icones, etc). ! wxString ConfigUnix::GetDataPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strDataPath.GetCount()) ! return m_strDataPath[lStackIndex]; ! else ! return wxT(""); } // Retourne le chemin racine des fonctionnalités. ! wxString ConfigUnix::GetFeaturesPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strFeaturesPath.GetCount()) ! return m_strFeaturesPath[lStackIndex]; ! else ! return wxT(""); } // Retourne le chemin racine des pluggins. ! wxString ConfigUnix::GetPluginsPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strPluginsPath.GetCount()) ! return m_strPluginsPath[lStackIndex]; ! else ! return wxT(""); } // Retourne le chemin racine de la configuration globale. ! wxString ConfigUnix::GetGlobalConfPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strConfPath.GetCount()) ! return m_strConfPath[lStackIndex]; ! else ! return wxT(""); } // Retourne le chemin racine de la configuration utilisateur. ! wxString ConfigUnix::GetUserConfPath(long lStackIndex) { ! if(lStackIndex>=0l && lStackIndex<(long)m_strUserConfPath.GetCount()) ! return m_strUserConfPath[lStackIndex]; ! else ! return wxT(""); } |
|
From: Emilien K. <cur...@us...> - 2005-08-10 03:29:21
|
Update of /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/unix In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20113/include/wxDevCenter/unix Modified Files: Config.h Log Message: Use stack to store multi path for config. Index: Config.h =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/include/wxDevCenter/unix/Config.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Config.h 14 May 2005 12:15:55 -0000 1.6 --- Config.h 8 Aug 2005 19:13:59 -0000 1.7 *************** *** 40,52 **** wxString m_strInstallPath; /** Chemin d'installation des données.*/ ! wxString m_strDataPath; /** Chemin d'installation des fonctionnalités.*/ ! wxString m_strFeaturesPath; /** Chemin d'installation des plugins.*/ ! wxString m_strPluginsPath; /** Chemin d'installation des fichiers de configurations.*/ ! wxString m_strConfPath; /** Chemin d'installation des fichiers de configurations utilisateur.*/ ! wxString m_strUserConfPath; wxConfig *m_pConfig; --- 40,52 ---- wxString m_strInstallPath; /** Chemin d'installation des données.*/ ! wxArrayString m_strDataPath; /** Chemin d'installation des fonctionnalités.*/ ! wxArrayString m_strFeaturesPath; /** Chemin d'installation des plugins.*/ ! wxArrayString m_strPluginsPath; /** Chemin d'installation des fichiers de configurations.*/ ! wxArrayString m_strConfPath; /** Chemin d'installation des fichiers de configurations utilisateur.*/ ! wxArrayString m_strUserConfPath; wxConfig *m_pConfig; *************** *** 97,119 **** virtual wxString GetInstallPath(); /** Retourne le chemin racine des données (images, icones, etc). * @return Chemin racine de stockage des données. */ ! virtual wxString GetDataPath(); /** Retourne le chemin racine des fonctionnalités. * @return Chemin racine des fonctionnalités. */ ! virtual wxString GetFeaturesPath(); /** Retourne le chemin racine des pluggins. * @return Chemin racine des plugins. */ ! virtual wxString GetPluginsPath(); /** Retourne le chemin racine de la configuration globale. * @return Chemin racine de configuration globale. */ ! virtual wxString GetGlobalConfPath(); /** Retourne le chemin racine de la configuration utilisateur. * @return Chemin racine de configuration utilisateur. */ ! virtual wxString GetUserConfPath(); /** Crée un profile utilisateur si aucun n'existe. */ --- 97,124 ---- virtual wxString GetInstallPath(); /** Retourne le chemin racine des données (images, icones, etc). + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de stockage des données. */ ! virtual wxString GetDataPath(long lStackIndex=0); /** Retourne le chemin racine des fonctionnalités. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des fonctionnalités. */ ! virtual wxString GetFeaturesPath(long lStackIndex=0); /** Retourne le chemin racine des pluggins. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine des plugins. */ ! virtual wxString GetPluginsPath(long lStackIndex=0); /** Retourne le chemin racine de la configuration globale. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration globale. */ ! virtual wxString GetGlobalConfPath(long lStackIndex=0); /** Retourne le chemin racine de la configuration utilisateur. + * @param lStackIndex Indice dans la liste des chemins. * @return Chemin racine de configuration utilisateur. */ ! virtual wxString GetUserConfPath(long lStackIndex=0); /** Crée un profile utilisateur si aucun n'existe. */ |
|
From: Emilien K. <cur...@us...> - 2005-08-10 02:29:22
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20462/src Modified Files: Element.cpp Log Message: Newline at end. Index: Element.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/Element.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Element.cpp 2 Aug 2005 12:50:54 -0000 1.2 --- Element.cpp 8 Aug 2005 19:15:38 -0000 1.3 *************** *** 93,95 **** } return true; ! } \ No newline at end of file --- 93,95 ---- } return true; ! } |
|
From: Andreas T. <cor...@us...> - 2005-08-06 20:56:29
|
Update of /cvsroot/wxdevcenter/wxDevCenter/build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29216/build Modified Files: wx.bkl Log Message: BUILD=release is a more convenient default value. Index: wx.bkl =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/build/wx.bkl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** wx.bkl 6 Aug 2005 15:39:14 -0000 1.5 --- wx.bkl 6 Aug 2005 20:55:50 -0000 1.6 *************** *** 29,33 **** <values>debug,release</values> <values-description>Debug,Release</values-description> ! <default-value>debug</default-value> <description> Type of compiled binaries. --- 29,33 ---- <values>debug,release</values> <values-description>Debug,Release</values-description> ! <default-value>release</default-value> <description> Type of compiled binaries. |
|
From: Andreas T. <cor...@us...> - 2005-08-06 20:56:08
|
Update of /cvsroot/wxdevcenter/wxDevCenter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29216 Modified Files: GNUmakefile Log Message: BUILD=release is a more convenient default value. Index: GNUmakefile =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/GNUmakefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GNUmakefile 6 Aug 2005 16:43:41 -0000 1.1 --- GNUmakefile 6 Aug 2005 20:55:51 -0000 1.2 *************** *** 42,46 **** # Type of compiled binaries. [debug,release] ! BUILD = debug # Version of wxWidgets. [25, 26] --- 42,46 ---- # Type of compiled binaries. [debug,release] ! BUILD = release # Version of wxWidgets. [25, 26] |
|
From: Emilien K. <cur...@us...> - 2005-08-06 17:22:59
|
Update of /cvsroot/wxdevcenter/wxDevCenter/build/release In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26402/build/release Log Message: Directory /cvsroot/wxdevcenter/wxDevCenter/build/release added to the repository |
|
From: Emilien K. <cur...@us...> - 2005-08-06 17:22:59
|
Update of /cvsroot/wxdevcenter/wxDevCenter/build/release In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26426/build/release Added Files: .empty Log Message: Empty file to make directory created by cvs. --- NEW FILE: .empty --- |
|
From: Emilien K. <cur...@us...> - 2005-08-06 17:22:40
|
Update of /cvsroot/wxdevcenter/wxDevCenter/build/debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26374/build/debug Added Files: .empty Log Message: Empty file to make directory created by cvs. --- NEW FILE: .empty --- |