Pritpal, HBIDE developer, assists us to use it with FWH

User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Jaque Morique wrote:Êxecuse I mean "remove source " in the menupart "Project"

The item "Select Main Modul" is disabled
Yep, these actions are not active yet,
planned for a little later.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Jaque Morique
Posts: 17
Joined: Thu Apr 22, 2010 5:15 am

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Jaque Morique »

can u add xmate like a dropbox for the function List
Jaque Morique
Posts: 17
Joined: Thu Apr 22, 2010 5:15 am

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Jaque Morique »

u wrote

No, never used.

It can be a good feature.

Double-clicking on an include file can
be attached to opening it involves one more issue. How do we know
where it is located ? If .ch resides in the same folder where .prg is,
then only it is possibe. I will think over.

I think u have to make a Directory (*.ch) in all includepath in the make file
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Jaque Morique wrote:can u add xmate like a dropbox for the function List
It is easy, but I believe current interface is more elegant.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Jaque Morique wrote:I think u have to make a Directory (*.ch) in all includepath in the make file
NOTE: hbIDE is not a single project manger. Also "editing" and "project management" are two separate actions.
A source can be edited independant of its project association. Multiple projects can have same source. So it is not
possible to keep track of project properties where .ch's are located. Project properties are only used while
building a project.

Though some interface can be provided in "setup" dialog to know about .ch's.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Hello Everybody

Here is the latest hbIDE at http://hbide.vouch.info/

It is based on following ChangeLog entries:

2010-07-08 10:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
* contrib/hbide/idedocks.prg
! More fix to previous. Now the visibility of source behavior is Ok.

* contrib/hbide/ideeditor.prg
! Changed: numeric to character events notation.

* contrib/hbide/idesaveload.prg
! Minor.

2010-07-07 23:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
! Fixed: no-show of source's contents when a panel was hosting
only one source. Now source is visible loaded.

2010-07-07 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idemisc.prg
* contrib/hbide/idesaveload.prg
* contrib/hbide/idestylesheets.prg
* contrib/hbide/setup.ui
+ Implemented: application of constructed gradients to hbIDE components.
Now n number of gradients can be defined to be applied to
hbIDE. "Toggle Animation" respects these settings as well.
<Setup Dialog><Themes> provides you with necessary constructs
to define and apply. Still the last applied is not saved: TODO.
So next run will revert to defaults as per animation mode.

2010-07-07 10:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idesaveload.prg
* contrib/hbide/idestylesheets.prg
* contrib/hbide/setup.ui
+ Implemented: application themes - a work-in-progress yet for
final implementation. Just have a fun to play with it currently.
Next commit will see it to real fruitation.

2010-07-06 18:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/editor.ui
+ Added: to be used a little while.

* contrib/hbide/setup.ui
+ Added: <Selections><Code Completion>
1. Completion List with Arguments ?
2. Complete Code including Arguments ?

* contrib/hbide/hbide.hbp
* contrib/hbide/idebrowse.prg
* contrib/hbide/ideedit.prg
* contrib/hbide/ideeditor.prg
* contrib/hbide/idefunctions.prg
* contrib/hbide/idesaveload.prg
+ Implemented: a better control over code completion feature.
Now completion list can be presented with argument list intact,
i.e., hbide_isValidSource( cSourceFile ) can be presented
either as (default) hbide_isValidSource OR
hbide_isValidSource( cSourceFile )
Similarily, code can also be completed including arguments
list or without it. Please experiment.

2010-07-06 15:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
! Corrected: code completion popup's vertical positioning.
It was not nonoring the visibility of horizintal ruler.

2010-07-06 13:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/plugins/example_gui.hbs
+ Added: a gui dialog script which can be executed from
"Run as Script" toolbar icon or as auto executable script.
The aim to put this script in SVN is to facilitate third party
libraries to provide their users with a GUI interactive interface
to set library specific environment based on user options.

2010-07-06 12:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
! .hbs extension treated as .prg for editing operations
and syntax highlighting.

* contrib/hbide/ideeditor.prg
! .hbs extension treated as a source.

* contrib/hbide/ideplugins.prg
! deleted redundant code.

* contrib/hbide/ideprojmanager.prg
! Enabled to compile a source and run it without any project
definition ( Reported by Antonio Linares ).

* contrib/hbide/idesaveload.prg
! Included .hbs as valid text file extension.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Hello

Here is the latest hbIDE : http://hbide.vouch.info/

ChangeLog:

2010-07-10 12:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
! Adjusted horizontal position of proto-tip.

* contrib/hbide/hbide.prg
* contrib/hbide/ideedit.prg
* contrib/hbide/ideeditor.prg
* contrib/hbide/idesources.prg
! Changed: the way sources were alerted to be saved if in modified
state when exiting hbIDE. Now <Cancel> option is not provided.

+ Implemented: proto-tip highlights the current argument corresponding
to the cursor position within the function's opening brace and
end of the line.

2010-07-09 18:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/doc/en/class_hbqplaintextedit.txt
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
* contrib/hbqt/hbqt_hbqplaintextedit.h
* contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
* contrib/hbqt/qtgui/THBQPlainTextEdit.prg
* contrib/hbqt/qth/HBQPlainTextEdit.qth
* contrib/hbide/hbide.prg
* contrib/hbide/ideedit.prg
* contrib/hbide/ideeditor.prg
* contrib/hbide/idefunctions.prg
* contrib/hbide/ideharbourhelp.prg
+ Implemented: completely reworked code completion basics
and brand new function prototype display as tooltip
( now entirely native widget with many extras ).

2010-07-09 00:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
! Changed: threshhold to activate codec ompletion list from 3 to 1.

+ contrib/hbide/idehbprotos.prg
+ Added: Harbour prototypes generated auto from Harbour documentation
text file spread in harbour/../doc/en folders.

* contrib/hbide/hbide.hbp
+ Added: idehbprotos.prg.

* contrib/hbide/ideeditor.prg
* contrib/hbide/ideharbourhelp.prg
* contrib/hbide/idesaveload.prg
+ Implemented: in-place Harbour keywords and prototypes as a .prg list.
Now no need to have Harbour installed on the machine to have them.

2010-07-08 19:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
* contrib/hbide/idedocks.prg
* contrib/hbide/ideedit.prg
* contrib/hbide/ideeditor.prg
* contrib/hbide/idefunctions.prg
* contrib/hbide/ideharbourhelp.prg
+ Implemented: Harbour function definitions which are part of
Harbour documentation files in /doc/en folders viewable in
Documentation Viewer available as code completion lists.
For this to happen, you must have Harbour's root path
provided in Documentation Viewer dialog.
So, as an example, if definitions are loaded ok, you
must see a list of QWeb*() functions as soon as you type "Web"
in an editing instance.

Please provide your input what else is missing.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Hello

You may find it interesting:

http://groups.google.com/group/harbour- ... fb84?hl=en#

Next commit will have it.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Sepp Hinterhuber
Posts: 8
Joined: Thu Jun 03, 2010 9:15 am

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Sepp Hinterhuber »

Hi

"Save as " has no function under W7
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Hello Everybody

Here is yet another commit and is available at http://hbide.vouch.info/

This commit empowers you to precisely control your environment.
Plus it allows you to supply your own functions prototypes and commands
to be include in code completion lists and proto-tips. Plus few more goodies.
Read the changelog entries carefully.

ChangeLog:

2010-07-11 19:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.hbp
- Deleted: ideprotos.prg

- contrib/hbide/plugins/example_gui.hbs
+ contrib/hbide/plugins/hbide_script_qtgui.hbs
+ Added: the prefix "hbide_script_" to hbide callable script files.

- contrib/hbide/plugins/savebackup.hbs
+ contrib/hbide/plugins/hbide_plugin_savebackup.hbs
+ Added: the prefix "hbide_plugin_" to hbIDE plugin files.

+ contrib/hbide/resources/file-open.png
* contrib/hbide/hbide.qrc
+ Added: one more image for tool-buttons on "Files" page of "Setup".

* contrib/hbide/editor.ui
* contrib/hbide/environments.ui
* contrib/hbide/setup.ui
% Modified and Added: some of the components.

* contrib/hbide/hbide.prg
* contrib/hbide/ideeditor.prg
* contrib/hbide/ideenviron.prg
* contrib/hbide/ideharbourhelp.prg
* contrib/hbide/idehbprotos.prg
* contrib/hbide/idemisc.prg
* contrib/hbide/ideplugins.prg
* contrib/hbide/ideprojmanager.prg
* contrib/hbide/idesaveload.prg
* contrib/hbide/ideskeletons.prg
* contrib/hbide/idesources.prg
* contrib/hbide/idethemes.prg
+ Implemented: hbIDE installation independent paths to hold
various files and components. Now only hbide.ini reference is
required to load all other parameters pointing to next
needed locations for various components. It also effectively
means that hbIDE can be distributed as stand alone single
executable ( if linked statically with Qt ) or only with
Qt's run-time .dlls. hbIDE now makes no assumptions itself.
User has to furnish few infos, though, interfaced at a single point.

The Interface to hold information : <Setup><Files>

The Paths and Files Interpretation:

0. hbide.ini Path - File - Cmd Line: APPDATA|HOME/hbide
1. Harbour's Root Path - Path - No Assumptions: should be provided
2. Hbmk2 Executable Location - File - Default: hb_getenv("HBIDE_DIR_HBMK2")/hbmk2
3. Resources [Plugins,Scripts,etc] - Path - Default: _Path_of_hbIDE_ini_
4. Temporary Files - Path - Reserved: TODO
5. Environments [.env] - File - Default: _Path_of_hbIDE_ini_dot_env
6. Keyboard Mappings [.scu] - File - Default: _Path_of_hbIDE_ini_dot_scu
7. Code Snippets [.skl] - File - Default: _Path_of_hbIDE_ini_dot_skl
8. Syntax Highlighter Themes [.hbt]- File - Default: _Path_of_hbIDE_ini_dot_hbt

The interface provides for a quick editing of .env.skl.hbt files in-place.
Interface also provides for viewing facility of hbide.ini file.

Plugins and scripts have gone prefix and usage changes:

1. _Path_to_Resources/hbide_auto_*.hbs|prg are automatically executed
just after hbIDE appears on the screen.

2. _Path_to_Resources/hbide_plugin_*.prg|hbs|hrb can be defined to be
executed as per previous instructions.

3. _Path_to_Resources/hbide_protos_* are automatically loaded for
code completion lists leading to proto-tips. [New - details below]

+ Implemented: auto loading of code completion lists and proto-tips.
Any file as hbide_protos_SOMENAME_with_or_without_extention placed in
_Resources_ folder will be automatically loaded at startup. These files
are plain text files. The following rules apply:

1. Each proto must be placed on one line.
2. Blank lines are permissible.
3. Commands can be placed on multiple lines,
each line ending with ";" except the last one, like:
COPY [TO <(f)>] [SDF] [FIELDS <fields,...>] ;
[FOR <for>] [WHILE <while>] [NEXT <next>] ;
[RECORD <rec>] [<rest:REST>] [ALL] [CODEPAGE <cp>]
4. Functions must be opened with a brace without any preceeding space:
MyFunction ( abd, cde, efg ) => Wrong
MyFunction( abd, cde, efg ) => Right

I must be omitting some more facts which may have been changed|removed.
Also regression is possible, please make few tests and report back if
something went weired.

2010-07-10 19:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qth/HBQPlainTextEdit.qth
* contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
* contrib/hbqt/qtgui/THBQPlainTextEdit.prg
+ Added: two more arguments in :hbShowPrototype().

* contrib/hbqt/doc/en/class_hbqplaintextedit.txt
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
* contrib/hbqt/hbqt_hbqplaintextedit.h

* contrib/hbide/ideedit.prg
+ Implemented: vertical display of proto-tip.
Now if number or arguments in a funtion prototype are
more than 1, the tip will be presented as vertical
list. An image to this effect will follow in reply to
this message.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Sepp Hinterhuber wrote:Hi

"Save as " has no function under W7
Fixed. Next commit will have it.
It is not W7, the feature got disabled as a result of another change.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Lautaro
Posts: 322
Joined: Fri Oct 07, 2005 2:44 pm
Location: Osorno, Chile
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Lautaro »

Hello,
I'm trying to build with the following ENV HbIde: Windows Vista
Business (32 bit)

E:\Harbour_Pruebas\harbour-svn\trunk\harbour\contrib\hbide>..\..\bin
\win\msvc\harbour /build > compiler.log
Harbour 2.1.0beta2 (Rev. 15108)
Copyright (c) 1999-2010, http://harbour-project.org/

Harbour Build Info
---------------------------
Version: Harbour 2.1.0beta2 (Rev. 15108)
Compiler: Microsoft Visual C++ 15.0.30729 (32-bit)
Platform: Windows Vista 6.0.6002 Service Pack 2
PCode version: 0.3
ChangeLog last entry: 2010-07-15 07:12 UTC+0200 Viktor Szakats
(harbour.01 syenar.hu)
ChangeLog ID: ChangeLog 15108 2010-07-15 05:14:56Z vszakats
Built on: Jul 15 2010 10:19:34
Build options: (C++ mode) (Clipper 5.3b) (Clipper 5.x undoc) (UNICODE)
---------------------------

and I'm getting this error :

E:\Harbour_Pruebas\harbour-svn\trunk\harbour\contrib\hbide>..\..\bin
\win\msvc\hbmk2 hbide.hbp
hbmk2: Compiling...
rcc_hbide.c
.hbmk\win\msvc\rcc_hbide.c(31) : fatal error C1091: límite del
compilador: la longitud de la cadena supera los 65535 bytes
hbmk2: Error: Running C/C++ compiler. 2
cl.exe -nologo -c -O2 -W4 -wd4127 -Fo.hbmk\win\msvc\ -IE:
\HARBOUR_PRUEBAS\HARBOUR\include -I..\hbxbp -I..\hbqt .hbmk\win\msvc
\rcc_hbide.c

Any Tip ????

Best Regards,

Lautaro Moreira
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Antonio Linares »

Lautaro,

Please review .hbmk\win\msvc\rcc_hbide.c as it seems as it has a string with a length over 65535 bytes. Strange...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Lautaro
Posts: 322
Joined: Fri Oct 07, 2005 2:44 pm
Location: Osorno, Chile
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Lautaro »

Hola Antonio,

Te respondo en español, el ingles todavia no se me da muy bien.

Si es extraño, en ese fuente van los recursos que usa el hbide.

Creo que hicieron una contribucion en harbour hace unos dias y mete todos los recursos (cuando se usan archivos de recursos de QT) en una constante de string en un fuente en C, que se puede llamar usando una funcion, pero no entiendo bien como funciona.

Estoy usando la ultima version del svn y mis conocimientos llegan hasta ahi.

Lo publique en la lista de programador de harbour, esperare si alguien dice algo.


Saludos

Lautaro Moreira
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Lautaro wrote:Hello,
I'm trying to build with the following ENV HbIde: Windows Vista
Business (32 bit)

hbmk2: Compiling...
rcc_hbide.c
.hbmk\win\msvc\rcc_hbide.c(31) : fatal error C1091: límite del
compilador: la longitud de la cadena supera los 65535 bytes
hbmk2: Error: Running C/C++ compiler. 2
cl.exe -nologo -c -O2 -W4 -wd4127 -Fo.hbmk\win\msvc\ -IE:
\HARBOUR_PRUEBAS\HARBOUR\include -I..\hbxbp -I..\hbqt .hbmk\win\msvc
\rcc_hbide.c
Lautaro Moreira
As per Viktor's advise:

1. Remove Harbour's folder altogether
2. Download from SVN
3. Build Harbour
4. Build hbIDE

Everything must go fine. Nobody has this problem.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Post Reply