Page 1 of 1

How well are pb versions tested?

Posted: Tue Jan 06, 2004 9:35 pm
by Edwin Knoppert
After several months i still see a multiline stringgadget still not being able to scroll down.
How can it be no one notices this too?
Am i wrong?
(ES_AUTOVSCROLL etc..)

Several of my more technical topics remain unanswered.

Like the 'bug' i presented using that global hook.

A 'side-effect' on so called not thread safe internal string handling.
This IS a serious matter, when i declare a variable to be protected, i assume a variable for that scope.
I'm not sure but i guess a recursive function will go bad this way either.
Since that person mentioned global hook runs in another thread i strongly debate this.

While this forum gives enough help on beginners questions, it remains having unanswered questions on the more inner workings of pb.
I'm not per se interested in the internals of pb but some parts are working poor like a simple persistant hook using windows API on a pb window for example.
This is not allowed unless you make special preparations.
A similar problem in VB can occure though but i still see it as normal doings.

If i knew of the variable scope problem of certain variable types i could have make a better decision.

I like most of the pb language but there are some internals simply not working as expected.
Even more, very much depending stuff imo.
Maybe i get this wrong but it's hard to find solutions for my problem via the help.
Help contains only common how-to's.

The harder stuff is spreaded in form of libraries no one can investigate or even maybe created in another language and therefore less depending on pb itself?
There goes a learning curve.

Note that i'm not after messing up this forum but as said, a few important questions to me are simply not being answered by the pb authors while they could imo.
I find this very odd and i expect more on such questions, therefore this message again.

Hope to finally have lit the fire over here a little bit.
Yes there are users who want more by themselves and not willing to depend on 3th party stuff/libs.

Hoping for the best..
Edwin Knoppert

Posted: Tue Jan 06, 2004 10:33 pm
by Fred
Hello Edwin,

What do you want exactly know ? I try to answer as much technical question I can and serveral other users do so. When I read a post and doesn't know the answer, I just don't reply instead of putting an 'I don't know' answer. There is several (well know) limitations in PB like multithreading issue, string limit, etc.. and still some bugs to track down (like the one you discovered with the global hook). We do our best to fix this, takes the time to do it well and not to hack quickly all over the place. About the multiline string, why not use an editorgadget() ? This multiline feature will be removed in a future version as it's not the purpose of a StringGadget() (It was introduced badly because no EditorGadget() was available).

Anyway, thanks for the lesson, it helps to keep the motivation and try to make PureBasic the best tool for development :)

BTW: I don't understand the variable scope and recursitivy problems.. any examples ?

Posted: Tue Jan 06, 2004 11:27 pm
by Edwin Knoppert
Fred,

I just wanted to get your attention on this imo serious matters.
The string limit is not per se a goal for debation to me.
(A wish though)

The global hook thing is.
The control id's (older topic) i ever mentioned where, i believe, never confirmed, it seemed a later version did work out better, at this moment not an issue so i forgot exactly.
I just 'counted' the topic's i posted not being simply confirmed and let me thinking that there was no interest for these matters.

It's obvious a user like me may get some confirmation from the authors that this hook matter was a problem and is under development, yes it's that simple to get a user's hope up.

It's certainly not a flame and i don't expect you to jump up on every
question.

Your recommendation of the editorgadget is something i currently do, but how can i know this would change or get improved.
It's rather difficult if users not reading each post on this forum to keep up.
(Btw, i would not recommend to use the editorg() for this simple ML matter but that's me)

I hope this will indeed only motivate and is not seen as flame or some sort.
I simply hope i can get more info regarding problematic parts like the window stuff and maybe some other parts.

Edwin,

Re: How well are pb versions tested?

Posted: Wed Jan 07, 2004 1:56 am
by PB
> After several months i still see a multiline stringgadget still not being
> able to scroll down.

What's wrong with the example in the FAQ? It scrolls up-down just fine...

Posted: Wed Jan 07, 2004 9:57 am
by Edwin Knoppert
It's that the stringgadget is simply not working as desired and easily to solve.
Not an alternative control.
I believe you mean the editorcontrol, which is in fact a richedit control and not the best control to rely on.
As said before to Fred, i recommend he keeps the stringgadget EDIT class in as it is with correct scroll fix (it's just a style).

Posted: Wed Jan 07, 2004 11:12 am
by Danilo
Edwin, you forgot that PureBasic is multiplatform - so the StringGadget
must be the same on different platforms.

If you know a good solution for a multiline StringGadget on
Windows, Linux, Amiga and MacOS, please let us know.

Posted: Wed Jan 07, 2004 11:16 am
by Edwin Knoppert
Are you telling me the stringgadget's caret is also restricted to bottom on linux?

Guess not..

Posted: Wed Jan 07, 2004 10:29 pm
by Num3
Danilo wrote:Edwin, you forgot that PureBasic is multiplatform - so the StringGadget
must be the same on different platforms.

If you know a good solution for a multiline StringGadget on
Windows, Linux, Amiga and MacOS, please let us know.

MacOS????

Hum Danilo what are you not telling us :?: :wink:

Posted: Thu Jan 08, 2004 12:48 am
by Fred
Edwin Knoppert wrote:Are you telling me the stringgadget's caret is also restricted to bottom on linux?

Guess not..
Yes it is. PB use the regular GtkEntry widget and it's a single line one. http://developer.gnome.org/doc/API/gtk/gtkentry.html

I don't understand really what is wrong with the RichEdit control and simple text. All version are supported starting from Win95 so it's not a compatibility issue.
Num3 wrote:MacOS????

Hum Danilo what are you not telling us :?: :wink:
s-e-c-r-e-t w-e-a-p-o-n :twisted:

Posted: Thu Jan 08, 2004 1:33 am
by LarsG
Fred wrote: s-e-c-r-e-t w-e-a-p-o-n :twisted:
8O hehe.. looks like you've got a lot of s-e-c-r-e-t w-e-a-p-o-n-s going on lately, huh Fred?!?! :?: :!: :?:

Posted: Thu Jan 08, 2004 2:51 am
by Shannara
OMG, I can't wait :) Now I'll have to go out an buy an Mac with OSX on it... or use OSX/Darwin for i386 boxes... I wonder if that'll work well..

Posted: Thu Jan 08, 2004 9:55 am
by Edwin Knoppert
Yes, MAC would be profi :)

Posted: Thu Jan 08, 2004 9:13 pm
by Blade
Shannara wrote:OMG, I can't wait :) Now I'll have to go out an buy an Mac with OSX on it... or use OSX/Darwin for i386 boxes... I wonder if that'll work well..
Adding a new system will not slow down the PB development too much?
Shouldn't the main development (windows) be left to Fred, and the other OS versions to other teams... Then, I'll ask for Palm, PSX and GBA versions :-)

Posted: Thu Jan 08, 2004 9:34 pm
by Karbon
You have 3 fairly serious players in the desktop OS market

#1 Windows (Vast majority)

#2 MacOS (The vast majority of what's left)

#3 Linux (Though some would like you to believe it's in real competition with #1 and #2 I've never seen any real numbers to support that.

I think a MacOS version makes perfect sense as it is the "other" desktop OS in wide use..

The flames from the Linux zealots can stop before they start as I like Linux just fine - it's everyone else in the world you need to convert. :-)

Posted: Thu Jan 08, 2004 9:40 pm
by Shannara
What other teams are there? And who would Fred trust? Heh. If (or when? His reply..) OSX support is added (Oops, Im assuming OSX, all they said was MAC.. erk), then the price of PB should, would go up? :D