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:

Post by gnozal »

freak wrote:I don't think it is a good idea to invent your own system just out of lazyness.
It seems I am not the only one out here using this system (see other tailbited userlibs), maybe because PB should include better SDK tools.
freak wrote:You can easily add stuff like the _UNICODE postfix with a macro, and compile the same code multiple times with the different flags. (its what we do with the PB libraries as well.)
Maybe some ready-to-compile-with-tailbite example would be nice ?
freak wrote:The problem I see is that by adding it to jaPBE, you are encouraging others to do the same with their libraries, instead of using the proposed way. (which is much better for the users of the libraries, as everything is in one file, no subsystems etc to worry about.)
I do not encourage anybody, but maybe if others use the same system it's because of the poverty of the SDK tools (just my opinion).
And it's totally optional in jaPBe, nobody has to use it. If the 'special' subsystems don't exist, jaPBe does nothing.
freak wrote:Why not simply edit your custom tailbite to handle this, instead of forcing your users to use your own system ?
Because I am not the tailbite guru, I do not fully understand how it works.
But maybe I will have a closer look.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
remi_meier
Enthusiast
Enthusiast
Posts: 468
Joined: Sat Dec 20, 2003 6:19 pm
Location: Switzerland

Post by remi_meier »

I think freak means something like that:

Code: Select all

CompilerIf #PB_Compiler_Unicode ;>
  CompilerIf #PB_Compiler_Thread ;>
    Macro name(name)
      name#_THREAD_UNICODE
    EndMacro
  CompilerElse ;=
    Macro name(name)
      name#_UNICODE
    EndMacro
  CompilerEndIf ;<
CompilerElse ;=
  CompilerIf #PB_Compiler_Thread ;>
    Macro name(name)
      name#_THREAD
    EndMacro
  CompilerElse ;=
    Macro name(name)
      name
    EndMacro
  CompilerEndIf ;<
CompilerEndIf ;<


Procedure name(Test)(hello.l)
  Debug hello
EndProcedure

name(Test)(4)
You could probably modify Tailbite to compile this source in all modes
once to create all the object files with the different functions. And then
create the lib out of all these object files.

Edit: And of course you also have to edit the .DESC
Athlon64 3700+, 1024MB Ram, Radeon X1600
magicjo
User
User
Posts: 61
Joined: Sun May 07, 2006 10:43 am
Location: Italy

Post by magicjo »

@gnozal,
i would be submit just 2 little changes :
1) the possibility to copy the current selection from source window to search window when opened,
2) on first search from search window the focus returns on current source window, then pressing again F3 for repeat search the current selection got cancelled: i ask you if is possible change this logic and retain the focus on search window while stay opened.

Thanks in advance for you reply (i hope :D )
PB Registered User, Egrid Registered User
Win7 x64 Ultimate, 4,00 Gb Mem, Ati Radeon HD4600 Series, Realtek High Definition Audio Integrated
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

magicjo wrote:1) the possibility to copy the current selection from source window to search window when opened
Good idea, I will see what I can do. I will have to translate the selected text from current code page (if not default) to ANSI before pasting it in the search StringGadget.
magicjo wrote:2) on first search from search window the focus returns on current source window, then pressing again F3 for repeat search the current selection got cancelled: i ask you if is possible change this logic and retain the focus on search window while stay opened.
Hum, I don't know, I think it's more convenient if the source window has the focus during search.
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:

Post by gnozal »

Update

Changes :
- the current selection is copied from source window to search window when the search window is opened (CTRL+F) ; big and/or multiline selections are not copied.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
magicjo
User
User
Posts: 61
Joined: Sun May 07, 2006 10:43 am
Location: Italy

Post by magicjo »

Thanks gnozal for the changes and for your support , i can't live without JAPBE ! :D
PB Registered User, Egrid Registered User
Win7 x64 Ultimate, 4,00 Gb Mem, Ati Radeon HD4600 Series, Realtek High Definition Audio Integrated
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

When you are writing down a PB procedure appears in the status bar the
procedure name, parameters and a small description...

is it possible that small description in our procedures? if it is not
implemented, could it be?

it could be adding a small comment in our procedure definition, then
the status bar show this comment in addition to the procedure name
and parameters...

myprocedure(param1, param2, [param..]) ; Show formated messages


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

Post by gnozal »

chen wrote:it could be adding a small comment in our procedure definition, then the status bar show this comment in addition to the procedure name and parameters...
myprocedure(param1, param2, [param..]) ; Show formated messages
It already works.
If you create a procedure like this :

Code: Select all

Procedure MyProcedure(Arg1, Arg2) ; My comment
  
EndProcedure
you should see the comment in the status bar.
Note that you can also add definitions files (have a look at the %jaPBe%\Definitions directory).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

gnozal wrote:

Code: Select all

Procedure MyProcedure(Arg1, Arg2) ; My comment
  
EndProcedure
you should see the comment in the status bar.
Note that you can also add definitions files (have a look at the %jaPBe%\Definitions directory).
thats true! great :wink:
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- enhanced 'Activate Help Hotspots' option ; see Preferences.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
dobro
Enthusiast
Enthusiast
Posts: 766
Joined: Sun Oct 31, 2004 10:54 am
Location: France
Contact:

Post by dobro »

tu pourrai pas ajouter la possibilité de modifier la fenêtre du constante explorer , voir d'ajouter l'agrandissement total
car actuellement, c'est pas génial de devoir utiliser les ascenseurs pour lire les définitions :D
Merci d'avance :D

Google Translation :
will be able you to add the possibility of modifying the window of “constants-explorer”, to see to currently add the total enlarging bus, it is not brilliant to have to use the elevators to read the definitions
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

dobro wrote:tu pourrai pas ajouter la possibilité de modifier la fenêtre du constante explorer , voir d'ajouter l'agrandissement total
car actuellement, c'est pas génial de devoir utiliser les ascenseurs pour lire les définitions :D
Ok, j'ajoute çà à ma petite liste.
(On the todo list).
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:

Post by gnozal »

Update

Changes :
- 'Constant Explorer' tool is now resizable
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
dobro
Enthusiast
Enthusiast
Posts: 766
Joined: Sun Oct 31, 2004 10:54 am
Location: France
Contact:

Post by dobro »

Merci beaucoup :D
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/
User avatar
dobro
Enthusiast
Enthusiast
Posts: 766
Joined: Sun Oct 31, 2004 10:54 am
Location: France
Contact:

Post by dobro »

Sorry for the txt in French
but is easy for me ! :D


problem avec la V3610.580

tu met ceci dans le premier onglet de Japbe () apres une ouverture neuve

Code: Select all

; au bout du deuxieme onglet voir du troisieme et des autres
; la recherche ne fonctionne plus
; mais en retournant sur le premier la recherche marche sur le premier onglet , mais toujours pas sur le deuxiemme


; bmp
; tga
; coucou
; test

ensuite tu effectue une Recherche du terme "bmp" en ayant la coche
"Min/Maj" de coché !


ok la recherche fonctionne

tu cree un deuxiemme onglet et tu copie le contenue de l'onglet 1 dans le nouvel onglet 2

et tu effectue une recherche du meme terme "bmp" dans l'onglet 2
Japbe ne trouve rien ! :?

et c'est pareil pour tous les autre nouveaux onglet !!
il m'est meme arrivé qu'en revenant sur l'onglet 1, il ne trouvais plus rien non plus :?

en esperant que tu trouvera le Bug :D

(bon courage :D)

****************************************************************
****************************************************************
google Translation
***************************************************************
**************************************************************


problem with V3610 you put this, in the first onglet of Japbe () after a new opening puts

Code: Select all

; au bout du deuxieme onglet voir du troisieme et des autres
; la recherche ne fonctionne plus
; mais en retournant sur le premier la recherche marche sur le premier onglet , mais toujours pas sur le deuxiemme


; bmp
; tga
; coucou
; test

then you a Research of the term “bmp” by having carries out the stage coach “Min/Maj” of notched! ok research functions you creates a second onglet and you contained onglet 1 in new onglet 2 copies and you a research of the same term “bmp” in mitre 2 carries out Japbe does not find anything! :? and it is similar for all the other new onglet!! it same happened to me that while returning on onglet 1, he did not find anything any more either:? by hoping that you will find Bug: D (good courage: D)[/code]
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/
Post Reply