Page 21 of 104

Posted: Wed Apr 19, 2006 7:53 am
by gnozal
Flype wrote:see my signature, the jaPBe logo : a mini-gift for you !
Thanks.
Flype wrote:gnozal do you know how many times jaPBe V3 has been downloaded ?
I have no idea.

Posted: Thu Apr 20, 2006 5:31 pm
by gnozal
jaPBe 3.6.4 release candidate 6

- added triggers for jaPBe tools (see manual)

EDIT [APR 21 2006 : 09h10 GMT+2]
- jaPBe plugins now also support triggers

Posted: Thu Apr 27, 2006 8:35 am
by gnozal
jaPBe 3.6.4 final



Last build for version 3.6.4

Posted: Thu Apr 27, 2006 7:47 pm
by Droopy
Thanks again :wink:

Posted: Thu Apr 27, 2006 8:05 pm
by ts-soft
thx Image

Posted: Fri Apr 28, 2006 11:11 am
by SCRJ
Thanks :!: :D

Posted: Fri Apr 28, 2006 1:25 pm
by Flype
first time i tested, i didn't understand what triggers were for,
but now i've understood and it's very useful. thank you.

about configuring tools :
is it possible to restart the compiler after running a tool ?

about the calculator (Alt+C) :
is it possible to add the calculation of pb constants ?

at the moment we can do :
(1+2+3) -> 6 ( and the result is pasted in clipboard - nice feature )

could this be possible (?) :
(#PB_Compiler_Version+1) -> 5.0 ( for example )

Posted: Fri Apr 28, 2006 2:25 pm
by SoulReaper
Thankyou :)

Thats Better! Wot a Editor :!:

I luv jaPBe :lol: :wink: :!:

Thanks again & again * ^ infinity! :shock: :wink:

Regards
Kevin :wink:

Posted: Fri Apr 28, 2006 2:58 pm
by gnozal
Flype wrote:first time i tested, i didn't understand what triggers were for, but now i've understood and it's very useful. thank you.

about configuring tools :
is it possible to restart the compiler after running a tool ?
Not in the current version. I will keep it in mind for the next version.
Flype wrote:about the calculator (Alt+C) :
is it possible to add the calculation of pb constants ?

at the moment we can do :
(1+2+3) -> 6 ( and the result is pasted in clipboard - nice feature )

could this be possible (?) :
(#PB_Compiler_Version+1) -> 5.0 ( for example )
I will see if it can be done for the next version.

Posted: Sat Apr 29, 2006 11:04 pm
by AL90
@gnozal

In your current version some Tools plugins will no longer work.
In previously versions (496?) it works correct. Here the Plugin
from my Converter what I have configured in jaPBe.

Code: Select all

Command = C:\Programme\PBSourceConverter\PBSourceConverter.exe
Arguments = PB394toPB400 "%FILE" "%TEMPFILE"
WorkingDir = 
MenuItemName = PB3.94 to PB4.00
Shortcut = 
Flags = 3
ReloadSource = 1
HideEditor = 0
IsPlugIn = 0
Menu = 0
Language = 0
Hide = 0
If I select "jaPBe Start" in Trigger it works fine, and with "None" it works nothing. Some Ideas?

Posted: Fri May 05, 2006 11:53 am
by inc.
Hi Gnozal, did you had an eye on my post further above ... ?
inc. wrote:
RemyMeier wrote:And this one starts a fold

Code: Select all

If *this\Name And
EndIf
I duplicate that. Everytime if an "If" followed by an "And" in the same line appears, then a new fold starts.

Posted: Mon May 08, 2006 9:47 am
by gnozal
inc. wrote:Hi Gnozal, did you had an eye on my post further above ... ?
inc. wrote:
RemyMeier wrote:And this one starts a fold

Code: Select all

If *this\Name And
EndIf
I duplicate that. Everytime if an "If" followed by an "And" in the same line appears, then a new fold starts.
Yes, and I cannot reproduce the problem : when I paste the above code in the current jaPBe [3.6.4.503], I don't see any fold.

Posted: Mon May 08, 2006 9:56 am
by gnozal
AL90 wrote:@gnozal
In your current version some Tools plugins will no longer work.
In previously versions (496?) it works correct. Here the Plugin
from my Converter what I have configured in jaPBe.
If I select "jaPBe Start" in Trigger it works fine, and with "None" it works nothing. Some Ideas?
I used this code as test plugin

Code: Select all

a$ = ProgramParameter()
While a$
  b$ = b$ + " : " + a$
  a$ = ProgramParameter()
Wend
MessageRequester("PLUGIN-TEST", b$)
and this entry in the 'Tools' :

Code: Select all

[Tool_23]
Command = C:\PureBasic400\Program\Plugin-test.exe
Arguments = PB394toPB400 "%FILE" "%TEMPFILE"
WorkingDir = 
MenuItemName = Plugin test
Shortcut = 
Flags = 1
ReloadSource = 1
HideEditor = 0
IsPlugIn = 0
Menu = 0
Language = 0
Hide = 0
Trigger = 0
It seems to work Ok : correct parameters shown and code reloaded.
What is wrong with your plugin ?

Posted: Mon May 08, 2006 9:56 am
by inc.
Update: Yesterday I recognised that this only happens if Hallodri's OOP Plugin support is used, means the Plugin comes with a jaPBe Version where the Keywords "Class" "EndClass" (these need folding) and "EnableOOP" "DisableOOP" (no folding) have been added for Highlightning. That one also imho is used by Remi.
I went into the source of JaPBe myself and tried to add such Keyword Highlightnings/Foldings on my own. It works, but .... still that "If" and "And" folding issue. And the funny thing is - I cant figure out why as I did not touch any of these Source code lines where "If" and "And" is treaten.

Did you have a look at the OOP Plugin?
http://edel.leoxikon.de/OOPPlugin.rar
The thread: http://www.purebasic-lounge.de/viewtopi ... sc&start=0
Its in german but in case of Q's just ask or use an online transaltor.

Could you maybe add these 4 Keywords below to your code?

Code: Select all

ENABLEOOP
DISABLEOOP

Class 
EndClass 
Class and EndClass do need beside Highlightning a folding support

... Or maybe telling me what exactly I have to change or where Ive to take care of.

Posted: Mon May 08, 2006 10:18 am
by gnozal
inc. wrote:Update: Yesterday I recognised that this only happens if Hallodri's OOP Plugin support is used, means the Plugin comes with a jaPBe Version where the Keywords "Class" "EndClass" (these need folding) and "EnableOOP" "DisableOOP" (no folding) have been added for Highlightning. That one also imho is used by Remi.
I don't see the modified jaPBe source code in the download ?
Anyway, some features in the jaPBe source code are difficult to understand : the functions are splitted in many procedures and includes. I would recommend to remove the modified source code piece by piece and see when the folding problems disappears. So you would know what line causes the problem and we could investigate further.