Ticket #70 (closed task: duplicate)

Opened 1 year ago

Last modified 1 year ago

Unify signals/slots

Reported by: clayasaurus Assigned to: ChristianK
Priority: major Milestone: 0.2
Component: unspecified Version: svn
Keywords: Cc:

Description

One signal / slot to rule them all. Going in v.3 because I want v.2 to be released sooner than later.

Change History

06/19/07 15:43:01 changed by clayasaurus

  • milestone changed from 0.3 to 0.2.

Nevermind. This should really be done for v.2 release.

06/19/07 15:44:29 changed by clayasaurus

Also,

dmd -c arc/internals/input/joystick.d does not compile by itself, this should be fixed if possible.

06/20/07 03:09:53 changed by ChristianK

There's a problem with the mixin version of Bill Baxter's flexible sigslot code: IFTI does not work because of a compiler bug: http://d.puremagic.com/issues/show_bug.cgi?id=540

I had hoped it'd be fixed before the release of 0.2, but it is still around. The std.signal sigslot implementation doesn't have that problem, but I wouldn't want to miss the flexible connection method. A few options:

  • use signal classes as in the original implementation by Baxter
  • find a workaround for the compiler bug (I'm sure there is one, will look around today)
  • find other sigslot implementations

06/20/07 11:44:24 changed by clayasaurus

I complained it is a show stopper for us on that issue, that usually get's Walter's attention really quickly and makes him fix it :)

06/20/07 14:03:11 changed by ChristianK

Good. The only sensible workaround I think would work is

// instead of
sig.fconnect(&someslot);
// write
fconnect(sig, &someslot);

But that'd break the symmetry with signal.connect obviously.

06/26/07 23:47:32 changed by clayasaurus

  • milestone changed from 0.2 to 0.3.

Bug prob won't be fixed anytime soon. Moved to v.3. Maybe tango's signal/slot implementation will work?

07/03/07 14:19:04 changed by clayasaurus

  • milestone changed from 0.3 to 0.2.

This bug was fixed, but now there is another bug in Derelict http://dblog.aldacron.net/2007/07/03/derelict-problems-with-dmd-1018/ which will postpone the arc release until that bug is fixed... so... I might as well move this one back to v.2, because Arc v.2 won't be released until the derelict bug is fixed.

07/16/07 19:48:04 changed by clayasaurus

  • status changed from new to closed.
  • resolution set to duplicate.

http://www.dsource.org/projects/arclib/ticket/45

Closing because

1) Will not be implemented in v.2 after all, I want to get v.2 out soon

2) Another ticket is already open for it