2012-07-31 14:50 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbide/projectwizard.prg
! '.hbptmplt' extension renamed to '.tpl'. First it doesn't
have anything to do with hbmk2's .hbp file. It's
reinvented version of a small subset of hbmk2 features using
a brand new and incompatible, HBIDE and feature-specific
format. 'tpl' is the standard abbreviation for 'template'.
; I suggest for any users needing such feature to simply stick
with .hbm and .hbc files which were developed with the exact
same idea in mind, but they fully support all hbmk2 features
they work on all platforms and they work with any IDEs and
in command line mode:
--- mydefaultprojectsetting.hbm
-w3 -es2
-warn=yes
-gtwvt{win}
# etc etc
---
or
--- mydefaultprojectsettings.hbc
prgflags=-w3 -es2
warn=yes
gt=wvt{win}
# etc etc
---
then:
--- myproject.hbp
mydefaultprojectsetting.hbm
---
or
--- myproject.hbp
mydefaultprojectsetting.hbc
---
respecitvely.
This commit is contained in:
@@ -16,15 +16,50 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2012-07-31 14:50 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
* contrib/hbide/projectwizard.prg
|
||||
! '.hbptmplt' extension renamed to '.tpl'. First it doesn't
|
||||
have anything to do with hbmk2's .hbp file. It's
|
||||
reinvented version of a small subset of hbmk2 features using
|
||||
a brand new and incompatible, HBIDE and feature-specific
|
||||
format. 'tpl' is the standard abbreviation for 'template'.
|
||||
; I suggest for any users needing such feature to simply stick
|
||||
with .hbm and .hbc files which were developed with the exact
|
||||
same idea in mind, but they fully support all hbmk2 features
|
||||
they work on all platforms and they work with any IDEs and
|
||||
in command line mode:
|
||||
--- mydefaultprojectsetting.hbm
|
||||
-w3 -es2
|
||||
-warn=yes
|
||||
-gtwvt{win}
|
||||
# etc etc
|
||||
---
|
||||
or
|
||||
--- mydefaultprojectsettings.hbc
|
||||
prgflags=-w3 -es2
|
||||
warn=yes
|
||||
gt=wvt{win}
|
||||
# etc etc
|
||||
---
|
||||
then:
|
||||
--- myproject.hbp
|
||||
mydefaultprojectsetting.hbm
|
||||
---
|
||||
or
|
||||
--- myproject.hbp
|
||||
mydefaultprojectsetting.hbc
|
||||
---
|
||||
respecitvely.
|
||||
|
||||
2012-07-31 02:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbide/projectwizard.prg
|
||||
* contrib/hbide/projectwizard.ui
|
||||
+ Implemented: the contents entered in the "New Project Wizard" are
|
||||
saved in _thePathdesignatedForHbp_.hbptmplt. This will be the
|
||||
+ Implemented: the contents entered in the "New Project Wizard" are
|
||||
saved in _thePathdesignatedForHbp_.hbptmplt. This will be the
|
||||
intermediate file from where .hbp will be created as per standardards
|
||||
adopted so far and then loaded in HbIDE. If such template already
|
||||
exists on the .hbp path asked for, it will be loaded in the
|
||||
interface. How and what action will ask for loading/saving may
|
||||
adopted so far and then loaded in HbIDE. If such template already
|
||||
exists on the .hbp path asked for, it will be loaded in the
|
||||
interface. How and what action will ask for loading/saving may
|
||||
change. for now examine the template file.
|
||||
|
||||
2012-07-30 21:01 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
@@ -33,7 +68,7 @@
|
||||
|
||||
2012-07-30 20:36 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
* contrib/make.hb
|
||||
- deleted TODO which is unimportant and works
|
||||
- deleted TODO which is unimportant and works
|
||||
well in practice
|
||||
|
||||
2012-07-30 16:06 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
|
||||
@@ -712,7 +712,7 @@ METHOD IdeProjectWizard:loadDefaults()
|
||||
RETURN .f.
|
||||
ENDIF
|
||||
|
||||
IF hb_fileExists( cPath + cName + ".hbptmplt" )
|
||||
IF hb_fileExists( cPath + cName + ".tpl" )
|
||||
lTmpltExists := .t.
|
||||
ELSEIF hb_fileExists( cProjPath )
|
||||
MsgBox( "Project file already exists, cannot reload in wizard!" )
|
||||
@@ -721,7 +721,7 @@ METHOD IdeProjectWizard:loadDefaults()
|
||||
::cProjPath := cPath
|
||||
|
||||
IF lTmpltExists
|
||||
::oProject:load( cPath + cName + ".hbptmplt" )
|
||||
::oProject:load( cPath + cName + ".tpl" )
|
||||
::oProject:loadUI( Self, UI_LOAD_NORMAL )
|
||||
ELSE
|
||||
::oUI:editProjPath:setText( cProjPath )
|
||||
@@ -741,7 +741,7 @@ METHOD IdeProjectWizard:saveProject()
|
||||
|
||||
::oProject:saveUI( Self )
|
||||
hb_fNameSplit( ::oUI:editProjPath:text(), @cPath, @cFile, @cExt )
|
||||
::oProject:save( cPath + cFile + ".hbptmplt" )
|
||||
::oProject:save( cPath + cFile + ".tpl" )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -1477,4 +1477,3 @@ METHOD IdeExProject:load( cPathTmplt )
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user