Page 3 of 8

Re: PureBasic OpenSource Projects

Posted: Wed Dec 04, 2019 1:13 pm
by ar-s
Thanks a lot for sharing ! :)

Re: PureBasic OpenSource Projects

Posted: Wed Dec 04, 2019 1:16 pm
by #NULL
Zebuddi123 wrote:
cp -f data/ColorTable.xml /catalogs/ColorTable.xml
cp: cannot create regular file `/catalogs/ColorTable.xml': No such file or directory
make: *** [/catalogs/ColorTable.xml] Error 1

Code: Select all

HOME=$(PUREBASIC_HOME)

COLORTABLE = $(HOME)/Catalogs/ColorTable.xml

cp -f data/ColorTable.xml $(COLORTABLE)
so you probably didn't set PUREBASIC_HOME. Are you on Windows?

Re: PureBasic OpenSource Projects

Posted: Wed Dec 04, 2019 1:21 pm
by Joubarbe
Thank you for that. PB needs to be more open.

Re: PureBasic OpenSource Projects

Posted: Thu Dec 05, 2019 1:45 am
by zikitrake
Thank you Fred and the rest of the PB team.
Great move!

Re: PureBasic OpenSource Projects

Posted: Thu Dec 05, 2019 9:14 am
by Niffo
What a nice news ! Will try to contribute (especially in the Form Designer) if i can find time.

Re: PureBasic OpenSource Projects

Posted: Thu Dec 05, 2019 10:15 am
by Marc56us
I am amazed to see the clarity and elegance of the code produced by Fred and the team: No complication, no abuse of pointer, BindEvent, etc. :P
It's beautiful.
(I'm totally unable to change anything, but I admire it)

If I were good in coding (which will never happen, I'm still a beginner) I would like the Form Designer to be able to create PopUpMenu just like he knows how to do for menus.

That is to say, in a project, he is able not to reuse the identifiers of the other Forms to avoid conflict and that as for the menus, he also knows how to create the codes for the images (IncludeBinary / CatchImage) (Form > Image Manager)

Re: PureBasic OpenSource Projects

Posted: Thu Dec 05, 2019 11:59 am
by Kwai chang caine
Yes exactely the same feeling than MARC56US :wink: , when i have see the very nice and clean code pleasant to read :shock: 8)
I asked myself, if FRED have cleaned all this code before give it open source or if it's the original way of coding ?

The second question i ask to me, it's : Is it possible to compile all or part of the PB source with our PB v5.70 actual, without compiling the C code ?

In fact it's difficult to understand for me, what is role exactely of the C source ?
Because when i see several PB sources, i recognize well the windows, gadgets of tools, like the "Ascii viewver" for example, so why it would not be possible to compile it ? :cry:
I have also see some constants is missing, but what is missing again in PB creating by the C source ?

Re: PureBasic OpenSource Projects

Posted: Thu Dec 05, 2019 3:59 pm
by NicTheQuick
IceSoft wrote:The forum should add a separate wish list for the open source projects too.
I think the best thing would be to use the issue tracker of Github itself. It's easier to follow than the Bug section in this board.

Re: PureBasic OpenSource Projects

Posted: Thu Dec 05, 2019 5:38 pm
by skywalk
I know everyone has a pet peeve with the IDE and mine is automation.
After light browsing github, I cannot find the "Find in files" code.
I want to determine a way to increase the list font size and understand the mechanism used to jump to the code line selected.
Is that available within the IDE open source?

Re: PureBasic OpenSource Projects

Posted: Thu Dec 05, 2019 5:59 pm
by firace
skywalk wrote:I know everyone has a pet peeve with the IDE and mine is automation.
After light browsing github, I cannot find the "Find in files" code.
I want to determine a way to increase the list font size and understand the mechanism used to jump to the code line selected.
Is that available within the IDE open source?

See

https://github.com/fantaisie-software/p ... dWindow.pb

https://github.com/fantaisie-software/p ... ghtning.pb

Procedure FindText (line 3617)

Re: PureBasic OpenSource Projects

Posted: Thu Dec 05, 2019 6:11 pm
by #NULL
I think 'Find in Files' is
- PureBasicIDE/dialogs/Grep.xml
- PureBasicIDE/GrepWindow.pb

Re: PureBasic OpenSource Projects

Posted: Thu Dec 05, 2019 6:36 pm
by skywalk
Yes! I was just looking at GrepWindow...that's the puppy!

Re: PureBasic OpenSource Projects

Posted: Fri Dec 06, 2019 9:58 am
by Fred
This is the complete code, so everything should be included

Re: PureBasic OpenSource Projects

Posted: Fri Dec 06, 2019 11:46 am
by #NULL
Is it possible to share values for PB_GCC_ANSI, PB_OPT_SPEED and PB_GCC to compile the c files on linux? Include paths etc might be system dependent, but just to get the general idea of the gcc flags used etc.

Re: PureBasic OpenSource Projects

Posted: Fri Dec 06, 2019 3:56 pm
by fryquez
Thanks a lot for sharing the code with us :D

Maybe the PUREBASIC PUBLIC SVN should be added to github as well.