SFML community forums

General => General discussions => Topic started by: Laurent on January 26, 2010, 10:52:13 am

Title: SFML 1.6 released soon
Post by: Laurent on January 26, 2010, 10:52:13 am
Hi

I'm going to release SFML 1.6, which is mainly a bug fix release. Is there anything that you would like to be improved/fixed in this release? Did I miss something?
Title: Re: SFML 1.6 released soon
Post by: Boogiwoogie on January 27, 2010, 01:31:53 am
Quote from: "Laurent"
Is there anything that you would like to be improved/fixed in this release? Did I miss something?
Is refreshing while window resizing fixed yet?
Title: SFML 1.6 released soon
Post by: Laurent on January 27, 2010, 08:41:26 am
No, I can't solve this issue. Windows runs its own internal loop while the window is resized, and all I can do is to catch a special event that is triggered by this loop. Unfortunately I can't do anything with it.
Title: SFML 1.6 released soon
Post by: christoph on January 28, 2010, 07:08:16 pm
Hi!

1.6 (it's trunk right?) currently fails to build on kFreeBSD like that:

Code: [Select]
make[2]: Entering directory `/home/christoph/proj/deb/sfml1.6/src/SFML/Window'
g++ -o Context.o -c Context.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC
In file included from ../../SFML/Window/Joystick.hpp:71,
                 from ../../SFML/Window/WindowImpl.hpp:33,
                 from Context.cpp:29:
../../SFML/Window/Linux/Joystick.hpp:95: error: 'ABS_MAX' was not declared in this scope
Context.cpp:35: warning: '<unnamed>::Dummy' defined but not used
make[2]: *** [Context.o] Error 1
make[2]: Leaving directory `/home/christoph/proj/deb/sfml1.6/src/SFML/Window'
make[1]: *** [sfml-window] Error 2
make[1]: Leaving directory `/home/christoph/proj/deb/sfml1.6/src/SFML'
make: *** [sfml] Error 2
Title: SFML 1.6 released soon
Post by: Laurent on January 28, 2010, 07:35:32 pm
Thanks, it's fixed :)
Title: SFML 1.6 released soon
Post by: Jimicro on January 28, 2010, 07:46:53 pm
I don´t know if it´s already fixed but when I am using font I get this memory error. Maybe it should be fixed :)
Title: SFML 1.6 released soon
Post by: christoph on January 28, 2010, 07:47:00 pm
OGreat :) builds now fine. I ight come around to do some tests later then :)
Title: SFML 1.6 released soon
Post by: Laurent on January 28, 2010, 08:09:10 pm
Quote
I don´t know if it´s already fixed but when I am using font I get this memory error

Can you tell me more about this error?
Title: SFML 1.6 released soon
Post by: Jimicro on January 28, 2010, 11:10:01 pm
Quote from: "Laurent"
Quote
I don´t know if it´s already fixed but when I am using font I get this memory error

Can you tell me more about this error?


It says something like this, I shall translate the best I can.

program-exe - Programfail

The instruction on "0x6903a33a" referd to th memory on "0x00000054". It didn´t perform a memory arrangment. This error returned: The memory could not be "read".

It pops up everytime a close the window when I draw use/draw a font.
Title: SFML 1.6 released soon
Post by: Laurent on January 29, 2010, 12:00:41 am
No, it's not fixed. I can't even reproduce this bug on my computer anymore :?
Title: SFML 1.6 released soon
Post by: mongrol on February 03, 2010, 05:33:50 am
Any chance of sf::Image.CopyScreen() producing a flippedY image being fixed?
Title: SFML 1.6 released soon
Post by: Laurent on February 03, 2010, 08:08:34 am
Nop, sorry.
Title: SFML 1.6 released soon
Post by: Samyboy on February 03, 2010, 08:14:54 pm
Quote from: "Laurent"
Nop, sorry.


What about some kind of "WaitEvent()" that blocks untill an Eventis added to the Loop?
Title: SFML 1.6 released soon
Post by: Laurent on February 03, 2010, 08:23:04 pm
Added in SFML 2. SFML 1.6 is just a bug fix release.
Title: SFML 1.6 released soon
Post by: model76 on February 07, 2010, 01:10:34 am
Is is so that SFML 1 is now finished (bug fix only), and any changes will happen only in SFML 2?

If so, then I would like more graphic documentation.
I am thinking about the section of the tutorial that explains how SFML draws things on the screen, in particular.
But actually, the whole tutorial (which seems to be the main documentation) could do with graphical representations of how things work, throughout, to help those of us who are graphic learners understand better.

And thanks again for making SFML! You rock!
Title: SFML 1.6 released soon
Post by: Laurent on February 07, 2010, 10:30:49 am
Quote
Is is so that SFML 1 is now finished (bug fix only), and any changes will happen only in SFML 2?

Absolutely.

Quote
If so, then I would like more graphic documentation.
I am thinking about the section of the tutorial that explains how SFML draws things on the screen, in particular.
But actually, the whole tutorial (which seems to be the main documentation) could do with graphical representations of how things work, throughout, to help those of us who are graphic learners understand better.

I'm not sure I understand 100% what you mean. Can you explain more, or give an example?
Title: SFML 1.6 released soon
Post by: Trass3r on February 07, 2010, 05:48:21 pm
Maybe he means screenshots.
Title: SFML 1.6 released soon
Post by: model76 on February 07, 2010, 09:05:15 pm
No, not screen shots...  :) What does a screen shot of a programming library look like? Is it a photo of a screen with the source code on it? :lol:

What I mean is graphical illustrations of how things work.

Let's take rendering a sprite, for instance.
How many coordinate systems are at work here? How do they relate to each other? What am I doing to which one when I set Sprite.SetCenter, or any of the other possibilities SFML gives me?
How do I get from that drawing of a teddy bear that I made in paint, to that scaled, centered, and rotated 30 degrees counter-clockwise around its tail version in the SFML view port? How do I know in advance whether its nose will be sticking out of the screen?

A couple of nice illustrations could explain all this nicely, I believe.

For an example of how such an illustration might look, take a look at chapter 3 "Multiple coordinate systems" in 3D Math Primer by Fletcher Dunn and Ian Parberry, if you have that available.

But that is not the only subject that could do with graphical illustration. Another nice thing would be an overview of everything that is SFML, and how they go together. A graphical illustration of all the parts of SFML, and their relations.

Pretty much every part of the documentation could be improved with imagery.
It may not mean much to you, but many people learn things faster, gain a deeper understanding,  and remember things better, if there is a simple graphical illustration to go along with the text. They are not meaningless fluff, but graphical explanations.

I really believe this could open up your library for many more people, especially beginners.
Title: SFML 1.6 released soon
Post by: model76 on February 10, 2010, 05:12:04 am
Oh, and I have one more request:

If at all possible, I think it would be best if the many compiler warnings during debug compile could be taken care of.
I know they can be suppressed, but should they have to be?

And if I take the steps to suppress them, could other warnings, that I might want, be suppressed, too?
Not being the expert, I really don't have a clue. So I just let the compiler moan, even though I really don't like it.

I think this is very confusing, especially for beginners, and I know I have found it to be.
Title: SFML 1.6 released soon
Post by: Laurent on February 10, 2010, 07:40:48 am
Quote
If at all possible, I think it would be best if the many compiler warnings during debug compile could be taken care of.
I know they can be suppressed, but should they have to be?

What warnings? There's no warning in SFML, except in the external libraries that I include directly to the source code (and I won't fix those).
Title: SFML 1.6 released soon
Post by: model76 on February 10, 2010, 07:56:44 am
Here is a small selection of the warnings I get in Visual C++ 2008 Express:
Code: [Select]
1>sfml-system-s-d.lib(Platform.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\libs\SFML-1.5\lib\vc2008\sfml-system-s-d.lib' or at 'C:\Documents and Settings\Administrator\Dokumenter\Visual Studio 2008\Projects\B2BodyMaker\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Clock.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\libs\SFML-1.5\lib\vc2008\sfml-system-s-d.lib' or at 'C:\Documents and Settings\Administrator\Dokumenter\Visual Studio 2008\Projects\B2BodyMaker\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Sleep.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\libs\SFML-1.5\lib\vc2008\sfml-system-s-d.lib' or at 'C:\Documents and Settings\Administrator\Dokumenter\Visual Studio 2008\Projects\B2BodyMaker\Debug\vc90.pdb'; linking object as if no debug info
I get 71 of those in my current project. But if they come from external libraries, then of course you shouldn't fix them. :)

I am very, very happy with SFML, by the way!
Title: SFML 1.6 released soon
Post by: Laurent on February 10, 2010, 08:13:48 am
These are linker warnings about debug symbols not being found. I don't know why some people get them, it doesn't happen on my computer.
Title: SFML 1.6 released soon
Post by: model76 on February 10, 2010, 08:53:39 am
That's weird - which compiler are you using? And do you set it up in a special way?
Title: SFML 1.6 released soon
Post by: Laurent on February 10, 2010, 10:49:47 am
I'm using Visual Studio 2008 professional, and I do nothing special.
Title: SFML 1.6 released soon
Post by: gsaurus on February 10, 2010, 02:21:06 pm
SFML 1.6 will allow to draw drawable objects to images (being Image a RenderTarget)?

I did a quick look at the trunk snapshot, I see a reference to a RenderImage class on sf::Image, but I don't find it.
Title: SFML 1.6 released soon
Post by: Laurent on February 10, 2010, 02:55:10 pm
No, sf::RenderImage is available only in SFML 2. I removed all the references to this class in the current trunk, I forgot to remove them a long time ago.
Title: SFML 1.6 released soon
Post by: Dravere on February 11, 2010, 04:03:15 pm
Quote from: "Laurent"
These are linker warnings about debug symbols not being found. I don't know why some people get them, it doesn't happen on my computer.

Well, because they aren't in the package. Probably they are on your computer, because VS automaticly creates them, but you didn't add them to the archive you distribute.

But it is really simple to resolve those warnings. Simply rebuild the SFML project with VS.
Title: SFML 1.6 released soon
Post by: Laurent on February 11, 2010, 04:38:14 pm
Quote
Well, because they aren't in the package. Probably they are on your computer, because VS automaticly creates them, but you didn't add them to the archive you distribute.

I don't understand how debug informations work in VC++. I'm almost sure that I've already used debug libraries, and those libraries contained their debug symbols directly, not in a separate PDB file.

I also tried to remove every PDB from my SFML directory, and I still got 0 linker warning.

I really need to figure out what's going on with PDB files and debug symbols :)
Title: SFML 1.6 released soon
Post by: Mr. X on February 11, 2010, 07:01:03 pm
maybe its a problem between different minor versions of visual studio...
Title: Libraries compiled with gcc4.4.x
Post by: beverett on February 21, 2010, 08:43:11 pm
Well, I'm new here, but will the libraries be compiled with GCC 4.4.x? Could they be?
Title: SFML 1.6 released soon
Post by: Mr. X on February 21, 2010, 09:52:45 pm
Did you have seen this? http://www.sfml-dev.org/todo/index.php?do=details&task_id=149&tasks=&project=1&due=12&status[0]=
Title: SFML 1.6 released soon
Post by: beverett on February 21, 2010, 09:58:04 pm
Thanks! I had not seen that, and it certainly answers my question :)
Title: SFML 1.6 released soon
Post by: ferdekk on March 09, 2010, 04:00:47 am
sfml 1.6.

when i can download from main page?
i dont want from svn. ;)
Title: SFML 1.6 released soon
Post by: Laurent on March 09, 2010, 07:50:11 am
Very soon.
Title: SFML 1.6 released soon
Post by: Voroz on March 20, 2010, 12:25:45 am
Will smoothing be fixed so it shows the true background color, not the one that is set to be hidden?
Really need this.
Title: SFML 1.6 released soon
Post by: Laurent on March 20, 2010, 11:23:34 am
Quote from: "zippo88"
Will smoothing be fixed so it shows the true background color, not the one that is set to be hidden?

Which bug is it? Can you explain?
Title: SFML 1.6 released soon
Post by: Voroz on March 20, 2010, 02:33:26 pm
well say i have background color Magenta, CreateMaskFromColor to Magenta also. Smoothing turned off it is jagged and don't look too good. Smoothing turned on and there will be a line with Magenta color around the object. This also happens when using anti-aliasing from drawing programs, but that is understandable since their anti-aliasing isn't meant for having any other background than what is there. It seems to me though that SFML should be able to handle it.
Title: SFML 1.6 released soon
Post by: Laurent on March 20, 2010, 02:55:19 pm
Smoothing is a bilinear filter which calculates a color from its neighbours. So it's the normal behaviour to get some magenta blended with your non-transparent colors.

By the way, you should have given me the link to your post (just found it) instead of duplicating your problem in two discussions ;)
Title: SFML 1.6 released soon
Post by: Svenstaro on March 20, 2010, 04:59:39 pm
Looking forward to 1.6 :)
Title: SFML 1.6 released soon
Post by: Laurent on March 24, 2010, 09:38:36 am
Is there anyone who could build the linux64 binaries for SFML and CSFML (using <repository>/tags/1.6) please?

Thanks :)
Title: SFML 1.6 released soon
Post by: christoph on March 24, 2010, 11:23:07 am
I can do so when I'm home, just plain make + taring up?
Title: SFML 1.6 released soon
Post by: Laurent on March 24, 2010, 11:47:57 am
Quote
just plain make + taring up?

Yep :)
I forgot to mention that I also need the compiled samples (make sfml-samples).

Thank you.
Title: SFML 1.6 released soon
Post by: christoph on March 24, 2010, 06:21:36 pm
ok building.

does that in- or exclude CSFML python-sfml (or others?)

[EDIT]

Also, do you want full packages or just the binaries?
Title: SFML 1.6 released soon
Post by: Laurent on March 24, 2010, 07:49:00 pm
Quote
does that in- or exclude CSFML python-sfml (or others?)

It includes CSFML, like I said in my first message. That's all, I don't manage the other bindings.

Quote
Also, do you want full packages or just the binaries?

Just binaries, I can build the packages on a 32 bits machine ;)
Title: SFML 1.6 released soon
Post by: christoph on March 24, 2010, 08:12:06 pm
OK should have read again more carefully. It's now going there:

http://random.christoph-egger.org/sfml-1.6-amd64.tar.bz2

http://random.christoph-egger.org/sfml-1.6-amd64.tar.bz2.gpg is a signature to check the archive's integrity
Title: SFML 1.6 released soon
Post by: Laurent on March 24, 2010, 08:50:47 pm
Thank you very much ;)
Title: SFML 1.6 released soon
Post by: Svenstaro on March 25, 2010, 07:40:20 pm
Out of curiosity, will we be seeing a Mac-release this time again? From the forums it doesn't appear as though a new Mac maintainer has been found.
Title: SFML 1.6 released soon
Post by: Laurent on March 25, 2010, 08:35:38 pm
For 1.6, yes. For 2.0, not yet :(
Title: SFML 1.6 released soon
Post by: Tank on April 13, 2010, 08:24:19 am
Congratulations on 1.6 Laurent, keep up your incredible work!