Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: DSFML2 (port to SFML v2 and D2) can be found in svn now  (Read 4273 times)

0 Members and 1 Guest are viewing this topic.

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
DSFML2 (port to SFML v2 and D2) can be found in svn now
« on: January 05, 2010, 10:08:44 pm »
Update:
DSFML2 modules system, window and graphics are somewhat usable now.
audio and network haven't been touched yet.

It can be found in the SFML v2 branch in the svn repository.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32434
    • View Profile
    • SFML's website
    • Email
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #1 on: January 05, 2010, 10:30:44 pm »
That's really cool :)

Do you want to maintain the D binding, or just do this modification?

When you're ready to commit code let me know, I'll give you a write access to the SVN repository.
Laurent Gomila - SFML developer

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #2 on: January 06, 2010, 12:02:58 am »
I'll try to also update it to SMFL v2.0 since I want to use it for a project.

Don't know how far I come since time is money :)
That wrapper really needs some extensive overhaul.

EDIT:
Wish you used Mercurial (or maybe even Git). It takes ages to load single changesets from the sourceforge svn servers :?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32434
    • View Profile
    • SFML's website
    • Email
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #3 on: January 06, 2010, 08:26:51 am »
Quote
Wish you used Mercurial (or maybe even Git). It takes ages to load single changesets from the sourceforge svn servers

Yeah, SVN (or sf.net?) is sooo slow. But I won't switch to Mercurial or Git, sorry :P
Laurent Gomila - SFML developer

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #4 on: January 06, 2010, 03:51:41 pm »
sceptical? :D
Man, you changed a hell lot of code since 1.4/5.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32434
    • View Profile
    • SFML's website
    • Email
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #5 on: January 06, 2010, 03:56:35 pm »
Quote
sceptical?

No, I really like them but it's too uncommon for people who don't know them (even the simplest operations like commit / update / merge are complex), and the Windows clients are not as good as TortoiseSVN.

Quote
Man, you changed a hell lot of code since 1.4/5.

Indeed. SFML 2 is meant to be the "big break" (that's why it is called SFML 2, not 1.6) 8)
Laurent Gomila - SFML developer

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #6 on: January 06, 2010, 04:07:09 pm »
Well I haven't used Git yet but Mercurial seems pretty similar to SVN to me (of course you need to understand the notion of distributed version control systems in general first)
TortoiseHG works fine for me so far.

I'm already able to compile some code but can't run it cause there are still some functions that have been removed or renamed ;)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32434
    • View Profile
    • SFML's website
    • Email
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #7 on: January 06, 2010, 04:27:01 pm »
Quote
Well I haven't used Git yet but Mercurial seems pretty similar to SVN to me

Well, the fact that branches are created automatically, and that you have to explicitely fetch/merge/commit to synchronize with others' code is quite confusing and takes more time. With SVN it is automatic, everyone works on the same branch (unless you create one and switch to it), and is always synchronized with the repository.
My own conclusion (after 6 months of using Mercurial and Git) is that distributed systems are extremely powerful as long as you work alone on your own code, and merge rarely with others, but when you want to work on the same code as other developers, SVN is more straight-forward and less error-prone.

But anyway, stay focused on the D binding :lol:
Laurent Gomila - SFML developer

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #8 on: January 06, 2010, 04:54:01 pm »
Well a good developer shouldn't take long to become aquainted with it.

However, currently working on some sfView and sfText changes.

michaelp

  • Newbie
  • *
  • Posts: 18
    • View Profile
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #9 on: January 07, 2010, 01:01:21 am »
The Derelict project now has bindings for SFML 1.5, and should work with D2.0 AFAIK.
But the SFML bindings are only currently in the Derelict2 branch.
http://dsource.org/projects/derelict
D Programming Language

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
DSFML2 (port to SFML v2 and D2) can be found in svn now
« Reply #10 on: January 07, 2010, 02:52:51 am »
Yeah I was the one who announced it in the other thread.

Derelict only provides bindings. DSFML is a wrapper providing object-oriented access (again).

 

anything