Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #637 (closed wishlist: fixed)

Opened 17 years ago

Last modified 16 years ago

Phobos have std.windows.registry, Tango not

Reported by: yidabu Assigned to: kris
Priority: major Milestone: 0.99.3
Component: Core Functionality Version: 0.99.1 RC4 Keep
Keywords: Windows, registry Cc: brad, larsivi

Description

Read and write registry is so common behavior on Windows, when do it with Tango, user must use Phobos(now impossible) or other library, or wrapp registry api himself.

Phobos wrapper of registry api seems not best, Juno and DFL library wrapped it again and again. I think Tango can do it better.

Attachments

Registry.d (26.1 kB) - added by yidabu on 09/22/07 09:15:21.
based on juno.utils.registry, modified to with Tango

Change History

09/20/07 23:27:57 changed by kris

I'm sure we could support that in sys/win32/Registry, or something like that. Do you have a suggestion of how to wrap the API? I'm not at all familiar with how other packages have done this ..

09/21/07 08:58:47 changed by larsivi

The possible API's to glean at are apparently std.registry and something from DFL? But make sure that code is not encumbered by weird license restrictions.

09/21/07 11:19:03 changed by yidabu

There three implementions: Juno: juno.util.registry Phobos: std.windows.registry DFL: dfl.registry

I think Tango version should base on Juno's version, a good implemention and under MIT licence. I think port it to Tango is not difficult.

09/22/07 09:15:21 changed by yidabu

  • attachment Registry.d added.

based on juno.utils.registry, modified to with Tango

09/30/07 21:47:00 changed by kris

  • milestone changed from 0.99.2 RC5 to 1.0.

Can you place this into the project tango.scrapple for now? http://dsource.org/projects/tango.scrapple

That's a good way of making something available immediately :)

10/02/07 21:43:12 changed by yidabu

I placed it into tango.scrapple.

10/02/07 21:52:59 changed by kris

awesome! Thanks. Do you think we should add a section to the Tango wiki, showing what's currently in tango.scrapple?

10/03/07 00:04:01 changed by yidabu

1. should add tango.scrapple to projests list: http://www.dsource.org/projects/ 2. should add tango.scrapple to http://www.dsource.org/projects/tango/wiki 3. how about that allow dsource register submit code to tango.scrapple or maintain his code directly ?

(follow-up: ↓ 10 ) 10/03/07 00:21:10 changed by kris

  • cc set to brad, larsivi.

Yeah, don't know why tango.scrapple is not yet in the project pages ... perhaps Brad can tell us. I'll make tango.scrapple more prominent on Tango wiki (it's listed in the compatible libs at this time).

Regarding access to tango.scrapple, I suggest you post a message to the tango.scrapple forums asking the moderator for access? Though I wish I could, I can't give you access since I don't maintain that project :)

- Kris

10/03/07 00:28:47 changed by yidabu

how about set a home named tango.lab or tango.freedom, allow dsource register submit code to it or maintain his code directly ?

(in reply to: ↑ 8 ) 10/08/07 15:29:14 changed by brad

Replying to kris:

Yeah, don't know why tango.scrapple is not yet in the project pages ... perhaps Brad can tell us. I'll make tango.scrapple more prominent on Tango wiki (it's listed in the compatible libs at this time).

This is a drawback of using clearsilver template engine with Trac and DSource project pages. It will be fixed in the new project list, due out "any time now" (tm).

BA

10/16/07 04:11:12 changed by yidabu

Ported juno.utils.registry to dwin.sys.win32.Registry for use with Tango.

http://svn.dsource.org/projects/dwin/trunk/sys/win32/

11/04/07 00:18:24 changed by kris

  • owner changed from sean to kris.
  • milestone changed from 1.0 to 0.99.3.

11/04/07 00:19:11 changed by kris

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

thanks for fixing the project listing, boorad