D - SynSoft.D libraries 1.2 released
- Matthew Wilson (103/103) Sep 15 2003 The SynSoft.D libraries 1.2 are now available from http://synsoft.org/d....
- J C Calvarese (7/39) Sep 15 2003 Are the stripped headers provided? I couldn't find any in
- Matthew Wilson (10/35) Sep 15 2003 Gah! What a dodo!!
- Matthew Wilson (12/51) Sep 15 2003 Ok, they should be up there now. Try again ...
- J C Calvarese (3/4) Sep 15 2003 Thanks. I found 'em. Your registry example works great now.
- Matthew Wilson (3/7) Sep 15 2003 So you've got it compiling and running ok? Cool. :)
- Matthew Wilson (13/48) Sep 17 2003 There've been quite a few downloads, which is nice. :)
- Ant (13/17) Oct 01 2003 I'm gonna look at GConf now.
- Matthew Wilson (16/37) Oct 01 2003 Ant
- Ant (24/36) Oct 01 2003 A tree struct that holds key/value pairs,
- Matthew Wilson (11/36) Oct 02 2003 Sounds great. I'd be very happy if the D.win32.registry module could ser...
- Mike Hearn (21/26) Oct 02 2003 I would not recommend making GConf and the registry the same API - they
- Ant (12/38) Oct 02 2003 That's why we need an abstraction layer
The SynSoft.D libraries 1.2 are now available from http://synsoft.org/d.html There are several new small housekeeping modules, along with the synsoft.win32.reg module that does registry stuff. I've also changed the names of several methods in previous modules (I've decided to standardise on ThisKindOfMethodName, rather than this_kind_of_method_name()), but because of a linker weirdness - it wouldn't link when there were start() and Start() methods in the same class - the deprecated functions with the old names have had to be removed. Apologies if this causes problems. ;/ The registry library, like the other ones, is a header-only from a source-perspective (i.e. the method bodies are stripped). This is not because I'm being precious, just that I only want any attention you may give on the module's API, not the implementation. Once this module is matured, it may be going into Phobos, at which point, obviously, all source will be available. Note that the reg module only does enumeration for the moment. I've not yet decided on the format for adding/deleting keys/values, and am happy to hear some suggestions from anyone. Alas, there are still no test programs, but I'm including my test program for the registry module here. Version 1.3 of the libraries will have test and sample progs, I promise. (I've got to toddle off and do some other things - deadlines, deadlines - but I'll be keeping an eye on the ng, and will try to respond to feedback/questions/abuse. ;) ) Enjoy! -- Matthew Wilson STLSoft moderator and C++ monomaniac (http://www.stlsoft.org) Contributing editor, C/C++ Users Journal (www.synesis.com.au/articles.html#columns) "An Englishman by birth, a Yorkshireman by the grace of God" -- Michael Gibbs ---------------------------------------------------------------------------- --- begin 666 win32_reg_test.d M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\ *B\-" T*=F]I9"!$=6UP5F%L=64H2V5Y(&ME>2P :6YT M(&QE=F5L*0T*>PT*"69O<F5A8V H5F%L=64 =F%L=64[(&ME>2YP<F]P9V5T M7U9A;'5E<R I*0T*"7L-" D)8VAA<EM="6YA;64)/0EV86QU92YP<F]P9V5T M;F%M92YL96YG=& /3T ,"D +R\ 5&AE(&1E9F%U;'0 =F%L=64-" D)>PT* M*"(E*G, )2XJ<UQT(BP -" K(&QE=F5L+" H8VAA<BHI(B(L(&YA;64I.PT* M*3L-" T*"0ES=VET8V H='EP92D-" D)>PT*"0D)8V%S90E214=?5D%,545? M5%E012Y214=?4D533U520T5?3$E35#H-" D)"0EP<FEN=&8H(CP\<F5S;W5R M8V4 ;&ES=#X^7&XB*3L-" D)"0EB<F5A:SL-" D)"6-A<V4)4D5'7U9!3%5% M7U194$4N4D5'7T953$Q?4D533U520T5?1$530U))4%1/4CH-" D)"0EP<FEN M=&8H(CP\9G5L;"!R97-O=7)C92!D97-C<FEP=&]R/CY<;B(I.PT*"0D)"6)R M96%K.PT*"0D)8V%S90E214=?5D%,545?5%E012Y214=?0DE.05)9. T*"0D) M"7!R:6YT9B B8FEN87)Y.B B+"!V86QU92YP<F]P9V5T7U9A;'5E7T))3D%2 M=%]686QU95]-54Q425]36B I*0T*"0D)"7L-" D)"0D)<')I;G1F*"( 6R4N M15]465!%+E)%1U]36CH-" D)"0EP<FEN=&8H(G-Z.B E+BIS7&XB+"!V86QU M92YP<F]P9V5T7U9A;'5E7U-:*"DI.PT*"0D)"6)R96%K.PT*"0D)8V%S90E2 M14=?5D%,545?5%E012Y214=?15A004Y$7U-:. T*"0D)"7!R:6YT9B B>"US M>CH )2XJ<R ]/B E+BIS7&XB+"!V86QU92YP<F]P9V5T7U9A;'5E7U-:*"DL M('9A;'5E+G!R;W!G971?5F%L=65?15A004Y$7U-:*"DI.PT*"0D)"6)R96%K M.PT*"0D)8V%S90E214=?5D%,545?5%E012Y214=?1%=/4D1?3$E45$Q%7T5. M1$E!3CH-" D)"0EP<FEN=&8H(F1W*&QE*3H )6QD7&XB+"!V86QU92YP<F]P M9V5T7U9A;'5E7T173U)$*"DI.PT*"0D)"6)R96%K.PT*"0D)8V%S90E214=? M5D%,545?5%E012Y214=?1%=/4D1?0DE'7T5.1$E!3CH-" D)"0EP<FEN=&8H M(F1W*&)E*3H )6QD7&XB+"!V86QU92YP<F]P9V5T7U9A;'5E7T173U)$*"DI M.PT*"0D)"6)R96%K.PT*"0D)8V%S90E214=?5D%,545?5%E012Y214=?45=/ M4D1?3$E45$Q%7T5.1$E!3CH-" D)"0EP<FEN=&8H(G%W*&QE*3H )6QL9%QN M(BP =F%L=64N<')O<&=E=%]686QU95]15T]21" I*3L-" D)"0EB<F5A:SL- M:"P :6YT(&QE=F5L*0T*>PT*"69O<F5A8V H2V5Y(&ME>3L <&%R96YT+G!R M;W!G971?4W5B2V5Y<R I*0T*"7L-" D)8VAA<EM="6YA;64)/0EK97DN<')O M97DL(&QE=F5L*3L-" T*"0E$=6UP2V5Y*&ME>2P <&%T:"!^(")<7"( ?B!N M86UE+" Q("L ;&5V96PI.PT*"7T-"GT-" T*+RH +R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\ *B\-" T*:6YT(&UA:6XH8VAA<EM=6UT 87)G<RD- M0W5R<F5N=%5S97(H*3L-"B\O"4ME>0ES=6)+97D)/0ER;V]T+G!R;W!G971? M97ES7&XB*3L-" T*+R\)1'5M<$ME>2AS=6)+97DL('-U8DME>2YP<F]P9V5T M" ER971U<FX ,#L-"GT-" T*+RH +R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O *+R\O+R\ *B\-" `` ` end
Sep 15 2003
Matthew Wilson wrote:The SynSoft.D libraries 1.2 are now available from http://synsoft.org/d.html There are several new small housekeeping modules, along with the synsoft.win32.reg module that does registry stuff. I've also changed the names of several methods in previous modules (I've decided to standardise on ThisKindOfMethodName, rather than this_kind_of_method_name()), but because of a linker weirdness - it wouldn't link when there were start() and Start() methods in the same class - the deprecated functions with the old names have had to be removed. Apologies if this causes problems. ;/ The registry library, like the other ones, is a header-only from a source-perspective (i.e. the method bodies are stripped). This is not because I'm being precious, just that I only want any attention you may give on the module's API, not the implementation. Once this module is matured, it may be going into Phobos, at which point, obviously, all source will be available.Are the stripped headers provided? I couldn't find any in synsoft.D.1.2.zip or synsoft.D.1.2-libs.zip. When I tried to compile the program the compiler says: Error: Error reading file 'synsoft\win32\perf.d'Note that the reg module only does enumeration for the moment. I've not yet decided on the format for adding/deleting keys/values, and am happy to hear some suggestions from anyone. Alas, there are still no test programs, but I'm including my test program for the registry module here. Version 1.3 of the libraries will have test and sample progs, I promise. (I've got to toddle off and do some other things - deadlines, deadlines - but I'll be keeping an eye on the ng, and will try to respond to feedback/questions/abuse. ;) ) Enjoy!Thanks. It sounds great. The .exe's you "released" earlier worked fine. Justin
Sep 15 2003
giveThe registry library, like the other ones, is a header-only from a source-perspective (i.e. the method bodies are stripped). This is not because I'm being precious, just that I only want any attention you maymatured, iton the module's API, not the implementation. Once this module isGah! What a dodo!! I shall rectify right now. <blush>may be going into Phobos, at which point, obviously, all source will be available.Are the stripped headers provided? I couldn't find any in synsoft.D.1.2.zip or synsoft.D.1.2-libs.zip. When I tried to compile the program the compiler says: Error: Error reading file 'synsoft\win32\perf.d'yetNote that the reg module only does enumeration for the moment. I've notheardecided on the format for adding/deleting keys/values, and am happy toprogramsome suggestions from anyone. Alas, there are still no test programs, but I'm including my testtestfor the registry module here. Version 1.3 of the libraries will havedeadlines -and sample progs, I promise. (I've got to toddle off and do some other things - deadlines,He hebut I'll be keeping an eye on the ng, and will try to respond to feedback/questions/abuse. ;) ) Enjoy!Thanks. It sounds great. The .exe's you "released" earlier worked fine.
Sep 15 2003
Ok, they should be up there now. Try again ... "J C Calvarese" <jcc7 cox.net> wrote in message news:bk5g1c$gi0$1 digitaldaemon.com...Matthew Wilson wrote:http://synsoft.org/d.htmlThe SynSoft.D libraries 1.2 are now available fromremoved.There are several new small housekeeping modules, along with the synsoft.win32.reg module that does registry stuff. I've also changed the names of several methods in previous modules (I've decided to standardise on ThisKindOfMethodName, rather than this_kind_of_method_name()), but because of a linker weirdness - it wouldn't link when there were start() and Start() methods in the same class - the deprecated functions with the old names have had to begiveApologies if this causes problems. ;/ The registry library, like the other ones, is a header-only from a source-perspective (i.e. the method bodies are stripped). This is not because I'm being precious, just that I only want any attention you maymatured, iton the module's API, not the implementation. Once this module isyetmay be going into Phobos, at which point, obviously, all source will be available.Are the stripped headers provided? I couldn't find any in synsoft.D.1.2.zip or synsoft.D.1.2-libs.zip. When I tried to compile the program the compiler says: Error: Error reading file 'synsoft\win32\perf.d'Note that the reg module only does enumeration for the moment. I've notheardecided on the format for adding/deleting keys/values, and am happy toprogramsome suggestions from anyone. Alas, there are still no test programs, but I'm including my testtestfor the registry module here. Version 1.3 of the libraries will havedeadlines -and sample progs, I promise. (I've got to toddle off and do some other things - deadlines,but I'll be keeping an eye on the ng, and will try to respond to feedback/questions/abuse. ;) ) Enjoy!Thanks. It sounds great. The .exe's you "released" earlier worked fine. Justin
Sep 15 2003
Matthew Wilson wrote:Ok, they should be up there now. Try again ...Thanks. I found 'em. Your registry example works great now. Justin
Sep 15 2003
So you've got it compiling and running ok? Cool. :) "J C Calvarese" <jcc7 cox.net> wrote in message news:bk5i3g$j4a$1 digitaldaemon.com...Matthew Wilson wrote:Ok, they should be up there now. Try again ...Thanks. I found 'em. Your registry example works great now. Justin
Sep 15 2003
There've been quite a few downloads, which is nice. :) Please let me have all your feedback, good or bad. Cheers Matthew "Matthew Wilson" <matthew stlsoft.org> wrote in message news:bk5cki$bsj$1 digitaldaemon.com...The SynSoft.D libraries 1.2 are now available fromhttp://synsoft.org/d.htmlThere are several new small housekeeping modules, along with the synsoft.win32.reg module that does registry stuff. I've also changed the names of several methods in previous modules (I've decided to standardise on ThisKindOfMethodName, rather than this_kind_of_method_name()), but because of a linker weirdness - it wouldn't link when there were start() and Start() methods in the same class - the deprecated functions with the old names have had to beremoved.Apologies if this causes problems. ;/ The registry library, like the other ones, is a header-only from a source-perspective (i.e. the method bodies are stripped). This is not because I'm being precious, just that I only want any attention you maygiveon the module's API, not the implementation. Once this module is matured,itmay be going into Phobos, at which point, obviously, all source will be available. Note that the reg module only does enumeration for the moment. I've notyetdecided on the format for adding/deleting keys/values, and am happy tohearsome suggestions from anyone. Alas, there are still no test programs, but I'm including my test program for the registry module here. Version 1.3 of the libraries will have test and sample progs, I promise. (I've got to toddle off and do some other things - deadlines, deadlines - but I'll be keeping an eye on the ng, and will try to respond to feedback/questions/abuse. ;) ) Enjoy! -- Matthew Wilson STLSoft moderator and C++ monomaniac (http://www.stlsoft.org) Contributing editor, C/C++ Users Journal (www.synesis.com.au/articles.html#columns) "An Englishman by birth, a Yorkshireman by the grace of God" -- Michael Gibbs -------------------------------------------------------------------------------
Sep 17 2003
In article <bk949o$191s$1 digitaldaemon.com>, Matthew Wilson says...There've been quite a few downloads, which is nice. :) Please let me have all your feedback, good or bad. Cheers MatthewI'm gonna look at GConf now. "GConf is a system for storing application preferences." (Took me what? 1 hour just to find that it exist) Do you think we could integrate GConf and your win32.reg in a common interface? Is that desirable? Is that possible at all? what's the license on your libs? I'll know more about GConf tomorrow. Ant (yeah, DUI for windows is boring is anybody out there interested in tweeking the makefiles and stuff like that to make it run? I should make a separate post with this)
Oct 01 2003
Ant I'm afraid I know nothing about GConf, so can't comment. As regards the registry library, as soon as Walter's finished some essential compiler-waltering on the C++ compiler we'll be putting the registry API into Phobos, and releasing the next version, so it'll be best if you can hang fire a little while, and then it'll all be available in its majesty, ready for digestion and potential regurgitation. :) If the reg and GConf are in any way similar, I'd certainly like to investigate a potential merge. I'd probaby prefer that there was a separate common module, perhaps DConf, which could be implemented in terms of the reg module on Win32, and the appropriate technology on Linux. Does that sound sensible? Cheers Matthew "Ant" <Ant_member pathlink.com> wrote in message news:blg2mo$bdf$1 digitaldaemon.com...In article <bk949o$191s$1 digitaldaemon.com>, Matthew Wilson says...There've been quite a few downloads, which is nice. :) Please let me have all your feedback, good or bad. Cheers MatthewI'm gonna look at GConf now. "GConf is a system for storing application preferences." (Took me what? 1 hour just to find that it exist) Do you think we could integrate GConf and your win32.reg in a common interface? Is that desirable? Is that possible at all? what's the license on your libs? I'll know more about GConf tomorrow. Ant (yeah, DUI for windows is boring is anybody out there interested in tweeking the makefiles and stuff like that to make it run? I should make a separate post with this)
Oct 01 2003
In article <blg6mv$gf0$1 digitaldaemon.com>, Matthew Wilson says...Ant I'm afraid I know nothing about GConf, so can't comment.A tree struct that holds key/value pairs, (if it's not that ignore the rest of this) and more (a value can be a list) but the common interface would leave out the "uncommon" features (wouldn't you know...) There is a GConf client that looks a lot like the regedit.exe (for win9x I didn't check latelly)As regards the registry library, as soon as Walter's finished some essential compiler-waltering on the C++ compiler we'll be putting the registry API into Phobos, and releasing the next version, so it'll be best if you can hang fire a little while, and then it'll all be available in its majesty, ready for digestion and potential regurgitation. :) If the reg and GConf are in any way similar, I'd certainly like to investigate a potential merge. I'd probaby prefer that there was a separate common module, perhaps DConf, which could be implemented in terms of the reg module on Win32, and the appropriate technology on Linux. Does that sound sensible?That's my idea. I'm coding and experimental version that I named DConf :) (copy/paste of course no fancy ,def files yet ;) As I see it now, the DUI package will have 3 libs libdui - core GTK,GDK,GLIB,Pango... libduigl - OpenGL libduiext - extensions (maybe divided into linux and windows versions(?)) The first extension is DConf (if it can migrate to phobos better). For now I'm implementing it through the GTK+ wrapper 'cause it familiar to me but it can be completly independent. As to be integrated into phobos I'm not sure as I'm doing just a wrapper. phobos would be dependent on a third party lib (BTW it LGPL). GConf is a gnome system, probably KDE will have it's own, I don't know about others... (Is it starting to get complicated?...) Let's wait and see. Ant
Oct 01 2003
"Ant" <Ant_member pathlink.com> wrote in message news:blg9ll$ktr$1 digitaldaemon.com...In article <blg6mv$gf0$1 digitaldaemon.com>, Matthew Wilson says...Sounds great. I'd be very happy if the D.win32.registry module could serve as an exemplar for such a thing, as well as being used in its Win32 implementationAnt I'm afraid I know nothing about GConf, so can't comment.A tree struct that holds key/value pairs, (if it's not that ignore the rest of this) and more (a value can be a list) but the common interface would leave out the "uncommon" features (wouldn't you know...)There is a GConf client that looks a lot like the regedit.exe (for win9x I didn't check latelly)Where does it store its stuff? Is it system global, or can each process have its own reg file?essentialAs regards the registry library, as soon as Walter's finished someseparatecompiler-waltering on the C++ compiler we'll be putting the registry API into Phobos, and releasing the next version, so it'll be best if you can hang fire a little while, and then it'll all be available in its majesty, ready for digestion and potential regurgitation. :) If the reg and GConf are in any way similar, I'd certainly like to investigate a potential merge. I'd probaby prefer that there was aregcommon module, perhaps DConf, which could be implemented in terms of theGreat minds, and all that !module on Win32, and the appropriate technology on Linux. Does that sound sensible?That's my idea. I'm coding and experimental version that I named DConf :) (copy/paste of course no fancy ,def files yet ;)
Oct 02 2003
On Thu, 02 Oct 2003 02:31:52 +0000, Sir Ant scribed thus:I'm gonna look at GConf now. "GConf is a system for storing application preferences." (Took me what? 1 hour just to find that it exist)I would not recommend making GConf and the registry the same API - they look the same but really are quite different. For instance: * GConf entries must (?) have schemas that give key documentation, possible values etc * GConf key types are different * GConf notifications are used a lot more than win32 registry notifications are * GConf is not guaranteed to be available on any given Linux system in the same way the registry is. * GConf is not meant to be used to store arbitrary data like the registry is, it's supposed to be for app preferences only (hence the powerful application defaults/lockdown settings)Do you think we could integrate GConf and your win32.reg in a common interface? Is that desirable?I would generally recommend that D bindings have the same name as what they bind to (so import gtk rather than import dui) and are direct mappings rather than abstractions. If somebody wants to use the registry and GConf in the same way they can always write their own simple abstraction class on top of them, IMHO, and use the versioning stuff in D to let it figure itself out.
Oct 02 2003
In article <pan.2003.10.02.10.23.14.738016 theoretic.com>, Mike Hearn says...On Thu, 02 Oct 2003 02:31:52 +0000, Sir Ant scribed thus:??I'm gonna look at GConf now. "GConf is a system for storing application preferences." (Took me what? 1 hour just to find that it exist)I would not recommend making GConf and the registry the same API - they look the same but really are quite different. For instance: * GConf entries must (?) have schemas that give key documentation, possible values etc* GConf key types are differentThat's why we need an abstraction layer* GConf notifications are used a lot more than win32 registry notifications areDon't see it as a problem* GConf is not guaranteed to be available on any given Linux system in the same way the registry is.That's a real problems.* GConf is not meant to be used to store arbitrary data like the registry is, it's supposed to be for app preferences only (hence the powerful application defaults/lockdown settings)I'm even thinking of remove all the gtk tokens from DUI. (probably a mistake(?) I'll take another look at it)Do you think we could integrate GConf and your win32.reg in a common interface? Is that desirable?I would generally recommend that D bindings have the same name as what they bind to (so import gtk rather than import dui) and are direct mappings rather than abstractions.If somebody wants to use the registry and GConf in the same way they can always write their own simple abstraction class on top of them, IMHO, and use the versioning stuff in D to let it figure itself out.My first idea was to have that. except for the "their own" part. Integrating it into phobos might be too ambitious... Thanks for your insights! Ant
Oct 02 2003