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:
Viktor Szakats
2010-06-29 11:14:22 +00:00
parent f6aeed0cd7
commit 45492b8cd9
4 changed files with 26 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -51,10 +51,6 @@
/*----------------------------------------------------------------------*/
#include "common.ch"
/*----------------------------------------------------------------------*/
FUNCTION savebackup_init( oIde, cVer )
HB_SYMBOL_UNUSED( oIde )