Page 94 of 104

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

Posted: Thu Mar 31, 2011 12:07 pm
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).

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

Posted: Thu Mar 31, 2011 1:25 pm
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.

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

Posted: Thu Mar 31, 2011 4:36 pm
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) ?

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

Posted: Thu Mar 31, 2011 5:42 pm
by HeX0R
Yes, seems to be perfect now.
Many thanks :!:

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

Posted: Sun Apr 24, 2011 1:31 pm
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.

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

Posted: Tue Apr 26, 2011 8:02 pm
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

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

Posted: Wed Apr 27, 2011 12:11 pm
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

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

Posted: Wed Apr 27, 2011 12:24 pm
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 !

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

Posted: Wed Apr 27, 2011 5:01 pm
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.

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

Posted: Thu Apr 28, 2011 10:35 am
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.

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

Posted: Sat May 07, 2011 10:27 am
by Le Soldat Inconnu
Hi,

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

Thanks

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

Posted: Sat May 07, 2011 10:44 am
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.

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

Posted: Sat May 07, 2011 1:39 pm
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.

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

Posted: Tue May 17, 2011 8:20 am
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.

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

Posted: Sat May 21, 2011 10:12 pm
by Le Soldat Inconnu
Smack :mrgreen: