2010-06-29 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideplugins.prg
+ Added support for .hbs extension (handled similarly as .prg).
The logic is very fuzzy here, it could be greatly simplified
like it is in hbrun or hbmk2. I don't understand why hbide
is trying to guess the filename, shouldn't it be the basic
input parameter? or even better the result of a DIRECTORY()
scan, as we've discussed?
* contrib/hbide/plugins/savebackup.prg
- Deleted .ch header reference to make it work as source
code plugin.
- contrib/hbide/plugins/savebackup.hrb
- Delete prebuilt .hrb. It's better to use the source version
by default.
This commit is contained in:
@@ -16,6 +16,23 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-06-29 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbide/ideplugins.prg
|
||||
+ Added support for .hbs extension (handled similarly as .prg).
|
||||
The logic is very fuzzy here, it could be greatly simplified
|
||||
like it is in hbrun or hbmk2. I don't understand why hbide
|
||||
is trying to guess the filename, shouldn't it be the basic
|
||||
input parameter? or even better the result of a DIRECTORY()
|
||||
scan, as we've discussed?
|
||||
|
||||
* contrib/hbide/plugins/savebackup.prg
|
||||
- Deleted .ch header reference to make it work as source
|
||||
code plugin.
|
||||
|
||||
- contrib/hbide/plugins/savebackup.hrb
|
||||
- Delete prebuilt .hrb. It's better to use the source version
|
||||
by default.
|
||||
|
||||
2010-06-29 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbide/hbide.env
|
||||
! Fixed all entries. Synced with INSTALL and other required changes
|
||||
|
||||
@@ -126,6 +126,15 @@ STATIC FUNCTION hbide_loadAPlugin( cPlugin, oIde, cVer )
|
||||
IF ! Empty( cFile )
|
||||
pHrb := hb_hrbLoad( HB_HRB_BIND_OVERLOAD, cFile )
|
||||
ENDIF
|
||||
ELSE
|
||||
cFileName := hb_dirBase() + hb_osPathSeparator() + "plugins" + hb_osPathSeparator() + cPlugin + ".hbs"
|
||||
IF hb_fileExists( cFileName )
|
||||
cFile := hb_memoread( cFileName )
|
||||
cFile := hb_compileFromBuf( cFile, "-n2", "-w3", "-es2", "-q0" )
|
||||
IF ! Empty( cFile )
|
||||
pHrb := hb_hrbLoad( HB_HRB_BIND_OVERLOAD, cFile )
|
||||
ENDIF
|
||||
ENDIF
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
|
||||
Binary file not shown.
@@ -51,10 +51,6 @@
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "common.ch"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
FUNCTION savebackup_init( oIde, cVer )
|
||||
|
||||
HB_SYMBOL_UNUSED( oIde )
|
||||
|
||||
Reference in New Issue
Block a user