jaPBe 3.13.4 [IDE for PB 4 and PB 5]

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Post by gnozal »

HeX0R wrote:I guess i found a bug (and remember something similar within the IDE, but can't find the report anymore...)
Should be fixed in build 850 (uploaded).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
HeX0R
Addict
Addict
Posts: 1189
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Post by HeX0R »

gnozal wrote:Should be fixed in build 850 (uploaded).
Better, but still not perfect ;)
If i start JaPBe with no open Files the Shortcut won't work.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Post by gnozal »

HeX0R wrote:Better, but still not perfect ;)
If i start JaPBe with no open Files the Shortcut won't work.
Should be fixed in build 851 (uploaded) ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
HeX0R
Addict
Addict
Posts: 1189
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Post by HeX0R »

Yes, seems to be perfect now.
Many thanks :!:
User avatar
Le Soldat Inconnu
Enthusiast
Enthusiast
Posts: 306
Joined: Wed Jul 09, 2003 11:33 am
Location: France

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by Le Soldat Inconnu »

Hi Gnozal, i have this bug
Image

i'm not sure it's come from jaPBe, i thinks it's debugger problem.
look this thread :
http://www.purebasic.fr/english/viewtop ... 41#p351541
I have the same problem with PB editor. So it's PB debugger error or it's jaPBe and PB editor error.


So to see bug :

Take pb code and rename it in "Régis.pb" for example, you must have special char like é è à in file name or folder name

Open file with jaPBe

Check compiler option :
- Unicode
- Exe in source directory

Compile with debugger.


If you can take a look to be sure it's not jaPBe problem. Thanks.
LSI
RichardL
Enthusiast
Enthusiast
Posts: 532
Joined: Sat Sep 11, 2004 11:54 am
Location: UK

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by RichardL »

Hi Gnozal,
A very small, low priority item. I often put web links in my source, as a comment, if its something that might need clarification at a later date.
Here is an example:

Code: Select all

        ; http://msdn.microsoft.com/en-us/library/microsoft.directx_sdk.idirectsoundbuffer8.idirectsoundbuffer8.lock(v=VS.85).aspx 
jaPBe underlines everything up to the closing bracket ...... VS.85) but not the bracket or the ".aspx"

When I click on the comment the link is transferred to MS Explorer but no ").aspx"

Could this be fixed?

Best regards,
RichardL
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by gnozal »

Le Soldat Inconnu wrote:Hi Gnozal, i have this bug
Image

i'm not sure it's come from jaPBe, i thinks it's debugger problem.
look this thread :
http://www.purebasic.fr/english/viewtop ... 41#p351541
I have the same problem with PB editor. So it's PB debugger error or it's jaPBe and PB editor error.
I don't think it's a jaPBe issue especially if it also happens with the PB editor.
There is a similar issue at least since PB4.30, which was never fixed : http://www.purebasic.fr/english/viewtop ... =4&t=35437
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by gnozal »

RichardL wrote:

Code: Select all

        ; http://msdn.microsoft.com/en-us/library/microsoft.directx_sdk.idirectsoundbuffer8.idirectsoundbuffer8.lock(v=VS.85).aspx 
jaPBe underlines everything up to the closing bracket ...... VS.85) but not the bracket or the ".aspx"
Hi Richard,

it's not an issue only with jaPBe : the same problem also happens with this forum : http://msdn.microsoft.com/en-us/library ... S.85).aspx

It happens because '(' and ')' are usually interpreted as separators. They should be replaced with %28 and %29 (hex ansi code), like spaces should be replaced with %20.
Fixing this issue could break other URLs ; how to detect the end of an URL in a comment ?

So the correct URL would be :

Code: Select all

http://msdn.microsoft.com/en-us/library/microsoft.directx_sdk.idirectsoundbuffer8.idirectsoundbuffer8.lock%28=VS.85%29.aspx
Example : http://msdn.microsoft.com/en-us/library ... 85%29.aspx

And it works in both jaPBe and this forum !
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
RichardL
Enthusiast
Enthusiast
Posts: 532
Joined: Sat Sep 11, 2004 11:54 am
Location: UK

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by RichardL »

Good afternoon,

Thanks for the explanation, even if its not a solution :(

I copy the link directly from Explorer because its quick and easy and am usually in too much of a hurry to go editing control codes into them... I will have to live with it and MS will have to put up with me forgetting to add a closing bracket every now and again! (Unless you are thinking the same as me... :wink: )

All the best,
Richard.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by gnozal »

RichardL wrote:I copy the link directly from Explorer because its quick and easy and am usually in too much of a hurry to go editing control codes into them... I will have to live with it and MS will have to put up with me forgetting to add a closing bracket every now and again! (Unless you are thinking the same as me... :wink: )
Hi Richard,
you may use a plugin to insert the URLs.
(Quick) example code :

Code: Select all

; InsertURL Plugin
;-Global
Global jaPBe_Handle
Global jaPBe_Version
#timeout=5000
;-Window-Message
#mywm_Plugin_Cancel             = #WM_USER+18
;-Window-CopyData
#WMCD_InsertText          = 2
Procedure SendDataS(ziel,Type,Message$)
  cd.COPYDATASTRUCT
  cd\dwData=Type
  cd\cbData=Len(Message$)+1
  cd\lpData=@Message$
  ProcedureReturn SendMessage_(ziel,#WM_COPYDATA,WindowID(1),cd)
EndProcedure
Procedure SendData(ziel,Type,adr,len)
  cd.COPYDATASTRUCT
  cd\dwData=Type
  cd\cbData=len + 1
  cd\lpData=adr
  ProcedureReturn SendMessage_(ziel,#WM_COPYDATA,WindowID(1),cd)
EndProcedure
;-Send
Procedure jaPBe_InsertTextS(Text$) ; Insert the Text in the current Source Code
  SendDataS(jaPBe_Handle,#WMCD_InsertText,Text$) 
EndProcedure
;
If OpenWindow(1,0,200,200,200,"jaPBe-Plugin", #PB_Window_Invisible)
  a$=ProgramParameter()
  If a$="jaPBe"
    jaPBe_Handle=Val(ProgramParameter())
    jaPBe_Version$=ProgramParameter()
    ;
    ;- plugin code start ---------------------
    ;
    Line$ = InputRequester("Insert URL", "", "")
    Line$ = ReplaceString(Line$, "(", "%28")
    Line$ = ReplaceString(Line$, ")", "%29")
    jaPBe_InsertTextS(Line$)
    SetFocus_(jaPBe_Handle)
    SetForegroundWindow_(jaPBe_Handle)
    ;
    ;- plugin code end ---------------------
    ;
    PostMessage_(jaPBe_Handle,#mywm_Plugin_Cancel,0,WindowID(1))
  Else
    MessageRequester("jaPBe Plugin","This is a jaPBe-Plugin"+Chr(10)+"You can't run it without jaPBe",0)
  EndIf
  CloseWindow(1)
Else
  MessageRequester("jaPBe Plugin","Can't open a window!",0)
EndIf
End
Compile this code as 'InsertURL.exe' and place it in the plugin folder.
When called, the plugin will display an input box to get the URL, and then insert the corrected URL at the current caret position.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Le Soldat Inconnu
Enthusiast
Enthusiast
Posts: 306
Joined: Wed Jul 09, 2003 11:33 am
Location: France

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by Le Soldat Inconnu »

Hi,

Why jaPBe unchecks "use msdn" options ?
I need frequently to check again this option.

Thanks
LSI
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by gnozal »

Le Soldat Inconnu wrote:Why jaPBe unchecks "use msdn" options ?
I need frequently to check again this option.
Iirc, jaPBe only lists "msdn.microsoft.com" in the available SDKs if an Internet connection is detected.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Le Soldat Inconnu
Enthusiast
Enthusiast
Posts: 306
Joined: Wed Jul 09, 2003 11:33 am
Location: France

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by Le Soldat Inconnu »

and if i don't have internet connection, it's unchecks automatically ?

So, when i use jaPBe without connection because i not at home, it uncheks my options ?

------------------------------------------------
Sorry, french mode, i don't know how to said in english. But good point for me Gnozal is french :lol:

En fait, au boulot j'ai un PC portable que je trimbale donc qui n'est pas toujours connecté au net. Alors ça m'agace d'avoir cette option qui se décoche toute seule :mrgreen: si tu vois ce que je veux dire.
LSI
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.11.3 [IDE for PB 4.xx]

Post by gnozal »

Le Soldat Inconnu wrote:and if i don't have internet connection, it's unchecks automatically ?

So, when i use jaPBe without connection because i not at home, it uncheks my options ?

------------------------------------------------
Sorry, french mode, i don't know how to said in english. But good point for me Gnozal is french :lol:

En fait, au boulot j'ai un PC portable que je trimbale donc qui n'est pas toujours connecté au net. Alors ça m'agace d'avoir cette option qui se décoche toute seule :mrgreen: si tu vois ce que je veux dire.
Should be fixed in build 853 : once MSDN is selected, it doesn't deselect if no Internet connection is available.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Le Soldat Inconnu
Enthusiast
Enthusiast
Posts: 306
Joined: Wed Jul 09, 2003 11:33 am
Location: France

Re: jaPBe 3.11.5 [IDE for PB 4.xx]

Post by Le Soldat Inconnu »

Smack :mrgreen:
LSI
Post Reply